Automated cherry pick of #3523: lockman: log bug with Errorf

Cherry pick of #3523 on release/2.12.
#3523: lockman: log bug with Errorf

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@7b8ddc1). Click here to learn what that means.
The diff coverage is 19.53%.

@@              Coverage Diff               @@
##             release/2.12   #3617   +/-   ##
==============================================
  Coverage                ?   6.95%
==============================================
  Files                   ?     500
  Lines                   ?   83689
  Branches                ?       0
==============================================
  Hits                    ?    5823
  Misses                  ?   77372
  Partials                ?     494

Flag
Coverage Δ

#aFlag
6.95% <19.53%> (?)

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/inmemory.go
67.07% <0%> (ø)

pkg/cloudcommon/db/lockman/bug.go
0% <0%> (ø)

pkg/cloudcommon/db/lockman/etcd.go
20% <20%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b8ddc1...1912ba1. Read the comment docs.

/lgtm

/lgtm

/approve


3.0.5

Added

feat: each testcase has an unique id in uuid4 format
feat: add default header HRUN-Request-ID for each testcase #721
feat: builtin allure report
feat: dump log for each testcase

Fixed

fix: ensure referenced testcase share the same session

Changed

change: remove default added -s option for hrun

Codecov Report

Merging #905 into master will increase coverage by 0.34%.
The diff coverage is 98.00%.

@@            Coverage Diff             @@
##           master     #905      +/-   ##
==========================================
+ Coverage   80.10%   80.44%   +0.34%
==========================================
  Files          34       34
  Lines        2166     2189      +23
==========================================
+ Hits         1735     1761      +26
+ Misses        431      428       -3

Flag
Coverage Δ

#unittests
80.44% <98.00%> (+0.34%)
:arrow_up:

Impacted Files
Coverage Δ

httprunner/cli.py
35.95% <ø> (+0.79%)
:arrow_up:

httprunner/loader.py
79.36% <66.66%> (-0.32%)
:arrow_down:

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

httprunner/cli_test.py
100.00% <100.00%> (ø)

httprunner/client.py
79.77% <100.00%> (+0.22%)
:arrow_up:

httprunner/runner.py
85.18% <100.00%> (+3.36%)
:arrow_up:

httprunner/schema.py
100.00% <100.00%> (ø)

httprunner/app/routers/deps.py
36.00% <0.00%> (-2.47%)
:arrow_down:

httprunner/app/main.py
88.88% <0.00%> (-1.12%)
:arrow_down:

httprunner/ext/har2case/utils_test.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 393a187...78db9d1. Read the comment docs.


beets: 1.4.7 -> 1.4.9

Motivation for this change
I just want to be able to update gmusicapi to 12.1.1 (which breaks beets).
Things done

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

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

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

Notify maintainers
cc @aszlig @domenkozar @pjones
Note that I think I need help with https://github.com/beetbox/beets/blob/master/docs/plugins/loadext.rst . I have no idea what to do. The package builds without having to add those icu deps.
❯ nix path-info -S /nix/store/nh7cxg3yv8mw1ar6jrn8mv91qhv192jz-beets-1.4.7
/nix/store/nh7cxg3yv8mw1ar6jrn8mv91qhv192jz-beets-1.4.7	  809106272
❯ nix path-info -S /nix/store/07ai6p8hrc9mapy95w7yb0zxpsi3hizi-beets-1.4.9
/nix/store/07ai6p8hrc9mapy95w7yb0zxpsi3hizi-beets-1.4.9	  809232656

@bbigras I'll have to read up on loadext since I'm not familiar with it.

@np Do we have a way of building SQLite extensions or enabling them via an override?  Specifically, this PR would need to enable the ICU extension for a single Python application.
Thanks!

@bbigras: IIUC, the ICU extension is only needed if you want to search case-insensitively, but since we didn't have it so far, I think nobody will be hurt if it still isn't supported.

Thanks!


fix arrows

I don't really know what this does but I trust you that it's something good. :)

Thanks! Currently on api.haxe.org child packages automatically follow parent arrow direction (when parent gets clicked), which is simply not right :)


Debug camera

Challenge is to keep viewport logically tied to where it is for purposes of offscreen clean for example, but visually free to move around
Also, flash/fade seem to be applied incorrectly (the rectangle offset is odd)

One solution is to have a camera.x,y to which we bind the gameRoot transforms. Then, under normal gameplay, a viewport is bound to camera too. When we need a debug camera, simply unbind the viewport, which keeps it where it was.

Debug camera scene can be entered by using CTRL+C. The camera can be moved with CTRL+ arrow keys.


