[GRAPHICAL GLITCH] Hybrid nodes' type is not consistent among teleop and auto.

Expected Behavior
When you select a hybrid node as a cube or cone scored in either autonomous or teleop, it locks out the other one, and changes the icon from a circle to a triangle (cone) or square (cube) in both teleop and auto.
Current Behavior
The icon only changes in the mode that it was scored in.
Steps to Reproduce

Select a hybrid node as either cone or cube scored in either auto or teleop.
Switch to the other mode.
Visual inconsistency occurs.

Images

Disclaimer
This is a minor graphical bug and is not a high priority.

Confirmed solved by #14

Fixed in 763bba3


[FLINK-20490][table-planner-blink] Don't share inputs between FlinkPhysicalRel and ExecNode

What is the purpose of the change
This pr aim to let ExecNode have its own input instance. It is prepared for the implementation separation between RelNode and ExecNode.
Brief change log

Don't share inputs between FlinkPhysicalRel and ExecNode

Verifying this change
(Please pick either of the following options)
This change is a refactor rework without existing test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for the review, I will merge this pr


Only int best model for indic and arabic script languages

Remove legacy model as it is not accurate, use --oem 1 as default via config file.
Also takes care of file size problem for san, tel etc.

I think that for fas the legacy files should be removed.
https://github.com/tesseract-ocr/tessdata/issues/3#issuecomment-121008628
https://groups.google.com/forum/?hl=en#!topic/tesseract-ocr/rdWBC-A7Pbs
https://groups.google.com/forum/?hl=en#!topic/tesseract-ocr/dUR0bSbYIYM

Probably also for Arabic.

ara never had support for the regular (non-cube) legacy engine.
but there are other traineddata that use the Arabic script.

@zdenop  You can merge this now. Thanks!

@Shreeshrii Could you please point me towards resources explaining why this decision was made?

https://github.com/tesseract-ocr/tessdoc/blob/bc73ab3c1ed7846a48ef2630a053017de3ec07c3/tess4/4.0-Accuracy-and-Performance.md

@amitdo Thank you


brew-test-bot: Enable RPATH rewriting during tests

Sets HOMEBREW_RELOCATE_METAVARS, which instructs keg relocation on macOS to collapse all @rpath-prefixed install names and delete all LC_RPATHs from all binaries, if possible.
See https://github.com/Homebrew/brew/pull/5413
cc @sjackman

Makes sense, thanks @woodruffw!

Thanks @MikeMcQuaid!

I'm not sure if it was this or https://github.com/Homebrew/brew/pull/5413 but there are now lots of linkage errors reported in the ongoing boost build:

https://jenkins.brew.sh/job/Homebrew Core Pull Requests/39335/version=mojave/

for reference, there were no linkage errors reported in the previous build:

https://jenkins.brew.sh/job/Homebrew Core Pull Requests/39208/

Yeah, the errors suggest that it's related:
Warning: Could not find library @rpath/libcryptominisat5.5.6.dylib for /usr/local/Cellar/cryptominisat/5.6.8/bin/cryptominisat5
Warning: Could not find library @rpath/libcryptominisat5.5.6.dylib for /usr/local/Cellar/cryptominisat/5.6.8/bin/cryptominisat5_simple

Maybe those are LC_LOAD_WEAK_DYLIBs? If so, we probably need additional logic to either purge them entirely or to skip rewriting them.


 I'm not doing anything related to manual memory management or the GC in my code, so I think it's safe to assume that I'm not breaking stuff myself.
Here is the backtrace from GDB if it's of any use : backtrace.txt
The GC goes through some dsymbol destructors to end up in ttree.d, line 225 where it crashes.
I'm not sure whether containers or dsymbol is to blame for this, I'm posting this here since this is where the crash originates from.

Sounds familiar - maybe take a look at https://github.com/dlang-community/containers/pull/107 and see if there is a similar bug in ttree...

The D-Symbol code contains some boolean flags indicating whether or not the symbol owns the parts of the symbols it contains. If any of these are incorrect, you can end up with a situation where more than one symbol destructor tries to call another symbol's destructor. I think this might be a bug in dsymbol.

I'm coming back to this, and it really puzzles me.
The segfault occurs when trying to access members of parts in DSymbol. It's exactly like a classic null pointer/already freed memory access... Except (unless I've missed something) parts is just a struct, which means it is always automatically allocated in memory, should have a deterministic lifetime, and doesn't seem to ever be shared between DSymbol instances or any other class.
Playing a bit in DSymbol's destructor, when the DSymbol with a faulty parts is destroyed, I can print parts's address (which looks just like any normal memory address), but I can't access any member, like length for example.
So it really looks like freed memory access, but I still have no idea how this is possibly happening...
Maybe I should close this issue and re-open it in dsymbol ?


feat: sync develop with newest 7.x version changes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: debdutdeb:x: rocketchat-github-ciYou have signed the CLA already but the status is still pending? Let us recheck it.


ci: remove GO111MODULE=off in ticdc pipelines

to fix error go: modules disabled by GO111MODULE=off; see 'go help modules'
gomodule is enabled by default in ticdc

LGTM


Also investigate if other forms of managed identity (federation, etc) would also work through this addition or if it would required additional changes.

          Also investigate if other forms of managed identity (federation, etc) would also work through this addition or if it would required additional changes.

Connect-ExchangeOnline -ManagedIdentity -Organization contoso.onmicrosoft.com Elizamrse<EMAIL_ADDRESS>

Not super clear what this issue is referencing. Exchange Online association of the goose tool service principal is done now through the setup script in the latest goose version. Closing this issue for now.


_try_reconnect will timeout in ~ 70 secs, in case no ACK packet is received.

So i investigated the issue about blocking connection on a random port like test.mosquitto.org:1234 and the blocking happens exactly in L320. and eventually the connection timeouts as evident from the retransmittion packets sent as shown below. The error message in particular is Error { repr: Os { code: 110, message: "Connection timed out" } }

Should be fixed in tokio2 branch


timestream connection throws an error on grafana.com 11.1.0, plugin 2.9.1

My grafana.com instance won't load the configuration page for adding a new timestream datasource.  From what I can tell, it's using plugin version 2.9.1 and the grafana version is Grafana v11.1.0-69051 (9d44c8e8cf) ... it works fine on my self-hosted grafana but I'm not on version 11.1.0.
An unexpected error happened
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at m (https://gis.grafana.net/public/plugins/grafana-timestream-datasource/module.js?_cache=1.5.0:2:4046)
    at t.ConfigSelect (https://gis.grafana.net/public/plugins/grafana-timestream-datasource/module.js?_cache=1.5.0:2:6349)
    at div
    at eval (https://gis.grafana.net/public/plugins/grafana-timestream-datasource/module.js?_cache=1.5.0:2:38702)
    at div
    at vt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:48:2348)
    at o (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:1:172)
    at form
    at Pt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:56:1914)
    at At (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:56:1464)
    at d (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:370:18096)
    at div
    at div
    at div
    at div
    at X (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:903:4471)
    at c (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:194:29695)
    at u
    at div
    at V (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:370:21842)
    at wt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:56:4940)
    at Bt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:56:5352)
    at K (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:29155)
    at K (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:31332)
    at Gt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/Connections.5ec3a2949b5ef0cf667d.js:64:2099)
    at Suspense
    at l (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:194:124022)
    at mo (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:315:10982)
    at K (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:29155)
    at or (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1039:4448)
    at ls (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1039:11997)
    at kt (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:17387)
    at K (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:31332)
    at main
    at div
    at div
    at div
    at Ts (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:315:2441)
    at div
    at Kr (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:315:6888)
    at or (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1039:4448)
    at ls (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1039:11997)
    at as (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1039:11333)
    at pr (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:17686)
    at K (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1048:25372)
    at g (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:112:8958)
    at v (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1383:97074)
    at u (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:610:21186)
    at l (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:194:124022)
    at f (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:194:124531)
    at ot (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/885.0dcda3e8870234b9d9f5.js:1020:530)
    at $i (https://grafana-assets.grafana.net/grafana/11.1.0-69051/public/build/9602.ccb8f3676ec5906e3096.js:326:127)

Following this error message, the expanded version of the error is this:
Maximum update depth exceeded. This can happen when a component repeatedly calls setState
inside componentWillUpdate or componentDidUpdate. React limits the number of nested
updates to prevent infinite loops.

hi @wz2b I'm sorry you're running into this issue! Unfortunately, we haven't been able to reproduce it yet. A few follow up questions for you, our hope is that the answers could help us to narrow down the issue:

Does this happen to you every time you create a new timestream datasource instance? or does it happen for one particular datasource instance?
Did this happen after a recent upgrade or other change?
Does this happen everytime you load the page or is there a particular interaction that causes it?
Does clearing your browser cache help at all?

Thanks for reporting and for trying to test on a self hosted instance as well! If you want to try running that version of grafana locally you can by pulling down the latest of https://github.com/grafana/grafana and running git checkout 9d44c8e8cf That said when I've done that I haven't been able to recreate the bug so I'm not sure what is not working.
That said I do see ConfigSelect mentioned in the error message which I think is pointing to one of these components, although I don't spot the bug: https://github.com/grafana/timestream-datasource/blob/main/src/components/ConfigEditor.tsx#L80-L108 It definitely feels like an issue rendering those components, where something is causing an infinite loop of react state updates but I haven't seen yet what that is. I think if we can figure out how to easily recreate the bug it should be easier to work on.

Hi @wz2b, could you try updating to the latest version of the plugin to see if this fix the error? Thanks!

Hi @wz2b do you have an update if this worked?


Update hibernate-core to 6.2.0.Final

About this PR
📦 Updates org.hibernate:hibernate-core from 5.6.15.Final to 6.2.0.Final
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.hibernate", artifactId = "hibernate-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.hibernate", artifactId = "hibernate-core" }
}]

