npm WARN enoent ENOENT: no such file or directory - when installing packages

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: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://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
I recently updated to 1.18 with the Windows installer - note I am running as a non-Administrator on a corporate system. This changed the way I had previously installed to now installed in $HOME\AppData\Local which is great. My existing packages survived, but I was getting  errors when updating packages. I also cannot install packages. I can reproduce this reliably and I have reset to factory defaults (removed .atom\) and this problem persists.
The error appears to be related to the failed creation of the "apm-install" directory under $HOME\AppData\Local\Temp\.
Steps to Reproduce

Click Install on any community package
Wait

Expected behavior: Package installs
Actual behavior: Install fails
Reproduces how often: 92.732%
This might reproduce 40 times in a row, then work 4 in a row.
Versions
>atom --version

Atom    : 1.18.0
Electron: 1.3.15
Chrome  : 52.0.2743.82
Node    : 6.5.0

>apm --version

apm  1.18.1
npm  3.10.10
node 6.9.5 x64
python
git
visual studio

Additional Information
Error output from failed install:

Installing<EMAIL_ADDRESS>failed.Hide output…
C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi
`-- (empty)
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\package.json'
npm WARN apm-install-dir-117528-20320-xdopcx.9igkl0udi No description
npm WARN apm-install-dir-117528-20320-xdopcx.9igkl0udi No repository field.
npm WARN apm-install-dir-117528-20320-xdopcx.9igkl0udi No README data
npm WARN apm-install-dir-117528-20320-xdopcx.9igkl0udi No license field.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\bin\node.exe" "C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\username\.atom\.apm\.apmrc" "--userconfig" "C:\Users\username\.atom\.apmrc" "install" "C:\Users\username\AppData\Local\Temp\d-117528-20320-15ra7t7.j2pxecdi\package.tgz" "--runtime=electron" "--target=1.3.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! path C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules\vim-mode-plus
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules\vim-mode-plus' -> 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules.vim-mode-plus.DELETE'
npm ERR!     at moveAway (C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\lib\install\action\finalize.js:38:5)
npm ERR!     at destStatted (C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\lib\install\action\finalize.js:27:7)
npm ERR!     at C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:267:18
npm ERR!     at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules\vim-mode-plus' -> 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules.vim-mode-plus.DELETE'
npm ERR!     at Error (native)
npm ERR!  Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules\vim-mode-plus' -> 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules.vim-mode-plus.DELETE'
npm ERR!     at moveAway (C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\lib\install\action\finalize.js:38:5)
npm ERR!     at destStatted (C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\lib\install\action\finalize.js:27:7)
npm ERR!     at C:\Users\username\AppData\Local\atom\app-1.18.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:267:18
npm ERR!     at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules\vim-mode-plus' -> 'C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\node_modules.vim-mode-plus.DELETE'
npm ERR!     at Error (native)
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\username\AppData\Local\Temp\apm-install-dir-117528-20320-xdopcx.9igkl0udi\npm-debug.log
npm ERR! code 1

Seems like atom doesnt have the right to write to that folder.
It's not necessarily Atom's fault though (It might also be :P)
npm - EPERM: operation not permitted on Windows on Stackoverflow
From Microsoft blog:

It turns out that you don’t have to run the command again as Administrator, and doing so won’t fix the problem.  Try npm cache clean first.  If that doesn’t fix things, take a look in %APPDATA%\npm-cache, or if you’re using PowerShell, $env:APPDATA\npm-cache.  After cleaning the cache, you may still be left with remnants.  Manually remove everything in that directory, and try again.  This has always fixed things for me.

Hope it helps!

Same error here,
I also tryed with the @Extarys aproach but fail. I couln't install any package from the console or in the UI.


Refactor 2-way autocomplete so functions can be defined inline in the schema

Supported in this PR:

Defining either a list of hard-coded autocomplete options in-place in a schema, a JS function in-place for static schemas, or setting AutocompleteType.Dynamic to invoke the sync table's global autocomplete function for any dynamic properties
Type errors if a property should be a number, string, or object but tries to hard-code values or a function returning a different one of those types
Numbers and strings can also return a display name instead of just the raw string or number
If a new pack version is released, an autocomplete function on the latest version will still run for a column synced at a previous pack version as long as the property name hasn't changed. This is because in-place autocomplete functions get named after the property they're defined on.
If a dynamic getSchema formula tries to return a result with a function-valued autocomplete in it, return UserVisibleMessage explaining that dynamic schemas must use AutocompleteType.Dynamic

Not yet supported in this PR:

Typing to let people return a cache TTL on the result. This can be added later

Not going to be supported, either now or in the future:

For object schemas, in-place hard-coded options and in-place function values don't have typechecking on their return types. Didn't see a way to make that work
For dynamic schema functions, there's also no typechecking of return types since it could be anything

The tsdocs are all marked as @hidden until launch
Pack example with a static schema:
export const UserSchema = coda.makeObjectSchema({
  type: coda.ValueType.Object,
  displayProperty: "name",
  idProperty: "internalId",
  properties: {
    name: { type: coda.ValueType.String },
    internalId: { type: coda.ValueType.String, required: true },
  },
  mutable: true,
  autocomplete: () => {
    return [
      { name: "Person 1", internalId: "abc123" },
      { name: "Person 2", internalId: "def456" },
    ];
  },
});

const WidgetsSchema = coda.makeObjectSchema({
  properties: {
    type: {
      type: coda.ValueType.String,
      mutable: true,
      autocomplete: () => {
        return ["animal", "vegetable", "mineral"];
      },
    },
    subtype: {
      type: coda.ValueType.String,
      mutable: true,
      autocomplete: (context) => {
        switch (context.propertyValues["type"]) {
          case "animal":
            return ["cheetah", "falcon", "lizard"];
          case "vegetable":
            return ["celery", "carrot", "tree"];
          case "mineral":
            return ["steel", "concrete", "sand"];
        }
        return [];
      },
    },
  // ...

Example with a dynamic schema:
pack.addDynamicSyncTable({
  name: "DynamicTasks",
  description: "The tasks in the selected project.",
  identityName: "DynamicTask",
  getName: async function (context) {
    return "Dynamic tasks name";
  },
  getDisplayUrl: async function (context) {
    return "https://example.com/";
  },
  getSchema: async function (context) {
    return coda.makeObjectSchema({
      properties: {
        taskType: {
          type: coda.ValueType.String,
          mutable: true,
          autocomplete: coda.AutocompleteValueType.Dynamic,
        },
        // runtimeErrorType: {
        //   type: coda.ValueType.String,
        //   mutable: true,
        //   autocomplete: () => {
        //     // This raises a user-visible runtime error explaining the need to use AutocompleteType.Dynamic
        //     // instead.
        //     return ["a", "b", "c"];
        //   },
        // },
      },
      displayProperty: "taskType",
      idProperty: "taskType",
      featuredProperties: ["taskType"],
    });
  },
  autocomplete: (context) => {
    if (context.propertyName === "taskType") {
      return ["Task Type 1", "Task Type 2"];
    }
    throw new coda.UserVisibleError(
      `Cannot autocomplete property ${context.propertyName}`
    );
  },
  formula: {
    name: "SyncTasks",
    description: "Sync tasks in a project.",
    parameters: [],
    execute: async function () {
      const result = [{ taskType: "someTaskType" }];
      return {
        result,
      };
    },
    executeUpdate: async function () {
      return { result: [] };
    },
  },
});

I think a test or formula of identity level autocomplete (i.e. for dynamic properties) would be helpful. (only saw static autocompletes in fake_v2)

Added a test for makeSyncTable()

Looking good to me.  I'm inclined to checkpoint this work and start writing live code to see how it feels in practice across a few packs.

Looking good to me. I'm inclined to checkpoint this work and start writing live code to see how it feels in practice across a few packs.

Sounds good. I'll update the adhoc with these changes plus the corresponding server-side changes

Looking good to me. I'm inclined to checkpoint this work and start writing live code to see how it feels in practice across a few packs.

Sounds good. I'll update the adhoc with these changes plus the corresponding server-side changes

Two-way is now available in head + staging; I think we want to move off of the adhoc and into those environments now.


fixed spelling

One more thing! In the app main screen can you change

@all-contributors please add @miugel for docs


Composer dependency dev-master#2c96af214bf1b5e29b707249108504b4e0041a21 is not working

When I try to install deployer, I get this problem from Composer:
  Problem 1
    - Installation request for deployer/deployer ~3.0.4 -> satisfiable by deployer/deployer[v3.0.4].
    - deployer/deployer v3.0.4 requires phpseclib/phpseclib dev-master#2c96af214bf1b5e29b707249108504b4e0041a21 -> no matching package found.

See https://github.com/deployphp/deployer/issues/259


[Question] Best way to add a user defined utility function?

Description
What's the ideal way in Zim for me to add a utility function such as the take command from OMZ:
function take() {
  mkdir -p $1
  cd $1
}

https://github.com/robbyrussell/oh-my-zsh/blob/9dab3c6718d627bc3ea5beb79bfbf0a7f74a7648/lib/functions.zsh
I thought about adding it to the utility module since it's already on the fpath, but if I update Zim, that could cause problems, so perhaps it's better to create a personal file of functions and have it get autoloaded as well as the modules?
Thanks

add it to your .zshrc, or create .zim/modules/custom/functions/take with the contents of the function you have printed above.

Thanks. Worked great!

Hi @ericbn
I think it would be helpful for users to improve the documentation related to customization. When using Oh My Zsh, I can add .zsh files in the custom folder to customize aliases and functions. I would like to know what this corresponds to in Zim.


Generate a HTML page with all the page image regions

This can be a visual way of debugging them.

Have something in 57e3349.


Entropy lower bounds are wrong

The periodic point computation makes no sense, giving potentially erroneous lower bounds.

Fixed in 63091e3.


document generator documentation is absent

https://deno.land/manual/tools/documentation_generator does not have any documentation on the website

closing this issue and moving it to denoland/deno

@therealadityashankar It's got a TODO comment in it, won't really be a helpful issue unless you intend on addressing it?


Use the credentials of the microcernal as default value

BUILD on-http #265 : FAILURE

BUILD on-http #265  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: 'e3c6bd36-48b5-4829-8d72-0877ca3e113a' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #266 : FAILURE

BUILD on-http #266  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: 'fadc7961-a06e-40e9-a180-b7e06b59ae85' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #268 : FAILURE

BUILD on-http #268  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: '152203ba-6149-4be4-932a-456768c8e19c' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #270 : FAILURE

BUILD on-http #270  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: '891c169b-b18d-4202-8f3c-2fd2e8152d3c' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #271 : FAILURE

BUILD on-http #271  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: '026463d8-6ed3-4151-b522-d2694b7d43dc' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #273 : FAILURE

BUILD on-http #273  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should PUT an IBM instance with default credential
Error Details: expected 201 "Created", got 400 "Bad Request" Response body: { message: 'ValidationError: Data does not match any schemas from "anyOf"',   status: '400',   UUID: '27192065-6cd3-49ca-a88f-3d0817872395' } Error: expected 201 "Created", got 400 "Bad Request"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 201 "Created", got 400 "Bad Request"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:703:3)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)

BUILD on-http #276 : FAILURE

BUILD on-http #277 : FAILURE

BUILD on-http #277  Error Logs  ▼Test Name: Http.Api.Ibms /api/2.0/ibms should fail to PUT an IBM instance with default credential
Error Details: expected 400 "Bad Request", got 201 "Created" Response body: { id: '12341234',   node: '/api/2.0/nodes/12345678',   service: 'ssh-ibm-service',   config: { host: '<IP_ADDRESS>' } } Error: expected 400 "Bad Request", got 201 "Created"     at Test._assertStatus (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:232:12)     at Test._assertFunction (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:247:11)     at Test.assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:148:18)     at assert (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:127:12)     at /home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/lib/test.js:124:5     at Test.Request.callback (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:691:12)     at IncomingMessage.<anonymous> (/home/jenkins/workspace/on-http/build-deps/on-http/node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)     at emitNone (events.js:72:20)     at IncomingMessage.emit (events.js:166:7)     at endReadableNT (_stream_readable.js:923:12)     at nextTickCallbackWith2Args (node.js:458:9)     at process._tickDomainCallback (node.js:413:17)
Stack Trace: Error: expected 400 "Bad Request", got 201 "Created"
    at Test._assertStatus (node_modules/supertest/lib/test.js:232:12)
    at Test._assertFunction (node_modules/supertest/lib/test.js:247:11)
    at Test.assert (node_modules/supertest/lib/test.js:148:18)
    at assert (node_modules/supertest/lib/test.js:127:12)
    at node_modules/supertest/lib/test.js:124:5
    at Test.Request.callback (node_modules/supertest/node_modules/superagent/lib/node/index.js:691:12)
    at IncomingMessage.<anonymous> (node_modules/supertest/node_modules/superagent/lib/node/index.js:922:12)
    at endReadableNT (_stream_readable.js:923:12)


Added CUDA Language

Added CUDA language Hello World Program which is HelloWorld.cu and added discription about the Language.
Description
CUDA is a parallel computing platform and application programming interface model created by Nvidia.
I have Added A hello World program in this PR.
Types of changes

[ ] Bug fix or improving code quality
[x] New language
[ ] New feature

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

Please merge it.


Cannot read property 'callHandler' of undefined

doesn't have "callHandler" function in the flutter_inappwebview object, only _callHandler,  how can I fix it? thanks.
version: 2.1.0+1

flutter_inappwebview._callHandler('goToCashier', setTimeout(function(){}), JSON.stringify([{shopId: 1}]))

can solve this problem

@Richard-Choooou
Confirmed, Android 10 and iOS 13/14 is ok, android 7 api 24 also have this problem, So this is bug ?

Is there any common way to solve this ?


fix: only send durable object migrations when required

We had a bug where even if you'd published a script with migrations, we would still send a blank set of migrations on the next round. The api doesn't accept this, so the fix is to not do so. I also expanded test coverage for migrations.
Fixes https://github.com/cloudflare/wrangler2/issues/705

This is the first in a set of a few PRs I'll send for durable objects. Next, more validations based on exports.

I'm going to remove the exports validation from this PR and send it in the next one

Ok done, this is ready for review.


Add TOPPRA path optimizer

This allows to compute a time parameterization of a path, using https://github.com/hungpham2511/toppra.

Thanks to @olivier-roussel for his contributions on this.


Add support for required edges to the SQL backend.

The SQL backend has completely changed since this issue was introduced.


Add improved application of QE in StackingAction

Add a new way to apply the QE inside the StackingAction class to reduce the nb of photons processed by WCSim when several PMT collection are defined when PMT QE do not overlap. This is necessary to simulate WLS plates accurately without working in the QEPMTMethod mode 3 or 4, where all the photons are processed and the simulation is considerably slowed.
I had to add a new PMTObject method called GetNbOfQEDefined(), returning the nb of points (wavelength) for which the QE is defined.
I haven't remove the previous method applying the QE in StackingAction, which leaves the user to switch between the 2 algorithm accordingly.
In my opinion, using a TGraph instead of the "manual extrapolation" of the QE could also increase the speed of the simulation. Validation plot are on-going.

Thanks for this @P3tru Given the description, I've had a look at #297 and it seems like it's included there. So @mahditaani can you let me know if it makes most sense to review/merge this before #297 (e.g. if you've made no further changes to the StackingAction), or to close this without merging this and just review/merge #297


[BEAM-6972] 2.7.1 LTS cherrypick: fix guava shading for Guava in CassandraIO

This cherrypicks #7237 and #8178 to the 2.7.1 release branch
I got a bit confused about what happened with #7237 as the merge commit does not seem to have merged the PR itself. I cherrypicked the commit that is actually on master, just to be sure.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@kewne FYI in case you want to take a look

Ah, back then there were no shadowJarValidationExcludes.

Failures in the gradle console log appear to be infrastructural. Have manually confirmed targets.

Run Java PreCommit

I've seen many builds failing due to dependency download issues. I will run this and publish a scan.

Getting very slow downloads from maven central locally, too, which could be part of the issue.

Run Java PreCommit

I've had a large number of builds on Jenkins and locally fail due to maven central download issues. Here is a scan of :javaPreCommit https://gradle.com/s/p4mabdazm6yjq


kdenlive segfaults

Steps To Reproduce
$ nix-shell -p kdenlive
$ kdenlive
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
No LADSPA plugins were found!

 Use this syntax instead: function onFoo(<arguments>) { ... }
Segmentation fault (Speicherabzug geschrieben)

Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.77, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"home-manager, musnix, nixos-21.11pre328987.c935f5e0add, nixos-hardware"`
 - channels(turion): `"home-manager, nixpkgs-21.11pre329221.c11d08f0239"`
 - nixpkgs: `/home/turion/.nix-defexpr/channels/nixpkgs`

