Kimi Chat 虽然加入了，但无法打开设置窗口。[BUG]

Describe the bug / 描述问题
在勾选Kimi后，无法呼出设置窗口
To Reproduce / 复现步骤
勾选Kimi 就能查看
Expected behavior / 期望行为
勾选Kimi后能正常使用
Screenshots / 截图
No response
Devtools Info / 开发者工具信息
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
KimiBot.j
Failed to load resource: the server responded with a status of 401 ()
refresh:1
   Failed to load resource: the server responded with a status of 401 ()

KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
user:1
   Failed to load resource: the server responded with a status of 401 ()

refresh:1
   Failed to load resource: the server responded with a status of 401 ()

KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
user:1
   Failed to load resource: the server responded with a status of 401 ()

refresh:1
   Failed to load resource: the server responded with a status of 401 ()

KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
user:1
   Failed to load resource: the server responded with a status of 401 ()

refresh:1
   Failed to load resource: the server responded with a status of 401 ()

KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
user:1
   Failed to load resource: the server responded with a status of 401 ()

refresh:1
   Failed to load resource: the server responded with a status of 401 ()

KimiBot.js:69 Error refreshing Kimi tokens: se
(anonymous) @ KimiBot.js:69
user:1
   Failed to load resource: the server responded with a status of 401 ()

OS and version / 操作系统版本
Windows 10
ChatALL version / ChatALL 版本
v1.63.95
Network / 网络
None.
Additional context / 其它相关信息
No response

同样的 疑惑，kim没有配置登录的选项。很奇怪

已在 77b055a 修复，只是还没发布


[Dyson Sphere Program] No hint with recipe for accumulator

Describe the bug
In "Select An item"  dialog, when I hover on a item, popup a hint with recipe. But for accumulator there is no recipe in hint.
Expected behavior
I'd like get a hint with recipe
Screenshots
There is recipe in hint for Tesla tower

No recipe for accumulator

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
115.0.5790.171

This occurs because there are two recipes for accumulators; one to manufacture them, and one from discharging the energy from a full accumulator. There should be other items like hydrogen that also don't show a recipe in the tooltip for the same reason.


Handling comments and linebreaks in JSON / ARM templates

This is fix for: https://github.com/Azure/azure-cli/issues/8937
Please check discussion there. Basically I have just written simplest possible solution that will preprocess given json that may contain line breaks and comments.
I have tried to use jsoncomment but it has very obvious flaws which caused problems even with sample ARM template given in the issue I am solving. More information can be found in the issue I have created below:
https://github.com/vaidik/commentjson/issues/22

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Please cross check the CI failure and verify no regression; also please add unit tests

Let us close this and let @lmazuel submit a right one


the difference between two ways of prediction

Environment
linux + python
Question
things likes this:
i successfully trained the lightgbm model with libsvm format dataset. Also, i want to do a prediction with  libsvm format data.
df_test = lgb.Dataset('test.libsvm')
bst = lgb.Booster(model_file='model.txt')
y_pred_prob = bst.predict(dtest)

then it throws the ERROR:
  y_pred_prob = bst.predict(dtest)
  File "/Library/Python/2.7/site-packages/lightgbm/basic.py", line 1616, in predict
    return predictor.predict(data, num_iteration, raw_score, pred_leaf, data_has_header, is_reshape)
  File "/Library/Python/2.7/site-packages/lightgbm/basic.py", line 383, in predict
    raise TypeError("Cannot use Dataset instance for prediction, please use raw data instead")
TypeError: Cannot use Dataset instance for prediction, please use raw data instead

so, i have to change the libsvm format to other, like csv (used in official examples), which results in a much bigger and  bigger data file.
but i also find another way to do a prediction:
with a predict.conf file:
task = predict
data = test.libsvm
input_model = model.txt

and run the command:
> ${path_to_lightgbm}/lightgbm predict.conf

this way just make it and output a file of prediction result
so, why this way can use libsvm file? and what's the difference between this two ways of loading data when predict?
thanks.

@journeycheng
you cannot use lgb.Dataset to prediction.
You can pass the file path directly in predict function:
bst = lgb.Booster(model_file='model.txt')
y_pred_prob = bst.predict('test.libsvm')

@guolinke
that works and helps me a lot, really thankful

@guolinke
execuse, another question.
if i only need to predict one piece of data, a string, its content is also in libsvm format, but i don't want to write it into a file. How can i do a prediction?
example = '0 885:1 1211:1 1349:1 1353:18 1354:16 1357:1 1359:1 1362:1 1363:1 1369:2 1370:2 1371:2 1372:2 1373:2 1390:1 1392:1 1434:9.53674316406e-06'
bst = lgb.Booster(model_file='model.txt')

@journeycheng
you should covert it to the matric/CSR format first.
However, the predict function is designed for the multi-line data, using it to predict with single line is not efficient.

@guolinke
get it.

@journeycheng
you should covert it to the matric/CSR format first.
However, the predict function is designed for the multi-line data, using it to predict with single line is not efficient.

If model is trained using libsvm format dataset, I failed to predict using single row numpy or matric/CSR features. Any suggestions?


WasapiLoopbackCapture throws COMException(0x8889000F)

I use WasapiLoopbackCapture class and WasapiLoopbackCapture.StartRecording(). When I call the method, it throws below:
Unhandled Exception: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x8889000F
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at NAudio.CoreAudioApi.WasapiCapture.InitializeCaptureDevice()
   at NAudio.CoreAudioApi.WasapiCapture.StartRecording()
   at SpeakerTest.Program.Main(String[] args) in C:\Develop\SpeakerTest\SpeakerTest\Program.cs:line 19

The source code is below:
public class Program
{
   public static void Main(string[] args)
   {
      using (var speaker = new WasapiLoopbackCapture(new MMDeviceEnumerator().GetDefaultAudioEndpoint(DataFlow.Render, Role.Console)))
      {
         speaker.DataAvailable += new EventHandler<NAudio.Wave.WaveInEventArgs>(Program.SpeakerEvent);
         speaker.StartRecording();
         speaker.StopRecording();
      }
      Console.ReadKey();
   }

   private static void SpeakerEvent(object sender, WaveInEventArgs e)
   {
   }
}

How can I solve this problem? Do you have any idea? Also I use NAudio version 1.8.4.

This is AUDCLNT_E_ENDPOINT_CREATE_FAILED. "The method failed to create the audio endpoint for the render or the capture device. This can occur if the audio endpoint device has been unplugged, or the audio hardware or associated hardware resources have been reconfigured, disabled, removed, or otherwise made unavailable for use"


Unable to resolve out of memory error

