Make Loader Exception Free

Try to make Loader exception free by doing the following:

For Exceptions are thrown and caught directly by the function that throws. These instances are changed to early return with a corresponding XrResult and logging, if any.
For Throws that are the result of a catch(..) with some “unknown error” or “bad alloc” logging. Remove these instances
Remove all catches directly.
Change JSON_USE_EXCEPTION to be defined as 0 so jsoncpp will not throw exception.

@rpavlik @daveh-lunarg Here is the new PR. The only difference with the previous one is that this one does not touch api_dump and things are separated into 2 commits. First commits adjust indentation, and second commit make the real change. Thanks!

See issue #52

@daveh-lunarg the loader adoc files are not public right now - this is why I wanted to make them public :)

Hi @daveh-lunarg , unfortunately I don't have access to the link you sent(https://gitlab.khronos.org/openxr/openxr/tree/master/specification/loader). Is there any other way I can modify the .adoc file? Thanks!

@zheqiMicrosoft I'd just skip it - leave the modified HTML, and I'll open an issue internally to sync the source back. There's already a separate issue to publish the loader doc adoc files.

@rpavlik Hi Ryan, is there any other changes I need to make for this PR? Thanks!

@rpavlik @daveh-lunarg Hi Dave and Ryan, I just removed the doc/loader/OpenXR_loader_design.html file from this PR since it's generated. Thanks!

Not having this change is a blocker for having an OpenXR backend in Chromium.
@rpavlik and @daveh-lunarg how do we move forward on getting this in?

I guess my main concern is that removing the catches isn't preventing exceptions, it's allowing exceptions to sneak out of the ostensibly-C ABI. The runtime shouldn't let exceptions escape, but there are standard library containers used and I haven't audited the calls (or added nothrow) to make sure that they won't throw.

The version of the standard library that Chromium uses has been compiled to not throw exceptions.  This pull request eliminates throwing from the loader itself.  Is there any other exception throwing source we should be concerned about?

Ah, ok. Still makes me nervous we might leak exceptions to those who aren't using such a standard library, but I can probably propose a change later.

OK, so I rebased it, then made some changes to allow non-Chromium users to avoid leaking exceptions - see #80. I'd rather wait for that whole thing (including this change) to merge than to merge this without the protection for non-chromium users, especially since chromium can presumably use a local fork right now anyway.

Thanks for your work on this and your patience. I've rebased it into #80 which is now merged!


Detect inconsistent pulumi versions in GitHubCI

I think commit 9caf should be squashed with commit 871

This PR is closed and superseded by https://github.com/nblockchain/conventions/pull/85 because some commits needed to be squashed.


Fix: Value of API's data is different in widgets and entity explorer

Description
Add steps to reproduce this behavior, include console/network logs & screenshots

Create an API Api1
Drop a text widget and bind text to the API data.
Now disable the on page loading of Api1
Reload the page.
See entity explorer value of Api1 and the value widget is getting. Both are different

Fixes #4665
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Create a Cypress test to create an API and bind it to widget. Check that entity explorer shows same for data as in the binded widget.

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: bug/onload-apis-entity-explorer

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
51.66 (0)
32.84 (0)
29.59 (0.02)
52.14 (0)

:red_circle:
app/client/src/pages/Editor/Explorer/hooks.ts
44.32 (-0.96)
26.39 (-2.84)
45 (-0.95)
48.2 (-0.6)

:green_circle:
app/client/src/pages/Editor/Explorer/Pages/PageGroup.tsx
67.65 (2.94)
17.65 (11.77)
50 (16.67)
66.67 (3.03)

@hetunandu can you please review this again at your convenience.

/ok-to-test sha=b26675159fabe3b6b5460b8d81176c1b7ad94f18

/ok-to-test sha=b26675159fabe3b6b5460b8d81176c1b7ad94f18

/ok-to-test sha=b26675159fabe3b6b5460b8d81176c1b7ad94f18

Branch too much behind prod, Bug closed with new PR
https://github.com/appsmithorg/appsmith/pull/5646


Upgrade log4j to 2.16.0

Signed-off-by: Sruti Parthiban<EMAIL_ADDRESS>Is your feature request related to a problem? Please provide an existing Issue # , or describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you are proposing
Upgrade log4j to 2.16.0
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

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.

Superseded with 2.17 upgrades.


Allow use with PHP 8.1

Right now only 4.x-dev can be used with PHP 8.1, which is sad! And may not even be technically warranted…

See https://semver.madewithlove.com/?package=php&constraint=~8.0.0&stability=stable


Translate directive fails to update values on language change, when values are surrounded by newlines

Current behavior
Template elements which use the translate directive and whose value are surrounded by newlines do not respond to language changes.  If that value is interpolated from an angular variable, ~it's not initially translated at all~ the initial value is translated, but changes to the variable cause the original key text to be displayed, and at no point does it appear to respond to language changes.
See also: https://github.com/ngx-translate/core/issues/998#issuecomment-583338916
Possibly related: https://github.com/ngx-translate/core/issues/1091
Expected behavior
translate directive properly translates the specified value.
How do you think that we should fix this?
Unknown.  The issue appears to pre-date release 12.0.0, although
https://github.com/ngx-translate/core/issues/998 / https://github.com/ngx-translate/core/pull/1016 appears to have made things a bit worse in that interpolated variables ~are not translated at all now~ don't respond to language changes now.
Minimal reproduction of the problem with instructions
Specify a translated div or span in the angular template file, which includes newlines around the value to be translated:
  <div translate>
    {{ myVariable }}
  </div>
  <div translate>
    HEADER.NAME
  </div>

In the component implementation file:
  myVariable = 'HEADER.TITLE';
  // in ngOnInit():
  setTimeout(() => { this.myVariable = 'HEADER.NAME' }, 1000);

In the en.json file:
{
  "HEADER": {
    "TITLE": "The Title",
    "NAME": "The Name"
}

Environment

ngx-translate version: 12.0.0
Angular version: 8.2.14

Browser:
- [X] Chrome (desktop) version XX
(Haven't checked other browsers yet)

For Tooling issues:
- Node version: v10.18.1
- Platform:  Windows

Thanks, I'll take a look at it when I can, but if you want to try to do a PR that would be even better.
The first thing to do might be to revert the change to the directive, and take a look at the other PRs that tried to fix the problem (and that I closed because I thought the one I had was working).

I have a new test and a one-line code change that I believe addresses this issue, and was going to post the PR today.
I'll pull down the latest master branch and re-evaluate.
At a minimum, I believe that I introduced a bug with this line:
node.originalContent = content || node.originalContent;
which now appears in multiple places.  When Angular re-interpolates the value from a variable into the DOM, I'm pretty sure that new value needs to be captured as the new translation key, otherwise it won't get re-translated.  So, keeping the old content is incorrect.

@ocombe Added https://github.com/ngx-translate/core/pull/1169 for your inspection.  Hopefully it sparks some good discussions that will help me to become a better contributor to this code base. 😃


Time for a new release?

Last release was more than 2 years ago. Maybe it's time to do new one?
I very hope to get at last basic Windows support in it.

We don't really use the release feature on GitHub.  The current advice is to just pull from the master branch.  We're experimenting with keeping an alpha branch updated on a weekly cadence as well.

Also, you can developer Flutter apps on Windows now :)
https://flutter.io/setup-windows/

But there is instructions only for android. Is it's possible to develop for
iOS?
чт, 27 апр. 2017 г. в 18:54, Seth Ladd<EMAIL_ADDRESS>
Also, you can developer Flutter apps on Windows now :)
https://flutter.io/setup-windows/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/9632#issuecomment-297756866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGNmlmT7FqEvlSZT6TXcJFnCwUWdxgwDks5r0LpFgaJpZM4NJ3K4
.

I don't know of any way to create iOS binaries from Windows.  You can develop the UI using Windows and Android by setting the app's platform theme to iOS, but I don't know of any way of creating a releasable iOS binary on Windows.


UnsatisfiedLinkError

Hi, I am using maven to build a small program depending on org.lwjgl.lwjgl:lwjgl:2.9.1.
Up to now, I have been using maven-nativedependencies-plugin to unpack the native libraries provided by lwjgl, and have been able to run my code sucessfully using -Djava.library.path=target/natives, as suggested here.
I would now like to build a fat capsule, which would enable me to run my program without specifying -Djava.library.path on the command line. What should I do for this purpose?
For now:

The capsule properly embarks at its root the jars containing the native libraries (lwjgl-platform-2.9.1-natives-windows.jar as an example, which contains lwjgl.dll).
I get an UnsatisfiedLinkError: no lwjgl in java.library.path when running the jar.

Here is the relevant POM fragment:
			<plugin>
				<groupId>com.github.chrischristo</groupId>
				<artifactId>capsule-maven-plugin</artifactId>
				<version>0.10.0</version>
				<executions>
					<execution>
						<goals>
							<goal>build</goal>
						</goals>
						<configuration>
							<appClass>org.lwjgl.examples.spaceinvaders.Game</appClass>
							<types>fat</types>
						</configuration>
					</execution>
				</executions>
			</plugin>

Hmm ok thanks for letting me know, will look into this.


[docs] Add Crypticker.io in showcase

