Added selectorsyncset generation

This pr adds the required steps to generate sync sets and the scaffolding to do so. It also adds the generation into the makefile.

/approve


parse_signed_request and Python 3

Using Python 3 and facebook.parse_signed_request explicitly does not work. base64.urlsafe_b64decode returns a byte-string on line 402 and json.loads on line 411 does not handle byte-strings. You'll get this exception:
  File ".../venv/src/facebook-sdk-master/facebook/__init__.py", line 411, in parse_signed_request
    data = json.loads(data)
  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

I cannot understand that anyone can use this in a Python 3 environment...
In order to fix this we need tests for the parse_signed_request function and verify that this bug exist and create a version that works for both Python 2 and 3.

@martey Would it be possible to get access to the Facebook App used for testing (ID:<PHONE_NUMBER>26423)? I can then create a cookie which I can use in the tests for this bug fix.

Is it possible to get any feedback on this?

I looked at your pull request and it seems fine. It might take me a few days to change the cookie value in the new test, but I think you should be able to use the environmental variables in https://github.com/pythonforfacebook/facebook-sdk/blob/master/.travis.yml to do so.

See #209 and d9c670568784d1091b257b94497a22fbcf2617b8.


use new version of common with required annotations

Why we need this PR
Minimize code duplication
Changes made
Using 2 new annotations from common code base.
Which issue(s) this PR fixes
Followup for ECOPROJECT-1229
Test plan

/test 4.14-openshift-e2e


Add new endpoint for Mentors

Add GET: get all homeworks depending on filters values

Functionality will be implemented in issue #586


svm-scale returns an empty feature file in case of a single instance

Hello, I did train a 3 classes model using RBF kernel with 13 features and 1104 instances which is attached as "Full_Train.txt" and when scaled between -1 and 1 it succeeds but it scales on the y-axis "Full_Train_scaled.txt". And when I scale a file with a single detection or instance during deployment "Classify.txt" it returns an empty feature file with only the label left "Classify_scale.txt".
The command I'm using
 ./svm-scale -l -1 -u 1 Classify.txt>Classify_scale.txt

If you can please tell me if I'm doing something wrong or how to scale over the feature array and produce a scaled single instance file.
Thanks in Advance.

it's correct. This means the instance is scaled to the zero vector
On 2021-09-20 17:49, MTawfik wrote:

