chore(deps): update terraform terraform-ibm-modules/event-streams/ibm to v3

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/event-streams/ibm (source)
module
major
2.4.0 -> 3.1.1

Release Notes

terraform-ibm-modules/terraform-ibm-event-streams (terraform-ibm-modules/event-streams/ibm)
v3.1.1
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/kms-all-inclusive/ibm to v4.18.2 (#359) (b034237)

v3.1.0
Compare Source
Features

Root module updates:

existing_kms_instance_guid is no longer a supported input. The code will now parse the GUID from the KMS key CRN
added new input use_same_kms_key_for_backups to give more control over KMS key usage
kms_encryption_enabled has been renamed to use_ibm_owned_encryption_key

fscloud submodule updates:

added new inputs use_default_backup_encryption_key and use_same_kms_key_for_backups

DA updates

Removed the input existing_backup_kms_instance_crn. If you want to use a different KMS key for backups, you can use the existing_backup_kms_key_crn input to use an existing key. The DA only supports creating an new key that will be used for both data and backups encryption.
The skip_iam_authorization_policy input has been renamed to skip_es_kms_auth_policy
If passing a value for ibmcloud_kms_api_key, and creating a KMS auth policy, that policy will now be scoped to the exact KMS key.

(#351) (e7598e2)
v3.0.2
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#357) (349c80e)

v3.0.1
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#355) (ff35a97)

v3.0.0
Compare Source
Features

Support has been added for adding and removing a topic and quota at any index of the topics and quotas input variable lists. Previously, it was only possible to add or remove topics and quotas at the end of the list. (#350) (4bcbef5)

BREAKING CHANGES

When upgrading from a previous version, if you configure topics, run the following Terraform move commands based on your environment to avoid recreating the topics:

Terraform CLI
terraform state mv 'module.<module-name>.ibm_event_streams_topic.es_topic[<index of topic-name-1>]' 'module.<module-name>.ibm_event_streams_topic.es_topic["<topics-name-1>"]'
...

Schematics
ibmcloud schematics workspace state mv --id  --source 'module..ibm_event_streams_topic.es_topic[]' --destination 'module..ibm_event_streams_topic.es_topic[""]'
...

Similarly if you configure quotas, run the following commands:

Terraform CLI
terraform state mv 'ibm_event_streams_quota.eventstreams_quotas[<index of quota-entity-1>]' 'ibm_event_streams_quota.eventstreams_quotas["<quota-entity-1>"]'
...

Schematics
ibmcloud schematics workspace state mv --id  --source 'ibm_event_streams_quota.eventstreams_quotas[]' --destination 'ibm_event_streams_quota.eventstreams_quotas[""]'
...

v2.11.1
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#346) (df07d54)

v2.11.0
Compare Source
Features

added mirroring support. It can be used with the new optional inputs mirroring and mirroring_topic_patterns. NOTE: This is only supported with enterprise plan instances. (#327) (8503424)

v2.10.2
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cbr/ibm to v1.29.0 (#344) (4047da9)

v2.10.1
Compare Source
Bug Fixes (#343) (c020da9)

fixed bug where the format of the config option in the topics input variable was incorrectly set to object({}). It is now correctly set to map(string).

Upgrade note
If upgrading from a previous version, an update in place will be done on the topic config.
Previously the behaviour was:

Topic is created without the values for the config, so the topic has the default config values
Topic is upgraded with the config values, but because this was object({}) none of those were used, and the topic config is unchanged.

New behaviour:

Topic is created without the values for the config and gets default values
Topic is upgraded, and now because it's map(string) the properties are used, and the topic config changes

v2.10.0
Compare Source
Features

added support to set a schema global compatibility rule using new input schema_global_rule. Feature is only valid for enterpirse plan instances. Allowed values are NONE, FULL, FULL_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, BACKWARD, BACKWARD_TRANSITIVE. (#342) (ffa36e7)

v2.9.1
Compare Source
Bug Fixes

fixed the kafka_brokers_sasl output (#341) (59754d9)

v2.9.0
Compare Source
Features

added support to apply quotas using new input quotas. Feature is only valid for enterpirse plan instances. (#337) (8532c3f)

v2.8.1
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#338) (87648a1)

v2.8.0
Compare Source
Features

added support to activate metrics using new metrics list input variable. The list can contain the following allowed values: "topic", "partition", and "consumers" (#319) (097ca90)

v2.7.2
Compare Source
Bug Fixes

updated required IBM provider version to >= 1.70.0, < 2.0.0- updated CBR module to 1.28.1 (#315) (51e8961)

v2.7.1
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#332) (6653fd0)

v2.7.0
Compare Source
Features

update to use parameters_json for provision parameters in order to support more complex provision parameters in the future. NOTE: This will cause a non disruptive update in place on your instance if upgrading from an older version of the module. (#325) (88d2e35)

v2.6.0
Compare Source
Features

added support for access tags (#320) (4356437)

v2.5.2
Compare Source
Bug Fixes

deps: update terraform ibm to latest for deployable architectures (#317) (1aab493)

v2.5.1
Compare Source
Bug Fixes

fixed the kafka_brokers_sasl output so it doesn't depends on topic creation (#323) (246727d)

v2.5.0
Compare Source
Features

added support to create service credentials + fixed bug in fscloud submodule (#312) (9586187)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline


OpenAITextGenerator.init() got an unexpected keyword argument 'api_base'

When I use an OpenAI Compatible Endpoint, I get an error 'OpenAITextGenerator.init() got an unexpected keyword argument 'api_base''
How should I handle this error

I am also getting the same error . I checked there code 'api_base' have been removed from the class  OpenAITextGenerator(TextGenerator)

It was removed, yet the README.md file shows the api_base as a usable option. I think it should either be removed from readme or put back...

Same error trying to use offline model (LM Studio at http://localhost:1234). Two workarounds:
Really Bad Way: Edit OpenAI class definition (_client.py) to change base_url default value
FROM base_url = f"https://api.openai.com/v1"
TO base_url = f"http://localhost:1234/v1"
Less Bad Way: Edit OpenAITextGenerator class definition (openai_textgen.py) as follows:

In def init()
ADD base_url: str = None,
In self.client_args ={}
ADD "base_url": base_url,

The Really Bad Way got past the initial error but created new problems. The Less Bad Way worked with no errors. I am not a professional and welcome feedback/instruction on how to craft a more appropriate comment.


Fix blocking query example

SourceQueryClient#getInfo(address) returns CompletableFuture<SourceQueryInfoResponse>, therefore getResult() is required to retrieve the SourceServer object from the response.

Thank you!


drivers: spi: mark old spi_cs_control fields deprecated

Since gpio_dt_spec is finally available within spi_cs_control struct, mark the old fields deprecated in order to use gpio_dt_spec struct.
Depends on https://github.com/zephyrproject-rtos/zephyr/pull/37498 and https://github.com/zephyrproject-rtos/zephyr/pull/39341
Signed-off-by: Jordan Yates<EMAIL_ADDRESS>Co-authored-by: Jordan Yates<EMAIL_ADDRESS>Signed-off-by: Bartosz Bilas<EMAIL_ADDRESS>Co-authored-by: Bartosz Bilas<EMAIL_ADDRESS>

This is a stable API change.

This is a stable API change.

I am not sure I get this. We are deprecating structures, how is that a stable API change? By definition we call a Stable API change one that does not follow the standard deprecation process.

I am not sure I get this. We are deprecating structures, how is that a stable API change? By definition we call a Stable API change one that does not follow the standard deprecation process.

Exactly my point. This change needs to follow the process for changing a stable API as described here: https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#introducing-incompatible-changes

I am not sure I get this. We are deprecating structures, how is that a stable API change? By definition we call a Stable API change one that does not follow the standard deprecation process.

Exactly my point. This change needs to follow the process for changing a stable API as described here: https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#introducing-incompatible-changes

Apologies for closing this, I clicked on it by mistake.

@henrikbrixandersen maybe there is some confusion here :) The section you linked to was introduced for the cases where one does not want to use deprecation. If you use deprecation then there's no need to follow that guide, which was designed for the cases that require skipping deprecation due to complexity.

Sorry, meant to link to https://docs.zephyrproject.org/latest/reference/api/api_lifecycle.html#deprecated.

FYI: that's not a ready MR since there is a couple of places where the old spi_cs_control members are being used but I'm periodically rebasing it and checking the buildkite results. I think DNM label should be set here...

cc @carlescufi @henrikbrixandersen issue https://github.com/zephyrproject-rtos/zephyr/issues/44956 created

In the meantime, someone has committed a new code where the deprecated members are being used... I will try to fix that soon.

@carlescufi @henrikbrixandersen hotfix #44968 ;)


fix(atomic): fixed atomic-result-image size on chrome and safari 15

https://coveord.atlassian.net/browse/KIT-1200
aspect-ratio doesn't work on Safari 14, we'd have to use Javascript. Should we support it?

Yes, v14 is quite recent 😢

If there are alternative CSS rules that could give the same result, I'd lean towards that, especially if supporting the property means adding polyfills.

The only pure CSS options I could fine required using a wrapper, which isn't possible with sections. I'll have to use JS.


Create a development branch

It might be prudent to keep active development off the master branch with a published npm module. If master always matches the latest release on npm, then visitors and potential contributors are guaranteed to be able to get a stable snapshot of the source regardless of the current state of project development.
My proposal is as follows:

A new develop branch for active development between releases. Pull requests and maintainer-driven additions happen on this branch.
A new release branch is cut from develop for each release candidate. This is for code review, bugfixes, shoring up unit test coverage, etc. As a final step before release, this branch gets the version number bump.
Once a release is complete, it is merged to master and the merge commit is tagged with the release version (e.g., v3.0.1). This tag is then merged to develop to backport any fixes created during the release process. The release branch is then safely deleted.
As soon as master has been updated, the new module version should be published to npm.

I apologize if this sounds a little complex, but this is a tiny bit of housekeeping that has proved incredibly useful to me in other collaborative projects. Keeping master as slow and stable as possible helps avoid bugs and new contributor confusion both!

Yep, all that makes perfect sense. I'll contribute future changes to the "develop" branch until there is some backlog for a new release candidate. Feel free to spam new issues with any ideas you have.
Again, thank you very much for contributing the code & knowledge here.

Heh. I was in the middle of writing this when the issue was closed, but I'll leave this here as a reference for future contributors:
An example of what I'm talking about: Let's say a bunch of awesome new changes are in the works for igdb-api-node...
# Create the new develop branch from the current master
$ git checkout -b develop master
Switched to a new branch "develop"

The changes are made, tested out, seem to work. They're committed to develop. Time to cut a release!
# Create a new release branch from the current develop
$ git checkout -b release/v3.x.y develop
Switched to a new branch "release/v3.x.y"

The release is thoroughly tested, unit test coverage improved, contributions acknowledged, version bumped. Time to finish the release.
$ git checkout master
Switched to branch 'master'
$ git merge --no-ff release/v3.x.y
Merge made by recursive.
(Summary of changes)
$ git tag -a v3.x.y

The release is now done and tagged for future reference. To make sure the changes made in the release branch are preserved in develop, we need to merge them back.
$ git checkout develop
Switched to branch 'develop'
$ git merge --no-ff v3.x.y # note that we're merging the tag, not the release branch itself
Merge made by recursive.
(Summary of changes)

Once this is done and any potential merge conflicts are resolved, we can get rid of the release branch since we don't need it anymore.
$ git branch -d release/v3.x.y
Deleted branch release/v3.x.y (was ff452fe)

NOTE: The tag is merged into develop and not the release branch itself because merging the branch would create a new merge commit on develop that does not match the hash of the earlier merge commit on master. Merging the tag preserves the order of commits between the two mainline branches and ensures there isn't a diverging history between them during the interval between releases.

I added these details to a page in the wiki

Awesome. For reference, this is an abbreviated version of a popular branching model for git called git-flow. It's become second-nature for me after using it for years. It's not a great fit for all projects. However, it's super useful for release management and working on several new feature additions concurrently.

This project moves quite slowly so, although perhaps more effort, it would still be worth implementing as the API becomes more complex


Occluded Region of Sensors is Broken

At certain angles, the occluded region of conical sensors looks mostly fine:

However, when viewing the occluded region from the side, the front face of the red occluded region only seems to render where there is another piece of the sensor behind it.

Thanks @esparano!  Since sensors are not part of open source Cesium, I opened an issue in our Cesium Pro repository for someone to look into this.

@esparano can you please send me your email so we can keep you posted on progress here: email me at<EMAIL_ADDRESS>


OSX support for Local Testing

Currently it needs an .exe file for GameServer file path.
Could maybe use some support .app for OSX as well.

Thanks for reaching out, we'll take this as a feature request for prioritization

Awesome! Thank you very much.
For the meantime, if you have any advise on how to setup local testing on a Mac (Even if I have to build/run the server outside Unity/on a terminal)... I would be glad to try that out. :)

Sure thing, I think you can:

Download GameLift Local (https://aws.amazon.com/gamelift/getting-started/, in "GameLift Managed Servers SDK")
Follow this wiki to run the GameLift Local jar using java: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html
Build your game server using Linux/Mac platform support
Run the game server
If everything is setup properly, you should see in the GameLift Local terminal window that the server SDK is connected and healthy

Thank you for these insights. I was able to run GameLift Local.
However, I'm still having problems running the Mac server (Not opening) after building in Unity.
And the client build is able to run but does not get past the Bootstrap scene.
However, both seem to run, in the Unity Editor when run in parallel from multiple Unity projects.
Above said, I'll probably go ahead and setup on a Windows environment instead. Until Mac is fully supported :)

Hi, Mac support is enabled in v1.2.0, please re-download the plugin and test again!


Disable data break-point correctly in WinDBG

The current code is DisableDataBreakpoint() in strike issue the "bc *" command, this is wrong. We should disable the specified breakpoint, not all of them.

resolved by https://github.com/cshung/coreclr/commit/f8b7fbf56fb40e609fdfbc50a0163dace75e7234


progress-circular: not themed properly

The circular progress indicator is not being themed correctly. Does not seem to be targeting the path element like Angular Material does.

Can you provide any steps to reproduce or verify this?
Is this still an issue?

Closing due to lack of responses. Happy to re-open if this is still a concern.


chore(main): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2023-03-10)
update

优化axios (690cdb3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/School-of-Website-Engineering/CRM-Vue/releases/tag/v1.0.1 :sunflower:


Failed to build 5.0.0-beta* on Windows 10 x64

SerialPort Version: 5.0.0-beta3 (also 5.0.0-beta2 and 5.0.0-beta1)

NodeJS Version: 7.10.0

Operating System and Hardware Platform: Windows 10 x64

Have you checked the right version of the api docs?: Yes

Are you having trouble installing and you checked the Installation Special Cases docs? Yes

Are you using Electron and have you checked the Electron Docs?: No electron

Summary of Problem
Node-pre-gyp failed to build serialport on Windows 10 x64 with the following fatal errors:
D:\projects\test\node_modules\nan\nan.h(24): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\serialport_win.cpp) [D:
\projects\test\node_modules\serialport\build\serialport.vcxproj]
         D:\projects\test\node_modules\nan\nan.h(24): fatal error C1083: Cannot open include file: 'node_version.h': No such file or directory (compiling source file ..\src\serialport.cpp) [D:\pro
jects\test\node_modules\serialport\build\serialport.vcxproj]

However I have no problem with 4.0.7 installation.

I am use Node 8 , it OK


0.104.0b0 - homekit fails to start

Home Assistant release with the issue:

0.104.0b0
Last working Home Assistant release (if known):
0 103.6
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Integration:

homekit
Description of problem:
homekit fails to start
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
homekit:
  auto_start: false
  filter:
    include_domains:
     - climate
     - light
     - switch

Traceback (if applicable):
2020-01-09 23:20:00 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.start_homekit. Unknown error for call_service at pos 1:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 449, in action
    await script_obj.async_run(variables, context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 189, in async_run
    await self._handle_action(action, variables, context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 272, in _handle_action
    await self._actions[_determine_action(action)](action, variables, context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 354, in _async_call_service
    context=context,
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 96, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context
  File "/usr/src/homeassistant/homeassistant/core.py", line 1226, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1253, in _execute_service
    await self._hass.async_add_executor_job(handler.func, service_call)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 167, in handle_homekit_service_start
    homekit.start()
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 378, in start
    self.add_bridge_accessory(state)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 348, in add_bridge_accessory
    acc = get_accessory(self.hass, self.driver, state, aid, conf)
  File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 264, in get_accessory
    return TYPES[a_type](hass, driver, name, state.entity_id, aid, config)
  File "/usr/src/homeassistant/homeassistant/components/homekit/type_lights.py", line 69, in __init__
    if self._features & SUPPORT_BRIGHTNESS:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Additional information:

@ctalkington I notice you have auto_start set to false. It looks like you use an automation to start it. Can you share it please?
Did you get this error the first time you ran HA after upgrading to 0.104.0b0? What about subsequent restarts?
I don't have enough information to be sure at this point but this might be related to some changes in the entity registry that restores some data into the states from the entity registry - see https://github.com/home-assistant/home-assistant/pull/30094.
What might be happening is:

HA starts and creates "unavailable" states based on your 0.103.6 entity registry entries
Because there is a state your automation thinks the entity has been loaded and starts HomeKit.

In reality, a dummy "unavailable" state has been loaded and because its the "first start" it is missing some data - in this case the supported_features field.

HomeKit can't handle the incomplete data and fails is unable to start up

If i am right:

It might be that the next time you restart HA it works - or you might get a different error. It would be interesting if you could try.
Starting manually after all your entities are loaded may also work.

Another option is that its not a HomeKit change but a change to one of your lights thats affected homekit, so can you provide more information about the integration you use to control your lights.

@Jc2k sure, I disable auto-start because I have ZWave and I was under the impression for documentation that I had to always init via automation in this case.
automation:
  - id: start_homekit
    alias: "Start HomeKit"
    hide_entity: true
    trigger:
      - platform: event
        event_type: zwave.network_ready
      - platform: event
        event_type: zwave.network_complete
    action:
      - service: homekit.start

The only light platforms that I currently have are ZWAVE (1 Bulb) and WLED (1 instance). The error is consistent across restarts. I thought it might be that WLED was unavailable at the time (I control power to it via an ESPHOME plug) so I turned it on, let HA detect state, and restarted HA but error is persistent.

Yes you do. The changes in #30094 mean that eventually you might not need to. But what I meant was your automation might have detected entities as ready sooner than it used to because of that change. It doesn't sound like thats the case, though.
We could do with finding out which bulb is causing the problem. The easy way is using filters like in the docs and explicitly white listing each bulb in turn until it breaks. But this will delete the bulbs from homekit potentially, so if you have them assigned to rooms or scenes you will lose those associations. The other would be to stick a print in /usr/src/homeassistant/homeassistant/components/homekit/type_lights.py.  Maybe print(self.entity_id, self._features) on the line before where its erroring?

@Jc2k ah thats a good point. i was able to exclude entities and it appears to be the WLED light after all. I do have it powered off currently. I wonder if my initial debugging wasn't working due to delay in reading from WLED API on load or some stale registry data.

restored: true
...
supported_features: 55

So the restored: true bit does show that this data might have come from the PR i mentioned. But i'm not sure how it is seeing supported_features as None when its set to that in the states data!

@Jc2k sorry was updating my last comment! so I wonder if theres a better event to use for homekit, does the restoration fire a hook after its completed?

If you leave the WLED unplugged and restart HA you see that data in states?
What happens if you disable the start automation, check the entity is visible with supported_features set, and the WLED still off - then manually start HA. Does it still trigger the error, or does it work?
Is the WLED visibile on your iOS device in that case?

@Jc2k Correct. Its being restored on HA restart from the time that the WLED was last active best I can tell. Its hard to tell when that actually happens though, not sure if its waiting for a config entry to timeout a few times.
Ok, so I removed WLED from the excluded entities, disabled the automation on start, restarted HA gave it a few minutes, checked states and the WLED light had the restored & supported_features that I previously provided.
I then manually triggered a homekit.start from services and got the error I previously provided

Brilliant (from a debugging point of view!)
What happens if you do the same thing but with the WLED active? Wait for a few minutes and I think restored will go away and you should be able to turn the WLED on and off. Then manually start HA. Does that work?
If it does, then it might yet be a side effect of the PR i mentioned. If not then its back to square one. (Other than knowing WLED is involved somehow).

Only in 104 do we start storing the features in the entity registry. So the first time you boot 104 it won't have the features to restore.

@balloob That was my first though but the conversation seems to suggest that this happens even when there are? Most recent comment from @ctalkington confirms state is visible with restored marker visible and supported_features set.
@ctalkington to prove that we are alll on the same page, in addition to what i asked for could you also repeat your previous experiment:

Ok, so I removed WLED from the excluded entities, disabled the automation on start, restarted HA gave it a few minutes, checked states and the WLED light had the restored & supported_features that I previously provided.

But this time before you start HA back up grab the data for your WLED entity from cat config/.storage/core.entity_registry to show that there is data to restore.

Pushed #30657 which includes a fix for a similar exception, but I wonder if its possible to not do state restoration until an entity has definitely had its capabilities etc captured into the registry? (To avoid a flood of tickets about the case where there are no features/capabilities to restore and weird stuff happens on first run after upgrade, esp as homekit doesn't have any codeowners right now). Or would a doc note of somekind be better?

@Jc2k this is what the entity registry looks like (wled hasnt been powered on again yet).
{
    "capabilities": {
        "effect_list": [
            "Android",
            "Blink",
            "Blink Rainbow",
            "Bpm",
            "Breathe",
            "Candle",
            "Chase",
            "Chase Flash",
            "Chase Flash Rnd",
            "Chase Rainbow",
            "Chase Random",
            "Circus",
            "Colorful",
            "Colorloop",
            "Colortwinkles",
            "Colorwaves",
            "Dissolve",
            "Dissolve Rnd",
            "Dynamic",
            "Fade",
            "Fill Noise",
            "Fire 2012",
            "Fire Flicker",
            "Fireworks",
            "Glitter",
            "Gradient",
            "Halloween",
            "Halloween Eyes",
            "ICU",
            "Juggle",
            "Lake",
            "Lighthouse",
            "Lightning",
            "Loading",
            "Merry Christmas",
            "Meteor",
            "Meteor Smooth",
            "Multi Comet",
            "Noise 1",
            "Noise 2",
            "Noise 3",
            "Noise 4",
            "Oscillate",
            "Palette",
            "Police",
            "Police All",
            "Pride 2015",
            "Railway",
            "Rain",
            "Rainbow",
            "Rainbow Runner",
            "Random Colors",
            "Red & Blue",
            "Ripple",
            "Running",
            "Running 2",
            "Saw",
            "Scan",
            "Scan Dual",
            "Scanner",
            "Scanner Dual ",
            "Solid",
            "Solid Pattern",
            "Solid Pattern Tri",
            "Sparkle",
            "Sparkle Dark",
            "Sparkle+",
            "Spots",
            "Spots Fade",
            "Stream",
            "Stream 2",
            "Strobe",
            "Strobe Mega",
            "Strobe Rainbow",
            "Sweep",
            "Sweep Random",
            "Theater",
            "Theater Rainbow",
            "Traffic Light",
            "Tri Chase",
            "Tri Fade",
            "Tri Wipe",
            "Twinkle",
            "Twinklecat",
            "Twinklefox",
            "Two Areas",
            "Two Dots",
            "Wipe",
            "Wipe Random"
        ],
        "max_mireds": 500,
        "min_mireds": 153
    },
    "config_entry_id": "0c2bebd5375c49baa7a17d33342cc6df",
    "device_class": null,
    "device_id": "307a93267b094678adc7c6ab0d417361",
    "disabled_by": null,
    "entity_id": "light.wled",
    "name": "WLED LEDs",
    "platform": "wled",
    "supported_features": 55,
    "unique_id": "dc4f22583f3e_0"
},

@Jc2k i believe its a timing issue overall, having to rely on zwave start to start homekit which can be variable and sometimes ESPs like WLED or ESPHOME use take time to respond or can be cut off from power.
In my testing earlier, I also had a weird case where one of the bulbs was turned off and the API stopped responding and held up the config entry. once I excluded that bulb, I didn't have any issues the next time around.

Kind of. It definitely used to be a timing issue, thats why the auto_start thing exists. But the new entity restore stuff means that (as you can see from the JSON you posted) most of the metadata needed by things like HomeKit should be available immediately on startup. So if homekit throws errors on start but you have ^ in your HA entity registry then I think it's a bug that I want to get fixed.
I.e. while waiting for all your devices to come online and then starting homekit works around the problem we should now be able to fix it properly now.
0.104.0b2 fixes a couple of instances of the exception you have found for my synthetic unit tests. I'm not confident I found the same root cause, so it would be helpful if you could test everything again with that version.

I've spent almost 2 hours now trying to reproduce this issue, which I was not able to. I've tested with both WLED & Hue, and was not able to break.

Disconnected WLED & Hue during startup
Disconnected WLED & Hue during startup + cleaning out the features from the registry.
Connected WLED & Hue during startup + cleaning out the features from the registry.

And all kinds of other weird timing things (like connecting WLED during startup). I could not get it to throw anything. So that is a good thing.
I did find some other things, but not related to this specific issue.

@frenck thats awesome news! Hopefully when @ctalkington updates the issue will be gone there too.

Since the original issue/stack trace has been addressed and currently a reproduction on the latest beta isn't possible; I'll go ahead and close this issue.
Please open up a new issue (with recent stack traces or reproduction scenarios) when it occurs on 0.104.


Bugfix/181836155 - dateTime graphic

Resolves #98

Fixed bugs:

Returning 0 instead of trying to get max value of an empty int list.
Deleting property usage.tgt if value is None.

Updated rdflib to 6.1.1.

@uscholdm To test this bug fix, clone this repository and run the following command inside of the directory ontology-toolkit:
python -m onto_tool graphic path/to/onto_tool_bug_datetime.ttl --data --predicate-threshold 1 -o onto_tool_bug_datetime

python may need to be replaced with python3
Replace path/to/onto_tool_bug_datetime.ttl with actual path to file. You can paste the file into the ontology-toolkit directory to make it easier.

Here is the output of the above command:

I cannot get this to work yet. Wait before merging.

@NeilGraham I see that CI test is failing because the test repo I had set in AGraph is not being accessed (was the test user removed?). We could bypass this issue by migrating the SPARQL endpoint tests to use https://pypi.org/project/sparql-endpoint-fixture/

@NeilGraham I see that CI test is failing because the test repo I had set in AGraph is not being accessed (was the test user removed?). We could bypass this issue by migrating the SPARQL endpoint tests to use https://pypi.org/project/sparql-endpoint-fixture/

I'll set up a new issue to fix this.


Diagram flow of framework

Update the start page readme with a diagram showing the flow of how modules are built and how it flows between all the sections.

Move to https://github.com/PSModule/.github/issues/5


issue with run_oracle_pipeline.sh for docker environment

By default the run_oracle_pipeline.sh script has a DEBUG environment variable set to false. It appears that this script is only designed to run using the docker environment when DEBUG is set to true. If what I am saying is correct, I suggest either setting this variable based on if the user is running in a container, or changing the default value of this variable.

The default value of DEBUG was changed to true.


Auto reconnect rejoins parted channels

Test

Start with:

var client = new tmi.client({
	options: {debug: false},
	connection: {cluster: 'aws', timeout: 2000, reconnect: true},
	channels: ['yamuda', 'sqmp']
});

Part from 'yamuda'
Join 'k3nt0456'
Trigger a disconnection and reconnection

Actual behaviour:
Active channels after reconnecting: [ '#yamuda', '#sqmp', '#k3nt0456' ]
Expected behaviour:
Channels after reconnecting should be: [ '#sqmp',  '#k3nt0456' ]
Server configuration

Operating system: win10
tmi.js version: 0.0.29

Full test I used, pardon the awful code
var tmi = require('../src/node_modules/tmi.js');

var client = new tmi.client({
	options: {debug: false},
	connection: {cluster: 'aws', timeout: 2000, reconnect: true},
	channels: ['yamuda', 'sqmp']
});

client.connect();

client.once('connected', function() {
	console.log('Connected, now joining a new channel.');
	setTimeout(function() {
		console.log('channels right now:', client.channels);
		console.log('leaving #yamuda, joining #k3nt0456');
		client.part('yamuda');
		client.join('k3nt0456');
		setTimeout(function() {
			console.log('channels right now:', client.channels);
			console.log('Please trigger a network failure...');
			client.once('connected', function() {
				console.log('reconnected');
				setTimeout(function() {
					console.log('channels right now:', client.channels);
				}, 2000);
				setTimeout(function() {
					console.log('channels right now:', client.channels);
				}, 4000);
				setTimeout(function() {
					console.log('channels right now:', client.channels);
				}, 6000);
				setTimeout(function() {
					console.log('channels right now:', client.channels);
				}, 8000);
			});
		}, 2000);
	}, 3000);

});

client.on('connecting', l('connecting'));
client.on('connected', l('connected'));
client.on('disconnected', l('disconnected'));
client.on('chat', l('chat'));

function l(event) {
	return function() {
		console.log('EVENT: ' + event, arguments);
	}
}

Log
EVENT: connecting { '0': 'irc-ws.chat.twitch.tv', '1': '80' }
Connected, now joining a new channel.
EVENT: connected { '0': 'irc-ws.chat.twitch.tv', '1': '80' }
channels right now: [ '#yamuda', '#sqmp' ]
leaving #yamuda
channels right now: [ '#sqmp', '#k3nt0456' ]
Please trigger a network failure...
[05:38pm] error: Ping timeout.
EVENT: disconnected { '0': '' }
[05:39pm] error: Could not connect to server. Trying to reconnect in 0 seconds..
EVENT: disconnected { '0': 'Sorry, we were unable to connect to chat.' }
[05:39pm] error: Could not connect to server. Trying to reconnect in 10 seconds..
EVENT: connecting { '0': 'irc-ws.chat.twitch.tv', '1': '80' }
EVENT: connected { '0': 'irc-ws.chat.twitch.tv', '1': '80' }
reconnected
channels right now: [ '#yamuda' ]
channels right now: [ '#yamuda', '#sqmp' ]
channels right now: [ '#yamuda', '#sqmp', '#k3nt0456' ]
channels right now: [ '#yamuda', '#sqmp', '#k3nt0456' ]

Thanks, fixed in 1.0.0 - No ETA for the release date though :smile:


Electromagnet Lag

The electromagnet seems to be causing huge lag spikes and timing out most people from the server
http://puu.sh/eUaTH/accd48d50e.png
Version: 1.7.10-<IP_ADDRESS>1 in the Direwolf20 1.0.3 pack

Just how many items are near the person with it on? Seems the cause here is just too many items, not really anything to do with the efficiency of the magnet.

I'll prob end up disabling the Magnet cause it's causing me massive lag as well, i use the atomic disassebler from mekanism and that thing mines super fast. is there any way to craft maybe a bag that can catch all those items?


Add Gittyup Gui

Changes
Adds Gittyup as a new GUI

thanks @Murmele . let us know when the PR is ready to review (currently as Draft)

😔
El mar., 26 de abril de 2022 9:46 a. m., Pedro Rijo <
@.***> escribió:

thanks @Murmele https://github.com/Murmele . let us know when the PR is
ready to review (currently as Draft)
—
Reply to this email directly, view it on GitHub
https://github.com/git/git-scm.com/pull/1681#issuecomment-1109889079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYF56SNYEBDH7NZNGN2EBTTVG76VBANCNFSM5UCEDDPA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @pedrorijo91, the PR is ready to review. Thank you

thanks a lot @Murmele ! :)

@peff  i think you may need to reconect heroku and your github due to the issue they had recently

friendly ping @peff  ^

@pedrorijo91 I've been poking at this from the Heroku side of things, and I'm also unable to reconnect our automated deploys, and it appears that Heroku has temporarily disabled them. I'll deploy this manually in the meantime.

@ttaylorr thank you. I will create soon a new pullrequest, because we got also the mac build working.


extract duplicate methods "toJavaNames" to a single place

Could you change the method names in the tests to proper Java camelCase instead of using underscores?

Done.
P.S. In fact, camelCaseIsNotReallyGoodForDescribingTestCases.
In many project, we_often_use_underscored_in_test_names. They are much better readable.

Failure seems unrelated:
2024-08-23T19:38:52.9884050Z ##[error]Exception in thread "Thread-13" java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "net.datafaker.internal.helper.CopyOnWriteMap.getOrDefault(Object, Object)" is null
2024-08-23T19:38:52.9892720Z 	at net.datafaker.service.FakeValuesService.fetchObject(FakeValuesService.java:267)
2024-08-23T19:38:52.9893280Z 	at net.datafaker.service.FakeValuesService.safeFetch(FakeValuesService.java:206)
2024-08-23T19:38:52.9895030Z 	at net.datafaker.service.FakeValuesService.resolve(FakeValuesService.java:505)
2024-08-23T19:38:52.9895350Z 	at net.datafaker.service.FakeValuesService.resolve(FakeValuesService.java:492)
2024-08-23T19:38:52.9895870Z 	at net.datafaker.providers.base.AbstractProvider.resolve(AbstractProvider.java:20)
2024-08-23T19:38:52.9896140Z 	at net.datafaker.providers.base.Address.stateAbbr(Address.java:98)
2024-08-23T19:38:52.9896380Z 	at net.datafaker.Issue759Test.fakeSomeData(Issue759Test.java:32)
2024-08-23T19:38:52.9896840Z 	at net.datafaker.Issue759Test$WorkerThread.run(Issue759Test.java:25)

Failure seems unrelated:

Yes, it's unrelated. It's the same flaky test that I described in https://github.com/datafaker-net/datafaker/pull/1310


Crashes on iOS 14.4 when selecting 'Cancel' or 'Done'

Make sure to check the demo app(s) for sample usage

Issue occurs on the sample app and my app.

Make sure to check the existing issues in this repository

Checked.

If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.

This occurred after upgrading from NS6 to NS7. Crash occurring on iOS intermittently (about 50% of the time) after selecting either 'Cancel' or 'Done' on the datepicker, regardless of PickerOptions or the date selected. If the crash does not occur then it will not occur until the app is closed, reopened, and you try again.

Which platform(s) does your issue occur on?

iOS/Android/Both
iOS/Android versions
emulator or device. What type of device?

Real device and emulator - iOS 14.4.

Please, provide the following version numbers that your issue occurs with:

CLI: (run tns --version to fetch it)
Cross-platform modules: (check the 'version' attribute in the
<EMAIL_ADDRESS>file in your project)
Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
Plugin(s): (look for the version numbers in the package.json file of your
project and paste your dependencies and devDependencies here)

dependencies:
"@nativescript/appversion": "2.0.0",
"@nativescript/core": "7.3.0",
"@nativescript/webpack": "4.1.0",
"moment": "2.29.1",
"moment-timezone": "0.5.33",
"nativescript-modal-datetimepicker": "2.1.5",     <-- (I tried lower versions as well, like 2.0.1)
devDependencies:
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
CLI: 7.2.1
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.

Open the sample app
Tap 'Pick a Date'
Tap 'Cancel' or 'Done'
If the issue does not occur, close the app completely and go to step 1

Is there any code involved?

provide a code example to recreate the problem
(EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.

@davecoffin Any help would be appreciated as this will heavily impact our app. Thank you.

Do you have a catch block?

I have same problem...

@enich-dev did this work for you?

I tried @pandabuilt's suggestion and it didn't work, the app still crashes when tapping the Done or Cancel button on the date picker modal even when the catch block is removed.

Nevermind, I stand corrected.  It's reopening the app that works not my removal of the catch block.

i have the same error...

i have the same problem.

@Atomico001 As @enich-dev suggested, switch to NativeScript's datetimepicker. It works much better.

@Atomico001 As @enich-dev suggested, switch to NativeScript's datetimepicker. It works much better.

Hello, but i need inside dialog, the native one don't use dialog.

@Atomico001 As @enich-dev suggested, switch to NativeScript's datetimepicker. It works much better.

Thanks you, i have a problem... other plugin ask me the "context", i tried application context but doesn't work.. any idea?


Refactor Data Manager

Rename to CloudManager
Add "Delete Data" button.
When "Delete Data" is pressed, a request is sent to the backend to delete the user's data (the endpoint already exists--it just needs to be called).

Backend API: https://github.com/johneastman/todo-backend

Helper methods for making requests
Custom types for response types (message or data).

Commits:

7d4c14f790aba626d5a7b66ed8cd418228d29a3f
c0837d6fb88d8832432fdecf07a6d3a652f7086b


Ref/change name btn

Description
closes #702
Changes: Knappen som heter "Endret arrangement" har blitt endret til "Administrer arrangement"
Screenshots:
Before:

After:

Pull request checklist
Please check if your PR fulfills the following requirements:

[ x] The PR includes a picture showing visual changes
[ ] Added Analytics-events if relevant
[ x] CHANGELOG.md has been updated. Guide

sorry duplicate #709


MIMETYPE not correctly getting set when POSTing file from Python SDK

Expected Behavior:
I can load a PDF file to shadow drive and mime type is correctly set to 'application/pdf' upon retrieval
Current Behaviour
When I fetch pdf content from file store the result cannot be displayed as the response has a text/plain mime type set and the browser is unable to render pdf binary data. I have verified the content loaded is expected data, pdf is valid, and pdf extension is set correctly when posting file. Still the pdf files do not receive the correct mime type when retrieving .
I believe this is due to ShadowFile not receiving correct mime type here: https://github.com/GenesysGo/shadow-drive-rust/blob/87643accbabaea733d918ccac93160d5739e37f2/sdk/src/models.rs#L68
Example - Reproduce

I create a temp file and post the content with the given extension

async def upload_file(self, ext, content):
        temp_dir = tempfile.mkdtemp()
        file_name = f"{uuid.uuid4()}.{ext}"
        temp_file_path = os.path.join(temp_dir, file_name)

        try:
            if ext.lower() in ["pdf", "other_binary_extension"]:
                async with aiofiles.open(temp_file_path, "wb") as temp_file:
                    # import pdb; pdb.set_trace()
                    await temp_file.write(content)
                    urls = await run_async(self.client.upload_files, [temp_file_path])
                    return file_name, urls[0]
            else:
                print("nah wtf")
        finally:
            # Clean up the file and the directory when done using run_async
            await run_async(os.remove, temp_file_path)
            await run_async(os.rmdir, temp_dir)

Validate the POSTed file from file store and writing file to local disk yields valid pdf file that was posted
data = await sdrive_client.fetch_content("bc0b026f-1f31-4255-b03f-00192ce41dfc.pdf")
async with aiofiles.open("firstaid2.pdf", "wb") as out_file:
await out_file.write(data.getvalue())

Fetching file fails to load the pdf and response header is set to text/plain:
e.g.:
https://shdw-drive.genesysgo.net/H4VgQ4i666aPQ69fA2wDoYXb4qs4dSBeUm4gmP2cQhjY/bc0b026f-1f31-4255-b03f-00192ce41dfc.pdf

Thank you for reporting this! We've added a task to our backlog to address this issue.


ptvsd debugger for pytest

This PR allows Visual Studio Code ptvsd to attach to the docker running pytest from the run_tests script. The --debug flag can now be used with run_tests, for example.
./scripts/run_tests --debug

The flag and any other arguments are then passed into the docker container directly to pytest, allowing calls like.
./scripts/run_tests --debug aries_cloudagent/protocols/connections

Codecov Report

Merging #811 (0f2f98c) into master (d4fd90d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #811   +/-   ##
=======================================
  Coverage   99.07%   99.07%
=======================================
  Files         256      256
  Lines       14056    14056
=======================================
  Hits        13926    13926
  Misses        130      130

This seems to be overloading the --debug flag, it is still passed to pytest which causes it to write a debug log. Not that it's necessarily a bad thing.

I agree. I decided this to be a feature. I can change it if needed. I am open to any direction.


Reorganize repository to support the SmartThings IDE Github integration

Self explanatory based on the title.
Thanks!

I have no idea what this means. I think maybe I forked code when I wasn't supposed to?  I wanted to keep track of which devices and apps to follow but I don't think I chose the right way to do it. So when I get home I'll remove the forks I guess?
I don't know how to do the IDE github integration but I'll research that as well.
Sent from my iPhone

On Mar 19, 2016, at 11:36 AM, Stafford Brunk<EMAIL_ADDRESS>wrote:
Self explanatory based on the title.
Thanks!
You can view, comment on, or merge this pull request online at:
https://github.com/copy-ninja/SmartThings_MyQ/pull/16
Commit Summary
Reorganize repository to support the SmartThings IDE Github integration
File Changes
R devicetypes/copy-ninja/myq-garage-door-opener.src/myq-garage-door-opener.groovy (0)
R devicetypes/copy-ninja/myq-light-controller.src/myq-light-controller.groovy (0)
R smartapps/copy-ninja/myq-connect.src/myq-connect.groovy (0)
Patch Links:
https://github.com/copy-ninja/SmartThings_MyQ/pull/16.patch
https://github.com/copy-ninja/SmartThings_MyQ/pull/16.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@Scolaweiler This just makes it easier to keep track of changes that are happening to the device types. Instead of having to manually update a device type or SmartApp every single time, there's prebuilt actions to do that for you in the SmartThings IDE. This is especially useful if you have a lot of custom device types like I do.
I included more information in the README but you can read more information about it here.

Ok. Thanks
Sent from my iPhone

On Mar 19, 2016, at 12:32 PM, Stafford Brunk<EMAIL_ADDRESS>wrote:
@Scolaweiler This just makes it easier to keep track of changes that are happening to the device types. Instead of having to manually update a device type or SmartApp every single time, there's prebuilt actions to do that for you in the SmartThings IDE. This is especially useful if you have a lot of custom device types like I do.
I included more information in the README but you can read more information about it here.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

This would be great. The only thing you need to do is to put your code with groovy extension under folder with src extension with your program name. Let me know if you need further assistance. I will try my best.

What? This is a Pull Request that does exactly that...

Ok I did not know how the pulls work on github.

This looks like a good PR over to be able to use github integration.


PS-3467: Artifacts shared

Depends on https://github.com/keboola/artifacts/pull/7
Upload and download "shared" artifacts -> within the same orchestration

Ano ano, idem to updatnut


More prominent hyperlinks

Summary
This PR makes hyperlinks more prominent and easier to navigate.
Before

After

Very important and LGTM! 🚀


The provider fails when mist_org_networktemplate resource contains switch_matching.rules attribute

Inclusion of switch_matching.rules results in the following error. Please note that it occurs when:

additional_config_cmds are not included in the attribute
additional_config_cmds are included in the attribute (an empty list of string ["] was tested)
additional_config_cmds attribute is or is not present in mist_org_networktemplate top level

╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/juniper/mist" planned an invalid value for module.srx_hub_and_spoke.mist_org_networktemplate.this["branch_switch"].switch_matching.rules[0].additional_config_cmds: planned value cty.ListValEmpty(cty.String) for a
│ non-computed attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

One correction after additional testing. The error is not present when rules section contains:
additional_config_cmds = [""]

this should have been fixed in v0.2.7. Can you test and validate?

Tested with the current latest v0.2.9 and can confirm that it is fixed.

Thanks. I’m closing the issue.


Detect use of Google Sign In (GSI) libraries and provide guidance to users

Description:
Google Sign-In manages the OAuth 2.0 flow and token lifecycle, simplifying your integration with Google APIs.
The Google Sign-In JavaScript platform library for Web has been deprecated after March 31, 2023. Google Identity Services for Web solution is the new, more secure way to sign in users with Google accounts. It's easy to use and protects users' personal information.
Motivation:
The purpose of this feature is to implement detection of GSI libraries usage on web pages, and provide information and guidance o users to migrate to newer versions of the library, and avoid breakages due to the deprecation of third-party cookies.
Acceptance Criteria:

[x] GSI v2 is detected
[x] Newer versions of GSI are detected
[x] Guidance is provided to users

In the Insights section displaying the result of PSAT's GSI detection, guidance to users will be provided by pointing them to:
https://developers.google.com/privacy-sandbox/3pcd/guides/identity#federated_identity
cc @gagan0123 @mohdsayed

Incorporated and released as a part of v0.5


readme breakpoints that match bootstrap 4

Bro!  Nicely done!  This is a fantastic module!
Just wanted to add a bit of readme that would have been good when I got started.
Thanks Again!!

so based on the relevant bootsrap docs,  it's like :
import VueMq from 'vue-mq'
Vue.use(VueMq, {
	breakpoints: {
		xs: 576,
		sm: 768,
		md: 992,
		lg: 1200,
		xl: Infinity
	}
})

nicely matching with a template of :
XS
SM
MD
LG
XL


[wallet] [frontend] Implements first version of an Embedded Wallet, with basic data flow

Resolves #40.

Will need to rewrite this using a provider/consumer paradigm to prevent React from complaining about side-effects when tests are running.


problems about BATCH_SIZE

IMS_PER_BATCH is default 1,this means one image per batch.But what's the meaning of the BATCH_SIZE?
Comments say Minibatch size (number of regions of interest [ROIs]).
But i am still confused.

eh.... it's indeed number of rois....... For each image, you need to choose BATCH_SIZE ROIs, to train the detection head.

But, in the minibatch.py,some code exists like this:
  assert(cfg.TRAIN.BATCH_SIZE % num_images == 0), \
    'num_images ({}) must divide BATCH_SIZE ({})'. \
    format(num_images, cfg.TRAIN.BATCH_SIZE)

Does this means we have to firstly chose BATCH_SIZE images into the memory,and then for training, one image per step?

No. For each images you have BATCH_SIZE rois.

So, in fact batch_size is the rois for all images. Since we are always using num_images=1, so no bother.

Oh,if so,i get it! Thanks!


Add IP forwarding requirement to documentation

I propose to add the information, that IP forwarding needs to be enabled in order to use a node as an exit-node.

[x] read the CONTRIBUTING guidelines
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[x] updated documentation if needed
[ ] updated CHANGELOG.md

I omitted the unit tests, integration tests and changelog update, as the change to the documentation should not affect the code.

Thanks!


Consider making GitOid generic over the underlying hash output size

Right now we allocate a buffer of a "max" size that matches the largest output size of the supported standard hash algorithms. This leads to 2 problems:

Wasted space for GitOids using a hash with a smaller output size.
Doesn't permit custom hashes with a larger output size than the current max.

It would be interesting to explore making GitOid const-generic over the size of the underlying buffer. Custom hashes could then define custom sizes and everything should just work.
Need to figure out if it would be possible to make this play nicely with FFI as well.

Okay, more thinking about this and the implications for it.
The project has some goals here which are in tension:

Minimize the size of the GitOid struct being stored in memory
Permit as clean and easy C interop as possible, so that the code here can be used as the basis for implementations in other languages. Ideally achieve this by making the GitOid type #[repr(C)] so the fields can be accessed by C code directly.
Support custom hashes (anything that implements the Digest trait really)

After some experimentation, I think I've reached some conclusions:

Const generics aren't ready for prime time for our use case. The Rust cryptography crates have reached the same conclusion and have open issues tracking when they can move to const generics.
As a consequence of this, I'll probably need to use generic-array instead, which precludes keeping the GitOid type #[repr(C)]
So I'll need to define accessor functions that work via pointers to an opaque-to-C GitOid type
The easy case of this would just allocate the GitOid on the heap and expose a gitoid_free function to free it
However, for use cases without an allocator which we'd like to support, we'll need to provide an alternative.
So that probably means two more options: a method for getting GitOids via a C function pointer (lol is this even possible?), and/or an option to allocate the GitOids into a C-owned buffer that the C caller is responsible for ensuring outlives its references.

Further exploration shows that yes, Rust code can extern C function pointers as parameters. You just have to declare them as extern C specifically so the ABI matches.

One other thought here is that this means we're guaranteed a "v2" of the API that uses const-generics instead of generic-array and (ideally) allows #[repr(C)] on the relevant struct(s), thus eliminating the need for some of the shenanigans described above. This means we should also think more carefully about how we'll handle versioning of the API, since we don't want to break downstream users while also not stagnating on the old API which leaves some performance on the table.


Configure autoreleases

So according to https://github.com/jazzband-roadies/help/issues/126 it sounded like we had configured autoreleases for this project, but I don't think we actually did.
@jezdez I might need help with the password field on this travis config, please feel free to directly edit the YAML in the right way. Also @jdufresne and I talked a bit through e-mail, I think you might need to set the lead for this project in the jazzband infra. I think he + I as two leads would give good coverage.
Apologies for the increased chatter, trying to close out getting a release on this lib and after all this everything should go smoothly :)

@auvipy Heeeey, so this PR does not look good since it's obviously missing the password to have the release process work. I don't think this should have been gotten your review approval.

@rtpg Thanks for the ping, that's okay, there are a few of project setups that are unfinished, gonna work on it now.

@rtpg @jdufresne I've added you both as project leads now and enable the project releases.
While we're there, I think it would make sense to also starting using tox-travis like in other Jazzband projects since it simplifies the Travis config a lot and maybe use Travis Build Stages to only release when all other test environments have passed. That would remove the hard-coding of the TOX_ENV to push it.

I am not following the jazzband projects closed lately. but @rtpg reached me via email if im PL. i give approval but didn't merge as there wasn't a password.

Alrighty, will see if I can get tox-travis set up nicely here

OK, configured tox-travis + used jobs instead of the matrices. There's a bit of weirdness in the jobs where I feel like it's not respecting envlist in tox.ini.... but not really sure how to tell travis "run this only for these kinds (plural) of envs"
If anyone knows how to make that jobs config better I'd appreciate the help. If not, I think it's fine for us to move forward with this as-is.

OK build didn't complete just yet but I think it's good
I couldn't figure out the format for the allow_failures thing in this situation. I think that testing on master is still valuable, and given Django's PR merge policies, failures on master will likely indicate real issues that we can tackle, so having the failures feels liike useful info.

OK build didn't complete just yet but I think it's good
I couldn't figure out the format for the allow_failures thing in this situation. I think that testing on master is still valuable, and given Django's PR merge policies, failures on master will likely indicate real issues that we can tackle, so having the failures feels liike useful info.

Yeah, I understand, let's roll with that and see if it works for us..

Alright got coverage reports working nicely again too, going to merge this in. Thanks for the help, everyone


Client Allocation Request for: kims-korea

Client Allocation Questions
Core Information

Name: kims-korea
Website / Social Media: www.kims-korea.co.kr
Region: Asia (excl. Greater China)
DataCap Requested: 50TiB
Addresses to be Notarized: f1ll4zafrefwklbuwbuptmz67ifemc62xa1faqm3q
Notary Requested: psh0691

@kims-korea Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@psh0691


zk, xchk: fix connection leaks

zk wasn't closing zookeeper bridge client in zk.session.Close()
xchk wasn't closing connection in xchk.conn.Close()

Fixes #43 (I assume the leaks were in xchk mode since issue uses goofy port 2182; couldn't repro in regular mode)

lgtm


question: how to add a repository

Hi,
I'm currently looking for a Github Telegram bot and found yours which looks promising to what I want and need. However, so far I'm not able to add any repositories.
According to the UI I'm currently logged in as sgratzl which is my github username. However, the inline query to add a repo, like @githubrevisedbot Add repository: slack-cleaner doesn't do anything. Variants like @githubrevisedbot Add repository: https://github.com/sgratzl/slack-cleaner doesn't do anything either. I cannot send the message.
help would be appreciated.

figured it out, had to install the app first (via https://github.com/apps/telegram-githubbot-revised/installations/new)  not just authorize it. thx


Add 1290_Convert_Binary_Number_in_a_Linked_List_to_Integer.py and 1342_Number_of_Steps_to_Reduce_a_Number_to_Zero.py

Added Convert Binary Number in a Linked List to Integer (problem code - 1290) and Number of Steps to Reduce a Number to Zero (problem code - 1342)

Hi @srivastavaayu
Thank you for contribution! 👍
Pls add one line description for your solution, e.g.,
| 12 | [Integer to Roman](https://leetcode.com/problems/integer-to-roman/) | [Python](https://github.com/qiyuangong/leetcode/blob/master/python/012_Integer_to_Roman.py) | [Background knowledge](http://www.rapidtables.com/convert/number/how-number-to-roman-numerals.htm) Just like 10-digit number, divide and minus |

Both solutions work well on leetcode.Good job.
Pls refine code style based on Pylint (you can install PEP8 or pylint plugin in you IDE), and add necessary comments to increase readability. :)

@qiyuangong I've made necessary changes as suggested by you. Please review the changes. And don't forget to change the links to the solutions in the README after pulling the commits.

@qiyuangong I've made necessary changes as suggested by you. Please review the changes. And don't forget to change the links to the solutions in the README after pulling the commits.

OK. I will 👍


frequency table in the chi square test doesn't respect the order of categories

e.g. when the counts of observed categories in both groups are as follows:
treat_counts
female     39364
male        6561
unknown     4474

control_counts
f               2
female     152099
m               2
male        24299
unknown     15084

the observed frequency table is:
observed_ct
female      male  unknown        f        m
0     0.0   39364.0      0.0   6561.0   4474.0
1     2.0  152099.0      2.0  24299.0  15084.0

This bug is related to https://github.com/pandas-dev/pandas/issues/14600 and therefore won't be fixed here.


Remove serde trait implementations for requests and replies

Implementing Serialize and Deserialize for the request and reply structs leaks implementation details, especially when using serde_indexed.  This patch removes these implementations for the request and reply structs and also for some other types that presumably only had them because they were used in these structs and that are not serialized or deserialized anywhere in the Trussed ecosystem.
Fixes: https://github.com/trussed-dev/trussed/issues/183

Seing the need to implement this in two third-party crates, could this lead to an increase of binary size?

Yes, in my tests this led to an increase of ~ 500 bytes.  I thought that would just be acceptable.  But we could also add WrappedKey to trussed::types.

But as we need the type in Trussed anyway (for the CryptoClient::wrap_key implementation), we can also just make it public.

I’ve added EncryptedData to trussed_core::types.  An additional benefit is that it can directly implement the conversion from reply::Encrypt and to request::Decrypt.


[vue-facing-decorator][vue-3][vue-i18n@9] bug to load local i18n bloc

Reporting a bug?
I'm unable to use the  custom block in Single File Components (SFC) in a project that employs vue-facing-decorator, Vue 3, and Vite. The local translations are missing, with all i18n methods displaying the key instead of the expected message.
Expected behavior
Load messages from the i18n block and display them when used in the template.
Reproduction
repo with issue: https://github.com/rdhainaut/vue3-vfd-i18n-issue
WARNING:
This project utilizes class-based components along with vue-facing-decorator. This is now the official recommendation for upgrading from Vue 2 class components/property decorators to Vue 3.
The issue arises only when using the recommended setting with reflect-metadata to set up the alias for vue-facing-decorator.
config: https://github.com/rdhainaut/vue3-vfd-i18n-issue/blob/master/vite.config.ts line: 18
doc: https://facing-dev.github.io/vue-facing-decorator/#/en/compatibility/reflect-metadata/reflect-metadata
Issue Package
unplugin-vue-i18n
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz
    Memory: 44.39 GB / 63.67 GB
  Binaries:
    Node: 18.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1485.0)

Screenshot
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the README
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.

Edit: I have found the problem of issue and submit a fix via a PR
More details here: https://github.com/rdhainaut/bundle-tools/commit/4cdd4449d48afe87e2533b20008582d9d4bb2db5

Fixed in #269
Thanks!


kivy.uix.videoplayer attempts to load source path as kivy.uix.image when loading file

This seems to happen because Video is subclassed from Image, so when setting Video.source, the loading logic of Image is also executed.

I'm new to open source and feel this is something I can fix. Is this issue still up for grabs?

@rayrase, yes, of course.

Ok, thank you!

Same issue here. Can be reproduced with Video and VideoPlayer respectively
Screen:
    Video:  # or VideoPlayer
        size_hint: None, None
        size: dp(640), dp(380)

        # https://sample-videos.com/video321/mp4/360/big_buck_bunny_360p_1mb.mp4
        source: 'big_buck_bunny_360p_1mb.mp4'
        on_touch_up: self.state = 'play'

Fix would be to adjust __init__ like
    def __init__(self, **kwargs):
        self._video = None
        self.source = kwargs.pop('source')  # <----- this
        super(Video, self).__init__(**kwargs)
        self.fbind('source', self._trigger_video_load)

        if "eos" in kwargs:
            self.options["eos"] = kwargs["eos"]
        if self.source:
            self._trigger_video_load()

For now one could override the init in a subclass.
from kivy.uix.video import Video
class GentleVideo(Video):
    """Prevents warning
    Image: Error loading <path/to/file.mp4>
    """
    def __init__(self, **kwargs):
        self._video = None
        self.source = kwargs.pop('source')
        super(Video, self).__init__(**kwargs)
        self.fbind('source', self._trigger_video_load)

        if "eos" in kwargs:
            self.options["eos"] = kwargs["eos"]
        if self.source:
            self._trigger_video_load()

I'll see if I can quickly create a pull request.


Terribly underrated

I just want to say this tool works extremely well and I am very grateful for it!

Thank you very much! :blush:

I second this issue! Fantastic tool. Thanks!


Gradle Sync failed in Android SDK version 3.1 Gradle version 4.4

Hello,
My android Studio version is 3.1
Gradle version is 4.4.
Gradle project sync failed.
the message is

The versions of the Android Gradle plugin and Gradle are not compatible.
Please do one of the following:Update your plugin to version 2.4. This will require changes to build.gradle due to API changes.
Open migration guideDowngrade Gradle to version 3.5.
Fix Gradle wrapper and re-import project

I had to do some changes in order to succeed to Sync gradle.

We'll close these issues, as this repo is Deprecated and not maintained anymore.


1.2.0

 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.

Coverage remained the same at 97.66% when pulling e4febca9b547cc85738bcd35836bd6d21e6266c7 on release_v1.2.0 into 158455024e7fc2a795e4d87e4c190134006d6ecc on master.

Coverage remained the same at 97.66% when pulling 3e219cf610013a19d361235236b4e762bc449c91 on release_v1.2.0 into 158455024e7fc2a795e4d87e4c190134006d6ecc on master.

Coverage remained the same at 97.742% when pulling 2360fb158c04b2c8502db6445abe571c048a4632 on release_v1.2.0 into 39d2ca53afc97f0184fdcc599903ca273b233e5f on master.


can we upload spanish grammar together

hi bro, is possible upload spanish grammar together, i want to help for that

Hi. A new grammar takes a fair amount of work. Unfortunately we don't have the budget right now to do this on our side. You're welcome to try -- you'll need a good understanding of the layout of Spanish legislation, and an idea of how to work with Ruby parsers.


Void linux/runit support

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Application
Outline Client
What are you trying to do? What is your use case?
Im trying to launch outline client on a runit system (without systemd). i found the service and i launched it with sudo /usr/local/sbin/OutlineProxyController --socket-filename=/var/run/outline_controller --owning-user-id=1000, but despite that it still doesnt work
Is your feature request related to a problem? Please describe it.
outline client creates a service, wich it then unsuccessfully tries to launch with systemctl, wich is a part of systemd. if launched manually without systemd it starts to recconect itself over and the network is unreachable.
1728924072.419228: [INFO] [routing polluted] extra non-Outline default gateway: default via <IP_ADDRESS> dev wlo1 proto dhcp src <IP_ADDRESS> metric 600
1728924072.419249: [DEBUG] network condition changed, reconnecting...
1728924072.419267: [DEBUG] Wrote back {"statusCode":0,"action":"statusChanged","connectionStatus":2} to unix socket
1728924072.419270: [INFO] attempting to dismantle routing through outline server
1728924072.427057: [INFO] now routing through the network default gateway
1728924072.427082: [INFO] attempting to route through outline server (my server ip goes here womp womp)
1728924072.432818: [INFO] successfully routing through the outline server
1728924072.432836: [INFO] reconnected successfully
1728924072.432854: [DEBUG] Wrote back {"statusCode":0,"action":"statusChanged","connectionStatus":0} to unix socket

my servies as shown by sudo sv status /var/service/*
run: /var/service/NetworkManager: (pid 994) 333917s; run: log: (pid 993) 333917s
run: /var/service/agetty-tty1: (pid 1032) 333917s
run: /var/service/agetty-tty2: (pid 1033) 333917s
run: /var/service/agetty-tty3: (pid 1034) 333917s
run: /var/service/agetty-tty4: (pid 1035) 333917s
run: /var/service/agetty-tty5: (pid 1036) 333917s
run: /var/service/agetty-tty6: (pid 1037) 333917s
run: /var/service/bluetoothd: (pid 1006) 333917s; run: log: (pid 1005) 333917s
run: /var/service/chronyd: (pid 1016) 333917s; run: log: (pid 1015) 333917s
run: /var/service/dbus: (pid 987) 333917s; run: log: (pid 986) 333917s
run: /var/service/dhcpcd: (pid 984) 333917s; run: log: (pid 983) 333917s
run: /var/service/docker: (pid 1031) 333917s; run: log: (pid 1028) 333917s
run: /var/service/elogind: (pid 999) 333917s; run: log: (pid 998) 333917s
run: /var/service/gdm: (pid 992) 333917s; run: log: (pid 991) 333917s
run: /var/service/seatd: (pid 1004) 333917s; run: log: (pid 1003) 333917s
run: /var/service/udevd: (pid 1041) 333917s; run: log: (pid 1040) 333917s

Describe the solution you'd like.
i expect the vpn to connect to the server and route my trafic through it
Describe alternatives you've considered
using conty to launch the extracted appimage results in it apparently being unable to connect to the internet, as it just says that the access key is invalid. worst case scenario i could switch to a systemd based distro, but i wouldnt want to do that since im using void for multiple years and im quite happy with it.

This is a request for an unsupported distro. You can try using our experimental Outline CLI.
We'll leave this open as a feature request to support the mentioned new platform.

thank you, this solved my issue


Evaluate_algo.py looks for missing file ./algo_evaluation/data_evaluate/pdf_providers.csv

Trying to get the Evaluating each component of the algorithm instructions working from README.md. After running aws s3 cp --recursive s3://datalabs-data/policy_tool_tests algo_evaluation/data_evaluate/:
$ python evaluate_algo.py
[2019-07-02 12:25:02,846]:INFO - Starting evaluations...
[2019-07-02 12:25:02,846]:INFO - Reading files...
[2019-07-02 12:25:02,846]:INFO - [+] Reading pdfs
Traceback (most recent call last):
  File "evaluate_algo.py", line 101, in <module>
    'csv'
  File "/home/matthew/Documents/wellcome/policytool/policytool/refparse/utils/file_manager.py", line
71, in get_file
    return self._get_from_local(file_prefix, file_name, file_type)
  File "/home/matthew/Documents/wellcome/policytool/policytool/refparse/utils/file_manager.py", line
86, in _get_from_local
    with open(file_path, 'rb') as file_content:
FileNotFoundError: [Errno 2] No such file or directory: './algo_evaluation/data_evaluate/pdf_providers.csv'

This is just an incorrect filename as the file ./algo_evaluation/data_evaluate/pdfs_providers.csv does exist, but I can't seem to find where the reference to this file exists. See video for full explanation.
https://www.loom.com/share/cfbd9d104aa4490aa66bb60f98a295af
Additionally if I rename the above file so that it is found, I then run into the following
$ python evaluate_algo.py
[2019-07-02 12:45:57,149]:INFO - Starting evaluations...
[2019-07-02 12:45:57,149]:INFO - Reading files...
[2019-07-02 12:45:57,149]:INFO - [+] Reading pdfs
[2019-07-02 12:45:57,149]:INFO - Using ./algo_evaluation/data_evaluate/pdf_providers.csv file from local storage
[2019-07-02 12:45:57,157]:INFO - [+] Reading split_section_test_data.csv
[2019-07-02 12:45:57,157]:INFO - Using ./algo_evaluation/data_evaluate/split_section_test_data.csv file from local storage
[2019-07-02 12:45:57,161]:INFO - [+] Reading actual_reference_structures_sample.csv
[2019-07-02 12:45:57,161]:INFO - Using ./algo_evaluation/data_evaluate/actual_reference_structures_sample.csv file from local storage
[2019-07-02 12:45:57,166]:INFO - [+] Reading positive_and_negative_match_test_data.csv
Traceback (most recent call last):
  File "evaluate_algo.py", line 145, in <module>
    'csv'
  File "/home/matthew/Documents/wellcome/policytool/policytool/refparse/utils/file_manager.py", line 71, in get_file
    return self._get_from_local(file_prefix, file_name, file_type)
  File "/home/matthew/Documents/wellcome/policytool/policytool/refparse/utils/file_manager.py", line 86, in _get_from_local
    with open(file_path, 'rb') as file_content:
FileNotFoundError: [Errno 2] No such file or directory: './algo_evaluation/data_evaluate/positive_and_negative_match_test_data.csv'

@ivyleavedtoadflax hm, strange error, can you try running the code from the branch created in this PR https://github.com/wellcometrust/policytool/pull/163

Thanks @lizgzil - solved with your help!


Move payload providers out into their own module.

This prevents all dependents on sdks:java:extensions:sql from needing to add a thrift and protobuf dependency.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @amaliujia

R: @TheNeuralBit

Run SQL PostCommit

Run SQL PostCommit

cc: @robinyqiu

Run SQL PostCommit

The double service issue should be resolved by #13968, can you sync and re-run tests @dpcollins-google?

 Unfortunately I don't know how to see the specific errors in the Jenkins logs.. you can run checkstyle yourself locally with the checkstyleMain and checkstyleTest tasks

Thanks for sticking with this @dpcollins-google! LGTM


Sprite Wizard

Moved arcade into a separate library, added a controller block to snippetbuilder and am now providing snippet builder json as pxtsnippets.json.

Why are we moving into a separate project?

@pelikhan Now that the snippets are provided by a pxtsnippets.json their isn't really a reasonable place to provide that file. If we provide it from libs/game it will have to live in common-packages and the Sprite Wizard itself is not very common.

You can override the content of game/pxt.json in the pxt-arcade project itself. Or add it to the “device” project as well. No need for a dedicated project for this.

You can override the content of game/pxt.json in the pxt-arcade project itself. Or add it to the “device” project as well. No need for a dedicated project for this.

I don't understand why a separate project is bad. This is decoupled and unrelated to all the other stuff in those projects. What's the philosophy?

It is going to be loaded by the default project anyway. We use separate projects for optional features typically.
This project contains UI stuff not code; I don’t see why we can’t have it built-in the game/pxt.json in common packages.

From: Daryl Zuniga<EMAIL_ADDRESS>Sent: Tuesday, July 2, 2019 5:08:33 AM
To: microsoft/pxt-arcade
Cc: Peli de Halleux; Mention
Subject: Re: [microsoft/pxt-arcade] Sprite Wizard (#1110)
You can override the content of game/pxt.json in the pxt-arcade project itself. Or add it to the “device” project as well. No need for a dedicated project for this.
I don't understand why a separate project is bad. This is decoupled and unrelated to all the other stuff in those projects. What's the philosophy?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt-arcade%2Fpull%2F1110%3Femail_source%3Dnotifications%26email_token%3DAA73QKM6PDCU53IZTDP7CSDP5LBDDA5CNFSM4H4JAPA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY75NGA%23issuecomment-507500184&data=02|01|jhalleux%40microsoft.com|995144f58ed74e84170808d6fe9a9149|72f988bf86f141af91ab2d7cd011db47|1|0|636976337151225947&sdata=7F5Eo%2BB5ihDPRR%2F7TDok%2BtJbH04TBM1XhzAuw22NDa0%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKIQCJM4WN56NK4ASZTP5LBDDANCNFSM4H4JAPAQ&data=02|01|jhalleux%40microsoft.com|995144f58ed74e84170808d6fe9a9149|72f988bf86f141af91ab2d7cd011db47|1|0|636976337151235938&sdata=7QrJr%2F8Zj%2FSLgJbSyfDbhz5Z9hjqlxBXlTrhJ20%2Bhng%3D&reserved=0.

It is going to be loaded by the default project anyway. We use separate projects for optional features typically. This project contains UI stuff not code; I don’t see why we can’t have it built-in the game/pxt.json in common packages.

So we tried to add a snippetbuilders.json to the "files" property in pxt-arcade's game lib, however that was being ignored or overwritten by pxt-common-packages from what we could tell. Is that supposed to work?

I don’t see why you would not add it in common packages directly. But anyway proceed with your plan and we’ll discuss when I am back.

I don’t see why you would not add it in common packages directly. But anyway proceed with your plan and we’ll discuss when I am back.

Because common packages is a huge pain to modify.

I don’t see why you would not add it in common packages directly. But anyway proceed with your plan and we’ll discuss when I am back.

Because common packages is a huge pain to modify.

And Jacob is still rapidly iterating on this

I don’t see why you would not add it in common packages directly. But anyway proceed with your plan and we’ll discuss when I am back.

Because common packages is a huge pain to modify.

And Jacob is still rapidly iterating on this

Also, it's as arcade specific as it gets, by definition not a "common package" :)

Alright the new plan is to move this into device/ and import it as a file there.


Try fixing random hangs in CI due to races

Ref : https://github.com/containers/youki/issues/2144 , specifically https://github.com/containers/youki/issues/2144#issuecomment-1624844755
As per mentioned in the comment, I have added a different impl for the "main" function, that will leak the closure, and allow OS to collect memory at very end instead. For the sake of safety, I have added that function via cfg(test) , so the release code still gets the "proper" implementation. As mentioned in the comment, the races should every only be present in tests due to multi-threaded nature of test running, and actual real-world should not have this hang-up issue.
One downside is that because of this the code that is tested v/s the one that is executed is slightly different, and I'm not entirely fine with it ; but given that our CI is showing way more time-out flakes due to these hangs, I'm willing to try this solution.
I ran the test CI ~ 5 times on my repo, and tests did not hang any time : https://github.com/YJDoc2/youki/actions?query=branch%3Atests%2Ffix-for-2144++
However, one run did fail on one test - https://github.com/YJDoc2/youki/actions/runs/7407712843/job/20154439112 ;but as it still didn't  hang, and the test itself might have flaked, so not considering it in particular.

Codecov Report

Merging #2615 (27e94a2) into main (b60889d) will increase coverage by 0.00%.
Report is 9 commits behind head on main.
The diff coverage is 66.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2615   +/-   ##
=======================================
  Coverage   65.88%   65.89%
=======================================
  Files         133      133
  Lines       16819    16834   +15
=======================================
+ Hits        11081    11092   +11
- Misses       5738     5742    +4

Does the hang still happen after https://github.com/containers/youki/pull/2425?
Would you have links to hanging runs?

Does the hang still happen after https://github.com/containers/youki/pull/2425?
Would you have links to hanging runs?

Hey, yes it still occasionally hangs, and in fact also hangs on glib :
eg Runs :

https://github.com/containers/youki/actions/runs/7407675307/job/20154351955 (glibc)
https://github.com/containers/youki/actions/runs/7380997666/job/20079079193 (musl)
CI for one old commit in this PR https://github.com/containers/youki/actions/runs/7408099752

You can check https://github.com/containers/youki/actions/workflows/main.yml?query=is%3Afailure where runtime is >= 20 mins.
I think the issue is that even though that PR fixes some syscall issues, the box free syscall as investigated by yihuaf and mentioned in the comment in PR desc still exist.

Why can't we use the test behaviour in release code as well?
I would be happy with leaving the cleanup to the OS in release mode as well.

It is mostly my preference to not leak things unless needed. There are no code related or technical reason why both versions cannot be same, at worse we are leaking a single box there, so I think <100  bytes of memory. I just separated the code, because as per yihuaf 's investigation the issue was only occurring in test, and should not be present in normal usage. I am fine with using the same behavior in both cases, so if that feels better, let me know, I'll update accordingly.

Another option could be setting --test-threads=1 at the expense of slightly increased test runtime.
cargo test -- --test-threads=1

Although I'm not 100% sure that this guarantees that the process will have only one thread.

This is caused by multiple threads, so it never happens in production because Youki itself always expects one thread.

@YJDoc2 Can I ask you if this failure is related to this PR?
https://github.com/containers/youki/actions/runs/7484741181/job/20372045989?pr=2615

Hmm it appears that even after the changes here, some tests can hang
test process::fork::test::test_container_err_fork has been running for over 60 seconds
test process::fork::test::test_container_fork has been running for over 60 seconds
test seccomp::tests::test_basic has been running for over 60 seconds
test seccomp::tests::test_moby has been running for over 60 seconds

Which is  why the one CI has failed. Not sure what can be done further right now :sweat:

hmm... @yihuaf May I ask you to look into this PR and CI?

Another option could be setting --test-threads=1 at the expense of slightly increased test runtime.
cargo test -- --test-threads=1

Although I'm not 100% sure that this guarantees that the process will have only one thread.

Good option.
@YJDoc2
How about separating the test into two, not using clone and using clone by cfg feature flags?

How about separating the test into two, not using clone and using clone by cfg feature flags?

Hey @utam0k , I'm not sure what do you mean by this. Do you mean to split tests into two parts, one which use the clone path (such as fork, etc) and others which don't? Maybe then we can run the non-fork ones in parallel, and run the fork ones in serial. However, I feel there would still be a chance that because the way tests are executed, the runner would still have multiple threads (total), even if we run with --test-threads=1 . Still, it might be worth a try. Can you confirm if this is what you meant? Thanks!

@YJDoc2 Yes, That's what I want to say. I believe features could separate unit tests into two parts, using clone(2) and not using it.


Add information about talks, firewall, DHCP, DNS, and add Tiamat to IP allocations

Talks page is no longer empty
A bit more information about the firewall and nftables
DHCP server is now EOL :(
Trimmed unnecessary comments from DHCP server config
Tiamat is now on the 145 subnet listing
Updated unbound info and config

@lavajuno you might want to add this link to the tiamat docs https://terminator.cosi.clarkson.edu/

@lavajuno you might want to add this link to the tiamat docs https://terminator.cosi.clarkson.edu/

Definitely, I was just a bit hesitant to put it there because a lot of our network security documentation is private. I'm totally fine personally with Terminator being on there though. I'll poke around to see if it's an issue and if not I will commit it

It's listed in the zones repo, so the existence is at least partially public knowledge. It's not a bad idea to make it only accessible from COSI subnets.

I'm in the (slow) process of writing a blog post / article about the append only log database paradigm I used for go-talks and some other projects. Here is what some of that could look like as part of the book.
Architecture
Instead of using a typical SQL database (like SQLite) talks uses an unconventional append-only log backed database. All events (creating talks, hiding talks, deleting talks) are timestamped and appended to the "database" as JSON.
{"time":"2022-09-22 00:07:36.748669812+00:00","type":"create","create":{"id":245,"name":"Chris","type":"lightning talk","description":"chris tries his best to explain why rust is awesome","week":"20220928"}}
{"time":"2022-09-22 00:25:59.471196491+00:00","type":"hide","hide":{"id":246}}
...
{"time":"2023-08-28 18:06:43.998097+00:00","type":"delete","delete":{"id":465}}

On program start this log file is read in and simulated, creating an in-memory representation (vaguely a Map id -> Talk). At this point almost any operation is fast.
Some advantage of the append-only log databases are:

Backups become trivial, copy the file.
Rollbacks are amazing, delete the last N lines.
This database is extensible. New event types can be added arbitrarily in a backwards way.

Human "readable", self documenting format.
There is no ORM and no need to write SQL.

The biggest cons to the paradigm:

There is no SQL. Queries must be programmed in the native language. This is probably a net-negative on overall accessibility.
go-talk's database state must be completely stored in memory (unlikely for us to ever exceeded 1 MB).
It's not particularly nice to store data other than plain text.
Unconventional. There is often criticism that this kind of approach is "not proven". Although go-talks has stored >1000 events without issue.

Might be good to open a separate PR to add that on the Talks page, I'll probably be merging this one soon once I add more info about our current network setup.

Switch info and topology is now up to date. It's not perfect but this PR is getting giant and it's better to have up-to-date information on Book. Merging it soon.


new work

请问最新的BASNet，大概什么时候能公布？谢谢

We are still waiting for the first round reviews. Should be released soon
e.g. in the next one or two month.
On Tue, Apr 27, 2021 at 12:18 PM 张取 @.***> wrote:

请问最新的BASNet，大概什么时候能公布？谢谢
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xuebinqin/BASNet/issues/56, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORJVNEYVTVYKUEYPBCLTKZXNDANCNFSM43UPVYDA
.

--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage:https://webdocs.cs.ualberta.ca/~xuebin/


build failing: make unable to find object from RE2 library

1 warning generated.
[C]       Compiling third_party/address_sorting/address_sorting_windows.c
[AR]      Creating /Users/Shared/projects/test/grpc/libs/opt/libaddress_sorting.a
make: *** No rule to make target /Users/Shared/projects/test/grpc/objs/opt/third_party/re2/re2/bitstate.o', needed by /Users/Shared/projects/test/grpc/libs/opt/libre2.a'.  Stop.
I am trying to compile on mac for unity package.

Are you trying gRPC C# on Unity (which is no longer supported) or just gRPC C++ on Unity (I'm not sure if that was ever supported or if anyone has ever tried that)?
See recent update on gRPC C# for more info.

Closing due to no updates


[move-prover] Revived invariant disabling-(62)

Motivation
In PR https://github.com/diem/diem/pull/8840, all pragmas disabling invariants were commented out
and some invariants were weakened because we found that we needed
greater control over which invariants were disabled in order to
avoid false positives.
This PR has a feature "invariant [suspendable] ...." that indicates
that an invariant should be disabled in the body of a function when
pragma disable_invariants_in_body appears in the spec of that
function. Other invariants will not be disabled. This turns out to
work (at least for the Diem framework) because most invariants don't
need to be disabled and turn out to be useful for, e.g., proving the
absence of abort conditions.
There is a small change to add the pragma, and changes in
verification_analysis_v2.rs to compute a smaller set of disabled predicates
by limiting to the suspendable invariants.
Numerous changes were in DiemAccount.move, to disable invariants in
some functions, strengthen those invariants, and declare some new
friend functions in Roles.move.
Several bugs have been fixed where invariants were asserted/assumed
in the wrong place.
NOTE: This PR is more correct than the previous state, but there are
still bugs, including potential soundness bugs. Also, changes to
fix soundness issues with type parameters do not play well with the
some of the invariant code, so more work is needed, including some
careful thinking through of soundness arguments.
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
Functional testcases are added to cover above changes.

/canary

/canary

:sunny: Canary successful

/land

:lock: Merge Conflict

/land

:lock: Merge Conflict

/canary

:lock: Merge Conflict

/land

:lock: Merge Conflict


[SPARK-17387][PYSPARK] Allow passing of args to gateway to configure JVM

What changes were proposed in this pull request?
When not using spark-submit, user configuration for the JVM is ignored when creating the SparkContext.  This is because the JVM is started before the SparkConf object is initialized.  This change allows user to specify --conf args on the command line that will be used when launching the java gateway to configure the JVM.
How was this patch tested?
Started a plain Python shell with this command and verified the JVM was configured with the correct amount of memory.
SPARK_HOME=$PWD PYTHONPATH=python:python/lib/py4j-0.10.3-src.zip python - --conf spark.driver.memory=4g

Note, the additional '-' is needed for the cmd line args to not be processed when invoking the interpreter.

Test build #65125 has started for PR 15019 at commit 100e442.

@vanzin and @zjffdu , this is my take on a simplified solution that will allow configuring the JVM from the command line.  You still won't be able to use these confs in the shell when creating the SparkContext, but I believe this is also how PySpark and spark-shell work also.

@BryanCutler sorry, this is not what I meant. Guess I was confused about your comment on the bug.
See my original code on the bug:
>>> from pyspark import SparkContext
>>> from pyspark import SparkConf
>>> conf = SparkConf().set("spark.driver.memory", "4g")
>>> sc = SparkContext(conf=conf)

That's what I want to work.

Hmmm, that won't work in the PySpark shell either though, even if you restart the SparkContext.  If that's what you want though, @zjffdu 's PR addresses that.

that won't work in the PySpark shell either though, even if you restart the SparkContext

That's a separate issue which should also be fixed (stopping a python SparkContext does not stop the underlying JVM), and kinda depends on the fix for this one too.

Ok, I'll close this off then

Test build #65125 has finished for PR 15019 at commit 100e442.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/65125/
Test PASSed.