Output with label X does not exist in any defined filter graph, or was already used elsewhere.

Describe the bug
I'm getting the following error:
Output with label 'out-v' does not exist in any defined filter graph, or was already used elsewhere.
when I'm trying to output a complex filter. The command works when running it in Terminal, but I can't seem to figure out the correct syntax for ffmpeg.wasm
Here's my code:
ffmpeg.FS('writeFile', name, await fetchFile(files[0]));             ffmpeg.FS('writeFile', 'speechbubble.png', await fetchFile('speechbubble.png'));             ffmpeg.FS('writeFile', 'speechbubble2.png', await fetchFile('speechbubble.png'));             await ffmpeg.run('-i', name, '-i', 'speechbubble.png', '-i', 'speechbubble2.png', '-filter_complex', "[0:v][1:v]overlay=192:108:enable='between(t,0,5)'[ov0]; [ov0][2:v]overlay=192:108:enable='between(t,5,10)',select='between(t,0,5)+between(t,10,15)',setpts='N/FRAME_RATE/TB'[out_v]", '-map', "[out-v]" , '-pix_fmt', 'yuv420p', 'output.mp4');             const data = ffmpeg.FS('readFile', 'output.mp4');             document.getElementById("result").src = URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }))
I've read in other tickets that -map and [out-v] should be split, which I've done, but it still says it can't find out-v in the defined filter graph.
Expected behavior
It should overlay 2 images are different intervals and trim the video length to the specified timestamps.
The original command that works when I run it in Terminal:
ffmpeg -i "/Users/username/projectdir/video.mp4" -i "/Users/username/projectdir/speechbubble.png" -i "/Users/username/projectdir/speechbubble2.png" -filter_complex "[0:v][1:v]overlay=192:108:enable='between(t,0,5)'[ov0]; [ov0][2:v]overlay=192:108:enable='between(t,5,10)',select='between(t,0,5)+between(t,10,15)',setpts='N/FRAME_RATE/TB'[out_v]" -map '[out_v]' -pix_fmt yuv420p output.mp4
Desktop (please complete the following information):

Chrome
ffmpeg.wasm v0.9.5

Full error log
https://pastebin.com/2dtQ00Ed

Turned out to be a simple mistype and not a syntax issue... after -map I had [out-v] instead of [out_v]


fix: modal scrollbar blink

close #510
the css that controls scrollbar to disappear, should exclude modal css.

Thanks for the fix!

@all-contributors please add @yuhang-dong for code


add jupyter notebook examples

Add jupyter notebook examples

@AngelVDelgadillo - Please have a look at this PR when you get a chance.


Component resources are orphaned after deleting Composite

Description:
I have created a composite pet-be-comp-to-comp-inst and after waiting for several minutes and the Composite failed to get ready. I tried to remove the composite using cellery as well as kubectl and the pods seem to not terminate.
After further investigations, the Component resources which had been created by the Cellery controller seem to be still present even though the Composite had been deleted. I also tried to remove the Components manually using kubectl and still failed to do so as it re-spawns back again (even though no Cell or Composite is present).

$ kubectl get cells
No resources found.

Observed this error in controller logs.
2019-11-15T04:46:46.137Z	INFO	component-controller.events	record/event.go:258	Event(v1.ObjectReference{Kind:"Component", Namespace:"default", Name:"pet-be-comp-to-comp-inst--catalog", UID:"99d69b9d-0762-11ea-8b75-080027a1c74b", APIVersion:"mesh.cellery.io/v1alpha2", ResourceVersion:"80372", FieldPath:""}): type: 'Warning' reason: 'InternalError' Failed to update cluster: multiple errors:
	- component: "pet-be-comp-to-comp-inst--catalog" does not own the Service: "pet-be-comp-to-comp-inst--catalog-service"
	- component: "pet-be-comp-to-comp-inst--catalog" does not own the Deployment: "pet-be-comp-to-comp-inst--catalog-deployment"
2019-11-15T04:46:46.449Z	DEBUG	component-controller	controller/controller.go:120	Processing "default/pet-be-comp-to-comp-inst--orders" from queue (depth: 0)
2019-11-15T04:46:46.449Z	INFO	component-controller	component/component.go:171	Reconcile called with default/pet-be-comp-to-comp-inst--orders
2019-11-15T04:46:46.450Z	INFO	component-controller	controller/controller.go:149	Reconcile failed	{"key": "default/pet-be-comp-to-comp-inst--orders", "time": "328.953µs"}
2019-11-15T04:46:46.450Z	ERROR	component-controller	controller/controller.go:160	error reconciling 'default/pet-be-comp-to-comp-inst--orders': multiple errors:
	- component: "pet-be-comp-to-comp-inst--orders" does not own the Service: "pet-be-comp-to-comp-inst--orders-service"
	- component: "pet-be-comp-to-comp-inst--orders" does not own the Deployment: "pet-be-comp-to-comp-inst--orders-deployment"

This fixed automatically after several minutes.
Observed the following logs in the controller side.
2019-11-15T04:49:39.692Z	INFO	composite-controller	composite/composite.go:109	Reconcile called with default/pet-be-comp-to-comp-inst
2019-11-15T04:49:39.845Z	DEBUG	composite-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst" to queue (depth: 0)
2019-11-15T04:49:39.869Z	DEBUG	composite-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst" to queue (depth: 0)
2019-11-15T04:49:39.899Z	DEBUG	composite-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst" to queue (depth: 0)
2019-11-15T04:49:39.900Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--orders" to queue (depth: 0)
2019-11-15T04:49:39.901Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--catalog" to queue (depth: 0)
2019-11-15T04:49:39.901Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--customers" to queue (depth: 0)
2019-11-15T04:49:43.152Z	ERROR	composite-controller	composite/composite.go:118	composite 'default/pet-be-comp-to-comp-inst' in work queue no longer exists
2019-11-15T04:49:43.751Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--customers" to queue (depth: 0)
2019-11-15T04:49:43.752Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--catalog" to queue (depth: 0)
2019-11-15T04:49:43.752Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--orders" to queue (depth: 0)
2019-11-15T04:49:43.752Z	DEBUG	component-controller	controller/controller.go:106	Adding key "default/pet-be-comp-to-comp-inst--controller" to queue (depth: 0)
2019-11-15T04:49:43.152Z	INFO	composite-controller	controller/controller.go:155	Reconcile succeeded	{"key": "default/pet-be-comp-to-comp-inst", "time": "3.530099018s"}
2019-11-15T04:49:43.821Z	DEBUG	composite-controller	controller/controller.go:120	Processing "default/pet-be-comp-to-comp-inst" from queue (depth: 0)
2019-11-15T04:49:43.821Z	INFO	composite-controller	composite/composite.go:109	Reconcile called with default/pet-be-comp-to-comp-inst
2019-11-15T04:49:43.821Z	ERROR	composite-controller	composite/composite.go:118	composite 'default/pet-be-comp-to-comp-inst' in work queue no longer exists

What is the setup you try?
Your kubectl version is 1.14 right? otherwise #722 maybe the cause.


Make debug bounds consistent with the help output

The help output suggests 1-4
-d               Debug  1-4, lib, ast, inst, incl, uhdm, coveruhdm, vpi_ids

I am also curious what is, "lib, ast, inst, incl, uhdm, coveruhdm, vpi_ids".
I think 1 for lib, 2 for ast, 3 for incl,  4 for uhdm but then what for coveruhdm and vpi_ids?

nvm I got confused with the help output thinking -d only takes an int,
-d <int>


Cannot log in with cookie. - /mypage.php 301 redirects to /

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
When PixivUtil tries to login using a cookie it breaks because pixiv.net/mypage.php now 301 redirects to pixiv.net. Removing the cookie from the config file works, but will break the program again on next use.
Latest trace
2019-06-07 17:54:05,203 - PixivUtil20190606 - INFO - Trying to log in with saved cookie
2019-06-07 17:54:15,112 - PixivUtil20190606 - ERROR - Error at doLogin(): (<class 'mechanize._response.httperror_seek_wrapper'>, <httperror_seek_wrapper (urllib2.HTTPError instance) at 0x482af80 whose wrapped object = <closeable_response at 0x48a3210 whose fp = <response_seek_wrapper at 0x489cc88 whose wrapped object = <closeable_response at 0x489ca80 whose fp = <socket._fileobject object at 0x0488BD70>>>>>, <traceback object at 0x04830210>)
2019-06-07 17:54:15,112 - PixivUtil20190606 - ERROR - Traceback (most recent call last):
File "PixivUtil2.py", line 2102, in doLogin
File "PixivBrowserFactory.pyc", line 234, in loginUsingCookie
File "PixivBrowserFactory.pyc", line 145, in open_with_retry
File "mechanize_mechanize.pyc", line 253, in open
File "mechanize_mechanize.pyc", line 309, in _mech_open
httperror_seek_wrapper: HTTP Error 301: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Moved Permanently
2019-06-07 17:54:15,114 - PixivUtil20190606 - ERROR - Cannot Login!
2019-06-07 17:54:15,114 - PixivUtil20190606 - ERROR - Traceback (most recent call last):
File "PixivUtil2.py", line 2299, in main
File "PixivUtil2.py", line 2109, in doLogin
PixivException: 1005 Cannot Login!, hasDumpPage=N

Weird, works on my side (both script and compiled version). IT doesn't show redirect error.
2019-06-08 00:23:09,193 - PixivUtil20190606 - INFO - Starting with argument: [D:\...\PixivUtil2.exe].
2019-06-08 00:23:09,194 - PixivUtil20190606 - INFO - Setting log level to: DEBUG
2019-06-08 00:23:09,194 - PixivUtil20190606 - INFO - No default cookie jar available, creating...
2019-06-08 00:23:09,194 - PixivUtil20190606 - INFO - Using default factory (mechanize 3.x ?)
2019-06-08 00:23:09,690 - PixivUtil20190606 - INFO - Using default DB Path: D:\...\db.sqlite
2019-06-08 00:23:09,691 - PixivUtil20190606 - INFO - Using local timezone: +08:00
2019-06-08 00:23:09,693 - PixivUtil20190606 - INFO - Using Username: ...
2019-06-08 00:23:09,693 - PixivUtil20190606 - INFO - Trying to log in with saved cookie
2019-06-08 00:23:11,885 - PixivUtil20190606 - INFO - Login successful.
2019-06-08 00:23:11,885 - PixivUtil20190606 - INFO - Logged in using cookie