[ColocateJoin] ColocateJoin support table join itself  (#4230)

if left table and right table is same table, they are naturally colocate relationship.
Proposed changes
#4230
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[] Bugfix (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)
[] Documentation Update (if none of the other choices apply)
[] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on #ISSUE, and have described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] If this change need a document change, I have updated the document
[x] Any dependent changes have been merged

Good work!


Add test cases for App.js and sagas

I have added Jest test cases for redux actions. Test cases are also needed for

App.js

sagas/index.js

I'd like to work on this issue

I have assigned it to you.

@jscastanos Kudos!! PR has been approved and merged.


Fix/past meetups

The URL conf for the Meetup API call has been modified to include status types of upcoming, past, and cancelled.
The API now returns the first 50 results, as we are not paginating through the response. This has been noted above the API call in the code.

Merged and running this now. Thanks

Looking good at first glance.  I see past events and cancelled on
https://events.openupstate.org/api/gtc?start_date=2020-05-01&end_date=2020-06-01


[Don't merge] Test ILP64

Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@TaoLv I see that you've opened up this PR again. Is it still a work in progress ?

@TaoLv Could you please look into this PR and drive it to Merge? Thanks!

@karan6181 I will close this PR for now. I think it should be included as a part of the proposal/design for large tensor. @pengzhao-intel @apeforest @szha


Direct line v3 - reply to bot on Attachment having buttons on it.

Hi ALL,
I making project of hitting MS bot via Direct Line Api V3.
direct line is enabled.
token is generating.
communicationg via websocket url .
then able to post message back via Direct line v3 post method.
now , problem is , that, how to post json response  back, if bot earlier messaged me, having hero card with buttons
on it .
I am not able to post button action via Direct line post api.

If you still have questions, please open a new issue on BotBuilder repo here: https://github.com/Microsoft/BotBuilder


Error 277

playsound.PlaysoundException:
Error 277

Please make a PR that replicates this issue in test.py - you may add some media to test_media to help demonstrate it.


xiaoqiang: 0.0.10-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository xiaoqiang to 0.0.10-0:

upstream repository: https://github.com/bluewhalerobot/xiaoqiang
release repository: https://github.com/BluewhaleRobot-release/xiaoqiang-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: 0.0.9-0

addwa_local_planner
* add navigation and add fix depth image dependency
* Contributors: xiaoqiang

xiaoqiang

No changes

xiaoqiang_bringup
* add navigation and add fix depth image dependency
* Contributors: xiaoqiang

xiaoqiang_controller

No changes

xiaoqiang_depth_image_proc
* add navigation and add fix depth image dependency
* Contributors: xiaoqiang

xiaoqiang_description

No changes

xiaoqiang_driver

No changes

xiaoqiang_freenect

No changes

xiaoqiang_freenect_camera

No changes

xiaoqiang_freenect_launch

No changes

xiaoqiang_monitor

No changes

xiaoqiang_msgs

No changes

xiaoqiang_navigation
* add navigation and add fix depth image dependency
* Contributors: xiaoqiang

xiaoqiang_navigation_example
* add navigation and add fix depth image dependency
* Contributors: xiaoqiang

xiaoqiang_server

No changes

Regression in this release found here: https://github.com/BluewhaleRobot/xiaoqiang/issues/2


Fundação Educacional Araçatuba

Add Fundação Educacional Araçatuba

@gustavodeorio First stage of verification passed, official domain is feata.edu.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@gustavodeorio Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you!

@gustavodeorio You might miss my previous comment. Please react.

@gustavodeorio I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


scrollbar elements always removed on destroy() no matter what createElements option is

When createElements option is set to false plugin should not destroy scrollbar and view div's when called destroy() method.

Thanks for the report, I also added a new example to test this issue, you can find it on the examples folder, file 05-destroy.html.

Now it looks good but, now when calling destroy when createElements = false references to document and window are not cleaned.
I'm not sure that I want gm-prevented added to my container after destroy. Maybe destroy method should get one parameter to remove everything or not?
Another problem is that when when createElements = false in create method plugin re aranges my scrollbar and view divs because it still calls:
this.element.appendChild(this._scrollbarVerticalElement);
this.element.appendChild(this._scrollbarHorizontalElement);
this.element.appendChild(this._viewElement);

Hey @flexphperia, just fixed those issues on this commit fdd8b4c.
No more gm-prevented added after calling destroy, no more elements appended on the create method if createElements option is false and document and window references are now cleaned on destroy.
Thanks!

@noeldelgado references still not cleared when SCROLLBAR_WIDTH === 0
Also there should be: this._viewElement = this.element = null;


APK Offline - CDN Issues

Is anyone else getting:
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.6/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.84815163.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.6/community: temporary error (try again later)
It seems something may be wrong with the domain or DNS.

Yes, I'm seeing the same thing

Me as well

Looks like it might be back up

If anybody is looking at this and needs a workaround for your Dockerfile, this seems to be working for me
RUN echo "http://dl-5.alpinelinux.org/alpine/v3.4/main/" > /etc/apk/repositories

RUN apk update && apk add \
	redis \
	postfix

I commented out my workaround, and it seems to be working again for me also

I'm back online as well!


UI seg faults when loading malformed yaml

Do you have a test case for this?

One that I saw was when the endpoints were saving as
Endpoints:
[ ]
There were a couple of others that I saw as I was fixing the edit/add node functionality, but I was going to use that one for test.

One that I saw was when the endpoints were saving as
Endpoints: [ ]
There were a couple of others that I saw as I was fixing the edit/add node functionality, but I was going to use that one for testing.

This is reflected in the Yaml reader test 90: https://github.com/opensocsysarch/CoreGen/blob/devel/test/Yaml/Reader/TEST90.yaml
This currently passes without an issue.

It is possible that Changes since I made this issue may have already fixed it. I was planning to look into this issue when I got home from work tonight. Another test case that gave me issues before was when I messed up the indentation on the YAML. Some of the test cases looked like they loaded ok, but didn't properly fill the DAG and then seg faulted when I tried to reload it or inspect a node info node. I think the endpoints was a case of the former. It didn't load properly and then seg faulted when I clicked the load button to try to load a file I knew was correct.

In general I think what I noticed before is that if a an error is generated on the backend during reading the UI will look like it loads, but the data loaded is incomplete or non-existent. If you try to open the file again or inspect nodes when malformed yaml was loaded it would seg fault. I still have to look into this, but I believe that anything that generates a CG error on the backend during reading should cause this problem.

I have tried several things that I saw causing this to seg fault before and do not appear to be able to recreate the issue. This appears to have been fixed by other fixes that were added to the either the backend or the portal. I'm going to move this into the test column of the project board for the time being. I'll leave it there for a couple days to see if I can run back into the issue while I'm working then if I don't run into I'll move this to done

@jleidel I just saw this https://github.com/opensocsysarch/CoreGenPortal/pull/114 . Are these fixes for this issue?

Those fixes were targeted at stopping the seg faults.  For valid Yaml, i think we may be good.  However, if there issues in the indentation, then the yaml is technically invalid.  It would be cool if there was some sort of Lit routine to ensure the yaml is valid with respect to indentation prior to sending it through yaml-cpp.  We can open an issue on the CoreGen repo for this as a future enhancement

On the front end this morning the indentation issue appeared to place a log into the logpane that said that the yaml couldn't be loaded. Everything that I was doing before that caused the faults appeared to put a message into the log pane and cause no futher issues. The message was very generic though. Do we want to add more targeted messages to the logpane to let the user know exactly what was wrong with the yaml? It could log output from the lint routine if we add that to the backend.

We can add this to the Lit enhancement (see below).
https://github.com/opensocsysarch/CoreGen/issues/195

I can't get this to fail with issues in the indentation.  I need a test case that fails

https://github.com/opensocsysarch/CoreGen/issues/195 has been closed

I believe this issue is complete.


硬改版本，不建议合并，有短期需求的自取。

修复部分因为Postgres jsonb为空导致的segmentation fault
增加对于Postgres命令的配置文件和线程数的命令行参数支持
跳过copy_table_data复制报错，因为源库可以用权限来限制要同步的表
增加自动清理同步临时表，仅保留最近1000条
跳过因为未知原因导致的SQL为空的问题
跳过因为未知原因导致不该有的增量的INSERT报错

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

 All committers have signed the CLA.

感谢你的贡献。


ArgumentNullException: Value cannot be null.

Hi I am trying to use your scripts to make a grid sensor. I have done everything as done in your DogFight scene, but I am getting the following error-
ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0) System.Collections.Generic.Dictionary2[TKey,TValue].TryGetValue (TKey key, TValue& value) (at <695d1cc93cca45069c528c15c9fdd749>:0)
MBaske.Sensors.Grid.DetectionResult.TryGetItems (System.String tag, System.Collections.Generic.IList`1[MBaske.Sensors.Grid.DetectionResult+Item]& items) (at Assets/Scripts/Sensors/Grid/Basic/Detection/DetectionResult.cs:109)
MBaske.Sensors.Grid.GridSensorComponentBaseGO+d__22.MoveNext () (at Assets/Scripts/Sensors/Grid/GameObject/Sensor/GridSensorComponentBaseGO.cs:165)
SimpleInputControls.CollectObservations (Unity.MLAgents.Sensors.VectorSensor sensor) (at Assets/SimpleInputControls.cs:104)
Please let me know if you have any solution else let me know what other details you will require to solve this. P.S. - The error takes me here-[]

Hi, please see my post https://forum.unity.com/threads/3d-grid-sensor-update-for-ml-agents-2-1.1054088/#post-8663700


Adding an enhancement for integrating day0 kmods with KMM.

/cc @yevgeny-shnaidman @qbarrand @mresvanis

Here is a link describing the full process on how to build the first custom ISO and container image to build the cluster using assisted-installer: https://github.com/ybettan/image-composer/blob/main/CUSTOMIZE_RHCOS.md

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

Comparison is base (62a631c) 76.49% compared to head (2f64c19) 76.47%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #957      +/-   ##
==========================================
- Coverage   76.49%   76.47%   -0.02%
==========================================
  Files          61       62       +1
  Lines        5675     5684       +9
==========================================
+ Hits         4341     4347       +6
- Misses       1115     1117       +2
- Partials      219      220       +1

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

General remark: I still think that KMM  should not be the one responsible for updating the MachineConfig

General remark: I still think that KMM should not be the one responsible for updating the MachineConfig

@yevgeny-shnaidman If we put it in KMM then we have 2 options:

We add a flag that only register the new controller if explicitly requested

Pros: we only need a single operator to manage both day2 and day0 kmods
Cons: operator becomes more complex

We create a new kmm-day0 image (same as kmm-hub) for that controller

Pros: We keep the separation of concerns
Cons: If a user wishes to manage both day0 and day2 kmods he will need to install 2 operators

Do you still think it shouldn't be in KMM even if it is in a separate image?
If you think it doesn't belong here then let's schedule a meeting with @qbarrand, @mresvanis and @bthurber and decide where to put it.

@pcolledg-amd Thank you for your review.

I'd suggest the RHCOS version string (ie. 414.92.202312311229-0) in ModuleDay0 CR be an internally-resolved templated variable a la KMM+DTK's ${KERNEL_FULL_VERSION}. Or even calculated from ${KERNEL_FULL_VERSION}.

Are you referring to the container image (quay.io/ybettan/rhcos:414.92.202312311229-0) or to the os literal ("Red Hat Enterprise Linux CoreOS 414.92.202312311229-0 (Plow)")?
In KMM, we use those templates in case a user is targeting multiple nodes with different kernel using a regexp, therefore we need to template the kernel image to adjust it to each node. In the new day0 flow, a machineConfig will target nodes with the exact same OS on them so I am not sure I get the point of templating it.

After some discussions, we won't introduce an MCO-KMM integration for now, therefore, closing in favor of https://github.com/rh-ecosystem-edge/kernel-module-management/pull/1004
/close


Implementation of AMin function in ChainerX

Amin (like AMax) can be implemented in ChainerX.
My thoughts of initial implementation is negating the inputs and sending it to 'Device ArgMax' and then negating the outputs back. It can be improved later.

Can I work on this issue?

PR Merged.


feat: mapped buyingContext field from REST API to internal model

PR Type

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:
What Is the Current Behavior?

The PWA mapper does not map the buyingContext field from REST API to the internal model
Issue Number: IS-32024
What Is the New Behavior?
Now the mapper maps the buyingContext to the internal value.
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No
Other Information
The expected name of the future release is as follows: 44.0.0-OHS-179-BuyingContext

What's with this Pull Request @Sh3rl0ck221B


chore: use java-graalvm-ci-prod gcp project for running tests

Thank you for opening a Pull Request! Before submitting your PR, please read our contributing guidelines.
There are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕

Stacktrace:
 Error: Error when reading or editing Project Service : Request `List Project Services java-graalvm-ci-prod` returned error: Batch request and retried single request "List Project Services java-graalvm-ci-prod" both failed. Final error: Failed to list enabled services for project java-graalvm-ci-prod: googleapi: Error 403: Permission denied to list services for consumer container

Stacktrace after enabling cloudkms.googleapis.com in java-graalvm-ci-prod:
 ITKmsTest.ensureKmsKeyRingExists:60->getKeyRing:76 » StatusRuntime PERMISSION_DENIED: Permission 'cloudkms.keyRings.get' denied on resource 'projects/java-graalvm-ci-prod/locations/us/keyRings/gcs_test_kms_key_ring' (or it may not exist).

/gcbrun

/gcbrun

The presubmits running on java-graalvm-ci-prod are now passing.

Please don't merge until all the GraalVM checks are passing.

Discussed with Mridula. Approved. The failing checks are duplicates and legacy.


💡[FEATURE]: Prediction of Close Price of Bitcoin using Neural Networks

Is your feature request related to a problem? Please describe.
Nowdays, predicting the close price of bitcoin is a very tough job for traders for do. So they invest in the wrong way unaware of the close price. So that is why I would like to build a model that could predict the close price of bitcoin.
Describe the solution you'd like
This model would be built using Neural Networks and hence the accuracy will be good. The predicted close price will help the trader in deciding when to invest their money and they can invest their money wisely. This model would also contain data visualization for better understanding

@Akshat111111  Can you please assign me this issue? I would like to work on it.

I'm a GSsoC'24 Contributor and would like to work on this. Could you assign me this issue so I can form a pull request?


fix: Use outputs of last child instead of retry node itslef

Fixes #2560
When using a retry node, we would add the outputs of the retry node instead of the last child to the scope. Changed to add the outputs of the last child node.
Wonder how this went undetected for so long.

Is there a chance that #2442 is related to this?

Is there a chance that #2442 is related to this?

@danxmoran I'm actually not too sure. From your issue:

When the 1st script completes successfully on its first try, everything works perfectly. On the other hand, if the 1st script fails, retries, and then succeeds, then its result is sometimes not substituted properly into the inputs of the 2nd script. This causes the 2nd script to fail.

If the issue were this, it wouldn't work even on the first successful try and it would always be deterministic. I'll take a look at your issue soon and see if it did in fact fix it.

Back-ported to 2.7


Bugfix in retry (assert x ) & add some simple features

i hope i accepted the changes.

I missed to increase the version. I think thats important for the update process on pip?


[WIP] Task/7 data for health EndPoint

With this PR the cosmos connector provides the data needed for doing health checks.

This PR closes #7


In std.conv.emplaceInitializer use memset instead of memcpy when setting all 0s

In std.conv.emplaceInitializer use memset instead of memcpy when setting all 0s.
This PR also moves isInitAllZeroBits from std.experimental.allocator.common to std.conv to avoid making everything that uses std.conv also depend on std.experimental.allocator.common. The visibility remains package.

Currently causes dmd to crash.

The issue with DMD should be reduced with dustmite.

@JackStouffer I've sent a reduced version of the failing code to @UplinkCoder.

Could you please open an issue with the reduced code to the bugtracker, s.t. everyone has access to it and it doesn't get lost?
Thanks!

@wilzbach Sure, https://issues.dlang.org/show_bug.cgi?id=18819

The compiler crash has been fixed so this isn't blocked anymore.
@edi33416 moved isInitAllZeroBits!T to std.traits. Visibility remains package.

Updated to use improved isInitAllZeroBits from https://github.com/dlang/phobos/pull/6537.

Updated to use new __traits(isZeroInit) from https://github.com/dlang/dmd/pull/8583. Removing WIP label.


Add static type checking throughout sopht

After #81, we need to add static type checking wherever apt throughout sopht. Some areas it can be broken down is as follows:

[x] simulator 5b2f9817cdaffe44293d4fef097a65c74758bb5e e7848c5c40a70ad2f713347cb52bc87aa00a151b ba70e21
[x] numeric 677206a a7b2a2d
[x] utils: 16b2e35
[x] scripts: ea669f4
[x] examples: 285a88a 2a11b37
[x] tests

Closing since completed.


really want to use this

but at this point the prerender_location feature is too sparsely documented.  I played around with it for a day, but I could never get it to fully route.  I created:
app/assets/javascripts/components/routes.js.jsx
var Route = ReactRouter.Route;
this.DDSRoutes = (

);
app/assets/javascripts/components/app.js.jsx
var App = React.createClass({
render: function() {
return (

App {this.props.foo}
<ReactRouter.RouteHandler/>

)
}
});
app/assets/javascripts/components/splash.js.jsx
var Splash = React.createClass({
render: function() {
return (

Splash Page

)
}
});
app/controllers/front_end_controller.rb
class FrontEndController < ApplicationController
def index
end
end
app/views/front_end/index.html
<%= react_router 'DDSRoutes', 'HistoryLocation', {foo: 'this is foo prop'}, { prerender_location: '/' } %>
Rails.application.routes.draw do
root 'front_end#index'
get "/*path" => "front_end#index"
end
I can get the base App to mount at '/', but then I get many Undefined errors:
routes.self: Undefined Object 'ReactRouter' at the first line, e.g. var Route = ReactRouter.Route;
and I can never get it present Splash at '/splash'
I am using the latest version released june 20 (0.13.3)  I get that this is bleeding edge, and I really hope it stabilizes.  If I am doing something wrong, let me know.

Hi @dmlond,
Sorry for the poor documentation on that feature. I'll try improving it.
In the meantime, please take a look at the example project I've added to the repo (https://github.com/mariopeixoto/react-router-rails/tree/master/examples/react-router-example).
If you publish your project on github or send to me I can help pointing out what's wrong.

I was able to get your example working with ruby 2.2.2p95 and node v0.10.36 as the javascript runtime.  I then started to make changes in your Gemfile to match versions of gems that I am using in my project.  When I upgrade to rails 4.2.1, things stop working.  I will keep looking into it to see what version of rails I can get to before things stop working.

it stops working with rails 4.2.0 as well.

@dmlond Could you send me your Gemfile? I have the project updated to rails 4.2.1 and ruby 2.2.2p95 and still works on my end.

ok. I figured out what was happening.  It works with rails 4.2.1.  I was running it in a docker container, and , evidently, the default rails s does not attach the server to <IP_ADDRESS>.  I added thin to my Gemfile, and ran thin start instead, which defaults to <IP_ADDRESS>, and your code works.  You can close the issue, but please continue to document things.

can you make the example pass initial properties into the application using the react_router view helper.  I am pretty sure this worked in the previous version like:
<%= react_router 'MyRoutes', 'HistoryLocation', {'foo' => 'foo'}, { prerender_location: @location_path } %>
so that I can do:
/** @jsx React.DOM */
var RouteHandler = ReactRouter.RouteHandler,
Link = ReactRouter.Link;
var App = React.createClass({
render: function() {
return (

Hello World

Another Page

foo: {this.props.foo}

);
}
});


libtensorflowlite.so crash when load model, just crash on SessionOption destructor

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

System information
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:HUAWEI armv8 mobile
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): r1.13
Python version:2.7
Bazel version (if compiling from source):19.0.2
GCC/Compiler version (if compiling from source):4.9
CUDA/cuDNN version:no
GPU model and memory:no
Describe the current behavior
I compile tensorflow lite arm64-v8a and armeabi-v7a, both success build, when i use them on my android device with my c++ code and own model, armeabi-v7a and get correct result, but arm64-v8a crash when destruct SessionOptions.
Code to reproduce the issue, I want to load my own model but failed, so I just using this line, and the function crash.
std::unique_ptrtensorflow::Session ModelLoader::load_pb(const std::string& graph_file_name) {
tensorflow::SessionOptions options;
return nullptr;
}
Other info / logs
I try to rebuild the tensorflow using ndk-r10e, ndk-r11c,ndk-r12b, ndk-r14b, and ndk-r15c, both build success and cannot work.
my bazel command: bazel build //tensorflow/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=arm64-v8a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt="-std=c++11"
I add  lines  into tensorflow/lite BUILD File:
cc_binary(
name = "libtensorflowLite.so",
linkopts=[
"-shared",
"-Wl,-soname=libtensorflowLite.so",
],
linkshared = 1,
copts = tflite_copts(),
deps = [
":framework",
"//tensorflow/lite/kernels:builtin_ops",
"//tensorflow//lite/delegates/flex:delegate",
],
)
I thick the so is ok because armeabi-v7a can work successfully.  Thank you very much to look this issue.

Can you try adding the --config=monolithic flag to your bazel build command?

Can you try adding the --config=monolithic flag to your bazel build command?

I use .pb file in android,  should i change it to .tflite file to using my own model? I will try to rebuild as you recommended.

TensorFlow Lite requires use of .tflite models, generated with the TensorFlow Lite converter. It cannot read or use frozen graphs or graph defs (or saved models).

TensorFlow Lite requires use of .tflite models, generated with the TensorFlow Lite converter. It cannot read or use frozen graphs or graph defs (or saved models).

Hi @kunkun007
I am new to tensorflow. I am building tensorflow for arm64.
I hope you cross compiled tensorflow source code.
Can you please help how to build tensorflow for arm64.

Hi, @jdduke  I build tensorflow lite as you have recommanded, but it still not work, so i change my model to .tflite, it can load the model successfully. Unfortunately, I use mtcnn, pnet must have fiexed input size, otherwise the tf_converter failed, I don't know how to inference the mtcnn then. Should I open a new issue for this problem? Thank you for your reply.

Hi, @thotaram 1You should clone the tensorflow source code use git clone command
2./configure to set android sdk and ndk
3modify tensorflow/lite BUILD File:
cc_binary(
name = "libtensorflowLite.so",
linkopts=[
"-shared",
"-Wl,-soname=libtensorflowLite.so",
],
linkshared = 1,
copts = tflite_copts(),
deps = [
":framework",
"//tensorflow/lite/kernels:builtin_ops",
"//tensorflow//lite/delegates/flex:delegate",
],
)
maybe in low tensorflow version, you should change the lite file /tensorflow/contrib/lite and no such line:"//tensorflow//lite/delegates/flex:delegate".
4 use the bazal build command to build: my bazel command: bazel build //tensorflow/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=arm64-v8a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt="-std=c++11"
You should install bazel first and install a property version.

Hi @kunkun007
Thank you for your inputs.
I used the below link to cross build the tensorflow.
https://github.com/xifengcun/tensorflow-aarch64-crossbuild
Configuration is done successfully, but while running the bazel command getting the below error.
ERROR: /home/aiiec/ARMNN/tensorflow_v1.13.1/tensorflow/tools/aarch64_compiler/BUILD:15:1: //tools/aarch64_compiler:gcc-linux-aarch64: no such attribute 'dynamic_runtime_libs' in 'cc_toolchain' rule
ERROR: /home/aiiec/ARMNN/tensorflow_v1.13.1/tensorflow/tools/aarch64_compiler/BUILD:15:1: //tools/aarch64_compiler:gcc-linux-aarch64: no such attribute 'static_runtime_libs' in 'cc_toolchain' rule
I would like to know you have followed any web link to build tensorflow lite successfully.
Thanks inadvance.

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Feature/question parts for assignment progress and board completion

Uses question parts to calculate board completion % everywhere (my boards, my assignments, assignment progress, CSV downloads).
AssignmentFacade.getAssignmentProgress(...) now also returns a list of the number of question parts correctly answered as well as the pass status of each question. This change is backwards compatible, but in the future it might be nice to change it into one list of objects.

But I still would like to fix the checkstyle one before merging!


Fix #108 Add logging for errors handling large server responses

Add logging to DefaultRestClient for blocking post
Add sample REST endpoint to PublicTestRestController
Add test case into DefaultRestClientTest to verify behaviour

This was actually the task that I was given as an entry task. It did not get fully finished and since now I am a contributor of the project I thought the easiest way would be to create a new pull request that actually finishes the task and close the old one which was created from my personal GitHub account.


update registered models to include cs173 and cca06

wiki entries list registered models. Should be updated to include cs173 and cca06

and cs17.3-H


Add on all 3rd party libs a version or at least a github ID

At this moment I dont know the correct version on some 3rd party libs'
Better to make an update and add the github id on the readme
astc  2.5   (26 Mar)
https://github.com/ARM-software/astc-encoder/releases/tag/2.5
LLVM (ConvertUTF)   LLVM 12.0.0  (15 April)
https://github.com/llvm/llvm-project
poly2tri git 7f0487a  (13 days ago)
https://github.com/jhasse/poly2tri
Only md5 seems to be without any link.

Since openssl or mbedtls contains md5 digest implementation, the md5.h/md5.c maybe remove in the future

@halx99 No problem, so maybe the other three libs above have to be update?

Updated: https://github.com/adxeproject/adxe/commit/e0beb6cf27082f3eecf55ce2e212828c66cc9601

astc 2.5 (26 Mar)
https://github.com/ARM-software/astc-encoder/releases/tag/2.5
or later version is missing

Now, everythings of this issues updated: https://github.com/adxeproject/adxe/commit/9321a65e8c3fe3538fffa200e1defa40239d8302


Bump cardano-node to 1.15.1 tag

Issue Number
Relates to #1870 / #1909.
Overview

Updates cardano-node, just the node, not the libraries to the latest tagged release.

Comments

[ ] Tests pass

bors try

Hmm we see that random memory leak on the unit tests again. This has happened on linux/macos/windows so far. It could be a bad QC shrinker.
bors r+


Uniform TCP and UDP DNS interception flows

Fixes #5387

Change to use ct_state to match the DNS responses that need further interception.
Add OF meter for DNS interception.

I just realized that using ct_state will make TCP handshake and finish packets also be sent to the controller. I'm thinking something like tcp_flags=+ack-syn-fin to do the matching. Although still some unrelated packets will be sent to the controller, it is better than just using ct_state.

Realized I shouldn't completely remove the tcp_flags match. Because we don't want syn and fin packets also being sent to the agent. Will add flags that look like tcp_flags=+ack-syn-fin-rst. Just let the reviewers know, I will commit this change in a few hours. I'm having some internet issues right now.

Realized I shouldn't completely remove the tcp_flags match. Because we don't want syn and fin packets also being sent to the agent. Will add flags that look like tcp_flags=+ack-syn-fin-rst. Just let the reviewers know, I will commit this change in a few hours. I'm having some internet issues right now.

I wouldn't assume that SYN / FIN packets cannot carry data. I believe that the server is allowed to set the FIN flag on the last data segment. And this RFC mentions TCP Fast Open for DNS, so I think the SYN + ACK from the server could also theoretically carry data.

Realized I shouldn't completely remove the tcp_flags match. Because we don't want syn and fin packets also being sent to the agent. Will add flags that look like tcp_flags=+ack-syn-fin-rst. Just let the reviewers know, I will commit this change in a few hours. I'm having some internet issues right now.

I wouldn't assume that SYN / FIN packets cannot carry data. I believe that the server is allowed to set the FIN flag on the last data segment. And this RFC mentions TCP Fast Open for DNS, so I think the SYN + ACK from the server could also theoretically carry data.

Make sense. Then I will keep it for review.

/test-all

/test-ipv6-e2e

/test-all
/test-ipv6-e2e

@GraysonWu can you fix the conflict?

/test-all

@GraysonWu please backport to 1.13


Cleaning up warnings from GCC which snowballed

I'll just start with the first commit message:
Cleaning up code, inspired by including this in a personal project that compiles with GCC's -Wold-style-cast
After updating to V-HACD4 which is now a header only library, I ran into a wall of warnings from -Wold-style-cast.
I decided to look into where and why these warnings were occurring and saw code that could have been better.
The primary things I saw were using double[3] and double* in place of an actual vector type, while also having multiple vector types.
Using array indexing to get at triangle indices, and then using more array indexing to get at the vertices at those indices.
Lots of manual memory management using new/delete for temporary arrays.
In short, inconsistency, likely due to the multiple authors from the project over the years.
I thought "I can fix this" by first making a vertex and triangle type, VHACD::Vertex and VHACD::Triangle.
These are simply groupings of three doubles and three integers.
Then I changed the entry point, VHACD::VHACDImpl::Compute to work on a vector of these two, while changing the ones accepting double* and float* to construct the relevant vectors and forward it onto this one.
Next up was VHACD::VHACDImpl::copyInputMesh. It uses VHACD::MyVertexIndex, VHACD::MyRaycastMesh, VHACD::VoxelizeImpl, and VHACD::VoxelHull via abstract base classes when they don't really need to be abstract or via a pointer, so I went into them to change them to stack allocated and to work on the vertex and triangle types.
It was around here that I started to see the multiple vector types and decided to work on removing the multiple implementations of vector math that was repeated, by my count, at least 5 times. I found the first one that seemed okay, nd::VHACD::Vect3 and chose to use it as the vector type for the rest of the code.

All of these are now nd::VHACD::Vect3.
This has gotten rid of the majority of the warnings I was interested in.
A side effect is it's gotten rid of approximately 2500 lines of code.
Compiling with GCC's -Wold-style-cast, -Wunused-variable, -Wignored-qualifiers, -Wnon-virtual-dtor, and -Wmaybe-uninitialized, 82 old style cast, 7 unused variable, 8 instances of ignored qualifiers, 8 non-virtual destructors, and 9 maybe uninitialized.
Further work is to make the code more consistent as to the naming of types, variables, namespaces, but I'll just stop here for today.

Wow, that was a massive undertaking. Yes, you are correct, the code came from multiple contributors, Miles Macklin and Julio Jerez in particular each who uses their own coding style. Also a bits and pieces of utility code from various sources. I will review this but if it seems safe I will go ahead and merge it.

I'm curious, it looks like you removed some of the pure virtual interfaces. I'm curious as to why? Were these causing warnings? The reason those existed is because this code originally existed as many different source files where the interface was defined in a single header and the implementation in a single CPP.  Even though the code was merged into one source file, I still prefer having the separation of interface from implementation.

Ok, while you may have fixed some warnings on GCC you introduced compiler errors on Windows. I'm trying to sort those out now.

I could not use your pull request due to compile errors on Windows. Instead I did a manual merge of it to a new branch.
I created a branch called 'cleanup' which has all of your changes...but..I also had to fix some issues you introduced that prevented it from compiling on Windows. First, you used this feature: 'namespace nd::VHACD {' which is a C++17 feature not enabled currently on the Windows build by default. I just made it normal nested namespaces,
The other issue was there was a lot of mix and match between size_t and uint32_t which caused compile errors on windows since size_t is 64 bit but uint32_t is 32 bit. Ideally the code would be cleaner and not mix and match so much but, for now, I needed to add a C style cast of 'uint32_t(v)' to get rid of the compile errors so that the 64 bit integers were being explicitly cast to 32 bit in each case.
An enormous amount of work went into your refactor so I don't want to lose your efforts, especially since it reduced the code size so much.
Please grab this 'cleanup' branch and make sure my Windows compiler fixes didn't actually introduce new issues on your Linux config. I don't typically work in Linux myself.
I did test that the code still generates valid results.
If you are ok with my changes I will go ahead and merge this to master.

I went ahead and merged your changes into master after fixing the Windows build issues. Thanks for the time and significant effort in the refactor and code cleanup. I'm sure people will appreciate the size reduction.

It's been merged, but I was asleep and couldn't answer the questions in time, so here goes.
The pure virtual interfaces weren't used anywhere. Things like QuickHull was only subclassed by QuickHullImpl which was only available in the implementation. QuickHullImpl was only used via a pointer to QuickHull and was created from a QuickHull::Create static member function with no way of providing a way to create a different QuickHull derived class. The pure virtual interface was unused. A better way of representing it would have been to have the pure virtual functions be the public functions and everything else be private. I did keep the virtual interfaces on the classes available outside the implementation as those are used by MyHACD_API (the async one) and VHACDImpl (the synchronous one).
The C++-17 stuff is probably due to g++-10 defaulting to gnu++-14 which allows namespace A::B as an extension, and likely also allows assignment of different sized integers without warnings by default.
The rest of the Windows/MSCV compile issues are due to not having a Windows machine to test on.
Thanks for fixing up and merging the rest. I'll probably make a few more changes and ask for feedback on those, primarily on organising the math type code (fm_* are halfway down the file, whereas the other math functions are way at the top), and renaming all those classes I removed the virtual interfaces from. And the findConcavity* functions bother me since there's a lot of copied code.


feat: integrate Fuel Wallet with swayswap and update to beta-3

closes #400

Change the phrase on the top warning from SwaySwap is now on Fuel testnet beta-1! This network does not contain previous transactions or balances. to SwaySwap is now on Fuel testnet beta-2! This network does not contain previous transactions or balances.

@LuizAsFight We need the dist-crx to run on the ci for the e2e tests and I don't know of a way to generate it from swayswap

problems with this approach:

git project will get crazily big
every time needs to upgrade wallet version, will need to update dist-crx .. making it even bigger
we should not be publishing a dist folder. publish from other project is even worse

@luizstacio thoughts?
I was thinking and this looks like a fuels-wallet problem, instead of swayswap
wallet repo could provide a way for other apps to e2e test using the wallet.
we could explore

for local test, use pnpm link and explore dist-crx in wallet repo
for CI test, download and use dist-crx from link I mentioned

needs https://github.com/FuelLabs/fuels-wallet/pull/600 to be merged first

Infra

Change the init-poll script to mint coins from both token contracts and initialize the pool with big liquidity. Note the manual CI triggers this action.
Deploy the contracts using the CI to make the preview work correctly here.

UI/UI

Right after entering the app, it shows an error. This should not appear to the user in this phase.
<img width="422" alt="Screenshot 2023-03-20 at 20 06 06" src="https://user-images.githubusercontent.com/3941923/226484701-61c1b0d2-9182-
Centralize the stepper;

4535-a872-0ce30cb181b1.png">
Other reviews will require the Infra to be correct setup before continuing.


Goreleaser does not create the proper brew URLs

Summary
When using goreleaser, brew recipe created does not create proper URLs:

linux URL is for darwin
darwin URL doesn't contain the version number in link

PR: https://github.com/cyberark/terraform-provider-conjur/issues/47


remix dev - Custom port note

I think this should be a config variable, but for now at least we can show how to set it manually

does it need the cross-env?
Also might want to note that REMIX_DEV_SERVER_WS_PORT if you want to change that too (which you will if you're trying to run two apps with remix dev at the same time.

does it need the cross-env?

It did not, i've updated to be more generic :)

Also might want to note that REMIX_DEV_SERVER_WS_PORT if you want to change that too (which you will if you're trying to run two apps with remix dev at the same time.

Mentioned, and linked to the relevant doc 👍


Could not load type IDbContextOptionsExtensionWithDebugInfo from EntityFrameworkCore

I think I am able to reproduce closed #15192 in RC1.
dotnet --version: 3.0.100-rc1-014190
What I did:

Scaffold a new .NET Core MVC app with individual account auth:
dotnet new mvc --auth Individual
Run the app using dotnet run and accept the self-signed certificate in the
browser at https://localhost:5001
Register, sign out, sign in and sign out again to test the database
Remove app.db and ConnectionStrings in appSettings.json
Install the EF in-memory provider:
dotnet add package Microsoft.EntityFrameworkCore.InMemory
Replace AddDbContext with
services.AddDbContext<ApplicationDbContext>(options => options.UseInMemoryDatabase(nameof(aws_elastic_beanstalk)))
Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtensionWithDebugInfo' from assembly 'Microsoft.EntityFrameworkCore, Version=<IP_ADDRESS>

You can see the problem in this repo:
https://github.com/TomasHubelbauer/aws-elastic-beanstalk
Further technical details
EF Core version: 3.0.0-rc1.19457.4
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer) in memory
Target framework: (e.g. .NET Core 3.0) .NET Core 3.0.100-rc1-014190
Operating system: Windows 10
IDE: (e.g. Visual Studio 2019 16.3) CLI

@TomasHubelbauer You need to keep all dependencies at the same version, including Microsoft.EntityFrameworkCore.InMemory

Ah, I didn't realize dotnet add package will not install pre-release version. Wish the error message was better though.

Another thing which doesn't help is that for my version of EF (3.0.0-rc1.19457.4) there is no corresponding version of the in-memory provider. The closes is 3.0.0-rc1.19456.14 .

I think you are referring to the ASP .NET Core version. Yes, unfortunately the build portion don't match EF for pre-release packages

Indeed, I misread the package name. At least it's documented in this issue now for Google. FWIW I was able to get the above to work with in-memory once I switched that package to the RC1 version as well.


mysql container restarting continually in fresh laradock in WSL,

Description:

Expected Behavior:

Context information:
Output of git rev-parse HEAD
git rev-parse HEAD
480286abe5f2b66be8e985574e4e17a89dec3d59

Output of docker version
 docker version
Client: Docker Engine - Community
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:41:00 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.3.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       41ca978
  Built:            Fri Sep 20 11:41:00 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.24
  GitCommit:        88bf19b2105c8b17560993bee28a01ddc2f97182
 runc:
  Version:          1.2.2
  GitCommit:        v1.2.2-0-g7cb3632
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Output of docker-compose version
 docker-compose version
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022

System info: Mac, Windows or Linux. Include which disto/version
Windows 11, WSL
 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

Steps to reproduce the issue:

Install laradock with git
docker-compose up -d nginx mysql phpmyadmin mailpit workspace #dockup
docker ps
checkout phpmyadmin, cannot login

Stacktrace & Additional info:
docker ps -a --format '{{.Names}}\t{{.ID}}\t{{.Status}}'
laradock_nginx_1        0567d77c3034    Up About a minute
laradock_php-fpm_1      a80d6f36f15e    Up About a minute
laradock_workspace_1    134f41072825    Up About a minute
laradock_phpmyadmin_1   ae890be888bd    Up About a minute
laradock_mysql_1        99a74e526462    Restarting (1) 16 seconds ago
laradock_docker-in-docker_1     8e95fce5c7e0    Up About a minute
laradock_mailpit_1      099cedb6eecb    Up About a minute (healthy)
my-mysql        d852ae94436a    Exited (0) 22 minutes ago

ok so I installed Ubuntu 24.02 with WSL and started up laradock, and the whole thing worked. I may have some sort of bug I cannot see well enough to address. AI was as helpful as it could be in suggestions for debugging docker and the containers, but I never got anywhere with it.


Fixed failure of networking tests.

The default MTU on the pod network interface varies, depending
on the environment on which the cluster runs, and it made some
of the tests to fail.
Now the test covers all the possible MTU values.

@dollierp Please review and comment/merge.
Thanks!

It has been merged in upstream master, so everything is fine for me.


Update Building & Installing for windows to include VS build tools

In order to get started on Revery and run esy build on windows you must have Visual Studio 2017 Build Tools or one of the IDE variants.
The documentation should indicate this by:
https://github.com/revery-ui/revery/wiki/Building-&-Installing
I suggest adding this to the above documentation:
Revery depends on esy-skia which requires `Microsoft Visual Studio 2017 VC Tools` . It can be installed through chocolatey by running:

choco install visualstudio2017buildtools visualstudio2017-workload-vctools -y

Link to repro: https://github.com/revery-ui/revery-quick-start

I believe we can just copy what we do in Oni2 and recommend people install the windows-build-tools package from NPM, which includes both the build tools and Python.
https://onivim.github.io/docs/for-developers/building#prerequisites


Saradomin brews counting as healing food.

When attempting to join the Nightmare mass you must have 1600 HP in food to enter, I currently have 97 3 dose brews which at 99 HP is equal to 4656 HP in health, however i still cannot join the Nightmare as it doesnt recognise the brews as capable of healing. Can we have it changed so that Brews count as healing food?

brews needs to be combined with restores to be reasonable since they lower stats when used.

brews needs to be combined with restores to be reasonable since they lower stats when used.


Error when running pip install detextify

Can you help me resolve this?

Thanks for flagging this problem @yasserelsaid. A few questions:

What's your OS?
And are you using CPU or GPU?
Could you provide the exact commands you used for installation?

Mac OS Monterey on M1 Chop
CPU, I ran pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple and it worked perfectly
I then ran pip install detextify

Running setup.py install for PyMuPDF ... takes a long time (maybe 5 min)

After the 5 min it shows this:

Closing as obsolete; we replaced the PaddleOCR library with Tesseract, since it was causing a lot of trouble at installation.


Zed bracket

Closes #119
Points the camera directly horizontally.

lgtm, are we worried about zed getting bonked if the dog walks into something?

Don't think so, it's pretty protected by the motors

I would protect the zed more around the sides

can you give a sketch
There isn't a ton of room to add more protection without getting in the way of the motors

I would protect the zed more around the sides

can you give a sketch
There isn't a ton of room to add more protection without getting in the way of the motors

also might help it from twisting

I would protect the zed more around the sides

can you give a sketch
There isn't a ton of room to add more protection without getting in the way of the motors

also might help it from twisting

Not gonna lie I have no idea what this sketch is showing lol


[Bugfix] Connector uses different resource group SchedEntity from Olap

What type of PR is this：

[x] bugfix
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #10959.
Problem Summary(Required) ：

GroupScanTaskQueue` is a two-level queue, where the first level is workgroups and the second level is the scan tasks of a specific workgroup.
connector_executor and scan_executor uses different GroupScanTaskQueue. However, the second level of them are the same.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

@Mergifyio backport branch-2.3 branch-2.4

run starrocks_admit_test


WENO-5 advection

Very preliminary work by pair programming with @RaphaelRR to define some WENO-5 operators. We can first test them in 1D with linear advection to make sure they work then try generalizing them to 3D.
Definitely some bugs in there:

Maybe advecting a Gaussian would have been a better initial test.

Thanks @RaphaelRR again for working on this together! Only took three months but I came back to finish it up and found a couple of bugs.
Doing some test-driven development for Oceananigans and it looks like WENO-5 works!
Comparing a second-order centered scheme at CFL=1 vs. WENO5 at CFL=1.8.


Detailed instructions to use the Docker version, please!

Following the guide:

Result:

I need to do docker pull stablediffusion-infinity
Or what's the name of the image for Docker?

In docker setting, you need to enable using wsl2 backend.
And then use a wsl2's bash to run these commands
cd /mnt/c/PATH-TO-YOUR/stablediffusion-infinity/docker
./docker-run.sh

i tried this and all i recive when i run ./docker-run.sh is this error message
-bash: ./docker-run.sh: /bin/bash^M: bad interpreter: No such file or directory

i tried this and all i recive when i run ./docker-run.sh is this error message
-bash: ./docker-run.sh: /bin/bash^M: bad interpreter: No such file or directory

nevermind dos2unix and chmod u+x fixed the launching the run file

so I was able to get the command to run but now I'm receiving this issue, this is all done using the codes, even tried adding sudo in front with no success, and i have tried the update --fix-missing with no success either, any idea where I may be going wrong or how to fix it?
cd /mnt/c/PATH-TO-YOUR/stablediffusion-infinity/docker
./docker-run.sh

Anyone know how to fix this permission error?
Attaching to stablediffusion-infinity-sd-infinity-1
stablediffusion-infinity-sd-infinity-1 | + set -x
stablediffusion-infinity-sd-infinity-1 | + git submodule update --init --recursive
stablediffusion-infinity-sd-infinity-1 | error: could not lock config file /app/.git/modules/PyPatchMatch/config: Permission denied
stablediffusion-infinity-sd-infinity-1 | fatal: could not set 'core.worktree' to '../../../PyPatchMatch'
stablediffusion-infinity-sd-infinity-1 exited with code 1
root@FRWRD-PC-WIN10:~/github/stablediffusion-infinity/docker#

also have been getting this issue, bumping the thread. Would love more detailed docs


Test previously failing combos

Closes #28.

Yay, all passing. 👍

I'm updating the compat. matrix.

How did you test if ssl works?

How did you test if ssl works?

I didn't, specifically. That said, these combos didn't pass even mix -v. Nice catch, though, lemme had that to the rebar3 tests.

I trimmed down the number of tests, concentrated on non-versioning specific and added a few Ubuntus as per the compatibility matrix.

@ericmj, is there still something you want to check here? Shall we go ahead and merge?

I still think we are testing too many versions but other than that it looks good.

I'm OK with reducing. Tell me what you'd prefer, either as a general rule or by pointing out the ones you'd want removed, 1 by 1. I'm OK with either direction. 👍

Moving to merging this. We can revisit the high number of builds later if deemed required (if they're parallel, time will not be a big issue, I believe).


Update to 11.0.10

Update is needed, otherwise NXUI is not working with new Avalonia versions

Main branch is already updated


Widget not working

Hey, I tried using this package in my where I have already defined a function that displays a snack bar when called. That snack bar is working fine but your package is not doing anything. Rather the app is working the same it was working without your package.

I understood the problem you are facing, but in order to help me find out what is causing it and how to solve it, would you mind sharing a tiny snippet that reproduces such issue?


Add icon for fiber duplex

Adds an icon for a two-fiber duplex port, created by me to be similar to existing ethernet icon.
I'm specifying that it's a fiber duplex port because there exist other types of fiber connections (e.g. single-fiber simplex, many-fiber MPO, etc.)
Resolves #16

Great stuff, thanks a lot!


saiapi.j2 change causes for "create and set" flag to be changed

@vijasrin
part of this commit
Author: Vijay Srinivasan
Revision: add355e26b5ed5c86140a3559d851a5a9ae8b499
Date: 2023-06-21 12:44:23
Comment: Adding support for metering (#365)

Metering P4 model changes in BMV2
Changes to support the SAI api generation for metering tables
See List of Changed Symbols

modified
1/ saiapi.j2 logic for mandatory variables (affecting all vendor LIBSAI)
this is mostly this check:
{% for key in table['keys'] %}
{% if key.isattribute != 'false' %} <<<<<<<<<<<<<<<< is this check stating: this parameter is not part of any lookup key, so no need to make it mandatory ? (this would be the case for the VNI we get from VNET, that VNI being only used as packet data on outbound).
/**
 * @brief {{ key.match_type | capitalize | replace('Lpm', 'LPM') }} matched key {{ key.sai_key_name }}
 *
 * @type {{ key.type }}
 * @flags MANDATORY_ON_CREATE | CREATE_ONLY

{% if key.type == 'sai_uint16_t' %}
2/ commented out in BMV2 the expected/match param logic (just BMV2 sai)
any reason for this?

@vincent-xs

The key.isattribute was meant to be used in cases where table keys also needed to be past of the attribute enums. Looks like this is deprecated and being used anywhere. The removal of the if condition also generates the same output.

Ref: https://github.com/sonic-net/DASH/issues/370 optional attributes should not be required which was causing an assert. Hence this check was commented out in the bmv2 lisai


inventory tags: Fix outlines for stackable items

Because the stored outlines were saved only once for each item, items
with different sprites for different quantities such as coins, ranged
ammunition, seeds, etc. would only show the outline of the first
quantity displayed while tagged. This adds the quantity to the key used
to store cached outlines.
Fixes runelite/runelite#4061

This is also already fixed in #4000 i believe


very wip metric logger improvements

Main changes: log on every step, accumulate metrics correctly over iterations, scrap log_memory_stats_every_n_steps and consolidate with existing log_every_n_steps.
Still need to test I didn't break anything. If we like this approach I can integrate into other recipes as well
PS: our wandb logger test was never running and is broken

Hey, can I help you here? Looks similiar to what I was working: https://github.com/pytorch/torchtune/pull/730


Update web-query-data.md

Formatting doesn't break a one line query into multiple lines. A query will be broken into multiple lines if at least one pipe is in a separate line.
For example:
Formatting does nothing to StormEvents | take 10 | project StartTime
However, formatting formats this 2 lines query:
StormEvents | take 10
| project StartTime

Into this 3 lines query:
StormEvents
| take 10
| project StartTime

@izikl : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Olgagold318 - please comment on this change. thanks.

@izikl good catch!
But it seems like a lot of details to get into in a general how-to guide.
Let's just change example query to:
StormEvents
| sort by StartTime desc | project StartTime, EndTime, State, EventType, DamageProperty, EpisodeNarrative | take 10

@Olgagold318 I think you are confusing the Pull Request description with the actual change. In the actual change: https://github.com/MicrosoftDocs/dataexplorer-docs/pull/513/files, I didn't add any details.

Cool I see it now


Automated cherry pick of #10176: Feature/yousong cloudproxy

Cherry pick of #10176 on release/3.7.
#10176: Feature/yousong cloudproxy

Codecov Report

Merging #10212 (2b0fba2) into release/3.7 (0ff3997) will increase coverage by 9.84%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7   #10212       +/-   ##
================================================
+ Coverage         5.98%   15.83%    +9.84%
================================================
  Files              848      124      -724
  Lines           131795    12937   -118858
================================================
- Hits              7887     2048     -5839
+ Misses          123206    10698   -112508
+ Partials           702      191      -511

Flag
Coverage Δ

aFlag
15.83% <0.00%> (+9.84%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/cloudcommon/validators/validators.go
62.73% <0.00%> (-0.35%)
:arrow_down:

pkg/compute/guestdrivers/kvm.go
1.62% <0.00%> (ø)

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/hostman/guestfs/fsdriver/windows.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/conditions/reducer.go
77.27% <0.00%> (-13.94%)
:arrow_down:

pkg/util/samlutils/util.go
11.29% <0.00%> (-0.38%)
:arrow_down:

pkg/monitor/alerting/conditions/nodataquery.go
0.44% <0.00%> (-0.30%)
:arrow_down:

pkg/mcclient/modules/monitor/suggestsysrule.go
100.00% <0.00%> (ø)

... and 659 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee779c0...2b0fba2. Read the comment docs.

/lgtm
/approve


Vault Frames Do Not Match In-Game Experience

The simulator is calculating Vault speed as the following:
FRAMES=MAX(CEILING(17.999996/(WeaponAPS*(1+WeaponIAS%)+Item&DualWieldIAS%)).4)
However, D3Planner Data shows Vault has a static Attack Speed of 1 rather than the variable Attacks_Per_Second_Total (compare vs. Dashing Strike); and it has a Walking Speed Multiplier of 1, but MS% does not factor into the above equation at all. It may also be relevant, D3Planner Data shows it has ScaledAnimTiming. I'm not sure what that portion means, however.
The 17.999996 also does not appear to factor in a Velocity (17.999996/velocity), or if that is with Velocity already factored in (base/velocity=17.999996), there would need to be a second component of the animation with its own frames, as the current values are much too fast vs. in-game experience. For example, in the current calculation, if you Dual Wield Hand Crossbows, you have 1.6 WeaponAPS and 15% IAS. This puts you at 10 Frames/Vault or 6 Vaults/second. In game with these settings you are much closer to only 2 Vaults/second. Additionally, in-game you can tell that MS% plays a role, as with Tactical Advantage consecutive Vaults are significantly faster.
So possibly the current formula is correct but only for half of the Vault animation - e.g. the initiation/ending animation, with a second formula needed for the movement portion.
One last thing to note, which may be correct but is unclear based on just D3Planner Data, is where the 4-frame minimum comes from.

Update, from looking at the .txt animation file, the frames should most likely be calculated as:
4+CEILING(17.999996185303/(1+MS%))
This is because the Vault animation appears to have 3 animations:
_Cast_BackFlip_in
_Cast_BackFlip_mid
_Cast_BackFlip_out
In has 2 frames, Mid has 17.999996185303 frames, and Out has 2 frames. In and Out should be the animation segments linked to the "Attack Speed 1" value (which is static, so not the same as APS). This is the 4 in the above equation (2+2).
This should result in the following Vault breakpoints:
F/V | V/s | MS%+
5 | 12.00 | 1700.00%
6 | 10.00 | 800.00%
7 | 8.57 | 500.00%
8 | 7.50 | 350.00%
9 | 6.67 | 260.00%
10 | 6.00 | 200.00%
11 | 5.45 | 157.14%
12 | 5.00 | 125.00%
13 | 4.62 | 100.00%
14 | 4.29 | 80.00%
15 | 4.00 | 63.64%
16 | 3.75 | 50.00%
17 | 3.53 | 38.46%
18 | 3.33 | 28.57%
19 | 3.16 | 20.00%
20 | 3.00 | 12.50%
21 | 2.86 | 5.88%
22 | 2.73 | 0.00%
This probably bears some final testing - my computer is not cooperating with getting 60fps precision to do so - but should in any case be more precise than the current calculation (since the current outputs 6 V/s at 0% MS).

Actually, although I still haven't been able to fully test (planning to get a new computer this month though, so the new machine should be able to handle it), through some additional theory on this and examining the rough observed values from in-game experience (again, not perfectly precise, but seems to match from what I can observe), I think this is actually how it's being calculated:
Frames/Vault = 4+CEILING(17.999996185303*(35/(24*(1+MS%))))
This produces the table:
F/V | V/s | MS%+
5 | 12 | 2525.00%
6 | 10 | 1212.50%
7 | 8.57 | 77500%
8 | 7.50 | 556.25%
9 | 6.67 | 425.00%
10 | 6.00 | 337.50%
11 | 5.45 | 275.00%
12 | 5.00 | 228.12%
13 | 4.62 | 191.67%
14 | 4.29 | 162.50%
15 | 4.00 | 138.64%
16 | 3.75 | 118.75%
17 | 3.53 | 101.92%
18 | 3.33 | 87.50%
19 | 3.16 | 75.00%
20 | 3.00 | 64.06%
21 | 2.86 | 54.41%
22 | 2.73 | 45.83%
23 | 2.61 | 38.16%
24 | 2.50 | 31.25%
25 | 2.40 | 25.00%
26 | 2.31 | 19.32%
27 | 2.22 | 14.13%
28 | 2.14 | 9.37%
29 | 2.07 | 5.00%
30 | 2.00 | 0.96%
31 | 1.94 | -2.78%


Acquia Search Upgrade

Summary

This upgrades Acquia Search and all related modules/config as needed to get the sites working with Solr 7.
Changes the install profile to only install Acquia Connector at first, since testing to date has required a 2-step process to get everything working. Once connector is installed, then installing Acquia search seems to work.
Introduces two new optional "features" which are basically the database search and solr search config. Using this approach we can provide both search options, with database being there as a fallback in case Solr isn't working on a site for some reason.
Updates to some theme and config to align with the updated machine names for the view and blocks for Solr search.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

Documentation reflects changes?
no

CHANGELOG reflects changes?
yes

Unit/Functional tests reflect changes?
no

Did you perform browser testing?
yes

Risk level
Medium

Relevant links
https://thinkoomph.jira.com/browse/RIGA-35

Looks good!


Update conditional-access.md

Modified the recommended settings for CA and MFA policies to be more accurate and with more detailed guidance to reduce customer security risk with these changes
@jaimeo , I made some additional changes to this docs article after consulting with both CAT and our MMD security experts, Florent and Dan. Thanks for reviewing

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

Adding Jaime as our product technical writer.  Apologies, I thought I had tagged Jaime in my PR to review the copy.
Thank you!
Regards,
Elaine
Get Outlook for iOShttps://aka.ms/o0ukef

From: Yogesh Kumar<EMAIL_ADDRESS>Sent: Wednesday, January 13, 2021 01:36
To: MicrosoftDocs/microsoft-365-docs
Cc: Elaine Ansell; Author
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Update conditional-access.md (#3900)
@JohanFreelancer9https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJohanFreelancer9&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673200561|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=zN0wso6cufiAS4k1tcTCNlfoiqD50rUw1JfmbswlsYE%3D&reserved=0 - kindly do the copy editor review for this PR. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fpull%2F3900%23issuecomment-759327017&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673210510|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=71ok4%2BzpylT8yn3a5KXyP%2BnwpJgbDaGmHsl8qBQMkc8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVVYMFP6PROFFNB77KRL3DSZVSQJANCNFSM4WAHAJUQ&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673210510|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=6q1vgJ1pZg5mOVwR%2F3%2Bn5l0PdbS8mA2oTNoZHFJ3hsY%3D&reserved=0.

Adding Jaime as our product technical writer.  Apologies, I thought I had tagged Jaime in my PR to review the copy.
Thank you!
Regards,
Elaine
Get Outlook for iOShttps://aka.ms/o0ukef

From: Yogesh Kumar<EMAIL_ADDRESS>Sent: Wednesday, January 13, 2021 01:36
To: MicrosoftDocs/microsoft-365-docs
Cc: Elaine Ansell; Author
Subject: Re: [MicrosoftDocs/microsoft-365-docs] Update conditional-access.md (#3900)
@JohanFreelancer9https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJohanFreelancer9&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673200561|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=zN0wso6cufiAS4k1tcTCNlfoiqD50rUw1JfmbswlsYE%3D&reserved=0 - kindly do the copy editor review for this PR. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fpull%2F3900%23issuecomment-759327017&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673210510|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=71ok4%2BzpylT8yn3a5KXyP%2BnwpJgbDaGmHsl8qBQMkc8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVVYMFP6PROFFNB77KRL3DSZVSQJANCNFSM4WAHAJUQ&data=04|01|elainea%40microsoft.com|cde6158d51fa48ab267a08d8b7a6a5e4|72f988bf86f141af91ab2d7cd011db47|0|0|637461273673210510|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=6q1vgJ1pZg5mOVwR%2F3%2Bn5l0PdbS8mA2oTNoZHFJ3hsY%3D&reserved=0.

Do not merge until I can edit.

Do not merge until I can edit.

@ElaineAnsell can you confirm my edits have not altered the technical accuracy? LMK either over Teams or by comment here.
Note that the audience we are writing to is "admins in your company," therefore "you" is the right way to address them. Also a reminder that the product name is now "Microsoft Defender for Endpoint."

@ElaineAnsell can you confirm my edits have not altered the technical accuracy? LMK either over Teams or by comment here.
Note that the audience we are writing to is "admins in your company," therefore "you" is the right way to address them. Also a reminder that the product name is now "Microsoft Defender for Endpoint."


[CFM_58] API to upload an image /v1/image

Changes

Add POST /v1/image route handler.
Add S3Service adapter class for interfacing with S3.

Testing

Start localstack container:docker compose up

Start local SAM APIsam local start-api --parameter-overrides ParameterKey=Environment,ParameterValue=local --docker-network cfm-network

Upload image (replace <file-path> with your actual image path like "@/home/user/Downloads/sample.webp")curl --request POST \
  --url http://localhost:3000/v1/image \
  --header 'Content-Type: image/webp' \
  --data-binary "@<file-path>"

Check that it returns an URL and you can open the URL from your browser. Sample response:{"photoURL": "http://localhost:4566/fridge-report/dae7ad47-f1d5-4dc1-9214-03b2a68a6cb9.webp"}

@1jeanpaul1 I'm blocked on this feature. Here are two alternatives I considered:

Localstack S3
This looked like a great option because localstack is compatible with SAM (integration) and has S3 emulation. However, I could not use it for this project because lambda layer was a paid feature.
Saving files to local filesystem
Saving files locally is tricky as well because sam local start-api runs code in a docker container. Saving files from lambda_handler saves them into the container, so we cannot access files from outside. It does not seem like there's a way to mount volume to SAM containers either.

Could we use localstack to mock an s3 server in a separate port? And call that port when we're on dev mode?
https://medium.com/swlh/how-to-mock-aws-services-in-local-development-e231852e8a0f

@1jeanpaul1 Only using localstack for s3 and not for lambda sounds like a good approach to me. Let me see if I can run localstack s3 in a docker container like the post you shared :+1:

So I am able to make a request to the API and get a response: {"photoURL": "http://localhost:4566/fridge-report/2f155bb6-ad9b-40cf-a357-2ab71a8082f8.webp"}
But when I go to the link a file is returned that I am not able to open. The file size is also very small (49 bytes) compared to the image I uploaded so I assume that's part of the problem

But when I go to the link a file is returned that I am not able to open. The file size is also very small (49 bytes) compared to the image I uploaded so I assume that's part of the problem

@1jeanpaul1 Sorry there was a typo in my curl command in PR description. I should have used --data-binary instead of --data. The updated command in the PR description should work properly.

Works locally for me :). I'm deploying this branch to test. I have a feeling we might be missing some permissions but not sure! Will post new comment after deployment

I deployed but am getting an error, but unable to debug.
Can we add some logging when there's an exception and write more specific exceptions
Comments here:
https://github.com/CollectiveFocus/CFM_Backend/pull/16#discussion_r957848262

Thanks for adding the logging! The current issue I am running into is:
[ERROR]	2022-08-31T05:52:27.584Z	5d8e1243-c9e9-49e8-b686-1314656b1a6a	An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
we'll need to play around with the policies in the template.yml file a little bit more!

@CollectiveFocus I think we're very close! Made the following changes:

Suppress bucket creation on prod https://github.com/CollectiveFocus/CFM_Backend/pull/16/commits/4c08acb7a22e36ba30465fb073301d609090e965
Renamed bucket to follow s3 naming convention https://github.com/CollectiveFocus/CFM_Backend/pull/16/commits/366647c68ab9103e351faa0fc3f20281cdb43f20
Updated template.yaml https://github.com/CollectiveFocus/CFM_Backend/pull/16/commits/243bee8ea02bf6b26d3e5bb16cf9569e852b2617

@CollectiveFocus I think we're very close! Made the following changes:

Suppress bucket creation on prod 4c08acb
Renamed bucket to follow s3 naming convention 366647c
Updated template.yaml 243bee8

Thanks for the updates! Deployed and here's the API: https://gkckljhcvc.execute-api.us-east-1.amazonaws.com/Prod/v1/image
[ERROR]	2022-09-01T05:09:00.743Z	3f2de1a5-e040-4a4c-a9df-ec00d259de61	An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
Getting the above error, so I think we need to play around with the policy in ImageFunction
or the s3 bucket in CommunityFridgeMapImages

@CollectiveFocus Any suggestions on what to try?
I've removed the Sub! directive here, but I can't think of anything that would cause an error.
Maybe we should check the bucket policy of community-fridge-map-images on AWS dashboard?
https://stackoverflow.com/a/70483737

The issue was at the bucket policy level. Here's the deployed api if you want to test it out: https://yi7brxeo1l.execute-api.us-east-1.amazonaws.com/Prod/v1/image
Here are the updates I made to get it to work:

Added Bucket Policy

  ImageFunctionBucketPolicy:
    Type: AWS::S3::BucketPolicy
    Properties:
      Bucket: !Ref CommunityFridgeMapImages
      PolicyDocument:
        Statement:
          -
            Action:
              - s3:*
            Effect: Allow
            Resource:
              - !Sub arn:aws:s3:::${CommunityFridgeMapImages}
              - !Sub arn:aws:s3:::${CommunityFridgeMapImages}/*
            Principal:
              AWS:
                - '*'

Added another Statement field and used !Sub

ImageFunction:
    Type: AWS::Serverless::Function
    Properties:
      CodeUri: functions/image/v1
      Handler: app.lambda_handler
      Runtime: python3.9
      FunctionName: ImageFunction
      Environment:
        Variables:
          Environment: !Ref Environment
      Layers:
        - !Ref CommonLayer
      Policies:
        - Version: '2012-10-17'
          Statement:
          - Effect: Allow
            Action:
            - logs:CreateLogGroup
            - logs:CreateLogStream
            - logs:PutLogEvents
            Resource: arn:aws:logs:*:*:*
          Statement:
          - Effect: Allow
            Action:
            - s3:PutObject
            - s3:GetObject
            Resource:
            - !Sub "arn:aws:s3:::${CommunityFridgeMapImages}/*"
            - !Sub "arn:aws:s3:::${CommunityFridgeMapImages}"
      Events:
        UploadImage:
          Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
          Properties:
            Path: /v1/image
            Method: post

Will want to make bucket policy stricter next month! I'll make a ticket

  ##########################
  ImageFunctionBucketPolicy:
    Type: AWS::S3::BucketPolicy
    Properties:
      Bucket: !Ref CommunityFridgeMapImages
      PolicyDocument:
        Statement:
          -
            Action:
              - s3:*
            Effect: Allow
            Resource:
              - !Sub arn:aws:s3:::${CommunityFridgeMapImages}
              - !Sub arn:aws:s3:::${CommunityFridgeMapImages}/*
            Principal:
              AWS:
                - '*'

Your indentation is off by one inImageFunctionBucketPolicy
make sure sam build --use-container runs when you push


examples: use alpine python image

Alpine based python image is 8x times smaller, so it is reasonable to use it
instead of giant debian/jessie one.
docker.io/python    3.6                 336d482502ab        9 days ago          692 MB
docker.io/python    alpine3.6           78d64a211a65        6 weeks ago         83.8 MB

Thanks!


RPRBLND-1997: Improve Matlib progress + status update

PURPOSE
Improve status update, progress. Handle connection error.
EFFECT OF CHANGE
Added Material Library subpanel Tools with Reload Library button. Improved status. Update sync and download progress. Handle connection error.
TECHNICAL STEPS
Added function update_ui.
Added handle for connection errors.
Added operator HDUSD_MATERIAL_OP_matlib_load.
Added subpanel HDUSD_MATLIB_PT_matlib_tools

@VascoPi ready to merge?

@VascoPi ready to merge?

Need to check one more issue after URL update.

@VascoPi ready to merge?

Yes.


Correction of theme toggle button

Currently the theme toggling button looks like this:

I can make it like this:

This issue is under GSSoC 2024

@khushi-joshi-05 please check this out


GT and LQ datasets have different number of images - 100, 149.

Thank you for sharing this project, Xinntao.
I'm having issues with the:
"GT and LQ datasets have different number of images - 100, 149." Error.
I'm confident that my HR(800 images, 1024x1024) and LR(800 images, 256x256) both have the same number of images, non-cropped. After I convert each one of them to *.LMDB, I get the error.
Not sure how to solve this and would really appreciate your help.
Thank you again,
Ruslan V.

Oh, I figured it out.
The same Error message is being used for both training and validation. So, while I was fixing the training set, my issue was with validation.


Build error

https://github.com/edawson/gfakluge/blob/ba4e7a77f72e5dc47de429782418762fc42e47fe/src/gfakluge.hpp#L420-L424
This code is giving me the following build error:

Code/gfakluge/src/gfakluge.hpp:420:52: error: ‘Date’ does not name a type
ostream& operator<<(ostream& os, const Date& dt)
Code/gfakluge/src/gfakluge.hpp:420:60: error: ‘std::ostream& gfak::GFAKluge::operator<<(std::ostream&, const int&)’ must take exactly one argument
ostream& operator<<(ostream& os, const Date& dt)

Am I doing something wrong?
I'm using gcc version 6.3.0 20170519 (Ubuntu/Linaro 6.3.0-18ubuntu2~16.04)

Nope, it was a copy/paste error on my end. Should now be fixed.

Hey @LukasW94 , is this fixed? I've gone ahead and closed but reopen it if you're still having issues.


Alexa stopped announce after hass 0.103.5

Describe the bug
Announce stopped working after upgraded to hass 0.103.5, it was worked with 0.102.X
To Reproduce
Steps to reproduce the behavior:

Go to Services, and select notify.alexa_media_xxx_s_echo_dot
Given the proper data in YAML.

Expected behavior

Alexa Dot should announce the message, it simply stays calm.

Screenshots
If applicable, add screenshots to help explain your problem.
System details

Home-assistant (version): 0.103.5
Hassio (Yes/No): (Please note you may have to restart hassio 2-3 times to load the latest version of alexapy after an update. This looks like a HA bug). No
alexa_media  (version from const.py or HA startup): 2.4.0
alexapy (version from pip show alexapy or HA startup): 1.4.0

Logs
Please provide logs. We'll be most likely asking for them anyway.
Additional context
Add any other context about the problem here.

First try renaming your pickle file. Second, provide logs from alexapy of the call.

Deleted existing pickle file and restarted and I got the file created again.
Please find the alexapy log below
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Message: test, kwargs: {'target': ['media_player.sriram_s_echo_dot'], 'data': {'type': 'announce'}}
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: media_player.sriram_s_echo_dot against (<Entity Aravind's bluedioAI: standby>, Aravind's bluedioAI, a****************************cf1, media_player.aravind_s_bluedioai)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: media_player.sriram_s_echo_dot against (<Entity Aravind's Fire TV Stick: standby>, Aravind's Fire TV Stick, G************1H2, media_player.aravind_s_fire_tv_stick)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: media_player.sriram_s_echo_dot against (<Entity Sriram's Echo Dot: standby>, Sriram's Echo Dot, G************K5H, media_player.sriram_s_echo_dot)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Converting: media_player.sriram_s_echo_dot to (entities): <Entity Sriram's Echo Dot: standby>
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: media_player.sriram_s_echo_dot against (<Entity This Device: standby>, This Device, 7****************************f63, media_player.this_device_2)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: media_player.sriram_s_echo_dot against (<Entity Aravind's Alexa Apps: standby>, Aravind's Alexa Apps, 3****************************1a8, media_player.aravind_s_alexa_apps_2)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Sriram's Echo Dot: standby> against (<Entity Aravind's bluedioAI: standby>, Aravind's bluedioAI, a****************************cf1, media_player.aravind_s_bluedioai)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Sriram's Echo Dot: standby> against (<Entity Aravind's Fire TV Stick: standby>, Aravind's Fire TV Stick, G************1H2, media_player.aravind_s_fire_tv_stick)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Sriram's Echo Dot: standby> against (<Entity Sriram's Echo Dot: standby>, Sriram's Echo Dot, G************K5H, media_player.sriram_s_echo_dot)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Converting: <Entity Sriram's Echo Dot: standby> to (serialnumbers): XXXXXXXX
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Sriram's Echo Dot: standby> against (<Entity This Device: standby>, This Device, 7****************************f63, media_player.this_device_2)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Sriram's Echo Dot: standby> against (<Entity Aravind's Alexa Apps: standby>, Aravind's Alexa Apps, 3****************************1a8, media_player.aravind_s_alexa_apps_2)
2020-01-01 22:26:37 DEBUG (MainThread) [custom_components.alexa_media.notify] Announce targets: ['G************K5H'] entities: [<Entity Sriram's Echo Dot: standby>]

Please note that is just the alexa_media log. I'll need the alexapy log.

There should be an alexapy.api request when you do the announce. Please remove the cookie info in the POST line and the customerId and deviceSerialNumber  info. I only need the returned number.
2020-01-02 19:27:59 DEBUG (MainThread) [custom_components.alexa_media.notify] Announce targets: ['G************9FJ'] entities: [<Entity Great Room: standby>]
2020-01-02 19:27:59 DEBUG (MainThread) [custom_components.alexa_media.notify] a******e@g*******m: Announce by <Entity Great Room: standby> to targets: ['G************9FJ']: test
2020-01-02 19:28:00 DEBUG (MainThread) [alexapy.alexaapi] Running behavior with data: {"behaviorId": "PREVIEW", "sequenceJson": "{\"@type\": \"com.amazon.alexa.behaviors.model.Sequence\", \"startNode\": {\"@type\": \"com.amazon.alexa.behaviors.model.SerialNode\", \"nodesToExecute\": [{\"@type\": \"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\", \"type\": \"AlexaAnnouncement\", \"operationPayload\": {\"deviceType\": \"A3S5BH2HU6VAYF\", \"deviceSerialNumber\": \"XXX\", \"locale\": \"en-us\", \"customerId\": \"XXX\", \"expireAfter\": \"PT5S\", \"content\": [{\"locale\": \"en-us\", \"display\": {\"title\": \"\", \"body\": \"\"}, \"speak\": {\"type\": \"text\", \"value\": \"test\"}}], \"target\": {\"customerId\": \"XXX\", \"devices\": [ \"deviceSerialNumber\": \"XXX\", \"deviceTypeId\": \"A3S5BH2HU6VAYF\"}]}}}]}}", "status": "ENABLED"}
2020-01-02 19:28:00 DEBUG (MainThread) [alexapy.alexaapi] POST: https://alexa.amazon.com/api/behaviors/preview <SNIP> returned 200:OK:application/octet-stream

Please find the info after removed the Cookie.
2020-01-03 12:59:41 DEBUG (MainThread) [alexapy.alexaapi] Creating sequence for 1 items
2020-01-03 12:59:41 DEBUG (MainThread) [alexapy.alexaapi] Running behavior with data: {"behaviorId": "PREVIEW", "sequenceJson": "{\"@type\": \"com.amazon.alexa.behaviors.model.Sequence\", \"startNode\": {\"@type\": \"com.amazon.alexa.behaviors.model.SerialNode\", \"nodesToExecute\": [{\"@type\": \"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\", \"type\": \"AlexaAnnouncement\", \"operationPayload\": {\"deviceType\": \"A32DOYMUN6DTXA\", \"deviceSerialNumber\": \"XXXX\", \"locale\": \"en-in\", \"customerId\": \"XXXX\", \"expireAfter\": \"PT5S\", \"content\": [{\"locale\": \"en-in\", \"display\": {\"title\": \"Home Assistant\", \"body\": \"test\"}, \"speak\": {\"type\": \"text\", \"value\": \"test\"}}], \"target\": {\"customerId\": \"XXXX\", \"devices\": [{\"deviceSerialNumber\": \"XXXX\", \"deviceTypeId\": \"XXXX\"}]}, \"skillId\": \"amzn1.ask.1p.routines.messaging\"}}]}}", "status": "ENABLED"}
2020-01-03 12:59:41 DEBUG (MainThread) [alexapy.alexaapi] POST: https://alexa.amazon.com/api/behaviors/preview <CIMultiDictProxy('Host': 'alexa.amazon.com', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36', 'Accept': 'text/html,application/xhtml+xml, application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': '*', 'Referer': 'https://alexa.amazon.com/spa/index.html', 'Origin': 'https://alexa.amazon.com', 'csrf': '-1116215187', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '887', 'Content-Type': 'application/json')> returned 200:OK:application/octet-stream

Are you using the right alexa domain for that Echo? (e.g., alexa.amazon.in vs alexa.amazon.com)?  It has to match where it's registered.
Also, can you create a routine that announces to the target Echo and then assuming it works for you get the json for that? Instructions here. I'd like to compare the json with what we're building in the logs.  Again please obfuscate the json data.

Are you using the right alexa domain for that Echo? (e.g., alexa.amazon.in vs alexa.amazon.com)? It has to match where it's registered.

I was using amazon.com and changed to amazon.in and deleted the pickle file, restarted and entered captcha to complete the config. Still same issue, but in the log, still goes through alexa.amazon.com.

Also, can you create a routine that announces to the target Echo and then assuming it works for you get the json for that? Instructions here. I'd like to compare the json with what we're building in the logs. Again please obfuscate the json data.

{
  "@type": "com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
  "type": "AlexaAnnouncement",
  "skillId": "amzn1.ask.1p.routines.messaging",
  "operationPayload": {
    "expireAfter": "PT5S",
    "content": [
      {
        "locale": "en-IN",
        "display": {
          "title": "Alexa Routines",
          "body": "this is a test message"
        },
        "speak": {
          "type": "text",
          "value": "this is a test message"
        }
      }
    ],
    "target": {
      "customerId": "XXXX",
      "devices": [
        {
          "deviceSerialNumber": "XXXX",
          "deviceTypeId": "A32DOYMUN6DTXA"
        }
      ]
    }
  },
  "name": null
}

I was using amazon.com and changed to amazon.in and deleted the pickle file, restarted and entered captcha to complete the config. Still same issue, but in the log, still goes through alexa.amazon.com.

This is odd behavior. Once you select one, it should not change back.  Are you configuring the component via configuration.yaml or by integration? Please try removing and readding using only one method.

I have added a entry in configuration.yaml like below
alexa_media:
  accounts:
    - email: !secret alexa_media_email
      password: !secret alexa_media_password
      url: amazon.in

Then configuring from frontend after restart.

Thank you, for pointing out the issue, I was used both configuration.yaml as well as integrations and haven't changed the integrations with amazon.in. Now, deleted the entry in configuration.yaml and deleted in entities page, reconfigured with amazon.in. Now working good. Thanks for your support.

Glad to hear it was resolved.