Publish CLI binaries for cargo-binstall

Summary
This PR adds a workflow that will run on every new release to generate binaries of the CLI for Windows, Linux, and macOS. It will then upload these binaries to the release, along with a SHA. This also adds new metadata to the dioxus-cli crate so that cargo-binstall can find the published artifacts.
Reason
The goal of this PR is to publish binaries that can be used in downstream partners' GitHub Actions workflows. By using the install-action, which uses cargo-binstall under the hood, developers can quickly install the latest CLI binary.
Here's a shorthand for installing the CLI using that action:
- uses: taiki-e/install-action@dioxus-cli

Caveats
Note that I have not tested the install via cargo-binstall yet as I do not have permissions to publish a new version of the package, though I have tested that it publishes the binaries to the GitHub Release.

this resolves #1331

I found a simpler approach that uses the upload-rust-binary-action, which is from the same dev as the install-action mentioned above. This can handle the build and upload in a single action. I tried to add support for ARM Mac binaries as well but ran into a cross-compilation issue due to git2-rs's dependency on system installations of openssl (see https://github.com/rust-lang/git2-rs/issues/623 for more info). It looks like GitHub is adding support for ARM Mac runners by the end of the year though, so we can add support for those then.

I've also updated the toolchain install step to use a new action as the actions-rs organization and repos appear to be unmaintained since 2020. I've opened another issue #1360 to track replacing the action in the other pipelines.


Using web3-utils instead of web3 instance directly

What it solves
Resolves #235
How this PR fixes it
Now we are using web3-utils for utilities like isAddress, isHexStrict, toChecksumAddress, toWei, fromWei...
instead of using web3 instance directly
we can not remove the hardcoded data rpcUrl by network in useWeb3.ts yet because we still need it for ENS resolution. This will be addressed in a different ticket.
How to test it
Just check that Tx-Builder & Drain-safe works as expected
Screenshots

All good ;)


introduce ent_reg_cost / kl_reg_cost in Sinkhorn to clarify which is returned to the user in SinkhornOutput objects.

Currently, the Sinkhorn algorithm outputs the value reg_ot_cost, which is currently computed as the KL regularized OT problem's objective value.
This can lead to confusion, since Sinkhorn is often described as "entropy regularized". The two are equivalent up to the addition of the entropies of the two marginal distributions a and b. This confusion is illustrated in, e.g. #361, at the end of the definition of the Monge gap, where @theouscidda6  had to correct reg_ot_cost by substracting again these 2 entropies to output the entropy regularized OT objective.
This PR clarifies this by introducing the two closely related ent_reg.. and kl_reg... quantities, knowing that at the moment the "default" reg_ot_cost is kl_reg_cost.
Note: It might be worth deprecating reg_ot_cost because of its ambiguity.

Codecov Report

Merging #376 (0f8f288) into main (05c0afb) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files

@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
+ Coverage   88.49%   88.51%   +0.01%
==========================================
  Files          52       52
  Lines        5651     5659       +8
  Branches      837      573     -264
==========================================
+ Hits         5001     5009       +8
  Misses        530      530
  Partials      120      120

Impacted Files
Coverage Δ

src/ott/solvers/linear/sinkhorn_lr.py
97.74% <ø> (ø)

src/ott/solvers/linear/sinkhorn.py
96.93% <100.00%> (+0.07%)
:arrow_up:

Thanks @marcocuturi , merging this!


Problems installing on MacOS