Huh, very weird. Perhaps they briefly f'ed something up, as the trace does mention getting stuck in a 301 loop. Everything seems to be working fine again now, consider the solved.


Implement verbose levels

Verbose levels and log levels are since now the same thing.
Set separate message level with lb_set_displaylevel

Depends on #41


16bpp

It can't work in 16bpp,the view dosen't show,how to fix it?

At the moment there is only 24 truecolor and 8bpp supported. Also ZRLE is not yet support. Please take a look on the release notes and roadmap.


Text Entry - distinct query fix field fix

The entry.edit.query is currently being ignore as:
template: entry.edit.query || entry.json_field ? 'distinct_values_json' : 'distinct_values'

(ui/locations/text.mjs/line87)
Will cause distinct_values_json to be used if either entry.edit.query is supplied or if json_field is supplied.
This PR will fix that behaviour.

Did you test this with a json_field entry as well?


5.6.5 Ensure default user umask is 027 or more restrictive: CIS-CAT check fails.

Describe the Issue
CIS-CAT fails for this test, because it expects an entry
session     required            pam_umask.so'
in /etc/pam.d/system-auth
Remediation does not cover issue.
Expected Behavior
CIS-CAT Assessment pass.
Actual Behavior
CIS-CAT Assessment fail.
Control(s) Affected
5.6.5 Ensure default user umask is 027 or more restrictive.
Environment :

branch being used: devel
Ansible Version: 2.15.4
Host Python Version: 3.9.6
Ansible Server Python Version: 3.9.16
Additional Details: N/A

Additional Notes
N/A
Possible Solution
Fix on cis_5.6.x.yml
      - name: "5.6.5 | PATCH | Ensure default user umask is 027 or more restrictive | Force umask on sessions /etc/pam.d/system-auth"
        ansible.builtin.lineinfile:
            path: /etc/pam.d/system-auth
            line: 'session     required            pam_umask.so'
            insertafter: EOF

Should have been opened, on RHEL9-CIS.

hi @brisky
Im afraid this is another one of the false positives i believe, for this control there is two documented ways of doing it. We have chosen to do the second way with a script. In this case we could create a whole new optional plan that its to the used to decide which way to implement it. But i believe the scanners still checks for both?
Example:
Run the following command and remove or modify the umask of any returned files: Follow one of the following methods to set the default user umask:
Edit /etc/login.defs and edit the UMASK and USERGROUPS_ENAB lines as follows:
Edit the files /etc/pam.d/password-auth and /etc/pam.d/system-auth and add or edit
the following:
session     optional      pam_umask.so

OR Configure umask in one of the following files:

• A file in the /etc/profile.d/ directory ending in .sh
• /etc/profile
• /etc/bashrc

Example: /etc/profile.d/set_umask.sh
umask 027

I hope that helps?
thanks
uk-bolly

Yes, the scanner still checks for both, that's why.

hi @brisky
Thank you for confirming, so it is checking for both but only one requires setting to adhere to their baseline.
I will look to see if we can add the user option as mentioned, this will be added to the current work load.
many thanks
uk-bolly

hi @brisky
Getting chance to look at this again, no matter what we do, we could apply one way or the other. The scanner will still give out a false positive, unless you are able to configure it to pass if one of the methods passes?
So as this currently stands unless we add more config and another option to allow uses to configure how they like. This will still have no impact on the false positive.
I don't believe as it stands thats this is a bug as one of the required methods is being adhered to.
We would just be trying to solve another products issue.
thanks
uk-bolly


FR: jimp - add more functions (resize, rotate, etc)

Currently the "jimp node" only supports cropping, but the jimp library offers more image manipulation function.
Because of the name, it would be nice, if the node would support at least the most used jimp functions. Otherwise it should be renamed to "node-red-contrib-jimp-crop", cause the current naming implies that it's a wrapper to the whole jimp library.

For now it only support croping and will evolve later that's why it is called node-red-....-jimp.
It is called node-red-contrib-viseo-jimp in NPM and not node-red-contrib-jimp because this node is part of a larger library


Move side panel button lower

A few people have complained about the Camera Points being above the Configuration button used to manage all plugins. Ideally Configuration should be the highest button on the side panel.

Oh, I thought it would just appear there while debugging, I didn't realise it would actually stay there if you remove the priority
I will change that back to how it was then, thank you

Since I wanted to do a few little changes anyways I just added the priority myself, thank you for the PR though!


Vulkan dump resources: No separate alpha for images dumped raw

CI gfxreconstruct build queued with queue ID 328868.

CI gfxreconstruct build queued with queue ID 328892.

CI gfxreconstruct build # 5631 running.

CI gfxreconstruct build # 5631 passed.


412 Precondition Failed - but why?

my spec runs are bombing out, and even looking at the full backtrace is not helpful in determining why.  I am able to do a full converge in test-kitchen, so I'm not sure why its not happy.
how do I track down why its bombing out, and is there a way to have chefspec display said info by default?
╭─jplimack@jplimack ~/repos/myOrg-loadbalancer_filter  ‹feature/derps*›
╰─➤  rspec -fd
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 56652

myOrg-loadbalancer_filter::multibinder
  When all attributes are default, on an CentOS 7.2.1511
    converges successfully (FAILED - 1)

Failures:

  1) myOrg-loadbalancer_filter::multibinder When all attributes are default, on an CentOS 7.2.1511 converges successfully
     Failure/Error: expect { chef_run }.to_not raise_error

       expected no Exception, got #<Net::HTTPServerException: 412 "Precondition Failed "> with backtrace:
         # ./spec/unit/recipes/multibinder_spec.rb:13:in `block (3 levels) in <top (required)>'
         # ./spec/unit/recipes/multibinder_spec.rb:17:in `block (4 levels) in <top (required)>'
         # ./spec/unit/recipes/multibinder_spec.rb:17:in `block (3 levels) in <top (required)>'
     # ./spec/unit/recipes/multibinder_spec.rb:17:in `block (3 levels) in <top (required)>'

Finished in 6.62 seconds (files took 3.19 seconds to load)
1 example, 1 failure

Failed examples:

rspec ./spec/unit/recipes/multibinder_spec.rb:16 # myOrg-loadbalancer_filter::multibinder When all attributes are default, on an CentOS 7.2.1511 converges successfully

require 'spec_helper'

describe 'myOrg-loadbalancer_filter::multibinder' do
  context 'When all attributes are default, on an CentOS 7.2.1511' do
    let(:chef_run) do
      runner = ChefSpec::ServerRunner.new(platform: 'centos', version: '7.2.1511')
      runner.converge(described_recipe)
    end

    it 'converges successfully' do
      expect { chef_run }.to_not raise_error
    end
  end
end

interestingly, if I comment out the convergence test, it finds no resources
Finished in 1.71 seconds (files took 3.2 seconds to load)
1 example, 0 failures

Randomized with seed 63473

  No Chef resources found, skipping coverage calculation...

this was caused by my cookbook name not matching the directory it was in, so the chefdk generator had pointed the spec file at the wrong recipe name.


Enhance Flow support in monorepo

Implements https://github.com/uber/fusionjs/pull/175

!resync

!resync

!resync

!resync

!resync

Closing this in favor of manually syncing this one commit.


3.5.1 version without  scala 2.13

There is no compiled version of scala 2.13 in the released 3.5.1 version, which is available at https://repo1.maven.org/maven2!
#################
@getquill/maintainers

Published now.


Support Postgres as a persistence backend

This PR adds the possibility to use Postgres as a backend to persist data for an Ockam node.
In order to use a Postgres database simply set the following environment variables:

OCKAM_POSTGRES_HOST: for example localhost
OCKAM_POSTGRES_PORT: for example 5432
OCKAM_POSTGRES_DATABASE_NAME (optional): for example postgres
OCKAM_POSTGRES_USER (optional): for example admin
OCKAM_POSTGRES_PASSWORD (optional): for example password

Implementation notes
This PR touches a large number of files and the following sections will help the reviewer understanding the changes.
Driver
The sqlx library provides an Any driver, which replaces the SQLite driver used before this PR.
With the Any driver and its associated types, AnyConnection, AnyPool, Type<Any> etc... we can open a connection to either a SQLite or a Postgres database by specifying the proper URL:

sqlite:file:in-memory?mode=memory&cache=shared for an in-memory SQLite database
sqlite:file://my-file?mode=rwc for an on-disk SQLite database
postgres://admin:password@localhost:5432/postgres for a Postgres database

This logic is encapsulated in a new DatabaseConfiguration type.
The result of this driver change is that a number of method signatures had to be changed from ... SQLite ... to ... Any ....
Queries
Some queries had to be changed in order to work with both databases.
In particular the queries of the form INSERT OR REPLACE don't work with Postgres. Those queries have been replaced with INSERT ... ON CONFLICT ... DO UPDATE | NOTHING.
Data types serialization
The mapping of Rust types to database types is quite different between SQLite and Postgres.
To support this properly:
The ToSqlxType typeclass has been removed in favor of using the Encode and Type typeclasses from sqlx directly. While this typeclass was useful when using SQLite only, it became a source of encoding bugs with both Postgres and SQLite.
Reading boolean and optional values from the database was not working out of the box. This was fixed via:

A Boolean datatype to read a boolean value from a database column
A Nullable<T> datatype to read an optional value from a database column possibly containing NULL values
Two PRs to the sqlx library:

https://github.com/launchbadge/sqlx/pull/3291 (merged) to support the Bool type.
https://github.com/launchbadge/sqlx/pull/3298 (not yet merged) to track null values types.
This explains why the sqlx dependencies mentioned in the Cargo files now point to a fork.

Tests
Repositories
All the repositories code is now tested with 3 databases: SQLite in-memory, SQLite on-disk and Postgres (if available in the environment). This test support is provided by the sqlx_database::with_dbs function.
Execution
Note that you need to run the tests sequentially if you run them with a local Postgres database since it will be shared between all tests. For example:
cargo --locked nextest --config-file ./tools/nextest/.config/nextest.toml run --no-fail-fast --test-threads 1

Clean-up
For the same reason, some system tests are now calling TestNode::clean() in order to make sure that the database is cleaned-up before the test runs.
CI
I have added a CI job to run all the nextest test suite with a Postgres database. That job only selects test names containing sql, to cover all the repositories, and cli_state to test the high-level behavior which generally involves some persistence.
Vaults
The modeling for vaults has changed slightly. An enum has been introduced to represent exactly a vault metadata:
pub enum VaultType {
    DatabaseVault {
        use_aws_kms: UseAwsKms,
    },
    LocalFileVault {
        path: PathBuf,
        use_aws_kms: UseAwsKms,
    },
}

