unserialize error + disabled cache

I use this config:
return [
    'default' => env('SETTINGS_DRIVER', 'database'),
    'cache' => true,
    'encryption' => false,
    'events' => true,
    'repositories' => [
        'database' => [
            'driver' => 'database',
            'connection' => env('DB_CONNECTION', 'mysql'),
            'table' => 'settings',
        ],
    ],
    'key_generator' => \Krucas\Settings\KeyGenerators\KeyGenerator::class,
    'context_serializer' => \Krucas\Settings\ContextSerializers\ContextSerializer::class,
    'value_serializer' => \Krucas\Settings\ValueSerializers\ValueSerializer::class,
    'override' => [],
];

And Laravel Framework version 5.3.23. Then I set 'cache' => false - application crushes with message:

ErrorException in /home/user/php/my_app/vendor/edvinaskrucas/settings/src/Krucas/Settings/ValueSerializers/ValueSerializer.php line 28:
unserialize(): Error at offset 0 of 3 bytes (View: /home/user/php/my_app/resources/views/pages/settings/index.blade.php)

Database is clear (after migrate:refresh), files cache is cleared. And if I change 'cache' => true- all works fine. Is it normal?

I have this issue as well on Laravel 5.3.


Any plans for a 33b fine tune?

Awesome models! Great job guys! :)
I am wondering if you plan to also finetune on top of deepseek-coder-33b-instruct as well? I wonder how high the evaluations will go with that model :)

Thanks!! Yes, finetuning larger models is in our plan, and we will get people informed when we have the results!

@UniverseFly That's fantastic. Thank you! Looking forward to your new releases! :)


[MM-23583] Fix all channel mentions getting highlighted even when they shouldn't

Summary

All channel mentions getting highlighted even when they shouldn't has been fixed in this PR.
Ticket Link

https://mattermost.atlassian.net/browse/MM-23583
Screenshots

Looks like there are some broken snapshot tests @hahmadia


Certain tests are prone to failures

Information

Qiskit Aqua version: 0.7.0
Python version: 3.7.5
Operating system: macOS Catalina

What is the current behavior?
Some tests seem to fail arbitrarily, not very often, but it happens.
This is not pressing, re-running Travis mostly works, but we should address that sometime.
Tests:

[ ] aqua/test_readme_sample
[ ] chemistry/test_app_msge
[ ] aqua/test_pauli_expectation
[ ] aqua/test_vqe: test_vqe_qasm_2_QuantumCircuit

Steps to reproduce the problem

aqua/test_readme_sample

https://travis-ci.com/github/Qiskit/qiskit-aqua/jobs/322784506

chemistry/test_app_msge
aqua/test_pauli_expectation
aqua/test_vqe: test_vqe_qasm_2_QuantumCircuit

https://travis-ci.com/github/Qiskit/qiskit-aqua/jobs/325629901

What is the expected behavior?
These tests should not fail, or be allowed to fail.
Suggested solutions
Fix the random seeds such that it does not fail.

I didn't observe these issues anymore, probably most of them have been fixed by #967. Though I'm not so sure about the test_pauli_expectation. @manoelmarques have you been experiencing any CI failures lately?

@Cryoris yes, the random failures were addressed by that PR. Since we keep an eye on things in the build anyway on an ongoing basis for any areas like this, and since the build is running fine for now, I am going to close this.


[BUILD]building failed for WSL2

Environment
Operating System: WSL2/Ubuntu 20.04.1 LTS
Version / Commit SHA: openvdb 8.0.0 release
CMake Version: 3.16.3
Compiler: gcc 9.3.0
Describe the problem
Hi there, I tried to build on WSL2 but it failed with these log:

...
/opt/intel/oneapi/tbb/2021.1.1/env/../include/tbb/../oneapi/tbb/partitioner.h:216:13: error: no matching function for call to ‘openvdb::v8_0::tree::LeafManager<const openvdb::v8_0::tree::Tree<openvdb::v8_0::tree::RootNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::LeafNode<long int, 3>, 4>, 5> > > >::LeafRange::LeafRange(openvdb::v8_0::tree::LeafManager<const openvdb::v8_0::tree::Tree<openvdb::v8_0::tree::RootNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::LeafNode<long int, 3>, 4>, 5> > > >::LeafRange&, tbb::detail::d0::split)’
216 |             new(my_pool.begin()+prev) T(my_pool.begin()[my_head], detail::split()); // do 'inverse' split
...

...
/opt/intel/oneapi/tbb/2021.1.1/env/../include/tbb/../oneapi/tbb/parallel_for.h:65:27: error: no matching function for call to ‘openvdb::v8_0::tree::LeafManager<const openvdb::v8_0::tree::Tree<openvdb::v8_0::tree::RootNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::LeafNode<openvdb::v8_0::math::Vec3, 3>, 4>, 5> > > >::LeafRange::LeafRange(openvdb::v8_0::tree::LeafManager<const openvdb::v8_0::tree::Tree<openvdb::v8_0::tree::RootNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::InternalNode<openvdb::v8_0::tree::LeafNode<openvdb::v8_0::math::Vec3, 3>, 4>, 5> > > >::LeafRange&, tbb::detail::d0::split)’
65 |         my_allocator(alloc) {}
...

After searching on Google and StackOverflow, I guess this issue is caused by the mismatch of type of arguments (just like this post), but I'm not sure and don't know how to fix it.
I believe I followed your instructions in readme and configured properly. Below are log for cmake:

Regards,
Li

I suspect this is due to API changes in TBB 2021, otherwise known as intel oneAPI. The 2021 release of TBB is significantly different to prior versions and we don't currently test against it. This is on the todo list - if possible I'd recommend using an earlier version of TBB (2020, 2019 or 2018).
See also https://github.com/AcademySoftwareFoundation/openvdb/issues/932

I suspect this is due to API changes in TBB 2021, otherwise known as intel oneAPI. The 2021 release of TBB is significantly different to prior versions and we don't currently test against it. This is on the todo list - if possible I'd recommend using an earlier version of TBB (2020, 2019 or 2018).
See also #932

Thank you! I switched to TBB 2020 and succeeded.


Typos

typos typos typos im very tired

This is looking great! Nice work! I'll try to get a proper look at this after work 👍

Oh is there a forgero version of the book as well?

Thanks for the comments
All I really did was update the fabric version of the book and copy paste
that directly over the forge version of the book
I will fix the remaining errors when I get home from work in about 6 hours
On Tue, Oct 17, 2023, 5:15 PM Sigmund Granaas Sandring <
@.***> wrote:

@.**** commented on this pull request.
This is amazing. Thanks for the work! Reading through this was painful, as
I had no idea how many errors I made when writing this book. It must have
taken so much time to go through everything, so thanks a lot!
I did notice that I must have duplicated some files here and there, and I
should probably look into exactly why that happens, and potentially delete
files that are not needed. Also you did replace some recipes in the guide,
which I am not sure exist in Forgero, so I'll have to boot it up and check
if they exist or not.
I did add some comments, but 95% of them were just about missing periods
at the end of some sentences, which were also present before, so you don't
have to worry about fixing those.
I also noticed that Git marked some of the property files as entirely new
in some cases. I am a little curious about how that happened, but it is not
very important to be.
Before this get's merged I want to double check the existence of the
recipes you're referring to in the schematic section, but I'll have to do
that tomorrow, as it's getting way too late now.
In
fabric/src/main/resources/data/forgero/patchouli_books/forgero_guide/en_us/entries/properties/magnetic.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362731655
:

@@ -11,7 +11,7 @@
"type": "patchouli:spotlight",
"title": "Magnetism",
"item": "forgero:netherite-refined_pickaxe_head:{FORGERO:{COMPOSITE_TYPE:'SCHEMATIC_PART',CONDITIONS:[],ID:'forgero:netherite-refined_pickaxe_head',INGREDIENTS:[{ID:'forgero:refined_pickaxe_head-schematic',NAME:'refined_pickaxe_head-schematic',NAMESPACE:'forgero',STATE_TYPE:'STATE'},{ID:'minecraft:netherite',NAME:'netherite',NAMESPACE:'minecraft',STATE_TYPE:'STATE'}],NAME:'netherite-refined_pickaxe_head',NAMESPACE:'forgero',STATE_TYPE:'COMPOSITE',TYPE:'PICKAXE_HEAD',UPGRADES:[{ID:'forgero:magnetico-gem',NAME:'magnetico-gem',NAMESPACE:'forgero',STATE_TYPE:'STATE'}]}}",

 "text": "When the Magnetico Gem is applied to a tool. It's level will determine the range and strength of the magnetic pull of your tool."

 "text": "When the Magnetico Gem is applied to a tool., its level will determine the range and strength of the magnetic pull of your tool."

"., its"
I think you meant to remove the period here.
In
fabric/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/wood/crimson_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362744089
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "The crimson fungus, is only found in the nether, and has a distinctive red color. The trunk of this mushroom is actually hard enough to be used in construction of tools."

 "text": "The crimson fungus is only found in the nether, identiefied by its a distinctive red color. The trunk of this mushroom is actually hard enough to be used in construction of tools."

identiefied by its a