Add a new website to the showcase in the documentation.

@scastiel Thanks


Is it possible to make the project compatible with Java 8

I am developing Jenkins Pipeline(DSL) Plugin for Buildpacks. I'm thinking of performing processes with this client. But Jenkins plugins cannot currently work with Java 11. Jenkins plugins support Java 8 and below.
Is it possible to make the project compatible with Java 8 ?

It may be as simple as changing the level in the pom.xml .. I'd need to try.. Java 8 is kinda old now tho! I'm not sure if I used any post 8 features within the code, or what level the dependencies would ask for. If you have time, fork and give it a go, and let me know how it goes! .. I'm not able to get back to this code for a few weeks yet, so you'll probably get an answer quicker if you have a bash yourself =)

Thanks, I was able to get it working with java 8. Just one line change in "docker/ContainerUtils.java" was enough.
// docker/ContainerUtils.java
// IOUtils class comes from org.apache.commons.io.IOUtils
IOUtils.copy(is, tout);
// As far as I understand, method "transferTo()"  in line "is.transferTo(tout);"  comes with Java 9.

If it works for you, it is currently in my own repository as a local maven repository.


p does not work in mapping when the cursor is in the first line or the last line

Describe the bug
<C-w>p does not work in mapping when the cursor is in the first line or the last line
To Reproduce
Detailed steps to reproduce the behavior:
filetype plugin indent on
syntax enable

set cursorline

nnoremap <buffer> <C-j>  <C-w>pj<C-w>p
nnoremap <buffer> <C-k>  <C-w>pk<C-w>p

split

Run gvim -Nu test.vimrc test.vimrc
Type '<C-j> <C-j>....'
The cursor stays another window when the cursor is on the last line

The same problem is reproduce-able by pressing <C-k> in the vimrc.
Expected behavior
The cursor should move to original window by <C-w>p.
Environment (please complete the following information):

Vim version : 8.1.1332
OS: Manjaro Linux
Terminal: GUI

Additional context
Add any other context about the problem here.

That's not a bug. The mapping stops on encountering the first error, and pressing k on the first line or j on the last line is considered to be an error. The final <C-W>p is never executed.
Regards,
Jürgen

The mapping stops on encountering the first error, and pressing k on the first line or j on the last line is considered to be an error.

Oh,  I have not known the behavior...


HttpServletRequestFilterable addExclusion("if-none-match") for static decorator  html

HttpServletRequestFilterable instance should addExclusion("if-none-match")
for static decorator  html

Feel free to submit a pull request


Rename music-manager to google-music-manager

I had trouble finding this cask because of the name’s ambiguity.

We have strict token rules in place, for a variety of reasons. A name will be added to it, which should make searching easier, in the future.


Compatibility with other JavaFX libraries

One issue that I have run into is that several other javafx libraries expect modena color scheme definitions to be present. For example, https://github.com/dlsc-software-consulting-gmbh/PreferencesFX will print out all kinds of errors when used with AtlantaFX.
My current solution is to define the manually like this:
* {
-fx-text-fill: -color-fg-default;
-fx-highlight-text-fill:  -color-fg-default;
-fx-highlight-fill: -color-neutral-muted;
-fx-prompt-text-fill: -color-neutral-muted;
-fx-text-box-border:-color-neutral-muted;
-fx-control-inner-background: -color-neutral-muted;
-fx-body-color: -color-neutral-muted;
-fx-inner-border: -color-accent-fg;
}

Maybe they can be defined automatically by AtlantaFX. It doesn't have to be a perfect match, just some default colors that come close to the modena theme.

Third-party libs support is in the backlog. Your suggestion sounds reasonable, though I'd not include this snippet to the themes, but having something like scene.getStylesheets().add("modena-bridge.css") could be useful. Sadly ControlsFX is half-dead and I'd rather work on something else instead of wasting time to support it.

@crschnick
Can you explain in detail, how you solution works?

@crschnick Can you explain in detail, how you solution works?

I just define all the needed style class color definitions from modena.css with the appropriate AtlantaFX color definitions for every single node with *

It is the one in the original post

Ah ok ... I thought there would be more. E.g. -fx-accent, -fx-selection-bar-text etc ....

I originally set colors until it looked fine. There might be some I missed but these did not influence the look of the preferences in my case. To be fair, I switched to using some custom renderers using AtlantaFX controls instead of formsfx controls.

Third-party libs support is in the backlog. Your suggestion sounds reasonable, though I'd not include this snippet to the themes, but having something like scene.getStylesheets().add("modena-bridge.css") could be useful. Sadly ControlsFX is half-dead and I'd rather work on something else instead of wasting time to support it.

Hey, controls is not completely dead.
Version 11.2.0 is available.
You can see how it's complicated to maintain open source software. Despite atlantafx is an awesome project, there is no new commit since almost 6months.


fastly: 10.12.2 -> 10.12.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fastly/cli/releases.
meta.description for fastly is: Command line tool for interacting with the Fastly API
meta.homepage for fastly is: https://github.com/fastly/cli
meta.changelog for fastly is: https://github.com/fastly/cli/blob/v10.12.3/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 10.12.3 with grep in /nix/store/rama79px5ps412jbdjf3i87amzxwnnbp-fastly-10.12.3
found 10.12.3 in filename of file in /nix/store/rama79px5ps412jbdjf3i87amzxwnnbp-fastly-10.12.3

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

fastly

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rama79px5ps412jbdjf3i87amzxwnnbp-fastly-10.12.3 \
  --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 fastly https://github.com/r-ryantm/nixpkgs/archive/44210d5c2366353b650150c4fe40d97679d82726.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/44210d5c2366353b650150c4fe40d97679d82726#fastly

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rama79px5ps412jbdjf3i87amzxwnnbp-fastly-10.12.3
ls -la /nix/store/rama79px5ps412jbdjf3i87amzxwnnbp-fastly-10.12.3/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 --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

fastly

Maintainer pings
cc @ereslibre @shyim for testing.


Error with --1piboot option

> Copy Custom 1piboot.conf '/home/agent/hostdir/1piboot/1piboot.conf' to the IMG
chown: cannot access '/mnt/sdm/etc/sdm/1piboot/1piboot.conf': No such file or directory
chmod: cannot access '/mnt/sdm/etc/sdm/1piboot/1piboot.conf': No such file or directory

I think the path should be /mnt/sdm/etc/sdm/1piboot.conf or at least that's where I see the file using --explore

I made a pull request. However, I cannot get 1piboot.conf to work. Its easier just to call raspi-config directly in my custom plugin.


GHA: add a Linux build

This PR adds a Linux build to the GitHub Actions config and disables the iOS and Mac targets when building on a Linux host, so that the libs and the sample app can be built on Linux successfully (but with the Android target only).

The GHA jobs all run well, so I'll merge this.


promtool: Print block meta-data slightly more nicely

I initially thought I could somehow rescue the current column layout
by recycling the tabwriter, but flushing completely blanks
it. However, by setting a minimum width of 13, we get a slightly
broader DURATION column but otherwise nice formatting, unless numbers
get really big, but that's OK, I guess.
Before:
BLOCK ULID                  MIN TIME                       MAX TIME                       DURATION  NUM SAMPLES  NUM CHUNKS  NUM SERIES  SIZE
01ETN0KGNP5WWK9T5QMQGBG9F1  2020-11-19 07:39:17 +0000 UTC  2020-11-19 07:44:17 +0000 UTC  5m0.001s  8            2           2           624B
01ETN0KGQSFF0AB2QDZVQG3CWC  2020-11-19 10:25:57 +0000 UTC  2020-11-19 10:30:57 +0000 UTC  5m0.001s  8  2  2  622B
01ETN0KGSW8KYP3YPG4X20P60Z  2020-11-19 13:12:37 +0000 UTC  2020-11-19 13:17:37 +0000 UTC  5m0.001s  8  2  2  625B

After:
BLOCK ULID                  MIN TIME                       MAX TIME                       DURATION     NUM SAMPLES  NUM CHUNKS   NUM SERIES   SIZE
01ETN0R72SXN9A1FG732P7KFFN  2020-11-19 07:39:17 +0000 UTC  2020-11-19 07:44:17 +0000 UTC  5m0.001s     8            2            2            624B
01ETN0R74Y9AG1A1MKN4MZK7WM  2020-11-19 10:25:57 +0000 UTC  2020-11-19 10:30:57 +0000 UTC  5m0.001s     8            2            2            622B
01ETN0R76KXZ5VQECMDNES49J6  2020-11-19 13:12:37 +0000 UTC  2020-11-19 13:17:37 +0000 UTC  5m0.001s     8            2            2            625B

After without the -r flag:
BLOCK ULID                  MIN TIME       MAX TIME       DURATION     NUM SAMPLES  NUM CHUNKS   NUM SERIES   SIZE
01ETN0RFFJ42274NWR1GH0RTV6<PHONE_NUMBER>000<PHONE_NUMBER>001  5m0.001s     8            2            2            624
01ETN0RFJ1MZCHHS2SBZS8XC27<PHONE_NUMBER>000<PHONE_NUMBER>001  5m0.001s     8            2            2            622
01ETN0RFM98N3V4KD2DZXFGHGN<PHONE_NUMBER>000<PHONE_NUMBER>001  5m0.001s     8            2            2            625