Same issue here, but barely any output at all, Any ideas yet?
[nix-shell:~]$ kdenlive

(kdenlive:1894441): Gtk-WARNING **: 23:45:26.381: Unable to locate theme engine in module_path: "adwaita",

(kdenlive:1894441): Gtk-WARNING **: 23:45:26.389: Unable to locate theme engine in module_path: "adwaita",
Segmentation fault (core dumped)

@harrisonthorne Can you change your qt5 config? I'm assuming you have:
qt5.platformTheme = "gnome"; qt5.style = "adwaita-dark";

Can you try
qt5.platformTheme = "gtk2"; qt5.style = "gtk2"

and see whether it still crashes?

(I'm taking inspiration from https://github.com/NixOS/nixpkgs/issues/163482)

I have a similar problem with PolyMC.
when i set my qt5 config to
qt5.platformTheme = "gtk2";
qt5.style = "gtk2";

it segfaults after a while of being in a specific menu
when i set it to
qt5.platformTheme = "gnome";
qt5.style = "adwaita-dark";

it doesn't crash
see https://github.com/PolyMC/PolyMC/issues/1212

Uhm... I'll repeat, if I try to open Kdenlive, it launches successfully.
Does it still happen to you?
I'm on NixOS Unstable.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.3-xanmod1, NixOS, 23.05 (Stoat), 23.05.20230323.994e2ef`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Yes, let's close if noone can reproduce :)


