[contracts] All functions metatxable

[ ] All functions in the contract should ideally be metatxable
[ ] Should be able to use any asset for metatx fees

Closing this in favor of more detailed issues around how to properly implement relayer fees


See the problem is the same as mine, I think this is caused by CDN config. Also can see #492
@ije Could you please help to check this one

Seems to only effect imports w/o a version number
https://esm.sh/react
<EMAIL_ADDRESS>https://esm.sh/npm
<EMAIL_ADDRESS>

now it should work

I also updated the checklist, hope this not happen again (unless i can get the checking error by email in time and shows here https://esm.instatus.com/)

FYI, the broken is caused by my bad update, i was adding support of https://esm.sh/react-dom@18&dev/client to support import maps "/" suffix with query parameters.

@ije Just wanted to let you know if you weren't already aware. It looks like preact-render-to-string was broken in a recent update. Not sure if it is related to this or not, but certainly feels like it considering the timing.
A lot of discussion on discord: https://discord.com/channels/684898665143206084/1062204030836809778/1062204030836809778

@lino-levan thanks, just fixed


[codelab]

Hello,
I have tried unsuccessfully to complete all of your MDC-101 course/codelabs including the Getting Started tutorial.
Every single one of them fails to compile correctly, no doubt due to node and node module conflicts. It’s been very frustrating to spend nearly a week trying to get these to work.
It might be beneficial for you to please provide a node and npm version number so users can download the correct version before attempting to start the tutorials.
E.g. something in the format of the below so I can first download the correct versions:
nvm install 10.20.1
For example, your tutorials attempts to retrieve version 1.0.0 of core mdc components, however, they’re now up to v6.0.0 - so there’s no surprise things don’t work.
I admit, I am a beginner at node/npm but being unable to install and run your tutorials doesn’t give me much confidence in changing my stack to Material.
Any help would be assisted?
Regards,
Robert

Can you provide a link to the tutorial that instructs you to install v1.0.0 of the MDC components? MDC-101 (https://codelabs.developers.google.com/codelabs/mdc-101-web/#2) refers to v6:

The first page of the codelab should also link to https://nodejs.org/en/ and instruct users to download the most recent version of Node, which at the current time of writing is v12 (recommended LTS by Node's website) or v14.


Challenges with Scrolling to a Specific Element in Native iOS Automation

Hi Team,
We are currently utilizing the Robot Framework to create automation scripts for native iOS applications. Throughout the automation process, we have been relying on accessibility IDs to interact with elements within the application. However, I have encountered challenges when attempting to scroll to a particular element. The built-in scroll commands (scroll, scroll up, and scroll down) provided by the Robot Framework scroll the application screen but sometimes bypass the specific element I need to interact with. Instead, they move further up or down, missing the target element.
Used version
iOS version - 15
Appium Version - 2.0.0
I would greatly appreciate your assistance in resolving this issue and finding an effective way to scroll the screen until the desired element is in view.
Thank you for your help

Hi @devlove1C
Are you using this repository for your iOS application automation?

Hi @osandadeshan, Thanks for responding
Currently, I am trying it on a local machine, In future I will use the git repository
Thank you


Clean up the config and removing unnecessary files

🔖  Changes

Moved the highlight_code under [markdown] section in the config
Removed a lot of unnecessary files

🖼 Screenshots
The web is still working fine

Thank you. I merged it.


fixtures exception

And I come from china,our country can not access www.google.com url.I dont know if there is something wrong with this.

I have already fix this bugs.
You should put the fixtures in the right packge.


Add status endpoint

Is your feature request related to a problem? Please describe.
Polyswarmd process stops responding to requests. We should be proactive in culling bad processes in the docker swarm. This will ensure stability of the system without human intervention. Bad services die and are replaced with healthy services.
Describe the solution you'd like
Add an endpoint status that can be called by the docker swarm healthcheck component that yields a 200 response code if OK or 500 response code if not OK. The endpoint should perform some basic sanity check to ensure the process is behaving correctly. This could be verifying the websocket connection and/or some similar integration point.
Describe alternatives you've considered
Another option would be cull the process after subsequent failed requests but this will involve creating some in memory stateful data structure.
Additional context
This endpoint should be called from the docker compose service using the healthcheck docker compose functionality

The status EP should not be protected and execute a geth query to ensure connectivity to the chains exist. Consider using syncing ep as an example for a valid geth query.

clarification on "This could be verifying the websocket connection and/or some similar integration point."?
Is it enough to remove the API key requirement from /syncing, or do we have a specific list of things to check?

An explicit status EP without authentication that executes the same code as syncing EP is the desired solution. This will allow us to keep current API contract and handle a valid health check for the service

I think we should canonicalize on /status for un-auth status checking.
Didn't status already exist? Does this amount to breaking compat?

Applying BLOCKER label as this prevents proper alerting.

Deployed on stage and prod, closing


Add renderdoc frame export

It would be very useful to be able to export a specific frame to renderdoc, especially for bugs that only persist for a few frames

Yeah I suppose that could work. Actually I was hoping to dedicate some time to working on this. Any advice on where to get started? Also I noticed there isn't really a GUI in place, at least in Linux. Are there any plans to add one? I can see this benefiting greatly from a timeline scrubber.


ionic serve command did not working

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
I don't see anything happen after i run command ionic serve
What behavior are you expecting?
It should run my app on the browser
Additional information
cli packages:
@ionic/cli-plugin-cordova       : 1.5.0 (/Users/chomnit/Documents/Projects/ionic/restaurant/node_modules/@ionic/cli-plugin-cordova)
@ionic/cli-plugin-ionic-angular : 1.4.0 (/Users/chomnit/Documents/Projects/ionic/restaurant/node_modules/@ionic/cli-plugin-ionic-angular)
@ionic/cli-utils                : 1.6.0 (/Users/chomnit/Documents/Projects/ionic/restaurant/node_modules/@ionic/cli-utils)
ionic (Ionic CLI)               : 3.6.0 (/Users/chomnit/Documents/Projects/ionic/restaurant/node_modules/ionic)

global packages:
Cordova CLI : 7.0.1

local packages:
@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.3.0

System:
Node       : v7.8.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.1
ios-sim    : 5.0.13
npm        : 4.2.0

Same here !! Any solutions ?

I'm getting this same error too. I ran "npm run ionic:serve --verbose", and the error occurs here:
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>ionic:serve: ionic-app-scripts serve npm ERR! Exit status 1 npm ERR!  npm ERR! Failed at the<EMAIL_ADDRESS>ionic:serve script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm verb exit [ 1, true ]
Any help is appreciated.


ghcide stuck on a failed hie.yaml with no feedback

I have this faulty hie.yaml  (as in .OUT/generated.flags didn't exist)
cradle:
  bios:
    shell: cat ".OUT/generated.flags" > $HIE_BIOS_OUTPUT

and I had ghcide 0.4.0 stuck on
Step 1/4: Finding files to test in /home/teto/nova/project

Hopefully hie-bios debug showed the error.
at some point I also had symlink cycles in my folders and IIRC I had ghcide endlessly looking for files without much to guess why (even with --verbose).

I think, the former is a hie-bios bug (although can be handled in ghcide if the interface is insufficient), while the latter is a ghcide bug.
If the bios program is faulty, it should not crash the whole application without feedback.

I wanted to iterate on the point 2 of this message https://github.com/mpickering/hie-bios/issues/250#issuecomment-696223578 .
The matter is not that its a symlink in this case but that ghcide is scanning the whole file hierarchy in ./. even though my multicradle config (the same as in that message), just mentions subfolders of project/ while setting ./. to the none cradle. I leave ghcide (in fact the haskell-language-server) scans those big bazel folders but in the end it crashes or is killed by the system, I am not sure which.
One workaround I found is to call haskell-language-server --cwd project but I wonder if it can find the hie.yaml in a parent folder of project ?
EDIT  one answer from @fendor on IRC

hls and ghcide do not honour the hie.yaml when finding haskell source files for testing


refmt action is not present anymore

Seems that refmt action is not available anymore?
plugin version:
v0.95
Description

yes, I forgot to mention it in the changelog.
it was a custom action to mimic the standard format action, but now the format code is integrated with that standard action.
you can use ctrl+alt+l or ctrl+alt+shift+l to format reason code (although there is a problem with cursor location with one of these actions)

Yes exactly, just realised that it can be formatted via normal action but scroll position is messed :D

yes, I'll keep that issue open for the cursor position problem


Implement java.lang.Character.charCount

Can one of the admins verify this patch?

Jenkins, ok to test

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2970/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3849/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2971/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3850/
Test PASSed.

LGTM Thanks!


V0.9.8 Add ECOD

All Submissions Basics:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 15 (93.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 95.968%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/models/iforest.py
11
12
91.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
6640

Relevant Lines:
6919

💛  - Coveralls


promote author dialog: when not found, option should be reset to external author

When you try to promote an external contributor to an internal contributor,
and the contributor cannot be found, you get a warning, but after that
the radio button is still set to "ugent author". So you can actually save this.
Of course that radio button has no influence on the data, so it will have no
effect (it will remain an external author), but it is confusing.

yes needs to be fixed


feat: IdentifiedModel Protocol

The IdentifiedModel Protocol enables the user to have the ID embedded within the Model. The ID will get populated with Auto Incrementing value in the database.
Do Not Merge - depends on:
https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL/pull/54
https://github.com/IBM-Swift/Swift-Kuery-SQLite/pull/15

Codecov Report

Merging #59 into master will decrease coverage by 0.82%.
The diff coverage is 18.96%.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
- Coverage   34.03%   33.21%   -0.83%
==========================================
  Files           5        6       +1
  Lines        1087     1144      +57
==========================================
+ Hits          370      380      +10
- Misses        717      764      +47

Flag
Coverage Δ

#SwiftKueryORM
33.21% <18.96%> (-0.83%)
:arrow_down:

Impacted Files
Coverage Δ

Sources/SwiftKueryORM/IdentifiedModel.swift
0% <0%> (ø)

Sources/SwiftKueryORM/TableInfo.swift
65.07% <78.57%> (+3.07%)
:arrow_up:

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 d1b3588...3891b02. Read the comment docs.

Optional ID fields were added under https://github.com/IBM-Swift/Swift-Kuery-ORM/pull/104.
A further identified model will be considered during the work on complex relations.


Can not discover MC1808

Hey,
I'm trying to discover my Xiaomi Mijia 1C vacuum mop (MC1808).
Unfortunately, after the initial setup, the robot is not discovered. In fact I only get a list containing my Mi Bedsidelamp 2.
Also, there are no exceptions or warnings in the log.
My Robot is on firmware 4.3.3 and is in the same subnet as my HA.
I am new to the project and might be missing something.
Can anybody give me a hint as to how to proceed?
Thanks!

Show me your integration options, how to filter these devices ?

Here are Dome Screenshots:

Please try selecting a different server location.

Tried all options with no success. Only the European server provides a device as shown above. All others contain nothing.

Are you sure you only have this Xiaomi account ?

Yes, I use the same credentials from within Xiaomi Home to control the vacuum.

Try to delete the folder .storage/xiaomi_miot under the HA configuration directory.


permissions are checked on creating query but not on playground

For many queries I tried, I got "Query failed the SQL blacklist." when trying to save as query, but the queries run successfully in playground.
django-sql-explorer==0.8

Hi @amitu -- this was addressed in v0.9. Please upgrade :) Appreciate the submission nonetheless!


Change responsive behavior

At least when used with Foundation 3.x charts set to responsive are set to physical width of the parent, which breaks the grid. This behaves much better if responsive is set to 100%.

This seems to happen with Bootstrap as well. The temporary fix seems to be to add a container (like a div or similar) around the chart. There's an older issue documenting this somewhere.

And there is a fix for this in https://github.com/nnnick/Chart.js/pull/851

Duplicate #507


[PT Run] Cache must be validated while loading

Steps to reproduce

Delete an app, which was previously being indexed by powerToys Run when PT Run is not running.
When we enable PT Run, this app shows up with the default icon as it was loaded as a part of the cache.

Expected behavior

The items in the cache must be validated while being loaded.

Actual behavior

The stale items show up with a default icon.

Screenshots
In this case, I had deleted the messenger app while powerToys was not running but the cache still had it so it showed up with a default icon because it could not retrieve the icon of the app as it did not exist.

Hi! This should be fixed in the v0.19.2. I had this issue for v0.19.0 and v0.19.1 but it is now fixed!

@alekhyareddy28 this isn't fixed yet, correct?  should this be a .21 work item?

@alekhyareddy28 this isn't fixed yet, correct? should this be a .21 work item?

Some of these icons have been fixed but not necessarily every UWP applications.

@crutkas, @khushrxnx, yes this is still an issue. If an app is uninstalled when PT Run is not executing it continues to remain in the cache. When this cache is loaded, the app is present in the results with the default icon (which shouldn't happen).

This also seems to happen to links on the desktop that are manually deleted. This entry also remains in the list.

Should be fixed with .21

Fix added in 0.21.1, please go to https://github.com/microsoft/PowerToys/releases to upgrade


operator project-quay (3.10.0-nightly.20230925)

Add 3.10.0-nightly.20230925 to community operators

/merge possible


Match nub* functions with Array

The names and signatures of the nub* functions for List and Array are inconsistent.
-- List
nub :: forall a. Eq a => List a -> List a
nubBy :: forall a. (a -> a -> Boolean) -> List a -> List a

-- Array
nub :: forall a. Ord a => Array a -> Array a
nubEq :: forall a. Eq a => Array a -> Array a
nubBy :: forall a. (a -> a -> Ordering) -> Array a -> Array a
nubByEq :: forall a. (a -> a -> Boolean) -> Array a -> Array a

Proposing we make List match Array and use this lineup:
nub :: forall a. Ord a => List a -> List a
nubEq :: forall a. Eq a => List a -> List a
nubBy :: forall a. (a -> a -> Ordering) -> List a -> List a
nubByEq :: forall a. (a -> a -> Boolean) -> List a -> List a

We should also include examples and runtime info.

Thanks for the report. I think 0.14.0 is a good time to do this.

I'll work on this (can't self-assign though).
I'm thinking the simplest (and most performant) way to add Ord-based nub/nubBy to List is to just reuse Array's nub/nubBy. I don't expect the O(n) conversion cost to matter much compared to the O(n log n) and O(n^2) runtimes (todo - note these runtimes in the array docs).
We should also double-check and document whether the first, last, or unknown duplicate is kept.
Also going to add these missing functions to Data.List.Lazy and Data.List.NonEmpty.

Found that our List matches Haskell's nub and nubBy.
nub :: Eq a => [a] -> [a]
nubBy :: (a -> a -> Bool) -> [a] -> [a]

So now I'm wondering if it would be worth maintaining this consistency with Haskell, and editing Array to use this convention:
nub :: forall a. Eq a => Array a -> Array a
nubBy :: forall a. (a -> a -> Boolean) -> Array a -> Array a
nubOrd :: forall a. Ord a => Array a -> Array a
nubByOrd :: forall a. (a -> a -> Ordering) -> Array a -> Array a

This is not a place where I would want to maintain consistency with Haskell, because using Eq for nub is widely considered to have been a mistake. In many cases there is an Ord instance available, and because the performance is so much better when you do use Ord, the default option we provide should be the one that uses Ord. See also discussion in https://github.com/purescript/purescript-arrays/issues/91.

If we don’t already depend on arrays I think it would be better not to add the dependency - sometimes we need to rearrange things in core, and if we have too many things depending on each other unnecessarily that becomes much more difficult to do. However, I think a direct implementation that works on lists should be relatively straightforward, if it follows the general strategy of the Array version. Instead of appending to a mutable array, I think it should be possible to build up a list in reverse order and then reverse it at the end.
As for the behaviour, we should keep the first occurrence of any element, ie we should return a list where the elements are in the same order of the first occurrences of each of them in the input. So eg nub (1:3:2:3:1:Nil) should be (1:3:2:Nil).


Malformed JSON for attestation verification output

Description
The output from the cosign verify command for attestations returns a malformed JSON. Here is the steps to get the output:
$ cosign verify-attestation --key awskms:///61c124fb-bf47-4f95-a805-65dda7cd08ae<PHONE_NUMBER>69.dkr.ecr.us-west-2.amazonaws.com/flasksample:v1 > sigstore-verify-attestation-output.json

and here is how the output looks in VS Code:

It seems there are two JSON objects concatenated with each other and not put in an JSON array.
Is this intentional? And if so, what is the purpose of the output if it cannot be properly parsed?
Version
1.13.0

This is actually a JSONL format, or an attestation bundle: https://github.com/in-toto/attestation/blob/main/spec/bundle.md
It's just multiple JSON documents concatenated with newlines. Many tools like jq support it fine!

@toddysm are you in the Sigstore Slack? It's a great place to ask questions any time you see behavior that might seem a little odd. We work hard to make it a very welcoming community - hope to see you there! 😄

@dlorenc Thank you for the clarification - I assumed that is what you were going for. Was not clear from the docs what to expect, and the output is a bit stumbling for a user unfamiliar with the tool. Is parsing with jq the expected usage for the output? Would be good to add to the documentation.

BTW, @trevrosen, I cannot find out how to join the Sigstore slack. I saw a link somewhere but now I can't find it.

https://join.slack.com/t/sigstore/shared_invite/zt-mhs55zh0-XmY3bcfWn4XEyMqUUutbUQ


[MB-8689] Update alpine from 3.12.3 to 3.12.7

Description
This PR updates Alpine from 3.12.3 to 3.12.7.  There are 3.13.x and 3.14.x versions of Alpine available, but we are blocked on those (#6428, #6814) because of some false positives that are coming out of an AWS ECR scan (relevant Slack thread).
I thought it made sense in the meantime to go ahead and update to the latest 3.12.x version since it does include some security fixes based on the release announcements.
Reviewer Notes
Just make sure the tests and build seem to be OK.

Messages

:book:
:link: MB-8689

  Generated by :no_entry_sign: dangerJS against 8f55ba384700e9fc856ba0ca0f41532a979f747e


Fix broken link

The second set of changes is with the goal of making https://www.nuget.org/packages/fshttp cleaner (yes having a separate MD for that is probably the true solution, and I obviously have no real idea what I'm doing wrt all of this!)


Error: spawn EACCES

Using a node app, in Mac OS, with phantom 2.
Both strategies, dedicated-process and phantom-server, gives me an Error: spawn EACCES  doing childProcess.execFile

What if you run phantomjs executable from the command line?

@pofider is working. I running on /Users/maghidini/project/node_modules/phantomjs-exact-2-1-1/node_modules/phantomjs-prebuilt/bin/phantomjs
BTW I got it also as a cli that's why the npm install drop me this:

<EMAIL_ADDRESS>install /Users/maghidini/project/node_modules/phantomjs-exact-2-1-1/node_modules/phantomjs-prebuilt
node install.js

Hm. It looks like some kind of permission issues.
I don't think it is problem of this package. We just spin multiple phantomjs instances, nothing more here.

@pofider yes, it weird. I ran it with sudo, also chmod the whole project to 777, and no luck so far. BTW I'm using it from jsreport-phantom-image. Doing it with jsreport-phantom-pdf works, but image doesn't :(

i'm closing this in favor of jsreport/jsreport-phantom-image#5 to avoid duplications.