cilium: transparent encryption, use correct keys during update from old key to new key

When updating a key in a shared secret not all nodes will receive the update "at the same time" so we need to handle case where keys are out of sync. Currently, we lookup which key to use in the ipcache which works great if the peer node is using no-key (null key 0) or has a key we've installed in the datapath already but if its a new key not in the datapath then trying to encrypt using the ID fails and traffic is dropped. To fix this keep the state of the last installed key and if the peers node is different use the previous key until the nodes sync at which point after the sync the current state will equal the peers key. This way we (a) always use keys installed on the node and (b) always use keys installed on the peer avoiding traffic drops in the intermediate state while keys sync and/or rolling updates are happening.
We make the assumption that key updates are only done after previous keys have been sync'd through all nodes. And the assumption that higher numbered keys are newer with care to handle the rollover case where a keyID == 15 is older than keyID == 1.
Note: I decided to make 15 the max key because we can't have more than two keys in use at the same time now assuming users follow the above requirement that only allows for changing keys after previous update is complete. So having large key ids doesn't seem necessary and by making the max key 15 we save 4 bits for some other use later.
Fixes: #7590

This change is

Thanks Hound will fixup violations.

Coverage decreased (-0.02%) to 42.54% when pulling 88c72d610380cb647cd3381ab0fde0ec67a9316d on rolling-update-fix into 3ad7ed9b959113d3daf55bff7e32fff18acc2119 on master.

I've also decided we need to handle the rollover case so will add a check for keyID == -1 and do proper accounting. Otherwise things may break after 255 key rotations.

test-me-please

I'm not sure about the remaining Hound complaints they seem a bit odd to me. Let me know if folks think they need to be silenced.

Dropped wip label just added it last night because I hadn't yet tested it but everything looks good in GKE. We can add a key upgrade test to CI soon.

test-me-please

marking wip again I managed to get into a broken state by doing a bunch of key updates and need to understand what happened first.

test-me-please

test-me-please

test-me-please

1/1 ginkgo tests we are going to run this a set of times to test for The Flake.

test-me-please

2/2 CI runs.

test-me-please

3/3 ci runs

test-me-please

CI failed but vxlan+encryption test passed. Failure was a timeout k8s test were already finished,
"[2019-04-12T21:36:27.565Z] Cancelling nested steps due to timeout"
I'm calling this 4/4* with an asterisk.


Card-with-Glasseffect

Description
Project title
Card-with-Glass effect
Project Description
How does it work
It is a simple Ui with an awesome glass effect.
Stack:
And in order to tick the check box just put x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS

Screenshots

Uploading vlc-record-2022-05-19-21h54m10s-Card with Glasseffect animation - Person 2 - Microsoft Edge-.mp4…
Additional information
No response

Description
Project title Card-with-Glass effect
Project Description
How does it work
It is a simple Ui with an awesome glass effect.
Stack: And in order to tick the check box just put x inside them for example - [x] like this. Please delete options that are not relevant.

[x]  Html
[x]  CSS

Screenshots

Uploading vlc-record-2022-05-19-21h54m10s-Card with Glasseffect animation - Person 2 - Microsoft Edge-.mp4…
Additional information
No response

@AyushSingh22 Sir plz review and assign me.


Inventory not updating stuck mining wood endlessly

The bot seems to be mining wood logs but nothing seems to register in the inventory. I've been running it for about an hour.
Here is the output message
Chat log: No wood log found in inventory. Mining a wood log...
Collect finish!
Wood log mined.
Inventory: No wood log found.

Biome: plains

Time: day

Nearby blocks: grass_block, grass, oak_leaves, oak_log, dirt, stone

Nearby entities (nearest to farthest): bee, sheep

Health: 20.0/20

Hunger: 20.0/20

Position: x=1.5, y=68.0, z=23.5

Equipment: [None, None, None, None, None, None]

Inventory (0/36): Empty

Chests: None

Task: Craft 4 wooden planks

Context: Question: How to craft 4 wooden planks in Minecraft?
Answer: To craft 4 wooden planks in Minecraft, you need to place one wooden log in any square of the crafting grid. This will give you 4 wooden planks.

Critique: None

Action Agent ai message
Explain: The code failed to find the mined wood log in the inventory after mining it. This might be due to the bot not waiting long enough to pick up the dropped item.
Plan:

Increase the waiting time after mining the wood log to ensure the bot picks up the dropped item.
Check the inventory for the wood log again after waiting.
If the wood log is still not found, mine another wood log and repeat the process.
Craft 4 wooden planks from the wood log.

Code:
async function mineWoodLog(bot) {
  // Find a wood log block nearby
  const logBlock = bot.findBlock({
    matching: block => {
      return block.name.endsWith("_log");
    },
    maxDistance: 32
  });
  if (!logBlock) {
    bot.chat("No wood log found nearby. Exploring...");
    await exploreUntil(bot, new Vec3(1, 0, 1), 60, () => {
      const logBlock = bot.findBlock({
        matching: block => {
          return block.name.endsWith("_log");
        },
        maxDistance: 32
      });
      return logBlock;
    });
  }

  // Mine the wood log block
  await mineBlock(bot, logBlock.name, 1);
  bot.chat("Wood log mined.");

  // Move to the position where the wood log was mined and wait for a moment to pick up the dropped item
  await bot.pathfinder.goto(new GoalNear(logBlock.position.x, logBlock.position.y, logBlock.position.z, 1));
  await bot.waitForTicks(200); // Wait for 10 seconds (200 ticks)

  // Check the inventory for the mined wood log
  let logItem = bot.inventory.items().find(item => item.name === logBlock.name);

  // Chat the inventory information
  if (logItem) {
    bot.chat(`Inventory: ${logItem.name} x${logItem.count}`);
  } else {
    bot.chat("Inventory: No wood log found.");
  }
}

async function craftWoodenPlanks(bot) {
  // Check if there is a wood log in the inventory
  let woodLog = bot.inventory.items().find(item => item.name.endsWith("_log"));

  // If not, mine a wood log
  while (!woodLog) {
    bot.chat("No wood log found in inventory. Mining a wood log...");
    await mineWoodLog(bot);
    woodLog = bot.inventory.items().find(item => item.name.endsWith("_log"));
  }

  // Craft 4 wooden planks from the wood log
  const logName = woodLog.name;
  const plankName = logName.replace("_log", "_planks");
  bot.chat(`Crafting 4 ${plankName} from ${logName}...`);
  await craftItem(bot, plankName, 1);
  bot.chat(`Crafted 4 ${plankName}.`);
}

Fixed it

How to fix it?

How to fix it?

When starting the LAN connection to the server make sure that mode is set to survival or blocks won't drop items for the bot to pick up for its inventory.

https://github.com/MineDojo/Voyager/blob/main/installation/minecraft_instance_install.md#option-2-minecraft-official-launcher Interesting, as this says it should be peaceful


Upgrading Makefile to generate datastore v1beta3.

Also

Removing v1beta2 generated code and .proto file
Adding new .proto files and generated code
Adding make_datastore_grpc.py script to tear out the protoc inserted lines by the gRPC plugin
Updating rewrite_imports.py to rewrite the datastore imports

Was #1355 but has been re-purposed to merge against the datastore-v1beta3 branch

@tseaver PTAL

This LGTM with small nits.

@jonparrott PTAL.

LGTM.


Cleanup OpenAPIHub custom connector

Remove OpenAPIHub custom connector and the service principal used for authentication.

oh plop. I thought we had eliminated it from all of the apps. Do you know which ones still need it?

Connector itself and env variables and secrets in the KV that's used by connectors.

Custom connectors for OpenAPIHub and Devops have been removed now. Cleanup of KV variables is yet to be done.


Adding supported for Encrypted SAML