labels: library-update, commit-count:1

Superseded by #322.


BREAKING CHANGE: refactoring the package to typescript

For the commit message we only but a breaking change if there is a breaking change since the last release. In this case the code was never released so there is no breaking change.
If there is a breaking change there are 2 ways to write the commit message (see https://www.conventionalcommits.org/en/v1.0.0/)
feat!: rename the method abc to def
The exclamation mark indicates it is a breaking change

BREAKING CHANGE: Take care to rename all 'abc' methods to 'def'

The empty line before BREAKING CHANGE: and the column at the end of BREAKING CHANGE: are mandatory.


crypto/pem/pem_lib.c: Add check for BIO_read

As the potential failure of the BIO_read(),
it should be better to add the check and return
error if fails.
Also, in order to decrease the same code, using
'out_free' will be better.
Signed-off-by: Jiasheng Jiang<EMAIL_ADDRESS>
Checklist

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

This is still failing CI. You'll have to investigate why.

Fine, I will solve it.

This is still failing CI. You'll have to investigate why.

I have found out that the "headerlen" is always zero when tests fail.
So probably the reason is the wrong length returned by BIO_get_mem_data().
Can you give me some advice to help me solve the problem more quickly?

This pull request is ready to merge

Merged to master and 3.0 branches. Thank you.


Memory leak on Debian Stable

My first bug report so apologies if omitted relevant information or missed something obvious. Currently using GLFW 3.2.1-1 on Debian stable.
Not sure if this is the same issue as #1865 as the leaks don't seem to match. It does look like #1195 but this is apparently fixed? however a simple:
#include <GLFW/glfw3.h>
int main(){
	glfwInit();
	glfwTerminate();
	return 0;
}

Produces the following leaks with GLFW:

valgrind --leak-check=full --track-origins=yes --show-leak-kinds=definite,indirect ./test
==19150== Memcheck, a memory error detector
==19150== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==19150== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==19150== Command: ./test
==19150==
==19150==
==19150== HEAP SUMMARY:
==19150==     in use at exit: 42,652 bytes in 433 blocks
==19150==   total heap usage: 15,146 allocs, 14,713 frees, 7,994,001 bytes allocated
==19150==
==19150== 64 bytes in 1 blocks are indirectly lost in loss record 41 of 68
==19150==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==19150==    by 0x8089D32: ???
==19150==    by 0x50DD996: __pthread_once_slow (pthread_once.c:116)
==19150==    by 0x808AC83: ???
==19150==    by 0x8087E9B: ???
==19150==    by 0x4890A11: _glfwInitEGL (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x48872B7: _glfwPlatformInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x487F4AF: glfwInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x10914D: main (test.cpp:3)
==19150==
==19150== 512 bytes in 1 blocks are indirectly lost in loss record 53 of 68
==19150==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==19150==    by 0x8089D7E: ???
==19150==    by 0x50DD996: __pthread_once_slow (pthread_once.c:116)
==19150==    by 0x808AC83: ???
==19150==    by 0x8087E9B: ???
==19150==    by 0x4890A11: _glfwInitEGL (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x48872B7: _glfwPlatformInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x487F4AF: glfwInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x10914D: main (test.cpp:3)
==19150==
==19150== 720 (144 direct, 576 indirect) bytes in 1 blocks are definitely lost in loss record 58 of 68
==19150==    at 0x48356AF: malloc (vg_replace_malloc.c:298)
==19150==    by 0x4837DE7: realloc (vg_replace_malloc.c:826)
==19150==    by 0x8089AD8: ???
==19150==    by 0x50DD996: __pthread_once_slow (pthread_once.c:116)
==19150==    by 0x808AC83: ???
==19150==    by 0x8087E9B: ???
==19150==    by 0x4890A11: _glfwInitEGL (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x48872B7: _glfwPlatformInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x487F4AF: glfwInit (in /usr/local/lib/libglfw.so.3.2)
==19150==    by 0x10914D: main (test.cpp:3)
==19150==
==19150== LEAK SUMMARY:
==19150==    definitely lost: 144 bytes in 1 blocks
==19150==    indirectly lost: 576 bytes in 2 blocks
==19150==      possibly lost: 0 bytes in 0 blocks
==19150==    still reachable: 41,932 bytes in 430 blocks
==19150==         suppressed: 0 bytes in 0 blocks
==19150== Reachable blocks (those to which a pointer was found) are not shown.
==19150== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==19150==
==19150== For counts of detected and suppressed errors, rerun with: -v
==19150== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

I tried this on my machine (Ubuntu 20 with an NVIDIA card), and I wasn't able to reproduce since initialization seems to take a different path (I don't go through _glfwInitEGL(), which I suppose has to do with the graphics card & drivers).
Could you provide more information about your setup (graphics card & drivers)? E.g:

Run glxinfo | grep string
Run the tests/glfwinfo program (part of the GLFW source distribution)

In any event, your leak seems to be pthread-related, which may or may not be fixable: https://stackoverflow.com/questions/17642433/why-pthread-causes-a-memory-leak

The device is a MacBook Intel Core i5-4278U running debian stable.
glxinfo provides the following:
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 18.3.6
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

tests/glfwinfo provides the following:
GLFW header version: 3.4.0
GLFW library version: 3.4.0
GLFW library version string: "3.4.0 X11 GLX EGL OSMesa clock_gettime evdev"
OpenGL context version string: "3.0 Mesa 18.3.6"
OpenGL context version parsed by GLFW: 3.0.0
OpenGL context flags (0x00000000):
OpenGL context flags parsed by GLFW:
OpenGL robustness strategy (0x00008261): none
OpenGL robustness strategy parsed by GLFW: none
OpenGL context renderer string: "Mesa DRI Intel(R) Haswell "
OpenGL context vendor string: "Intel Open Source Technology Center"
OpenGL context shading language version: "1.30"
OpenGL framebuffer:
 red: 8 green: 8 blue: 8 alpha: 8 depth: 24 stencil: 8
 samples: 0 sample buffers: 0
 accum red: 0 accum green: 0 accum blue: 0 accum alpha: 0 aux buffers: 0
Vulkan loader: available
Vulkan loader API version: 1.1
Vulkan required instance extensions: missing

Since we call eglTerminate() ("eglTerminate releases resources associated with an EGL display connection."), I don't know if there is much more to do? This could be a bug/leak in the EGL implementation.

So I'm guessing most likely a driver issue?

This could be a driver issue, a Mesa issue or an Xlib issue depending on what the ??? calls are.
I'm closing this for now. I do want to fix any and all memory leaks in GLFW but this does not appear to be one.


[.NET 5 RC2] WorkloadSdkResolver failed to load

Describe the bug
Error with .NET 5 RC2. Project builds and runs when not launched by Tye and works with RC1.
To Reproduce
dotnet --version 5.0.100-rc.2.20479.15
tye --version 0.4.0-alpha.20371.1+d7623120d66b85bfeda8ab69eb5ff792df6b7243
tye run
Further technical details
Works: when global.json is
{
  "sdk": {
    "version": "5.0.100-rc.1.20452.10"
  }
}

Doesn't work: when global.json is
{
  "sdk": {
    "version": "5.0.100-rc.2.20479.15"
  }
}

Locating .NET SDK...
Found .NET SDK at: /usr/local/share/dotnet/sdk/5.0.100-rc.2.20479.15/
Registered .NET SDK.Loading project '/Users/home/Desktop/Alpha-Monolith/src/Alpha.API/Alpha.API.csproj'.

Drats! 'run' failed:
        Failed to load project: '/Users/home/Desktop/Alpha-Monolith/src/Alpha.API/Alpha.API.csproj'.

Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK resolver type "WorkloadSdkResolver" failed to load. Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
  /Users/home/Desktop/Alpha-Monolith/src/Alpha.API/Alpha.API.csproj
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.

File name: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.ThrowInvalidProjectFile(BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.BackEnd.SdkResolution.SdkResolverLoader.LoadResolvers(String resolverPath, LoggingContext loggingContext, ElementLocation location, List`1 resolvers)
   at Microsoft.Build.BackEnd.SdkResolution.SdkResolverLoader.LoadResolvers(LoggingContext loggingContext, ElementLocation location)
   at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.Initialize(LoggingContext loggingContext, ElementLocation location)
   at Microsoft.Build.BackEnd.SdkResolution.SdkResolverService.ResolveSdk(Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio)
   at Microsoft.Build.BackEnd.SdkResolution.CachingSdkResolverService.<>n__0(Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio)
   at Microsoft.Build.BackEnd.SdkResolution.CachingSdkResolverService.<>c__DisplayClass3_0.<ResolveSdk>b__1()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Microsoft.Build.BackEnd.SdkResolution.CachingSdkResolverService.ResolveSdk(Int32 submissionId, SdkReference sdk, LoggingContext loggingContext, ElementLocation sdkReferenceLocation, String solutionPath, String projectPath, Boolean interactive, Boolean isRunningInVisualStudio)
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImportsFromUnescapedImportExpressionConditioned(String directoryOfImportingFile, ProjectImportElement importElement, List`1& projects, SdkResult& sdkResult, Boolean throwOnFileNotExistsError)
   at Microsoft.Build.Evaluation.Evaluator`4.ExpandAndLoadImports(String directoryOfImportingFile, ProjectImportElement importElement, SdkResult& sdkResult)
   at Microsoft.Build.Evaluation.Evaluator`4.EvaluateImportElement(String directoryOfImportingFile, ProjectImportElement importElement)
   at Microsoft.Build.Evaluation.Evaluator`4.PerformDepthFirstPass(ProjectRootElement currentProjectOrImport)
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate()
   at Microsoft.Build.Evaluation.Evaluator`4.Evaluate(IEvaluatorData`4 data, ProjectRootElement root, ProjectLoadSettings loadSettings, Int32 maxNodeCount, PropertyDictionary`1 environmentProperties, ILoggingService loggingService, IItemFactory`2 itemFactory, IToolsetProvider toolsetProvider, ProjectRootElementCacheBase projectRootElementCache, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, Int32 submissionId, EvaluationContext evaluationContext, Boolean interactive)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.Reevaluate(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(ILoggingService loggingServiceForEvaluation, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.ReevaluateIfNecessary(EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.ProjectImpl.Initialize(IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.FromFile(String file, ProjectOptions options)
   at Microsoft.Tye.ProjectReader.EvaluateProject(OutputContext output, DotnetProjectServiceBuilder project) in /_/src/Microsoft.Tye.Core/ProjectReader.cs:line 166

tye.yaml:
name: alpha

extensions:
- name: seq

services:
- name: api
  project: src/Alpha.API/Alpha.API.csproj
  bindings:
    - port: 5000
      protocol: http

@JunTaoLuo we should release tye as soon as .NET 5 support works E2E.
This is currently fixed in master, if you'd like to use the latest nightlies, they will work with .NET 5 here: https://github.com/dotnet/tye/blob/master/docs/getting_started.md#working-with-ci-builds

Confirmed that works! Thanks @jkotalik

Awesome, closing for now then.

I had the same issue before switching to the nightly builds, thanks for the info 👍🏽

Is 0.5.0-* containing the fix?

@Kralizek best way to find out is to update, 0.5.0-* was released on github as it contains multiple fixes, maybe this one, fell free to use the latest version to check and do a feedback

@tebeco thanks. I ended up using the 0.6.0 from the nightly feed.

that works too ^^
i was not sure if you preferred nightly of "controlled" on nuget ;)

I can run nightly until the next release :)

@jkotalik do you have any details on how this got fixed? Have been running into the same issue with some of our own tooling after installing .NET 5 SDKs

@JunTaoLuo may have more context, but the fix involved moving our calls to msbuild from in-process to out-of-process.

Thanks, looks like https://github.com/dotnet/tye/pull/674 was the fix


[HOLD for payment 2023-07-20] [$1000] Dev : closing the keyboard shows a warning on dev.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Run the dev app.
Go to any chat.
Tab composer to open the keyboard.
Hide the keyboard by dragging down.

Expected Result:
No warnings are shown.
Actual Result:
A warning is shown(See the attachment).
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:
Reproducible in staging?: dev
Reproducible in production?: dev
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688406249179949
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0135902153bfc14487
Upwork Job ID:<PHONE_NUMBER>048033792
Last Price Increase: 2023-07-10

posted to slack to get someone with a dev acct to repro this

Thanks- the proposal makes sense to me! Assigning to @ntdiary

@0xmiroslav can we get an update on proceeding here? TY! 🙇♂

Reviewing today!

@0xmiroslav any update here?

Yes, thanks for the bump. Summarizing pay outs for the issue:

Issue reporter: @parasharrajat $250
Contributor: @ntdiary $1000
Contributor+: @parasharrajat $1000

Upwork job is here.

apologies, UPDATE:
Summarizing pay outs for the issue:
Issue reporter: @parasharrajat $250
Contributor: @ntdiary $1500
Contributor+: @0xmiroslav $1500
Upwork job is here.

Reviewed details for @parasharrajat. These details are accurate based on summary from Business Reviewer and are now approved for payment in NewDot.

Offer sent @ntdiary!

@ntdiary will send payment for correct amount of $1,500!

Payment sent/contract closed!

@0xmiroslav are you paid in ND? Or upwork still?

got it, moving this to weekly!

still waiting

Yes! TY!

@0xmiroslav do we just need a new upwork job for Volodymyr to apply to?

@0xmiroslav mind having them apply here? 🙇♂

bump on this @0xmiroslav ^ 🙇♂

all done!


Make field private codefix

Fixes #328

Closing this now since #4 contains the newest code for modifying modifiers of a declaration (and covers almost every kind of declaration possible).


Instituting downstream applications as upstream guidance is not commensurate

Issue
techno capital machine is a great downstream application. RFC is great to get buy in from existing capital providers and fund seekers. However, downstream applications might not need to be fixed in this matter at this time.

Noted.


Update slider.vue

Make type="button" for the previous and next buttons. Fixes #63

Thanks! I'll update npm version later.


Wrong timestamp

public static final String buildTimestamp() {         return String.valueOf(System.currentTimeMillis());     }
Im get {"code":-1021,"msg":"Timestamp for this request is outside of the recvWindow."}, using postman and pass my params all work fine, but when using lib the currentTimeMillis is wrong

You may need to sync your local time.

You may need to sync your local time.

How to do? Timezone is set. I increase recvwindow and work but default currentmillis not work, maybe nano better?

The default recvWindow is 5000ms. If you have high network latency, it is recommendable that you increase the recvWindow size. The higher the recvWIndow, the higher the tolerance for network latency. The largest recvWindow you can set is 60000ms. You can read more about recvWindow on our API documentation.

The default recvWindow is 5000ms. If you have high network latency, it is recommendable that you increase the recvWindow size. The higher the recvWIndow, the higher the tolerance for network latency. The largest recvWindow you can set is 60000ms. You can read more about recvWindow on our API documentation.

I think that is about other thing, using postman work fine w default recvwindow. But is work with max recvwindow, so ll close. Thanks guys


Pagination is not working properly (ep. 2)

Hello Matthias,
This is really great tutorial!
I tried the second tutorial for the pagination. it shows "pervious 1 next", but I have many products. Why it is not showing my pages like "pervious 1 2 3 next" . The variables like totalItems, itemsPerPage, currentPage are having the values as expected. I have followed the tutorial exactly same but with newer version of the libraries.
These are the libraries I have used:
ui-bootstrap: 2.1.3
jQuery : 1.10
AngualrJS : 1.3.4
Note: you were using  tag in the template file but in the new version its

Any thoughts? I'm really new to AngularJS, do you have any suggestions for it?

Hello Matthias,
I found the solution! The issue was due to lack of knowledge I have in AngularJS.

      {{row.node.title}}

products.controller('PaginationDemoCtrl', function ($scope, $http) {

  $http.get('/json/products').success(function (result) {
    $scope.data = (function(){
      return result.nodes;
    })();

    $scope.viewby = 2;
    console.log('$scope.data.length: ' + $scope.data.length);

    $scope.totalItems = $scope.data.length;
    $scope.currentPage = 1;
    $scope.itemsPerPage = $scope.viewby;

    // Number of pager buttons to show.
    $scope.maxSize = 1;

    $scope.setPage = function (pageNo) {
      $scope.currentPage = pageNo;
    };

    $scope.pageChanged = function() {
      console.log('Page changed to: ' + $scope.currentPage);
    };

    $scope.setItemsPerPage = function(num) {
      $scope.itemsPerPage = num;

      // Reset to first page.
      $scope.currentPage = 1;
    };
  });
});

This is the way I modified the code.
Thanks,
Saneesh.

Hi Saneesh!
Great to read you found a workaround!
I just looked at those version numbers you posted. You use the latest stable Bootstrap UI (2.1.3) with AngularJS 1.3.4.  However, on the Bootstrap UI website I read:

(requires AngularJS 1.4.x or higher, tested with 1.5.8). 0.14.3 is the last version of this library that supports AngularJS 1.3.x and 0.12.0 is the last version that supports AngularJS 1.2.x.

So, you might also try and test this with a more recent stable version of angular (like 1.5.8 which seems to be the latest stable version in the 1.x branch). This might solve issues with the pagination directive provided by Bootstrap UI not working properly.
With regards,
Matthias.

Hello Matthias,
Thank you for your time.
Drupal supports(https://www.drupal.org/project/angularjs) 1.3.4 version of Angularjs not the latest.
I tried by loading the latest version of Angularjs manually in drupal, but that also not worked.
Thanks,
Saneesh.


Changing m3u8 content after downloaded

I have the contents of my m3u8 files encrypted, I want to display the side of the player that I implemented using shaka player
However, after m3u8 is downloaded, I want it to decrypt the contents in shaka player

Here https://shaka-player-demo.appspot.com/docs/api/tutorial-drm-config.html you can find the documentation on how to configure your DRM in Shaka Player.

@avelad I want to change the contents of m3u8 files. I can do this in hls.js using the ploader object, but in shaka player, I don't know how this construction process is.

You can register a response filter to manipulate the server response (https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.ResponseFilter)


Add monitoring of AWS Cloud

[x] Check if cloud is reachable
[x] Check latency to cloud regions (e.g. use this
[x] Use AWS price list api to get current pricings

Hi @matthi-g , thank you for creating.
I am currently discussing with @zahranajaf
We wrote in the agreement:
To keep track of these resources it is necessary to implement a monitoring service that observes metrics like the online state, utilization (memory, cpu and disc), costs, energy consumption, co2 emissions, latency, bandwidth and others.  Based on these metrics and the SLOs that are set by the client, resources are proposed that can then be reserved by the client.
What about these functionalities? Do we get them e.g. for EC2/openFaaS?

Yes, this sounds not that bad. What do you think @zahranajaf ?

Monitoring of latency, up status and price list is implemented through a custom solution in vertx. Metrics regarding ec2 resources are exposed with node exporter and scraped by victoria metrics


HYP 171 Connor and Reginald Do Not Have Names

name: Connor and Reginald Do Not Have Names
about: Connor and Reginald don't have names in the title bar
Prerequisites

[x] Checked the FAQs for common solutions: https://github.com/digicatapult/sqnc-hyproof-client/blob/main/CONTRIBUTING.md/#FAQs
[x] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Asqnc-hyproof-client

Description
Heidi and Emma have their names in the title bar. Connor and Reginald do not.
This is related to the Jira ticket HYP-171.
Steps to Reproduce

Run
Inspect the side bar (click the gray arrow on the left top)

Expected behaviour:
Connor and Reginald should have names right next to the logo
Actual behaviour:
Connor and Reginald don't have names
Reproduces how often:
Always
Versions
NA
Additional Information
Heidi and Emma have their names in the title bar
Connor and Reginald do not:

AFTER:

Superceeded by #75


[#7] Add Date extension

https://github.com/nimblehq/android-common-ktx/issues/7
What happened 👀
Kotlin provides the ability to extend a class with new functionality without having to inherit from the class or use design patterns such as Decorator. This is done via special declarations called extensions.
Insight 📝
Add the useful extensions from the Date or String class about the date usage for using:
[x] DateExtension: DateTime formatting, Parse/ToString, Convert String to with Buddhist calendar options, toDate() for converting from String to Date...
[x] Add Unit Test
Proof Of Work 📹
N/A

@doannimble Please rebase this branch with develop 🙏  And remove the feature/8-add-sharedpreferences-extension because the PR already merged.

@doannimble Why did you close this PR? ⚠


413 errors, maybe triggered by "too large" requests for genes

We all know there is no request for genes too large, but I was recently seeing some errors like this, possibly triggered by requests with neighborhoods of 100s of genes (which even "normal" users can make without intending to, when moving about in the macrosynteny view from a region of low gene density to a region of higher density) :
Failed to load resource: the server responded with a status of 413 ()
it looks like this is probably some sort of nginx config setting that can be tweaked. Not going to try such tweaking now but wanted to note the possible issue while it was still somewhat fresh in my mind (found the issue half-written in a window I popped open earlier in the week...)

Here's an example of a mere 200 gene neighborhood that seems to be triggering the 413 at least occasionally in my set-up:
https://gcv.legumeinfo.org/gcv2/gene;lis=phavu.G19833.gnm2.ann1.Phvul.002G114200?algorithm=repeat&match=10&mismatch=-1&gap=-1&score=30&threshold=25&bmatched=20&bintermediate=10&bmask=10&linkage=average&cthreshold=20&neighbors=200&matched=4&intermediate=5&sources=lis&bregexp=&border=chromosome&regexp=&order=distance
to be fair, I think the 200 neighborhood is OK for the query track genes, and it's the ~200xN of the result tracks that is the trigger.

I wonder if the HTTP 413 was emitted from the gcv service's nginx, traefik, or perhaps a front-end nginx reverse proxy (if there is one)? If somewhere in nginx-land, client_max_body_size looks to be the relevant setting.

I don't think there's any nginx going on outside containerland in our set-up. I haven't tried to track down exactly where it's being thrown, I just saw it in the browser console. It's kind of surprising to me that we'd be exceeding the default of 1m in my case, but I haven't done the math on how it all adds up. In any case, it wasn't immediately obvious to me where to inject nginx config directives in the current deployment scheme, but if you know offhand please let me know; otherwise it can wait until I have more time to dig or @alancleary is back.

Thanks for reporting this @adf-ncgr. Using the Network Monitor in Mozilla I can only recover a truncated copy of the genes request body for the example you linked. Even then, the truncated body exceeds 1,000,000 characters!
GCV is already setup to send multiple gene requests and aggregate the results because it supports federation; I think a good, robust solution would be to take gene requests that exceed a certain size and chunk them into multiple requests. Then, in theory, we could support arbitrarily large requests! Any thoughts on this?

chunking sounds like a reasonable approach to me, if you think it will be less complicated than (or have some other benefit over) trying to tweak the nginx config to handle larger requests. "arbitrarily large" sounds pretty fun, though. I guess we might have to think about how error handling would work in this scenario (ie if some chunks succeed and others fail). It might make sense to think about chunking by result track (assuming that one result would not exceed the current request limit). maybe there are reasons that a request per track would incur too much overhead, but in some ways it seems like the most natural way to chunk things such that failures could at least be isolated to discrete units in the UI.

That's a good suggestion, and it would be easy to implement since the current mechanism for fetching genes translates tracks into gene requests by binning the genes by source, i.e. the requests would be binned by track instead of source. I'll probably still check that requests aren't too large and chunk them if they are just to maintain support for arbitrarily large tracks!

you had me at arbitrarily large sets of arbitrarily large tracks...

The set of tracks itself isn't arbitrarily large since it's derived from GCV's URL but the tracks themselves can be arbitrarily large ;)

Oh, but I was thinking of result sets, which can easily become arbitrarily large with the right choice of relaxed matching params (cue evil laugh)


Not all users returned

Describe the bug
Only the first 46 users are being returned
To Reproduce
Steps to reproduce the behaviour:

Add lots of users in AzureAD
connect and browse the LDAP and look for users high in the alphabet

this is because uri: MS_GRAPH_SCOPE + 'v1.0/users', In a single API call, we are able to get a small list
we can increase by adding ?$top=999
uri: MS_GRAPH_SCOPE + 'v1.0/users?$top=999',
but if more that 999 it should do pagination with Nextlink
e.g.
var nextLink =<EMAIL_ADDRESS>Expected behaviour
All users to be returned

Thx for reporting! The API v1.0/users should return (at least) 100 user objects (according to the docu).
But paying attention to pagination is needed for sure.
However, the number 46 is a bit strange. Maybe there are additional limits by the used ldapjs or holding the entries in the memory. I will take a closer look at this.

Something like
paged: { pageSize: 250 }
https://github.com/ldapjs/node-ldapjs/blob/ad451edc18d7768c3ddee1a1dd472d2bbafdae5e/docs/client.md#search
Then a callback in the on-page event e.g.
ldapresponse.on('page', function(entry, cb) {
if(cb) cb();
});

Your pagesize example is for the ldapjs client. I'm using the server.
It seems, on server side there is no default limit. So, nothing to change here.
Objects and Strings of several MB are looking also fine in nodejs.
A handling for odata.nextLink wil be added in the next release.


EntityTypeBuilder.HasIndex HasIndex improvement

I needed to have more than one index on a property, but adding the second index replaced the first. I was told how to achieve this, by using a 2nd name argument, but if you don't already know what it does then it is not clear what it is for.
Current text

Configures an index on the specified properties and with the given name. If there is an existing index on the given list of properties and with the given name, then the existing index will be returned for configuration. This feature allows for the

Recommended

Configures an index on the specified properties and with the given name. If there is an existing index on the given list of properties and with the given name, then the existing index will be returned for configuration. This allows the definition of multiple different indexes on the same property, that can be identified by name.

Is there a more complete documentation on this somewhere? I was unable to find any MS docs at all explaining how to create multiple indexes on a single property (I have different filters on them). The only doc I found was this one which talks about only allowing a single index -

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

ID: e5849407-fc78-90a9-56ad-099df52e7484
Version Independent ID: 573de756-717a-e546-a153-be1a41f8e3cb
Content: EntityTypeBuilder.HasIndex Method (Microsoft.EntityFrameworkCore.Metadata.Builders)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore.Metadata.Builders/EntityTypeBuilder.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

Duplicate of #4582


Add installation instructions for Windows

I didn't know people are using neovim on windows outside of WSL2 ;)
Thanks for the PR


Add user guide placeholder page and "learn" menu dropdown

Adds user guide placeholder page and "Learn" menu dropdown

contributes to #674. Closes #681

@willemarcel as this contains fixes for some outstanding mobile nav issues, I decided to hide the user guide page and merge in your branch #683. Can you review and we'll add the user guide data later on when ready?


Start action doesn't exists in Visual Studio 2022

[Enter feedback here]

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

ID: 8ef94d78-70d3-36ee-457c-c701d412a91e
Version Independent ID: 428d2219-7866-ab66-94c1-4247eae07208
Content: Project Settings for a C# debug config - Visual Studio (Windows)
Content Source: docs/debugger/project-settings-for-csharp-debug-configurations.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@EugenPolyakov -- Eugen, thank you for your feedback.  I am not seeing "Start action" in my copy of Visual Studio 2022 -- this menu item may have been removed in an earlier version. Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@Mikejo5000 -- Mike, please look into this issue.

@EugenPolyakov We have a new article targeting .NET Core, .NET 5+, and ASP.NET Core. It is here:
https://docs.microsoft.com/en-us/visualstudio/debugger/project-settings-for-csharp-debug-configurations?view=vs-2022
If you're not using one of these project types, let me know.

@Mikejo5000 I'm use .NET Framework 4.7.1 and don't have "Start action"

@EugenPolyakov I opened a C# console and then a class library in VS 2022, and can't repro this issue. What project type are you using? Projects like ASP.NET and UWP won't have the same set of properties. If you're using a typical C# project, please use Report a Problem tool to report the issue. When you do this, your report becomes part of the work items that are listed in the in the Visual Studio Developer Community, which allows you to engage directly with the engineering team while they address and fix the problem.

@Mikejo5000 In all project type I have same debug tab and there is no "Start action" menu

Class library .Net Framefork 4.7.1
Windows application .Net Framework 4.7.1


Github API calls not authenticated?

I just notice that the current example configs don't configure the EdpGithub service with a valid client id and client secret (only SocialAuth).
can someone with full access to the server please check if EdpGithub gets configured in one of the application configuration files?
just to make sure our api calls against github are not more limited because of unauthenticated requests.

ping @GeeH

@geeh got some time to setup a config file for the github client? as we now the request are not authenticated against the api?

I have a prototype solution that works, will pr today
On 22 Jan 2015 13:26, "Marco Rieger"<EMAIL_ADDRESS>wrote:

@geeh https://github.com/geeh got some time to setup a config file for
the github client? as we now the request are not authenticated against the
api?
—
Reply to this email directly or view it on GitHub
https://github.com/zendframework/modules.zendframework.com/issues/288#issuecomment-71013202
.

sounds good thanks


Add error codes 9, 10 and 11 reported by device

Solves https://github.com/Vaskivskyi/ha-asusrouter/issues/490

I got this same error today and the integration isn't loading:

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/asusrouter/bridge.py:173
Integration: AsusRouter (documentation, issues)
First occurred: 03:53:23 (1 occurrences)
Last logged: 03:53:23

Error setting up entry AiMesh - Router for asusrouter
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/asusrouter/__init__.py", line 26, in async_setup_entry
    await router.setup()
  File "/config/custom_components/asusrouter/router.py", line 632, in setup
    await self.bridge.async_connect()
  File "/config/custom_components/asusrouter/bridge.py", line 173, in async_connect
    await self.api.async_connect()
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 253, in async_connect
    raise ex
  File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 251, in async_connect
    await self.connection.async_connect()
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 298, in async_connect
    response = await self.async_request(
  File "/usr/local/lib/python3.10/site-packages/asusrouter/connection.py", line 210, in async_request
    raise AsusRouterResponseError(
asusrouter.error.AsusRouterResponseError: ('Unknown error code `10`, please report it', None)

Please let me know if you want more info. I'm not in a rush, so I can run some test if that would be useful for you.


LInk components with the Website docs

Please describe the feature that you want to propose
It would be convenient to link the component's with their Website counterpart to provide more information

Seems possible through Camel JBang


Convert Explanations to Collapsible Tree

Right now we're displaying the pre-formatted explanation text coming out of the reasoner. We should reorganize it into a tree, and display it as a collapsible tree like we do with the legislation.
The way we approach this should also give us the ability to do post-processing on the explanation tree later, so as to remove things that are redundant or confusing, like in abducible queries.

My current thought is that the process of parsing the text received from s(CASP) and converting it into a structured tree should happen in the reasoner, and the output format should be revised in the API response that gets sent by the reasoner. The task of converting it into a collapsible display tree will happen inside buttons.js. Seems like the kind of thing that pyparsing might be useful for on the reasoner side, as it is just a list of indented lines of text.

The format of the response from the reasoner has been improved, and the explanation tree is reported as a list of lists per answer, and variables are being separated out. Similar models with different explanations are not yet being grouped. I think while I'm playing around in here, it would make sense to do that, too, so I will add the grouping, and then work on updating the display to nest models under answers, and display the trees. There is also a problem with how the natural language generation for "opposes" is being generated. Worth fixing that, too.

OK, the format of the responses now collects the variables and checks to see if they match, and groups them into an answer with multiple models. Each answer has only a list of models, each of which is only a tree. Next is to change the front end display.

The front end display has been updated to group explanations by answer, and to display the explanations as a collapsible tree. The next thing will be to get the legal text into the answer set somehow. That involves generating code from the nav-tree? Ideally that information would be available over the API, but perhaps we should just make an endpoint where you can request the text for a given section to avoid sending the entire law for no reason with every query?
So I need a new endpoint for ruledocs which allows you to request the text of a given section, I suppose. If the section is in a part with an intro and wrapup, we could also include those pieces of text, too, ideally. All of this should be possible to do with the AKN representation and cobalt, I think...


az mysql server create does not infer --location, prints stack trace

Describe the bug
az mysql server create produces a stack trace when --location is missing, and additionally, does not use the resource group's location by default.
To Reproduce
Run any valid az mysql server create command without the --location argument, such as:
az mysql server create -g test --name bugtest --admin-user admin--admin-password admin --sku-name GP_Gen4_2 --version 5.7

Expected behavior

No stack trace is produced, even if --location is required
--location should be inferred from the resource group location, as it is for other Azure resources.

Environment summary
WSL (Ubuntu 16.04 LTS/Windows 10 Build 17134)
Installed via apt-get
azure-cli 2.0.43
sql (2.1.1)

Updated in PR #8607.
@bsiegel, please help close this issue.

Closing this issue as completed. @ajlam can you please comment to inform the customer what version of the CLI will contain this fix? Thanks!


404 Not found

Hey guys,
when visiting /gds/wg I end up with a json document saying 404 not found. Any idea why that could be? I checked and the gds and template files seem to be in the right place and should be found.
Regards JD

Hey,
Yes, it's because we had to use a different url scheme to make it compatible with sending the file path to kweb instead of fixed cells available, the docs never got updated because I wanted to automate & integrate with jupyter.
I'll update the README it a bit later today, sorry about that.

Ah ok no worries :) Feel free to close the issue when the docs are up to date then.

Fixed by version 0.1.1


How does docs.microsoft.com work?

I am building an ASP.NET Core application for my company and would like to implement a help site to explain the pages and workflows . I like the look and feel of does docs.microsoft.com and would like to replicate something like it for my site. What tools does this site use?
Note, I have seen references to Westwind.AspNetCore.Markdown and would like to know if it is something people would recommend.
I clicked on the feedback to get to this page. I realize it isn't a bug or official issue. Please let me know if there is somewhere better to post.

The site is based on DocFx, with extensive docs-specific extensions and modifications. There's also a lot of dedicated internal infrastructure and tools required by a system as huge as docs.microsoft.com. For a single application, DocFx is a great way to stand up a good-looking and functional documentation site quickly. DocFx is pluggable if you need to add capabilities (and have the engineering skills).

@PaulDempsey-ms thank you for the link and info.


python: can't open file 'check_install.py': [Errno 2] No such file or directory

hello,everyone. When I install neural_sp, the error that "python: can't open file 'check_install.py': [Errno 2] No such file or directory"
occur. At the same time, I cannot find check_install.py. what should I do to solve this problem.

hello, I have the same problem. Have you solved it ? thank you

@WanderingSven @sean186 This was fixed in #114.


Add DynamoDB Scaler

Signed-off-by: Samuele Resca<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[X] Tests have been added
[X] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[X] A PR is opened to update the documentation on https://github.com/kedacore/keda-docs/pull/680
[ ] Changelog has been updated

Fixes #2482

Thanks for your PR! Would you mind opening and linking a PR for the docs please?

Looking good, just a few minor nits on formatting.
Also a big ask is e2e testing. Do you think you can implement e2e tests for this scaler, similar to this https://github.com/kedacore/keda/tree/main/tests? We should have KEDA related AWS account soon CC @tomkerkhove

I'm happy to implement the e2e tests for this. Should I do it in this PR?

Looking good, just a few minor nits on formatting.
Also a big ask is e2e testing. Do you think you can implement e2e tests for this scaler, similar to this https://github.com/kedacore/keda/tree/main/tests? We should have KEDA related AWS account soon CC @tomkerkhove

I'm happy to implement the e2e tests for this. Should I do it in this PR?

Yes please :)

Looking good, just a few minor nits on formatting.
Also a big ask is e2e testing. Do you think you can implement e2e tests for this scaler, similar to this https://github.com/kedacore/keda/tree/main/tests? We should have KEDA related AWS account soon CC @tomkerkhove

I'm happy to implement the e2e tests for this. Should I do it in this PR?

Yes please :)

Regarding the e2e testing. I'm considering spanning up an instance using the following image for testing purposes: https://hub.docker.com/r/amazon/dynamodb-local. Until we don't have an AWS account. It should mimic the dynamodb on AWS, except for the fact that multiple regions are not supported

@zroubalik  I updated the PR with the tests.  I executed the E2E test locally with my personal subscription and looks good to me. Let me know when you have the account available.

@zroubalik I updated the PR with the tests. I executed the E2E test locally with my personal subscription and looks good to me. Let me know if I can do something else.

@JorTurFer @tomkerkhove how should we approach this? Do we know if there's any progress on the AWS account from CNCF?

@zroubalik I updated the PR with the tests. I executed the E2E test locally with my personal subscription and looks good to me. Let me know if I can do something else.

@JorTurFer @tomkerkhove how should we approach this? Do we know if there's any progress on the AWS account from CNCF?

If the e2e test is running, I'd keep it commented and I'd enable it when the account is ready. We already have other scalers without any e2e test, so I wouldn't block this PR.
Other option is using DynamoDB Local but I'm not sure if that development version could be enough for our e2e test case. Even if the local version is enough, I'd prefer using the real version, but this is an option

@zroubalik I updated the PR with the tests. I executed the E2E test locally with my personal subscription and looks good to me. Let me know if I can do something else.

@JorTurFer @tomkerkhove how should we approach this? Do we know if there's any progress on the AWS account from CNCF?

If the e2e test is running, I'd keep it commented and I'd enable it when the account is ready. We already have other scalers without any e2e test, so I wouldn't block this PR. Other option is using DynamoDB Local but I'm not sure if that development version could be enough for our e2e test case. Even if the local version is enough, I'd prefer using the real version, but this is an option

Yeah, let's disable e2e tests for now and enable once we have the account.

No AWS account yet indeed. I will check


[Bug Report] Chrome will crash when set Table Component 'thead' css 'display' to none

Element UI version
2.10.1
OS/Browsers version
MacOS 10.13.6 / Google Chrome Version 75.0.3770.100 (Official Build) (64-bit)
Vue version
2.6.10
Reproduction Link
https://codepen.io/pen >> https://element.eleme.io/#/zh-CN/component/table
Steps to reproduce

Open chrome dev tools
Find any element of thead.
Add 'display:none' rule for the '.el-table thead' selector.
Then Chrome crashed.

PS. The issue link rule is bypassed, because links on official websites can reproduce this problem very well.
The reproduction link is https://element.eleme.io/#/zh-CN/component/table
What is Expected?
Chrome won't crash,and the table header can be hidden.
What is actually happening?
Chrome crashed.

Yes, I have the same problem.


Excellent work

Thanks for your works

I used this site as a reference-of-correctness for the Angular Flex-Layout Library.  Thank you.


components in autocomplete(predictions_by_input) missing

The original API have facility for searching for cities in a specific country by passing the parameter "types=(cities)&components=country:in". I did not find such a facility in this gem.

Thanks for pointing that out @PaulDaviesC. I don't currently have the time to add this feature myself, but a PR for this would be welcome.

@marceldegraaf Yeah I will :)

any one added components yet?


mxnet 2.0 - GroupNorm does not work with as_nd_ndarray() upon activation of mx.npx.set_np()

Description
The operator gluon.nn.GroupNorm does not work properly (I believe) when we use mx.npx.set_np(). That is something in its definition breaks and it cannot accept mx.np.ndarray.as_nd_ndarray
Error Message
in short (but see also below for the complete error message):
ValueError: Deferred initialization failed because shape cannot be inferred. Operator `GroupNorm` registered in backend is known as `GroupNorm` in Python. This is a legacy operator which can only accept legacy ndarrays, while received an MXNet numpy ndarray. Please call `as_nd_ndarray()` upon the numpy ndarray to convert it to a legacy ndarray, and then feed the converted array to this operator.

To Reproduce
A. Working example:
import mxnet as mx
net = mx.gluon.nn.GroupNorm(num_groups=4)
net.initialize()
xx = mx.nd.random.uniform(shape=[3,32,512,512])
net.summary(xx) # works as expected

--------------------------------------------------------------------------------
        Layer (type)                                Output Shape         Param #
================================================================================
               Input                           (3, 32, 128, 128)               0
         GroupNorm-1                           (3, 32, 128, 128)              64
================================================================================
Parameters in forward computation graph, duplicate included
   Total params: 64
   Trainable params: 64
   Non-trainable params: 0
Shared params in forward computation graph: 0
Unique parameters in model: 64
--------------------------------------------------------------------------------

B. When things break:
import mxnet as mx
mx.npx.set_np()

net = gluon.nn.GroupNorm(num_groups=4)
net.initialize()
xx = mx.np.random.rand(3,32,512,512)
yy = xx.as_nd_ndarray()
net.summary(yy) # This now does not work, despite getting fed an mx.nd.ndarray

Error message:
This is the complete error message.
---------------------------------------------------------------------------
DeferredInitializationError               Traceback (most recent call last)
~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in forward(self, x, *args)
   1455                 try:
-> 1456                     params = {k: v.data(ctx) for k, v in self._reg_params.items()}
   1457                 except DeferredInitializationError:

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in <dictcomp>(.0)
   1455                 try:
-> 1456                     params = {k: v.data(ctx) for k, v in self._reg_params.items()}
   1457                 except DeferredInitializationError:

~/.local/lib/python3.8/site-packages/mxnet/gluon/parameter.py in data(self, ctx)
    584                                "instead." % (self.name, str(ctx), self._stype))
--> 585         data = self._check_and_get(self._data, ctx)
    586         dc.set_variable(data, self.var())

~/.local/lib/python3.8/site-packages/mxnet/gluon/parameter.py in _check_and_get(self, arr_list, ctx)
    239         if self._deferred_init:
--> 240             raise DeferredInitializationError(
    241                 "Parameter '%s' has not been initialized yet because initialization was " \

DeferredInitializationError: Parameter 'gamma' has not been initialized yet because initialization was deferred. Actual initialization happens during the first forward pass. Please pass one batch of data through the network before accessing Parameters. You can also avoid deferred initialization by specifying in_units, num_features, etc., for network layers.

During handling of the above exception, another exception occurred:

TypeError                                 Traceback (most recent call last)
~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in _deferred_infer_shape(self, *args)
   1089         try:
-> 1090             self.infer_shape(*args)
   1091         except Exception as e:

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in infer_shape(self, *args)
   1282             # Gluon 1 based on F:  hybrid_forward is defined by user
-> 1283             self._infer_attrs('infer_shape', 'shape', *args)
   1284         else:

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in _infer_attrs(self, infer_fn, attr, *args)
   1264         """Generic infer attributes."""
-> 1265         inputs, out = self._get_graph(*args)
   1266         args, _ = _flatten(args, "input")

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in _get_graph(self, *args)
    988             if inspect.unwrap(self.hybrid_forward.__func__) is not HybridBlock.hybrid_forward:
--> 989                 return self._get_graph_v1(*args)
    990             else:  # Gluon 2 based on deferred compute mode

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in _get_graph_v1(self, *args)
    952                 params = {i: j.var() for i, j in self._reg_params.items()}
--> 953                 out = self.hybrid_forward(symbol, *grouped_inputs, **params)  # pylint: disable=no-value-for-parameter
    954             out, self._out_format = _flatten(out, "output")

~/.local/lib/python3.8/site-packages/mxnet/gluon/nn/basic_layers.py in hybrid_forward(self, F, data, gamma, beta)
    842     def hybrid_forward(self, F, data, gamma, beta):
--> 843         norm_data = F.GroupNorm(data, gamma=gamma, beta=beta, num_groups=self._num_groups, eps=self._epsilon)
    844         return norm_data

~/.local/lib/python3.8/site-packages/mxnet/symbol/register.py in GroupNorm(data, gamma, beta, num_groups, eps, output_mean_var, name, attr, out, **kwargs)

~/.local/lib/python3.8/site-packages/mxnet/symbol/register.py in _verify_legacy_symbol(op_name, func_name, sym)
     73     if isinstance(sym, np_symbol):
---> 74         raise TypeError('Operator `{}` registered in backend is known as `{}` in Python. '
     75                         'This is a legacy operator which can only accept '

TypeError: Operator `GroupNorm` registered in backend is known as `GroupNorm` in Python. This is a legacy operator which can only accept legacy ndarrays, while received an MXNet numpy ndarray. Please call `as_nd_ndarray()` upon the numpy ndarray to convert it to a legacy ndarray, and then feed the converted array to this operator.

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
<ipython-input-7-d686fa49b9c0> in <module>
----> 1 net.summary(yy)

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in summary(self, *inputs)
    829         try:
    830             self.apply(_register_summary_hook)
--> 831             self(*inputs)
    832
    833             line_format = '{:>20}  {:>42} {:>15}'

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in __call__(self, x, *args)
   1405         if inspect.unwrap(self.hybrid_forward.__func__) is not HybridBlock.hybrid_forward:
   1406             # Gluon 1 based on F:  hybrid_forward is defined by user
-> 1407             return super().__call__(x, *args)
   1408         else:  # Gluon 2 based on deferred compute mode
   1409             assert self.forward is not HybridBlock.forward, (

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in __call__(self, *args)
    709             hook(self, args)
    710
--> 711         out = self.forward(*args)
    712
    713         for hook in self._forward_hooks.values():

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in forward(self, x, *args)
   1456                     params = {k: v.data(ctx) for k, v in self._reg_params.items()}
   1457                 except DeferredInitializationError:
-> 1458                     self._deferred_infer_shape(x, *args)
   1459                     for _, v in self.params.items():
   1460                         v._finish_deferred_init()

~/.local/lib/python3.8/site-packages/mxnet/gluon/block.py in _deferred_infer_shape(self, *args)
   1092             error_msg = "Deferred initialization failed because shape"\
   1093                         " cannot be inferred. {}".format(e)
-> 1094             raise ValueError(error_msg)
   1095
   1096     def _call_cached_op(self, *args):

ValueError: Deferred initialization failed because shape cannot be inferred. Operator `GroupNorm` registered in backend is known as `GroupNorm` in Python. This is a legacy operator which can only accept legacy ndarrays, while received an MXNet numpy ndarray. Please call `as_nd_ndarray()` upon the numpy ndarray to convert it to a legacy ndarray, and then feed the converted array to this operator.

Steps to reproduce
provided above
What have you tried to solve it?
I cannot solve it.
Environment
We recommend using our script for collecting the diagnostic information with the following command
curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python3
mxnet installed via pip with command
pip3 install --no-cache-dir mxnet-cu102==2.0.0b20200925 -f https://dist.mxnet.io/python

Environment Information
----------Python Info----------
Version      : 3.8.5
Compiler     : GCC 9.3.0
Build        : ('default', 'Jul 28 2020 12:59:40')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 20.0.2
Directory    : /usr/lib/python3/dist-packages/pip
----------MXNet Info-----------
Version      : 2.0.0
Directory    : /home/foivos/.local/lib/python3.8/site-packages/mxnet
Commit hash file "/home/foivos/.local/lib/python3.8/site-packages/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source.
Library      : ['/home/foivos/.local/lib/python3.8/site-packages/mxnet/libmxnet.so']
Build features:
✔ CUDA
✔ CUDNN
✖ NCCL
✖ TENSORRT
✔ CPU_SSE
✔ CPU_SSE2
✔ CPU_SSE3
✖ CPU_SSE4_1
✖ CPU_SSE4_2
✖ CPU_SSE4A
✖ CPU_AVX
✖ CPU_AVX2
✔ OPENMP
✖ SSE
✖ F16C
✖ JEMALLOC
✔ BLAS_OPEN
✖ BLAS_ATLAS
✖ BLAS_MKL
✖ BLAS_APPLE
✔ LAPACK
✔ MKLDNN
✔ OPENCV
✔ DIST_KVSTORE
✖ INT64_TENSOR_SIZE
✔ SIGNAL_HANDLER
✖ DEBUG
✖ TVM_OP
----------System Info----------
Platform     : Linux-5.4.0-7642-generic-x86_64-with-glibc2.29
system       : Linux
node         : dep59910
release      : 5.4.0-7642-generic
version      : #46~1598628707~20.04~040157c-Ubuntu SMP Fri Aug 28 18:02:16 UTC
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              2
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           165
Model name:                      Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz
Stepping:                        2
CPU MHz:                         3484.141
CPU max MHz:                     5100.0000
CPU min MHz:                     800.0000
BogoMIPS:                        4599.93
Virtualisation:                  VT-x
L1d cache:                       256 KiB
L1i cache:                       256 KiB
L2 cache:                        2 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0-15
Vulnerability Itlb multihit:     KVM: Mitigation: Split huge pages
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and s
                                 eccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanit
                                 ization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
                                  pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe sy
                                 scall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs
                                  bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni
                                  pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg f
                                 ma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_
                                 deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowpre
                                 fetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_en
                                 hanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase
                                 tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx sm
                                 ap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm
                                 ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp pku os
                                 pke md_clear flush_l1d arch_capabilities
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0186 sec, LOAD: 0.8468 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.4067 sec, LOAD: 0.6158 sec.
Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>, DNS finished in 0.714545488357544 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1729 sec, LOAD: 1.0142 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0186 sec, LOAD: 1.7548 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.13265538215637207 sec.
----------Environment----------
KMP_DUPLICATE_LIB_OK="True"
KMP_INIT_AT_FORK="FALSE"

Workaround that allows operations:

net = gluon.nn.GroupNorm(num_groups=4)
net.initialize()
xx = mx.np.random.rand(3,32,512,512)
yy = xx.as_nd_ndarray()
mx.npx.reset_np() # <====== This fixes the situation by resetting numpy behaviour (I think!)
net.summary(yy)
mx.npx.set_np()  # <======== This restores numpy behaviour.

Output:
--------------------------------------------------------------------------------
        Layer (type)                                Output Shape         Param #
================================================================================
               Input                           (3, 32, 512, 512)               0
         GroupNorm-1                           (3, 32, 512, 512)              64
================================================================================
Parameters in forward computation graph, duplicate included
   Total params: 64
   Trainable params: 64
   Non-trainable params: 0
Shared params in forward computation graph: 0
Unique parameters in model: 64
--------------------------------------------------------------------------------

This is a small replacement hack for GroupNorm:
import mxnet as mx
from mxnet  import gluon

class GroupNormHack(gluon.nn.HybridBlock):
    """
    This is a partial fix for issue #19609
    see https://github.com/apache/incubator-mxnet/issues/19609
    """
    def __init__(self, num_groups, **kwards):
        super().__init__(**kwards)

        self.norm = gluon.nn.GroupNorm(num_groups=num_groups,**kwards)

    def forward(self, input):
        tinput = input.as_nd_ndarray() if mx.npx.is_np_array() else input
        mx.npx.reset_np()
        out = self.norm(tinput)
        mx.npx.set_np()
        out = out.as_np_ndarray()
        return out

toy run:

In [11]: net = GroupNormHack(num_groups=4)
    ...: net.initialize()
    ...: xx = mx.np.random.rand(3,32,512,512)
    ...: net.summary(xx)
--------------------------------------------------------------------------------
        Layer (type)                                Output Shape         Param #
================================================================================
               Input                           (3, 32, 512, 512)               0
         GroupNorm-1                           (3, 32, 512, 512)              64
     GroupNormHack-2                           (3, 32, 512, 512)               0
================================================================================
Parameters in forward computation graph, duplicate included
   Total params: 64
   Trainable params: 64
   Non-trainable params: 0
Shared params in forward computation graph: 0
Unique parameters in model: 64
--------------------------------------------------------------------------------

In [12]: yy = xx.as_nd_ndarray()

In [13]: net.summary(yy)
--------------------------------------------------------------------------------
        Layer (type)                                Output Shape         Param #
================================================================================
               Input                           (3, 32, 512, 512)               0
         GroupNorm-1                           (3, 32, 512, 512)              64
     GroupNormHack-2                           (3, 32, 512, 512)               0
================================================================================
Parameters in forward computation graph, duplicate included
   Total params: 64
   Trainable params: 64
   Non-trainable params: 0
Shared params in forward computation graph: 0
Unique parameters in model: 64
--------------------------------------------------------------------------------

In [14]: net.hybridize()

In [15]: out = net(xx)

In [16]: out = net(yy)

In [17]:

The workaround presented above does not allow me to load saved weights - it gives the same error.

Dear all, this is the final solution that is working for me, using legacy operator mx.nd.GroupNorm
import mxnet as mx
from mxnet.gluon import HybridBlock
from mxnet.gluon.parameter import Parameter

@mx.use_np
class GroupNorm(HybridBlock):
    r"""
    Applies group normalization to the n-dimensional input array.
    This operator takes an n-dimensional input array where the leftmost 2 axis are
    `batch` and `channel` respectively:
    .. math::
      x = x.reshape((N, num_groups, C // num_groups, ...))
      axis = (2, ...)
      out = \frac{x - mean[x, axis]}{ \sqrt{Var[x, axis] + \epsilon}} * gamma + beta
    Parameters
    ----------
    num_groups: int, default 1
        Number of groups to separate the channel axis into.
    epsilon: float, default 1e-5
        Small float added to variance to avoid dividing by zero.
    center: bool, default True
        If True, add offset of `beta` to normalized tensor.
        If False, `beta` is ignored.
    scale: bool, default True
        If True, multiply by `gamma`. If False, `gamma` is not used.
    beta_initializer: str or `Initializer`, default 'zeros'
        Initializer for the beta weight.
    gamma_initializer: str or `Initializer`, default 'ones'
        Initializer for the gamma weight.
    Inputs:
        - **data**: input tensor with shape (N, C, ...).
    Outputs:
        - **out**: output tensor with the same shape as `data`.
    References
    ----------
        `Group Normalization
        <https://arxiv.org/pdf/1803.08494.pdf>`_
    Examples
    --------
    # Input of shape (2, 3, 4)
    x = mx.nd.array([[[ 0,  1,  2,  3],
                          [ 4,  5,  6,  7],
                          [ 8,  9, 10, 11]],
                         [[12, 13, 14, 15],
                          [16, 17, 18, 19],
                          [20, 21, 22, 23]]])
    # Group normalization is calculated with the above formula
    layer = GroupNorm()
    layer.initialize(ctx=mx.cpu(0))
    layer(x)
    [[[-1.5932543 -1.3035717 -1.0138891 -0.7242065]
      [-0.4345239 -0.1448413  0.1448413  0.4345239]
      [ 0.7242065  1.0138891  1.3035717  1.5932543]]
     [[-1.5932543 -1.3035717 -1.0138891 -0.7242065]
      [-0.4345239 -0.1448413  0.1448413  0.4345239]
      [ 0.7242065  1.0138891  1.3035717  1.5932543]]]
    <NDArray 2x3x4 @cpu(0)>
    """
    def __init__(self, num_groups=1, epsilon=1e-5, center=True, scale=True,
                 beta_initializer='zeros', gamma_initializer='ones',
                 in_channels=0):
        super(GroupNorm, self).__init__()
        self._kwargs = {'eps': epsilon, 'num_groups': num_groups, 'center': center, 'scale': scale}
        self._num_groups = num_groups
        self._epsilon = epsilon
        self._center = center
        self._scale = scale
        self.gamma = Parameter('gamma', grad_req='write' if scale else 'null',
                               shape=(in_channels,), init=gamma_initializer,
                               allow_deferred_init=True)
        self.beta = Parameter('beta', grad_req='write' if center else 'null',
                              shape=(in_channels,), init=beta_initializer,
                              allow_deferred_init=True)

    def infer_shape(self,in_shape):
        # Necessary for mxnet 2.0
        tshape = in_shape.shape
        self.gamma.shape = tshape[1],
        self.beta.shape = tshape[1],

    def forward(self, x):

        gamma = self.gamma.data().as_nd_ndarray()
        beta = self.beta.data().as_nd_ndarray()
        x = mx.nd.GroupNorm(data=x.as_nd_ndarray(), gamma=gamma, beta=beta, num_groups=self._num_groups, eps=self._epsilon)

        x = x.as_np_ndarray()
        return x

    def __repr__(self):
        s = '{name}({content}'
        in_channels = self.gamma.shape[0]
        s += ', in_channels={0}'.format(in_channels)
        s += ')'
        return s.format(name=self.__class__.__name__,
                        content=', '.join(['='.join([k, v.__repr__()])
                                           for k, v in self._kwargs.items()]))


Refactor the listed license related classes to support lighter weight implementations

This is a first step to creating a lighter weight implementation of the Java tools that do not rely on the Jena RDF for implementation.  A small step to resolving issue #191

Accidentally merged in the yamlsupport branch - closing


Design idea regarding Event::Command

The fact that it's possible for a user-defined command to accidentally collide with one of Druid's predefined commands doesn't feel great to me (as incredibly unlikely as it is). Therefore my first suggestion is for the Command variant to be split into two new Event varaints: DruidCommand and UserCommand (names subject to bikeshedding). DruidCommand can then become an enum with all the currently constant Selectors becoming variants instead.
My next thought was that it would feel more ergonomic to me if this new UserCommand type could become a user-defined enum, instead of using Any. It would likely require some additional threading of a new generic parameter, so this may not be worth it. But if it was done it could eliminate the Selector type entirely. We've got a type system, we should use it instead of just stringly typing things imo.
Both of these would be rather large breaking changes, so they may not be worth it. Thoughts?

Personally, I don't think it is worth the additional effort. Having a convention to just prefix all selectors with the crate name is just much simpler and does the trick. For example all commands offered by druid are called something like druid-builtin.some-command which would only collide if you really are looking for trouble.
Of course, if Rust should ever offer some ergonomic way to get access to constant, unique ids, we will switch to that for safety and ergonomics. Until then, we will probably have to live with string identifiers.

Hmm, I would have thought something like the following might have worked,
Alas, it fails the last assertion for constant values...
https://play.rust-lang.org/?version=beta&mode=release&edition=2018&gist=7d14d3d7eca390973af6127d01e290f2

I've actually tried this approach during my search for an alternative for string id's and could not stop the compiler to optimize all selectors to a single pointer :/
MaybeUninit seems to do the trick, but is there any guarantee that this will never change? Or is it more of a side effect, that rustc can't optimize it right now?
Another issue is that both
static UHH: UniqueId = UniqueId::new();
and
const UHH: UniqueId = UniqueId::new();
compile but the latter will not behave as expected.

MaybeUninit doesn't guarantee that the underling pointer will never change,
if you move the value it will absolutely change the underlying pointer along with the moved value.
Also i'm not particularly aware of the semantics defining std::ptr::eq, it does seem to be peculiar with both const, A third issue is that if you change it to MaybeUninit<()> unstead of bool I believe it'll also compare equal (what the inaccurate sized comment is about Zero sized is still sized).
Perhaps we can do something with std::pin::Pin to keep it from moving.  But yes, the specific details of this pointer equality approach seems non-obvious regarding the results and guarantees.
I don't think its reasonable to expect though that rustc could ever optimize it away, since it pretty well hides the underlying allocation from the compiler.  We could seek clarification I suppose if we decide this is an option worth pursuing.

When I initially came up with this idea I was thinking about the perf implications as well as the ergonomics, but you've mentioned that Selectors are actually just doing a pointer comparison and not a full string comparison, so that helps. I'm not sure what the cost of the any downcast is compared to an enum destructure, but probably not much.
However this raises an interesting issue to me. This style of pointer comparison only works if everything is statically compiled together. Now while that is the default in rust, compiling to a dylib is supported. If one were to define the same string in two different places, compile them to separate binaries/libraries, and have one load the other dynamically, these Selectors wouldn't match, despite the string contents being identical. This is an extremely unusual use case though, so I don't think it really matters. And to solve it you could just expose one of the strings publicly instead of defining it twice.
For an additional perspective on the enum based approach, take a look at the library Iced. The way they implement it is different from how it would have to be in Druid however. They have an Application trait that the root of your app implements, which has an associated type Message. That Message type then gets applied to all of your widgets inside the Application. Druid has no root-level construct like this.

@smmalis37

I was thinking about the perf implications

Honestly, if we manage to reach a point where comparison of command selectors becomes relevant, we will have already succeeded in building the fastest UI library in existence :)
Ergonomics is really the only reason I would be convinced to change this.

but you've mentioned that Selectors are actually just doing a pointer comparison and not a full string comparison

That's not quite right, Druid does a string comparison (which gets optimized with pointer comparison by Rust).
What @ratmice illustrated was what we could do if we went with pointers as id's.

That Message type then gets applied to all of your widgets inside the Application. Druid has no root-level construct like this.

Yeah, I don't think this approach would work for Druid. It could probably be done with something like parameterised modules but I doubt that will ever become a feature of Rust.

@ratmice

But yes, the specific details of this pointer equality approach seems non-obvious regarding the results and guarantees.

That's my biggest issue with this approach.
Another problem is debugging. Right now it is quite nice because every command has a unique, human-readable id that can easily be greped for. Using pointers you would probably still want to give your commands unique id's simply to be able to differentiate them when something goes wrong.

Druid has no root-level construct like this.

@smmalis37 Noob suggestion, but the delegate you register with the launcher strikes me as a pretty straightforward place to attach a potential Message type to. Or even making AppLauncher a trait for users to implement, and have it all on there? I don't know how all the *Ctx are implementen/constructed regarding commands, but given that there is some amount of plugging and plumbing at the top level anyway, why not encode it more coherently and also enable deeper control over command/message objects?

I'd be curious to see a sketch of this, but my current feeling is that adding a top-level user-defined type is going to end up infecting most of the other type signatures in a pretty big way, and it isn't totally clear to me what the benefits are.
One possible exception to this would be to have there be a separate 'Event::AppMessage' event, that would be a single place where you can inject a type, and this would hopefully only change the signatures of the event fn and the Event enum? For now though I'm happy to be hacking around with Command, even if it doesn't feel 100% pure and good.

I'm going to close this. For now all druid commands have a name starting with druid-builtins.* or druid-tests.*, so I think the collision risks are negligible; and as other already pointed out, it's not really worth the cost of a refactor.

also there is selectors macro in nursery. a selector generated by the macro will not collide with other selectors generated by the macro


Add CoC attribution

Things added/changed:

Add CoC attribution.

Closes #26.

LGTM. Thanks for your contribution.


Adds controller for PAC

This pr adds a controller for pac which would replace current taskrun based impementation

controller would be directly configured with github app or webhook

Tested with Github app and webhook
TODO: GHE

Submitter Checklist

[x] ♽  Run make test lint before submitting a PR (ie: via pre-push github hook no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please make sure to document it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please make sure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then make sure to get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it.

See the developer guide for a bit more details.

good for me
LGTM


promote toast to main namespace

toast are now available directly on rx namespace:  rx.toast("Hello World")
Bonus: toast.dismiss() is fixed and work properly if passing an id  that is a str or a Var

it would be nice to have at least some docs for this feature before promoting it

working on it right now


How to remove unwanted items like ( {object} , [Array]) from displaying on the UI

@zetoken How remove the excess items like {object} [Array] from treeview. like shown in the window to the right in the image.

When a json value is something like [ { key:"value" }, { key:"value" }, ...], it is read as an array of objects.
The tree view of Json Editor is built to show the detailed structure of the format; that's why the type of each value of the example array is shown before the value. Using the type is also valuable when mixed types are used in an array.
Elementary types (strings, numbers, ...) aren't shown by their type because they're basic (design choice for readability of final values).
The root of the file is itself shown by its type because a json data (json.org) may be an object (your case) but may also be an array.
That's the answer to your question is "you can't" using this software. I would study any pull request allowing an alternative visualization of the data.

@zetoken Thanks for the quick reply.  If I'm not wrong, are you saying it's not possible to remove those items due to the logic of the software, or it's not possible at all?

It is possible to implement a new visualization tree.
Now, I'm not sure how difficult the update of the edition logic would be for such a tree.


Issue #2468 remove Error and Success from response structs

Fixes #2512
Should not change anything on the ux side, however needs to be tested with both the trays to make sure there's no regression

Tested with both the trays and they are not depending on the Success and Error so doesn't need any changes there.
/unhold

Also if we are removing the error then how do we let user know what cause the non expected status code, Are we going to document that or user have to check the crcd logs?

Also if we are removing the error then how do we let user know what cause the non expected status code, Are we going to document that or user have to check the crcd logs?

an error is always a 500 with the error message in the body

/retest


Use DATABASE_URL only instead of database.yaml

This makes the Dockerfile set DATABASE_URL instead of mixing it with
database.yaml which apparently doesn't work.
We choose to use DATABASE_URL over database.yaml because it's much
easier to configure/customize this in docker and similiar environments.
You can create the database by:
$ docker run -t -i -link mysqld:db \
   DATABASE_URL="mysql2://<user>:<pass>@[HOST]/<db>" \
   rake db:setup

(You can also set DATABASE_URL if you can use docker links)
Now you can run promdash like this:
$ docker run -t -i -link mysqld:db \
   DATABASE_URL="mysql2://<user>:<pass>@[HOST]/<db>" \
   -p 3000 promdash

[HOST] gets replaced by ip:host of the linked container.

The commands posted in the original post don’t actually work (they are missing the -e flag for the DATABASE_URL, the first one is missing the container name and uses “rake” instead of “rake2.0”). This is what worked for me:
docker run --name prom-mysql -e MYSQL_ROOT_PASSWORD=foobar mysql:5.5

docker run --link prom-mysql:db -e DATABASE_URL="mysql2://root:foobar@[HOST]/prom" \
  prom/promdash /usr/bin/rake2.0 db:setup

docker run --link prom-mysql:db -e DATABASE_URL="mysql2://root:foobar@[HOST]/prom" \
  -p <IP_ADDRESS>:3000:3000 prom/promdash

I think you should also put that in the README.md :).

Thanks! Paging @discordianfish!


Changing dir.props to use the new dotnet myget

Changing dir.props to use the new dotnet myget and adding the nuget build feed.

looks good.