A vault is either stored directly in the database, with some dedicated tables, or in a file (using SQLite).
The naming of is_kms has been changed to use_aws_kms to indicate that:

If the Vault uses a KMS it is specifically an AWS one
Not all of the Vault data is stored in the KMS. Some data is still stored locally, only the signing keys are stored in the KMS.
I have also made some change to the output of ockam vault list/show to better reflect the vault types:

❯ ockam vault list
   │ Name: default
   │ Type: Internal

   │ Name: v1
   │ Type: External
   │ Path: /Users/etorreborre/.ockam-4/vault-v1

   │ Name: v2
   │ Type: External
   │ Path: /Users/etorreborre/.ockam-4/second-vault

   │ Name: v3
   │ Type: External
   │ Path: /Users/etorreborre/.ockam-4/vault-v3
   │ Uses AWS KMS: true

The JSON output of the ockam vault show command also changes. This is not necessarily the best JSON output but I didn't try to improve it for now.

Nice!


Feature request: OAuth redirect should gracefully handle user explicit cancellation

Hi,
I'm not sure how this works with other providers, but with Facebook, if the user presses Cancel instead of continuing:

The oauth2-redirect throws this error:

Which causes some confusion to users, they're expecting to be able to reauth and try again.
The params passed by Facebook to the redirect do include error=access_denied&error_code=200&error_description=Permissions+error&error_reason=user_denied
Would it be reasonable for the redirect handler:
https://github.com/pocketbase/pocketbase/blob/9419d1928acc8ec3bc6027d16c830e25394eb8bc/apis/record_auth.go#L661
to check for error_reason=user_denied and emit a close event of the modal via the realtime subscription?
Happy to research more and observe how other providers do user cancellation to have a generic solution for the handler.
Let me know your thoughts?
Thank you,

I don't think error_reason is part of the OAuth2 spec and will differ for the different provider APIs.
I'm also not sure that I understand what is the desired behavior here. Could you elaborate a little more with your expected flow?

Will have to be researched better but based on OAuth2 possible errors it seems that in case of an error there should be error and optionally error_description and error_uri.

Hm, on second read I think I understand what do you mean.
Yes, it should be doable to use the realtime subscription as long as the error request has also the state query parameter because that is the realtime OAuth2 client id.
I'm not sure at the moment about the format of the event data but I guess we can also pass the error field and check it from within the client-side and trigger the cleanup procedures (both JS and Dart SDKs will have to be updated).
I think it maybe also a good idea to have a generic OAuth2 failure HTML screen and redirect to it instead of the json response (similar to the current success one) because there are some situations where calling window.close may not be allowed.
I'll leave it for tomorrow to think a little more on it.

Thank you, it's not urgent at all, but a really good nice to have.

The OAuth2 redirect error handling was updated in the develop branch and the changes will be available with the next v0.21.0 release.
Now instead of returning a json response we are redirecting to a generic error HTML page that will attempt to autoclose the OAuth2 window. If it fails (eg. doesn't satisfy the window.close requirement or is not a native browser window), the user will see a generic text like:
Auth failed.
You can close this window and go back to the app to try again.

The SDKs will be also updated sometime later this weekend to handle the error key in the @oauth2 realtime event and throw an error to reject the Promise/Future of the authWithOAuth2() call.

Thank you @ganigeorgiev much appreciated 🙇
If you'd like me to address the SDK's let me know. I'd be honoured to contribute with this, or any other little bit, to take some workload of you, especially these least important features.


Setup jsx-a11y/alt-text ESLint rule properly

Describe the bug
We have enabled the jsx-a11y/alt-text ESLint rule, but it didn't report the error since we are using a custom Image component for rendering the img tag.
Give the steps to reproduce

Create img tag without a alt property
Run ESLint: doesn't report the missing alt property
Use browser dev tools to inspect img, see missing alt text

Have you thought of a possible solution?
Setup jsx-a11y/alt-text ESLint rule properly so we catch problems with our alt text in other parts of the site as well.
Do you want to help fix the bug?
I don't know how to setup ESLint correctly so that it catches this error properly.

Damn! I fixed this without realizing I did it directly pushing to main branch 🤦♂
This is the commit: https://github.com/Belco90/octoclairvoyant/commit/6827723ce53a3858990b5f5a635082314668ab06
It turns out jsx-a11y/alt-text was already setup properly by eslint-config-next. However, I didn't setup this config properly, so it's fixed now. You can see it complains if I remove the alt prop:

Apart from that, I replaced the xo base config with kentcdodds one because xo 1) doesn't seem properly maintained (or some subconfigs at least) and 2) it was colliding with TS config in a really strange way. I know kentcdodds config (it has nice defaults) so I'm switching to one then.
I also set ESLint max warnings to 0 since some configs are enabling some rules as warnings, so we don't allow pushing code with warning problems either.
If you are happy with those changes, feel free to close this issue. If you prefer me to revert everything and put it in a proper PR, let me know and I can do it later.

It turns out jsx-a11y/alt-text was already setup properly by eslint-config-next. However, I didn't setup this config properly, so it's fixed now. You can see it complains if I remove the alt prop:

Cool! That's what we wanted! 😄

Apart from that, I replaced the xo base config with kentcdodds one because xo 1) doesn't seem properly maintained (or some subconfigs at least) and 2) it was colliding with TS config in a really strange way. I have used kentcdodds config before and it has nice defaults, so I'm switching to one then.

Let's use the package/config we know works properly then. 😉

I also set ESLint max warnings to 0 since some configs are enabling some rules as warnings, so we don't allow pushing code with warning problems either.

Agree! We should try to fix stuff right away, instead of leaving it till later.

If you are happy with those changes, feel free to close this issue. If you prefer me to revert everything and put it in a proper PR, let me know and I can do it later.

I'm happy with these changes! Thank you for fixing the config! ❤

Issue closed by commit 6827723


[WIP] Angular adapter

Hi Enea

This PR starts an initial Angular adapter that has an API like so:
import { Component } from '@angular/core'
import { injectForm, TanStackField } from '@tanstack/angular-form'
import { NgFor } from '@angular/common'

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [TanStackField, NgFor],
  template: `
    <form (submit)="handleSubmit($event)">
      <ng-template
        [tanstackField]="form"
        name="firstName"
        [validators]="{ onChange: required }"
        let-field
      >

First name:

          <input
            [value]="field.state.value"
            (blur)="field.handleBlur()"
            (input)="field.handleChange($any($event).target.value)"
          />

          {{ error }}

      </ng-template>
      <button>Submit</button>
    </form>
  `,
})
export class AppComponent {
  required = ({ value }: { value: string }) => {
    return !value ? 'Required' : undefined
  }
  form = injectForm({
    defaultValues: {
      firstName: 'Ryan',
      age: 25,
    },
    onSubmit({ value }: any) {
      console.log({ value })
    },
  })

  handleSubmit(event: SubmitEvent) {
    event.preventDefault()
    event.stopPropagation()
    void this.form.handleSubmit()
  }
}

This should work with any of the adapters (Zod) OOTB day 1.
This is still WIP despite working as we're waiting for:

[ ] TypeScript type validation
[ ] Tests
[ ] Docs
[ ] Fixing configuration to publish the package on merge

This API was directly inspired by conversations I had with @nartc who brainstormed the initial API. Thank you!

Codecov Report
Attention: Patch coverage is 25.64103% with 29 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (fix-nested-types@37b8c1d). Click here to learn what that means.

Files
Patch %
Lines

...kages/angular-form/src/tanstack-field.directive.ts
0.00%
22 Missing and 1 partial :warning:

packages/angular-form/src/inject-form.ts
0.00%
4 Missing :warning:

packages/form-core/src/FieldApi.ts
66.66%
1 Missing :warning:

packages/react-form/src/useField.tsx
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                 Coverage Diff                 @@
##             fix-nested-types     #627   +/-   ##
===================================================
  Coverage                    ?   86.05%
===================================================
  Files                       ?       30
  Lines                       ?      839
  Branches                    ?      188
===================================================
  Hits                        ?      722
  Misses                      ?      109
  Partials                    ?        8

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

Per a conversation with @alxhub at ngConf, the API has shifted from:
<ng-template
  [tanstackField]="form"
  name="firstName"
  [validators]="{ onChange: required }"
  let-field
>

First name:

    <input
      [value]="field.state.value"
      (blur)="field.handleBlur()"
      (input)="field.handleChange($any($event).target.value)"
    />

    {{ error }}

</ng-template>

To:
<ng-container
  [tanstackField]="form"
  name="firstName"
  [validators]="{ onChange: required }"
  #f="field"
>

First name:

    <input
      [value]="f.api.state.value"
      (blur)="f.api.handleBlur()"
      (input)="f.api.handleChange($any($event).target.value)"
    />

    {{ error }}

</ng-container>

This should have better performance heuristics as well as a nicer DX


Info for selected text doesn't work on Live Preview.

Yes, tried to fix this yesterday but couldn't find a working example/syntax to fix it.

Looks as if CM6 is more problematic for plugin developers than Licat expected

Latest version should have this fixed.  Not sure it's a CM6/general developer problem so much. This is my first typescript project, first obsidian plugin dev project, and so on.  Most likely, experienced devs (for this language) would be fine.


A POC for replacing explicit null-checks by automatically generated

This PR illustrates an approach when explicit null-checks are replaced by those automatically generated during compilation based on source code annotations.
Let's consider ArrayMap. containsValue() as an example:
Source code before
public boolean containsValue(Object value) {
   Objects.requireNonNull(value);
   for (int i = 0; i < values.length; ++i) {
      Object v = values[i];
      if (v != null && v.equals(value)) return true;
   }
   return false;
}

Source code after
public boolean containsValue(@Nonnull Object value) {
   for (int i = 0; i < values.length; ++i) {
      Object v = values[i];
      if (v != null && v.equals(value)) return true;
   }
   return false;
}

Resulting bytecode looks like if it's compiled from the source below:
public boolean containsValue(@Nonnull Object value) {
   if (value == null) {
      throw new NullPointerException("value is mandatory");
   }
   for (int i = 0; i < values.length; ++i) {
      Object v = values[i];
      if (v != null && v.equals(value)) return true;
   }
   return false;
}

