Uncaught TypeError: Cannot read property 'pixelPositionForScreenPosition' of null

[Enter steps to reproduce below:]

Just push to Git repo

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: indent-guide-improved package, v1.4.3
Stack Trace
Uncaught TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
At /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:279

TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
  at atom-text-editor.TextEditorElement.pixelPositionForScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:279:28)
  at updateGuide (/Users/adamecv/.atom/packages/indent-guide-improved/lib/indent-guide-improved.coffee:22:36)
  at up (/Users/adamecv/.atom/packages/indent-guide-improved/lib/indent-guide-improved.coffee:58:9)
  at complete (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:7697:25)
  at maxDelayed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:7714:9)

Commands
     -1:46.2.0 tree-view:move (span.name.icon.icon-file-text)
     -1:44.8.0 core:delete (atom-text-editor.editor.mini.is-focused)
     -1:44.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:41.7.0 tree-view:move (span.name.icon.icon-file-text)
     -1:40.3.0 core:delete (atom-text-editor.editor.mini.is-focused)
     -1:40 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:08.0 application:add-project-folder (atom-text-editor.editor.is-focused)
     -0:31.5.0 git-plus:add-all-commit-and-push (atom-text-editor.editor.is-focused)
  8x -0:29 core:backspace (atom-text-editor.editor.is-focused)
     -0:13.5.0 core:copy (atom-text-editor.editor.is-focused)
  2x -0:13.2.0 core:delete (atom-text-editor.editor.is-focused)
     -0:10.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:09.3.0 core:paste (atom-text-editor.editor.is-focused)
     -0:05.8.0 core:delete (atom-text-editor.editor.is-focused)
     -0:05.6.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:05.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "seti-syntax"
    ],
    "projectHome": "/Users/adamecv/workspace",
    "followSymlinks": true,
    "disabledPackages": [
      "symbols-view",
      "jenkins",
      "atom-terminal-panel"
    ]
  }
}

Installed Packages
# User
atom-alignment, v0.12.1
atom-ctags, v4.4.0
autocomplete-php, v0.3.7
autocomplete-ruby, v0.1.0
clipboard-plus, v0.5.1
coffee-navigator, v0.0.16
formatter-coffeescript, v0.1.1
git-log, v0.4.1
git-plus, v5.4.7
imdone-atom, v1.1.53
indent-guide-improved, v1.4.3
language-puppet, v0.15.0
linter, v1.10.0
linter-coffeelint, v1.1.2
linter-js-yaml, v1.2.0
linter-php, v1.0.5
linter-puppet, v1.0.0
linter-pylint, v1.0.3
linter-ruby, v1.2.0
linter-shellcheck, v1.0.2
make-coffee, v0.1.1
minimap, v4.16.0
seti-icons, v0.4.5
seti-syntax, v0.4.1
seti-ui, v0.8.1

# Dev
No dev packages

same here

Happened to me too, but it my case it was triggered by closing an unsaved tab while in zen mode.  It went something like this:

I'm in zen mode
I edit a a markdown document, then hit CMD-W to close it.
atom asks me if I want to save the unsaved changes, and I chose "save"
atom saves and closes the file and shows me the next open tab while staying in zen mode (also incidentally another markdown document where indent guides aren't even needed)
the error is immediately thrown

I got this just by pressing "Close all Tabs".

I think this fixes the problem.

Still occuting

[Enter steps to reproduce below:]

GIT PUSH

Atom Version: 1.2.4
System: Mac OS X 10.11.1
Thrown From: indent-guide-improved package, v1.4.4
Stack Trace
Uncaught TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
At /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:321

TypeError: Cannot read property 'pixelPositionForScreenPosition' of null
    at atom-text-editor.TextEditorElement.pixelPositionForScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:321:28)
    at updateGuide (/Users/adamecv/.atom/packages/indent-guide-improved/lib/indent-guide-improved.coffee:23:36)
    at up (/Users/adamecv/.atom/packages/indent-guide-improved/lib/indent-guide-improved.coffee:59:9)
    at complete (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:7697:25)
    at maxDelayed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/babel-core/node_modules/lodash/index.js:7714:9)

Commands
     -0:25 core:paste (atom-text-editor.editor.is-focused)
     -0:24.5.0 core:save (atom-text-editor.editor.is-focused)
     -0:23.4.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:23 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:22.7.0 core:paste (atom-text-editor.editor.is-focused)
     -0:22.2.0 core:save (atom-text-editor.editor.is-focused)
     -0:18.4.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:18 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:17.1.0 core:copy (atom-text-editor.editor.is-focused)
     -0:12.1.0 git-plus:add-all-commit-and-push (atom-text-editor.editor.is-focused)
     -0:11.1.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -0:10.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:10.1.0 core:paste (atom-text-editor.editor.is-focused)
  2x -0:09.2.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -0:08.6.0 core:paste (atom-text-editor.editor.is-focused)
     -0:03.9.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "seti-syntax"
    ],
    "projectHome": "/Users/adamecv/workspace",
    "followSymlinks": true,
    "disabledPackages": [
      "symbols-view",
      "jenkins",
      "atom-terminal-panel"
    ]
  }
}

Installed Packages
# User
atom-alignment, v0.12.1
atom-ctags, v4.4.1
autocomplete-php, v0.3.7
autocomplete-python, v0.10.4
autocomplete-ruby, v0.1.0
clipboard-plus, v0.5.1
coffee-navigator, v0.0.16
formatter-coffeescript, v0.1.1
git-log, v0.4.1
git-plus, v5.6.6
imdone-atom, v1.2.7
indent-guide-improved, v1.4.4
language-puppet, v0.15.0
linter, v1.11.2
linter-coffeelint, v1.1.2
linter-js-yaml, v1.2.4
linter-puppet, v1.0.0
linter-pylint, v1.0.5
linter-ruby, v1.2.0
linter-shellcheck, v1.0.2
make-coffee, v0.1.1
minimap, v4.16.2
seti-icons, v0.4.5
seti-syntax, v0.4.1
seti-ui, v0.8.1

# Dev
No dev packages


Charts are off by a day?

Per Doug:

hey so I'm looking at the main ABTS graph and it's like as if all of the episodes are off by a day. you will see it
we air Mondays and Fridays
and if you look at the graph they all align with Sundays and Thursdays

I think I have to move the timezone offset from the _parse_date method on the formatter into the query as the time dimension offset argument:
https://github.com/influxdata/influxdb/commit/dbec38467405a9730abeaa4b911ebee03cd4397a

Looks like 828c44c7e5c7323676458b9f8956ed90b902858b fixed this.


Create Data Model and Lock Object in SAP BTP, ABAP Environment

Tutorials: https://developers.sap.com/tutorials/abap-environment-lock-object.html
While doing this tutorial, I'm facing an issue in "Step 6: Create data definition" while activating the CDS view: Z_I_ROOM_888.
In the below line of code, there is a syntax error:
Code:
define root view Z_I_ROOM_888 as select from zroom_888 as room
association [0..1] to I_BusinessUser as _SAPSysAdminDataChangeUser on _SAPSysAdminDataChangeUser.UserID = room.lastchangedbyuser
Syntax Error:
Multiple markers at this line:
- Use of element UserID of CDS Entity I_BUSINESSUSER is not permitted.
- Use of CDS Entity I_BusinessUser is not permitted.
I'm using the latest IDE and ADT. Version details below.
Eclipse IDE: 2021-09 (4.21.0)
ADT: 3.22.0
Kindly let me know if any fix required to the code.
Regards,
Chathia.

Hi @Chathia ,
in which system did you try this out? This is a tutorial for a licensed system.
Best regards,
Merve

Hi Merve,
I tried this in the ABAP on cloud trial account. This tutorial is assigned as part of Devtoberfest.
Regards,
Chathia.

Hi @Chathia ,
unfortunately this tutorial can only be done in a licensed system. The trial system is limited.
Best regards,
Merve

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


kubelogin: 0.0.11 -> 0.0.18

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Azure/kubelogin/releases.
meta.description for kubelogin is: "A Kubernetes credential plugin implementing Azure authentication"
meta.homepage for kubelogin is: "https://github.com/Azure/kubelogin"
meta.changelog for kubelogin is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.18 with grep in /nix/store/x28n87kqvngliybkq4zwnf4cmgpjm2fa-kubelogin-0.0.18
found 0.0.18 in filename of file in /nix/store/x28n87kqvngliybkq4zwnf4cmgpjm2fa-kubelogin-0.0.18

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubelogin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x28n87kqvngliybkq4zwnf4cmgpjm2fa-kubelogin-0.0.18 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kubelogin https://github.com/r-ryantm/nixpkgs/archive/eef3f7e5ebc851d1649d16a4cb443d96575f8f37.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x28n87kqvngliybkq4zwnf4cmgpjm2fa-kubelogin-0.0.18
ls -la /nix/store/x28n87kqvngliybkq4zwnf4cmgpjm2fa-kubelogin-0.0.18/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kubelogin

Maintainer pings
cc @yurrriq for testing.

Thanks, I'll plan to test tomorrow.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Azure/kubelogin/releases.
meta.description for kubelogin is: "A Kubernetes credential plugin implementing Azure authentication"
meta.homepage for kubelogin is: "https://github.com/Azure/kubelogin"
meta.changelog for kubelogin is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.20 with grep in /nix/store/m0qmc8gw1z3pss9dw2pb0qrap9v7gzjg-kubelogin-0.0.20
found 0.0.20 in filename of file in /nix/store/m0qmc8gw1z3pss9dw2pb0qrap9v7gzjg-kubelogin-0.0.20

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubelogin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m0qmc8gw1z3pss9dw2pb0qrap9v7gzjg-kubelogin-0.0.20 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kubelogin https://github.com/r-ryantm/nixpkgs/archive/181ab9671ad666514afdff216ac13ad60e8c6dd2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m0qmc8gw1z3pss9dw2pb0qrap9v7gzjg-kubelogin-0.0.20
ls -la /nix/store/m0qmc8gw1z3pss9dw2pb0qrap9v7gzjg-kubelogin-0.0.20/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kubelogin