@aSquare14

Should work for many people, awesome!

Sounds great ! 😁


Update stefano-tempesta.yml

Update to bio and location.

Docs Build status updates of commit eb859d5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/stefano-tempesta.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@stefanotempesta
Your change in this PR is live. Please check it on RD website: https://rd.microsoft.com


⚠ ClamAV has degraded performance

In 9291d74, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in 14fb840.


TOIL does not re-read CWL on restart

cwltoil does not seem to reread the CWL on restart. There are many scenarios where the CWL needs to be fixed for the job to restart, for example better resource specification or fixing parameters.

Unfortunately, as I understand it the restart feature of Toil is really only suitable for resuming after node failures, and it is not possible to update a workflow that has already started.
(Other CWL runners, for example Arvados, implement workflow resume differently in a way that allows applying fixes to partially executed workflows, so this is just a limitation of Toil.)

@evan-wehi I am not sure that re-reading the workflow is feasible at this point. Adding dynamic resource specification and parameters could be interesting. We have discussed monitoring progress. Being able to interact with the workflow would be great.

@ejacox @tetron Thanks for the info. I can appreciate re-reading the workflow could be difficult (the DAG could change for example). I'm interested in monitoring as well.


Feedback on 0.10 release UI

[x] In activity feed in the following, the line can be made thinner and subtler

[x] In explore page, we can change the name to hierarchical name instead of providing service name, database name, schema name, etc. Similar to how we do in dataset details page.

[x] If there are not enough searches, let's not show not empty line with table icon. If no data not found, we just say no recent searches.

[x] In all DELETE actions (not just team), we should say - "Are you sure you want to delete "XYZ". This action can't be undone once the deletion is complete. Please enter DELETE in the text box below". Only enabling the delete button after the user enters the text.

Review still in progress.

[ ] With initial sample data ingestion, there is a single dot displayed near the number of rows as shown. This dot lacks context and looks hanging in the middle of the page unless the user hovers over it.

https://user-images.githubusercontent.com/1051198/164114122-8cae3d55-be0c-4e6e-83f7-33f2489b0aab.mov
cc @devyani-kaushik

cc @vivekratnavel @devyani-kaushik

That dot is basically a graphical representation for one day's data, so our solution here is to hide the graph in this scenario

[ ] Need to update these Icons

[ ] Can we move the last word to second line completely instead of breaking the word ?

[ ] After the loading icon, the default graphic is shown for a second before populating users and teams

https://user-images.githubusercontent.com/1051198/164350606-2e6fb6fb-c21e-44d4-b0ae-8f0f5d6fa12c.mov

[ ] Admin user does not see "Join Team" button
[ ] "Admin" role is not displayed anywhere when an admin logs in
[ ] Clicking on the user card should redirect to the user page
[ ] Should we have a page for bot users as well (ex: there is no page for ingestion-bot)

[ ] Remove tooltip from entity feed card header

[ ] When no teams are available, the admin should have an option to create new team. Also, there should be a greyed out text "No Teams" under Teams

[ ] Description not shown as required but the backend api throws an error as required

the red dot is not there for description as it is for name

[ ]  Need to fix alignment of the service type grid. it's width should match the width of the drop down
like in the image below

[ ] Need to handle loader for ingestion tab on service details page

https://user-images.githubusercontent.com/86726556/164735816-92b60290-4d21-4854-ab8e-842f8bf0ca7e.mov

[ ] User page follows an entirely different layout. We should reduce the conversation/activity feed width to the same width as the landing page with a three-column layout. Instead of Owned and following data being a separate tab, it could be shown similar to the landing page as well in the right-most column. @harshach

[ ] Add real use profile picture on the user page in the left-most column.

[ ] User profile link is not consistent. It looks like Admin roles doesn't have a profile link?

[ ] Remove the Add Reviewer tab for this release. As its out of alignment. We will add Reviewer to be similar in UI/UX as adding a Owner

[ ] can we add profile picture in user profile page and as well as sign in panel in header navigation cc @vivekratnavel

[ ] when the user selects a term on the left side panel and clicks Add Term to add a child term underneath it. After creation we select the newly added term

The issue with that is user intends to select customers and keep adding new terms underneath it. But as soon as they add one child term its selected and if they click add term again with the intention of adding one under customers it will add underneath the newly created term.

[ ] "write your description" should be grayed out . Currently it looks like there is already text and I can create a term without adding anything

[ ] Adding a Glossary Term is not showing up in Activity Feed


feat: enable Do Not Disturb mode in CI env

Problem
Sometimes tests are falling due to the the "Updates available" notifications that appear on macOS devices and catch focus of screen reader.
Solution
When --ci flag is provided, enable Do Not Disturb mode.
Enabling Do Not Disturb mode programmatically is not trivial – for macOS 11 it updates system defaults and restarts notification processes but for macOS 12 it opens System Preferences and toggles Focus Mode switch via applescript. That UI interactions are not ideal and might be unstable, but I have not found a better approach to deal with Focus mode.
Testing
I have added testing matrix to run setup on macos-11, macos-12 and macos-11 (right now it is macos-11) on every push and every month – it will notice maintainers if new macOS update break backward compatibility

For Monterey have you looked into https://github.com/arodik/macos-focus-mode (the last comment on one of your linked threads) - it seems promising for MacOS 12 without needing to delve into UI scripting?

For Monterey have you looked into https://github.com/arodik/macos-focus-mode (the last comment on one of your linked threads) - it seems promising for MacOS 12 without needing to delve into UI scripting?

Surely I have. This package uses macOS shortcuts mechanism that allows you to visually build scripts in Shorutcts app and than, when shortcut is installed, run any shortcut from the shell. The problem is that installing shortcut is only possible via UI interaction (calling installFocusModeShortcut() from mentioned package opens UI were "Install shortcut" button is present). So, as far as UI interactions seem to be inevitable I decided to use in to set focus mode directly instead of installing shortcut and then calling it.
I have macbooks both with Big Sur and Monterey, so if you have any other ideas I can test them locally.


Resizing of textarea in Webkit

Consider adding this css rule near "Text input and textarea sizes"
textarea {max-width: 100%;}

It will prevent textareas from being resized beyond the width of their parent element. I don't know how cross-browser compatible this is, but it works as far as I have tested in the webkit browsers I have available (newest safari, chrome and iOS simulator on OS X Lion). It might also be worth considering adding a .lockedclass like this:
textarea.locked 		{ max-width: 254px;}
textarea.locked.small 	{ max-width: 134px; }
textarea.locked.medium 	{ max-width: 254px; }
textarea.locked.large 	{ max-width: 434px; }
textarea.locked.expand 	{ max-width: 100%; }

Good call. Done and committed to forms.css.


⚠ Jenkins Plugins Artifactory has degraded performance

In 6fd35be, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2526 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 9534b3a after 12 minutes.


SpEL Expressions in config does not handle non-string-like values

Describe the issue
When the config has a SpEL expression which looks like a boolean or number (i.e. things that YAML doesn't automatically treat as a string), then applications will fail to startup with:
***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'spring.cloud.stream.bindings.<binding-name>.producer.partition-key-expression' to org.springframework.expression.Expression:

    Property: spring.cloud.stream.bindings.producer.partition-key-expression
    Value: "true"
    Origin: class path resource [application.yml] - 84:18
    Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.Boolean] to type [org.springframework.expression.Expression]

To Reproduce
Steps to reproduce the behavior:

Use any config property declared with the type Expression, such as spring.cloud.stream.bindings.<binding-name>.producer.partition-key-expression.

Note: I'm using a yaml file for my config when I tested this.
Using partition-key-expression here just as a way to illustrate the problem. We're not actually using partition-key-expression to set number or boolean values, but a custom config property declared in the same way.

Set this config property with a boolean-like or number-like value, such as true or 5. e.g.:

spring:
  cloud:
    stream:
      bindings:
        <binding-name>:
          producer:
            partition-key-expression: 5  # must not be quoted in ""

Start app
See error

Version of the framework
Spring boot: 3.3.2
Spring Cloud: 2023.0.3
Expected behavior
All values passed to expression-typed config options should automatically be treated as strings when converting them to Expressions.
My guess is that SpelConverter either needs to be updated to handle boolean and number types, or delegate to the ConversionService to convert any arbitrary value to a String before converting it to an Expression.

Well, by definition SPeL expression has to be expressed as string, so why did you expect it to work? I mean you can pass "true" and "5", right?

You could, but other config options are coerced into strings if the config property's type was declared as a String. Without needing to wrap it in quotes. It'd be nice if properties declared as an Expression type were also coerced similarly.

Back-porting it to 4.1.x as well


applied cpu usage fix to tutorials

Applied CPU usage fix to tutorial code.

Follow up fix/improvement of #1

Obsolete due to https://github.com/ROBOTIS-GIT/ROBOTIS-THORMANG-MPC/pull/17


matchkeys doesn't match terraform matchkeys

