Update gdp_state.json publication link to current (2022)

Update link to current (2022) publication

Updating GDP Data in JSON File

Task Description:
Objective:
Update the gdp_state.json file to include the 2022 GDP publication link to ensure the latest figures for each state are accurate.
Details:

Repository: dosm-malaysia/aksara-data
Issue: #5
Branch: patch-1
Main Branch: main
Priority: High - This update is crucial for providing accurate and current economic data to stakeholders.

Steps:

Fetch the latest 2022 GDP data publication link.
Update the gdp_state.json file:

Insert the new GDP figures and publication link for each state.

Refer to Issue #5 in the repository for any specific guidelines or additional context.
Commit the changes to the patch-1 branch.
Ensure all tests pass (if applicable) and create a pull request targeting the main branch.
Notify the stakeholders or responsible team members once the changes have been made.

By ensuring the task is carried out meticulously, we will maintain the accuracy and reliability of economic data shared with stakeholders.
Thank you.


Sign and notarize macOS builds.

With Ventura, Apple has made it extremely difficult to run unsigned apps. Time to get VARS signed.

Signing recipe

# You need a Developer ID Application cert from developer.apple.com. A fake id used below
export MAC_CODE_SIGNER="Developer ID Application: blah blah blah (ABC123456)"

cd vars-annotation

# The build will correctly sign everything if your MAC_CODE_SIGNER is correct
./gradlew clean jpackage --info

cd  org.mbari.vars.ui/build/jpackage

# App must be packaged/zipped to be notarized
ditto -c -k --keepParent "VARS Annotation.app" "VARS Annotation.zip"

xcrun notarytool submit "VARS Annotation.zip" \
    --wait \
    --team-id ABC123456 \                      # Found in your Developer ID cert name
    --apple-id <your apple login> \            # Your email you log in to developer.apple.com with
    --password "<your app specific password>"  # You have to use an app password for your account from appleid.apple.com

# We sign the original app, NOT the zip
xcrun stapler staple "VARS Annotation.app"

# Remove the old zip file
rm "VARS Annotation.zip"

# Rezip the app and use that zip to distribute it.
ditto -c -k --keepParent "VARS Annotation.app" "VARS Annotation.zip"

Handling notarization failures
If the notarization fails you can review the logs. Here's an example:
> xcrun notarytool submit "VARS Annotation.zip" --wait --team-id ABC123456 --apple-id <your apple login> --password "<your app specific password>"

Conducting pre-submission checks for VARS Annotation.zip and initiating connection to the Apple notary service...
Submission ID received
  id: 0523c04e-355d-4a59-8a3f-ff595b7b87c9
Upload progress: 100.00% (88.4 MB of 88.4 MB)
Successfully uploaded file
  id: 0523c04e-355d-4a59-8a3f-ff595b7b87c9
  path: /Users/brian/workspace/M3/vars-annotation/org.mbari.vars.ui/build/jpackage/VARS Annotation.zip
Waiting for processing to complete.
Current status: Invalid..................
Processing complete
  id: 0523c04e-355d-4a59-8a3f-ff595b7b87c9
  status: Invalid

xcrun notarytool log 0523c04e-355d-4a59-8a3f-ff595b7b87c9 --team-id ABC123456 --apple-id <your apple login> --password "<your app specific password>"
{
  "logFormatVersion": 1,
  "jobId": "0523c04e-355d-4a59-8a3f-ff595b7b87c9",
  "status": "Invalid",
  "statusSummary": "Archive contains critical validation errors",
  "statusCode": 4000,
  "archiveFilename": "VARS Annotation.zip",
  "uploadDate": "2023-01-19T19:56:01.550Z",
  "sha256": "9df9955482b474b63fc8b588fdcf65ed746f56e06e019eb50ed4684faca33632",
  "ticketContents": null,
  "issues": [
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/Home/lib/server/libjvm.dylib",
      "message": "The binary is not signed with a valid Developer ID certificate.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
      "architecture": "arm64"
    },
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/Home/lib/server/libjvm.dylib",
      "message": "The signature does not include a secure timestamp.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
      "architecture": "arm64"
    },
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/Home/lib/server/libjsig.dylib",
      "message": "The binary is not signed with a valid Developer ID certificate.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087721",
      "architecture": "arm64"
    },
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/Home/lib/server/libjsig.dylib",
      "message": "The signature does not include a secure timestamp.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
      "architecture": "arm64"
    },
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/MacOS/libjli.dylib",
      "message": "The signature of the binary is invalid.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087735",
      "architecture": "arm64"
    },
    {
      "severity": "error",
      "code": null,
      "path": "VARS Annotation.zip/VARS Annotation.app/Contents/runtime/Contents/MacOS/libjli.dylib",
      "message": "The signature does not include a secure timestamp.",
      "docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
      "architecture": "arm64"
    }
  ]
}

Apparency was very useful for inspecting the signing apps.


Progress circle does not displayed after recovering from lock on android

I implemented a countdown clock which displays day, hours, mins, and seconds. However, if lock my screen and unlock it only the progress circle for seconds is displayed until the value for mins has changed then that one will update as well. Not sure how to resolve.