That is achieved by the Traute javac plugin. If the team likes the approach, I'm ok with applying it to the whole project in a current/new PR.

Closing this. I'll reopen it in early 9.3.x


Improve formatting of Project Settings page

settings labels fit on one line, particularly on a larger screen
improve padding
vertically align label with its control (if that makes sense)
collapse Self Report Default when disabled

PR: https://github.com/NationalSecurityAgency/skills-service/pull/3049

:+1:


chore: bump mehari to 0.6.2

@Nicolai-vKuegelgen The release of mehari v0.6.2 is still pending. I'll send a cluster file system path to a working project via Teams.

coverage: 85.358% (-0.02%) from 85.381% when pulling 6f626d3a5e56f97f56f555b1ffebf4552783da61 on chore-bump-mehari into 46782861e89b59b471e9bb4d5945af4307f501e9 on main.


How to use Batch Unsubscribe?

I checked your tutorials, There is option to add Subscribers in Batch, but there is not option to unsubscribe users in batch?
Is there any option to unsubscribe users in batches or bulk?
Because delete function will delete 1/1 and it will take time.
Also one more query, to add first_name, last_name we need to use function patch for that. is there any method to add users directly through batch function?

This library doesn't implement any of the API's functionality - you need to find the methods you want to execute in the MailChimp docs and then this library should enable you to execute them.
If there's something in the MailChimp API that you could do with a raw cURL request but can't do with this library, please feel free to raise an issue with the specifics of that case. Thanks!


select dropdown with checkboxes does not attach ng-model with them

I think this is not yet implemented yet

Ehh, gonna need some more information here.
Because when you say. "select dropbox with checkboxes", i think the "multiple" example that can be seen here:
http://krescruz.github.io/angular-materialize/#select
And ng-model works fine with that, as you can see in the example.
This issue is closed until you link to a page (like JSFiddle or whatever), that shows something that is supposed to work, that doesn't work.

My bad on that one man, was using an older version of angular-materialize and forgot to check the new one. I'm Sorry!


ClientResponseError: Something went wrong while processing your request

Afternoon,
Pretty sure its me, I am just trying to use a computer separate to my local machine to test but im getting the ClientResponseError.
I'm guessing it is a CORS issue as on my local machine the realtime works fine. I am just running pocketbase standard <IP_ADDRESS>:8090 and <IP_ADDRESS>:8090.
Not sure what the solution is.

You can wrap the call with try/catch inspecting error object to see if there is more detailed message, eg:
try {
    await pb.collection("example").getList(1, 30);
} catch (err) {
    console.log(err.response)
    console.log(err.originalError)
}

Yeh I get Error: Failed to establish realtime connection, and before that Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://<IP_ADDRESS>:8090/api/realtime.

Can you add trusted IP's to Pocketbase?

I'm not sure that I understand what do you mean. PocketBase by default allows all origins (aka. *), unless you've explicitly set the --origins flag.
Are you sure that your localhost is accessible from the network you are testing?

I don't know how to reproduce it.
Are you able to access the Admin UI when you try with http://yourlocalip:8090/_/?
Note that when you initialize the JS SDK you have to use also the public address (in your case your local ip instead of <IP_ADDRESS>/localhost)
Alternatively, you can also expose your localhost with something like ngrok.

Ok in my svelte app i have a hooks.server.ts running a handle function.
export const handle = (async ({ event, resolve }) => {
    event.locals.pb = new PocketBase('http://<IP_ADDRESS>:8090');
    const response = await resolve(event);
    return response;
}) satisfies Handle;

and pocketbase is also running on http://<IP_ADDRESS>:8090'
I can access the Admin UI from my dev computer and the second computer.
However on my second computer I can use Realtime or update the database.

Looks like RealTime runs separately on <IP_ADDRESS> plus CORS issue.

Ok solved it, the issue is you need to have a PocketBase instance on the client side to, I was trying to pass it around using the handle function as that runs on every request.


Pack bench large trees

Hi!
This adds an executable that repeatedly adds files to a directory. This shows how tree operations perform.
I parameterized this:
if a number is passed as a command line argument, it will be used as number of commits.
dune build @bench will run this with ncommits=1000.

On Linux, you can use this to find hotspots for tree addition using perf and flamegraph:
Collect data:
% perf record -g --call-graph=dwarf ./_build/default/src/irmin-pack/bench/pack_bench.exe
ok
[ perf record: Woken up 166 times to write data ]
[ perf record: Captured and wrote 41.485 MB perf.data (5153 samples) ]

Generate flamegraphs (using this repository):
% perf script| ~/src/FlameGraph/stackcollapse-perf.pl|sed 's/;camlLwt__\w\+//g'|~/src/FlameGraph/stackcollapse-recursive.pl|~/src/FlameGraph/flamegraph.pl > fg.svg

Find what's going on in add_to_todo:

Thanks for the flamegraph tips. I'll merge this for now, subsequent improvements could be done in subsequent PRs.


PoC: Generate a 1ES managed image based on one of the base image definitions in helix-machines

Test what it would look like to deploy a 1es managed image that generates one of the images we currently generate using the image factory CLI.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

I started by manually attempting to recreate one of the VS images. Specifically the helix-server-datacenter-2022-vs2-2022-preview-enterprise image.
I manually created a 1es image resource in the portal based on the properties of this image. I was able to mostly specify the artifacts as they were in the json definition, except I had to replace all uppercase property names with lowercase.
Once the Azure resource is created, Image Factory is then called asynchronously to provision the internal image. The portal mentions this could take 2-5 hours. While the image is generating, the ARM template for the resource includes the image factory status:
        "subscriptionType": "Azure",
        "imageType": "Managed",
        "provisioningState": "Updating",
        "requestId": "de3c2285-0c81-475b-9702-6be31e6728bf"

so during deployments we have to account that it's not enough to deploy the resource to ensure the image is valid and works.
We should look more into the image validation features: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-managed-images/validation which could mean we don't wait for the images to be ready, and instead use the validation pipelines to make sure everything went well after the fact.

Once this manual image is ready my next steps will be to recreate this programatically.

This PoC was done and we determined this was feasible.


Check that the leveling-off test yields correct p-values

Per call:  check that the leveling-off test yields correct p-values

Thanks @Constantino-Carreto-Romero! Here is a small folder where I replicate what we saw in the call this week: issue132_stata.zip
(Happy to add it in a new branch if I can get write access @jorpppp @jmshapir)
To summarize the issue here, we used some data from the paper to run the following code:
clear all

import delimited "data_dynamic.csv"

xtset id t

foreach yvar in y_base y_smooth_m y_jump_m {

  xtevent `yvar' x_r, policyvar("z") panelvar("id") timevar("t") ///
    post(3) overidpost(1) pre(0) overidpre(3) norm(-1) ///
    reghdfe

  xteventplot, smpath(line) ///
    graphregion(color(white)) bgcolor(white)

  graph export STATA/`yvar'.png, replace width(1700) height(1214)
}

The data are available in the zip file.
This produces figures where the levelling-off p-value seems weird. In the call it was hypothesized that the p-value may actually correspond to a test of the last coefficient equal to zero.

Click to see figures

outcome
figure

base

smooth

jump

I'll be able to look into this next week. I haven't explored xtevent's code that much, so I might be somewhat inefficient. fyi @jorpppp @jmshapir @SimonFreyaldenhoven

Thanks @santiagohermo! No need for you to investigate further just now. Let's see how @jorpppp prefers to proceed and we can take it from there.

Thanks @santiagohermo. I think there may be an issue with specifying leads and lags with overidpre and overidpost. I'll check it and fix here.

There was a bug in xteventtest when the leads and lags were specified using pre, overidpre, post, and overidpost, as opposed to using window. @SimonFreyaldenhoven was right: The test that was displayed was for the last coefficient being different from zero.
This bug did not affect the plots when the leads and lags were specified through the window  option.
I fixed the bug in https://github.com/JMSLab/xtevent/commit/45cbc77c3fb742554a1cdb6830d349d40dc01dd7. Will start a PR.

Summary: In this issue we fixed a bug with the p-value for the leveling-off overidentification test when overidpostwas active.
Thread continues in #134


Addons not installing

Hi,
Did a fresh hassio install (flashed sd card with hassio 1.10). But when trying to install addons from official as well community repository i get "addon not installed". I tried  a few addons like portainer, node-red, mosquitto and zigbee2mqtt.
I added a few screenshots.
If additional info is needed please request.
Edit
I tried the 64 bit image for rpi-3 and had no problems installing addons only with the 32 bit version
Node-Red install failed

Zigbee2mqtt install failed

/move home-assistant/hassio

wrong repository


docs: Update CONTRIBUTING.md with integration test instructions

Currently information about developing and test are written inside of
README.md meanwhile it will be better suited placed inside of CONTRIBUTING.md.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

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

Fixes #2428 ☕

Thanks for the contribution!


Use batch_size=10 for SQS

Change the default batch_size for SQS from 1 to 10.
To support this well, we should also drop messages that are too big/rejected by SQS in a batch.

This is done


Add destroy method

Hi.
I try to change the format on the fly. There are two options I tried:
picker.set ({ format: 'dd.mm.yyyy' });
does nothing and there's no way to destroy and recreate the component (see https://jsfiddle.net/vxbfy0ob/2/). I also want to change the labels text so a destroy method is very important, escpecially when you think of a geater app which needs to free resources.
Cheers.

http://amsul.ca/pickadate.js/api/#method-start-stop


fix RoundtripAnimationPatches

see also https://github.com/libjxl/libjxl/pull/3046

fixing https://github.com/libjxl/libjxl/actions/runs/8893070580/job/24421140850

This was broken by https://github.com/libjxl/libjxl/pull/3535


Stack overflow while trying to type-check the following program

Hi,
The following program sends F* into a stack overflow.
Thanks,
Jonathan
module SO

open FStar.Tactics

let resolve' (): Tac unit =
  // dump "blah"
  let rec try_binders (bs: binders): Tac unit =
    match bs with
    | [] -> fail "found no suitable type class"
    | b :: bs ->
        let b, _ = inspect_binder b in
        try exact (pack_ln (Tv_BVar b))
        with | TacticFailure _ -> try_binders bs
  in
  try_binders (binders_of_env (cur_env ()))

CC @mtzguido