matchkeys in std (https://github.com/pulumi/pulumi-std/blob/master/std/matchkeys.go) is only take two parameters, "values" and "searchList". Terraform documents matchkeys as taking three parameters, "valuesList", "keysList" and "searchSet": https://developer.hashicorp.com/terraform/language/functions/matchkeys
We should update our matchkeys to match.

I marked this as "breaking" because changing the API is technically a breaking change, but because this package doesn't currently have any semantic versioning guarantees, I don't think that should dissuade us from making this change.

👍 as you point out this is pre-v1 so we're ok to make breaking changes, and that is the current expectation for this provider (we're not yet advertising as something for people to really use yet)

We've already shipped 1.x, but I think it's still reasonable to make this change as this provider is currently primarily used for converted programs and I don't expect anyone to be currently using matchkeys.

Although, this is one of those that likely falls in the bucket of https://github.com/pulumi/pulumi-std/issues/19. Currently, our matchkeys operates on strings, but in TF, it's operating on collections of any type.


Example for typescript theming generates errors when decleration is set to true

Version
styled-components: 2.4.0
typescript : 2.3.3
Reproduction
Using this example in your docs:

import * as styledComponents from 'styled-components';
import {
	StyledComponentClass,
	ThemedStyledComponentsModule
} from 'styled-components';

import {IThemeInterface} from './theme';

const {
	default: styled,
	css,
	injectGlobal,
	keyframes,
	ThemeProvider
} = (styledComponents as ThemedStyledComponentsModule<
	any
>) as ThemedStyledComponentsModule<IThemeInterface>;

export {
	styled,
	css,
	injectGlobal,
	keyframes,
	StyledComponentClass,
	ThemeProvider
};
export default styled;

with a tsconfig declaration value of true { declaration: true }
generates errors when importing the module.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:10
    TS2304: Cannot find name 'styled'.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:18
    TS2304: Cannot find name 'css'.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:18
    TS2552: Cannot find name 'css'. Did you mean 'CSS'?

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:23
    TS2304: Cannot find name 'injectGlobal'.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:37
    TS2304: Cannot find name 'keyframes'.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:2:70
    TS2304: Cannot find name 'ThemeProvider'.

ERROR in [at-loader] ../dist/style/styled-components.d.ts:3:16
    TS2304: Cannot find name 'styled'.

This is the d.ts file that gets generated with tsc -m commonjs --outDir dist, notice the missing import / decleration values:
styled-components.d.ts

import { StyledComponentClass } from 'styled-components';
export { styled, css, injectGlobal, keyframes, StyledComponentClass, ThemeProvider };
export default styled;

This is typescript issue: https://github.com/Microsoft/TypeScript/issues/9944

Hey folks, TS typings for styled-components have been moved to DefinitelyTyped, so please feel free to move your issue there where you'll receive better community support.


Publish on Play?

Do people want this or is the APK in releases enough?
Please thumbs up emoji react if you want this so I can gauge interest. Thanks!

Please upload it on Play Store. I am getting There was a problem parsing the package. when installing the downloaded APK.

👍
Same here, I also get a parsing error.

@vipulyaara @SoftXperience Are you trying to install on a device running Android O (i.e. the preview)?

@nickbutcher No. I am trying on Pixel Nougat 7.1.2.

Same issue on lineage os 7.1.2 OnePlus 2

The minSdkVersion is 26 (Android O), as stated in the README.
You aren't supposed to able to install it on N.

Ah, that's your problem then. This app only works on Android O+ as that's when Adaptive Icons are introduced.

Ah I am sorry. I read all about them and just missed that while installing this app :/ Thanks. Will update and try.

@nickbutcher I think that 'This app only runs on API26+ devices.' is a quite hidden in a repository description, so it causes ''mistakes'' like this.
I think that this sentence should be next after a name of repository to avoid future problems ;-)

👍

I really hope upload it on Play Store (There is no such valid APP on the Play Store).
If you can, I hope it checks the Adaptive Icon of the "App shortcut"
Very very much;-)


automatic gradient computation for nested While (in python interface) fails

I drew up this simple example to show that nested While gradient computation fails in the python interface (as the gradContext for the forwardContext of the second input of the Add op is None). Toggling the comment demonstrates the issue is not with all control flow graphs.
import tensorflow as tf
from tensorflow.python.ops import control_flow_ops

OUTER_LOOP_MAX = 5
INNER_LOOP_MAX = 3

inner = tf.placeholder("float32", [1, INNER_LOOP_MAX])
outer = tf.placeholder("float32", [1, OUTER_LOOP_MAX])

X = tf.Variable(tf.zeros([1], dtype="float32"))

max = tf.constant(1)

def outer_cond_func(c1, outer_acc, outer_array):
    return tf.less(c1, OUTER_LOOP_MAX)

def outer_body_func(c1, outer_acc, outer_array):
    concat = tf.concat(0, [[0], tf.expand_dims(c1, 0)])
    slice = tf.slice(outer_array, concat, [1, 1])
    outer_num = tf.reduce_sum(slice)

    def inner_cond_func(c2, inner_acc, inner_array):
        return tf.less(c2, INNER_LOOP_MAX)

    def inner_body_func(c2, inner_acc, inner_array):
        concat2 = tf.concat(0, [[0], tf.expand_dims(c2, 0)])
        inner_num = tf.reduce_sum(tf.slice(inner_array, concat2, [1,1]))
        inner_acc += inner_num * outer_num * X

        c2 += 1
        return c2, inner_acc, inner_array

    _, inside_summed_products, _ = control_flow_ops.While(inner_cond_func, inner_body_func, [tf.constant(0), tf.constant(0.0), inner])

    def true_func():
        return 2*outer_num

    def false_func():
        return 3*outer_num

    cond_num = control_flow_ops.cond(tf.less(c1,max),true_func, false_func)
    outer_acc = tf.add(outer_acc, inside_summed_products)
    # outer_acc = tf.add(outer_acc, cond_num)
    c1 += 1
    return c1, outer_acc, outer_array

_, value, _ = control_flow_ops.While(outer_cond_func, outer_body_func, [tf.constant(0), tf.constant(0.0), outer])
control_flow_ops.switch()

loss = value * X
train_op = tf.train.GradientDescentOptimizer(learning_rate=0.1).minimize(loss)

sess = tf.Session()
init = tf.initialize_all_variables()
sess.run(init)

for i in xrange(1, 10):
    feed_dict = {inner: [[1.0, 2.0, 3.0]], outer: [[4.0, 5.0, 6.0, 7.0, 8.0]]}
    print sess.run([train_op, loss], feed_dict=feed_dict)

+1

Thank you for reporting this issue.
While is not a documented feature, partly because of issues like this.  We
will work on it but make no promises as to when it'll be ready.
On Wed, Dec 23, 2015 at 4:15 PM, Angel Darquea<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#issuecomment-167012425
.

Cool. I'm happy to help work on it. Vijay suggested I post the bug in case you guys were changing things there, just so you knew I was doing it. I'm still having trouble getting my dev environment set up (being able to just test the python changes without bazel recompiling all the c++ every time I make a small change to the python code), but hopefully I'll get that resolved soon.

You should be able to rerun your python test directly from bazel-bin
between changes (the underlying code should be symlinked to the source
code) without rerunning bazel test ....
On Wed, Dec 23, 2015 at 7:35 PM, trubin<EMAIL_ADDRESS>wrote:

Cool. I'm happy to help work on it. Vijay suggested I post the bug in case
you guys were changing things there, just so you knew I was doing it. I'm
still having trouble getting my dev environment set up (being able to just
test the python changes without bazel recompiling all the c++ every time I
make a small change to the python code), but hopefully I'll get that
resolved soon.
—
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#issuecomment-167036212
.

Thanks, I have got it working in my debugger, though I have to manually edit the auto generated bazel test file because even though I make changes to kernel_tests/control_flow_ops_test.py before i run "bazel test //tensorflow/python:control_flow_ops_py_test", the generated file in bazel-bin/tensorflow/python/control_flow_ops_py_test.runfiles/tensorflow/python/kernel_tests/control_flow_ops_test.py doesn't include my changes (this seems to be the only file that isn't a symlink). Maybe this is a different bug?

I believe the bug is caused by the following logic:
When computing a gradient (gradients.py::gradients() function), the has_control_flow bool is set to true when there is an "Exit" op anywhere in the subgraph under consideration (comes from _PendingCount()). Obviously this is true for a nested while. As we visit all the ops in the subgraph in reverse order [op being iterated in a queue of ops] , op is told that it is in a GradWhileContext through the function control_flow_ops.EnterGradWhileContext(op) (this is the only place in the code that function is called). EnterGradWhileContext creates a grad_ctxt for op's control_flow_context assuming that the control_flow_context is a WhileContext.
So far so good. The issue is that in a nested While, presumably the output of the inner while will be used as the input to some node used in returning the output of the outer While, so the op associated with the op of the inner while output tensor will not have made it into the queue of ops before the tensor is needed as an input, and so will never have EnterGradWhileContext called on it.
I modifying EnterGradWhileContext to search down the tree of input ops/output tensors so that a grad_ctxt is created and entered recursively for all ops to be used, and then similarly the whole tree exited when ExitGradWhileContext is called on an op.
Not sure who might be able to let me know if this is a good idea or not?

