Merge pigpen-local and pigpen-tests into pigpen-core

cc @pkozikow
Found a better way to manage test code dependencies. No longer have a need for separate projects.

NetflixOSS » PigPen » PigPen-pull-requests #3 SUCCESS
This pull request looks good


Docs: Updated PTTL Doc #839

Fixes for #839

Created markdown tables for Params and Reuturn values
Updated CLI prompt to <IP_ADDRESS>:7379>
Added a new example about Invalid usage

I realized that I have made small commits to this PR. My assumption was everything gets squashed before the merge, is that correct ? I can also squash them together to form one single commit with a meaningful message if that make sense.


Save the registered factories and look up from this collection first

Fixes https://github.com/Alluxio/alluxio/issues/16001
What changes are proposed in this pull request?
Save the registered factories and look up from this collection first.
Why are the changes needed?
Reduce the memory consumption of metaspace and avoid master crash due to OutOfMemory of metaspace.
Does this PR introduce any user facing changes?
No.

@LuQQiu

@yuyang733 Please help take a look

https://github.com/Alluxio/alluxio/issues/16001

The following is the heap info before and after mounting an ozone path.

command

bin/alluxio fs mount --option alluxio-underfs.hdfs.configuration=ozone-site.xml --option alluxio.underfs.version=1.2.1 /ozone2 o3fs://jan2.hive

before mounting

16533:
 PSYoungGen      total 557568K, used 90312K [0x0000000715580000, 0x0000000742e80000,
0x00000007c0000000)
  eden space 485376K, 18% used [0x0000000715580000,0x000000071adb2110,0x0000000732f80000)
  from space 72192K, 0% used [0x0000000739c00000,0x0000000739c00000,0x000000073e280000)
  to   space 111104K, 0% used [0x0000000732f80000,0x0000000732f80000,0x0000000739c00000)
 ParOldGen       total 305152K, used 176268K [0x00000005c0000000, 0x00000005d2a00000, 0x0000000715580000)
  object space 305152K, 57% used [0x00000005c0000000,0x00000005cac230b8,0x00000005d2a00000)
 Metaspace       used 102112K, capacity 105818K, committed 106624K, reserved 1142784K
  class space    used 12151K, capacity 12747K, committed 12928K, reserved 1048576K

after mounting

16533:
 PSYoungGen      total 557568K, used 236427K [0x0000000715580000, 0x0000000742e80000, 0x00000007c0000000)
  eden space 485376K, 48% used [0x0000000715580000,0x0000000723c62c70,0x0000000732f80000)
  from space 72192K, 0% used [0x0000000739c00000,0x0000000739c00000,0x000000073e280000)
  to   space 111104K, 0% used [0x0000000732f80000,0x0000000732f80000,0x0000000739c00000)
 ParOldGen       total 305152K, used 176268K [0x00000005c0000000, 0x00000005d2a00000, 0x0000000715580000)
  object space 305152K, 57% used [0x00000005c0000000,0x00000005cac230b8,0x00000005d2a00000)
 Metaspace       used 126540K, capacity 130502K, committed 131072K, reserved 1165312K
  class space    used 14878K, capacity 15525K, committed 15616K, reserved 1048576K

It can be seen that the memory occupied by metaspace is growing.

@Haoning-Sun there are some UT failing not because of your code change and they have been fixed in the latest master https://github.com/Alluxio/alluxio/commit/446a255d348485c2d5378042d1d87753a1a3fc24. Could you rebase your branch and push again? I will merge after your rebase. Thanks and sorry about the trouble.

@jiacheliu3 Rebase completed.

alluxio-bot, merge this please

@Haoning-Sun @jiacheliu3 @LuQQiu Thanks for submit and reviewed this PR, but I'm not quite understand how this PR can resolve my issue #16001


Scarlet deblending tutorials

Fred Moolekamp @fred3m and Sowmya Kamath made two really nice tutorial notebooks for use at the LSST2018 PCW, and Fred said he'd be happy to add them to this repo, in a "Deblending" folder. He's got write access, and will submit a PR at some point soon. Thanks very much, Fred! :-)

PS. He suggests a project to explore the constraints etc needed to make SCARLET work on the Twinkles lensed quasars would be a very nice Stack Club project. Paging @jbkalmbach ! :-)

Closed by PR #102 !


[Content] add JSON linting (automatic formatting) to JavaScript Guidelines

Problem
There is not currently a consistent method by which to lint JSON across repositories
Description
The least intrusive route would be to create a singular repository with the right linting setup, and then a GH Action that would run, grabbing the config from that repo and applying the linting to various repos as part of a workflow.
This could be documented in the Guidelines, however if it was seamless enough it might not be necessary to be a part of the Guidelines and could instead run "behind the scenes" on trigger.
Alternatives

utlize npm-package-json-lint directly within repo

Additional context

JavaScript Guidelines — Creative Commons Open Source

i want to work on this little bug....
can you please assign to me.


add mjml

MJML https://www.npmjs.com/package/mjml
docs : https://documentation.mjml.io/

I starting this


feat: OutstandingBidView handles modified flows

Description
fixes #242
Checklist:

[x] My commit message follows the Conventional Commits specificaiton
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent develop branch
[x] My PR is opened against the develop branch

Alert Reviewers
@gravenp

@gravenp I believe the incorrect payout amount is now fixed. Let me know if you can still reproduce.

@gravenp I believe the incorrect payout amount is now fixed. Let me know if you can still reproduce.

Payments look right in tests tonight. I'm going to let a few more exotic scenarios run for a while and check them tomorrow before calling this good if that's alright with you.
One new issue I came across: Action Date is showing the UTC time but with the machine/local timezone tag.

I'm also seeing parcel names and content links not process/save correctly:

I'm now seeing parcel names & content links not save properly too:
Uncaught (in promise) Error: HTTP request to 'https://g12-a-ceramic.3boxlabs.com/api/v0/streams' failed with status 'Internal Server Error': {"error":"Can not verify signature for commit bagcqceramasm3jcezsphyuv4scp4lwsdiavcqqjfk6vatyu3ixvgfwxa7zva: Signature does not belong to issuer"}

@gravenp I believe the incorrect payout amount is now fixed. Let me know if you can still reproduce.

Payments look right in tests tonight. I'm going to let a few more exotic scenarios run for a while and check them tomorrow before calling this good if that's alright with you.
One new issue I came across: Action Date is showing the UTC time but with the machine/local timezone tag.

Action date should be fixed on latest commit.


there is no multiple tabs for opened files in buffer

if I open multiple files tabs are not forming, only for active file tab is shown

Thanks for report @rustiever
Yes, for how this is a limitation. Not for not possible, but I have little time to work on this at moment.
I will keep this open.

Thanks for report @rustiever
Yes, for how this is a limitation. Not for not possible, but I have little time to work on this at moment.
I will keep this open.

Closing this for now.
I will add this as feature request to work after rewrite all plugin to Lua.


Document the HTTP API

Add a new section to the documentation about the BrightstarDB HTTP API. Needs to document the API resources the JSON data formats and ideally also provide examples in Javascript.

Added HTTP_API.rst to the docs.


The plugin of version 5+ does not work with signing plugin any more

Describe the bug
The goal is to sign artifacts before they are published to the Artifactory.
It works well with plugin of version 4+, but does not with 5+.
Current behavior
This my Gradle init script:
initscript {
	repositories {
		mavenCentral()
	}
	dependencies {
		classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:4.+'
	}
}

def gpgPassphrase = System.getenv('GPG_PASSPHRASE')
def gpgPrivateKey = System.getenv('GPG_PRIVATE_KEY')

allprojects {

	apply plugin: 'signing'

	tasks.register('artifactoryPublish', org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask) {
		setCiServerBuild()
	}

	apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin

	artifactory {
		publish {
			contextUrl = System.getenv('ARTIFACTORY_URL')
			repository {
				repoKey = System.getenv('ARTIFACTORY_REPOSITORY')
				username = System.getenv('ARTIFACTORY_USERNAME')
				password = System.getenv('ARTIFACTORY_PASSWORD')
			}
			defaults {
				publications 'mavenJava'
			}
		}
	}

		afterEvaluate {
			pluginManager.withPlugin('maven-publish') {
				signing {
					useInMemoryPgpKeys(gpgPrivateKey, gpgPassphrase)
					sign publishing.publications.mavenJava
				}
			}
		}
}

Works well and as expected: the artifacts are signed and .asc files are uploaded to the Artifactory alongside with other artifacts.
If I change build-info-extractor-gradle version to the 5+ it does not sing artifacts.
And even if I make artifactoryPublish dependent on signMavenJavaPublication tasks and it is called, the .asc files are not uploaded to the Artifactory.
Reproduction steps
No response
Expected behavior
No response
Artifactory Gradle plugin version
5+
Operating system type and version
GitHub Actions
JFrog Artifactory version
No response
Gradle version
8.5

Steps to reproduce:

Clone the example gradle project from JFrog project-example GitHub page.
Generate a new GPG key.
Inside the project directory modify the build.gradle file as follows:
`buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.+')
}
}
allprojects {
apply plugin: 'signing'
tasks.register('artifactoryPublish', org.jfrog.gradle.plugin.artifactory.task.ArtifactoryTask) {
setCiServerBuild()
}
apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin
repositories {
maven {
url "/artifactory/"
}
}
}

version = currentVersion
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'java'
apply plugin: 'maven-publish'
dependencies {
testImplementation 'junit:junit:4.7'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
artifactory {
contextUrl = '/artifactory'
publish {
repository {
repoKey = '' // The Artifactory repository key to publish to
username = // The publisher user name
password = // The publisher password
}
defaults {
publications('mavenJava')
publishArtifacts = true
// Properties to be attached to the published artifacts.
properties = ['qa.level': 'basic', 'dev.team' : 'core']
// Publish generated POM files to Artifactory (true by default)
publishPom = true
}
}
}
afterEvaluate {
pluginManager.withPlugin('maven-publish') {
signing {
sign publishing.publications.mavenJava
}
}
}`