In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide/en_us/entries/intro/getting_started_tables_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362749796
:

 },

 {
   "type": "patchouli:crafting",
   "recipe": "forgero:assembly_table"

},
{

 "type": "patchouli:spotlight",

 "title": "Assembly station",

I assume this was meant to be Upgrade station
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide/en_us/entries/parts/toolparts_handle_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362750828
:

@@ -5,13 +5,19 @@
"pages": [
{
"type": "patchouli:text",

 "text": "The handle is an essential part of the tool, but it's stats are less significant than the head. Although the stats are less significant, choosing an unsuitable material for your handle, might affect the usability of your tool, as the weight of the tool might prove to much to be useful"

 "text": "The handle is an essential part of the tool, but its stats are less significant than the head. Although the stats are less significant, choosing an unsuitable material for your handle might affect the usability of your tool, as the weight of the tool might prove to much to be useful. Some handles also have an additional slot for a pommel"

Missing period at the end.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide/en_us/entries/properties/weight.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362753811
:

@@ -0,0 +1,35 @@
+{

"name": "Weight attribute",

This is a mental note to myself. The weight implementation has changed
significantly, so this section is no longer correct. I will need to rewrite
it.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide/en_us/entries/schematics/binding_schematic_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362756486
:

@@ -9,11 +9,11 @@
},
{
"type": "patchouli:crafting",

 "recipe": "forgero:netherite-binding-schematic_recipe"

 "recipe": "forgero:netherite-binding"

I don't think this recipe exists, but I might also be wrong. It does not
follow the fomat of the generated recipes.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_gems/en_us/categories/trinkets_category.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362759878
:

@@ -1,6 +1,6 @@
{
"name": "Trinkets",

"description": "Trinkets are unique artifacts which can be adapted to fit in an upgrade slot of certain tool parts. The trinkets provides unique effect and buffs for your tools",

"description": "Trinkets are unique artifacts which can be adapted to fit in an upgrade slot of certain tool parts. The trinkets provide unique effects and buffs for your tools",

Missing period at the end.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_gems/en_us/entries/diamond_gem_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362760288
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "The Diamond gem can be applied to all tool parts, and increase the durability the part its applied to"

 "text": "The Diamond gem can be applied to all tool parts, and increases the durability the part its applied to"

Also missing period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_gems/en_us/entries/emerald_gem_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362760568
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "The emerald gem increases your durability by 100"

 "text": "The emerald gem increases your tool's durability by 100"

Also period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/secondary_materials/vines.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362762547
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "Vines can be wrapped around tools and weapons to provide som benefits to handling"

 "text": "Vines can be wrapped around tools and weapons to provide some benefits to handling"

Period at the end.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/metal/copper_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362762911
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "Copper is a unique material, as it oxidises over time. It's more rare than iron, and not as hard, making it less useful, but still a good option"

 "text": "Copper is a unique material, as it oxidises over time. It's more rare than iron, and not as hard, making it less useful but still a good option"

Period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/metal/gold_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362764184
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "Gold is the heaviest metal available, and also the softest. It's combined weight and softness makes it a terrible choice for tools. Although not popular as the foundation for tools, it's treasured for it's beauty and rarity. Piglings also don't act hostile if you approach them with equipments embedded with golden upgrades"

 "text": "Gold is the heaviest metal available, and also the softest. Its combined weight and softness makes it a terrible choice for tools. Although not popular as the foundation for tools, it's treasured for its beauty and rarity. Piglins also don't act hostile if you approach them with equipments embedded with golden upgrades"

Period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/metal/netherite_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362765080
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "Netherite is the most durable metal available, but can only be found by mining ancient debree in the nether. Crafting netherite tools might be expensive, as it still requires the same amount of material as other materials to craft parts. Still, the attributes of netherite is unmatched. It's natural association with high heat also makes it resistant to lava and flames"

 "text": "Netherite is the most durable metal available, but can only be found by mining ancient debris in the nether. Crafting netherite tools might be expensive, as it still requires the same amount of material as other materials to craft parts. Still, the attributes of netherite are unmatched, and its natural association with high heat also makes it resistant to lava and flames"

Period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/stone/andesite_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362765932
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "Andesite is a grey, vulcanic rock commonly found underground in vulcanic areas. It's properties are very similar to normal rocks"

 "text": "Andesite is a grey, volcanic rock commonly found underground in volcanic areas. It's properties are very similar to normal rocks"

Period.
In
forgero-forge/src/main/resources/data/forgero/patchouli_books/forgero_guide_material/en_us/entries/tool_materials/wood/crimson_material_entry.json
https://github.com/SigmundGranaas/forgero/pull/744#discussion_r1362767706
:

@@ -5,7 +5,7 @@
"pages": [
{
"type": "patchouli:text",

 "text": "The crimson fungus, is only found in the nether, and has a distinctive red color. The trunk of this mushroom is actually hard enough to be used in construction of tools."

 "text": "The crimson fungus is only found in the nether, identiefied by its a distinctive red color. The trunk of this mushroom is actually hard enough to be used in construction of tools."

Same comment as previously mentioned.
—
Reply to this email directly, view it on GitHub
https://github.com/SigmundGranaas/forgero/pull/744#pullrequestreview-1683322135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMUSFB2DOAJ2LHG7ILDPMDX73YPNAVCNFSM6AAAAAA6DHEZEWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOBTGMZDEMJTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah I see, so that's where the new files were from as well.


How to add views programatically

Report

[x] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
       YogaNode rootNode = binding.yoga.getYogaNode();
        rootNode.setJustifyContent(YogaJustify.SPACE_AROUND);
        rootNode.setAlignItems(YogaAlign.AUTO);
        rootNode.setAlignContent(YogaAlign.CENTER);

        YogaNode imageNode = new YogaNodeJNIFinalizer();
        imageNode.setAlignSelf(YogaAlign.CENTER);

        ImageView image = new ImageView(getContext());
        image.setImageResource(R.drawable.geometric_outlined_call);

        binding.yoga.addView(image, imageNode);

Expected Behavior
To see an image view in the layout
Actual Behavior
No views displayed
Any help please?

We're deprecating the com.facebook.yoga.android.YogaLayout ViewGroup in the next major release of Yoga. We intend to still push out a new version aligned to the core Yoga 2.0. I have bulk closed ViewGroup issues to reflect that we are not planning to invest time into functional changes of the ViewGroup. and eventually intend to remove it from the repo.


Updated App and Firmware versions for Teams Phones and Teams Displays.

Updated App and Firmware versions for Teams Phones and Teams Displays device categories for Update #1 Product Release and also made some grammatical changes.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@Nivedita-creator - when submitting changes to Teams content, please use the private repo - it cuts out a few steps and lets your changes get published faster. The easiest way to submit via the private repo is to view the site using the 'review' url. Take a URL, such as https://docs.microsoft.com/en-us/microsoftteams/devices/teams-ip-phones, and add review before 'docs'. eg. https://review.docs.microsoft.com/en-us/microsoftteams/devices/teams-ip-phones. Then click on the edit button on that page. This will take you to the topic in the private repo where you can follow the same process to submit changes.

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Launch Scala Steward without workflows permission

https://github.com/apache/pekko-grpc/actions/runs/9291594393/job/25570487844#step:3:208
   ! [remote rejected]   update/scala-library-2.13.14 -> update/scala-library-2.13.14 (refusing to allow a GitHub App to create or update workflow `.github/workflows/build-test.yml` without `workflows` permission)

@pjfanning Do you know who can set the permission of the app？

I created https://issues.apache.org/jira/browse/INFRA-25832


iD shouldn't try to convert footway=crossing ways to areas based on "tactile_paving=no"

To reproduce,

Go to http://preview.ideditor.com/master/#id=w662955806&map=21.71/35.95177/-79.07310
Observe the incorrect warning.

This is an interesting bug. We have a "Tactile Paving" preset for tactile_paving=yes that allows both line and area geometry. iD computes the implied area key whitelist based on the key alone tactile_paving but the line exception blacklist basted on a full tag tactile_paving=yes. Thus iD thinks any other value for tactile_paving should be an area.
@bhousel Thoughts?

Oh yeah, I don't think iD can support this kind of preset.
https://wiki.openstreetmap.org/wiki/Key:tactile_paving
If we limit tactile paving to just being a property on another feature that's fine..
But if it can be mapped as its own feature that can be a node, a line, or an area, it's just impossible to derive the context when combined with other stuff mapped with a different geometry type.
The wiki looks pretty ok, in that it hints that the tag is to be combined with other things.  It says not to map areas with tactile_paving=yes.
My gut says to:

remove the preset
leave it as a field and put it on whatever presets it's appropriate for

@bhousel Sounds okay. We can only do so much without a native area type. Mostly this will only be used with footways, curbs, or platforms anyway.


Unable to set the IdP Issuer Name in a connection from the console

Describe the issue:
Idp issuer name setting fails in a connection with the following api error. However it works if you set the idp issuer name when creating the idp (through a cURL). In the console its only possible to set the issuer when updating the connect.
{
    "code": "IDP-65005",
    "message": "Unable to update identity provider.",
    "description": "Server encountered an error while updating the identity provider for identifier Cannot replace idpIssuerName as it does not exist..",
    "traceId": "22c504da-5446-416f-842b-bff6e7401a18"
}

How to reproduce:
Create a connection and try to update the Issuer

Expected behavior:
IMO the experience in console of updating the Issuer after creating the connection is correct as we only need to set the issuer in certain cases. Therefore it should be possible to update the issuer via the api.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS7-beta-6-snapshot

Optional Fields
Related issues:

Suggested labels:

Analysis
When adding an IDP, even though the value of the issuerName[1] is sent as an empty string, because of [2] it will not be added as an IDP property and stored in the database. Later updating the IDP, the validation [3] to check the existence of the property being updated will fail for issuerName since it is not already there.
[1]

[2] https://github.com/wso2/identity-api-server/blob/dce6837b1ab9e24b5796cbafd5b743162959e8b8/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java#L2127
[3] https://github.com/wso2/identity-api-server/blob/dce6837b1ab9e24b5796cbafd5b743162959e8b8/components/org.wso2.carbon.identity.api.server.idp/org.wso2.carbon.identity.api.server.idp.v1/src/main/java/org/wso2/carbon/identity/api/server/idp/v1/core/ServerIdpManagementService.java#L3318

Closing since this completed.


train

Hello, I would like to know if the training process in your code does not require prompts?

I think they generate prompts using masks as a bounding boxes and points.


Is there a way to integrate into React?

Is there a way to integrate this library into react? Any pointers.

I don't see any reason it won't work in react.  It is just an additional library that you call when you want to generate a report.   You should be able to use it exactly as the examples show.

Thanks @NathanaelA Do we need to enable server side rendering for this? Or this can work in client side SPA?

To my knowledge it should work 100% client side perfectly fine.   I do a lot of testing currently 100% client side in browser, and no issues so far.


Rename submodules under cupy.lib

Rel #3420.
This PR renames cupy.lib submodule to cupy._lib to indicate it is CuPy's private submodule and is not intended to be used by users.

@takagi Could you resolve conflicts?

I've resolved the conflicts and turned it ready for review!

Could you check Travis failure?

pfnCI, test this please.

Jenkins CI test (for commit 172937df18493acb9266fb7a4a0b85a871c0da85, target branch master) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 927677a13871352b9923788cfece4d0cf4734051, target branch master) failed with status FAILURE.

@takagi Could you check the pretest failure?

Maybe we should keep cupy.lib?
>>> import numpy
>>> numpy.lib
<module 'numpy.lib' from '/home/ext-mtakagi/miniconda3/lib/python3.9/site-packages/numpy/lib/__init__.py'>

Oh, numpy.lib.stride_tricks.as_strided is documented, so we should keep cupy.lib.
https://numpy.org/doc/stable/reference/generated/numpy.lib.stride_tricks.as_strided.html
However, numpy.lib.poly1d does not exist. How about polynomial routines to _polynomial module?

Sounds good. I made changes as so.

pfnCI, test this please.

Jenkins CI test (for commit 5961574f44478f96b78011411e212e8b0b397285, target branch master) succeeded!

Jenkins, test this please.

Jenkins CI test (for commit 1fd4ba7011d27ca289526b7c5d2bc5f950ad4345, target branch master) succeeded!

LGTM.


Network upgrade

This added a new recv packet queuing feature. It allows us to recv more then one packet at a time and process them.

This change is

This partially implements #18 and #62

Reviewed 9 of 10 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


RemoveObjects works only for files but not for directories

I am trying to use the minio client's RemoveObjects function like this:
filesToDelete := make(chan string)

go func() {
	filesToDelete <- prefix
	close(filesToDelete)
}()
errorCh := minioClient.RemoveObjects("my_bucket", filesToDelete)

When prefix is an existing file in the remote filesystem, e.g. my_file.txt, the file is correctly removed.
However, when prefix is a directory containing some subdirectories and files, e.g. my_directory, nothing is removed from the remote filesystem.
As the function's signature is
RemoveObjects(bucketName string, objectsCh chan string) errorCh chan minio.RemoveObjectError and the description for the objectsCh parameter is Prefix of objects to be removed,  I would expect it to correctly match and remove directories, since they are actually prefixes.
Could you please confirm that this function is currently working as expected?
Thanks in advance!
Lucía

Could you please confirm that this function is currently working as expected?

RemoveObjects() can only remove objects but nothing else. To remove my_directory and all objects inside, you need to call ListObjects() with recursive flag enabled and then pass found objects to RemoveObjects()

Ok, good to know. Thanks a lot for the explanation!


Windows 10 TLS/SSL Not Working

I'm using Windows 10 Pro 1803 and with the TLS/SSL agent enabled to detect failed remote desktop attempts it isn't picking them up. Could you offer any advice?

Did you change the windows audit configuration under gpedit.msc ?

Yes I had tried that but it didn't help. I wondered if I was doing
something wrong or it was a recent Windows change. I'm willing to
troubleshoot if there's anything else you'd like me to try.
On Tue, Oct 2, 2018, 9:32 AM gabrielbasetti<EMAIL_ADDRESS>wrote:

Did you change the windows audit configuration under gpedit.msc ?
[image: 2018-10-02 10_31_48-editor de directivas de grupo local]
https://user-images.githubusercontent.com/39503933/46351754-7e9fd780-c62e-11e8-9b42-f754754f807c.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EFTEC/Cyberarms/issues/2#issuecomment-426274914, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE6axh86T7QXhJPyVroQ1X8khINf_pIMks5ug2sJgaJpZM4Ws_un
.


Error on creating service principal name with docs as listed

Update documentation https://github.com/cloud-actions/golang-actions-functions/tree/master/azure to be clear that the RESOURCE_GROUP needs to change as the service principal is being called the same as the resource group (not the problem) but you can't have multiple service principals with the same name.

Also make sure to add to the DEPLOY-LINUX.sh so that it reflects the new service principal if it's changed.


Feature request: New website

Description

Change theme color to chocolate
Move posts to the new blog
Link blog to my professional website

Theme color has been updated

Blog has been linked to my professional website

Posts have been moved here.


Raphael

Name: Raphael
Email<EMAIL_ADDRESS>Linkedin Profile: www.linkedin.com/in/raphaelgc
Attach the homework screenshots below for both step II and step III:

Hey Raphael, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/6EaKyewtQPqih0UHu-SWJw


feat: Implement AlephBFT Consensus in Madara

Pull Request type

Closes #909

Please add the labels corresponding to the type of changes your PR introduces:

Feature
Build-related changes
Documentation content changes
Testing
Other (please describe):

What is the current behavior?
Current behaviour is that madara only uses Aura and Grandpa for its consensus mechanism.

Resolves: #NA
What is the new behavior?
Implements additional consensus crate

Adds AlephBFT consensus to madara
Does this introduce a breaking change?
No

Other information

@hhamud, we won't want this feature on the main repo ideally. Let's keep it in its own fork for now with good instructions on how to add it to Madara if someone wants to.

@hhamud, we won't want this feature on the main repo ideally. Let's keep it in its own fork for now with good instructions on how to add it to Madara if someone wants to.

What would be the general plan for this PR? @tdelabro @apoorvsadana
My idea for this PR would be to allow users to switch consensus libraries on the fly, so they would either use this or GRANDPA for block finalisation. I would gate it this behind a feature flag, e.g "consensus/aleph" and I would not want to separate this out into its own repository as that makes bug fixing or making additional changes more difficult.

Eventually we would like to support many consensus algorithms with Madara. So we've created a new Madara extensions repo for all such cool plugins that can be used out of the box with Madara. The exact structure of the repo is yet to be decided, maybe we have all the pallets and steps on how to integrate them. How do you think we should do it @EvolveArt?

Eventually we would like to support many consensus algorithms with Madara. So we've created a new Madara extensions repo for all such cool plugins that can be used out of the box with Madara. The exact structure of the repo is yet to be decided, maybe we have all the pallets and steps on how to integrate them. How do you think we should do it @EvolveArt?

Ok that makes sense. I'll continue working on this and then once the other repo is ready, I'll just move everything over and refactor anything thats needed to change.


NoSuchBeanDefinitionException: No qualifying bean of type 'hello.UserRepository' available: expected at least 1 bean which qualifies as autowire candidate.

NoSuchBeanDefinitionException: No qualifying bean of type 'hello.UserRepository' available: expected at least 1 bean which qualifies as autowire candidate.
I am dying with this issue for a week. Can anyone help me? I think I could  never use spring boot afterwards.....

Are you running the code from the “complete” sample? Works for me.

@wilixx if this is still current, do you have an example project? Only having the error message it is hard to help.


Import error

Just to clarify (I guess !) the issue reported by @lessthanweb in #83, when importing bertin.js (outside Observable), starting from 1.3.4 you get the following error:
bertin@1.3.4:23 Uncaught TypeError: Cannot read properties of undefined (reading 'contourDensity')
    at bertin@1.3.4:23:32172
    at bertin@1.3.4:1:175
    at bertin@1.3.4:1:254

Import is done as in the README / the examples:
<script<EMAIL_ADDRESS>
Due to this error the bertin object is empty and it is not possible to call bertin.draw for example.
I think you are missing to include d3-contour in the dependencies of package.json so it fails when importing contourDensity here https://github.com/neocarto/bertin/blob/e44b71355ad0d0a4d79bee00f659e3d3e31ae2c5/src/layers/smooth.js#L5

Oops. Thanks Matthieu. I add this

Solved in<EMAIL_ADDRESS>


Add integration tests for TLS Solr

Resolves #605
The tests will use Cert Manager and the Cert Manager CSI Driver.
Tests for:

[ ] Client Auth Need
[ ] Client Auth Want
[ ] VerifyHostName

The integration tests will only work with 8.11, until #610 is merged.


Crash with set_inner_size on OSX

Hi, I was running into a wierd issue earlier and I found that if you set the inner size of a window on OSX to something long and thin, it crashes the OS back to the login screen. Example code is as follows:
extern crate glutin;

fn main() {
    let mut events_loop = glutin::EventsLoop::new();
    let window = glutin::Window::new(&events_loop).unwrap();
    window.set_inner_size(10_000, 50);

    events_loop.run_forever(|_| glutin::ControlFlow::Continue);
}

Edit: specs are
Model: MacBook Pro (13-inch, 2017)
Display: 13.3-inch (2560 x 1600)
Graphics Card: Intel Iris Plus Graphics 640 1536 MB

Thanks for posting this @expenses!
Is there any chance you could run this again with RUST_BACKTRACE=1 and post the whole output here? I think this is more likely an issue with the winit crate however if you could do this it would help to confirm.

I haven't been able to reproduce this on High Sierra.

Feel free to reopen if still an issue.


Archery game added

PR Description 📜
This archery Challenge game is developed using HTML, CSS, and JavaScript.
It's a fun and engaging game where players can test their archery skills by aiming and shooting arrows at targets.

Closes #2535

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @abhinav-m22 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@gurjeetsinghvirdee Please check now

Still have a conflicts @abhinav-m22

@gurjeetsinghvirdee Now its done!

Thank you  @abhinav-m22 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Hey @abhinav-m22,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗


[Stripe] No code or message in error when creating a payment method

Hi!
I identified a problem with the error returned by the createPaymentMethod method: there is no error code nor a message.
This line is causing the problem: https://github.com/triniwiz/nativescript-plugins/blob/2ece8face5325745e092bcdd8895b71a0aac7caa/packages/nativescript-stripe/index.android.ts#L674
You are trying to use error.localizedDescription which is not available. Here are the available properties:

Maybe there are other errors concerned by this problem.
To reproduce the problem, you have to configure Stripe in live mode on your server and then use a test card (eg. 4242…). It took me a while to identify what was wrong in my app so I took the time to create that issue if it can help you to enhance the plugin.
PS: Is it normal that there is an alpha10 on npm and this repository only shows code for the alpha3?

updates are located here I'm currently trying to wrap up a couple things

Thanks for the info!

published 7.0.0-alpha11 should help you out

closed with https://github.com/triniwiz/nativescript-plugins/commit/745a08711ae9fe1af3536a746b851e08440714a3


Fixed DTR 2.6 Reference link

Proposed changes
Fixed DTR 2.6 Reference link
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit 120301c143176a83c773e26a5e0e57381f8a0e8b
https://deploy-preview-9099--docsdocker.netlify.com


Native SDK Local Network State Export

The way generating a state export for upgrade path testing works currently is a bit flawed. We take a state export then we use python to manipulate a json file to try and prepare a state for starting a single node network. This isn't exactly reliable or efficient.
What makes more sense is giving the cli a function that can prepare a mainnet state export using the native CosmosSDK for starting local single node testing networks derived from the mainnet state.
That way the SDK can manipulate the genesis as it writes it to be able to start a local network with a provided account address as the validator address to assign the power to start the network too.
Also, we should examine the state export code when doing this to try and reduce or limit its speed to reduce resources required to take a state export instead of trying to do it as fast as possible limit the memory usage and keep the export within a set of bounds to have it be more predictable.

State Export Modifications

Need to pass in new values for:

TSS Address
Observer List
Validators
Connector/Token Contracts
TSS Nonce

Goal is to create new standalone networks w/ external connections from a state export

https://excalidraw.com/#room=c3a7a28febd88a3c52d7,LB8d7K36zgvS_X2uHe5oRw

The following are already added when we create a new genesis,

Observer List
Validators
This happens through the zetacored add-observer-list observers.json command

The same command takes an additional option input for tss-pubkey
Example : zetacored add-observer-list observers.json --keygen-block=0 --tss-pubkey="zetapub1addwnpepq28c57cvcs0a2htsem5zxr6qnlvq9mzhmm76z3jncsnzz32rclangr2g35p" . Which can be used to add the following details

TSS Address
TSS Nonce

Connector and token contracts are set through chain params,which can be updated via MsgUpdateChainParams


Can we upload our own dataset?

Do you have scripts available/any easy way to convert raw data to your processed dataset files . So that i can test your on my own dataset .

Hi @sandro272,
By dataset you mean training dataset (wikipedia corpus) or evaluation data?

@svjan5 Uh... I mean that because I want to use our own dataset, so can you provide a script or method that converts raw data into your processed data (eg voc2id.txt, etc.). Thank you！

Ok, got it. Actually, I cannot give a script for that because it requires getting dependency parse of the text which requires Stanford CoreNLP. So, you first need to get a dependency parse of the text, then I think everything is quite straight forward. voc2id.txt will contain the mapping of tokens to their unique ids and data.txt contains listing of tokens and dependency parse edges for each sentence in the corpus. Let me know if you face any difficulty in the whole process.

@svjan5 OK,thank you!

Hi,
I got a problem while trying to generate my own data.txt.
Specifically, I found that the initial data.txt is not of the format you have mentioned in README.md. (As follows)
<num_words> <num_dep_rels> tok1 tok2 tok3 ... tokn dep_e1 dep_e2 .... dep_em
They are actually organized like this (the first line of the initial data.txt file)
15 14 15 24351 24351 10 7 436 2083 26 8385<PHONE_NUMBER> 215 13 6932 2293 2 1|0|26 5|1|11 5|2|23 5|3|34 5|4|7 7|6|11 5|7|9 9|8|7 7|9|38 9|10|13 13|11|2 13|12|7 10|13|16 5|14|10 21854 21854 3 15 659 2324 0 2397 0 479 328 4 5905 7965 0
which have 4 parts, the first part '15 14 15' --I guess they are the numbers of the latter three parts? So what does the latter three parts represent?
Also, please update the README.md : )
Thanks!
@svjan5

Ok, got it. Actually, I cannot give a script for that because it requires getting dependency parse of the text which requires Stanford CoreNLP. So, you first need to get a dependency parse of the text, then I think everything is quite straight forward. voc2id.txt will contain the mapping of tokens to their unique ids and data.txt contains listing of tokens and dependency parse edges for each sentence in the corpus. Let me know if you face any difficulty in the whole process.


Provide basic test coverage

Beyond 0.0.1 there should be reasonable tests for the entire library.

Some tests are in place.


Question about cross-domain image rendering

Hello, thank you for making this, it works pretty well for my project compared to html2canvas & html-to-image.
Just a question out of curiosity, from my experience with html2canvas, as it primarily uses canvas for rendering, images from another domain need to go through a proxy to be drawn and exported from the canvas, but that doesn't seem to be the case with this lib, I'm able to render x-domain images normally without any proxy. What is the magic behind this one (how does it work)?

The main difference should be in embedding HTMLImageElement

html2canvs by using img.crossOrigin
https://github.com/niklasvh/html2canvas/blob/v1.4.1/src/core/cache-storage.ts#L96-L99
//ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymous
if (isInlineBase64Image(src) || useCORS) {
  img.crossOrigin = 'anonymous';
}

html-to-image and modern-screenshot by using window.fetch convert img.src to the base64 dataURL
https://github.com/bubkoo/html-to-image/blob/v1.11.11/src/embed-images.ts#L53-L55
const url = isImageElement ? clonedNode.src : clonedNode.href.baseVal

const dataURL = await resourceToDataURL(url, getMimeType(url), options)

https://github.com/qq15725/modern-screenshot/blob/v4.2.12/src/embed-image-element.ts#L9-L26
if (isImageElement(clone) && !isDataUrl(clone.currentSrc || clone.src)) {
  const currentSrc = clone.currentSrc || clone.src
  clone.srcset = ''
  clone.dataset.originalSrc = currentSrc
  return [
    fetchDataUrl(currentSrc, context, true).then(url => {
      clone.src = url
    }),
  ]
} else if (isSVGElementNode(clone) && !isDataUrl(clone.href.baseVal)) {
  const currentSrc = clone.href.baseVal
  clone.dataset.originalSrc = currentSrc
  return [
    fetchDataUrl(currentSrc, context, true).then(url => {
      clone.href.baseVal = url
    }),
  ]
}

References:
https://stackoverflow.com/a/22716873
https://stackoverflow.com/a/20285053

Wonderful, thank you for the detailed insights 😃


Search for defects in python scripts instead of conf file

Great, merci!

Coverage decreased (-0.04%) to 30.934% when pulling afc98f3c46062198ef30c9e22a661c3d372878b4 on calixteman:fix_types into 94d92e96e965c18398f899dbb72c3f3ea00da17b on mozilla:master.


Validator stakes missing commas

Describe the bug
On https://orbs-network.github.io/voting/validator there should be commas in the Validator stakes, such as "4,344,593 ORBS" instead of "4344593 ORBS"
Also, to shorten the column, change column title to "Stake (in ORBS)" and drop the word "ORBS" from the cells, leaving just the number (with commas)
A clear and concise description of what the bug is.
Steps To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Logs
If applicable, provide the link to the log files that contain the issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
If applicable, add the information about that you are running and their versions
Additional context
If possible, provide the failing test the reveals the issue.
Add any other context about the problem here.

Fixed


Make JAILER_BASE_DIR dependend on execution root

it was hardcoded before on /var/lib/aleph so it wasn't respecting the proper user settings and was failling if the user didn't have the correct permission for this folder and was producing warning

I had the impression this path variable wasn't seems to be used
consistantly, I.e. we using depending wether we use jailer or not. So doing
it this way I feel this is more flexible for latter refactor.
Le mer. 22 nov. 2023, 11:04, Hugo Herter @.***> a
écrit :

@.**** commented on this pull request.
In src/aleph/vm/hypervisors/firecracker/microvm.py
https://github.com/aleph-im/aleph-vm/pull/481#discussion_r1401800984:

@@ -95,9 +94,13 @@ def str(self):
return f"vm-{self.vm_id}"

 @property

def namespace_path(self):

def jailer_base_directory(self) -> Path:

   return self.execution_root_folder / "jailer"

Why use this approach instead of building this path in the settings ?
—
Reply to this email directly, view it on GitHub
https://github.com/aleph-im/aleph-vm/pull/481#pullrequestreview-1744005433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUERCZ7S3SQ36OSGUX323YFXEZTAVCNFSM6AAAAAA7V5QXQ6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBUGAYDKNBTGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm pondering if we should just make a directory per VM and just pass it to
the MicroVm under the principle that that class won't make any
modifications on disk outside of it.  What do you think?
Le mer. 22 nov. 2023, 17:57, Olivier Le Thanh Duong @.***> a
écrit :

I had the impression this path variable wasn't seems to be used
consistantly, I.e. we using depending wether we use jailer or not. So doing
it this way I feel this is more flexible for latter refactor.
Le mer. 22 nov. 2023, 11:04, Hugo Herter @.***> a
écrit :

@.**** commented on this pull request.
In src/aleph/vm/hypervisors/firecracker/microvm.py
https://github.com/aleph-im/aleph-vm/pull/481#discussion_r1401800984:

@@ -95,9 +94,13 @@ def str(self):
return f"vm-{self.vm_id}"

 @property

def namespace_path(self):

def jailer_base_directory(self) -> Path:

   return self.execution_root_folder / "jailer"

Why use this approach instead of building this path in the settings ?
—
Reply to this email directly, view it on GitHub
https://github.com/aleph-im/aleph-vm/pull/481#pullrequestreview-1744005433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUERCZ7S3SQ36OSGUX323YFXEZTAVCNFSM6AAAAAA7V5QXQ6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONBUGAYDKNBTGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

After discussion with Andres did the modification with the settings approach


[Parquet] Read list field correctly

Which issue does this PR close?
Closes #167 .
Rationale for this change
We have been creating incorrect list types when reading Parquet lists to Arrow. If we have a list with field type:
let list_field = Field::new("a", DataType::List(Box::new(Field::new("item", DataType::_, true))), true);

We would instead read this list in as
let list_field = Field::new("a", DataType::List(Box::new(Field::new("a", DataType::_, true))), true);

With the list child taking the list's name of "a".
What changes are included in this PR?
This PR fixes the above issue.
it also fixes the order of the LevelInfo that's generated, as I identified this issue while fixing the test case for the above issue.
Are there any user-facing changes?
No user changes

Codecov Report

Merging #234 (2018f43) into master (111d5d6) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
+ Coverage   82.49%   82.51%   +0.02%
==========================================
  Files         162      162
  Lines       43621    43655      +34
==========================================
+ Hits        35983    36022      +39
+ Misses       7638     7633       -5

Impacted Files
Coverage Δ

parquet/src/arrow/array_reader.rs
77.14% <100.00%> (+0.57%)
:arrow_up:

parquet/src/arrow/arrow_writer.rs
98.32% <100.00%> (+0.09%)
:arrow_up:

arrow/src/record_batch.rs
85.71% <0.00%> (ø)

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 111d5d6...2018f43. Read the comment docs.


Update tenuous typo

Description
Small edit to correct spelling of browser. I dread to think what a "browner" might be...
Type of change
Please delete options that are not relevant.

[x] This change requires a documentation update

How Has This Been Tested?
Minor change to README.md - fairly straight forward - just shows correctly on GitHub c:
Checklist:

[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ N/A ] I have commented my code, particularly in hard-to-understand areas
[ N/A ] I have updated changelog.md with changes made

Change log updated

Hold on a mo, I'm being a numpty here. Will update to reflect current dev branch.


[clusterchecks/handler_test] Fix flaky TestHandlerRun

What does this PR do?
Fixes a flaky test in pkg/clusteragent/clusterchecks/handler_test.go.
The test was reading and writing ResponseRecorder instances from different goroutines:
=== RUN   TestHandlerRun
==================
Read at 0x00c000014550 by goroutine 156:
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.TestHandlerRun.func4()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_test.go:176 +0x64
  github.com/DataDog/datadog-agent/pkg/util/testutil.assertTrueBeforeTimeout.func1()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/util/testutil/timeout.go:49 +0x1b6

Previous write at 0x00c000014550 by goroutine 152:
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.TestHandlerRun()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_test.go:187 +0xcb2
  testing.tRunner()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1576 +0x216
  testing.(*T).Run.func1()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1629 +0x47

Goroutine 156 (running) created at:
  github.com/DataDog/datadog-agent/pkg/util/testutil.assertTrueBeforeTimeout()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/util/testutil/timeout.go:39 +0x1fa
  github.com/DataDog/datadog-agent/pkg/util/testutil.AssertTrueBeforeTimeout()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/util/testutil/timeout.go:22 +0x56
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.TestHandlerRun()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_test.go:174 +0xa4d
  testing.tRunner()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1576 +0x216
  testing.(*T).Run.func1()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1629 +0x47

Goroutine 152 (running) created at:
  testing.(*T).Run()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1629 +0x805
  testing.runTests.func1()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:2036 +0x8d
  testing.tRunner()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1576 +0x216
  testing.runTests()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:2034 +0x87c
  testing.(*M).Run()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1906 +0xb44
  main.main()
      _testmain.go:123 +0x2e9
==================
==================
Read at 0x00c000a3e008 by goroutine 156:
  net/http/httptest.(*ResponseRecorder).Header()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/net/http/httptest/recorder.go:68 +0x3e
  net/http.Error()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/net/http/server.go:2132 +0x6d
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.(*Handler).RejectOrForwardLeaderQuery()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_api.go:41 +0x138
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.TestHandlerRun.func4()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_test.go:176 +0x84
  github.com/DataDog/datadog-agent/pkg/util/testutil.assertTrueBeforeTimeout.func1()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/util/testutil/timeout.go:49 +0x1b6

Previous write at 0x00c000a3e008 by goroutine 152:
  net/http/httptest.NewRecorder()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/net/http/httptest/recorder.go:52 +0xbaf
  github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks.TestHandlerRun()
      /Users/runner/go/src/github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks/handler_test.go:187 +0xca6
  testing.tRunner()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1576 +0x216
  testing.(*T).Run.func1()
      /Users/runner/.gimme/versions/go1.20.11.darwin.amd64/src/testing/testing.go:1629 +0x47

      ........

Describe how to test/QA your changes
Skip.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


do check on adjacent operations to compact useless updates in stream scan

a sub issue of https://github.com/risingwavelabs/risingwave/issues/10949

closed by https://github.com/risingwavelabs/risingwave/pull/14652


Specifying a plaquette's stabilizers

Is your feature request related to a problem? Please describe.
Specifying a canonical circuit for a plaquette seems counter-intuitive. I'd expect the qubits to be physical qubits and the ancillas to be implicit. So then I have to go back and make an explicit ancilla qubit so that I can specify my canonical circuit.
Describe the solution you'd like
A plaquette should have associated stabilizers for each data qubit. A circuit can then be generated that uses an ancilla (that is not represented in the UI) to measure the stabilizer. It could then also easily allow for visualization of the stabilizers along each plaquette, including Y.
Describe alternatives you've considered
Visualizing the stabilizer circuit on the plaquette, but that seems too messy.
Additional context
This would require some new interface to specify stabilizers, but I think it could be simpler than it is right now. Moreover, I think visualizing it will be easier.

This layer of software must allow the user to specify everything, every
qubit, every gate, full control. At the moment to focus should be on
permitting this level of control with minimum pain rather than reducing in
any way the level of control of the details.
I personally don't think you can avoid the need to explicitly specify
ancilla qubits.
On Wed, Mar 27, 2024, 8:39 AM Eddie Schoute @.***>
wrote:

Is your feature request related to a problem? Please describe.
Specifying a canonical circuit for a plaquette seems counter-intuitive.
I'd expect the qubits to be physical qubits and the ancillas to be
implicit. So then I have to go back and make an explicit ancilla qubit so
that I can specify my canonical circuit.
Describe the solution you'd like
A plaquette should have associated stabilizers for each data qubit. A
circuit can then be generated that uses an ancilla (that is not represented
in the UI) to measure the stabilizer. It could then also easily allow for
visualization of the stabilizers along each plaquette, including Y.
Describe alternatives you've considered
Visualizing the stabilizer circuit on the plaquette, but that seems too
messy.
Additional context
This would require some new interface to specify stabilizers, but I think
it could be simpler than it is right now. Moreover, I think visualizing it
will be easier.
—
Reply to this email directly, view it on GitHub
https://github.com/QCHackers/tqec/issues/200, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAXTDPFF2YQXZMW2LCJNLY2LY3FAVCNFSM6AAAAABFLHM65GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTCMRXGUYTONI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Indeed, if there is a need to fully specify what a plaquette means then there is no simplification possible but to explicitly specify the circuit. However, it may be possible to hide ancillas in the UI and only make them explicit when specifying the "plaquette circuit" since these are not necessarily long-lived qubits. Or would you also want ancillas to have a physical place on the diagram UI?

My preference would be for the ancilla to be explicitly visible. It is a
real qubit and every qubit in a quantum computer is important.
There are also situations where ancilla and data qubits exchange roles. I
do not think hiding any of the qubits is the right thing to do.
On Wed, Mar 27, 2024, 8:59 AM Eddie Schoute @.***>
wrote:

Indeed, if there is a need to fully specify what a plaquette means then
there is no simplification possible but to explicitly specify the circuit.
However, it may be possible to hide ancillas in the UI and only make them
explicit when specifying the "plaquette circuit" since these are not
necessarily long-lived qubits. Or would you also want ancillas to have a
physical place on the diagram UI?
—
Reply to this email directly, view it on GitHub
https://github.com/QCHackers/tqec/issues/200#issuecomment-2023314361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAXTBVKYOKHK2FRG2SAJTY2L3FRAVCNFSM6AAAAABFLHM65GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGMYTIMZWGE
.
You are receiving this because you commented.Message ID:
@.***>

Okay, that seems very reasonable. But that does imply we need much more powerful tools to specify the circuit of a plaquette. Maybe the "common" case of stabilizer measurements could be supported in the UI but the full tools would need plaquette circuits to be specified in some programming language (e.g. a Cirq circuit).

Closing this since the topic shifted quite a bit


(GH-3310) Sync core types and providers for apply

Previously when puppet 5 agents were around we stopped syncing core types and providers because they were conflicting with builtin types. We assumed that we could just use these on agents. For the most part this works, but for the local transport when using bundled-ruby this is not the case. This commit updates apply to sync builtin types and providers. This will result in slightly larget pluginsync tar archives and opens up potential issues for puppet agent incompatabilities between the core types shipped with bolt vs what may be on the agent bolt is targetting. However this risk should be quite small compared with the complexity of trying to handle bundled-ruby case differently for apply.
!bug

Pluginsync builtin bolt content #GH-3310
Previously we were not pluginsyncing builtin content to avoid conflicting with puppet 5 builtin types. This was breaking assumptions for bundled-ruby config and should no longer be an issue with modern agents.

@joshcooper I think the concern here would be if bolt were syncing over core types for the version it is based off (in our case puppet 7) to an agent where those would be different. It looks like modern agents (7 and 8) are pretty similar for core types. I was thinking this will be the simplest solution. Do you think we risk diverging core types between agents?

@donoghuc I think we're probably pretty safe with the core types, I can't imagine we ever want to change them much at all. If an issue came up the solution is trivial anyway, just install a compatible agent version on the target.

Looks like the apply integration tests are failing due to the large plugin tarball being passed to the fake apply task. Going to see about how best to address that in the tests. Throwing a DNM on it for now.

Ideally we could both compile and apply catalogs based on the plugins shipped in bolt's package for local transport. For apply, we prepare a single plugin tarball regardless of transports and apply it. There is no established or clear way to switch behavior based on whether or not we are running on the local transport.
The local transport aside, I'm thinking perhaps it may be best anyway to have the plugins from bolt's package in the plugin tarball so that agents (regardless of transport) would use the same code as the catalog was compiled against.

After some discussion on internal slack i think the best path forward for now is to go with the approach in https://github.com/puppetlabs/bolt/pull/3314/commits/a094b30bc7926d5e67bcc7be04d6a3e25e5393a3 as it avoids having to do any additional pluginsync and should be a cheap and effective way to ensure core types will be available during catalog application over the local transport with the default bundled-ruby config.


⚠ Bofrost.de has degraded performance

In 2c8042e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1551 ms

Resolved: Bofrost.de performance has improved in db59c5b after 6 minutes.


R2DBC using Postgres Dialect Failed

Expected Behavior
Book saved
Actual Behaviour
Cannot save book because author is always null
request {
"title":"Computational Biology",
"pages":900,
"author_id":1
}
response {
"message": "Bad Request",
"_links": {
"self": {
"href": "/books",
"templated": false
}
},
"_embedded": {
"errors": [
{
"message": "Required argument [Book book] not specified",
"path": "/book"
}
]
}
}
Steps To Reproduce
No response
Environment Information
Mac OS
Java 17, Kotlin 1.7
Example Application
No response
Version
3.5.1

Please provide an example

@1988gadocansey , checked, everything is good.
The sample: https://github.com/fragaLY/performance-researches/tree/master/micronaut-reactive
@graemerocher JFYI


fix(vite): disable optimizeDeps in ssr

🔗 Linked issue
related to #26783, but not sure if completely fixes
📚 Description
We never need optimizeDeps in ssr, as vite-node externalize deps and use native node imports. This was probably a mistake. We found this out with @patak-dev during the test with Vite 6, which surfaces this issue. This might be a perf improvement as well.

Nice find - thank you ❤🙏


Added statement access frequency statistics

Added statement access frequency statistics

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Could you explain what are doing? You are adding new query GraphQL level service, this is a protocol level change.
All changes related to this must be discussed and approved by the whole PMC. cc @apache/skywalking-committers

Sorry, I don’t know this process, I just have this requirement and developed this function

What issue do you want to resolve? What is the meaning of the metrics of a sampled data set? Such as Slow statement access.

I just adding new query GraphQL level service, I want to see the access frequency of the statements of various business systems, find out the high-frequency statements of the system, and see if caching or other methods can be used to reduce access frequency, reduce database pressure, and improve system stability Sex, and just wrote elasticsearch, but nothing else
@wu-sheng @apache/skywalking-committers

I just adding new query GraphQL level service, I want to see the access frequency of the statements of various business systems, find out the high-frequency statements of the system, and see if caching or other methods can be used to reduce access frequency, reduce database pressure, and improve system stability Sex, and just wrote elasticsearch, but nothing else

Could you take a look what I said above? This statistic is not accurate, actually, far from accurate. Have you checked how SkyWalking inserts the data you queried.

我只是添加新的查询GraphQL级服务，我想查看各种业务系统的语句的访问频率，找出系统的高频语句，并查看是否可以使用缓存或其他方法来降低访问频率，减轻数据库压力，提高系统稳定性性别，只写了elasticsearch，但没有别的

你能看一下我上面说的吗？实际上，此统计数据不准确。您是否检查过SkyWalking如何插入查询的数据。

I just adding new query GraphQL level service, I want to see the access frequency of the statements of various business systems, find out the high-frequency statements of the system, and see if caching or other methods can be used to reduce access frequency, reduce database pressure, and improve system stability Sex, and just wrote elasticsearch, but nothing else

Could you take a look what I said above? This statistic is not accurate, actually, far from accurate. Have you checked how SkyWalking inserts the data you queried.

It is based on the data of Slow statement access. This does not need to be absolutely accurate, just a relative magnitude.

If the magnitude is correct, they this is meaningful, but sadly, the way you implemented isn't.

How should it be implemented? I accidentally closed it

Could you share the idea first about why do you need this count? Aren't the slowest SQLs the biggest issues you need to resolve?

Yes, the slowest SQLs is my first priority, but the SQLs with high access frequency is also a problem I want to care about. High-frequency SQL is also one of the reasons that affect database performance, but the [No statement] shown in my screenshot is not What I care about, this will block the writing of this data in actual use

High-frequency SQL is also one of the reasons that affect database performance, but the [No statement] shown in my screenshot is not What I care about, this will block the writing of this data in actual use

Let's separate your issues to be care what need to do.

High-frequency SQL may or may not an issue. How to statistic all SQLs? Some SQLs are very long, we saw 7k length. So, if you want to discuss this deeply, you need to know what is the ID of a SQL. Because statistic is targeting for the entity which requires an ID.
Ignoring [No statement] is quite simple. Isn't it? Change the MultiScopesAnalysisListener to exclude this case, and provide a configuration.(Ignore could be default, I think).
All things you want to resolve are irrelative with this query. That is why in the open source collaboration, you should discuss first.

Yes, discussion is really necessary

I really want to be simple, and I didn't think about this problem carefully. As for the problem of sql id, I have no idea about this for the time being. Can you provide any suggestions?
I agree with this, it can be developed to ignore the configuration items, this is also easy to implement
So, close this pr first

I really want to be simple, and I didn't think about this problem carefully. As for the problem of sql id, I have no idea about this for the time being. Can you provide any suggestions?

First, in the reality, the SQL must be limited by length. But to be honest, I am not sure whether this is helpful. What would you do if you know a top frequency SQL list in the service level?

I agree with this, it can be developed to ignore the configuration items, this is also easy to implement

This could be sent by another pull request.

So, close this pr first

Agree.


Fix taskworfklow trigger for relevant listeners

Description
fix #1147 #1092

Related Issues

Checklist

[ ] Is this code covered by new or existing unit tests or integration tests?
[ ] Did you run make test successfully?
[ ] Do new classes, functions, methods and parameters all have docstrings?
[ ] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Attention: 297 lines in your changes are missing coverage. Please review.

Comparison is base (cbe6b32) 78.22% compared to head (365eb11) 79.85%.
Report is 119 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1162      +/-   ##
==========================================
+ Coverage   78.22%   79.85%   +1.62%
==========================================
  Files         101       95       -6
  Lines        6351     6541     +190
==========================================
+ Hits         4968     5223     +255
+ Misses       1383     1318      -65

Files
Coverage Δ

superduperdb/__init__.py
100.00% <100.00%> (ø)

superduperdb/__main__.py
71.42% <100.00%> (ø)

superduperdb/backends/base/backends.py
100.00% <100.00%> (ø)

superduperdb/backends/ibis/field_types.py
100.00% <100.00%> (ø)

superduperdb/backends/mongodb/__init__.py
100.00% <100.00%> (ø)

superduperdb/base/config.py
100.00% <100.00%> (ø)

superduperdb/base/cursor.py
92.15% <100.00%> (ø)

superduperdb/base/datalayer.py
68.30% <ø> (ø)

superduperdb/base/document.py
93.33% <ø> (ø)

superduperdb/base/exceptions.py
100.00% <ø> (ø)

... and 31 more

... and 56 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Browsing with cookies in header does not work in iOS

Bug description:
Hello! I have tried to add a session cookie in the request header from the new version (13.10.6) of the webview with the parameters sharedCookiesEnabled={true} and thirdPartyCookiesEnabled={true}. And it keeps returning me to the login screen. Any ideas? How can I configure the webview so that it can be navigated freely with the session cookie set in the header?
Currently I have it like this:
const dataReq = { uri: https://mydomain/${currentURI}, headers: { Cookie: cookie, //cookie extracted from CookieManager }}

Any ideas?
Expected behavior:
The navigation should work the same as Android, that is, when putting the session cookies in the header, it should go directly to the page I need, it should not redirect me to the login.
Environment:

OS: iOS
react-native version: 0.74.1
react-native-webview version: 13.10.6

Hi @mathiasgmz Did you find a solution? I ran into the same problem today!

Hello @smohadjer! Hi!, I haven't been able to solve it completely, so what I've done is:

As "source" I've put the login url, this url returns the cookie session in the header.
I've programmed an "onLoad" event for to spinner disappears.
I've programmed an "onNavigationStateChange" event like this:
if (url.includes(<page to linked when you log in>)) { const newURL = /${currentURI}; // endpoint that I want to access const redirectTo = 'window.location = "' + newURL + '"'; webViewRef.current.injectJavaScript(redirectTo); }
This way, when the component is executed, first, it must to login, then, the cookie session is obtained in the webview and it save it, and then it is redirected to the final URL that I want to access, it has only worked for me in this way.  While all this is happening, the spinner is showing, and it seems like the endpoint is being accessed. Sorry for my bad english :)

Actually my problem got fixed when I upgraded to new version of WebView. I don’t set any cookies in header in WebView however and rely on cookies set by server to verify if user is logged in or not.


Update sql-database-accelerated-database-recovery.md

@perrysk-msft : Thanks for your contribution! The author, @CarlRabeler, has been notified to review your proposed change.

#sign-off

#sign-off


MJSXJ03HL openipc ultimate

Hi,
according to the manual it is recommended to use the "lite" version for this camera. Why?
All new revisions come with 16MB NOR memory. Is there any downside of using ultimate version that is not mentioned in manual? Because I've got two of these cams with ultimate image and they work fine.

If anyone is looking for this information then I found it: because under lite image you get more free space. Supposedly, because for me it was the same as under ultimate. Closing.


What happened to this package???

This used to be a great package but now the whole usage is lost in docs. I have no idea how to use it. I just installed:
"uuid": "^7.0.3"
How do I use it in node?

What exactly is not clear? Have you seen https://github.com/uuidjs/uuid#quickstart---nodejscommonjs ?
If import-syntax is the problem then you can find an example of how to use require() syntax in - https://github.com/uuidjs/uuid#deep-requires-now-deprecated .

Since I haven't heard back from you I will close this issue.
If you think that the documentation doesn't cover your needs please feel free to suggest improvements via a pull request.

I have the exact smae problem as the original issue opener.
I just installed uuid like I've done for years with the v3.x range.
The documentation has import / export which is not valid for my codebase and no example of how to use require
The examples of using require are all the way at the bottom of the README and since there's no good example after scrolling one or two pages I just
(╯°□°)╯︵ ┻━┻
It would be super useful to show an example using require & import at the top of the README.

Although I believe that explaining the difference between CommonJS require syntax and ECMAScript Module import syntax is out of scope for this library, we have added an example of how to use the library with require in a more prominent position in the readme.
Thanks for the contribution @Raynos!

You are one of the first of my dependencies migrating to ESM.
I believe my frustrations are with ESM and not with uuid itself, your just an early adopter.


silently unsubscriberr

When i use Jedis pub/sub, it will work for a short time,then the subscription will dies silently after 5min
,and no exception throw,the java process is still alive
public static void main(String[] args) throws Exception {
    Jedis jedis = new Jedis("<IP_ADDRESS>", 6379, 0);
    jedis.auth("XXXX");
    System.out.println("ready to subscribe:" + jedis.ping());
    jedis.subscribe(new CustomizeJedisPubSub(), "client.subscriber");
}

CustomizeJedisPubSub.java
public class CustomizeJedisPubSub extends JedisPubSub {

        @Override
        public void onMessage(String channel, String message) {
            System.out.println(LocalDateTime.now() + "received:" + message + ",");
        }

        @Override
        public void onPMessage(String pattern, String channel, String message) {

        }

        @Override
        public void onSubscribe(String channel, int subscribedChannels) {

        }

        @Override
        public void onUnsubscribe(String channel, int subscribedChannels) {

        }

        @Override
        public void onPUnsubscribe(String pattern, int subscribedChannels) {

        }

        @Override
        public void onPSubscribe(String pattern, int subscribedChannels) {

        }
    }

and in server reids-cli,run
 <IP_ADDRESS>:6379> publish client.subscriber "hahah"
(integer) 1

after 5min,run publish again ,the console will not print any message
jedis client version:2.8.0
redis sever vesion: 3.0.1

@snecker do you have a timeout configured on redis side?

@marcosnils, i've checked that config in redis.conf

Close the connection after a client is idle for N seconds (0 to disable)
timeout 0

@snecker maybe something is killing the connection without you realizing. Can you check after 5 mins if Jedis is still connected to your redis server using client list? http://redis.io/commands/client-list

@marcosnils
i didnt change anything,it seems ok now,and  the subscribed connection is still connected after 5mins

id=12533 addr=<IP_ADDRESS>:61509 fd=302 name=test age=337 idle=336 flags=N db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe

i'll check that tomorrow,it seems strange


Ignore changes to target group arns in nomad-cluster ASG

PR for https://github.com/hashicorp/terraform-aws-nomad/issues/77

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

https://github.com/hashicorp/terraform-aws-nomad/releases/tag/v0.6.6

Thanks!


CLOUDSTACK-10271 maven plugin for owasp dependency check added

Is there a property to fail the build in case we find a vulnerable component?

@rafaelweingartner i don't want to think about that yet.. :(

because it might start breaking our builds and then we will have to fix it?
I wonder if this report generate will not be something like the Coverity report that we had or even the sonar report that we had (do we still have them?) that people just ignore.

@DaanHoogland Can't you try to address the dependencies CVE too in this PR by updating them to the fixed ones? Then you'll be able to put flag the build as failed if any new CVE happens.
Just to note that a same build can then start to fail even though it did not in the past!

Let me add to that:
I think a PR should be stopped on a dependency CVE but a build should not fail. Builds must be reproducible even (or especially) when there are vulnerabilities in it.

So, what we need is a jenkins job to report the "sanity/quality" of a PR's dependencies as a status in the Github's PR page.

I think it would be best to have a apache jenkins job that reports to sec@
that doesn't exclude your idea btw, @rafaelweingartner

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1705

@blueorangutan test

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2251)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30372 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2446-t2251-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_hostha_enable_ha_when_host_in_maintenance
Error
0.83
test_hostha_kvm.py

@marcaurele are you -1 on this chance as is?

yes of course @rafaelweingartner , let's squash on merge. I am kind of worried that three of the travis jobs time out. not sure if that is related.

I restarted travis job, if it turns out green I will proceed and merge this one

@DaanHoogland I pulled your branch and I tried to compile it here, but I got the following error:

Failed to execute goal org.owasp:dependency-check-maven:3.1.1:check (default) on project cloudstack: A type incompatibility occured while executing org.owasp:dependency-check-maven:3.1.1:check: org.sonatype.aether.util.DefaultRepositorySystemSession cannot be cast to org.eclipse.aether.RepositorySystemSession

This is the command I am using:
mvn clean install -P developer -Dsimulator -Dmaven.test.skip=false

Never mind, I found the problem. It is caused due to maven version [1]. Now I see the need for PR #2343.
@khos2ow I think we need to revisit and move that PR forward.
Travis is already using Maven 3.5, so the problem is not due to maven version there. I believe the problem is due to "dependency-check-maven" first run, when it downloads and processes CVEs to populate its local database.
@DaanHoogland we need to add travis_wait <someValueBiggerThan10> in front of install: ./tools/travis/install.sh directive. Something like install: travis_wait 30 ./tools/travis/install.sh
[1] http://maven.40175.n5.nabble.com/Re-Build-failed-in-Jenkins-maven-plugins-ITs-m3-972-td5755380.html

@rafaelweingartner I'm still in favor of proceeding with that PR, because it will make build jobs immutable and reproducible as well.

@DaanHoogland can you check and fix Travis failures?

@DaanHoogland is this good to go? let me re-kick travis.


Web traffic

"Astrologer RK Shastri Ji is the Best Astrologer in India"
Vashikaran specialist-In India one of the World famous astrologers for love marriage or vashikaran specialistastrologer RK Shastri Ji for solving the problems of common people. Like Love Problems, Love Marriage Problems, Husband Wife Problems, Family Problems,etc.
Call@+91-97853 25100
Visit at https://www.bestindiaastrologer.com/


File descriptors leak causes system to crash

VSCode Version: Code 1.13.0 (376c52b955428d205459bea6619fc161fc8faacf, 2017-06-08T16:34:53.678Z)
OS Version: Darwin x64 16.6.0
Extensions:

Extension
Author
Version

jshint
dbaeumer
0.10.15

vscode-eslint
dbaeumer
1.2.11

githistory
donjayamanne
0.2.0

debugger-for-chrome
msjsdiag
3.1.3

darcula-extended
smlombardi
3.3.2

vscode-open-in-github
sysoev
1.6.0

gitblame
waderyan
1.11.2

Material-theme
zhuangtongfa
2.8.6

I have a project with a lot of npm dependencies. I also run an ember-cli server and a react server. After couple minutes of usage, my OS ran out of file descriptors and nothing works anymore. When I look at the number of open files per process, VSCode is always at the top of the list and shows 8000+ open files. As soon I quit VSCode, everything is back to normal.
This is not something progressive where I would see the number of open file going up slowly. VSCode is pretty stable until I am suddenly put of file descriptors.
I haven't found yet what steps causes it but it occurs all the time! That issue started to show up in the past week or two.

looking at the list of open files. Looks like VSCode opens all the files in /tmp generated by ember-cli!

Can you try disabling your extensions to see if one of those is the root cause. Just start code with the --disable-extensions command line flag

I am not able to reproduce it today, will keep an eye on it...

Ok, please let me know if you see this issue again with extensions disabled

@mjbvz I just had this happen to me when opening VSCode on a large Android project. I tried launching with --disable-extensions but it didn't help. My machine had so many open files that it got really unstable. After quitting VSCode it resolved. lsof -d "^txt" | wc -l returned 11945. I also verified the majority of those files were from VSCode (7983 at one point).
Should we reopen this issue or should I create a new one?

I'm still getting this on ember projects with no extensions enabled.

@lyahdav  and @xdumaine Yes please open new issues if you are seeing a similar problem


Raise an error if the securityScheme to be referenced does not exist.

Hi there.
I fixed a problem when the securityScheme to be referenced does not exist.
--- FAIL: TestParamValidator_ValidateSecurity_MissingSecuritySchemes (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10242c5d8]

goroutine 733 [running]:
testing.tRunner.func1.2({0x1025a04a0, 0x1029ea420})
        /Users/k1low/sdk/go1.22.1/src/testing/testing.go:1631 +0x1c4
testing.tRunner.func1()
        /Users/k1low/sdk/go1.22.1/src/testing/testing.go:1634 +0x33c
panic({0x1025a04a0?, 0x1029ea420?})
        /Users/k1low/sdk/go1.22.1/src/runtime/panic.go:770 +0x124
github.com/pb33f/libopenapi-validator/parameters.(*paramValidator).ValidateSecurity(0x14000377f20, 0x140003b6ea0)
        /Users/k1low/src/github.com/pb33f/libopenapi-validator/parameters/validate_security.go:58 +0x198
github.com/pb33f/libopenapi-validator/parameters.TestParamValidator_ValidateSecurity_MissingSecuritySchemes(0x1400010e340)
        /Users/k1low/src/github.com/pb33f/libopenapi-validator/parameters/validate_security_test.go:314 +0xa4
testing.tRunner(0x1400010e340, 0x102687aa0)
        /Users/k1low/sdk/go1.22.1/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
        /Users/k1low/sdk/go1.22.1/src/testing/testing.go:1742 +0x318
FAIL    github.com/pb33f/libopenapi-validator/parameters        0.585s

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.96%. Comparing base (29ed98d) to head (dd580b2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   98.96%   98.96%
=======================================
  Files          19       19
  Lines        1156     1157    +1
=======================================
+ Hits         1144     1145    +1
  Misses         12       12

Flag
Coverage Δ

unittests
98.96% <100.00%> (+<0.01%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Errors with Dropdown with custom slots and Typescript

I can't get the slotted Dropdown to work with Typescript:

    <Dropdown titleText="Contact" selectedId="0" {items} let:item let:index>

            {item.text}

            id: {item.id} - index:
            {index}

    </Dropdown>

In the console I get this warning on every refresh: <Dropdown> received an unexpected slot "default".
The rendered output shows the Dropdown with the standard UI. Do I need to do something special to make it work with ts?

What version of carbon-components-svelte are you using?

I'm using svelte latest 3.46.4 and carbon-components-svelte latest 0.62.2.

This what I see using Svelte/TypeScript in my IDE:

Can you try restarting the Svelte Language Server in your IDE?

Very strange, in a desperate attempt to reproduce the problem, I ended up recreating the entire project from scratch inside a test folder (incremental file copy-paste, no rewriting).
Now I have two ~identical folders, one that exhibits the issue and one that doesn't...
Tried:

renaming root folder
clean npm reinstall
tinkering with every file in the distro

At a closer inspection, this error might be different from the typing issue I mentioned earlier, which occurs nonetheless.
(an entire package/library is shown as having type any). I'm using VSCode, with the official Svelte extension.


Fix tests on 32bit

The long has different width on 32bit and 64bit.
Use predefined macro for the maximum value.
Signed-off-by: Michal Suchanek<EMAIL_ADDRESS>

Thanks for the fix!


Intellisense filters

VSCode Version: 1.8.0
OS Version: Windows 10 home

Steps to Reproduce:

create or edit an css file
inside an selector, type wid and hit tab
widows will be inserted

I never use widows. It annoys me its in intellisense.
I just want width inserted.
I suggest to add an filter option which can exclude items from intellisense like files can be excluded.
My format suggestion:
css.intellisenseExclude [
  "widows"
]

for html it would be something like
html.intellisenseExclude [
  "font",
  "header[force-refresh-image]",
  "*[force-refresh-image]"
]

related: #12986

#17419

Hm, widows is an interesting example. Code completion actually selects width and enter will complete to width. What's happening is that the tab key invokes emmet, which expands wid to widows

If you never use emmet you could disable emmet completion with the option
"emmet.triggerExpansionOnTab": false
If you want tab to always select the completion item when the suggestion window is open, add this to your keybindings:
{ "key": "tab",                   "command": "editor.emmet.action.expandAbbreviation",
                                     "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus && !suggestWidgetVisible" }

@egamma @ramya-rao-a  Is it intentional that emmet is triggered even when the suggestion window is open?
@svenvNL Is your request still to allow filtering intellisense proposals, or is it more about the 'widows' case?

As far as I know when emmet expansion is triggered by TAB, it is not aware of the suggestion window's existence at all.
Including @mrmlnc for emmet history

As far as I know when emmet expansion is triggered by TAB, it is not aware of the suggestion window's existence at all.
Including @mrmlnc for emmet history

@aeschli
My request is still about intellisense filters.
I switch a lot between emmet and standard intellisense.
I always thought that intellisense and emmet use the same autocomplete, thats why only intellisense is mentioned in the issue title.
with filters I want to remove things from intellisense and emmet.
A lot of times I type 'pad' and hit enter or tab and intellisense or emmet complete to 'pad: '.
I expected 'padding: ' and not 'pad: '. I never use pad so I rather remove it from css intellisense / emmet.
The same goes for widows,
typing 'width: c' I would like to have intellisense and emmet to complete to calc, not 0ch. I rather have nothing then completion that inserts something like 0ch. 0cm, etc.
on html elements like div, I never use the title attribute.. I rather have completion to tab-index then title.

@aeschli
My request is still about intellisense filters.
I switch a lot between emmet and standard intellisense.
I always thought that intellisense and emmet use the same autocomplete, thats why only intellisense is mentioned in the issue title.
with filters I want to remove things from intellisense and emmet.
A lot of times I type 'pad' and hit enter or tab and intellisense or emmet complete to 'pad: '.
I expected 'padding: ' and not 'pad: '. I never use pad so I rather remove it from css intellisense / emmet.
The same goes for widows,
typing 'width: c' I would like to have intellisense and emmet to complete to calc, not 0ch. I rather have nothing then completion that inserts something like 0ch. 0cm, etc.
on html elements like div, I never use the title attribute.. I rather have completion to tab-index then title.

@svenvNL @aeschli I am able to repro the pad example but not the wid
Inside a selector hitting tab after pad gives me pad:  and hitting tab after wid gives me width: , both being the result of autocomplete and not emmet.
I believe emmet only gets triggered by tab if there are no suggestions by autocomplete.

My vscode also suggest widows as first candidate instead of width when type wid and I get a typo almost every time :(
I'm using vscode 1.10.2 on ubuntu 16.04LTS

I also have vscode suggesting widows instead of width as the first option when writing wid. I can see why this would be the first option when sorting alphabetically, but it does not make a lot of sense in regards to which is used more often.
Is there really no way to change this behaviour?

I think such a filter should be provided across languages e.g. with a language specific setting.

In latest insiders and with the 1.19 release we will remember the last select suggestion and pre-select that. This is per workspace and language, so once width has been selected for for wid it will be the default selection for the future. Closing this as duplicate


The item info miscalculates the range for uniques sometimes.

I noticed a couple of time with different uniques. The example below are from 2 differente Perfidy body armors.
The life rolls from 60-90, but in the example below it calculates the range incorrectly

There's a feature to "invert" how rolls are calculated if you click a mod-text. You must have accidentally clicked a life roll recently -- you can reset it by right-clicking the mod-text.
This accidental click also crossed my mind recently, so I added visual feedback for the next release (which got a bit delayed).

Sorry about the confusion, I didn't think about this issue fast enough.

Ah nice, that is quite an interesting feature indeed. Thanks for your quick answer :)


Error only with animated movie

Not sure what to make of this error, but only started to happen with Spiderman into the spiderverse and How to Train Your Dragon 2.  But How to Train Your Dragon 1 worked fine.
Any help greatly appreciated

Do you have any software that is scanning the directories you’re processing the files in? Anything like Plex or Sonarr/Radars etc setup to automatically scan or import? Some external program is trying to use the file when it goes to delete.
Sent from my iPhone

On Feb 22, 2019, at 9:18 PM, buckeyesfan<EMAIL_ADDRESS>wrote:
Not sure what to make of this error, but only started to happen with Spiderman into the spiderverse and How to Train Your Dragon 2. But How to Train Your Dragon 1 worked fine.
Any help greatly appreciated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I do have plex set to update libraries, but not to that location.  Once the file is converted, I manually transfer it into plex

Really weird…ran a few tests of just a 4 minute clip, and twice it worked fine and twice gave me the file is open in another program.
Also looks like python had 3 .exe. open in task manager when it threw the error, but only one when it performed the whole process

Just ran the program back to back times and got this

I'm not sure how much more specific the error can get. Something is using the file preventing the script from doing its job. Its likely some other program on your system.
Here's a SO thread explaining how you can debug further
https://superuser.com/questions/117902/find-out-which-process-is-locking-a-file-or-folder-in-windows


Pinned post support

Content editors should be able to pin a blog post using the WordPress editor
In WordPress this feature is called "Sticky"
I've gone ahead and made the post with slug i-love-you-buddy sticky. If you look in the JSON response, the post that's sticky has an attribute of sticky: true.
http://<IP_ADDRESS>/wp-json/wp/v2/posts
You can make multiple posts sticky.
We probably will want to find the posts that are sticky within the posts array, pull them out, and append them to the top of the posts list when rendering them to the page
We should additionally add some kind of icon to identify a sticky post. Maybe a pin icon? I'm open to suggestions. The project includes react-icons and currently makes use of Font Awesome. We should use an icon that matches that style.
Questions

Should the "sticky" posts show twice? Once at the top and once in it's natural location? How does Twitter handle pinned Tweets? What does a typical WP site do?

Hi again!
I made a test and the default behaviour at Wordpress and Twitter is to put the sticky post at the top but does not repeat again at its position. Maybe is a good idea to do it this way.
Here a suggestion I made for the design 😃 (using the Font Awesome pin icon, in order to follow the other styles):

Trying to get sticky information with wp-grapqhl plugin, I realized that this field is not available yet. However researching a little bit I discovered that they have added this field to the development branch only few days ago as isSticky field: https://github.com/wp-graphql/wp-graphql/pull/1495.

the design mockup looks great! i might even go as far as saying you might not need the text "Sticky Post" visually there, though youd probably want to have that available for screen readers
thats so strange they dont expose that with it being in the REST API. i don't understand why little things like that are different 😂
i think the sorting makes sense for sure! didn't think about doing it that way. my only concern would have been that it would have impacted the order beyond the isSticky placement but if that seems like it's working i have no issues with that approach
id say we hold off until it's in the main branch, but theres no reason you can't get it prepped in a PR until then. would you mind looping back once it is in the main branch though so people dont have to figure that part out separately?

Perfect, will prepare that PR then. About the text "sticky post" totally agree, I´ll leave only the pin icon and add to it an aria-label in order to make it readable for screen readers. 👍

awesome 💪  thanks @GuilleAngulo

Will be available in v0.14.0 https://github.com/wp-graphql/wp-graphql/pull/1513

Great! I will pay attention


feat: update styling of property pane

Making the property pane and all the property types really cool.
Tasks

[x] Styling of String Property
[x] Styling of Boolean Property
[x] Styling of Enum Property

Upcoming PR

[ ] Styling of Asset Property
[ ] Styling of Unknown Property

@marionebl addressed all comments

Done!


Please link to the new repo

It seems like this repo is not being developed anymore.
But it's the top search result for knctl.
Maybe consider:

archiving this repo
linking to https://github.com/knative/client prominently.

Does kn have the same functionalities as knctl? For example does it have knctl install and knctl uninstall