So this is apparently an issue with RN ART (see issue #17565). I'm looking into what hacky fixes could mitigate this.

Will publish to NPM within this week. If you could install from master and verify the fix works that would be great.

@Jacse It worked! thanks!!


refactor: use setClient and getClient of core

PR summary
The purpose of this PR was originally calling and returning the result of core's invokeRequest from our requestToken method, but the convert method called in invokeRequest takes variables only from the response body. With this feature response headers which are essential to CouchDBSessionAuthenticator cannot be reverse engineered from invokeRequest.
Although I could change sessionAuthClient with getter and setter methods introduced in https://github.com/IBM/java-sdk-core/pull/174.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the
Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

sessionAuthClient is set and being used from the requestToken method.
What is the new behavior?

The client of the class  is set and being used from the requestToken method.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thanks for the review @ricellis! I am about to merge this PR.


ArgumentException on ThenInclude with multiple properties

I have the following model:
class Image
{
    public int Id { get; set; }
    public string Url { get; set; }
    public int Width { get; set; }
    public int Height { get; set; }
}

class Comment
{
    public int Id { get; set; }
    public string User { get; set; }
    public string Text { get; set; }
}

class Post
{
    public int Id { get; set; }
    public string Heading { get; set; }
    public string Text { get; set; }
    public List<Image> Images { get; set; }
    public List<Comment> Comments { get; set; }
}

class Blog
{
    public int Id { get; set; }
    public string Url { get; set; }
    public string Name { get; set; }
    public List<Post> Posts { get; set; }
}

class BloggingContext : DbContext
{
    public DbSet<Image> Igames { get; set; }
    public DbSet<Comment> Comments { get; set; }
    public DbSet<Post> Posts { get; set; }
    public DbSet<Blog> Blogs { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder.UseSqlite("Filename=blogs.db");
    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
    }
}

When I call:
using (BloggingContext db = new BloggingContext())
{
    List<Blog> blogs = db.Blogs.Include(b => b.Posts).ThenInclude(p => new { p.Images, p.Comments }).ToList();
}

I get the following exception:
System.ArgumentException was unhandled
  HResult=-2147024809
  Message=The properties expression 'p => new <>f__AnonymousType4`2(Images = p.Images, Comments = p.Comments)' is not valid. The expression should represent a property access: 't => t.MyProperty'. When specifying multiple properties use an anonymous type: 't => new { t.MyProperty1, t.MyProperty2 }'.
Parameter name: propertyAccessExpression
  ParamName=propertyAccessExpression
  Source=EntityFramework.Core
  StackTrace:
	   at System.Linq.Expressions.ExpressionExtensions.GetComplexPropertyAccess(LambdaExpression propertyAccessExpression)
	   at Microsoft.Data.Entity.Query.ResultOperators.Internal.ThenIncludeExpressionNode.ApplyNodeSpecificSemantics(QueryModel queryModel, ClauseGenerationContext clauseGenerationContext)
	   at Remotion.Linq.Parsing.Structure.IntermediateModel.MethodCallExpressionNodeBase.Apply(QueryModel queryModel, ClauseGenerationContext clauseGenerationContext)
	   at Remotion.Linq.Parsing.Structure.QueryParser.GetParsedQuery(Expression expressionTreeRoot)
	   at Microsoft.Data.Entity.Query.Internal.QueryCompiler.<>c__DisplayClass18_0`1.<CompileQuery>b__0()
	   at Microsoft.Data.Entity.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
	   at Microsoft.Data.Entity.Query.Internal.QueryCompiler.CompileQuery[TResult](Expression query)
	   at Microsoft.Data.Entity.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
	   at Microsoft.Data.Entity.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
	   at Remotion.Linq.QueryableBase`1.GetEnumerator()
	   at Microsoft.Data.Entity.EntityFrameworkQueryableExtensions.IncludableQueryable`2.GetEnumerator()
	   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
	   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
	   at EF7_Issue.Program.Main(String[] args) in c:\users\martin\documents\visual studio 2015\Projects\EF7-Issue\EF7-Issue\Program.cs:line 16
	   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
	   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
	   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
	   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
	   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
	   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
	   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
	   at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

The exception itself suggests to use syntax like t => new { t.MyProperty1, t.MyProperty2 } which I am currently using.
I am using 7.0.0-rc1-final, .Net Framework 4.5.2 and Visual Studio 2015.

Looks like we are re-using a string when throwing from Include that does not make sense. Include does not support anonymous types like that.
Here is the correct syntax.
List<Blog> blogs = db.Blogs
    .Include(b => b.Posts).ThenInclude(p => p.Comments)
    .Include(b => b.Posts).ThenInclude(p => p.Images)
    .ToList();

Leaving this issue open to address the issue with the exception message

@rowanmiller - What should be the exception message here?

We just need to remove the last part about using an anonymous type. Here is what it should be.

The property expression '{...}' is not valid. The expression should represent a property access: 't => t.MyProperty'.

BTW, no need to over-engineer this one - you can just copy/paste into a new resource. Trying to concatenate resources might sound like it saves duplicating work... but it turns out to be counter productive when it comes time to review/localize/etc.

@rowanmiller - It turns out that we used wrong exception message. We do have another exception message which is same as you suggested. Though Include & ThenInclude also allows property access like t => t.MyProperty.SubProperty. Should we have different message to indicate that or just use what you posted above?
On side note, we do not do any validation for the expression passed to Include & ThenInclude. And processing of both are done in bit different way.
If you specify incorrect expression in Include it throws
System.InvalidCastException : Unable to cast object of type 'System.Linq.Expressions.NewExpression' to type 'System.Linq.Expressions.MemberExpression'.
With ThenInclude it throws System.ArgumentException like the one in first post.

Though  Include  &  ThenInclude  also allows property access like  t => t.MyProperty.SubProperty . Should we have different message to indicate that or just use what you posted above?

I probably wouldn't, it's kind of hard to cover all that in a single message.

After discussion, we decided to use a FWLink to point to the docs for Include (not yet written)

The property expression '{...}' is not valid. The expression should represent a property access: 't => t.MyProperty'. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.


New version: Mozilla.Thunderbird.Beta version 119.0b1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

winget currently can not reliably detect the difference between Mozilla.Thunderbird.Beta and Mozilla.Thunderbird so this should probably not be merged because it will end up in the stable version being migrated to a beta version
https://github.com/microsoft/winget-pkgs/issues/117949

Close with reason: Beta versions higher than the stable ones should not be added for now as it's causing matching errors for users on stable versions;


[R] Update relative URLs in README to absolute paths to prevent CRAN check failures

Describe the bug, including details regarding any error messages, version, and platform.
In #40148, we updated the README, but there were some URLs in there which pointed to relative links; we should update them to point to the absolute path so we don't fail CRAN checks.
Component(s)
R

Issue resolved by pull request 41830
https://github.com/apache/arrow/pull/41830


script_run: --test flag for quick Grouper synchronization

Add a simple test that uses a test NetID account and a Grouper group to synchronize and then undo. This will confirm that the code is functioning.
This was listed in #16, but will be a separate issue.
Check list:

[X] Add --test flag and implementation with if args.test
[x] Add option to reverse (--test_reverse)
[x] Update README with examples

Executed with --test and --test_reverse flags with --sync and confirmed that each piece of the backend software does enable EDS query and Grouper synchronization.


Setting headers

@cam72cam As discussed, please edit the issue. https://github.com/cloudflare/cloudflare-docs/blob/production/content/pages/platform/headers.md

Looks like this is just for pages, not for r2.  We could add workers to inject headers, but we probably don't need to at this point.


Improving successful so it tell you when ti works when it really works, if not tell you when it fails

You might want to have a look into this @pjbgf 😁


Crash after the game update on November 9th

After the game was updated, the injection crashed.
Can you fix this, thanks.

should be fixed


Bug: migrate fails on node-tests because of prettier

Migrate fails on gts files because of prettier:
✖ No parser could be inferred for file: /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-re…
  Occurred while linting /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sam…
  Rule: "prettier/prettier"
error:   No parser could be inferred for file: /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts
Occurred while linting /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts:1
Rule: "prettier/prettier"
Error: No parser could be inferred for file: /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts
Occurred while linting /Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts/0_/Users/brehuang/dev/ember-cli-pemberly-i18n/node-tests/fixtures/ast-rewriter-test/sample1.gts:1
Rule: "prettier/prettier"
    at normalize (/Users/brehuang/dev/ember-cli-pemberly-i18n/node_modules/prettier/index.js:7737:19)
    at formatWithCursor2 (/Users/brehuang/dev/ember-cli-pemberly-i18n/node_modules/prettier/index.js:9006:50)
    at /Users/brehuang/dev/ember-cli-pemberly-i18n/node_modules/prettier/index.js:38183:12
    at Object.format (/Users/brehuang/dev/ember-cli-pemberly-i18n/node_modules/prettier/index.js:38197:12)
    at Program (/Users/brehuang/dev/ember-cli-pemberly-i18n/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js:266:41)
    at ruleErrorHandler (/Users/brehuang/dev/rehearsal-js-1/node_modules/.pnpm/eslint@8.34.0/node_modules/eslint/lib/linter/linter.js:1118:28)
    at /Users/brehuang/dev/rehearsal-js-1/node_modules/.pnpm/eslint@8.34.0/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/Users/brehuang/dev/rehearsal-js-1/node_modules/.pnpm/eslint@8.34.0/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/Users/brehuang/dev/rehearsal-js-1/node_modules/.pnpm/eslint@8.34.0/node_modules/eslint/lib/linter/node-event-generator.js:297:26)

Content of the file involved:
import Component from "@glimmer/component";

export default class I18nTest extends Component {
  <template>
    {{!test-i18n-resource}}
    {{#if "true"}}

This is untranslated text!

    {{/if}}
  </template>
}

This should be fixed in internal config. IIRC the repo you’ve migrated is missing a dep. @cafreeman confirm


ECC key not programming on first boot

Since update to new gateway_mfr code the ecc chip is not programming on first boot. Failing with below error:
INFO:hw_diag.utilities.hardware:Found the following LTE Devices: []
01.08.22 15:12:50 (+0100)  diagnostics  INFO:root:Frequency: EU868
01.08.22 15:12:50 (+0100)  diagnostics
01.08.22 15:12:50 (+0100)  diagnostics  INFO:root:Diagnostics shipping not requested, skipping.
01.08.22 15:12:50 (+0100)  diagnostics  INFO:root:Diagnostics complete
01.08.22 15:12:50 (+0100)  diagnostics  DEBUG:flask_caching.backends.simplecache:set key 'view//json'
01.08.22 15:12:50 (+0100)  diagnostics  DEBUG:flask_caching.backends.simplecache:get key 'view//initFile.txt' -> miss (expired)
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,826 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(36) - gateway_mfr response stdout: b'{\n  "result": "fail",\n  "tests": {\n    "ecdh(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "key_config(0)": {\n      "checks": {\n        "auth_key": "0",\n        "intrusion_disable": "false",\n        "key_type": "ecc",\n        "lockable": "true",\n        "private": "true",\n        "pub_info": "true",\n        "req_auth": "false",\n        "req_random": "false",\n        "x509_index": "0"\n      },\n      "result": "pass"\n    },\n    "miner_key(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "sign(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "slot_config(0)": {\n      "checks": {\n        "ecdh_operation": {\n          "expected": "false",\n          "found": "true"\n        },\n        "encrypt_read": "false",\n        "external_signatures": "true",\n        "internal_signatures": "true",\n        "limited_use": "false",\n        "secret": "true"\n      },\n      "result": "fail"\n    },\n    "zone_locked(config)": {\n      "checks": {\n        "expected": "locked",\n        "found": "unlocked"\n      },\n      "result": "fail"\n    },\n    "zone_locked(data)": {\n      "checks": {\n        "expected": "locked",\n        "found": "unlocked"\n      },\n      "result": "fail"\n    }\n  }\n}\n'
01.08.22 15:12:50 (+0100)  diagnostics  INFO:hm_pyhelper.miner_param:gateway_mfr response stdout: b'{\n  "result": "fail",\n  "tests": {\n    "ecdh(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "key_config(0)": {\n      "checks": {\n        "auth_key": "0",\n        "intrusion_disable": "false",\n        "key_type": "ecc",\n        "lockable": "true",\n        "private": "true",\n        "pub_info": "true",\n        "req_auth": "false",\n        "req_random": "false",\n        "x509_index": "0"\n      },\n      "result": "pass"\n    },\n    "miner_key(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "sign(0)": {\n      "error": "ecc608 error\\n\\nCaused by:\\n    ecc error ExecError",\n      "result": "fail"\n    },\n    "slot_config(0)": {\n      "checks": {\n        "ecdh_operation": {\n          "expected": "false",\n          "found": "true"\n        },\n        "encrypt_read": "false",\n        "external_signatures": "true",\n        "internal_signatures": "true",\n        "limited_use": "false",\n        "secret": "true"\n      },\n      "result": "fail"\n    },\n    "zone_locked(config)": {\n      "checks": {\n        "expected": "locked",\n        "found": "unlocked"\n      },\n      "result": "fail"\n    },\n    "zone_locked(data)": {\n      "checks": {\n        "expected": "locked",\n        "found": "unlocked"\n      },\n      "result": "fail"\n    }\n  }\n}\n'
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,829 - [INFO] - hm_pyhelper.miner_param - (miner_param.py).run_gateway_mfr -- /opt/python-dependencies/hm_pyhelper/miner_param.py:(38) - gateway_mfr response stderr: b''
01.08.22 15:12:50 (+0100)  diagnostics  INFO:hm_pyhelper.miner_param:gateway_mfr response stderr: b''
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,835 - [DEBUG] - hw_diag.diagnostics.bt_diagnostic - (bt_diagnostic.py).perform_test -- /opt/python-dependencies/hw_diag/diagnostics/bt_diagnostic.py:(28) - Retrieving list of Bluetooth device(s)
01.08.22 15:12:50 (+0100)  diagnostics  DEBUG:hw_diag.diagnostics.bt_diagnostic:Retrieving list of Bluetooth device(s)
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,845 - [INFO] - hw_diag.diagnostics.bt_diagnostic - (bt_diagnostic.py).perform_test -- /opt/python-dependencies/hw_diag/diagnostics/bt_diagnostic.py:(32) - Found the following Bluetooth devices: [{'Address': '00:1A:7D:DA:71:03', 'Name': '1148b84', 'Powered': '1', 'Discoverable': '0', 'Pairable': '0', 'Discovering': '0'}]
01.08.22 15:12:50 (+0100)  diagnostics  INFO:hw_diag.diagnostics.bt_diagnostic:Found the following Bluetooth devices: [{'Address': '00:1A:7D:DA:71:03', 'Name': '1148b84', 'Powered': '1', 'Discoverable': '0', 'Pairable': '0', 'Discovering': '0'}]
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,846 - [INFO] - hw_diag.diagnostics.lte_diagnostic - (lte_diagnostic.py).perform_test -- /opt/python-dependencies/hw_diag/diagnostics/lte_diagnostic.py:(32) - Retrieving list of LTE device(s)
01.08.22 15:12:50 (+0100)  diagnostics  INFO:hw_diag.diagnostics.lte_diagnostic:Retrieving list of LTE device(s)
01.08.22 15:12:50 (+0100)  diagnostics  2022-08-01 14:12:50,854 - [INFO] - hw_diag.diagnostics.lte_diagnostic - (lte_diagnostic.py).get_lte_devices -- /opt/python-dependencies/hw_diag/diagnostics/lte_diagnostic.py:(63) - Found the following LTE Devices: []
01.08.22 15:12:50 (+0100)  diagnostics  INFO:hw_diag.diagnostics.lte_diagnostic:Found the following LTE Devices: []

cc @marvinmarnold @KevinWassermann94

https://dashboard.balena-cloud.com/devices/1148b843b954f7b29bb9673cf9fe90ca?0[0][n]=container&0[0][o]=is&0[0][v]=packet-forwarder
link above to balena

FYI @marvinmarnold @KevinWassermann94 to me it looks like this is due to the key not locking properly.
It seems to have been introduced when moving to the latest version of gateway mfr.
Looking on the logs it seems the key is programmed but the config zone isn't locked so the test fails.

What was the issue in the end just for future reference?

The ECC was in a weird state. It worked fine after provisioning it again

I think @zzapmort had a few in this state and they were all brand new apparently?
Maybe worth documenting as maybe same issue that some of the "non passing" ones at Sunsoar are facing potentially

@shawaj We had a bunch of units that haven't been provisioned correctly. Probably 50 units that worked fine after provisioning them again
@zzapmort If you have any more let me know and I can check them out

Ah ok interesting. Thanks for taking a look


doctrine odm support

After checking the code I see there is Dbal support, but I haven't seen anything about mongo or Doctrine ODM nor in the internet, has anyone made this integration work so we can see useful mongo insights?
sentry:
    tracing:
        dbal:
            enabled: true

This would definitely help my company, we use Mongo with Symfony a lot and it would be helpful to see the queries in there

We currently have no plans to implement this feature, but PRs are always welcome! 🙂

We currently have no plans to implement this feature, but PRs are always welcome! 🙂


drivers: timer: added MTIMER_DIVIDER register initialization

Syntacore RISC-V platforms have dedicated MTIMER_DIVIDER register which
should be configured during the Timer initialization.
The configuration of dedicated MTIMER_DIVIDER register could now
be performed during initialization if its address is provided.
Signed-off-by: Alexander Razinkov<EMAIL_ADDRESS>

Hi @andyross , could you please approve 2 expected checks to finish the CI?
Thanks!

Hi @kgugala , @pgielda ,
Guys, could you please take a look?
Thanks in advance!

@kgugala , @pgielda , guys, kind reminder for a review

@kgugala , @pgielda, guys, please review

@kgugala , @pgielda, @teburd, guys there are just a few llines, this review will not take long

@kgugala , @pgielda, @teburd, guys, please review

On systems without a divider you are calling
set_divider() with an undefined
CONFIG_RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER.
You could make this patch smaller by simply adding the conditional
one-liner in sys_clock_driver_init() which would make it obvious that
this is not available on all platforms and dispense with the
set_divider()wrapper.

Hmmm. Indeed. Although I don't know why this is there at all. The documentation says sys_clock_cycle_get_*() ".The rate must match CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC". So those shifts are wrong.

@npitre , agree, looks like those shifts are not necessary and we are fine because by-default the CONFIG_RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER is 0:
config RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER
	int
	default 0

I think this should be addressed separately, right?
So what do you think? Shall we remove the wrapper? I was thinking that since the divider is always set via CONFIG_RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER it's better to explicitly highlight it via the function with the proper name. Some architectures may configure HW part in it while the other will do nothing (as before).
Still if you think the wrapper is of no use here, then I'll remove it.

If you keep the wrapper then do not give it an argument. This way it
would imply that the wrapper will figure it out if needed.

If you keep the wrapper then do not give it an argument. This way it would imply that the wrapper will figure it out if needed.

Thanks, @npitre! Got your point

@npitre , done!

Hi @andyross , could you please look to the updated version?
Thanks!
P.S.: what is wrong with 2 workflow items above? Should they be triggered by request of the maintainer?

Hi @andyross , @kgugala , @pgielda, I understand I'm a bit annoying but this review is opened for more than 3 months already, and there are just a few lines


Put vs Draw for all render functions?

Draw will draw the pixel on the image, with alphatransparency enabled. Put will copy the pixel data.

Handled with the color.a


Doesn't work with OmniSharp

The package worked once while I was editing the settings for it and hasn't worked since.
When Discord Rich Presence package and OmniSharpSublime package are installed together neither works.

This needs more clarification

I removed OmniSharp package and it started to work.
However I looked at the logs closer and i think OmniSharp was the culprit because it was timing out local network requests. Sorry!


undefined increases query time drastically by adding unneccesery joins

Bug description
As written by the docs (https://www.prisma.io/docs/concepts/components/prisma-client/null-and-undefined) adding undefined  value is equal to not including one at all.
While testing in my project, I found out it has major impact on performance (up to x50 time slower query times in some cases!) by introducing unnecessary JOINS in the query on the undefined fields.
How to reproduce
A full reproduction can be found in this repo: https://github.com/IdanRudich/PrismaUndefiendReproduction
1.) clone https://github.com/IdanRudich/PrismaUndefiendReproduction
2.) follow Setup instruction in README
3.) Run the server by running npm run dev
4.) go to apollo explorer (http://localhost:4000/) and run the following query:
query ExampleQuery {
  getPosts(id: 1) {
    id
  }
}

which would run the following resolver:
getPosts: async (_, args, context) => {
    return context.prisma.post.findMany({
        where: {
            id: args.id
        }
    })
}

5.) look in the terminal, and see prisma client executed the following query against the db (as expected):
Query: SELECT [dbo].[Post].[id], [dbo].[Post].[createdAt], [dbo].[Post].[title], [dbo].[Post].[content], [dbo].[Post].[published], [dbo].[Post].[authorId] FROM [dbo].[Post] WHERE [dbo].[Post].[id] = @P1
Duration: 0ms

6.) go again to apollo explorer (http://localhost:4000/) and run the following query:
query ExampleQuery {
  getPostsUndefiend(id: 1) {
    id
  }
}

which would execute the following resolver:
getPostsUndefiend: async (_, args, context) => {
    return context.prisma.post.findMany({
        where: {
            id: args.id,
            tags: {
                some: {
                    tag: {
                        in: undefined
                    }
                }
            }
        }
    })
}

7.) looking again at the console, we could see that the following (and much more complex) query was executed:
Query: SELECT [dbo].[Post].[id], [dbo].[Post].[createdAt], [dbo].[Post].[title], [dbo].[Post].[content], [dbo].[Post].[published], [dbo].[Post].[authorId] FROM [dbo].[Post] WHERE ([dbo].[Post].[id] = @P1 AND ([dbo].[Post].[id]) IN (SELECT [t0].[A] FROM [dbo].[_TagToPost] AS [t0] INNER JOIN [dbo].[Tag] AS [j0] ON (([j0].[id] = [t0].[B])) WHERE (1=1 AND [t0].[A] IS NOT NULL)))
Duration: 1ms

Expected behavior
That both queries from above would execute the same query against the db
Prisma information
schemas: https://github.com/IdanRudich/PrismaUndefiendReproduction/blob/main/prisma/schema.prisma
data: https://github.com/IdanRudich/PrismaUndefiendReproduction/blob/main/prisma/create-data.js
queries provided above
Environment & setup

OS: Ubuntu 20.04
Database: MsSql
Node.js version: v14.17.2

Prisma Version
prisma                  : 3.5.0
@prisma/client          : 3.5.0
Current platform        : debian-openssl-1.1.x
Query Engine (Node-API) : libquery-engine 78a5df6def6943431f4c022e1428dbc3e833cf8e (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 78a5df6def6943431f4c022e1428dbc3e833cf8e (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 78a5df6def6943431f4c022e1428dbc3e833cf8e (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 78a5df6def6943431f4c022e1428dbc3e833cf8e (at<EMAIL_ADDRESS>Default Engines Hash    : 78a5df6def6943431f4c022e1428dbc3e833cf8e
Studio                  : 0.439.0

I can reproduce this behavior but I won't label this as a bug but rather a performance enhancement. I think query graph is still being passed to the engine so it is generating the sql according the query graph containing the tags subquery.

I can reproduce this behavior but I won't label this as a bug but rather a performance enhancement. I think query graph is still being passed to the engine so it is generating the sql according the query graph containing the tags subquery.

I disagree. It is a string point for the feature in your docs (https://www.prisma.io/docs/concepts/components/prisma-client/null-and-undefined , mentioned a couple of time: undefined means do nothing, Setting a field value to undefined is the same as not including the email field in the update query at all, etc...) so it behaving differently, even on this level, should in my opinion by considered a bug (as it is not equal to not including this field at all).
Also about your second part, I am not big on prisma internals, but why is undefined even passed down to the query engine? shouldn't it just get filtered out in the process in order for it to not have any effects?

Here is a simpler script to reproduce these two queries, that skips the whole GraphQL stuff:
require('dotenv').config()
const { PrismaClient } = require('@prisma/client')

const prisma = new PrismaClient({
    log: [{
        emit: 'event',
        level: 'query',
    },]
})

prisma.$on('query', (e) => {
    console.log('Query: ' + e.query)
    console.log('Duration: ' + e.duration + 'ms')
})

async function main() {

    const first = await prisma.post.findMany({
        where: {
            id: 1
        }
    })
    console.log("first", first)

    const second = await prisma.post.findMany({
        where: {
            id: 1,
            tags: {
                some: {
                    tag: {
                        in: undefined
                    }
                }
            }
        }
    })
    console.log("second", second)

}

main()
    .then(async () => {
        await prisma.$disconnect()
    })
    .catch(async (e) => {
        console.error(e)
        await prisma.$disconnect()
        process.exit(1)
    })

It outputs the reported queries:
Query: SELECT [dbo].[Post].[id], [dbo].[Post].[createdAt], [dbo].[Post].[title], [dbo].[Post].[content], [dbo].[Post].[published], [dbo].[Post].[authorId] FROM [dbo].[Post] WHERE [dbo].[Post].[id] = @P1
Duration: 1ms

Query: SELECT [dbo].[Post].[id], [dbo].[Post].[createdAt], [dbo].[Post].[title], [dbo].[Post].[content], [dbo].[Post].[published], [dbo].[Post].[authorId] FROM [dbo].[Post] WHERE ([dbo].[Post].[id] = @P1 AND ([dbo].[Post].[id]) IN (SELECT [t0].[A] FROM [dbo].[_TagToPost] AS [t0] INNER JOIN [dbo].[Tag] AS [j0] ON (([j0].[id] = [t0].[B])) WHERE (1=1 AND [t0].[A] IS NOT NULL)))
Duration: 0ms

Some internal context on both queries:
  prisma:client  prisma.post.findMany({
  where: {
    id: 1
  }
}) +1ms
  prisma:client  Generated request: +0ms
  prisma:client  query {
  findManyPost(where: {
    id: 1
  }) {
    id
    createdAt
    title
    content
    published
    authorId
  }
}

and
prisma:client  Prisma Client call: +10ms
  prisma:client  prisma.post.findMany({
  where: {
    id: 1,
    tags: {
      some: {
        tag: {
          in: undefined
        }
      }
    }
  }
}) +0ms
  prisma:client  Generated request: +0ms
  prisma:client  query {
  findManyPost(where: {
    id: 1
    tags: {
      some: {
        tag: {

        }
      }
    }
  }) {
    id
    createdAt
    title
    content
    published
    authorId
  }
}

So although the generated request/query does not include any tag information, we still create a SQL query that would be set up for that - which might be wasteful.

As additional context, an actual query that does query for something leads to this:
  prisma:client  prisma.post.findMany({
  where: {
    id: 1,
    tags: {
      some: {
        tag: {
          in: 'TypeScript'
        }
      }
    }
  }
}) +0ms
  prisma:client  Generated request: +0ms
  prisma:client  query {
  findManyPost(where: {
    id: 1
    tags: {
      some: {
        tag: {
          in: ["TypeScript"]
        }
      }
    }
  }) {
    id
    createdAt
    title
    content
    published
    authorId
  }
}
 +0ms
  prisma:client:libraryEngine  sending request, this.libraryStarted: true +3ms
Query: SELECT [dbo].[Post].[id], [dbo].[Post].[createdAt], [dbo].[Post].[title], [dbo].[Post].[content], [dbo].[Post].[published], [dbo].[Post].[authorId] FROM [dbo].[Post] WHERE ([dbo].[Post].[id] = @P1 AND ([dbo].[Post].[id]) IN (SELECT [t0].[A] FROM [dbo].[_TagToPost] AS [t0] INNER JOIN [dbo].[Tag] AS [j0] ON (([j0].[id] = [t0].[B])) WHERE ([j0].[tag] IN (@P2) AND [t0].[A] IS NOT NULL)))
Parameters: [1,"TypeScript"]
Duration: 0ms

Turns out the problem is not actually SQL Server specific, but a general problem that also affects other databases.
SQLite:
Query: SELECT `main`.`Post`.`id`, `main`.`Post`.`createdAt`, `main`.`Post`.`title`, `main`.`Post`.`content`, `main`.`Post`.`published`, `main`.`Post`.`authorId` FROM `main`.`Post` WHERE `main`.`Post`.`id` = ? LIMIT ? OFFSET ?
Parameters: [1,-1,0]

Query: SELECT `main`.`Post`.`id`, `main`.`Post`.`createdAt`, `main`.`Post`.`title`, `main`.`Post`.`content`, `main`.`Post`.`published`, `main`.`Post`.`authorId` FROM `main`.`Post` WHERE (`main`.`Post`.`id` = ? AND (`main`.`Post`.`id`) IN (SELECT `t0`.`A` FROM `main`.`_TagToPost` AS `t0` INNER JOIN `main`.`Tag` AS `j0` ON (`j0`.`id`) = (`t0`.`B`) WHERE (1=1 AND `t0`.`A` IS NOT NULL))) LIMIT ? OFFSET ?

Parameters: [1]

Query: SELECT `teal_kingfisher`.`Post`.`id`, `teal_kingfisher`.`Post`.`createdAt`, `teal_kingfisher`.`Post`.`title`, `teal_kingfisher`.`Post`.`content`, `teal_kingfisher`.`Post`.`published`, `teal_kingfisher`.`Post`.`authorId` FROM `teal_kingfisher`.`Post` WHERE (`teal_kingfisher`.`Post`.`id` = ? AND (`teal_kingfisher`.`Post`.`id`) IN (SELECT `t0`.`A` FROM `teal_kingfisher`.`_TagToPost` AS `t0` INNER JOIN `teal_kingfisher`.`Tag` AS `j0` ON (`j0`.`id`) = (`t0`.`B`) WHERE (1=1 AND `t0`.`A` IS NOT NULL)))
Parameters: [1]

Now that we have reproduce this, I agree with what Harshit had written above: This is not a performance bug, but a potential improvement and optimization that we could implement to optimize the specific case of a relation query that only gets an undefined "value". We could in theory remove that part of the SQL query as it does not do anything.

(Duplicate https://github.com/prisma/prisma/issues/2314)


Persistent device configuration

ytcast works great but I find it a bit annoying that I have to pass the -d flag every time I invoke ytcast. I'd prefer to be able to just simply call ytcast from any context (i.e. from a launcher rather than a shell) and it just uses a device that I selected once by default.
It'd be great if you could persist the device identifier somehow such that just ytcast <url> uses it.  -d should then override the default device.
When pairing a device, it should automatically become the default and there should be CLI flags to change the default device.
Ideally persist this in the XDG_CONFIG_HOME using a standard configuration format such as TOML.

hello @Atemu, thank you for reaching out.
i think we can already achieve more or less what you want:

there is the -p flag which automatically selects the last used device in the cache.

you could create an alias in your shell with your preferred device, for example: alias ytcast='ytcast -d lgtv', then ytcast <url> will automatically use the lgtv device. if you provide another -d, it will override the one written in the alias.

let me know if this works for you.
i don't think i'll going to introduce a config file. i think that the command line options are flexible enough.

I didn't notice this flag; that solves this issue.
It'd be great if there was a man page that'd explain the flags using more than a half-sentence.


Issue: Typo in Python Notebook

Cupy:
Example 1 has a typo. Should be cuda.Device(0). Since we only have one MiG instance, using Device(1) will throw an error.

Fixed with Merge pull request #3 from programmah/main · openhackathons-org/nways_accelerated_programming@2fc1fa7 (github.com)

@muntasers, have you also tested this on a non-MIG partition after you merged it?


Xcode12 GM   'SessionDelegate' has different definitions in different modules

'SessionDelegate' has different definitions in different modules; first difference is definition in module 'Alamofire.Swift' found method

It happens when you have Kingfisher (for example) as well in your project. I am facing this issue myself now and not sure how to solve it.

Some discussion here:
https://stackoverflow.com/questions/63614048/xcode-12-sessiondelegate-has-different-definitions-in-different-modules
Also reported this issue to Apple. But it still in Open state (not fixed in the GM build)
@zdnk You need to fork one of the frameworks and rename the protocol (in our case we forked Kingfisher)

This is a bug in Kingfisher (they need to disambiguate their Obj-C SessionDelegate) so you should report it to them (it likely already has).

@jshier it used to work on earlier versions of Xcode12 and versions below
it's not Kingfisher's issue.

It's the issue of whatever Obj-C framework isn't prefixing their SessionDelegate type, not Alamofire. I suppose it could also be a compiler issue of some kind. Either way, not an Alamofire issue.

Hi,
I am the maintainer of Kingfisher.
Just like Alamofire, Kingfisher is also a Swift framework. Both Kingfisher and Alamofire are trying to generate an Objective-C header ("-Swift.h"). Before Xcode 12 beta 6, it correctly handled them, and Kingfisher lives happily with any other frameworks, including Alamofire, for more than 5 years.
However, I am not sure if it is an intended change of the latest Xcode or not. Anyway, I will try to seek a way (maybe not defining a module for ObjC anymore), to avoid any future conflict like this.

@onevcat Sorry, didn't realize Kingfisher was a native Swift framework (used to be Obj-C, right?). I agree, this seems like a bug in Xcode, but removing the Obj-C module seems like a good idea anyway. I'll open an issue and see if I can ship an update.

@jshier
Never mind! :P

was a native Swift framework (used to be Obj-C, right?)

No, it was written in Swift from the first line of code. The ObjC header generating of Kingfisher was removed once, but soon added back due to a Carthage bug which requires to get Swift compiler version information from the "-Swift.h" header file. Carthage fixed that by falling back to dSYM file to get the Swift compiler version. However, they never released a new version until recently.

removing the Obj-C module seems like a good idea anyway. I'll open an issue and see if I can ship an update.

Yes. This issue might not only happens between Alamofire and Kingfisher. Any other frameworks which contains a same type name and generates ObjC headers would lead to this. Kingfisher has quite a few Swift-only APIs, and it is intended to be only used in Swift project, so removing the module support is a plan from long-ago. Not quite sure whether Alamofire supports ObjC or not. If no, I think it should be a good idea to skip ObjC things. It makes compile much faster and maybe some smaller binary file.

Yeah, I was thinking of SDWebImage. My PR is up (#3308) and I try to get it merged ASAP. I've been meaning to do a release anyway, so it should ship soon.

Hi !
Is there any update on this from XCode side, I am getting MBProgressHUD has different definitions in different modules after imbedding KingFisher into my project.


Tenant not loading when multiple requests hits to tenant url at initial server startup

Description:
The issue is related to carbon kernel and multi-tenancy. Tenant create programmatically with TenantInfoBean#setActive() set to true but, tenant persisting with false. This cause race condition when simultaneous requests sent to tenant url at the initial server startup and tenant not loading properly.
Suggested Labels:
tenancy
Affected Product Version:
wso2ei-6.1.1
OS, DB, other environment details and versions:
Ubuntu
Steps to reproduce:
There is an OSGi component written to create tenant programmatically at server startup reading set of system variable such as TENANT_PASSWORD, TENANT_ID, TENANT_DOMAIN.
A carbon app that has sample API copied to wso2esb-5.0.0/repository/tenants/$TENANAT_ID/carbonapps folder.
When request hit to carbon app URL (tenant URL), esb throwing following exception and tenant doesn't load.
Tenant load after 15 min,  hits.
[2017-09-29 14:23:05,105] [EI-Core] ERROR - ServerWorker Error processing GET reguest for : /t/a.com/container/endpoints. Error detail: Trying to access inactive tenant domain : a.com.
java.lang.RuntimeException: Trying to access inactive tenant domain : a.com
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.getTenantConfigurationContext(TenantAxisUtils.java:130)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:222)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:326)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:158)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Related Issues:

Linked to : https://github.com/wso2/product-ei/issues/1107

Fixed with https://github.com/wso2/carbon-kernel/commit/5a8d2137bd2bcf93b1274ce31847fee0a85ea51f


Add Firebase rules json file to uproxy github

some details about it in the coding guide for releasing.

Done, these are now at https://github.com/freedomjs/freedom-social-firebase/blob/master/firebase-rules.json and https://github.com/freedomjs/freedom-social-firebase/blob/master/firebase-rules-commented.txt


Support for instance templates when creating a new compute engine instance

Unless I'm misreading the code and docs, it looks like the library doesn't support passing in an instance template when creating a new VM.  Any interest in a PR to add it?

I would very much like this feature as well.

Yes, a PR would be great!

@edgarmarkosov Indeed there is! The following example uses a token that can be generated when this code is run within another Compute Instance. It was derived from these docs.
var createInstance = () => {
  const instanceName = 'instance-number-1';
  const zoneString = 'us-central1-c';
  const projectID = 'some-project-id';
  const instanceTemplate = 'secret-x-project';

  return new Promise(resolve => {
    console.log('Creating:', instanceName)
    axios({
      method: 'get',
      url: 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token',
      headers: {
        'Metadata-Flavor': 'Google'
      }
    })
    .then(res => {
      const token = res.data.access_token;

      axios({
        method: 'post',
        url: `https://www.googleapis.com/compute/v1/projects/${projectID}/zones/${zoneString}/instances?sourceInstanceTemplate=https://www.googleapis.com/compute/v1/projects/${projectID}/global/instanceTemplates/${instanceTemplate}`,
        headers: {
          'Authorization': `Bearer ${token}`
        },
        data: {
          "name": instanceName
        }
      })
      .then(res => {
        console.log(res)
        console.log('\n\n')
        console.log(res.data)
        console.log(`${instanceName} has been created from the ${instanceTemplate}`)
        resolve(res.data)
      })
      .catch(err => {
        console.log(err)
        reject(err);
      })
    })
    .catch(err => {
      console.log(err)
      reject(err);
    })
  });
}