I see that this is significantly more complicated than just entering a GradWhileContext for each input as the frame has to be the same when the Executor tries to run the kernels. Currently focusing on the forwardAccumulator of historical values for a given context to see if I can get the frames to match up.

@trubin are you still working on this?

This should have been fixed at head.

I am still getting the error in 0.7.1. See the following test that demonstrates the error:
import tensorflow as tf
from tensorflow.python.ops import control_flow_ops
OUTER_LOOP_MAX = 5
INNER_LOOP_MAX = 3
inner = tf.placeholder("float32", [INNER_LOOP_MAX])
outer = tf.placeholder("float32", [OUTER_LOOP_MAX])
X = tf.Variable(tf.zeros([1], dtype="float32"))
def outer_cond_func(c1, outer_acc, outer_array):
return tf.less(c1, OUTER_LOOP_MAX)
def outer_body_func(c1, outer_acc, outer_array):
slice = tf.slice(outer_array, tf.expand_dims(c1, 0), [1])
outer_num = tf.reduce_sum(slice)
def inner_cond_func(c2, inner_acc, inner_array):
    return tf.less(c2, INNER_LOOP_MAX)

def inner_body_func(c2, inner_acc, inner_array):
    inner_num = tf.reduce_sum(tf.slice(inner_array, tf.expand_dims(c2, 0), [1]))
    inner_acc += inner_num * outer_num * X

    c2 += 1
    return c2, inner_acc, inner_array

_, inside_summed_products, _ = control_flow_ops.While(inner_cond_func, inner_body_func, [tf.constant(0), tf.constant(0.0), inner])

outer_acc = tf.add(outer_acc, inside_summed_products)
c1 += 1
return c1, outer_acc, outer_array

_, value, __ = control_flow_ops.While(outer_cond_func, outer_body_func, [tf.constant(0), tf.constant(0.0), outer])
loss = value * X
train_op = tf.train.GradientDescentOptimizer(learning_rate=0.1).minimize(loss)
sess = tf.Session()
init = tf.initialize_all_variables()
sess.run(init)
for i in xrange(1, 10):
feed_dict = {inner: [1.0, 2.0, 3.0], outer: [4.0, 5.0, 6.0, 7.0, 8.0]}
print sess.run([train_op, loss], feed_dict=feed_dict)