Maintainer pings
cc @yurrriq for testing.

Result of nixpkgs-review pr 183440 run on x86_64-linux 1

1 package built:

kubelogin


Fixes personalization returning a 400 for new apps

Returning an empty array for new apps that don't have content instead of throwing a 400/500 error.


Scoped labels: don't require holding alt key to remove (#23303)

Backport #23303
Alt doesn't work on all browsers, the simplest solution for v1.19 is to just not require it and toggle the label by just clicking.
Part of #22974

🎺 🤖


Added contribution.

Added a link to a processing program I wrote based on this CodingChallenge.

Thank you for this. Great Work ❤


Use Hamcrest assertions instead of JUnit in  integrations/cdi/jpa-cdi (#1749)

Part of #1749
Backport 2.x

/trigger


Bump itertools and fix use of deprecated function

This PR bumps itertools from 0.12.1 to 0.13.0 and adds it to the skip list in deny.toml. And in pr it uses chunk_by() from itertools instead of the deprecated group_by().

i missed the full green run :)


[Bug]: Passwords longer than 48 characters are "not strong enough"

Is there an existing issue for this?

[X] I have searched the existing issues

Description
I've setup the self hosted version using Docker.
In the initial user registration I've generated a random password using a password manager and it resulted in the error message "Please enter a strong password" shown below the password prompt although it was a very long and secure password.
I've tried some things and discovered that this happens if the password is 48 characters or longer. I don't think this limitation should exist or at least the error message should be different.
Steps To Reproduce

Setup a new self hosted instance
Open the initial user registration
Input a password that's 48 characters or longer
See error

Public Sample App
No response
Version
Self Hosted - v1.6.20

dont think its bug. shows correct error message for me.

@ganganimaulik the error is right but I think the point is that we should support longer passwords due to password auto generators

Supporting longer passwords would definitely also be nice! But I've never seen that error message so maybe it happens because of copy-paste or my password manager (keepass xc)

I created a screen capture of how it looks for me:
https://user-images.githubusercontent.com/18028031/165107162-549637a4-cd39-4a81-9e99-e0ff63d84ec3.mp4
I'm not sure how you get the "password between 6 and 42 characters" message. My register prompt also generally looks different. I'm using the self hosted version. I think yours is from the hosted version?
Also the limit was at specifically 48 characters (47 was valid), not 42.

Thanks for reporting this and sharing more context @profiluefter. We'll look at increasing the limit and fix the messaging.

Stats

Stat
Values

Reach
84

Effort (months)
0.25

Would this fix also apply to this? https://github.com/appsmithorg/appsmith/issues/9159 @ankitsrivas14


The model_urls go wrong

Hi,for resnet50_caffe,when I use origin url ,the terminal shows that Connection timed out.
So, I replace https://s3.ap-northeast-2.amazonaws.com/open-mmlab in the urls with https://open-mmlab.oss-cn-beijing.aliyuncs.com,the new url should be https://open-mmlab.oss-cn-beijing.aliyuncs.com/pretrain/third_party/resnet50_caffe-788b5fa3.pth,but it shows that This XML file does not appear to have any style information associated with it. The document tree is shown below.
Can you help me? Thanks

The aliyun mirror is not complete since it is too slow to upload to aliyun and often fails. Currently AWS hosts all models.


Want to add new section community first

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The design will be look like this

Additional context
Add any other context or screenshots about the feature request here.

That's great @souvikpramanikgit, can you tell me more about it like where are you planing to add this or do you want to add the new section for this in the navbar?

in the upper portion of the footer, like
------------------community---------------
------------------------footer-------------------

in the main page

Hi @souvikpramanikgit it's yours


Code Dependencies

I was wondering if it's possible to use the animation warping nodes separate from the ex Character? From looking at the comments, it seems that you'd only want to use those animations hand in hand with your character bp...

Im only really using the warp + footplacement nodes. Its the editor+game stuff that causes problems, not the exCharacter itself

I've taken a look at the nodes, and yeah you can use the indirectly from the rest of the plugin. Those nodes actually seem to be borrowed from a different UE4 plugin: https://www.unrealengine.com/marketplace/en-US/animgraphnode


Unblinded site editors should receive notifications about AE activity/updates from their site

Currently only project-level folks get the notifications, but it will be nice for sites to be notified when a DCC Project Manager comes in and adds a comment / asks a question.

Changing this to project members (editors and viewers), and the subject's site members (editors and viewers) to receive notifications. Also initial email is sent to the group, minus the initial person reporting the AE.


Be able to invoke as library

Right now the implementation is highly coupled to calling via the command line interface.
This is a bit awkward if you want to invoke it from another library / gem (which I do).
I think it's simply a matter of adding a new class method to MdSpell that's an alternat entry point to 'run', ie:

Accept the configuration options as kwargs
Make spellchecker work on arbitrary strings instead of files (seems to be a leaky abstraction, it should only be concerned with checking strings)
Refactor check_file to load file contents into a string
Create check_string analog to check_file
Be able to invoke check_file or check_string as public methods

I can create this PR if you agree with the approach @mtuchowski

FWIW i think this would also make the tests less awkward

@dalehamel I like the idea. The PR would be appreciated.
I neglected this gem lately due to limited time. It needed that functionality a long time ago...


Document module initialize method

Document Module.Initialize method for all libraries with xml comments in code.
Mention that the call is necessary to make bindings work. In case of Gio/GTK/Adw mention that the call is not needed for the module and it's depending modules if an Application class is used.
State which dependencies this are and link to those module Initialize methods so the user can follow the call chain in documentation.

Fixed with #887.


Improve progress reporting for upload, download, import progress in explorer

connect to a remote (ssh/codespaces)
upload a large file (mine was 1gb)
:bug: progress never shows any specific info and feel like it's stuck
:bug: also noticed that the status bar just says "copy" and then when clicking on it the notification shows two items and closing the notification center shows the title of the file

In my specific case, I was hoping to see XX of XX mb/gb uploaded or even a % to know that it's still working on uploading, like:

We have a few places where we show progress for uploading, downloading and importing:
https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/src/vs/workbench/contrib/files/browser/fileImportExport.ts#L89
https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/src/vs/workbench/contrib/files/browser/fileImportExport.ts#L409
https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/src/vs/workbench/contrib/files/browser/fileImportExport.ts#L590
We may not get all the information we need such as knowing the overall size, but if we do we should make sure that the label for the progress is as accurate as possible.
This sounds like a fun area for a contribution where someone can geek out on providing the best progress info possible. As such, opening for help wanted.

I love using vs code and I would love to contribute, I was searching for good first issues.
Can I pick this issue? @bpasero

Sure, anyone can pick it with a meaningful reasonably small PR 👍

I will start the work on this then.

I asked myself this question, as a vs code user while transferring the files what information I would like to see.

From where the files are coming from and where are the files going ( source and destination )?
How many files are there to transfer?
How much time it would take to transfer those files? ( Time remaining )
How much of the file transfer is done at the current state? ( Current Progress. eg: 70% done.. )
What is the rate at which the files are being transferred?

This list is not exhaustive, there might be some things that are missing, but it's something we could start with for now.
I would love some feedback on this @bpasero
PS: I have started reading, understanding the codebase and how files are structured.

If we can copy/mimic what typically browsers show when you download or upload a file I think that would be nice, but it is not clear to me we get at the level of information easily. For example, when the browser takes care of the upload, we may not get hold of the transfer speed easily.

Related #111580

This information is being displayed in the browser

Yeah I think Chrome browser is a pretty good example of a meaningful progress indicator.

Yeah I think Chrome browser is a pretty good example of a meaningful progress indicator.

So, how should I go with this?

@bpasero What's the decision on this, I'm free this weekend, and I would love to start coding this improvement.

I am not sure I follow, what decision you ask for? This issue is opened for contribution in a PR and I am happy to review a PR, but I cannot assist in creating the PR / the initial prototype. Sorry if I did not make that clear, but I tried to signal that I cannot devote time into this issue other than reviewing a working solution.

Oh great then, ill raise the pr and tag you.
Thanks.

Im not able to make any progress, I'm just not able to start writing code..

/duplicate https://github.com/microsoft/vscode/issues/111580


Fix README signal sink calls

Signed-off-by: João Lourenço<EMAIL_ADDRESS>

Codecov Report

Merging #71 (f25cd3f) into master (64b550a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #71   +/-   ##
=======================================
  Coverage   97.22%   97.22%
=======================================
  Files           9        9
  Lines         577      577
=======================================
  Hits          561      561
  Misses         16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64b550a...f25cd3f. Read the comment docs.


fix: counter function

Background:
https://github.com/oopt-goldstone/goldstone-mgmt/issues/81

https://github.com/oopt-goldstone/goldstone-mgmt/actions/runs/6768458066/job/18393313323?pr=82
The lint test failed. Please format the code with black.
ref) https://github.com/oopt-goldstone/goldstone-mgmt/blob/master/Makefile#L94

@r-suke Thanks!


New query order