This is untested, but I believe you can try just this, where vm is our library's "VM" object:
const projectID = 'some-project-id';
const instanceTemplate = 'secret-x-project';

vm.request({
  method: 'POST',
  uri: '',
  qs: {
    sourceInstanceTemplate: `https://www.googleapis.com/compute/v1/projects/${projectID}/global/instanceTemplates/${instanceTemplate}`
  },
  json: {
    name: instanceName,
  }
}, (err, resp) => {
  // ...
});

Any updates, will this ever be implemented?


Spript-specific specs recommend the invalid "dflt" language tag

https://docs.microsoft.com/en-us/typography/script-development/tibetan and https://docs.microsoft.com/en-us/typography/script-development/standard#appendix-writing-system-tags say:
»NOTE: It is strongly recommended to include the "dflt" language tag in all OpenType fonts«
while https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags says:
»An OpenType font should never include language system records (LangSysRecord) with the 'dflt' or 'DFLT' tag.«
The script-specific specs is wrong wording — they talk about the “dflt” language TAG while they should talk about the default language system. This is very problematic.

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

ID: 3de52e95-6f47-155b-0148-d83d100d8746
Version Independent ID: a9b10482-56c2-056c-a807-79f3c80681ce
Content: Developing OpenType Fonts for Standard Scripts - Typography
Content Source: typographydocs/script-development/standard.md
Product: typography
GitHub Login: @alib-ms
Microsoft Alias: alib

