fix: doc from dataclass with list

Goals:
If we create a Document instance from a dataclass instance, all  attributes are gonna be stored in their own Documents in the chunks. If one of the attributes is an iterable, such as a List[Images], we want to be able to access this DocumentArray as such. If it is of length 1 though, when accesing the images, we get only one Document instead of a DocumentArrray of length 1.
To change this behaviour we need to check if the initial attribute type was an iterable, in which case return a DocumentArray.
from docarray import Document, dataclass
from docarray.typing import Text, Image
from typing import List

@dataclass
class MyDoc:
    title: Text
    images: List[Image]

doc1 = MyDoc(title='doc 1', images=[
    'https://bkimg.cdn.bcebos.com/pic/359b033b5bb5c9ea15ce3757e86fa1003af33a871573?x-bce-process=image/watermark,image_d2F0ZXIvYmFpa2UxNTA=,g_7,xp_5,yp_5',
])
doc1 = Document(doc1)
print(f"type(doc1.images) = {type(doc1.images)}")
print(f"doc1.images = {doc1.images}")

doc2 = MyDoc(title='doc 2', images=[
    'https://bkimg.cdn.bcebos.com/pic/359b033b5bb5c9ea15ce3757e86fa1003af33a871573?x-bce-process=image/watermark,image_d2F0ZXIvYmFpa2UxNTA=,g_7,xp_5,yp_5',
    'https://bkimg.cdn.bcebos.com/pic/359b033b5bb5c9ea15ce3757e86fa1003af33a871573?x-bce-process=image/watermark,image_d2F0ZXIvYmFpa2UxNTA=,g_7,xp_5,yp_5',
])

doc2 = Document(doc2)
print(f"type(doc2.images) = {type(doc2.images)}")
print(f"doc2.images = {doc2.images}")

Output:
type(doc1.images) = <class 'docarray.document.Document'>
doc1.images = <Document ('id', 'parent_id', 'granularity', 'tensor', 'uri', '_metadata', 'modality') at 8ad7d1ac2dfd5541a297d7378b0106cc>
type(doc2.images) = <class 'docarray.array.chunk.ChunkArray'>
doc2.images = <DocumentArray (length=2) at<PHONE_NUMBER>>

Expected:
type(doc1.images) = <class 'docarray.array.chunk.ChunkArray'>
doc1.images = <DocumentArray (length=1) at<PHONE_NUMBER>>
type(doc2.images) = <class 'docarray.array.chunk.ChunkArray'>
doc2.images = <DocumentArray (length=2) at<PHONE_NUMBER>>

[ ] check and update documentation, if required. See guide

Codecov Report
Base: 88.55% // Head: 68.16% // Decreases project coverage by -20.39% :warning:

Coverage data is based on head (7aff87c) compared to base (3940c5b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1018       +/-   ##
===========================================
- Coverage   88.55%   68.16%   -20.40%
===========================================
  Files         155      155
  Lines        8058     8061        +3
===========================================
- Hits         7136     5495     -1641
- Misses        922     2566     +1644

Flag
Coverage Δ

docarray
68.16% <100.00%> (-20.40%)
:arrow_down:

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

Impacted Files
Coverage Δ

docarray/document/mixins/multimodal.py
94.11% <100.00%> (+0.15%)
:arrow_up:

docarray/array/mixins/embed.py
9.89% <0.00%> (-82.42%)
:arrow_down:

docarray/array/mixins/evaluation.py
8.86% <0.00%> (-80.38%)
:arrow_down:

docarray/array/mixins/delitem.py
11.11% <0.00%> (-77.78%)
:arrow_down:

docarray/array/mixins/io/pushpull.py
23.07% <0.00%> (-70.09%)
:arrow_down:

docarray/array/storage/opensearch/find.py
26.66% <0.00%> (-70.00%)
:arrow_down:

docarray/array/mixins/io/csv.py
23.07% <0.00%> (-66.67%)
:arrow_down:

docarray/array/storage/redis/getsetdel.py
34.28% <0.00%> (-62.86%)
:arrow_down:

docarray/array/storage/elastic/getsetdel.py
39.68% <0.00%> (-60.32%)
:arrow_down:

docarray/array/storage/opensearch/getsetdel.py
39.34% <0.00%> (-59.02%)
:arrow_down:

... and 65 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CFS API need more information about Server

CFS API need more information about server，The user cannot be sure that this API is provided by that service.
this is API for create volume：curl -v "http://<IP_ADDRESS>/admin/createVol?name=test&capacity=100&owner=cfs&mpCount=3"，but I can not sure which server support
this API

#138
has fixed


[BEAM-1273] Error with FlinkPipelineOptions serialization after setStateBackend

Because value of StateBackend required only on stage setup stream environment we don't need serialize his.
Other problem: implementations of AbstractStateBackend can't be serialize-deserialize because can't pass Serializer.ensureSerializable. On deserialization step of validation we try read serialized value like type defined in interface.
ProxyInvocationHandler.java:706

@aljoscha @StephanEwen review please

R: @aljoscha @StephanEwen @mxm check please, without this patch nobody can use options for setup specific StateBackend for flink.
It's good have this code also in 0.4.0 as backport, because we are using custom build now

Aljoscha is currently travelling, back by next week. I am not very familiar with when exactly the PipelineOptions are used and tranferred, so I can comment only high level:
The state backend should only be needed on the client side that prepares the job to send it to the Flink cluster. After that it is stored in Flink's internal JobGraph structure anyways.
So, assuming that, it is probably fine.

Ok, thanks.
We already tested this fix in production, but have custom branch with merged specific patches not very comfortable. Now weekend and 1 week I can wait, simple did ping for preventing lost patch in backlogs.

@xhumanoid thanks a lot for fixing this. 👍
I'll merge after running the tests one last time.


Collapse history bar

Is it possible to add a button to hide / unhide history bar? I think about a button like Atom:

I kind of have this in mind. If not an Atom-esque button, there will definitely be an option in the menu bar once that's added. (I've purposely reserved it for later so that I can organize all the options well.)
For now you can simply use Ctrl+H to toggle the history bar.
Refer the keymap for more shortcuts.


Add enable_categorical to sklearn.

Codecov Report

Merging #7011 (aa4c060) into master (ee4f51a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #7011   +/-   ##
=======================================
  Coverage   81.71%   81.72%
=======================================
  Files          13       13
  Lines        3916     3917    +1
=======================================
+ Hits         3200     3201    +1
  Misses        716      716

Impacted Files
Coverage Δ

python-package/xgboost/dask.py
81.35% <ø> (ø)

python-package/xgboost/sklearn.py
89.51% <100.00%> (+0.02%)
:arrow_up:

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 ee4f51a...aa4c060. Read the comment docs.


Use random seeds for jitter in node agent and update test coverage threshold

Please provide a description for what this PR is for.
Use random seeds for jitter in node agent and update test coverage threshold.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
https://github.com/istio/istio/issues/13439

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test gencheck_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.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test gencheck_istio

release-test_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test release-test_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.

/retest

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

release-test_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test release-test_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.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

release-test_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test release-test_istio

integ-telemetry-k8s-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test integ-telemetry-k8s-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.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

release-test_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test release-test_istio

integ-telemetry-k8s-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test integ-telemetry-k8s-tests_istio

unit-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
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.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

release-test_istio
d6f98defe2f00effb5d559a7fc029c02cd9ba414
link
/test release-test_istio

integ-telemetry-k8s-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test integ-telemetry-k8s-tests_istio

unit-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test unit-tests_istio

racetest_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test racetest_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.

@howardjohn @myidpt added a lock to protect the rand, since that rand returned by NewSource() is not concurrency-safe.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test integ-telemetry-k8s-tests_istio

unit-tests_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test unit-tests_istio

racetest_istio
d5d604fc04a854a4e1a416057b484d72fd85a9c7
link
/test racetest_istio

integ-security-k8s-tests_istio
a38bc78ed4822b403e574438dd8b62059444f861
link
/test integ-security-k8s-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 integ-security-k8s-tests_istio

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-e2e-envoyv2-v1alpha3_istio
a38bc78ed4822b403e574438dd8b62059444f861
link
/test pilot-e2e-envoyv2-v1alpha3_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 pilot-e2e-envoyv2-v1alpha3_istio


[DOC] Remove glossary

removes the glossary.md in docs directory. As far as I can tell this is only linked from getting_started.md and it contains a lot of redundant and misleading definitions, such as "Panel" and annotation. I think it best to just get rid, seems an odd thing to have, I guess scikit have one ...

could you do a search for "term" to make sure there arent any remaining references if we do this. i.e. :term:`Glossary <n_jobs>`

could you do a search for "term" to make sure there arent any remaining references if we do this. i.e. :term:Glossary <n_jobs>

already did "As far as I can tell this is only linked from getting_started.md" as far as I cant tell is because I do not trust pycharm find that much

Glossary <n_jobs>