To be a little clearer, the error happens at graph construction time (see below). I'd be really excited to help solve this bug, but the last time I went down this path it turned out major changes were being made to the entire ControlFlow infrastructure. Could you let me know if that's the case again?
Thanks,
Tyler
Traceback (most recent call last):
File "/home/tyler/code/Sphere/SideProjects/TKGVS/test.py", line 40, in
train_op = tf.train.GradientDescentOptimizer(learning_rate=0.1).minimize(loss)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/optimizer.py", line 190, in minimize
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/optimizer.py", line 241, in compute_gradients
colocate_gradients_with_ops=colocate_gradients_with_ops)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gradients.py", line 481, in gradients
in_grads = _AsList(grad_fn(op, *out_grads))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_grad.py", line 365, in _MulGrad
return (array_ops.reshape(math_ops.reduce_sum(grad * y, rx), sx),
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 502, in binary_op_wrapper
return func(x, y, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 829, in mul
return _op_def_lib.apply_op("Mul", x=x, y=y, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/op_def_library.py", line 655, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2104, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1133, in init
self._control_flow_context.AddOp(self)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 1286, in AddOp
self._AddOpInternal(op)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 1307, in _AddOpInternal
self.AddValue(x)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 1244, in AddValue
real_val = grad_ctxt.grad_state.GetRealValue(val)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 655, in GetRealValue
h_value = cur_grad_state.AddForwardAccumulator(cur_value)
AttributeError: 'NoneType' object has no attribute 'AddForwardAccumulator'

Yes, we made some major changes to support nested loops.  There is no pending major changes in the pipeline for now.  You are welcome to take a look at this problem.

(I do suggest trying to get a PR in in the next couple of weeks, though)
On Mar 21, 2016 4:18 PM, "Yuan Yu"<EMAIL_ADDRESS>wrote:

Yes, we made some major changes to support nested loops. There is no
pending major changes in the pipeline for now. You are welcome to take a
look at this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#issuecomment-199531386

Hey all, sorry I haven't been able to get to this until now. @yuanbyu from the todos in the code it looks like you might have been involved in writing control_flow_ops.py. I'm looking at the function GetRealValue , and I'm a little confused by this code (line 635-636 of control_flow_ops.py in 7003b76)  :
      if self._outer_grad_state:
        cur_grad_state = cur_grad_state.outer_grad_state

It would appear that you are verifying that self._outer_grad_state is not None in the if block, but then attempting to access cur_grad_state.outer_grade_state, so maybe the check should be that cur_grad_state.outer_grad_state is not None?

Tensorflow is still not able to handle backprop over nested scans.
@yuanbyu @ebrevdo, any updates on this?

This is a known limitation :(
This will require some revamping of the TensorArray and a bit of additional
work, to make it happen.  No ETA right now.
On Wed, May 18, 2016 at 3:59 PM, Sherjil Ozair<EMAIL_ADDRESS>wrote:

Tensorflow is still not able to handle backprop over nested scans.
@yuanbyu https://github.com/yuanbyu @ebrevdo
https://github.com/ebrevdo, any updates on this?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#issuecomment-220182751

+1
Still not able to handle backprop over nested while loops.

+1, this functionality would be super useful for some stuff I am working on.

ACT only requires a while_loop inside the rnncell, not a scan, and does not require TensorArray except in the outer dynamic_rnn call. You should be able to implement it without running into this bug.

Still no eta for fixing nested scan.

@ebrevdo, thanks for your hints - I have created a SO for a question I have regarding this; your TF wisdom would be gratefully received.
http://stackoverflow.com/questions/37822097/using-tensorarrays-in-the-context-of-a-while-loop-to-accumulate-values

nested functional ops should now work (or at least the change will be pushed to github w/in the next week).  reopen if you're still having a problem after the next push.

You guys rock, thanks.
On Thu, Jun 16, 2016, 8:38 PM ebrevdo<EMAIL_ADDRESS>wrote:

Closed #593 https://github.com/tensorflow/tensorflow/issues/593.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#event-695482187, or mute
the thread
https://github.com/notifications/unsubscribe/AA2YOMapWqrfetM5Q-AhktmhR8Tti69Vks5qMhaagaJpZM4G6XIv
.

Sweet. Cheers!

Hi, I use r0.9 version but still have an error when use nested map_fn and a variable involved in calculations of inner function.
The error is
tensorflow.python.framework.errors.InvalidArgumentError: Input 0 of node gradients/map/while/map/TensorArrayPack_grad/TensorArrayGrad/TensorArrayGrad was passed string from gradients/map/while/map/TensorArrayPack_grad/TensorArrayGrad/TensorArrayGrad/StackPop:0 incompatible with expected string_ref.
The code is
`import tensorflow as tf
def inner_loop(t):
def fn(n): return n + var # using var here leads to the error.
return tf.map_fn(fn=fn, elems=t, parallel_iterations=1)
def outer_loop(input):
def fn(n): return inner_loop(n) #if I would return inner_loop(n)+var here no errors appear.
return tf.map_fn(fn=fn, elems=input, parallel_iterations=1)
with tf.Session() as sess:
var = tf.Variable(tf.constant(1.0))
input = tf.to_float(tf.convert_to_tensor([[1,2],[3,4],[5,6]]))
res = outer_loop(input)
optimizer = tf.train.AdamOptimizer(learning_rate=0.001)
trainOperation = optimizer.minimize(tf.reduce_mean(tf.square(res)))
sess.run(tf.initialize_all_variables())
sess.run(trainOperation)`

Am I missing something?

This appears to still be an issue

Fix should be available w/in a week or so.
On Thu, Aug 11, 2016 at 7:05 PM, Matt Sevrens<EMAIL_ADDRESS>wrote:

This appears to still be an issue
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/593#issuecomment-239344650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim0Oa4kahXMwQ5kGFfMZYvFrucROOks5qe9T4gaJpZM4G6XIv
.

A possible fix should be available in the next push.

👍

This issue still persists, and it is already 2018. Shouldn't this be given high priority to work on ? Without nested higher order function, mini batch program won't be possible for a number of algorithms to be implemented in TensorFlow.

@shengc please open a bug with details about what version of TF you're using and a minimal reproducible example, and we'll look into it.

@ebrevdo opened issue here: https://github.com/tensorflow/tensorflow/issues/17555


Addition of cmake flag FETCHCONTENT_FULLY_DISCONNECTED=ON breaks formulas

brew doctor output
Your system is ready to brew.

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.2.20-26-g45e0ce0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 45e0ce0635f3a98e7f7b797c7953cc5ab0cce1c7
Last commit: 19 minutes ago
Core tap HEAD: ec19424c2a357cfeb1d277812058371e049db6bc
Core tap last commit: 44 minutes ago
Core tap JSON: 30 Apr 11:06 UTC
Core cask tap HEAD: 531029e3b0a4f22c73c7bac95d17aa832d895cfd
Core cask tap last commit: 3 hours ago
Core cask tap JSON: 30 Apr 11:06 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.45.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: <IP_ADDRESS>.1.1708646388
Xcode: 15.3
Rosetta 2: false

What were you trying to do (and why)?
Trying to build a formula with --HEAD that worked until a few weeks ago. The formula is a tap, cwi-dis/cwipc, but I'm pretty convinced that many other formulae will run into this problem.
What happened (include all command output)?
It did not build. One of the cmake dependencies, nlohmann_json::nlohman_json, was not found. The CMakeLists.txt of the cwipc repo uses the FetchContent macro to obtain the nlohmann_json package (which is a header-file-only package, and FetchContent is the preferred way of including it in your build.
Since the merge of #17075 brew will disable downloading of additional content by FetchContent. I fully understand the reasoning behind this merge (and I even somewhat agree:-), but as of this merge I presume many formulae have been broken, and moreover there is no clear error message that the formula maintainer gets that indicates what the problem is.
Unfortunately FetchContent() does not give an error or warning message if it has to download a package but is not allowed to do so. So the errors occur only much later in the build process, when the package is used but found to be missing.
What did you expect to happen?
Build should work.
Step-by-step reproduction instructions (by running brew commands)
brew tap cwi-dis/cwipc
brew install --HEAD cwipc

@carlocab agreed on all points. I think the change is in principle a good idea, I will change my repo to not use FetchContent when building with brew, in stead adding a dependency.
I've opened https://gitlab.kitware.com/cmake/cmake/-/issues/25946

For reference to others coming across this issue in the future: for my formula the solution was to first try to find the package with a normal find_package(nlohmann_json) and only use FetchContent if that couldn't find it.
And then adding a depends_on to my formula.
Can be closed for me, but I'll leave that to @carlocab in case you want to keep it open.

I've responded with a comment on the PR that added FETCHCONTENT_FULLY_DISCONNECTED. I recommend reverting that change, it is an abuse of that option and it violates one of the documented preconditions for using it.

This should be addressed via https://github.com/Homebrew/brew/pull/17310.


FAIL: //tensorflow/core:util_stat_summarizer_test

System Info
  Name:						 Hawaii
  Vendor:					 Advanced Micro Devices, Inc.
  Device OpenCL C version:			 OpenCL C 2.0
  Driver version:				 1912.5 (VM)
  Profile:					 FULL_PROFILE
  Version:					 OpenCL 2.0 AMD-APP (1912.5)
  Extensions:					 cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes

ComputeCpp 0.2.0
To reproduce
bazel test --config=sycl --local_test_jobs=4 -k --test_lang_filters=cc,py --action_env=LD_PRELOAD=/usr/lib/libOpenCL.so.1 --test_timeout 300,750,1200,3600 //tensorflow/core:util_stat_summarizer_test

Error
[  PASSED  ] 1 test.
external/bazel_tools/tools/test/test-setup.sh: line 168: 19794 Segmentation fault      (core dumped) "${TEST_PATH}" "$@"

This only happens very occasionally, around 5 out of 50 times the test is run.
Add --runs_per_test=50 to bazel test to reproduce. The test is super quick to run, so running it this many times is not a problem.

Looks to be a seg fault inside the GSYCLInterface destructor, when destroying the Eigen::QueueInterface objects.
I can't get the crash to reproduce when the tests are run serially, only when there are at least 3 tests running at once.

Seg fault comes from the tensorflow::Buffer destructor. A tensorflow::Buffer is a wrapper around an array and a pointer to the allocator, essentially
struct Buffer {
  T* data;
  Alloc* alloc;
}

And the destructor uses the allocator to call alloc->deallocate(data). The problem here is that there are Tensors which are left on the SYCL device and the underlying buffer is only deleted at program exit. However there is then a race condition between deleting the buffer and deleting the SYCL allocators stored in GSYCLInterface. When the allocator is deleted first, the buffer will cause a segfault when it tries to deallocate its array.

Fixed by #136

Closing


Use more suitable value for job ID

GITHUB_RUN_NUMBER is more human-readable value than GITHUB_RUN_ID. It is also consistent with eg. Travis, which also uses similar incrementing jobs counter.

GITHUB_RUN_NUMBER | A unique  number for each run of a particular workflow in a repository. This  number begins at 1 for the workflow's first run, and increments with  each new run. This number does not change if you re-run the workflow  run.

https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables

Hi, OndraM, sorry for getting back to you so late, thank you for your work.
I use GITHUB_RUN_NUMBER as the job ID because it has the same configuration as the official program. https://github.com/coverallsapp/github-action/blob/5984097c6e76d873ef1d8e8e1836b0914d307c3c/src/run.ts#L47
In this way, when a project contains PHP and JS codes, they will have the same job ID, so that the code coverage can be merged correctly. For more detail, please refer to the example code: https://github.com/twinh/github-actions-test/blob/2a3d2537e95dd245ed3ea39d97841c3c627e531b/.github/workflows/release.yml#L118
And the running result:
https://coveralls.io/builds/31663442
If you still want to use GITHUB_RUN_NUMBER as the job ID, maybe you can add a configuration and call it like this:
php-coveralls --job-id-env=GITHUB_RUN_NUMBER


Push to live Dec 8 - 2016

:warning: Validation status: warnings

File
Status
Preview URL
Details

aspnetcore/fundamentals/configuration/_static/change.png
:warning:Warning

Details

aspnetcore/fundamentals/configuration/_static/first.png
:warning:Warning

Details

aspnetcore/fundamentals/configuration.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/_static/config-console.png
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/_static/custom-config.png
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/_static/index-view.png
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/ConfigDemo.sln
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/ConfigInMemory/App.config
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/ConfigInMemory/ConfigInMemory.csproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/ConfigInMemory/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/ConfigInMemory/packages.config
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/IOptionsSnapshot2/Startup.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CodeSnippets/ConfigSummarySnippet.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CommandLine/CommandLine.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CommandLine/MyWindow.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CommandLine/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CommandLine/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigConsole/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigJson/ConfigJson.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigJson/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigJson/appsettings.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigJson/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/ConfigurationContext.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/ConfigurationValue.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/EntityFrameworkConfigurationProvider.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/EntityFrameworkConfigurationSource.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/EntityFrameworkExtensions.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/CustomConfigurationProvider/appsettings.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/IOptionsSnapshot/IOptionsSnapshot.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/IOptionsSnapshot/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/IOptionsSnapshot/Startup.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/IOptionsSnapshot/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemory/InMemory.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemory/MyWindow.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemory/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemory/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemoryGetValue/InMemoryGetValue.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemoryGetValue/MyWindow.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemoryGetValue/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/InMemoryGetValue/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ObjectGraph/AppOptions.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ObjectGraph/ObjectGraph.xproj
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ObjectGraph/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ObjectGraph/appsettings.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ObjectGraph/project.json
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/UsingOptions/Controllers/HomeController.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/UsingOptions/Controllers/HomeController2.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/UsingOptions/Models/MyOptions.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/UsingOptions/Models/MySubOptions.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/_static/change.png

Line unspecified: [Warning] Model "obj\viewmodel\fundamentals\configuration_static\change.png.xml.view.json" is transformed to empty string with template "Resource.xml"

aspnetcore/fundamentals/configuration/_static/first.png

Line unspecified: [Warning] Model "obj\viewmodel\fundamentals\configuration_static\first.png.xml.view.json" is transformed to empty string with template "Resource.xml"

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Refactor code

Relayer Dashboard Page: Switch from Goerli to Darwinia Chain, the connected account was still a MetaMask account.
Should let users connect polkadot wallet or just switch to polkadot accoount.

Switch from Goerli to Darwinia Chain, the connected account was still a MetaMask account. Should let users connect polkadot wallet or just switch to polkadot accoount.

fixed. now need to connect wallet again after switch


Issue with downloading large blobs

Bug report
Trying to download a large blob (20GB) by using DownloadToStreamAsync, Getting following exception after approx. 15 min.

Microsoft.Azure.Storage.StorageException: The operation was canceled.,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)",
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token),
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Security.SslStream.g__InternalFillBufferAsync|215_0[TReadAdapter](TReadAdapter adap, ValueTask1 task, Int32 min, Int32 initial)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Security.SslStream.ReadAsyncInternal[TReadAdapter](TReadAdapter adapter, Memory1 buffer)",
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, at System.Net.Http.HttpConnection.ReadAsync(Memory1 destination), 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)",
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---,
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.TimeoutStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.ByteCountingStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.TaskExtensions.WithCancellation[T](Task1 task, CancellationToken cancellationToken)",
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.StartCopyStreamAsyncHelper(Nullable1 copyLength, Nullable1 maxLength, CancellationToken token)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.StartCopyStreamAsync(Nullable1 copyLength, Nullable1 maxLength, CancellationToken cancellationToken)",
2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---, 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)"

Steps to Reproduce
Following code fails after 10-15 min. with TaskCanceledException.

Microsoft.Azure.Storage.CloudStorageAccount storageAccount =
Microsoft.Azure.Storage.CloudStorageAccount.Parse(config.ConnectionString);
            var client = storageAccount.CreateCloudBlobClient();
            var container = client.GetContainerReference(config.ImageSetContainer);
            var cloudBlockBlob = container.GetBlockBlobReference("largefile.zip");

            using (System.IO.Stream file = File.OpenWrite("largefile.zip"))
            {
                await cloudBlockBlob.DownloadToStreamAsync(file, new AccessCondition(), new BlobRequestOptions()
                {
                    RetryPolicy = new Microsoft.Azure.Storage.RetryPolicies.LinearRetry(TimeSpan.FromSeconds(5), 5)
                }, new Microsoft.Azure.Storage.OperationContext(), progressHandler, token);
            }

Expected behavior
The large blob should be downloaded after a while. A retry should catch temporary network issues.
Actual behavior
The code is shown above fails. It breaks downloading. It seems that the stream stops reading for whatever reason.
The exception ObjectDisposedException/TaskCanceledException/StorageException is thrown and no retry is executed. (see trace above)
The code fails in the following method inside of TimeOutStream.cs.
 public override async Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
        {
            var source = StartTimeout(cancellationToken, out bool dispose);
            try
            {
                return await this.wrappedStream.ReadAsync(buffer, offset, count, source.Token).ConfigureAwait(false);
            }
            // ** ERROR **
            catch (ObjectDisposedException)
            {
                source.Token.ThrowIfCancellationRequested();
                throw;
            }
            finally
            {
                StopTimeout(source, dispose);
            }
        }

Environment:

Microsoft.Azure.Storage.Blobs 11.1.5
Windows 10 .NET Framework 4.7 and .NET Core 3.1]
Executed locally (code shown above downloading the blob from azure storage and the same code executed inside of the web job in the appservice.

Question:
It seems that the stream just stops reading. Once that happens the operation is cancelled (by default 1:40 min. I tried to increase the NetworkTimeout value to 1hour. The same exception is thrown after 1hour. Is there some way to set some other timeouts in BlobRequestOptions to avoid this issue?
Please note, I have many either blobs 5-10GB size. All works fine instead of this blob which is is 24GB.

Bug report
Trying to download a large blob (20GB) by using DownloadToStreamAsync, Getting following exception after approx. 15 min.

Microsoft.Azure.Storage.StorageException: The operation was canceled.,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)",

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token),

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Security.SslStream.g__InternalFillBufferAsync|215_0[TReadAdapter](TReadAdapter adap, ValueTask1 task, Int32 min, Int32 initial)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Security.SslStream.ReadAsyncInternal[TReadAdapter](TReadAdapter adapter, Memory1 buffer)",

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, at System.Net.Http.HttpConnection.ReadAsync(Memory1 destination), 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)",

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---,

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.TimeoutStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.ByteCountingStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.TaskExtensions.WithCancellation[T](Task1 task, CancellationToken cancellationToken)",

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.StartCopyStreamAsyncHelper(Nullable1 copyLength, Nullable1 maxLength, CancellationToken token)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.StartCopyStreamAsync(Nullable1 copyLength, Nullable1 maxLength, CancellationToken cancellationToken)",