Option to fallback to .sentryclirc config

I have my project configured with a project .sentryclirc and computer specific for my auth token. I'd like to use this plugin to upload dSYMs as part of my fastlane process but currently it requires me to pass in those as options even though when it runs the command with sentry-cli it would work appropriately.
I understand having them as options is useful for people who don't configure the cli with the rc files, so I propose an option that allows it to skip the config validation and environment var overriding.
What do you think?

Hey neat idea, after support for this is added in sentry-cli I will add it here.
https://github.com/getsentry/sentry-cli/issues/59


Improves unit-tests.

Removes code smells from unit tests to increase readability and maintainability.

Do we want to increase the version to 1.70.1, even though these are just small tests updates ?

I would keep the same version.


Add job retry ability

This adds a retry count flag that allows jobs to be retried upon failure.

Oh, just thought of this - should we bump the version to 0.3.5 in this PR?

This looks good.  Did you do a manual test to check that the logging works as expected?

And yeah, bump the version!

Yup, the logs look good.  I also just bumped the version to 0.3.5.


Make sure that AMQP 0-9-1 handshake has a timeout

This was originally discussed in https://github.com/streadway/amqp/pull/166. We need to make sure that there is a timeout for the handshake operation (à la what Go's HTTP transport does using a one-off timer) and that it uses the same default as connection (dial) timeout for TCP and TLS connections.

https://github.com/streadway/amqp/tree/timeout


Build in class_name magic shouldn't alter sturct names

A struct with a name like X1Y2MyJob should be left alone, but today it's being converted to X1y2MyJob (note the lower case y).  This is a bug and should be fixed.

Fixed in version 0.9.0.


Can't connect to ItemSlot signal programmatically.

Not sure if this is a bug, or I am doing something wrong, I can't connect to the ItemSlotBase signals with code, I can connect from the editor and that works fine, but if I disconnect them from the editor and try to connect using code it doesn't work. I've done similar things with builtin Godot nodes like creating a timer and then connecting to it with code.
I can use connecting them from the editor as a work around, its just a bit nicer if I can use code because I use VSCode and every-time I connect to a signal from the editor it messes up my code like reverts it back a couple of edits : /

This was user error, it does actually work to connect with code (due to node structure)


Improvement : Make README more understandable

The README.md is quite well written very good but the problem is that it is difficult to understand for new folks.

Hi @krcpr007 if you have suggestions on how to improve the README.md, please feel free to submit a pull request.


Upgrade hero background and add Github link to navigation

:heart_eyes:

I may be missing something, but why would images/hero-background.jpg not just simply be a CSS gradient?
Overall this looks great! :+1:

@joshuaogle great catch! The hero-background.jpg image is not actually being used. I went the way of the gradient, and forgot to delete this.


Images should be moved in this one...

Dave, hope this works foryou. I hadn't merged your changes in a while, so hopefully I didn't break anything for you!

Thanks Tim! I think the coach template snuck back in, along with a merge comment. I'm going to merge this and then update it along with a few other last minute updates. Then I'll send it over to Gino for his review into the main fork. Thanks again!!


Osstd eplus rct demo

Fix: resolve the HVAC duplication issue

Thanks @weilixu I've extensively redone the HVAC generation in my latest branch implement_phase3 so I'm closing this pull request and branch.


gnome-tweaks doesn't list extensions?

I'm wanting to change some gtk stuff so I have UI elements that make more sense.
As is, my text highlight is white, and my on/off toggles have no depth to them.

Looks like most of my UI elements are missing.

It could be the fault of the Ark-Darker theme, as Ambiance looks a little better (though large) I may need to check for updates.

Extensions will be impossible to implement into i3... They are only working inside full gnome session

@NullVoxPopuli sorry for being late answering, i think you mean ubuntu right?, yes it uses GTK but not directly from GNOME, they have modified some things that probably won't fit right with this tweak (i3-gnome).
Cheers!


Coralnewbranch

// make sure the title of your pull request is [ticket number] name
// if changes were requested change the title to [ticket number] name WIP⚠
Description
// what does your project do?
attach any relevant screenshots
Type of change

[ ] Bug Fixes
[ ] Breaking Change
[**] New Feature

Have you done the following?

[ ] Pull from staging/master
[ ] document your changes above
[ ] assigned a code reviewer
[ ] Deleted the comments in this template

@cmini004 you have so many conflicts with the main branch


added balance-of-with-max-weighted strategy

Builds on Balance-of-with-max strategy, which sets a cap for voting, by adding a weight option to multiply the token amount with prior. (As per erc20-balance-of-weighted strategy)
Changes proposed in this pull request:

New strategy

Removed in favour of updating existing strategy.


Invariant package JS warning on page publish

I don't think this is having an end user impact?
Link goes to here https://github.com/apollographql/invariant-packages
Likely a side-effect from https://github.com/silverstripe/silverstripe-elemental/pull/949, or one of the other upgrade JS pull-requests that happened recently
Acceptance criteria

[ ] The console warning is squash.
[ ] If the connection drops, you don't end up with an infinite loop.

PRs

https://github.com/silverstripe/silverstripe-elemental/pull/1015

Closing in favour of https://github.com/silverstripe/silverstripe-elemental/issues/1158


Background changes when using search bar to reload page

Using Safari Browser. After the origin protocol website is loaded, if a user clicks in the search bar and presses enter the website reloads but with a background graphical error.