I think this is a confusion between table structure and tool convention.

Duplicate of #582.


A11y_AzureDataStudio_ServiceSettings_Keyboard:Expand/collapse button is not accessible by the keyboard.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
GitHubTags: #A11y_ADS_OctTestPass;#A11yMAS; #A11yTCS;#SQLAzureDataStudio;#MAS2.1.1;#DesktopApp;#Keyboard; #Win32;
Environment Details:
Application Name: Azure Data Studio
Version: 1.12.0-insider (user setup)
Commit: 32df727
Date: 2019-10-08T19:18:43.743Z
VS Code: 1.38.0
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
Repro Steps:

Install /Launch the application Azure data studio.
Navigate to connections and click on more action button.
Select “Deploy SQL Server big data cluster” from more action drop down.
Click on “Deploy SQL Server big data cluster”.
Check the check box I accept in the “select the deployment option” screen and click on
select button.
Select any block and click on next button and again click on next button.
Enter password and confirm password and click on next button.
Navigate on the "service setting" screen using tab navigation.
Check expand/collapse button is actionable by the keyboard or not.

Actual:
Expand/collapse button is not accessible by the keyboard.
Expected:
Keyboard focus should go on expand/collapse button and accessible by the keyboard.
Same issue observed for the below scenario:
1.Summary:

