When to start a Pool connection and when to end one? Can I have many Pool at one time?

I am a little confused of using Pool.
The demo shows how to use it at once.
But in real production environment, when should I create a connection pool and when should I close it.
Should I create a connection pool and use it forever until the shutdown of the app server? Or should I create a connection pool once recieving a request and close the pool after finishing the request?
Thanks

@hz0324
In my experience, I prefer to keep the pool while the server is running.
I think this is why we use the pool.

@ifsnow yeah, it sounds reasonable, but I don't know whether it is good for a production environment. You know, teacher used to tell us : release anything after IO process.
So I am really confused

@hz0324
I'm sure the pool should be kept in the production environment.
An important thing is that you should release used connections as soon as possible.
That's because the connection is not returned to the pool until release is called.
pool.getConnection(err, conn) {
    conn.query(...., function(err, results) {
        conn.release(); // Good
        process(results);
        render(results);
        conn.release(); // Bad. Other jobs cann't use this connection while process, render function are running.
    }
}

Your teacher seems to have told you about this.

@ifsnow Ok, thanks you. I will give it a try. Hope everything works fine.

Should I create a connection pool and use it forever until the shutdown of the app server?

Yes, this is exactly how you should run it. Just like you open the listening port for the HTTP server and don't keep closing it after each request, you open the pool at the start of the program and then don't close down the pool until the same time you're closing down your HTTP server. They have the same lifecycle.

@dougwilson Thanks you very much. It really helps. One more question, do I need to worry about dealing with the errors when using pool? Or this lib will take care of them?

Hi @hz0324 it really depends on which type of errors you're referring to. The most generic answer is that if you use the pool and always provide a callback function to the connection methods, then there is no additional handling you need to do besides responding to the error argument in your callback methods.


Feat: Create a  profile page for logged in user.

Describe the feature
On clicking "Your Profile ", the Profile page is not accessibe. I want to make a a page for Your Profile which will show the user details and will give the options to user to edit their profile as well.

@hereisSwapnil  Please assign me this task uder GSSOC'24
Add ScreenShots
"Your Profile" Page will contain logged in user details like name, email, downloaded notes and a image of user.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

assign me


Add pass to convert convolutions to Winograd form

This patch ties all the Winograd patches together. It adds a pass to convert a nhwc_hwcf conv2d to a sequence of winograd ops. This only occurs when certain conditions hold:

kernel size = 3x3
padding = 1
dilation = 1
filter is a constant (the filter transform is then constant folded)

Thanks a lot for pushing on this and landing this @harsh-nod ! Nice work!


Schema publication fails in alpha

When building the release artifacts for alpha the schema publication step failed because alpha cloud build service account does not have write access to domain-registry-maven-repository. We obviously don't want to write alpha schema to a repo shared by production.
The comment says this is tentative. So do we have a permanent, environment-agnostic solution yet?

@weiminyu Does it make sense to have the schema hosted on gs://domain-registry-maven-repository? Shouldn't it it be in a private repo? The Maven mirror is public and we don't want our schema to be public, do we?


Application crashing when acquiring images

We have a customer using our scanning application we wrote in C# that uses the latest DTWAIN library.  While acquiring images, sometimes there is an application crash.  The scanner is an HP Scanjet Enterprise N6600 FNW1.
I'm not too familiar with how to read the DTWAIN logs.  I was hoping you could look over the log we captured and see if anything stands out to you.  Our own app log shows DTWAIN errors 1038, 1101, 1106, followed by 1005:
2024-09-17 09:02:40,323 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=DTWAIN_TN_GENERALERROR
2024-09-17 09:02:40,323 [1] INFO  PProScanning.MainForm - Error -1101: TWAIN Condition Code: No Error
2024-09-17 09:02:40,336 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=1106
2024-09-17 09:02:40,336 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=1005
2024-09-17 09:25:36,594 [1] INFO  PProScanning.MainForm - Application exiting.
2024-09-17 09:25:36,640 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=DTWAIN_TN_GENERALERROR
2024-09-17 09:25:36,640 [1] INFO  PProScanning.MainForm - Error -32: -32
2024-09-17 09:25:36,640 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=DTWAIN_TN_GENERALERROR
2024-09-17 09:25:36,656 [1] INFO  PProScanning.MainForm - Error -32: -32
2024-09-17 09:25:36,656 [1] INFO  PProScanning.MainForm - TwainCallbackProc wParam=DTWAIN_TN_GENERALERROR
2024-09-17 09:25:36,656 [1] INFO  PProScanning.MainForm - Error -1102: TWAIN Condition Code: Unknown cause of failure

The end of the DTWAIN log shows:
DSM_Entry(pSource=00000270371A3EB8H, pDest=0000000000000000H, DG_CONTROL, DAT_STATUS, MSG_GET, TW_MEMREF=000000AB46FF9A80H) called
Decoded pSource:
{
    Id=1
    Version Number=1.0
    Version Language=13
    Version Country=1
    Version Info=<IP_ADDRESS>
    ProtocolMajor=2
    ProtocolMinor=5
    SupportedGroups= DG_CONTROL, DG_IMAGE, DG_AUDIO, DF_DSM2, DF_APP2
    Manufacturer=Produce Pro
    Product Family=Produce Pro
    Product Name=PPro Scanning
}

No information for pDest

TW_MEMREF is TW_STATUS:
{
    ConditionCode=0  TWCC_SUCCESS
}

[2024-09-17 09:02:40] To callback:
DTWAIN Message(HWND =<PHONE_NUMBER>000000, MSG = 49668, Notification code = 1038, LPARAM = -1101

[2024-09-17 09:02:40]          ===>>>Entering DTWAIN_GetLastError()
[2024-09-17 09:02:40]          <<<===Exiting DTWAIN_GetLastError returning value of -1101
[2024-09-17 09:02:40]          ===>>>Entering DTWAIN_GetErrorString(lError=-1101, lpszBuffer=000000AB46FF8F60, nMaxLen=256)
[2024-09-17 09:02:40]          <<<===Exiting DTWAIN_GetErrorString returning value of 31
[2024-09-17 09:02:40]
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_TWAINPAGEFAILED, LPARAM =<PHONE_NUMBER>424

[2024-09-17 09:02:40] To callback:
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_TWAINPAGEFAILED, LPARAM =<PHONE_NUMBER>424

[2024-09-17 09:02:40]
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_PAGEFAILED, LPARAM =<PHONE_NUMBER>424

[2024-09-17 09:02:40] To callback:
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_PAGEFAILED, LPARAM =<PHONE_NUMBER>424

[2024-09-17 09:02:40] Input:
DSM_Entry(pSource=00000270371A3EB8H, pDest=00000270372DE624H, DG_CONTROL, DAT_PENDINGXFERS, MSG_ENDXFER, TW_MEMREF=000000AB46FF9A22H) called
Decoded pSource:
{
    Id=1
    Version Number=1.0
    Version Language=13
    Version Country=1
    Version Info=<IP_ADDRESS>
    ProtocolMajor=2
    ProtocolMinor=5
    SupportedGroups= DG_CONTROL, DG_IMAGE, DG_AUDIO, DF_DSM2, DF_APP2
    Manufacturer=Produce Pro
    Product Family=Produce Pro
    Product Name=PPro Scanning
}

Decoded pDest:
{
    Id=1
    Version Number=2.4
    Version Language=2
    Version Country=1
    Version Info=2.4
    ProtocolMajor=2
    ProtocolMinor=4
    SupportedGroups= DG_CONTROL, DG_IMAGE, DF_DS2
    Manufacturer=HP Inc.
    Product Family=HP
    Product Name=HP TWAIN USB
}

TW_MEMREF is TW_PENDINGXFERS:
{
    Count=0
    EOJ=0
}

[2024-09-17 09:02:40]
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_TWAINTRIPLETBEGIN, LPARAM = 0

[2024-09-17 09:02:40] To callback:
DTWAIN Message(HWND =<PHONE_NUMBER>0400E2, MSG = 49668, Notification code = DTWAIN_TN_TWAINTRIPLETBEGIN, LPARAM = 0

[2024-09-17 09:25:36]          ===>>>Entering DTWAIN_SysDestroy()
[2024-09-17 09:25:36]             ===>>>Entering DTWAIN_EndTwainSession()

Attached is the full log.
DTWAIN.log
Thank you!

From the DTWAIN logs, there seems to be that the scanner's driver did not fill in the information about the strip that is to be transferred to DTWAIN when acquiring in buffered mode.
Starting at line 515780 of the DTWAIN log, that is where DTWAIN sets up the TW_IMAGEMEMXFER structure.  This structure is then sent to the TWAIN driver to fill in with the information on the next strip.  The returned value from the scanner starts at line 515838.  Note that values you see there are the original ones DTWAIN set up, meaning the scanner failed to rewrite those values with sensible ones.  The scanner did return a failure code, but the reason for the failure is basically unknown, as all the previous calls using TW_IMAGEMEMXFER all pass with a success code.
For example, contrast this to what you see at line 514948 (the input set up by DTWAIN), with the follow-up data returned by the scanner on line 515006 (the output sent by the scanner).  The values returned by the scanner are reasonable.
The application shouldn't crash, but report a failure and stop the buffered transfer.  I will see what DTWAIN does in event of a failed TW_IMAGEMEMXFER / MSG_GET operation, but as far as to why the scanner failed, I really don't have an explanation of what the issue would be.
If you acquired the image using native mode, is there still an issue?

Also, if you set DTWAIN_SetMaxRetryAttempts to 0, possibly the application won't crash, since there will be no retry of the failed page.

As always, we appreciate your suggestions.  Will investigate and get back to you!


Add animation of background

You did a good animation, but I'd like to keep the background static. Thanks.


Attribute keys in requested netCDF contain ':'

This is a minor bug (or perhaps a feature). When you request a netdCDF file via the API, the attributekeys contain a ':', e.g.
ds = xarray.open_dataset(f)

Attributes:
    Source::     MeteoCache
    Model::      ecmwf-ifs
    Parameter::  t_2m
    Service::    Meteomatics AG
    Website::    www.meteomatics.com
    Contact<EMAIL_ADDRESS>
 ds.attrs['Model:']
 'ecmwf-ifs'

Hi
Thanks for the hint, the fix will be online with the next deploy within the next few days.
Christian


Perf: Do not add document-level blocking touch listeners

All polymer apps get a touch listener added to document by default?

 What are these events for? Can they be passive events by default...or can we have users opt-into passive events somehow if they know they're not going to call preventDefault()?
https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
cc @RByers @azakus

Back in the day I know @azakus worked to ensure this wasn't necessary (it was one of the original complaints about the PointerEventPolyfill).  We're pretty close to forcing all touch listeners on the document to be passive by default anyway - you can enabled this in chrome://flags, and I haven't noticed any issues with polymer.  So perhaps it's easy to just make these listeners passive?

What can we do about this? Any idea?

What is going here and why is there no final answer?
I'm getting thousands of console warnings:
Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive.

Is this the _globalOnClick listener in iron-location?

Just wondering if there's any updates on this?!


Let on-modify.timewarrior rename older intervals too

From @sskras:
Until now the hook renamed only the current interval, the @1 upon renaming the task.  With this change it tries to find all existing intervals with the same Description and rename them all.
Relates to #338
Signed-off-by: Saulius Krasuckas<EMAIL_ADDRESS>

Migrated here from https://github.com/GothenburgBitFactory/timewarrior/pull/487


Improvements

The current implementations makes use of init?, which silently swallows pattern errors.
As such Pathspec currently makes it needlessly hard to figure out why a path is dropped on init(patterns:).
While a throwing init can trivially be turned into an ad-hoc init? by use of try? the reverse is not possible.

Both Pathspec and GitIgnoreSpec now also conform to CustomStringConvertible, as well as CustomDebugStringConvertible.


Subclassing CookBook provider problem

When overriding method load_current_resource I call parent class implementation at the end

 def load_current_resource
   @current_resource =<EMAIL_ADDRESS>   super
 end

Problem is that method load_current_resource of CookbookFile does not check is any subclass already created instance of @new_resource but blindly creates new instance.

def load_current_resource
@current_resource =<EMAIL_ADDRESS>super
end
If we check same method at File provider, we see correct implementation:
def load_current_resource
# Let children resources override constructing the @current_resource
@current_resource ||= Chef::Resource::File.new(new_resource.name)
end
Fix:
Modify @current_resource =<EMAIL_ADDRESS>to @current_resource ||=<EMAIL_ADDRESS>

You should not subclass cookbook_file.  You should use composition and use cookbook_file.
Either rewrite what you're doing as a Cusom Resource or LWRP, or subclass from LWRPBase and use the Recipe DSL, or directly mixin the recipe DSL yourself, or mixin build_resource and use that alone, or just build a sub-resource yourself.  In the latter case:
          cf = Chef::Resource::CookbookFile.new("/tmp/myfile", run_context)
          cf.source("myfile.erb")
          cf.cookbook(cookbook_name)
          cf.run_action(:create)
          new_resource.updated_by_last_action(true) if cf.updated_by_last_action?

Composition or inheritance?
OO school says: "Ask yourself, IS or HAS?". My resource IS cookbook file with additional processing. Maybe template? Really does not matter since both of them are implemented wrong way.
Coming from C++, where I would create virtual method 'getResource' which will create/return resource. It is up to the subclass developer to decide does it override and creates different resource or leaves to parent class to implement it.


make xds send timeout configurable

We are seeing "2020-09-25T18:36:23.207985Z	info	ads	Timeout writing sidecar~<IP_ADDRESS>" in some envs occasionally.
Making this configurable to test if it helps
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[X ] Does not have any changes that may affect Istio users.

@ramaraochavali: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
cddf9e6532bdb54c5413eb2a9472448fb0032cad
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

What is your env that this occurs, purely increase timeout may mask some real error.

It happens on k8s 1.16. This only happens on dev clusters not on test/stage/prod. I suspect it is because of huge configurations sent because of number of services. I would like to see if this helps. Also I am thinking of adding a metric to record the send times - so that we can see how it is doing with various cluster sizes

make sense


Correct syntax for PROXY_RESOURCES in docker-compose?

Applies to the goproxy branch:
What is the correct notation of PROXY_RESOURCES? I tried several, but alway get a similar error

[error] invalid resource 'uri=/*|methods=GET,POST,PUT', invalid identifier, should be roles, uri or methods

one example:

environment:
- PROXY_RESOURCES="require-any-role=1|methods=GET,POST,PUT"

Answer: Do not use single or double quotes around the value. Feel free to close this issue or to handle quotes.


Implemented selu activation #10612

This pull request implements the SELU activation function. The activation function works properly when training a simple MLP for digit recognition. But, the following test fails: //tensorflow/python/kernel_tests:relu_op_test. This happens due to large error when checking the gradient of gradient. The log is show below:
======================================================================
FAIL: testGradGradFloat32 (__main__.SeluTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lakshayg/.cache/bazel/_bazel_lakshayg/51c9ff9b2a8e10dfb691d982f11ff475/execroot/tensorflow/bazel-out/local-py3-opt/bin/tensorflow/python/kernel_tests/relu_op_test.runfiles/org_tensorflow/tensorflow/python/kernel_tests/relu_op_test.py", line 375, in testGradGradFloat32
    self.assertLess(err, 1e-4)
AssertionError: 0.080660700798034668 not less than 0.0001

======================================================================
FAIL: testGradGradFloat64 (__main__.SeluTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/lakshayg/.cache/bazel/_bazel_lakshayg/51c9ff9b2a8e10dfb691d982f11ff475/execroot/tensorflow/bazel-out/local-py3-opt/bin/tensorflow/python/kernel_tests/relu_op_test.runfiles/org_tensorflow/tensorflow/python/kernel_tests/relu_op_test.py", line 393, in testGradGradFloat64
    self.assertLess(err, 1e-6)
AssertionError: 0.080654564805808127 not less than 1e-06

----------------------------------------------------------------------
Ran 30 tests in 0.377s

FAILED (failures=2)
elu (float32) gradient of gradient err =  1.90436840057e-05
elu (float64) gradient of gradient err =  1.50806227728e-07
elu (float32) gradient err =  1.90436840057e-05
elu (float64) gradient err =  1.50806227728e-07
relu6 (float32) gradient err =  0.0
relu6 (float64) gradient err =  0.0
relu (float32) gradient of gradient err =  0.0
relu (float64) gradient of gradient err =  0.0
relu (float32) gradient err =  1.29342079163e-05
relu (float64) gradient err =  8.881784197e-16
selu (float32) gradient of gradient err =  0.080660700798
selu (float64) gradient of gradient err =  0.0806545648058
selu (float32) gradient err =  4.69088554382e-05
selu (float64) gradient err =  2.65132328758e-07

Any help in resolving this issue is appreciated.

Can one of the admins verify this patch?

@josh11b would you be available to review this PR? Thanks!

Jenkins, test this please.

This would require an API change.
@ebrevdo what do you think? This is adding a "SELU" activation.

@drpngx  Not sure why this test fails //bazel_pip/tensorflow/python/kernel_tests:sparse_reshape_op_test.
//bazel_pip/tensorflow/python/kernel_tests:relu_op_test This test is failing as I reported in the PR comment. I haven't been able to fix this problem. Any hints / suggestions will be very helpful.

Are you sure it's correct? The error on the gradient seems rather large.
======================================================================
FAIL: testGradGradFloat32 (__main__.SeluTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/tensorflow-pull-requests-cpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local-opt/bin/tensorflow/python/kernel_tests/relu_op_test.runfiles/org_tensorflow/tensorflow/python/kernel_tests/relu_op_test.py", line 375, in testGradGradFloat32
    self.assertLess(err, 1e-4)
AssertionError: 0.080660700798034668 not less than 0.0001

======================================================================
FAIL: testGradGradFloat64 (__main__.SeluTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/tensorflow-pull-requests-cpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local-opt/bin/tensorflow/python/kernel_tests/relu_op_test.runfiles/org_tensorflow/tensorflow/python/kernel_tests/relu_op_test.py", line 393, in testGradGradFloat64
    self.assertLess(err, 1e-6)
AssertionError: 0.080654564805808349 not less than 1e-06

-------

@drpngx I reckon that the error is large but I believe that the derivatives are correct. I will take a look again. On the other hand, a network for the MNIST dataset converges successfully using this activation function.

This gives large errors when computing gradient of gradient. I looked into the file containing _SeluGradGrad (tensorflow/python/ops/nn_grad.py) and it looks alright. Does the failing test function use this to compute the gradient of gradient?

Approval for api-review

Jenkins, test this please.

The failure in 'Linux CPU Tests' is due to //tensorflow/tools/api/tests:api_compatibility_test. This test passes on my machine, not sure why this is failing.
I followed the steps from the console log but it does not seem to change anything
ERROR:tensorflow:TensorFlow API backwards compatibility test
This test ensures all changes to the public API of TensorFlow are intended.

If this test fails, it means a change has been made to the public API. Backwards
incompatible changes are not allowed. You can run the test as follows to update
test goldens and package them with your change.

    $ bazel build tensorflow/tools/api/tests:api_compatibility_test
    $ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \
          --update_goldens True

You will need an API approval to make changes to the public TensorFlow API. This
includes additions to the API.

ERROR:tensorflow:1 differences found between API and golden.
ERROR:tensorflow:Issue 1	: Change detected in python object: tensorflow.nn.
F.

This is the error in Linux XLA:
ERROR: /workspace/tensorflow/core/BUILD:1428:1: Couldn't build file tensorflow/core/_objs/framework_internal/tensorflow/core/util/port.o: undeclared inclusion(s) in rule '//tensorflow/core:framework_internal':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/util/port.cc':
  'bazel-out/host/genfiles/external/local_config_cuda/cuda/include/cuda.h'.

I am not sure what is causing these failure.
Any help is appreciated. @drpngx

It's an API change. You have to follow the instructions and update the
golden files
On Jul 19, 2017 12:54 AM, "Lakshay Garg"<EMAIL_ADDRESS>wrote:

The failure in 'Linux CPU Tests' is due to //tensorflow/tools/api/tests:
api_compatibility_test. This test passes on my machine, not sure why this
is failing.
I followed the steps from the console log but it does not seem to change
anything
ERROR:tensorflow:TensorFlow API backwards compatibility test
This test ensures all changes to the public API of TensorFlow are intended.
If this test fails, it means a change has been made to the public API. Backwards
incompatible changes are not allowed. You can run the test as follows to update
test goldens and package them with your change.
$ bazel build tensorflow/tools/api/tests:api_compatibility_test
$ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \
      --update_goldens True

You will need an API approval to make changes to the public TensorFlow API. This
includes additions to the API.
ERROR:tensorflow:1 differences found between API and golden.
ERROR:tensorflow:Issue 1	: Change detected in python object: tensorflow.nn.
F.
This is the error in Linux XLA:
ERROR: /workspace/tensorflow/core/BUILD:1428:1: Couldn't build file tensorflow/core/_objs/framework_internal/tensorflow/core/util/port.o: undeclared inclusion(s) in rule '//tensorflow/core:framework_internal':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/util/port.cc':
'bazel-out/host/genfiles/external/local_config_cuda/cuda/include/cuda.h'.
I am not sure what is causing these failure.
Any help is appreciated. @drpngx https://github.com/drpngx
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/10818#issuecomment-316301974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbT4zRWpxhhdafhgvuv2ufTmU9bG3ks5sPbYbgaJpZM4N9_SW
.

@gunan any clue?

I think this is a Python 3 vs. 2 issue -- I believe it only works with Python 2.

Correct, api compatibility test should be run with python 2.7 on a linux system.
I recommend using docker to update goldens.
We should update test instructions to include this information.

@tensorflow-jenkins test this please

TIMEOUT: //tensorflow/contrib/signal:spectral_ops_test (see /var/lib/jenkins/workspace/tensorflow-pull-requests-gpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local_linux-opt/testlogs/tensorflow/contrib/signal/spectral_ops_test/test.log).

This is the error message from GPU. Is this related to the changes made in this PR?

Probably transient.
Jenkins, test this please.
On Jul 25, 2017 2:30 PM, "Lakshay Garg"<EMAIL_ADDRESS>wrote:

TIMEOUT: //tensorflow/contrib/signal:spectral_ops_test (see /var/lib/jenkins/workspace/tensorflow-pull-requests-gpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local_linux-opt/testlogs/tensorflow/contrib/signal/spectral_ops_test/test.log).
This is the error message from GPU. Is this related to the changes made in
this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/10818#issuecomment-317721795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbfOzJuia9XEIuT6hDC626YzuUgI0ks5sRd_UgaJpZM4N9_SW
.

Here is the error from XLA
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
-----------------------------------------------------------------------------
2017-07-25 14:05:16.646749: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-07-25 14:05:16.646767: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-07-25 14:05:16.646781: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-07-25 14:05:16.646785: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017-07-25 14:05:16.673134: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Executor present with 1 visible devices
2017-07-25 14:05:16.673162: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices
2017-07-25 14:05:16.673396: I tensorflow/compiler/xla/service/service.cc:181] XLA service 0x7fba5040a480 executing computations on platform Host. Devices:
2017-07-25 14:05:16.673406: I tensorflow/compiler/xla/service/service.cc:189]   StreamExecutor device (0): <undefined>, <undefined>
...E...........
======================================================================
ERROR: testFloatOps (__main__.UnaryOpsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/compiler/tests/unary_ops_test.py", line 235, in testFloatOps
    expected=np.array([[-1.11133074, 0., 1.05070099]], dtype=dtype))
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/compiler/tests/unary_ops_test.py", line 54, in _assertOpOutputMatchesExpected
    result = session.run(output, {pinp: inp})
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1118, in _run
    feed_dict_tensor, options, run_metadata)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1315, in _do_run
    options, run_metadata)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1334, in _do_call
    raise type(e)(node_def, op, message)
InvalidArgumentError: Cannot assign a device for operation 'Selu': Could not satisfy explicit device specification '/device:XLA_CPU:0' because no supported kernel for XLA_CPU devices is available.
	 [[Node: Selu = Selu[T=DT_FLOAT, _device="/device:XLA_CPU:0"](a)]]

Caused by op u'Selu', defined at:
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/compiler/tests/unary_ops_test.py", line 408, in <module>
    googletest.main()
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 99, in main
    benchmark.benchmarks_main(true_main=main_wrapper)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/benchmark.py", line 341, in benchmarks_main
    true_main()
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 98, in main_wrapper
    return app.run(main=g_main, argv=args)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/platform/googletest.py", line 69, in g_main
    return unittest_main(argv=argv)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 95, in __init__
    self.runTests()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 232, in runTests
    self.result = testRunner.run(self.test)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/runner.py", line 151, in run
    test(result)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 70, in __call__
    return self.run(*args, **kwds)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 108, in run
    test(result)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 70, in __call__
    return self.run(*args, **kwds)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 108, in run
    test(result)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 395, in __call__
    return self.run(*args, **kwds)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/compiler/tests/unary_ops_test.py", line 235, in testFloatOps
    expected=np.array([[-1.11133074, 0., 1.05070099]], dtype=dtype))
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/compiler/tests/unary_ops_test.py", line 53, in _assertOpOutputMatchesExpected
    output = op(pinp)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/ops/gen_nn_ops.py", line 2412, in selu
    _result = _op_def_lib.apply_op("Selu", features=features, name=name)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 2619, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/private/var/tmp/_bazel_lakshayg/e66b015751a8ea9d986195716e5de469/execroot/org_tensorflow/bazel-out/local-opt/bin/tensorflow/compiler/tests/unary_ops_test_cpu.runfiles/org_tensorflow/tensorflow/python/framework/ops.py", line 1205, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): Cannot assign a device for operation 'Selu': Could not satisfy explicit device specification '/device:XLA_CPU:0' because no supported kernel for XLA_CPU devices is available.
	 [[Node: Selu = Selu[T=DT_FLOAT, _device="/device:XLA_CPU:0"](a)]]

----------------------------------------------------------------------
Ran 15 tests in 0.945s

FAILED (errors=1)

This is what I believe is the main error
InvalidArgumentError (see above for traceback): Cannot assign a device for operation 'Selu': Could not satisfy explicit device specification '/device:XLA_CPU:0' because no supported kernel for XLA_CPU devices is available.
	 [[Node: Selu = Selu[T=DT_FLOAT, _device="/device:XLA_CPU:0"](a)]]

As far as I remember, I modeled the Selu operation on Elu so I am not sure which kernel I am missing. Help needed.

I have added the missing kernel. Please retest.

I think the issue is you are missing this:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/compiler/tf2xla/kernels/elu_op.cc#L61
I took a quick look into the PR and I cannot see REGISTER_XLA_OP for selu op.

Just saw your update.
Jenkins, test this please.

All tests have passed. This can now be merged.

Is this working for anyone? tf.nn.selu, seems to be missing.

@thesuperzapper I just checked the 1.3.0 release and I could not find selu in there. May be it isn't a part of the official release yet. Here are some things you can try:

Clone the repo itself and build the master branch which contains this function
Try using keras, it seems to have selu available (contrib/keras/python/keras/activations.py)
I have some builds of master from a few days ago (which I think have selu available). You can get them from https://github.com/lakshayg/tensorflow-build (Look for tf version 1.3.0rc2)
Implement selu yourself! https://www.tensorflow.org/api_docs/python/tf/py_func

All the best!

Ok, I just pulled the nightly docker image, and tf.nn.selu was there. It looks like it didn't fully make it into 1.3 for some reason.


Solid series symbols don't reflect the correct color

the the fx-background-color is set to white due to the default circles drawing a border. This results in solid fx-shapes being displayed white no matter of the color chosen.

fixed with 72f986b8bcf0320a351f53af5146e4fc2b5d3e2c


Added HdfsResource integration test

Trying to make the story more complete wrt. the HdfsResource testability. I made it use our normal integration test approach of having properties in ${user.home}/metamodel-integrationtest-configuration.properties that drive the setup of the test.

Just also pushed a change HdfsResource so that it no longer implements Closeable. This was never a good design I think and would make handling this Resource implementation much different from other implementations. I did some simple benchmarks of speed (using the integration test) and in 10 runs with both codebases it showed that the impact didn't matter (on the small file at least - but with larger files any difference should actually even out theoretically since the only potential penalty is around "chatty" interactions).


is there any downsides for defining NO_TCMALLOC_SAMPLES?

it seems like defining NO_TCMALLOC_SAMPLES can make allocations be faster...
by always skipping over
  if (PREDICT_FALSE(!cache->TryRecordAllocationFast(allocated_size))) {
    return tcmalloc::dispatch_allocate_full<OOMHandler>(size);
  }

tbh, it is a bit fuzzy in my mind what the class Sampler is supposed to achieve...
I was never aware that some allocation were traced...
intuitively, no trace, no check at all to see if a recording is needed...
it seems like it is only good things and no downsides...
what am I missing?
is this documented anywhere?
what is the trade off to have no allocations never recorded?
(beside populating stats that I am not using)

https://github.com/gperftools/gperftools/pull/1551

If you don't need sampling, you can simply use "libtcmalloc_minimal". But if you want to have it disabled some other way, sure.
Also overhead introduced by sampling is carefuly built to be minimal. On fast-path it is just decrement and conditional jump (a little more but still fast on more risc-ful instruction sets). And yes it is very useful if you know how to use it. At Google all servers run with sampling enabled and ~any engineer can obtain this sample of heap. Showing where memory is spent right now. It can then  be used to investigate things like leaks and what not. Borg and other infrastructure also provides niceties around this.
One valid use strategy in that case would be:
Use minimal version by default. If heap issues are suspected, start using the full version to have the allocator perform samples to help in the debugging
That assume of course that you know what the samples can do for you and how to use them...
Is there some documentation about how this data can be used?

Documentation is another area where we could use more help. I don't think it is well documented. The raw usage can be seen here: https://github.com/gperftools/gperftools/blob/ae15d7a490eff0cd93fbbcfa89469f672e0ec7cd/src/tests/sampling_test.cc#L182
(inside Google there are well-known standard HTTP handlers to serve those; Go folk have caught some of that culture<EMAIL_ADDRESS>


Merge pull request #61 from Bonface-Osoro/refine_plots

Merge pull request #60 from Bonface-Osoro/main

Orbits


Sign in link issues

Describe the issue
The "Sign in" link in the top right-hand corner keeps appending content for the next query parameter.
To reproduce:

Go to Datatracker as an unlogged user.
Click on "Sign in" button on the top right-hand corner.
Click the "Sign in" button in the top right-hand corner again.
New URL is https://datatracker.ietf.org/accounts/login/?next=/accounts/login/%3Fnext%3D/
If you click again, the URL will be https://datatracker.ietf.org/accounts/login/?next=/accounts/login/%3Fnext%3D/accounts/login/%253Fnext%253D/.

Because clicking on the "Sign in" button from the sign-in page changes the next query parameter to /account/login/<stuff>, the user will be presented with a login screen after successful login.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Might be nice to put the page to return to in the session rather than have it as a query parameter (we know there's a session).


Added etcds adapter for using etcd via tls

It works with respect to the env variables ETCD_CAFILE, ETCD_CERTFILE and ETCD_KEYFILE.

Hi -
Is this fully implemented?
Feb 08 18:26:27 CoreOS_1 docker[3594]: 2016/02/08 18:26:27 Starting registrator v7-dev ...
Feb 08 18:26:27 CoreOS_1 docker[3594]: 2016/02/08 18:26:27 unrecognized adapter: etcds://<IP_ADDRESS>:2379/services

Thanks.


Feature request, jobs for crafting blocks/items

Is it possible to add crafting as another way to detect in jobs?
As of now the plugin can detect breaking, placing, fishing, and killing for jobs. By adding crafting there can be more job varieties like blacksmith (crafting tools and weapons), carpenter (crafting planks, logs?) and maybe engineer (crafting redstone related items).

I guess that this already is planned along with other types of interaction. It's part of the job update that's in the making.

Currently in the process of working on a "create" action that will allow for a lot more options in terms of job creation. Thanks for the suggestion.

This issue is necessary for #49 and #25

Closed in favor of #49 and #25


Fix CI trying to publish macos binaries

Current dependencies on/for this PR:

main

PR #149   👈

This comment was auto-generated by Graphite.


Give aghost access tags

Related to #3230

#6671 will be nice

Yeah I think its easier to just close this and add access in that PR

#6671 will be nice

Yeah I think its easier to just close this and add access in that PR

done


3wm: Cannot accept incoming and current

see recording and JSON data below
:bug: I cannot get both sides accepted, they are mutually exclusive

https://user-images.githubusercontent.com/1794099/193030696-1f852f79-da40-4dc9-9d65-86a6ae4dae91.mov
{
    "languageId": "plaintext",
    "base": "Zürich\nBern\nBasel (FCB)\nChur\nGenf\nThun\nfunction f(a:number) {}",
    "input1": "Zürich\nBern\nBasel\nfff\nhhh\nrrr\neee\nChur\nGenf\nThun\nwork-work",
    "input2": "The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox.  The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox.  The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox. The quick brown fox jumps over the lazy fox.d\nZürich\nBern\nBasel\nfff\nhhh\nrrr\neee\nChur\nhehehehehehe\nGenf\nThun\n<<<<<<< HEAD\nmain-main\n=======\nwork-work\n>>>>>>> work\n"
}

/duplicate #157632

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


create_database_user call results in JSON parse error

The following example is given in the documentation
database = 'site_development'
new_username = 'foo'
new_password = 'bar'
permission = :write

###with all permissions
influxdb.create_database_user(database, new_username, new_password)

This amounts to the following for me
JSON::ParserError: A JSON text must at least contain two octets!
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/json-1.8.3/lib/json/common.rb:155:in `initialize'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/json-1.8.3/lib/json/common.rb:155:in `new'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/client/http.rb:88:in `handle_successful_response'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/client/http.rb:14:in `block in get'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/client/http.rb:52:in `call'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/client/http.rb:52:in `connect_with_retry'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/client/http.rb:11:in `get'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/query/core.rb:94:in `execute'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/influxdb-0.2.3/lib/influxdb/query/user.rb:8:in `create_database_user'
	from (irb):13
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /Users/martin/.rvm/gems/ruby-2.2.3@cpass/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
	from /Users/martin/Documents/Development/Rails/cpass/bin/rails:9:in `require'
	from /Users/martin/Documents/Development/Rails/cpass/bin/rails:9:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'

The execute block in create_database_user seems to be returning an "" source which the parse method is trying to execute upon.

Which version of InfluxDB were you using?


Shibboleth authentication inconsistent.

Initial login and authentication seems to work, but the Admin menu seems to disappear rather randomly, requiring users to click the 'login with shibboleth' button again.  This restores the Admin menu (without actually logging in again).

@tantz001 : Could you please provide a step by step method to reproducing what you are seeing?  Is the Admin menu disappearing after simply browsing around? Or are your refreshing/reloading the page and losing your authentication session (that is a known issue if so that authentication is lost on a reload, but we have an early possible fix here: https://github.com/DSpace/dspace-angular/pull/682)?  Is it only occurring in one browser or all?
In general, it helps the development team if you can find a way to reproduce a bug, and then give us the step-by-step process you've found. Otherwise, we have to try to search around for where the bug might be.

There are actually a number of situations, but one I remember for sure is simply pressing the 'home' image (the DSpace logo).  Although now for the life of me I can't duplicate it.  Maybe it is a timeout issue?  And yes, for sure, a page refresh will do it.  I will note very carefully the next time this actually occurs.

@tantz001 : We will need an exact description of how to reproduce this.  We've had a lot of recent updates (even as recent as today) to the Angular authentication code which has fixed similar bugs related to losing authentication tokens/cookies.  So, it's very possible that this bug was already fixed (which might be why you cannot reproduce it) by other fixes we've applied in recent weeks.
For now, I'm flagging as "cannot reproduce".  We'll leave this open temporarily in case you figure out a way to reproduce this problem. But, if not, no worries, we can close the ticket & reopen later if it's ever rediscovered.


coerce within nested schemas generates new objects on top level

I came across some unexpected behaviour using the coerce functionality:
from cerberus import Validator

v = Validator({
    'files': {
        'type': 'list',
        'schema': {
            'type': 'dict',
            'schema': {
                'test': {
                    'type': 'integer',
                    'coerce': lambda s: 100
                }
            }
        }
    }
})

v.validate(v.validate({'files': [{'test': 'data'}, {'test': 'data2'}]}))
print(v.document)

generates the output:
{'files': [{'test': 'asd'}, {'test': 123}],
 'test': 100}

The output I was expecting was:
{'files': [{'test': 100}, {'test': 100}]}

It's unclear to my why the coerce function would generate data on the top level or the v.document object.

I realized I was using version 0.92 (this is still the pip latest version on pip) and this issue was described in #185. It's fixed in the git master branch fixed as mentioned in the issue.  Sorry for the noise.


Clean up enhanced component ecs

We need to clean up NewEnhancedComponentPropertiesV2 and ComponentFunctionPropertyDataflowV1 as we prepare for preview.

✅ No public API change.


Evaluate facebook clang-to-json AST exporter

https://github.com/facebook/facebook-clang-plugins
https://github.com/facebook/facebook-clang-plugins/tree/master/libtooling/tests/JsonASTExporter
If we are able to dump the AST as JSON, it would simplify the AST import in c2go

One big thing we haven't dealt with is retaining code comments between C and Go. This is extremely important, but that information (as far as I can tell) is not maintained reliably in the clang AST (even as a pointer to the real location like we do with the floating point numbers).
I wonder if this could help?


Snake with the edition of Menu's

This game includes a menu that add the following features:
-Allows the modification of initial snake size
-Allows the modification of snake speed
-Allows the edition of walls
-Each of the food blocks created are a random color
-Allows the ability to replay the game if the player loses

Please do not include generated Netbeans code. This looks ugly and makes it difficult to read... You can always refactor the code and remove the full package scope from your variables.


Header decorator

Coverage remained the same at 100.0% when pulling 3bd58463b78d352c6e9bcc328a948df1cbc78140 on header-decorator into f201387e72d19894839ee72e23829339dfc48063 on master.


DoH resolver implementation

~Depends on https://github.com/multiformats/go-multiaddr-dns/pull/26~
TBD:

[x] tests

Updated for<EMAIL_ADDRESS>as the upstream dependency has been merged.
Awaiting @lidel's review.


Suggestion - Signature tool

Expected behavior
When opening the editor, a button should allow to paste a predifined signature at current cursor position.
The predifined should be editable in the parameters page
Actual behavior
As feature is absent, i need to open a previous post, edit, copy the signature, cancel edition, paste it in the new post.

Browser:  chrome / firefox
Operating system: Ubuntu latest LTS

Probably should be done after #1450.

@bonustrack how should it be handled in post editor? Should we have checkbox "Include signature", add "Insert signature" button or something different?

We dont need to change post editor for that. Just make the signature appear in single post if user has saved a signature on his json_metadata.


retroarchBare: add -fcommon workaround

Workaround build failure on -fno-common toolchains like upstream
gcc-10 or llvm-11. Otherwise build fails as:
duplicate symbol '_apple_platform' in:ui_cocoa.o cocoa_common.o

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build retroarchBare


[Mini Provisioner] Sample files don't use dix pool type

@knekrasov
I think it would be nice to add 1 dix pool as well to all the sample files.
Currently we just have sns.
Thanks!
Originally posted by @suvratjoshi in https://github.com/Seagate/cortx-hare/issues/1739#issuecomment-892536417

@suvratjoshi can we add dix pool parameters in template files as part of EOS-16272 PR?

Yes right.
I was already about to do that. :)

In review :
PR : https://github.com/Seagate/cortx-hare/pull/1651

Suvrat Chandrashekhar Joshi commented in Jira Server:

Patch for these dix pool related additions to sample files, is combined with aux pools' PR :
https://github.com/Seagate/cortx-hare/pull/1651
Thanks!

The PR #1651 is merged to fault_tolerance branch, which included changes for this request as well.
This issue is covered using JIRA ticket https://jts.seagate.com/browse/EOS-23822
Marking this issue as resolved.
Thanks!

Suvrat Chandrashekhar Joshi commented in Jira Server:

PR https://github.com/Seagate/cortx-hare/pull/1651 is merged to fault_tolerance branch.
Thanks!

Pavan Krishna Thunuguntla commented in Jira Server:

Verified by deploying and test (TEST-26881) PR#1651
[Custom-CI#2560|http://cortx-storage.colo.seagate.com/releases/cortx/github/integration-custom-ci/centos-7.8.2003/custom-build-2560]


Selected DNS doesn’t persist when closing and reopening app

https://github.com/kkk669/DNSecure/assets/7146141/38db73f4-1516-420f-8414-8110e29729a1

Please see video for details.

Thank you for reporting it. Could you provide your OS version?

iOS 17.1.2

I can reproduce this issue. It occurs only if you haven't ever added or changed server configurations.
I'll try to fix it in a few days.

@therealparmesh
I fixed the issue in 1.4.5. That version will be released to TestFlight soon. If it's released, could you please test it and make sure that the issue is fixed?

It works! Thanks for your great work.

Thank you. I'll release it to the App Store.


MQTT serverConnection lost

MQTT plugin suddenly disconnects and when tried to reconnect back it shows the error:
Error while connecting to MQTT serverConnection lost (32109) - java.net.SocketException: Software caused connection abort.
This happens very often. Is there any fix for this?

I can help you if you need it...

@adrianmihaila Yes, I'm still facing this issue. Please let me know what is the fix.

I had the same problem, but I found a workaround.
`class MqttClient {
connect(successCallback) {
let clientId = 'm-' + device.uuid;
cordova.plugins.CordovaMqTTPlugin.connect({
  url: MQTT_BROKER_URL,
  port: MQTT_BROKER_PORT,
  clientId: clientId,
  reconnectPeriod: 1000,
  clean: false,
  success: successCallback,
  error: (e) => {
    logger.error('Mqtt connection error: ' + JSON.stringify(e));
  },
  onConnectionLost: () => {
    this.connect(successCallback); // Here is the magic. On connection lost, you will try to reconnect.
  }
});

}
....
}
`
Also, you should have no keepAlive. I made a suite of manual tests and all of them have passed.
Adi

Hi
I got the same issue when two tablets with the same application connect to QMTT Server (Mosquitto on raspberry pi)
I observe that the application lost connection with server (Error while connecting to MQTT serverConnection lost (32109) - java.net.SocketException: Software caused connection abort) when on an other tablet the application connect.
They should have different Client ID
cordova.plugins.CordovaMqTTPlugin.connect({   url:"tcp://" + config.gateway,   port:config.port,   clientId:"TABLETTE_" + macAdd,   connectionTimeout:3000,   willTopicConfig:{qos:0, //default is 0     retain:true, //default is true     topic: lastWillTopic,     payload: lastWillPayload   },   username:config.MQTT_log,   password:config.MQTT_PW,   keepAlive:10,   isBinaryPayload: false });
but I suspect an issue about that and the ClientID is the same for all application (whatever you set as clientId)
any idea ?

Hi,
According to MQTT spec, we cannot reuse same Client ID which is used previously. The broker shall deny connection or close previous connection. The library generates a random Client ID if it is unset or left blank.

Actually if clientId is not set broker receive id null
It seems the library doesn't generate random clientId

A newer version is being worked on here https://github.com/ameykshirsagar/cordova-plugin-mqtt . You can keep a tab on developments


2048 image size input

Hi, thinks for your great work,

I trained for 55 epochs, most photos have a nice result, but the saturation of some yellow photos is over saturability reference at #41
I want train the model which input image size is 2048,  how to  modify the code?  Is  16G GPU memory enough?

@xuanzhangyang hi,have you solved this problem？

@sangenan
Just modify unet architecture and FLAGS['data_image_size'], then resize the train dataset.
But when training on a 1024 size image, and set batch to 1, it will consume 16G GPU memory.

@xuanzhangyang  thank you for your help. This is a method, but the requirement of hardware is a little high. Do you have any other idea ?

@sangenan perhaps sppnet?

Hi, @xuanzhangyang @sangenan
According to #18, @nothinglo give a simple method about arbitrary resolution, i think its pix2pixHD generator. In order to solve the problem, i create a qq groupchat 65773370. Maybe we can chat each other.

So sorry for the delay. I uploaded the inference models and the code I used in my demo website.

how you  modify unet architecture to support 1024 input?

how you modify unet architecture to support 1024 input?

@sangenan
Just modify unet architecture and FLAGS['data_image_size'], then resize the train dataset.
But when training on a 1024 size image, and set batch to 1, it will consume 16G GPU memory.

how you modify unet architecture to support 1024 input?


how to incorporate the regularization term into loss  computation in validation stage

I designed a model with the loss function of  loss=f(W)+1/2||W||^2. I used the train_on_batch to train the model and calculate the loss in the training stage, and 'test_on_batch' to calculate the loss in the validation stage. I found that, the loss calculated by train_on_batch was f(W)+1/2||W||^2, but the loss only included f(W) when using 'test_on_batch', not incorporated the regularization term. It is reasonable in the majority cases.
But in my case, I want to calculate  f(W)+1/2||W||^2 and not train the model in validation stage.  In this case, train_on_batch and test_on_batch are not work. How can I rewrite the  train_on_batch or test_on_batch to meet my requirement?
Thanks very much!

You have to change models.[Sequential or Graph].compile so that regularizers are also added to test_loss.

thanks for your help, NasenSpray. But I still don't konw how to change the code, could me more suggestion? Which part in models.[Sequential or Graph].compile should I to change?

After here and here, insert
for r in self.regularizers:
    test_loss = r(test_loss)


Update INSERT and CAPS LOCK entries

Both features are now present in current firmware

Thank you for your contribution!


Add spring-boot-actuator

Add spring-boot-actuator and expose the actuator-endpoints anonymously to use for e.g. health- and readiness-probes in kubernetes.

Runs as cronjob.


JobActor::WorkerManager's logs contain the WorkerID that they correspond to

Context
Explain context and other details for this pull request.
Checklist

[ ] ./gradlew build compiles code correctly
[ ] Added new tests where applicable
[ ] ./gradlew test passes all tests
[ ] Extended README or added javadocs where applicable

In this case yes.
On Wed, Apr 12, 2023 at 10:52 AM Gottipati Gautam @.***>
wrote:

@.**** commented on this pull request.
In
mantis-control-plane/mantis-control-plane-server/src/main/java/io/mantisrx/master/jobcluster/job/JobActor.java
https://github.com/Netflix/mantis/pull/411#discussion_r1164463397:

@@ -1286,6 +1288,8 @@ class WorkerManager implements IWorkerManager {
.build();
private volatile boolean stageAssignmentPotentiallyChanged;

   private WorkerManagerLogger workerLogger;

so you mean, I can directly add worker Id to Logger.info, where ever
worker id is not mentioned.
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/mantis/pull/411#discussion_r1164463397, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AU5L2E3SSC7QB54ESUL2ZW3XA3TUHANCNFSM6AAAAAAWVFZ534
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add a "print version" option

This came up while looking at an issue with Allen - there was no obvious way to see which version he had installed locally. Since most CLI tools use the -v option to print the version, I decided to add this.
There was previously a -v arg for printing validator file names but that was a debug tool I made for myself and I can't imagine any users would use that, plus we are still in 0.x so we can make breaking changes 😏
In this PR...

The -v option is updated to print the version
The print validator version is changed to -p
The logic for turning off coloring is simplified with a ternary operator
The README is updated with new option and also correct some outdated statements (the npm --save option is now deprecated)
The appropriate option handler test is updated

oh sure. blame me.


Update sonic-weave dependency

Adds break, continue and else branch for loops.
Adds support for default values for function parameters.

Reviewers assigned based on suspected work targetting v3. Will self-review and merge in couple of days unless objections are raised.

No issues have come up. Merging.


Azure Security Center

 | 12:52:41 - The deployment
 | 'azureSecurityCenter-20211110T1211298683Z' failed with
 | error(s). Showing 2 out of 2 error(s). Status Message: The
 | name 'AppServices' is not a valid name. Possible pricing
 | bundle names: VirtualMachines, SqlServers, StorageAccounts,
 | SqlServerVirtualMachines, KubernetesService,
 | ContainerRegistry, Dns, Arm, OpenSourceRelationalDatabases.
 | (Code:InvalidResourceName)  Status Message: The name
 | 'KeyVaults' is not a valid name. Possible pricing bundle
 | names: VirtualMachines, SqlServers, StorageAccounts,
 | SqlServerVirtualMachines, KubernetesService,
 | ContainerRegistry, Dns, Arm, OpenSourceRelationalDatabases.
 | (Code:InvalidResourceName)  CorrelationId:
 | 9a8fc2d0-c0df-40c6-b7d8-35dd0a9bda54

@cacarroll  Is this a deployment in a government cloud?

Closing as there was no progress in 3 months


Export field icon types object

A user must currently specify their own icon when using FieldLabel. This makes it awkward to use with AutoField, as the user has to redefine the icons for their field type.
Proposal
Add a fieldIcons export that maps the nodes to the field types. We should also use these internally to ensure consistency.
const fieldIcons = {
  text: <Heading size="16" />
}

The user can then use them alongside the FieldLabel API
<FieldLabel icon={fieldIcons.text} label="My Label">
  <AutoField ... />
</FieldLabel>

@chrisvxd what about specifying the field type instead? e.g
<FieldLabel type='text'>
   <AutoField ... />
<\FieldLabel>

And depending on the type you would show the proper icon.
If the user don't provide the type then he should provide his own icon and ofc his icon has the priority over the puck icons incase he provide the type and the icon at the same time

@chrisvxd what about specifying the field type instead? e.g
<FieldLabel type='text'>
   <AutoField ... />
</FieldLabel>

And depending on the type you would show the proper icon.
If the user don't provide the type then he should provide his own icon and ofc his icon has the priority over the puck icons incase he provide the type and the icon at the same time

I suppose we could also use that to address the array item deletion bug 🤔

I suppose we could also use that to address the array item deletion bug 🤔

yup i think so


Fixes native support for _.find

Hi,
I've just found an issue about _.find.
Thanks for your contribution !!
Best

Didn't see this pull request until I corrected it myself....
Thank you for your code though!

@RePoChO  Do you know why the quick link is not working? I am not an expert of markdown... : )


Update PR Template

Associated Issue: #50
Summary of Changes

Updated the PR template to avoid some confusion for people following the step-by-step guide in the README.

Pull Request Test Coverage Report for Build 118

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

Totals

Change from base Build 116:
0.0%

Covered Lines:
88

Relevant Lines:
99

💛  - Coveralls

@jcalebj Thanks for the effort, but this was already fixed by #51. If you want, have a look at #34 (add a new rebus) 🙂


[homePage] communityWithCommunityChooser returns null

Got this after purging the node. It could be because I still had a deprecated state in the app store.
Edit: Yes, this is because chosenCid does not exist anymore:
.firstWhere((c) => c.cid == store.encointer.chosenCid)

======== Exception caught by widgets library =======================================================
The following StateError was thrown building CommunityWithCommunityChooser(dirty, dependencies: [MediaQuery], state: _CommunityWithCommunityChooserState#fcd81):
Bad state: No element

The relevant error-causing widget was:
  CommunityWithCommunityChooser file:///C:/code/encointer-wallet-flutter/lib/page/assets/index.dart:111:23
When the exception was thrown, this was the stack:
#0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
#1      _CommunityWithCommunityChooserState.build (package:encointer_wallet/page-encointer/common/communityChooserPanel.dart:116:28)
#2      StatefulElement.build (package:flutter/src/widgets/framework.dart:4612:27)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4495:15)
#4      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4667:11)

Hence, I will close this as this should not happen in production setup.

yes, saw that before too. should be handled gracefully, maybe show the community selector in cas the choseCid doesn't exist?


SAMZA-1920: Standalone user guide.

@vjagadish1989 Converted the internal doc(reviewed internally) to markdown in this PR. Can you please take a look when you get a chance.

Can you attach a snapshot of how it renders?
Can you verify that if you click on Docs --> Deployment --> Running as embedded library displays your page?


Mesh expansion missing ISTIO_VERSION

Describe the bug
Docker image for proxy has ISTIO_META_ISTIO_VERSION=1.0.2, which causes RBAC and other
plugins to generate config. It is missing in the startup script for mesh expansion.

Is this still relevant?

Yes, it's a simple change in the build, didn't have time to make it.

Fixed in 1.1


Can visual automation be used on Linux? - yes, need special setup for SikuliX

eg clicking UI elements by specifying their image snapshots

Yes, however, as Linux has different distributions, there is special setup needed in order for SikuliX to work (the engine that TagUI uses for visual automation and low-level keyboard mouse control)
https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#version-1-1-4-special-for-linux-people

I saw there is substantial number of users who are installing on Linux. Reopening issue to -

add notice in readme on this setup (OpenCV, Tesseract) on Linux to use visual automation
add notice to this setup link during initial installation of TagUI when t.init() / t.setup() is called

This will prevent Linux users from wasting their time trying to debug what is wrong when using visual automation and improve their user experience. Though still troublesome. I think primarily the reason is because there are many flavours of Linux, no one standard version. So it is hard for apps like SikuliX / OpenCV / Tesseract to automatically provision binaries that work on all Linux OSes.

Implemented in v1.17, and now available with pip install tagui --upgrade


Testing Issues

Hi, I'm facing error below while testing my own trained model using vgg.I have only 4 classes (include bg) and using VOC-like dataset while training. May I know is there any changes needed to be done in vgg.py or test_frcnn.py in order to successfully test my dataset using own trained data ?
ValueError: Layer #21 (named "time_distributed_2"), weight <tf.Variable 'time_distributed_2/kernel:0' shape=(50176, 4096) dtype=float32_ref> has shape (50176, 4096), but the saved weight has shape (25088, 4096).

I reinstalled my python,tensorflow and keras
I solved the problem


feat: alternative syntax for custom aside titles

What kind of changes does this PR include?

Changes or translations of Starlight docs site content
Changes to Starlight code

Description

original discussion
markdown tools might parse markdown directive labels as links incorrectly.

https://github.com/microsoft/vscode-markdown-languageservice/issues/14
https://github.com/microsoft/vscode-markdown-languageservice/issues/7

added alternative syntax that uses title attribute instead, e.g :::tip{title="Did you know?"}
:::tip{title="Did you know?"}
Astro helps you build faster websites with [“Islands Architecture”](https://docs.astro.build/en/concepts/islands/).
:::

Thanks for taking the time to make this PR and sorry for taking some time to get to this. I think having too many syntaxes is likely confusing for people (and additional maintenance burden), so I think we’d prefer to stick to just supporting our existing syntax. However, as of Starlight v0.19, it is possible to render asides with an imported Aside component in MDX, so hopefully that provides a viable alternative to the custom :::note-style syntax if needed.


NEW SEM Page - Trusted by Leading Organizations Alignment Issue

Trusted by Leading Organizations – Alignment is off. Logos should be justified to the edges on left and right '
Examples: https://main--shredit--stericycle.aem.live/en-us/marketing/bulk-paper-shredding and https://main--shredit--stericycle.aem.live/en-us/marketing/hard-drive-destruction-service  (this applies to all pages using this layout)

It is already taking up the full space. The Luxottica image contains a background that is occupying space. So, I think you need to modify the Luxottica SVG.
Closing this as of now.


Typo in /fundamentals/performance/critical-rendering-path/measure-crp.html

documentContentLoaded should be DOMContentLoaded.

@srus did we ever pull this in ?

Yes, you merged it with master. I accidentally closed this issue, but realized that is your decision to do that, so I reopened it.

Ah. Right :) I am ok with you closing it.
On Thu, 19 Mar 2015 09:45 Sergio Rus<EMAIL_ADDRESS>wrote:

Yes, you merged it https://github.com/google/WebFundamentals/pull/1122
with master. I accidentally closed this issue, but realized that is your
decision to do that, so I reopened it.
—
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/issues/1121#issuecomment-83451438
.

:+1:


explicit WARNING for skipping verification of token signing; or if token claims it wasn't signed

This PR should be considered in addition with https://github.com/cloudfoundry/cf-uaa-lib/pull/34 which will provide a warning-free method for looking up expiry time.

PR waited a long time sorry for that - if you still want contribute, please rebase and press ready for review

This is good work that we should merge.
I've rebased the code on master branch in #84.
I suggest we close this PR and move on with #84.


IDE support @json

There is no interactive operation, but there is a red mark, this is a optional.


SWC viewers

Various potential tools

[ ] 3D interactive

Ideally Neuroglancer as a Jupyter widget with each SWC a layer
Doubt that Colab has made the necessary libraries available.

[ ] 2D projection to static image

want 2-part mugshot: front & side

[ ] SWC overlaid on 2D tile view

Adopting the terminology of ShuTu (Tile View, Projection View, Stack View, 3D View) for the various UI views, since he already has them worked out i.e. implemented in code.

Lowest hanging fruit (with minimum requirements of Colab supported features) would be static image generation.

One really crude solution is to download the SWC and then upload it to, say, https://neuroinformatics.nl/HBP/morphology-viewer/

Here's The Alleneurs plotting SWCs as 2 part mugshot (front and side)
https://allensdk.readthedocs.io/en/latest/_static/examples/nb/cell_types.html#Cell-Morphology-Reconstructions

Cell Morphology Reconstructions
The Cell Types Database also contains 3D reconstructions of neuronal morphologies. The data are presented in the SWC format. We'll download a particular cell's reconstrution here.
The AllenSDK contains a module that makes it easier to work with the SWC files.
We can use this data to draw lines between each node and all its children to get a drawing of the cell. We'll do it looking at it from the front and from the side.

If interactivity happens, to sync both mugshot subviews: Linking two similar widgets.


Removed paper-dialog, possibly other dependencies?

@tomalec, it seems that in your commit  https://github.com/StarcounterPrefabs/Launcher/commit/6606846cd2983afd1c8b1325b31ecb30ffb8c999 you have removed some of the libraries that were actually used (at least paper-dialog).
Could you please check and restore what's needed?
Discovered today with @ubbeK
Screenshot:

Ok, I thought those are some kind of legacy code, as were not mentioned in bower.json, an I just did regular bower cleanup.

I have reverted my changes, to make code work, and created bower cleanup issue to make it later, as I would like to focus now on composer, and predefined layouts

Lesson to everyone: When putting client side packages to /sys/, always save it in bower.json


Virus Spawn

some times virus spawns inside a player in Update Branch

+1

If the server is too crowded the safe spawning system fails in most cases.

Never happens to me (then again i don't use the updates branch)

@Gigabyte918 +1

I am aware of this, been trying to fix it.

Was just about to submit the same issue. +1

Fixed in the updates branch.


leg_3jnt_01 joint flipping problem

Hi Miquel,
I have discovered a bit of a flipping problem with the leg_3jnt_01 component.
The leg component has joints ranging from leg_L0_0_jnt through to leg_L0_9_jnt followed by leg_L0_end_jnt.
The flipping occurs when rotating leg_L0_ik_ctl in positive X. 91.068 is the exact number where the flip occurs (the guide is kept in default arrangement for the test).
At 91.068 rotation X on the IK control leg_L0_9_jnt and leg_L0_end_jnt flips from zero to -180. When skinning to these joints it becomes quite obvious when the flipping occurs.
My use case is a cat leg and the IK controller get rotated to curl the paw while walking for example.

This problem can perhaps be fixed if the way the foot connects to the leg is setup in a way that it has a control that when rotated only affects the foot but when translated affects both ik effector and foot.

Hi @Lohult  I will check this since I also have another bug in this component:
https://github.com/mgear-dev/shifter_classic_components/issues/4
Thanks for the feedback :)

I moving this to the other repository https://github.com/mgear-dev/shifter_classic_components/issues/

This issue was moved to mgear-dev/shifter_classic_components#11


[sw] Split irq control functions from handlers

When testing, it is useful to be able to use the irq control functions,
while also overriding the default handler implementations in handler.c.
This commit splits the libraries, so components can both control their
interrupts and override the default handlers (which depend on uart).
This commit also splits off the declarations of the handler function
names into the handler header, so that other libraries can produce
compatible definitions which override the default, weak-linkage,
definitions.

@lenary How would you feel if, instead of taking this approach, we switch everything to using the functions from #1200? The default behavior would be to print out the messages but then drop them on the ground, which sounds like what you want. The main() function still has to set up printing to use UART.
This "runtime" approach avoids the "these two libraries are incompatible" issue, which I'd prefer to avoid at all costs.

The primary intention here is to split the object containing handler.c from the object containing irq.c. This was also helped by cleaning up the split between handler.h and handler.c (moving some attributes), and then I had to ensure those were linked everywhere correctly.
I still think that the functions declared in irq.h should not be in the same library as those in handler.c, given we'll eventually be replacing irq.h with a PLIC DIF.
Yes, #1200 solves the immediate problem of "please can we have a clean, empty set of handlers, so we can test things without extra dependencies, especially self-referential ones". #1200 does not solve the "let's split these two libraries", but I think that can come later, once the PLIC DIF is ready? It would be good to hear @silvestrst's opinion on how necessary the split remains if #1200 is landed.

Oh sure, we can do the splitting part. I think I was thinking of an earlier think in which we would have two libraries with different default implementations.

I think I was thinking of an earlier think in which we would have two libraries with different default implementations.

Ah, yes, that commit is separate (I linked to it somewhere), but hadn't posted it as a real PR yet because dependent PRs are not much fun. I'm happy to abandon that one, as long as we can ensure the default handlers have no link-time dependency on uart (or any other component like that)


CSS improvements (responsive map embedding in examples/tutorials)

Fix #7342
Fix #7420
I described here my changes: https://github.com/Leaflet/Leaflet/issues/7342#issuecomment-976381354

supersede by #7950


Add 0.11.0-rc to peerDependencies

And re-add 0.10.0-rc 0.11.0-rc

0.10 is already stable, so we don't need to support rc version anymore. Remove it and I'll merge support for 0.11.0-rc

I wrote 10 but meant 11, see commit
https://github.com/ashleydw/react-native-side-menu/commit/cfb4e28698928878054bfaa3f0e407ecab6d150d#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R26

Exactly, you add 0.10.0-rc and 0.11.0-rc. The thing I ask is to remove 0.10.0-rc from the request


feat: support environment specification

Support environment variable spec like how null-ls does
Should simply pass a dict to env in "uv.spawn" call in format.
Maybe implemented like so?
ft('ft')
    :fmt('fmt')
    :env({ ENVVAR = 'VAL' })

yup . maybe is that


Bottom part of project overview

Expected (according design)

Actual
Completely missing.
Needed
Project images (assets)

Using assets from WYWS folder


List out dependencies that are required to use neural-compressor

When running pip install neural-compressor, I ran into the following error:
  unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycocotools

Through trial and error and googling the error, I found that I need to first install build-essential and python3-dev. After that, the pip install of neural compressor was successful, but something seems like it's still not right, because I get the following error when trying to do the imports from the pruning doc.
>>> from neural_compressor.experimental import Pruning, common
2021-10-06 21:52:52 [INFO] generated new fontManager
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/__init__.py", line 18, in <module>
    from .quantization import Quantization
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/quantization.py", line 20, in <module>
    from .data import DATALOADERS, DATASETS
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/data/__init__.py", line 19, in <module>
    from .dataloaders import DataLoader
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/data/dataloaders/__init__.py", line 18, in <module>
    from .dataloader import DataLoader
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/data/dataloaders/dataloader.py", line 18, in <module>
    from neural_compressor.experimental.data.dataloaders import DATALOADERS
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/experimental/__init__.py", line 18, in <module>
    from .component import Component
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/experimental/component.py", line 17, in <module>
    from ..conf.config import Conf
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/conf/config.py", line 21, in <module>
    from ..strategy import STRATEGIES
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/strategy/__init__.py", line 18, in <module>
    from .strategy import STRATEGIES
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/strategy/strategy.py", line 30, in <module>
    from ..utils.create_obj_from_config import create_eval_func, create_train_func
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/utils/create_obj_from_config.py", line 19, in <module>
    from neural_compressor.experimental.data import DATASETS, TRANSFORMS, FILTERS, DATALOADERS
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/experimental/data/__init__.py", line 20, in <module>
    from .transforms import TRANSFORMS, BaseTransform, transform_registry
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/experimental/data/transforms/__init__.py", line 18, in <module>
    from .transform import TRANSFORMS, BaseTransform, transform_registry
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/experimental/data/transforms/transform.py", line 316, in <module>
    'nearest': cv2.INTER_NEAREST,
  File "/usr/local/lib/python3.8/dist-packages/neural_compressor/utils/utility.py", line 72, in __getattr__
    top_level_module = __import__(self.module_name)
  File "/usr/local/lib/python3.8/dist-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Can you list out all the dependencies that are required to install and run the neural compressor? I'm running this inside the intel/intel-optimized-tensorflow:2.5.0-jupyter container.

Is it build-essential, python3-dev, and python3-opencv that are needed? Just python3-opencv alone didn't work for me.

build-essentail is needed. it will provide gcc and pycoco will rely on it to dynamically generate cython object during installation.


Feature request: image scaling

Non-background images are always shown at their original size, which is often not at all adapted to a slideshow. For locally stored images, preprocessing is a solution, but not for pointing directly to images on other servers. Explicit image scaling would therefore be a nice feature to have.

I hope that the instruction on this useful feature should be added to the tutorial / wiki of the page.

Naive question, but where should I place the macro definition?

@enrico16 : right before this line
var slideshow = remark.create();

Great feature, makes Markdown cleaner and more compact. Maybe macro definition should be added to the Wiki page? It would make easier for new users to learn about this tool and use it.

Another little macro that keeps the alt text option:
remark.macros.img = function (altText, width) {
  var url = this;
  return '<img alt="' + altText + '" src="' + url + '" style="width: ' + width + '" />';
};

Usage:
![:img my alt text, 50%](my-image.jpg)

How could I get this to work with a locally stored image (not a url)?
In the slide
.center[![trachoma](picsfigs/trachoma.jpg)]

Works well, but after adding the
beforeInit: "macros.js"
and adding the macros to that file, knitting yields a blank presentation

This works great, can you add it to https://github.com/gnab/remark/wiki/Formatting#images so that people find it quickly?
One problem I have is that if you put images in Markdown tables, the column width is still scaled to full image size. Is there anyway around this?
Thanks!

One problem I have is that if you put images in Markdown tables, the column width is still scaled to full image size. Is there anyway around this?

px instead of % seems to solve this:
![:scale 50px](image.jpg)


change Destination Folder on Windows

I have to install TogglDesktop elsewhere, not in my LOCALAPPDATA directory, but the path is greyed out and is unchangeable. I tried to install in the default location then move the folder, but the app would not start after the move. This is from the Event Log:
Faulting application name: TogglDesktop.exe, version: <IP_ADDRESS>, time stamp: 0x59f105b7
Faulting module name: MSVCR120.dll, version: 12.0.21005.1, time stamp: 0x524f7ce6
Exception code: 0x40000015

I was able to install it elsewhere by changing "Local AppData" value in the registry. That did not help, I am still unable to start the program. Same error in the Event Log. Tried with latest installer downloaded from here, same result.
Faulting application name: TogglDesktop.exe, version: <IP_ADDRESS>, time stamp: 0x5a0cb8d3
Faulting module name: MSVCR120.dll, version: 12.0.21005.1, time stamp: 0x524f7ce6
Exception code: 0x40000015

Tried a clean install on a different machine, same. Change "Local AppData", install, change "Local AppData" back, try to launch - same error as above.

Toggl desktop is meant to be in user directory and the reason is that the app would not need administrative privileges to run.

Is this a "won't fix", or can you enable the editing, so user can enter an arbitrary path? Running apps from user directory is forbidden in a corporate environment. Group policy. Can't override it even if I'm a local admin.

Having this group policy on is a common thing. Since viruses install themselves in user directory as well.

We have a separate Enterprise version that allows changing the install path. You can get it from here
Let me know if this version works ok for you.

Will this installer let me stay on the basic plan (free)?

I'll do some tests to see if I can pinpoint what exactly causes this error.

will be fixed with #2955


Spyder doesnt show definition-source code of functions

Hello, I was using Spyder 5.1.5 and I was able to go to the function source code with only right clicking and selecting go to definition (or something like that) I don't know why but now I can't go to the source-definition of anything. I tried ctrl+G as I read in issues but it is not working too. I downgraded spyder to 4.1.3 but it still doesnt work. (In preferences completion and linking is already enabled so its not the problem too) Anyone has any idea?

Hi @YCAyca thank you for the feedback! Could you provide more info regarding your setup (dependencies, python version, spyder version, OS, etc? Also, maybe the docs related to the LSP could help: https://docs.spyder-ide.org/4/troubleshooting/common-illnesses.html#lsp-has-stopped-working
Besides that, if you are on Windows or MacOS, maybe you can give it a try to our standalone installers to have the latest Spyder version available at the moment (5.3.0): https://github.com/spyder-ide/spyder/releases/latest
Any new info in order to reproduce this is greatly appreciated. Let us know if something of the above helps

Hello, Im using Linux Spyder 4.10.3. And when I updated Spyder for another reason to 4.1.5 it solved the problem...


[RFR][Feature][#OSF-6554]Clean up MFR doc build warnings

Purpose:
Clean up MFR doc

Fix warnings
Update Sphinx config for last MFR refactor

Changes:
Update CHANGELOG remove newlines causing sphinx warnings
Update various docs/*.rst files to reflect MFR refactor
Add various docs/*.rst files to reflect MFR refactor
Remove various docs/*.rst files to reflect MFR refactor
Update  mfr/core/utils.py "def make_renderer" docstring to fix sphinx warning
Side effects
None
[#OSF-6554]

Merged, with minor adjustments.  Thanks, @TomBaxter!


Docs

Add docs and summary to improve the repo understanding.

Codecov Report

Merging #91 (49ead80) into master (ff91140) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #91   +/-   ##
=======================================
  Coverage   98.30%   98.30%
=======================================
  Files           7        7
  Lines         590      590
=======================================
  Hits          580      580
  Misses         10       10

Flag
Coverage Δ

unittests
98.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


No more daily source checks, sitewide job-status page, and more

No more daily source checks. I was intending to profile which job types use the most runtime, but from just eyeballing the job statuses in recent weeks, it seems like 90+% of the time it's the source checks that are running. So I think it's safe to say that we've grown out of the point where "automatically check every source daily" is reasonable. For the few cases where we actually want to check every source, there's now a management command for that, vb_check_all_sources.
Provide a button for source admins/editors to run a source check on-demand. There's a cooldown of 30 minutes. Hopefully this isn't needed too often, since source checks are still automatically scheduled upon certain events; such as images being uploaded, or the last of some feature-extract jobs getting finished. But when it is needed, the capability's there. This on-demand button, on average, should be a far less resource-intensive fallback protocol compared to "check every source daily".
Add a sitewide job-status page, where it shows recent average wait times and the number of jobs in the queue over time. Viewable for anyone who can log in.
Tweaks/enhancements to the job list views.
New help dialog for the source job list.

Seems that we're finally getting the incomplete jobs under control.


[docs] Document sanitization hooks (minimally)

This is a power-user feature, but we should at least have some minimal docs pointing interested developers to the relevant API docs or source.

Sanitization hooks were reverted in #1098


Display selected plugin

While the plugin-box styling and selection is working. The plugin comes at the top of editor panel. Trying to do the correct positioning

This PR is corresponding to Issue #45

Moved the plugins to the DevBotFooter.

Removing plugins by clicking cancel on the box, will not delete the plugin from the text box.

You can add multiple plugins.
You can't add the same plugin multiple times in the same instruction.

So now the UI is updated but the plugin information travels through chat message as well?

Yeah, Plugin information travel through text. Sure will work on it.

So now the UI is updated but the plugin information travels through chat message as well?
I am going to accept this. In the next change, change the JSON structure across all levels (Frontend, Server, Engine, NL2DSL?) so that the links don't have to travel via the ChatMessage and it doesn't pollute the user's instructions.

Added it as a new issue #58


0.2.3

Blocked by #675.
This pull handles various cleanup and bugfix tasks requires to make 0.2.3 shippable for play.witheve.com and NPM.
play.witheve.com is two versions old now and is missing many hotfixes, so this needs to get out Monday or Tuesday next week barring show-stoppers.

Looks like quick start no longer loads automatically if I run from dist and start at "/"

Seems fine otherwise


Fix get and set initializations

Without this, a null pointer was being referenced. Lead to a SEGFAULT

@soerenlemke I will still be creating PRs instead of directly merging. You should review and merge :)

Great, sounds good!


How to use on Linux?

I have windows but also have a Linux Ubuntu PC. In the title it has the tag Linux yet there is no build scripts or anything. How do I inject it? (I am retarded please don't say confusing stuff)

https://github.com/danielkrupinski/Osiris/blob/master/.github/workflows/linux.yml
This should work, however I never got it to work since I get instant VAC errors whenever I have a folder named 'Osiris' :/

Didn't work for some reason
Say's "CMake Error: The source directory "/home/myname/Release" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
"

I don't use linux, but read instructions made by this guy
https://github.com/danielkrupinski/Osiris/pull/2853

https://github.com/danielkrupinski/Osiris/issues/3283


Error in (foldl) function. Band and others with (...) in current version support only 3 arguments. [solution inside]

If function:
local function foldl(f, init, ...)
  local fst, rest = ...
  if (fst == nil) then
    return init
  end
  return foldl(f, f(init, fst), rest)
end

This part contain an error:  local fst, rest = ...
rest in this situation will save only second arg and that mean only first 3 args will be supported.
To make it work as expected you need to use table.pack, table.unpack and table.remove funcs:
local function foldl(f, init, ...)
  local rest = {...} -- equal to `table.pack` (packs `...` into table)
  local fst = table.remove(rest,1) -- removes first item from `rest` table and loads it into `fst` variable
  if (fst == nil) then
    return init
  end
  return foldl(f, f(init, fst), table.unpack(rest)) -- unpacks `rest` into correct `...`
end

Code above should work correctly but it will work way better if you wrap ... with {...} before calling foldl like this:
function bit32.band(...)
  return foldl(function(x,y) return  x & to32(y) end, MAX_32, {...}) --wraped `...`. Same stuff must be done for `bor` and others
end

This kind of solution will allow you to push only 3 arguments into foldl where third one is table with args.
That will allow you to skip a few steps like table constructor calls ({...} - table wraper) and table.unpack at the end.
Also functions that has no multy-argument support are faster so technically that should increace your lib performance.
New func with no varargs:
local function foldl(f, init, rest)
  local fst = table.remove(rest,1)
  if (fst == nil) then
    return init
  end
  return foldl(f, f(init, fst), rest)
end

Thank you for your attention. And good luck in future development.

Hi,
Thank you for spotting the problem. It is a nasty bug, the current code works in trivial cases, but it fails to do what it promises, that is, be a drop-in replacement to keep legacy code working. I got some cryptography library working with it, without spotting the issue.
I plan to keep the vararg logic and only fix foldl, since I want to keep the code as simple as possible, the code shouldn't be used anyways if performance is desired.


[oscar][ray backend] Actor creation

What do these changes do?
Actor creation on ray backend.

Related issue number
https://github.com/mars-project/mars/issues/1903

Hi, @fyrestone , we added an actor driver class which has a method called setup_cluster, it can be used to setup a cluster for Ray. Besides, new backend now just needs to inherit from BaseActorBackend.

Hi, @fyrestone , we added an actor driver class which has a method called setup_cluster, it can be used to setup a cluster for Ray. Besides, new backend now just needs to inherit from BaseActorBackend.

LGTM in general. Please rename tests in ray backend from "*Local*" into "*Ray*". What's more, copyright info for mars/oscar/backends/ray/tests/__init__.py is missing.

LGTM in general. Please rename tests in ray backend from "*Local*" into "*Ray*". What's more, copyright info for mars/oscar/backends/ray/tests/__init__.py is missing.

backend

Fixed, Thanks.

backend

Fixed, Thanks.


TF Lite Documentation and Raspberry Pi Demo Request

Hi All,
I want to request further documentation for running TF Lite on a Raspberry Pi.
I was really impressed by the SSD demo shown by Andrew Selle during the TensorFlow Dev Summit and would love to see documentation to reimplement something like that.
At some point the tensorflow/contrib/lite/README.md stated something about a Raspberry Pi demo app coming soon, but it is no longer there. Is this something that you still plan to support?
Thanks!

Have I written custom code: N/A
OS Platform and Distribution: N/A
TensorFlow installed from: master
TensorFlow version: N/A
Bazel version: N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

@alberto139  I think it's in g3doc

Nagging Assignee @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Sorry, it is on my list to open source this.

Nagging Assignee @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @aselle: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

This is a dupe of #19110.

Nagging Assignee @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Dupliate.