Description
I am working on an LVGL application that has 8 tabs and displays a number of fields and controls in each of those tabs. I am trying to add a label to one of the tabs but after doing so, I get the following error when launching the application in the simulator:
Warn: Couldn't allocate memory  (lvgl/lv_misc/lv_mem.c #145)
Error: Out of memory!   (lvgl/lv_core/lv_obj.c #187)

This has happened to me before and I usually just increase the size of LV_MEM_SIZE to eliminate the issue. LV_MEM_SIZE is currently defined as (1024U * 1024U). If I increase the size of LV_MEM_SIZE definition to (2048U * 1024U), there is no difference in behavior and the application still throws the error shown above upon launch.
If I remove the code that adds the label and pushes the application above the memory limit, the application runs fine and the memory monitor reports the following:
used:  55000 (  6 %), frag:   1 %, biggest free: 993568

If I am understanding the memory monitor output correctly, I am no where near taking up the 1MB of memory being allocated to LVGL. How is adding a single label pushing it over the edge?
To Reproduce
The best way to reproduce this issue would be to attach the application source to this ticket but I will not be able to do this as it is closed source.
Expected behavior

I expected the out of memory issue to go away after increasing LV_MEM_SIZE
I expected the memory monitor to report a much higher used value after removing the label that pushes LVGL over the edge

Screenshots
NA
Additional context

LVGL version: 5.2.0
OS: Ubuntu 18.04 x64

LittlevGL 5.2 is very old, and isn't really supported anymore. Can you update to 5.3, at the very least? Even 5.3 is outdated now but I assume this is for an existing product and you can't afford a major upgrade at the moment.
The behavior you're describing is very weird. Creating a label shouldn't use anywhere near 1MB of memory. I'm guessing that there's memory corruption somewhere. Are you using a custom memory allocator or the built-in one? What does the memory monitor report after the allocation fails? (You might have to insert the memory monitor code in `lv_obj.c`` for debugging purposes.)

Some other things to try:

Does this happen if you create a different object type (like a button)?
You mentioned that you're using the simulator. Does this issue also happen on the target device (if one exists for testing)?

Updating to 5.3 should be possible as the app has not been released yet, I will report back after I attempt to upgrade.
Using the built in memory allocator, below is relevant section of lv_conf.h:

#define LV_MEM_CUSTOM      0                /*1: use custom malloc/free, 0: use the built-in lv_mem_alloc/lv_mem_free*/
#if LV_MEM_CUSTOM == 0
#define LV_MEM_SIZE    (1024U * 1024U)      /*Size memory used by `lv_mem_alloc` in bytes (>= 2kB)*/
#define LV_MEM_ATTR                         /*Complier prefix for big array declaration*/
#define LV_MEM_ADR          0               /*Set an address for memory pool instead of allocation it as an array. Can be in external SRAM too.*/
#define LV_MEM_AUTO_DEFRAG  1               /*Automatically defrag on free*/
#else       /*LV_MEM_CUSTOM*/
#define LV_MEM_CUSTOM_INCLUDE <stdlib.h>   /*Header for the dynamic memory function*/
#define LV_MEM_CUSTOM_ALLOC   malloc       /*Wrapper to malloc*/
#define LV_MEM_CUSTOM_FREE    free         /*Wrapper to free*/
#endif     /*LV_MEM_CUSTOM*/

The memory monitor does not report anything when the application fails. The simulator window that shows up but it is blank. The only output I see is the output reported in my first post. I believe this is because the entire UI is constructed immediately after LVGL is initialized and before the memory monitor is given a chance to execute.
Adding a button instead of a label does not cause the issue to occur, application runs fine
I do not have access to target device at the moment but give it a shot once I do

Can you try moving the memory monitor statements into this if statement? (The line numbers probably won't match because that's the 6.1 file.)

Adding a button instead of a label does not cause the issue to occur, application runs fine

Very strange. Can you try adding a label as a child of the button?

 (We weren't tagging patch releases at that point in time, so this commit should have every fix since 5.3's release.)

I have moved memory monitor statements into the if statement requested, with a slight hitch. Attempting to pass mon.frag_pct to printf results in Floating point exception (core dumped). Removing this arg and its corresponding formatting to printf results in no exception. With that being said, here is the updated output:

used: 1048576 (100 %), biggest free:      0
Warn: Couldn't allocate memory  (lvgl/lv_misc/lv_mem.c #157)
Error: Out of memory!   (lvgl/lv_core/lv_obj.c #187)

I actually added a label as a child of the button when I tested adding a button instead of a label, I should have mentioned this, but it worked without issue
Thanks for the 683545f commit reference, I will change to it and see if the issue gets fixed

I am experiencing difficulty updating lvgl to commit 683545f. Between 5.2.0 and 683545f the source file lv_core/lv_vdb.h got removed. The following files from lv_drivers reference this header:

fbdev.c
monitor.c
R61581.c
SSD1963.c
ST7565.c

This results in compilation failure. Not sure what the right fix is for this. I tried updating lv_drivers source to commit 060bb6f (last commit before 6.0 tag) to fix the issue but the references to lv_vdb.h are still there. Any suggestions?

Replacing them with lvgl/lvgl.h should work, although it seems that you just fixed that problem. :slightly_smiling_face:

I am going to have to hold off on updating lvgl to commit 683545f. There are some breaking changes related to container styling and fitting and I presume these will significantly effect the layout. Before I move further with the update I need to investigate alternative solutions to the issue.

I found the issue and it was an issue in application code. Issue was due to calling lv_cont_create where I should have been using lv_label_create.

Glad to hear it!
Just so you know, LittlevGL 6.1 includes additional built-in assertions to lessen the likelihood of that bug going unnoticed.


Remove redundnat IMD tick

Summary

Just a single line change, forgot to remove App_Imd_Tick after I moved it into state machines.
Changelist

Testing Done

Resolved Issues

Checklist
Please change [ ] to [x] when you are ready.

[ ] I have read and followed the code conventions detailed in README.md (This will save time for both you and the reviewer!).
[ ] If this pull request is longer then 500 lines, I have provided explicit justification in the summary above explaining why I cannot break this up into multiple pull requests (Small PR's are faster and less painful for everyone involved!).

lgtm


Fix check in getDiscriminantPropertyAccess

Fixes #55425.

Tests and perf look good. This one is ready to merge.


Error occurs when setting the same prefix for two SyncBatchNorm

import mxnet as mx
from mxnet.gluon.utils import split_and_load
ctx_list = [mx.cpu(0)]
x = mx.nd.random.uniform(shape=(5, 5), ctx=mx.cpu(0))
nch = x.shape[1] if x.ndim > 1 else 1
bn2 = mx.gluon.contrib.nn.SyncBatchNorm(in_channels=nch, num_devices=1, prefix="bn_")
bn2.initialize(ctx=ctx_list)
print(bn2.collect_params())
inputs2 = split_and_load(x, ctx_list, batch_axis=0)
for xi in inputs2:
    xi.attach_grad()
with mx.autograd.record():
    output2 = [bn2(xi) for xi in inputs2]
    loss2 = [(output ** 2).sum() for output in output2]
    mx.autograd.backward(loss2)
output2 = mx.nd.concat(*[output.as_in_context(x.context)
                         for output in output2], dim=0)
output2.asnumpy()

x = mx.nd.random.uniform(shape=(5, 10, 20), ctx=mx.cpu(0))
nch = x.shape[1] if x.ndim > 1 else 1
bn2 = mx.gluon.contrib.nn.SyncBatchNorm(in_channels=nch, num_devices=1, prefix="bn_")
bn2.initialize(ctx=ctx_list)
print(bn2.collect_params())
inputs2 = split_and_load(x, ctx_list, batch_axis=0)
for xi in inputs2:
    xi.attach_grad()
with mx.autograd.record():
    output2 = [bn2(xi) for xi in inputs2]
    loss2 = [(output ** 2).sum() for output in output2]
    mx.autograd.backward(loss2)

output2 = mx.nd.concat(*[output.as_in_context(x.context)
                         for output in output2], dim=0)
output2.asnumpy()

it will raise error:
Traceback (most recent call last):
  File "bn.py", line 36, in <module>
    output2.asnumpy()
  File "/home/ubuntu/raw/incubator-mxnet/python/mxnet/ndarray/ndarray.py", line 2566, in asnumpy
    ctypes.c_size_t(data.size)))
  File "/home/ubuntu/raw/incubator-mxnet/python/mxnet/base.py", line 246, in check_call
    raise get_last_ffi_error()
mxnet.base.MXNetError: Traceback (most recent call last):
  File "../include/mshadow/./tensor_cpu-inl.h", line 153
Copy: Check failed: _dst.shape_ == _src.shape_ ((5,) vs. (10,)) : shape mismatch:(5,) vs (10,)

I doubt that it is because two SyncBatchNorm have the same names for their parameters.

Looking at its implementation, it seems that it uses the name (prefix) to decide which tensors to sync: https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/contrib/nn/basic_layers.py#L235
It's better to reflect this in the documentation

I don't think this is a documentation issue. There is a bug in the backend implementation using global state wrongly where it mustn't use global state at all.

Don't use the same prefix for two BatchNorm layer.

Thanks @zhanghang1989. Unfortunately that's not an acceptable workaround for the usecase.


Flex 3734 add ntp server

Scenarios [@CoreConfigurationManagement]

retest this please

Followed the suggestion from @kevinsmeets and replaced the CollectionUtils of CXF by the one in Spring.


[FR] Provide method for stubbing GET and HEAD requests at the same time

Most HTTP servers [1, 2] provide an implicit implementation of HEAD if the server handles the equivalent GET request.
It would be nice to have WireMock provide a getOrHead MappingBuilder, or for an option to set it's default behaviour to translate HEAD into GET request. However I think being explicit is better when testing.
[1] Jersey: https://jersey.github.io/documentation/latest/jaxrs-resources.html#d0e2129
[2] Python's SimpleHttpServer: https://github.com/enthought/Python-2.7.3/blob/master/Lib/SimpleHTTPServer.py#L56

I think a bit of Java DSL to do this would be OK. I'm less keen on the idea of adding it explicitly to the JSON API, as this might introduce more complexity than it would justify.
Are you thinking of raising a PR?

Closing due to age and inactivity


[google_maps_flutter] Fix incorrect polygon argument name in google maps controller

Description
Polygons do not work on iOS because there is a bug in the controller so they never get added to the map.
Related Issues
31094 - feature request
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[-] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

LGTM

Is there a reasonable way to cover this with a test?

@amirh You can do an end to end test on a device / emulator, then you just need to draw a shape and read it back again, looking at the implementation of the controller there is currently no way to read it back again. Another way could be to intercept / spy on the _polygonsController.
To help mitigate the problem totally you might be able to look at changing the strings from literals into selectors and use NSStringFromSelector, this should give compile time safety.
https://developer.apple.com/library/archive/documentation/General/Conceptual/DevPedia-CocoaCore/Selector.html
https://developer.apple.com/documentation/foundation/1395257-nsstringfromselector?language=objc


Use fetch instead of XHR request

In order to use Pusher Auth inside a Chrome extension in manifest v3 needs forcefully use fetch and not XHR
I add the same request but using fetch instead of XMLHttpRequest
https://developer.chrome.com/docs/extensions/mv3/mv3-migration/#background-service-workers

Please don't reformat the whole code with different coding standards. It makes it impossible to review the diff.

Please don't reformat the whole code with different coding standards. It makes it impossible to review the diff.

i fix now


sink(ticdc): DDL event support for the Debezium protocol

What problem does this PR solve?

Issue Number: close #11566
What is changed and how it works?
Debezium provides the SQL CREATE, ALTER, or DROP statement that results in the schema change. https://debezium.io/documentation/reference/2.7/connectors/mysql.html#mysql-schema-change-topic
This PR implements encoding for the DDL event and checkpoint event.
Difference between TiCDC and Debezium:

Default length display

Debezium output is different when setting the default length. e.g. int length is nil but int(11) length is 11.

Unsupported data type

TiCDC converts DECIMAL to NUMERIC.
TiCDC converts INTEGER to INT.
TiCDC converts REAL to FLOAT when setting sql_mode='REAL_AS_FLOAT'.
TiCDC converts BOOLEAN to TINYINT(1).

TimeZone
needs to set time_zone='UTC' to compare time.
Generated column cannot be analyzed correctly.
Alter table add/drop foreign key

TiCDC is not support these DDL type.

Default value

In TiCDC, BLOB, TEXT, GEOMETRY or JSON column 'binaryRepresentation' can't have a default value

Incorrect FLOAT data output

Debezium value is incorrect. e.g. The value is "5.61", but Debezium output value is "5.610000133514404".
TiCDC incorrect length output. https://github.com/pingcap/tidb/issues/57060

Incorrect charset name

Debezium converts charsetName to "utf8mb4" when column COLLATE is "utf8_unicode_ci" and CHARACTER is null , but TiCDC doesn't.

Incorrect enum elements

Debezium doesn't escape character, but TiCDC does. e.g. ENUM('c,'d', 'g,''h').

Incorrect default about TIME

TiCDC converts TIME default '1000-00-00 01:00:00.000' to "1000-00-00", but Debezium doesn't.
Debezium produces the wrong result when the insert value is illegal like "-838:59:59.000000".

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
yes
Release note
DDL event support for the Debezium protocol

/ok-to-test

/retest

/retest

/retest

/retest


Log error, don't crash, if socket closes mid-send

Split from #81
Error will always be the same type, no need to log it.
Other conversation: https://github.com/ethereum/utp/pull/81#discussion_r1234472553
Ideally, we would detect somehow that it was a normal shutdown, and we would just silently exit. But if it happens at a surprising time, then it is valuable to have the log. Warn seems like about the right level for that, especially since it typically doesn't trigger very often.

I see where you're going. I think what's happening is that there's a bug that causes the socket to disappear before the connection completes. (This is possibly something that could be fixed by adding an internal flush, like #89 )
But the current behavior of panicking is unacceptable, because it causes flaky test failures. Changing the behavior to cause an error in the shutdown or connection result would have the same problem, since the test unwrap's these results (correctly, IMO).
I am starting to run out of time to work on utp stuff, other things need my attention. How about I add an issue to track down why the connection sometimes keeps running after the socket is dropped, and we merge this patch until then?

Ok, I tried something that closes the connection with an error if the socket is unavailable for writes. I kind of don't think it's worth this much extra error handling in order to shut down the connection, just to deal with an occasional flaky issue that's only showing up during tests (some kind of race with shutting the connection down).
My intuition is to just go back to the first commit in this PR, but I wanted to show you this in case you had a better idea how to implement shutting down the connection.

Ok, my next thought is that we can go back to panicking everywhere, except while the connection is handling the final steps of closing down (which I think is where it's happening anyway). It still means having transmit() return a result, but we can just expect() it everywhere except for where we handle setting the state to Closed.


Using "docker" or other container technology for research software

We've been using docker/containers for quite a while now, and it is very good at encapsulating complex packages with their dependencies, for use on any Linux/x86 system. Also can be used for continuous integration/automated testing, and will be important for HPC too.
I could write an article, if it would be useful.

will be important for HPC too

Correct me if I'm wrong, but isn't it the case that a lot of (at least NSF funded) compute clusters don't support virtualisation?

I wrote "will be" important. Certainly, it is still at an early stage, but I expect to see an explosion of interest this year. I have had experience of running on DoE Cray machines with 'shifter', and 'singularity' seems to now also becoming popular. Probably, we will expect to create a 'live' document which will update to reflect the reality as it changes...

Perfect.  Thanks for clarifying.

Chris,
Please proceed.  This is an important topic.
Thanks.

Would you include charliecloud? The newest release has unprivledge builds as well on HPC machines

This is done


Return to libc-master as it has new device header support

The build uses a release, but master (main) has the new device supports we need. Clone the main instead of picking up a release of avr-libc

See also #30


Evaluate/visualize an image outside VG dataset

Hello @danfeiX
I was wondering if there is a way to evaluate image(s) that are not in the VG dataset using this framework. Currently, using test.sh with the pre-trained model from this repository, it allows passing single/multiple VG images from the imdb_1024.h5 which requires associated scene graph database+metadata, ROI proposals+distributuion.
If anyone can share their insight on this would be most helpful.

I am wondering this too.

You'll have to create your own dataset following the same format as the .h5 files. The framework currently do not support evaluating single image.

But to create the imdb and roidb, it needs to have some metadata which is only available for VG. Can we preprocess without these metadata?

But to create the imdb and roidb, it needs to have some metadata which is only available for VG. Can we preprocess without these metadata?

Hello . Recently ,I am trying to generate the scene graph of my own image .  Have you solved this problem ? Thanks in advance .

But to create the imdb and roidb, it needs to have some metadata which is only available for VG. Can we preprocess without these metadata?

hi! have you solved this problem?tsk

Can you generate proposals.h5 corresponding to the small data set? Please tell me how to generate it if you can. Thank you very much．


Support Library/$evaluate evaluation

Get the runner to the point that it can run Groups of tests as a Library using the Library/$evaluate operation

Initial focus here should be on:

Building a library with ELM (i.e. an ELMJsonLibrary
Invoke Library/$evaluate, but with a libraryResource parameter that inlines the Library (rather than having to POST first)

@angelok1 @brynrhodes This PR and Angelo's PR is similar. I think for the sake of consistency we should stick to javascript.
For Library/$evaluate to work, a FHIR resource would need creating or alternatively just the CQL extracted, then the participant will ingest them to their server sometime before test running. The workflow of building these library files during test running is too late for some engines. For the short future, the Firely CQL dotnet SDK team needs to manually convert CQL to C# to FHIR Library outside of the FHIR server and load them separately. I think maybe Angelo has a similar requirement, converting CQL to database language, but not on the fly.
To automate this, please allow me to spitball a direction that is totally up for discussion:

Create an api endpoint on the test-runner that will output the current tests in various formats. The benefit here is that the test-runner composes the test output rather than having every engine do it and possibly be inconsistent.

GET /api/tests?_type

output would be a zip payload of the _type.

_type would be one of the following:

null/empty - a zip payload of tests as they originally exist
cql - the CQL libraries grouped and extracted from the test XML
elm - the Elm version of the CQL libraries grouped and extracted from the test XML (optional parameter _format=json or xml)
fhir - FHIR library resources of the same, grouped and extracted from the test XML (optional parameter _format=json or xml)

A FHIR server, engine, or separate simple API query software, would regularly query this endpoint (ideally only upon github cql-test commits) and then process the test.

For the non-FHIR engines or those that do not want to expose a public endpoint, they could pull in the tests, perform any conversion, and run them and provide back the results as we discussed in the DQIC. This would be another endpoint /api/submitresults - where the engine can post their results to update the UI on demand.

For FHIR servers with a public endpoint, they would query api/tests upon commit and convert and load the FHIR resources to their server. Then wait for the scheduled run of library/$evaluate where the test-runner sends the request to run each group by passing the library name. For scheduled runs, I think a couple hours after test commit is probably sufficient if the engine has created the automated process of updating their FHIR libraries upon commit. There could also be a schedule or manual action for re-running for a particular engine in the UI.

Once this tool is published to the web, we'll have to add some data about the target engines, both for results UI and to know what/if the endpoint is, and maybe some other data about what tests are intentionally skipped/unsupported and why, etc. Quick top level data example:

Firely | https://server.fire.ly | $evaluate
Smile | https://cql-tests.smiledigitalhealth.com | $cql
Carrera | n/a | submitresults  <-- i.e skip automated test
Google | n/a | submitresults  <-- i.e skip automated test

I realize the scope is greater than this ticket, but I figured a discussion is in order to avoid going down a path that is not flexible for everyone.

I see your point that the underlying approach is javascript, so it would make sense to have a unified approach. Here is my thinking as to why I felt python was the right fit:
@richfirely One of the issues I am taking away from what you're saying is that different systems will need different preparation steps. Some will need to compile and others will need to transform/load data. To some extent, our system would need to do that, too (e.g., load test data). I'm sure many (most?) systems will ultimately do that.
That presents a problem because we either need to bake in hooks everywhere, or somehow free the toolchain from that concern.
Many benchmarks address this by offering a toolkit rather than a test runner framework. The toolkit generates all of the inputs for your test in a standard format. The implementer is responsible to prepare, execute, and collect output. There are rules as to what is allowable (for example, you can't alter their substance, but you can rename them, compile them, break them up, combine them, and whatever else is practical).
For our tests, an engine would also need the test XML which defines the expected results. That could be another _type in the model above, but we would need another configuration artifact that tells the end user what to collect, per test (which tests I need to ask for, which XML configurations, CQL, etc). We may need that anyway.
In my mind, the script itself ensures the test content is consistent since it is generated from the XML source of truth. In the scenario of a REST endpoint to do this job, you would need to clone the repo to get the test configuration to then call the server you'd need to stand up just to serve back the same content you just cloned.
The reason I lean toward python for this script is that the minimal required by any implementer would be to clone the repo, run the script (which gives you your artifacts) and you're done with your inputs and the repo has served its purpose. Python is ubiquitously available with nothing else to install or stand up. If an implementer would like more automation provided, they could stand up the testrunner. But, in my opinion, the test runner will not be of much utility to most implementations since they will all have a custom setup for whatever their platform does that we can't possibly foresee and bake into the approach.
This is my 2 cents.

I created my initial comment with the thinking that this was eventually moving toward a centralized test server rather than a tool everyone would download into their pipeline. That was clarified to me today on the DQIC meeting and changes the discussion quite a bit.


Feature requests

I'm looking for an advanced tag input control. Insignia is almost what I need, except for a few features. I wonder, if Insignia can be adjusted to provide means to implement them.

Store objects as tags. E.g. { kind: 'fruit', value: 'orange' } --> [fruit icon] orange. Or else provide render() method for me to render tags in a custom way: fruit:orange --> [fruit icon] orange. User would input metainformation for a tag (i.e.kind), for example, via a typeahead menu. I would like to keep tags editable as they are, and let user change the kind as well as value. Initially it would be OK if a such object tag would simply devolve to fruit:orange text upon edit.

Auto-sortable tags. I need to be able to sort tags automatically, using complicated sort criteria. Ideally, I need to be able to provide sorting (not comparison) function to the Insignia.

Line breaks. I need to be able to clear the line before certain tags. E.g. tag newline should always be placed on a beginning of a new line in the tag field (equivalent of always injecting <br/> before it). Probably could be done via render() method discussed above.

Custom HTML. Optional. I'd like to be able to inject custom HTML before / after certain tags to provide extra UI elements (for example "insert another specific tag here" button).

Typeahead. We discussed it in #4.

I'd be open to a customizable render method like I implemented in horsey
You mean sorting the DOM nodes? Or what is it that needs sorting? The output? In the latter case it's easy, doing .tags().sort(criteria)
Covered by a customizable render method
Covered by a customizable render method
Covered by horsey

Are you able to put in the work for these features?

You mean sorting the DOM nodes? Or what is it that needs sorting? The output? In the latter case it's easy, doing .tags().sort(criteria)

The DOM nodes as well as the output.

As for a customizable render() method — how do you see the editing of the custom-rendered tags?

I wouldn't change that aspect, when you get into edit mode, whatever HTML there is gets converted into the plaintext value for that tag. It's up to the consumer to not overdo it so that the transition between display and edit modes makes sense

Can I control what gets rendered before, after (or, better, around) that plaintext value? For example, I'd like to keep a clickable icon there to let user to change the metadata. I can always show the typeahead menu again, of course, but it would be great to be able to show additional visual hints as well.

I would probably rather place the clickable icon at the end of the field, outside of Insignia, or try to cram it into the render method somehow. But allowing arbitrary stuff around the input within Insignia would just complicate things

NB: This is the kind of control that I meant by placard: http://getfuelux.com/javascript.html#placard
As for the arbitrary stuff — if I can control render() of adjacent tags, I can add this stuff there, I suppose. But that would be a rather convoluted solution...

So, a clean solution that doesn't involve any changes to rome would be:
insignia(input);
input.parentElement.insertBefore(placard, input);

Hmm, I should try this, thanks!
What about an API for tag sorting?

I don't want to add an API to sort the DOM elements, as the use cases for that are very limited, and the logic would be fairly complicated, but like I mentioned earlier sorting the output is already trivial

Can the sorting be done (implicitly or explicitly) as follows?

Get all tags from insignia.
Sort the tags.
Clear tags in insignia.
Put sorted tags back in insignia.

(Items 3 and 4 could be done as a single "replace content" operation.)
This way no DOM element reordering would be necessary, and it will work for me as long as there'd be no ugly visual side-effects.

Yeah. There's no mysterious reason why you're not able to do that now

How do I detect that a tag is about to be added and re-sort tags?

As for putting work towards the feature request — I'll be able to do that, provided that I'll pick the insignia as my control. I'm not very well versed with older browsers though, so I may need some additional guidance here.

...So, everything aside from the event handling seems to be clear enough (custom render() editability will probably have some hidden obstacles, but should be manageable).
Do you have any input on my question above regarding tag sorting? I'd like to be able to change tags just after user entered a new tag, but right before DOM is updated.

I created a custom render method in the latest version.

I'd like to be able to change tags just after user entered a new tag, but right before DOM is updated.

You can handle that in render, right before rendering the tag. Render will be called for each tag individually.


drivers: serial: uart_cmsdk_apb: Fix interrupt-driven operation

There's an expectations that TX ready (i.e. TX buffer space
available) interrupt is a level interrupt, i.e. always active
while there's TX buffer space available. In particular, there's
an expectation that after uart_irq_tx_enable(), the TX interrupt
will immediately fire (assuming free TX buffer space is available).
But CMSDK UART interrupt appears to be edge interrupt, firing only
on buffer state change. So, after irq_tx_enable(), we need to
"bootstrap" interrupt processing by calling user-defined ISR
manually (the ISR will see that TX ready to accept a new char,
will write it there, then we'll get interrupt once TX buffer is
ready again).

Interrupts should be acknowledges only after user ISR is called,
because the ISR will check the status of interrupts.

Update stale comments.

Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

This fixes the latest case discovered in https://github.com/zephyrproject-rtos/zephyr/issues/8869#issuecomment-437089216, with mps2_an385. This fixes it for subsys/console and tty, but doesn't fix fully for shell. It "improves" it for it though. So. @jarz-nordic, @nordic-krch, we'll yet need to see whose interrupt processing is "better" ;-).
So, I was thinking that something like that might need to be done for some devices, but this is the first case when I actually face it. Note that it all works only because because CMSIS UART has fifo of depth 1, which can only be in 2 state: full and empty. For real fifo, edge-driven interrupts on its state pose a challenge, even more complex workarounds is what comes to mind. @Mierunski, @nordic-krch, for new UART xfer API we'll need to consider all these cases.
@GAnthony, and FYI too, a kind of things which need to be done to get some UARTs to work per Zephyr's API contract, for comparison. (I don't think that anything like that will need to be done for cc3220, hope that my recommendations in https://github.com/zephyrproject-rtos/zephyr/issues/11202#issuecomment-437565850 will be enough. But then what if cc3220's interrupts are suddenly edge too, without being explicitly mentioned as such?)

Codecov Report

Merging #11314 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11314   +/-   ##
=======================================
  Coverage   51.55%   51.55%
=======================================
  Files         216      216
  Lines       27665    27665
  Branches     6937     6937
=======================================
  Hits        14263    14263
  Misses      10653    10653
  Partials     2749     2749

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 064074e...6f941ec. Read the comment docs.

If this function can be called not from interrupt context, what will happen if interrupt will happen here?

@jarz-nordic, I don't see this comment online, but got it in email notification. You're pretty correct here, let me wrap "manual" ISR call in irq_lock.

@jarz-nordic, not only you're correct, it also can be practically verified (a line with EOL pasted using paste key auto-repeat):
Before: (not spurious chars (likely NULs))
Start typing characters� to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed ba�ck
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing chara�cters to see them echoed back

after:
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back
Start typing characters to see them echoed back

Updated based on @jarz-nordic's hints.

It shall be ensured that data->irq_cb(data->irq_cb_data); will not assert in any way if it won't find any interupt flag set.

It shouldn't. The reference implementation of UART ISR is in subsys/console/tty.c it has structure of:
void tty_uart_isr(void *user_data)
{
        uart_irq_update(dev);

        if (uart_irq_rx_ready(dev)) {
        // Handle received char
        }

        if (uart_irq_tx_ready(dev)) {
        // Handle char to transmit. If nothing to transmit,
        // call uart_irq_tx_disable()
        }

}

Sorry, I didn't see @fvincenzo 	comments and merged this too soon.  Hopefully you guys can discuss and if we another PR we can do that.

@galak @pfalcon Sure we can discuss it separately and in case prepare a PR.

@fvincenzo: Epic screw-up on my part! :man_facepalming:
To understand context better, consider that majority of drivers I've seen so far, inthe  rx_ready(), tx_ready() funcs test the actual interrupt request bits. So, if they're acknowledged (reset) before user callback runs, how it can test them?
I completely missed the fact that CMSDK UART has 2 status registers: one for interrupts per se, another for the state of UART data register - and the rx_ready(), tx_ready() routines in this driver smartly (cunningly?) test state-of-data-register register, and not the interrupt register! So, no caching I was talking about required, and the fix would be indeed just putting int ack line where you had.
Now let me actually test that ;-).

Ok, it does. @fvincenzo, thanks for your patience with me ;-). And heck, I'm multitasking too much, spreading too thin and then making mistakes like that. Need to concentrate on some things first, but sadly, this means maintenance style things, as we really need to get this logging/shell migration right, and that pushes new developments back... ;-(
Anyway, fix submitted as https://github.com/zephyrproject-rtos/zephyr/pull/11606, let's move further discussion there.

Ok, it does. @fvincenzo, thanks for your patience with me ;-). And heck, I'm multitasking too much, spreading too thin and then making mistakes like that. Need to concentrate on some things first, but sadly, this means maintenance style things, as we really need to get this logging/shell migration right, and that pushes new developments back... ;-(
Anyway, fix submitted as #11606, let's move further discussion there.

@pfalcon It is alright, now I understand why we where not speaking the same language :+1:
And thanks for pushing the fix, I will continue the review on the other side.


Support air sensor for monitoring PM2.5 and PM10

It would be great to monitor PM2.5 and PM10 pollution using sensor like this [1].
[1] http://botland.com.pl/czujniki-gazu/4480-czujnik-pylu-stezenia-czastek-monitor-czystosci-powietrza-gp2y1010au0f.html

@gautric We've been talking with @ajurasz about PM2.5 and PM10 monitoring. We are thinkin gabout buying this [1] sensor. Do you think it will be suitable for a I2C driver?
[1] http://botland.com.pl/czujniki-gazu/4480-czujnik-pylu-stezenia-czastek-monitor-czystosci-powietrza-gp2y1010au0f.html

Sorry @hekonsek but I started to follow this interesting project few days ago. Great work !
I'll setup it in the next days :-)
Pay attention that the sensor isn't based on I2C protocol. I see that it has only an analog output for the microcontroller so you need an ADC (outside or inside the microcontroller if available).
The discrete value must be converted in dust density using the dust density characteristic in the datasheet.

I am not fluent in Polish but I think "Wyjście analogowe: 0,5 V / (100 μg/m3)." mean analog output.
I didn't found any i2c protocol into documentation
but the good news, camel-pi4j w/ analog input should work out-of-the-box ;-)

@ppatierno Looking forward for our cooperation! Ping me if you need anything :) . Good point with that analog only stuff.
@gautric  Do we have any example of using camel-pi4j with analog input? I'm trying to comprehend what is required to make it work.

Pay attention that both Pi boards (1 and 2) don't have analog inputs out of the box ... you have to use an external ADC.
@hekonsek thanks !

@hekonsek from what I read @ppatierno is right about Pi boards missing analog inputs and this can be   easily handled as described here [1]. Then we should be able to use camel-pi4j.
[1] https://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi

@ajurasz yes as I said an external ADC is needed and the article you refer is a good example


adding getter and setter

Awesome, although I do have a small request.
Could you perhaps instead use StringBuilder in the ToAS3() method for the ASTrait class, as it'll help reduce the amount of string allocations that method would produce when concatening strings.

done

Awesome, thanks!


RuntimeError: expected scalar type Long but found Float

hi Xu Yan,
I got a problem when evaluating segmantic segmentation on kitti dataset. It reports:
Restore from log/JS3C-Net-kitti/model_segiou_0.6327_compltiou_0.2350_epoch79.pth
#classifer parameters 4843953
[IOU EVAL] IGNORE:  []
[IOU EVAL] INCLUDE:  [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18]
  0%|                                                                                | 0/4071 [00:01<?, ?it/s]
Traceback (most recent call last):
  File "test_kitti_segment.py", line 193, in <module>
    predictions = classifier(batch)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "test_kitti_segment.py", line 74, in forward
    seg_output, _ = self.seg_head(x)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/JS3C-Net/models/SubSparseConv.py", line 41, in forward
    x = self.sparseModel(batch_x)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/JS3C-Net/lib/sparseconvnet/tables.py", line 48, in forward
    return [module(input) for module in self._modules.values()]
  File "/scratch2/shengyu/JS3C-Net/lib/sparseconvnet/tables.py", line 48, in <listcomp>
    return [module(input) for module in self._modules.values()]
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/scratch2/shengyu/torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/scratch2/shengyu/JS3C-Net/lib/sparseconvnet/convolution.py", line 39, in forward
    output.features = ConvolutionFunction.apply(
  File "/scratch2/shengyu/JS3C-Net/lib/sparseconvnet/convolution.py", line 95, in forward
    sparseconvnet.SCN.Convolution_updateOutput(
RuntimeError: expected scalar type Long but found Float

I am now using Ubuntu 20.04, CUDA 11.2, gcc 9.3.0.  python 3.8.5. I can compile spconv under lib/spconv by running
python setup.py bdist_wheel

without any issues. When compiling sparseconvnet I have to change c++11 to c++14 in lib/setup.py and lib/nearest_neighbors/setup.py.
I came across the above-mentioned issues after having everything compiled.  I checked the input here: https://github.com/yanx27/JS3C-Net/blob/c4eed02b2febc118b31c074a9f1d6321ad1c04be/models/SubSparseConv.py#L41
x['seg_coords'] are int64 tensors and x['seg_features'] are float32 tensors.
Do you have any clues of this problem?
Best,
Shengyu

@ShengyuH Hi, thanks for your attention. We don't have extensive experiments on CUDA 11.2. According to my experience, the input of the model should be followed by these types, x['seg_coords'] are Long and x['seg_features'] are float. Did you check it?

@ShengyuH Hi, thanks for your attention. We don't have extensive experiments on CUDA 11.2. According to my experience, the input of the model should be followed by these types, x['seg_coords'] are Long and x['seg_features'] are float. Did you check it?

@yanx27  hi yes i checked that
-> x = self.sparseModel(batch_x)
(Pdb) batch_x[0].dtype
torch.int64
(Pdb) batch_x[1].dtype
torch.float32

They seem to be of correct data types. I am using torch==1.8.0.dev20201124+cu110.

@yanx27  hi yes i checked that
-> x = self.sparseModel(batch_x)
(Pdb) batch_x[0].dtype
torch.int64
(Pdb) batch_x[1].dtype
torch.float32

They seem to be of correct data types. I am using torch==1.8.0.dev20201124+cu110.

@ShengyuH Currently, I have not idea for this issue. You can try this code with lower version CUDA. Also, if you fix this bug, welcome to share your experience :)

@ShengyuH Currently, I have not idea for this issue. You can try this code with lower version CUDA. Also, if you fix this bug, welcome to share your experience :)

Hi, did you solve this issue? I'm also meet this problem.

Hi, did you solve this issue? I'm also meet this problem.

@ShengyuH @Yan-Xia
Hello, thanks for your attention. I think this may be caused by the unsuccessful compilation of SparseconvNet(https://github.com/facebookresearch/SparseConvNet). I suggest you try to run SparseConvNet's Hello World demo  (https://github.com/facebookresearch/SparseConvNet#hello-world) in your existing environment.

Hi, did you solve this issue?

@ShengyuH @Yan-Xia Hello, thanks for your attention. I think this may be caused by the unsuccessful compilation of SparseconvNet(https://github.com/facebookresearch/SparseConvNet). I suggest you try to run SparseConvNet's Hello World demo (https://github.com/facebookresearch/SparseConvNet#hello-world) in your existing environment.

hi，I meet the same error as shown in https://github.com/yanx27/JS3C-Net/issues/19. With your suggestion,I run the demo to check whether successfully compiled of SparseconvNet, it seems that failed.
Input SparseConvNetTensor: SparseConvNetTensor<<features=tensor([[1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.],
        [1.]], device='cuda:0'),features.shape=torch.Size([132, 1]),batch_locations=tensor([[ 0,  1,  0],
        [ 0,  5,  0],
        [ 0,  8,  0],
        [ 0,  9,  0],
        [ 0, 10,  0],
        [ 0, 13,  0],
        [ 0, 18,  0],
        [ 0, 23,  0],
        [ 0, 24,  0],
        [ 0, 30,  0],
        [ 0, 38,  0],
        [ 0, 42,  0],
        [ 0, 43,  0],
        [ 0, 47,  0],
        [ 0, 48,  0],
        [ 0, 49,  0],
        [ 0, 53,  0],
        [ 0, 58,  0],
        [ 0, 59,  0],
        [ 0, 60,  0],
        [ 1,  1,  0],
        [ 1,  5,  0],
        [ 1,  8,  0],
        [ 1, 13,  0],
        [ 1, 18,  0],
        [ 1, 22,  0],
        [ 1, 25,  0],
        [ 1, 30,  0],
        [ 1, 38,  0],
        [ 1, 41,  0],
        [ 1, 44,  0],
        [ 1, 47,  0],
        [ 1, 50,  0],
        [ 1, 53,  0],
        [ 1, 58,  0],
        [ 1, 61,  0],
        [ 2,  1,  0],
        [ 2,  2,  0],
        [ 2,  3,  0],
        [ 2,  4,  0],
        [ 2,  5,  0],
        [ 2,  8,  0],
        [ 2,  9,  0],
        [ 2, 13,  0],
        [ 2, 18,  0],
        [ 2, 22,  0],
        [ 2, 25,  0],
        [ 2, 30,  0],
        [ 2, 34,  0],
        [ 2, 38,  0],
        [ 2, 41,  0],
        [ 2, 44,  0],
        [ 2, 47,  0],
        [ 2, 48,  0],
        [ 2, 49,  0],
        [ 2, 53,  0],
        [ 2, 58,  0],
        [ 2, 62,  0],
        [ 3,  1,  0],
        [ 3,  5,  0],
        [ 3,  8,  0],
        [ 3, 13,  0],
        [ 3, 18,  0],
        [ 3, 22,  0],
        [ 3, 25,  0],
        [ 3, 31,  0],
        [ 3, 33,  0],
        [ 3, 35,  0],
        [ 3, 37,  0],
        [ 3, 41,  0],
        [ 3, 44,  0],
        [ 3, 47,  0],
        [ 3, 50,  0],
        [ 3, 53,  0],
        [ 3, 58,  0],
        [ 3, 61,  0],
        [ 4,  1,  0],
        [ 4,  5,  0],
        [ 4,  8,  0],
        [ 4,  9,  0],
        [ 4, 10,  0],
        [ 4, 13,  0],
        [ 4, 14,  0],
        [ 4, 15,  0],
        [ 4, 18,  0],
        [ 4, 19,  0],
        [ 4, 20,  0],
        [ 4, 23,  0],
        [ 4, 24,  0],
        [ 4, 32,  0],
        [ 4, 36,  0],
        [ 4, 42,  0],
        [ 4, 43,  0],
        [ 4, 47,  0],
        [ 4, 50,  0],
        [ 4, 53,  0],
        [ 4, 54,  0],
        [ 4, 55,  0],
        [ 4, 58,  0],
        [ 4, 59,  0],
        [ 4, 60,  0],
        [ 0,  1,  1],
        [ 0,  2,  1],
        [ 0,  3,  1],
        [ 0, 18,  1],
        [ 0, 19,  1],
        [ 0, 20,  1],
        [ 0, 21,  1],
        [ 0, 22,  1],
        [ 1,  1,  1],
        [ 1,  4,  1],
        [ 1,  7,  1],
        [ 1, 11,  1],
        [ 1, 12,  1],
        [ 1, 13,  1],
        [ 1, 21,  1],
        [ 2,  1,  1],
        [ 2,  2,  1],
        [ 2,  3,  1],
        [ 2, 20,  1],
        [ 3,  1,  1],
        [ 3,  7,  1],
        [ 3, 11,  1],
        [ 3, 12,  1],
        [ 3, 13,  1],
        [ 3, 21,  1],
        [ 4,  1,  1],
        [ 4,  7,  1],
        [ 4, 18,  1],
        [ 4, 19,  1],
        [ 4, 20,  1],
        [ 4, 21,  1]]),batch_locations.shape=torch.Size([132, 3]),spatial size=tensor([87, 87])>>
Traceback (most recent call last):
  File "test_sparseconvnet.py", line 51, in <module>
    output = model(input)
  File "/data/anaconda3/envs/occld/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/data/anaconda3/envs/occld/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/data/anaconda3/envs/occld/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/data/anaconda3/envs/occld/lib/python3.7/site-packages/torch/nn/modules/container.py", line 117, in forward
    input = module(input)
  File "/data/anaconda3/envs/occld/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/data/projects/JS3C-Net-main/lib/sparseconvnet/maxPooling.py", line 94, in forward
    self.nFeaturesToDrop)
  File "/data/projects/JS3C-Net-main/lib/sparseconvnet/maxPooling.py", line 38, in forward
    nFeaturesToDrop)
RuntimeError: expected scalar type Long but found Float


@wrgoldstein => [Notifications] Limit count to unread notifications.

Our side of the fix for #673.

Specifically https://github.com/artsy/eigen/pull/698/files#diff-fdbf8411f7728fb905bc8e6e2ba13d43R728

endpoint use looks right, spec failures look unrelated?

Yup, those 6 are known. Sorry, should've said that :)

"Only those with write access to this repository can merge pull requests" it says, better pull the trigger yourself :)

Boh! Will do, thanks for the sanity check :+1:


Getting linker error for S3 Client GeneratePresignedUrl

Hi,
I'm getting a linker error in my Application for the function GeneratePresignedUrl on Windows / Visual Studio 2015
Here is how I build the SDK
cmake -DCMAKE_BUILD_TYPE=Release Path_To_aws-sdk-cpp -DBUILD_ONLY="s3" -DCUSTOM_MEMORY_MANAGEMENT=1 -G "Visual Studio 14 Win64"
msbuild INSTALL.vcxproj /p:Configuration=Release
What am I doing wrong? Error is below
thanks
error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits,class Aws::Allocator > __cdecl Aws::S3::S3Client::GeneratePresignedUrl(class std::basic_string<char,struct std::char_traits,class Aws::Allocator

const &,class std::basic_string<char,struct std::char_traits,class Aws::Allocator > const &,enum Aws::Http::HttpMethod,__int64)" (?GeneratePresignedUrl@S3Client@S3@Aws@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$Allocator@D@Aws@@@std@@AEBV45@0W4HttpMethod@Http@3@_J@Z) referenced

Additional Info - I am able to link with other functions on the S3Client object. Its only the GeneratePresignedUrl which is causing the linker error.

@MyCADDev Could you paste your CMakeList.txt here?

@singku Here it is ...
This is the CMakeCache file.
For build in directory: e:/Projects/aws-sdk-cpp/dist
It was generated by CMake: E:/Installs/CMake/bin/cmake.exe
You can edit this file to change values found and used by cmake.
If you do not want to change any of the values, simply exit the editor.
If you do want to change a value, simply edit, save, and exit the editor.
The syntax for the file is as follows:
KEY:TYPE=VALUE
KEY is the name of a variable in the cache.
TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
VALUE is the current value for the KEY.
########################
EXTERNAL cache entries
########################
//When building for Android, should curl be built as well
ANDROID_BUILD_CURL:BOOL=ON
//When building for Android, should Openssl be built as well
ANDROID_BUILD_OPENSSL:BOOL=ON
//When building for Android, should Zlib be built as well
ANDROID_BUILD_ZLIB:BOOL=ON
//Value Computed by CMake
AWSSDK_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist
//Value Computed by CMake
AWSSDK_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp
//A semi-colon delimited list of the projects to build
BUILD_ONLY:STRING=s3
//If enabled, all aws sdk libraries will be build as shared objects;
// otherwise all Aws libraries will be built as static objects
BUILD_SHARED_LIBS:BOOL=ON
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:UNINITIALIZED=Release
//Semicolon separated list of supported configuration types, only
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything
// else will be ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo
//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc
//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the compiler during release builds for minimum
// size.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the compiler during release builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the compiler during release builds with debug info.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3
//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the compiler during release builds for minimum
// size.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the compiler during release builds.
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the compiler during release builds with debug info.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/aws-cpp-sdk-all
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/link.exe
//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=AWSSDK
//RC compiler
CMAKE_RC_COMPILER:FILEPATH=rc
//Flags for Windows Resource Compiler.
CMAKE_RC_FLAGS:STRING=/DWIN32
//Flags for Windows Resource Compiler during debug builds.
CMAKE_RC_FLAGS_DEBUG:STRING=/D_DEBUG
//Flags for Windows Resource Compiler during release builds for
// minimum size.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
//Flags for Windows Resource Compiler during release builds.
CMAKE_RC_FLAGS_RELEASE:STRING=
//Flags for Windows Resource Compiler during release builds with
// debug info.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during debug builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Flag to upgrade the C++ standard used. The default is 11. The
// minimum is 11.
CPP_STANDARD:STRING=11
//No help, variable specified on the command line.
CUSTOM_MEMORY_MANAGEMENT:UNINITIALIZED=1
//If enabled, the android build will not attempt to generate a
// standalone toolchain and instead rely on externally passed cmake
// parameters to specify the complete build environment.  The included
// toolchain file is still used.
DISABLE_ANDROID_STANDALONE_BUILD:BOOL=OFF
//Flag to enable/disable rtti within the library
ENABLE_RTTI:BOOL=ON
//Flag to enable/disable building unit and integration tests
ENABLE_TESTING:BOOL=ON
//If enabled, the SDK will be built using a single unified .cpp
// file for each service library.  Reduces the size of static library
// binaries on Windows and Linux
ENABLE_UNITY_BUILD:BOOL=OFF
//Forces usage of the Curl client rather than the default OS-specific
// api
FORCE_CURL:BOOL=OFF
//If enabled, will unconditionally link the standard libraries
// in dynamically, otherwise the standard library will be linked
// in based on the BUILD_SHARED_LIBS setting
FORCE_SHARED_CRT:BOOL=ON
//Git command line client
GIT_EXECUTABLE:FILEPATH=GIT_EXECUTABLE-NOTFOUND
//If enabled, the SDK will be built via a unity aggregation process
// that results in smaller static libraries; additionally, release
// binaries will favor size optimizations over speed
MINIMIZE_SIZE:BOOL=OFF
//If enabled, no platform-default encryption will be included in
// the library.  For the library to be used you will need to provide
// your own platform-specific implementations
NO_ENCRYPTION:BOOL=OFF
//If enabled, no platform-default http client will be included
// in the library.  For the library to be used you will need to
// provide your own platform-specific implementation
NO_HTTP_CLIENT:BOOL=OFF
//If enabled, removes all the additional indirection (platform/cpu/config)
// in the bin and lib directories on the install step
SIMPLE_INSTALL:BOOL=ON
//If enabled on windows, the com object IXmlHttpRequest2 will be
// used for the http stack
USE_IXML_HTTP_REQUEST_2:BOOL=OFF
//Value Computed by CMake
aws-cpp-sdk-all_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist
//Value Computed by CMake
aws-cpp-sdk-all_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp
//Value Computed by CMake
aws-cpp-sdk-core-tests_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist/aws-cpp-sdk-core-tests
//Value Computed by CMake
aws-cpp-sdk-core-tests_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp/aws-cpp-sdk-core-tests
//Value Computed by CMake
aws-cpp-sdk-core_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist/aws-cpp-sdk-core
//Dependencies for the target
aws-cpp-sdk-core_LIB_DEPENDS:STATIC=general;Userenv;general;version;general;Wininet;general;winhttp;general;Bcrypt;
//Value Computed by CMake
aws-cpp-sdk-core_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp/aws-cpp-sdk-core
//Value Computed by CMake
aws-cpp-sdk-s3-integration-tests_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist/aws-cpp-sdk-s3-integration-tests
//Value Computed by CMake
aws-cpp-sdk-s3-integration-tests_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp/aws-cpp-sdk-s3-integration-tests
//Value Computed by CMake
aws-cpp-sdk-s3_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist/aws-cpp-sdk-s3
//Dependencies for the target
aws-cpp-sdk-s3_LIB_DEPENDS:STATIC=general;aws-cpp-sdk-core;
//Value Computed by CMake
aws-cpp-sdk-s3_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp/aws-cpp-sdk-s3
//Value Computed by CMake
testing-resources_BINARY_DIR:STATIC=E:/Projects/aws-sdk-cpp/dist/testing-resources
//Dependencies for the target
testing-resources_LIB_DEPENDS:STATIC=general;aws-cpp-sdk-core;
//Value Computed by CMake
testing-resources_SOURCE_DIR:STATIC=E:/Projects/aws-sdk-cpp/testing-resources
########################
INTERNAL cache entries
########################
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=e:/Projects/aws-sdk-cpp/dist
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=E:/Installs/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=E:/Installs/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=E:/Installs/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Visual Studio 14 2015 Win64
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=E:/Projects/aws-sdk-cpp
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=6
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=E:/Installs/CMake/share/cmake-3.8
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1

@MyCADDev I mean the CMakeList.txt not CMakeCache.txt. Also have you specified USE_IMPORT_EXPORT to your compiler and copied all the dependent libs to build dir such as https://github.com/singku/aws-sdk-cpp-test/blob/master/CMakeLists.txt did ?

We use a custom build system based on make so I cannot send CMakeLists.txt
But I added USE_IMPORT_EXPORT and AWS_CUSTOM_MEMORY_MANAGEMENT.
The aws-cpp-sdk-s3 and aws-cpp-sdk-core is the only dependent libs i have specified in my targets.
As I mentioned before I can link with and call other functions on S3Client like  PutObject. Its only the GeneratePresignedUrl which is giving the linker error.

I just took the latest source from this repo and recompiled and linked with my app and it worked.
Please close this issue.
Thanks for your support @singku


Suppress PING to host

Hi,
I'm trying out your addon to backup my snapshots to a Microsoft Azure Storage Account.
I lost my environment once and I don't want that again.
So this storage is very cheap, supports samba connections and therefore perfect.
However the firewall of those services blocks the ICMP protocol. The addon stops when it got no reply.
Is it possible to suppress the ping command? Perhaps some other way to test a connection?
Thank you!
Mathijs

I tried to remove the PING command my self and it still fails to connect. Now I get the error: "NT_STATUS_IO_TIMEOUT".
Perhaps this has something to do that Azure only supports SMB v3.
Do you know it that is supported in this addon or home assistant? Or somehow it is possible to add support for version 3.

Hi. Did you skip the entire pre-checks or only the ping? So in other words, do you get the NT_STATUS_IO_TIMEOUT during the pre-checks or during a real backup?
I have seen that status code before, mainly if the connection was unstable. But we can definitely rule out SMB protocol problems. All protocols are supported (even the old insecure ones if using the "compatibility_mode" flag). SMB3 is the default.

Implemented a config option to disable ICMP requests in v4.3.
Please create a separate issue for the NT_STATUS_IO_TIMEOUT and provide some (debug) logs if it is still an issue in your environment.


HTTPS Requests

hello,
how I can get https requests get to work? it seems like the container only accepts http requests....
regards

Tried what is suggested in #171 ?

Tried what is suggested in #171 ?

Thank you very much. #171 worked for me.  :-)

Does it need an improvement for the docs ?
How to configure the reverse proxy for the container. Feel free to create one.

Worked also for me! Yes please improve the docs.
Niclas Mietz<EMAIL_ADDRESS>schrieb am Sa. 20. Juni 2020 um
20:34:

Does it need an improvement for the docs ?
How to configure the reverse proxy for the container. Feel free to create
one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/solidnerd/docker-bookstack/issues/203#issuecomment-647031110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNF3EYHX5EZWTA2QAS5T3DRXT6NHANCNFSM4OBJOGWQ
.


Image Threshold Error

I'm getting this error when trying to use the Image Threshold node. I tried updating the suite, but it didn't help:
!!! Exception during processing !!!
Traceback (most recent call last):
  File "J:\ComfyUI_windows_portable-1\python_embeded\Lib\site-packages\PIL\Image.py", line 3089, in fromarray
    mode, rawmode = _fromarray_typemap[typekey]
                    ~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: ((1, 1, 320, 3), '|u1')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "J:\ComfyUI_windows_portable-1\ComfyUI\execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI_windows_portable-1\ComfyUI\execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI_windows_portable-1\ComfyUI\execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI_windows_portable-1\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 5599, in image_threshold
    return (pil2tensor(self.apply_threshold(tensor2pil(image), threshold)), )
                                            ^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI_windows_portable-1\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 359, in tensor2pil
    return Image.fromarray(np.clip(255. * image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "J:\ComfyUI_windows_portable-1\python_embeded\Lib\site-packages\PIL\Image.py", line 3092, in fromarray
    raise TypeError(msg) from e
TypeError: Cannot handle this data type: (1, 1, 320, 3), |u1

Is the image a batch of images? That very old method only does one image at a time.
I have updated the method to handle batched images: https://github.com/WASasquatch/was-node-suite-comfyui/commit/bb34bd429ab74a22a7f58551429a0f3046e1464e

Ah yes, it is an image batch.

I updated the node, and it's kind of working, but for some reason the output is causing VHS Video Combine node to render a grid.

It only occurs when selecting one of the video formats. If I select an image format, like 'gif', it renders correctly.

Uhh, well that's different. Lol I am not sure what that is about. Maybe
because the images are greyscale? Traditionally the node was meant for
image based masks for raster edits like blend nodes or what not. May need a
convert to RGB space.
On Sun, Sep 8, 2024, 9:29 AM brbbbq @.***> wrote:

I updated the node, and it's kind of working, but for some reason the
output is causing VHS Video Combine node to render a grid.
240908-122511-chrome.png (view on web)
https://github.com/user-attachments/assets/1cb7d70f-878f-4bec-8854-bf6ecd9b53d9
It only occurs when selecting one of the video formats. If I select an
image format, like 'gif', it renders correctly.
240908-122408-chrome.png (view on web)
https://github.com/user-attachments/assets/6c3dacbf-2de3-40f1-98a6-628e747efa66
—
Reply to this email directly, view it on GitHub
https://github.com/WASasquatch/was-node-suite-comfyui/issues/469#issuecomment-2336745070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIZEZNWIVVMVSHAKA2P64DZVR3NRAVCNFSM6AAAAABN2I3UOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWG42DKMBXGA
.
You are receiving this because you commented.Message ID:
@.***>

Yea, so random. You know what, I just realized there's an Image Level node, which actually works a little better for my needs, so not a big deal at this point.


Font

Works as advertized :)
Can it also use the font shown on the settings page themes (I think it's called comic or something) rather than Chrome's default font? a thicker font is easier for 'glossing-and-fishing' which is what we typically do with json (we don't read json). (I'm a bit reluctant changing my default font in Chrome itself as I can't tell what that will also affect)

Version 0.8.0 now is completely customizable


Cookies support for "recipe-custom-website"

Bug description:
"recipe-custom-website" forget cookies when Ferdi is closed.
Steps to reproduce:

Create a custom website
Login
Close Ferdi
Open Ferdi
The website will ask for credentials again

Expected behavior
The webapp stays authenticated as for Slack or other integrations.
Screenshots
N/A
Environment:

Operating System: Linux

Ferdi Version: 5.5.0

Server: Ferdi, without an account

Debug information:

N/A

This even happens to me for the built-in Discord service too.... I dislike having to log in to each service every time.

Duplicate of #872


Hash is wrong, as soon as remainderBits >= 9

The error can be seen on line 149.
h2 = h2.xor(mixk1(k2));
has to be replaced with
h2 = h2.xor(mixk2(k2));
Cheers,
Stefan

thanks sr

The error can be seen on line 149.
h2 = h2.xor(mixk1(k2));
has to be replaced with h2 = h2.xor(mixk2(k2));
Cheers, Stefan

THANKS!! Really helpful!


Add notification for other chef resources to subscribe to.

Fixes #356

Hi @erichelgeson , If you push these changes to supermarket will help with using it.


Allow WeakOrd for max/find/sort etc

We currently require Ord for a number of operations because Rust does but it has no concept of WeakOrd, C++ does.
Peter Brett suggested that WeakOrd should be fine for these too.  https://mastodon.me.uk/@krans/110848811844853724

For any function that works only with ordering (operator<=>) WeakOrd should be sufficient.
For functions that require identity comparison (operator==) then Ord may be needed but that would be Ord+Eq and I can’t even think of one of those.

We will rename WeakOrd to Ord since it's the common case, and we'll rename what was Ord to be StrongOrd.


Homepage information update

closes #101, #102
Added logos for each game.
Added user-friendly descriptions for each game.
Added example images for each description.
Changed/updated font size for homepage.

Checks are failing for homepage although they should all pass. Rechecking.


Congrats on using COBOL

Hi,
I learned COBOL back in college MANY years ago! I had a really good teacher and learned it very well, IMO. So much so, that the next semester, for my Data Structures class, i used COBOL for the data structures assignments as I was able to call an IBM graphics interface, and present the data structures in this manner. It was fun and my teacher gave me extra credit for it!
Keep up the good work with COBOL!
Russ

Thanks, glad you like it!


Updated local installation instruction

Updated local installation instructions tested with Python 3.9

Nice, thanks a lot, looks good to me, did you or someone else test this on a clean setup?

Nice, thanks a lot, looks good to me, did you or someone else test this on a clean setup?

Yes, I and @ggarg07 tested these instructions on a local machine with a new Python environment.