Install /Launch the application Azure data studio.
Navigate to connections and click on more action button.
Select “Deploy SQL Server big data cluster” from more action drop down.
Click on “Deploy SQL Server big data cluster”.
Check the check box I accept in the “select the deployment option” screen and click on select button.
Select any block and click on next button and again click on next button.
Enter password and confirm password and click on next button and again click on next button.
Verify that all the elements of " Summary" are accessible and MAS Compliant.

User Impact:
Keyboard only user get difficulty to access the control.
Attachment for Reference
7601_A11y_AzureDataStudio_ServiceSettings_Keyboard.pptx
Does this issue occur when all extensions are disabled?: Yes

#Azure Data Studio - New Features_win32;

#A11ysev2;#Closed;


Minimize ECC invocations

There is at least one place where we are making multiple ECC calls when fewer is necessary. Audit code and reduce calls.

I think we are exclusively using get_ecc_location in hm-pyhelper now for getting the location and saving to file if necessary.
However we may be still polling ECC several times for the public keys and other stuff. Still needs auditing


Bump version to 0.15.0

#120  👈
main

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

Join @jklein24 and the rest of your teammates on  Graphite

There's also versions in README and CHANGELOG

There's also versions in README and CHANGELOG

Oh yeah, thanks! Done!

Merge activity

Jul 9, 1:21 PM EDT: @jklein24 merged this pull request with Graphite.


Read pods from local cache instead of from apiserver directly

Basically, it seems you are re-computing the pods that belong to a service. This is done by k8s using Endpoints resources. The main difference is that pods get admitted to the service at a slightly different stage than acquiring a service account.

@kyessenov In your alternative approach, where do we do pod-to-service membership check?

Jenkins job manager/presubmit passed

This fixes #428

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed

@kyessenov PTAL

Jenkins job manager/presubmit passed


Support for urf8 characters

Great work Thanks
How can we add support for non English characters, I'm trying to add data in Arabic and the readers are not able to decode the characters back properly.

figured it out
var utf8_encode = function (s) {
return unescape(encodeURIComponent(s));
};
I encoded the string using the above function ... works great. Thanks

Soved by the above function.


Cant install the requirements

Raspbian
uname -a
Linux 4.14.42-v7+ #1114 SMP Mon May 21 16:39:21 BST 2018 armv7l GNU/Linux
python3 -m pip install -r requirements.txt
Downloading/unpacking dnspython (from -r requirements.txt (line 1))
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python3/dist-packages/pip/index.py", line 292, in find_requirement
elif is_prerelease(version) and not (self.allow_all_prereleases or req.prereleases):
File "/usr/lib/python3/dist-packages/pip/util.py", line 739, in is_prerelease
return any([any([y in set(["a", "b", "c", "rc", "dev"]) for y in x]) for x in parsed])
File "/usr/lib/python3/dist-packages/pip/util.py", line 739, in
return any([any([y in set(["a", "b", "c", "rc", "dev"]) for y in x]) for x in parsed])
TypeError: 'int' object is not iterable
Storing debug log for failure in /root/.pip/pip.log
:(

What python version do you have?

Do you still have problems with installing?

No reply, closing.


New plugin missing links

This is a simple plugin I wrote, mostly to learn how to write them but I thought others might find it useful.  It looks for all pairs of links that just need a third link to complete a field and then it draws a dotted line for that link on the map.

I've tried to get this working and can't seem to get it to work.
At minimum I suspect that the control that enables / disables the plugin is misnamed as Finish Fields which may be one cause of why the plugin fails to enable.

@ryantheleach
Are you aware that here is 'template' of plugin, and it's impossible to use it in this form?
Run build.py first.

Yes, but I manually converted it without using the build tooling. It is possible I made an error.


Query without 'PREFIX' is endlessly waiting for a response

The following query gives the correct result fast:
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?o2 WHERE {
  wd:Q80728 ?p1 ?o1 .
  ?o1 wdt:P1477 ?o2 .
}

The following (semantically identical) query never finishes. It keeps 'Waiting for response':
SELECT ?o2 where {
  <http://www.wikidata.org/entity/Q80728> ?p1 ?o1 .
  ?o1 <http://www.wikidata.org/prop/direct/P1477> ?o2 .
}

The two entities are recognized correctly when hovering over them. (The same query works on wdqs.)
The console gives the following error message:
TypeError: /SELECT(?: DISTINCT)?([^]*)WHERE/.exec(...) is null qleverUI.js:257:63
    processQuery http://qlever.informatik.uni-freiburg.de/static/js/qleverUI.js:257

It's apparently a problem of the QLever UI and not of the backend. It works without problems if you paste it here (the direct access to the backend):
http://qlever.informatik.uni-freiburg.de/api/wikidata-full/index.html?query=SELECT %3Fo2 where {
  <http%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ80728> %3Fp1 %3Fo1 .
  %3Fo1 <http%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2FP1477> %3Fo2 .
}&send=100

It also works in the QLever UI if you capitalize the WHERE:
SELECT ?o2 WHERE {
  <http://www.wikidata.org/entity/Q80728> ?p1 ?o1 .
  ?o1 <http://www.wikidata.org/prop/direct/P1477> ?o2 .
}

I have created an issue in the QLever UI project over here: https://github.com/jbuerklin/qleverUI/issues/3
I am closing this issue because there is nothing wrong with the QLever backend with respect to this bug.


no-param-reassign "Version" section problem

http://eslint.org/docs/rules/no-param-reassign contains the text "## Version" under the "Further Reading" section. Presumably the start of a new section entitled "Version" was intended instead.

Thanks for the report. I think that might be because no-param-reassign is missing empty line at the end of the file. I'll verify.

This issue has been fixed. Closing.


JAX NFSP tests failing (only sometimes)

Happened twice today.
Here's an example: https://github.com/deepmind/open_spiel/runs/2603201182?check_suite_focus=true
@perolat can you take a look?

setting a np.random.seed in the test should probably fix that to not get unlucky reservoir buffer sampling in the test


Use Travis

Travis CI is really easy to set. I think Iceberg would benefit to use it.
Before including a Travis support I would like to know if you would like to have a Travis support? @npasserini
If you want it I can do a PR with the configurations.