I installed triton using the instructions on the Triton github page:
https://github.com/jonathansalwan/Triton#linux-and-macos
I test that triton is indeed installed:
$ python
Python 3.11.3 (main, Apr  7 2023, 19:25:52) [Clang 14.0.0 (clang-14<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import triton
>>>

Then I install tritondse:
$ pip install tritondse
Collecting tritondse
  Using cached tritondse-0.1.3-py3-none-any.whl (107 kB)
  Using cached tritondse-0.1.2-py3-none-any.whl (106 kB)
  Using cached tritondse-0.1.1.tar.gz (93 kB)
  Preparing metadata (setup.py) ... done
ERROR: Cannot install tritondse==0.1.1, tritondse==0.1.2 and tritondse==0.1.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    tritondse 0.1.3 depends on triton-library
    tritondse 0.1.2 depends on triton-library
    tritondse 0.1.1 depends on triton-library

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

It seems that it searches for triton-library, which is not installed when installing triton from github.

Hello @JJK96.
Yes if you installed triton manually, when trying to install tritondse it will try fetching it on Pypi as it has no way to know it is already installed.
As triton is not packaged for MacOS on Pypi.
The simplest option is to git clone tritondse, then removing triton-library from the requirements of the setup.py and then doing pip install ..
Let us know if it worked, it should..
(please keep in mind it has not been tested on macOS)

Yeah, I already did that, that works. But maybe it's still good to put this in the docs somewhere

Yes will do.


Multi-Image for see-segment

Changes for the implementation of Multi-Image. With these changes, see-segment can run either with single image or with multi-image. Changes were made on data types to store images, ground truth and masks.

Final changes are made.


Mobile cosmetic issue - STX amount & STX Address overlap on Post conditions section

Mobile cosmetic issue
Chrome
Android
On the transaction details page for a contract creation transaction scroll to the bottom and view the post conditions section.
You will notice the STX amount & STX Address overlap on Post conditions section also we may want to adjust the links at at the bottom on mobile.

This has been resolved


Port to Haxe

Hey, here it is: https://github.com/NekR/css-layout-haxe
It's not based on a latest repo commit though, but rather on a latest commit at a time of forking css-layout here https://github.com/NekR/css-layout (4 commits behind facebook:master at the moment). So some updates should be added, I think.
I tested it with JS and Java and everything works fine, I mean that tests pass.
To test on JS run sh tests.sh, for Java and any other lang it will look like this:
haxelib install hxjava
haxe -cp ./src -main Tests -java ./_tests_output/tests_java
java -jar ./_tests_output/tests_java/Tests.jar

Hope this port will be helpful :)

A bit more info -- it's ported from Java code with little modifications, e.g. layoutContext is removed and measure() uses real functions (Haxe functions) instead of Java-specific way.
So in case of JS, it compiles same type of code -- with constants, enums, etc. and as far as I understand, you need it in a bit different format to test agains Chrome's implementation, so wrapper probably is required here.
In case of other languages, it may generated not best code, because it's compiled from "universal" lang. So some language-specific injections might be required too to make it as good as real Java code, for example.

Okay, it's up-to-date now.
Anyway, not sure about usefulness of this port for you, because it turns out that Haxe adds its runtime to the generated code. So, it's probably always will be slower than pure-lang-code.

Closing this. Feel free to submit a pull request with the port based on the latest master. I'm not sure we want to support it in the main repo due to maintenance costs but i'm open to it if there is a strong Haxe community that would like to use css-layout.


Alignment Wallet Istance Lifecycle to ARF v1.4

Alignment of states and transictions of Wallet Istance Lifecycle according to https://eu-digital-identity-wallet.github.io/eudi-doc-architecture-and-reference-framework/1.4.0/arf/ Section 4.4.3.

Sorry @m-basili It could be a duplicate of https://github.com/italia/eudi-wallet-it-docs/issues/279 ? If yes we can merge into a single issue.


It's an enum, not a bool

"true if documentation comments are parsed, false otherwise" looks like a leftover from some previous version when there was no DocumentationMode enum.

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

ID: e54a9904-6b24-ebe4-bf78-04d85c4dc7c0
Version Independent ID: 2f4c9571-4085-8153-198e-abd4ec120f3a
Content: ParseOptions.DocumentationMode Property (Microsoft.CodeAnalysis)
Content Source: dotnet/xml/Microsoft.CodeAnalysis/ParseOptions.xml
Product: dotnet-roslyn-api
Technology: microsoft.codeanalysis
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@rdeago Thanks for noticing this discrepancy!


upper case slugs don't work

e.g. nor /courses/EPS neither /courses/eps load any resources, where the original slug is EPS
however /courses/DSE and /courses/dse work, where the original slug is dse

I didn't know about uppercase slugs, if you had warned me earlier I would have handled that case too.
Fix incoming

It's not a frontend problem, but it's a backend one.
All slugs should be lowercase, otherwise I can't use the toLowerCase to handle cases where the user wants to manually type the url and maybe capitalize randomly.

To be more precise:
292 should be removed as a feature in case there are slugs with both uppercase and lowercase letters.


Add pointer to list of features from API docs

Fix #1850

Rendered docs locally, and it looks good.

Needed to resolve merge conflict because

#1933

made an edit in the same neighborhood.


Error during Schema Export: Unable to write content to request stream; content would exceed Content-Length

Hello,
I'm experiencing an error that started today. Previously, I had no issues exporting data regardless of the number of fields I selected or wrote. In fact, I have BC2ADLS installed on my sandbox environment, and exporting the same table to my sandbox Fabric workspace worked flawlessly.
However, in my production environment, I'm encountering an error when trying to add any new table with any number of fields. The error occurs only when I attempt to export the schema with new tables or fields. If I leave the existing 25 tables as is, they export without issues. This is only happening when I try to add additional tables, clear the schema export date, and export schema again to get these new tables into my fabric production workspace.
Please assist me in resolving this error.
Error message:
Unable to write content to request stream; content would exceed Content-Length.
Internal session ID:
Application Insights session ID:
Client activity id:
Time stamp on error:
2024-06-08T17:26:51.6161428Z
User telemetry id:
AL call stack:
"ADLSE Http"(CodeUnit 82563).InvokeRestApi - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Http"(CodeUnit 82563).InvokeRestApi line 4 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Gen 2 Util"(CodeUnit 82568).CreateBlockBlob line 34 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Gen 2 Util"(CodeUnit 82568).CreateOrUpdateJsonBlob line 5 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Communication"(CodeUnit 82562).UpdateCdmJsons line 13 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Execute"(CodeUnit 82561).ExportSchema line 34 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Execution"(CodeUnit 82569).SchemaExport line 28 - Azure Data Lake Storage Export by The bc2adls team
"ADLSE Setup"(Page 82560)."SchemaExport - OnAction"(Trigger) line 4 - Azure Data Lake Storage Export by The bc2adls team

Hi Bert, thanks for your response! I am exporting to fabric, and you are right, that's exactly what it was. the version i had on my sandbox environment is newer than the one on my production environment. which is why the one on sandbox worked fine. Thanks for confirming. I will mark this as closed!

Hi Bert, It turns out the version I had in my sandbox environment was also about 2 months older, so i downloaded the latest version today and tried installing it on my sandbox environment. I am running into an error when exporting the tables to fabric, well funnily the error message shows up on the export page on ADLSE, but when i go to fabric i can see the new data has arrived in the lakehouse even though ADLSE is giving the following error message:
"Invalid format of GUID string. The correct format of the GUID string is: CDEF7890-ABCD-0123-1234-567890ABCDEF where 0-9, A-F symbolizes hexadecimal digits."ADLSE Communication"(CodeUnit 82562).GetBaseUrl line 15 - Azure Data Lake Storage Export by The bc2adls team"ADLSE Communication"(CodeUnit 82562).CheckEntity line 26 - Azure Data Lake Storage Export by The bc2adls team"ADLSE Execute"(CodeUnit 82561).TryExportTableData line 12 - Azure Data Lake Storage Export by The bc2adls team"ADLSE Execute"(CodeUnit 82561).OnRun(Trigger) line 48 - Azure Data Lake Storage Export by The bc2adls team"
could you please let me know how to resolve this?

Hi Bert,
I just tried this again but replaced both the  workspace and lakehouse with the GUID instead and now it doesn't show the error message on "Last Error" anymore.
do you know why i wasn't able to run it with the earlier names, they were all lower case. sandbox and sandboxsvroc.
feel free to close this issue if the solution is to use GUID only. just wanted to keep it open if you thought there was a different issue?

Hi @LumosPatronum thanks for letting me know.
There was an issue with the naming of the workspace.
That was resolved with https://github.com/Bertverbeek4PS/bc2adls/pull/136
That should work. But I will test it after techdays is over.


Version 2.0.0

Version 2.0.0 brings several major changes to react-console-emulator. The main changes are summarised below.
Closes #37.

Public-facing changes

Added new system for async output based on the React ref API, which will gradually replace the old manualPushToStdout() API
Added first stage of deprecation to manualPushToStdout() (Emission of deprecation warning on use)
Moved manual pushing documentation to legacy document along with information about the deprecation
Fixed a multitude of bugs related to terminal history scrolling
Overhauled README styling and content
Added the ability to disable input during command processing
Added custom font family support for terminal content and input
Added contentFontFamily, inputFontFamily and disableOnProcess props

Internal changes

Migrated instance tracking from unreliable and low-entropy random string system to refs
Added react^16.3.0 and react-dom^16.3.0 as peerDependencies to ensure support for the React.createRef() API
Moved react and react-dom to devDependencies
Removed obsolete helper functions

Approved.


same ref name in multiple item do not create list in this.$refs when in render function

Vue.js version
2.0.3
Reproduction Link
https://jsfiddle.net/WhiteCusp/gmve9d3p/35/
Steps to reproduce
What is Expected?
this.$refs.a should be a dom node list
What is actually happening?
this.$refs.a is a single dom

This is working as expected, v-ref creates an array with v-for loops. I see how this could be useful for form elements or any other element of different nature that needs the same function to be applied. However, it's something you can already achieve manually by specifying different references to different elements.

but my example abrove do not creates an array,  because is in render function. it working as expected only in  with v-for loop. so how can i achieve that in render function?

add a refInFor attribute
  render(createElement) {
  	return createElement('ul', [
      createElement('li', { ref: 'a', refInFor: true }, 'a'),
      createElement('li', { ref: 'a', refInFor: true  }, 'a'),
      createElement('li', { ref: 'a', refInFor: true  }, 'a'),
      createElement('li', { ref: 'a', refInFor: true  }, 'a')
    ]);
  }

Thanks @defcc , it work well

@defcc Is there a way to do that using the template syntax?


Shapehelper reorg (LRN, Gather*, reshape)

Next installation of revised shape inference

Jenkins Linux s390x Build #8866 [push] Shapehelper reorg (LRN, ... started at 04:56

Jenkins Linux ppc64le Build #7917 [push] Shapehelper reorg (LRN, ... started at 05:00

Jenkins Linux amd64 Build #8850 [push] Shapehelper reorg (LRN, ... started at 03:56

Jenkins Linux amd64 Build #8850 [push] Shapehelper reorg (LRN, ... passed after 1 hr 7 min

Jenkins Linux s390x Build #8866 [push] Shapehelper reorg (LRN, ... passed after 1 hr 30 min

Jenkins Linux ppc64le Build #7917 [push] Shapehelper reorg (LRN, ... passed after 1 hr 42 min


Connection between components disappearing in flow

Connections between components disappear when opening reading the database.json.
To reproduce:

download flowstream version from telegram (it has some additional NPM packages installed).
download the attached database.json. and put it in to the flowstream folder.
run flow stream.

You will see that the database.json will be changed on the moment of running the engine and if you look at the flow, connections will be missing.
If you then run a diff between the database.json you downloaded and the one in the flowstream folder. You will see the the connection keys between components have changed.
database.zip

Fixed https://github.com/totaljs/flowstream/commit/f3f13b9693370ffba331e8be5327fcf7ec81d84b.


Failed install node-sass

Hi community,
I would like install node-sass (with sass-brunch) but i've error after my npm install :
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\str\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.1
npm ERR! npm  v3.3.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.

Do you have any idea how i can resolv my problem ?
node -v : 4.4.1
npm -v : 3.3.10
Thank you !

Please read the contributing.md before opening an issue
On 25 Mar 2016 1:27 AM, "Stéphane"<EMAIL_ADDRESS>wrote:

Hi community,
I would like install node-sass (with sass-brunch) and i've error after my
npm install :
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\str\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.1
npm ERR! npm  v3.3.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/build.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-sass
npm ERR! There is likely additional logging output above.
Do you have any idea how i can resolv my problem ?
Thank you !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/sass/node-sass/issues/1425

same problem...

same here :(


Any way to specify the environment to where I want to push a release?

I know the question sounds absurd, but I am getting two keys for both Staging and Production environments for the same app when running the following:
appcenter codepush deployment list -a <user>/<app> -k
Here the result:

A full description of the problem is described in the issue posted here.
All the new releases are being sent to the (automatically) created environments for both of my apps (iOS and Android), and not to the ones I have configured in the app that is on the stores. And for that reason, the live app is not being updated. The command I am using is the already known by you guys:
appcenter codepush release-react -a <user>/<app> -m -d Production
Since this issue could take a lot to be solved, in the meantime I would like to know if there is any way to specify to which environment I want to publish my release, even when I am not able to see it on my dashboard, at least it could be updated on the stores. Maybe by specifying an ID or something I can trigger from somewhere to force the release to be placed in a specific environment.
Thanks!

Closing this. AppCenter support said they are having some issues with CodePush. A better explanation about how it could be solved is posted here.


refactor to become more inline with standard go practice

Inspiration for this issue came from these youtube videos:

GopherCon 2018: Kat Zien - How Do You Structure Your Go Apps
dotGo 2019 - Kat Zień - Achieving maintainability with hexagonal architecture
go-without-package-scoped-variables

[ ] minimine or remove global state
[ ] minimine or remove use of the init() function and replace with a client invocable bootstrap function
[ ] library code tends to go under a directory named pkg. Therefore, we should rename our lib directory to pkg and leave it as that (remember to update the readme)

You might also need to look at go-build-tmeplatate for more refactoring ideas and also using-domain-driven-design-ddd-in-golang
Also see: go-without-package-scoped-variables

It is not practical to entire remove all package scope varaibles. We can use const variables to minimise the potential of harm in multi-threaded context.


Twitter Integration #209

As a user I want to be able to receive Check-ins over Twitter DMs

@mackers can you expand on what this covers?
Also ideally I think this should cover front and backend in a single issue.


Brisket Version in the Console

As a developer, I want a quick way to check the version of the Brisket serving the application. One option is to allow the application to output the version of Brisket in the console output.

Would there be any advantage to exposing the version as a window variable?
console.log(window.Brisket.version); // v1.0.0

@davydog187 That's an interesting idea. Do we actually want to expose Brisket to window?

we can expose the version without actually exposing the real Brisket. In the Brisket ClientApp:
window.Brisket = {
    version: require("brisket").version
};

It sounds good to me.

Exactly what I had in mind, my thought was that window.Brisket would just expose metadata.

fixed by #114


Video layout needs improvement

The current Videos layout doesn't look very helpful. Would suggest having whatever is considered the main intro video featured at the top and a list of categories or video titles for the rest. Maybe even a numbered list of what to go through first + categories next to it to get to specific topics? At the very least, the video titles should be more noticeable than the video description. @aydrian suggested something like  https://egghead.io/

Videos section was removed with #118.


H.265 feed doesn't work for WebRTC in Safari

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
all versions (to my knowledge) including dev
Browser and Operating System:
iOS
Description of problem:
If I change over my IP cameras to output H.265/HEVC, frigate-hass-card fails to load the WebRTC feed and defaults to only loading the jsmpeg feed. This is despite the frigate web UI itself having no issues loading the WebRTC feed.
Frigate card diagnostic information
{
  "ha_version": "2023.9.2",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
  "date": "2023-09-16T17:11:44.893Z",
  "frigate_version": {
    "5db7149f926abc9b72a9114bd58ba62c": "5.0.0-beta.1/0.13.0-db6ee41"
  },
  "lang": "en",
  "timezone": "America/New_York",
  "git": {
    "build_version": "5.2.0-main+g8e3a7b6",
    "build_date": "Thu, 07 Sep 2023 06:30:48 GMT",
    "commit_date": "Sat, 22 Jul 2023 08:10:42 -0700"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.front",
        "live_provider": "go2rtc",
        "go2rtc": {
          "modes": [
            "webrtc"
          ],
          "stream": "front"
        },
        "id": "front",
        "frigate": {
          "camera_name": "front",
          "url": "<IP_ADDRESS>"
        },
        "triggers": {
          "occupancy": false
        }
      },
      {
        "camera_entity": "camera.back",
        "live_provider": "go2rtc",
        "go2rtc": {
          "modes": [
            "webrtc"
          ],
          "stream": "back"
        },
        "id": "back",
        "frigate": {
          "camera_name": "back",
          "url": "<IP_ADDRESS>"
        },
        "triggers": {
          "occupancy": false
        }
      },
      {
        "camera_entity": "camera.garage",
        "live_provider": "go2rtc",
        "go2rtc": {
          "modes": [
            "webrtc"
          ],
          "stream": "garage"
        },
        "id": "garage",
        "frigate": {
          "camera_name": "garage",
          "url": "<IP_ADDRESS>"
        },
        "triggers": {
          "occupancy": false
        }
      }
    ],
    "live": {
      "draggable": false,
      "lazy_load": true,
      "preload": true,
      "controls": {
        "timeline": {
          "mode": "above",
          "style": "ribbon",
          "media": "all",
          "show_recordings": true
        },
        "thumbnails": {
          "mode": "none"
        },
        "builtin": true
      },
      "transition_effect": "none"
    },
    "view": {
      "dark_mode": "off",
      "default": "live"
    },
    "dimensions": {
      "aspect_ratio_mode": "unconstrained",
      "aspect_ratio": "4:3"
    },
    "performance": {
      "profile": "high"
    },
    "menu": {
      "position": "bottom",
      "buttons": {
        "download": {
          "enabled": false
        },
        "camera_ui": {
          "enabled": false
        },
        "expand": {
          "enabled": false
        },
        "media_player": {
          "enabled": false
        },
        "substreams": {
          "enabled": false
        },
        "microphone": {
          "enabled": true
        },
        "timeline": {
          "enabled": false
        },
        "fullscreen": {
          "enabled": true
        },
        "cameras": {
          "enabled": false
        },
        "frigate": {
          "enabled": true
        }
      },
      "style": "outside"
    },
    "elements": [
      {
        "type": "custom:frigate-card-conditional",
        "conditions": {
          "camera": [
            "garage"
          ],
          "media_loaded": true,
          "view": [
            "live",
            "image"
          ]
        },
        "elements": [
          {
            "type": "custom:frigate-card-ptz",
            "orientation": "horizontal",
            "style": {
              "transform": "none",
              "left": "20px",
              "top": "100px"
            },
            "service": "amcrest.ptz_control",
            "data_left": {
              "entity_id": "camera.garage_amcrest",
              "movement": "left"
            },
            "data_right": {
              "entity_id": "camera.garage_amcrest",
              "movement": "right"
            },
            "data_up": {
              "entity_id": "camera.garage_amcrest",
              "movement": "up"
            },
            "data_down": {
              "entity_id": "camera.garage_amcrest",
              "movement": "down"
            }
          }
        ]
      }
    ],
    "timeline": {
      "style": "ribbon",
      "media": "snapshots",
      "show_recordings": false
    },
    "media_viewer": {
      "auto_play": "all",
      "snapshot_click_plays_clip": false,
      "controls": {
        "thumbnails": {
          "show_download_control": false,
          "show_favorite_control": false,
          "mode": "none",
          "show_details": false,
          "show_timeline_control": false
        },
        "timeline": {
          "show_recordings": true,
          "media": "all",
          "style": "ribbon",
          "mode": "above"
        },
        "next_previous": {
          "style": "chevrons"
        },
        "builtin": true
      },
      "draggable": false,
      "transition_effect": "none"
    },
    "media_gallery": {
      "controls": {
        "thumbnails": {
          "show_download_control": false,
          "show_favorite_control": false,
          "show_timeline_control": false
        },
        "filter": {
          "mode": "none"
        }
      }
    }
  }
}