Hi @rupurt!
First of all, thanks for your work on this library.
I wanted to add a way to be able to query an order (through its order_id or client_order_id) and while working on this, i realised that there seems to be a mismatch between the latest refactor of the new create_order/2 and the VCR that were used. I was always getting a 1104 UNREAD_PARAMETERS error from binance when i deleted the VCR cassettes and it seems to be related because of some params that were sent being nil and that the change of attribute name (recv_window vs recvWindow) would actually send the wrongly-formatted name.
So my solution was to basically drop all nil attribute and use the proper param when non-nil (on http_client)
There was also some strange code errors being mapped to the actual wrong context (2010 was set to insufficient funds while it's actually a NEW_ORDER_REJECTED error).
I also made some VCR tests slightly more resilient to use-cases (ie. depending on having a FILLED or NEW order) and i used the opportunity to basically test everything on Binance testnet.
Anyway, i wasn't expecting to have so many changes when starting on this. I did a similar thing on 0.0.5 (accessible here: https://github.com/qbereau/ex_binance/tree/query_order) that I unfortunately didn't PR at the time (that was before the create_order refacto and i didn't stumble upon all these issues).
Feel free to ask if you feel something's wrong here or you have some comments/questions.

Thanks for this @qbereau LGTM

@qbereau can you rebase this with main? I made some changes to the config which should help with these CI failures

@qbereau sorry. 1 more rebase...

Done, let me know how it goes this time
Thanks!

@qbereau ok. 1 last time, I promise lol...
External contributors can't access the secrets in PR's so I just hard coded them in the GHA. They're just mock secrets in CI so not a security issue.
I also had to bump the min requirement for Elixir to v1.11. <= 1.10 doesn't support runtime env vars for application config.

No worries! Just rebased

Looks like you've got 1 genuine test failure. I'm also getting it locally

My bad, didn't realise that one was failing.
Should be better now.


Added Spanish translation for example check image and Company types

@iwiznia  PR is ready for review.
Details
Spanish translation was missing for Company types, and Routing and Bank Account Number example image in VBA flow. So added translation for both.
Fixed Issues
$ https://github.com/Expensify/App/issues/5992
Tests | QA Steps

Set app to spanish
Navigate to bank account flow > Manually set bank account
Check the image example above the routing and bank account number
Enter test credentials and proceed to company step
Click on the company type dropdown

QA Check 1:  Now example check image shows in Spanish Or English as per language preference.
QA Check 2:  Company Types dropdown will be translated as per language preference.
Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots
Web
https://user-images.githubusercontent.com/7823358/140092975-6e9d8045-940b-4aba-8e99-664ed494c3c6.mp4
Mobile Web
https://user-images.githubusercontent.com/7823358/140093036-f8aa2e90-ab21-41b9-b4e7-b8e8b8c1f03d.mp4
Desktop
https://user-images.githubusercontent.com/7823358/140093103-3bc97e98-59c3-4514-b726-d5b93f10bdb7.mp4
iOS
https://user-images.githubusercontent.com/7823358/140093177-584894ce-94c5-48b4-b02a-8743c43899c4.mp4
Android
https://user-images.githubusercontent.com/7823358/140093255-33d290b4-4613-4545-a112-7183c55d4d88.mp4

@iwiznia   It looks like something wrong with E2E automation, as E2E test is failing after 9 minutes. Here is screenshot:

That's odd, can you try:

Merging main into this branch
Restarting the test
?

It is not showing me any option to restart the test etc. I think someone from review team may have that permission.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @timszot in version: 1.1.13-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @Jag96 in version: 1.1.14-4 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

The accessibility issues found in this PR:
Web

I assume that not all parts of the app are being translated to Spanish once changing the language in Preferences, the ones that are translated should have lang="es" applied - failure of WCAG SC 3.1.2. Once the entire page is being translated to Spanish - the <html lang="en"> should have "es" value instead (it will be treated under WCAG SC 3.1.1).


Add a meta report of report access to assess which reports are used

Historically we have had a massive problem with a long tail or reports to support which we suspect are not used very much.
We should add meta-reports over our reports to show which reports are actually used or not. This would give us some feedback about:

Uptake and success of the project
Which reports are important
If any are not used over time and can be retired
It would be excellent to be able to group by dev / sales etc.

Options
We think we can achieve this with the data stored in Metabase by ourselves, but this is something paid for Metabase offers in app. Although it's not clear we will do this or it will do what we want.

Some notable tables:

activity - Things like creating and updating questions (or cards as they are called)
view_log - Shows views of items
report_card - Questions as far as I can tell? Are models here too?
report_dashboardcard - Links cards to dashboards
core_user - Users
permissions_group_membership - Cross reference between users and groups
permissions_group - The groups themselves

The view log is quite good, but it doesn't count indirect views of reports which are based on other reports. A start to a query like that is:
WITH
    raw_sources AS (
        SELECT
            report_card.id,
            dataset_query::json#>>'{query, source-table}' AS source
        FROM report_card
    ),

    report_sources AS (
        SELECT
            id,
            CASE
                WHEN SUBSTRING(source, 0, 7) = 'card__' THEN SUBSTRING(source, 7)::int
            END AS parent_report_id
        FROM raw_sources
    )

SELECT * FROM report_sources;

We've tried this, but nobody is using the system, so it's hard to say if this is right or wrong. I think we need to come back to this later when we have more data.


Upgrade account

when I try to upgrade the account return me an error:
Error adding a payment method: Foreign key violation. insert or update on table "workspaces" violates foreign key constraint "workspaces_billing_address_country_code_fkey"
I try to do it from SPAIN

@pedromontanes Can you send me an email<EMAIL_ADDRESS>and we'll sort it out.

Hi @elitan I am also getting this exact error.

I'm working on it right now.
For now, you should be able to open the Stripe Customer portal and manage your payment methods there.
You find the customer portal by clicking on your workspace and then the Stripe Customer Portal button under Invoices. Then you can manage your payment methods there.
I'm right now working on making this the default behavior across Nhost, so we don't have to manage the payment methods UI ourselves.

Please let me know here if this approach worked for you 🙏 or if there are any other bumps you encountered.
I'm planning to have all of this tested and ready during the day today.

i can upgrade then plan !!!!
Pedro Montañés Albertí
@.***
+34 606 326 612
motivales.com
El mié, 8 feb 2023 a las 9:26, Johan Eliasson @.***>)
escribió:

I'm working on it right now.
For now, you should be able to open the Stripe Customer portal and manage
your payment methods there.
You find the customer portal by clicking on your workspace and then the
Stripe Customer Portal button under Invoices. Then you can manage your
payment methods there.
I'm right now working on making this the default behavior across Nhost, so
we don't have to manage the payment methods UI ourselves.
[image: CleanShot 2023-02-08 at 09 23 @.***
https://user-images.githubusercontent.com/331818/217474387-e0669f3c-d433-443f-9fb6-c7610c2bede6.png
[image: CleanShot 2023-02-08 at 09 24 @.***
https://user-images.githubusercontent.com/331818/217474463-ed9ca011-6769-4def-841b-438f5e5b8464.png
[image: CleanShot 2023-02-08 at 09 24 @.***
https://user-images.githubusercontent.com/331818/217474605-79c60224-c73d-4ee8-bada-45365a56fa94.png
—
Reply to this email directly, view it on GitHub
https://github.com/nhost/nhost/issues/1592#issuecomment-1422213161, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI5GGADTB2RCTPJOYJPTK6LWWNKB7ANCNFSM6AAAAAAUTULQQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I can not upgrade the plan !!!
Pedro Montañés Albertí
@.***
+34 606 326 612
motivales.com
El mié, 8 feb 2023 a las 9:26, Johan Eliasson @.***>)
escribió:

I'm working on it right now.
For now, you should be able to open the Stripe Customer portal and manage
your payment methods there.
You find the customer portal by clicking on your workspace and then the
Stripe Customer Portal button under Invoices. Then you can manage your
payment methods there.
I'm right now working on making this the default behavior across Nhost, so
we don't have to manage the payment methods UI ourselves.
[image: CleanShot 2023-02-08 at 09 23 @.***
https://user-images.githubusercontent.com/331818/217474387-e0669f3c-d433-443f-9fb6-c7610c2bede6.png
[image: CleanShot 2023-02-08 at 09 24 @.***
https://user-images.githubusercontent.com/331818/217474463-ed9ca011-6769-4def-841b-438f5e5b8464.png
[image: CleanShot 2023-02-08 at 09 24 @.***
https://user-images.githubusercontent.com/331818/217474605-79c60224-c73d-4ee8-bada-45365a56fa94.png
—
Reply to this email directly, view it on GitHub
https://github.com/nhost/nhost/issues/1592#issuecomment-1422213161, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI5GGADTB2RCTPJOYJPTK6LWWNKB7ANCNFSM6AAAAAAUTULQQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

We're rolling out a fix now. Please test in the next 10-20 minutes and things should work.


Wishlist doesn't work in Firefox

Can't type items in the new wishlist in Firefox (tested on Ubuntu). Does work in Chromium. Not tested in IE and others.

should be fixed


Issues validating during deployment - Are these instructions outdated?

Something appears to be wrong with either the steps outlined here, or the ARM template that gets packaged with the samples.
Or
Something is wrong with the underlying validation check within Azure.
I can manually deploy these services just fine, but using the steps and template included with the bot sample I get the following error when attempting to deploy to an EXISTING app service plan
{'additionalProperties': {}, 'code': 'InvalidTemplateDeployment', 'message': "The template deployment 'Nymbus' is not valid according to the validation procedure. The tracking id is 'cd282e74-c315-4734-aee0-30126022bd5b'. See inner errors for details.", 'target': None, 'details': [{'additionalProperties': {}, 'code': 'ValidationForResourceFailed', 'message': "Validation failed for a resource. Check 'Error.Details[0]' for more information.", 'target': None, 'details': [{'additionalProperties': {}, 'code': 'ServerFarmNotFound', 'message': 'The specified app service plan was not found.', 'target': None, 'details': None, 'additionalInfo': None}], 'additionalInfo': None}], 'additionalInfo': None}
Nymbus definitely exists as a service plan. I also tried to feed ID as opposed to name to try and satisfy the parameter but got this error:
{'additionalProperties': {}, 'code': 'InvalidTemplate', 'message': "Deployment template validation failed: 'The template resource '/subscriptions/<GUID-purposfully-obfuscated>/resourceGroups/thinkbusy/providers/Microsoft.Web/serverfarms/nymbus' for type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Common.Entities.TemplateGenericProperty1[System.String]' at line '83' and column '47' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.'.", 'target': None, 'details': None, 'additionalInfo': [{'additionalProperties': {}, 'type': 'TemplateViolation', 'info': {'lineNumber': 83, 'linePosition': 47, 'path': 'properties.template.resources[0].type'}}]}`
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 096d934c-2856-e868-efeb-6622e2a5eafb
Version Independent ID: 8bf74926-6a35-5753-0a1a-6663ba5965b2
Content: Deploy your bot - Bot Service - Bot Service
Content Source: articles/bot-builder-deploy-az-cli.md
Service: bot-service
GitHub Login: @ivorb
Microsoft Alias: kamrani

Hi @jebalert Thanks for reporting the issue. Let me make sure I understand your question:
Did you try to deploy a sample bot via ARM template to an existing resource group and service plan (Nymbus) and get the error you listed above?
FYI. When you run the following command, make sure you provide the path to the template-with-preexisting-rg.json file, e.g. the path may look like this:
C:\Users\02.echo-bot\DeploymentTemplates\template-with-preexisting-rg.json
This is the command:
az group deployment create --resource-group "<name-of-resource-group>" --template-file "<path-to-template-with-preexisting-rg.json>" --parameters appId="<app-id-from-previous-step>" appSecret="<password-from-previous-step>" botId="<id or bot-app-service-name>" newWebAppName="<bot-app-service-name>" existingAppServicePlan="<name-of-app-service-plan>" appServicePlanLocation="<region-location-name>" --name "<bot-app-service-name>"

Hi @zxyanliu I was able to deploy to a new app service plan, but not an existing one. So my path was correct when I executed. Have you recently tried to deploy to an existing app service plan with the provided templates in a sample bot? Also.. experiencing some major bugs now that I've got my bot deployed. Will open an issue on that in the sdk.

Hey @jebalert, I just tried, and got an error: Azure Error: InvalidTemplateDeployment, how did you solve it? Please let me know so that I can update the doc. Thanks a lot!

@jebalert The bug was just fixed and nothing needs to be updated in the doc at this moment. Thanks again for your report.


Add GRPC function to get points in box

I can't think of a better solution right now....

@wally-the-cartographer merge

@wally-the-cartographer merge

Merge requested by authorized user thomasschiwietz. Merge queue now has a length of 1.


Working build process.

We're unable to get the software to build using Ubuntu 18.04
The manual build instructions do not work, and produces various errors that are all seemingly impassable.
Since docker support is getting dropped, a working build process should be publicized.

If you don't need a custom build, the .deb packages are strongly recommended.
Can you be more specific about the build errors you encountered?

I am curious what issues you are experiencing. Our CI/CD pipelines run various builds to ensure that the build scripts function with 18.04. If it does not work, it could be that local changes are conflicting with the scripts (like ENV variables, etc).

No response to support ticket in two months, closing


Ensure zig build test includes all tests

It has come to our attention that not all unit tests are being executed when the zig build test command is invoked. This command is the standard way to run tests in a zig project, and it's expected to compile and execute all test cases defined across the project. However, some tests appear to be omitted during this process.
Expected Behavior
The zig build test command should automatically find and run all unit tests in the project, regardless of their location within the codebase. This ensures a consistent and reliable testing process, which is crucial for maintaining code quality and stability.
Suggested Solution
I propose an adjustment to the build.zig file to ensure that all unit tests are included when running zig build test. This may involve reviewing the build configurations to guarantee that each test target is appropriately identified and included in the test run.

I've seen this pattern used a bunch, though I'm sure Zig will eventually have a better solution for it:
// src/tests.zig
comptime {
    _ = @import("foo.zig");
    _ = @import("bar.zig");
    _ = @import("baz.zig");
}

Another option is to handle tests like we handle the examples, i.e. via the build-script. For example if you have 3 zig files with tests, you would define their names
const test_files = [_][]const u8{ "test_a", "test_b", "test_c" };

Then call to run each of them in the build.zig like
const test_step = b.step("tests", "Run library tests");
for (test_files) |test_name| {
    const _test = b.addTest(.{
        .name = test_name,
        .root_source_file = .{ .path = b.fmt("src/{s}.zig", .{test_name}) },
        .target = target,
        .optimize = optimize,
    });
    const run_test = b.addRunArtifact(_test);
    test_step.dependOn(&run_test.step);
}

That seems quiet clear to me, just look at the build.zig an you know what's happening; no nested calls within source code files to other files etc.

Close this issue since, now all tests should be included.
Opened a new issue regarding the caching issue for the benchmark test https://github.com/hendriknielaender/zBench/issues/26


Fix the link on integration test node in lifecycle visualization

Fixes

https://issues.redhat.com/browse/STONEBUGS-76

Description

Fix the link to integration test details page in integration tests node.

Type of change

[x] Bugfix

Screen shots / Gifs for design review

https://user-images.githubusercontent.com/6041994/228892243-b7bb4478-aa7e-436b-8f98-e20bc5ec3135.mov
Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/uncc

/retest

/lgtm

/retest

/retest

/retest


react-native link react-native-lock problem

Hi.

node v7.0.0
react 15.4.1
react-native 0.39.2
react-native-lock 0.4.0

i just create new project with "react-native init" command,
than i install react-native-lock
than i run "react-native link react-native-lock" command.
Adding Podfile to iOS project
Installing Pods
node_modules/react-native-lock/bin/cocoapods.sh: line 45: pod: command not found
/Users/xxxx/xxxx/xxxx/node_modules/react-native/local-cli/core/makeCommand.js:29
        throw new Error(`Error occured during executing "${ command }" command`);
        ^
Error: Error occured during executing "node_modules/react-native-lock/bin/cocoapods.sh" command
    at ChildProcess.prelink (/Users/xxxx/xxxx/xxxx/node_modules/react-native/local-cli/core/makeCommand.js:29:15)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

thank you.

Did you fix it? Can you tell me how to fix it. Thank you.

Hi @tiempham yes, i just install cocoapods. Than i run command again.

Thank @hasanmumin!


Cannot connect Botium to an SOE which acts as Watson Assistant proxy

Describe the bug
The WA botium connector is not working with a classic SOE
A customer uses an SOE that proxies their Watson Assistant v1 instance and it expects to be called with Basic authentication.
(Authorization: Basic base_64_encoded_apikey_colon_actualapikey)
The SOE application wants to manage the IAM token relationship on its own, not have Botium manage it.
This seems like it should be possible in Botium if a different authenticator is used.  The SOE itself is difficult to update.
I've been unable to test but will submit what code I expect could work.
To Reproduce
Configure WA botium connect without using the apikey.   .env file should have BOTIUM_WATSON_USER and BOTIUM_WATSON_PASSWORD.
Expected behavior
Botium should connect to the SOE which proxies Watson Assistant, configured only with BOTIUM_WATSON_USER=apikey and BOTIUM_WATSON_PASSWORD=the_actual_api_key
Screenshots and Log files

Botium Flavour:

Botium Core

Botium Version

Latest

Additional context
Possible solution (untested): https://github.com/codeforequity-at/botium-connector-watson/pull/28

Right, this is a thing that wasn't considered in the Botium connector yet.


Improve "different terms" warning trigger

We have a warning that shows up when you add classes from different schedules

This warning erroneously appears if:

you have a different term on another schedule (e.g. "Schedule 1" is 2022 Spring and "Schedule 2" is 2022 Winter)
you clear an old schedule (e.g. press the delete button to clear "Schedule 1" which was 2022 Spring and then try to add a 2022 Winter class)
you import a schedule for one term into another term (#302), it sends multiple warning banners instead of one

you clear an old schedule (e.g. press the delete button to clear "Schedule 1" which was 2022 Spring and then try to add a 2022 Winter class)

I can't seem to reproduce this behavior with the build deployed to prod—is there a specific case that triggers it?
Also while we're on the note of sending (possibly too many) banners, do we still want to alert the user every time they add a course to a schedule with multiple terms when they've already added a course from one of those terms?

do we still want to alert the user every time they add a course to a schedule with multiple terms when they've already added a course from one of those terms?

Yes, schedules should not have multiple terms.


Dark and Midnight-Red themes do not play well with Mermaid markdown in node description

Describe the problem
Using the dark or midnight-red themes with a mermaid diagram in the node description, the diagram shown in the Information panel for the node is not ideal.
For the exported node below it appears, in midnight-red as

In the dark theme it is similarly shown.
For reference, in Obsidian it appears as

Steps To Reproduce

Ensure node-red version 3.1.0-beta.4 or above is installed
Import the flow (node) below
With dark or midnight-red theme enabled select the imported node and view the Information tab in right hand pane

[{"id":"55d54d1c275c150f","type":"function","z":"bdd7be38.d3b55","name":"Test mermaid markdown","func":"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":810,"y":60,"wires":[[]],"info":"```mermaid\nstateDiagram-v2\nState_1 --> State_2: Transition 1\nState_2 --> State_3: Another transition\nState_3 --> State_1: Back to \\nthe start\n```"}]

Expected Behavior
The diagram should be displayed more clearly
Theme Collection version
3.0.6
Node-RED version
3.1.0-beta.4
Platform/O.S.
Ubuntu 22.04
Browser(s)
Edge (Firefox is similar)

The upstream issue was closed. The fix will be included in the next release.


Connection status?

Hello thanks for the plugin.
Is there a way to check the connection status?
for examples, when the ble server disconnects or when bluetooth on the server is turned off, I should be able to know the current status and take action accordingly.
Thanks for reply.

Did you mean the onDisconnect callback when connecting?
Works perfectly well for me (iOS and Android).
Code fragment:
await BleClient.connect(
	device.deviceId,
	// onDisconnect:
	deviceId => {
		this.onBleDisconnected(deviceId);
	}
);

Documented here: connect

Thank you sir, it did solve.


Derived variables

Question @selinalcheng
For computing arbitrary derived variables (see Steph's list here) I have been thinking and don't see a way to do this via csv tables and general code, in a way akin to the plot table merge or unit conversion.
Instead, we simply need a dedicated piece of code to compute each derived variable z = ƒ(x, y, ...) where z is something like sap flux or water level.
Does this match your experience and how you guys approach this? Thanks.

In case that's not clear: seems like we need dedicated functions compute_sap_flux() or compute_water_level_200nv().

Hm...yeah, good question. We honestly do not have generalized functions for creating derived variables. Our system in that regard is pretty basic. We either use dedicated functions, as you mention like compute_sap_flux(), or we just directly create a new column akin to doing something like df$derived_var <- df$col1 / df$col2

👍  thank you!

Done in d7c521223d8c69b7d76bf2b31fb8bd364096a178


[FEATURE] Model checkpoint save/load

It would be nice to enable saving and loading models checkpoints, this could help to control training the model in different sessions in case is a large model, as well as keeping a copy of the model in case of some error during the training time
I open this issue for contributors
This Issue requests the following features:
Describe the solution you'd expect

Enable saving model checkpoints as a callback named ModelCheckpoint that takes as an argument the location to save the model
The checkpoints should save the training status and the logbook object, you can make use of the already implemented class LogbookSaver
Implement save and load methods in GASearchCV  and GAFeatureSelectionCV
When calling the fit method, it should resume the training where it was left by default
Enable an option to start the training again (from generation 0) but with starting point (i.e hyperparameters or features) the best ones found so far in the saved model

Additional context
You can check TensorFlow save and load weights methods as an inspiration

I would like to work on this, is that alright?

Hi @cpparnell sure, you can work on it, thanks

@rodrigo-arenas I have some questions about the last two bullet points:

When calling the fit method, it should resume the training where it was left by default
Enable an option to start the training again (from generation 0) but with starting point (i.e hyperparameters or features) the best ones found so far in the saved model

Should there be an option provided to the fit method to start training again? Or should the functionality described above be implemented within the ModelCheckpoint callback? Any other clarification would be great as well as I am a bit confused on these points.

Hi, there is already a version working with some of the specifications made by @The-Blitz at #158, however, we still need to work in the feature:

When calling the fit method, it should resume the training where it was left by default
Enable an option to start the training again (from generation 0) but with a starting point (i.e hyperparameters or features) the best ones found so far in the saved model

The second one should be possible by using the recently added parameter warm_start_configs

@rodrigo-arenas I just noticed the PR was pushed haha. I thought there were pending errors on some tests which I could not see locally. Anyway I will try to check the missing points when possible, if you don't mind.


WSE connector (WsebConnector) does not do close handshake

When the wse transport is used to establish a new emulated WebSocket connection, and that connection is closed, the close handshake, as defined in the WSE Specification, is not done. Test case is wse spec test closing/client.send.close/response.

Fix is pending in my branch wse_spec_tests

Fixed in PR https://github.com/kaazing/gateway/pull/418


E tensorflow/core/framework/op_kernel.cc:925] unknown op: Round

Hi, sorry I am a bit new to Tensorflow and could not find this error anywhere else.
My system is:
Ubuntu 14.04.5 LTS
CUDA 8.0.44 cuDNN 5.1 on Titan X Pascal
-rw-r--r-- 1 root root   558720 Oct 15 18:04 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root       16 Oct 15 18:04 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0
lrwxrwxrwx 1 root root       19 Oct 15 18:04 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.44
-rwxr-xr-x 1 root root   415432 Oct 15 18:04 /usr/local/cuda/lib64/libcudart.so.8.0.44
-rw-r--r-- 1 root root   775162 Oct 15 18:04 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root       13 Oct 15 23:51 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 root root       17 Oct 15 23:51 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 Oct 15 18:24 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 Oct 15 18:24 /usr/local/cuda/lib64/libcudnn_static.a

Tensorflow 0.11(f794cd393b1e7821fcc3cdcee9b6a4400f2540bf)
Bazel  0.3.2
My problem is:
import tensorflow as tf
I tensorflow/stream_executor/dso_loader.cc:116] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:116] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:116] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:116] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:116] successfully opened CUDA library libcurand.so.8.0 locally
sess = tf.Session()
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 3], name='a')
b = tf.matmul(a, a)
print sess.run(b)
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_INT64 } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_INT32 } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_DOUBLE } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_FLOAT } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "GPU" constraint { name: "T" allowed_values { list { type: DT_HALF } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_INT64 } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_INT32 } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_DOUBLE } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_FLOAT } } }') for unknown op: Round
E tensorflow/core/framework/op_kernel.cc:925] OpKernel ('op: "Round" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_HALF } } }') for unknown op: Round
[[ 27.  30.  33.]
 [ 60.  69.  78.]
 [ 66.  78.  90.]]

This error only comes up once, could you please guide me on what is going on here?
Thank you!

I also meet this problem. And my system is Ubuntu 16.04. Have you fixed this problem?

I have the same issue on Arch Linux.

Same here. The tensorflow example seems to work, but it doesn't seem to use the card. I am using an AWS p2.xlarge machine (K80). The same installation on a p2.8xlarge machine (8 x K80) works perfectly.

+1 on OS X

This is a benign, albeit annoying error.
I'm guessing this is happening to you when you build tensorflow from sources and not the release versions?
Anyway, this should be fixed by commit 221a9154e64070d7dbdc7f4cea8cf4a3620c9a9c, which will get merged in with PR #5013.

FYI, we're investigating issues with the build that prevents this from being merged.

This ended up in PR #5054 which has been merged and this error should stop appearing.
Do file a new issue/re-open this if it didn't get fixe.
Thanks!


SAK-33331 : java.time.zone.ZoneRulesException: Unknown time-zone ID f…

…rom DecoratedChatMessage
This will solve the exception throwing if the timezone from the users preferences is a shortId (like 'CST').

You are right, the SHORT_IDS map does not like null keys...


Authentication tokens are never purged

Authentication tokens expire after 2 hours by default, after which they'll live happily in the database forever, unless I'm missing something.
This might have to wait until there's some kind of cron system in place?

Closed in #479


New Rule (Attachment): PDF with credential theft language and link to a free subdomain

/update-test-rules

@aidenmitchell want to swap to the new unsolicited version then we should be gtg


Use htsjdk machinery to make reading with intervals significantly faster

The main idea is to add the chunk intervals for each split into
the FileVirtualSplit class, so that each record reader can use
that information to only read the chunks in the BAM file that it
needs to, rather than read everything and apply filtering afterwards.
This change means that an index is always needed when using
intervals.
BAMRecordReader changes to use an iterator from SamReader, rather
than manage its own iteration (via BAMRecordCodec).
Support for keeping paired reads together in the same split has
been removed (previously set via
'hadoopbam.bam.keep-paired-reads-together'), since it is not
compatible with BAMFileReader managing the chunks to iterate over.
Applications that require this functionality can use the technique
in GATK's BwaSparkEngine#putPairsInSamePartition to achieve the
same result.

Support for keeping paired reads together in the same split has been removed (previously set via 'hadoopbam.bam.keep-paired-reads-together')

We're starting to make use of this functionality downstream in ADAM, but we have no plans to make use of the BwaSparkEngine. Is there a way that we can not lose this functionality? Performance when reading with a large number of intervals is not (currently) an important use case for us.

@fnothaft - thanks for the heads up. I think this feature actually belongs at the application level, rather than in Hadoop-BAM, since it makes things more complicated in the lower level due to the way it interacts with things like intervals.
Also, these changes in Hadoop-BAM are not only beneficial for large numbers of intervals - this implementation is more performant even for a small number of intervals if the number of reads being filtered is significant, since the filtering is being done by only reading the intervals of interest from disk (rather than reading everything, then filtering).
I was inspired by @ryan-williams elegant https://github.com/hammerlab/magic-rdds for the tricks to move records from one partition to another in an arbitrary RDD. This is exactly what you need to ensure that paired reads are being kept together. The code I wrote in BwaSparkEngine is essentially a more specialized version of Ryan's code for BorrowElemsRDD. I wasn't suggesting that you use BwaSparkEngine directly, but that you use the approach there, or BorrowElemsRDD. Would that work for you?

Hi @tomwhite! Thanks for the quick and comprehensive reply! Let me take a more detailed look over your comments and the code that you linked to and get back to you. That's good to know about the changes being beneficial for a small number of intervals, because that is indeed an important use case for one of our projects. Thanks for a pointer to the specific BwaSpark method; that code does indeed seem fairly lightweight, so that would probably be a reasonable approach for us. In any case, let me take a look and I'll circle back later today or tomorrow.

@cmnbroad Can you review?

Thanks for the review @cmnbroad. I've addressed your feedback.


Better error message when not enough devices connected

Description
Now "No suitable local device available" reported when need more devices and not found enough.
Expected something like: "1/2 suitable devices found" that it is more clear for user to add more devices

duplicate with #39


Replacing the EnsembleProblem with an equivalent simple for loop breaks the training

If we change the differential equations solving inside the diffeq_layer from the current EnsembleProblem to a simple for loop, which forward pass gives the exact same result, the whole training breaks. You can quickly try this by overriding the diffeq_layer function and running the pendulum example or tutorial:
import LatentDiffEq.Decoder
import LatentDiffEq.diffeq_layer
import LatentDiffEq.transform_after_diffeq

function diffeq_layer(decoder::Decoder{GOKU}, l̂, t)
    ẑ₀, θ̂ = l̂
    prob = decoder.diffeq.prob
    solver = decoder.diffeq.solver
    sensealg = decoder.diffeq.sensealg
    kwargs = decoder.diffeq.kwargs

    prob = remake(prob; tspan = (t[1],t[end]))
    sols = Array{Float32,2}[]

    for i in 1:size(ẑ₀,2)
        prob = remake(prob, u0=ẑ₀[:,i], p = θ̂[:,i])
        sol = solve(prob, solver; sensealg = sensealg, saveat = t, kwargs...)
        push!(sols, Array(sol))
    end

    ẑ = Flux.stack(sols, 2)
    ẑ = transform_after_diffeq(ẑ, decoder.diffeq)
    return ẑ
end

# Identity by default
transform_after_diffeq(x, diffeq) = x

For reference, this is the original diffeq_layer function:
function diffeq_layer(decoder::Decoder{GOKU}, l̂, t)
    ẑ₀, θ̂ = l̂
    prob = decoder.diffeq.prob
    solver = decoder.diffeq.solver
    sensealg = decoder.diffeq.sensealg
    kwargs = decoder.diffeq.kwargs

    # Function definition for ensemble problem
    prob_func(prob,i,repeat) = remake(prob, u0=ẑ₀[:,i], p = θ̂[:,i])

    # Check if solve was successful, if not, return NaNs to avoid problems with dimensions
    output_func(sol, i) = sol.retcode == :Success ? (Array(sol), false) : (fill(NaN32,(size(ẑ₀, 1), length(t))), false)

    ## Adapt problem to given time span and create ensemble problem definition
    prob = remake(prob; tspan = (t[1], t[end]))
    ens_prob = EnsembleProblem(prob, prob_func = prob_func, output_func = output_func)

    ## Solve
    ẑ = solve(ens_prob, solver, EnsembleThreads(); sensealg = sensealg, trajectories = size(θ̂, 2), saveat = t, kwargs...)

    # Transform the resulting output (mainly used for Kuramoto-like systems)
    ẑ = transform_after_diffeq(ẑ, decoder.diffeq)
    ẑ = permutedims(ẑ, [1,3,2])

    return ẑ
end

The forward output is exactly the same however the training of the model malfunctions.  After a few epochs, the loss function tends to greatly increase ( >> 1e6 after 50 epochs in the default pendulum example).
I'll try to get a MWE and compare the gradients. This might be hint of a sensitivity analysis, zygote or primitives issue, which could be the reason why the pendulum example in the Python implementation of GOKU nets  converges faster and is more robust under different random seeds when using exactly the same architecture, hyperparameters and initializations.
Maybe I'm doing something wrong in terms of DiffEqFlux with the simple for loop version? @ChrisRackauckas, a priori do you see something wrong here?

Here is a MWE in the context of LatentDiffEq.jl. Later I'll create a more general (minimal) MWE.
using LatentDiffEq
using Flux
using OrdinaryDiffEq
using DiffEqSensitivity
using Random
import LatentDiffEq.Decoder
import LatentDiffEq.diffeq_layer

Random.seed!(3)

struct Pendulum{P,S,T,K}
    prob::P
    solver::S
    sensealg::T
    kwargs::K
    function Pendulum(; kwargs...)
        # Parameters and initial conditions only
        # used to initialize the ODE problem
        u₀ = Float32[1.0, 1.0]
        p = Float32[1.]
        tspan = (0.f0, 1.f0)

        # Define differential equations
        function f!(du, u, p, t)
                x, y = u
                G = 10.0f0
                L = p[1]

                du[1] = y
                du[2] =  -G/L*sin(x)
        end

        # Build ODE Problem
        prob = ODEProblem(f!, u₀, tspan, p)

        # Chose a solver and sensitivity algorithm
        solver = Tsit5()
        sensalg = ForwardDiffSensitivity()
        # sensalg = BacksolveAdjoint()

        # sensalg = InterpolatingAdjoint()
        # sensalg = QuadratureAdjoint()

        P = typeof(prob)
        S = typeof(solver)
        T = typeof(sensalg)
        K = typeof(kwargs)
        new{P,S,T,K}(prob, solver, sensalg, kwargs)
    end
end

model_type = GOKU()
diffeq = Pendulum()
input_dim = 784

encoder_layers, decoder_layers = default_layers(model_type, input_dim, diffeq)
model = LatentDiffEqModel(model_type, encoder_layers, decoder_layers)
ps = Flux.params(model)
l̂ = (rand(Float32, 2, 64), rand(Float32, 1, 64))
t = range(0.f0, step=0.05, length=50)
loss(model, l̂, t) = sum(diffeq_layer(model.decoder, l̂, t) .- 1)

function evaluate(model, l̂, t)
    out = diffeq_layer(model.decoder, l̂, t)
    l_direct = loss(model, l̂, t)

    l, back = Flux.pullback(ps) do
        loss(model, l̂, t)
    end

    return out, l_direct, l, back
end

function diffeq_layer(decoder::Decoder{GOKU}, l̂, t)
    ẑ₀, θ̂ = l̂
    prob = decoder.diffeq.prob
    solver = decoder.diffeq.solver
    sensealg = decoder.diffeq.sensealg
    kwargs = decoder.diffeq.kwargs

    # Function definition for ensemble problem
    prob_func(prob,i,repeat) = remake(prob, u0=ẑ₀[:,i], p = θ̂[:,i])

    # Check if solve was successful, if not, return NaNs to avoid problems with dimensions matches
    output_func(sol, i) = sol.retcode == :Success ? (Array(sol), false) : (fill(NaN32,(size(ẑ₀, 1), length(t))), false)

    ## Adapt problem to given time span and create ensemble problem definition
    prob = remake(prob; tspan = (t[1],t[end]))
    ens_prob = EnsembleProblem(prob, prob_func = prob_func, output_func = output_func)

    ## Solve
    ẑ = solve(ens_prob, solver, EnsembleSerial(); sensealg = sensealg, trajectories = size(θ̂, 2), saveat = t, kwargs...)
    ẑ = permutedims(ẑ, [1,3,2])
    return ẑ
end

res1 = evaluate(model, l̂, t)

function diffeq_layer(decoder::Decoder{GOKU}, l̂, t)
    ẑ₀, θ̂ = l̂
    prob = decoder.diffeq.prob
    solver = decoder.diffeq.solver
    sensealg = decoder.diffeq.sensealg
    kwargs = decoder.diffeq.kwargs

    prob = remake(prob; tspan = (t[1],t[end]))
    sols = Array{Float32,2}[]

    for i in 1:size(ẑ₀,2)
        prob = remake(prob, u0=ẑ₀[:,i], p = θ̂[:,i])
        sol = solve(prob, solver; sensealg = sensealg, saveat = t, kwargs...)
        push!(sols, Array(sol))
    end

    ẑ = Flux.stack(sols, 2)
    return ẑ
end

res2 = evaluate(model, l̂, t)

@show res1 .== res2

@show res1[2]
@show res1[3]

@show res2[2]
@show res2[3]

If ForwardDiffSensitivity() or BacksolveAdjoint() are used as sensalg (chosen inside the Pendulum struct), the results are the following:
res1 .== res2 = (true, true, true, false)
res1[2] = -6916.1006f0
res1[3] = -6916.1006f0
res2[2] = -6916.1006f0
res2[3] = -6916.1006f0

If InterpolatingAdjoint() or QuadratureAdjoint() are used as sensalg:
res1 .== res2 = (true, true, false, false)
res1[2] = -6916.1006f0
res1[3] = -6916.099838162956
res2[2] = -6916.1006f0
res2[3] = -6916.1006f0

So in both cases the backs returned by Flux.pullback are different. In the second case, not even the loss value returned by Flux.pullback match.
Note that I'm using  EnsembleSerial() for the EnsembleProblem, so parallelism has nothing to do with this issue.
(issue#54) pkg> st
      Status `~/Documents/GOKU_experiments/issue#54/Project.toml`
  [41bf760c] DiffEqSensitivity v6.58.0
  [587475ba] Flux v0.12.6
  [5e00f16f] LatentDiffEq v0.2.5 `https://github.com/gabrevaya/LatentDiffEq.jl.git#master`
  [1dea7af3] OrdinaryDiffEq v5.64.0
  [9a3f8284] Random

I reported the more general MWE in SciML/DiffEqFlux.jl#623.


Make gh-page a protected branch with CICD/testing

Investigate what is possible wrt CICD when using gh-pages.

I temporarily reverted all the experiments with CICD

Tabled for now... would need to run an external server to do the checking.


[Backport 2.x] Add validation for the search backpressure cancellation settings

Description
Backport https://github.com/opensearch-project/OpenSearch/pull/15501 to 2.x
Related Issues
https://github.com/opensearch-project/OpenSearch/issues/15495
Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi @reta, do you know how to fix the failure of detect breaking changes check? The report shows a new public method is added(in this PR), and a public method is removed(by another PR).

Hi @reta, do you know how to fix the failure of detect breaking changes check? The report shows a new public method is added(in this PR), and a public method is removed(by another PR).

Thanks @gaobinlong , fix is raised https://github.com/opensearch-project/OpenSearch/pull/15980


Export alias neither is suppported nor throws error when building

:bug: Bug Report
General Information

JSII Version: any
Platform:     any

What is the problem?
export * as foo from './foo';

In subdir foo are some exported classes.
This compiles w/o errors, though the generated packages do not contain any contents from foo.
My assumption here is that an export alias (or whatever that as foo part is called) simply is not supported.

This ought to be fully supported and is considered a submodule in the jsii type model. We even test this:
https://github.com/aws/jsii/blob/5701e4e4116e10ffacafa4930c0db23972f7e0e4/packages/jsii-calc/lib/index.ts#L10
At this stage I'ml going to be venturing there is something else causing problems that the compiler fails to check for... May I ask to see the code you have which causes this, or a minimal reproduction?

Sorry for the very late reply. I didn't work on this piece until now.
The behavior seems to have changed in the meantime. It no longer passes without errors. Instead it throws this error:

Exported APIs cannot use un-exported type "something.Something"

So I think this is kind of the same problem as #1818
In the submodule I have
export { Something } from './something.ts'

When I change this to
export * from './something.ts'

it works. Though the only exported item in something.ts is Something...
I tried to produce a minimal example repo, but I failed. So I think you're also correct in the assumption that this is somehow caused by or in combination with something else.
I'll point you to the most complex example possible instead. 😈 This is about line 2 in this file. I want to change it to:
export * as statement from './generated';

In the file ./generated/index.ts you see I have all the exports defined as
export { A4b } from "./alexaforbusiness";
export { ExecuteApi } from "./amazonapigateway";
export { Appflow } from "./amazonappflow";
...

jsii stops complainig when I change them all to:
export * from "./alexaforbusiness";
export * from "./amazonapigateway";
export * from "./amazonappflow";
...

Pinging @RomainMuller / @SomayaB Think you won't see this, because it's closed.


fix(#4637): Date picker unusable with screen reader (NVDA)

The issue is that NVDA shifts out forms mode when focus lands on the button within a cell within the calendar table, and as such, after announcing the focused element, starts to read the content of the dialog from that point forward. I think the easiest solution for this would be to use role="application" instead of group for the container calendarProps returned by the useCalendarBase hook here:  https://github.com/adobe/react-spectrum/blob/7f63e933e61f20891b4cf3f447ab817f918cb263/packages/%40react-aria/calendar/src/useCalendarBase.ts#L94-L97.
Closes #4637
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue 4637.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[x] Updated documentation (if it already exists for this component).
[x] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Open https://reactspectrum.blob.core.windows.net/reactspectrum/63ddc5ee08c4e077827ae37bb2323c3c8651850b/docs/react-spectrum/DatePicker.html#example on a Windows machine using NVDA.
Navigate to and activate the Calendar dropdown menu button for the DatePicker example labeled "Event date".
The Calendar popover dialog will open with focus on the current date. NVDA will be in forms mode and additional dates in the Calendar table after the current should not announce.
You should be able to navigate between dates in the Calendar grid using ArrowUp/ArrowDown/ArrowLeft/ArrowRight/Home/End/PageUp/PageDown, and NVDA will stay in forms mode.
Closing the Calendar using the Esc key to cancel or Enter to select a date, should restore focus to the Calendar button, and NVDA should exit forms mode.

🧢 Your Project:
Adobe/Accessibility

Not sure if this is a good idea to do only for Calendar. The same "problem" exists in all grids with NVDA, for example in ListView and TableView. And I remember having a discussion about using role=application for drag and drop to solve the same problem as well, and deciding not to do it. Do you remember the reasoning there? Why should we treat calendar differently? An NVDA user must be used to needing to manually switch into forms mode when navigating to a button as this would be a very common experience. Just wondering if it is something we should really work around or not.

Not sure if this is a good idea to do only for Calendar. The same "problem" exists in all grids with NVDA, for example in ListView and TableView. And I remember having a discussion about using role=application for drag and drop to solve the same problem as well, and deciding not to do it. Do you remember the reasoning there? Why should we treat calendar differently? An NVDA user must be used to needing to manually switch into forms mode when navigating to a button as this would be a very common experience. Just wondering if it is something we should really work around or not.

Calendar is a controlled environment, where each cell contains the same content, a button for a date, and where we want the  user to navigate using the arrow keys. A ListView or TableView with a button in a cell, might have other content in the cell that a user would need to access in browse mode or using table navigation. With regard to drag and drop, we considered trying to force the user into forms mode when a dragging operation was initiated, but I think we found it didn't improve behavior enough to justify the change.

Ok that makes sense. I imagine this issue came up when testing calendar before but I don't remember if we discussed it. Let's test it on various devices/AT and see how it works.

@majornista we tested this and it seemed to mostly work ok. The only thing I found was that in Firefox + JAWS, the entire contents of the popover (all dates in the grid) are read out when it is opened. It worked in Firefox + NVDA, and Chrome + JAWS/NVDA though, so better than before, but not sure if there is anything else we should do to get JAWS + Firefox working as well.

I'll test again. Maybe my jaws is out of date.

I think we should only include this visually hidden heading on mobile:

Hmm maybe but let's leave that as a separate issue for now. Really want to minimize the amount of these specific browser checks.

Really want to minimize the amount of these specific browser checks.
Except, the VisuallyHidden Month/Year heading was only added for mobile.

Hmm, not only mobile. It's better for any touch screen reader user, even on windows. That's why these kind of checks are hard.
I re-tested in JAWS 2023.2303.144 (latest version downloaded today) and I don't see it reading all of the dates in the calendar anymore. I also didn't see your issue with repeating the month 4 times.


NoSuchMethodError: null object does not have a getter 'context'.

Steps to Reproduce
Ran a flutter app on mojo.
Get an exception on startup (red screen with yellow text). The exception disappears when I rotate the orientation of the screen.
The app worked without any exceptions when using the version of flutter before https://github.com/flutter/flutter/commit/e071f0b
Flutter Doctor
Paste the output of running flutter doctor here.
Logs and Crash Reports
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building Title:
The null object does not have a getter 'context'.
NoSuchMethodError: method not found: 'context'
Receiver: null
Arguments: []
When the exception was thrown, this was the stack:
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2      ModalRoute.didPush (package:flutter/src/widgets/routes.dart:528)
#3      NavigatorState._push. (package:flutter/src/widgets/navigator.dart:392)
#4      State.setState (package:flutter/src/widgets/framework.dart:433)
#5      NavigatorState._push (package:flutter/src/widgets/navigator.dart:387)
#6      NavigatorState.initState (package:flutter/src/widgets/navigator.dart:325)
#7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:1659)
#8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#10     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:1582)
#12     BuildableElement.rebuild (package:flutter/src/widgets/framework.dart:1484)
#13     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:1556)
#14     ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#16     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#17     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:1582)
#18     BuildableElement.rebuild (package:flutter/src/widgets/framework.dart:1484)
#19     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:1556)
#20     ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#22     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#23     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:1582)
#24     BuildableElement.rebuild (package:flutter/src/widgets/framework.dart:1484)
#25     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:1556)
#26     ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#27     Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#28     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#29     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:1582)
#30     BuildableElement.rebuild (package:flutter/src/widgets/framework.dart:1484)
#31     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:1556)
#32     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:1673)
#33     ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#34     Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#35     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:1582)
#37     BuildableElement.rebuild (package:flutter/src/widgets/framework.dart:1484)
#38     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:1556)
#39     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:1673)
#40     ComponentElement.mount (package:flutter/src/widgets/framework.dart:1551)
#41     Element.inflateWidget (package:flutter/src/widgets/framework.dart:1127)
#42     Element.updateChild (package:flutter/src/widgets/framework.dart:1004)
#43     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:352)
#44     RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:305)
#45     BuildOwner.lockState (package:flutter/src/widgets/framework.dart:794)
#46     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:301)
#47     BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding._runApp (package:flutter/src/widgets/binding.dart:230)
#48     runApp (package:flutter/src/widgets/binding.dart:245)
#49     main.<main_async_body> (lib/main.dart:32)
(elided 3 frames from package dart:async)

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

When running in checked mode, I see the following message:
The following assertion was thrown building Title:

Unable to find the BuildContext for the Navigator's overlay.

Did you remember to pass the settings object to the route's constructor in your onGenerateRoute
callback?

Did you remember to pass the settings object to the route's constructor in your onGenerateRoute callback?

:-)
Looking into it, trying to grok the relevant code...

ok, i believe that fixes it. must have missed this change in a previous flutter sync.


Layer offset

Based on the refactor branch of bevy_tiled.

Not sure if setting the ChunkBundle transform's translation is the correct way to do it, is there one for a whole layer?
Not sure if this is the optimal way to add the translation to the transform.
Added a new example with a tiny isometric map that has two layers with xy offsets (negative and positive). Not sure if this should be its own example though since it's extremely similar to the iso_main example, but it was a good way to test the functionality.

@martinmolin  This looks fine to me -- BTW I merged the refactor branch this morning, if you wanted to rebase and open up a non-draft PR.


LiveFyre Comment on Installing NuGet

Post Time: 2017-04-22 21:33 (UTC)
Area: NuGet
Article: Installing NuGet | Microsoft Docs
https://docs.microsoft.com/en-us/nuget/guides/install-nuget
CommentsCategory: Product   Sentiment: 24%
Comments:
NPM Restore/Build does not produce the same output to project.lock.json that a Command Line nuget.exe + msbuild.exe produces in project.lock.json.I expected the same results from both processes, but NPM Restore/Build does not write ContentFiles details to project.lock.json correctly.As a result builds in Visual Studio do not produce correct build output set.

Responded


failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error

System information

Have I written custom code: below
OS Platform and Distribution: Linux Ubuntu 20.04
TensorFlow installed from (source or binary): pip install tensorflow
TensorFlow version (use command below): 2.3.0
Python version: 3.8.12
CUDA/cuDNN version: release 10.1, V10.1.243
GPU model and memory: RTX2060 Mobile 6GB

You can collect some of this information using our environment capture
script:. Log file here link
Traceback (most recent call last):
  File "/tmp/check_os.py", line 17, in <module>
    platform.linux_distribution(),
AttributeError: module 'platform' has no attribute 'linux_distribution'
2021-11-29 11:17:14.503225: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
  File "/tmp/check_tf.py", line 5, in <module>
    with tf.Session() as sess:
AttributeError: module 'tensorflow' has no attribute 'Session'
bazel: command not found
Wrote environment to tf_env.txt. You can review the contents of that file.
and use it to populate the fields in the github issue template.

Describe the current behavior
>>> import tensorflow as tf
2021-11-29 11:44:55.998697: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
>>> tf.config.list_physical_devices("GPU")
2021-11-29 11:45:19.987589: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2021-11-29 11:45:21.698177: E tensorflow/stream_executor/cuda/cuda_driver.cc:314] failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error
2021-11-29 11:45:21.698239: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: raffo-OMEN15
2021-11-29 11:45:21.698251: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: raffo-OMEN15
2021-11-29 11:45:21.698392: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:200] libcuda reported version is: 470.82.0
2021-11-29 11:45:21.698442: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:204] kernel reported version is: 470.82.0
2021-11-29 11:45:21.698453: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:310] kernel version seems to match DSO: 470.82.0
[]

I don't know if it can help: the same error happens in the tensorflow docker container.

I guess there is another process occupying GPU so your TF program cannot can find a memory segment in GPU to initialize CUDA. Just close another process and try again.

I guess there is another process occupying GPU so your TF program cannot can find a memory segment in GPU to initialize CUDA. Just close another process and try again.

I don't think so. I check with nvidia-smi and this is my output:
raffo@raffo-OMEN15:~$ nvidia-smi
Mon Nov 29 13:36:15 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.82.00    Driver Version: 470.82.00    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   52C    P5    22W /  N/A |    376MiB /  5934MiB |     23%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1260      G   /usr/lib/xorg/Xorg                174MiB |
|    0   N/A  N/A      1962      G   /usr/bin/gnome-shell               54MiB |
|    0   N/A  N/A      8198      G   ...AAAAAAAAA= --shared-files      144MiB |
+-----------------------------------------------------------------------------+

@RaffaeleBerzoini We could see you are using TF v2.3.0 which is not actively supported ,please refer to the comment.Could you please try to upgrade TF version to latest TF v2.7.0 and refer this tested build configurations ? Thanks!


Improve readme

Preview: https://github.com/szepeviktor/weather/blob/patch-1/build/docs/base.md
@voku Please regenerate README.md

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.581%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
405

Relevant Lines:
558

💛  - Coveralls

BTW You could add repo details:


For more information about multiple handles

Thread supports multiple handles. For advice, declare multiple handles. Can they be regarded as multiple devices in the network? Each handle has its own network address, or do multiple handles share one address.

If you are referring to an otInstance, then they are separate, independent Thread instances. Different instances will appear as separate network interfaces.

I see. Thank you.


This is not loading images

Hi,
I would like to thank you for creating this. I followed the instruction and tried to used the CachedImage functionality as shown below. But its not working.
return (<View style={styles.container}>
<CachedImage isBackground={true} source={{uri: props.results.img_url}} style={styles.imageStyle}>
            <Faded height={height / 12} color="#000000" direction="bottom">
                <View style={{
                    paddingVertical: 20, justifyContent: 'top', alignItems: 'center'
                }}>
                    <Text style={styles.nameStyle}>{props.results.name}</Text>
                </View>
            </Faded>
</CachedImage>
</View>)

I'm not getting any error as well. But images are not rendering. Can you please on this?

Hi Sharathnasa, thanks for reaching out! I'm not sure I have enough information here to help yet. I would suggest the following debugging steps.
At each step run the app and see if the image renders. Find which step breaks the rendering, and if it turns out to be a bug on the component's side then I will be able to fix it.

Remove the child components, does it work now?
Remove your custom styles, does it work now?
Hard-code the image URI instead of using a variable, does it work now?
Remove the styles from the parent view, does it work now?

I had the same issue (images not rendering without any error), my code was below:
<CachedImage
   style={{ flex: 1, width: null, height: 200 }}
   source={getMealImageSourceWithDeafult(meal)}
/>

When I changed width from null to 200:
<CachedImage
   style={{ flex: 1, width: 200, height: 200 }}
   source={getMealImageSourceWithDeafult(meal)}
/>

Now it works great, thanks for the library.
I'm having some trouble how to use below with your library:
require('../../assets/images/meal-placeholder.png');

because in my image source property helper:
export const getMealImageSourceWithDeafult = meal => (
    meal && meal.photoUrl ? { uri: meal.photoUrl } : defaultMealImage
 );

you're expecting the scenario that returns the object with uri property but the other scenario is maybe not expected by your library or maybe I'm missing something. Maybe you would recommend me to use a wrapper that uses either Image or CachedImage component whether image comes from uri or hardcoded (so I wouldn't use CachedImage for hardcoded images which makes sense). Just an idea, maybe you'd want to support hardcoded images / images loaded from project assets (without duplicating on the disk cache somehow). fyi. Thanks again. I will take care of the asset image use case in my project.

Update: For the issue I mentioned (ability to use asset images embedded in my package), I created my components/Image.js as:
import React from 'react';
import CachedImage from 'react-native-expo-cached-image';
import { Image as NativeImage } from 'react-native';

export default class Image extends React.PureComponent {
  render() {
    const { source } = this.props;
    if (source && source.uri) {
      return (
        <CachedImage {...this.props} />
      );
    }
    return (
      <NativeImage {...this.props} />
    );
  }
}

This allowed me to have mixed usage of network loaded and asset images (e.g. when rendering items that some have network loaded images some asset loaded images). My use case was displaying a default image (from package assets) when the user uploaded image is not present. Also if I need to make a CachedImage specific change etc, I can change from a single point.

@nadideozturk Thanks for the feature request! I added an official ticket: https://github.com/lane-c-wagner/react-native-expo-cached-image/issues/3
I will work on this when I have time, or feel free to submit a pull request yourself!

Hi @lane-c-wagner, thank you for taking the time and share with everyone this component.
I was having this same issue.. the image wasn't loading or at least it appeared that way.
After debuging for a while and looking at your code I found the Image and Image background had a View parent and even after I passed a width and height the styles where not applied to the view just the Images.
Just wanted to share this.

Hi @lane-c-wagner, thank you for taking the time and share with everyone this component.
I was having this same issue.. the image wasn't loading or at least it appeared that way.
After debuging for a while and looking at your code I found the Image and Image background had a View parent and even after I passed a width and height the styles where not applied to the view just the Images.
Just wanted to share this.

Hey @anfo000 did this problem stop you from being able to use the component, or did you just need to tweak your implementation? If you have a recommended fix you would like me to make please open a new issue and include your code and what you expect to happen.

Yeah, I just remove the wrapping <View> and it worked.
render() {
    if (this.props.isBackground)
      return (
        <ImageBackground
          {...this.props}
          source={this.state.imgURI ? { uri: this.state.imgURI } : null}>
          {this.props.children}
        </ImageBackground>
      );
    else
      return (
        <Image
          {...this.props}
          source={this.state.imgURI ? { uri: this.state.imgURI } : null}
        />
      );
}

Sorry for the if else syntax..


Cherry pick moby pr (propagate the dockerd cgroup-parent config to buildkitd)

What's in this PR

Cherry-picked moby PR propagate the dockerd cgroup-parent config to buildkitd

Commit d52485c2f901e62e9a26445e230ec3f6662fa276

resolved minor conflicts on strcut fields in
builder/builder-next/builder.go
builder/builder-next/controller.go
builder/builder-next/executor_unix.go
cmd/dockerd/daemon.go

Commit 54b3af4c7d7d625b9cff6d5d7b8730ec99f38977 (clean merge)
Commit 66ac92cdc65be350ec53f1de51052374846dfe24 (clean merge)

Signed-off-by: Anda Xu<EMAIL_ADDRESS>

cc @andrewhsu

Build is failing;
00:00:05 builder/builder-next/executor_unix.go:24:72:warning: undeclared name: netnsRoot (gosimple)
00:00:05 builder/builder-next/executor_unix.go:24:72:warning: undeclared name: netnsRoot (interfacer)
00:00:05 builder/builder-next/executor_unix.go:24:72:warning: undeclared name: netnsRoot (unconvert)
00:00:05 Build step 'Execute shell' marked build as failure
00:00:05 Set build name.


change api from city api to yelp api

[ ] ensure it is free
[ ] watch tutorial
[ ] get api key and add to secrets.js
[ ] implement bearer token in api fetch calls
[ ] write new components based on existing all restaurants and single restaurant
[ ] verify routes at located in nyc
[ ] perform filtering on categories and attributes to get cuisine


Revert "Integ-tests: Temporarily disable DCV test."

This reverts commit cc97913e40f30fcd39bec7253c853e977bc123ca.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closed as duplicate of: https://github.com/aws/aws-parallelcluster/pull/3757


question about Gait Recognition

Great job!
I would like to ask a question:
I don't see Gait Recognition task in the mentioned six downstream tasks, is SOLIDER not suitable for processing human gait features based on silhouette? , or is it out of some other consideration?
Look forward to receiving your reply, thank you.

Thanks for your interests! We believe the SOLIDER would provide some helps for the silhouette information in gait features as well as it does on reid. The reason of missing Gait Recognition task in current version is because that current SOLIDER mainly focuses on image-level task. Thanks for your advice. We agree the extension on video/sequence-level tasks is a good way to further verify the effectiveness of SOLIDER.


[PE-D][Tester A] Incorrect user guide instruction - createGroup, addToGroup, removeFromGroup

Description
The field 'INDICES' in createGroup, addToGroup, removeFromGroup instructions in user guide are in [square bracket], which is indicated as optional in the note. However, 'INDICES' seems to be mandatory to be executed.
Expected
Able to execute
createGroup g/blood drive 2024,
Actual
Error message displayed
Screenshots
Figure 1: Instructions on user guide

Figure 2: Error message

Note
Similar issues occurred in addToGroup, removeFromGroup.

Labels: severity.Medium type.DocumentationBug
original: LynetteLeeSiYing/ped#1

Oops. Got it.

Done locally


⚠ Bofrost.lu has degraded performance

In 1cf86ed, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2023 ms

Resolved: Bofrost.lu performance has improved in 878ab33 after 22 minutes.


Allow to import dashboard associated roles

After enabling DASHBOARD_RBAC we now need to import the associated roles automatically. The new import strategy allows using superset tables and commands to interact with the superset database.  https://github.com/openedx/tutor-contrib-oars/pull/69
As this is a sqlalchemy table, we can use the relationship to associate roles as explained in this stackoverflow issue:
https://stackoverflow.com/questions/56379975/how-can-i-insert-row-into-table-sqlalchemy-object
https://github.com/apache/superset/blob/2a4ef5cccf3d3f8f2f7ccfc8c590f8f2fde31ab0/superset/models/dashboard.py#L161

Resolved https://github.com/openedx/tutor-contrib-aspects/pull/125