Yes of course, travis support is in my backlog... but I postponed it a few
times. So if you want to help you are very welcomed!
On Mon, Aug 15, 2016 at 3:43 PM, CyrilFerlicot<EMAIL_ADDRESS>wrote:

Travis CI is really easy to set. I think Iceberg would benefit to use it.
Before including a Travis support I would like to know if you would like
to have a Travis support? @npasserini https://github.com/npasserini
If you want it I can do a PR with the configurations.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/npasserini/iceberg/issues/116, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEa1OSwTFY3sj2NsQLBvJIafRovcYdoJks5qgGz-gaJpZM4JkY8H
.

I will do it this week-end or maybe at esug :)

@jecisc I've merged this and added the repo to my travis account, and is already "building", but I am not sure if it did run my tests. Do you know how to look at it?
The build is here: https://travis-ci.org/npasserini/iceberg/jobs/156820544

I correct myself, it is clear that the tests have not been run... because they would not run in travis until I change some things. So, I change my questios: do you know how to tell the CI which tests should be run?

By default Travis should run all the tests brought by the configuration (only the one brought by the configuration and not by the dependencies).
But you have the possibility to charge that behavior with the smalltalk.ston file.
See documentation at: https://github.com/hpi-swa/smalltalkCI#testcase-selection


Add parsing of references and project references to the project file parser

The project file parser handles several types of project file information, but it does not include support for parsing project assembly references or references to other projects. This type of information can be helpful if, for example, you're trying to fine-tune NuGet packing based on referenced projects.

@daveaglick I have manually merged the PR that you created, but your work has been attributed correctly, thanks!


the timeline is null

when i use , the timeline is show nothing. and others working well

This is the default behavior.
https://github.com/snowair/phalcon-debugbar#send-custom-messages-to-debugbar


Update status types

🗒 General
Hi!! Would love some help updating our status types. To make them more accessible and uniform, we've decided that statuses will be indicated by a colored dot and text.

💻 Usage
Statuses ought to be indicated by a dot and text. We advise against just displaying a dot (for accessibility and communication purposes).
📐 Specs

Please update the storybook as well! 🙏

8px diameter right? And are these dots not to be specified in em terms (relative to the font size)?

@freben Ahh, that's a good point! Yes they should be relative to the font size

@katz95 Here's a PR with the changes :) https://github.com/spotify/backstage/pull/811

Closed in #811


[Component.Resources] Generating an APK throws error due to task dependency implication

Kotiln: 2.0.0-Beta1 and 1.9.21
Compose version: 1.6.0-dev1350
When I try to release an APK from my project, two tasks throw an error, both of which say that "they use output from this task :shared:copyFontsToAndroidAssets without declaring an explicit or implicit dependency".
These two tasks are: :shared:generateReleaseLintVitalModel and :shared:lintVitalAnalyzeRelease
The stacktrace:
FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':shared:generateReleaseLintVitalModel' (type 'LintModelWriterTask').
  - Gradle detected a problem with the following location: '/Users/mac/WORKSTATION/SyncplayMobile/shared/build/generated/compose/resourceGenerator/androidFonts'.

    Reason: Task ':shared:generateReleaseLintVitalModel' uses this output of task ':shared:copyFontsToAndroidAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':shared:copyFontsToAndroidAssets' as an input of ':shared:generateReleaseLintVitalModel'.
      2. Declare an explicit dependency on ':shared:copyFontsToAndroidAssets' from ':shared:generateReleaseLintVitalModel' using Task#dependsOn.
      3. Declare an explicit dependency on ':shared:copyFontsToAndroidAssets' from ':shared:generateReleaseLintVitalModel' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':shared:lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
  - Gradle detected a problem with the following location: '/Users/mac/WORKSTATION/SyncplayMobile/shared/build/generated/compose/resourceGenerator/androidFonts'.

    Reason: Task ':shared:lintVitalAnalyzeRelease' uses this output of task ':shared:copyFontsToAndroidAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':shared:copyFontsToAndroidAssets' as an input of ':shared:lintVitalAnalyzeRelease'.
      2. Declare an explicit dependency on ':shared:copyFontsToAndroidAssets' from ':shared:lintVitalAnalyzeRelease' using Task#dependsOn.
      3. Declare an explicit dependency on ':shared:copyFontsToAndroidAssets' from ':shared:lintVitalAnalyzeRelease' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.5/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

As a workaround, adding this to my shared module's build.gradle.kts would resolve the issue:
tasks.withType<AndroidLintAnalysisTask>{
    dependsOn("copyFontsToAndroidAssets")
}

tasks.withType<LintModelWriterTask>{
    dependsOn("copyFontsToAndroidAssets")
}

This might be a Gradle plugin/wrapper incompatibility though. I am still not sure.
I am using Gradle 8.5 and AGP 8.2.0.

Could you please provide a minimal reproducer project?
Have you tried other gradle and AGP versions?

These two tasks are: :shared:generateReleaseLintVitalModel and :shared:lintVitalAnalyzeRelease

These two tasks are not added by Compose Multiplatform.  I guess they're added by AGP. So I think it's worth trying with different AGP versions.

It looks to me this is related with the new resources in 1.6.0
Gradle detected a problem with the following location: '/path/to/project/build/generated/compose/resourceGenerator/androidFonts'.

I've also encountered this. Steps to reproduce:

Generate a new project using the KMP Wizard
Update compose-plugin dependency from 1.6.0-alpha01 to 1.6.0-beta01
Run ./gradlew :composeApp:build

It fails with:
FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':composeApp:lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
  - Gradle detected a problem with the following location: '/Users/arkivanov/Downloads/Miner/composeApp/build/generated/compose/resourceGenerator/androidFonts'.

    Reason: Task ':composeApp:lintVitalAnalyzeRelease' uses this output of task ':composeApp:copyFontsToAndroidAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':composeApp:copyFontsToAndroidAssets' as an input of ':composeApp:lintVitalAnalyzeRelease'.
      2. Declare an explicit dependency on ':composeApp:copyFontsToAndroidAssets' from ':composeApp:lintVitalAnalyzeRelease' using Task#dependsOn.
      3. Declare an explicit dependency on ':composeApp:copyFontsToAndroidAssets' from ':composeApp:lintVitalAnalyzeRelease' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.4/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

If I updated AGP from 8.1.4 to 8.2.2, then the build fails with:
FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':composeApp:generateReleaseLintVitalReportModel' (type 'LintModelWriterTask').
  - Gradle detected a problem with the following location: '/Users/arkivanov/Downloads/Miner/composeApp/build/generated/compose/resourceGenerator/androidFonts'.

    Reason: Task ':composeApp:generateReleaseLintVitalReportModel' uses this output of task ':composeApp:copyFontsToAndroidAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':composeApp:copyFontsToAndroidAssets' as an input of ':composeApp:generateReleaseLintVitalReportModel'.
      2. Declare an explicit dependency on ':composeApp:copyFontsToAndroidAssets' from ':composeApp:generateReleaseLintVitalReportModel' using Task#dependsOn.
      3. Declare an explicit dependency on ':composeApp:copyFontsToAndroidAssets' from ':composeApp:generateReleaseLintVitalReportModel' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.4/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

As a workaround, adding this to my shared module's build.gradle.kts would resolve the issue:
tasks.withType<AndroidLintAnalysisTask>{
    dependsOn("copyFontsToAndroidAssets")
}

tasks.withType<LintModelWriterTask>{
    dependsOn("copyFontsToAndroidAssets")
}

This might be a Gradle plugin/wrapper incompatibility though. I am still not sure. I am using Gradle 8.5 and AGP 8.2.0.

This saved me from errors after updating to version 1.6.0-beta01.

https://github.com/JetBrains/compose-multiplatform/pull/4247

In case this is helpful, I'm also seeing this, on release builds only, using these:

gradle 8.6
AGP: 8.4.0-alpha08
Compose MP: 1.6.0-beta02

Project uses the composeResources support for a few drawables (PNG images).  In this project all the compose multiplatform code is in a separate module named "uiCommon". There are 4 other modules in the project, and only the uiCommon module gets these gradle errors that make release builds fail. The gradle errors displayed all suggest the gradle task dependencies below are required and are missing (I'm cherry-picking from the output):
A problem was found with the configuration of task ':uiCommon:generateReleaseLintModel' (type 'LintModelWriterTask').
      1. Declare task ':uiCommon:copyFontsToAndroidAssets' as an input of ':uiCommon:generateReleaseLintModel'.

A problem was found with the configuration of task ':uiCommon:lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
      1. Declare task ':uiCommon:copyFontsToAndroidAssets' as an input of ':uiCommon:lintVitalAnalyzeRelease'.

A problem was found with the configuration of task ':uiCommon:generateReleaseLintVitalModel' (type 'LintModelWriterTask').
      1. Declare task ':uiCommon:copyFontsToAndroidAssets' as an input of ':uiCommon:generateReleaseLintVitalModel'.

So it looks like at a minimum tasks generateReleaseLintVitalModel, lintVitalAnalyzeRelease, and generateReleaseLintModel all need task copyFontsToAndroidAssets as an input or an explicit dependency.

Oh, and I forgot to mention I can confirm that the same work-around from alpine12 also fixes my build.

https://github.com/JetBrains/compose-multiplatform/pull/4247

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Do not fail staging when malformed app.yaml

Fixes #406.

Codecov Report

Merging #408 into master will increase coverage by 0.34%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #408      +/-   ##
==========================================
+ Coverage   64.95%   65.29%   +0.34%
==========================================
  Files          64       64
  Lines        1755     1755
  Branches      269      269
==========================================
+ Hits         1140     1146       +6
+ Misses        500      493       -7
- Partials      115      116       +1

Impacted Files
Coverage Δ

...ine/cloudsdk/CloudSdkAppEngineFlexibleStaging.java
39.28% <100%> (+10.71%)
:arrow_up:

Continue to review full report at Codecov.

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

I changed the code to wrap ScannerException and ParserException into AppEngineException (all of which are RuntimeException) and put a proper error message. I also removed catching IOException in findRuntime(), as it will be handled (and be re-thrown) by the outer caller.


[BUG] Wallpaper(s) are not being rotated through

Description
I only get one homescreen/wallpaper ; even though menu/settings/display/wallpaper rotation is set to 'on'
Steps to Reproduce
select the pull-down-menu/settings/display/wallpaper rotation is set to 'on'
back out and then wait for rotation - doesn't happen
Relevant Code
No response
Other Notes
os 24-5-2 base , but also dev images .2b2; .6b3, 7b4
Originally reported https://github.com/NeonGeckoCom/NeonCore/issues/666

I think the shell is correct if I'm reading these correctly. GUI bus passes speaker.extension.display.set.wallpaper.rotation, but the messagebus has a mismatch.
The shell-companion emits "speaker.extension.display.wallpaper.rotation.changed", but the wallpaper manager listens for ovos.wallpaper.manager.enable.auto.rotation or ovos.wallpaper.manager.disable.auto.rotation.
It seems to me the shell companion should be updated to emit the ovos.wallpaper.manager.enable.auto.rotation messages


Reports

Hi all,
Would it be possible to have a popup/separate window for the report page where you could select devices and the type of report, maybe including a map preview, then export them to a separate spreadsheet like xls (not csv) or html.
Thanks

All you are talking about will be available in the next release.

Hi
you can include reports sos, would be helpful

@condeitokako, what's "reports sos"?

Sorry alerts the sos tk103

the idea is to generate a report of the times that oppressed the SOS button , if no alarms or alerts are .

There will be a report for alerts.

Perfect thank you very much for your prompt response.


Updated version of the intro blog post?

@akudev, I'm a first time UpenUI5 user and I found your intro to OpenUI5 blog post from Dec 2013 very informative. There are some outdated bits in it though, e.g. that the source code is not on GitHub :)
Is there an updated version of this introduction somewhere?

Hi Dan,
yeah, right, it's outdated... well, it's a blog entry, not an encyclopedia article. :-)
But you are right, I should update it, as it seems one of the most popular entry sources. I'll take this as a TODO.
Thanks
Andreas