These changes are for adding support for encrypted SAML messages. [xmlenc] (https://github.com/digidentity/xmlenc) from has been used for encryption and decryption. All existing tests for ruby-saml are passing. I had to upgrade the timecop gem though, for the tests to pass on my local machine. Unfortunately these are failing on Travis CI for REE and 1.8.x
@buffym @googya, could you please check and let me know if this works for your cases of Ping Federate and Encryption otherwise.
#9 #193 #186 #172

Thanks @ksinkar, we will review all this code and integrate it in the ruby-saml gem this functionality for sure.

@pitbulk, I had a look at the decrypt branch in which you are developing the decrypt functionality. It  seems that branch is only able to handle signing and checking of digest methods for encrypted assertions. I don't see any code for decrypting the encrypted assertions.
Please correct me if I am wrong in the above inference.
I am eager to  get the decryption functionality into this gem. I suggest that you merge my changes into master or the decrypt branch as you see fit. As for the failing tests, it is  dependency problem of nokogiri which I have tried to solve by updating the xmlenc gemspec as well, but not yet been able to solve it. If you have any ideas please let me know and I shall solve them pronto.

@ksinkar  Here is the code to decrypt assertions:
https://github.com/onelogin/ruby-saml/blob/decrypt/lib/onelogin/ruby-saml/response.rb#L258

Replaced by #241. Right now we avoid the use of xmlenc.


Altered faiss installation comment

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Hi ! Can you explain why this change is needed ?


test_apdl_logging_start seems to fail on ubuntu local

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment
[X] I have a fully updated virtual environment (i.e. pip install --upgrade --upgrade-strategy eager ansys-mapdl-core)

Description of the bug
While working on #1615, the test test_apdl_logging_start seems to keep failing.
I have disabled it for the moment an open this PR to track the issue in the near future.

Same with test_heal.

Same with test_license_type_additional_switch

it is weird... every time something different fails....

test_apdl_logging_start is being skipped in local for the moment. Needed further research.

Closed in #1838


Migrate GUI to Qt6

What has to be done
We need to migrate our GUI code from Qt5 to Qt6.
Subtasks:

[ ] Some of the API will have changed, so some reworking of the code will be necessary.
[ ] Probably need to get rid of qnanopainter. It does not support Qt6 and they don't seem to have plans for it in the future. Furthermore, Qt6 supports OpenGL accelerated rendering out of the box, so this library should not be needed.

How do you know it has to be done
Qt5 will not be officially supported past May 2023, which is coming up quite soon. We should get ahead of this.
Starting points
Just do it!
Don't forget (can delete these when done)

Put the issue in a milestone
Assign it to one of the projects
Add appropriate labels
Mention dependent/blocked issues if any

Currently RaspberryPi OS does not have apt packages for Qt6. There are instructions out there for how to cross-compile Qt6 for Raspi, but this is a pretty complicated and involved process and it may be quite the burden to take on scripting this and maintaining it. My current judgement is that we should wait for Raspi to officially support Qt6 and only then migrate.


Unable to map external group from uaa.yml if external group contains a space character

uaa.yml contains the following
scim:
  external_groups:
  - bosh.admin|cn=admins,ou=user accounts,dc=mydomain,dc=com
  - scim.read|cn=admins,ou=user accounts,dc=mydomain,dc=com

The external group is being split on space, with group mappings being inserted by UAA as
$ uaac group mappings
resources
    ldap:
    -
      bosh.admin: cn=admins,ou=user
    -
      bosh.admin: accounts,dc=mydomain,dc=com
    -
      scim.read: cn=admins,ou=user
    -
      scim.read: accounts,dc=mydomain,dc=com

I have tried the following in uaa.yml
- bosh.admin|'cn=admins,ou=user accounts,dc=mydomain,dc=com'
- bosh.admin|"cn=admins,ou=user accounts,dc=mydomain,dc=com"
- bosh.admin|cn=admins,ou=user\ accounts,dc=mydomain,dc=com
- bosh.admin|cn=admins,ou=user\saccounts,dc=mydomain,dc=com
- bosh.admin|cn=admins,ou=user%20accounts,dc=mydomain,dc=com
- bosh.admin|cn=admins,ou=user accounts,dc=mydomain,dc=com
- bosh.admin|cn=admins,ou=user\u0020accounts,dc=mydomain,dc=com

@Freakin
The pipe delimited format is deprecated.
The new format looks like this
https://github.com/cloudfoundry/uaa/blob/4d5a3d10e21ca68654308ef78f944600710fc102/uaa/src/test/resources/test/bootstrap/all-properties-set.yml#L513-L524
We've added test cases to validate names with spaces. We will not be fixing the old format.


⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In 7723698, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2864 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in 0555bb2.


Bugfix for https://github.com/dwachss/bililiteRange/issues/18

Hi @dwachss ,
I have added the required changes for
https://github.com/dwachss/bililiteRange/issues/18
Modified the check of
if (typeof el.value != 'undefined') return 'value';
to
if (typeof el.value === 'string') return 'value';
The fiddle updated with the solution can be found here : http://jsfiddle.net/gauz8av8/8/
Please review and merge.

Thank you!


Documentation improvements; add  'everything' profile

This PR is documentation improvement.

Update README to tidy up few things.
Show full path to devsetup in echo statements.
Add everything example profile;

@noelmcloughlin merged it


feat: collapse side panels

Copy of #13 to collaborate in one repo

This will fix issue#6.
Collapsed panels can be opened by clicking on their respective names that appear on the top right after they've been collapsed.

@aniruddha-mithya I mentioned this to the rest of the Mithya team on Slack, I think it would be best to have you just contribute directly to branches in this repo. That way it will be easier for me to tweak the UI and styling on top of your implementations instead of us going back and forth in PR comments because we don't have flushed out designs for this product.
As you can see, I merged all your branches into matching branches in this repo and invited you as a member.
I just pushed some changes to position and style the collapse buttons the way we'd like them.
The last thing on this branch I'd like to see improved is when you toggle one of the collapsed sections, it effects the width of the section on the opposite side. Ideally, it only changes the width of the section right next to it. In the video below, you can see that as I click the right panel toggle, the width of the left panel changes. This should not happen. Clicking the right panel toggle should only change the width of the middle section (editor) to compensate as the right panel gets shown and hidden.
https://github.com/comake/rml-mapping-editor/assets/8572428/b7089110-16c1-4247-8130-9c0cd71d1808

@adlerfaulkner Letting you know that I've pushed the some changes. Can't request a review since you opened the PR.


Update badge URLs

Flat style is the default as of Feb 1st 2015.
npmjs.org is now npmjs.com.

Coverage remained the same at 100.0% when pulling d786f6a437d137a9cf815c302da486a15a3ba113 on shinnn:npm-url into 0ba60f14dec52ba854e3c4dd627c15a57dfdee8a on floridoo:master.


Allow to theme UI components of the workbench

Is there a way to write a theme who also change color for UI components - Ej. affect sidebar and view bar.
Or this should be written separatelly like atom ui themes and syntax theme ?

@aeschli fyi

No, there's currently now way to theme UI components other than the editor.

Thank you @egamma / @aeschli

Is this planed? I think its not that hard to load additional css styles overwriting the defaults.

Agreed it is not hard and it is on the backlog, but many things are on the backlog that are not hard but still take time, as are things that are hard and take a lot of time :smile:

Duplicate of https://github.com/Microsoft/vscode/issues/76

Refer https://github.com/Microsoft/vscode/issues/17608


When the licence text is updated from a tenant, it overrides the licence text of other tenants

Description:
When a licence text is changed from the device management console in the platform configuration section, the text overrides the licence text of the other tenants as well.
Affected Product Version:
3.1.0 WUM updated, 3.2.0
OS, DB, other environment details and versions:
Ubuntu 16.04, H2, JDK 1.8.0_161
Steps to reproduce:
Create two tenants,
Update the licence text of one tenant.
Check the licence text of the other tenant.

This is fixed. Fixes will be included in the next IoTS release.


Teset/in memory

lluc and me made a walkthough of the test he made. Decided to go with the stub based ones.


[Device Support Request]  Ikea Tradfri Wireless Dimmer Model ICTC-G-1

Is your feature request related to a problem? Please describe.
https://github.com/home-assistant/core/issues/42672#issue-733729408
Describe the solution you'd like
Battery is not working OK without quirk (have some one pointed out).
Binding to groups is working and dimming lights but not the HA part for automations then its not implanted without quirk.
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
logs while pairing:
[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
Tries remaining: 1
[0x8a5f] Extending timeout for 0x25 request
[0x8a5f] Delivery error for seq # 0x25, on endpoint id 0 cluster 0x0004: message send failure
[0x8a5f:1] Failed to discover endpoint_id 1
Device not found for removal: 00:0b:57:ff:fe:97:d2:cd
Device 0xdf77 (00:0b:57:ff:fe:97:d2:cd) joined the network
[0xdf77] Requesting 'Node Descriptor'
Tries remaining: 2
[0xdf77] Extending timeout for 0x27 request
Device 0xdf77 (00:0b:57:ff:fe:97:d2:cd) joined the network
Skip initialization for existing device 00:0b:57:ff:fe:97:d2:cd
[0xdf77:zdo] ZDO request ZDOCmd.Device_annce: [0xDF77, 00:0b:57:ff:fe:97:d2:cd, 128]
[0xdf77] Node Descriptor: NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=10752, maximum_outgoing_transfer_size=82, descriptor_capability_field=0)
[0xdf77] Discovering endpoints
Tries remaining: 3
[0xdf77] Extending timeout for 0x29 request
[0xdf77] Discovered endpoints: [1]
[0xdf77:1] Discovering endpoint information
Tries remaining: 3
[0xdf77] Extending timeout for 0x2b request
[0xdf77:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=49246, device_type=2064, device_version=2, input_clusters=[0, 1, 3, 9, 2821, 4096], output_clusters=[3, 4, 6, 8, 25, 4096])
[0xdf77] Extending timeout for 0x2d request
[0xdf77:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=45 command_id=Command.Read_Attributes_rsp>
[0xdf77:1] Manufacturer: IKEA of Sweden
[0xdf77:1] Model: TRADFRI wireless dimmer
Checking quirks for IKEA of Sweden TRADFRI wireless dimmer (00:0b:57:ff:fe:97:d2:cd)
Considering <class 'zhaquirks.ikea.tradfriplug.TradfriPlug'>
Fail because endpoint list mismatch: {1, 2, 242} {1}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1}
Considering <class 'zhaquirks.lutron.lzl4bwhl01remote.LutronLZL4BWHL01Remote2'>
Fail because device_type mismatch on at least one endpoint
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
Fail because endpoint list mismatch: {3} {1}
Considering <class 'zhaquirks.philips.rom001.PhilipsROM001'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.philips.rwl020.PhilipsRWL020'>
Fail because endpoint list mismatch: {1, 2} {1}
Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
Fail because endpoint list mismatch: {1, 2} {1}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1}
Considering <class 'zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor'>
Fail because profile_id mismatch on at least one endpoint
device - 0xDF77:00:0b:57:ff:fe:97:d2:cd entering async_device_initialized - is_new_join: True
device - 0xDF77:00:0b:57:ff:fe:97:d2:cd has joined the ZHA zigbee network
[0xDF77](TRADFRI wireless dimmer): started configuration
[0xDF77:ZDO](TRADFRI wireless dimmer): 'async_configure' stage succeeded
[0xdf77] Extending timeout for 0x2f request
[0xdf77] Extending timeout for 0x31 request
[0xdf77] Extending timeout for 0x33 request
[0xDF77:1:0x0001]: bound 'power' cluster: Status.SUCCESS
[0xdf77] Extending timeout for 0x35 request
[0xDF77:1:0x0000]: bound 'basic' cluster: Status.SUCCESS
[0xDF77:1:0x0000]: finished channel configuration
[0xdf77] Extending timeout for 0x37 request
[0xDF77:1:0x1000]: bound 'lightlink' cluster: Status.SUCCESS
[0xDF77:1:0x1000]: finished channel configuration
[0xdf77] Extending timeout for 0x39 request
[0xdf77:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=53 command_id=Command.Configure_Reporting_rsp>
[0xdf77:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=55 command_id=Command.Read_Attributes_rsp>
[0xDF77:1:0x0001]: reporting 'battery_voltage' attr on 'power' cluster: 3600/10800/1: Result: '[[ConfigureReportingResponseRecord(status=0)]]'
[0xdf77] Extending timeout for 0x3b request
[0xDF77:1:0x0000]: initializing channel: from_cache: False
[0xdf77] Extending timeout for 0x3d request
[0xDF77:1:0x0008]: bound 'level' cluster: Status.SUCCESS
[0xDF77:1:0x0008]: finished channel configuration
[0xdf77] Extending timeout for 0x3f request
[0xdf77:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=59 command_id=Command.Configure_Reporting_rsp>
[0xDF77:1:0x0001]: reporting 'battery_percentage_remaining' attr on 'power' cluster: 3600/10800/1: Result: '[[ConfigureReportingResponseRecord(status=0)]]'
[0xDF77:1:0x0001]: finished channel configuration
[0xDF77:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xDF77:1:0x0006]: finished channel configuration
[0xDF77:1:0x0019]: bound 'ota' cluster: Status.SUCCESS
[0xDF77:1:0x0019]: finished channel configuration
[0xDF77:1:0x0001]: 'async_configure' stage succeeded
[0xDF77:1:0x0000]: 'async_configure' stage succeeded
[0xDF77:1:0x1000]: 'async_configure' stage succeeded
[0xDF77:1:0x0008]: 'async_configure' stage succeeded
[0xDF77:1:0x0006]: 'async_configure' stage succeeded
[0xDF77:1:0x0019]: 'async_configure' stage succeeded
[0xDF77](TRADFRI wireless dimmer): completed configuration
[0xDF77](TRADFRI wireless dimmer): stored in registry: ZhaDeviceEntry(name='IKEA of Sweden TRADFRI wireless dimmer', ieee='00:0b:57:ff:fe:97:d2:cd', last_seen=1604152683.289528)
[0xdf77] Extending timeout for 0x41 request
[0xdf77:1:0x0003] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=65 command_id=Command.Default_Response>
[0xDF77:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.SUCCESS: 0>]
[0xDF77](TRADFRI wireless dimmer): started initialization
[0xDF77:ZDO](TRADFRI wireless dimmer): 'async_initialize' stage succeeded
[0xdf77] Extending timeout for 0x43 request
[0xdf77] Extending timeout for 0x45 request
[0xDF77:1:0x1000]: initializing channel: from_cache: False
[0xDF77:1:0x0008]: initializing channel: from_cache: False
[0xDF77:1:0x0006]: initializing channel: from_cache: False
[0xDF77:1:0x0019]: initializing channel: from_cache: False
[0xdf77:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=67 command_id=Command.Read_Attributes_rsp>
[0xDF77:1:0x0001]: initializing channel: from_cache: False
[0xdf77] Extending timeout for 0x47 request
[0xdf77:1:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=69 command_id=Command.Read_Attributes_rsp>
[0xDF77:1:0x0000]: initializing channel: from_cache: False
[0xdf77:1:0x0001] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=71 command_id=Command.Read_Attributes_rsp>
[0xDF77:1:0x0001]: 'async_initialize' stage succeeded
[0xDF77:1:0x0000]: 'async_initialize' stage succeeded
[0xDF77:1:0x1000]: 'async_initialize' stage succeeded
[0xDF77:1:0x0008]: 'async_initialize' stage succeeded
[0xDF77:1:0x0006]: 'async_initialize' stage succeeded
[0xDF77:1:0x0019]: 'async_initialize' stage succeeded
[0xDF77](TRADFRI wireless dimmer): power source: Battery or Unknown
[0xDF77](TRADFRI wireless dimmer): completed initialization
Additional context
The logs its copied from @springstan issue posted on HA git and the credit is going to hi !!

Hey @TheJulianJES can you please taking one look if its possible doing one quirk for the old wireless remote that is having flace battery reporting.
I think its no need converting the ZLL commands being send to ZHA commands then its pretty useless as remote  for other things then lights (and also very tricky for steering lights) but its nearly one retro device from IKEA (the hardware is one of the most advanced / expensive but was little overkill then is not working so well with the electronic gyros).
Its no high prio but being nice to getting the battery reporting OK :-))
Thanks in advance !!

You can try this: https://github.com/TheJulianJES/zha-device-handlers/blob/ikea_old_dimmer/zhaquirks/ikea/dimmer.py
This should only double the percentage of the battery (like it's done for every other IKEA device).
This won't include any device automations. If this works, I'll PR it.

Thanks very much!!
Very strange problem that the cluster on the endpoint is not the same as my dimmer is having.
Also the device type is wrong (its technical no color dimmer controlling device).
Perhaps the original poster was running in old ZLL firmware and the current is ZB3.
Was trying "patching" your quirk but it dont like loading then i changed cluster and device type so i am doing somthing wrong :-(((
Was comparing with the E1743 and trying adopting it but with no luck.
Can you pleas making one more try to fixing it ?
Here is the init strings then pairing it with HA 2020.12.0:
Device 0xc300 (00:0b:57:ff:fe:27:04:b3) joined the network
[0xc300] Requesting 'Node Descriptor'
Device 0xc300 (00:0b:57:ff:fe:27:04:b3) joined the network
Device 0xc300 (00:0b:57:ff:fe:27:04:b3) joined the network
[0xc300] Node Descriptor: NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=0)
[0xc300] Discovering endpoints
[0xc300] Discovered endpoints: [1]
[0xc300:1] Discovering endpoint information
[0xc300:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=2080, device_version=1, input_clusters=[0, 1, 3, 32, 4096], output_clusters=[3, 4, 6, 8, 25, 4096])
.
.
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.zcl] [0x94bf:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=242 command_id=Command.Read_Attributes_rsp>
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.endpoint] [0x94bf:1] Manufacturer: IKEA of Sweden
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.endpoint] [0x94bf:1] Model: TRADFRI wireless dimmer
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for IKEA of Sweden TRADFRI wireless dimmer (00:0b:57:ff:fe:27:04:b3)
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.dimmer.IkeaDimmer'>
2020-12-30 18:52:42 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint

And one screenshot from the cluster panel:

If you need more information please give my one sign.

Updated it to the new ZB3 version: https://github.com/TheJulianJES/zha-device-handlers/blob/ikea_old_dimmer/zhaquirks/ikea/dimmer.py
This is now similar to the SYMFONISK quirk. (Perhaps the device_automation_triggers could just be copied over?)

Its working great !!!!
Now i have 100% new battery instead of the old 50% on one new battery and 60% of the old battery :-)))
Was trying implanting the SYMFONISK commands but its not triggering then its little different:
Rotate left:
2020-12-30 22:02:13 DEBUG (MainThread) [zigpy.zcl] [0x94bf:1:0x0008] ZCL request 0x0001: [1, 195]
2020-12-30 22:02:13 DEBUG (MainThread) [zigpy.zcl] [0x94bf:1:0x0008] No handler for cluster command 1

Ritate right:
2020-12-30 22:14:12 DEBUG (MainThread) [zigpy.zcl] [0x94bf:1:0x0008] ZCL request 0x0005: [0, 195]
2020-12-30 22:14:12 DEBUG (MainThread) [zigpy.zcl] [0x94bf:1:0x0008] No handler for cluster command 5

Its sending command 1,4,5 and 7 with some different parameters on cluster 0x0008.
Thanks very much !!!!

Its firing ZHA events but its not so easy for some that like using it for automations then its different light levels commands with values:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0b:57:ff:fe:27:04:b3",
        "unique_id": "00:0b:57:ff:fe:27:04:b3:1:0x0008",
        "device_id": "5a8fbe69058511eb9ddadbb100ad3bbf",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            195
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2020-12-30T21:52:44.098715+00:00",
    "context": {
        "id": "1e072caa86709421e93af64842dbe29f",
        "parent_id": null,
        "user_id": null
    }
}