Hello, I did train a 3 classes model using RBF kernel with 13 features
and 1104 instances which is attached as "Full_Train.txt [1]" and when
scaled between -1 and 1 it succeeds but it scales on the y-axis
"Full_Train_scaled.txt [2]". And when I scale a file with a single
detection or instance during deployment "Classify.txt [3]" it returns
an empty feature file with only the label left "Classify_scale.txt
[4]".
The command I'm using
./svm-scale -l -1 -u 1 Classify.txt>Classify_scale.txt
If you can please tell me if I'm doing something wrong or how to scale
over the feature array and produce a scaled single instance file.
Thanks in Advance.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [5], or unsubscribe
[6].
Triage notifications on the go with GitHub Mobile for iOS [7] or
Android [8]. [ { @.": "http://schema.org", @.":
"EmailMessage", "potentialAction": { @.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/178", "url":
"https://github.com/cjlin1/libsvm/issues/178", "name": "View Issue" },
"description": "View this Issue on GitHub", "publisher": { @.":
"Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/files/7194722/Full_Train.txt
[2]
https://github.com/cjlin1/libsvm/files/7194784/Full_Train_scaled.txt
[3] https://github.com/cjlin1/libsvm/files/7194805/Classify.txt
[4] https://github.com/cjlin1/libsvm/files/7194813/Classify_scale.txt
[5] https://github.com/cjlin1/libsvm/issues/178
[6]
https://github.com/notifications/unsubscribe-auth/ABI3BHX2AJGHYQEEZNEBBOTUC37T5ANCNFSM5ELSDXEQ
[7]
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
[8]
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

Well, when I scale a group of instances together, they produce the scaled values not equal to zero vector, but when I scale only one instance of them alone, the scaled values are zero vector, so why is this happening?

If the input is a set with many instances we can calculate max/min of
each feature.. But this isn't the case for a single instance
On 2021-09-20 18:38, MTawfik wrote:

Well, when I scale a group of instances together, they produce the
scaled values not equal to zero vector, but when I scale only one
instance of them alone, the scaled values are zero vector, so why is
this happening?
--
You are receiving this because you commented.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Triage notifications on the go with GitHub Mobile for iOS [3] or
Android [4]. [ { @.": "http://schema.org", @.":
"EmailMessage", "potentialAction": { @.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/178#issuecomment-922810806",
"url":
"https://github.com/cjlin1/libsvm/issues/178#issuecomment-922810806",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { @.": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/178#issuecomment-922810806
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHSD5ZR5S7O24PA7HJ3UC4FJNANCNFSM5ELSDXEQ
[3]
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
[4]
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

Ok Thanks for your help.


Use git version info as python package version

In the spirit of don't-repeat-yourself, shouldn't you remove VERSION_NUMBER
More importantly, I don't think this is quite right, locally for me, git describe --tags HEAD reports v0.8.1-699-g9d600253
Your version numbers need to match a specific regex: [N!]N(.N)*[{a|b|rc}N][.postN][.devN], as described here.
In my experience packaging python projects in the past, nothing will crash if you use a non-compliant version id locally. However, you will get warnings. Also, I'm not sure if this will work on pypi. In fact, I suspect it won't work.

Ok good point, and the current code won't work in sdist (in which there is no git). I should compute the version number as (sorry for mixing bash and python code below):
version = $(cat VERSION_NUMBER)
if git_is_available:
    version += '.dev{}'.format($(git rev-parse --short HEAD))

Regarding to the VERSION_NUMBER file, having the version number in a plain text file is easier for applications that don't invoke python command.

That looks reasonable to me.

Hmm actually by looking closer, my previous proposal still doesn't fulfill the standard, it should be
version = $(cat VERSION_NUMBER)
if git_is_available:
    version += '+git.{}'.format($(git rev-parse --short HEAD))

Oh I see. I assume you're referring to to the fact that the N in .devN must be a decimal number, not a hexadecimal number. (I verified this in appendix B of PEP440). Just note that you can't put a version like that onto pypi, if that's your goal. You'd have to have a "release" workflow as well that omits the plus sign and the hash, I believe.
By the way, this answer suggests a way to incorporate the number of commits (part of git describe's output) since the last tag into the dev field along with the current commit's hash, if you want that:  https://stackoverflow.com/a/35522080/3469721

With the current approach you won't be able to create release wheels without first removing the .git directory. Would be good to think about this before we need to do another release


token.js is not exposed.

I apologize for the delay. I'll merge PRs and apply fixes soon.
--
Sent from my iPhone

On Jun 4, 2015, at 1:29 AM, Rajitha Ranasinghe<EMAIL_ADDRESS>wrote:
—
Reply to this email directly or view it on GitHub.


More documentation for gryo/accel arguments

Can we get more documentation on the README explaining the difference/values of each accel/gyro constructor argument?

All of the constants (except filter constants) are directly from the datasheet. For immediate clarity you can check the datasheet for the values that are giving you confusion. I will update my docs as you suggested, but it will be days before I have time.


Find Issues and Make Pull Requests

As the website is in an early stage, there will be a lot of issues.
If you find issues or want to suggest new features, feel free to raise an issue.

hey @VivekChatterjee can you assign this to me?

Hey @aryankshl this in itself is not an issue, kindly raise another issue/feature you found in the website, I will assign you that task.


Copy auth from tournament room to tournament battle

This allows room staff to perform moderation in tournament battles.
Build is failing for unrelated reasons.

Build is failing for unrelated reasons.

It may not be the best thing to use the prototype system for this...

I fixed the error and restarted this build, and now it's failing a test.

Also just make the change in rank inheritance (i.e. room.getAuth) rather than using prototypal inheritance imo..

Fixed to not use prototypical system.


GVRMaterial.setOpacity() not setting opacity

The GVRMaterial.setOpacity() command is not having any effect.
Using X3D's <Material transparency='value'/> node [where 'value' is a float between 0 and 1].
In X3DObject.java, this calls:
gvrMaterial.setOpacity( value );
but in the picture below, it has no effect.
As a test, I called
float opacity = gvrMaterial.getOpacity();
to insure value was being set correctly.
X3D test case plus images:
Opacity_Test.zip
The transparencies in the scene are: upper left transparency=0; Upper right .25; Lower left .5, Lower right .75.  All orange planes against a gray background.
X3D file using the FreeWRL renderer:

Same X3D file using GearVRf

This is because GVRMaterial.setOpacity sets the u_opacity uniform for the texture shader. The X3D exporter uses the Phong shader which does not have a u_opacity uniform. To set the opacity when using the phong shader you need to change the alpha component of the diffuse color: GVRMaterial.setVec4("diffuse_color", r, g, b, a);

@mwitchwilliams Should we close?

Let me test this difference first, and then I can close it.

Ok, great.  This works.  Thanks.


NEBULA-1152: Add handshake on connection for Embedded Explorer

JIRA

We could also type all the outgoing messages and have a sendPostMessage helper in this repo like we do in studio-ui. Don't worry about doing that here, I can follow up after this PR is merged 🙏

Okay @William010x I forgot to tell you, but because this repo corresponds to versions of an npm package, we need to specify if each change we make is a patch, minor or major update. This would really be the start of a minor update. We may want to start a branch in this repo for all the auth changes and merge that in as a minor update in one go.
So you would merge this into a branch with no changes from main, and then when we are ready to merge that, you can do (from your terminal) yarn changeset and it will walk you through it.
Are there any other changes necessary from this side of the house (the embeddable-explorer repo)? I actually think there might not be, if not - just merge this in as minor using yarn changeset and committing


Future automake requires subdir-objects

There is a warning about a future incompatibility when configuring with recent automake:
sparsehash-2.0.4$ ./autogen.sh
+ rm -rf autom4te.cache
+ aclocal --force -I m4
+ autoconf -f -W all,no-obsolete
+ autoheader -f -W all
+ automake -a -c -f -W all
configure.ac:16: installing './compile'
Makefile.am:156: warning: source file 'src/hashtable_test.cc' is in a subdirectory,
Makefile.am:156: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:140: warning: source file 'src/libc_allocator_with_realloc_test.cc' is in a subdirectory,
Makefile.am:140: but option 'subdir-objects' is disabled
Makefile.am:172: warning: source file 'src/simple_compat_test.cc' is in a subdirectory,
Makefile.am:172: but option 'subdir-objects' is disabled
Makefile.am:166: warning: source file 'src/simple_test.cc' is in a subdirectory,
Makefile.am:166: but option 'subdir-objects' is disabled
Makefile.am:148: warning: source file 'src/sparsetable_unittest.cc' is in a subdirectory,
Makefile.am:148: but option 'subdir-objects' is disabled
Makefile.am:125: warning: source file 'src/template_util_unittest.cc' is in a subdirectory,
Makefile.am:125: but option 'subdir-objects' is disabled
Makefile.am:179: warning: source file 'src/time_hash_map.cc' is in a subdirectory,
Makefile.am:179: but option 'subdir-objects' is disabled
Makefile.am:132: warning: source file 'src/type_traits_unittest.cc' is in a subdirectory,
Makefile.am:132: but option 'subdir-objects' is disabled

m4
AM_INIT_AUTOMAKE([foreign subdir-objects])
makefile
AUTOMAKE_OPTIONS = subdir-objects
bash
./autogen.sh
m4
AC_INIT([sparsehash], [2.0.4])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT


Media control keys not working

The issue
Whenever i try to stop a song via the button on my keyboard, or use any other media control key it just does nothing.
Steps to reproduce

Play any media via youtube or media app
Try using media control keys

Expected outcome
The stop key should stop the playing song, the "next song" key should play the next song in queue and so on
Noted outcome
Just straight up no response

@demperor-music
you can use these bindings if you have  installed
use bindl= if you want to be able to use them while its locked. If you don't want this just use bind=
bindl=,XF86AudioPlay,exec,playerctl play-pause
bindl=,XF86AudioPause,exec,playerctl pause
bindl=,XF86AudioStop,exec,playerctl stop
bindl=,XF86AudioNext,exec,playerctl next
bindl=,XF86AudioPrev,exec,playerctl previous


Shift the code base to a python flask or web application.

currently the main driver code of the repo is based on a python driver code , we would like it to change it to a web application or python application with GUI , use any language or resource you like.

Please assign this issue to me.

Please assign this issue to me.

go ahead , start working


feat(sdk/go): add WithIgnoreExisting for CreateTableOption

Add WithIgnoreExisting for set IgnoreExisting as true in CreateTableOption
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Your commit is merged to internal repository. It will appear here after some time. PR will be closed automatically.
Thank you for the contribution!


[hotfix][FLINK-12896][HistoryServer] modify :jobId key in TaskCheckpointStatisticDetailsHandler for History Server

What is the purpose of the change
modify :jobId key in TaskCheckpointStatisticDetailsHandler for History Server.

I've merged the PR but it appears impossible to close it right now due to some GitHub issue.

Thank you for the review @zentol, i will close it.


DNS pointer message shows up even though DNS is already in place and cert is generated

I keep getting this message when I run defang compose up:
** Please point the DNS record for hasura.hasura-rds-demo-1.goec.dev as a CNAME to Defang-hasura-rds-beta-alb-457580578.us-east-1.elb.amazonaws.com and access http://hasura.hasura-rds-demo-1.goec.dev to trigger the certificate issuance.

But I already have the DNS records in place, and the cert has been generated, so it should be all good.

This will be fixed as part of the up coming PR #658

Fixed by https://github.com/DefangLabs/defang-mvp/pull/658


ci: run udeps only on a nightly basis

This is a more sedate port of https://github.com/MystenLabs/sui/pull/2231/commits/b820f2e1ed50adcf9c93f5a282cf76cb58cbc6d1
See there for rationale, which applies here.
The sedate part is that instead of obliterating this long-running job we still run it once a day.

@huitseeker heh you caught me eh? I saw that once the workspace hack was added for some reason (even when turning it off) udeps started taking 45+ minutes :(

@huitseeker i'll do the same for sui
https://github.com/MystenLabs/sui/pull/2287


Change wording about service worker only works with HTTPS

Page Affected: https://developers.google.com/web/ilt/pwa/introduction-to-service-worker
What needs to be done?
Change the sentence from
Service workers only run over HTTPS

to something like
Service workers only run over [secure contexts](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts)

secure contexts includes HTTPS, but it also includes http://localhost and file:// paths, etc.
This is important, because developers can run their sites with service worker on localhost, without HTTPS.
The most exact description should be "secure contexts", not "HTTPS".

also, please handle https://github.com/google/WebFundamentals/issues/7599 as well...


Update BASE_VERSION to 1.15-2023-02-08T19-00-47

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.15
0c1beb4a6994946010434d2ff81ca91674d02273
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests-arm64

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.15
0c1beb4a6994946010434d2ff81ca91674d02273
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests-arm64


[Swift6]: Use @State over @StateObject in ViewContext

Checklist

[X] Reviewed the README and documentation.
[X] Checked existing issues & PRs to ensure not duplicated.

Description
@StateObject is slightly less performant than @State due to the overhead of resubscribing the subtree's ObservableObjects when updating the parent view.
However, Swift5's actor isolation inference seems to have a special behavior when using @StateObject (views that depend on @ViewContext indirectly through other dynamic properties are not isolated to the main actor), and I found out that it breaks backward compatibility.
Most likely it's a bug, but fortunately the actor isolation inference for property wrapper will be removed in Swift6, so then we can replace state management using @StateObject with @State.
Example Use Case
N/A
Alternative Solution
No response
Proposed Solution
No response
Motivation & Context
No response

close https://github.com/ra1028/swiftui-atom-properties/pull/151


Bump version number

bors r+

bors r-

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


Header can have Examples in Parameter Object

Describe the bug
An example for a parameter could show up in the schema, or in the parameter object (next to schema). Either are equally valid.
/params:
  get:
    parameters:
      - name: single-example-good
        description: Valid to its schema
        in: query
        schema:
          type: string
          enum: [foo, bar]
        example: foo

      - name: single-schema-example-good
        description: Valid to its schema
        in: query
        schema:
          type: string
          enum: [foo, bar]
          example: foo

We currently do not support these sorts of examples, which are showing up in the Digital Ocean example.

To Reproduce

Given the Digital Ocean example https://elements-demo.stoplight.io/?spec=https://raw.githubusercontent.com/digitalocean/openapi/main/specification/DigitalOcean-public.v2.yaml
Look at the rate limit headers
Should see example, but its not there

Expected behavior

ratelimit-limit should have example 5000
ratelimit-remaining should have example 4816

We have worked with http-spec before, I think we would be comfortable taking this in any sprint, without external help even (with a non-particularly-high point number). As http-spec does not have a dedicated owner, IMO this should be decided based on the expected workload of the teams. If you'd like us to take it, @philsturgeon please place it on our Product backlog where appropriate.

This is partially solved in https://github.com/stoplightio/elements/pull/1654
      - name: single-example-good
        description: Valid to its schema
        in: query
        schema:
          type: string
          enum: [foo, bar]
        example: foo

will now work.
However this:
      - name: single-schema-example-good
        description: Valid to its schema
        in: query
        schema:
          type: string
          enum: [foo, bar]
          example: foo

is a bit trickier. Spec for JSON Schema only mentions "examples" parameter (plural). https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.9.5
There is no mention of "example" (singular).
Even in TypeScript we don't have access to "example" property, since http-spec claims we are getting a JSONSchema7 instance.
So should "example" (singular) parameter in JSON Schema be even supported?
@marbemac @philsturgeon

I’m still away from keyboard but short answer is that the example keyword is not a JSON schema keyword it’s an OAS3.0 keyword.
https://phil.tech/2020/openapi-examples/
It’s deprecated but still around in OAS3.1.
--
Phil Sturgeon
Product @ Stoplight.io

On Jul 29, 2021, at 14:18, Mateusz Podlasin @.***> wrote:

This is partially solved in #1654
  - name: single-example-good
    description: Valid to its schema
    in: query
    schema:
      type: string
      enum: [foo, bar]
    example: foo

will now work.
However this:
  - name: single-schema-example-good
    description: Valid to its schema
    in: query
    schema:
      type: string
      enum: [foo, bar]
      example: foo

is a bit trickier. Spec for JSON Schema only mentions "examples" parameter (plural). https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.9.5
There is no mention of "example" (singular).
Even in TypeScript we don't have access to "example" property, since http-spec claims we are getting a JSONSchema7 instance.
So should "example" (singular) parameter in JSON Schema be even supported?
@marbemac @philsturgeon
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ok. My bad. Luckily http-spec already does a conversion from example to examples for schema.
Therefore all 4 cases now work, and #1654 closes the issue.

👌


New Indicator proposal: KAMA (Kaufman's Adaptive Moving Average)

Excellent job on developing all these indicators.
Can you please add KAMA - Kaufman's Adaptive Moving Average (https://school.stockcharts.com/doku.php?id=technical_indicators:kaufman_s_adaptive_moving_average) ?
It's an evolution of regular EMA (Esponential Moving Average).

Hi all,
@d5lewis has worked on a KAMA implementation.
It will be included in the next ta library version (next days).

Great!! Thank you! We will test it and let you know!

@bukosabino Did you release the new version with KAMA calculation, so we can find it in the "pip3 install ta" library ?
Thanks

Hi @StefanoCore
You can install the current development version doing:
pip install git+https://github.com/bukosabino/ta.git
I will release asap.

The indicator was included in the new version updated 0.4.6.


ERROR in Error: Metadata version mismatch for module

Bug
ERROR in Error: Metadata version mismatch for module<EMAIL_ADDRESS>found version 4, expected 3, resolving symbol AppModule in /angular-site/src/app/app.module.ts, resolving symbol AppModule in /angular-site/src/app/app.module.ts
at syntaxError (/angular-site/node_modules/@angular/compiler/bundles/compiler.umd.js:1729:34)
at simplifyInContext (/angular-site/node_modules/@angular/compiler/bundles/compiler.umd.js:24979:23)
at StaticReflector.simplify (/angular-site/node_modules/@angular/compiler/bundles/compiler.umd.js:24991:13)
at StaticReflector.annotations (/angular-site/node_modules/@angular/compiler/bundles/compiler.umd.js:24418:41)
at _getNgModuleMetadata (/angular-site/node_modules/@angular/compiler-cli/src/ngtools_impl.js:138:31)
at _extractLazyRoutesFromStaticModule (/angular-site/node_modules/@angular/compiler-cli/src/ngtools_impl.js:109:26)
at Object.listLazyRoutesOfModule (/angular-site/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/angular-site/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
at AotPlugin._getLazyRoutesFromNgtools (/angular-site/node_modules/@ngtools/webpack/src/plugin.js:207:44)
at _donePromise.Promise.resolve.then.then.then.then.then (/angular-site/node_modules/@ngtools/webpack/src/plugin.js:443:24)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)

What is the expected behavior?
starting my morning job...
In the command line: ng serve
I got that error after running the server.
Then I went to my app.module.ts and comment this:
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AddTaskComponent } from './add-task/add-task.component';

Also I comment from the imports:
    MatTabsModule,
    MatInputModule,
    MatIconModule

After that, I run again the server and it works.
What is the current behavior?
Once my server was running, I uncomment the previous code, so I let it as the original, waiting to see the error again... but nothing happens, the Application was working fine, no error.
What are the steps to reproduce?
You can check the GitHub https://github.com/josuevalrob/tasks
Run the server: ng serve
And the error will come.
Then you can comment the code mention above, re-run the server, see it works, and uncomment the code, so it will work again.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli: 1.4.4
node: 8.6.0
os: darwin x64
@angular/animations: 4.4.6
@angular/cdk: 5.0.1
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/material: 5.0.1
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.4
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4
Is there anything else we should know?
This is the dependency called in my cdk/package.json
"_from": "@angular/cdk",
"_id": "<EMAIL_ADDRESS>And this one is from the materiasl/package.json
"_from": "<EMAIL_ADDRESS>"_id": "<EMAIL_ADDRESS>

Angular Material now requires Angular 5, which itself requires TypeScript 2.4+ and RxJS 5.5.2+

How can i update both of them, using angular cli?

@josuevalrob  I don't use the CLI myself but I believe CLI 1.5+ uses Angular 5, and CLI 1.6 uses Angular 5.1+.
Upgrade your CLI and you should be good to go.
Others: plz correct me if I'm wrong as I'm not a CLI user.

Please refer all troubleshooting questions to our community at StackOverflow, Angular Material mailing lists, Gitter, etc. We try to keep our issues here only open for bugs and feature requests.

Try
npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest typescript@latest -g --save
This will upgrade Angular from any version to latest version. I was also facing some issues this upgrade solved issues.


Cookie handling contains bugs

@mikeal See my inline comments on this pull request.

+1 Seeing this error:
{ stack:
   [ 'TypeError: Cannot read property \'url\' of undefined',
     '    at new Cookie (/some-project/node_modules/request/vendor/cookie/index.js:45:20)',
     '    at /some-project/node_modules/request/main.js:432:33',
     '    at Array.forEach (native)',
     '    at Request.<anonymous> (/some-project/node_modules/request/main.js:426:46)',
     '    at Request.emit (events.js:64:17)',
     '    at IncomingMessage.<anonymous> (/some-project/node_modules/request/main.js:391:16)',
     '    at IncomingMessage.emit (events.js:81:20)',
     '    at HTTPParser.onMessageComplete (http.js:133:23)',
     '    at Socket.ondata (http.js:1231:22)',
     '    at Socket._onReadable (net.js:677:27)' ] }

@indexzero I probably fixed that error: https://github.com/mikeal/request/pull/106/files

what's the status on this pull request? there are some comments which I don't believe are resolved and there is also a change that has already been merged which i believe addresses some of the problems.

This pull request is still active. The other pull request about cookies was about the way it handled the Path header. This pull request covers:

Sending cookies from the jar in the correct syntax
Storing cookies that are set by requests with other response codes than 200

sorry, i mistook the inline comments as unresolved issues, didn't realize at first that you were using them to describe the changes :)


🐛 [firebase_analytics] WEB: User properties and custom events not working since Flutter 3 versions

Bug report
I was able to successfully use Firebase Analytics in Flutter Web in my previous scenario:

Flutter 2.10.5
firebase_core 1.6.0
firebase_analytics 8.3.2

I had some user properties that were sent along with our custom events. Everything was working fine.
But, since Flutter 3, this is not working anymore. My current setup is:

Flutter 3.0.0
firebase_core 1.17.0
firebase_analytics 9.1.8

In this scenario, I'm facing two strange behaviours:

Debug in localhost: Custom events are properly sent but they have no user properties in the POST request. If I check the Firebase Realtime dashboard, I can see the events but I can't see the user properties set (as I guessed with the POST request).
Deploy in Firebase Hosting: Default events (like page_view) are sent with my User Properties, but custom events fail. I can see page_view in Firebase Realtime dashboard but no custom event appear. In the Chrome console, with Firebase Analytics Debugger on, I can see the following message when trying to send a custom event:
Event parsing aborted: Cannot convert object to primitive value. Event processing aborted.

Steps to reproduce
Steps to reproduce the behaviour:

Download firebase_analytics example project.
Change firebase_config.dart to your firebase project values.
Set any analytics user property.
Log any custom event.
Run the app in localhost: Custom events are sent but user properties aren't.
Deploy to Firebase Hosting: Custom events are not sent but user properties are set when logging default events.

Expected behavior
User properties and custom events are properly sent with Flutter 3 in WEB environment in localhost and hosting.
Sample project
You can just use the firebase_analytics example project and set your config in the firebase_config.dart file:
Firebase Analytics Example

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.0.1 21A559 darwin-x64, locale en-ES)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.67.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.0
Flutter SDK 3.0.0
firebase_analytics_example 0.0.0

dependencies:
- firebase_analytics 9.1.8 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_core 1.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- drive 1.0.0-1.0.nullsafety.5 [test_api flutter_test flutter_driver stack_trace flutter]
- flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver archive async boolean_selector characters charcode clock collection crypto matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- test 1.21.1 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

dependency overrides:
- firebase_analytics_platform_interface 3.1.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+13 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_core 1.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.4.0 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]

transitive dependencies:
- _fe_analyzer_shared 40.0.0 [meta]
- analyzer 4.1.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.1.11 [crypto path]
- args 2.3.1
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.16.0
- convert 3.0.1 [typed_data]
- coverage 1.2.0 [args logging package_config path source_maps stack_trace vm_service]
- crypto 3.0.1 [collection typed_data]
- fake_async 1.3.0 [clock collection]
- file 6.1.2 [meta path]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- frontend_server_client 2.1.3 [async path]
- fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform]
- glob 2.0.2 [async collection file path string_scanner]
- http_multi_server 3.2.0 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- mime 1.0.2
- node_preamble 2.0.1
- package_config 2.0.2 [path]
- path 1.8.1
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- shelf 1.3.0 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.0 [path shelf shelf_static]
- shelf_static 1.1.0 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- sync_http 0.3.0
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.13 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- typed_data 1.3.0 [collection]
- vector_math 2.1.2
- vm_service 8.2.2
- watcher 1.0.1 [async path]
- web_socket_channel 2.2.0 [async crypto stream_channel]
- webdriver 3.0.0 [archive matcher path stack_trace sync_http]
- webkit_inspection_protocol 1.1.0 [logging]
- yaml 3.1.1 [collection source_span string_scanner]

I think this issue is not related to Flutter 3 but to version of Firebase. We are seeing the same described behaviour with the following configuration for Flutter Web:

Flutter 2.10
firebase_core: 1.14.0
firebase_core_web: 1.6.1
firebase_analytics: 9.1.3
firebase_analytics_web: 0.4.0+9

When we set a user property we are facing the error Event parsing aborted: Cannot convert object to primitive value. Event processing aborted. and can not send any analytics events in that session.
Without setting user properties (skip step 3 above) the analytics events are sent successfully.

@kolotum Yes, I was referring to the Firebase versions that came with Flutter 3.
The problem is that once you upgrade and apply changes for Flutter 3, you can't downgrade to 8.x.x versions because you get Firebase initialization errors. I think firebase_core is trying to use firebasejs version 9 (module) and it's not properly loading analytics if you use a downgraded version.

Thanks for the report. Using steps to replicate provided above and running on web, I observed the same result as reported.
Used latest plugin version to verify this.
Maybe related to : https://github.com/firebase/flutterfire/issues/8403

Upgraded to latest versions and still happening.
firebase_core: ^1.17.1
firebase_analytics: ^9.1.9

I am testing the code from this PR to see if it helps. I'll report back after some hours to see what data is being retrieved by GA4:
https://github.com/firebase/flutterfire/pull/8810

I am testing the code from this PR #8810 to see if it helps. I'll report back after some hours to see what data is being retrieved by GA4: #8810

I've just tested that PR example app and the issue is still there. Events are successfully logged but user properties aren't.
With GA Debug Extension ON, I can see the following messages:
Set user property
Click To Expand
Processing commands (1)

Processing GTAG command: ["config", "G-XXXXXXXXX", {update: true, user_properties: {my_user_property: indeed}}]

GTAG Command: "config", target: "G-XXXXXXXXX", configuration: {update: true, user_properties: {my_user_property: indeed}}

Log event
Click To Expand
Processing commands (1)

Processing GTAG command: ["event", "test_event", {string: "string", int: 42, long:<PHONE_NUMBER>0, double: 42, bool: "true", items: [{affiliation: "affil", currency: "USD", coupon: "coup", creative_name: "creativeName", creative_slot: "creativeSlot", discount: 2.22, index: 3, item_brand: "itemBrand", item_category: "itemCategory", item_category2: "itemCategory2", item_category3: "itemCategory3", item_category4: "itemCategory4", item_category5: "itemCategory5", item_id: "itemId", item_list_id: "itemListId", item_list_name: "itemListName", item_name: "itemName", item_variant: "itemVariant", location_id: "locationId", price: 9.99, promotion_id: "promotionId", promotion_name: "promotionName", quantity: 1}], send_to: "G-XXXXXXXXX"}]

Sending event "test_event" to undefined

Invalid event parameter "_ipe" on event "test_event", parameter will not be logged

Loaded existing client id: ...
Event would be batched, but batching is disabled in debug mode.

Request parameters:
v: 2
tid: G-XXXXXXXXX
gtm: 2oe610
_p: 105388656
_dbg: 1
_z: ccd.tdB
_fid: e_cjPhYMxEvpMiydzDlGGP
cid:<PHONE_NUMBER>.1646059528
ul: es-es
sr: 1920x1080
Event parameters:
en: test_event
_ee: 1
_et: 10814
ep.screen_name: /
ep.origin: firebase
ep.string: string
epn.int: 42
epn.long:<PHONE_NUMBER>0
epn.double: 42
ep.bool: true
Shared parameters:
sid:<PHONE_NUMBER>
sct: 7
seg: 1
dl: http://localhost/
dt: Firebase Analytics Demo

Hey @jronceroscb, I'm confused

I am testing the code from this PR #8810 to see if it helps. I'll report back after some hours to see what data is being retrieved by GA4: #8810

EDIT1: I've just tested again, and userId user property is set, but custom user properties aren't.
EDIT2: Tested in release mode and I get the same as when deployed in Firebase Hosting -> "Event parsing aborted: Cannot convert object to primitive value" after set user property + send custom event
I've just tested that PR example app in localhost and the issue is still there. Events are successfully logged but user properties aren't.
With GA Debug Extension ON, I can see the following messages:
Set user property
Click To Expand
Processing commands (1)

Processing GTAG command: ["config", "G-XXXXXXXXX", {update: true, user_properties: {my_user_property: indeed}}]

GTAG Command: "config", target: "G-XXXXXXXXX", configuration: {update: true, user_properties: {my_user_property: indeed}}

Log event
Click To Expand
Processing commands (1)

Processing GTAG command: ["event", "test_event", {string: "string", int: 42, long:<PHONE_NUMBER>0, double: 42, bool: "true", items: [{affiliation: "affil", currency: "USD", coupon: "coup", creative_name: "creativeName", creative_slot: "creativeSlot", discount: 2.22, index: 3, item_brand: "itemBrand", item_category: "itemCategory", item_category2: "itemCategory2", item_category3: "itemCategory3", item_category4: "itemCategory4", item_category5: "itemCategory5", item_id: "itemId", item_list_id: "itemListId", item_list_name: "itemListName", item_name: "itemName", item_variant: "itemVariant", location_id: "locationId", price: 9.99, promotion_id: "promotionId", promotion_name: "promotionName", quantity: 1}], send_to: "G-XXXXXXXXX"}]

Sending event "test_event" to undefined

Invalid event parameter "_ipe" on event "test_event", parameter will not be logged

Loaded existing client id: ...
Event would be batched, but batching is disabled in debug mode.

Request parameters:
v: 2
tid: G-XXXXXXXXX
gtm: 2oe610
_p: 105388656
_dbg: 1
_z: ccd.tdB
_fid: e_cjPhYMxEvpMiydzDlGGP
cid:<PHONE_NUMBER>.1646059528
ul: es-es
sr: 1920x1080
Event parameters:
en: test_event
_ee: 1
_et: 10814
ep.screen_name: /
ep.origin: firebase
ep.string: string
epn.int: 42
epn.long:<PHONE_NUMBER>0
epn.double: 42
ep.bool: true
Shared parameters:
sid:<PHONE_NUMBER>
sct: 7
seg: 1
dl: http://localhost/[](http://localhost/)
dt: Firebase Analytics Demo

Hey @jronceroscb, I'm trying to interpret what the issue is here. In debug mode, I don't see any error in the console, and the debug logs appear to show the custom event and user properties are correctly interpreted.
Does this debug log not mean user property is set?
Processing commands (1)
js?l=dataLayer&id=G-F79DJ0VFGS:202 Processing GTAG command: ["config", "G-F79DJ0VFGS", {update: true, user_properties: {regular: indeed}}]
js?l=dataLayer&id=G-F79DJ0VFGS:202 GTAG Command: "config", target: "G-F79DJ0VFGS", configuration: {update: true, user_properties: {regular: indeed}}

Hello @russellwheatley, thanks for the response. My guess is that the user property is set locally but is not propagated to Firebase servers.
From my understanding, user properties are not sent until an event is logged. So, setting a user property locally seems to be working, but when logging an event, the event has no user properties in the request.

By the way, I've been testing the Javascript SDK (9.8.2 version) to discard a possible issue in JS, and the user properties are correctly set when logging an event.
As you can see in the next log, there is a 'up" parameter with the user property -> up.my_property: codelab
Log event JAVASCRIPT SDK
Click To Expand
Processing commands (1)

Processing GTAG command: ["event", "my_event", {my_param: "test", send_to: "XXXXXXXX"}]
Invalid event parameter "_ipe" on event "my_event", parameter will not be logged

Loaded existing client id: XXXXXXXX.YYYYYYYY
Event would be batched, but batching is disabled in debug mode.
Sending event "my_event" to undefined
Request parameters:
v: 2
tid: XXXXXXXX
gtm: 2oe660
_p:<PHONE_NUMBER>
_dbg: 1
_z: ccd.tdB
_fid: fFNhc131I3cXax6DfyE2ex
cid:<PHONE_NUMBER>.1650876975
ul: es-es
sr: 1920x1080
Event parameters:
en: my_event
_ee: 1
_et: 8107
ep.origin: firebase
ep.my_param: test
up.my_property: codelab
Shared parameters:
uid: my_user_id
sid:<PHONE_NUMBER>
sct: 1
seg: 1
dl: http://<IP_ADDRESS>/
dt:
Sending request: https://www.google-analytics.com/g/collect?v=2&tid=XXXXXXXX&gtm=2oe660&_p=2060749588&_dbg=1&_z=ccd.tdB&_fid=fFNhc131I3cXax6DfyE2ex&cid=1339912682.1650876975&ul=es-es&sr=1920x1080&_s=3&uid=my_user_id&sid=1654599993&sct=1&seg=1&dl=http%3A%2F%2F<IP_ADDRESS>%2F&dt=&en=my_event&_ee=1&_et=8107&ep.origin=firebase&ep.my_param=test&up.my_property=codelab

@russellwheatley I think I've found what might be the issue. I think that the user properties in Flutter are being set as Objects and not as Strings.
If you compare the Analytics Debug messages between Flutter and Javascript SDK you can see the difference:
Flutter
Processing GTAG command: ["config", "G-0QZLE2MW5B", {update: true, user_properties: {my_property: analytics_example}}]
Javascript SDK
Processing GTAG command: ["config", "G-0QZLE2MW5B", {update: true, user_properties: {my_property: "codelab"}}]
Can you see the difference between analytics_example and "codelab"? One is an object and the other is a string.

@russellwheatley that was it!! I've managed to make it work, I'll make a pull request to your v9/analytics branch.

Awesome work, @jronceroscb! We gratefully accept PRs 😄

I have the same issue with Firebase user properties.
Browser console shows the log that user property is being set

But when debugging using debugView with GA debugger, I can't see it.
This PR https://github.com/firebase/flutterfire/pull/8852 has merged already and the changes are available in master branch https://github.com/firebase/flutterfire/blob/master/packages/firebase_analytics/firebase_analytics_web/lib/interop/analytics.dart
Is this issue resolved already with the latest version https://pub.dev/packages/firebase_analytics_web

Hey @deepak786, this has been released with the web v9 JS SDK release: https://github.com/firebase/flutterfire/blob/master/packages/firebase_analytics/firebase_analytics/CHANGELOG.md#920. Use the latest version and it should be fine now.

I have to wait, until this issue is not resolved https://github.com/firebase/flutterfire/issues/9132
Otherwise, the Web build will not work.


Content security policy

Right now using my security policy of using script-src 'self I'm getting a refusal to run html2pdf.
By adding script src 'self' 'unsafe-eval' then it works just fine. That isn't an option for me though..
I've had a look through html2canvas and jspdf and can't find a reference to eval, so I'm thinking it might be something deeper down the chain.
Can you advise on this?

Right now using my security policy of using script-src 'self I'm getting a refusal to run html2pdf. By adding script src 'self' 'unsafe-eval' then it works just fine. That isn't an option for me though..
I've had a look through html2canvas and jspdf and can't find a reference to eval, so I'm thinking it might be something deeper down the chain.
Can you advise on this?

Hi did you find anything to solve this or is there any other alternative for the library?


GC metrics for MT

pauses correlated to slower requests? + runtime may expose other interesting metrics

FWIW, on my laptop, with 2 endpoints and just the graphite-watcher load, seeing this:
(compiled with go 1.5.3)
infrequent GC runs, but they last a bit longer then i'ld like.


translation of Getting_Started page

I would like to work this page.

Close this issue because the PR is merged.


add equip and unequip sfx

Expected!

Bow & staff are pretty hard to hear compared to the others. Do you think we should bump those up or is that expected

Expected!


[2.1] Support different DI containers.

This is related to my open PR(#14107) regarding PSR-11 compatibility, it is not the same however.
My PR is about making the Yii DI container usable in libraries that need a PSR-11 container.
This is to be a discussion about supporting other DI containers for usage within Yii.
Yii's DI container does some things that are out of the scope of PSR-11.
These are:

Allowing to not only resolve dependencies for objects but also for callables.
Allow configuring of objects via ->get(..., ..., ...).
Allow passing constructor arguments to the object that must be returned.

Note that (1) and (2) can be refactored to wrap any PSR-11 container instead of being part of a container itself. (3) however is a problem. Since $container->get() will return the object there is no option to pass constructor arguments, for these cases we need to look for alternatives (which is why this is a 2.1 discussion).
There are currently 5 places in the Yii source code that pass constructor arguments to $container->get via Yii::createObject:
/base/Module.php[423]: $module = Yii::createObject($this->_modules[$id], [$id, $this]);
/base/Module.php[578]: $controller = Yii::createObject($this->controllerMap[$id], [$id, $this]);
/base/Module.php[638]: $controller = Yii::createObject($className, [$id, $this]);
/base/Controller.php[225]: return Yii::createObject($actionMap[$id], [$id, $this]);
/db/ActiveRecord.php[305]: return Yii::createObject(ActiveQuery::className(), [get_called_class()]);

These 5 calls instantiate (subclasses of) 3 classes:
yii\db\ActiveQuery
yii\base\Module
yii\base\Controller

In these specific cases the constructor arguments consist of public variables combined with a configuration array. The reason for these variables to be constructor arguments (they could also be configured via the configuration array) is that they are not optional but required.
I do not have a specific solution that I feel is best, but I think the above provides enough information to start a discussion.
tldr; if we want Yii to be able to use PSR-11 DI Containers we must:

Decide how to handle constructor arguments outside DI
Decide how to handle configuration outside DI

only more than 5 cases need to refactor, example look web\User component and  how create url in loginRequired. If i can override user component in AccessFilter, but not override Url::to in loginRequired


[$250] Add posted date to Expensify Card transactions

Problem: Credit card transactions are unique because it's possible to buy something one day, but then the transaction isn't processed by the issuing bank until a couple of days later. Both dates are important, because the receipt will always have the transaction date, yet the accountant (and accounting system) need the posted date.
Solution: Let's add the posted date to all Expensify Card transactions. What this means in practice is that:

The transaction date will continue to show.
We'll add a "dot separator" pattern for Date label (just like Amount; see example below).
This will take the form Date * Posted %postedDate%.

I've annotated the mockup below so that this is hopefully all clear.

Other notes for emphasis:

The transaction date and the posted date only apply to Expensify Card transactions, so please make sure that's addressed in your proposal.
If there is no posted date yet, then * Posted %postedDate% will not show.

Issue OwnerCurrent Issue Owner: @ikevin127

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add posted date to Expensify Card transactions
What is the root cause of that problem?
New feature
What changes do you think we should make in order to solve the problem?

Create a variable for date description as we did for amountDescription here

When the transaction is the card transaction, get the posted date from transaction data, if it exists add posted data to the dateDescription

https://github.com/Expensify/App/blob/e3632a9877542727230814ffc9fdd78bd087ecbd/src/components/ReportActionItem/MoneyRequestView.tsx#L235

Update the description prop here to dateDescription variable

description={translate('common.date')}

https://github.com/Expensify/App/blob/e3632a9877542727230814ffc9fdd78bd087ecbd/src/components/ReportActionItem/MoneyRequestView.tsx#L593
What alternative solutions did you explore? (Optional)

Updated proposal.

Add code change

♻ Reviewing proposal.

@mkzie2's proposal makes sense to me. The solution follows the Amount field's model for adding additional data which is what we're looking for based on the issue's emphasis notes. Other details can be worked on during the PR phase. The solution result would look like this:

Spoiler

🎀👀🎀 C+ reviewed

@mountiny Is the BE part for this NewFeature completed ? I wasn't able to find any variable like / related to postedDate in the FE transaction types - therefore we might have to wait for BE to return the variable before moving on with the FE implementation for this issue.

Thanks! no the be is not completed. I fell for the trap from @JmillsExpensify called External issue.
I will have to whip up a PR for this

Another thing I noticed when reviewing is that we have this check:
https://github.com/Expensify/App/blob/7256ad6eef046be3345e0b260252f6ec47fc4203/src/libs/TransactionUtils/index.ts#L637-L642
based on which we will show the Posted YYYY-MM-DD label if postedDate exists (based on proposed solution):
https://github.com/Expensify/App/blob/7256ad6eef046be3345e0b260252f6ec47fc4203/src/components/ReportActionItem/MoneyRequestView.tsx#L235-L242
but because of the !!transaction?.managedCard check which determines isCardTransaction, if managedCard (boolean) is false or doesn't exist in the transaction object -> isCardTransaction will be false -> label won't show.
@mountiny  Is managedCard always populated and true on card transactions ? I wanted to bring up with you to ensure that we're tight here from the BE side, otherwise we could have a potential regression post-merge.

@mountiny Please let me know once the backend PR is done and let me know what data in a transaction that I can use to get the postedDate

@mkzie2 will let you know

@ikevin127 I assume managedCard is for all card transactions give the logic you showed but I will check once I will work on the PR

No update

In the queue

@ikevin127 @mkzie2 the BE is up and it should be deployed on Monday.
The property in transaction will be posted and its a string with format YYYYMMDD so we will have to format it to what we need. This is how it is saved in the DB so I prefer not to change it to avoid confusion and just process it in the App. Types need to be updated too obviously

@mkzie2 @ikevin127 what is your eta on the pr? You can start working on it assuming the data is in posted field of a transaction. You cannot test card transactions nonetheless so you can go ahead

Then @mkzie2 can move forward with opening the PR and use posted as the variable and I'll start reviewing as soon as it's ready for review.

Will raise the PR today.

@mountiny Can you give me an example of posted with YYYYMMDD format?

@ikevin127  Create a draft here. cc @mountiny.

posted: "20241125"

posted: "20241125"

@mkzie2 Given the format detailed above, I think if this part of the PR works with the given date format, then we're good to go and you can open the PR making sure to add testing steps and when it comes to the screenshots/videos section see if you can simulate a card transaction locally using Onyx. You can follow this Slack thread for details on how to simulate a card transaction locally for testing purposes.

Thanks will complete the PR today.

[x] [@ikevin127] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.

Regression Test Proposal

Create a card transaction and ensure the transaction was paid and posted (processed by the issuing bank).

Go to the transaction thread report or the combined expense report.

Verify that the Posted {date} label is displayed on the right side of the Date label.

Do we agree 👍 or 👎.

cc @JmillsExpensify payment overdue, for visibility

Payment summary:

Contributor: $250 @mkzie2 via Upwork
Reviewer: $250 @ikevin127 via Upwork

Upworks offers sent to both and regression test also created.

@JmillsExpensify Offer accepted, thank you!

All contributors paid out and regression test request is place. Closing this issue.


Re #1998 - Make sure the watch "is viewed" attribute is correctly represented in the API output

Closes #1998

Thanks @dgtlmoon , LGTM will open a PR in homepage when this is released IF this field is defined to check it/use it


Saving/loading statistics together with the simulation file

Feature request:
The statistics of a simulation are not saved along with it, causing them to be lost upon reloading. The following changes are desirable:

When saving a simulation, in addition to the sim and settings.json files, a csv file containing the statistics should be created.
When loading a simulation, the corresponding csv file is loaded as well, allowing its content to be displayed in the statistics window. If the file does not exist, the simulation should be loaded as usual.
When resetting a simulation to a savepoint (restore snapshot), the entire statistics should not be deleted, only the time range that was reverted.
Similarly, during upload and download, the statistics should be considered. This requires adjustments to the server code and corresponding extensions to the data model in the database.

implemented in v4.5


chore: Release

:tada: This PR is included in version 1.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tsp, openai, refactor BodyParameter

No API change in TypeSpec/Swagger.
Data Plane API Specification Update Pull Request

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Schedule a data plane REST API spec review

Getting help

First, please carefully read through this PR description, from top to bottom.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

curious on the API view diff:
getImageGenerationsWithResponse - why is this function added? (seems it is not generated?)

curious on the API view diff:
getImageGenerationsWithResponse - why is this function added? (seems it is not generated?)

Seems the error of choosing the base version.
This one seems to be the correct base version
https://apiview.dev/Assemblies/Review/0b875c11102a447c8807ad710b3d4e7c?revisionId=c22539089f9a4e4ea3f21c2d9746bfb2&diffRevisionId=9661b7180bda48628bc747a0ad9561b8&doc=False&diffOnly=True

Thanks for the fix @weidongxu-microsoft!
Before we merge this PR however, I would like to understand why it was necessary to use BodyParameter<> , originally introduced in this PR: https://github.com/Azure/azure-rest-api-specs/pull/29483  , for operations under, for example, route/completions.tsp where we just simply were passing types like CompletionsOptions and ChatCompletionsOptions where there was no usage of @body or @bodyRoot ?
This has additional nesting implications in the generated swagger that is visible in the changes in the data-plane folder change set.
Maybe @iscai-msft you could help me understand this better. If we could revert things back from before your refactor for some of the fields where it makes sense, it might help simplify the changes introduced here by @weidongxu-microsoft .

@jpalvarezl the name of<EMAIL_ADDRESS>is misleading in this scenario, but this has more to do with keeping ChatCompletionOptions grouped together as a model, instead of having the individual properties of the options bag spread into the method signature.
We're simplifying our emitter logic with regards to spreading models on the method signature, and behind the scenes, the templates are spreading the properties of ChatCompletionOptions, and this change is to ensure we generate the same output for your SDK before and after our emitter logic.
TLDR: this is to keep your generated method signature looking like this
function getCompletions(options: ChatCompletionsOptions)

instead of
function getCompletions(messages: Message[], functions?: Function[]...)

Thanks Isabella for the explanation.
Since 0.18.0 typespec-java supports the "spread is spread" feature, we can have a test PR to show what would happen to Java SDK, if we remove BodyParameter there.
https://github.com/Azure/azure-rest-api-specs/pull/29800
Java preview code https://github.com/azure-sdk/azure-sdk-for-java/pull/11188/files
-    public Mono<ChatCompletions> getChatCompletions(String deploymentOrModelName, ChatCompletionsOptions body) {
+    public Mono<ChatCompletions> getChatCompletions(GetChatCompletionsOptions options) {

Java had to group the parameters again to GetChatCompletionsOptions (when count>6). Otherwise, that API with 20+ parameters is not usable.


ProgressBar instead of Loading-Spinner

whith this progress-bar the user see more transparent the state of the loading and encoding of json files since the files will get bigger in the future and sometimes is slow on mobile devices

Super cool!

Oh no, this explodes. Please don't add UI code to the models code.


[brotli] Build error

I tried and I get that error on my windows 10 latest update pc.
Error: Building package brotli:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and .\vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+brotli
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[brotli]+Build+error
including:
package: brotli[core]:x64-windows -> 1.0.9#2
vcpkg-tool version: 2022-02-11-dac008bf9b55ef48e10bcc81e273b97a82bbf72d
vcpkg-scripts version: daa7215f3 2022-02-22 (19 hours ago)
Additionally, attach any relevant sections from the log files above.

Duplicate of #23245 , let's track this issue in pr #23245


feat: add types to Swagger query parameters

Resolves #337
This add types to Swagger parameters, e.g. trusted, timezone_offset and cursor:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 92.038%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/mappers/common/transaction-info.mapper.ts
1
77.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
4146

Relevant Lines:
4393

💛  - Coveralls


Using "gather" verb on windows missing tmp folder on C:\

Describe the bug
When trying to use the verb gather after it listen on the call and try to reproduce this with the verb say it cannot find the file because tmp folder is not being created on C:\tmp automatically.
To Reproduce
Steps to reproduce the behavior:
Just run the code on the image below under a Windows machine. Error raised is on this image too.

Go to '...'
Type '....'
Then, '....'
See error

Expected behavior
Here it's expected to run properly both verbs gather and say. If I manually create this tmp folder on C:\ problem is solved and application run properly.
Screenshots
If applicable, add screenshots to help explain your problem.
System information (please complete the following):

OS: [e.g. Windows 10]
NodeJS, NPM versions [e.g. v14.17.4, 6.14.14]

@BrayanMnz Thanks for reporting the issue. This seems critical, so we will start triaging this probably today.

I can confirm that this is a bug, which comes down to us having a hardcoded value /tmp. I have to double-check, but it seems that using os.tmpdir() could fix the issue.

We are all set here. Fixed with this commit. Thanks!


Tdarr integration

Description
Having Tdarr integration that shows some form of status on the transcode queue, status of running nodes, ETAs, %'s, whatever you can squeeze into the widget that isn't too much trouble 😄
Priority would be Node status, active worker count, remaining queue number, error number.
Very useful would be total ETA, healthcheck status, Node FPS, active plugin, compression %
Nice-to-haves would be things like the stats page, showing space saved, total transcodes, container stats.
Tdarr has a lot of cool and useful data, if the API permits then scraping all of this would be awesome!
Priority
Medium (Would be very useful)

I might spend some time on creating an integration for Tdarr since this is also something I would be interested in. @Zeragonii In the meantime, I added an iframe to my dashboard which shows the Tdarr page. It's not ideal but better than nothing I suppose.

I might spend some time on creating an integration for Tdarr since this is also something I would be interested in. @Zeragonii In the meantime, I added an iframe to my dashboard which shows the Tdarr page. It's not ideal but better than nothing I suppose.

We would be happy to accept your contribution. Feel free to ask any questions here or in our Discord.

Jumping on this bandwagon!

Can we add support for API keys with Tdarr?  I enabled authentication in it and per their docs the only way for apps to access the API at this point is via an API key however I didn't see a place to add that in Homarr for the Tdarr integration.

Happy to create my own issue thread but I thought I'd chime in here first. After the last update, the tdarr widget on my homarr webpage no longer shows anything in the statistics. Tdarr stats are correct in the app, it just seems to be failing to pull the data. Everything else still works fine though.

@s3807139 this is not related to the OP's post. Please create a separate issue

any updates on this?

Here to shine a light on this issue again.
The widget itself probably works but there is no field for entering your tdarr api key.
id love to see my transcoding stats in homarr but running tdarr without auth is not a good option.

Hi, I will close this issue because Tdarr has been implemented. Your issue regarding authentication should be posted in a separate issue. Thank you.


How do you get overlay ?

Hi,
How do you get overlay when the drawer opens and slides out?

@bsgies See https://github.com/jonkykong/SideMenu/issues/575#issuecomment-801811361


[Question] Custom object detection for Mediapipe's object tracker

Hi, thanks for the great repo.
Btw, could I know, is it possible to change/update the object tracker's object detection tflite model (default is mobilenet_ssdlite) to other object detection's tflite model without changing the code (for tracker, it does not have Python support)?
Or do we need to match the output of the default model to make it work?

CMIIW, the reason of my question is due to the base code, which seems to support any model, as long as the I/O matches the default model, thanks for your help in advance.
ref:

object detection + tracker structure

Hi @briliantnugraha ,
Could you please elaborate this issue to investigate further on this issue.

Hi @sureshdagooglecom , I want to make an object detection for the tracker in Mediapipe.
Is it possible to do it (like putting custom ONNX/tflite model as the object detection, and just connect the detection output as long as the detection format matches) with the tracker in Media pipe?
Or do I need to follow the current structure and algorithm of Mediapipe to do so?
Thanks in advance.

Hi @briliantnugraha ,
You need to follow current structure and algorithm of Mediapipe.


x64 register usage documentation should cover ZMM registers

The x64 register usage documentation, as well as other x64 ABI and calling convention documentation, should cover the AVX-512 ZMM registers (including the additional registers ZMM16-ZMM31).

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

ID: 7052f5eb-e592-2920-e58a-30a6d4bbc3b8
Version Independent ID: dfe35b76-1b05-7914-70a8-e35e17ef6624
Content: x64 ABI conventions
Content Source: docs/build/x64-software-conventions.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

Thank you for your patience as we work through our backlog. We have received more issues than we can manage at this time. We are closing issues based on their severity, how broadly applicable they are, and whether there is enough information provided to act on the issue. If you believe that this issue should not have been closed, please reopen it and provide a comment explaining why.


Random crashing

OS: Ubuntu 15.04
Unturned: <IP_ADDRESS>
Rocket: Linux 710
Description:
Lately my server has been just shutting down out of the blue. Every once and a while it will give a report in the screen message board but I can't seem to find that in the logs or a crash report. This is getting very annoying because my server is down for hours at a time, losing many players. I'm not sure where to look for a crash report, but if I do find one I will be sure to report here.

You might want to check this for automatic rebooting of your server (in case of a crash).
Check the answer: http://stackoverflow.com/questions/38465751/reboot-is-not-working-in-cron

I don't even have an auto reboot...

Umm, my Unturned server is crashing, I don't need to restart my dedicated everytime it crashes. This isn't even close to what I was talking about.

Hackers can take down our servers easily. I've seen it doing in my own server. All you can do is ban hackers and try to keep it online. Some plugins could make it crash too, but in that case you could see it in the logs.

What exactly am I supposed to use in this auto reboot considering you sent me someone's broken script?

It's not a broken script. I made this question to Stack Overflow, and they answered me a very NICE way to restart any scripts like (start.sh) at Linux boot, and even if your unturned server crashes it will auto boot again. This way I've 99.99% of uptime. Remember that I tried to help you and there is no need to be mean in any way. I rarely get a crash, and even if I have one, I don't even notice because of this little trick described in the answer I just provided you. I was willing to share, as you were having issues with 'down for hours, losing players'. You are in Github, this is not a random forum in the random internet, learn to contribute.

 I am quite new to this whole thing and I really don't understand the post. I have tried using the check.sh but that only started the server, didn't reboot it when it crashed.

Apologies accepted, for being honest if you are kinda new to this it can be hard to understand. About the crash you really need to search the logs in '(..)/unturned/Servers/serverInstanceName/unturned.log' or '(..)/unturned/Servers/1/Rocket/Logs'. As I said, the information there would help you determine if your server crashed because of any loaded plugin. You can always try to launch the server without the plugin and wait for some hours if you get any crash (maybe while you sleep).
 The whole systemctl thing and how it works. Thanks for this. :)

I have a couple questions,

How would I make the auto restart make a screen to view the console of the server?
How would I make the server auto restart to make sure it's work?


Small text edit

Proposed changes:

Correct typo in the word: Install

found in alt_requirements/requirements_full.txt

Status (please check what you already did):

[ X ] made PR ready for code review
[ NA ] added some tests for the functionality
[ NA ] updated the documentation
[ NA ] updated the changelog
[ NA ] reformat files using black (please check Readme for instructions)

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

Looks good! Thanks for spotting it!


feat(menu): Disable closing the menu when contents are clicked

Disables automatically closing the menu when the panel contents are clicked.

I think this can be closed if is already merged by someone else :)

Closing since we don't believe the menu should support this feature (https://github.com/angular/components/pull/4842#issuecomment-305031863)


Port mina maintenance docker berk

Porting #15418 to berkeley. Basically this is only for compatible. So commiting only empty merge

!ci-build-me

!ci-nightly-me

https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/1703

!approved-for-mainnet


[proxy] Migrate to async

This makes most of the proxy async (except for mgmt, but we expect to drop it soon). The auth logic is left almost untouched, since this patch is big enough, and it would be good to merge it and unlock further changes.

I've just realized that I forgot about NUM_BYTES_PROXIED_COUNTER. While it's quite easy to restore this logic, I'm a bit hesitant, since the current approach means that all runtime threads will compete for atomic var's cacheline. I might be overthinking, because there's an awful lot more happening inside tokio's runtime. Thoughts?

I've just realized that I forgot about NUM_BYTES_PROXIED_COUNTER. While it's quite easy to restore this logic, I'm a bit hesitant, since the current approach means that all runtime threads will compete for atomic var's cacheline. I might be overthinking, because there's an awful lot more happening inside tokio's runtime. Thoughts?

There is some cache contention but we only update when we flush, so I wouldn't expect visible performance impact. If there is any, we can just buffer the metric updates even more aggressively.

@LizardWizzard

What do you think about hypothetical Proxy struct that can hold reqwest::Client for console interaction and a cancellation keys map?

Could you elaborate? I don't see why they should live in a single map.

This way we can also avoid global variables.

How so? You never said anything about this map's lifetime. Besides, I've just re-introduced some private global maps exactly for the sake of simplicity.

May also simplify some future tests that manipulate this state.

Not necessarily.


interactive component - prevent from eating events

Is there a way to prevent the chart canvas interactive component from eating the mouse events?
Example:
I want to create a button on the Interactive Trendline to "Remove Trendline".
Thanks!

Trendline subscribes to click and mousemove only.
The EventCapture is a rectangle the size of the chart less margin. It captures all mouse events

create a button on the Interactive Trendline
How can you create a button on a trend line?

The example shows how to use DEL key to remove

closing due to inactivity. If you could describe the problem better I will reopen


Error in custom Native UI Module: ReferenceError: Can't find variable: React

Description
I'm creating a native UI module using TypeScript, and when I try adding types it just throws me this error.
I'm guessing it has something to do with my usage of the type definitions for my native UI modules, requireNativeComponent, wrapping in the Component, etc..

React Native version:
info Fetching system and libraries information...
(node:8872) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
    OS: macOS 10.15.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 10.62 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.3.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 25, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.0
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 21.2.6472646
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.13.1
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Create Native UI Module
Add import React from 'react'
Define Types and export class

Expected Results
React variable should be found.
Snack, code example, screenshot, or link to a repository:
react-native-blurhash/index.tsx
import React from 'react';
import { requireNativeComponent, ViewProps } from 'react-native';

export interface BlurhashProps extends ViewProps {
  /**
   * The blurhash string to use. Example: `LGFFaXYk^6#M@-5c,1J5@[or[Q6`.
   */
  blurhash: string;
  /**
   * The width (resolution) to decode to. This is not the same as the React Component's Style width! Higher values decrease performance, `32` is plenty!
   * @default 32
   */
  decodeWidth?: number;
  /**
   * The height (resolution) to decode to. This is not the same as the React Component's Style height! Higher values decrease performance, `32` is plenty!
   * @default 32
   */
  decodeHeight?: number;
  /**
   * Adjusts the contrast of the output image. Tweak it if you want a different look for your placeholders.
   * @default 1.0
   */
  decodePunch?: number;
}

class Blurhash extends React.Component<BlurhashProps> {
  constructor(props: BlurhashProps) {
    super(props);
  }

  render() {
    return (
      <NativeBlurhashView {...this.props} />
    );
  }
}

// requireNativeComponent automatically resolves 'BlurhashView' to 'BlurhashViewManager'
const NativeBlurhashView = requireNativeComponent<BlurhashProps>('BlurhashView');

export default Blurhash;

I then create the JS files with tsc --noEmit false

blurhash-example/App.jsx
import React from 'react';
import Blurhash from 'react-native-blurhash';

export default class App extends Component {
  render() {
    return (
      <View style={styles.container}>
        <Blurhash           // <-- Error thrown here
          blurhash="LGFFaXYk^6#M<EMAIL_ADDRESS>          decodeWidth={16}
          decodeHeight={16}
          decodePunch={1}
        />
      </View>
    );
  }
}

Any update on this? I'm creating a NPM library react-native-slide-modal. It only doesn't use any 3rd party libraries, but I'm getting the error Can't find variable: React when I import the library into a fresh project.
Is this an issue with tsconfig.json or React 17?

Interesting...So, I have the same problem using RN 0.64 however it only happens after I generate the bundle, the App works fine with react-native run ios.


Fix dropdown error & editor database dropdown validation

Fixes https://github.com/microsoft/azuredatastudio/issues/14916
There's two fixes here :

The dropdown map error - this is coming from this line https://github.com/microsoft/azuredatastudio/blob/main/src/sql/base/parts/editableDropdown/browser/dropdown.ts#L301

At this point the data source didn't have any values set and so filteredValues was undefined. I could have just updated it to also check for undefined like we did elsewhere - but IMO it makes more sense to just have the data source always have a list of values and then just default to an empty list. There isn't really any difference between an empty list and undefined.
The fixes in dropdown and dropdownList are for this

After doing this I noticed that the query editor database name dropdown was highlighted in red after connecting to a server until you clicked on the list. This was because we were waiting to load the database names in the list until the list got focus, and the validation for the dropdown was checking that the value being set was actually in the list. But because we didn't have the list of database names yet the values list was empty so it always showed an error.

So I slightly changed the behavior - whenever we change a connection and set that initial database name we also immediately set the values to just be a single item of that database name. Then we update that once we get the full list of database names.
Showing this in action with a long delay loading the database names :

I think this dropdown could use some more work though still - such as a loading symbol while the database names are loading. But that should be done as a follow-up enhancement if needed. This PR is focused around fixing the original issue and not regressing behavior.

Pull Request Test Coverage Report for Build 709762619

11 of 27 (40.74%)  changed or added relevant lines in 3 files are covered.
19 unchanged lines in 4 files lost coverage.
Overall coverage increased (+0.05%) to 43.593%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/base/parts/editableDropdown/browser/dropdown.ts
2
10
20.0%

src/sql/workbench/contrib/query/browser/queryActions.ts
7
15
46.67%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/contrib/query/browser/queryActions.ts
1
45.08%

src/sql/base/browser/lifecycle.ts
3
42.86%

src/sql/workbench/browser/modelComponents/modelComponentWrapper.component.ts
5
7.89%

extensions/notebook/src/book/bookTreeItem.ts
10
86.1%

Totals

Change from base Build 709202950:
0.05%

Covered Lines:
26086

Relevant Lines:
54682

💛  - Coveralls


Add 3D Background Using HTML, CSS, and Three.js

Issue #156
Request:
We would like to enhance the visual appeal of our website by incorporating a dynamic 3D background using HTML, CSS, and Three.js. This background will add an engaging and modern touch to our site's user experience.
Requirements:
1.Setup Three.js Environment
2.Create 3D Background Scene
3.Integrate with HTML and CSS
4.Performance Optimization
5.Cross-browser Compatibility
https://github.com/dhairyagothi/50_days_50_web_project/assets/140265777/9275bdd1-94ec-4d19-aa93-c4948fb28539

email id @Yaser-123

<EMAIL_ADDRESS>


Feature: Extend build action to use a txt file for release notes

Todo:

Extend tone to have a directory with doc/release/ containing files for every release, e.g. v0.0.1.notes.txt
Extend build action to cat these files for release notes in github releases

fixed with v0.0.3


Actor network output increases to 1, TORCS, TF 1.0.0

Hi,
Thanks for your code.
I tried to use it for training TORCS, however, my result are not good and to be specific after a few steps, actions generated by Actor network increases to 1. and stay there. Similar to the following (for the top 10 for example):
[[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]
[ 1. 1. 1.]]
Gradients for that set:
[[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]
[ 4.80426752e-05 1.51122265e-04 -1.96302353e-05]]
I suspect the problem is some where around the following line:
Combine the gradients here
self.actor_gradients = tf.gradients(self.scaled_out, self.network_params, -self.action_gradient)
Could you tell me what do you think is the problem?
I am using tf 1.0.0 CPU version.
Thanks

Hi!
I am very interested in this issue.
so, could you tell me the details of your solution?


scandir as dependency: UnicodeDecodeError

If I set scandir as a dependency, then installation on a system that does not already have scandir fails with UnicodeDecodeError.
Versions

OS Ubuntu 16.04
Python 2.7.12
setuptools 34.1.0
pip 9.0.1

Steps to reproduce
Start with a clean environment that does not already have scandir installed. I'm using the Dockerimage ubuntu:16.04, with the following system configuration:
apt-get update && apt-get install python-pip -y
pip install -U pip setuptools

Create a test project and a setup.py file:
from setuptools import setup

setup(
    name = "failr",
    version = "0.0.1",
    install_requires = [
        "scandir",
    ],
)

Run install command:
# python setup.py install
running install
running bdist_egg
running egg_info
creating failr.egg-info
writing requirements to failr.egg-info/requires.txt
writing failr.egg-info/PKG-INFO
writing top-level names to failr.egg-info/top_level.txt
writing dependency_links to failr.egg-info/dependency_links.txt
writing manifest file 'failr.egg-info/SOURCES.txt'
reading manifest file 'failr.egg-info/SOURCES.txt'
writing manifest file 'failr.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib.linux-x86_64-2.7' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying failr.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying failr.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying failr.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying failr.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying failr.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/failr-0.0.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing failr-0.0.1-py2.7.egg
Copying failr-0.0.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding failr 0.0.1 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/failr-0.0.1-py2.7.egg
Processing dependencies for failr==0.0.1
Searching for scandir
Reading https://pypi.python.org/simple/scandir/
Downloading https://pypi.python.org/packages/95/40/ddbcd295ee58d5c1126645890bcf87853e4075547308884e4f8ada27f195/scandir-1.4.tar.gz#md5=bdac33e1548a18598da6c141c84af407
Best match: scandir 1.4
Processing scandir-1.4.tar.gz
Writing /tmp/easy_install-0rkxe4/scandir-1.4/setup.cfg
Running scandir-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0rkxe4/scandir-1.4/egg-dist-tmp-3CReGP
'test/testdir/subdir/unicodƏ.txt' not ANSI_X3.4-1968 encodable -- skipping
'test/testdir/subdir/unidirƏ/file1.txt' not ANSI_X3.4-1968 encodable -- skipping
warning: no files found matching 'README.md'
'test/testdir/subdir/unicodƏ.txt' not ANSI_X3.4-1968 encodable -- skipping
'test/testdir/subdir/unidirƏ/file1.txt' not ANSI_X3.4-1968 encodable -- skipping
zip_safe flag not set; analyzing archive contents...
Moving scandir-1.4-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages
Adding scandir 1.4 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/scandir-1.4-py2.7-linux-x86_64.egg
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    "scandir",
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
    cmd.run()
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 411, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 655, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 702, in install_item
    self.process_distribution(spec, dist, deps)
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 747, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain
    return installer(requirement)
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 674, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 638, in _tmpdir
    os.path.exists(tmpdir) and rmtree(rmtree_safe(tmpdir))
  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 2232, in rmtree
    return shutil.rmtree(path, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 241, in rmtree
    fullname = os.path.join(path, name)
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 7: ordinal not in range(128)

Expected outcome
Package is installed.
Actual outcome
Installation fails with UnicodeDecodeError (see log above).
Useful information
If I re-run the setup.py install command above a second time, it works.
If I install scandir with pip (pip install scandir) before running the install command above, it works fine on the first attempt.
The character referenced in the error comes from the file name unicodƏ.txt (also seen in the log). When the join() function in posixpath.py tries to treat it as ASCII to convert to unicode it fails, because Ə is not an ASCII character.

This looks like another manifestation of #706.

If I re-run the setup.py install command above a second time, it works.

That's because scandir was successfully installed the first time, but failed at the cleanup stage, so the second attempt finds scandir already installed and bypassed the part that creates the error.
I'm unable to replicate the underlying issue except when unicode is passed to rmtree:
vagrant@vagrant:~$ wget https://files.pythonhosted.org/packages/95/40/ddbcd295ee58d5c1126645890bcf87853e4075547308884e4f8ada27f195/scandir-1.4.tar.gz -q -O - | tar xz
vagrant@vagrant:~$ LANG=C python -c "import shutil; shutil.rmtree(u'scandir-1.4')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib/python2.7/shutil.py", line 241, in rmtree
    fullname = os.path.join(path, name)
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 7: ordinal not in range(128)
vagrant@vagrant:~$ wget https://files.pythonhosted.org/packages/95/40/ddbcd295ee58d5c1126645890bcf87853e4075547308884e4f8ada27f195/scandir-1.4.tar.gz -q -O - | tar xz
vagrant@vagrant:~$ LANG=C python -c "import shutil; shutil.rmtree('scandir-1.4')"

This suggests to me that the rmtree_safe isn't being activated in your environment.
And when I test in my local Linux workstation, I find that's the case for me as well:
vagrant@vagrant:~$ LANG=C python2.7 -m rwt -q setuptools -- -c "import setuptools.py27compat as compat, sys, platform; print(compat.rmtree_safe); print(sys.getfilesystemencoding())"
<function <lambda> at 0x7f6e286d85f0>
ANSI_X3.4-1968

rmtree_safe isn't being activated because sys.getfilesystemencoding()=='ascii' evaluates to False.
Maybe I should just take that restriction out and always cast to string on Linux and Python 2.

Give 34.1.1 a try, releasing momentarily.

Thanks! It now works fine. I tested both version 34.1.1 and 34.2.0.


OSISM 7.1.2 (20240816)

All Images will be refreshed one last time before the release of OSISM 8.0.0.

https://github.com/osism/issues/issues/1081

https://github.com/osism/ansible-collection-commons/pull/692

https://github.com/osism/issues/issues/1098

https://github.com/osism/issues/issues/993 (will be replaced by new Behave based approach)

https://github.com/osism/ansible-playbooks/pull/468

https://github.com/osism/ansible-collection-commons/pull/693

https://github.com/osism/python-osism/pull/997

Mitogen 0.3.9 (compatible with Ansible <= 2.17)

https://github.com/osism/ansible-collection-commons/pull/692

https://github.com/osism/python-osism/pull/1000


Screen stays on in android 9

The Issue
Screen doesn't shut off in the menu or around the app. This makes sense if you are watching a video, but not for browsing the rest of the app.
Steps to reproduce

Open app
do nothing

Expected behaviour
Screen should turn off based on system settings
Actual behaviour
Screen stays on (wasting battery)
System Configuration

Device: Moto G7
Android version: 9

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

Closing. Please reopen if you encounter this issue again.