(note that the solution is to just not use a local let-rec)

Could this be related to #1103 maybe? There are more problems with nested let recs though, like #851.

The problem here was a loop between the normalizer and the SMT encoding. When reifying the body of try_binders, the normalizer is called on it with zeta enabled. The normalizer does not loop, but the SMT encoding descends on the result, which includes another try_binders call, so this will loop. My fix was to disable zeta for this reification.

Thanks Guido!


Use the array we already have open to generate the Arrow schema.

Not related to anything in particular, just something I noticed in the course of other stuff.

Codecov Report
Base: 79.08% // Head: 90.01% // Increases project coverage by +10.93% :tada:

Coverage data is based on head (29e9d92) compared to base (cd22dcc).
Patch coverage: 88.88% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #869       +/-   ##
===========================================
+ Coverage   79.08%   90.01%   +10.93%
===========================================
  Files          70       30       -40
  Lines        3562     1903     -1659
===========================================
- Hits         2817     1713     -1104
+ Misses        745      190      -555

Flag
Coverage Δ

python
90.01% <88.88%> (+0.04%)
:arrow_up:

r
?

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

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/util_arrow.py
92.85% <87.50%> (-0.13%)
:arrow_down:

apis/python/src/tiledbsoma/tiledb_array.py
100.00% <100.00%> (+2.04%)
:arrow_up:

R/SOMAMeasurement.R

R/utils-arrow.R

R/SOMAExperiment.R

inst/tiledb/include/tiledb/dimension.h

inst/tiledb/include/tiledb/query.h

inst/tiledb/include/tiledb/array_schema.h

src/rutilities.h

inst/tiledb/include/tiledb/exception.h

... and 33 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Looks reasonable! One Q, one nit, but approving as is.
What happens if the array is closed? Can the schema still be accessed w/o reopening (as the earlier implementation would have done)?

The schema cannot be accessed while the array is closed, no; however I think this is a pretty reasonable limitation (i.e., you can only do things with an opened array).

Nit: we should update the docstring in _tiledb_array_schema(), which reads "Returns the TileDB array schema. Not part of the SOMA API; for dev/debug/etc.".

Updated. Thank you!


gha: Use ubuntu-24.04 for all workflows

Explicitly set runner as ubuntu-24.04 instead of floating tag e.g. ubuntu-latest. Renovate can still be used for automatic update if required.
Relates: https://github.com/actions/runner-images/issues/10636

/test

/test

/test

/test


New-AzureRmWebAppSSLBinding uploads certificate to a different webspace than the App Service hosted in an Azure Service Environment

Steps to reproduce

Create an Azure Service Environment
Create an Azure Service Plan inside above ASE
Create an Azure App Service inside above ASP
Set WEBSITE_LOAD_CERTIFICATES app setting to "*"
Call New-AzureRmWebAppSSLBinding with a private certificate (.pfx)

Expected behavior
certificate uploaded to the same webspace as the App Service and visible under SSL Settings on the Azure Portal for that App Service

Actual behavior
certificate uploaded to a different webspace than the App Service and not visible from SSL settings for the App Service

Environment data

I'm assuming this is Windows PowerShell, which we don't
support in this Github repository.
zure issue! You need to post it in the Azure PowerShell repository at: https://github.com/Azure/azure-powershell
Make sure to provide all the information required to help troubleshoot the issue with the correct PowerShell and Azure Module version.
On December 18th, the new Azure module was released:
Az Module version 1.0  - new AzureRM module (now called Az) available for both Windows PowerShell and PowerShell Core: https://azure.microsoft.com/en-us/blog/azure-powershell-az-module-version-1/?utm_source=dlvr.it&utm_medium=linkedin
We encourage you to try this new module moving forward.
Instead of using the New-AzureRmWebAppSSLBinding, try using:
New-AzWebAppSSLBinding
Then, log any issue found in the proper repository.
Thanks for your contribution!


Polio-1338 fix supplychain layout (mui migration)

improve layout somewhat, fix MUI5 migration bugs
Related JIRA tickets : POLIO-1338
Self proofreading checklist

[ ] Did I use eslint and black formatters
[ ] Is my code clear enough and well documented
[ ] Are my typescript files well typed
[ ] New translations have been added or updated if new strings have been introduced in the frontend
[ ] My migrations file are included
[ ] Are there enough tests
[ ] Documentation has been included (for new feature)

Changes

Add missing import for AddButton(probably lost in some merge conflict resolution)
Remove useless Box components in pre-alert and var tabs
Fix SupplychainTabs layout and state (broken wih MUI5)
Did NOT fix thicker border with TextInput as this is a general problem with polio inputs and fixing would impact polio as a whole (so: out of scope of this PR).

Update 03/01/2024

Fix tab text color
revert VRF tab to vanilla MUI tab
Update TabWithInfoIcon:

Remove OnChange received from parent Tabs to avoid buggy behaviour when disabled
Manually pass handleChange as props and manage disabled behaviour manually

How to test
Go to Supplychain.
The only visible changes is the spacing between inputs in pre-alerts and VAR that should be correct now

closing. Will make a new branch for a cleaner merge on main


How to logout?

I am building a WPF program, AllowedGrantTypes is set to GrantTypes.ResourceOwnerPassword, and in my program installed IdentityModel.
I can use this code get access token:
var tokenResponse = await tokenClient.RequestResourceOwnerPasswordAsync();
var token = tokenResponse.AccessToken;
But i want to logout and end session when i close program, so HOW can i do it?

I am building a WPF program, AllowedGrantTypes is set to GrantTypes.ResourceOwnerPassword, and in my program installed IdentityModel.

Resource owner password flow is OAuth2, and that spec has no concept of signout. You can use the token revocation endpoint from the client app to revoke any refresh tokens or reference access tokens you have. That would be the equivalent since it cleans up.

YES, this is exactly what i need.
Thank you very much!


Test on development branches

To test on dev branches, the github workflow test.yml is run in case of push (not limited to the main branch), and in case of pull request

Thank you.


Updates to Envoy 1.15 and Istio 1.7

This migrates to floor versions implied in Istio 1.7
See #169

inlined the api from getenvoy-package per https://github.com/tetratelabs/getenvoy-package/pull/103
this allowed us to use latest protobuf libs

cmd test is wrestling about space-after in json encoding.. locally even with the exact same golang version, make test is fine..

Thanks for all the work here! 🚀

thanks for another epic review.. we're gettin there!


[XLA:GPU] Fix performance regression when enabling multi-threading for compilation

This PR fixed the XLA GPU performance regression when enabling multi-threading for compilation. For a few models we have tested, some global constants like constant_190 = u64[] constant(32) may be shared by multiple fused computations. After calling llvm::SplitModule, these variables will have external linkage type in those submodules that don't actually own the data and thus cannot be constant-folded properly during llvm optimization. This PR fixed this issue by making those global constants private to each submodule after split.
We tested a few NLP models using pytorch/xla:

Model
thrpt (num_threads=1)
thrpt (num_threads=16)
thrpt (num_threads=16 with this PR)

bert-base-uncased
83.79
80.30
84.07

roberta-base
76.87
73.76
76.74

facebook/bart-base
63.26
59.39
62.51

gpt2
86.76
83.63
85.57

throughput unit: sequences/sec
measured with fake data (batch size=24, sequence length=512)

We considered other methods, but eventually adopted the current approach due to its simplicity:

Fuse global constant variables into fused_computations by writing a HLO pass. We tested this method and it works.
Add llvm link time optimization. We didn't verify this method but it's likely to be more complicated and the additional benefits are unclear.

Co-authored by: @ducdoan510

@cheshire Thanks for the valuable feedbacks.

I've added a test case in the new revision.
My understanding is that this optimization only applies to those variables removed by RemoveUnusedAndUninitializedGlobals, which happens before calling llvm::SplitModule. If a variable has been removed prior to calling llvm::SplitModule, it shouldn't be visible in splitted modules. Therefore it shouldn't break the optimization in https://github.com/tensorflow/tensorflow/commit/255eec86a9619b62771fb70bcbe61a4a3c081fee.


Adding population variable on the Census Tract level

Adding a population variable and creating a source of truth for Census Tract variables.

In this PR, I have downloaded Census API data about the population from 2010 to 2022. Given the complexity of Census tracts, the dataset was split into pre- and post-2020 periods, reflecting changes in Census tract definitions.
Additionally, a new VariableCleanerCT class and CTDataGrabberCSV were developed for use with this data level. I have also created tests to verify the data's accuracy.
Interestingly, a linting problem arises during Git checks, my linting does not indicate any necessary changes.

I fixed the lint issue, I updated black library on my setup and it made the necessary changes.


fix(design): fix linting warnings in design package

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@griest024 what do you think of the empty toHaveBeenCalledWith?

@damienwebdev I think there are times when you want to use toHaveBeenCalled when you don't care, or can't know, with what arguments a function is being called. However in general I prefer the stricter toHaveBeenCalledWith, especially for 0-arity functions.


What's the procedure to do to generate the pre-processd dataset？

Is there any code for process the LUNA16 dataset to generate the pre-processd dataset？
What‘s the idea in the procedure？From the original dataset to the pre-processd dataset，What did you do？

I explained the full procedure in this paper https://ieeexplore.ieee.org/document/8930524 except here I haven't applied the mask. I discussed the differences in this paper https://arxiv.org/ftp/arxiv/papers/1904/1904.10126.pdf


Missing Variables in Publisher in page 5805 "Item Charge Assignment (Purch)"

I miss two variables in following publisher OnAfterUpdateQty.
local procedure UpdateQty()
begin
case "Applies-to Doc. Type" of
"Applies-to Doc. Type"::Order, "Applies-to Doc. Type"::Invoice:
begin
.......
.......
.....
QtyToReceiveBase := 0;
QtyReceivedBase := ReturnRcptLine."Quantity (Base)";
QtyToShipBase := 0;
QtyShippedBase := 0;
GrossWeight := ReturnRcptLine."Gross Weight";
UnitVolume := ReturnRcptLine."Unit Volume";
end;
end;
// OLDCODE        OnAfterUpdateQty(Rec, QtyToReceiveBase, QtyReceivedBase, QtyToShipBase, QtyShippedBase);
//REQUEST          OnAfterUpdateQty(Rec, QtyToReceiveBase, QtyReceivedBase, QtyToShipBase, QtyShippedBase, GrossWeight, UnitVolume );
end;
OLDPUBLISHER
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateQty(var ItemChargeAssignmentPurch: Record "Item Charge Assignment (Purch)"; var QtyToReceiveBase: Decimal; var QtyReceivedBase: Decimal; var QtyToShipBase: Decimal; var QtyShippedBase: Decimal)
begin
end;
NEWPUBLISHER
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateQty(var ItemChargeAssignmentPurch: Record "Item Charge Assignment (Purch)"; var QtyToReceiveBase: Decimal; var QtyReceivedBase: Decimal; var QtyToShipBase: Decimal; var QtyShippedBase: Decimal;
var GrossWeight: Decimal; var UnitVolume: Decimal)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Missing description and example..