Additional information:
ive attached 2 videos. in the first video, it can be observed that my front and back cameras are displaying only the jsmpeg feed (obvious by the terrible framerate and the lack of "live broadcast" popup/WebRTC controls not appearing). i left my garage camera as H.264 output to show how it loads immediately into the WebRTC view no problem.
also attached is a 2nd video showing me navigating to the Frigate UI and having the front WebRTC feed load without issue.
https://github.com/dermotduffy/frigate-hass-card/assets/37373320/12410607-63ac-4f0b-8bbc-dddf11ef0024
https://github.com/dermotduffy/frigate-hass-card/assets/37373320/4d5bc335-2a2a-45e6-afa8-ecfa9d6ff1e1

This isn't possible. H265 can't be loaded with WebRTC. Refer to go2rtc's codecs madness:
https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#codecs-madness

It says on that very chart that iOS Safari is capable of h265 with WebRTC?
My second video clearly shows it working. So I’m not sure why it shouldn’t be possible thru the HA companion app/frigate-card.
But please set me straight if I’m wrong.

Oh sorry. I'm so used to Chrome/Android that I didn't even think about Safari.

No worries. That chart is very true to its title in that it is madness especially regarding h265 cross platform availability

H265 for WebRTC disabled by default. Have you read go2rtc readme and enable it?

@AlexxIT yes, i have, you can see the 2nd video I posted that shows it working just fine in the Frigate Web UI thru the actual Safari app.
It is when using frigate-hass-card/Home Assistant companion app that it is not working.

That seems likely, since frigate-hass-card uses pretty much the exact same WebRTC implementation as Frigate itself, minus the 2 way audio stuff. So theres no reason it shouldnt be working, except that the H.265 "experimental" feature option just simply isnt available in WebView, as you said

@dermotduffy im closing this issue since per the discussion above I dont think it has anything to do with the card


Notebook doesn't work

Issue Type: Bug
When I open the notebook, after installing all the dependencies successfuly, it shows the "Kernal" as Python3 and the "Attach To" is "Loading contexts" and it stays on that sate. When I click on "Run", I get this message "The session for this notebook will start momentarily".
Azure Data Studio version: azuredatastudio 1.4.5 (887f4e8985023602e599cf86bdb44df48bb28569, 2019-02-12T06:20:08.633Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8 x 3392)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.76GB (10.31GB free)

Process Argv
C:\Program Files\Azure Data Studio\azuredatastudio.exe

Screen Reader
no

VM
0%

@llali Was this in a packaged build or running from master?

package build 1.4.5

This doesn't repro for me on the latest insiders builds. Closing as fixed.


Code snippets seem to be wrong

https://docs.photonvision.org/en/latest/docs/programming/photonlib/creating-photon-camera.html
This page doesn't seem to contain the right snippets of code for instantiating a new PhotonCamera:

This issue seems to be present in a bunch of the code snippets.

I think there might be a reasonable middle ground where we have the code snippet remote literal includes use a specific commit from the examples. Same change overhead as copy paste, but different ongoing overhead (i.e. the remote literal includes take up less space in the code).

Closed by #168

Despite being at competition and on my phone and unable to actually make a
contribution, I approve of this message
On Thu, Mar 31, 2022, 1:25 PM Declan @.***> wrote:

I think there might be a reasonable middle ground where we have the code
snippet remote literal includes use a specific commit from the examples.
Same change overhead as copy paste, but different ongoing overhead (i.e.
the remote literal includes take up less space in the code).
—
Reply to this email directly, view it on GitHub
https://github.com/PhotonVision/photonvision-docs/issues/166#issuecomment-1084954507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABC7B3SQK5ZIPERY5G2LYVTVCXU2HANCNFSM5QJTIF5Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@github that was most definitely not when I sent this message^^


Folders are not created in ListInstance from provisioning template

I have tested and confirmed that the pnp:Folders element within a pnp:ListInstance does not provision the folders specified. An error is thrown in the PnPProvisioningJobs library:

List does not exist.

The page you selected contains a list that does not exist.  It may have been deleted by another user.

I am not sure what I am doing wrong, but a quick Google search tells me other users have had this problem without a resolution. What is the appropriate syntax for including one or more folders in a document library? Here is a snippet of my code for reference:
<pnp:Folders> 			<pnp:Folder Name="Contracts" /> 			<pnp:Folder Name="Deliverables" /> 			<pnp:Folder Name="WorkingDocuments" /> 			<pnp:Folder Name="StatusReports" /> 		  </pnp:Folders> 		</pnp:ListInstance>
Please advise as to the appropriate method for creating folders. Note my schema is 2016-05. Thanks!

We closed this issue as it had not been any activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related to the recommended location. We do apologize for any inconveniences this might cause. Please do remember that issues on the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”


I am hacking accounts for people

If you want to hack someones ig account dm me on instagram seve.services
I can also help you hack it yourself if you need
If you have any more questions you can dm me on above mentioned instagram im active most of the day