Blog entries are dangerous. My "blog" is actually a wiki, and a long while ago I wrote on why I'd rather "wiki" than blog.

Hi Dan,
I have updated the blog post now (mainly the "source code on GitHub" thing, but also a few other details, and fixed some links). Thanks for pointing this out!
I hadn't expected it to be such a significant resource even after months... :-)
Thanks and regards
Andreas


serviceaccounts API reachable by technical user

Description
In order to adopt the auto setup in MSO we need to use the below named API to get technical credentials:
/api/apps/{appId}/subscription/{subscriptionId}/provider
/api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId}
We will need to be able to access the above mentioned API with a technical user.
The MSO needs to trigger the auto setup with a technical user, in order to be operable
Impact
Additional information

[ ] I'm willing to contribute to this feature

The adaptation of the auto setup in MSO is at the moment blocked. Caused of the problem is that the technical user can not reach the api needed . Since it is blocked we can not implement it in the Release 24.03 so we will move the milestone to 24.05

@ciprianherciu can you please provide me the MSO feature where the switch to the new process is planned - I like to link the tickets since at the end we only provide a small functional change while you are implementing a bigger feature in the scope of the MSO.
In case you dont have a feature yet, I suggest to move this ticket here to the MSO repo and I link my task ticket (already existing) to it.

@jjeroch the Feature where we mention the maintenance of the MSO is this one: https://github.com/eclipse-tractusx/sig-release/issues/415

Hello @ciprianherciu
Since the feature is a 24.05 feature and the development phase for 24.08 is coming to an end, we need a status on the feature. Can you please update the status?

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.
[ ] Is there a spillover planned?

If you need any clarification, please get in touch, thank you very much.
Stephan

@ciprianherciu , @drcgjung This was a feature for milestone 24.05. Is this an ongoing topic? Is it closed? Moved?

Closed by NSC because no progress. Please reopen and assign an upcoming release if needed.


logger could not write to /var/log/syslog file

Hi, I am stemcell builder: https://github.com/bluebosh/bosh-linux-stemcell-builder/tree/ubuntu-xenial-ng
And my stemcell could not passed smoke test: when syslog threshold limit is reached should rotate the logs
https://github.com/cloudfoundry/bosh-linux-stemcell-builder/blob/60646ed27bc7b8dc6be6f589a2162b4c0a2e7280/src/github.com/cloudfoundry/stemcell-acceptance-tests/ipv4director/smoke/smoke_test.go#L45
I ran these command mannully and logrotate worked well(rotate logs larger than 10MB) but logger command could not write to /var/log/syslog. So this case failed.
I could not find your builder pipeline logs. So I had to ask you. Did you see same issues?
Thank you!

Hi @edwardstudy,
We have not seen this failure in our CI on both the ubuntu-xenial and ubuntu-trusty stemcell lines.
Going to close this issue now. Please feel free to reopen this if you had another question about it.
Thanks,
@jrussett && @jfmyers9, CF BOSH

Thanks. I just needed a confirmation. @jrussett Hi, I just found it write to /var/log/user.log.


fix: skip authentication on locked metamask

🧿 Current issues / What's wrong ?
When metamask wallet is locked AND with a pending unlock request, the connect method will return a valid provider, as if the connection was successful
This return value is wrong, and it should return nothing instead
This also means that any subsequent connect call on a locked metamask wallet after being denied once, will not trigger a metamask unlock call again (leaving the user figuring out by himself why the connect is not working, and that he should unlock metamask himself)
Reproduction

Go to https://snapshot.box/#/
log out and lock metamask
log in
do not unlock metamask and close it
refresh the page
Click on "Connect wallet", and choose metamask
The button shows an avatar for 0x000 user, without username
Clicking on the account button will open connect modal
Clicking on metamask will do nothing
This state will stay even after page refresh
Unlocking metamask will auto-log the user

💊 Fixes / Solution
When trying to connect to a wallet in a PENDING UNLOCK state, we should trigger the unlock request again, instead of returning a valid provider
On the UI, this will:

prevent a Schrödinger user (where the UI consider the user as logged in, even with a locked wallet), when refreshing the page and trying to connect again after denying to unlock metamask
Trigger a metamask unlock prompt on subsequent connection (instead of just doing nothing)

🚧 Changes

When trying to connect to a locked wallet pending unlocking, trigger unlock request again

🛠 Tests

yarn build
yarn link
Go to sx-monorepo
yarn link @snapshot-labs/lock
yarn dev

Test 1

Go to http://localhost:8080
Log out and lock metamask
Try to log in
Ignore the metamask unlock prompt
The "Connect wallet" button should remain in a loading state
Open the metamask prompt manually, and unlock it
You should be logged in with your metamask wallet

Test 2

Go to http://localhost:8080
Log out and lock metamask
Try to log in
Ignore the metamask unlock prompt
The "Connect wallet" button should remain in a loading state
Refresh the page
The account button should be back to "Connect Wallet"
Clicking on it will open the account modal with the connectors choice
Clicking on "metamask" will open metamask, prompting you to unlock it

Test 2.a

Unlocking metamask will log you in

Test 2.b

Do not unlock, and close the metamask popup
The button should be back the "Connect wallet" state
Any subsequent click, even after page refresh, should open the account modal, and connecting with metamask will open metamask asking you to unlock it

I get this when i retry 🤔

I think sometime yarn link is not working.
I edited my package.json to use the local repo directly


What's the configuration WSL.REFINE_MIST for?

Hi,
Thanks for your interesting works. I'm wondering which part of your paper is related to the implement when WSL.REFINE_MIST is True.

Hi, thanks for your interest.
This part is not described in our paper.
It is a small variant of MIST ( In Section 4.1 of paper "Instance-aware, context-focused, and memory-efficient weakly supervised object detection").

thanks for your reply.


chore: update Quota storage

Description
No need to pack denom and quota in a struct. We can do it directly, and reduce number of types.

Codecov Report

Merging #1814 (dd2cac5) into main (a4e8103) will decrease coverage by 1.97%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main    #1814      +/-   ##
==========================================
- Coverage   57.79%   55.83%   -1.97%
==========================================
  Files          78       85       +7
  Lines        8026     8309     +283
==========================================
  Hits         4639     4639
- Misses       3049     3332     +283
  Partials      338      338

Impacted Files
Coverage Δ

x/uibc/quota/keeper/genesis.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/grpc_query.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/quota.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/msg_server.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/params.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/relay.go
0.00% <0.00%> (ø)

x/uibc/quota/keeper/keeper.go
0.00% <0.00%> (ø)


Recover page does not work - Title Does Not Exist

I tried to recover a page but it ends in an exception:
Stacktrace (most recent call last):
File "django/core/handlers/base.py", line 113, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "django/views/decorators/cache.py", line 89, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "django/contrib/admin/sites.py", line 202, in inner
return view(request, *args, **kwargs)
File "reversion/revisions.py", line 300, in do_revision_context
return func(*args, **kwargs)
File "cms/admin/pageadmin.py", line 742, in recover_view
return super(PageAdmin, self).recover_view(request, version_id, extra_context)
File "django/db/transaction.py", line 223, in inner
return func(*args, **kwargs)
File "reversion/admin.py", line 392, in recover_view
return self.render_revision_form(request, obj, version, context, recover=True)
File "cms/admin/pageadmin.py", line 772, in render_revision_form
return super(PageAdmin, self).render_revision_form(request, obj, version, context, revert, recover)
File "reversion/admin.py", line 292, in render_revision_form
self.save_model(request, new_object, form, change=True)
File "cms/admin/pageadmin.py", line 209, in save_model
revert_plugins(request, obj.version.pk, obj)
File "cms/admin/views.py", line 62, in revert_plugins
title.pk = Title.objects.get(page=page, language=title.language).pk
File "django/db/models/manager.py", line 143, in get
return self.get_query_set().get(*args, **kwargs)
File "django/db/models/query.py", line 404, in get
self.model._meta.object_name)
-> DoesNotExist: Title matching query does not exist.
Using: django 1.5.8 with djangoCMS 3.0.3 on python 2.7

@o-zander  Does this still happens in latest 3.0.12?

Page can be recovered on 3.2, never encountered that issue, closing until reporting otherwise


Support 2-finger pinch and zoom

Hi,
Support for 2-finger pinch and zoom gestures is essential as all tablet users use it all the time.
The current patch to use Ctrl + mouse wheel does not work in tablet mode nor does it work with a touchpad (mouse users are rare nowadays)
Thanks

Bump


ALVR Completely broken over cable.