For my its more then enough for straining one groupe of lights and if some one like triggering HA events they can doing little more digging ;-))

The device triggers looks like the same from symfonisk.py:
    device_automation_triggers = {         (SHORT_PRESS, TURN_ON): {             COMMAND: COMMAND_TOGGLE,             CLUSTER_ID: 6,             ENDPOINT_ID: 1,         },         (ROTATED, RIGHT): {             COMMAND: COMMAND_MOVE,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [0, 195],         },         (ROTATED, LEFT): {             COMMAND: COMMAND_MOVE,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [1, 195],         },         (DOUBLE_PRESS, TURN_ON): {             COMMAND: COMMAND_STEP,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [0, 1, 0],         },         (TRIPLE_PRESS, TURN_ON): {             COMMAND: COMMAND_STEP,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [1, 1, 0],         },     }
Can you perhaps confirm if they are all the same? (They could be included in the PR then (even if you don't use them))

I was trying but only right and left turn can being triggered (dont having the switch that symfonisk is having or clicks) and the move to xxx is with or without off is not working and i think it's to much work digging all usebal parameters its sending for doing this ZHA commands.
If some like using then its fired as raw ZHA-events and can being triggered in automations.
Dont looks so nice but can being done.

        (ROTATED, RIGHT): {             COMMAND: COMMAND_MOVE,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [0, 195],         },         (ROTATED, LEFT): {             COMMAND: COMMAND_MOVE,             CLUSTER_ID: 8,             ENDPOINT_ID: 1,             ARGS: [1, 195],         },
So basically only these two work. The log from the one you posted should be "rotated left" then.
I'll add these two triggers and PR it.

You need defining the ROTATED = "device_rotated" also or its not loading the quirk.

Yep, updated code is here: https://github.com/TheJulianJES/zha-device-handlers/blob/ikea_old_dimmer/zhaquirks/ikea/dimmer.py
I'll PR it in a couple of seconds, but it should all work.
(Thought about putting the ROTATED = "device_rotated" in the IKEA __init__.py file, but I'm unsure if this will make things unclear/if it's required)

Opened PR here now: https://github.com/zigpy/zha-device-handlers/pull/685


'DataFrame' Object has no attribute 'iteritems'

It appears that the deprecation of iteritems as of pandas 2.0 is causing issues with fect_python. Installing an older version of pandas is of course a workaround, but are there any plans to update fect_python so that use with newer versions of pandas will not throw this error?

Hi escherpf, thanks for reporting!
I guess you met the problem while using the panelView function. The error is not due to the pandas version (the warning of iteritems is, but that is not the reason why it fails), but because of a latest update of panelview in R and the version discrepency with fect_python. I have just fixed that and you should find it working after the update. Please let me know if there are other problems!


[Feat] Remove padding from bottom of bar graphs

Per @MichalOren request

Merged https://github.com/data-for-change/anyway-newsflash-infographics/pull/1001


Update new-field.md

Fixes #22662
@TeamDman please review
Internal review URLs

Add a rating

@TeamDman Those are great changes, sorry I missed them. Can you create a new issue and fix them? The changes will be live in 5 minutes.
I did all my changes in the browser. Let me know if you have any questions.

Sure thing!


Add Epic Games version support

it think it should be very simple
Just edit the s at the end of the gamestring to e

Then why does it say the version is not supported?

its the same version 2022.4.19

my bad its version 2022.4.19 and not 2022.3.29

my bad its version 2022.4.19 and not 2022.3.29

Exactly. Could you manually build 0.8.0 version with changed 2022.3.29 -> 2022.4.19 string? If it works, I'll make an update. Unfortunately, I can test it myself, because I don't have Epic Games version.

Works but i cant load the Replay with the player.
There are players, bodies and ghosts missing

As I said in 0.8.0 release notes, replayer should be updated too, I'm going to work on it.

nvm the e or s doesn't mater at all

Fixed in v0.8.1


No audio with a2dp-sink profile

Hi, I am awfully knew to this and I still dont know if I set this up correctly and there's no direct guide/tutorial on this. Using a raspberry pi zero w.
Essentially all I have done is a clean install of stretch and ran bluealsa -p a2dp-sink
Nothing happens and now my iPhone can discover the pi.
I pair and connect successfully now as I play music on my iPhone where is the audio coming from the pi? I converted my audio out to come from the pins but nothing is happening. I am confused as what I am suppose to expect from using the pi as a sink. Is there suppose to be anything indication of anything after you type in bluealsa -p a2dp-sink?
Note of issues: Why is that I need to remove the contents of bluealsa inorder to run bluealsa -p a2dp-sink? I always get bluealsa: Couldn't initialize controller thread: Bad file descriptor, unless I remove the contents of the folder in var/run/bluealsa.

I pair and connect successfully now as I play music on my iPhone where is the audio coming from the pi?

Is should be available on virtual PCM device created for connected iPhone. Check amixer -D bluealsa.

Bad file descriptor, unless I remove the contents of the folder in var/run/bluealsa.

This part of bluealsa has been rewritten. Right now there is no controller thread based on /var/run/bluealsa socket.
Closing issue as it is for < 2.0.0 version of bluez-alsa.


Name Specfiles SpecRunner.html to avoid breaking app/extension loading

Chrome apps and chrome extensions cannot be loaded if there are files starting with '_'. This pull request renames the output files for SpecRunners to just be named 'SpecRunner.html' so that or a development build, if the SpecRunners are in the location of the extension or app, this doesn't require their manual removal.
(see https://github.com/uProxy/uproxy/issues/474)
TESTED:
grunt test

LGTM


Promote release-service from development to staging

Included PRs:

https://github.com/konflux-ci/release-service/pull/592
https://github.com/konflux-ci/release-service/pull/591
https://github.com/konflux-ci/release-service/pull/590
https://github.com/konflux-ci/release-service/pull/587

/lgtm
/approve


Interleaved Randomized Benchmarking

Summary
#129
Details and comments
See method https://arxiv.org/abs/1203.4550

@dcmckayibm - could you please look at the updated randomized_benchmarking_seq function in: circuit.py and approve the API for interleaved RB?

@dcmckayibm - here are examples of possible inputs rb_opts from the test:
Testing 1 qubit RB
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0]], 'length_multiplier': 1, 'interleaved_gates': [['h 0', 'w 0', 'y 0']]}
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0]], 'length_multiplier': [1], 'interleaved_gates': [['w 0', 'y 0']]}
Testing 2 qubit RB
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0, 1]], 'length_multiplier': 1, 'interleaved_gates': [['h 1', 'v 1', 'cx 0 1', 'cx 1 0', 'v 0', 'y 0', 'z 1']]}
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0, 1]], 'length_multiplier': [1], 'interleaved_gates': [['h 1', 'cx 0 1', 'w 1', 'x 1']]}
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0], [1]], 'length_multiplier': 1, 'interleaved_gates': [['w 0'], ['h 0', 'w 0', 'y 0']]}
{'nseeds': 3, 'length_vector': [1, 3, 4, 7], 'rb_pattern': [[0], [1]], 'length_multiplier': [1, 2], 'interleaved_gates': [['x 0'], ['h 0', 'y 0']]}