Yes l want to hack it how can l do it
On Sat, Jan 28, 2023, 18:38 svistiik @.***> wrote:

If you want to hack someones ig account dm me on instagram seve.services
I can also help you hack it yourself if you need
If you have any more questions you can dm me on above mentioned instagram
im active most of the day
You can view, comment on, or merge this pull request online at:
https://github.com/Bitwise-01/Instagram-/pull/215
Commit Summary

d2a56bf
https://github.com/Bitwise-01/Instagram-/pull/215/commits/d2a56bf4dd0d41974651c870493199bbdc92f76a
Rename README.md to python3 instagram.py vasya_pupkin_123
'/root/passlist/rockyou.txt' -m-

File Changes
(1 file https://github.com/Bitwise-01/Instagram-/pull/215/files)

R python3 instagram.py vasya_pupkin_123
'/root/passlist/rockyou.txt' -m-
https://github.com/Bitwise-01/Instagram-/pull/215/files#diff-b0fbbcc51208d86fac4b31145fee6719658080f2665143a9d3d414bead1130ce
(0)

Patch Links:

https://github.com/Bitwise-01/Instagram-/pull/215.patch
https://github.com/Bitwise-01/Instagram-/pull/215.diff

—
Reply to this email directly, view it on GitHub
https://github.com/Bitwise-01/Instagram-/pull/215, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZQUVXSHAWZ7WEANX2PKF3WUVDQ3ANCNFSM6AAAAAAUJXJMKM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes l want to hack it how can l do it

Dm us on instagram : seve.services
Or on whatsapp : +421949098916

i will talk to you and do it soon thank you.
28 Oca 2023 Cmt 20:55 tarihinde svistiik @.***> şunu
yazdı:

Yes l want to hack it how can l do it
Dm us on instagram : seve.services
Or on whatsapp : +421949098916
—
Reply to this email directly, view it on GitHub
https://github.com/Bitwise-01/Instagram-/pull/215#issuecomment-1407451166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKFKFMFLYD4CJIMNWMFQ5LWUVMQ3ANCNFSM6AAAAAAUJXJMKM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes I want to hack an account. How can I do ?
Sent from Yahoo Mail on Android
On Sat, Jan 28, 2023 at 22:20, @.***> wrote:
i will talk to you and do it soon thank you.
28 Oca 2023 Cmt 20:55 tarihinde svistiik @.***> şunu
yazdı:

Yes l want to hack it how can l do it
Dm us on instagram : seve.services
Or on whatsapp : +421949098916
—
Reply to this email directly, view it on GitHub
https://github.com/Bitwise-01/Instagram-/pull/215#issuecomment-1407451166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKFKFMFLYD4CJIMNWMFQ5LWUVMQ3ANCNFSM6AAAAAAUJXJMKM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yes I do
29 Oca 2023 Pzr 10:22 tarihinde Hosseinf2012 @.***>
şunu yazdı:

Yes I want to hack an account. How can I do ?
Sent from Yahoo Mail on Android
On Sat, Jan 28, 2023 at 22:20, @.***> wrote:
i will talk to you and do it soon thank you.
28 Oca 2023 Cmt 20:55 tarihinde svistiik @.***> şunu
yazdı:

Yes l want to hack it how can l do it
Dm us on instagram : seve.services
Or on whatsapp : +421949098916
—
Reply to this email directly, view it on GitHub
<
https://github.com/Bitwise-01/Instagram-/pull/215#issuecomment-1407451166
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AXKFKFMFLYD4CJIMNWMFQ5LWUVMQ3ANCNFSM6AAAAAAUJXJMKM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>
—
Reply to this email directly, view it on GitHub
https://github.com/Bitwise-01/Instagram-/pull/215#issuecomment-1407585137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKFKFLLPTUWIMLZHM3ULGTWUYLDHANCNFSM6AAAAAAUJXJMKM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


SequenceMask is slow on GPU for BERT

I observed that SequenceMask and _backward_SequenceMask takes noticeable amount of time when I train BERT model on V100 GPUs. Specifically, I observed that most of ops take ~ 0.1ms per invocation on average, but SequenceMask takes 4ms. It looks like SequenceMask kernel is not parallelized by element, but rather by the batch size:
https://github.com/apache/incubator-mxnet/blob/master/src/operator/sequence_mask-inl.h#L87-L103
Can we make this faster? @sbodenstein
Sample input:
data.shape = (8L, 512L, 768L)
seq_length = [ 18.  35.  34. 100. 110. 194. 512.  10.]
dtype = "float16"

+1
We have also noticed this.
As a work around in some of our code, we have re-written to manually mask thinks out via broadcast_mul with manually constructed masks.
Would be nice for SequenceMask itself to be faster though.

@eric-haibin-lin: that is a great catch, this should definitely be fast enough to throttle BERT.
I won't have time in the next 2 weeks to work on this. So would be happy for someone else to rewrite if this is urgent!

Fix in #14445. Achieved ~80x speedup of both forward and backward on mentioned workload on GPU.

Awesome job!


Support for interactive ephemeral messages

For https://github.com/mattermost/mattermost-webapp/pull/2351

Please note, that ephemeral messages due not support updating themself via the update response parameter. Only posting another ephemeral message via ephemeral_text is possible.
cc @levb as we talked about this.

ephemeral messages due not support updating themself via the update response parameter.
Correct. The semantics of processing the response were/are that if Update is set, it is used to call p.API.UpdatePost, with some special logic on top of it to protect certain metadata; if EphemeralText is set, a new simple ephemeral message was created, with the text. https://github.com/mattermost/mattermost-server/blob/abfe0a38d33825f6311b9a7ddc499d76f2e62e08/model/integration_action.go#L98

Only posting another ephemeral message via ephemeral_text is possible.
With regards to what's possible with the use of the response struct, that is correct. To update an ephemeral message one can use a new, experimental UpdateEphemeralMessage API. This is what the Giphy plugin does. The rationale was that since ephemeral messages carry little state, updating them is tricky business, and should be left to finer tools (APIs and custom code in the plugin), at least for the time being.

@levb Is the UpdateEphemeralMessage API documented at mattermost/mattermost-api-reference?
@levb @hanzei I started a draft of an FAQ for buttons/menus in ephemeral messages. Let me know if I should add other relevant information.

@jasonblais https://developers.mattermost.com/extend/plugins/server/reference/ it's in the plugin API, we do not have HTTP APIs for these (experimental). I am not sure if we need these APIs, can see it either way. If you or @hanzei think we do, please file a separate ticket.

@levb Confirming that interactive ephemeral messages are only supported for plugins?
Then, I feel this doesn't really meet the use case since >90% of integrations today are not plugins.
That's okay, as it's still an improvement, but I'll update the doc and changelog entries accordingly.

Or did you mean the ability to update ephemeral message itself is only for plugins, but interactive ephemeral messages work for all integration types?

Or did you mean the ability to update ephemeral message itself is only for plugins, but interactive ephemeral messages work for all integration types?

Correct. CreateEphemeralPost http API accepts an entire model.Post struct with little filtering, so it should totally work for creating interactive messages, with a slack attachment property set. I did not test this. However, we did not expose the Update/DeleteEphemeralPost method due to a still unresolved discussion as to whether we should use separate APIs for ephemeral vs regular, or rework the main Create/Update/DeletePost to better support the ephemeral use case. Ditto for CommandResponse.
I did not test this capability with integrations, only with a plugin.

Okay, sounds like that is fine. Also updated the FAQ accordingly.


Implement Pac-Dots/Power-Pellets controller

What should be stored in the server? Locations (coordinate), eaten (true/false)?
We'll need an admin command for enable-all dots to reset the game.

I'll work on this after the controllers and repositories are tested more thoroughly.

I think it makes sense if the server stores locations of dots/pills, and the client can fetch all locations or set a dot/pill to "eaten" (which, in the case of the power pill, would change the game state to the mode where Pacman can eat ghosts).

Sounds great. Should pacdots be identified through their coordinate location or through an arbitrary ID?

I think just returning coordinate location should be fine. We're thinking of helping to add some game logic onto the server side to remove dots/pills when a character gets into close proximity of a dot/pill, and removing it. The client can simply request a list of all dots/pills in the game, and will only receive the ones that haven't been eaten.

It should be easy client-side to check proximity of dots, since only the Pacman can eat any of the dots. I can provide an endpoint to PUT or DELETE a dot when it's consumed.
Sure, we can have one GET request be for all dots and another GET request be for all "active" dots,

Putting checks like this on the client side just duplicates code. We can have it in one place (on the server), or on both the iOS and Android side separately. Having it on the server makes it easier to test, change and maintain, since we can change it and the clients won't know a thing.

Fair enough, I'll add a trigger to the Pacman's PUT /location endpoint to eat nearby dots.
Since I need to set the dots before the game, I'll need a list of preset dot coordinates.

Could we generalize that check to look for all location-based events? For example:

Pacman eating dots
Pacman eating a powerpill
Pacman eating a ghost (if powerpill is enabled)
Ghost eating Pacman

I don't think we've confirmed if distance is the best way to check if a ghost has eaten Pacman ( or vice versa), but if we have the option to add it in here easily later, that would be preferred I think.

For 1 + 2, definitely - a powerpill will be a type of dot (likely signified by a boolean flag).
For 3 + 4, we briefly discussed whether it would be better to have players confirm on the app that the tagging has happened, because this would solve disconnects and lag issues. Thoughts? @CtrlShiftGo

Having a check on whether the players are close to each other when the eating event occurs would be a good idea. I still think some degree of user action should be necessary when one player eats another. There's too much inaccuracy in the GPS location for our tagging to be solely based, and if it were based on proximity it removes some of the actual tagging that goes on.
That being said, I think a player should only be able to eat another when they're within some distance of the others if that's not too much trouble.

Confirmation that a tag has happened sounds like the best way to go forward, as like you guys mentioned the inaccuracy is an issue - if Pacman and a ghost are on opposite sides of a street it would probably be difficult to check that.
Adding a proximity check to allow for the player to send confirmation makes sense, - the other option is to have both clients involved in the tag affirm.

The way I see it, if the players have to physically tag, then they have to have at least one person confirm through the phone. From there, it's not a big change to have both players confirming on their phones - which no longer requires proximity checking.

Request
Method
GET
Mapping
/pacdots
Response
Codes

HTTP Status Code
Meanings

200 OK
Retrieved all Pacdots succesfully

500 Internal Server Error
An error occurred which could not be resolved

JSON body
[
	{
		"location" : {
			"latitude" : 999.999,
			"longitude" : 888.888
		},
		"eaten" : true,
		"powerdot" : false
	},
	{
		"location" : {
			"latitude" : 999.999,
			"longitude" : 888.888
		},
		"eaten" : false,
		"powerdot" : true
	}
]

Example cURL call

Controller added in this merge. I have added the documentation to the wiki.
@pacmacro/android @pacmacro/ios
You can now use this controller to retrieve the Pacdot locations; they are currently hardcoded so we'll need to choose coordinates for them in the future.
Only sanity tests have been written; issue #47 has been raised to address more comprehensive testing.


fix(FX-3287): Display full text in the button on android

The type of this PR is: Fix

This PR resolves FX-3287
Demo

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Display full text in the button on android - dimatretyak

Dev changes

This PR contains the following changes:

Android user-facing changes (Display full text in the button on android - dimatretyak)

  Generated by :no_entry_sign: dangerJS against 15e269f442504acb2accfd9aa2e226d2aa715ea5


[DT-137] Replaced PHPStan with SprykerSdk package

Overview

Ticket: https://spryker.atlassian.net/browse/DT-137

Optional
Nonsplit PR: https://github.com/spryker/suite-nonsplit/pull/1339

I dont think packages/tools need the Spryker SDK package, they can use the native one IMO.


make documents on the top of readme

documents are not obvious, so I make this on the top of readme

 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.


Implement Generic traits from signature/ed25519 crates and bump to Rust 2021

This PR adds From/TryFrom conversions from/to the ed25519 Signature type and impls to the Verifier/Signer trait from the signature crate.
An implementation of the signature::Signature was not made deliberately, as that prescribes that the signature is stored as a raw byte format in memory, although IMO that is debatable.
This fixes #23.

Thanks for this, I will merge as-is and we can iterate if necessary.


Bump to latest versions (fixes some misc. icon issues)

@all-contributors please add @swederik for code contributions


State does not change back to initial with 3-way omnidirectional state machine

local m = statemachine.create{
    initial = "idle",
    events = {
        {name = "one", from = {"idle", "two"}, to = "one"},
        {name = "two", from = {"one", "idle"}, to = "two"},
        {name = "idle", from = {"one, two"}, to = "idle"},
    }
}
print("idle", m.current)
m:one()
print("one", m.current)
m:idle()
print("idle", m.current)

produces output:
idle    idle
one     one
idle    one

What's going on here? I've tried changing the event names to be different to the states they transition to, but I'm still having this problem.

Using a wildcard works.

In the idle event, you're missing a set of quotation marks that would be separating the two from events. "one, two" should be "one", "two". Fixing that produces the correct output for me.


Strange behaviour

Hello I have a very strange issue.
I have 2 files where i'm declaring a new router
1
import Router from 'koa-router';

const router = new Router({
    prefix: '/test',
});

router.get('/', someFunction);

2
import Router from 'koa-router';

const router = new Router({
    prefix: '/filters/test',
});

router.get('/', someOtherFunction);

And now when i'm trying to access '/filters/test' url, someFunction is called instead of someOtherFunction.
If i change one of the routes prefix, everything is ok, but still interesting if is possible to fix this issue, thanks .

Sorry, duplicate


emissary - sidecars which ignore TERM signal hangs forever

Summary
What happened/what you expected to happen?
I ran this workflow:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: sidecar-
spec:
  serviceAccountName: pipeline-runner
  entrypoint: sidecar-example
  templates:
  - name: sidecar-example
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["
        apk update &&
        apk add curl &&
        until curl -XPOST 'http://<IP_ADDRESS>:5678'; do sleep .5; done &&
        for i in $(seq 1 20);
          do curl -XPOST 'http://<IP_ADDRESS>:5678';
          sleep .5 ;
        done
      "]
    sidecars:
    - name: http-echo
      image: hashicorp/http-echo
      command: ['/http-echo']
      args: ['-text="hello world"']

(translated from KFP sample: https://github.com/kubeflow/pipelines/blob/master/samples/core/sidecar/sidecar.py)
It is stuck forever waiting for http-echo sidecar to exit.
Diagnostics
👀 Yes! We need all of your diagnostics, please make sure you add it all, otherwise we'll go around in circles asking you for it:
What Kubernetes provider are you using?
GKE
What version of Argo Workflows are you running?
v3.1.2
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
Emissary
Did this work in a previous version? I.e. is it a regression?
This works in Docker executor.
sidecar container logs
$ kubectl logs sidecar-7q4hr http-echo
time="2021-07-22T02:57:30.390Z" level=info msg="before running user command" argo=true
time="2021-07-22T02:57:30.390Z" level=info msg="capturing logs" argo=true
time="2021-07-22T02:57:30.391Z" level=info msg="waiting for user command" argo=true
2021/07/22 02:57:30 Server is listening on :5678
2021/07/22 02:57:30 <IP_ADDRESS>:5678 <IP_ADDRESS>:41942 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 32.823µs
2021/07/22 02:57:30 <IP_ADDRESS>:5678 <IP_ADDRESS>:41944 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 17.89µs
2021/07/22 02:57:31 <IP_ADDRESS>:5678 <IP_ADDRESS>:41958 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 12.054µs
2021/07/22 02:57:31 <IP_ADDRESS>:5678 <IP_ADDRESS>:41968 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 24.569µs
2021/07/22 02:57:32 <IP_ADDRESS>:5678 <IP_ADDRESS>:41974 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 25.164µs
2021/07/22 02:57:32 <IP_ADDRESS>:5678 <IP_ADDRESS>:41978 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.654µs
2021/07/22 02:57:33 <IP_ADDRESS>:5678 <IP_ADDRESS>:41982 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 14.464µs
2021/07/22 02:57:33 <IP_ADDRESS>:5678 <IP_ADDRESS>:41988 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.877µs
2021/07/22 02:57:34 <IP_ADDRESS>:5678 <IP_ADDRESS>:41990 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 10.353µs
2021/07/22 02:57:34 <IP_ADDRESS>:5678 <IP_ADDRESS>:41996 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 9.378µs
2021/07/22 02:57:35 <IP_ADDRESS>:5678 <IP_ADDRESS>:42002 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.828µs
2021/07/22 02:57:35 <IP_ADDRESS>:5678 <IP_ADDRESS>:42006 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.521µs
2021/07/22 02:57:36 <IP_ADDRESS>:5678 <IP_ADDRESS>:42016 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 9.922µs
2021/07/22 02:57:36 <IP_ADDRESS>:5678 <IP_ADDRESS>:42022 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 11.618µs
2021/07/22 02:57:37 <IP_ADDRESS>:5678 <IP_ADDRESS>:42024 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.867µs
2021/07/22 02:57:37 <IP_ADDRESS>:5678 <IP_ADDRESS>:42028 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.476µs
2021/07/22 02:57:38 <IP_ADDRESS>:5678 <IP_ADDRESS>:42030 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 9.095µs
2021/07/22 02:57:38 <IP_ADDRESS>:5678 <IP_ADDRESS>:42040 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 29.38µs
2021/07/22 02:57:39 <IP_ADDRESS>:5678 <IP_ADDRESS>:42042 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 8.724µs
2021/07/22 02:57:39 <IP_ADDRESS>:5678 <IP_ADDRESS>:42046 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 21.662µs
2021/07/22 02:57:40 <IP_ADDRESS>:5678 <IP_ADDRESS>:42048 "POST / HTTP/1.1" 200 14 "curl/7.77.0" 11.537µs
2021/07/22 02:57:42 [ERR] Unknown signal terminated
2021/07/22 02:57:42 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:57:54 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:57:56 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:58:14 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:58:22 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:58:52 [ERR] Unknown signal urgent I/O condition
2021/07/22 02:59:24 [ERR] Unknown signal urgent I/O condition

wait container logs
$ kubectl logs sidecar-7q4hr wait
time="2021-07-22T02:57:25.767Z" level=info msg="Starting Workflow Executor" executorType=emissary version=v3.1.2-patch.0
time="2021-07-22T02:57:25.771Z" level=info msg="Executor initialized" includeScriptOutput=false namespace=kubeflow podName=sidecar-7q4hr template="{\"name\":\"sidecar-example\",\"inputs\":{},\"outputs\":{},\"metadata\":{},\"container\":{\"name\":\"\",\"image\":\"alpine:latest\",\"command\":[\"sh\",\"-c\"],\"args\":[\" apk update \\u0026\\u0026 apk add curl \\u0026\\u0026 until curl -XPOST 'http://<IP_ADDRESS>:5678'; do sleep .5; done \\u0026\\u0026 for i in $(seq 1 20); do curl -XPOST 'http://<IP_ADDRESS>:5678'; sleep .5 ; done \"],\"resources\":{}},\"sidecars\":[{\"name\":\"http-echo\",\"image\":\"hashicorp/http-echo\",\"command\":[\"/http-echo\"],\"args\":[\"-text=\\\"hello world\\\"\"],\"resources\":{}}],\"archiveLocation\":{\"archiveLogs\":true,\"s3\":{\"endpoint\":\"minio-service.kubeflow:9000\",\"bucket\":\"mlpipeline\",\"insecure\":true,\"accessKeySecret\":{\"name\":\"mlpipeline-minio-artifact\",\"key\":\"accesskey\"},\"secretKeySecret\":{\"name\":\"mlpipeline-minio-artifact\",\"key\":\"secretkey\"},\"key\":\"artifacts/sidecar-7q4hr/2021/07/22/sidecar-7q4hr\"}}}" version="&Version{Version:v3.1.2-patch.0,BuildDate:2021-07-20T09:21:21Z,GitCommit:c8f0fb0daa3788e33f8b8cf8bdcfcb57539560a7,GitTag:v3.1.2-patch.0,GitTreeState:clean,GoVersion:go1.15.7,Compiler:gc,Platform:linux/amd64,}"
time="2021-07-22T02:57:25.771Z" level=info msg="Starting annotations monitor"
time="2021-07-22T02:57:25.772Z" level=info msg="Starting deadline monitor"
time="2021-07-22T02:57:41.775Z" level=info msg="Main container completed"
time="2021-07-22T02:57:41.775Z" level=info msg="No Script output reference in workflow. Capturing script output ignored"
time="2021-07-22T02:57:41.775Z" level=info msg="Saving logs"
time="2021-07-22T02:57:41.775Z" level=info msg="S3 Save path: /tmp/argo/outputs/logs/main.log, key: artifacts/sidecar-7q4hr/2021/07/22/sidecar-7q4hr/main.log"
time="2021-07-22T02:57:41.776Z" level=info msg="Creating minio client minio-service.kubeflow:9000 using static credentials"
time="2021-07-22T02:57:41.776Z" level=info msg="Saving from /tmp/argo/outputs/logs/main.log to s3 (endpoint: minio-service.kubeflow:9000, bucket: mlpipeline, key: artifacts/sidecar-7q4hr/2021/07/22/sidecar-7q4hr/main.log)"
time="2021-07-22T02:57:41.820Z" level=info msg="not deleting local artifact" localArtPath=/tmp/argo/outputs/logs/main.log
time="2021-07-22T02:57:41.820Z" level=info msg="Successfully saved file: /tmp/argo/outputs/logs/main.log"
time="2021-07-22T02:57:41.820Z" level=info msg="No output parameters"
time="2021-07-22T02:57:41.820Z" level=info msg="No output artifacts"
time="2021-07-22T02:57:41.820Z" level=info msg="Annotating pod with output"
time="2021-07-22T02:57:41.847Z" level=info msg="Patch pods 200"
time="2021-07-22T02:57:41.856Z" level=info msg="Killing sidecars [\"http-echo\"]"
time="2021-07-22T02:57:41.862Z" level=info msg="Get pods 200"
time="2021-07-22T02:57:45.772Z" level=info msg="/argo/podmetadata/annotations updated"
time="2021-07-22T02:58:11.868Z" level=error msg="executor error: context deadline exceeded"
time="2021-07-22T02:58:11.868Z" level=info msg="Alloc=5993 TotalAlloc=11461 Sys=74065 NumGC=4 Goroutines=11"

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

With some debugging, I confirmed that the hashicorp/http-echo container is problematic, it doesn't respond to terminate signal. However, it can still be killed with KILL signal.

Hmm, after reading code, I think argo is already doing what I expected:
https://github.com/argoproj/argo-workflows/blob/4fd38facbfb66b06ab0205b04f6e1f1e9943eb6a/workflow/executor/executor.go#L103-L104
Could this be sth wrong with emissary executor?

Some ideas:

hashicorp/http-echo does not run as PID 1 and so killing PID 1 does not work.
This is an example of dumb-init - i.e. hashicorp/http-echo does not correctly respond to kill -9 1 because in uses shell.


Set a default contentInset not working

Hi!
In my view controller, I was making my navigation bar completely transparent and forcing the contentInset to zero so the content (an image) appeared behind the navigation bar.
After assigning the shy scroll view, I've lost this behavior: the content starts just below the navigation bar, but not behind it.
Is there a way of presetting an initial value for contentInset / scrollIndicatorInsets?
Kind regards,
Guillermo

+1

+1 I am trying to do the opposite. I have set the content offset to be larger while creating a custom stretchy image atop my tableview similar to a Spotify app page. I have lost this behavior. The image still stretches but its default height is always the height of a navigation bar.

I just realized that the content inset works fine on a UITableView if you set hasCustomRefreshControl to true.


VTMB

Using Basic Game, adds support for VTMB.
Currently, globally saved games end up in overwrite.
Supports Local Save Games.

Remaining linter problems are from other plugins so merging this in now.  Thanks @JayLCypher!


Fix FindGzOgre2 on Windows

Fix https://github.com/conda-forge/gz-rendering-feedstock/issues/13 by backporting https://github.com/gazebosim/gz-cmake/pull/357 .
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


only face detection scenes can be identified, and other scenes cannot

Plugin Version or Commit ID
v0.9.1
Unity Version
20220520
Your Host OS
windows10
Target Platform
Android
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
No response
Command Sequences
python build.py build --desktop cpu -vv
Log
I have another problem. I successfully built it in liunx, and then built APK in unity. However, only face detection scenes can be identified, and other scenes cannot
Additional Context
No response

Sorry, I don't get what you mean by "identified".
Can you share the screenshot or Video?


Change the IDE controller to SATA

Swap out the IDE controller for SATA.

:+1:
just with --portcount 2 (by default it's 30-something and will waste a few seconds on boot)

New box is using all SATA.


Fixed crash in AFURLRequestSerialization if stringByAddingPercentEncodingWithAllowedCharacters: returned a nil string

fixed crash when  encoded = nil,  My App have this Crash sometimes, but i don't know how to it appearance.

Current coverage is 76.21%

Merging #3363 into master will increase coverage by +1.83% as of 0ace783

@@            master   #3363   diff @@
======================================
  Files            5       5
  Stmts         3002    2489   -513
  Branches         0       0
  Methods
======================================
- Hit           2233    1897   -336
  Partial          0       0
+ Missed         769     592   -177

Review entire Coverage Diff as of 0ace783

Powered by Codecov. Updated on successful CI builds.

Thanks for reporting this. Is there anyway to get information around you reproduced the crash?

Also, could you please backmerge/rebase with master so we can get tests passing again on this branch before merging in?
Thanks!

hi , beacuse i use github to fixed crash is first ,so i don't know how to do it and why has this warning:
Some checks haven’t completed yet
1 pending check
Details continuous-integration/travis-ci/pr — The Travis CI build is in progress
This branch has no conflicts with the base branch
Only those with write access to this repository can merge pull requests.

@liujianan901228 with no other reports of this crash, and no way to reproduce this crash, I'm going to leave this open as is for the time being.
Can you please:

[ ] Define a reproducible case
[ ] Create a test around the failure
[ ] Decide what the fallback behavior should be (i.e. should we just append the substring directly?)

I think you've added this since so it can be closed, yes?


brew cask not finding installed apps

I have a few applications installed with brew cask install but a  brew cask list returns Warning: nothing to list.
Nevertheless, I can see all my apps installed when I:
ls /opt/homebrew-cask/Caskroom/
basictex        java            rstudio-preview     tex-live-utility
cyberduck       macdown         slack           transmission
firefox         qt-creator      sourcetree

Any ideas of how I can fix this?

The default Caskroom path recently changed to /usr/local/Caskroom (#21857). You can either mv /opt/homebrew-cask/Caskroom /usr/local or, as a transitional measure, add --caskroom=/opt/homebrew-cask/Caskroom to your HOMEBREW_CASK_OPTS.

Would it be acceptable to put that @jawshooah comment in the warning provided by cask ? As it stands "migration" doesn't make it clear that a simple mv can do the trick... Thanks !

Thanks to @jawshooah and @tiennou - I just resolved all issues using this method.

@tiennou The reason I didn't include the mv method in the warning printed by cask is that many users likely still have casks that were linked rather than moved prior to #13966, so just moving the Caskroom would leave a bunch of broken symlinks.
Unfortunately the only silver bullet that works regardless of where and how your casks were originally installed is to brew cask install --force.

Oh ok, effectively if it's broken afterward 😉 . I just find the current warning not so helpful because it just says there's something wrong, without making it clear how to (cleanly) fix, and, as you point out, what are the shortcomings of each solution (e.g. mv breaks symlinks and --caskroom is "slated" for removal). Putting a link to some meta-issue (like this one) that describe what is the correct fix would be nicer, instead of scavenging for 10 minutes for additional context.

Fair enough. Mind submitting a PR with the suggested changes so we can discuss further? I've got my hands full at work at the moment.

@tiennou See https://github.com/caskroom/homebrew-cask/pull/21915. Please comment there (or feel free to submit a PR you find answers this better).

You can do ln -s /usr/local/Caskroom /opt/homebrew-cask/Caskroom to restore any symlinks, such as those in ~/Applications.


Add --main flag to verify

[x] Tests added for any new code
[x] Documentation added for any new functionality
[ ] ~Entries added to the respective CHANGELOG.md for any new functionality~
[ ] ~Feature table on README.md updated for any listed functionality~

Closes #925

I think this will require a bit of refactoring once the fresh PRs by @bugarela are merged

Just to note: this is blocked on unifying import/export behavior #949

The prisoners example only works either in the simulator or with verify until https://github.com/informalsystems/quint/discussions/949 is resolved, so I've dropped it as an integration test for now. In any case, it's checked as part of the examples dashboard.


GPS does not always work in the field...

The GPS does not always provide a location, and i was having some issues with exceptions..
I adjusted the script slightly so -9999 is the default and new values write on top (i will link my commit to this issue), but i am not sure that gps.next() is the best way to make sure a position is returned...
i know this is an old S.O. thread, but i wonder if it hints at a way to deal with it... https://stackoverflow.com/questions/6146131/python-gps-module-reading-latest-gps-data

Ill give this a look when I get the camera back

we are switching the GPS to https://www.adafruit.com/product/2324,
which has a tutorial here: https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi/

GPS working reliably now with gpsd package. Tested with and without fix


Fix for TN-648

MUSIC reported they couldn't alter email via /api/demographics.
Confusion surrounds the two places where this appears - in identifiers and in telecom.
Now documented (in swagger) and reports usage error if such change is attempted in identifiers.
telecom has always worked - added test to prove it.

Hello @pbugni! Thanks for submitting the PR.

In the file tests/test_demographics.py, following are the PEP8 issues :

Line 180:16: E124 closing bracket does not match visual indentation
Line 197:16: E124 closing bracket does not match visual indentation


Fix for PostgreSQL

The column needs to be a double quote for PostgreSQL.
You don't need to use raw, Laravel Query Builder will escape it.

Fixed by https://github.com/kolossal-io/laravel-multiplex/commit/e79c57e23a1acddf61c905ebac04e424b65d34f9


Add Makefile

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.31%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
1921

Relevant Lines:
2897

💛  - Coveralls


Panic on negative value in listsinceblock

[1661944671][revaultd::sigfetcher][DEBUG] Polling signatures took 0 seconds.
[1661944672][revaultd][ERROR] panic occurred at line 1176 of file src/bitcoind/interface.rs: Some("Could not convert 'listsinceblock' entry's 'amount' to an Amount: Negative")
   0: revaultd::setup_panic_hook::{{closure}}
             at src/revaultd/src/lib.rs:50:18
   1: std::panicking::rust_panic_with_hook
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:702:17
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:588:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/sys_common/backtrace.rs:138:18
   4: rust_begin_unwind
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:584:5
   5: core::panicking::panic_fmt
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/panicking.rs:142:14
   6: core::result::unwrap_failed
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/result.rs:1785:5
   7: core::result::Result<T,E>::expect
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/result.rs:1035:23
   8: <revaultd::bitcoind::interface::ListSinceBlockTransaction as core::convert::From<&serde_json::value::Value>>::from
             at src/revaultd/src/bitcoind/interface.rs:1175:21
   9: revaultd::bitcoind::interface::BitcoinD::list_since_block::{{closure}}
             at src/revaultd/src/bitcoind/interface.rs:567:25
  10: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/ops/function.rs:290:13
  11: <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::find_map
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/slice/iter/macros.rs:276:38
  12: <core::iter::adapters::filter_map::FilterMap<I,F> as core::iter::traits::iterator::Iterator>::next
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/iter/adapters/filter_map.rs:61:9
  13: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/alloc/src/vec/spec_from_iter_nested.rs:26:32
  14: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/alloc/src/vec/spec_from_iter.rs:33:9
  15: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/alloc/src/vec/mod.rs:2612:9
  16: core::iter::traits::iterator::Iterator::collect
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/iter/traits/iterator.rs:1788:9
  17: revaultd::bitcoind::interface::BitcoinD::list_since_block
             at src/revaultd/src/bitcoind/interface.rs:560:12
  18: revaultd::bitcoind::interface::BitcoinD::list_deposits_since_block
             at src/revaultd/src/bitcoind/interface.rs:581:9
  19: revaultd::bitcoind::interface::BitcoinD::sync_deposits
             at src/revaultd/src/bitcoind/interface.rs:635:21
  20: revaultd::bitcoind::poller::update_utxos
             at src/revaultd/src/bitcoind/poller.rs:1554:9
  21: revaultd::bitcoind::poller::poller_main
             at src/revaultd/src/bitcoind/poller.rs:1938:25
  22: revaultd::bitcoind::bitcoind_main_loop::{{closure}}
             at src/revaultd/src/bitcoind/mod.rs:211:17
  23: std::sys_common::backtrace::__rust_begin_short_backtrace
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/sys_common/backtrace.rs:122:18
  24: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/thread/mod.rs:501:17
  25: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/panic/unwind_safe.rs:271:9
  26: std::panicking::try::do_call
             at /rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:492:40

Repro on aquarium:

Start stk0d
Run for i in `seq 30`; do bcli sendtoaddress `stk0cli getdepositaddress |jq -r .result.address` 1 && bcli generatetoaddress 1 `stk0cli getdepositaddress |jq -r .result.address`; done
Observe the crash

Alright, it's because of generating block to a deposit address.
https://github.com/revault/revaultd/blob/7cd856d5a345319cebc815aa61f3b66cebb48b86/src/bitcoind/interface.rs#L1161
https://github.com/revault/revaultd/blob/7cd856d5a345319cebc815aa61f3b66cebb48b86/src/bitcoind/interface.rs#L1183-L1189
This above does not take into account the "immature" category.


Enhancement of query context and object.

This PR is a subset of the change made in https://github.com/apache/incubator-superset/pull/6667.   The original PR will be divided into several pieces and send either in this repo or superset-ui repo.
In this PR, api/v1/query now can be used with a chart plugin which has QueryBuilder implemented.
@xtinec

Codecov Report

Merging #6962 into master will decrease coverage by 0.42%.
The diff coverage is 22.28%.

@@            Coverage Diff             @@
##           master    #6962      +/-   ##
==========================================
- Coverage   64.76%   64.34%   -0.43%
==========================================
  Files         421      421
  Lines       20386    20551     +165
  Branches     2249     2249
==========================================
+ Hits        13204    13224      +20
- Misses       7049     7194     +145
  Partials      133      133

Impacted Files
Coverage Δ

superset/common/query_context.py
22.69% <18.04%> (-67.31%)
:arrow_down:

superset/common/query_object.py
26.31% <18.51%> (-68.93%)
:arrow_down:

superset/views/api.py
66.66% <50%> (-22.81%)
:arrow_down:

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 41041f2...833bb7b. Read the comment docs.


Update the filters to match the description

According to the description the filters on duration should be set to 10000000 microseconds.
Type of Change

[x] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Update template definition to match description

oh wow, great catch! thanks so much 💯

Thanks much! Test failure is due to appveyor, not PR 😩


Painter graphic display error

Expected Behavior
The white space around maincanvas in paintframe should be absolutely white.
Actual Behavior
Some grey random image shows in that area and it may change when switch the app from background to foreground or click buttons on the right or color palette on the bottom.

Steps to Reproduce

force quite the app if running
create a new project
click the paint button of the kitten
send the app the background and bring it to foreground
click buttons or doing other things may change the random images

Device and Operating System
Fire HD 8 (2017) FireOS <IP_ADDRESS> Android 5.1
User Agent
Mozilla/5.0 (Linux; Android 5.1.1; KFDOWI Build/LVY48F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.91 Safari/537.36

This issue might be related to other wired display issues like #443, #444, #445, #446, #447, #448 as well as #337.
I think it is not a simple issue. Some possible reasons:

Memory leaks: we are using dual pages in our app, but the memory may not be cleaned up when the url changes. You can see the memory usage keeping increased when switch pages via the Profiler provided by Android Studio. To solve this, we can use the Fragment wrapping a WebView and create a new one after page changes and destroy the old one. To speed up, we can create a new Fragment after on the page load finished and bring it to live when navigating to different locations.

GPU rendering issue: we are using a lot of SVGs both as image and background and that may make the hierarchy of view too many levels which causes the GPU rendering a lot. If we enable the profiler, we can inspect the output. To solve this, we can

transform SVG icons to font or PNG to reduce computing
rewrite the stage with canvas.
reduce overdraw (From https://developer.android.com/topic/performance/rendering/overdraw):

Removing unneeded backgrounds in layouts.
Flattening the view hierarchy.
Reducing transparency.

On some blogs, they said that it's the hardware acceleration https://developer.android.com/guide/topics/graphics/hardware-accel that causes this errors. I tried to disable the hardware acceleration by android:hardwareAccelerated="false" in the AndroidManifest.xml, this error disappers, but the loading animation when opening projects lost, just like the issue https://github.com/LLK/scratchjr/issues/390. Maybe an easy approach to this is turning on/off the hardware acceleration in different scenarios.

Note that this issue can't be reproduced on the same device right after reset to factory, and the UA shows Mozilla/5.0 (Linux; Android 5.1.1; KFDOWI Build/LVY48F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/84.0.4147.125 Safari/537.36 and the Amazon System WebView is on the version version 84.amazon-webview-v84-4147-tablet.4147.125.93.

Create an epic to go through all the issues, Donald can help if he has capacity.

Add #448 in the epic as well.

Add #444 in the epic as well.


Create a better hashpassword funtion

The current hashpassword function simply hash the password

implement password hashing with salting

I would like to contribute to it


Add a new property wrapper type to make it easier to add non-argument properties to ParseableArguments

Its slightly annoying to add properties to a ParsableArgument that are not arguments.  For example:
struct Command : ParsableCommand {
    var someValue: String

    @Flag()
    var myFlag: Bool

    private enum CodingKeys: CodingKey {
      case myFlag
    }
  }

A use case I have for this is that I would like to have the validate() command create some objects or setup some state and store it on the Command object, but doing so requires adding the CodingKeys enum.
Would it make sense to add something like @Ignored or @Excluded that conform to Decodable to make it so that CodingKeys does not have to be declared?

This was resolved by #268, which handles unwrapped variable properties like someValue automatically.


Linked Views not working in WebApplication

From @reaction1989 on February 9, 2018 8:50
Hello,
i am trying to share the _Layout.cshtml over multiple projects. I created links in each project, but the application won't run.
I am getting this exception:
An unhandled exception occurred while processing the request.
InvalidOperationException: The layout view '_Layout' could not be located. The following locations were searched:
/Views/Account/_Layout.de.cshtml
/Views/Account/_Layout.cshtml
/Views/Shared/_Layout.de.cshtml
/Views/Shared/_Layout.cshtml

While googling i found this old entry on stackoverflow
https://stackoverflow.com/questions/24075105/can-i-use-views-in-folders-linked-from-other-projects
Copied from original issue: dotnet/project-system#3232

From @DamianEdwards on February 9, 2018 18:17
It should go in aspnet/Razor

Oops, that's @DamianEdwards...

@DamienEdwards - what's a good home for this issue?

We've been doing some work to make this better lately as part of the Razor SDK at build/publish time. https://github.com/aspnet/Razor/pull/1992
The IDE support for this has a lot of prerequisites for us and is being worked on (gradually). Today if you open the linked file in the VS editor we don't understand where it's been linked into the project system, so things like ViewImports will be inaccurate. It's likely that the experience in VS today is pretty OK today without us improving it, but it is planned.
@reaction1989 - is this failing for you in a published app? Or does this fail during locally development? Have you noticed any problems if you open the linked Layout file in the VS editor?
@pranavkm - did you try out running an MVC app with linked files as part of this work item?

Not sure why I am receiving this email.
Thanks
From: Kevin Pilch<EMAIL_ADDRESS>Sent: Friday, February 09, 2018 1:14 PM
To: aspnet/Razor<EMAIL_ADDRESS>Cc: Damien Edwards<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [aspnet/Razor] Linked Views not working in WebApplication (#2045)
@damienedwardshttps://github.com/damienedwards - what's a good home for this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/Razor/issues/2045#issuecomment-364531383, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUWyv3k7RAnGbMaOGRZugSkmbWYE0hibks5tTJj6gaJpZM4SAZkk.
HCSC Company Disclaimer
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312)653-6000 in Illinois;<PHONE_NUMBER> in Montana;
(800)835-8699 in New Mexico;<PHONE_NUMBER> in Oklahoma;
or<PHONE_NUMBER> in Texas.

Sorry @damienedwards - I mistyped @DamianEdwards' GitHub user handle and tagged you by mistake.  You should be able to "unsubscribe" from the issue on the right hand side of the page if you visit the GitHub isue.

@pranavkm - did you try out running an MVC app with linked files as part of this work item?

I looked at the code generation results of the test samples, but haven't tried an app in itself. There's probably interesting since the runtime would not find these files \ see updates to them without an additional file provider registered to look at these files.

@rynowak it failed while developing locally. Have not tried publishing it.
I did not notice any Problems while opening an working with the Layout.

I tried debugging this.
I came to this code:

Here we try to use the PhysicalFileProvider. This provider will never be able to find this file.

Probably this class should find out, that it is a linked class?

Moving this to the backlog, as this is not a priority yet.
This will, by the way, work at build time in 2.1.


[stable/jenkins] Make Jenkins args optional

Problem:
Not all images work with arguments. e.g Openshift's Jenkins images doesn't recognize the security realm arguments
Solution
We need to make the container args optional
What this PR does?
Adds a new parameter Master.passContainerArgs. For backward compatibility, the default value is true but for people who don't want to pass the arguments can set it to false.

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @lachie83

Is there a reason you can't set .Values.Master.UseSecurity to false?

@maorfr Works like a charm, I will close this pull request


Fixed shema

I know it's not a useful contribution, but still I've didn't started to try choo, yet :)

haha, believe it's a flaw in github's rendering but lol sure i'll take it (:


Get provisioner and engine version from Volume

Summary
The UI is currently using the Volume -> Storage Class object to get the provisioner and the engine version (for Longhorn).
The Storage Class can be null, if deleted by the uses.
We want to get those fields from PersistentVolume spec when the storageClass is null

provisioner: spec.csi.driver
dataEngine: spec.csi.volumeAttributes.dataEngine

PR Checklist

Is this a multi-tenancy feature/bug?

[ ] Yes, the relevant RBAC changes are at:

Do we need to backport changes to the old Rancher UI, such as RKE1?

[ ] Yes, the relevant PR is at:

Are backend engineers aware of UI changes?

[ ] Yes, the backend owner is:

Related Issue https://github.com/harvester/harvester/issues/6927

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

@mergify backport release-harvester-v1.4


green_heart:x.x.x: Fix auto assign

Codecov Report

Merging #2081 (ba79b66) into main (5e2204d) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main     #2081   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines           94        94
  Branches         3         3
=========================================
  Hits            94        94

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


JSON Decode "message":"Success" goes to ERROR branch!

I commented out this three line, then it works!
getEcoflowData() {
this.log.debug("Ask Data from ecoflow cloud API");
try {
this.log.debug("call: https://api.ecoflow.com/iot-service/open/api/device/queryDeviceQuota?sn=" + this.sn);
(0, import_axios.default)("https://api.ecoflow.com/iot-service/open/api/device/queryDeviceQuota?sn=" + this.sn, {
headers: {
"Content-Type": "application/json",
"appKey": this.apikey,
"secretKey": this.secretkey
},
timeout: this.timeout
}).then(async (response) => {
this.log.debug("Get-Data from ecoflow:" + JSON.stringify(response.data));
if ("message" in response.data) {
//          this.log.error(response.data.message);
//          this.setState("info.connection", false, true);
//        } else {
await this.setStateAsync("status.soc", { val: response.data.data.soc, ack: true });
await this.setStateAsync("status.remainTime", { val: response.data.data.remainTime, ack: true });
await this.setNewRemainTime(response.data.data.remainTime);
await this.setStateAsync("status.wattsOutSum", { val: response.data.data.wattsOutSum, ack: true });
await this.setStateAsync("status.wattsInSum", { val: response.data.data.wattsInSum, ack: true });
this.setState("info.connection", true, true);
}
}).catch((error) => {
this.log.error(error.message);
this.setState("info.connection", false, true);
});
} catch (error) {
this.setState("info.connection", false, true);

Complete error Message pls

Hi Newan,
a successful response from the ecoflow device send "message":"Success", with values from ecoflow device.
{"code":"0","message":"Success","data":{"soc":59,"remainTime":677,"wattsOutSum":63,"wattsInSum":141}}
or on any error e.g. follow "message" with no values.
{"code":"6054","message":"secretKey no match"}
Your latest version 0.0.3 receives a "message" with value "Success" and goes to the error branch. You make a log entry "Error:Success" and set "info connection" to false, instead of going to the other branch and setting info connection to TRUE.
Please check the value of "message" is not equal to "Success" and go to the "then branch". Value "message":"Success" should go to the "else branch".
Sorry, I'm not that familiar with javascript, otherwise I would have corrected the code right away.
Thank you for this adapter and I hope to release it soon!
Best Regard,
Andreas


[Enum Request] Various tables - "Entry Type" (Usage,Sale)

Please replace option field "Entry Type" with an extensible enum in the following tables:

table 210 "Job Journal Line"
table 169 "Job Ledger Entry"
table 212 "Job Posting Buffer"
table 207 "Res. Journal Line"
table 203 "Res. Ledger Entry"
table 5933 "Service Order Posting Buffer"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[BUG] Fresh new site - 'You have an incompatible update'

Describe the bug 描述你遇到的错误
Hi, I'm following the documentation here https://hugodoit.pages.dev/theme-documentation-basics/#basic-configuration= and I'm having a problem, as hugo doesn't start following error
Start building sites …
hugo v0.101.0-9f74196ce611cdf6d355bfb99fd8eba5c68ef7f8+extended linux/amd64 BuildDate=2022-06-28T10:02:18Z VendorInfo=snap
ERROR 2022/07/22 22:36:10 Compatibility Error 兼容性错误

0.2.13 -> 0.2.X:
You have an incompatible update. See https://github.com/HEIGE-PCloud/DoIt/releases
你进行了一次不兼容的更新. 参考 https://github.com/HEIGE-PCloud/DoIt/releases

WARN 2022/07/22 22:36:10

Current environment is "development". The "comment system", "PWA", "CDN" and "fingerprint" will be disabled.
当前运行环境是 "development". "评论系统", "PWA", "CDN" 和 "fingerprint" 不会启用.

Error: Error building site: logged 1 error(s)
Built in 71 ms

Steps taken

hugo new site mlazzarotto.it
cd mlazzarotto.it
git init
git submodule add https://github.com/HEIGE-PCloud/DoIt.git themes/DoIt
pasted Basic Configuration from hugodoit.pages.dev paying attention to set version to 0.2.13 before starting hugo server

Expected behavior 期待的行为
Site build
Screenshots 屏幕截图

Build Environment 构建环境

OS: Pop!_OS 22.04 LTS
Hugo: v0.101.0-9f74196ce611cdf6d355bfb99fd8eba5c68ef7f8+extended
Theme: DoIt 0.2.13

Preview Environment 预览环境
No response
Additional Information 补充信息
Trying to delete the site rm -rf mlazzarotto.it and starting from scratch changed nothing.
Yesterday at some point it was starting but giving error with missing layouts, so I decided to delete and start from scratch

Follow the documentation here and set up the confit.toml correctly
https://hugodoit.pages.dev/theme-documentation-basics/