there is a reference to the scikit glossary here
"""Check n_jobs parameter according to the scikit-learn convention.
https://scikit-learn.org/stable/glossary.html#term-n_jobs

is that the one you meant?


simulator: support region merge

What have you changed? (required)
This PR is going to make simulator support region-merge operation.
What are the type of the changes (required)?

New feature (non-breaking change which adds functionality)

How has this PR been tested (required)?

Manual tests

Does this PR affect documentation (docs/docs-cn) update? (optional)

Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

LGTM.


Update Ceedling 0.28.2 dependencies to reflect required Rake version

This is proabably just a documentation issue...
After updating from Ceedling 0.25.0 to 0.28.2 on macos10.12 Sierra I was unable to run tests using ceedling. Tests would run if called using rake test:all.
Calling ceedling gave this result:
 $ ceedling --trace test:sd_driver
rake aborted!
undefined method `collect_command_line_tasks' for #<Rake::Application:0x007fd3af875cc8>
/Library/Ruby/Gems/2.0.0/gems/ceedling-0.28.2/bin/ceedling:286:in `block in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/ceedling-0.28.2/bin/ceedling:274:in `<top (required)>'
/usr/local/bin/ceedling:23:in `load'
/usr/local/bin/ceedling:23:in `<main>'
(See full trace by running task with --trace)

I'm using the default install of Ruby.
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

Problem was solved by updating rake to current version (12.2.1).  The default version is 0.9.6.
The ruby gems page for ceedling indicates that rake > 0.8.7 is required but this is apparently not the case.

This should probably be close now


Moved compound and trigger update back to 1.27.4 order

Fixes #2152
The order of updates of compound and trigger objects are back in the order that they were in 1.27.4
I confirm I have signed the Contributor License Agreement.

So my optimization of the physics engine included moving all physics update into the pc.RigidBodyComponentSystem#onUpdate. In a local branch, I have taken this a step further and moved all physics into a separate class called PhysicsWorld. This PR takes us back to before the refactor. Is it really not possible to change the order of updates in pc.RigidBodyComponentSystem#onUpdate to resolve this?

When I was debugging the issue, the cause of it was moving the compound update between the script system update and render. I thought that restoring 1.27.4 would be the safest option.
I hadn't considered at changing the order or an alternative fix in the fear of creating new bugs 😅
I/We can take another look as no active project I know is being blocked by this.


Unity user id not passed through to android properly

Possibly its being overwritten in the android notifier

I've tried calling Bugsnag.SetUser and this seems to be passed on to android reports correctly. The android notifier has been updated multiple times since this issue was raised, so it may have been fixed. Is there any more info about how this occurred @snmaynard?

I'm closing this due to being unable to reproduce it.


Use cross-platform paths

I figure we might as well use cross-platform paths....

Sounds good! Thanks!


DTSPO-3353: Migrate mailrelay dev to use the new certificate generation function app

Updating configuration to read certificate from Keyvault

Reworked in base hmcts exim-relay repo


Migrate to emotion

Update packages

Fix tests

Migrate styled-component to emotion

Curious what made you switch?
And if you're planning on the same in https://github.com/dooboolab/dooboo-native-ts

We're ditching styled-components too while re-writing our app (RN + TS), but reverting back to default RN Stylesheets for now.
I'm less concerned for performance but happy with the less verbosity to simplify our huge 3-year-old project with legacy code/classes/debt.

@leotm Hey thanks for the discussion. Actually, I've made this decision for two reasons.

Had bad experiencing in `@types/styled-components. This very often breaks. There were many related issues according to this in styled-components.
My latest UI framework, [material-ui](https://material-ui.com/, also changed to emotion. I'm not sure about their decision but it made me think that emotion is better library.

Fair enough yes especially within View/TouchableOpacity, hard to detect RN CSS syntax within unlinted backticks and miscalculations like divide by zero errors :D

I didn't find the styled-components regular CSS syntax beneficial either, after adapting quickly to RN CSS.
The styled props were nice tho.

https://github.com/mui-org/material-ui/issues/22342


Refactor AsBindGroup to use a associated SystemParam.

Objective
Adding more features to AsBindGroup proc macro means making the trait arguments uglier. Downstream implementors of the trait without the proc macro might want to do different things than our default arguments.
Solution
Make AsBindGroup take an associated Param type.
Migration Guide
AsBindGroup now allows the user to specify a SystemParam to be used for creating bind groups.

Great, this will help me rebase #14663 to be a little cleaner. One other thing I'd note is that this allows custom implementors to be a little smarter about caching their own bind groups.


[BUG] Auto-backport tool fails a lot

Auto-backport tool fails on a few backport PRs, for example:
It failed to backport this PR to 1.0, 1.1 and 1.2 branches.
It failed to backport this PR to 1.3 branch.

This is expected without clean merges, no?

Thanks @cliu123 @peternied . Lets use https://github.com/opensearch-project/OpenSearch/issues/2561 to track this problem.


Rev to 2.2.0

@fossam Note the changes to the dockerfiles. I realized that our tag format wasn't completely compatible with your dockerfile, so the "version" is 2.2.0 and I add the v on the checkout so it checks out the release tag properly (v2.2.0)
We may want to split out "tag version" vs "source version" so that we can specify the version and the SHA/tag separately in the future. This will do for now.


Add raptorq

Currently I don't have time, but will come back to that in a few months. I'm happy to take a PR.


Tests

The integration tests reveal some issues with the multivariate model. These should be addressed in the future.
resolves #2

cc @nilmeier (github won't let me request a review from you)


Enable flag on exposures to optionally exlcude nil attributes.

For certain APIs I find that it is best for the client if the API hide's attributes that are nil.
Instead of handling this in each serializer (json, plist, xml) I am looking for options to pull control over this into the entity.

As for now, you can do something like this.
with_options({
  if: lambda { |object, options|
    current_attr = options[:attr_path].last
    !object[current_attr].nil?
  }
}) do
  expose :a
  expose :b
end


Erfan Fixes and New Buffer API

Fixing PR issues here assigned to @Erfan-Ahmadi
Fixes

[x] create 2 issues regarding CW/CCW and SwapChain Orientation
[x] return false for IGPUCommandBuffer
[x] IGPUCommandBuffer change param to r-value ref smart pointer
[x] isCompatibleDevicewise, wasCreatedBy (templated casting function IBackendObject::cast)

[x] use it in every unprotected static_cast place

[x] CSurfaceVulkan.h functions to inline
[x] CSurfaceVulkan protected constructor
[x] resetFences return bool
[x] createGPUDescriptorSetLayout_impl -> convert some stack variables to vector
[x] Vulkan backend should not be holding onto the spirv buffer after shader module creation, useless memory pressure. (https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791847489)
[x] CVulkanShader still refcounts the SPIRV module source (https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791859399)
[x] check that the OpenGL pipeline cache works, and doesn't collide on shaders that have the same shader stage

(https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791707386)

[x] investigate: SRGB swapchain with alpha make the window transparent in OpenGL?

(https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r728185231)

[x] SPIRV version fix

(https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791899381)

[x] CGeomCreator newUsageFlags should be added automagically when attached as Index/Vertex Buffer

(https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791913657)

[x] Expose MaxAnisotropyLog2 (https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791796518)
[x] assert alignment 1 2
[x] QueryPool Reset for OpenGL QueryPoolReset
[ ] Test and Fix QueryPools and different Queries for OpenGL/Vulkan (previously couldn't because of incomplete vulkan impl and examples)

Should be consistent across the APIs for TIMESTAMP, OCCLUSION, TRANSFORM_FEEDBACK_STREAM

[ ] Improve and Test texture download on GLES link to code
[x] Remove Comment line

Features and Extension API

[ ] LogicalDevice function to query Enabled Features/Extension
[ ] move getExtraGLSLDefines() to ILogicalDevice and Implement for Vulkan

Delayed for later:

[ ] getSizedOpenGLFormatFromOurFormat -> cache formats, and implement format feature functions for GL
will happen on the next PR when I'm working on format promotion
[ ] freeCommandBuffers_impl (see this)

Changing the Buffer API:

[ ] should only be called iff the vkBindBufferMemory call succeeds
- (https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791849743)
- (https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791860130)
[ ] NUKE core::smart_refctd_ptr<IDriverMemoryAllocation> m_backedMemory;
The smartpointer to the IDriverMemoryAllocation needs to be pushed down into CVulkanImage and CVulkanBuffer
(https://github.com/Devsh-Graphics-Programming/Nabla/pull/160#discussion_r791769190)
[ ] Remove "GPU" from ILogicalDevice function names
[ ] return m_cachedCreationParams.declaredSize in IGPUBuffer::getSize()
[ ] E_DRIVER_VENDOR enum in IPhysicalDevice and implement for all backends
[ ] Spoof OpenGL Heaps and MemoryTypes

Heap 0 : Device local, its actually possible to query the VRAM size using some weird AMD/NVidia/Intel undocumented GL extensions
Heap 1 : Not Device Local, set to 70% of total (not free or available) system RAM or RAM - 2GB, whichever is higher (can be queried from ISystem)
Heap 2 : 256MB Device Local

<PRop,HeapIx>

{VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, 0} // required by spec

{VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, 2}
{VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, 2}

{ZERO_VK_MEMORY_PROPERTY_FLAG, 1}
{VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT, 1} // required by spec
{VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT, 1}

[ ] Implement getXXXMemoryTypeMask and remove getXXXMemoryReqs
[ ] Change the implementations of COpenGLBuffer and COpenGLImage to move the creation of the GL buffer/image to bindBufferMemory and bindImageMemory respectively + isInitialized boolean in IDriverMemoryBacked
[ ] MemoryType Iterator
[ ] AllocateInfo struct and allocateMemory function
[ ] cleanup createGPUBuffer -> remove size param and rename to createBuffer
[ ] SDriverMemoryRequirements Cleanup
[ ] Remove all the createXXXOnDedMem methods
[ ] rename createGPUImage to createImage
[ ]  replace IDriverMemoryAllocation::getType() with uint8_t IDriverMemoryAllocation::getMemoryTypeIndex() const
[ ] NUKE E_MAPPING_CAPABILITY_FLAGS and fold values into E_MEMORY_ALLOCATE_FLAGS
[ ] Querying VRAM size on OpenGL

Explore
VkImageViewUsageCreateInfo
Basically it means that you can override the VkImageUsageFlags you passed to VkImage when creating it when creating the ImageView

When this structure is chained to VkImageViewCreateInfo the usage field overrides the implicit usage parameter inherited from image creation time and its value is used instead for the purposes of determining the valid usage conditions of VkImageViewCreateInfo.

typedef struct VkImageViewUsageCreateInfo {
    [sType+pNext]
    VkImageUsageFlags    usage;
} VkImageViewUsageCreateInfo;

VkExternalFormatANDROID
There is a concept of hardware buffers for Android:

Android hardware buffers may represent images using implementation-specific formats, layouts, color models, etc., which do not have Vulkan equivalents. Such external formats are commonly used by external image sources such as video decoders or cameras. Vulkan can import Android hardware buffers that have external formats, but since the image contents are in an undiscoverable and possibly proprietary representation, images with external formats must only be used as sampled images

External Format must retrieved from a "HardwareBuffer" in VkAndroidHardwareBufferFormatPropertiesANDROID via  vkGetAndroidHardwareBufferPropertiesANDROID
To learn more about AndroidHardwareBuffer I found these links
developer.android
ndk reference
VkImageFormatListCreateInfo
Specify that an image can: be used with a particular set of formats
If the pNext chain of VkImageCreateInfo includes a VkImageFormatListCreateInfo structure, then that structure contains a list of all formats that can be used when creating views of this image.
typedef struct VkImageFormatListCreateInfo {
    [sType+pNext]
    uint32_t           viewFormatCount;
    const VkFormat*    pViewFormats;
} VkImageFormatListCreateInfo;

VkImageStencilUsageCreateInfo
This extension(Promoted to Vulkan 1.2) allows specifying separate usage flags for the stencil aspect of images with a depth-stencil format at image creation time.
Goes in the pNext chain of VkImageCreateInfo
// Provided by VK_VERSION_1_2
typedef struct VkImageStencilUsageCreateInfo {
    [sType+pNext]
    VkImageUsageFlags    stencilUsage;
} VkImageStencilUsageCreateInfo;

VkImageSwapchainCreateInfoKHR
This is basically a swapChain handle that goes into the pNext chain of VkImageCreateInfo:

If the pNext chain of VkImageCreateInfo includes a VkImageSwapchainCreateInfoKHR structure, then that structure includes a swapchain handle indicating that the image will be bound to memory from that swapchain.

// Provided by VK_VERSION_1_1 with VK_KHR_swapchain, VK_KHR_device_group with VK_KHR_swapchain
typedef struct VkImageSwapchainCreateInfoKHR {
    [sType+pNext]
    VkSwapchainKHR     swapchain;
} VkImageSwapchainCreateInfoKHR;

If swapchain is not VK_NULL_HANDLE, the fields of VkImageCreateInfo must match the implied image creation parameters of the swapchain

You may be asking which index of the swapchain images will the image be bound to?!
And I will refer you to VkBindImageMemorySwapchainInfoKHR which goes into the pNextChain of the famous VkBindImageMemoryInfo.

If the pNext chain of VkBindImageMemoryInfo includes a VkBindImageMemorySwapchainInfoKHR structure, then that structure includes a swapchain handle and image index indicating that the image will be bound to memory from that swapchain.

// Provided by VK_VERSION_1_1 with VK_KHR_swapchain, VK_KHR_device_group with VK_KHR_swapchain
typedef struct VkBindImageMemorySwapchainInfoKHR {
    [sType+pNext]
    VkSwapchainKHR     swapchain;
    uint32_t           imageIndex;
} VkBindImageMemorySwapchainInfoKHR;

VkDedicatedAllocationImageCreateInfoNV
Basically it's a boolean telling the driver if it WILL have a dedicated allocation bound to it.

Using a dedicated allocation for color and depth/stencil attachments or other large images may improve performance on some devices.

It can be pNext of VkImageCreateInfo or VkImageStencilUsageCreateInfo
// Provided by VK_NV_dedicated_allocation
typedef struct VkDedicatedAllocationImageCreateInfoNV {
    [sType+pNext]
    VkBool32           dedicatedAllocation;
} VkDedicatedAllocationImageCreateInfoNV;

VkImageViewUsageCreateInfo
Core in 1.1 good idea to use and add to frontend api (another member to ImageView creation parameters), however note that it doesn't override the pparent image usage flags it narrows them down to a subset.
So Nabla would need validation (for the sake of GL) that the imageview usages are indeed subsets.

VkExternalFormatANDROID
Above our current paygrade, won't do.

VkImageFormatListCreateInfo
Way too verbose and PITA. Plus I need to see the numbers on the performance claims before even considering such a ball&chain for out frontend's API.

VkDedicatedAllocationImageCreateInfoNV
Doesn't VK_KHR_dedicated_allocation supersede the NV extension?

Did you fix up and make sure example 7 works as expected ? (basically that the secondary commandbuffer doesn't make the Validation Layers go ape£$"% because of missing inheritance info needed to continue a renderpass)

Also there's no reason to clone the SPIR-V buffer (cloning with param 1 would copy the entire SPV buffer for no reason)
https://github.com/Devsh-Graphics-Programming/Nabla/blob/f1086b0257059556085cddceddc0809befab6aa9/src/nbl/video/CVulkanLogicalDevice.h#L583

Oh yea, I forgot about that xD
Will add
On Mon, 7 Feb 2022, 12:23 pm Mateusz Kielan, @.***>
wrote:

@.**** commented on this pull request.
In include/nbl/core/execution.h
https://github.com/Devsh-Graphics-Programming/Nabla/pull/306#discussion_r800431530
:

+#ifndef NBL_CORE_EXECUTION_H_INCLUDED
+#define NBL_CORE_EXECUTION_H_INCLUDED

+#if !defined (clang)
+#include
+#include
+#else
+#include <oneapi/dpl/algorithm>
+#include <oneapi/dpl/execution>
+#include <oneapi/dpl/iterator>
+#include "oneapi/dpl/pstl/execution_defs.h"
+#include "oneapi/dpl/pstl/glue_algorithm_defs.h"
+#include "oneapi/dpl/pstl/glue_algorithm_ranges_defs.h"
+#endif
+
+#define ALIAS_TEMPLATE_FUNCTION(highLevelF, lowLevelF) \
still missing the UNDEF for this
—
Reply to this email directly, view it on GitHub
https://github.com/Devsh-Graphics-Programming/Nabla/pull/306#pullrequestreview-874354431,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTZR4KEPQC4R267MVDUU2LUZ6CBNANCNFSM5M3DBWFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Also there's no reason to clone the SPIR-V buffer (cloning with param 1 would copy the entire SPV buffer for no reason)
https://github.com/Devsh-Graphics-Programming/Nabla/blob/f1086b0257059556085cddceddc0809befab6aa9/src/nbl/video/CVulkanLogicalDevice.h#L583
Old comment

Also this clone is pointless if the real shader contents are GLSL, some shaders are a few megs of GLSL, useless memory pressure.

Ok I forgot we need to keep the SPIR-V around if we want to use the SPIR-V optimizer later.
https://github.com/Devsh-Graphics-Programming/Nabla/pull/219#discussion_r728618735

I removed it, do I need to bring it back?
On Mon, 7 Feb 2022, 2:21 pm Mateusz Kielan, @.***>
wrote:

Also there's no reason to clone the SPIR-V buffer (cloning with param 1
would copy the entire SPV buffer for no reason)
https://github.com/Devsh-Graphics-Programming/Nabla/blob/f1086b0257059556085cddceddc0809befab6aa9/src/nbl/video/CVulkanLogicalDevice.h#L583
Old comment
Also this clone is pointless if the real shader contents are GLSL, some
shaders are a few megs of GLSL, useless memory pressure.
Ok I forgot we need to keep the SPIR-V around if we want to use the SPIR-V
optimizer later.
#219 (comment)
https://github.com/Devsh-Graphics-Programming/Nabla/pull/219#discussion_r728618735
—
Reply to this email directly, view it on GitHub
https://github.com/Devsh-Graphics-Programming/Nabla/pull/306#issuecomment-1031331123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTZR4KNCEDQCZO5U6KZ5EDUZ6P33ANCNFSM5M3DBWFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

bring back the clone of the SPIR-V and the VulkanShader keeping the SPIR-V around
Document in the source code with comments why its like this.


⚠ Bofrost.lu has degraded performance

In 6db1431, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1736 ms

Resolved: Bofrost.lu performance has improved in 30695ab after 9 minutes.


Feat: Save metadata

Close #26.
Includes:

Configure and format files with scala-fmt
Setup HTTP server with Cask
Setup schema validations with Accord
Remove sample packages (fruits).
Endpoint to save metadata.
Test the endpoint with Junit and Assured
Update status codes and field names in the openapi spec.
Add some example request in the docs/rest folder.

Sorry for the amount of changes 🫠

I'm not sure I'm doing something wrong, but the app seems to exit just after starting. Can't test the endpoint.

You're right. I haven´t use the sbt run command to run the app. It works if you run it from IntelliJ.
It's weird because there wasn't any problem with the migrations but the command doesn't keep the server running. I'll check that.

@Woynert Hi 👋🏽. Try with the following commands:

Enter the sbt interactive mode:

sbt

Start the app and listen for changes in the source:

~runMain org.hawksatlanta.metadata.Main

Let me know if that works for you.

My only complain would be against asserting the response messages.

You mean asserting in the tests, right? I agree with you, maybe I can ignore the generic fields like the "error" boolean and the "message" string and just assert the important fields.
Thanks for reviewing the PR 🙇🏽♂ it was a large one.

@PedroChaparro Yes, the "message" string field could be ignored in future tests


[FEAT] As a Daffodil core developer, I would like to be able to show different sidebars and navs on different sections of the site.

:bulb: Feature request
Feature Name

The Desired Behavior

Your Use Case

Prior Work

Environment

Daffodil version: X.Y.Z
Angular version: X.Y.Z

For Tooling issues:
- Node version: XX
- Platform:

Others:

I don't think secondary outlets are the answer here, I think we should adopt a vue like approach and simply specifiy the components for the additional areas in the data field and dynamically render them with a custom directive/component.


Potential example for the docs: how to transform any deterministic regression model to a probabilistic binary classification model, and then evaluate it with k-fold cross validation

This gives the full code for taking any deterministic single-label regression model, transforming it into a probabilistic single-label binary-class classification model, and evaluating it with k-fold cross validation with a metric (area under the ROC curve) that is used for evaluating single-label binary-class classification models.
The specific model that we wrap is the EvoTreeRegressor model from the EvoTrees package, with the loss set to :logistic. The code works on both CPUs and GPUs.
@ablaom @OkonSamuel I figure I would just stick this in an issue for now, but maybe in the future we can find somewhere in the documentation/examples/tutorials to put it.
import EvoTrees
import MLJ

const EvoTreeRegressor = MLJ.@load EvoTreeRegressor pkg=EvoTrees

function transform(
        as_categorical::AbstractVector;
        levels,
        pool,
    )
    negative_class = levels[1]
    positive_class = levels[2]
    n = length(as_categorical)
    as_numerical = Vector{Float64}(undef, n)
    for i in 1:n
        cat = as_categorical[i]
        if cat == positive_class
            num = Float64(1)
        elseif cat == negative_class
            num = Float64(0)
        else
            msg = "Invalid value: $(cat)"
            throw(ErrorException(msg))
        end
        as_numerical[i] = num
    end
    return as_numerical
end

function inverse_transform(
        as_single_probability::AbstractVector;
        levels,
        pool,
    )
    negative_class = levels[1]
    positive_class = levels[2]
    n = length(as_single_probability)
    as_probability_distribution = Vector{MLJ.UnivariateFinite}(undef, n)
    for i in 1:n
        prob = as_single_probability[i]
        pd = MLJ.UnivariateFinite(
            levels,
            prob;
            pool,
            augment = true
        )
        as_probability_distribution[i] = pd
    end
    return as_probability_distribution
end

X, y = MLJ.@load_crabs

positive_class = "B"
negative_class = "O"

levels = [negative_class, positive_class]
pool = MLJ.CategoricalPool(levels)

device = "cpu"
# device = "gpu"

loss = :logistic
regression_model = EvoTreeRegressor(;
    device,
    loss,
)

transformed_model = MLJ.TransformedTargetModel(
    regression_model;
    target  = v -> transform(v;         levels, pool),
    inverse = v -> inverse_transform(v; levels, pool),
)

# This will print some scitype warnings, which are expected, because the underlying
# model is a deterministic regression model, but we have categorical labels.
mach = MLJ.machine(
    transformed_model,
    X,
    y;
    # scitype_check_level = 2, # TODO: uncomment this line
)

nfolds = 5
resampling = MLJ.CV(; nfolds, shuffle = true)
measure = MLJ.auc

# In this case, we must specify the `operation`; otherwise, we get an error.
# We also need to set `check_measure` to `false` to avoid another error.
performance_evaluation = MLJ.evaluate!(
    mach;
    resampling,
    measure,
    operation = MLJ.predict,
    check_measure = false,
)

Here's example output from the CPU:
Evaluating over 5 folds: 100%[=========================] Time: 0:00:43
PerformanceEvaluation object with these fields:
  measure, measurement, operation, per_fold,
  per_observation, fitted_params_per_fold,
  report_per_fold, train_test_pairs
Extract:
┌──────────────────┬─────────────┬───────────┬────────────────────────────────────┐
│ measure          │ measurement │ operation │ per_fold                           │
├──────────────────┼─────────────┼───────────┼────────────────────────────────────┤
│ AreaUnderCurve() │ 0.905       │ predict   │ [0.917, 0.95, 0.818, 0.909, 0.932] │
└──────────────────┴─────────────┴───────────┴────────────────────────────────────┘

@DilumAluthge Thanks for this. I think ultimately we should have a wrapper, but this is great to have documented.

This is nice.  It is like a high quality CV answer, but without a question.
What is the question?  What made the effort a good investment of time?
Is this an example, like for example code?  Is this a feature request in that you provide python and it gets translated?


Add services for ephemeral VMs

Added scripts and services to control the self-hosted runner provisioned through proxy service.

Added setup.sh script to prepare files and services
Added register.sh to register the runner on boot
Added start.sh to start the runner service on boot and link its teardown to perform VM shutdown
Added deregister.sh to remove the runner during a graceful shutdown of the VM.

Tested: Runner was started and deregistered on VM with bootdisk that pulls this branch instead of main.

Many updates, please review further. Thanks!


Add some style

Add some css to give this project some style. In a perfect world: style like a library with an Art Deco decor, while being sober and minimalist (or just follow your inspiration).
https://www.google.com/search?q=art+deco+library

Hey! I am interested in this one! Can you assign it to me?

Hey! I am interested in this one! Can you assign it to me?

you're welcome :)

I am also interested in this. Could I lend a hand?

I am also interested in this. Could I lend a hand?

sure you can :)

Can i work on this project? if yes, what else can i do to for it?


Clarity on categories in LF Edge landscape

It would be helpful if there was some kind of definition for the categories.
For example what is the difference/definition of a platform versus infrastructure?
Both have a Virtualization subcategory.
Also not clear if Virtualization is meant loosely, i.e. included containers? Or just VMs.
We are struggling on where to place StarlingX for example, as it fits in multiple categories. As it is a component of an Akraino blueprint, and an independent project, should it be in the same category as Akraino.

@geseiler You're completely right. Just just pushed the categories to the Readme. We'll get them added to the Glossary longterm. On the virtualization category, we moved it and it didn't get cleaned up. Virtualization mean VMs, containers, unikernels, etc.... it means a virtualized resource.


[Packaged App]co_await does't return to ui thread. when the call PickSingleFolderAsync is completed

Describe the bug
Internal bug https://task.ms/37013204
windowsappsdk preivew-3:
StorageFolder folder = co_await picker.PickSingleFolderAsync();
at this point
call DependencyObject::SetValue  throw errors.
The application called an interface that was marshalled for a different thread
//
Steps to reproduce the bug

Create c++ package app by windowsappsdk.

Call FolderPicker to  open select folder dialog on button clicked event.

then DependencyObject::SetValue

Expected behavior
before windowsappsdk preview-3
c++/winrt will restore to ui thread automatically.
why preview-3 change this ？
Screenshots

NuGet package version
1.0.0-preview3
Packaging type
Packaged (MSIX)
Windows version
Windows 11 (22000)
IDE
Visual Studio 2022
Additional context
to avoid me bebing wrong, I recreate an empty pacakged project and test .

unpackaged app:

@BenJKuhn @Scottj1s would this co_await issue be either of your areas of expertise? It sounds like in Preview 3 we possibly regressed the behavior of co_await in C++ apps and it doesn't return back to the UI thread anymore?

@BenJKuhn this looks like a dupe of https://microsoft.visualstudio.com/OS/_workitems/edit/37013204 which @MikeHillberg is assigned to. @MikeHillberg is this indeed a dupe of your co_await bug?

This was fixed some time ago (in 1.0, I believe), but the public issue never got closed out. Just cleaning up books.


Automate generation of API Reference folder structure

[ ] Automatically generate all markdown files in docs/api
[ ] Automatically generate mkdocs.yml

@cgarciae I think this is already done?

Yes!


Tag function

Could you please give an example of tag parameter for the tag scoring function? Its function is a bit unclear

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

ID: 1a4500af-aa55-57cc-98b6-6994f64101a1
Version Independent ID: c662d3eb-971c-4acf-f78d-45c9628c3184
Content: Add scoring profiles to a search index - Azure Search
Content Source: articles/search/index-add-scoring-profiles.md
Service: search
GitHub Login: @brjohnstmsft
Microsoft Alias: brjohnst

@Anaig, Thanks for the question! We are taking a look into this and will get back to you soon.

@Anaig, TagsParameter - Gets or sets the name of the parameter passed in search queries to specify the list of tags to compare against the target field. For example – ‘Brands’
"scoringProfiles": [
{
"name": "personalized",
"functions": [
{
"type": "tag",
"boost": 2,
"fieldName": "brandTags",
"tag": { "tagsParameter": "brands" }
You can check out more details on this topic:
TagScoringFunction
TagScoringParameters
Kindly let me if this helps or I misunderstood your ask, we would be more than happy to assist you further.

@Anaig, Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply and we will gladly continue the discussion.


Podium: Reprints

Use-case:
We have a Reprint text that is ready for publishing within Podium. It doesn't have an image associated with it; it's text-only.
While the 'Leading Media' field is optional—the CMS still requires a 'Card Image'.
Can we disable this requirement for a 'Card Image'?

All the code for this is ready to push, just want to confirm something before doing so.

You will not be able to feature/pin an article without a card image on the journal landing page.
If you create a banner (i.e. on the homepage) and select an article without a card image, the banner will be ignored/nothing will be rendered.

If this is all OK I can push this first thing tomorrow.

Hi @rdunk — understood, this all makes sense.

Done.

Confirmed this works. Moving to 'Done'.


Collection.drop() has bug, Collection._documents should be a OrderedDict

in collection.py:
    def drop(self): # line 1057
        del self._documents
        self._documents = {} # this should be OrderedDict()

It's been fixed in 3.8.0.
closed


Remove references to root user access when external IPD is enabled

Summary
The current docs imply that access via the root user is possible when external IDP is enabled.
From discussion internally this is not the case - enabling an external IDP also disables access via the root user.
Goals

[ ] Remove reference from AD/LDAP page on root user being enabled
[ ] Remove reference from OIDC page on root user being enabled
[ ] Warn in Root user doc that enabling external IDP disables access via the root user and all other MinIO Users.

Non-Goals
General overhaul of issues on external IDP topics
Additional context
There have been discussions on multi-IDP support which may require revising this guidance in the future.

After checking w/ @donatello root does work with external users, so this is a noop


fix: remove robots.txt

Why?

Technically it's still possible to use it as the bots are supporting CSR. Anyway, I am ok to keep this template simple.


CM-1158: Change megamenu logic using url

Jira Ticket:
CM-1158
Description:

Change megamenu logic using url

Since it's being used 3 times, I think we should declare a constant.
e.g.
const ROOT_MENU_URL = '/';


bench: add bench action

Signed-off-by: GanZiheng<EMAIL_ADDRESS>

This is screenshot of GitHub page about benchmark result.

This is screenshot of GitHub page about benchmark result.

can we merge the same case for badger and rocks in one diagram?

Seems we cannot do it :rofl:

can we merge the same case for badger and rocks in one diagram?

After modifying the html file generated by the action, we could get something like this.


Ability to change email?

Is there an email change support atm?

My initial test of using the update action on my UsersController shows that it's possible to change the email field on the user, but that this change is not reflected in the response headers.
So let's say you have this User:
{
  "id": 1,
  "created_at": "2015-12-24T19:15:35.000Z",
  "updated_at": "2016-07-07T13:07:29.800Z",
  "email"<EMAIL_ADDRESS>  "remember_created_at": "2016-02-16T19:38:40.902Z",
  "sign_in_count": 150,
  "current_sign_in_at": "2016-07-06T14:07:08.233Z",
  "last_sign_in_at": "2016-07-06T13:57:11.711Z",
  "current_sign_in_ip": "<IP_ADDRESS>",
  "last_sign_in_ip": "<IP_ADDRESS>",
  "first_name": "First",
  "last_name": "Last",
  "role": "admin",
  "provider": "email",
  "uid"<EMAIL_ADDRESS>}

Then you send a PUT request to your update action at:
<EMAIL_ADDRESS>
This will respond with the updated user:
{
  "id": 1,
  "created_at": "2015-12-24T19:15:35.000Z",
  "updated_at": "2016-07-07T13:17:19.459Z",
  "email"<EMAIL_ADDRESS>  "remember_created_at": "2016-02-16T19:38:40.902Z",
  "sign_in_count": 150,
  "current_sign_in_at": "2016-07-06T14:07:08.233Z",
  "last_sign_in_at": "2016-07-06T13:57:11.711Z",
  "current_sign_in_ip": "<IP_ADDRESS>",
  "last_sign_in_ip": "<IP_ADDRESS>",
  "first_name": "First",
  "last_name": "Last",
  "role": "admin",
  "provider": "email",
  "uid"<EMAIL_ADDRESS>}

But the headers passed along with this response will be:
access-token →your_access_token_value
client →your_client_value
expiry →1469023628
token-type →Bearer
uid<EMAIL_ADDRESS>
I'll update this comment as I find more information, but my next step is to test the idea of manually signing the user out from the update action if the user's email address is changed.

Agreed. Closing for now


Error when installing module in foundry

I get the following error in the console when trying to install the v0.4.01 module through foundry:
setup.js:141 [ATL] Metadata validation failed for module "ATL": The file "/styles/ATL.css" included by module ATL does not exist
Foundry Version 10 - Build 288
Any thoughts?

Foundry VTT | Reestablishing existing session
foundry.js:7668 Foundry VTT | Connected to server socket using session
foundry.js:7764 Foundry VTT | Initializing Foundry Virtual Tabletop Game
foundry.js:6729 Foundry VTT | Loaded localization file lang/en.json
foundry.js:5058 Foundry VTT | Rendering Notifications
setup.js:141 [ATL] Metadata validation failed for module "ATL": The file "/styles/ATL.css" included by module ATL does not exist
#logPackageWarnings @ setup.js:141
setup.js:145 [ATL] The module "ATL" contains compendium pack data which uses the deprecated "entity" field which must be migrated to "type"
#logPackageWarnings @ setup.js:145
setup.js:145 [ATL] The module "ATL" is using "author" which is deprecated in favor of "authors"
#logPackageWarnings @ setup.js:145
setup.js:145 [ATL] The module "ATL" is using the old flat core compatibility fields which are deprecated in favor of the new "compatibility" object
#logPackageWarnings @ setup.js:145
foundry.js:6845 Foundry VTT | Retrieved and compiled template templates/setup/parts/package-tags.html
foundry.js:5058 Foundry VTT | Rendering SetupConfigurationForm
foundry.js:6845 Foundry VTT | Retrieved and compiled template templates/setup/setup-config.html
foundry.js:5058 Foundry VTT | Rendering ApplicationConfigurationForm
foundry.js:6845 Foundry VTT | Retrieved and compiled template templates/setup/application-configuration.html
foundry.js:5058 Foundry VTT | Rendering InstallPackage
foundry.js:6845 Foundry VTT | Retrieved and compiled template templates/setup/install-package.html
foundry.js:6845 Foundry VTT | Retrieved and compiled template templates/app-window.html
foundry.js:58721 Errors were encountered while installing the package. Consult your console log (F12) for details.
fetch @ foundry.js:58721
setup.js:141 [ATL] Metadata validation failed for module "ATL": The file "/styles/ATL.css" included by module ATL does not exist
#logPackageWarnings @ setup.js:141
setup.js:145 [ATL] The module "ATL" contains compendium pack data which uses the deprecated "entity" field which must be migrated to "type"
#logPackageWarnings @ setup.js:145
setup.js:145 [ATL] The module "ATL" is using "author" which is deprecated in favor of "authors"
#logPackageWarnings @ setup.js:145
setup.js:145 [ATL] The module "ATL" is using the old flat core compatibility fields which are deprecated in favor of the new "compatibility" object
#logPackageWarnings @ setup.js:145
foundry.js:5058 Foundry VTT | Rendering ApplicationConfigurationForm

Sorry, appears to be a duplicate of this issue:
https://github.com/kandashi/Active-Token-Lighting/issues/114


Use clearer language to notify when this library will stop being acti…

…vely developed.

Thank you! LGTM

No worries mate


metabase: 0.37.4 -> 0.37.5

Motivation for this change
bump metabase to 0.37.5
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 108803 1

1 package built:
- metabase

Result of nixpkgs-review pr 108803 1

1 package built:
- metabase

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108803 run on x86_64-darwin 1

1 package built:

metabase

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108803 run on x86_64-darwin 1

1 package built:

metabase

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108803 run on x86_64-linux 1

1 package built:

metabase

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108803 run on x86_64-linux 1

1 package built:

metabase


Add a message about token security to auth_token display

As a user, I don't want to ever share my token with anyone, or else they can impersonate me.
We need a message next to the auth token field that says something like "Auth token is for API use only. Never share it with anyone. Keep it secret - treat it like your password."

the access token im assuming?

something like this?

Pull-Request https://github.com/lbryio/lbry-app/pull/524

https://github.com/lbryio/lbry-app/commit/19165895533dc3c6b5a092b2c22d14730d11bb14


Encourage use of Relation field for replication data for a publication

Dataverse encourages use of "Replication data for:" in the title, but I notice datasets where the link to the publication is only in the description.
We should encourage use of the Relation field for these datasets in our guide and the metadata help manuals and checklists.

Example: https://doi.org/10.34894/IFWGCL


Cog Search Vector Capability to replace in-memory FAISS DB

Hello @pablomarin.
Is there an ETA on having vector search capability on top of Azure Cog search?
Also, what is the planned solution - is it to first vectorize all chunks of the documents and store them in the Azure cog search vector db, or, to just vectorize the top K results returned by the Azure cog search? (IMO the first approach would yield better results)

This was release a few weeks ago. Please check new notebooks.


[NCL-5057] Use system gradle if ./gradlew not present

All Submissions:

[ ] Have you added a note in the CHANGELOG wiki for your change?
[ ] Have you added unit tests for your change?

@thescouser89 Are there not any new tests for this? What version of gradle is default in repour?

No new tests! Will figure out how to add them.
Default version on gradle is 5.5.1


reduce use of django template variables in GIS

This:

wraps module in a function
moves all the template variables to the top of that function
puts block extensions in their own functions

So that I can sleep at night this code can run under CSP these hooks will have to be replaced with some other API.

A ticket and fixing the test failure is also needed. @claudep, could you confirm this patch is worth pursuing and not obsoleted by some other work, for example?

I plan to deprecate this code (the GeoModelAdmin stuff) for Django 2.0. If it's important to clean that code before that, I don't mind. If I understand it correctly, testing will be difficult, as it's not broken, only not CSP compliant.

Closing due to inactivity and because tests aren't passing.


JS: Binding: Run-time error occured in file: undefined at line: undefined and column: undefined

From @Jpaagt on May 5, 2016 19:3
With the release of version 2.0.0, I keep getting a lot of the following error messages in the console that are not very helpful:
JS: Binding: Run-time error occured in file: undefined at line: undefined and column: undefined
The application does not break and seems to work as expected, but the error messages are quite annoying, since there is not much information of what could be causing them. Would it be possible to improve the messages so that they are helpful at least?
Which platform(s) does your issue occur on?
Android
Please provide the following version numbers that your issue occurs with:

CLI: 2.0.0

Copied from original issue: NativeScript/NativeScript#2074

I've been observing similar errors. I haven't attempted to dig into it yet, as without the file / line number it's hard to know where to start.

I examined the problem and it seems it is not android runtime related.
ping @hshristov

@slavchev I've reopened the original issue.

Just upgraded to 2.2.0. Still got the same error.
>tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬───────────────┐
│ Component        │ Current version │ Latest version │ Information   │
│ nativescript     │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-core-modules │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-android      │ 2.2.0           │ 2.2.0          │ Up to date    │
│ tns-ios          │                 │ 2.2.0          │ Not installed │
└──────────────────┴─────────────────┴────────────────┴───────────────┘

@ryc16 Could you please attach a sample project which demonstrate this issue?

fixed with: https://github.com/NativeScript/android-runtime/pull/524

Hi,
I am still facing this error messages that block me from debug my application. iOS is running fine with the same javascript codebase.

Please advise how I can debug the error in android platform.

 I think some javascript function like "replace()" is not working with Android returned JSON from ajax call. Is Android have different ajax response format? Please advise.

Thanks.

Hi, @kk86bioinfo
Can you provide us with a way to reproduce your issue?


Exception is thrown when using .NET Core

As reported in issue #1, the library throws following System.ArgumentException when using .NET Core.
Unhandled Exception: System.ArgumentException: Object contains non-primitive or non-blittable data.
   at System.Runtime.InteropServices.GCHandle.InternalAlloc(Object value, GCHandleType type)
   at System.Runtime.InteropServices.GCHandle.Alloc(Object value, GCHandleType type)
   at rpi_ws281x.WS281x..ctor(Settings settings) in /home/daniel/Documents/RPI/rpi-ws281x-csharp/src/rpi_ws281x/WS281x.cs:line 28
   at TestAppCore.ColorWipe.Execute(AbortRequest request) in /home/daniel/Documents/RPI/rpi-ws281x-csharp/src/TestAppCore/ColorWipe.cs:line 27
   at TestAppCore.Program.Main(String[] args) in /home/daniel/Documents/RPI/rpi-ws281x-csharp/src/TestAppCore/Program.cs:line 38

I've got it working. Basically I've done what they suggested, removed the array and set 2 fields


Commit all but one file

@jpmens Looks like you missed npm install check contributing.md thanks!

Was hoping I could avoid that ... ;-)
I've done npm install now. How do I fix?

Just do a soft reset on HEAD~1 and commit again, it will generate the readme :+1:

I hope this is better?

Yes Sir, thank you.


Error app crash

Your app is crashing. Here's the latest log:
Errors prevented startup:
While preparing to run:
settings.json: parse error reading settings file
Your application has errors. Waiting for file change.
=> Meteor 1.6 is available. Update this project with 'meteor update'.
Started MongoDB.
I run update in the project folder and it says that new update is available.

Can i see your settings.json file? seems like is broken
check out on this JSON Validator online

http://www68.zippyshare.com/v/5glrNiZq/file.html
Validated and looks like valid!
I send you the full folder I'm using for the bot.

Any option?


exprot-distro don't push events to rules-engine using 0.7.0 images in User Model

When I use the 0.7.0 images in User Model, all steps followed by "EdgeX Demonstration API Walk Through", I find a problem about 'rules engine' or 'export distro '.
If there is a device :
device id : "5ba31f1c9f8fc20001a6b6ad"
device name : "countcamera1"

now I add a rule for the device like this:
{
	"name": "humancount_rules_test#1",
	"condition": {
		"device": "5ba31f1c9f8fc20001a6b6ad",
		"checks": [{
			"parameter": "humancount",
			"operand1": "Integer.parseInt(value)",
			"operation": ">",
			"operand2": "1"
		}]
	},
	"action": {
		"device": "5ba31f1c9f8fc20001a6b6ad",
		"command": "5ba31ee59f8fc20001a6b6a8",
		"body": "{\\\"depth\\\":\\\"3\\\"}"
	},
	"log": "humancount_rules_test"
}

then, I add a new event to "core data" like this :
{
	"device": "5ba31f1c9f8fc20001a6b6ad",
	"readings": [{
		"name": "humancount",
		"value": "4"
	}, {
		"name": "caninecount",
		"value": "3"
	}]
}

or
{
	"device": "countcamera1",
	"readings": [{
		"name": "humancount",
		"value": "4"
	}, {
		"name": "caninecount",
		"value": "3"
	}]
}

the expected results:
1. "docker logs -f  <rules engine> " will show some info about the "humancount", because "export distro" will sent the envet to "rules engine".

2. "docker logs -f <command>" will show some info about the action of the rules named "humancount_relus_test#1", because "rules engine" will send the action to "command".

the actual results
exprot-distro logs
2018-09-20T04:55:05.672000000Z INFO: 2018/09/20 04:55:05 Event received: {"id":"5ba328290e360800018e2500","pushed":0,"device":"5ba31f1c9f8fc20001a6b6ad","created":1537419305655,"modified":0,"origin":0,"schedule":null,"event":null,"readings":[{"id":"5ba328290e360800018e2501","pushed":0,"created":1537419305655,"origin":0,"modified":0,"device":"5ba31f1c9f8fc20001a6b6ad","name":"humancount","value":"4"},{"id":"5ba328290e360800018e2502","pushed":0,"created":1537419305655,"origin":0,"modified":0,"device":"5ba31f1c9f8fc20001a6b6ad","name":"caninecount","value":"3"}]}
2018-09-20T04:55:05.673658000Z INFO: 2018/09/20 04:55:05 EVENT

However,
the actual results do not get these expected results. There's nothing like exported results in "relus-engine" and "command". I make sure the "export.client=true" config in consul. These phenomena indicate that the event is not pushed to the rules engine. However, the "rules engine service" has registered in “export registration”. All the steps followed by "https://docs.edgexfoundry.org/Ch-Walkthrough.html" .
is there some bugs in “rules engine” or “export distro”？or I have make some mistakes.
GET http://<IP_ADDRESS>:48071/api/v1/registration
[
    {
        "id": "5ba2f075fd4ca800013010c3",
        "created":<PHONE_NUMBER>361,
        "modified": 0,
        "origin": 0,
        "name": "EdgeXRulesEngine",
        "addressable": {
            "created": 0,
            "modified": 0,
            "origin": 0,
            "id": null,
            "name": "EdgeXRulesEngineAddressable",
            "protocol": "ZMQ",
            "method": "POST",
            "address": null,
            "port": 0,
            "path": null,
            "publisher": null,
            "user": null,
            "password": null,
            "topic": null,
            "baseURL": null,
            "url": null
        },
        "format": "SERIALIZED",
        "filter": {},
        "encryption": {},
        "enable": true,
        "destination": "ZMQ_TOPIC"
    }
]

Register for JSON formatted data to be sent to MQTT topic (www.cloudmqtt.com). In this way, I can get the events/readings in www.cloudmqtt.com. Maybe just can't push events/readings to the rules engine？

This is a bug - the event does get processed by export distro and the rules engine is registered appropriately, but the distro service does not send it back out on ZeroMQ connector to rules engine service.  In fact, registration.go even says ZeroMQ not supported.

I have a fix for this.  Waiting for @tsconn23 to complete his config v2 work in export distro.


Add Windows startmenu

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Remove redundant check in new starts_with implementation

I’ve always wanted to PR against a PR since I read that this is possible.

Ah, sorry, renaming a branch closes the PR.


Improper name formatting of Global Styles

Describe the bug
Global Styles in Figma have wide flexibility in the naming. As such, Figma allows me to name my global styles something like 012 My Style. This is a problem because parabeac_core will export this style name as a variable named 012myStyle.
The goal of this issue is to correctly format color names in such a way that we remove any invalid special characters, and move any initial numbers in the variable name to the end of the variable.
Therefore, 012my$Style shall convert to myStyle012.
If we detect a global style with a name such as 500we shall change it to <styleType>500. For example, if we have a Global Color named 500, the name will change to color500.
To Reproduce the bug
Steps to reproduce the behavior:

Go to figma.com and create a new Design file.
Create a global color, named something like 012myColor.
Using parabeac_core, convert the file.
You should see that in the themes folder, there is an error because the global color printed out its literal name.

Impact of the problem
The problem is that the bug causes compiler errors that will not allow users to run their project.
Environment:

OS: macOS

Hey. Can I have it assigned to me. @rockfist from discord here.

@rajarshi-ch Done! Thanks, let us know if you run into any issues or need any help.


Fix compilation errors with VS2015

I had to make some changes to get this compiling with VS2015 again. It complained about conversion from const char* to std::array<...>::const_iterator. So I had to add explicit casts. The downside is that the code became a bit ugly now and more difficult to read. Maybe using typedefs for the array and array iterator types would help?

@deanberris @glynos ?

LGTM -- in the future typedefs/aliases would make this better to read. For now it's localised and makes sense anyway.


Add Makefile

Added Makefile with some helpful utils such as build, lint and clean.

Description
Add Makefile for development convenience and simplify frequently used actions.
Contribution Guidelines
Please Read through the Contribution Guidelines.
Fixed Issues
None
Contribution checklist

[x] I have read the Contributing Guidelines.
[ ] The commits refer to an active issue in the repository.
[ ] I have added automated testing to cover this case.

Notes
This is commit adds no functionality and therefore, no tests are needed.

Codecov Report

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

@@          Coverage Diff           @@
##           master    #298   +/-   ##
======================================
  Coverage    59.8%   59.8%
======================================
  Files          39      39
  Lines        1928    1928
======================================
  Hits         1153    1153
  Misses        775     775

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 df12d75...c93e786. Read the comment docs.


How to determine document stage (CD, WD, AWI, DIS, FDIS,...)

What is a best way to determine a document stage (CD, WD, AWI, DIS, FDIS,...) ?
In xml I see two places to store stages:

<docidentifier type="iso">ISO/CD 17301-1</docidentifier>

<status>
<stage>30</stage>
<substage>00</substage>
</status>

In PDF I need to put a full name of stage, for example 'COMMITTEE DRAFT' for CD. Can I cut substring after 'ISO/' or would be better to use 'status' and 'substage' elements? Then, where can I find a mapping table between 'stage' / 'substage' values and document's name stage?
Thanks.

The mapping code, like so much else that you seem to need, is in the isodoc/*/metadata.rb file of the flavour. In particular for ISO:
https://github.com/metanorma/metanorma-iso/blob/master/lib/isodoc/iso/metadata.rb
 STAGE_ABBRS = {
        "00": "PWI",
        "10": "NWIP",
        "20": "WD",
        "30": "CD",
        "40": "DIS",
        "50": "FDIS",
        "60": "IS",
        "90": "(Review)",
        "95": "(Withdrawal)",
      }.freeze

def status_abbrev(stage, substage, iter, draft)
        return "" unless stage
        stage = self.class::STAGE_ABBRS[stage.to_sym] || "??"
        stage = "PRF" if stage == "IS" && substage == "00"
        stage += iter if iter
        stage = "Pre" + stage if draft =~ /^0\./
        stage
      end

def docstatus(isoxml, _out)
        docstatus = isoxml.at(ns("//bibdata/status/stage"))
        set(:unpublished, false)
        if docstatus
          set(:stage, docstatus.text)
          set(:stage_int, docstatus.text.to_i)
          set(:unpublished, unpublished(docstatus.text))
          set(:statusabbr, status_abbrev(docstatus.text,
                                         isoxml&.at(ns("//bibdata/status/substage"))&.text,
                                         isoxml&.at(ns("//bibdata/status/iteration"))&.text,
                                         isoxml&.at(ns("//version/draft"))&.text))
          unpublished(docstatus.text) and
            set(:stageabbr, stage_abbr(docstatus.text))
        end
        revdate = isoxml.at(ns("//version/revision-date"))
        set(:revdate, revdate&.text)
      end

 def unpublished(status)
        status.to_i > 0 && status.to_i < 60
      end

All those set variables are the metadata variables that I use to populate the title pages from via Liquid (e.g. stage, stageabbr). Either you replicate what those commands are doing, or I pass them as variables into the XSLT.

In PDF I need to put a full name of stage, for example 'COMMITTEE DRAFT' for CD.

... Huh. That's a new requirement to me. But yes, you must read it from the stage, and map 30 to CD to Committee Draft. As you can see, the stage is only reflected in the identifier for pre-publication stages. (And if https://github.com/metanorma/metanorma-iso/issues/343 is correct, that excludes PRF.)

@opoudjis do you think it's fair to put the "Committee Draft" part inside the XML?

Clearly I'm going to have to anyway.

Ideally the markup would be:
<stage number="30" abbreviation="CD">Committee Draft</stage>
But we cannot do that: we have too much legacy XML of <stage>30</stage>.
So I will globally add an optional abbreviation attribute to stage. I will not proactively populate it, because I have far better things to do with my life; but the mechanism is available.
I will give the full name of the stage in ISO as //bibdata/ext/stagename. So:
<bibdata>
<status>
<stage abbreviation="CD">30</stage>
...
</status>
....
<ext>
...
<stagename>Committee Draft</stagename>
</ext>
</bibdata>

@andrew2net FYI: stage and substage can now have an optional "abbreviation" attribute, containing the abbreviation (e.g. "CD" for a stage of 30 in ISO); you are not currently expected to populate it.
I am also adding  //bibdata/ext/stagename as an optional element in ISO, for the full name of the stage.

This of course also applies to GB and IEC, which inherit from ISO


Refine help message for command group

Description
disk_pool is an operation group.
The generated command group help message have "-" as shown below:

what we expect is as shown here:

Solution
Refine it in manual folder.
Expected solution

Try to make swagger have description for operation group.
Could try to add friendly description for command group not just command group name. For example,

removing -
add manage as the first verb

close since PR merged


error after updating

So I got a little anxious last night and loaded this integration before the PR was merged to remove the image resizer, I got it working with an older release and everything was good. i NOTICED TODAY THE pr was merged so I updated via HACS and it seemed to have removed the sensors in my lovelace card.
I also noticed I was not getting any entities in the integrations page so I uninstalled, rebooted, reinstalled, rebooted and when I try to add the integration again I get an unknown error when i submit and this in the logs
2020-02-26 19:49:39 ERROR (MainThread) [aiohttp.server] Error handling request

Traceback (most recent call last):

  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

    resp = await task

  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

    resp = await handler(request)

  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

    return await handler(request)

  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware

    return await handler(request)

  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware

    return await handler(request)

  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth_middleware

    return await handler(request)

  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle

    result = await result

  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 163, in post

    return await super().post(request, flow_id)

  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 50, in wrapper

    result = await method(view, request, *args, **kwargs)

  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 92, in post

    result = await self._flow_mgr.async_configure(flow_id, data)

  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 130, in async_configure

    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)

  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 172, in _async_handle_step

    result: Dict = await getattr(flow, method)(user_input)

  File "/config/custom_components/mail_and_packages/config_flow.py", line 42, in async_step_user

    user_input[CONF_USERNAME], user_input[CONF_PASSWORD])

  File "/config/custom_components/mail_and_packages/config_flow.py", line 106, in _test_login

    account = imaplib.IMAP4_SSL(host, port)

  File "/usr/local/lib/python3.7/imaplib.py", line 1288, in __init__

    IMAP4.__init__(self, host, port)

  File "/usr/local/lib/python3.7/imaplib.py", line 198, in __init__

    self.open(host, port)

  File "/usr/local/lib/python3.7/imaplib.py", line 1301, in open

    IMAP4.open(self, host, port)

  File "/usr/local/lib/python3.7/imaplib.py", line 299, in open

    self.sock = self._create_socket()

  File "/usr/local/lib/python3.7/imaplib.py", line 1291, in _create_socket

    sock = IMAP4._create_socket(self)

  File "/usr/local/lib/python3.7/imaplib.py", line 289, in _create_socket

    return socket.create_connection((host, self.port))

  File "/usr/local/lib/python3.7/socket.py", line 707, in create_connection

    for res in getaddrinfo(host, port, 0, SOCK_STREAM):

  File "/usr/local/lib/python3.7/socket.py", line 752, in getaddrinfo

    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

socket.gaierror: [Errno -2] Name does not resolve

I figured it out I was using imap.google.com instead of Gmail 🤔

Odd there's error handling in there to just give you a fancy error message if the server's wrong. I also have done the imap.google.com as well.


No decimals in temperatures

Hello,
I have used this repo for several years now, made a couple of accessories (AC unit, outlet controlled oven, a couple of wireless temp. sensors). Everytime in Apples Home app, EVE and other apps it always shows ,0 of my temps, even if it says it has a decimal in the console. Anyone have some tips and tricks to help me here?
I have some Philips Hue sensors as well, and those shows decimal values.

@joachimvenaas did you found solution?

@Shaquu yes. The minStep value was 1


↔ [Converter] Add support for aten::affine_grid_generator in TRTorch

Function Schema: aten::affine_grid_generator(Tensor theta, int[] size, bool align_corners) -> (Tensor)

Original PyTorch API: https://pytorch.org/docs/stable/_modules/torch/nn/functional.html#affine_grid

There's no native op in TensorRT which supports this. You would have to implement the plugin and integrate with TRTorch.
Some useful resources

https://github.com/NVIDIA/TRTorch/blob/master/core/conversion/converters/impl/plugins/interpolate_plugin.h
https://github.com/NVIDIA/TRTorch/blob/master/core/conversion/converters/impl/interpolate.cpp

Let us know if you have any issues while integrating.

@zccyman  any update on this thread ??where you able to convert


Early Stop being triggered causing epochs to increase spuriously

🐛 Bug
Early stopping triggered with min_epochs causes epochs to increase by 1 for no reason
Please reproduce using the BoringModel
https://colab.research.google.com/drive/1tEuLz3Bhc8ktwlDWb00eZCDwpklAEktg?usp=sharing
Expected behavior
Epochs should stay the same even if Early Stopping is triggered
Environment

CUDA:

GPU:
available:         False
version:           10.1

Packages:

numpy:             1.19.5
pyTorch_debug:     False
pyTorch_version:   1.8.1+cu101
pytorch-lightning: 1.3.2
tqdm:              4.41.1

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.10
version:           #1 SMP Tue Apr 20 19:55:43 PDT 2021### Additional context

Other info:
In this plot here each epoch should last 32 steps. However, it the bug I am describing is causing the number of epochs counted to escalate.

The notebook which you've linked above, has both min and max epochs set to 10 but you mentioned in the issue 32 epochs, just a beginner here trying to understand the issue :sweat_smile:
can anyone please explain on that?

Sorry to confuse - the screenshot was from my work, not the notebook :D

Ah got it! Thanks! :)


ordereddict fix

ordereddict fix

Move the OrderedDict call to the dictionary instantiation, rather than after it is populated. This should enforce the order of the keys from the beginning.


How to use -planPath via GitHub actions

Hi
I wonder how can we provide planPath via GitHub actions. Any specific env variables?
Like the one used below:
$ docker run --rm -it -p 9000:9000 -v $(pwd):/src im2nguyen/rover -planPath mytfplan

@JinoArch were you able to get it working ?

https://github.com/im2nguyen/rover/issues/115#issuecomment-1218169994 works.

Works. Please close this thanks.


[4.3] Viewport Texture Must Be Set To Use It

Tested versions
Reproducible in 4.3.beta.1.mono.
System information
Windows 11 (other users report some versions of Linux as well)
Issue description
Sprite3D loses SubViewport texture assignment at runtime, even though it is correctly set.
False error.
PR has been merged to Godot master branch already: https://github.com/godotengine/godot/pull/97029
Steps to reproduce
In most cases game must be run before the assignment error appears.
New or existing Redot project, attempt to make 3D UI via the following steps:
Add Sprite3D to Scene (or prefab scene)
Add SubViewport as child of Sprite3D (or above it)
Add UI Elements and scale.
Assign Subviewport texture to Sprite3D
Run the game.
The error may not be immediately apparent.
Create an animation to fade the modulation of the Sprite3D at runtime, or change size. Changing the size of the subviewport triggers it in the editor before runtime, sometimes.
Run the game.
Minimal reproduction project (MRP)
broken-viewport-texture-assignment-MRP.zip

Fixed by #828

Hi guys, sorry for necro, just confirming I've tested 4.3.beta.3.mono and the fix for this is working. Thanks fam. <3


For issue 244

#244

@dugenkui03 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@dugenkui03 Thank you for signing the Contributor License Agreement!


Remove call to vim.notify within loop callback

Using nvim 0.10, I'm getting
E5560: nvim_echo must not be called in a lua loop callback

Pointing to this vim.notify call. I'm assuming it's safe to change for a log.error.

vim.notify is also found in other places throughout the code and should be replaced. The correct replacement would be:
local lib = require("neotest.lib")
--
lib.notify("foo")

PS: I don't get any errors using version 0.10.0 or with the nightly version either, but it might be due to some plugin acting up.

PS: I don't get any errors using version 0.10.0 or with the nightly version either, but it might be due to some plugin acting up.

You probably use your own notify plugin and override the default vim.notify (thus no call to nvim_echo), which solved the issue for me :-D


New bulk importer fails if directory contains files other than RFiles

This may be intended behavior... I'm not sure.
I tried to convert some bulk import code from AuditMessageIT:
auditConnector.tableOperations().importDirectory(THIRD_TEST_TABLE_NAME, exportDir.toString(), failDir.toString(), false);

to:
auditConnector.tableOperations().addFilesTo(THIRD_TEST_TABLE_NAME).from(exportDir.toString()).load();

The former works fine with the export directory containing:
distcp.txt
exportMetadata.zip
tmp/

However, the latter failed because it did not recognize the zip file format. I'm not sure why this test is trying to bulk import from an exportTable directory, but it works fine using the old method (which seems to silently ignore unrecognized files... although I can't find the relevant filtering code).
Do we want the new bulk importer to ignore unrecognized files like the old method did, or not?

Using an empty directory for this test gets a little further along... it creates the loadmap.json file, but then fails because the file list is empty:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was END_ARRAY at line 1 column 3 path $[0]
  at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224)
  at com.google.gson.Gson.fromJson(Gson.java:887)
  at org.apache.accumulo.core.client.impl.BulkSerialize$LoadMappingIterator.next(BulkSerialize.java:150)
  at org.apache.accumulo.core.client.impl.BulkSerialize$LoadMappingIterator.next(BulkSerialize.java:118)
  at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
  at org.apache.accumulo.master.tableOps.bulkVer2.PrepBulkImport.checkForMerge(PrepBulkImport.java:110)
  at org.apache.accumulo.master.tableOps.bulkVer2.PrepBulkImport.checkForMerge(PrepBulkImport.java:174)
  at org.apache.accumulo.master.tableOps.bulkVer2.PrepBulkImport.call(PrepBulkImport.java:182)
  at org.apache.accumulo.master.tableOps.bulkVer2.PrepBulkImport.call(PrepBulkImport.java:66)
  at org.apache.accumulo.master.tableOps.TraceRepo.call(TraceRepo.java:54)
  at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:73)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
  at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was END_ARRAY at line 1 column 3 path $[0]
  at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
  at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213)
  ... 14 more

@milleruntime I don't think there's a test for this issue, so I'm not sure what test your talking about.

You mention AuditMessageIT failing when you changed it to use the new API.

Oh. Sorry for the confusion. That's where I first noticed this issue, but I fixed that to avoid reusing the same directory. The reported behavior still exists, and could affect users of the new API. We don't have a test case for this and I'm not sure what the expected behavior should be. I don't know if it is common to import rfiles from a directory with other stuff in it or whether it should recurse to find more rfiles, or have some other behavior.

No problem.  I actually just saw this error when testing the new bulk import shell command.  I saw the error happen when you pass an empty directory.
I think we should just print a debug if the directory is empty or if there other files present.  It seems like an empty directory or having other files present (because of Map Reduce) is not abnormal behavior.


Add an Integration Test to Run on Travis.CI

In order to make sure that CLI tool is not broken, we can add a small integration test which:

Compiles and starts Zally Server
Compiles Zally CLI
Runs few scenarios with local and remote files

In order to keep it simple, we can use bats framework for that.

This would help a lot, I think. Good suggestion. :-)

Thanks, I will take care of a small prototype then.


Can't clone this project completely.

Error downloading object: data/environment.hdr (f139d4c): Smudge error: Error do wnloading data/environment.hdr (f139d4c699dc27a0b2c3a110955469b2d293e5ed94984e2d da61717a5214ce9b): batch response: This repository is over its data quota. Accou nt responsible for LFS bandwidth should purchase more data packs to restore acce ss.                                                                                Errors logged to C:\src\PBR.git\lfs\logs\20191122T175645.259632.log

All asset files have now been moved out of LFS. Git pull from master or clone the repo again to get them.


#152 Templates additions prox/models/solvers for any in/direct base t…

…o add Float to SAGA

I fully agree on that.... that’s annoying but it’s important to do things incrementally
Envoyé de mon iPhone

Le 1 févr. 2018 à 16:51, Martin<EMAIL_ADDRESS>a écrit :
@Mbompr commented on this pull request.
Did not finish yet...
I really think this PR must be splitted otherwise we will face some problems later...
Can we start with a PR that deals only with arrays? Then only with models, then prox and finally solvers?
Won't be fun but it's so sensitive...
In lib/cpp-test/linear_model/CMakeLists.txt:

@@ -6,4 +6,5 @@ target_link_libraries(tick_test_linear_model
${TICK_LIB_BASE_MODEL}
${TICK_LIB_LINEAR_MODEL}
${TICK_TEST_LIBS}

${TICK_LIB_ROBUST}
Is this linked with this pull request?

In lib/cpp-test/linear_model/models_gtest.cpp:

#include <cereal/types/unordered_map.hpp>
#include <cereal/types/memory.hpp>
#include <cereal/archives/json.hpp>
#include <cereal/archives/binary.hpp>
#include
+TEST(Model, NoAbstractClasses) {
I'm not sure to understand what this test is about
In lib/cpp-test/linear_model/models_gtest.cpp:

@@ -34,7 +45,7 @@ TEST(Model, PartialVsFull) {
SArrayDoublePtr labels = y.as_sarray_ptr();
SArrayDouble2dPtr features = x.as_sarray2d_ptr();

ModelLinReg model(features, labels, false, 2);

TModelLinReg<double, double> model(features, labels, false, 2);
Can we have default template arguments to double? This way that ModelLinReg would work just like before

In lib/cpp/array/alloc.cpp:

@@ -1,6 +1,7 @@
// License: BSD 3 clause

#include "tick/array/alloc.h"
+#include "tick/array/array.h"
Is this linked with this pull request?
In lib/cpp/base_model/model_generalized_linear.cpp:

@@ -2,18 +2,32 @@

#include "tick/base_model/model_generalized_linear.h"
-ModelGeneralizedLinear::ModelGeneralizedLinear(const SBaseArrayDouble2dPtr features,

                                          const SArrayDoublePtr labels,

                                          const bool fit_intercept,

                                          const int n_threads)

: ModelLabelsFeatures(features, labels),
n_threads(n_threads >= 1 ? n_threads : std::thread::hardware_concurrency()),
+template <class T, class K>
Do we need 2 templates? Or is this only for atomics?
Also; K seems to be the "main" template and T only used if we have atomic. I find this confusing and would rather have T as "main" template and K set by default to T (if that's possible).

In lib/cpp/base_model/model_generalized_linear.cpp:

@@ -26,20 +40,23 @@ const char *ModelGeneralizedLinear::get_class_name() const {
return "ModelGeneralizedLinear";
}

-double ModelGeneralizedLinear::grad_i_factor(const ulong i,

                                        const ArrayDouble &coeffs) {

+template <class T, class K>
+K
+TModelGeneralizedLinear<T, K>::grad_i_factor(const ulong i,

                                        const Array<T> &coeffs) {

Dummy question: is there a way to somehow "cast" Array into Array if this array will be read-only? Because this is what will happen in most mdoels: coeffs will be read to compute gradient / loss but a model itself won't write on coeffs.
In lib/cpp-test/linear_model/models_gtest.cpp:

@@ -34,7 +45,7 @@ TEST(Model, PartialVsFull) {
SArrayDoublePtr labels = y.as_sarray_ptr();
SArrayDouble2dPtr features = x.as_sarray2d_ptr();

ModelLinReg model(features, labels, false, 2);

TModelLinReg<double, double> model(features, labels, false, 2);
It seems that this is what you have done with ModelLabelsFeaturesDouble

In lib/cpp-test/linear_model/models_gtest.cpp:

@@ -34,7 +45,7 @@ TEST(Model, PartialVsFull) {
SArrayDoublePtr labels = y.as_sarray_ptr();
SArrayDouble2dPtr features = x.as_sarray2d_ptr();

ModelLinReg model(features, labels, false, 2);

TModelLinReg<double, double> model(features, labels, false, 2);
If we do so with all models we will be able to this a PR with modification in models only, won't we?
This code is changing many things at the very heart of tick and if we make some mistakes we might have some very big troubles later!

In lib/include/tick/base/defs.h:

@@ -17,6 +17,11 @@
#include

#if defined _WIN32 || defined CYGWIN
+
+#ifndef func
+#define func FUNCTION
+#endif
What is this used for?
In lib/include/tick/linear_model/model_logreg.h:

@@ -10,51 +10,91 @@
#include "tick/base_model/model_generalized_linear.h"
#include "tick/base_model/model_lipschitz.h"

+// TODO: labels should be a ArrayInt (PD: should they?)
They can only be either -1 and 1 but it might perhaps complexify the calculus
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing to split in smaller PRs


Update virtual-machines-windows-sql-automated-patching.md

@Rafidl : Thanks for your contribution to the Azure documentation! The author, @rothja, has been notified to review your proposed change.

@Rafidl Thank you for this catch. #sign-off


Don't use "mostly debug runtime" with release configurations

This removes the inclusion of PONY_ALWAYS_ASSERT when building and
adds the small changes needed to compile with that change.
We haven't been running with PONY_NDEBUG on for a long time as
PONY_ALWAYS_ASSERT "turns off" PONY_NDEBUG. This means that for the
most part, config=release has result in debug versions of the runtime.

Hi @SeanTAllen,
The changelog - changed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 4112.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.

huh so something in code that wasn't previously being executed is segfaulting. that's fun. i could use help debugging if anyone has time.

This is the backtrace building the runner:
Building collections/persistent -> /home/sean/code/ponylang/ponyc-clean/packages/collections/persistent
Process 9203 stopped
* thread #1, name = 'ponyc', stop reason = signal SIGSEGV: invalid address (fault address: 0x13)
    frame #0: 0x0000000000709d00 ponyc`token_get_id
ponyc`token_get_id:
->  0x709d00 <+0>: movl   (%rdi), %eax
    0x709d02 <+2>: retq
    0x709d03:      nopw   %cs:(%rax,%rax)
    0x709d0d:      nopl   (%rax)
(lldb) bt
* thread #1, name = 'ponyc', stop reason = signal SIGSEGV: invalid address (fault address: 0x13)
  * frame #0: 0x0000000000709d00 ponyc`token_get_id
    frame #1: 0x000000000076e034 ponyc`frame_push + 36
    frame #2: 0x0000000000730a14 ponyc`ast_visit + 100
    frame #3: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #4: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #5: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #6: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #7: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #8: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #9: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #10: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #11: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #12: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #13: 0x0000000000730ab0 ponyc`ast_visit + 256
    frame #14: 0x0000000000730f5d ponyc`ast_passes + 941
    frame #15: 0x0000000000730ba2 ponyc`ast_passes_program + 18
    frame #16: 0x0000000000742528 ponyc`program_load + 120
    frame #17: 0x0000000000703bed ponyc`main + 781
    frame #18: 0x00007ffff7c4d0b3 libc.so.6`__libc_start_main + 243
    frame #19: 0x000000000070381e ponyc`_start + 46

there's no get_token_id in frame_push so Im a little confused.

So runner can be built if...
I make it so that assert is always on (but PONY_NDEBUG is as well) + turn off well_formed_message asserts (2 of them) + make token and ast have a frozen variable so that all the asserts work.

Update:
So runner can be built if...

I make it so that assert is always on
PONY_NDEBUG is also on
turn off well_formed_message asserts (2 of them)
turn off frozen token asserts
turn off frozen ast asserts

AND here we go...
a side-effect in an assert. o lord:
this is around line 705 in refer.c
  pony_assert(typeref == ast_pop(ast));
``

It appears Joe was the baddie 5 years ago. Looks like we've been running with always assert on in the compiler for a long long time.
https://github.com/ponylang/ponyc/commit/e84506dd6a731afa56569720207008101c0746c2

Nice catch.

The first comment on this PR is what should be used as the commit message when squashing.


Don't warn about pure-python murmur on PyPy.

On PyPy, it's preferred.

Heh, apparently @davidkbainbridge didn't know we were going round-and-round with legal about submissions :-)
@Julian, we've got a new contributors agreement for submissions going forward. I've got a PR to bring the public (this) repo up to parity with our internal repo which has it.  Take a look and see if it's acceptable.

https://github.com/ciena/afkak/blob/b1d89302f37c2f8be83ee38ac8c55f1dad5b2506/CONTRIBUTING.md

I was wondering how this PR managed to sneak through that :).
I'll have a look.

(This is just curiosity mostly) -- were you advised that you need to use --signoff for every single commit rather than just asking contributors for a blanket agreement to the contributor agreement?

Not sure, I was on vacation for that week when it was finally worked out.  @twm ?

I imagine if you would prefer to just have a blanket agreement, that'd be fine too.

It'd be a bit easier to not need to remember before committing yeah.

The key motivation for the Signed-off-by line is that it can be enforced automatically.  For example, this pull request is failing pre-merge checks because it lacks signoffs. We don't have this automation yet, but I'd like to add it.

I have to ask internally, but I think we do that same automation, just by checking the list of registered committers who've submitted the ahead-of-time agreement (anyways yeah, I was mostly just curious, so if it's not worth the time, I'm OK as-is certainly, I just might need to be reminded either by a human or the automation to add the line :P).


Basic beats

A preliminary overview of this looks sane!  I need to give it more detail when I'm not watching politics though.

Yep, looks good, with Brian's changes!

Added a small fix to Ben's __repr__.
(Couldn't find a better way to convert nano-second level timedeltas to seconds, so I just divided.)

(Couldn't find a better way to convert nano-second level timedeltas to seconds, so I just divided.)

timedelta.total_seconds()?

...returns just the seconds, not the total in seconds. = \

Derp, right.  That always trips me up.

Ah, but * 1e-9 is so much better.  Ty!

..any reasons why we can't merge this, pals?  If I hear nothing, I'll do so sometime this week.

Made tweaks as suggested by @bmcfee.  Will fix the conflicts and merge tomorrow, unless there are fires and portents.


test/provision/manifest: reduce verbosity for kube-dns

kube-dns has been failing due to exit code 137 (out of memory). Reduce verbosity
of it, which was changed recently to see if this fixes that issue.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

test-me-please

Forgot to reduce verbosity for one of the containers, which caused tests to fail. It failed with exitCode 137.

test-me-please

After reducing verbosity levels for kube-dns, still hitting OOM issues.

test-me-please

Closing in favor of #4034 .