missing several sections to the document..

{{ Fill in the Synopsis }}
{{ Fill in the Description }}
PS XYZ:> {{ Add example code here }}
{{ Add example description here }}

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

ID: 09ef7dc5-65f2-5f8e-f7b1-155345aa3b97
Version Independent ID: 9f95facc-3072-8317-5311-57fc78114780
Content: Get-CMBoundaryGroupSiteSystem (ConfigurationManager) - Configuration Manager
Content Source: sccm-ps/ConfigurationManager/Get-CMBoundaryGroupSiteSystem.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @MatthewCKelly for the feedback. I made updates to this article, and will publish it soon (along with the 2107 detailed updates)


ci: Add publish and publish-canary workflows

Mostly copy-paste from the graph monorepo.
Questions:

We are not doing conventional commits very strictly in this repo. #2617 would help with that?
Do we keep with lockstep versioning? Will these actions work with that?

#2655


Clickonce for Business Central

Hello
Can you share us the system requirement for clickonce for BC v14 On Prem, please.
This page shows only information about Dynamics NAV.
thank you for your quick feed back.
best regards

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

ID: a2b0aa47-5276-2fd9-173f-f05adcd420c2
Version Independent ID: fb89206b-f5c1-6f2c-1f83-899c02aa8e89
Content: System Requirements for Business Central - Business Central
Content Source: dev-itpro/deployment/system-requirement-business-central.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: solsen

Hello, Thanks for the feedback!
We don't have an article specific to ClickOnce for the Dynamics Client Connected to Business Central (Windows Client) in the Business Central Spring 2019 help. But we link to this article, which provides some information
Deploying Microsoft Dynamics NAV Windows client Using ClickOnce. Is this what you are looking for? Regards

Hello, I hope this answered your question. If not, let us know and we will reopen the issue. Thanks for the feedback.


is it compatible with Suspense?

Hi, the React team has launced Suspense for data loading and is about to release it for concurrent updates. Is this library using that or is this is a custom solution?

Suspense is not about data fetching right now, it's about code splitting. This is an alternative for vue-wait https://twitter.com/dan_abramov/status/1055294178001862658?s=19

Oh sorry, I got confused, you're right it's not currently for data loading but soon Suspense will be the de-facto solution for most asynchronous behaviour in React. Basically we will be able to provide a fallback component till the actual component loads. So use-wait should take that into account.

Yeah, Suspense would be better approach when it's released since it's built-in.

I've added a note: https://github.com/f/use-wait#why-not-reactsuspense

Thanks! that's a great step. Minor suggestion it should be

React has its own Suspense feature to manage all the async works. ~It's~ For now it only supports code-splitting (not data-fetching).


Feature idea: export / import Vuex store's state

Use case

Your QA team is testing an app and they find an issue at some point. They open vue-devtools and under vuex tab there is export button that stringifies whole store.state. With this button, whoever finds a bug can easily copy and paste whole state and share it with developer(s). Developer then opens same app on local dev environment, opens up vue-devtools where under Vuex tab there is input or textarea where store's state can be pasted in. vue-devtools just parse state from input and populate real store's state with it. Bug is immediately reproduced.

I have a branch where I'm playing with this approach. Is this something we want to have in dev tools?
It's actually not a lot of work to just make it work, but I haven't done any proper styling etc. Before going on with more work I wanted to sync up first.
This is idea is not mine, I first heard it from Richard Feldman of Elm fame.

Done by #102


Raspbian 15.2.2015 compiling automake: unrecognized option `--print-libdir'.

Hi, I have problem compiling hh from source, automake prints
automake: unrecognized option `--print-libdir'.
.
.
.
configure.ac:20: installing `./config.guess'
configure.ac:20: installing `./config.sub'
configure.ac:14: installing `./install-sh'
configure.ac:14: installing `./missing'
src/Makefile.am: installing `./depcomp'
removed `autom4te.cache/output.0'
removed `autom4te.cache/output.1'
removed `autom4te.cache/traces.1'
removed `autom4te.cache/traces.0'
removed `autom4te.cache/requests'
removed directory: `autom4te.cache'
removed `config.sub'
removed `config.guess'
removed `depcomp'
removed `install-sh'
removed `missing'
cp: cannot stat `/compile': No such file or directory
cp: cannot stat `/depcomp': No such file or directory
cp: cannot stat `/install-sh': No such file or directory
cp: cannot stat `/missing': No such file or directory
cp: cannot stat `/config.sub': No such file or directory
cp: cannot stat `/config.guess': No such file or directory

I know where is the problem: Launchpad script that tries to copy these files to be moved to extra script and standard build to use links.


PotreeConverter not found

i am lot time install potreeconverter showing below error how to solve
target build generated successfully and potreeconverter keyword not found error showing how to solve

can't understand what you say ~ 😢

It might be a problem with PotreeConverter not being in the correct path. You might need to share more information to help you efficiently.


Can I viewing my app on public/index.html  if i cant why cant i vue isn't client-side??

Version
5.0.0-rc.1
Reproduction link
github.com
Environment info
System:
    OS: Windows 10 10.0.19041
    CPU: (8) x64 AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.34)
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.2.1
    @vue/babel-helper-vue-transform-on:  1.0.2
    @vue/babel-plugin-jsx:  1.1.1
    @vue/babel-plugin-transform-vue-jsx:  1.2.1
    @vue/babel-preset-app:  undefined (4.5.15)
    @vue/babel-preset-jsx:  1.2.4
    @vue/babel-sugar-composition-api-inject-h:  1.2.1
    @vue/babel-sugar-composition-api-render-instance:  1.2.4
    @vue/babel-sugar-functional-vue:  1.2.2
    @vue/babel-sugar-inject-h:  1.2.2
    @vue/babel-sugar-v-model:  1.2.3
    @vue/babel-sugar-v-on:  1.2.3
    @vue/cli-overlay:  4.5.15
    @vue/cli-plugin-babel: ~4.5.0 => 4.5.15
    @vue/cli-plugin-eslint: ~4.5.0 => 4.5.15
    @vue/cli-plugin-router:  4.5.15
    @vue/cli-plugin-vuex:  4.5.15
    @vue/cli-service: ~4.5.0 => 4.5.15
    @vue/cli-shared-utils:  4.5.15
    @vue/compiler-core:  3.2.22
    @vue/compiler-dom:  3.2.22
    @vue/compiler-sfc: ^3.0.0 => 3.2.22
    @vue/compiler-ssr:  3.2.22
    @vue/component-compiler-utils:  3.3.0
    @vue/devtools-api:  6.0.0-beta.20.1
    @vue/preload-webpack-plugin:  1.1.2
    @vue/reactivity:  3.2.22
    @vue/ref-transform:  3.2.22
    @vue/runtime-core:  3.2.22
    @vue/runtime-dom:  3.2.22
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.9.8 (16.8.3)
    vue-router: ^4.0.12 => 4.0.12
    vue-style-loader:  4.1.3
    vue-template-es2015-compiler:  1.9.1
    vue3-autocounter: ^1.0.6 => 1.0.6
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Can open app with  index.html
What is expected?
I wanna viewing my app on index.html(dist or public) without npm run serve.

Work on npm run serve
but doesn't work index.html without node server

This would better fit into a discussion. You are also always welcome to ask question on the discord at chat.vuejs.org
To answer your question: public/index.html only contains a template, which has to be filled before being usable. You can however run npm run build to generate a purely static version in the dist folder and then open dist/index.html.


FIX: Hfss pi refactoring bug fix

@svandenb-dev @SMoraisAnsys #602

@svandenb-dev please check this PR https://github.com/ansys/pyedb/pull/601 and merge it in yours.


hax the web theme is leaving timestamps in calls issued

I bet it's cause of the published flag. This is forcing it to behave as if it's the full editing experience and thus needs to ensure content is fresh each time. Since this is a weird published yet needs to be a demo edge case, need to just treat the timestamp piece in a way that demo === published as well

fixed in lastest push to cdns


NULL value returned while trying to read Map element during Hive Deserilisation

@dvasilen
Suppose I have the following XML data:
&Record&
&Data&
&Attribute name ="Ashok" value "hjkiuy+hj/uo" /&
&Attribute name ="Raja" value "klopluy+tgbvf/uo"/&
&/Data&
&/Record&
CREATE EXTERNAL TABLE ABC
(
ATTRIBUTE MAP<STRING, STRING>
)
ROW FORMAT SERDE 'com.ibm.spss.hive.serde2.xml.XmlSerDe'
WITH SERDEPROPERTIES (
"column.xpath.ATTRIBUTE"="/Record/Data",
"xml.map.specification.entry"="@name->@value"
STORED AS
INPUTFORMAT 'com.ibm.spss.hive.serde2.xml.XmlInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'
TBLPROPERTIES (
"xmlinput.start"="<Record",
"xmlinput.end"="/Record>"
);
SELECT ATTRIBUTE["value"] from ABC;
Note: I replaced tag with & as with that the post i am not able to post.
It returns NULL value. Please suggest.

Deserilisation itself not working properly.
{"result":"<Attribue name="rama" value="adhj/k"/><Attribue name="hari" value="kili+j/k"/>"}
Please help.

This example is as per 4.3) Attribute to Attribute
Just noticed derserilisation result is also not coming.
{"result":"string Attribue name="Ashok" value="hjkiuy+hj/uo"/ Attribue name="Raja" value="klopluy+tgbvf/uo"//string"}
Not mentioning <> in result as result is not displayed here if I include </>
Please help.

Sorry to trouble you. It is working fine. There is problem in my code. so closing this issue.

Thanks, I am glad it worked for you.


add an option for whether clear danmakus that are on the screen when …

…call the function of removeAllDanmakus

merged


Feature request - Apply effect to specific pages