Hi, @evra6965, thanks for reporting this issue. Are you viewing the German translation (https://www.originprotocol.com/de) both times that you load the page? Can you tell us what version of Safari you are using?

Yes I am viewing the German page however It appears to be happening on all of them
Safari Version 11.0.3 (116<IP_ADDRESS>.1)

Its on OS X El Capitan, Version 10.11.6 (15G19009)
So it is somewhat dated

Got it, thanks. I'm not able to reproduce it on my machine, but we'll see if we can find a way. 🙏


On editor multiple create - flush fields

It is rather convenient feature, when for instance user closes pop-up window abruptly or to see table info and then wants to proceed editing fields in form. It can be also useful to create another item with repeated values.


Role information should be stored in app_metadata.

I'm new to auth0, but my reading of the documentation suggests that per user app_metadata is the correct place to store roles.

Thanks for this, I'll review the auth0 docs about it and most likely merge this change in the next few days.

Another PR came in with this exact same suggestion so looks like the right thing to do! I'm going to merge that one because it adds a little extra logic to guard null objects, but thank you for pointing out this vulnerability.


lxd/projects: Fix clustered exec/console

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

@brauner should be good to go


controller_vhci_ble_adv example on ESP32-C6 linking errors (IDFGH-11010)

General issue report
Hi, I'm trying to compile and run the controller_vhci_ble_adv example on ESP32-C6 but I get linking errors.
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/main/libmain.a(app_bt.c.obj): in function `hci_cmd_send_reset':
esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:49: undefined reference to `esp_vhci_host_send_packet'
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/main/libmain.a(app_bt.c.obj): in function `hci_cmd_send_ble_set_adv_param':
esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:70: undefined reference to `esp_vhci_host_send_packet'
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/main/libmain.a(app_bt.c.obj): in function `hci_cmd_send_ble_set_adv_data':
esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:95: undefined reference to `esp_vhci_host_send_packet'
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/main/libmain.a(app_bt.c.obj): in function `hci_cmd_send_ble_adv_start':
esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:55: undefined reference to `esp_vhci_host_send_packet'
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/main/libmain.a(app_bt.c.obj): in function `bleAdvtTask':
esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:106: undefined reference to `esp_vhci_host_register_callback'
.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/12.2.0/../../../../riscv32-esp-elf/bin/ld: esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/main/app_bt.c:119: undefined reference to `esp_vhci_host_check_send_available'

I checked in the bt.c and I'm trying to understand why those functions are wrapped in #ifdef CONFIG_BT_BLUEDROID_ENABLED?
I tested removing those #ifdef CONFIG_BT_BLUEDROID_ENABLED (as in the bt.c for other ESP32 chip) but then I get linking errors for below.
esp-idf/components/bt/controller/esp32c6/bt.c:343: undefined reference to `ble_hs_rx_data'
esp-idf/components/bt/controller/esp32c6/bt.c:343: undefined reference to `ble_hs_hci_rx_evt'
esp-idf/components/bt/controller/esp32c6/bt.c:343: undefined reference to `ble_hs_hci_rx_evt'

Is there a reason that this does not wortk? If not any pointers to why this is not working?
Tested with both esp-idf 5.1 and current head of master (62ee4135e033cc85eb0d7572e5b5d147bcb4349e)

Thanks for your question.This example doesn't currently support ESP32C6. Please check the README.md(esp-idf/examples/bluetooth/hci/controller_vhci_ble_adv/README.md) file under this example.
If you want to use the hci function of ESP32C6, please use the following example: esp-idf/examples/bluetooth/nimble/hci

@zhaoweiliang2021 thank you, what I need is the vhci functions to bind that with the Bluetkitchen btstack as we are not using Espressif Bluetooth stacks. Previously we use the vhci functions for this, but they are not availible in the C6. How would you suggest doing this?
Should I modify the esp-idf and hook in on those functions and instead of doing it on UART, I'd map those to external stack?
#if CONFIG_BT_LE_HCI_INTERFACE_USE_UART
    ._hal_uart_start_tx     =  hci_uart_start_tx_wrapper,
    ._hal_uart_init_cbs     =  hci_uart_init_cbs_wrapper,
    ._hal_uart_config       =  hci_uart_config_wrapper,
    ._hal_uart_close        =  hci_uart_close_wrapper,
    ._hal_uart_blocking_tx  =  hci_uart_blocking_tx_wrapper,
    ._hal_uart_init         =  hci_uart_init_wrapper,
#endif //CONFIG_BT_LE_HCI_INTERFACE_USE_UART

You can refer to the adaptation work of BLUEDROID HOST in bt.c(components/bt/controller/esp32c6/bt.c).
The adaptation code is enabled by CONFIG_BT_BLUEDROID_ENABLED.
HCI TX direction: refer to the required esp_vhci_host_send_packet api;
HCI RX direction:
refer to ble_hci_trans_cfg_hs(ble_hs_hci_rx_evt, NULL, ble_hs_rx_data, NULL);
Need to implement ble_hs_hci_rx_evt/ble_hs_rx_data API.

@zhaoweiliang2021 thanks, I'll use that as reference. You may close this issue now.


conda env create --file environment.yml gives HTTP CONNECTION ERROR

I get the following error while trying the command
conda env create --file environment.yml
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/linux-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

ConnectionError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/free/linux-64/repodata.json.bz2 (Caused by ReadTimeoutError("HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Read timed out. (read timeout=9.15)",))',),)

A reportable application error has occurred. Conda has prepared the above report.

What went wrong, or what were you unable to do?

What did you expect to happen?

A screen shot, short screen cast, or sketch.

Errors and warnings
If relevant, please include:

Python tracebacks and/or warnings.

Any messages/tracebacks in your browser's developer tools console.

How to reproduce
Ideally, please include a complete, minimal, self-contained python script or notebook that reproduces the issue (in the environment you describe below). http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports contains useful guidance on doing this if you are unsure.
Your environment
If your version of datashader is neither the latest release (https://github.com/bokeh/datashader/releases/latest) nor the latest GitHub master, please consider upgrading before filing your issue.
Please tell us how to reproduce your environment:

If using conda, the output of conda list and conda info.

If using pip, the output of pip freeze.

What operating system and version?

If relevant, which browser and version?

I had solved part of the issue by
$ sudo ufw reset
But stil I am getting the following error while running conda env create --file environment.yml
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/noarch/repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectionError(MaxRetryError('HTTPSConnectionPool(host=\'conda.anaconda.org\', port=443): Max retries exceeded with url: /conda-forge/noarch/repodata.json (Caused by ReadTimeoutError("HTTPSConnectionPool(host=\'conda.anaconda.org\', port=443): Read timed out. (read timeout=9.15)",))',),)

That sounds like an internet connectivity issue rather than anything to do with datashader.  To verify, try pointing your browser to https://repo.anaconda.com ; I would assume that you can't see that, in which case no conda commands will work for you...

I agree with the previous comment.
You could also try conda env create -vvv --file environment.yml to help pinpoint the spot where things
fail.
I'm going to close this issue because it's not specific to datashader. However, I'm happy to help you debug things, so please feel free to keep replying here.


Add docstrings to exposed functions

Exposed functions should have docstrings, so that the usage instructions will be shown in the IDE popups.
Current exposed functions:

guinep.web

Completed in #31


Tasks route resource seems to go against the official documentation.

// USER TASKS ROUTES
Route::resource('/tasks', 'TasksController');
Route::resource('/tasks-all', 'TasksController@index_all');
Route::resource('/tasks-complete', 'TasksController@index_complete');
Route::resource('/tasks-incomplete', 'TasksController@index_incomplete');

From both the 5.2 and 5.4 documentation:

Supplementing Resource Controllers
If it becomes necessary to add additional routes to a resource controller beyond the default resource routes, you should define those routes before your call to Route::resource; otherwise, the routes defined by the resource method may unintentionally take precedence over your supplemental routes.
https://laravel.com/docs/5.4/controllers#restful-supplementing-resource-controllers

I'm trying to update your project to Laravel 5.4 and asked a number of people to look at the original Task routes and they all said they can't believe these routes ever actually worked.
They don't work in 5.4 and to get them to work I had to follow the advice of the docs and move the 1 actual resource route to be last and make all the others plain get routes.
// USER TASKS ROUTES
Route::get('/tasks-all', 'TasksController@index_all');
Route::get('/tasks-incomplete', 'TasksController@index_incomplete');
Route::get('/tasks-complete', 'TasksController@index_complete');
Route::resource('/tasks', 'TasksController');

Correct it and do a pull request please.


refactor(routes): split routes registration

A small PR to split routes registration. There is no change in the logic, just moving things to avoid merge conflicts in that area later on.

While we are here, what do you think about potentially renaming the file currently located at core/http/app.go to something like core/http/fiber_app.go ? It's an extremely minor tweak but now that the routes have been extracted to their own sub package, the remnants are super clearly linked to fiber itself, rather than our own "logic"
An alternate suggestion would be to create a package / folder core/http/fiber - in that case we could keep the filename app.go and additionally grab the file currently known as core/http/ctx/fiber.go and rename that to core/http/fiber/ctx.go?

While we are here, what do you think about potentially renaming the file currently located at core/http/app.go to something like core/http/fiber_app.go ? It's an extremely minor tweak but now that the routes have been extracted to their own sub package, the remnants are super clearly linked to fiber itself, rather than our own "logic"
An alternate suggestion would be to create a package / folder core/http/fiber - in that case we could keep the filename app.go and additionally grab the file currently known as core/http/ctx/fiber.go and rename that to core/http/fiber/ctx.go?

no strong opinion, but would be kinda redundant IMHO to name it fiber_app. app.go in this case is already under http: we could likely follow the same pattern for other protocol implementations, so you would always expect an app.go under each protocol: e.g. http/app.go, mqtt/app.go, etc.

While we are here, what do you think about potentially renaming the file currently located at core/http/app.go to something like core/http/fiber_app.go ? It's an extremely minor tweak but now that the routes have been extracted to their own sub package, the remnants are super clearly linked to fiber itself, rather than our own "logic"
An alternate suggestion would be to create a package / folder core/http/fiber - in that case we could keep the filename app.go and additionally grab the file currently known as core/http/ctx/fiber.go and rename that to core/http/fiber/ctx.go?

no strong opinion, but would be kinda redundant IMHO to name it fiber_app. app.go in this case is already under http: we could likely follow the same pattern for other protocol implementations, so you would always expect an app.go under each protocol: e.g. http/app.go, mqtt/app.go, etc.

Yeah, I think this is a super minor complaint - but I think it basically boils down to mqtt/app.go doesn't make a whole lot of sense to me as a name: the concept of "app" being the name of the core registration code is itself, a fiber naming convention. After thinking about it more myself, I agree that fiber_app.go is pretty weird looking... So I think some kind of core/http/fiber package could be in order? Especially if my later prs end up changing how the model / request is extracted from the fiber context


Show license plate in dashboard table

Describe the issue
Project License plate column is not currently included in the project list on the Dashboard page in the Project Registry. The user can manually add the license plate (aka namespace) column to the table using the button in the top right corner above the table. However, if the user goes to a project edit page and comes back to the Dashboard, the license plate column is removed from the table again.
Definition of done
License plate column is permanently added to the project list on the Dashboard page as the last column.

Submitted for code review.


why GetKernelRtSigreturnAddress always return 0 in my arm64 android application

Hi, I notice that there is a way to get __kernel_rt_sigreturn besides the practice in https://cs.android.com/android/platform/superproject/+/master:system/unwinding/libunwindstack/RegsArm64.cpp;l=143;bpv=0;bpt=1 but GetKernelRtSigreturnAddress() always return 0 when I call this method in signalHandler

Hi. I'm not sure I understand your question. What is your use case and what are you trying to do?

Hi. I'm not sure I understand your question. What is your use case and what are you trying to do?

Closing due to inactivity and because this isn't really an Abseil issue.


Ecto.Query.Api.type error on dinamic filters

Elixir version: 1.8.1
Ecto version: 3.0.7
This code compiles:
defmodule Jp.Search do
  import Ecto.Query

  for association <- ~w(address skype phones events subscriptions)a do

    def add_where(query, unquote(association), field_name, value) do
      where(query, [{unquote(association), q}], field(q, ^field_name) > ^value)
    end

    def ensure_association(query, unquote(association)) do
      has_named_binding?(query, unquote(association)) && query || join(query, :inner, [q], a in assoc(p, unquote(association)), as: unquote(association))
    end
  end
end

whereas this one does not:
defmodule Jp.Search do
  import Ecto.Query

  for association <- ~w(address skype phones events subscriptions)a do

    def add_where(query, unquote(association), field_name, value) do
      where(query, [{unquote(association), q}], field(q, ^field_name) > ago(^value, "year"))
    end

    def ensure_association(query, unquote(association)) do
      has_named_binding?(query, unquote(association)) && query || join(query, :inner, [q], a in assoc(p, unquote(association)), as: unquote(association))
    end
  end
end

It gives the error like:
** (ArgumentError) you attempted to apply :type on {{{:., [], [{:__aliases__, [alias: false], [:Ecto, :Query, :Builder]}, :count_alias!]}, [], [{:query, [], Ecto.Query.Builder}, :address]}, {:field_name, [line: 169], nil}}. If you are using apply/3, make sure the module is an atom. If you are using the dot syntax, such as map.field or module.function, make sure the left side of the dot is an atom or a map
    :erlang.apply({{{:., [], [{:__aliases__, [alias: false], [:Ecto, :Query, :Builder]}, :count_alias!]}, [], [{:query, [],
Ecto.Query.Builder}, :address]}, {:field_name, [line: 169], nil}}, :type, [])

The only difference is one line.
change this
 where(query, [{unquote(association), q}], field(q, ^field_name) > ^value)
to this
 where(query, [{unquote(association), q}], field(q, ^field_name) > ago(^value, "year"))

Can you please attempt  to provide a failing test for our suite? It would speed the  fixing prpocess a lot.  Thank you!

I don't have it, sorry..
I've checked also with other expressions.


Return defualt value when object is falsey

Fix for #38  :)

@stevemao I've added test cases as you requested.


course events & middlewares

discuss idea of extening the courses and other packages

please check is course finish event is actually being send


Ninjhax 2.5 Tweaks Needed

With 2.5 out, a few problems have arised.
The following are the issues that are known, whether or not it's my or smeas fault I don't know.

Performance Hit (Other homebrew apps are facing this issue aswell), usual framerate almost halved
Crash on exit (Causes the 3DS to freeze when it tries to return to the launcher)
csnd is deprecated, needs to be replaced with dsp

Have the first two issues been fixed? I get a constant 60 FPS on my game which has quite a lot of code and i've never experienced a crash on exit.

The performance hit isn't as bad now due to the N3DS speed up, but it's still not as good as it was
The crashing is semi-random and needs more looking into
Still need to rework the audio system to use DSP

e72ab0679562ab2c92f55b2faced3d197b3a94f3 reworked love.audio with DSP, closing this issue.


Gazebo

Duplicate

We're sticking with this issue as the original; marked the other as a duplicate


Avoid fully qualified class names, when there is an existing (static)…

… import

Thanks for the review - I've made those changes.

Hi, please take another look at the updated PR, thanks!

Rebased the PR to take some recent changes into account.

@kennknowles please take another look when you get a chance, thanks!

Sorry for the slow review. Thanks!

run java precommit

Thanks @kennknowles ! There was a conflict with master so I  updated the branch to fix it.

@kennknowles Anything else you want to do here or should this be merged?

Another rebase performed.

I think @kennknowles probably forgot to merge this one so I am merging it since it is already approved. Don't hesitate to ping @coheigea if there is still anything missing.


Release 0.4

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/19524
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.0 -m "<description of version>" 801de822476adf44ecb9977f23d3f8bb66e620fe
git push origin v0.4.0


Update examples for 1.0

Signed-off-by: Carlisia<EMAIL_ADDRESS>

Trying to review, though my browser has an issue with loading the first commit.
In the future, let's separate the dep updates into their own commits.

Closing this in favor of https://github.com/heptio/velero-plugin-example/pull/21.


Updates to WASM toolchain

This PR introduces two changes:

Upgrade of the WAMR release used in Wawaka to WAMR-07-10-2020. No changes to Wawaka were needed.
Explicit usage of the last emsdk release to support the fastcomp backend. Docker now checks out the 1.39.20 tag. This change is a workaround until we can stably support one of the newer WASM build toolchains.

I also just verified that this PR works on my ice lake laptop in HW mode for the three PDO_INTERPRETERS.


Roll engine b819b62bed3f..388124f948e6 (1 commits)

https://github.com/flutter/engine/compare/b819b62bed3f...388124f948e6
git log b819b62bed3ffedf729ac1daddcc8bf7885e9982..388124f948e685fd545c4363bcecbaeae911b4c5 --no-merges --oneline
388124f94 Roll src/third_party/skia db13d3874846..70ed05e53ad2 (6 commits) (flutter/engine#8599)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (garyq@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


dbabuildreference –update WARNING: [12:39:12][Get-DbaBuildReferenceIndexOnline] Couldn't download updated index from https://sqlcollaborative.github.io/assets/dbatools-buildref-index.json

Before submitting a bug report:

[ ] Ensure you are able to reproduce it on the latest released version (we release often)
[ ] Verified this bug is not already reported in an issue
[ ] Verified errors are not related to permissions
[ ] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce
/*
    Any T-SQL commands involved or used to produce test objects/data.

NONE
*/

<#
   # at our site
get-dbabuildreference –update

#>

Download latest JSON files from web

Couldn't download updated index from
https://sqlcollaborative.github.io/assets/dbatools-buildref-index.json
Investigation of issue:
Tracked down the issue with the DBATOOLS powershell command get-dbabuildreference –update.
Inside that code (Get-DbaBuildReferenceIndexOnline) they try a couple of things to get the file

First just a straight call
Try a default proxy setting
Then they just give up
Found this article and tried running the parts of the code and found the error:
Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:15

... ebContent = Invoke-WebRequest "https://sqlcollaborative.github.io/ass ...

           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo         : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Looking for this error on the web found the following article:
https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
tried parts of the code (Get-DbaBuildReferenceIndexOnline)  with this set
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
and then the code was successful in downloading that piece.

Environmental data

PowerShell: <!-- $PSVersionTable output

Name                           Value

PSVersion                      5.1.17134.228
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.228
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
-->

SQL Server:

fixed via https://github.com/sqlcollaborative/dbatools/commit/17d1ef7f85cc7e6c00f94d730d055aa18cae01dd


multiple scrolls?

Hi Alberto,
How would I initiate multiple scrolls in a page in plain javascript?
Say I have the main element and then some other smaller elements I want optiscroll to work with.
EDIT:
this does not seem to be working:
var element = document.querySelectorAll("#scroll1, #scroll2");
Thanks!

With plain javascript you have to create multiple Optiscoll instances yourself, as providing multiple elements is not supported.
Something like this should do the trick:
var elements = document.querySelectorAll("#scroll1, #scroll2");
elements.forEach((el) => new Optiscroll(el))


Update Linuxdeploy

tauri build has been broken for a while now on up-to-date Linux systems, as it failed on building the AppImage.
This was caused by an update to glibc breaking Linuxdeploy (https://github.com/linuxdeploy/linuxdeploy/issues/210).
This has just now been fixed in https://github.com/linuxdeploy/linuxdeploy/pull/211 , but the linuxdeploy release of this repo still needs to be updated to point to the new artifacts.
CI run of the new version: https://github.com/linuxdeploy/linuxdeploy/actions/runs/2878293346
Fixed AppImage artifact: https://github.com/linuxdeploy/linuxdeploy/suites/7861608611/artifacts/333221700

Binary has been published to the release page. Don't rely on those artifacts, they will be removed ultimately. Instead, I recommend to always download from the continuous release page.

I recommend to always download from the continuous release page.

That's what we used to do on each tauri build call but we started using this repo as a "cache" when we hit https://github.com/linuxdeploy/linuxdeploy/issues/206, and to get older releases we had to use the ci artifacts.
The plan is to upgrade binary-releases to have Tauri specific CI tests and pull new linuxdeploy releases (from the release page) on successful runs :)

Aaand pinging @lucasfernog because i apparently don't have write access so i can't update the artifacts.

Binary has been published to the release page. Don't rely on those artifacts, they will be removed ultimately. Instead, I recommend to always download from the continuous release page.

When using the tauri build command, it always downloads the artifacts from this repository, afaik there is no easy way to just use the up-to-date artifact.
Relevant code: https://github.com/tauri-apps/tauri/blob/9bbc30590b787be849d122c4f96d9917da2b4181/tooling/bundler/src/bundle/linux/templates/appimage#L73

Done.

Can confirm that this fixed tauri build for me :tada:


Small refactoring

Refactored stuff a bit.
Removed the use of some list(map) ... because you can just iterate over list

Looks good! Thanks :beers:

@timofurrer maybe update pyobservable on PyPI ?

Yeah, I will as soon as I'm on a private computer ;)


Create devices when artemis starts

Currently devices are created every time a plan is run. Some devices may persist once the plan has completed, so when a plan is repeated multiple times, the number of active devices can grow large. It may be beneficial to just create devices once when artemis starts up, and then pass these devices into the plan.

I've implemented this by adding global variables in artemis/devices/fast_grid_scan_composite.py and artemis/devices/eiger.py which initialized on the first call of get_plan and then reused rather than reinitialized. The eiger is the only device which takes parameters and is updated each time get_plan is called.


Propose extension for AMO's Recommended Extension program

I understand this extension is in early stages, but I believe the security sensitivity aspect of it will sooner than later warrant an external security review. This, alongside the visible indicator (like a "certificate" for the review) for other Firefox users to see that they can trust this extension, can be provided through the "recommended extension" program on addons.mozilla.org (plus I'd say it's a pretty essential extension on macOS that Mozilla would be keen to promote).
Info on how to apply, relevant section:

If you’d like to nominate an extension you feel deserves consideration for the Recommended program—even if it’s one of your own—please email us a link to its AMO listing page at amo-featured [at] mozilla [dot] org and briefly explain why you think your extension should be considered for the Recommended list.

While I totally agree with the benefits of an external security review and enhanced technical verifications for each update, I feel like this extension does not yet meet Mozilla's criterias for Recommended extensions.
I will thus focus my efforts on meeting the following requirements before nominating the extension:

Does the extension function at an exemplary level?
#13
#12
Is the extension relevant to a general, international audience?
#10


Post

I have added the option for one to get recommendation based on interactions with a post such as likes and comments and also added similarities such as interest, school and major. I also updated the post feature which one can now make a post and also comment on a post. I also fetched emojis from open-emoji api which the user can select any emoji from the dropdown menu when clicked.

Once you've merged PR#4 (Friends), could you update this PR on top of the merged branch? That way it'll be easier to see what changes are specific to this PR :)

Yah a little confused how we ended up with commits related to the Friends branch that are also duplicated in this branch?


docker-compose ps never says Healthy

root@central-sandbox:~/central# docker-compose ps
       Name                     Command               State                    Ports
------------------------------------------------------------------------------------------------------
central_mail_1       /bin/entrypoint.sh exim -b ...   Up      25/tcp
central_nginx_1      /bin/bash /scripts/odk-set ...   Up      <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:80->80/tcp
central_postgres_1   docker-entrypoint.sh postgres    Up      5432/tcp
central_service_1    ./wait-for-it.sh postgres: ...   Up      8383/tcp

It just says Up, it doesn't say Up (healthy)

hm. you must have an older version of docker; it's a pretty new feature.

not sure what to do about this.

This is the problem with docs that are too specific, I guess.

Under the State column, you will want to see text that reads Up (healthy) or something similar. If you see Up (health: starting), give it a few minutes. If you see some other text, something has gone wrong.

no, definitely aware. not sure how to phrase all of that, and we definitely want some kind of health indication even on older dockers if possible..

honestly, at this point my plan is sort of to just wait this issue out until it's not an issue anymore, which might already be true?

Works now...
root@test:~/central# docker-compose ps
       Name                     Command                  State                        Ports
-------------------------------------------------------------------------------------------------------------
central_mail_1       /bin/entrypoint.sh exim -b ...   Up             25/tcp
central_nginx_1      /bin/bash /scripts/odk-set ...   Up (healthy)   <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:80->80/tcp
central_postgres_1   docker-entrypoint.sh postgres    Up             5432/tcp
central_service_1    ./wait-for-it.sh postgres: ...   Up             8383/tcp


[2.0] Remove humidity/temperature from instrument

Is your feature request related to a problem? Please describe.
Using the metadata portal https://metadata-portal.allenneuraldynamics.org/app?file=instrument you can see that users aren't using humidity/temperature.
Describe the solution you'd like

[ ] Remove these fields
[ ] Write an upgrader that warns users if data is being deleted, or maybe move it into the notes?

Not sure if this is relevant as this is an harp device and will be logged as such, but we are deploying this device Q1:
https://allenneuraldynamics.github.io/Bonsai.AllenNeuralDynamics/articles/environment-sensor.html
https://github.com/AllenNeuralDynamics/harp.device.environment-sensor


What happened to the unsuffixed files?

Previously I had it set up so that you could access the default (es5) implementations using
import map from "iter-tools/map";

I would like to have this for Sequins. After thinking carefully about it, I'm almost certain that users would rather I didn't rely on their correct tree shaking setup to not include unneeded files, but rather simply import files within iter-tools.
I can already do this by requiring files in the /es5 folder, but I don't like that in the long run. Specifically I don't like it because of the planned work on es-retarget, which will handle using less transpiled versions of iter-tools when appropriate. If my library is explicitly importing es5 code it will be pretty misleading when that import statement ends up pulling in es2015.

Do you think it is an acceptable compromise to advise against using the default as it might be subject to change?

No activities here for too long. Closing


Consistent versioning of native binaries

Adding an MSBuild target file that generates a header containing file and product versions which will be used in .rc files in native projects across all repos.
Note that keeping header generation in MSBuild is cleaner than generating it in a .shade file since the entire project is being built within a single build subsystem and therefore you can build the project directly (i.e. just with MSBuild) without having to do it with Sake (if the file did not exist)
Updating native-compile target in _k-standard-goals.shade to pass version numbers.

Ping :watch:

I guess it's :shipit: ? :smile:


Refer to press summary when viewing press summary

Changes in this PR:
Since we were adding the buttons to go back and forth between judgment and press summary, I thought it was only right that we fix up the press summary html pages to show the correct static text.
Adds conditional logic to the detail view we now share between judgment and press summary to display "press summary" in text when its a press summary!
Trello card / Rollbar error (etc)
https://trello.com/c/Q2lNPibf/1044-pui-add-to-judgment-view-press-summary-button-and-box-in-download-options
Screenshots of UI changes:
Before

After

Codecov Report

Merging #789 (0b949b0) into main (7a4a0af) will decrease coverage by 0.15%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #789      +/-   ##
==========================================
- Coverage   93.06%   92.92%   -0.15%
==========================================
  Files          30       30
  Lines        1226     1229       +3
  Branches       62       63       +1
==========================================
+ Hits         1141     1142       +1
- Misses         68       69       +1
- Partials       17       18       +1

Impacted Files
Coverage Δ

judgments/views/detail.py
90.54% <33.33%> (-2.42%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

It might be worth leaving this until after we have a chat about our translation approach, but I don't see a problem with this, other than maybe that you wanted some tests (which might be a real pain.)

I will try the tests but will get this in for now. If we simplify things with translations then we can just simplify this alongside that

Nw version of this PR at https://github.com/nationalarchives/ds-caselaw-public-ui/pull/795 because github was being weird with this one and not updating my with my changes

reopening


[🐞] Qwik City Form trigger routeLoader$

Which component is affected?
Qwik City (routing)
Describe the bug
Each time qwik city Form is submitted routeLoader$ is triggered.
Reproduction
https://stackblitz.com/edit/qwik-starter-ejtnij?file=src%2Froutes%2Flayout.tsx
Steps to reproduce
import { component$ } from<EMAIL_ADDRESS>import { routeLoader$, Form } from<EMAIL_ADDRESS>
export const useServerTimeLoader = routeLoader$(async () => {
  console.log('triggered');
});

export default component$(() => {
  return (
    <Form class="m-4 flex items-center">
      <button type="submit" class="mx-4 h-[52px] items-center">
        Use Action Test
      </button>
    </Form>
  );
});

System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.10 - /usr/local/bin/pnpm
  npmPackages:
    @builder.io/qwik: 1.2.7 => 1.2.7
    @builder.io/qwik-city: 1.2.7 => 1.2.7
    undici: 5.22.1 => 5.22.1
    vite: 4.4.7 => 4.4.7

Additional Information
No response

Yes, that works as intended. This is so that the loaders can load new data as a result of the action. In the future we plan to have ways to "cache" loaders, but for now the re-run....
Closing as working as intended...

@mhevery, thank you for explanation
server$, routeAction$, globalAction$ trigger routeLoader$.
Is there any way to send an action and get the response without any side effects? Or any other built-in primitive to use?
I'm building qwik micro-fronted web app and mfes don't understand how to use data from loaders when we're on the client, so for this setup data from server is useless but takes time to execute. I have to notify required parts of the app via custom events anyway.
The only solution I see is not to use routeAction$, globalAction$ or server$ if I want to avoid unneeded executions and to create some custom api endpoints and call them via fetch. The problem is DX feels very rough, mfes don't work with SPA and I can't use primitives for communication with server. In theory mfes allow to build extremely complex and performant systems but required development effort seems to be quite high to accomplish this goal compared to other suboptimal solutions.

server$, routeAction$, globalAction$ trigger routeLoader$.
Is there any way to send an action and get the response without any side effects? Or any other built-in primitive to use?

as of right now no. This is because actions can run without client-side JS, as in submitting a form. In which case the server just re-renders the whole page and re-executes everything. So with JS on we emulate that behavior.

I'm building qwik micro-fronted web app and mfes don't understand how to use data from loaders when we're on the client, so for this setup data from server is useless but takes time to execute. I have to notify required parts of the app via custom events anyway.

Have you seen our MFE demo: https://github.com/gioboa/qwik-dream-demo

The only solution I see is not to use routeAction$, globalAction$ or server$ if I want to avoid unneeded executions and to create some custom api endpoints and call them via fetch. The problem is DX feels very rough, mfes don't work with SPA and I can't use primitives for communication with server. In theory mfes allow to build extremely complex and performant systems but required development effort seems to be quite high to accomplish this goal compared to other suboptimal solutions.

Consider using server$ which has very clean/simple ergonomics...
I am going to close this issue as working as intended. Feel free to create more specific issues to keep the discussion going.


autofix for 'sort-styles' rule

added autofix for 'sort-styles' rule.

Coverage increased (+0.1%) to 75.192% when pulling b366630dd73a70016be0391f73cdbdbace7bfe33 on tanhauhau:tanhauhau/autofix-sort-styles into 89c3a11ce9e520bfae5e846c9dbe329d4413dd2f on Intellicode:master.

According to the ESlint docs, we need to specify the fixable property.

Important: Without the fixable property, ESLint does not apply fixes even if the rule implements fix functions. Omit the fixable property if the rule is not fixable.

I can add some rest case for this..

@draperunner these test cases should suffice ?

added test case for shorthands too

The test cases for shorthand properties look good. Great job!
Regarding comments, I think it's better to just not autofix a chunk if it contains comments. It's impossible to know what the comment means. Consider the case
const styles = StyleSheet.create({
  container: {
    d: 4,
    // Never EVER edit the next THREE lines!!!
    c: 3,
    a: 1,
    b: 2,
  }
})

If we just don't autofix this, but still report it as an error, the user will have to fix it manually. When we are not sure what the correct way to fix things is, it's better to ignore it than potentially break something.

Very nice! Sorry, I have been away for a bit, but I'll try to get out a release soonish!

Any updates on this?


unable to test and use

The filter is constantly crashing on Mac OS 10.15.7 and Glyphs 3.2-3201, have to remove it. Sorry, I was unable to catch the whole error message

In my environment, the plugin returns traceback error and I am unable to try it. The crash seems to relate to beziers and pyclipper modules.
——————
BetterOblique.glyphsFilter プラグインがクラッシュを引き起こしました。プラグインマネージャーからプラグインを更新するか、元のソースから再ダウンロードしてください。
詳細：Traceback (most recent call last):
File "plugin.py", line 14, in
from betterObliqueFilter import shear_layer
File "betterObliqueFilter.py", line 6, in
import beziers.path
File "init.py", line 6, in
from beziers.utils.booleanoperationsmixin import BooleanOperationsMixin
File "booleanoperationsmixin.py", line 5, in
import pyclipper
ImportError: dlopen(~/Library/Application Support/Glyphs 3/Plugins/BetterOblique.glyphsFilter/Contents/Resources/site-packages/pyclipper.so, 0x0002): tried: '~/Library/Application Support/Glyphs 3/Plugins/BetterOblique.glyphsFilter/Contents/Resources/site-packages/pyclipper.so' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS~/Library/Application Support/Glyphs 3/Plugins/BetterOblique.glyphsFilter/Contents/Resources/site-packages/pyclipper.so' (no such file), '~/Library/Application Support/Glyphs 3/Plugins/BetterOblique.glyphsFilter/Contents/Resources/site-packages/pyclipper.so' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64'))
App:3.2-3202 Plugin:0.0.1-1 System:13.4.0
——————

I tried to install it on both 3.1.2 (3151) and 3.2 (3204) and the plugin is causing a crash on the launch of the app.

@laepage @Tosche @kosbarts
Thank you so much for the feedback! Sorry for not noticing the issue. I've included a copy of pyclipper library but I took the version for Python 2. I'll make sure this will work on Glyphs 3.


Material Schematics missing external dependency

Bug, feature request, or proposal:
parse5 is used within schematics/utils/html.ts but is never listed as a dependency in package.json. This prevents being able to extending the material schematics without library developers adding this dependency.
What is the expected behavior?
parse5 should be listed as a dependency of material schematics.
What is the current behavior?
import/require statement fails when material schematic collection is used with externalSchematic
externalSchematic('@angular/material', 'material-shell', {}),  // Errors

What are the steps to reproduce?
Clone this repository and follow README
What is the use-case or motivation for changing an existing behavior?
Developers wishing to extend the existing Material schematics need to include parse5 as a dependency.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6.0+

@jelbourn - I don't see this anywhere in the packages? How is this even working LOL?

@amcdnl most people probably have it installed incidentally due to some other package (maybe CLI)


CB-9295 Add GA analytics code on the Cordova Docs page

GA code added to all templates

Looks like https://github.com/apache/cordova-docs/blob/master/template/docs/default/index.js already has GA code. We should just re-use it and add the correct the ID.

Any ideas on how we can update older versions of the docs to use this new ID? Is it just a find and replace job?

If I will use code in the index.js, we have to update only index.js files across all versions and we are all set. (not sure about very old (<2.0) English versions. I will move code from index.html to index.js. This should be enough.

I also change from the old GA format to new. But we have to verify that both codes working. and as around about PhoneGap tracking code, do Adobe still use it?
One more thing which I could implement is add recording of events on following occasions

User change language
User select topic in the subheader select.

We don't care about the old GA tracking ID - in fact we do not have a way to even access it. As for the custom events, I'm new to google analytics but since they lead to navigations which are also tracked in GA, not sure if there is much value in adding custom events.

So if I could safely remove that old ID, I will do that. Any chance that somebody from Adobe has access and use it?

@stevengill tried to find if anyone could get access to it, but did not find the correct owner.

Ok, so I drop it.

To update the file index.js should be distributed to all versions.

I see - I can take a stab at updating all the older versions on the svn repo that has our website.

I merged this one 2f620e6. I had a typo in my commit message and this PR remained open. Can you please close it?

Thanks for the contribution!


⚠ Bofrost.at has degraded performance

In 81ac92d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2188 ms

Resolved: Bofrost.at performance has improved in e09d539.


Unhandled promise rejection ReferenceError: Can't find variable: IntlPolyfill

This error started showing up on Safari.
Unhandled promise rejection ReferenceError: Can't find variable: IntlPolyfill
Any ideas what could be causing this?

Which version of the boilerplate are you on? I think we fixed that bug a while back, see #805!

I'll close this for now since I cannot replicate it, please copy the changes done in #805 into your project and it should all work perfectly. If it doesn't, feel free to comment again and we'll investigate this further.


Single Select FIlterBox is a Must in order to make superset dashboards dynamic

Make sure these boxes are checked before submitting your issue - thank you!

[✔] I have checked the superset logs for python stacktraces and included it here as text if any
[✔ ] I have reproduced the issue with at least the latest released version of superset
[✔ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
{"version": "0.25.5", "GIT_SHA": ""}
Expected results
For Filterable Tables, I expect single select to filter the charts. Multiple select defeats the whole purpose of using filter as a workaround to create a truly dynamic dashboard. Tableau's single select accomplishes this incredibly well, and even enables the single selected value to be passed on as a URL parameter in iframe embeds. Including this small fix would deliver immense value to end users.
Actual results
Select filter is a multiple select, and the charts filtered as a result provide little insight and for an end user it has no functional value.
Steps to reproduce
Filterbox widget. Select one value (single select and view the charts filtered to that value result).
Next select another value on the filter box. Instead of the experience described in step 1, the misguiding multi-select behavior means a user has no selected two values with those charts display data from both. This adds confusion on accuracy of data, interrupts the workflow, and as against all things best practices for UI for a analyst user. In general, a single select option in filter box would deliver immense value for all end users, a great workaround to creating dynamic dashboards and makes the community more inclusive to those new to Superset, having experience with other BI solutions where single select on filter is just best practice, which can then even evolve into enabling single select filter on and passing parameters of the select into things like iframe url parameters

I don't think it's that clear cut that people want to always filter on one and only one value in a dynamic dashboard. There's work planned up on filters that should address this, in the meantime I personally don't feel like it's super awful to select a single value in a multi select if that's what you want.

Glad this is work planned up for this.  Agree that having multi does not imply you cannot do single. Power users and those that "know" the data would get it.  However, there are some valid use cases I see for both "single select" and more importantly "default".  For instance, Multi Currency where you may have metrics that need to be constrained or perhaps weird pre-aggregated location metrics such as (0-5 miles, 0-10, 0-15).  This would cause incorrect results with a multi select.  These may no be common but possible.
We are able to force a Single Select variant of FilterBox.jsx and it seems to work.  This is basically editing of ComponentWillMount with a onChange as well as logic to adjust OrigSelectedValues in the render for the actual FIilterbox.  This seems to work except that it does not force the "initial" render.
The "Default" Value we are able to code also (e.g. First value from dropdown) but what we found is that this can break or affect the other slices which seems problematic.  Perhaps this would require a different approach.  For example,
Will the upcoming work address Single and Default?  If so, that would be awesome.  We are exploring this but far from any sort of acceptable PR.

I don't think there's been design work on the filtering as a dashboard construct. But we can start an issue and take input/comments for when we get there. Check out the dashboard-builder branch (from memory) to see the amazing work that @graceguo-supercat and @williaster are doing at the moment. I hear it's about to get merged in master this week.

My 50ct:
I personally appreciate the multi selects in my workflows.
However, I would also love to have an option to actually require a filter to be set, yielding empty charts otherwise. This is very helpful for charts that would be very crowded when the table is processed without any filter applied.
You may have a look at how plotly's dash approaches this issue...


[bug] getStoryContext() does not include all the story tags as defined in the index.json file

Describe the bug
I am attempting to use the tags to opt-out of specific tests within the test runner.
The tags array on the context object returned from getStoryContext() does not match the tags as defined in the index.json file.
To Reproduce

Storybook is built using: storybook build --test
Test Runner is run with: test-storybook --junit --failOnConsole --ci --url http://<IP_ADDRESS>:6006
Using the following simplified ./storybook/test-runner.ts file; the tags array on the storyContext object is always ["story"].

import type { TestRunnerConfig } from "@storybook/test-runner";
import { getStoryContext, waitForPageReady } from "@storybook/test-runner";
import { injectAxe, checkA11y } from "axe-playwright";

// See https://storybook.js.org/docs/writing-tests/test-runner#test-hook-api
const config: TestRunnerConfig = {
  tags: {
    skip: ["skip-test"],
  },
  async preVisit(page) {
    await injectAxe(page);
  },
  async postVisit(page, context) {
    // See https://storybook.js.org/docs/writing-tests/test-runner#helpers
    const storyContext = await getStoryContext(page, context);

    const skipA11y = storyContext.tags.includes("skip-a11y");
    const skipVisual = storyContext.tags.includes("skip-visual");

    // See https://storybook.js.org/docs/writing-tests/storyshots-migration-guide#run-image-snapshot-tests-with-the-test-runner
    if(!skipVisual) {
      // removed for simplicity
    }

    // See https://storybook.js.org/docs/writing-tests/accessibility-testing#disable-a11y-tests-with-the-test-runner
    if(!skipA11y) {
      await checkA11y(page, '#storybook-root', {
        detailedReport: true,
        detailedReportOptions: {
          html: true,
        },
      });
    }
  }
};

export default config;

Expected behavior
The tags array on storyContext object matches the tags listed in the index.json file for the given story.
System
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22621
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
  Binaries:
    Node: 18.20.1 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD <----- active
  Browsers:
    Edge: Chromium (123.0.2420.97)
  npmPackages:
    @storybook/addon-a11y: ^8.0.9 => 8.0.9
    @storybook/addon-actions: ^8.0.9 => 8.0.9
    @storybook/addon-essentials: ^8.0.9 => 8.0.9
    @storybook/addon-interactions: ^8.0.9 => 8.0.9
    @storybook/addon-links: ^8.0.9 => 8.0.9
    @storybook/addon-storysource: ^8.0.9 => 8.0.9
    @storybook/blocks: ^8.0.9 => 8.0.9
    @storybook/preview-api: ^8.0.9 => 8.0.9
    @storybook/react: ^8.0.9 => 8.0.9
    @storybook/react-vite: ^8.0.9 => 8.0.9
    @storybook/test: ^8.0.9 => 8.0.9
    @storybook/test-runner: ^0.17.0 => 0.17.0
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.0.9 => 8.0.9
    storybook-dark-mode: ^4.0.1 => 4.0.1

Additional context
Example snippet from the index.json file:
{
  "v": 4,
  "entries": {
    "examplecomponent--default": {
      "type": "story",
      "id": "examplecomponent--default",
      "name": "Default",
      "title": "ExampleComponent",
      "importPath": "./src/components/ExampleComponent/ExampleComponent.stories.tsx",
      "tags": ["skip-test", "story"]
    },
    "othercomponent--default": {
      "type": "story",
      "id": "othercomponent--default",
      "name": "Default",
      "title": "OtherComponent",
      "importPath": "./src/components/OtherComponent/OtherComponent.stories.tsx",
      "tags": ["skip-a11y", "story"]
    }
  }
}

Tag handling changed dramatically in 8.1.0, so please give it another try int he latest version and let me know what you find.

Also it's possible some changes are needed in the test runner as well @yannbf  https://github.com/storybookjs/test-runner/issues/453

Tag handling changed dramatically in 8.1.0, so please give it another try in the latest version and let me know what you find.

Thanks. I got to testing the latest storybook this week and can confirm this is now working for me.
Storybook Environment Info:

  System:
    OS: Windows 11 10.0.22621
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
  Binaries:
    Node: 20.13.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD <----- active
  Browsers:
    Edge: Chromium (125.0.2535.79)
  npmPackages:
    @storybook/addon-a11y: ^8.1.5 => 8.1.5
    @storybook/addon-actions: ^8.1.5 => 8.1.5
    @storybook/addon-essentials: ^8.1.5 => 8.1.5
    @storybook/addon-interactions: ^8.1.5 => 8.1.5
    @storybook/addon-links: ^8.1.5 => 8.1.5
    @storybook/addon-storysource: ^8.1.5 => 8.1.5
    @storybook/blocks: ^8.1.5 => 8.1.5
    @storybook/preview-api: ^8.1.5 => 8.1.5
    @storybook/react: ^8.1.5 => 8.1.5
    @storybook/react-vite: ^8.1.5 => 8.1.5
    @storybook/test: ^8.1.5 => 8.1.5
    @storybook/test-runner: ^0.18.2 => 0.18.2
    eslint-plugin-storybook: ^0.8.0 => 0.8.0
    storybook: ^8.1.5 => 8.1.5
    storybook-dark-mode: ^4.0.1 => 4.0.1