V0.1

Description
Please include a summary of the change and which issue is fixed. Also, please include the motivation and context for the change. List any dependencies that are required for this change.
Check the relevant boxes:

[ ] Bug fix (nonbreaking change that fixes an issue)
[ ] New feature (nonbreaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Examples or tests (addition or updates of examples or tests)
[ ] Documentation update
[ ] CI related update (pipeline, etc.)

Checklist

[ ] If relevant, a test for the change has been added or updated as part of this PR.
[ ] If relevant, documentation for the change has been added or updated as part of this PR.

Merge

Merge using "Squash and merge".
Make sure to use a relevant conventional commit message that is based on the PR contents. The commit message determines whether a new version of the modules needs to be released, and if so, which semver number to use).

The terraform plan outputs an error with default value
vincent@IBM-PF33E06N:~/git/terraform-ibm-powervs-infrastructure/examples/default$ terraform plan
╷
│ Error: Invalid combination of arguments
│
│   with module.pvs.module.power_service.data.ibm_resource_group.resource_group_ds,
│   on ../../submodules/power_service/main.tf line 11, in data "ibm_resource_group" "resource_group_ds":
│   11: data "ibm_resource_group" "resource_group_ds" {
│
│ "is_default": one of `is_default,name` must be specified
╵
╷
│ Error: Invalid combination of arguments
│
│   with module.pvs.module.power_service.data.ibm_resource_group.resource_group_ds,
│   on ../../submodules/power_service/main.tf line 12, in data "ibm_resource_group" "resource_group_ds":
│   12:   name = var.pvs_resource_group_name
│
│ "name": one of `is_default,name` must be specified

@vburckhardt yes debugging locally and have asked the provider team for help

Another error - but this does not look related to code here. Tracking so that we do not forget about it.
module.pvs.module.power_service.ibm_pi_network.backup_network: Creation complete after 20s [id=6e3dd098-6640-4e82-ac67-61b76dcc796f/98a7da82-ed6d-42ae-8fd2-d99c9fc3722d]
╷
│ Error: [DEBUG] Create SSH Key Post "https://syd.iaas.cloud.ibm.com/v1/keys?generation=2&version=2022-03-29": dial tcp: lookup syd.iaas.cloud.ibm.com on <IP_ADDRESS>:53: no such host
│ null
│
│
│   with ibm_is_ssh_key.ssh_key,
│   on main.tf line 36, in resource "ibm_is_ssh_key" "ssh_key":
│   36: resource "ibm_is_ssh_key" "ssh_key" {
│

Looks good. As expected

For the error at https://github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure/pull/5#issuecomment-1209622435 - I'm thinking we leverage the resource group module to optionally create a resource group. I'm looking at pushing it from internal https://github.com/terraform-ibm-modules/terraform-ibm-resource-group/pull/1

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unable to load HF T0pp in 8bit

Description of the bug
I have working example of T0pp running on my hardware, directly using transformer's AutoModelForSeq2SeqLM.from_pretrained() and I'm trying to load the model with manifest.
It seems impossible to pass parameters to "from_pretrained" method (in /api/models/huggingface.py). I need to pass load_in_8bit=True here and I believe this would fully solve my issue (as this is what I'm doing in my script).
To Reproduce
Steps to reproduce the behavior:

There's no way how to pass load_in_8bit=True into from_pretrained() from  python3 -m manifest.api.app --model_type huggingface --model_name_or_path bigscience/T0pp  --device 0.

Expected behavior
Add possibility to pass arguments to huggingface's from_pretrained().

To load the T0pp model with manifest, I also had to pass device_map="auto" to from_pretrained and I had to commented out model = model.to(torch_device) because it caused error ValueError: `.to` is not supported for `8-bit` models. Please use the model as it is, since the model has already been set to the correct devices and casted to the correct `dtype`.

Did you try the --use_bitsandbytes flag?

Works with --use_bitsandbytes, sorry. Closing.


x/telemetry/config: temporarily allow gopls devel versions to upload telemetry data

Gopls in the dev branch is collecting telemetry data currently, but since the upload config doesn't include counters from dev versions of gopls, the collected counters are never being uploaded. For testing, include devel version in the config during the dev cycle.
Alternative #1: we can have a separate version of config used for development and staging, and include devel there.
Alternative #2: tag gopls.
cc @golang/tools-team @jamalc

This is done. Let's use this issue to track reverting this change now that the gopls prerelease is out. Blocked by #63619

We also need to make this change (temporarily) for toolchain programs.


java.lang.Exception in MainRobotActivity

Error in runmyrobot_android_dev
java.lang.Exception in MainRobotActivity
Unable to form URL
View on Bugsnag
Stacktrace
CameraComponent.kt:75 - com.runmyrobot.android_robot_for_phone.api.CameraComponent.enable
Core.kt:136 - com.runmyrobot.android_robot_for_phone.api.Core.enableInternal
Core.kt:31 - com.runmyrobot.android_robot_for_phone.api.Core.access$enableInternal
Core.kt:89 - com.runmyrobot.android_robot_for_phone.api.Core$1.handleMessage

View full stacktrace
Created automatically via Bugsnag

This is caused by turning all data paths off OR turning on airplane mode, then trying to power on services


BUG: Cannot write column with boolean dtype

Hi, I was getting an error when using the write_dataframe() when using geodataframes containing booleans from google-cloud-bigquery
from google.cloud import bigquery
import pyogrio
client = bigquery.Client()

gdf = client.query("""SELECT ST_GEOGPOINT(1, 1) as geometry, True as bool_field """).to_geodataframe()
pyogrio.write_dataframe(gdf, "test2.json", driver="GeoJSON" )

# usr/local/lib/python3.8/dist-packages/pyogrio/_io.pyx in pyogrio._io.infer_field_types()
#
# NotImplementedError: field type is not supported boolean (field index: 0)

After some digging I figured out that the returned dtype for bool_field was a pandas.BooleanDtype/boolean instead of bool and was able to replicated it without bigquery. It seems to be able to work fine with fiona but breaks with pyogrio
import geopandas as gpd
from shapely import Point
from pandas import BooleanDtype
import pyogrio

gdf = gpd.GeoDataFrame([{'geometry': Point(1,1), "bool_field":True}])
gdf.dtypes

# geometry      geometry
# bool_field        bool
# dtype: object

gdf2 = gdf.astype({'bool_field': BooleanDtype()})
gdf2.dtypes

# geometry      geometry
# bool_field     boolean
# dtype: object

# Works with bool dtype
pyogrio.write_dataframe(gdf, "1.json", driver="GeoJSON" )

# Works with boolean dtype
gdf2.to_file("test.json", driver="GeoJSON")

# This throws the same error
pyogrio.write_dataframe(gdf2, "test2.json", driver="GeoJSON" )

# usr/local/lib/python3.8/dist-packages/pyogrio/_io.pyx in pyogrio._io.infer_field_types()
#
# NotImplementedError: field type is not supported boolean (field index: 0)

My hunch is to add boolean to https://github.com/geopandas/pyogrio/blob/75e8f13940fea6e30554115760275c7da978058c/pyogrio/_io.pyx#L60-L84
Thanks for the wonderful work!

@jtmiclat Thanks for the report!
In general, we don't yet support the pandas nullable dtypes such as boolean.
As long as there are no missing values, adding boolean to the DTYPE_OGR_FIELD_TYPES mapping might be sufficient, but for missing values we will certainly need to add support for recognizing pd.NA as missing value. It might also be more efficient to add a support for having field data as both values + mask array.

@jorisvandenbossche I did some initial testing and adding boolean to  DTYPE_OGR_FIELD_TYPES  does address my issue but fails when there is a pd.NA in the column.  The error message isn't super clear for the user
>   OGR_F_SetFieldInteger(ogr_feature, field_idx, field_value)
E   TypeError: an integer is required

pyogrio/_io.pyx:1631: TypeError

I think it is best to wait for support for recognizing pd.NA. Thanks!

I imagine that supporting writing dataframes with dtype="string" falls into a similar category? - as that is also nullable I've been introducing pyogrio to some colleagues who are super impressed at the speed difference compared to fiona for reading large networks, and we came across the this behaviour difference with fiona.

Seems like dtypes string and analogous (string[python], string[pyarrow] as well as category don't work out of the box, and need to be casted to object.
Maybe we should change the title of this issue to indicate that it is a broader issue, or open another one ?
Some documentation in that regard would be welcome too.

@Oreilles renamed the issue to an ENH request to support nullable fields. I think category dtype would be a separate issue!


Version switcher shows irrelevant versions and redirects to latest if I choose an inapplicable version

Describe the bug
If I click in the dropdown to choose the .net version, it shows a bunch of versions which do not apply to the current page I’m on. On the old docs site, only versions applicable to the current API are shown. On docs.microsoft.com, it shows inapplicable versions. If I click on an inapplicable version, it redirects me to the latest version.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.microsoft.com/dotnet/api/system.valuetuple-1?view=netframework-4.7
Click on the “.NET Framework 4.7” dropdown.
Scroll down to 4.6.2 in the Version column.
Click on 4.6.2.
Observe that the page redirects to the same API but for “.NET Framework 4.7.2” (or whatever is latest at the time).

The user, at the end, may not notice that the redirect happened and think they are looking at 4.6.2 docs. Then they will wonder why they can’t use ValueTuple even though it seemed to them that it was in the docs for 4.6.2.
Expected behavior
I expect one of two things when opening the dropdown:

Omit inapplicable versions, like the dropdown in the old MSDN site. In this case, only 4.7 and newer would show up under “.NET Framework”.
Show old versions but show them as greyed out and not clickable.

Either of these changes would prevent the user from even getting to the confusing “redirect to latest version” behavior.
Another option would be to, instead of redirecting, show the user a page which explains that the API is not applicable to the version they chose. In fact, maybe this should be done as well so that people manually typing URIs get informed that they tried to exist an API that doesn’t exist for a particular version instead of being redirected. But the dropdown should never send the user to that page because doing so wastes the user’s time.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Version 1803 OS Build 17677.1000
Browser Firefox
Version 61.0b9

Smartphone (please complete the following information):

Device: OnePlus5
OS: OxygenOS-5.1.1, Android-8.1.0
Browser Firefox
Version 60.0.1

Additional context

@binki Thanks for your detailed feedback. I will open an internal work item to track it.

#log-suggestion @dend

🚀 ATTENTION: Internal request logged.

Thanks for the feedback, @binki - the version switcher shows all versions for a product family, in this case - the .NET Platform. We have another bug tracking the showing of items in the table of contents (TOC) here - #347.


protocol: forge scripts deploy in Go

Description
This introduces the idea of running the Forge scripts, primarily the chain deployment / genesis setup scripts, in Go.
This improves the integration with Go tooling and tests, to unlock the customization we need for things like Interop, and to generally improve test coverage of our deployments.
Metadata
Fix https://github.com/ethereum-optimism/optimism/issues/11360

I think that this could be a good approach although I would need more convincing to think its a good idea to use this for anything other than testing. I would much rather contribute features directly to foundry that help make our deployments better rather than us building tooling that subsumes foundry

Summary of design-review call:
The primary concern is if whether or not we can use forge script as-is to serve and op-e2e.
Arguments for:

Ideal to upstream changes to forge, if we can identify something that unlocks integration with Go
Can be implemented (with caching to mitigate performance problems) as in https://github.com/ethereum-optimism/design-docs/pull/52
Forge cheatcodes all work out of the box

Arguments against:

Need for well-defined inputs/outputs

The more we side-channel data through files, the more the Go integration has to prepare and manage edge-cases of (caches, missing data, IO errors, etc.).
Difficult to bundle Go L2 genesis generation and Forge L2 genesis generation, do to multi-step process and intermediate files. Hurts devrel experience.

Performance concerns

Intermediate disk access
Encoding the configs in JSON (or toml), split between 32 byte leafs, reconstructing them multiple times, JSON parsing again, etc.
Multiple state dumps / loads per test setup.
FFI calls to forge processes (and forge versioning etc. affecting tests)

No cache-invalidation complexity

And L1 deployments can be unified by making a broadcast a no-op in the Go context, so we can run the same deploy functions, but generate state in-place.
There is some hesitation, but we can try the Go forge-script approach, and fall back to the other approach if the Go approach does not work.


Application under test can be opened from various spaces on hard drive

Hello community.
OS: Big Sur 11.1
Xcode version: 12.4
Appium version: 1.20.2
Appium java client version: 7.4.1
I'm running tests in intellij idea (java)
My case is:

Open intellij idea
Start tests (jUnit)
After test case execution replace application in /Applications folder
Start tests again

Actual result: as usual, at step N2 application was started from /Applications folder (which i assume is correct?), but after replace application in /Applications folder (even if i replace the same application with ctrl+c -> ctrl+v), on step N4 will be started application with the same bundle id but in different folder (for example from the "Documents" folder)
Logs with "wrong" folder:
[Appium] Welcome to Appium v1.20.2
[Appium] Non-default server args:
[Appium]   address: <IP_ADDRESS>
[Appium]   port: 4726
[Appium]   defaultCommandTimeout: 300000
[Appium] Appium REST http interface listener started on <IP_ADDRESS>:4726
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.20.2"}}
[HTTP] <-- GET /wd/hub/status 200 5 ms - 68
[HTTP]
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.20.2"}}
[HTTP] <-- GET /wd/hub/status 200 1 ms - 68
[HTTP]
[04-03-2021 18:13:36] INFO  Appium server is running on: http://<IP_ADDRESS>:4726/wd/hub
[debug] [HTTP] Request idempotency key: 16b20711-1914-4c33-b1b6-c509866a1fb2
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"automationName":"mac2","bundleId":"my.bundle.id","platformName":"mac","newCommandTimeout":"300000","platformVersion":"11.1"},"capabilities":{"firstMatch":[{"appium:automationName":"mac2","appium:bundleId":"my.bundle.id","appium:newCommandTimeout":"300000","platformName":"mac","appium:platformVersion":"11.1"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"mac2","bundleId":"my.bundle.id","platformName":"mac","newCommandTimeout":"300000","platformVersion":"11.1"},null,{"firstMatch":[{"appium:automationName":"mac2","appium:bundleId":"my.bundle.id","appium:newCommandTimeout":"300000","platformName":"mac","appium:platformVersion":"11.1"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at<PHONE_NUMBER>383 (18:13:37 GMT+0200 (Eastern European Standard Time))
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[Appium] Appium v1.20.2 creating new Mac2Driver (v0.8.1) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver]   "alwaysMatch": {
[debug] [BaseDriver]     "platformName": "mac",
[debug] [BaseDriver]     "appium:automationName": "mac2",
[debug] [BaseDriver]     "appium:bundleId": "my.bundle.id",
[debug] [BaseDriver]     "appium:newCommandTimeout": "300000",
[debug] [BaseDriver]     "appium:platformVersion": "11.1"
[debug] [BaseDriver]   },
[debug] [BaseDriver]   "firstMatch": [
[debug] [BaseDriver]     {}
[debug] [BaseDriver]   ]
[debug] [BaseDriver] }
[BaseDriver] Number capability passed in as string. Functionality may be compromised.
[BaseDriver] Capability 'newCommandTimeout' changed from string ('300000') to integer (300000). This may cause unexpected behavior
[BaseDriver] Session created with session id: e9869c49-2715-4d18-8f3d-f2c3c8ece781
[debug] [WebDriverAgentMac] Using bootstrap root: /usr/local/lib/node_modules/appium/node_modules/appium-mac2-driver/WebDriverAgentMac
[debug] [WebDriverAgentMac] Using xcodebuild binary at '/usr/bin/xcodebuild'
[WebDriverAgentMac] WebDriverAgent sources are up to date<PHONE_NUMBER>292 >=<PHONE_NUMBER>292)
[debug] [WebDriverAgentMac] Using port 10100
[WebDriverAgentMac] Mac2Driver host process logging is disabled. All the xcodebuild output is going to be suppressed. Set the 'showServerLogs' capability to 'true' if this is an undesired behavior
[WebDriverAgentMac] Starting Mac2Driver host process: xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-mac2-driver/WebDriverAgentMac/WebDriverAgentMac.xcodeproj -scheme WebDriverAgentRunner COMPILER_INDEX_STORE_ENABLE\=NO
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[WD Proxy] connect ECONNREFUSED <IP_ADDRESS>:10100
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10100/status] with no body
[debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"version":"Version 11.1 (Build 20C69)"},"ready":true,"build":{"time":"Mar  4 2021 17:44:46"}},"sessionId":null}
[WebDriverAgentMac] The host process is ready within 6159ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://<IP_ADDRESS>:10100/session] with body: {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"mac","automationName":"mac2","bundleId":"my.bundle.id","newCommandTimeout":300000,"platformVersion":"11.1"}}}
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"F689E02B-4B7C-4163-94FA-5927830336AF","capabilities":{"CFBundleIdentifier":"my.bundle.id"}},"sessionId":"F689E02B-4B7C-4163-94FA-5927830336AF"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[Appium] New Mac2Driver session created successfully, session e9869c49-2715-4d18-8f3d-f2c3c8ece781 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at<PHONE_NUMBER>344 (18:13:44 GMT+0200 (Eastern European Standard Time))
[debug] [W3C (e9869c49)] Cached the protocol value 'W3C' for the new session e9869c49-2715-4d18-8f3d-f2c3c8ece781
[debug] [W3C (e9869c49)] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"mac","automationName":"mac2","bundleId":"my.bundle.id","newCommandTimeout":300000,"platformVersion":"11.1"}}
[HTTP] <-- POST /wd/hub/session 200 6963 ms - 216
[HTTP]
[HTTP] --> POST /wd/hub/session/e9869c49-2715-4d18-8f3d-f2c3c8ece781/timeouts
[HTTP] {"script":5000}
[W3C (e9869c49)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/e9869c49-2715-4d18-8f3d-f2c3c8ece781/timeouts' to command name 'timeouts'
[debug] [Protocol Converter] Will send the following request bodies to /timeouts: [{"script":5000}]
[debug] [WD Proxy] Proxying [POST /wd/hub/session/e9869c49-2715-4d18-8f3d-f2c3c8ece781/timeouts] to [POST http://<IP_ADDRESS>:10100/session/F689E02B-4B7C-4163-94FA-5927830336AF/timeouts] with body: {"script":5000}
[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"F689E02B-4B7C-4163-94FA-5927830336AF"}
[WD Proxy] Replacing sessionId F689E02B-4B7C-4163-94FA-5927830336AF with e9869c49-2715-4d18-8f3d-f2c3c8ece781
[HTTP] <-- POST /wd/hub/session/e9869c49-2715-4d18-8f3d-f2c3c8ece781/timeouts 200 10 ms - 65
[HTTP]

This is how XCTest works. Consider deleting extra application duplicates or reporting the issue to Apple.

@mykola-mokhnach
Thanks for response
Just for history (if someone will struggle with this), it can be avoided:

do  not pass bundle id in desired capabilities when driver starts
start your application by command from terminal (there can be passed path for application)
use "macos: activateApp" command from driver

start your application by command from terminal (there can be passed path for application)

There is a possibility to run arbitrary AppleScripts in the driver, it is not necessary to do anything separately of the automation script


Bump version to 1.11.2-rc1

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>

LGTM

LGTM


added dependencies and removed vendor. Fixes #114

Added dependency files Gopkg.toml and Gopkg.lock for managing the dependencies and removed the vendor directory, which was the cause of the increased project size.
Now the dependencies can be installed using dep ensure command from the project root which will create vendor directory automatically.

#114


chore(AlgebraicTopology/SingularSet): factor topology out of SimplicialSet into new file

Please an algebraic topology maintainer sign off!
maintainer merge

This looks good to me. There is one issue though (which can fixed in a later PR): it seems that the functors like TopCat.toSSet : TopCat ⥤ SSet are currently defined only for topological spaces in Type 0.
bors d+

bors r+


discussion: capa doesn't handle sandbox or API traces

capa relies on analysis of code structures to identify patterns. this is similar to matching sequences of API calls or other events in a sandbox, but not exactly. right now, capa rules don't directly translate to identifying behaviors from sandbox or debugging output, but it seems like there's a lot of overlap. maybe we can find a way to re-use a lot of work we've done for the static analysis rules.

Hey, I am interested in this project. How can I get started with this?

This is a larger project. Are you interested in the context of GSoC?
If so, please see https://github.com/mandiant/flare-gsoc-2023/blob/main/doc/project-ideas.md#capa-capabilities-from-dynamic-analysis and https://github.com/mandiant/flare-gsoc-2023/blob/main/doc/contributor-guidance.md.

Yes, I am. So, should I send the proposal regarding my approach?

Yes, and please see the other steps we point out, i.e., the patch preparation.

Can you guide me more about the requirements and scope of the project and what are you looking in the contributor?

Even I am interested, I'll send the proposal right away!

Hey @mr-tz I am interested to work on this. I have prepared my GSoC proposal, can you review it once?

Great, yes, please share it with us in the respective GSOC repo discussion or via email. Ideally, use Google Docs or a similar tool so we can add comments.

Alright, I have sent it over email, do check and review!

closed in v7 by @yelhamer


Localization - add Latin (la) translation

@Hasnayeen can i do this ?

@Hasnayeen this is my PR https://github.com/iluminar/goodwork/pull/437

@parammittal16 has submitted a pull request. See it on IssueHunt

@hasnayeen has rewarded $18.00 to @parammittal16. (Total deposit: $20.00, Repository reward(0%): $0.00, Service fee(10%): $2.00) See it on IssueHunt

@Hasnayeen Thanks :)

you're welcome


Add test for parameterized tests with renamed IDs

add a test to confirm this scenario is correct. The IDs displayed for the given tests should be test_adding[test_adding], test_adding[2+V], and test_adding[6s+9]
@pytest.mark.parametrize(
    "actual, expected",
    [("3+2", 5), ("2+4", 6), ("6+9", 16)],
    ids=["test_adding", "2+V", "6s+9"],
)
def test_adding(actual, expected):
    assert eval(actual) == expected

also make sure this captures edge cases such as /n and   and [enter]. (Need to check if they are acceptable in pytest first then have the behavior replicated in the test explorer


Clarification required here

Correct me here if I am wrong with the following example.
We apply 3 yr retention policy for eol, spo, od4b. Next, we apply the same retention but form chat and msgs in teams.
Now I delete say Rodgers account after one year.  His files are deleted now but the retention policy says we hold onto his personal data for 3 years for compliance reasons.
So we need the Teams channel msgs and chats retention policy to make sure we still keep hold of the persistent chat and msgs otherwise all Rodgers chat and msgs will be deleted and break the flow of all the chat flow he was involved in.
Or are you saying the channel chats are still persistent does not matter if you delete the user's profile and repositories? Any files Rodger uploaded to teams will still be accessible and not give you a "file not found msg"?

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

ID: fb40cf43-557e-d443-578b-49edca4a3179
Version Independent ID: f78c9566-767f-bfae-7ba0-4e81d313034e
Content: Retention policies in Microsoft Teams
Content Source: Teams/retention-policies.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@officedocsbot assign @scanum

Hi @summone
Thanks for reaching out!
If you set the 3 year retention policy for your "Teams channel messages and Teams chats" and 1 year deletion policy for your SharePoint Online and OneDrive for Business locations, you'll get a "File not found" error. But you can still access the "Teams channel messages and Teams chats."
Hope this information is helpful. Kindly confirm. Thank you.

@summone We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.

Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Starting dev server in create-react-app with https

After changing port from http to https my react app doesnt working.

Why would it work?
And what do you mean by "changing port"? Perhaps you meant "changing protocol".
Are you trying to load https://localhost:3000?

Are you starting the dev serverwith HTTPS=true npm start?

Thanks! It help me
пт, 5 окт. 2018 г. в 17:28, Joe Haddad<EMAIL_ADDRESS>
Are you starting the dev serverwith HTTPS=true npm start?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/create-react-app/issues/5311#issuecomment-427384704,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATRAhKsquMZ2wJ05IADYSNg_gz8dGmB0ks5uh2ykgaJpZM4XKGpP
.

Awesome. 😄


.netStandard version. 2.1 or 2.0?

Isn't it true that EFCore3.0 is .netstandard2.1 while EFCore3.1 is .netstandard2.0?

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

ID: d5747ad3-edd5-1977-883c-2cf77112306c
Version Independent ID: d66d0616-2aa2-8be4-5ab6-24201ef00b59
Content: Installing Entity Framework Core - EF Core
Content Source: entity-framework/core/get-started/install/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @divega
Microsoft Alias: avickers

Yes, this is correct.


ScienceNearMe → generic issue ("Your Partner Organization" page)

In the "Your Partner Organization" page (https://beta.sciencenearme.org/my/organization), there are two duplicated dropdown menus to select the organization. This issue is only present on Beta.ScienceNearMe.org, not ScienceNearMe.org.

@SciStarter I went to check this out and the first time I visited page, this didn't occur. Then I refreshed page and it did. Now it's always there. Is there some weird cache/cookie thing going on?

I believe that's what it is, yes.


Keycloak and mod_auth_openidc

I need help in configuring mod_auth_openidc.
Environment

mod_auth_openidc version 2.3.0
Apache version 2.4.6
Centos 7

Expected behaviour
When I access http://ip/demo/user-login.html, i get an Invalid Request Error,
"You've hit an OpenID Connect Redirect URI with no parameters, this is an invalid request; you should not open this URL in your browser directly, or have the server administrator use a different OIDCRedirectURI setting."
(I am using only http because  I am only running all of my server in my local)
Actual behaviour
Minimized example
I have followed on how to set openid here -> https://qiita.com/rawr/items/d4f45e094c39ef43cbdf#参考資料
I only have one file inside the /demo folder.

Please see pictures of how I set Apache in my keycloak server.

Configuration and Apache server log files
Please see snippet of my apache configuration
DocumentRoot /var/www/html
OIDCProviderMetadataURL http://<IP_ADDRESS>:5280/auth/realms/MyDemo/.well-known/openid-configuration
OIDCClientID apache24
OIDCClientSecret b83ff381-226f-4e17-9622-0546433a63a7
OIDCResponseType code
OIDCScope "openid"
OIDCSSLValidateServer Off
OIDCProviderTokenEndpointAuth client_secret_basic
OIDCRedirectURI http://<IP_ADDRESS>:5191/demo/user-login.html
OIDCCryptoPassphrase password
<Location /demo>
AuthType openid-connect
Require valid-user

(I am only running this on dev server but keycloak will be running in apache mod_proxy in Prod)
I am quite confused with how to test mod_auth_openidc and keycloak and it feels I am still missing something on my configuration.
Please enlighten me on this one. Thank you.

@zandbelt Hello. Can you please help me on this one? Thank you.


Add pathways to support concierge OS

Added pathways required to run the concierge open-source project as well as other useful pathways that were developed internally.

Needs some changes - specifically around the rag indexes and making it run as much as possible with OAI models (obvi need some kind of index sources for rag, but other than that).


Pushing to redmine as a mirror fails

Hi!
I'm trying to mirror to redmine_git_hosting using
$ git push redmine +refs/remotes/origin/*:refs/heads/*
Counting objects: 121, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (121/121), done.
Writing objects: 100% (121/121), 12.31 KiB | 0 bytes/s, done.
Total 121 (delta 94), reused 0 (delta 0)
remote: FATAL: + refs/heads/feature/somebranch myrepo redmine_myuser_1 DENIED by fallthru
remote: error: hook declined to update refs/heads/feature/somebranch
To git@redmine:myrepo.git
 ! [remote rejected] origin/feature/somebranch -> feature/somebranch (hook declined)

It looks like I'm missing the + permission, any idea what might be missing? Do I need to configure a specific permission in the respective redmine role?

After reading a bit of code I found out a solution myself. To get the + in gitolite, you need the Manage Repository permission in your role.
Alternatively (and this is the way I chose to do it now), configure a deployment key with the RW+ permission. I only really found out how deployment keys work after reading the permission code. I think the feature could be documented better, because it seems really useful (giving specific keys elevated permissions).

After reading a bit of code I found out a solution myself

Hope this was not too ugly :)

To be honest, there were a couple too many levels of indirection for my liking. ;) My journey started out from the rake regenerate_ssh_keys task and I finally found Gitolitable::Users (via GitoliteAccessor, GitoliteWrappers::Base, GitoliteHandlers::Repositories::Base, Gitolitable::Permissions and PermissionsBuilder:: Standard).
If I were to name something actionable in this issue, I think http://redmine-git-hosting.io/features/ could be less self-referential under "Deployment Credentials". Maybe something along the lines of

Grant access to repositories for specific keys, no redmine user necessary. Great for service integrations such as build services or repository mirrors!

Doc updated. Thank you!


Correct purchase flow to handle Cash payments for consumables?

Thanks for creating this wrapper, it looks very useful.
One question I have, is how can I use this library to correctly handle those new Cash payments that are now happening in Indonesia, Malaysia, etc?  In those cases the user makes the purchase, then later goes to a convenience store to make the actual payment.  Google recommends using the PurchaseToken to store information about a consumable on our own servers, which can then be granted later when the cash payment is made.
It would be super helpful if you could add some sample code that correctly handles this type of situation.
Thanks!

Actually, I don't know. To avoid this problem for non-consumable products, user entitlement should be granted in onPurchaseAcknowledged callback, but for consumable products it's more complicated and I guess you should use server-side verification. I don't think it's possible for me to do something within the library to help with this.

Yes, I already need to make some changes to the code and definitely will do this too.
Thanks for the suggestion.
Does onPurchaseConsumed get called if CONSUME_ERROR is called?

Ok, I looked at the code and onPurchaseConsumed is not called if CONSUME_ERROR is called so you can make a workaround without involving a server verification.
You should grant user entitlement in onPurchaseConsumed and if everything goes as expected (without pending purchase) the user will have its purchase instantly, but if the purchase is pending, CONSUME_ERROR is called and there you should inform the user that the payment isn't completed yet and it may take a while until it's done and to come back later to receive the product. In this case, after the purchase is completed and the user reopens the app, onPurchaseConsumed will be called again. This will make more sense when I'll add CONSUME_WARNING because CONSUME_ERROR may be called for a different issue other than a pending transaction.

Perfect!  Yes, currently I'm able to work around this with CONSUME_ERROR, and everything works as it should.
Thanks!

Thanks!


Backport 2.x: Fix missing compilation guard around psa_crypto_driver_wrappers.c

Fix #4411.
No non-regression because I'd like a discussion on how to do it. Replace some/most static builds by shared builds? Do both a static and a shared build?
3.0 version

I rebased the commit because there was a merge conflict, and opened a 3.0 PR.


-NoNewLine flag on Set-Content isn't v3 compatible

Getting errors on Powershell 3 related to Set-Content -NoNewLine.
https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Management/Set-Content?view=powershell-3.0

Can you please provide the exact error that you're seeing and provide any additional context?

Trying to run one of the examples.
205> $obfResults = Get-Content -Path .\Demo\DBOdemo*.ps1 -Raw | Measure-RvoObfuscation -Verbose -OutputToDisk
[1 of 2] OBFUSCATED     :: (88E009F26F0C960ADEF8930AC3E2997FB4E20B9206BA817FA0E9F9B16481A74A)
Set-Content : A parameter cannot be found that matches parameter name 'NoNewline'.
At C:\Users\user\opt\Revoke-Obfuscation\Revoke-Obfuscation\Revoke-Obfuscation.psm1:394 char:77

                    Set-Content -Path $resultFile -Value $scriptContent -NoN ...

                                                                        ~~~~

CategoryInfo          : InvalidArgument: (:) [Set-Content], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand

[2 of 2] OBFUSCATED     :: (37FC5015C2412E34F6FD29D3F63070CD812087D308FDEC4993D363E6CD86536E)
Set-Content : A parameter cannot be found that matches parameter name 'NoNewline'.
At C:\Users\user\opt\Revoke-Obfuscation\Revoke-Obfuscation\Revoke-Obfuscation.psm1:394 char:77

                    Set-Content -Path $resultFile -Value $scriptContent -NoN ...

                                                                        ~~~~

CategoryInfo          : InvalidArgument: (:) [Set-Content], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand

Hmm, and you get 3.0 or later as your major build version when you run:
$PSVersionTable.PSVersion

Correct.
208> $PSVersionTable.PSVersion

Major         : 4
Minor         : 0
Build         : -1
Revision      : -1
MajorRevision : -1
MinorRevision : -1

I'm not sure what could be causing this. If you pop open a separate PowerShell prompt then can you run this:
Set-Content -Value "testing" -Path ./scTest.txt -NoNewLine

Tried it in a new prompt, and tried it in a -NoProfile prompt.  It doesn't like the -NoNewLine param.
PS C:\> set-content -value "testing" -Path .\sctest.txt -nonewline
Set-Content : A parameter cannot be found that matches parameter name 'nonewline'.
At line:1 char:49
+ set-content -value "testing" -Path .\sctest.txt -nonewline
+                                                 ~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-Content], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand

That's really odd. Well, at least it doesn't seem like it's an issue in Revoke-Obfuscation at least 📄
I've not seen that before, though. At the end of the day that -NoNewLine is important if you're dropping the -OutputToDisk results into the \Whitelist\Scripts_To_Whitelist directory since that implicit newline will change the md5 read of the actual script run vs the read in hash of the output result from Revoke-Obfuscation.

I think you might be able to use [io.file]::WriteAllText, since it doesn't appear to put in a newline, if you want to support versions of Powershell that don't like the -NoNewLine parameter.
'''
[io.file]::WriteAllText($resultFile,$Scriptcontent)
'''
Just made this change in my local psm1 file and it worked.

If you'd like, I can submit a pull request with this change.

After chatting with Lee it seems that there are some AST changes in PS 5.0 that may require this to be a PS5.0 project instead of PS3.0. Will figure out if that's the case and will then update the .psd1 to make PS5.0 requirement. So even if you changed that line above then the AST parsing may not occur as expected for certain classes.

Gotcha.  I was just testing in a VM, so it's not a big deal for me.  Imagine most people will be using v5 anyway. Guess this is good to close now. Thanks!

hi all,
i was having the same problem with POSH v.5.1. You can use TrimEnd() function to trim out the trailing new line, as you would with -NoNewLine option in POSH v.6.0


Not saving all the checkpoints at the end of every epoch

I am unable to save checkpoints at the end of validation epoch.
My trainer code:
trainer = pl.Trainer(
        max_epochs=max_epochs,
        gpus=gpus,
        distributed_backend=args.distributed_backend,
        save_top_k=10,
        check_val_every_n_epoch=1,
        show_progress_bar=True,
    )

Standard validation code at end of epoch:
def validation_epoch_end(self, outputs):
        mean_loss = torch.stack([x["val_loss"] for x in outputs]).mean()
        tensorboard_logs = {"val_mean_loss": mean_loss}
        return {"val_loss": mean_loss, 'log': tensorboard_logs}

Pytorch-lightning: 0.7.6, pytorch: 1.4.0, cuda: 10.1

what is your validation_step function?

criteria is binary cross entropy loss.
    def validation_step(self, batch, batch_idx):
        X, y = batch
        output = self(*X)
        loss = self.criteria(output, y)
        tensorboard_logs = {"val_loss": loss}
        return {"val_loss": loss, 'log': tensorboard_logs}

Try use a checkpoint callback:
checkpoint_callback = pl.callbacks.ModelCheckpoint(
        monitor="val_loss",
        mode="min",
        save_last=True,
        save_top_k=10,
        verbose=False,
    )

and add to trainer:
trainer = pl.Trainer(
        max_epochs=max_epochs,
        gpus=gpus,
        distributed_backend=args.distributed_backend,
        checkpoint_callback=checkpoint_callback,
    )

Thanks @pvnieo. Just realized the default parametersave_best = True. Weird enough, I think my first epoch had the minimum val_loss. Closing the issue.


Updated Name Key Bindings (Hand Game Controller)

Updated Names for Key Bindings
Solving #96 #115

@aviralgarg05 use underscore rather than space and also update the code too, where we need to provide the image path.

Ok I will make the changes

@aviralgarg05 I have added some review comments please do that faster.

Comments aren't visible. Can you guide about it

@aviralgarg05 now you can see?

Yeah ok I will do the changes

Yeah ok I will do the changes

Okie

@TheChaoticor please review it once.


test: pkg upgrade & github action build for binaries

@maxb2 can you please double-check those binaries? https://github.com/dungeon-revealer/dungeon-revealer/actions/runs/75260989

The windows binary is working. The linux binary is working but the executable bit isn't set. I had to chmod +x it.

I'll try migrating our travis setup to Github Actions on my fork.


Update administration.md to fix path to TFS in Unconfigure Code Search

Replace "TFS 15.0" with "Microsoft Team Foundation Server 15.0" in path to ElasticSearch located in this section: https://docs.microsoft.com/en-us/vsts/search/code/administration#unconfigure-search-in-team-foundation-server

Awaiting verification from the development team


add retry

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 53.339%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

chainsight-cdk/src/web2/web2.rs
0
7
0.0%

Files with Coverage Reduction
New Missed Lines
%

chainsight-cdk/src/web2/web2.rs
1
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
2907

Relevant Lines:
5450

💛  - Coveralls


compose: Support editing an already-sent message

Design from @terpimost:

Details are in Figma:
https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=4010-6347&m=dev

Original description:
We should probably offer this as an in-place text field within the message list. As Greg points out about this feature in zulip-mobile (link):

In general the edit-message UI in the mobile app is somewhat unloved; as you noted, the UX for it is borrowed from composing a message (and rather awkwardly so), and the code to implement editing a message is likewise rather jammed into the code for composing. One consequence is that it's easy to accidentally pick up behaviors that compose has even when they aren't intended.

When we implement this, we should aim to offer editing on all message lists, including "All messages" (https://github.com/zulip/zulip-mobile/issues/5619). If we successfully keep at least the code cleanly separated from that for composing a new message, as described above, then that should be straightforward.
(Potentially we'll decide that we want the UX for editing to remain similar to that for composing a message after all. In that case the code will probably have significant pieces in common. But the key will just be to have the differences between edit and compose cleanly factored out, rather than the edit logic being jammed in awkwardly as it is in zulip-mobile.)

This now has a design — thanks @terpimost! I've edited the issue description to show the design.
Chat thread on a couple of specific points in the design:
https://chat.zulip.org/#narrow/stream/48-mobile/topic/edit-message.20design/near/1930070
I think this is already ripe to work on, though. Both of those are things that will be easy to change later.

We've had a few requests for this in beta feedback: https://chat.zulip.org/#narrow/channel/48-mobile/topic/Flutter.20beta.3A.20cannot.20edit.20messages/near/2011951


css sourcemap

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

hello,
my webpack is configured for css as follows:
    {
      test: /\.css$/,
      loaders: ['to-string-loader', 'css-loader?sourceMap']
    },

however, in the browser I can't see any references to the source files:

the same happens with the sass-loader

same happens for me. The sourcemaps for the main styles work but not for the styles from the components. Seems like angular is not putting them to the style tags

@gdi2290 any reason if it was closed? Is there a way to enable sourcemaps for global and component styles?


fix: remove peerDependency for 'react' in swagger-client

Thanks for the quick action on issue #465.


update(plugins/k8saudit): adapt plugin for plugin-sdk-go v0.4.0

Signed-off-by: Leonardo Grasso<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Just a follow-up of https://github.com/falcosecurity/plugins/pull/112.
I forgot okta, sorry :sweat_smile:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


selectLocationState not working?

I have wrapped my state in Immutable.js, so I am using selectLocationState in syncHistoryWithStore  options as specified in docs. But I am facing a weird issue. On the initial app load, I redirect from / to /locations using IndexRedirect. When the app loads, it dispatches 2 actions, first to change location to /, and second to change it to /locations. The location in url-bar flickers to /locations for half a second, and then change back to /. window.history.state.key shows the id of / location, but the location in state.routing is /locations. Even when I try to history.back() or use browser navigation to go back, the location changes for half a second and then change to / again.
Same happens when I click on <Link>s.
Here is how I am creating history that is passed to <Router>:
const history = syncHistoryWithStore(browserHistory, store, {
    selectLocationState (state) {
        return state.get('routing').toJS();
    }
});

Here's my reducer:
import { LOCATION_CHANGE } from 'react-router-redux';
...
    routing: (state, action) => {
        if (action.type === LOCATION_CHANGE) {
            return state.merge(action.payload);
        }

        return state;
    },
...

Do you have an idea of what I might be doing wrong?

I believe this will be fixed once we decide on #412. It may already be resolved with 4.0.5, so give that a whirl.

It may already be resolved with 4.0.5, so give that a whirl.

I am using 4.0.5 (and was using when created this issue).

@channikhabra

Uncaught TypeError: state.get is not a function

Where did you get state.get?


Refactor to use event message-passing

This PR replaces our fixed gradbench.json and gradbench.adroit files with a much more flexible architecture in which different evaluation scripts can be written under the evals directory. Each evaluation script emits messages to stdout, and each tool reads those messages from stdin and emits its responses to stdout. Currently there are only two kinds of messages:

define gives the Adroit source code for a module which has not yet been defined
evaluate calls a function by name in a module that has already been defined, with a given input

Currently we hook up the stdin and stdout of evaluation and tool scripts via a new top-level run.py file, which also times how long the tool takes to respond to each message, and prints out the communication log as a nice JSON list; example:
./run.py --eval hello --tool pytorch

[
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "define", "module": "gradbench", "source": "def square(x: Real) = x * x\n\ndef double = grad square\n"},
    "nanoseconds":<PHONE_NUMBER>,
    "response": {"id":<PHONE_NUMBER>}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "square", "input": 1.0},
    "nanoseconds": 12321916,
    "response": {"id":<PHONE_NUMBER>, "output": 1.0, "nanoseconds": {"evaluate": 4288542}}
  },
  {
    "message": {"id": 173879092, "kind": "evaluate", "module": "gradbench", "name": "double", "input": 1.0},
    "nanoseconds": 6679416,
    "response": {"id": 173879092, "output": 2.0, "nanoseconds": {"evaluate": 4944083}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "square", "input": 2.0},
    "nanoseconds": 633125,
    "response": {"id":<PHONE_NUMBER>, "output": 4.0, "nanoseconds": {"evaluate": 41208}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "double", "input": 4.0},
    "nanoseconds": 416167,
    "response": {"id":<PHONE_NUMBER>, "output": 8.0, "nanoseconds": {"evaluate": 117875}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "square", "input": 8.0},
    "nanoseconds": 374541,
    "response": {"id":<PHONE_NUMBER>, "output": 64.0, "nanoseconds": {"evaluate": 12458}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "double", "input": 64.0},
    "nanoseconds": 377042,
    "response": {"id":<PHONE_NUMBER>, "output": 128.0, "nanoseconds": {"evaluate": 70500}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "square", "input": 128.0},
    "nanoseconds": 963125,
    "response": {"id":<PHONE_NUMBER>, "output": 16384.0, "nanoseconds": {"evaluate": 25750}}
  },
  {
    "message": {"id":<PHONE_NUMBER>, "kind": "evaluate", "module": "gradbench", "name": "double", "input": 16384.0},
    "nanoseconds": 1056000,
    "response": {"id":<PHONE_NUMBER>, "output": 32768.0, "nanoseconds": {"evaluate": 215000}}
  }
]

This new architecture also means that the evaluation script can use the results given by the tool to decide what messages to send next. For instance, in this hello eval, each output given by the tool is used as the input in the following message. This opens up the possibility of potentially doing more clever evaluations, such as having the evaluation script run some specific numerical optimization algorithm and use the exact gradients returned by the tool to drive the optimization, so we could measure tools not just on their speed at returning gradients but also on their accuracy at returning good gradients.
This PR also adds new GitHub Actions jobs to build Docker images for all the evaluation scripts (currently just one) and also to run each evaluation script with each tool.

@maggiehollis yep exactly!


cookie/menu state saved per path

here is a screenshot: http://screensnapr.com/v/l4DgU9.jpg
if i go to the root www.url.com it will save the menu states open/closed
if i go to  www.url.com/foo the states are all lost and a new cookie will be set if i open/close some menus
so in general it saves the menu state for every path. makes no sense?
any ideas?

solution:
//loop through all menu ids
$.each(menus, function (index, value) {
$(value).jstree({
"themes":{
"theme": themeName,
"url": 'http://' + document.domain + '/' + url,
"dots":true,
"icons":true
},
"cookies" : {
"cookie_options": { path: '/' }
},
"plugins":[ "themes", "html_data", "cookies" ]
});
});
as you can see i set the path to "/", saving it globally for all pages


closes #961

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

I'd much rather have all the little updates we made to pelase CRAN (which are currently only on main) be merged into devel. I'll open a PR for that but thanks a lot for spotting this!

ah yes thanks @thomas-neitmann - i only spotted news, but yes do merge all the other bits too.


Support for non-blocking operations

The current async operations are asynchronous but are still blocking threads.
In here:
https://github.com/clojurewerkz/cassaforte/blob/master/src/clojure/clojurewerkz/cassaforte/client.clj#L274

calling .getUninterruptibly is blocking the thread. This cause performance problems when using asynchronous frameworks like core.async or vertx. Datastax should support non blocking operations, so it should be possible to register a callback rather than block until the operation is done. I don't know much about Datastax but maybe addListener method available in ResultSetFuture does the job.

If you take a closer look you'd see that that call is wrapped in a future and thus only happens when you dereference it. Yes, it's asynchronous programming without the callbacks, available on the JVM since 2004.

There is difference between asynchronous programming and non blocking IO. Asynchronous means that the current thread doesn't get blocked. Non blocking IO doesn't block any thread while waiting for IO. It is nicely explained here http://martintrojer.github.io/clojure/2013/07/07/coreasync-and-blocking-io/
Current Cassaforte async implementation is asynchronous but doesn't leverage the non blocking IO possibilities provided by Datastax. At least that's what is mentioned in their documentation that they support non blocking IO operations.

@Viktor-Kubinec could you please provide a minimal test case that exposes this problem?

As I said I don't know the API of DataStax that well. I'll look into it and I'll try to come up with something during the weekend.

I’m sorry for being ambiguous, I meant a testcase that exposes how current implementation of async operations in cassaforte blocks threads (which is something you’re running into, I guess?)

@Viktor-Kubinec the calling thread isn't blocked until you dereference the future we return. At the end of the day you have to dereference it at some point to get the data back. It can be a long enough time for it to be fully computed/retrieved in which case it's just a method call. Programming with futures assumes you pass them along until you absolutely must get the value (e.g. to serialise data to send down the wire).
Callbacks is a different story. If you want callbacks, that should be a separate API. Which may have reasons to exist but the claim in the original issue is simply not true.

Currently cassaforte does block a thread from the pool of the driver and also spawns a new one for the future to keep an async feel on cassaforte side. It's fairly inefficient and it's possible to avoid both.
You can have a look at how it's implemented in https://github.com/mpenet/alia, both async interfaces do not spin a new thread  nor block at any time (no matter the interface used, between core.async or manifold).

Thanks @mpenet, that's exactly what I've been looking for. I have written some tests to show the difference between these two implementations (blocking thread and non blocking thread) when using core async.  I wouldn't say that this test is a proper benchmark. I'm not a performance expert, nor core.async nor cassandra expert. It's just something that I came up with in short time. Test is simply running queries against cassandra for 10 seconds and measuring how many operations it can do in 10 seconds. You can see that for fast queries the performance is comparable. For slower queries the non blocking implementation (alia) is almost 3 times faster than the blocking one (cassaforte). This is caused by blocking the threads by dereferencing the future returned from cassaforte. Alia returns a core.asunc channel which makes it possible to get the query result without blocking any thread while waiting for io. I was running this on my laptop (Ubuntu 14.04, 8 GB Ram, i7 quadcore processor)
=> (test-d cassa-test-fast-query)
Time's up. Processed so far :  21537
=> (test-d alia-test-fast-query)
Time's up. Processed so far :  23429
=> (test-d cassa-test-slow-query)
Time's up. Processed so far :  1226
=> (test-d alia-test-slow-query)
Time's up. Processed so far :  2831

(ns clj-playground.core
(:require [qbits.alia :as alia]
[clojurewerkz.cassaforte.client :as cc]
[clojure.core.async :as a :refer [>! <! <!! >!! go chan close! go-loop]]))
(def current (atom 0))
(defn is-before [x] (> x (java.lang.System/currentTimeMillis)))
(defn test-d [f]
(let [c (chan 100)
end-time (+ 10000 (java.lang.System/currentTimeMillis))]
(go-loop [x 1]
(when (and (>! c (<! (f)))
(< x 50000)
(is-before end-time))
(recur (inc x))))
(go-loop [y 1]
(if-let [v (<! c)]
(if (is-before end-time)
(do (swap! current inc)
(recur (inc y)))
(do (println "Time's up. Processed so far : " @current)
(reset! current 0)))))))
(defn cassaforte-execute-chan
[session query]
(let [c (chan)]
(go (>! c (deref (cc/execute-async session query))))
c))
(def session-cassaforte (cc/connect ["localhost"] {:keyspace "test"}))
(def cluster (alia/cluster {:contact-points ["localhost"]}))
(def session-alia (alia/connect cluster))
(alia/execute session-alia "USE test;")
(def slow-query "select * from test;")
(def fast-query "select * from test where id =767da9c5-7c8e-4bba-ab8d-06c8d5a9d6b0;")
(defn alia-test-slow-query [] (alia/execute-chan session-alia slow-query))
(defn cassa-test-slow-query [] (cassaforte-execute-chan session-alia slow-query))
(defn alia-test-fast-query [] (alia/execute-chan session-alia fast-query))
(defn cassa-test-fast-query [] (cassaforte-execute-chan session-alia fast-query))

The full test code :
https://github.com/Viktor-Kubinec/playground/blob/master/cassaforte-alia/src/cassaforte-alia/core.clj

:+1:
That's what I suspected. But t's worth noting that the 2 libraries also differ in other ways (ex: the way the  decoding of the rows is done, support for UDT/tuple etc etc), so it's hard to quantify exactly the impact of my approach.
I have a branch that also allows to have the callback that puts the value in the async chan run in the java-driver IO thread selected instead of a separate thread-pool as it is now, this makes it even faster. I'll see if I can merge that by monday, I want to test it fully before a release.

We have some major upcoming changes to how asyncronous queries are done, just for the reference.
Not sure what's the major difference in decoding rows. We're doing mostly what the Java Driver does under the hood.

New version (now master) allows execution and adding listener. So this one is resolved.


Crop box shrinks when hitting edge

When moving the box against any of the edges, it shrinks instead of remains the same size. I fixed this for the rectangle area type but am not sure if this works for others. Here are the changes that worked for me: https://github.com/francirp/ngImgCropFullExtended/pull/1
Perhaps there is a better solution that @CrackerakiUA could come up with?

Waiting for this feature also!

I will checkup in the time i can, at the moment i am full time busy :(
Perhaps in week or two.

in day or two this will be on.

try out the new update.


[Product] Release Checks - Summary check - R24.08

Help needed
Currently, we see a mismatch between already created [Product] Release Checks Issues and our expected Changelog.
The Changelog is much bigger than the number of issues.

[ ] Are there issues missing? Please create the Issue if you want to be part of release 24.08 and add your new issue to the issue list.
[ ] Please add also a comment if something is wrong, or if you updated/created an issue

The changelog includes all Products where we see changes in the latest release compared to the changelog for 24.05.
It might also be the case, that the changelog is wrong, and we have too many entries. :) The Release column is just information. It's the date when the latest release was created.
We are aware of the fact, that some “lines” in our table are combined into one product. Still, we have more than issues.

[ ] Please check whether your product should be on the list or not.
[ ] If your product is in the wrong table, and it should be for example in unchanged, let us know

Currently created Release check issues

#740
#741
#743
#759
#742
#760
#762
#791
#793
#761
#748
#744
#764
#765
#767
#768
#795

Expected changelog for 24.08
Added

Component
Helm Chart (s)
App-/KIT Version (s)

BPDM Certificate Management
bpdm-certificate-management: 1.0.1-alpha.3
n/a

SSI Authority & Schema Registry
ssi-asr: 1.0.0-rc.1
n/a

Updated

Component
Helm Chart (s)
App-/KIT Version (s)

BPN DID Resolution Service (BDRS)
0.5.2
0.5.2

Country Risk
country-risk: 4.0.2
1.3.1

Digital Product Pass (DPP)
digital-product-pass: 4.0.0
4.0.0

Digital Twin Registry
digital-twin-registry: 0.5.2
0.5.0

Discovery Finder
discoveryfinder: 0.3.1
0.4.0

Discovery Service (BPN Finder)
bpndiscovery: 0.3.1
0.4.0

Eclipse Data Space Connector (Tractus-X EDC)
0.7.3
0.7.3

Golden Record Business Partner Number (BPN) Service
bpdm: 5.0.3
6.1.0

Identity and Access Management (IAM)
n/a
n/a

Item Relationship Service (IRS)
item-relationship-service: 7.4.0
5.4.0

Knowledge Agents
remoting-agent: 1.13.21-SNAPSHOT
1.12.19

Managed Service Orchestrator
managed-service-orchestrator: 1.5.9
1.5.6

Managed Simple Data Exchanger (SDE)
sde: 0.1.10
0.1.10

Managed Simple Data Exchanger (SDE) - backend
2.4.1
2.4.1

Managed Simple Data Exchanger (SDE) - frontend
2.4.1
2.4.1

Policy Hub
policy-hub: 1.1.0-rc.1
1.1.0-rc.1

Portal
portal: 2.1.0-RC2
2.1.0-RC2

Portal - portal-assets
n/a
2.0.0

Portal - portal-backend
n/a
2.1.0-RC1

Portal - portal-frontend
n/a
2.1.0-RC2

Portal - portal-frontend-registration
n/a
2.0.1-RC2

PURIS
puris: 2.6.3
2.0.2

Self Description (SD) Factory
sdfactory: 2.1.21
2.1.13

Semantic Hub
semantic-hub: 0.3.1
0.4.0

SSI Credential Issuer
ssi-credential-issuer: 1.1.0-rc.1
1.1.0-rc.1

Trace-X Traceability Application
helm-charts: 1.3.42
13.0.0

Unchanged, untested

Component
Helm Chart (s)
App-/KIT Version (s)

Managed Identity Wallet (MIW)
nan
v0.5.0

Removed

Component
Helm Chart (s)
App-/KIT Version (s)

The PR for changelog preperation can be found here https://github.com/eclipse-tractusx/tractus-x-release/pullshttps://github.com/eclipse-tractusx/tractus-x-release/pull/34

@ther3sa Please be aware, that the Eclipse Data Space Connector version for the release has been downgraded to 0.7.3.

@ther3sa message from @ciprianherciu
SDE, SD Factory and MSO already have a QG ticket.
E2E Data Exchange Test Service was and is part of MSO, we never had another Ticket for it.

@ther3sa message from @ciprianherciu SDE, SD Factory and MSO already have a QG ticket. E2E Data Exchange Test Service was and is part of MSO, we never had another Ticket for it.

thx @ciprianherciu we will delete E2E from the List in the Added section. Nothing todo for you in this case.

@ther3sa Please be aware, that the Eclipse Data Space Connector version for the release has been downgraded to 0.7.3.

Thanks @lgblaumeiser adapted :)

Hi @ther3sa not certain why the following issues aren't reflected in the list (I opened them 2 weeks ago):
https://github.com/eclipse-tractusx/sig-release/issues/764
https://github.com/eclipse-tractusx/sig-release/issues/765
https://github.com/eclipse-tractusx/sig-release/issues/767
https://github.com/eclipse-tractusx/sig-release/issues/768

Hi @ther3sa not certain why the following issues aren't reflected in the list (I opened them 2 weeks ago): #764 #765 #767 #768

Thx @evegufy we use this view. Here, thy issue type is filtered. The issue type was not set automatically, that's why we missed your issues.

Hi @ther3sa
Item Relationship Service (IRS)
App version is https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/5.4.0
HELM version is https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/item-relationship-service-7.4.0
Thank you very much
Martin

Hi @ther3sa Item Relationship Service (IRS) App version is https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/5.4.0 HELM version is https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/item-relationship-service-7.4.0 Thank you very much Martin

Thx @mkanal -> adapted

@stephanbcbauer message from @matbmoser
[R24.08] [Digital Product Pass] Release Checks #748 ->  will be updated to v4.0.1.

i added the KITs information and versions in the table and also in the related PR

Updated app version 13.0.0 to 13.0.1 and helm chart version 1.3.42 to 1.3.43 for Trace-X traceability Application

Updated app version 2.0.2 to 2.1.0. and helm chart version 2.6.3 to 2.7.0 for PURIS in the table. Needs to be changed in the PR

@ther3sa
The Tracability Kit version must be changed from v5.2.0 to v5.1.0, as this seems to be a typo

@ther3sa / @stephanbcbauer The Tracability Kit version must be changed from v5.2.0 to v5.1.0, as this seems to be a typo (see: https://eclipse-tractusx.github.io/docs-kits/next/kits/Traceability Kit/Traceability Kit Changelog)

done

@ther3sa / @stephanbcbauer ( https://github.com/eclipse-tractusx/sig-release/issues/829 ) is missing in this overview. E2E Tests for BPDM successfully completed.

adapted the table and combined different services, like portal ...

Adapted BPDM updated Helm chart version to 5.1.0 as per release check

SDE:

Helmchart version v 0.1.11
App version v 2.4.2

SD Factory:

Helmchart version 2.1.21
AppVersion  2.1.13

MSO

Helmchart version  1.6.0
AppVersion - 1.5.7

SDE:

Helmchart version v 0.1.11
App version v 2.4.2

SD Factory:

Helmchart version 2.1.21
AppVersion  2.1.13

MSO

Helmchart version  1.6.0
AppVersion - 1.5.7

thx, updated in the table

Updated Manged Simple Data Exchanger Helm Chart Versionfrom 0.1.11 to 0.1.12 and App Version: 2.4.2 to  2.4.3


End-To-End testing

We should probably setup some end-to-end tests!

Just like an idea 💡 you can use SparrowCI for that : nohup cro run & < /dev/null and then run your tests …

@melezhik I added some basic Integration Testing in the Advice branch, I think I will see if they run on SparrowCI tomorrow.


Clarifying

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9750
Checked with @Maryam-Ahmad

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


Fix generator and re-generate HTML elements from spec

The fix relies on jarib/webidl#6 so I could only re-generate with LOCAL_WEBIDL=1 environment variable.
@titusfortner Please have a look. This should solve #602.

Merged in 3dd6c24,


Core: Implement Math equivalents of typedefs.h macros

An alternative to #91283, where the typedefs.h math macros are setup for deprecation. Now each macro has a comment warning of future deprecation, and recommends using their new Math equivalents instead. The only function that already had an equivalent, abs, has been consolidated into a single constexpr template; the other functions were simply relocated. Both abs and sign were slightly refactored from their macros, while min, max and clamp had their return type changed from auto to std::common_return_t<T...>. The only changes to files outside of these were changing any instances of Math::absf and Math::absd to Math::abs, as those functions no longer exist after consolidating abs.

What is the rationale for using std::common_type_t ?
I think it would be better to use a single template parameter to generate simple overloads. This would reduce the number of overloads, would not increase the binary size more than necessary and would be less error prone to use.

The reason is to avoid using auto, which is one of the few expressly disallowed[^1] C++ features. Despite that, the macros are one of the few areas which used that keyword, so I wanted to avoid that when relocating. From what I've tested, auto resolves to std::common_type_t in that instance; so it was a matter of making it explicit.
I'm not totally against using only a single type for the parameters, as that would eliminate needing std::common_type_t and consequently the <type_traits> header. However, I'm not certain what the full ramifications of that would be for converting existing macros over to the new system. It's not a dealbreaker if it ends up being disruptive, as it's already gonna be inherently disruptive to convert existing macros to the new functions.

Changed to a single template parameter!
After some testing, it would indeed be somewhat disruptive, but not nearly as egregiously as I expected. Every case can be rectified by either specifying the template type right away (MAX<float>(intvar, floatvar)) or just doing the conversion within the function itself (MAX((float)intvar, floatvar)). This actually has the indirect benefit of ensuring casts are done ahead of time, so we entirely avoid situations where c++ would attempt mismatched signed/unsigned comparisons.


Basic textures

Implement basic texture support in the ray tracer:

Model the color as a SolidTexture to keep the code uniform.
Added CheckeredTexture class.
Modified Lambertian material to accept a texture object.

The final scene of the first book, with checkered ground:

Two checkered spheres:


Snapshotter won't remove blobcache after restarting responding to nerdctl image rm

When a container image is not used or referenced by a container, nydus-snapshotter is responsible to do GC for the blobcache files. But restarting snapshotter ends in states missing and no blobcache files GS is performed.

Could you describe the reproduction steps in detail? thanks!

I can't reproduce this with the latest main branch too.

Yes. it is no longer reproduced. I am closing it.


GeoJsonLayer

New GeoJsonLayer

Build GeoJsonLayer as a composite Layer, that renders a PolygonLayer, a PathLayer, and a ScatterplotLayer.
Normalizes GeoJson to ensure we understand FeatureCollection, Feature etc.
Ensure data passed to sublayers doesn't change between renders

New PolygonLayer

Like ChoroplethLayer
Without outline mode.
Does not understand GeoJson - more direct/efficient input
Rewrite ChoroplethLayer attribute calculation to avoid flattenDeep (precalculate attribute length and directly allocate the typed arrays).

New PathLayer

Renders GeoJson lines and polygons outlines.
Does not understand GeoJson - more direct/efficient input
GeoJsonLayer will use PathLayer to render both lines and Polygon outlines.

Merged to dev will be part of next major release


Online demo available?

Hi, I figured I'd check out your app but don't see any online demo available, is there one but I can't see it in the docs? Thanks!

Hi @mayeaux :wave: Sorry, but we don't have an online demo for Marsha :disappointed: You can check it's integration with OpenEdx (via LTI) in recent courses from https://www.fun-mooc.fr


HHH-15670 Implement RequiresDialectFeature.reverse()

implement RequiresDialectFeature.reverse()
remove not-feature checks to reverse = true

Thanks!


BoxDecoration Failed assertion

package:flutter/src/painting/box_decoration.dart'
: Failed assertion: line 131 pos 12: 'shape != BoxShape.circle || borderRadius == null': is not true.

BoxDecoration(
     shape: BoxShape.rectangle,
    color: Colors.blue,
    borderRadius: BorderRadius.circular(8)
)

Settings the shape to rectangle with a border radius makes no sense. You should read the error more carefully: remove the shape property and everything will work fine.

Hi Vardiak, thank you for your reply. Look at the documentation it says otherwise,
{BorderRadiusGeometry? borderRadius}
If non-null, the corners of this box are rounded by this [BorderRadius].
Applies only to boxes with rectangular shapes; ignored if [shape] is not [BoxShape.rectangle].
How do you get a rectangular box with rounded edges like the icons in iOS?
BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.all(Radius.circular(12))
)
This is not correct ?
Thanks

Hi @larteagar, Thanks for filing the issue, This is working as intended you cannot provide both circular shape and BorderRadius, As having borderRadius to a circle doesn't make sense, Thats why the assertion error or this is also mentioned in the docs.

How do you get a rectangular box with rounded edges like the icons in iOS?

BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.all(Radius.circular(12))
)
This should be fine and give you the desired result with appropriate BorderRadius.
Closing this issue, Since it is working as intended. If you need further help please try asking such Questions on communities like StackOverflow.
Thanks


hidedecorations! not working (WGLMakie)

Cannot reproduce with the following MWE. Does this example work for you?
using Pkg
pkg"activate --temp"
pkg"add WGLMakie, GraphMakie, Graphs"
using WGLMakie, GraphMakie, Graphs

g = smallgraph(:karate)
fig, ax, p = graphplot(g);
display(fig) # shows axis
hidedecorations!(ax)
display(fig) # no axis

Maybe this is a pluto issue? I have very limited experience with Pluto but it looks like the cell with hidedecorations! just returns "false", did you actually redisplay the figure after calling hidedecorations!?


Cannot stream with high resolution when using the library "TIS.py"

Hi.
I'm using DFK33UX273 with Aravis on Ubuntu 18.04.LTS.
I tried "tcam-ctrl -c serial-aravis" on terminal, and found that I could set a resolution as 1440 x 1080 at 200 FPS.

When I set lower resolution as below, It worked fine.
TIS.openDevice("serial-aravis", 640, 480, "200/1", TIS.SinkFormats.BGRA,True)

Furthermore I ran GStreamer directly in the terminal as below.
gst-launch-1.0 tcambin serial=serial-aravis ! video/x-raw, format=BGR, width=1440, height=1080, framerate=200/1 ! videoconvert ! ximagesink

It worked fine and output the following message.
Working with src caps: video/x-bayer, framerate=(fraction)200/1, width=(int)1440, height=(int)1080, format=(string)rggb
New clock: GstSystemClock

How can I get it to work properly with high resolution using Python code?
Thank you.

It seems, that the image data transfer is interrupted on too high frame rates. This leads to incomplete images, which are discarded. Therefore, you may start at
IS.openDevice("serial-aravis", 1440, 1080, "100/1", TIS.SinkFormats.BGRA,True)
and increase the frame rate until you do not get frames any more.
Aravis is not as performat as v4l2.  You need a good computer for this high frame rates.
Stefan

Closed due to inactivity.


handling  interruption in Bot Composer

Hi,
Please consider below scenario.
Suppose there are two Intents in the bot 'intent1' and 'intent2'. Corresponding dialog flows are there for each intent 'flow1' and 'flow2'  respectively. If an user starts flow1 and inside this flow (before completing this flow) if he enters utterance for 'intent2' then immediately 'flow2' should get started and after executing 'flow2' it should resume back inside the 'flow1' and continue executing flow1.
Would you please help us in  implementing above scenario in Bot Composer.
Thanks,
Madan

Hi @BeheraMadan, see the following for an example of modeling interruptions using Adaptive Dialogs https://docs.microsoft.com/en-us/composer/tutorial/tutorial-add-help#allowing-interruptions
Closing as a how-to


[AWS S3 Archival] Retrieve the archived storage

Issue/Feature Description:
To access the archived storage, user need to restore it
Why this issue to fixed / feature is needed(give scenarios or use cases):
Basically it may require either of the two or both
[] Restore
[] Download
How to reproduce, in case of a bug:
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)

Closing the issue as PR is merged


allow empty or invalid initial date

This will allow the user to pass in an invalid date. The viewDate will be initialised to the current month. The inputValue will be initialised to empty string. The selectedDate property will stay invalid (no date selected) until either the user selects a date or toggles the time picker, at which point the date picker will be initialised to the current date and time.
Also fixed the AM/PM switch adding 12 hours instead of subtracting when you switch from 12:xx noon to midnight.
This merge should fix issues #159 #148 and #100.

This PR really need to be merged ! I'm having the same issue with empty date and I cannot apply some validation on it since it's always returning "Invalid date".

I've grabbed those changes and they're working really well.  Thanks @djonin

what about a merge? :)

This project seems to be dead, so your best option is probably to clone it and apply your changes (or to look for another datepicker, ahem).

Please see https://github.com/YouCanBookMe/react-datetime


Add more extensive notes to code injection as part of bug bounty

currently working on this

Done and dusted.


Melisma highlighting on Verovio rendered chant + UX update for Melisma number

@martha-thomae This issue was raised by Ich during our last meeting (a week ago I think) and I implemented it. It's looking like this

Do you think it looks good?

Hmmm, I would prefer for it to highlight the notes themselves (rather than having individual bounding boxes around each note). Did you do it this way so that it doesn't conflict with the melodic search? If this is the case, would it be possible to highlight the syllable (the text underneath the melisma) instead?

Hmm you got a great point. I haven't tried highlighting the syllable text before, will try that!

Resolved in #55
The final implementation is to highlight the syllable word instead of all the notes as shown below


patch: NewRestAPIDocsHandlers missing basePath

Lines Of Code

Language
Files
Lines
Code
Comments
Blanks
Complexity
Bytes

Go
13
939
648
101
190
91
22.5K (+10B)

Unit Test Coverage
total:							(statements)			63.7%
changed lines: (statements) 0.0%, coverage is less than 90.0%, consider testing the changes more thoroughly
Coverage of changed lines

File
Function
Coverage

Total

0.0%

handler.go

0.0%

handler.go:37
NewRestAPIDocsHandlers
0.0%

Coverage diff with base branch
No changes in coverage.

Go API Changes

# github.com/dohernandez/servers
## incompatible changes
NewRestAPIDocsHandlers: changed from func(string, string) map[string]net/http.Handler to func(string, string, string, []byte) map[string]net/http.Handler

# summary
Inferred base version: v0.4.0
Suggested version: v0.5.0


[Darwin] How to initialize MTRDeviceController with MTRKeypair

Reproduction steps
Hello,
we are trying to create and initialize MTRDeviceController by Matter Swift SDK but do not know how to create MTRKeypair. Is there any reference that we can follow or is the keypair something that we should request from CSA?
Here is the link we are following.
Our testing code:
// Generate an IPK.
guard let ipk = NSMutableData(length: 16) else {
    return
}
let status = SecRandomCopyBytes(kSecRandomDefault, ipk.count, ipk.mutableBytes)

let param = MTRDeviceControllerStartupParams(ipk: ipk as Data, fabricID: 1, nocSigner: mtrkey) // how to create mtrkey??
self.mtr = MTRDeviceControllerFactory().createController(onNewFabric: param)

Thank you.
Platform
darwin
Platform Version(s)
No response
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
No response

You create the keypair yourself, however you want to.  It's just a public/private keypair to use for the controller's certificate....  Depending on what you are doing you might want it to be stable, in which case you need to save it, of course...
You can use SecKeyCreateRandomKey to create the key.  See https://github.com/project-chip/connectedhomeip/blob/533df0c7ab1b9d7b7bb41e4ab119985c0bfe43ca/src/darwin/Framework/CHIPTests/TestHelpers/MTRTestKeys.m#L55-L70 for an Objective-C example, though I would expect the Swift version to be a pretty straightforward translation of that.

Or you can use whatever other method you have; creating public/private keypair is not Matter-specific.

@bzbarsky-apple We have managed to create public/private Keypair, but do not know how to pack into the type MTRKeypair.
Here's how we create the public/private keys.
var error: Unmanaged<CFError>?
        guard let privateKey =
                SecKeyCreateRandomKey(attributes as CFDictionary, &error) else {
            // throw error
            return
        }
        guard let publicKey =
                SecKeyCopyPublicKey(privateKey) else {
            // throw error
            return
        }


Improve Visual Studio and Microsoft C++ Build Tools detection.

Previously ponyc would only look for a linker from the version of Visual Studio with which it was compiled, and only looked at one registry key for install information.  A recent change (44b2d56c5618142fe0fd628eeadbd5975157d62f) broke support for Visual Build Tools C++ 2015.
This change provides registry key and path configuration information for several configurations, regardless of how ponyc was compiled for Windows:

Visual Studio 2017 full install
Visual C++ Build Tools 2017
Visual Studio 2015 full install
Visual C++ Build Tools 2015

The change also removes support for Windows SDKs prior to version 10, as README.md now specifies version 10.

Just got a user in IRC who ran into the VS2015 detection issue, so this should probably trigger another patch release (0.12.3).
Should we add VS 2017 to the README before merging this?

Agreed on release

Thanks @kulibali!

Thank you both!

using ponyc-0.12.3 under windows 7 64bit with Visual C++ Build Tools 2015 (Windows 10 SDK not installed)
Error:
ponyc requires a Windows 10 SDK; see https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
Error:
unable to link: no vcvars

Why should I install gross Windows 10 SDK  ?
And no vcvars problem seems not be resolved

The Windows 10 SDK is required to use Pony on Windows.


Bump handlebars from 4.0.12 to 4.1.2 in /packages/opencensus-web-instrumentation-zone

Thanks for doing this @crdgonzalezca!


Detect IP Automatically

Hi,
Is there anyway we could let openvpn server automatically detect the host IP. Because what i'm doing is making a copy , I wondering if there's anyway to not setup or edit after doing it once?
I assume the .ovpn needs to be re-generated when the server ip changes?
Please advice.

You could use dynamic DNS and take a look at #427.


SG API Authorize Ingress/Egress Rule returns an empty response

ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

<IP_ADDRESS>-Snapshot

CONFIGURATION

Advanced Zone with SG
OS / ENVIRONMENT

Ubuntu 21.10
<IP_ADDRESS>-Snapshot master
SUMMARY

Cloudstack server returns an empty response for both authorizeSecurityGroupIngress and authorizeSecurityGroupEgress methods. However, the job is done, rules are correctly added to desired SGs.
Details on those API methods are here
The issue with an empty response causes problems in upnstream APIs, since SG Rule ID is required.
I'm not sure how to reproduce this in Java, but I found this issue working with the Go API.
See screens attached in the next section
STEPS TO REPRODUCE

1. Setup an Adv Zone with SG enabled
2. Create an empty SG
3. Create an `authorizeSecurityGroupIngress` or `authorizeSecurityGroupEgress` API request
4. Use the following SG Rule settings:

Protocol = "tcp"
CidrList = {"<IP_ADDRESS>/30", "<IP_ADDRESS>/30"}
PortStart = 11111
PortEnd = 22222

5. Run API request
6. Notice that the rule was added, the code is `200`  but the response contains only the `JobID` field. All others are empty

EXPECTED RESULTS

The full response struct is returned as per spec here: https://cloudstack.apache.org/api/apidocs-4.16/apis/authorizeSecurityGroupIngress.html

The expected full struct is the following:

type AuthorizeSecurityGroupIngressResponse struct {
	Account           string `json:"account"`
	Cidr              string `json:"cidr"`
	Endport           int    `json:"endport"`
	Icmpcode          int    `json:"icmpcode"`
	Icmptype          int    `json:"icmptype"`
	JobID             string `json:"jobid"`
	Jobstatus         int    `json:"jobstatus"`
	Protocol          string `json:"protocol"`
	Ruleid            string `json:"ruleid"`
	Securitygroupname string `json:"securitygroupname"`
	Startport         int    `json:"startport"`
	Tags              []Tags `json:"tags"`
}

ACTUAL RESULTS

And the screenshot with an empty response from my debugger

Resp is `200`, the job is done, but the resp structure contains only JobID

Hi @tetra12 The API requests authorizeSecurityGroupIngress / authorizeSecurityGroupEgress are async jobs, and would return jobid in the response. The job status/response can be requested using the API  queryAsyncJobResult with that jobid as the parameter, which has the full response struct. I think, in case of Go API, it tracks for the job status in the background and sends the full response. Have you noticed API call queryAsyncJobResult sent after the authorizeSecurityGroupIngress / authorizeSecurityGroupEgress API calls ?

I tested both in my local env and they do return an id when the job is done, please see @sureshanaparti's comment above, @tetra12 .

Closing this issue, please reopen if needed @tetra12


[gherkin-dotnet] make compilation on macOS & linux the same as on Windows

Summary

This PR makes the compilation for gherkin-dotnet the same on all platforms.
Before this there was no build for net45 on macOS and Linux.
Details

Motivation and Context
The last release was probably build on Mac OS and so it doesn't contain a net45 assembly.
This PR solves this issue

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Hi @SabotageAndi - did you see the Travis errors? Any idea how to fix that?

As far as I understand it, it looks like mono is missing in the docker container.
I wasn't aware that the build server uses docker to run the tests and so I didn't changed there anything. I will have a look at it.

Mono is an optional dependency. It's only used to run the Berp parser generator, but the Makefile allows it to fail (hence the hyphenated -mono) in case it's not installed. In that case the parser is not regenerated. That's OK as long as there are no changes to the gherkin.berp grammar - the generated Parser.cs is in Git.
So missing mono is not the problem with the build (line 6364).
The problems is further down - something about assembly signing.
I suggest you revert b3eb9d6 as it shouldn't be needed.

@aslakhellesoy It wasn't only missing mono, that caused problems.
I have to use mono to compile on non Windows platforms for .NET Framework 4.5.
I hope the additional dependency is no problem.
The rest of the changes are needed to use msbuild from mono to build the stuff and get the unit tests running again.
After you publish a new docker image, the travis build should be green.

The monorepo build (which uses Docker) passed.
However, the subrepo build of gherkin-dotnet now fails. It says msbuild is not found.
Any ideas how to fix this? If you want to experiment you can commit directly to that repo and I'll sync back to the monorepo.

@aslakhellesoy The builds are using different versions of .NET Core (1.1.2 and 1.1.5). I will fix that in the next days.


Markdown string in the test message is not unescaped

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.63.0-insider (user setup)
Commit: c1f2f40bcd81380bf2e286af64becddada57db88
Date: 2021-11-24T05:33:22.438Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044
Steps to Reproduce:

Append a test message with a markdown string to an test item.

const md = new MarkdownString();
md.appendText('  at a.b.Class.java:123');
const mdMessage = new vscode.TestMessage(md);
...

Click the Open in Editor button at the right top corner of the test message
The displayed text is escaped format

This is intentional -- when opening in the editor we show the exact source of the failure message (or expected or actual results).


add trigger for 312 rebuild

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_f14wj4dl5k/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:48: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:38: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:48: missing_documentation: The recipe is missing a doc_url or doc_source_url
===== Final Report: =====
3 Errors and 0 Warnings were found


DHCPv6 Option 17 and DHCPv4 Option 125 decoding sub-options need to be ordered

As the title says, when decoding options, they need to be exactly ordered inside in the packet, to be dumped into the environment.
For example, let's say that we have:
define6 17 embed option
embed uint32 ent_num
encap 1 array ip6address addr_array
encap 2 byte byte_opt
encap 3 ip6address ipv6addresses
encap 4 string some_string

If the server sends it in let's say order 1 4 3 2, only the first sub-option (in this case the array of addresses) will be visible in the environment.
Is there a way to configure this so that it can read all sub-options based on their option numbers, not the order?
Thanks!

I'm not sure the ordering matters? The decoding is done in dhcp-common.c on line 965.
I'm pretty time constrained right now so might not be able to debug this much myself.

Thanks, I'll take a look in the code.

After further testing, it appears that there was a misconfiguration.
Decoding works correctly.