Hi,
I use the dynamic background for my home page but I find it distracting for taking notes. Would it be possible to add an option to select the pages to which the effect is being applied?

Hi,
You mentioned an interesting requirement, and I think I will implement this function sometime in the future. Thank you for using the Obsidian plugin I developed.

I came here to post this as well. Would be appreciated! Cheers, great stuff.


update(kubernetes): Deployment files

Updating deployment files (automatically generated by helm template). Made using the update-falco-k8s-manifests ProwJob. Do not edit this PR.\n\n/kind update\n\n/area manifests

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: poiana
Once this PR has been reviewed and has the lgtm label, please assign maxgio92 for approval by writing /assign @maxgio92 in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

LGTM label has been added.  Git tree hash: 1cb64cd5d55ed5c214ba0653bd0b49462b29d008

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

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

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


[QUESTION] httpRoute suported

Hello
I would like to know if httpRoute is supported for accessing to spark UI.
In fact, I would like that the spark operator creates a httpRoute (new way to do exposition in kubernetes), instead of an ingress for the spark UI
Thanks in advance

Hey, currently there is no support for the Gateway API in the Spark operator. The current Spark UI functionality creates Ingress resources that work best with the NGINX ingress controller because of automatically added re-write annotations. Obviously this doesn't preclude us from supporting it in the future as a feature request.


Easiest way to require knockback/knockout on client?

Hi!
I can't get kb/ko to work with a build system. I've tried browserify and webpack (for some reason your webpack recipe doesn't work for me) with no luck. I'm using npm version of these modules.
So how do I require them (except with an ugly CDN link in my HTML code, which works great but is a wrong way, in my opinion)?
Thanks
P. S. Suddenly requiring only kb works! ko is required automatically. Don't get how to change ko name though, but that's a minor problem. Hope it helps somebody.

I've tried this using the webpack documentation. It looks like with npm you need to install the modules at the top level (it looks like webpack couldn't find the nested node_modules):
$ npm install knockback knockout backbone underscore jquery --save-dev
Maybe webpack has done this resolution scheme given the upcoming<EMAIL_ADDRESS>changes to flatten the installed modules.


Add an option to active keys in Steam via account/registerkeys

Some options on how to do this:

Highlight text -> contextmenu option for Redeem key on Steam if the key matches the Steam key regexp

Make links on NeoGAF redeemable same way Modbot keys are right now

or both 🤔

Good news everyone!

Actually lets keep it open, the feature could be used to claim non-Modbotty keys too


GEODE-7309: upgrade Lucene to 7.1.0

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@nabarunnag, I implemented your suggestions, is it ok with you?

We are still getting stack overflow errors in our rolling upgrade use cases, let me investigate a bit more.

We are still getting stack overflow errors in my rolling upgrade use cases, let me investigate a bit more.

@nabarunnag do you have any update from your further investigation?

We are still getting stack overflow errors in my rolling upgrade use cases, let me investigate a bit more.

Hi @nabarunnag, can you share your tests with us so we can help you? Also internal tests should not block merging to an open source project.

We are still getting stack overflow errors in my rolling upgrade use cases, let me investigate a bit more.

Hi @nabarunnag, can you share your tests with us so we can help you? Also internal tests should not block merging to an open source project.