Modify the gradle.properties file:
`currentVersion=1.0-SNAPSHOT
artifactory_user=
artifactory_password=

signing.keyId= /last 8 digits of your gpg key, get by running “gpg --list-keys --keyid-format short”
signing.password=
signing.secretKeyRingFile=
`
16. Execute the 'gradle artifactoryPublish' command and observe that the artifacts are signed, with corresponding .asc files uploaded to Artifactory along with other artifacts.
17. Update the 'classpath' from 'org.jfrog.buildinfo:build-info-extractor-gradle:4.+' to 'org.jfrog.buildinfo:build-info-extractor-gradle:5.+' and ensure that no .asc files are generated or uploaded to Artifactory.

Hi @artembilan @RoiNiv23 ,
Artifactory Gradle Plugin 5.2.3 was just released and includes a fix for this issue.
We'd appreciate your feedback for it.

Looks like that works and I see published .asc files as well.
This issue can be closed.
Thank you!

Thanks for the feedback @artembilan !


Question: Is the NumberBox's Spin Button Disabled state correct?

Looking at the NumberBox test page in the MUXTestApp - When the compact mode spin buttons are disabled, there is a backplate visible for both the up and down buttons.
It looks a little odd, so I was wondering if this is actually the correct design for these buttons?

Both buttons disabled

Top button enabled, bottom button hovered

Top button pressed, bottom button enabled
By way of a comparison, here are the Inline spin buttons

both buttons enabled