2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)", 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87, --- End of inner exception stack trace ---, 2020-09-06T21:14:57,Information,trainingjob-test,79216f,637350236977188811,0,8280,87," at Microsoft.Azure.Storage.Core.Executor.Executor.ExecuteAsync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext, CancellationToken token)"

Steps to Reproduce
Following code fails after 10-15 min. with TaskCanceledException.

Microsoft.Azure.Storage.CloudStorageAccount storageAccount =

Microsoft.Azure.Storage.CloudStorageAccount.Parse(config.ConnectionString);

            var client = storageAccount.CreateCloudBlobClient();

            var container = client.GetContainerReference(config.ImageSetContainer);

            var cloudBlockBlob = container.GetBlockBlobReference("largefile.zip");

            using (System.IO.Stream file = File.OpenWrite("largefile.zip"))

            {

                await cloudBlockBlob.DownloadToStreamAsync(file, new AccessCondition(), new BlobRequestOptions()

                {

                    RetryPolicy = new Microsoft.Azure.Storage.RetryPolicies.LinearRetry(TimeSpan.FromSeconds(5), 5)

                }, new Microsoft.Azure.Storage.OperationContext(), progressHandler, token);

            }

Expected behavior
The large blob should be downloaded after a while. A retry should catch temporary network issues.
Actual behavior
The code is shown above fails. It breaks downloading. It seems that the stream stops reading for whatever reason.
The exception ObjectDisposedException/TaskCanceledException/StorageException is thrown and no retry is executed. (see trace above)
The code fails in the following method inside of TimeOutStream.cs.

 public override async Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)

        {

            var source = StartTimeout(cancellationToken, out bool dispose);

            try

            {

                return await this.wrappedStream.ReadAsync(buffer, offset, count, source.Token).ConfigureAwait(false);

            }

            // ** ERROR **

            catch (ObjectDisposedException)

            {

                source.Token.ThrowIfCancellationRequested();

                throw;

            }

            finally

            {

                StopTimeout(source, dispose);

            }

        }

Environment:

Microsoft.Azure.Storage.Blobs 11.1.5

Windows 10 .NET Framework 4.7 and .NET Core 3.1]