We are in the process of open-sourcing the tests. More details incoming.
Simple root cause is: When there is a newer version gemfire with older version, the aysnc listener is blocked waiting on the index repository to be created, but the queues continue to get filled up and ultimately result in overflow. Also, you can see that I have another pull request over your commit [https://github.com/apache/geode/pull/4826] which solves this problem.

@mkevo It is nearly complete, but the tests may be exposing another issue with the geode code base (un-related to lucene) which I am trying to fix, but I was unable to get to (other commitments) .. I will try to get it fixed shortly.

this PR appears to have been abandoned

Hi @nabarunnag,
Do you have any update on this?

Hi @nabarunnag ,
It passed a long period from your last comment. Is it still valid?
Do you fixed your internal test cases?
Can I go on with fixing conflicts and merging this PR?

Hi,
If there is no comments until the end of the week, I will go with resolving conflicts and merging this PR.
BR,
Mario

A new PR is opened rebased on the latest develeop branch. #6076


feat(auth): Support operator management of instances with password protected admin ports

This PR allows the operator to manage instances of dragonfly that have the argument --admin_nopass=false and authentication enabled.
There are updates to the README included, but in short: a secret in the namespace dragonfly-operator-system must be created in the form:
apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: dragonfly-admin-secret
  namespace: dragonfly-operator-system
data:
  password: c29tZS1wYXNzd29yZA==

Which the operator will use to open authenticated admin connections and to set masterauth on replicas.
I'm having a bit of trouble running all of the tests on minikube (some appear to hang, etc).  I'd like to add some new tests for this feature, but since I can't run all of the originals successfully, I'm opening this PR and asking for advisement.
Let me know what you think/if you see any issues.  Thanks for this project!
(this addresses https://github.com/dragonflydb/dragonfly-operator/issues/133)

From the conflicts, l'm not quite sure what happened.  I edited only a few files.  Please let me know what I need to change to fix the PR.  Thanks!


WRESTRC Waypoints

List of changes

Created a subdirectory called waypoints and added a CSV file containing 27 waypoints at WRESTRC
Added an image showcasing all 27 waypoints mapped on Google Earth
Made waypoints follow a straight grid pattern

Tested the KML file. Should output the waypoints show in the image above.

Where is the KML file?

Please update PR description with the updated map (or remove the map from the description).


password input should by default add html argument autocomplete="off"

Hi, just a security suggestion. Should the simple form password input  by default set the autocomplete="off" argument on password input ?
There is no real point not disabling it by default as newer browsers (Internet Explorer > 11, Mozilla Firefox > 30, Google Chrome > 34) no longer support HTML 'autocomplete' on password field

http://msdn.microsoft.com/en-us/library/ie/ms533486
https://bugzilla.mozilla.org/show_bug.cgi?id=956906
http://googlechromereleases.blogspot.ro/2014/04/stable-channel-update.html

...and it's just risk for old browsers
I can create Pull request for this if agreed.

@equivalent it is a awesome idea, but we should implement it at Rails itself.

good point @rafaelfranca  I agree, thank you for this https://github.com/rails/rails/issues/18453

https://github.com/rails/rails/pull/18463

@equivalent thank you! Closing this in favour of PR to rails.

Just to complete the story, this turn out to be a horrible idea and will not be implemented in Rails. There is a reason for Password managers, there is reason why Modern browsers ignore autocomplete=off


Test Bounty

/bounty 1

/attempt #2

/claim #2

@faermanj  please tell me how to done this task or test this bounty


add undocumented libs

in ali's session on x-platform widget creation, he has some use lines that don't seem to appear, anywhere
use com.livecode.widget.native.button.android
use com.livecode.widget.native.button.ios
use com.livecode.widget.native.button.mac
use com.livecode.widget.native.button.linux
use com.livecode.widget.native.button.emscripten
use com.livecode.widget.native.button.shared

After Ralph's question #36, we have discovered that some of the more standard libraries (e.g. com.livecode.library.iconsvg) don't appear, either, and probably should be included.


Widevine request payload is empty

Hi,
I'm trying to implement Widevine playback using Shaka. I had no problem with Playready I just followed the documentation and it worked. But Widevine not so much.
This is what I do.
if (drm) {
    config.drm = {
        "servers": {
            "com.widevine.alpha": widevineLicenseServerURL,
            "com.microsoft.playready": playReadyLicenseServerURL
        }
    };

    this._player.getNetworkingEngine().registerRequestFilter(function(type, request) {
        if (type === shaka.net.NetworkingEngine.RequestType.LICENSE) {
            request.headers["my-header"] = "headerData";
            request.headers["my-second-header"] = "headerData";
        }
    });
}

This workes fine for Playready. But when I try it for widevine it docent fail, it docent give me any errors it just docent play anything. I checked the network tab in my chrome inspector and I saw that the second request to the license server is missing request payload. I don't know how and I don't know why.
I tested the same code but with a demo widevine encrypted stream and that worked just fine the request payload was there and everything.

Is the Widevine license server on another domain?  If so, it's a cross-origin request, and the server must explicitly allow the headers you're adding.  You can find detailed docs on Cross-Origin Resource Sharing (CORS) on MDN: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
In short, the addition of request headers triggers an OPTIONS request (not GET or POST), and the server's response dictates what headers should be allowed.  If your headers aren't on the list provided by the server (or no list was provided), then the license request will be blocked by the browser.
Look more closely at the "empty" requests in the network tab.  Is this what's happening?

Hi @joeyparrish thank you for your quick reply. Basically what I have done is disabled security on my chrome so I can test without Cross-Origin errors appearing in the console. The server I am making the request to does allow for the headers and requires them to authenticate and provision. I have looked very closely at the request. The weird thing is the DRM server actually replies status: "OK" but the payload is empty.
If you are wondering if the disabled security thing may be an issue I can assure you it is not because I deployed the same code to a server with a valid SSL certificate and the same problem occurs (empty request payload).

@joeyparrish I noticed I did not fully answer your question. Yes, the OPTIONS request does happen and it does have my headers as allowed headers. The issue is in the POST request that happens after the OPTIONS request. The POST is supposed to have a request payload with some binary information that makes Widevine work, that request payload is completely empty.

Do you have any request filters that alter request.body?  A bug in a request filter could cause this.
You can also debug in DrmEngine, in sendLicenseRequest_.
https://github.com/google/shaka-player/blob/d2069dcd7642e788164d52a56bc6103df86a396b/lib/media/drm_engine.js#L1176-L1181
If the request body is non-empty at that point, but empty later, we can further narrow down the cause.  If it is empty at that point, though, we can point the blame to the Widevine CDM instead of the JavaScript code.

@joeyparrish Thank you for your help. Please don't close this question yet. I am not currently working on this for this sprint but I will start with this as soon as my tasks are done. I will get back to you by Friday at the latest

@joeyparrish I have tested this and it looks like the body is not empty. I put a breakpoint in the code and it seas this

Is that what it is supposed to have in it?

Yes, that's correct.  The 2-byte POST is a valid request from the Widevine CDM.  It should be followed by another request from the CDM with a longer payload.
Can you confirm that the license server is responding to this request?  And that the CDM accepts the response without generating an error through Shaka Player?

@joeyparrish Hi I stepped through the code in using the chrome inspector and I noticed that the request is made but in this part
https://github.com/google/shaka-player/blob/d2069dcd7642e788164d52a56bc6103df86a396b/lib/media/drm_engine.js#L1190-L1191
it runns the Promise.reject(); what does that mean? I am a bit confused because there are no errors in the chrome inspector and the CDN team say that my request to the licence server is not visable in the log.

That means the DrmEngine instance is destroyed (or thinks it's destroyed).  Can you set a breakpoint in DrmEngine.prototype.destroy to verify it isn't called?  If it is called can you post the stack trace?  Also how are you interacting with the Player?
Alternatively can you host your demo or a simple repro page so we can debug it?  It would be much easier if we could step through it ourselves.  You can send it privately to<EMAIL_ADDRESS>if you prefer.

@TheModMaker I sent an email to<EMAIL_ADDRESS>and hope to hear back from you soon.

Your license server returns a response containing JSON.  You need to create a response filter to unwrap it before it is sent to the browser.  The initial request is 2 bytes, not empty.
If I add an error event handler to the Player object, I immediately get a DRM.LICENSE_RESPONSE_REJECTED error indicating the bad response data.  Take a look at the license wrapping tutorial for more info.
this._player.getNetworkingEngine().registerResponseFilter((type, response) => {
  if (type == shaka.net.NetworkingEngine.RequestType.LICENSE) {
    const json = shaka.util.StringUtils.fromUTF8(response.data);
    response.data = shaka.util.Uint8ArrayUtils.fromBase64(JSON.parse(json).license);
  }
});


C#: support nullable contexts

Starting with version 8.0 C# supports nullable reference types, which quicktype currently doesn't.

Maybe this help https://github.com/mixa3607/quicktype

@mixa3607 this looks good - you have support for partial classes in there as well. Why don't you submit a PR?


Crashplan 11.0 release changes

Email from crashplan, just fyi for now

Action Required for 11.0 Release
The CrashPlan agent will undergo branding updates as part of the version 11.0 agent release. As we get closer to the release date we will communicate precise timing however CrashPlan 11.0 will be released no earlier than March 9, 2023 (30 days from today).
The 11.0 agent includes updates to unify “CrashPlan” naming across all platforms (Mac, Windows, and Linux). Items which will be updated include:
Application and service process names
Menu shortcuts and names
Code signing certificates
Icons and logos

Action required for macOS devices
Due to macOS security requirements, full disk access will need to be re-allowed for the updated CrashPlan app. We will communicate the necessary steps prior to and following the day of release to make this change as seamless as possible.
NOTE: while your system should currently have this setting enabled, it will be necessary to re-perform the steps following the upgrade. This will not be necessary for future upgrades.
Learn more
For more details about exact paths/names that will be changing, see our article CrashPlan app version 11.0 changes to application and service names.

Thanks, I also received this email.  Hopefully this is just cosmetic changes that they are doing.

Thanks, I also received this email. Hopefully this is just cosmetic changes that they are doing.

Howdy Jlesage--thanks so much for providing the crashplan docker--I have been using it without problems for quite some time now--will there still be updates?;  I tried the usual update procedure but the installed container was the same as prior/still noted that it needed to update.
Thanks!
N1234567


Feat/profile/penalties

Changelog

styled Penalty page for Profile

@NjaalSoerland @madsab update on dis?

259 commits???


Add warning in scene tree if Storage is not saved as .res

Don't make it optional anymore. Add warning in scene tree if Storage is not saved as .res, and change the readme to say it's not optional.
The warning on save can be removed.

Fixed by 7ea7dc9


Bower update generic options loader

Hi! congratulations for angular-morris-charts!
I'm using your code in a project with bower. When I do bower update I'm in 1.10 version but the code has not got the new generic options loader feat. I did uninstal and  and unistall again.
Probably I'm missing something. Thank you!

hi @GGMoreno
try bower install angular-morris-chart#master

Thank you! Works perfectly :)


Rename data storage of many types to data

Rename the data storage field of IndexSet, TagSet, MPO, MPS, QN and AutoMPO to data, with a function to access it called ITensors.data(...) (for now it is not exported, to encourage people not to use it). This is breaking, if people were accessing the data storage for those types, but that would generally be discouraged anyway.
This also removes some exports, like leftlim, setleftlim!, etc. to discourage people from using them too much (perhaps we can bring back leftlim/rightlim, but people should think before setting the limits).

I think this is good to go, I'll merge.
@emstoudenmire, I have looked over exports.jl to check that we are not exporting too many functions. If you have some time it would be nice if you could glance over it as well to see if there is anything you think we can remove. I am trying to err on the side of caution in terms of what we export, especially for functions that are mostly for developer level usage, in order to minimize the official interface and give us some more flexibility in the future.

I just looked over exports.jl and I have to say I was actually surprised how few function names are exported, which I think is a very good thing. It looks like a reasonable set of functions & I don't think we are therefore committing to supporting too large an interface. (There's maybe a few we could quibble about if users really need them, such as lproj and rproj from projmpo.jl, but these also have rare names so shouldn't pollute anyone's namespace too much.)

Thanks for taking a look. I agree. I think with functions like lproj and rproj, as long as we don't expect to change the behavior it is ok.


frontend: support stream sort / TopN operator

order by actually has been implemented by adding sort key into pk_columns

but limit + order by is not implemented 🤣

Yes, I'll take this

@xiangjinwu has already given some instructions in https://github.com/singularity-data/risingwave/issues/1419, also @nanderstabel is working on this. Maybe you can first sync progress with him.


How to stop/limit the number of auto-refresh requests?

Hey, wanted to know if there was a feature to limit/disable the autorefresh from useDapp? It's pretty costly when someone leaves your dApp open and it just keeps making "eth_chainId" and "eth_blockNumber" requests every few seconds.

I think this may be help #700


integration with AWS S3 doesn't work right after setup

using 1.0-rc1 version it was discovered that provided aws s3 integration doesn't work from scratch.
need to test and fix - seems like zebrunner-proxy rules must be adjusted to use bucket correctly

Moreover it break somehow integration with elasticsearch, i.e. no access to the test logs.
I see such exception in the logs:
2020-08-20 18:33:24.926 INFO [http-nio-8080-exec-8] c.z.r.s.i.t.impl.NotificationService: Notification for test run 1 is not sent: integration disabled
2020-08-20 18:33:24.926 INFO [http-nio-8080-exec-8] c.z.r.s.i.t.impl.NotificationService: Notification for test run 1 is not sent: integration disabled
2020-08-20 18:33:25.120 WARN [http-nio-8080-exec-9] s.a.a.h.a.internal.utils.ApacheUtils: NoSuchMethodException was thrown when disabling normalizeUri. This indicates you are using an old version (< 4.5.8) of Apache http client. It is recommended to use http client version >= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See https://github.com/aws/aws-sdk-java/issues/1919 for more information
2020-08-20 18:33:25.422 ERROR [http-nio-8080-exec-9] c.z.r.service.util.FreemarkerUtil: Problem with free marker template compilation: The specified key does not exist. (Service: S3, Status Code: 404, Request ID: 8F9BB1A9FEE205E3, Extended Request ID: QMVkqItSo7k5RCDM6XrxaiDHdagA0ImoyevaBuIY4iQWuvhcdUSnXQBNLPDxariXpTNWc2AoWXE=)

done. changes are in master branch of the zebrunner repo

Verified. Fixed.


pull request for e2e test at 01/21/2017 12:15:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update "Build from source" instructions to sbt

Update Building from source docs to reflect the maven -> sbt change of PR #1234 (#549).
Adds sbt install instructions for macOS.

Codecov Report

Merging #1306 (71b406c) into unstable (8136397) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           unstable    #1306      +/-   ##
============================================
- Coverage     74.29%   74.29%   -0.01%
============================================
  Files           334      334
  Lines         10891    10891
  Branches        524      524
============================================
- Hits           8092     8091       -1
- Misses         2799     2800       +1

Impacted Files
Coverage Δ

.../forsyte/apalache/tla/pp/ConstSimplifierBase.scala
96.15% <0.00%> (-1.29%)
:arrow_down:

...he/io/annotations/parser/CommentPreprocessor.scala
93.97% <0.00%> (ø)

Continue to review full report at Codecov.

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

Thanks for the fix!


Rebase of Refactor flag handling

Description of the change
The run method was too long and it was impossible to figure out what each parameter meant.
Furthermore a few flags were still accessed via global variables making it hard to reason about
and to test properly.
This is the first pass that just mechanically puts all the flag variables into a struct.
Benefits
No more global variables, easier to pass flags around and more readable and maintainable code.

Closing in favor of https://github.com/bitnami-labs/sealed-secrets/pull/920


Needs updating

Window Update to 1809 failed with this code: 0x80244018
This does not seem to be covered.
I can tell that this is a Win32 code.  From hunting around elsewhere, I think that the facility is Windows Update, and that the code might be CO_E_CREATEPROCESS_FAILURE.
(This decoding doesn't really help me resolve the problem.  What process failed to start?  Why?)

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

ID: 528014e0-02e5-2d77-a229-4895731bb872
Version Independent ID: 4f46b620-e345-c9e4-70fa-ae4f5a8e48b9
Content: Resolution procedures - Windows IT Pro
Content Source: windows/deployment/upgrade/resolution-procedures.md
Product: w10
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@officedocsbot assign @mypil

@HughR - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@HughR - From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Feature/Added initial components

Added all the components and the landing page files from scratch and raised the PR from the development branch. Hope to get some reviews and feedback on my work.
preview > https://locus-ui.netlify.app/

Amazing design, The code is so clean and the classes are so organized in such a way that they are independent and doesn't mess with other classes. The project on the whole is well deigned and developed, got some insights by seeing the code, good job and it's good to go

Try adding more components in the future version

Amazing design, The code is so clean and the classes are so organized in such a way that they are independent and doesn't mess with other classes. The project on the whole is well deigned and developed, got some insights by seeing the code, good job and it's good to go

Thank you ! I am glad it helped you.

Everything is looking clean and also you worked well on Responsive design. The landing page catches my eyes.
Codes and class name is clean and easy to understand the purpose itself. If there is a rating I would like to rate 5 out of 5 for UI.


Add "Zombie" and "Nuker" generic unit types.

Zombie for zombie captains. Nuker for special damage dealers (non-static.)

83a2548ea75262266fb2225f4165b58ad08e3b43