In particular, do the last 2 examples (for simultaneous interleaved RB) make sense?
(note that both Cliffords are defined on 1 qubit, which is denoted by 0, but each one of them actually operates on a different qubit 0&1, as defined by the pattern)

I think the interleaved gate should be a Clifford object.
I agree with the API. The interleave gate should be an n-qubit Clifford referenced to qubits 0,...,n-1. You need to add some error checking to make sure the right sized Clifford gets passed in.

@dcmckayibm - could you please approve the API and code in circuits.py and interleaved_fitters.py ?
I also completed the tests of interleaved rb circuits in rb_test.py.
I still need to work on a Jupyter tutorial notebook, test_fitters.py and documentation.

Uploaded a first version of a Jupyter notebook tutorial for interleaved RB

@dcmckayibm - could you please look at the Jupyter notebook?
How would you suggest to present the final output?

For the fitter, I would plot both RB curves on the same plot and put the alpha from each and then the error of the interleaved gate

@dcmckayibm - could you please review interleaved_fitters.py and the Jupyter notebook?
Then I would be able to complete the notebook and write a test for the interleaved fitters.

I think that the code is ready for review. I still need to:

[ ] Write tests for the interleaved fitters.
[ ] Replace the input from a list of Cliffrod gates to a Clifford object (waiting for Chris's advice - see the discussion above).
[ ] Add more explanation to the Jupyter tutorial notebook.
[ ] Add interleaved RB to the community RB overview notebook and to the documentation.

@dcmckayibm - could you please review interleaved_fitters.py and the Jupyter notebook?
Then I would be able to complete the notebook and write a test for the interleaved fitters.

The plots are a little busy. I would drop the line connecting the points and replace it with a marker for each mean value. So the only lines would be the fit curves. Because there's two sets of points they need more differentiation. I would make the points and fit line the same color. There also needs to be a small legend to show which points are standard and which are interleaved.
Don't list the estimated range on the label.

@dcmckayibm - could you please review interleaved_fitters.py and the Jupyter notebook?
Then I would be able to complete the notebook and write a test for the interleaved fitters.

The plots are a little busy. I would drop the line connecting the points and replace it with a marker for each mean value. So the only lines would be the fit curves. Because there's two sets of points they need more differentiation. I would make the points and fit line the same color. There also needs to be a small legend to show which points are standard and which are interleaved.
Don't list the estimated range on the label.

Done.

It seems that the RB fitters broke on the interleaved circuits, since the circ_name= 'rb_length_%d_seed_%d' is hard coded in the RBFitter, and I wanted to give a different name to the interleaved rb circuits:  'rb_interleaved_length_%d_seed_%d'.
My current solution is to change the RBFitter class, so that the hard coded circ_name will depend on a flag indicating whether this is an interleaved circuit.
@yaelbh made some more general suggestions in ignis internal (https://github.ibm.com/IBMQuantum/qiskit-ignis-internal/issues/58)

It seems that the RB fitters broke on the interleaved circuits, since the circ_name= 'rb_length_%d_seed_%d' is hard coded in the RBFitter, and I wanted to give a different name to the interleaved rb circuits: 'rb_interleaved_length_%d_seed_%d'.
My current solution is to change the RBFitter class, so that the hard coded circ_name will depend on a flag indicating whether this is an interleaved circuit.
@yaelbh made some more general suggestions in ignis internal (https://github.ibm.com/IBMQuantum/qiskit-ignis-internal/issues/58)

Why not just check if it has either of these names?

It seems that the RB fitters broke on the interleaved circuits, since the circ_name= 'rb_length_%d_seed_%d' is hard coded in the RBFitter, and I wanted to give a different name to the interleaved rb circuits: 'rb_interleaved_length_%d_seed_%d'.
My current solution is to change the RBFitter class, so that the hard coded circ_name will depend on a flag indicating whether this is an interleaved circuit.
@yaelbh made some more general suggestions in ignis internal (https://github.ibm.com/IBMQuantum/qiskit-ignis-internal/issues/58)

Why not just check if it has either of these names?

You mean that I should give the interleaved circuits the same name as the original rb circuits? (I thought that it may be confusing)

It seems that the RB fitters broke on the interleaved circuits, since the circ_name= 'rb_length_%d_seed_%d' is hard coded in the RBFitter, and I wanted to give a different name to the interleaved rb circuits: 'rb_interleaved_length_%d_seed_%d'.
My current solution is to change the RBFitter class, so that the hard coded circ_name will depend on a flag indicating whether this is an interleaved circuit.
@yaelbh made some more general suggestions in ignis internal (https://github.ibm.com/IBMQuantum/qiskit-ignis-internal/issues/58)

Why not just check if it has either of these names?

You mean that I should give the interleaved circuits the same name as the original rb circuits? (I thought that it may be confusing)

You don't need the user to set a flag. If the circuit name starts with rb_length it's standard rb, if it starts with rb_interleaved_length it's an interleave circuit

Can you also run a sanity check on the interleaved and make sure the values you get out correspond to the noise setting? So

Run interleaved
Run tomography on the interleaved gates

1 and 2 should agree (more or less)

Can you also run a sanity check on the interleaved and make sure the values you get out correspond to the noise setting? So
1. Run interleaved

2. Run tomography on the interleaved gates

1 and 2 should agree (more or less)

I added process tomography on the interleaved gates - see the Jupyter notebook "Interleaved_RB" in this PR - was that what you meant?

@dcmckayibm - I think that the code is now complete for review.
I addressed your previous comments and added:

test_fitters.py now contains a test of InterleavedRBFitter
the Jupyter notebook also contains process tomography on the interleaved gates


Project is missing a license

Would be cool to choose a license for your work here, so people who fork and use your project know how to give you credit or not.
Up to you to decide: https://choosealicense.com/

Ah, been something I've wanted to do, thanks!


[match] Fix S3 errors for match nuke and sync

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

When using S3 as storage for match, error occurs when calling command match nuke <env>

When downloading files, the file path is split using delimiter string s3.amazonaws.com which fails when the url specifies a region i.e. s3.us-east-1.amazonaws.com
As a result, match thinks there are no files in s3 and tries to recreate certificates. This fails when readonly: true, and it also creates Profile-Cert mismatch when readonly: false

Github Issues:
match nuke fails with deleting from S3
match always creates new certificates for appstore, fails on readonly [XCode 11]
Description

Uses correct bucket_name variable in helper/s3_client_helper.rb
Use object.key instead of parsing public_url in S3Storage
For delete_files in S3Storage, passes prefixed working directory

Adds spec/helper/s3_client_helper_spec.rb
Adds match/spec/storage/s3_storage_spec.rb
Added tests for methods #find_bucket! and #delete_file for integration and behavior
Since delete_file is called per-file, opted to use bucket.object(key) vs bucket.objects[key]
Testing Steps

bundle exec rspec
Tested locally on machine against local fastlane setup - was able to successfully run match nuke development
Tested locally on machine against local fastlane setup - was able to successfully run match development and match development --readonly true

@googlebot I signed it!

@youngern Thanks so much for this contribution! I was hitting these errors and it was driving me crazy. Very excited to use this to get my deployment scripts working again 👍


Open WebUI config resets on restart

From the wiki:

You can configure Open WebUI in three ways:

Via WebUI itself: changes are saved in the webui/config.json file, Harbor may override them on restart

Copy config changes to the webui/configs/config.override.json in order to persist them over Harbor's default config

Is this really how it should be or maybe there's something I don't understand (wchich absolutely may be the case 😉). If I want to make the changes made via UI persist after restart, I should make a copy of my settings first? If so, that's really inconvenient as I'd like to be able to regularly change some settings in the UI and I can't be trusted with remembering to merge the files 😉 Is there a reason it's designed this way in Harbor?
Besides, I thing the path changed as there isn't a webui/config.json file.

Hey 👋
Thanks for trying out Harbor. The overwrite is applicable only to portions that are pre-configured by Harbor (Web RAG, TTS, Image Generation, embeddings), in such cases using an override config is a current workaround.  For API connections - see openai in the config.
You can find the final config created by Harbor in the webui workspace for reference (webui started renaming it to config.old.json a few months ago, I'll refresh the docs soo), to see if it contains anything that you also want to adjust manually.
Ideally, we want to have a bidirectional config bindings, but that'd require a pretty deep involvement with WebUI internals, which is hard to justify at this stage.


Training on synthetic data

Hi,
I was experimenting with synthetic data of metal parts and here is the example from the training:

The mask shows some scratches but I believe the light reflection is being treated as anomaly.

Based on your current visualization results, we guess that this may be due to the defects being too subtle. The scale of illumination variation in the current samples might be greater than the actual difference between the anomalous and normal regions. For the examples of anomalies that can be detected by our algorithm, you may refer to the MVTec AD, VisA, MPDD, and WFDD datasets.

Undestand. Am I correct to assume that GLASS only needs "good" data with no defects from various angles to effectively detect anomalies during inference?
I am just experimenting with synthetic data that are only good

Close to correct! Based on the academic definition of anomaly detection, the training of GLASS is conducted utilizing only "good" data. During the inference stage, GLASS should have the ability to detect any samples without the limitation of defect types.


Reorganize imports not working

Putting reorder_imports = true into rustfmt.toml doesn't make rustfmt reorder imports.
You can try this by cloning euclider, running cargo fmt -- --write-mode overwrite --verbose and looking at lines with use in file src/universe/d3/entity/surface.rs.

I think it's intended to sort the used items in one line
use mod::{c, b, a};

becomes
use mod::{a, b, c};

Thats how I read the source, which I was looking at because I'd thought the same as you (that it should sort the use lines in a source file) earlier today.

That explains it. I would really like to have an option to order the lines, too.

Yes, me too - well, this is an issue. If you re-title to "Add reordering of use statements" or something like that, then you can make it a feature request rather than a bug report?

That is #298. I think everything here either works or is covered by #298, so I'll close this issue. Please feel free to re-open if there something not covered.


calyx-py testing

Fixes #1509.

We can do that if you open an issue describing the bug you're running into. The program should work with either icarus or verilator. A litmus test is running it with the interpreter and seeing what it reports

Gotcha, that issue is #1520

Testing is failing because the cycle counts differ. I am working on changes that will strip cycle counts.


Fix revit threading

Revit was syncing before with its current thread. This behavior changed when syncing with the Main thread became the default. I overridden it to the current thread.

Should we be implementing our own Revit sync to thread, implemented using APIContext.Run. I foresee we'll need to do this for receive if not also for sendd.

Should we be implementing our own Revit sync to thread, implemented using APIContext.Run? I foresee we'll need to do this for receive if not also for send.

Hmm, don't know yet the difference using the current thread or APIContext.Run. We can consider this when we start to implement revit receive


Fixes spelling error in WSSecurityCert-section.

Changed the word 'succefully' to 'successfully'

Coverage remained the same at 93.038% when pulling 2d84214a12466933db360b72608db143706454ae on viktorlarsson:master into 5dbcb1d715843310c799419f260e0962722cd2fb on vpulim:master.

Coverage remained the same at 93.038% when pulling 2d84214a12466933db360b72608db143706454ae on viktorlarsson:master into 5dbcb1d715843310c799419f260e0962722cd2fb on vpulim:master.

Coverage remained the same at 93.038% when pulling 2d84214a12466933db360b72608db143706454ae on viktorlarsson:master into 5dbcb1d715843310c799419f260e0962722cd2fb on vpulim:master.

thanks 👍


Base table or view already exists: 1050 Table 'marate' already exists

I have this error when i install
[PDOException]
  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'marate' already exists

Hi,
What is the version of composer do you use?
Which DBMS do you use? SQLite, PostgreSQL or MySQL?

I am using Mysql and  Composer 1.6.3

I can not reproduce this issue :

I downloaded composer 1.6.3 in my DOCUMENT_ROOT directory
I created a database that I named g6k
I created a user g6k with all global privileges
and i ran php -d memory_limit=-1 composer.phar create-project eureka2/g6k simumysql/
see : install_g6k.log

Can you delete the databases "demo" and the one you created, restart the installation and show me the trace of the installation?

I have already tried this, the error occurs  in the first installation as well.

can you access the administration interface? http://localhost/simulator/calcul/admin

I cannot, it tells me that I do not have the demo. (my guess is because it is simply not present in the database)

I cannot, it tells me that I do not have the demo. (my guess is because it is simply not present in the database)

fixed in version 3.3.0


Load a Project from a Manifest

Overview
I have a package manifest, I would love to be able to load it via Project.from_manifest(manifest: ethpm.PackageManifest) -> Project
Specification
In the ape namespace, there is a class re-import of ProjectManager called Project, so we would add a method from_manifest that would be able to load from a manifest type.

Upon further investigation, it turns out that the internal structure of the project manager isn't set up well to replicate this type of use case. Here is one suggestion for a set of changes to make in order to better support these kinds of use cases:

Use ProjectType sub-types (ApeProject, BrownieProject, etc.) to parse out a manifest from dependencies (assuming they are not going to change)
Change ProjectManager to be a superclass of ApeProject, and add methods for managing an active local project's cached manifest
Replicate structure of a project with dependencies by having each dependency be a ProjectType with a finalized manifest that the local ProjectManager can work with

NOTE: Only ProjectManager superclass can mutate it's encapsulated project. Dependencies would recursively build a final manifest for themselves (e.g. dependencies of dependencies would build a finalized manifest including linking extra manifests) so that the local project was working against a final set of dependency files
NOTE: A ProjectManager may not actually have any local contracts/ files to work with, which is okay. ethPM supports this use case of dependency-only manifests (which we can store in local cache, but never deploy)
Dependencies
n/a

We can actually achieve pretty straightforwardly by adding a method to ProjectManager. I am not sure about the proposed changes.

The part about ProjectManager being a super-type of ProjectAPI may not be needed.
What are you calling ProjectType is currently called ProjectAPI - can name it whatever though...
Dependencies already just-about this way, only with a lot more steps.

Plugins, like compiler implementations, are driven by config values. For example, you setup remappings there and even compiler versions.
Somehow, those needs to be captured and used without the need of config_manager in order to have several instances of ProjectAPI classes without switching the active project context.

What are the types of thing you would do with the project you get from Project.from_manifest()?

Load a project from a file on disk (as mentioned, using a data file from package resources)
Fetch a contract type or dependency from that package

I am definitely for not making it more complex than it needs to be, probably not the greatest to try to redesign the system if it's not exactly broken (just works differnetly from what I expected)
Most important thing is to be able to load a project from a cached manifest on-disk and get contract types from it without having to recompile anything (this is part of the reason why I had the JSON file compiler built into core)


Closes softlayer/sl-ember-components#750

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Added Husky (prettier and eslint)

Pull Request Title
Added .Husky
The eslintrc.js currently is less strict.
Thank you for contributing to our project! Please provide a summary of your changes and reference any related issues below.
Issue Number: Fixes # (issue number)
🛠 Type of Change

[ ] 🐛 Bug fix
[ ] ✨ New feature
[ ] 🚨 Breaking change
[ ] 📚 Documentation update

✅ Checklist
To ensure a smooth review process, please check off each item as you complete it:

[✅] Code Style: My code adheres to the project’s style guidelines.
[✅] Self-Review: I have reviewed my own code and made improvements.
[ ] Comments: I’ve added comments to explain complex or non-obvious parts of the code.
[ ] Documentation: I’ve updated the documentation to reflect my changes.
[ ] Warnings: My changes introduce no new warnings.
[ ] Tests: I’ve added tests to verify that my changes work as expected.
[ ] Passes Locally: All new and existing unit tests pass on my local machine.

We appreciate your contributions! If you have any questions or need further assistance, feel free to reach out.

@ArpitBlagan You branch have merge conflicts
And prettier and eslint already exists
You can now only add husky and can modify the code

Hi @ArpitBlagan,
Could you please pull the latest changes and resolve the conflicts? Since you've already raised this pull request and Husky is needed for the workflow, it would be great if you could fix the conflicts so that @cb7chaitanya can merge this PR as soon as possible.
Having Husky in place will help us avoid minor issues related to linting and formatting, as these checks will become part of the Git commit and push hooks. This will ensure that any incorrect or minor linting issues are caught early on and don’t get committed.
Thanks for your help!


[Feature Request] More Extensions.

What is the idea?
Feature request BoxBilling use to have Affiliate extensions.
https://github.com/boxbilling/extensions/tree/243bc3be9184497189387a20f00d3f1d36735b19
As you can see here, this would be nice.
Why would this be beneficial
Benefits Everyone

I don't think we should maintain the affiliate extension. In my personal opinion we can even drop so many existing extensions in the extension repository and let interested community members adopt the useful ones and maintain them in the future.
We're already working hard on the core. I just don't think the volunteering team is big enough to maintain all those extensions. Same goes for most of the server managers except cPanel and Plesk. They can be maintained externally by other volunteering teams in the community.
So I'm going to close this issue if nobody replies in a few days. Thanks for your interest.


Will be able to use  Ollama local api?

Will be able to use  Ollama local api?

I haven't researched how the ollama api works for multimodal models. But in the future, I definitely hope to add support.

Thank you. Come on.

It's actually very easy and simple: you can choose between
llava:13b                       	e3b7997801dc	8.0 GB	or
bakllava:latest                 	3dd68bd4447c	4.7 GB
so, why not start supporting this straight (?)!  Best

Merging with #17


Use variables for code owner

As the code owner can now be a dynamically named user, always running as the build user would not make sense.
Instead, use the new functionality introduced in #48 to chown files to the new code user and run commands as them as well.
Incorporates #47

This has been rebased on top of the latest master

🚀


Operating Systems Applied To Confusion

The article says at the top:
Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows 10, Windows 8.1, Windows 7
No mention of Server 2008.
However, in the body of the article it says:
Recommended Audit Policies by Operating System
This section contains tables that list the audit setting recommendations that apply to the following operating systems:
Windows Server 2016
Windows Server 2012
Windows Server 2012 R2
Windows Server 2008
Windows 10
Windows 8.1
Windows 7
Does the article apply to Windows Server 2008? Also, where is 2008 R2?
Thanks!
John

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

ID: 8ba42209-cc0a-d257-5566-a101d91b89ea
Version Independent ID: 7973c0ca-3afd-619f-a08e-43873f2e8dbf
Content: Audit Policy Recommendations
Content Source: WindowsServerDocs/identity/ad-ds/plan/security-best-practices/Audit-Policy-Recommendations.md
Product: windows-server
Technology: ad-ds
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Yes same recommendations for 2008R2

#please-close

Conclusion: The entirety of the article applies to supported versions of Windows client and server OS versions.
The individual audit setting recommendation tables also apply to the unsupported OS version 2008, but only for reference and because the settings are the same.

#please-close


In matrixdynamic, translated text in other languages disappear when modified text from the Survey Builder

Are you requesting a feature, reporting a bug or asking a question?
I am not sure whether this is a bug or  my mistake.
What is the current behavior?
I have the "matrixdynamic" question with the translated text in "es" and "en" for both question name and column (I prepared the survey by editing JSON directly). Below is the JSON for my survey as you can see the "title" field of Column is an Array.
{
 locale: "en",
 pages: [
  {
   name: "page1",
   elements: [
    {
     type: "matrixdynamic",
     name: "question3",
     title: {
      es: "question"
     },
     columns: [
      {
       name: "Column 1",
       title: {
        es: "Column ES",
        en: "Column EN"
       },
       cellType: "text"
      }
     ],
     choices: [
      1,
      2,
      3,
      4,
      5
     ],
     rowCount: 1
    }
   ]
  }
 ]
}

When I used the Survey Builder to modify the "column title" in "es" language, the text in "en" is disappeared. The "title" field of that column became a String "XXX", thus my "en" column title is disappesred.
{
 locale: "es",
 pages: [
  {
   name: "page1",
   elements: [
    {
     type: "matrixdynamic",
     name: "question3",
     title: {
      es: "question"
     },
     columns: [
      {
       name: "Column 1",
       title: "XXX",
       cellType: "text"
      }
     ],
     choices: [
      1,
      2,
      3,
      4,
      5
     ],
     rowCount: 1
    }
   ]
  }
 ]
}

What is the expected behavior?
The changes I made in "es" should be only for "es" and it should not replace text in "en".
How would you reproduce the current behavior (if this is a bug)?

From Survey Designer tab, having the "en" language selected, the survey is displayed in English (with the above JSON)
Clicked on "Survey Settings" button, and select "espanol" from "Default language" field. Click OK.
The Survey is displayed in Spanish
Modify column title to be "XXX". Click OK.
Check the JSON Editor tab, the title field became String "XXX"

Specify your

browser: Chrome
browser version: 65.0.3325.181
surveyjs platform (angular or react or jquery or knockout or vue): Angular
surveyjs version: 1.0.37

@tbdteam The unit test, that reproduced the bug, has been added and fixed.  It works fine now.
Thank you,
Andrew


Support Chinese

My Chinese client looks like this

I switched the game client to English and the name of the store item appeared normally

I wish this mod could support Chinese，thank you！i love this mod.

It's a problem with how the server returns the names.


[wip] test e2e

Provide a description of what has been changed
Checklist

[ ] When introducing a new scaler, I agree with the scaling governance policy
[ ] I have verified that my change is according to the deprecations & breaking changes policy
[ ] Tests have been added
[ ] Changelog has been updated and is aligned with our changelog requirements
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[ ] A PR is opened to update the documentation on (repo) (if applicable)
[ ] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #

Relates to #

/run-e2e opentelemetry

/run-e2e cloudevent

/run-e2e sequential

/run-e2e


Write tests for type conversion

What
We have a pretty comprehensive type conversion framework to convert between DataFusion and Postgres types, but there are no tests in place for the more complex types.
Why
Type conversion determinism.
How
Test suite!

Closing these as we're archiving this repository for good


mochajs/mocha#4684

mochajs/mocha#4684mochajs/mocha#4684
Originally posted by @jdaykin454 in https://github.com/paypal/paypal-sdk-client/issues/83#issuecomment-873509225

paypal/paypal-sdk-client#83 (comment)


Error for the China region (incorrect partition)

Bug in China region:
updating IAM Role (role-name): attaching IAM Policy (arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole) to IAM Role (role-name): operation error IAM: AttachRolePolicy, https response error StatusCode: 400, RequestID: 9446ecac-...........-1070f726ffb6, api error ValidationError: Invalid ARN partition
Should be China partition: arn:aws-cn:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole

Sorry for the delay. Ill will fix.

Thanks a lot. Please could you update version in the terraform registry: https://registry.terraform.io/modules/cruxstack/s3-zip-uploader/aws/latest

Done.


Can this library be used in java project?

Hi. I your library look great. But seems like its written in kotlin. But my project is in java can I use this library in my project?

Yep, you can use.

ERROR: Failed to resolve: com.github.ibrahimsn98:NiceBottomBar:1.8.0
Show in Project Structure dialog
Affected Modules: app
any help ?
another question : is it possible to change the position of the line indicator ? I want it to be above not below

Hey Luis,

First the gradle error could be cause because of connection issue or because you enabled offline mode in Android Studio setting.

And yes you can choose the position of the indicator (above or bottom) using xml or code

No documentation for how to use in java?


[FIX]CMakeList: select correct python version

Previous way to find python will find all python versions in the environment(include py27, py36, py38...) and take the default python to make project, while we need py38 for current project.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[backport] tls: SNI-based cert selection during TLS handshake

Envoy supports selecting certs by selecting filter chain based on SNI. But it is possible that we access different services via one filter chain, which requires SNI-based cert selection in one single filter chain during handshake.
Signed-off-by: Luyao Zhong<EMAIL_ADDRESS>Additional Description: This is part of TLS bumping, already merged to official Envoy https://github.com/envoyproxy/envoy/pull/22036, we need to backport to intel repo.

@poussa pls take a look


Saving large amounts of data is extremely slow with new Transactions?

DBFlow Version: 3.0.0-beta6
Issue Kind (Bug, Question, Feature): Question
Description: It is possible in my app to have to store several thousand models at once. I followed the docs and came up with this to save my models. It is taking 20+ minutes to save all of the data.
FlowManager.getDatabase(AppDatabase.class)
                .beginTransactionAsync(new ProcessModelTransaction.Builder<> (
                        new ProcessModelTransaction.ProcessModel<Model>() {
                            @Override
                            public void processModel(Model model) {
                                model.save();
                            }
                        }).addAll(modelList).build())
                .error(new Transaction.Error() {
                    @Override
                    public void onError(Transaction transaction, Throwable error) {
                        Log.e(TAG, "Database transaction failed.", error);
                    }
                })
                .success(new Transaction.Success() {
                    @Override
                    public void onSuccess(Transaction transaction) {
                    }
                }).build().execute();

Something is definitely not right. In 3.0.0-beta5, saving the exact same data would only take ~3 minutes by doing this:
TransactionManager.getInstance().addTransaction(new SaveModelTransaction<>(ProcessModelInfo.withModels(modelList)));

Any help would be appreciate!

Quick questions: Are you using any kind of ConflictAction? Also can you specify your table that you're using here, so I can profile it. Thanks!

@agrosner No, I'm not using any kind of ConflictAction. My database has around 50 tables in it, and the models that I am loading are a mix of most of them. I'm also populating helper tables to create relationships between models. Is there anything is particular that you are looking for?

Are you possibly doing anything else with DB on different thread while this executes?

It's plausible some of that is due to this line:
 Transaction.TRANSACTION_HANDLER.post(new Runnable() {
                    @Override
                    public void run() {
                        if (processListener != null) {
                            processListener.onModelProcessed(finalI, size, model);
                        }
                    }
                });

If should check if listener engaged outside the ProcessModelTransaction instead. So we're probably overloading the Main thread with unused calls here.

I wrote a test that simply saves 10000 models at a time reverses the check simply reverses the if condition:
if (processListener != null) {
                    Transaction.TRANSACTION_HANDLER.post(new Runnable() {
                        @Override
                        public void run() {
                            processListener.onModelProcessed(finalI, size, model);
                        }
                    });
                }

Doing this on running JUNIT4 on my machine, cut execution time down by 33% at least. this might be more on a mobile device.

in develop. I won't close this until it's tested more.

should be faster now.

@agrosner Awesome! Thank you so much


Http header case should be preserved.

Currently all headers are lower cased, e.g. Content-Type -> content-type.
I know that headers are case insensitive, but they should be case preserving.
Some faulty servers depend on a certain case and it would be nice to echo back exactly what was sent.

I've pushed a test tag to Docker Hub. It seems that Node does a dedupe, processing, combining and lowercasing of the headers, so it seems to be very much on purpose. In the code I'm doing some matching on the headers in rawHeaders hopefully it mostly matches up.
To test it
docker run -e PRESERVE_HEADER_CASE=true -p 8080:8080 -p 8443:8443 --rm -t mendhak/http-https-echo:issue-67-68

Tag :34 is now pushed to Docker Hub and Github


Add getKeyIdentifier() methods to signature subpackets

I've merged this one in, but I've also done some refactoring to move KeyIdentifier to the bcpg package - one thing to watch with bcpg is we should keep org.bouncycastle.openpgp dependencies out of it as people also use it stand-alone (or at least have in the passed, and knowing our luck still are...). A side effect of this is that KeyIdentifiers are now set up when a PGP public key is constructed as well, so getKeyIdentifier() should return the same object.


Should Aside be used for the sidebar?

I was reading an article yesterday about the HTML5 document outline and noticed that the person wasn't using Aside for a sidebar, which I thought was odd, then I did some digging into it and learned that there are good reasons to not do so:
http://codepen.io/mi-lee/post/an-overview-of-html5-semantics
"The most common misconception of how this element should be used is for the standard sidebar. While there is usually a degree of relation between sidebar content and the content in an article, it is not enough to be considered fit for an . Navigation, ads, search boxes, blogrolls and so on are not directly related to the article and therefore do not justify the use of an ."
http://codepen.io/mi-lee/post/an-overview-of-html5-semantics
"a sidebar - it should not belong to the main outline of the HTML doc and aren’t usually rendered by assistive technologies"
Based on those two posts, I wonder if using  in the context of a sidebar is correct. It doesn't seem like it is a major problem, just a minor concern at the very least.

@LukePettway you make great points here. Would you suggest <section> in place of <aside>?

html <section>  might work, or even just a html <div id="sidebar">  would be fine. Oddly enough Twenty Sixteen uses an aside, so I guess it isn't such a big deal but just because they are doing it that way doesn't mean it is correct.

@olefredrik @Aetles @josh-rathke any input on this?

Not really. Based on the Codepen article and comments it seems like <aside> is meant for those little boxes of additional information that is related to an article, rather than the entire sidebar. So based on that it seems like we should change it. But as LukePettway notes, WP is using it in Twenty Sixteen, so maybe it's not that wrong?
I usually look at Underscores whenever I need guidance an they are using <aside> as well in their sidebar.php. It seems like there was a discussion about using <aside> for the entire sidebar instead of each widget area. That lead me to the discussion about the same thing in Twenty Sixteen and it seems like the consensus (even though there was an objection) was that <aside> was going to be used for the entire sidebar.

I really don't have a strong opinion about this, either way. Both <aside> , <section> and <div> will work I guess.


Add uv mapper tools

Hello Babylonjs team
Here is a PR that port blender smart uv project script.
It allows uv mapping arbitrary meshes, to a choosen uv set.
Most of the port was made by @CraigFeldspar, except the box packer algorithm that i ported.

OMG this is a massive PR :)
can you tell me more about the use? like an example on how to use it? Best way is probably to craft a doc page for the feature :)


Builtin util for mounting UI's in content scripts.

Feature Request
Use @webext-core/isolated-element internally. Add another option to cssInjectionMode, "shadowRoot", that will automatically handle applying the style inside the created shadow root.
function mountContentScriptUi<T>({
  type: "inline" | "overlay" | "modal";
  overlayAlignment?: `${"top" | "bottom" | "center"}-${"left" | "right" | "center"}` | "center"
  append?: "add" | "replace" | "before" | "after" | (anchor: HTMLElement) => void;
  anchor?: string | HTMLElement | (() => string | HTMLElement)
  mount: (container: HtmlElement) => T;
  onRemove?: (mounted: T): => void;
  styles?: string;
  attrs?: Record<string, string>;
  zIndex?: number;
}): Promise<{
  shadowHost: HTMLElement,
  container: HTMLElement,
  shadow: ShadowRoot,
  mounted: T,
  mount: () => void,
  remove: () => void,
}>;

Is your feature request related to a bug?
N/A
What are the alternatives?
N/A
Additional context

#138
https://webext-core.aklinker1.io/guide/isolated-element/

We should also add the content script CSS files to the manifest's web resources automatically.

Released in v0.7.1


Geist Finance Fantom (Schema Version 2.0.1, Subgraph Version  1.03, Methodology Version 1.0.0)

External QA
Creating the issue here to be tracked formally
https://docs.google.com/spreadsheets/d/1af6TL6xYhpc2sVLeuZl7dfvJ0kYE6wC7/edit?usp=sharing&ouid=103569210260619064040&rtpof=true&sd=true

Key issues:

Revenue may need a second look in order to properly calculate (https://docs.geist.finance/#what-is-geist)
Liquidate issues should be fixed in #834
Must've read the numbers wrong on accident, liquidators is 55 which is reasonable
I am not seeing any numbers for dailyActiveUsers, but i see nothing wrong w the subgraph logic
Actually deposit rewards looks accurate and borrow rewards are way under the listed APR
rates LGTM
Remove stables
isActive / canBorrowFrom / canUseAsCollateral are fixed in a prev PR
LTV / liq penalty are correct
look into events

When comparing our total revenue to Geist's "Platform Fee" we are about $17mm short.. I am talking to their team over discord to understand how they calculate it to see if there is any discrepancy there.

Here is what i think:

The protocol fees are distributed amongst GIST stakers and lockers. When it is removed before 3 months, there is a 50% penalty which is distributed amongst the remaining stakers/lockers. I think the frontend may be double counting that. I noticed that most dates their revenue tracks our subgraph. Every few days their front end has 50-100K more. This redistribution is not observed in AAVE V2, which makes me think this way.
Alternatively, if it is our fault. Is there any limit to how much the subgraph is reporting for revenue?

I am further investigating that 5M revenue spike. Tryign to see which pool it is in and what events may have led to that.

@ishraq8
I think you are right here, and to confirm this I heard back from the GEIST team and they said the platform fee displayed on their website comes from... "apparently they check the events for transfers of gtokens to the staking contacts and that comes up with the platform fee numbers"
2- I mean the only limit is the data on chain from geist protocol. And the revenue is calculated the exact same way as aave v2 here. But after our discussion on this i am pretty confident this is not an issue.

90% sure i found the revenue spike issue, and it affects all aave v2 subgraphs, so I will make a separate PR and start syncing those in my hosted service

Will this effect the revenue on other aave v2 deployments. I can run a quick QA on those to double check. The data there was accurate.

in theory it should not change it by more than $10, geist CRV is an exception.
However, this change would be the proper way to do it

Going to leave the above alone! And I fixed the revenue spike (you can see here https://subgraphs.messari.io/subgraph?endpoint=https://api.thegraph.com/subgraphs/id/QmPqAh6gnNdcvC7aHwtbK8rzHyZkjhJuyQEpDKuQFqyigx&tab=protocol)
once the fix is merged it will graft to the main one and you can do a final check @ishraq8 !

in theory it should not change it by more than $10, geist CRV is an exception.
However, this change would be the proper way to do it.
cc @this-username-is-taken / @ishraq8 thoughts on leaving Aave v2 alone, and the change would affect the next aave v2 deployment. But the difference will be so small that it is not worth it to resync right now?

agreed!


Enhanced Azure Chat App Infrastructure for Standalone and ALZ Deployments

This pull request incorporates the latest changes to our Azure chat application infrastructure, aligning with both standalone and enterprise-scale deployment scenarios. Significant work has been done to ensure the reference implementation adheres to security, scalability, and resource governance best practices.
The changes involve:

Introduce new deployment scenarios, enhance security posture, improve high availability setup, and broaden compatibility with existing Azure Landing Zone (ALZ) architecture.
Removing redundant configurations and streamline the resource deployment process.

The modifications span across multiple Bicep files associated with various Azure resource deployments and configurations. Here's a summary of changes in critical files:
Main Bicep File (infra-as-code/bicep/main.bicep):

Introduced parameters to support integration with existing Private DNS Zones.
Added optional logic to include existing DNS servers, firewall, and NVA IP addresses for Enterprise-Scale ALZ deployments.
Updated subnets and associated network security group configurations.

Container Registry Bicep File (infra-as-code/bicep/acr.bicep):

Zone redundancy configuration now allows for "Enabled" or "Disabled" settings, based on availability zone support.
Added conditional deployment logic for creating private endpoints only when specified, including tying to existing DNS Zones if present.
Simplified parameter names, improving readability and maintainability.

Key Vault Bicep File (infra-as-code/bicep/keyvault.bicep):

Enhanced the DNS Zone integration with existing private zones, allowing secure secret storage aligned with enterprise governance policies.
Applied conditional logic to support custom configurations for different deployment scenarios.

Machine Learning Bicep File (infra-as-code/bicep/machinelearning.bicep):

Streamlined integration with Private DNS Zones, allowing for simplified collaboration &ecure data science workflows within an ALZ.
Adjusted resource deployment strategy for enhanced cross-compatibility with existing infrastructure.

Storage Account Bicep File (infra-as-code/bicep/storage.bicep):

Introduce support for user-defined SKUs, including "Standard_ZRS" and "Standard_LRS", accommodating various high availability and cost requirements.
Provide options to integrate blob and file storage with existing Private DNS Zones for cohesive networking setups.

Network Bicep File (infra-as-code/bicep/network.bicep):

Refined the virtual network configuration with a structure supporting enterprise-level security and compliance standards.
Deployed route tables and network security groups that are aware of enterprise-scale controls, including firewall NVA setups.

Web Application Bicep File (infra-as-code/bicep/webapp.bicep):

Adapted the web application infrastructure to support both standalone and more complex ALZ environments.
Refined private endpoint and DNS zone configurations to harmonize with larger Azure ecosystems.

Parameter Files (infra-as-code/bicep/parameters.standalone.json and infra-as-code/bicep/parameters.alz.json):

Parameter definitions for quick-start templates tailored for either the standalone or ALZ scenario deployments.

Please review and validate these infrastructure changes. Upon approval, we can merge them into our main deployment branch, effectively rolling out these enhancements across our development, staging, and production environments as appropriate.
For detailed instructions on deployment and setup changes, please refer to the updated files in the README.md and infra-as-code directory.

Closing this, since all of this is now in https://github.com/Azure-Samples/azure-openai-chat-baseline-landing-zone


Share Brand colors

@officemoms1 can you share the brand colors here so we can use them as we start building UI.

Gray - #404040
Teal - #2FCFD9
Purple - #881FBF

Sign Up Button in the top right hand corner

Great, thanks @officemoms1!


fix: update dependency to fix keystore creation

It seems VS Code broke how the dependency loaded the webview assets

Messages

:book:

:white_check_mark: All tests are passing
Nice one! All 125 tests are passing.

:book:

:floppy_disk: Here's the built vsix for this change.

vscode-wizard
Author: Red Hat
Description: Provides Wizard APIs for use in VSCode
Homepage: https://github.com/redhat-developer/vscode-wizard#readme

Created4 days agoLast Updated4 days agoLicenseApache-2.0Maintainers1Releases1Direct Dependencieshandlebars

README
vscode-wizard

vscode-wizard is an npm module to display wizards in webviews inside VS Code.  It is a fork and large expansion in the API of vscode-page, aiming to create wizards out of a javascript object definition that includes pages, fields, validators, and option providers for combos. See vscode-wizard for more information.
This library provides an API to display wizards via Webviews in VSCode.
How to use from a VS Code extension
See https://github.com/robstryker/vscode-wizard-example-extension
How it works
To open a webview wizard, you pass a WizardDefinition into a WebviewWizard constructor as follows:
    const wiz: WebviewWizard = new WebviewWizard(webviewTitle, webviewType, yourExtensionContext, definition, new Map<string,string>());
    wiz.open();

Behind the scenes, the stub html used in the webview sets up the message communication with the extension so the webview and your extension can communicate with each other. Each field that is displayed is given an invisible error / validation label beneath it in case errors must be displayed. When a field is modified, the new value to the field is stored in a map local to the webview, and then the entire data map of all current values is sent to the extension. The extension will investigate the map, validate the data, and update the button bar (back, next, finish) as appropriate.
The definition
A webview wizard definition includes a title, a description, an array of pages, and a workflow manager.
    let def : WizardDefinition = {
        title: "Sample Wizard",
        description: "A wizard to sample - description",
        pages: [etc],
	workflowManager: { etc }

Pages
A webview definition's page consists of a title, a description, an array of fields, and an optional validator.
        pages: [
          {
              title: "Page 1",
              description: "Age Page",
              fields: [
                  {
                      id: "age",
                      label: "Age",
                      type: "textbox"
                  }
              ],
              validator: (parameters:any) => {
                  let templates = [];
                  const age : Number = Number(parameters.age);
                  if( age <= 3) {
                      templates.push({ id: "ageValidation",
                      content: "No babies allowed"});
                  }
                  return templates;
              }
            }
         ]

Page fields
A field consists of an id, a label, a type, an initial value, and some properties depending on the field type. Some field types (like types combo and select) allow for an optionsProvider callback function in case the options must be dynamically calculated. Currently supported types are textbox, checkbox, textarea, radio, select, combo, number, passwordand file-picker.
A textarea supports two properties: rows and columns. Types radio, select, and combo supports a property named options for including specific options that users can choose.
A file-picker is configured with dialogOptions which have the same structure than window.OpenDialogOptions.
Page Validators
A page validator is a callback function that will return an array of error responses. Each error response includes an id and a content, where the id should be the name of the failing field with the Validation suffix, as shown below, and the content is the error message for display to the user.
              validator: (parameters:any) => {
                  let templates = [];
                  const age : Number = Number(parameters.age);
                  if( age <= 3) {
                      templates.push({ id: "ageValidation",
                      content: "No babies allowed"});
                  }
                  return templates;
              }

Workflow manager
The optional workflow manager must be a javascript object implementing the IWizardWorkflowManager interface, which has the following list of functions:
    canFinish(wizard: WebviewWizard, data: any): boolean;
    performFinish(wizard: WebviewWizard, data: any): void;
    getNextPage?(page: IWizardPage, data: any): IWizardPage | null;
    getPreviousPage?(page: IWizardPage, data: any): IWizardPage | null;
    performCancel?(): void;

In this object, you can check the data currently in the webview map for completeness or errors in order to determine if the page is complete, if the wizard is complete, or what pages should be next based on the current selections.  Below is an example of a workflow manager in a three-page wizard, where the first page asks how old the user is, and, depending on the answer, either page 2 (favorite color) or page 3 (credit card number) is displayed.
          workflowManager: {
            canFinish(wizard:WebviewWizard, data: any): boolean {
                return data.age !== undefined &&
                (data.cc !== undefined || data.favcolor !== undefined);
            },
            performFinish(wizard:WebviewWizard, data: any): void {
                // Do something
                var age : Number = Number(data.age);
                if( age >= 18 ) {
                    vscode.window.showInformationMessage('Adult has cc number: ' + data.cc);
                } else {
                    vscode.window.showInformationMessage('Child has favorite color: ' + data.favcolor);
                }
            },
            getNextPage(page:IWizardPage, data: any): IWizardPage | null {
                if( page.getDescription() === 'Age Page') {
                    var age : Number = Number(data.age);
                    if( age >= 18 ) {
                        return page.getWizard().getPage('Page 2');
                    }
                    return page.getWizard().getPage('Page 3');
                }
                return null;
            },
            getPreviousPage(page:IWizardPage, data: any): IWizardPage | null {
                if( page.getDescription() === 'Age Page') {
                    return null;
                }
                return page.getWizard().getPage('Page 1');
            }
        }
    };

New dependencies added: vscode-wizard.

  Generated by :no_entry_sign: dangerJS against d8d1206dfafa2e0a38ae852946cd1de049750123


Connection refused

I did everything right I took the first key and put it in and did centralus and tried launching it but it didn't work. Sadge

The only thing I think it is is that a resource was require and the tutorial didnt say what to put in there.

New error https://i.imgur.com/J4tRLXX.png

I had the same issue running subtitles.html in the browser sandbox. The issue is primarily based on a Chrome update mentioned here https://stackoverflow.com/questions/55026293/google-chrome-javascript-issue-in-getting-user-audio-the-audiocontext-was-not.
Here is how I worked around it.
First off, change the code here https://github.com/Y0dax/azure-stt-subtitles-electron/blob/master/js/subtitles.js#L37 modify the event listener to listen for simple click events. This will help us initiate the microphone listening by user interaction instead of automatically kicking it off, which is what is being blocked.

Next, we need to ensure OBS enables microphone access by default when a user on a website requests for it. This will prevent the microphone access pop up on the browser kick-in, which does not show up in the OBS browser source window at all. I suggest creating a shortcut to the OBS executable and configuring that to pass on the --enable-media-stream parameter.

Now after launching OBS with the new shortcut, right-click on the browser source and select Interact.

This will open a new window where you can interact with the browser content. In our case, it will look empty because there is nothing shown in the browser yet, and that is ok. Just click anywhere in the middle of the page and it should start the microphone listening.
Hope this helps.

Thank you for the investigation and PR @daronyondem
I am going to be taking a look at your changes in the next couple days to understand why it has this issue for you and @MicroWazzle. When I wrote this some time ago it was working well using OBS Studio 64 bit, without the need for activation via click, but something might have changed. I wish OBS had better ways for enabling webcam and microphone access.


Update Index.md Minor changes

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank your for your contribution to the FreeCodeCamp Portuguese Translation, contributions like yours will help millions of users use FreeCodeCamp in their native language.
Hope you keep helping us with more contributions!


UAT | Case in scrutiny stage

Case is in scrutiny stage but no appearing in the Your cases table for advocate/complainant

"I've tried multiple times but was not able to reproduce this issue. It may have occurred because role was updated.
This is working as expected in UAT env.


Support for selectors in important options

Hi! Thanks for all the updates.
It seems adding important: '#app' to the Tailwind config doesn't add any specificity to the classes. Same with important: true. I'm using v0.1.1.
It works as expected when switching back to tailwindcss in PostCSS file.
Thanks!

It's documented under Known Limitations already.

Yep captured as a known limitation already but will keep this open to track it. We might not actually reimplement this one for the JIT — have some better ideas for solving the same problem but will have to see how they play out.

Available in latest release! 🥳


Minor: update pbjson_dependency

Let's keep dependencies up to date
Especially since other parts of the system use pbjson 0.6.0 already: https://github.com/apache/arrow-datafusion/blob/34b0445b778c503f4e65b384ee9ec119ec90044a/datafusion/proto/gen/Cargo.toml#L34
I am not sure why this one did not

Thank you for the review @metesynnada


Resilience and AI Service

This issue discusses the resilience in AI Services and their impact on the memory/context.
Context:
I'm using Granite 7B instruct, with a relatively limited context size (2048 tokens). My prompt (user message) is relatively large.
I was using @Retry on the IAService method, as the model misbehaves sometimes, and retrying improves reliability (the response time is not a factor in my context).
My AI Service calls are part of an HTTP request processing, so they are part of the request scope associated with the HTTP request.
Problem:
When retrying, the context grows, including multiple times the user message, which eventually exceeds the context size.
Let's try to describe it:
HTTP request ->
       - AI Service call - context=[user message] -> Failure
       - AI Service call (retry) - context=[user message, user message] -> Failure
       - AI Service call (retry) - context=[user message, user message, user message] -> Failure, because of context size exceeded (unrecoverable)
       -   AI Service call (retry) - context=[user message, user message, user message, user message] -> Failure, because of context size exceeded (useless, it's not recoverable)

While my issue was on a @Retry, it may happen when using @CircuitBreaker, and so on.
Some ideas:

We could imagine a way to manipulate the context when a retry is executed so we would not append it multiple times. However, SmallRye Fault Tolerance does not have this capability yet. We could inject an ID into the call to detect that.
We could handle retry in the chat client. The problem is that we would also need rate limiting and circuit breakers, which would duplicate a lot of complex code.

We could handle retry in the chat client. The problem is that we would also need rate limiting and circuit breakers, which would duplicate a lot of complex code.

I am wondering if we can behind the scenes "move" the resilience declared on the AiService to the underlying client...

From the Zulip discussion, another interesting idea is https://github.com/smallrye/smallrye-fault-tolerance/issues/259

shouldn't the state used to do a call avoid being mutated before the call has been completed? wouldn't that avoid the "growing" ?

So you are essentially proposing that the chat memory only be added to when the call succeeds, right?
That could potentially work...

That could potentially work...

It's actually a lot trickier than I thought because there are potentially multiple API calls that go into implementing an AI service and that add (and even remove) to / from memory

https://github.com/quarkiverse/quarkus-langchain4j/pull/764 fixes this