Description
ALVR connects but with SteamVR flashing the headset and controller icons, display in headset is black
General Troubleshooting
Reinstalled ALVR on headset and PC, restarted both, disabled firewall, started fresh with new config
Environment
Hardware
GPU: GTX 1660
GPU Driver Version: 555.99 (newest)
Installation
ALVR Version: 20.8.1
ALVR Settings File: https://drive.google.com/file/d/1gDZ3qfgGX0ppmcb0V6ALT_t7tTHOf3_f/view?usp=drive_link
SteamVR Version:  2.7.1
Install Type:

Packaged (exe, deb, rpm, etc)

OS Name and Version: Win 11 Build 26231.5000
Videos of issue: https://drive.google.com/file/d/1-z18fp5Amopun8qqdZ9B9pAFmHmMh1YB/view?usp=sharing (headset view)
https://drive.google.com/file/d/185ny7CliHkK7cUu6T2mZLYPX4qwb9hUB/view?usp=sharing (pc view until 0:35)

Have you checked https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting yet?
Or is the behavior similar to https://github.com/alvr-org/ALVR/issues/2185?

No, does not seem similar to #2185 but that did happen to me before though
On Mon, 24 Jun 2024, 9:19 pm Leonhard Saam, @.***>
wrote:

Have you checked
https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting yet?
Or is the behavior similar to #2185
https://github.com/alvr-org/ALVR/issues/2185?
—
Reply to this email directly, view it on GitHub
https://github.com/alvr-org/ALVR/issues/2208#issuecomment-2187335056,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWH6WFCGPD2367FPUDA5ZWTZJB5OTAVCNFSM6AAAAABJZ6PCVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGMZTKMBVGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Have you checked the wiki entry I linked?

Yeah, I've checked it but everything listed in that wiki entry is for Linux, not Windows

My bad, I missed where you specified the OS

  "connection": {
      "stream_protocol": {
        "variant": "Udp"
      },

You're using udp, which doesn't work with cabled. Switch to TCP
https://github.com/alvr-org/ALVR/wiki/ALVR-wired-setup-(ALVR-over-USB)
First entry on wired mode wiki page notes about this

Thanks! Don't know how I didn't catch this 🤦
On Sat, 6 Jul 2024, 4:46 pm Meister1593, @.***> wrote:

"connection": {
"stream_protocol": {
"variant": "Udp"
},
You're using udp, which doesn't work with cabled. Switch to TCP
https://github.com/alvr-org/ALVR/wiki/ALVR-wired-setup-(ALVR-over-USB)
First entry on wired mode wiki page notes about this
—
Reply to this email directly, view it on GitHub
https://github.com/alvr-org/ALVR/issues/2208#issuecomment-2211801865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWH6WFHIREOGJJ4HI3DFMELZLAGOFAVCNFSM6AAAAABJZ6PCVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRHAYDCOBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


WarnGen windows cannot send/issue warnings

Hello, I am trying to issue warnings and "send them" however I don't see a send button and i cannot save it. I also want to issue severe weather statements (Warning follow ups). however because i cannot issue the warnings, i cannot save them. If anyone knows how to fix this, that would be greatly appreciated.

For example in the image, the AWIPS header is not filling in, restricting me from sending the warning.
If anyone knows how to fix this for windows, that would be greatly appreciated. Please reply as soon as possible

does anyone have an old .msi download of the application (version 1.7.1)? If an older download fixes the problem that would be great

This is a "non-operational" version of AWIPS, as it says here. I'm fairly certain that this is not working is on purpose, to prevent people from issuing severe weather warnings.

On other videos a few months ago it was working, and may not be functional in this version. They even said that this is where it came from so something changed. UNIDATA apparently is working on a big update to this so please do add the functionality!


"File Not Found Error: 'VisionCameraCodeScanner/VisionCameraFaceDetector-Swift.h' Missing"

While working , I encountered a file-not-found error related to the VisionCameraCodeScanner package. Specifically, the file VisionCameraCodeScanner/VisionCameraFaceDetector-Swift.h seems to be missing, causing the build process to fail.
My project is using firebase and my podfile has use_frameworks added! :linkage => :static.
Please help me.

+1

Same here, any solutions to this?


Selecting item from history doesn't work

Selection item from search history window doesn't change search register, i.e. following testcase is broken:
function Test_History_Window()
  execute ':new'
  execute "normal ia\<CR>b\<CR>a\<CR>b\<CR>\<Esc>"
  execute "normal gg/a\<CR>"
  call assert_equal('a', getline('.'))
  execute "normal gg/b\<CR>"
  call assert_equal('b', getline('.'))
  normal gg
  call feedkeys("q/kk\<CR>")
  call assert_equal('a', getline('.')) " current line is b instead of a
  call assert_equal('a', @/) " search register contains b instead of a
endfunction

Same for command history window, selecting item does nothing at the moment.
Also, if one opens command history window via q:, enters some command, for example r !echo abc and presses Enter, command isn't executed.
All these seems got broken after
commit c695cec4698b41d7b9555efdd47dda9b1945d3ae
Author: Bram Moolenaar<EMAIL_ADDRESS>Date:   Sun Jan 8 20:00:04 2017 +0100

    patch 8.0.0159: crash on startup when updating tabline

    Problem:    Using a NULL pointer when using feedkeys() to trigger drawing a
                tabline.
    Solution:   Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
                Also fix recursing into getcmdline() from the cmd window.

Andrey Starodubtsev wrote:

Selection item from search history window doesn't change search
register, i.e. following testcase is broken:
function Test_History_Window()
  execute ':new'
  execute "normal ia\<CR>b\<CR>a\<CR>b\<CR>\<Esc>"
  execute "normal gg/a\<CR>"
  call assert_equal('a', getline('.'))
  execute "normal gg/b\<CR>"
  call assert_equal('b', getline('.'))
  normal gg
  call feedkeys("q/kk\<CR>")
  call assert_equal('a', getline('.')) " current line is b instead of a
  call assert_equal('a', @/) " search register contains b instead of a
endfunction

This test won't work because the feedkeys() does not the commands to be
executed.  Still, when doing the same commands manually it also doesn't
work, thus the bug is there.

Same for command history window, selecting item does nothing at the
moment.
Also, if one opens command history window via q:, enters some command, for example r !echo abc and presses Enter, command isn't executed.
All these seems got broken after
commit c695cec4698b41d7b9555efdd47dda9b1945d3ae
Author: Bram Moolenaar<EMAIL_ADDRESS>Date:   Sun Jan 8 20:00:04 2017 +0100

    patch 8.0.0159: crash on startup when updating tabline

    Problem:    Using a NULL pointer when using feedkeys() to trigger drawing a
                tabline.
    Solution:   Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
                Also fix recursing into getcmdline() from the cmd window.

Right, this was the wrong solution.  I'll look into fixing this.
--
hundred-and-one symptoms of being an internet addict:
250.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


gollvm: can't use unsafe.Pointer as map key

What version of Go are you using (go version)?

$ go version
Gollvm tip version

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
linux/arm64

What did you do?
$ llvm-goc -c foo.go
$ cat foo.go
package foo

import (
        "unsafe"
)

// if the key of the map is not unsafe.Pointer, then the program compiles.
var newCache map[unsafe.Pointer]int

func mapCopy(k unsafe.Pointer, v int) {
        newCache = make(map[unsafe.Pointer]int, 1)
        newCache[k] = v
        return
}

What did you expect to see?
No error
What did you see instead?
Call parameter type does not match function signature!
%.ld.1 = load i8, i8* %tmpv.4.ld.0, align 1, !dbg !57
i8*  %call.1 = call i8* @runtime.mapassign__fast64ptr(i8* nest undef, %_type.0* getelementptr inbounds (%MapType.0, %MapType.0* @type..map_6unsafe_0Pointer_7int, i32 0, i32 0), { i64, i8, i8, i16, i32, i8*, i8*, i64, i8* }* %go_0foo.newCache.ld.0, i8 %.ld.1), !dbg !57
Call parameter type does not match function signature!
%.ld.1 = load i8, i8* %tmpv.4.ld.0, align 1, !dbg !57
i8*  %call.1 = call i8* @runtime.mapassign__fast64ptr(i8* nest undef, %_type.0* getelementptr inbounds (%MapType.0, %MapType.0* @type..map_6unsafe_0Pointer_7int, i32 0, i32 0), { i64, i8, i8, i16, i32, i8*, i8*, i64, i8* }* %go_0foo.newCache.ld.0, i8 %.ld.1), !dbg !57
in function go_0foo.mapCopy
LLVM ERROR: Broken function found, compilation aborted!
#0 0x0000aaaad7616c9c PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#1 0x0000aaaad7614dc4 SignalHandler(int) Signals.cpp:0:0
#2 0x0000ffffbb06e66c (linux-vdso.so.1+0x66c)
#3 0x0000ffffbab654f8 gsignal /build/glibc-D9JkfM/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0, Program arguments: llvm-goc -c foo.go
1, Running pass 'Module Verifier' on function<EMAIL_ADDRESS>Aborted (core dumped)

I think you should probably use uintptr in stead.

Thanks for the report, I'll take a look.


No type-checking for iterator return expression

TypeScript Version:  2.7.0-dev.20171208
Code
function* f(): Iterable<{}> {
	return a.b / 0;
}

Expected behavior:
Errors in the return expression
Actual behavior:
No error

@sandersn I have no idea why, but this error only seems to happen after the merge of #20370.

This was caused by #20326 instead. I'm not sure why the git commits are misleading here.


Alle any Appendable as writers target

added new type Appendables containing the appropriate as Writers which is now deprecated


[Auto] Don't relay alerts to peers before version negotiation

Fixes #1436.
Sending alert messages before the negotiation breaks protocol, causing them to be ignored as well as the sending peer to receive a Misbehaving score. This also erroneously prevents the alert from being sent again after version negotiation as it will be already in CNode::setKnown.

utACK


strongly type query responses

Use Case
hi is there a plan to support strongly typed response objects to influx queries?
Expected behavior
we'd expect responses to be similar to influx v2 and v1 drivers, where timestamps, tags and fields are clearly defined and shown and can easily be understood and manipulated.
Actual behavior
Currently the responses are ienumerable of object[]:
public async IAsyncEnumerable<object?[]> Query(string query, QueryType? queryType = null, string? database = null)

Additional info
No response

Hi @nkostis,
we are currently works https://github.com/InfluxCommunity/influxdb3-csharp/pull/40. For more info see:
https://github.com/InfluxCommunity/influxdb3-csharp/pull/40/files#diff-ea62c7ee5ca92cf51704098db673cf40af3b3463324d7c86f7b25556a44f76e8
Best