Executed locally (code shown above downloading the blob from azure storage and the same code executed inside of the web job in the appservice.

Question:
It seems that the stream just stops reading. Once that happens the operation is cancelled (by default 1:40 min. I tried to increase the NetworkTimeout value to 1hour. The same exception is thrown after 1hour. Is there some way to set some other timeouts in BlobRequestOptions to avoid this issue?
Please note, I have many either blobs 5-10GB size. All works fine instead of this blob which is is 24GB.

name : Import Secrets
использует : hashicorp / vault-action
с :
url : https://vault-enterprise.mycompany.com:8200
method : token
caCertificate : $ {{secrets.VAULTCA}}
токен : $ {{secrets.VaultToken}}
пространство имен : ns1
secrets : |
секрет / ci / aws accessKey | AWS_ACCESS_KEY_ID;
secret / ci / aws secretKey | AWS_SECRET_ACCESS_KEY;
секрет / ci npm_token

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Thanks @jsquire.
I have found how the issue can be fixed. By commenting the line 172

However, the implementation looks as a feature and I'm not sure that commenting that out is the correct  way.  The cancelation token consists of two cancelations. One of them is bound to the NetworkTimeout, which causes that issue. So, the final solution must distinguish between two cancelation tokens inside of ReadAsync and prevent throwing of ObjectDisposedException when network timeout expires.
With that, enabled retry mechanism will retry the operation and all will work find.
To recap, the committed version does not work. with large files, because transient errors will not be handled throwing exception in the line 172. Not going to create PR, because the right solution requires more changes inside of ReadAsync (i.e.: split of linked tokens).
Hope this helps.
Damir

Hi,
This is a v11 issue you submitted, not a v12 issue. I recommend that you either reopen the original issue you had in the old library repo or you upgrade to the v12 library and see if any of the fixes or enhancements we have done in the v12 library resolve your issue.
Please reactivate if this is a v12 issue.

@amnguye this is not a v11 issue only. The same issue is in v12 too.
Exception:
at Microsoft.Azure.Storage.Core.Executor.Executor.d__1`1.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Daenet.ProductIdentification.Core.Storage.AzureStorageProvider.d__43.MoveNext() in ...
Inner Exception 1:
at System.Net.Http.HttpConnection.ContentLengthReadStream.d__3.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Storage.Core.TimeoutStream.d__34.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Storage.Core.ByteCountingStream.d__27.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Storage.Core.Util.TaskExtensions.d__01.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.d__16.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Storage.Core.Util.AsyncStreamCopier1.<StartCopyStreamAsync>d__15.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at Microsoft.Azure.Storage.Core.Executor.Executor.<ExecuteAsync>d__11.MoveNext()
Inner Exception 2
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
at System.Net.Security.SslStream.<g__InternalFillBufferAsync|215_0>d1.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Net.Security.SslStream.<ReadAsyncInternal>d__2141.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpConnection.d__90.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpConnection.ContentLengthReadStream.d__3.MoveNext()
Inner Exception 3:
The I/O operation has been aborted because of either a thread exit or an application request.


Sync Nodes component with incoming API changes

not able to test it, but it should be Ok when new API is released

Discussed on Slack, I will merge it and we will have temp 404s until BE release.


Add new "extensions" property to TokenInfo definition

This new "extensions" field is meant to contain any vendor-specific token metadata or any other extraneous data which a Token List creator might want to ship with their Token List.
example use cases:

adding a "color" for each token
adding a "description" for each token
adding a "verified" flag on tokens

😘🦄🗒

should we restrict the value types at first? strings, numbers, booleans, arrays of those 3 sounds sufficient, just to limit the size of the blob
69 is cool but what about less like 5-10 to start?

goal is to keep the token lists interoperable and of reasonable size

also may want to limit the pattern of the key as well

another note is we should have some unit tests, at least one with some working extensions, and one with extensions violating the schema

another note is we should have some unit tests, at least one with some working extensions, and one with extensions violating the schema
see https://github.com/Uniswap/token-lists/blob/master/test/tokenlist.schema.test.ts

yes sir mr moody man sir

i forked and merged this!


Add .lucide class to icons

It's cumbersome to add class="lucide" individually to all the icons I use. Also, there is a page on the official guide that specifies that .lucide is used for global styling.

Hey, thanks for the report, I have added this to the 0.428.1 version :D


Added Igea case study markdown and results

I accidentally included the igea.stl file. Will request new pull in a moment.


Update dependency in "azure-pipelines-tasks-azure-arm-rest-v2" of "typed-rest-client" to 1.8.4

Package "azure-pipelines-tasks-azure-arm-rest-v2"
Description: Update version of "typed-rest-client" dependency to "1.8.4" to fix high vulnerability warning:

Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) https://github.com/microsoft/typed-rest-client/issues/284
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

@tatyana-kostromskaya have we checked that there are no in-the-box tasks which will pick up this update automatically?
If there are such tasks - have we tested them/reviewed for e2e tests coverage?

@tatyana-kostromskaya have we checked that there are no in-the-box tasks which will pick up this update automatically?
If there are such tasks - have we tested them/reviewed for e2e tests coverage?

I checked all Tasks and all of them have either fixed version in package.json or fixed version in package-lock.json. So looks like no one tasks should take new version automatically.


better styling for indentation-based block quotes

Currently block quotes are rendered as if they were code blocks, but this is not appropriate.

Closing because this only happens for indentation-based block quotes, and not normal > quotes


Would love to have month/day/year as a data type

Like the format January 1, 2001. Really useful when creating mockups for lists of things that all have a date associated with them, like a list of emails.

Upvote


Switching to webpack but there is stil the system.config.ts...

"We changed the build system between beta.10 and beta.12, from SystemJS to Webpack."
I use the beta14 and created an application.
There is a file system-config.ts and I asked myself why is that file still there is you switched to Webpack?
Is this file still needed with webpack now?

It's not needed, see upgrade instructions:

Delete files that are not needed anymore.

rm src/system-config.ts
rm src/typings.d.ts

@bonnici But why are these files not deleted in the latest download? I mean since when does the customer has to cleanup the product of the supplier?
That makes no sense to me.
Customers using the first time angular 2 cli have to delete files that the structure makes sense?

That's just the price you have to pay when you use a beta I'm afraid. Also
they don't know what you might have done with that file so they don't just
want to delete it automatically.
On 17 Sep 2016 18:52, "bastienJS"<EMAIL_ADDRESS>wrote:

@bonnici https://github.com/bonnici But why are these files not deleted
in the latest download? I mean since when does the customer has to cleanup
the product of the supplier?
That makes no sense to me.
Customers using the first time angular 2 cli have to delete files that the
structure makes sense?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/2182#issuecomment-247758124,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDwU7tbD-IfJk2CRH1MPG3G-exw-8F4ks5qq6pDgaJpZM4J_UcL
.

Yes I was a bit pissed from the beta router/forms changes 5 times all together... Then I even did not correctly read "rm src/system-config.ts" I read tsconfig.json. For this I apologize to the developers!


[BUG] No module named 'cucim.clara._cucim'

cucim-cu12==2.4.0 works well in python 3.10, but not with 3.9
======================================================================
ERROR: test_wsi_sliding_window_splitter (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_wsi_sliding_window_splitter
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/home/runner/work/MONAI/MONAI/tests/test_wsi_sliding_window_splitter.py", line 26, in <module>
    has_cucim = has_cucim and hasattr(cucim, "CuImage")
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/lazy_loader/__init__.py", line 82, in __getattr__
    submod = importlib.import_module(submod_path)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/cucim/clara/__init__.py", line 21, in <module>
    from ._cucim import CuImage, DLDataType, DLDataTypeCode, cache, filesystem, io
ModuleNotFoundError: No module named 'cucim.clara._cucim'

related job
python3.10: https://github.com/Project-MONAI/MONAI/actions/runs/8658364208/job/23742102164#step:7:24659
python 3.9: https://github.com/Project-MONAI/MONAI/actions/runs/8658364208/job/23742102008#step:7:32219

Thanks, @KumoLiu, for the feedback!
It appears that the wheel files have not been properly updated to the PyPI registry: https://pypi.org/project/cucim-cu12/24.4.0/#files
The team is addressing this issue. Thank you!

Ok the wheels should now be up
@KumoLiu could you please retest?

Hi @gigony and @jakirkham, thanks for the quick fix.
I retested, works well now.
https://github.com/Project-MONAI/MONAI/actions/runs/8810156566/job/24182078367?pr=7696#step:7:16093

Glad to hear it. Thanks @KumoLiu ! 🙏
Let's close this out as resolved then


Allow setting an OPENAI_ENDPOINT

Currently, the application is hardcoded to use the default OpenAI endpoint. This limits users to only using the official OpenAI models. To provide more flexibility and allow users to leverage alternative Large Language Models (LLMs), we should introduce a configuration option to set a custom OpenAI endpoint.
By allowing users to set a custom OPENAI_ENDPOINT, they can integrate with other LLM providers, such as AWS Bedrock via LiteLLM. This would enable users to take advantage of different LLM models and potentially benefit from cost savings or performance improvements offered by alternative providers.

Thanks @michaellatman -- I agree. Adding more flexibility here is a priority.

I currently am using GPT4ALL and Jan which both support api access. I'd love to try this with those.

Here is my code to send a prompt to Jan in case that is useful for you to see:
import requests
import json
from datetime import datetime
from tqdm import tqdm

class JanPrompt:
    def __init__(self, ip_address, port, agent_message, command_message):
        self.ip_address = ip_address
        self.port = port
        self.agent_message = agent_message
        self.command_message = command_message
        self.url = f"http://{self.ip_address}:{self.port}/v1/chat/completions"

    def compose_payload(self):
        payload = {
            "messages": [
                {"content": self.agent_message, "role": "system"},
                {"content": self.command_message, "role": "user"}
            ],
            "model": "mistral-ins-7b-q4",
            "stream": True,
            "max_tokens": 2048,
            "stop": ["hello"],
            "frequency_penalty": 0,
            "presence_penalty": 0,
            "temperature": 0.7,
            "top_p": 0.95
        }
        return payload

    def send_prompt(self):
        headers = {'Content-Type': 'application/json'}
        payload = self.compose_payload()
        response = requests.post(self.url, headers=headers, data=json.dumps(payload), stream=True)
        return self.handle_stream(response)

    def handle_stream(self, response):
        final_data = ""
        content_pieces = []
        progress_bar = tqdm(unit="chunk", desc="Receiving data")

        try:
            for line in response.iter_lines():
                if line:
                    decoded_line = line.decode('utf-8')
                    progress_bar.update(1)
                    if decoded_line == "data: [DONE]":
                        break
                    data_json = json.loads(decoded_line.replace("data: ", ""))
                    if "choices" in data_json:
                        for choice in data_json["choices"]:
                            if "delta" in choice and "content" in choice["delta"]:
                                content_pieces.append(choice["delta"]["content"])
        except requests.exceptions.RequestException as e:
            print(f"Request failed: {e}")
        finally:
            progress_bar.close()

        final_data = "".join(content_pieces)
        return final_data

    def save_to_file(self, response_data):
        timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
        filename = f"prompt_result_{timestamp}.md"
        with open(filename, 'w') as file:
            file.write(f"## Agent Message\n\n{self.agent_message}\n\n## Command Message\n\n{self.command_message}\n\n## Response\n\n{response_data}")
        print(f"Saved to {filename}")

    def run(self):
        response_data = self.send_prompt()
        self.save_to_file(response_data)

if __name__ == "__main__":
    ip_address = "localhost"
    port = 1337  # Replace with the actual port number
    agent_message = "You are a helpful assistant."
    command_message = "Please give me a recipe for steamed hams."
    jan_prompt = JanPrompt(ip_address, port, agent_message, command_message)
    jan_prompt.run()

Thanks @richard-schwab. Unfortunately as with ollama it looks like Jan doesn't support the tools parameter for function-calling, which Plandex relies on.

:+1: I was immediately looking into trying this with https://github.com/go-skynet/LocalAI - would be great if we can set up an OPENAI_ENDPOINT

Fixed by #46 and just released in server/0.8.3 and cli/0.8.2


Different performance in different browsers

There is a noticeable difference between say IE and CHrome. Incidentally, IE is getting better ping results than Chrome.
e.g. my Chrome gives 1000ms for a local data center, but 50ms in IE.
I've seen different results across computers as well.
Looking at the timings on IE vs. Chrome (note that these results are not necessarily for the same server, but are similar between all requests), it seems Chrome is stalling before the XHR request more than IE. I'm not sure what the measure is for the website (whether it's round trip, or just waiting time) but perhaps Chrome is simply throttling the # of simultaneous XHR requests?
I can see that there is already a random number on the end of the string -- perhaps Chrome is still stalling to see the response of other XHRs before continuing?
Similar issue reported here: https://github.com/two10degrees/AzureSpeedTest/issues/6

I don't have a fix for this issue. I am thinking to add an option dialog allow user select interested regions/data centers, this might reduce the chance XHR requests get throttled by Chrome.
But for those who select all region data centers to run speed test, they will continue to experience this unless someone knows a real fix for this.

I added a region selector in each speed test page, This allows users only selected datacenters they are interested to know latency, instead of testing directly to all (34) data centers. Hopefully this can reduce the chance for requests to get throtted