both buttons disabled (these also show a backplate when disabled

@chigy and @ranjeshj FYI

@teaP FYI


lv_page: Fix build error when Animations disabled

defining LV_PAGE_ANIM_FOCUS_TIME as 0 cause build failure. This patch
fix the issue.
Signed-off-by: Ajay Bhargav<EMAIL_ADDRESS>

Thanks. It will be fixed in the next release!


Backport PRs from main branch

It backports the changes introduced to the main branch and updates them to v9.40. The PRs updated are:

Code cleanup #166
Benchmark drop_assets() of TrappistDropAssets #113
Lockdown Mode pallet #163
Asset-registry refactoring #173
CI refactoring #174

The weights of the pallets were re-benchmarked to use Weights V2.

It also fixes Trappist and Stout UnitWeightCost to match the config of  the parachain-template.

parameter_types! {
	....
	pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
	....
}

You are right, I didn't realized how difficult it was going to be to review so many different changes. I will split them into different PRs to simplify it.
Also it makes more sense this way since more things will need to be backported like #185 and this way it's going to be easier to identify each change.


Attribute type hinting

Idea: we could add a parameter to pivotUI() to indicate the type of the data for a given attribute, for example "string" vs "number" vs "date".

The UI could use this information to provide better filtering options in the filtering menu: numerical or date ranges for example.
The aggregators could also declare which types they can operate with (i.e. sum doesn't operate on strings) so the UI could not show certain attributes in the values dropdown when they are not supported by the selected aggregator
The chart renderers could make use of this information by passing the hint along to get some nicer axes for time-series charts
Not sure if/how the table renderers would make use of this information.

More attribute configuration would be great.  In particular, I would like to suppress some attributes from being selected as rows or columns (like dollar amounts) and others from being selected for aggregations (like GL codes).  I think it's confusing for users to have fields where they make little sense.  For the simplest presentation, each attribute should be either a dimension or measure.

Yet another idea: derived attributes will return not only attribute label (string) but return array/object:
{
  label:  "Label of attribute",
  type:   "number/string/date",
  format: "int/money/percent/string/date"
}

And aggregator/renderer will use these values to process data.

Any news about this killer feature ?


getting list of pending, filled and rejected orders

Hi All,
Is there a way to get the list of pending,filled, and rejected orders in python?
Also list of Instruments would be great.
Thank you.

Hi @radulylaszlo1 ,
Thank you for your interest!
In MetaTrader 4, orders available for reporting are either in state OPEN (in the market) or CLOSED (historical).
The DWX_GET_OPEN_TRADES() function in the Python script enables you to see all orders currently open.
However, when you attempt to execute an order and let's say it doesn't get filled, MetaTrader 4 will respond via the MQL EA provided in this project, with an error message describing what happened.
Hope this helps answer your question.


rewrite-links.md - code misbehaves for json responses

Expected Behavior
JSON response that contains HTML gets incorrectly re-written.
The following response with content-type: application/json;charset=UTF-8
{
  "result": [
    {
      "locale": "en-IN",
      "version": {
        "major": 2,
        "minor": 0
      },
      "body": "Here is a link.",
      "imageUrl": "https://www.example.com/images/splash-screens/gdpr.png",
      "positiveButton": {
        "label": "I Agree"
      },
      "negativeButton": {
        "label": "Cancel"
      }
    }
  ]
}

gets rewritten to:
{
  "result": [
    {
      "locale": "en-IN",
      "version": {
        "major": 2,
        "minor": 0
      },
      "body": "Here is a link.",   <----  ERROR!!!
      "imageUrl": "https://www.example.com/images/splash-screens/gdpr.png",
      "positiveButton": {
        "label": "I Agree"
      },
      "negativeButton": {
        "label": "Cancel"
      }
    }
  ]
}

Actual Behavior
I would expect this response to either not be processed because it's not of content type text/html, or to handle escaped quotes correctly.
Section that requires update
cloudflare-docs/products/workers/src/content/examples/rewrite-links.md
Additional information
A workaround is to add a check in the handleRequestfunction, but it may the that the root cause should be found instead of updating the example.
async function handleRequest(req) {
  const res = await fetch(req)
  if (res && res.headers.get("Content-Type") && !res.headers.get("Content-Type").startsWith('text/html')) {
    return res;
  }
  return rewriter.transform(res)
}

great catch, will fix this!


KeeAnywhere v1.6.0 not compatible with KeePass 2.47r2

I'm getting the following error message since updating to KeePass Pro Portable 2.47 Rev 2:
The following plugin is incompatible with the current KeePass version:
- KeeAnywhere.dll

Please use PLGX-Distribution. A DLL-Release is always "pinned" to a specific KeePass-Version.
Btw.: try v2.0-unstable/Beta-Release from #252, if you encounter Browser-Issues.

@Kyrodan Thank you for the feedback - however I'm getting this error with the .plgx distribution, not the .dll release. The same error appears with v2.0, although it does refers to an incompatible .plgx and not .dll

Releases v2.0.0 today.
Please make sure at least .Net Framework 4.6.1 is installed. If your problems are still valid, please reopen this issue.


Create codecov.yml

Ensure coverage of PRs is always increasing the code-base for specific folders

Codecov Report

Merging #194 (0ac99ea) into dev (94cdc9a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #194   +/-   ##
=======================================
  Coverage   46.81%   46.81%
=======================================
  Files          54       54
  Lines        3911     3911
=======================================
  Hits         1831     1831
  Misses       2080     2080

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 94cdc9a...0ac99ea. Read the comment docs.


SSL cert invalid

Hya,
starting zwave-js-ui works, but trying to access https return unsecure connection wrong cert.
But my certs are correct, as other services uses it.
my systemd start file is:
`[Unit]
Description=ZWave-JS
Wants=network-online.target
After=network-online.target
[Service]
Environment=SSL_CERTIFICATE=/var/homeassistant/zwavejs2mqtt/store/cert.pem
Environment=SSL_KEY=/var/homeassistant/zwavejs2mqtt/store/key.pem
User=root
Group=root
WorkingDirectory=/var/homeassistant/zwavejs2mqtt
#ExecStart=/var/homeassistant/zwavejs2mqtt/bin/zwavejs2mqtt
ExecStart=/var/homeassistant/zwavejs2mqtt/bin/zwave-js-ui
[Install]
WantedBy=multi-user.target
`
Any hint of what can be wrong?
thank you in advance.

thank you. solved.
Am 30.10.23 um 12:06 schrieb kpine:

You are not setting env var |HTTPS=1|, did you enable it in the UI
settings? It needs to be enabled in one of those places.
There are several logs related to HTTPS setup, look for those messages.
You can attach the startup logs.
https://zwave-js.github.io/zwave-js-ui/#/troubleshooting/generating-logs?id=application-logs https://zwave-js.github.io/zwave-js-ui/#/troubleshooting/generating-logs?id=application-logs
—
Reply to this email directly, view it on GitHub
https://github.com/zwave-js/zwave-js-ui/issues/3393#issuecomment-1785420768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQV2IV4UHABRN7RT6EEGECTYB6663AVCNFSM6AAAAAA6WDYCHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVGQZDANZWHA.
You are receiving this because you authored the thread.Message ID:
@.***>


Error. Component is not part of a Module

Hi! I'm trying to use this package but it's not working. I've followed the instructions and added the imports to the Angular.json file, but when I add the <flag country="br"></flag> I get:
'flag' is not a known element:
1. If 'flag' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.ng

I've tried importing the NgxFlagsModule but no dice.
Ionic:

   Ionic CLI                     : 6.12.1 (/Users/wd/.nvm/versions/node/v10.23.0/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.3.5
   @angular-devkit/build-angular : 0.1100.1
   @angular-devkit/schematics    : 10.0.8
   @angular/cli                  : 10.0.8
   @ionic/angular-toolkit        : 2.3.3

Capacitor:

   Capacitor CLI   : 2.4.2
   @capacitor/core : 2.4.2

Utility:

   cordova-res : 0.15.2
   native-run  : not installed

System:

   NodeJS : v10.23.0 (/Users/wd/.nvm/versions/node/v10.23.0/bin/node)
   npm    : 6.14.8
   OS     : macOS Big Sur

You need to import the NgxModule into app.module.ts. I updated the readme.md file with this missing information.


Assymetrical block importer

Instead of maintaining parity, only creates a block where there are transactions and maintain 1-1 transaction-block ratio.

lint


Errno::ENOENT - No such file or directory - /Users/xxxx/dev/xxxx/xxxx/Pods/Realm/Realm/module.modulemap

Goals
Update a pod (not Realm).
Expected Results
The pod is updated
Actual Results
Causes an error, with Realm apparently:

Errno::ENOENT - No such file or directory - /Users/xxxx/dev/xxxx/xxxx/Pods/Realm/Realm/module.modulemap
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1380:in initialize' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1380:in open'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1380:in copy_file' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:477:in copy_file'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:394:in block in cp' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1558:in block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1574:in fu_each_src_dest0' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1556:in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:393:in cp' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:345:in block in create_module_map'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:142:in message' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:344:in create_module_map'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:27:in block in install!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:142:in message'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb:19:in install!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:155:in block (2 levels) in install_libraries'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:153:in each' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:153:in block in install_libraries'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:142:in message' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:152:in install_libraries'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:64:in generate!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:179:in block in generate_pods_project'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:178:in generate_pods_project'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:115:in install!' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command/update.rb:81:in run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:52:in run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:in load'
/usr/local/bin/pod:23:in `'

Steps to Reproduce
pod update MyPod
The podfile has following pods, in this order:
  pod 'MyPod', :git => 'https://github.com/xxxx/xxxx.git', :branch => "master"
  pod 'Alamofire', '~> 4.0'
  pod 'AlamofireImage', '~> 3.1'
  pod 'DKChainableAnimationKit', '~> 2.0.0'
  pod 'SnapKit', '~> 3.0.2'
  pod 'Bond', '~> 5.0'
  pod 'MBProgressHUD', '~> 1.0.0'
  pod 'Eureka', '~> 2.0.0-beta.1'
  pod 'HidingNavigationBar', '~> 1.0'
  pod 'RealmSwift'
  pod 'SwiftKeychainWrapper'
  pod 'SwiftyBeaver'
  pod 'Fabric'
  pod 'Crashlytics'
  pod 'Fabric'
  pod 'TwitterKit'
  pod 'TwitterCore'
  pod 'Google/SignIn'
  pod 'NextGrowingTextView'

Version of Realm and Tooling

ProductName:	Mac OS X
ProductVersion:	10.12.3
BuildVersion:	16D32
/Applications/Xcode.app/Contents/Developer
Xcode 8.3
Build version 8E162
/usr/local/bin/pod
1.2.0
Realm (2.0.3)
RealmSwift (2.0.3)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
/usr/local/bin/carthage
0.18.1
(not in use here)
/usr/bin/git
git version 2.11.0 (Apple Git-81)

I don't know if this is a Realm or CocoaPods issue. The CocoaPods version is the most recent. Realm is a bit outdated, but that shouldn't be the reason of the problem?

Cleaning CocoaPods cache and re-installing everything fixed it.


Update version to 1.1.6-1 on staging

Update version to 1.1.6-1

🚀 Deployed to staging by @OSBotify in version: 1.1.6-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @AndrewGable in version: 1.1.7-24 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Calling a Haxe object's function from Java fails

Hello,
With older versions of lime/openfl, I was able to call a haxe function from java using
haxeObject.call2("funcName",  param1, param2);
However now I get a JNI error saying that funcName is not a field of the object.
My current workaround is to have a "funcName" dynamic variable that references the actual function.
openfl 6.5.0, lime 5.8.2

Is there a good place I can find an example of this, to try out here? Thanks

Yep, every function of IAPHandler here:
https://github.com/HaxeExtension/extension-iap/blob/master/extension/iap/android/IAP.hx#L228

I just did a quick test, and it did work for me:
TestObject
class TestHaxeObject {

	public function new () {

	}

	public function callFromJava ():Void {

		trace ("Called from Java");

	}

}

JNI Call
var jni = JNI.createStaticMethod ("org.haxe.extension.MyNativeExtension", "testHaxeObject", "(Lorg/haxe/lime/HaxeObject;)V");
jni (new TestHaxeObject ());

Java Extension
public static void testHaxeObject (final HaxeObject haxeObject) {

		Log.i ("trace", "Test Haxe Object (Java)");

		Extension.callbackHandler.post (new Runnable ()
		{
			@Override public void run ()
			{
				Log.i ("trace", "Test Haxe Object (Java, Runnable)");
				haxeObject.call ("callFromJava", new Object[] { });
				haxeObject.call0 ("callFromJava");
			}
		});

	}

Interesting.
Definitely had two of my own extensions break on this after upgrading (and also the extension-iap one)
Not using static methods on the haxe side.

I don't think it makes much of a difference, but I added some types here locally to keep things straighter:
https://github.com/openfl/lime/commit/b2be9c08e560c0a1a47578664e6b6464bdc9543c
Try tracing the object and field name, to see if you can debug a little?

Thanks,
The type change does not make a difference.
My "callFromJava" function is not static, however the class that contains it is a static instance.
Tracing looks like this:
JNI.hx:173: object: [object FirebaseListener] (this is a static instance)
JNI.hx:174: method: onEvent (public function)
JNI.hx:175: args: []
JNI.hx:176: object fields: [] (Reflect.fields(object))
JNI.hx:184: onCallback - unknown field onEvent

Hi guys
Don't forget when using "-dce" flag with the "full" value, methods not found by the Reflect class.
Use "@:keep" for the class to all fields is unaffected by DCE.
https://haxe.org/manual/cr-dce.html


Latest builds do not honor my system's accent color

Environment
Windows build number: 10.0.18362.207
Windows Terminal version (if applicable): Daily build from 7/4/2019

Any other software?

Steps to reproduce
Just run WindowsTerminal and make sure it is the active window.  I also have the dark theme configured on my system with a Blue accent color.
Expected behavior
The window title bar area not covered by tabs should reflect my configured accent color - Blue like this:

BTW the above is from the store version of WT so something has changed for the worse.
Actual behavior
The window title bar area not covered by tabs is black:

Also, not a fan on the rounded corners.  Every other Window on my system uses my accent color (and not rounded corners) e.g.:
File Explorer:

Notepad:

You get the idea.

You might be the only person who liked how it was before with the weird keystone cut out of the accent-color window. That was always a stopgap until we could get full non-client area painting in.
I'm going to dupe this to #1375 to focus our efforts. Suffice it to say that "supporting various themes" is important, and following the system accent color is just another one of those themes.
Incidentally, the rounded corners are because the kernel (yeah, don't ask) hands back a window region that matches the Windows Vista Aero Basic shape :grin:.

Sorry for the dupe. Didn't see 1375 until you pointed it out.  Yeah, I get it that it's far from done.  Just wanted to make sure my issue was captured.  FWIW I think there is a benefit to having the window chrome style look consistent with the rest of my windows.  At the very least, maybe we could have another option to use the system accent color?


ToC heading should start at level 1

The table of contents shows the headings starting at a level 3. This will be confusing to the reader. It is properly nested, but I suggest that it start at level 1 and not be a child of the interface of the page. What about putting a heading first and then start proper nesting? (G.Kersher)

each entry in TOC is a link "a" order from list "ul" "li".
in the hands of Laurent

The TOC "starts" at level 3 because of the nested ul lists (the top-level ul is the horizontal icon bar at the top of the window, then the icon group aligned to the right, then etc. etc.).
https://github.com/readium/readium-desktop/blob/cf8be49c29afea718fb3db4c78a4f4d485368065/src/renderer/components/reader/ReaderMenu.tsx#L105-L164
https://github.com/readium/readium-desktop/blob/cf8be49c29afea718fb3db4c78a4f4d485368065/src/renderer/components/reader/ReaderHeader.tsx#L83-L192

ok I see that. What can we do to avoid  this effect?
To be discussed:

we cannot change the top ul (directly in the nav bar) because using nav/ul is standard practice.
we can certainly change the second level of ul (the group of 4 buttons on the right side) but as it supports a flot=right we must be careful (replacing it by a div does not work).
we can certainly change the third level of ul (list of navigation tools, ToC, Illustrations, Bookmarks, Annotations) for a set of div, also with caution about the semantic structure.

aria-level
https://www.w3.org/TR/wai-aria-1.1/#aria-level

@danielweck so does it mean that using aria-level would provide the expected behaviour without having to modify the "ul" imbrication?

In principle. We have to verify that the screen readers pick-up the overridden nesting levels in the accessibility tree.

I tried to use the aria-level and the screen reader don't seems to react
Or maybe I didn't understood how to use it

I tried this PR with VoiceOver on MacOS ... to no avail:
https://github.com/readium/readium-desktop/pull/670/files
...I am also fixing bugs in the tree view, I will file a separate set of issues.

Related issue: https://github.com/readium/readium-desktop/issues/671

Related issue: https://github.com/readium/readium-desktop/issues/672

After discussing with Leo, this issue is now reassigned to myself, as I have made some progress in the aforementioned PR (see 3 comments above)

The implemented solution is not idea, but pragmatic to work with various screen readers.
Follow-up issue: https://github.com/readium/readium-desktop/issues/679


(WIP) Maintenance Chore: README.md

PT link
https://www.pivotaltracker.com/story/show/160219855
User story
As a Dev Team
In order to have well presented project
We would like to update the README.md continuously.

Tasks

Update README.md
Add Coverage-badge

Pull Request Test Coverage Report for Build 1

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 85.034%

Totals

Change from base Build 29:
0.0%

Covered Lines:
125

Relevant Lines:
147

💛  - Coveralls


Visual quality / aesthetic quality estimation of images

A component that can gauge the quality of an image an add metadata around imagequality. If wanted this component could also filter based on these properties (or could be a different component)

Current priority is on RAG-related components. If someone is still interested in implementing this, feel free to comment here and we can support.


LNURLp: Allow to configure metadata

There are multiple features like e-mail address like identificator or image and long description in LNURL-pay standard.
Could LNbits support all of this by configuring metadata field?

Yes, added to the list, but will take while yo get there. Prs very welcome

I will maybe try to implement this. What approach is more welcome?

Offer to write custom metadata JSON in one textarea (+ JSON validation)
Make form fields for all currently available metadatas (especially images could be harder to impelement)


[Localization] [Spanish] "Add" also means "sumar", not just "agregar"

Describe the bug
One of the two date calculation modes is "Add or subtract days", which has been rendered "Agregar o restar días" in Spanish. This sounds wrong, but I got the intended meaning because I'm bilingual - this was a literal translation of "add".
Steps To Reproduce

Open Calculator in Spanish
Press Ctrl+E to go to the date calculator
Click the first drop-down you see

Expected behavior
The second option in the drop-down should be called "Sumar o restar días", not "Agregar o restar días". Similarly, the radio button below that is currently labeled "Agregar" should say "Sumar" instead.
Screenshots

Device and Application Information

OS Build: 10.0.22000.0
Architecture: X64
Application Version: 10.2103.8.0
Region: es-MX
Dev Version Installed: False

Additional context
The verb "to add" can both mean "agregar/añadir" or "sumar", depending on the context. Obviously (since this is a calculator), the latter translation is the adequate one.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Thanks for the detailed bug report! We are unable to address localization changes directly in this project, but I've routed this bug to the right team internally to take a look.


refactor remove mempool parameter from key decoder methods

decode method is only used for big int and other decode method is only used in unit test.
I remove the useless method and we can remove mempool parameter from decode method.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.09 seconds
stream load tsv:          480 seconds loaded<PHONE_NUMBER>9 Bytes, about 148 MB/s
stream load json:         40 seconds loaded<PHONE_NUMBER> Bytes, about 56 MB/s
stream load orc:          69 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230226050033_clickbench_pr_104501.html


build: add more docker UI (context/dockerfile handling, iidfile, add-host, network)

This should add same level of support for stdin/remote contexts as the buildkit builder in moby.
Also preliminary support for --iidfile (only for docker driver and single-platform queries).
Added support for --add-host and --network

Please handle the remaining comments in follow-up.


Might need to split run.sh

travis job is 50m. We run all the distros' test, travis times out.
We may have to split distros into 2+ parts to run separately.

Ah, I apparently misunderstood the concept of job..
maybe we should run a few distro(clearlinux,ubuntu, alpine) instead of all the distros?

We have hit timeouts before and @marcov reworked the scripts to run each distros rootfs + image creation in parallel. I wonder how easy it would be to add the time to build each distro to the summary we produce at the end of each job:
INFO: Image and rootfs sizes (in bytes and MB), smallest image first:

 image-bytes	  image-MB	rootfs-bytes	 rootfs-MB	Type    	Name
    12693920	     12.10	    34100205	     32.52	initrd  	alpine
   134217728	    128.00	    90250142	     86.06	image   	clearlinux
   268435456	    256.00	   121876556	    116.23	image   	ubuntu
   268435456	    256.00	   141662798	    135.10	image   	debian
   268435456	    256.00	   178849302	    170.56	image   	suse
   402653184	    384.00	   284268998	    271.10	image   	fedora
   536870912	    512.00	   353034810	    336.68	image   	centos
INFO: Detecting agent go version


Frontend Dev (HTML, CSS, JS): CSS Z-index

Description
Description
I would like to make documentation on CSS Z-index.
I would provide theory related to it along with some examples
Domain of Contribution
Frontend Dev (HTML, CSS, JS)
Domain
Frontend Dev HTML/CSS/JS
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign document


Dataset download

Is the dataset open source? How to download?

will the dataset be made public?

From what I can see, the data set was never published. While I still hope that this might change in the future, I started an attempt to train this model on a mix of the PrIMuS data set and the Grandstaff data set. The results aren't as robust yet as what I get with the weights provided in this repo, but in some cases it works well. I put the training code so far on my fork of this repo: https://github.com/liebharc/Polyphonic-TrOMR

From what I can see, the data set was never published. While I still hope that this might change in the future, I started an attempt to train this model on a mix of the PrIMuS data set and the Grandstaff data set. The results aren't as robust yet as what I get with the weights provided in this repo, but in some cases it works well. I put the training code so far on my fork of this repo: https://github.com/liebharc/Polyphonic-TrOMR

You are right，I have also attempted to train TrOMR on the PRIMuS dataset, simply by scaling the images to a fixed size. My results show that TrOMR's performance does not exhibit a significant advantage, with a symbol error rate exceeding 3% on the CameraPrIMuS dataset. Can you share your test results?

You are right，I have also attempted to train TrOMR on the PRIMuS dataset, simply by scaling the images to a fixed size. My results show that TrOMR's performance does not exhibit a significant advantage, with a symbol error rate exceeding 3% on the CameraPrIMuS dataset. Can you share your test results?

I haven't calculated a symbol error rate yet. Right now, I run the inference on a small set of example images, such as https://github.com/BreezeWhite/oemer/blob/main/figures/tabi.jpg (after splitting it into single staff images) to get a feeling on how well it performs.
Is the code you are using to calculate the SER available somewhere? To get meaningful results, I'd also need another data set to calculate the SER on. Since PrIMuS is used for the training, I can't of course also use it to rate the performance of the results. At least for monophonic examples, it shouldn't be too hard for me to find another data set.

You are right，I have also attempted to train TrOMR on the PRIMuS dataset, simply by scaling the images to a fixed size. My results show that TrOMR's performance does not exhibit a significant advantage, with a symbol error rate exceeding 3% on the CameraPrIMuS dataset. Can you share your test results?

I haven't calculated a symbol error rate yet. Right now, I run the inference on a small set of example images, such as https://github.com/BreezeWhite/oemer/blob/main/figures/tabi.jpg (after splitting it into single staff images) to get a feeling on how well it performs.
Is the code you are using to calculate the SER available somewhere? To get meaningful results, I'd also need another data set to calculate the SER on. Since PrIMuS is used for the training, I can't of course also use it to rate the performance of the results. At least for monophonic examples, it shouldn't be too hard for me to find another data set.

I will open-source my code once everything is ready, but currently, it's still under development. You can calculate the symbol error rate by measuring the edit distance between the predicted sequence generated by the computational model and the ground truth. You can use the command 'pip install editdistance' to install the tool for calculating the edit distance.
Regarding the dataset, I trained the model using approximately 60,000 images from the PrIMuS dataset and then tested it on around 10,000 images. I also experimented with training on a smaller scale of images and found that TrOMR may not fully demonstrate its true capabilities when the dataset size is small.

FYI, homr now combines TrOMR trained on the grandstaff dataset with a staff detection module which is based on the segmentation models of oemer


Allow setting the Quarkus version per test

This will force to rebuild the Quarkus app at test time.

cc @jacobdotcosta


Cross line alarm sensor does not work with IPC-Color4K-X-2.8MM

Version of the custom_component
NAME = "Dahua"
DOMAIN = "dahua"
VERSION = "0.5.0"
Configuration
Camera: IPC-Color4K-X-2.8MM identical to Dahua HFW5849T1-ASE-LED.
Firmware: 2.840.15OG002.0.R,build:2021-09-08
HA: core-2021.12.8

No log entries found

Describe the bug
I configured a tripwire rule in the IVS of the camera. The tripwire rule triggers the alerts in the web interface of the camera as expected.
I added the camera to Home Assistant with the Dahua integration. The sensor "Cross line alarm sensor" was created inside Home Assistant for this camera. When I cross the tripwire, the sensor "Cross line alarm" is not triggered in Home Assistant. I checked the events in Home Assistant and I found the events related to "CrossLineDetection".
Below an example for a stop event.
It seems that the events are correctly received from the camera, but the sensor "Cross line alarm" of the camera is not updated.
Any idea why?
"event_type": "dahua_event_received",
"data": {
    "name": "Outdoor street",
    "Code": "CrossLineDetection",
    "action": "Stop",
    "index": "0",
    "data": {
        "Class": "Normal",
        "CountInGroup": 1,
        "DetectLine": [
            [
                6353,
                2139
            ],
            [
                4551,
                1750
            ],
            [
                2530,
                1686
            ],
            [
                0,
                2236
            ]
        ],
        "Direction": "RightToLeft",
        "EventID": 10097,
        "GroupID": 52,
        "Name": "IVS-1",
        "Object": {
            "Action": "Appear",
            "BelongID": 0,
            "BoundingBox": [
                5192,
                1152,
                5656,
                2992
            ],
            "Center": [
                5424,
                2072
            ],
            "Confidence": 0,
            "LowerBodyColor": [
                0,
                0,
                0,
                0
            ],
            "MainColor": [
                0,
                0,
                0,
                0
            ],
            "ObjectID": 7299,
            "ObjectType": "Human",
            "RelativeID": 0,
            "Speed": 0,
            "humanTripLineDirection": 0
        },
        "PTS":<PHONE_NUMBER>0,
        "RuleID": 4,
        "Track": [],
        "UTC":<PHONE_NUMBER>,
        "UTCMS": 503
    },
    "DeviceName": "Outdoor street"
},
"origin": "LOCAL",
"time_fired": "2022-01-07T11:46:42.412439+00:00",
"context": {
    "id": "bc088b9640c2e0de8346f2cc062b521b",
    "parent_id": null,
    "user_id": null
}

}
Debug log
dahua.zip

I am having the same issue with N43AM5Z cameras.   In The dahua interface, my IVS tripwre rule works and fires.
But the Cross Line Alarm doesn't fire in Home Assistant sensor added by this repo.   Smart Human Detection works fine and I can see if fire in home assistant.   I see no log errors, it just stays in the "Clear" status even though on the Dahua NVR I can see it fired.

Found this in the release notes.   Guess it was intentional.   Trying to figure out how to reverse it in my case so Line sensor takes precedence.
0.9.21(Aug 30, 2021)
BREAKING CHANGE
If human detection is enabled, fires the SmartMotionHuman binary sensor instead of the CrossLineDetection or CrossRegionDetection binary sensor, for both VTO/Doorbells/Cameras

Think I have a solution per what he was expressing in the notes.
If I turn off smart human detection on a camera,  the Smart Motion Human in Home Assistant now only fires when it is a cross line event, not just when it sees a human in the target area

I have an IPC-Color4K-X-2.8MM arriving today. I'll set it up and test out.
I assume you are still having this issue?

I have an IPC-Color4K-X-2.8MM arriving today. I'll set it up and test out.
I assume you are still having this issue?
Hi Ronnie,
yes I still have the issue.
Thanks for all your effort put into this integration.
BTW: The camera is really nice and have a very impressive color night view  :-)

Just setup the IPC-Color4K-X-2.8MM camera. I'd still say that I can't find a camera with better quality than my IPC-HDW5831R-ZE. Little disappointed to be honest.
I also ordered 2 IPC-HDW5842T-ZE-S2 but they won't be here for another couple of weeks, I'll see how they compare to the IPC-HDW5831R-ZE.

Update: The nighttime color and level of detail is insane on this cam. Wow!

Hi Ronnie,
I still have the issue. It also affects the following Dahua camera: IPC-HDW3841EMP-AS
Again: I was able to fix it with listening to the event dahua_event_received in NodeRed for CrossRegionDetection or CrossLineDetection events and trigger an input_boolean.
So all events are correctly generated by the cameras, but the integration did not set correctly the sensor Cross Line Alarm or  Cross Region Detection.
I use the Dahua integration version 0.9.39 and HA core-2021.12.10

Hello all,
Any news on this problem? I have the same problem(debug logs crossline alarm, but no trigger in HA).
Camera: IPC-HDW5442TM-ASE
Firmware: 2.800.0000000.19.R,build:2020-07-09
I think maybe the extra "data" in the trigger is not processed correctly by the add-on, but my scripting knowledge is not good enough to debug this.
Is there a way to debug this?

Hello,
Same here,
(event is triggered)
Event 15 fired 21:50: {     "event_type": "dahua_event_received",     "data": {         "Code": "CrossRegionDetection",         "action": "Start",         "index": "0",         "data": {             "Action": "Inside",             "Class": "Normal",             "CountInGroup": 1,             "DetectRegion": [              ... omitted for brevity             ],             "EventID": 10233,             "GroupID": 0,             "Name": "Pool Entry",             "Object": {                 "Action": "Appear",                 "BelongID": 0,                 "BoundingBox": [                     5488,                     2488,                     5984,                     4648                 ],                 "Center": [                     5736,                     3568                 ],                 "Confidence": 0,                 "FusionInfo": {                     "BelongID": 0,                     "CartPosX": 0,                     "CartPosY": 0,                     "GpsPosValid": 0,                     "GpsPostion": {                         "Latitude": 0,                         "Longitude": 0                     },                     "ObjectSource": 0,                     "RadarCoorXyValid": 0,                     "Speed": 0,                     "SpeedValid": 0                 },                 "LowerBodyColor": [                     0,                     0,                     0,                     0                 ],                 "MainColor": [                     0,                     0,                     0,                     0                 ],                 "ObjectID": 4695,                 "ObjectType": "Human",                 "RelativeID": 0,                 "Speed": 0,                 "humanTripLineDirection": 0             },             "PTS":<PHONE_NUMBER>0,             "RuleID": 1,             "Track": [],             "UTC":<PHONE_NUMBER>,             "UTCMS": 686         },         "name": "Front Garden Cam",         "DeviceName": "Front Garden Cam"     },     "origin": "LOCAL",     "time_fired": "2022-06-06T19:50:54.861258+00:00",     "context": {         "id": "01G4X93Z4DVBMVW85NBRRJXYR7",         "parent_id": null,         "user_id": null     } }
Event 16 fired 21:50: {     "event_type": "dahua_event_received",     "data": {         "Code": "CrossRegionDetection",         "action": "Stop",         "index": "0",         "data": {             "Action": "Inside",             "Class": "Normal",             "CountInGroup": 1,             "DetectRegion": [              ... omitted for brevity             "EventID": 10233,             "GroupID": 0,             "Name": "Pool Entry",             "Object": {                 "Action": "Appear",                 "BelongID": 0,                 "BoundingBox": [                     5488,                     2488,                     5984,                     4648                 ],                 "Center": [                     5736,                     3568                 ],                 "Confidence": 0,                 "FusionInfo": {                     "BelongID": 0,                     "CartPosX": 0,                     "CartPosY": 0,                     "GpsPosValid": 0,                     "GpsPostion": {                         "Latitude": 0,                         "Longitude": 0                     },                     "ObjectSource": 0,                     "RadarCoorXyValid": 0,                     "Speed": 0,                     "SpeedValid": 0                 },                 "LowerBodyColor": [                     0,                     0,                     0,                     0                 ],                 "MainColor": [                     0,                     0,                     0,                     0                 ],                 "ObjectID": 4695,                 "ObjectType": "Human",                 "RelativeID": 0,                 "Speed": 0,                 "humanTripLineDirection": 0             },             "PTS":<PHONE_NUMBER>0,             "RuleID": 1,             "Track": [],             "UTC":<PHONE_NUMBER>,             "UTCMS": 686         },         "name": "Front Garden Cam",         "DeviceName": "Front Garden Cam"     },     "origin": "LOCAL",     "time_fired": "2022-06-06T19:50:57.654690+00:00",     "context": {         "id": "01G4X941VP6BAA86RW7GS441ZK",         "parent_id": null,         "user_id": null     } }
However  the "Cross Region Detection" did not report an event.

Hello,
Same here,
Device Type: DH-IPC-HFW3849T1-AS-PV-S3 System Version: V2.840.0000000.10.R, Build Date: 2021-09-30 WEB Version: V<IP_ADDRESS>7102 ONVIF Version: 20.12(V<IP_ADDRESS>4635) Algorithm Version: 1.0.7 Security Baseline Version: V2.1
(event is triggered)
Event 15 fired 21:50: { "event_type": "dahua_event_received", "data": { "Code": "CrossRegionDetection", "action": "Start", "index": "0", "data": { "Action": "Inside", "Class": "Normal", "CountInGroup": 1, "DetectRegion": [ ... omitted for brevity ], "EventID": 10233, "GroupID": 0, "Name": "Pool Entry", "Object": { "Action": "Appear", "BelongID": 0, "BoundingBox": [ 5488, 2488, 5984, 4648 ], "Center": [ 5736, 3568 ], "Confidence": 0, "FusionInfo": { "BelongID": 0, "CartPosX": 0, "CartPosY": 0, "GpsPosValid": 0, "GpsPostion": { "Latitude": 0, "Longitude": 0 }, "ObjectSource": 0, "RadarCoorXyValid": 0, "Speed": 0, "SpeedValid": 0 }, "LowerBodyColor": [ 0, 0, 0, 0 ], "MainColor": [ 0, 0, 0, 0 ], "ObjectID": 4695, "ObjectType": "Human", "RelativeID": 0, "Speed": 0, "humanTripLineDirection": 0 }, "PTS":<PHONE_NUMBER>0, "RuleID": 1, "Track": [], "UTC":<PHONE_NUMBER>, "UTCMS": 686 }, "name": "Front Garden Cam", "DeviceName": "Front Garden Cam" }, "origin": "LOCAL", "time_fired": "2022-06-06T19:50:54.861258+00:00", "context": { "id": "01G4X93Z4DVBMVW85NBRRJXYR7", "parent_id": null, "user_id": null } }
Event 16 fired 21:50: { "event_type": "dahua_event_received", "data": { "Code": "CrossRegionDetection", "action": "Stop", "index": "0", "data": { "Action": "Inside", "Class": "Normal", "CountInGroup": 1, "DetectRegion": [ ... omitted for brevity "EventID": 10233, "GroupID": 0, "Name": "Pool Entry", "Object": { "Action": "Appear", "BelongID": 0, "BoundingBox": [ 5488, 2488, 5984, 4648 ], "Center": [ 5736, 3568 ], "Confidence": 0, "FusionInfo": { "BelongID": 0, "CartPosX": 0, "CartPosY": 0, "GpsPosValid": 0, "GpsPostion": { "Latitude": 0, "Longitude": 0 }, "ObjectSource": 0, "RadarCoorXyValid": 0, "Speed": 0, "SpeedValid": 0 }, "LowerBodyColor": [ 0, 0, 0, 0 ], "MainColor": [ 0, 0, 0, 0 ], "ObjectID": 4695, "ObjectType": "Human", "RelativeID": 0, "Speed": 0, "humanTripLineDirection": 0 }, "PTS":<PHONE_NUMBER>0, "RuleID": 1, "Track": [], "UTC":<PHONE_NUMBER>, "UTCMS": 686 }, "name": "Front Garden Cam", "DeviceName": "Front Garden Cam" }, "origin": "LOCAL", "time_fired": "2022-06-06T19:50:57.654690+00:00", "context": { "id": "01G4X941VP6BAA86RW7GS441ZK", "parent_id": null, "user_id": null } } However the "Cross Region Detection" entity did not report an event.

I think it may be caused by this bit of code from init.py
        # For CrossLineDetection, the event data will look like this... and if there's a human detected then we'll use the SmartMotionHuman code instead         # {         #    "Code": "CrossRegionDetection",         #    "Data": {         #        "Object": {         #            "ObjectType": "Human",         #        }         #    }         # }         if code == "CrossLineDetection" or code == "CrossRegionDetection":             data = event.get("data", event.get("Data", {}))             is_human = data.get("Object", {}).get("ObjectType", "").lower() == "human"             if is_human and self._dahua_event_listeners.get(self.get_event_key(code)) is not None:                 return "SmartMotionHuman"
The events are being converter to "SmartMotionHuman" if there is a human, (and not triggering the other two entities... ? ).
In addition, data = event.get("data", event.get("Data", {}))
event.get("Data", {}) - in this cameras case, it is returning lowercase "data" - which might mean data is null/empty.
this is my working theory, will prove it and verify if this is indeed the case...

Indeed this doesn't sound logical.  On the street, there are off course many humans passing by and they are generating the Smartmotion human detection. However i've created an IVS intrusion zone for my entry area.  The Dahua camera is generating a CrossRegionDetection, however HA only receives a Smartmotion Human detection. So for me I am unable to trigger an automation, as it will fire the automation every time a human is detected in the street. Is there a possibility to change it?


installing requirements with the correct flag

correcting installation of requirements: pip3 install -r requirements.txt

@sananand007 @weihesdlegend


fix error in compare table

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

@xiaoharper: I'm sorry - only the author of this article, @j-martens, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@xiaoharper - wrong repo, wrong branch. #please-close


Read only the text field.

Hey, I am writing this because I need to disable the pin Field while submitting the pin then request to the server.
In between disable the text field.
Then enable the field if the request results in an error.

I am able to fix it by Wrapping it with AbsorbPointer.
AbsorbPointer(
          absorbing: isLoading,
          child: PinPut(
            fieldsCount: 4,
            // withCursor: true
            textStyle:
                Theme.of(context).textTheme.button!.copyWith(color: buttonColor),
            eachFieldWidth: 50.0,
            eachFieldHeight: 50.0,
            onSubmit: (String pin) {
              _btnController.start();
              Navigator.of(context).pushNamed(ChangePassword.routeName);
            },
            focusNode: _pinPutFocusNode,
            controller: _pinPutController,
            submittedFieldDecoration: pinPutDecoration,
            selectedFieldDecoration: pinPutDecoration,
            followingFieldDecoration: pinPutDecoration,
            pinAnimationType: PinAnimationType.fade,
            validator: (String? value) {
              if (value == null || value.isEmpty) {
                return 'Please enter pin';
              }
            },
          ),
        ),


[CLN] Refactor sysdb + log service

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

...

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

#2893  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sanketkedia and the rest of your teammates on  Graphite

Merge activity

Oct 16, 1:56 PM EDT: A user started a stack merge that includes this pull request via Graphite.


Social login:

Add option to log in based on an identity provider
Use social icons from patternfly (same as keycloak)
define different colors for different identity provider
If icon is not found, just the name is shown.


Refactor the internal config code to use new TedgeConfig

Is your refactoring request related to a problem? Please describe.

A new TedgeConfig internal feature was introduced in https://github.com/thin-edge/thin-edge.io/pull/1936. This should be utilized by all components and the older configuration model should be removed.
Describe the solution you'd like

[x] Refactor existing code base to make use of TedgeConfig

[x] tedge-mapper https://github.com/thin-edge/thin-edge.io/pull/2013
[x] tedge-agent https://github.com/thin-edge/thin-edge.io/pull/2073
[x] tedge-firmware-plugin https://github.com/thin-edge/thin-edge.io/pull/2064
[x] tedge-configuration-plugin https://github.com/thin-edge/thin-edge.io/pull/2064
[x] tedge-log-plugin https://github.com/thin-edge/thin-edge.io/pull/2064
[x] tedge https://github.com/thin-edge/thin-edge.io/pull/2077

[ ] Remove the older configuration logic

Describe alternatives you've considered

Additional context

@didier-wenzek Do we need to complete the last task in the list, or is this outdated information?

@didier-wenzek Do we need to complete the last task in the list before closing the ticket, or is this outdated information?

This outdated. I forgot to update it after https://github.com/thin-edge/thin-edge.io/pull/2143


[feat] transpileOnly like ts-node

🚀 Feature Proposal

I want an option transpileOnly.
Motivation

I'm using a submodule repo, and my test cases rely on some files I should not change, it seems no way to do transpileOnly for now.
Example

transpileOnly in ts-node is equal to isolatedModules: true here :)


what is the hash use for?

Hi, I have some doubt about this project, Does hash is useless in this project?I thought hash is to allocate the key position,but I found this project just use to compare and still compare the key value? is it necessarily or we just only need to compare the key, why need compare the hash value? hoop for your reply,best regards!

Comparing hashed values is faster than strcmp().
If you have a better hash implementation that actually uses hash values to allocate key positions, it should be fairly easy to plug it in.


Query about Minting Tokens Using solscribe.io on SCAT Website

Title: Query about Minting Tokens Using solscribe.io on SCAT Website
Hello,
I am working on a project that involves minting tokens on the SCAT website using https://www.solscribe.io. I have written the following code snippet and would like to confirm if it's correctly implemented for minting tokens with specific assetUrl, name, and symbol:
const mintCtx =  (await mintSingle({
    provider,
    mintData: {
        assetUrl: {
            type: "jsonUrl",
            value: "COOL.com"
        },
        name: "COOL",
        symbol: "COOL",
    }
}))

await mintCtx.method.rpc()

I am also curious about the correct way to mint

Is there an example on how to mint a specific spl20 token using this sdk? Thanks


can't edit charging session

Hi, I got vwsfriend to run but I can't edit a charging session to add costs, real charged kWh, charges, ...
If I press "Save changes" I can see that the (unchanged) charging end date has a wring format.

There are no error messages but if I open the seession again my changes are lost.

Can you try if you can set the time if you put :01 for the seconds? I have a feeling that the browser might suppress the seconds if zero.

Yes, that was the problem. Thanks.

Ok, I will try to fix that as soon as I find a solution

Issue found, will be fixed in the next release.

Fixed in 0.18.2


docs: add guide to using value classes

Please let me know which file I should add it to and I will move it.
I'm trying to write a Korean document and translate it into English.
Motivation

Add guide to how to use value class.

Modifications
Commit Convention Rule

Please commit your modification based by conventional commit:

Commit type
Description

feat
New Feature

fix
Fix bug

docs
Documentation only changed

ci
Change CI configuration

refactor
Not a bug fix or add feature, just refactoring code

test
Add Test case or fix wrong test case

style
Only change the code style(ex. white-space, formatting)

chore
It refers to minor tasks such as library version upgrade, typo correction, etc.

If you want to add some more commit type please describe it on the Pull Request

Result

Please describe the result after this PR is merged.

Closes

#559

You need to remove the .DS_Store file.

Sure, why not including '.DS_Store' for .gitinore? @cj848

Sure, why not including '.DS_Store' for .gitinore?

I guess I forgot to put it in.

Please move the file to the FAQ folder.

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

Project coverage is 92.01%. Comparing base (95304dd) to head (2805b2e).
Report is 7 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #707   +/-   ##
========================================
  Coverage    92.01%   92.01%
========================================
  Files          335      335
  Lines         3419     3419
  Branches       203      203
========================================
  Hits          3146     3146
  Misses         213      213
  Partials        60       60

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


Exporting automatically without configuring the template

Checklist

[X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
[X] I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise.

What is/are your question(s)?
Hi is there an example of how to export a CSV with different templates?
I would like to have, that depending on the logged in user, a different csv format should be exported without opening the export dialog or with a preset  (depending on the user). But i cant find a way how to create a "template" with columns, separators etc wich i can use for the exporter.
Additional information
No response

That's an interesting question, as the component was never designed for this.
I see the following possible options:

You can use the corresponding format (e.g. CSVFormat) without the UI and fill it yourself with the required data. (Note that you have to create your own UI).
or you can pre-configure the internal state (GridExporterWizardState) for your needs by creating a custom open method.

Note however that this still shows the dialog with the selection steps.This could be worked around by creating a custom GridExporterWizard that doesn't adds the GeneralStep and FormatStep to the wizardPanel.

Closing due to lack of response


[mesheryctl] improve the error messages shown to users for "mesheryctl system" (1)

Description: Improve the error messages in mesheryctl commands from the user's perspective.
Commands in scope of this issue: mesheryctl system config, mesheryctl system logs,  mesheryctl system login, mesheryctl system logout, mesheryctl system check, mesheryctl system dashboard, mesheryctl system token

We need to make sure of the following things

There are proper error messages when users

Give more arguments to a command than required
Misspell a command
Do not give the required input via flags or args
Use the command without any arguments or flags.

The error messages being displayed to users are meaningful from user's perspective. And if applicable, a potential fix for the problem should be shown too.  For example

"failed to unmarshal response body" could be modified to "couldn't process JSON response from server"
"manifest not found" could be modified to "manifest not found. Please provide the path to the app manifest."

📚 For the Reference head over to this pr.

Can I take this up?

@17sushmita sounds great. Can you please confirm that you are able to build and run mesheryctl locally?

@nishantwrp I've just setup the project and able to run the mesheryctl commands and also the UI development server

Let me know if I need to setup anything else?

Looks like you're all set. Assigning you!

@17sushmita @nishantwrp  I would like to work on this issue.

Hey @nishantwrp ! I want to work on this. I am new here. Looks like this is something I can start with. :smile:

Sure, @siddhikhapare @kernelpanic77. Assigning you both to this issue, since this issue has many subcommands. Please collaborate among yourselves to avoid working on the same subcommand.

Thanks @nishantwrp ! Will colaborate on this issue with @siddhikhapare

@nishantwrp does cobra provide suggestion support for subsubcommands. I tried on multiple binaries of mesheryctl, but suggestion doesn't seem to work for subsubcommands.
For instance:
running
   mesheryctl pattern aply

does not suggest "did you mean ? apply".
I have made some changes to make error messages more meaningful. Will send a PR soon ?


MediatR v9.0.0 includes a breaking change.

This is probably an issue that is not going to affect many people, but I believe it is a legit dependency issue that will have to be resolved at some point:
Directory.Build.targets includes MediatR at version 8.1.0.
When adding as a dependency via dotnet or nuget, (e.g. dotnet add package OmniSharp.Extensions.LanguageServer), which is what I'd guess most folk are doing, it follows the Nuget Versioning rules and pulls in the lowest version >= the specified version - which resolves to 8.1.0 and works fine.
When adding via paket add OmniSharp.Extensions.LanguageServer it follows the paket rules which identifies the latest matching version which is 9.0.0 and unfortunately this version has a breaking change.  The issue is only detectable at runtime due to the use of reflection I believe.  The problem is an attempt to invoke a method that no longer exists on the IMediator interface, due to being moved to a separate interface that IMediator implements.
Compare:
v8.1.0: https://github.com/jbogard/MediatR/blob/v8.1.0/src/MediatR/IMediator.cs
vs
v9.0.0: https://github.com/jbogard/MediatR/blob/v9.0.0/src/MediatR/IMediator.cs
The exception that's thrown is:
OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker: Failed to handle request initialize 1 -
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<System.__Canon> MediatR.IMediator.Send(MediatR.IRequest`1<System.__Canon>, System.Threading.CancellationToken)'.
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.HandleRequest(IMediator mediator, IHandlerDescriptor descriptor, Object params, CancellationToken token)
   at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.<RouteRequest>g__InnerRoute|7_0(IServiceScopeFactory serviceScopeFactory, Request request, TDescriptor descriptor, Object params, CancellationToken token, ILogger logger)
   at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.RouteRequest(IRequestDescriptor`1 descriptors, Request request, CancellationToken token)
   at OmniSharp.Extensions.JsonRpc.DefaultRequestInvoker.<>c__DisplayClass10_0.<<RouteRequest>b__5>d.MoveNext()

So it seems that the issue is somewhere around https://github.com/OmniSharp/csharp-language-server-protocol/blob/005c87f1c41da3f1b2b35f32c98e3d3132df99a3/src/JsonRpc/RequestRouterBase.cs#L204
It seems that while making one of the SendRequest methods on the RequestRouterBase generic is working, the invocation isn't, because the invocation is attempting to invoke a method on IMediator interface itself, and not resolving to the method which is now on ISender as of MediatR 9.0.0.  Not sure exactly why - perhaps if the method was invoked directly, rather than via reflection, the compiler would have worked it all out correctly?
Proposed solutions:
1. Limit the version range
By updating Directory.Build.targets to include MediatR with a floating version of 8.*. It should ensure both nuget and paket resolve the dependency as 8.1.0. (When using floating versions, nuget resolves the highest matching version).  This is a more technically correct dependency version spec because it clearly identifies the valid version range.  [8.1.0,9.0.0) is an alternative way of expressing the same thing I think.
2. Update to MediatR 9.0.0 properly
I'd hope that updating Directory.Build.targets to include MediatR with a floating version of 9.* should very quickly flush out any issues through the test suite, which could be resolved by perhaps using Mediatr.ISender in the SendRequest methods (and anywhere else).
Workaround for Paket users
Adding:
nuget MediatR 8.1.0

to paket.dependencies resolves the issue as a workaround for paket users.
Summary
I'm happy to contribute a PR to resolve this upstream and avoid using the workaround if you have a preference for either of the above proposals, or any other preferred approach?

Have setup two PRs, one for each option.  Bumping the version to [9.0.0,10.0.0) didn't seem to require any code changes to get all tests to pass locally.  It seems that the issue was just attempting to use MediatR 9.0.0 (as restored by paket) using the OmniSharp.Extensions.JsonRpc package built against MediatR 8.1.0, which makes sense now that I think about it!

Mediatr was updated to 9.0.0 in https://github.com/OmniSharp/csharp-language-server-protocol/pull/1084


[Feature Request]: Print error Stack Trace to the console

What feature would you like to see added to TallyArbiter?
Currently error stack traces are just visible in the error log. In the terminal I just see
Caught exception: TypeError: Cannot read property 'includes' of undefined

For development and debugging it would be could if we logged the full error stack trace to the console (for example using console.trace(error);

Done in https://github.com/josephdadams/TallyArbiter/commit/f56ff99ffdd2129801d2d98feb8f6ad492cac344


New Alpaca Websocket Rules

Hi @shlomikushchi, do you have any ideas about how this project might change with Alpaca's new data product update? Looks like the free plan will now be limited to 30 symbols. Do you think we could still use this proxy to open multiple connections on the free plan as long as we stuck with the 30 symbols?
Also, I wonder if the paid plan with unlimited symbols will now allow unlimited websocket connections. No worries if you're not sure, just figured I'd check.

Hi, so this project does not use the data streams as a source. it uses a clock and polling.
that means that when you need data you do a rest call.
so there will be no 30 symbol limit.
the historical data is 15 minute delayed, so that means for daily strategies it probably won't matter as much. but for minute strategies it probably will.
But I will probably know more in the next few weeks

Hi @connor-mcswain , sorry for the previous response I got confused with a different project.
This project of course needs to be updated with the latest api (when it will be released) and will of course work with what ever the free plan provides.
you will be able to work with the 30 symbols since there will only be one websocket registering to them (I haven't seen anything to make me question that)
about the unlimited websockets for paid account, I have no answer for that just yet.

@shlomikushchi thank you, appreciate the update!

Hi! Do you have any plans to update this project to work with the last API?

Hi, this project was updated to work with data v2.
read the readme to learn more on how to use it.


docs: document $ and $$

The fact that there is no documentation for these shortcuts causes confusion: an example.
Or are they not documented intentionally?

But these are documented:

http://www.protractortest.org/#/api?view=ElementFinder.prototype.$
http://www.protractortest.org/#/api?view=ElementFinder.prototype.$$

If you want to update these with better documentation, feel free to send us a PR. Since this is documented, I'm going to close this.

But these are documented

I don't mean these ones. I mean the global ones.

Those are the same.

Those are the same.

To some extent, we can say this about any two things in the world. :)
But really, how are they the same if those I refer to are methods of browser , protractor, and even global, whereas yours are of ElementFinder? If something is documented as a method of ElementFinder, it's very not obvious that you can call it as a global. Moreover, for some reason, in all the code examples we can see element(by.css(...)), not $(...). That's why even for those who know about the existence of these shortcuts it looks like their usage is discouraged, deprecated or something like that. That's why I asked whether they're not documented intentionally.


HIVE-24914: Improve scheduling by only traversing hosts with capacity

What changes were proposed in this pull request?
schedulePendingTasks on the LlapTaskScheduler currently goes through all the pending tasks and tries to allocate them based on their Priority – if a priority can not be scheduled completely, we bail out as lower priorities would not be able to get allocations either.
Optimize by only walking through the nodes with capacity (if any) ,and not all available hosts, for scheduling these tasks based on their priority and locality preferences.
Why are the changes needed?
Scheduling perf
Does this PR introduce any user-facing change?
No
How was this patch tested?
TestLlapTaskSchedulingService

Hey @rbalamohan @mustafaiman  thoughts here?

Gentle ping @mustafaiman  -- this PR is ready for review when you have a spare moment

👍


[Bug Report]: APIM parameter combination 'Consumption' sku & skuCount not available

Describe the bug
Hi,
When deploying an APIM service using the module https://github.com/Azure/ResourceModules/tree/main/modules/api-management/service I can specify the SKU as a parameter.
I want to deploy the Consumption (deployment time is instant vs 50mins when selecting Basic, Developer, ...) tier which is an possible option in the current release of the APIM module.
 sku: 'Consumption'
The allowed parameter skuCount values are 1 or 2.
However, the allowed APIM skuCount for the Consumption tier can only be '0'.
"Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0."
Ref: APIM API: https://learn.microsoft.com/en-us/azure/templates/microsoft.apimanagement/service?pivots=deployment-language-bicep#apimanagementserviceskuproperties
When deploying APIM with sku Consumption the deployment fails with the message:
"details":[{"code":"InvalidParameters","message":"Invalid parameter: For Consumption SKU Type capacity must be specified as 0."
Expected behavior:
Parameter combination of Consumption with skuCount 0 must be available in order to be able to deploy and APIM instance.
To reproduce
Try to deploy an APIM resource with the following parameters:
sku: 'Consumption'
skuCount: 1

Code snippet
No response
Relevant log output
No response

Hey @tony-box,
please note that we're currently migrating seemingly still-revelant CARML issues over to BRM. Please take a look and triage the issue if you have a moment :)


Rust/syntax

The rust code compiles, have to resort to 3rd party crate to use FFI ArrowSchema structs. They map directly to the underlying C struct.
The Makefile currently fails though; but that is from the GO side. Probably I have not set some env variable correctly.

Rust code even compiles perfectly (albeit a bit slow) on my Raspberry Pi 4! :) Just need to have a proper look at the Go things, and we can have a real Arrow example running (probably).


Add support for links in the frontend.

If it's possible to add support for etherscan links in this frontend, that would be great.
We won't need to copy the bytecode but just the link, and the backend will fetch the bytecode from etherscan.

@Zartaj0 try upgraded version: https://cdump.github.io/evmole/#0xdac17f958d2ee523a2206206994597c13d831ec7/eth (reload page with Ctrl+F5)

Amazing, thanks :)


Add a language option to skillmap similar to editor

@abritez fyi

@unthinkmedia

This is too late for this release. I will postpone this for next release if you are ok.

Assigning to @thsparks as he is done with his issues.


Using IP Address for WinRM/PowerShell Remoting Results in Errors (Test-DbaPowerPlan)

Is this a feature OR bug:
Feature modification?
System Details

Operating system name and version:

Win7.

Output from $PSVersionTable:

Name                           Value
----                           -----
PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Output of dbatools version:

PS C:\WINDOWS> (Get-Module dbatools -ListAvailable).Version
Major  Minor  Build  Revision
-----  -----  -----  --------
0      8      902    -1

SQL Server version for source/target

SQL2014.
Steps to Reproduce
PS C:\WINDOWS> Test-DbaPowerPlan -ComputerName MYMACHINE
Get-CimInstance : The WinRM client cannot process the request. Default
authentication may be used with an IP address under the following conditions:
the transport is HTTPS or the destination is in the TrustedHosts list, and
explicit credentials are provided. Use winrm.cmd to configure TrustedHosts.
Note that computers in the TrustedHosts list might not be authenticated. For
more information on how to set TrustedHosts run the following command: winrm
help config.
At line:95 char:21
+ ... erplans = $(Get-CimInstance -ComputerName $ipaddr -classname Win32_Po ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ConnectionError: (root\cimv2\power:Win32_PowerPl
   an:String) [Get-CimInstance], CimException
    + FullyQualifiedErrorId : HRESULT 0x803381bb,Microsoft.Management.Infrastr
   ucture.CimCmdlets.GetCimInstanceCommand
    + PSComputerName        : <IP_ADDRESS>

WARNING: Can't connect to WMI on MYMACHINE

Action Results
Error caused by Get-CIMInstance using IP address.
Expected Results
Using an IP address for WinRM only works if you have HTTPS configured (not the default, requires additional configuration) or have added the hosts to your TRUSTED HOSTS (which disables mutual auth). Maybe go back to using hostname?
Attached Logs or any exception errors

Use of Start-Transcript can help collection of console output and exceptions
Certain commands will generate an exception log that you can find in following directory: dir $env:USERPROFILE\Documents\dbatools-exceptions.txt

This now works!


Add errors to the two non-confirm locations

Description
This adds error checks around the surveys that ask for things other than confirm
Related Issue
Fixes #664
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Checklist before merging

[X] (Optional) Changes have been linted locally with golangci-lint. (NOTE: We haven't turned on lint checks in the pipeline yet so linting may be hard if it shows a lot of lint errors in places that weren't touched by changes. Thus, linting is optional right now.)

I only added checks on this around the surveys that ask for non-boolean content (though can add checks around all surveys if desired).  This does have one user-facing consequence documented in issue #664

Thinking about this some more, I am going to simply cover all locations since we may flip the default and this would be an issue again.


Update dev guide

Update based on Diana's feedback on this morning - 1/11 Thursday.
Consistency of sentence, and some grammatical weirdness.

Pull Request Test Coverage Report for Build 590

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 75.109%

Totals

Change from base Build 577:
0.0%

Covered Lines:
2064

Relevant Lines:
2748

💛  - Coveralls


build(docs.rs): only build MacOS

We've specified a default-target for docs.rs metadata in Cargo.toml, but the way to exclude other platforms is via the targets field, according to these docs on it:

# If `default-target` is unset, the first element of `targets` is treated as the default target.
# Otherwise, these `targets` are built in addition to the default target.
# If both `default-target` and `targets` are unset,
#   all tier-one targets will be built and `x86_64-unknown-linux-gnu` will be used as the default target.

Should fix #5. EDIT: Maybe not?

Ah, hmm, after reading through #5 a bit more, I'm not sure that this will fix things, since apparently Docs.rs cross-compiles from Linux, which might not have everything necessary to compile metal. It should be more correct (because MacOS is the only platform for which this crate makes sense), but IDK if it will actually solve #5 now. 😕

Barring the cross-compilation issue, should iOS also be targeted for docs?
I'm unsure if there's anything cfg'd for that target, but might be useful to include it nonetheless.

@ErichDonGubler can you pursue this again? #5 was fixed and closed via #303, and running cargo doc --open --no-deps --target x86_64-apple-darwin locally shows that the docs now build successfully! Don't forget about my and @xorza's query to extend the list of targets first.

After all #303 was contained in the recent 0.28.0 release, and the default x86_64-apple-darwin target had a successful build already as seen at https://docs.rs/metal/0.28.0/metal/index.html!

@xorza: I've adjusted PR title, summary, and the sole commit to note that this only covers more targets, since that seems like the only useful scope left in this contribution. 🙂

@xorza: I've rebased, taken your review suggestion, adjusted PR title, summary, and the sole commit to note that this only covers more targets, since that seems like the only useful scope left in this contribution. 🙂

Nightly CI appears to be complaining about an "unused" feature dispatch_queue, which got renamed waaay back in https://github.com/gfx-rs/metal-rs/commit/fb17c9eba6fa619500c559f5a4526c4d96746ef7. Eek! That means the dispatch module has been disabled for…a long time, while a different route to dispatch functionality has been taken instead (maybe a private use from lib.rs?) and kept from breaking compilation.


extend correctness work to current Dutch F3 notebook - shows correctness test and dataset running properly

Demonstrates correctness work in a very visual way in the notebook - show how to run checkerboard dataset in the notebook and save snapshotted notebook in some remote storage account.
Update notebook with the latest train.py code with bugfixes and show these results.

replacing with unit tests and experiment data dumps


[zh] Sync task pages for administer-cluster/out-of-resource.md

Sync with english version in 'fix default value of nodefs.inodesFree on linux #26256'.

Signed-off-by: ydFu<EMAIL_ADDRESS>

/lgtm
/approve


Fetch database sizes

It would be a nice feature to be able to show the size of the database that was imported / created as well.
All major RDBMS has ways to do it, for example:
MySQL (src)
SELECT table_schema                                        "DB Name",
   Round(Sum(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB"
FROM   information_schema.tables
GROUP  BY table_schema;

Oracle (src)
select owner, sum(bytes)/1024/1024 Size_MB from dba_segments
where owner = 'someOwner';

PostgreSQL (src)
SELECT pg_size_pretty(pg_database_size('mydatabasename')) As fulldbsize;

The question that remains is when and how often to query for this data. It's not necessary to do so on every request (as querying for this is done through a network call). I'd say once every day is more than enough.
As for where and how to display it, well.. first, let's make sure that querying for a database also returns this value, and then we can think about how to display it.

Migrated to new location


how to calculate FVD score on BAIR in your paper?

Hello!  It means you calculate FVD 100 times, every time you calculate the FVD on 256 video clips, and every clip has a length of total16 =cond1+pred15? In MCVD paper the length is total16=cond1+pred15.
And how to calculate FVD, what is the reference code? I use https://github.com/JunyaoHu/common_metrics_on_video_quality which comes from https://github.com/voletiv/mcvd-pytorch.
My result visualization is as follows, although it looks good, the value is not consistent with your paper. It is about 166. Visualization code is from https://github.com/JunyaoHu/my_common_python_code/blob/main/可视化/视频预测结果对比.py

Hope for your early reply.

but it is only calculated for the 15 predicted frames

Hello, I see other paper like MCVD,  SRVP, SLAMP are all add conditional frames into FVD calculation.

Interesting, we did talk to the authors of FitVid and they mentioned that they used only the 15. Nevertheless, the difference seems to be too large (especially since the videos look ok). Did you train a model from scratch or did you use the pre-trained ones?

Hello, thanks for your patience. I used your pre-trained model for BAIR to sample. Since it will spend too much time (1x 3090, batchsize 16, need about 7.7 hours to finish prediction), we only do a calculation every time.
Since https://github.com/Tobi-r9/RaMViD/issues/9#issue-1670496944 only use 250 steps to sample, this time I use 1000 step to sample for aligning the configuration.
Our run script is as follows:
MODEL_FLAGS="--image_size 64 --num_channels 128 --num_res_blocks 2 --scale_time_dim 0";
DIFFUSION_FLAGS="--diffusion_steps 1000 --noise_schedule linear";
python scripts/video_sample.py \
    --batch_size 16 \
    --num_samples 256 \
    --seq_len 16 \
    --cond_frames "0," \
    --data_dir /mnt/sda/hjy/bair/ramvid_processed \
    --model_path /mnt/sda/hjy/ramvid_checkpoints/ema_0.9999_250000.pt \
    $MODEL_FLAGS \
    $DIFFUSION_FLAGS

Visualization calculation result is:

Our result is:
fvd<PHONE_NUMBER>9141363       # len = 16 = 1+15
fvd<PHONE_NUMBER>335384        # len = 15
ssim   0.7473556877632316
psnr   17.156869397981314
lpips  0.08816499882462571
elapsed time: 27823.748425006866

And I can provide my predicted result file video1.pt and video2.pt.

video1 (ground truth with conditional frames, b=256 t=16=1+15 c h w)
video2 (predicted result with conditional frames, b=256 t=16=1+15 c h w)

For your FVD library it says

ps: pixel value should be in [0, 1]!

Did you account for that?
Also just to be sure, you do calculate the FVD on all 256 videos together and not just on small batches and build the average?

Hi, author, thanks for your question.

Q1: Did you account for pixel value should be in [0, 1]
A1: Because I use the repo of MCVD, and I follow their work. The code requires the input video should be in [0,1], here. By preprocess_single the video will be scaled to [-1,1] and (224,224) which is the same as original FVD calculation method.

Q2: You do calculate the FVD on all 256 videos together and not just on small batches and build the average?
A2: For memory limit, we predict in minibatch such as [16,t,c,h,w] and save them temporarily, we do this process 256/16=16 times, then we concat these temporary tensor into a big batch [256,t,c,h,w], and we calculate FVD of batch [256,t,c,h,w].

I see you compare with MCVD so I think you had better to choose their method. But now the method of calculating fvd is different for each model, so I feel confused.

About Q1:
Yes, but RaMViD saves videos in [0,255] range.
About Q2:
That seems fine, I did it the same way.
I don't know if this helps, but we actually at some point used https://github.com/wilson1yan/VideoGPT to calculate the FVD and that gave us the same results. Maybe you can check this one as well?

About Q1:
Yes.
OK, thanks, I will try to use https://github.com/wilson1yan/VideoGPT for check. : )


[BEAM-10410] Move Kafka directly to io submodule.

This is a cherry pick of https://github.com/apache/beam/pull/12168 into the release branch.

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

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

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

R: @chamikaramj @tvalentyn


On email validation check for MX records

We can use getmxrr to check if domain has MX records.

From http://php.net/manual/en/function.getmxrr.php:
Note: This function should not be used for the purposes of address verification.


Can't build ios

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Install macOS Sonomwa 14.0
Install Xcode Version 15.0.1 (15A507)
After this my working project stopped working
Running Xcode build...
Xcode build done.                                            1,9s
Failed to build iOS app
Could not build the precompiled application for the device.
Uncategorized (Xcode): Exited with status code 1

Expected results
Application should run on my iphone
Actual results
Running Xcode build...
Xcode build done.                                            1,9s
Failed to build iOS app
Could not build the precompiled application for the device.
Uncategorized (Xcode): Exited with status code 1

Result of fvm fluttr build ios -v
pplik.txt

Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):

[!] Flutter (Channel stable, 3.13.8, on macOS 14.0 23A344 darwin-arm64, locale pl-PL)
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.16.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/piotrstefani/fvm/versions/3.13.8. Consider adding /Users/piotrstefani/fvm/versions/3.13.8/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2021.3)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 1 category.

Hi @pstefani89
I see this error message from your build output log:

The following build commands failed:
Run custom shell script 'Run Script'
eyJ0eXBlIjp7IndvcmtzcGFjZSI6e319fQ==
(2 failures)

Did you add any shell script to Run Script in Build Phases? Do this issue happen on a new Flutter project?

Hi @huycozy in run script i have only this what you can see on image below. Other of mine project works fine.

It looks normal. Does the issue only appear with build command? Does it run normally? If not so, please also share the entire output of flutter run -v.

@huycozy same return in any action(build, run or even when i do clean build folder in xcode)

This issue only occurs on your project, but not on a newly created project, right? Could you share the entire output of flutter run -v?

@huycozy output of flutter run -v:
ios.txt

[   +4 ms] Error: Browsing on the local area network for iPad (Piotr). Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)

Thanks. I only noticed this error from your run output. Does it work if you unlock device and retry? Please make sure your device is listed on flutter doctor -v output.
Also, the above log seems to be from your project and not a simple project, right? Is this issue reproducible on a simple Flutter project?
If the issue only appears on your project, it could be caused by project configuration or integrated plugin that we need more information for further investigation. You should narrow down the issue by removing the usage of 3rd party plugins/packages one by one, unrelated/unaffected pages, and isolating the affected page into a single main.dart file that can be run independently. If the issue's still reproducible, please provide that main.dart file so that we can verify the issue properly. Thanks!

Yes, phone is listed on this output.
Yes the project is quite big. Main problem is that there was no changes in project it self, the only thing that has change is version of iOS, macO and xcode(all updated to newest version). Before those updates everything was working perfect.

Unfortunately, this is not easy to verify if it only happens at your project. The issue can be caused by incompatibility between multiple components (plugins/configuration) or it could also be a framework bug. Overall, there should be clear steps to reproduce so we can work it out. So please try to follow the suggestion above.