Samsung g8 shows black screen

The camera permissions are on but screen is still black
system ver 9.0 latest

Have you checked application permission in settings?

Yes they are given and set to on in application settings.

Weird, scratch that, it started working

This project may need to have nicer granting permission logic, but personally, I'd like to just focus on ndk and camera :)


ifrit cleanup

refactoring around the ifrit switch, + bump timeout in one of the refactored tests

Closing this out as stale.


Support MacOS and Windows

Right now, the test suite fails when running on both these OSs

Hi @andre15silva

Right now, the test suite fails when running on both these OSs

Strange. Do you have the link to the log?
Thanks
Regards
Matias

Hi @martinezmatias
Seems like it's only Windows actually. MacOS was failing but because it was canceled, my bad.
Failing build
It as something to do with the paths to the example projects, so it probably isn't anything complicated.

It as something to do with the paths to the example projects

Right, It could be related to that.


Support for ESP-IDF

All of the current examples are based on Arduino framework for the Lilygo T-RGB. I wonder if there would be example for ESP-IDF. As the chip uses ESP32, it would be capable of running even more robust software through ESP-IDF and FreeRTOS.

It supports esp-idf. If you use idf-v5.0 or above, it will even show that the quick record refresh will be faster and more stable.

I have newly added esp-idf support. https://github.com/Xinyuan-LilyGO/T-RGB/tree/main/example/esp-idf-example/T-RGB

Amazing stuff for preparing this project for the esp-idf. I have always thought the LilyGO products lack support for esp-idf!
I have tried to build it for the esp-idf but without any success. Perhaps you are familiar with this issue. I have created a seperate issue for this:
https://github.com/Xinyuan-LilyGO/T-RGB/issues/31


Add ace_mode for Nasal

Sets the ace_mode for Nasal.
Description

I just made a PR to ace (https://github.com/ajaxorg/ace/pull/5342) with the new language, so this PR is not ready to merge until after the ace PR is completed, and a release has been made.
Checklist:

None of these seemed to apply

ajaxorg/ace#5342 was merged


HDDS-9478. Add more details to Safemode verbose output.

What changes were proposed in this pull request?
Add details of sample containers/pipelines that do not satisfy safemode criteria in order to continue further debugging/investigation
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9478
How was this patch tested?
Manually
Tried bringing down a DN that hosts a container with RF=1, hence pipelineSafemode will not be satisfied i.e atleast one replica of the pipeline is not reported
bash-4.2$ ozone admin safemode status --verbose
SCM is in safe mode.
validated:true, DataNodeSafeModeRule, registered datanodes (=1) >= required datanodes (=1)
validated:false, HealthyPipelineSafeModeRule, healthy Ratis/THREE pipelines (=0) >= healthyPipelineThresholdCount (=1)
Sample pipelines not satisfying the criteria : [PipelineID=a96f5a77-8d04-41b5-8532-18d0043ffbf3]
validated:true, ContainerSafeModeRule, % of containers with at least one reported replica (=1.00) >= safeModeCutoff (=0.99)
validated:true, AtleastOneDatanodeReportedRule, reported Ratis/THREE pipelines with at least one datanode (=1) >= threshold (=1)/nSample pipelines not satisfying the criteria : [PipelineID=a96f5a77-8d04-41b5-8532-18d0043ffbf3]
bash-4.2$

@hemantk-12 would you like to take another look?

Thanks @sadanand48 for the patch, @hemantk-12, @krishnaasawa1, @sodonnel for the review.


error messages are not useful for debugging

This is the template being used
.container
  .main
    .post-wrapper

  select
    option(val="") Color
    option value="Blue" Blue
    option value="Red" Red

The error reported will have cryptic message, unrelated to the source of the problem
Emblem syntax error, line 2: Expected BeginStatement or DEDENT but "\uEFEF" found.
  .main
^

Isn't this a duplicate of #180?

Moved to #276


Pluggable user agent support

This will allow the library users to provide their own implementations of AzureAuthorityProvider and OAuth2UseragentValidator, and to create AzureAuthority with custom UserAgent if necessary (e.g. when implementing their own user agent providers).
It is critical for the DPI issue in the Azure DevOps plugin, see https://github.com/microsoft/azure-devops-intellij/issues/237 and https://github.com/microsoft/azure-devops-intellij/pull/238 for details (the latter PR shows a sample usage of the new API from this PR).

Unfortunately, looks like Travis is broken :(

We have decided to migrate to the Microsoft Authentication Library for Java, so I'm closing this pull request.


Roll Flutter Engine from 4444ede34a9c to 5278837ee809 (1 revision)

https://github.com/flutter/engine/compare/4444ede34a9c...5278837ee809
2023-06-20<EMAIL_ADDRESS>Roll Skia from 6823d03cf2b2 to 0b26ffb4efe0 (2 revisions) (flutter/engine#43002)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


F1 Distribution

Description

This PR implements F1 distribtuion mainly in the incentives module and the lockup module. The implementation of f1 distribution also fixes the current bug in distribution logic where unbonding locks would still receive rewards.
This PR mainly introduces three new state entries in gauge.proto in the process of implementing f1 distribution.

CurrentReward

CurrentReward has a unique key for each denom + lock duration combination. If current epoch is bigger than the last epoch the reward was processed, it increments the period entry in CurrentReward, reset CurrentReward and move what was in currentReward to HistoricalReward.

HistoricalReward

HistoricalReward's main usage is to keep track of an accumulated reward ratio per denom of gauge, represented as CumulativeRewardRatio. This is used to calculate how much user is eligible to get distributed for a specific gauge reward(ex. rewardRatio * amtofTokens = amtToBeDistributed). Each unique denom + lock duration + period has its own key, each being stored with a different key.

PeriodLockReward

PeriodLockReward stores lockReward to be claimed for every individual lock. A map of string->uint64 is also included inside the state structure for PeriodLockReward, keeping track of what period each denom+lock duration combination it is in. PeriodLockReward references HistoricalReward to calculate reward for each lock.

Main implementation of the f1 distribution is in distribute.go and rewards.go(where getters and setters are implemented for the new state entries).
Additional points to be reviewed:

Do we need all the HistoricalRewards in the state machine? Do we want to keep only the most recent n number of historicalRewards
Do we want all the event happening in tx? Are we currently avoiding emitting events?

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #750 (a0f6297) into main (6e7d32b) will decrease coverage by 1.37%.
The diff coverage is 12.02%.

@@            Coverage Diff             @@
##             main     #750      +/-   ##
==========================================
- Coverage   19.96%   18.58%   -1.38%
==========================================
  Files         189      190       +1
  Lines       24542    27871    +3329
==========================================
+ Hits         4899     5180     +281
- Misses      18788    21779    +2991
- Partials      855      912      +57

Impacted Files
Coverage Δ

x/incentives/client/cli/query.go
0.00% <0.00%> (ø)

x/incentives/client/cli/tx.go
0.00% <0.00%> (ø)

x/incentives/handler.go
0.00% <0.00%> (ø)

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

x/incentives/keeper/utils.go
100.00% <ø> (ø)

x/incentives/types/keys.go
0.00% <ø> (ø)

x/incentives/types/msgs.go
59.67% <0.00%> (-30.57%)
:arrow_down:

x/incentives/types/query.pb.go
0.78% <ø> (-0.05%)
:arrow_down:

x/incentives/types/query.pb.gw.go
0.00% <0.00%> (ø)

x/lockup/keeper/iterator.go
77.27% <0.00%> (-9.17%)
:arrow_down:

... and 12 more

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 6e7d32b...a0f6297. Read the comment docs.

So there has been a major change, I've deleted the whole period state in proto struct, it turned out that we do not need to track periods separately bc locks' distribution only happen based on epoch. With the proto changes, logics for f1 distribution also became way simpler!

Hi team! What is the status of this?

Going to close for now due to how stale this is. Lets revisit as we do more F1 work.
But realistically, I think what we should be doing is making a generalized accumulator system, and then switch out parts of the stack to use that as a back-end.


services support

This PR adds support for services, specifically:

Creating services (asynchronous containers)
Service control (listing, retrieving, stopping, ...)
tty streaming over WebSocket with CLI support (cloak attach)
Experimental debugger extension

TODO:

Improve error handling in the WebSocket handler
Remove hardcoded endpoint in cloak attach (e.g. ws://localhost:8080)
Find out if there's a well known protocol for tty over ws we could use instead of the homemade one I came up with
Add missing arguments in service start (e.g. cache mounts, etc)
Change the API to support multiple processes per container
Q: should we support regular (non streaming) std{in,out,err}?

I think it would make sense to programmatically start one-off containers

Tests

Next (out of scope for this PR):

Container to container networking

e.g. Allow the pipeline to somehow communicate with services

Host to container (and container to host?) networking

e.g. Allow the end user to access a service through localhost

Moved to https://github.com/dagger/dagger/pull/3124

Merging as is to avoid maintaining this PR, however this needs a lot of rework before being released:

Convert to New Core API
Restructure to be multi-process (just like buildkit)
Support non-interactive mode (e.g. for launching a db etc, we don't want tty streaming etc)
cloak attach is hardcoded to localhost
Tests

If we don't get it to before preview, we should disable this.
/cc @sipsma @vito

@dolanor I'd wager the latest discussion in https://github.com/dagger/dagger/issues/4080 is more relevant at this point, but yeah this is the most recent actually-pushed code for it (besides #4025 which is tangentially related).

Lobbying to continue with the debugger in:

https://github.com/dagger/dagger/issues/4463


(Newer) Many WMP9 Video Playback fixes for Yuzusoft VN's

This will fix 100% WMP9 Video Playback for many Yuzusoft VN's, Including Riddle Joker. I am very certain this works, excluding even a single command will either cause a black screen, laggy or no audio or it just wont play. (I tested this very well) Reuploaded again to fix a tiny error, Only the Steam editions of these titles were tested and Full audio and video for FMV Scenes work. Other storefronts will most likely work considering there is no difference between versions

Great job. That's much better now, not worth to keep trying. Although it's a shame that i don't have any of those games because i'm curious where the problem is with quartz since it's called by directshow. Maybe calling directshow before wmp9 would work, if not then it's a problem with the order that amstream is called inside directshow.
By the way did you figure out the naming of the protonfix for the non steam game and the entry for the database?

Great job. That's much better now, not worth to keep trying. Although it's a shame that i don't have any of those games because i'm curious where the problem is with quartz since it's called by directshow. Maybe calling directshow before wmp9 would work, if not then it's a problem with the order that amstream is called inside directshow.
By the way did you figure out the naming of the protonfix for the non steam game and the entry for the database?

I figured the Non-Steam one out, The title i tried was Sabbat of the Witch directly from the Nekonyan Store (Doing it was a hard process requiring Launch commands and a directory different from the normal GE-Proton one) I am not going to bother with retrying the scripts i submitted because if it already works then there isn't a reason to keep trying.

I am not going to bother with retrying the scripts i submitted because if it already works then there isn't a reason to keep trying.

Yes, there's no need. I was just curious. It's not like quartz is installed twice, when directshow calls it it's already installed.

Presumably, you must be creating the files from Github instead from a terminal, correct? Because you didn't have to close the previous pull request.
Also, have you tested with wmp11?


JSDoc intellisense fix

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #14   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines         127    127
  Branches       24     24
=====================================
  Hits          127    127

Impacted Files
Coverage Δ

lib/impl/CosmosStateStore.js
100% <ø> (ø)
:arrow_up:

lib/StateStore.js
100% <ø> (ø)
:arrow_up:

lib/init.js
100% <ø> (ø)
:arrow_up:

lib/StateStoreError.js
100% <ø> (ø)
: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 8579f51...b84d4eb. Read the comment docs.

(fixed merge conflicts)


Inconsistencies in Maven POMs

Looks like there are dependency version inconsistencies in the latest POM:
Dependency convergence error for org.apache.commons:commons-lang3:3.0.1 paths to dependency are:
  +-org.jsonschema2pojo:jsonschema2pojo-core:0.5.1
    +-org.jsonschema2pojo:jsonschema2pojo-scalagen:0.5.1
      +-org.apache.commons:commons-lang3:3.0.1
and
  +-org.jsonschema2pojo:jsonschema2pojo-core:0.5.1
    +-org.apache.commons:commons-lang3:3.2.1

It appears that the scalagen module uses a different version of commons-lang3 than the core module.
The below commits should address this and also a few minor tweaks to the POM to better use managed dependencies from the root POM.

Thanks!


STM32F4 Support

Fixed flash utilty to support 1MB flash.
Partial fix for gdbserver flashing and debug for up to 64K application size.
Added all F4 Libraries to project.
Added IO_Toggle and DiscoveryDemo examples with make files.
Added code to distinguish the F4 by chipid rather than coreid.

There is some debug code not needed for functionailty present in the flashing common code. I left that in until I can fully fix the gdbserver to support the multiple sector sizes in th F4. The flash utility itself is otherwise fully functional for the full 1MB address space, and supports the variable sector sizes. There are some test patterns in the repo to verify the full space is flashable. There are also additional files present as a by product of using the eclipse ide that are not required to implement these changes.

Inadvertantly closed request


Ban data gouv fr lookup

Hello,
I have integrated a new lookup base on french open data geocoding API produced by French state, called "Base Adresse Nationale".
API is reliable, used by some of top 15 french websites. They claim 200million+ geocoding requests on the service since the opening.
It has many advantages :

it is free
it does not require API key
it supports https
it has no rate limit (from what I know)
it is somehow better than Google at geocoding French addresses
cool meta infos (population of cities, official UUID, etc)

Details about this API can be found here :
https://adresse.data.gouv.fr/api/ (in french)
We are using the fork I am making a PR for in production at www.publidata.io.
I was planning to spend some time on the integration of another open data API edited by french state, returning more detailed information about cities, returning polygons, surface, etc : https://docs.geo.api.gouv.fr/
Feel free to comment, I am rather new at contributing on OS projects.

Nice work! At first glance this looks great. I will go over it in more detail as soon as I can... Thanks for the helpful explanation.

I have made some modifications in order to make more tests pass, but I still got issue on cache hit test and no result test (I return [] if no result but it does not appear to work this way in tests).
Can you please have a look ?

The test test_no_search_results is unnecessary. The test for no results is run on every lookup automatically, and that test runs a query for "no results". So if you remove your test and remove the word "search" from the no_search_results fixture that test should pass.
For the caching failures, you have to define a private method called valid_response? in your lookup that returns true if the response should be cached. This means the response did not timeout or result in an error. The default is to return true if the HTTP response code was in the 200-399 range, but not all APIs return proper response codes, and even when they do this is not always sufficient for determining a non-error condition. Two examples:

Bing looks at the HTTP status and also the headers
Google looks at the HTTP status and also the JSON data

Thanks for insights, I have fixed no result test but still got issues on :

cache test :  results.first.cache_hit returns true as if cache was not empty before first request
error handling test : error_handling_test.rb:12:in `block in test_does_not_choke_on_timeout'

I have a precision :
I was planning to introduce geocoder gem and BAN open geocoing API implem during worldwide open government summit which will take place in Paris from https://en.ogpsummit.org/osem/conference/ogp-summit
It would be awesome to both :

promote ruby in the universe of democracy and civic-tech which are mainly php and python
promote this gem as a reference on geocoding with open and free API
get PR / visibility in those networks

Therefore it would be awesome to see it mergeable / merged /released before 6th december, do you think it would be possible / realistic ?

Yep, that seems reasonable. We just need to get these tests to pass. I think the reason the cache test is failing is that fetch_data is called three times in the course of executing a single query, which also means you're making three times as many network requests as you need to. It should only be called once!

Suggested refactoring:
def any_result?(response)
  response['features'].any?
end

def results(query)
  if doc = fetch_data(query)
    if any_result?(doc)
      [doc]
    else
      []
    end
  else
    raise_error(Geocoder::Error) || warn("BAN Geocoding API error")
  end
end

And I think the timeout failure is happening because the if/else structure raises an exception if fetch_data returns false, which is not what should happen (fetch_data will raise its own errors, if any). So actually you can replace the entire results method with this:
def results(query)
  if doc = fetch_data(query) and any_result?(doc)
    [doc]
  else
    []
  end
end

(assuming you use any_result? from my previous comment)

The final test error can be fixed by defining state_code in the Result object, eg: alias_method :state_code, :state

Merged, thanks for this! Will release some time before Dec 6.

Ok, I was about to amend my last commit to fix the any_result? method which was breaking, but you were quicker :) thanks for your assistance !


[Event Change Request] Report 5753 Get Source Documents - trigger OnPostDataItem "Purchase Line" - event OnBeforeOnPostDataItemPurchaseLine

We would like the Parameter/-s ShouldUpdate added to the following event.
Original:
Report 5753 Get Source Documents - trigger OnPostDataItem "Purchase Line"

OnBeforeOnPostDataItemPurchaseLine(WhseReceiptHeader, RequestType, OneHeaderCreated, WhseHeaderCreated, LineCreated, HideDialog);
if OneHeaderCreated or WhseHeaderCreated then begin
...

[IntegrationEvent(false, false)]
local procedure OnBeforeOnPostDataItemPurchaseLine(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; RequestType: Option Receive,Ship; OneHeaderCreated: Boolean; WhseHeaderCreated: Boolean; LineCreated: Boolean; HideDialog: Boolean)
begin
end;

Change:
ShouldUpdate := OneHeaderCreated or WhseHeaderCreated; // <-- NEW VARIABLE
OnBeforeOnPostDataItemPurchaseLine(WhseReceiptHeader, RequestType, OneHeaderCreated, WhseHeaderCreated, LineCreated, HideDialog, ShouldUpdate); // <-- NEW PARAMETER
if ShouldUpdate then begin // <-- NEW CONDITION
...

[IntegrationEvent(false, false)]
local procedure OnBeforeOnPostDataItemPurchaseLine(var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; RequestType: Option Receive,Ship; OneHeaderCreated: Boolean; WhseHeaderCreated: Boolean; LineCreated: Boolean; HideDialog: Boolean; var ShouldUpdate: Boolean) // <-- ADDED ShouldUpdate
begin
end;

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


Remove player filters

fixes #11

Merged in as part of https://github.com/EtienneLamoureux/TQVaultAE/pull/27


VSCode extension: extension does not show any experiments when active branch does not have experiments while other branches do

Description
When keeping dvc experiments outside from the main branch, vscode extension fails to show experiments while main branch is active ("Your project contains no data" error is shown).
The issue arises when hydra is used, but up-to-date params.yaml is not present in the current branch.
Reproduce

git clone https://github.com/Danila89/dvc_empty.git
cd dvc_empty && dvc exp pull origin -A --no-cache
At this point we expect to see non-empty "Experiments" tab in VSCode extension (there is one dvc experiment at the repo). But "Your project contains no data" will be shown in VSCode extension
To ensure that experiment actually exists: git fetch origin exp1-branch && git checkout --track origin/exp1-branch. This command will populate Experiments tab in VSCode extension with the experiment
git checkout master will make Experiments tab empty again

Environment information
Output of dvc doctor:
(base) danila.savenkov@RS-UNIT-0099 dvc_empty % dvc doctor
DVC version: 3.30.1 (pip)
-------------------------
Platform: Python 3.10.9 on macOS-13.3.1-arm64-arm-64bit
Subprojects:
        dvc_data = 2.22.1
        dvc_objects = 1.2.0
        dvc_render = 0.5.3
        dvc_task = 0.3.0
        scmrepo = 1.5.0
Supports:
        http (aiohttp = 3.8.4, aiohttp-retry = 2.8.3),
        https (aiohttp = 3.8.4, aiohttp-retry = 2.8.3),
        s3 (s3fs = 2023.5.0, boto3 = 1.26.76)
Config:
        Global: /Users/danila.savenkov/Library/Application Support/dvc
        System: /Library/Application Support/dvc
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: None
Workspace directory: apfs on /dev/disk3s3s1
Repo: dvc, git
Repo.site_cache_dir: /Library/Caches/dvc/repo/446173993f470ed3f55e59a2478cfe4e

Output of dvc exp show -n 3 --json:
(base) danila.savenkov@RS-UNIT-0099 dvc_empty % dvc exp show -n 3 --json
[
  {
    "rev": "workspace",
    "name": null,
    "data": null,
    "error": {
      "msg": "failed to parse 'stages.main.cmd' in 'dvc.yaml': Could not find 'parameters.parameter_name'",
      "type": "ResolveError"
    },
    "experiments": null
  },
  {
    "rev": "616500724541bcd2f7f89584187b00f838ecf9a9",
    "name": "master",
    "data": null,
    "error": {
      "msg": "failed to parse 'stages.main.cmd' in 'dvc.yaml': Could not find 'parameters.parameter_name'",
      "type": "ResolveError"
    },
    "experiments": [
      {
        "revs": [
          {
            "rev": "ee23879da223ff9d5bd906bdd8969cc0ea90344f",
            "name": "exp1",
            "data": {
              "rev": "ee23879da223ff9d5bd906bdd8969cc0ea90344f",
              "timestamp": "2023-11-28T16:07:17",
              "params": {
                "params.yaml": {
                  "data": {
                    "parameters": {
                      "parameter_name": "parameter_value"
                    }
                  }
                },
                "dvclive/params.yaml": {
                  "data": {
                    "result": 0.6936822634315442
                  }
                }
              },
              "metrics": {},
              "deps": {},
              "outs": {},
              "meta": {}
            },
            "error": null,
            "experiments": null
          }
        ],
        "executor": null,
        "name": "exp1"
      }
    ]
  },
  {
    "rev": "7d527bc6ae94befdc9352e59d80b133cdb0a1e7a",
    "name": null,
    "data": {
      "rev": "7d527bc6ae94befdc9352e59d80b133cdb0a1e7a",
      "timestamp": "2023-11-28T15:57:50",
      "params": {},
      "metrics": {},
      "deps": {},
      "outs": {},
      "meta": {}
    },
    "error": null,
    "experiments": null
  },
  {
    "rev": "19825884a7acacc3177716c8fd7b2502ed129c59",
    "name": null,
    "data": {
      "rev": "19825884a7acacc3177716c8fd7b2502ed129c59",
      "timestamp": "2023-11-28T13:09:17",
      "params": {},
      "metrics": {},
      "deps": {},
      "outs": {},
      "meta": {}
    },
    "error": null,
    "experiments": null
  }
]

@Danila89
In the data for the current commit on master you have an error instead of data:
    "error": {
      "msg": "failed to parse 'stages.main.cmd' in 'dvc.yaml': Could not find 'parameters.parameter_name'",
      "type": "ResolveError"
    }

The extension could be showing "your project has no data" instead of the error which is bug.
Thanks for providing the repo should make things easier to solve. I'll be taking a deeper look shortly.

Just to mention: the nature of this error is kind of obvious (master branch does not know about parameters.parameter_name because of the lack of params.yaml. But the error does not prevent dvc exp show correct work and I wish that it won't prevent VSCode extension correct work as well.
Seems that this issue could be related (also about errors with hydra and params.yaml)


Changed Input Axes to variables to allow for..

non standard unity input configurations.
Due to the unique nature of Hololens, none of the projects I have in the works use the standard unity input configuration(partially due to trying
to get a bluetooth game controller to work with unity and hololens, no luck there yet). The changes submitted here allow the user to select which axes to use from the object ManualCameraControl is attached to instead of having to dig into the input settings.

Hi @SUBERE23, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

You might look at #83 and see if these could be mild changes to that.You're both touching the same lines of code so this one will likely need an update once that one goes in.

Ok, took your changes into account Added more detailed comments to the code as. Closing this pull request to redo it.

Looking at #95 now. Just as an FYI, you don't have to close Pull Requests in order to get updates in. If you push changes to your fork/branch, the open PR will update to reflect those changes. This way requests for changes and the conversation aren't lost with each round of changes.

That makes total since... and shows my shiny newness at github on anything other than a 3 man project.


[bug]create a new app->click on deploy button->there is an edit icon display on top icon->and it is non functional currently

1.Create a new app
2.click on deploy button
3.verify the display of edit icon

expectation: As there is no functionality associated with it i don't see any use of the icon so it can be removed

@areyabhishek Raksha is filing the bug as part of the test so the devs can pick it up


Replacing non-existent page content with empty one

Fixes #1047

@pdfjsbot test

looks like #1043

Different result:

TEST-UNEXPECTED-FAIL | eq usmanm-bad | in chrome | rendering of page 2 != reference rendering
TEST-UNEXPECTED-FAIL | eq bpl13210 | in chrome | rendering of page 4 != reference rendering

trying again
@pdfjsbot test

@pdfjsbot makeref


:link: directive not working

Describe the bug
I am trying to allow my grid item card to be clickable but it is not working with any of the methods that I have tried.
I have tried doing :target: only with :image: and link under grid-item-card (with both doc and ref) but none of these options are working.
.. grid:: 4
.. grid-item-card::
	:link: mini_visium
	:link-type: ref

    .. image:: images/getting_started/icons_configuration.png
		:target: :ref:`mini_visium` (*Note: referenced as .. _minivisium: in subsections | I have also tried using the file path)

I have also tried (outdated):
.. card-carousel:: 7
.. card::
	:link: mini_visium
	:link-type: ref

    .. image:: images/getting_started/icons_configuration.png

Any help on this would be greatly appreciated!
Reproduce the bug
GitHub repo: https://github.com/sistia01/Giotto/tree/suite/docs
page: https://github.com/sistia01/Giotto/blob/suite/docs/source/gettingstarted.rst
List your environment
conda version : 4.13.0
python version : 3.9.12.final.0
sphinx-design             0.2.0
sphinx                    4.5.0

Heya, in #84 I tried to reproduce your issue, however, as you can see here https://sphinx-design--84.org.readthedocs.build/en/84/test.html, it seems to work fine?


Complain if # kafka consumers exceeds # partitions

It is quite easy for someone who is not familiar with kafka to think more consumers are better. However, if you run more consumers than there are partitions, they will never process any messages. see if we can get baseplate to complain loudly if the number of consumers exceeds the partitions on a topic.

Hi, I am interested in taking this on if it is available!
My proposed change would go in kafka.py:BaseKafkaQueueConsumerFactory:make_kafka_consumer. What I'd like to do is iterate through the topics in ClusterMetadata and check the number of partitions in each TopicMetadata. Then, the number of partitions on the topic can be compared to the number of Consumers currently listening to the topic. If the number of Consumers is equal to the number of partitions, we will throw an error when creating the consumer.
A question I have is whether consumers are using group functionality? I ask because if this is the case I could use the confluent_kafka AdminClient to list the consumer groups and then find each consumer that is a member of the group.
I hope this makes sense and appreciate any insight you can provide. 😊


WebApp - Bug related to earning feature on WebApp (Round 2)

Describe the task

[ ] UI bug

[ ] UI bug

[ ] Disable action back, tabbar when submit data

[ ] UI bug in case small number

[ ] Earning position details screen

[ ] UI bug

[ ] Bug UI

[ ] Do not scroll on the Start earning screen

@ThaoNguyen998 please check case 1 again
Currently, I do not reproduce the behavior


iTorch doesn't comply with jupyter messaging protocol 5.0

The complete_reply message returns the matches as a object rather than as an array/list. This doesn't comply with the  jupyter messaging protocol. It was discovered [here].(https://github.com/nteract/hydrogen/issues/434)
Upgrading to v5.0 and therefor removing matched_text in favor of cursor_start and cursor_end would probably also fix #116.

The complete_reply message returns the matches as a object rather than as an array/list.

I'm sorry this isn't the case anymore in the newest version of iTorch. I'm leaving this open since the  title of this issue is still true.


Upgrade Velero and added ImagePullSecrets

In order to avoid hitting docker hub limits, we added imagePullSecrets. In order to do that we had to upgrade the Helm Chart to latest (our current version doesn't support it)

@mogaal do you want to keep this PR?


Leoni - All 22 jobs from solr.peviitor.ro are no longer available on the company website, but 9 other jobs are active on the company website

ENVIRONMENT: production
URL: solr.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Execute Query for "Leoni" Company
Check the number and job titles
Open https://leoni.taleo.net/careersection/ro_romania
Check the number and job titles
Open https://scrapers.peviitor.ro
Run scraper for "Leoni" Company
Click on "Vezi postul" for all the jobs

EXPECTED RESULTS:
The jobs from solr.peviitor.ro are active on the company's website
ACTUAL RESULTS:
All 22 jobs from solr.peviitor.ro are no longer available on the company website, but 9 other jobs are active on the company website
Active jobs can be seen in the screenshot

fixed!

All the jobs displayed in scrapers.peviitor,ro are no longer available

All 22 jobs from scrapers.peviitor.ro are no longer available on the company website, but 10 other jobs are active on the company website

Fixed

The jobs that are located in "Bistrita" have the wrong county in solr.peviitor.ro. Valcea County is displayed instead of Bistrita-Nasaud County


Feature: Admin User Role for Enhanced Control

📋 Description
        This pull request introduces admin controls to enhance the management of user campgrounds within the CampX
        application. It allows admins/maintainers to delete or edit any campground flagged as spam or inaccurate and delete
        inaccurate reviews, ensuring better oversight and quality of content on the platform.

🔨 Changes Made
       - Fixed User model with role as user or admin.
       - Added functionality for identifying admin users in the system.
              Admin should be the **first** to register for getting the role admin.
       - Admin can edit or delete any campground and delete reviews after login.
       - Users can edit or delete their own campgrounds and add reviews after register and login.

✅ Checklist

✅ My code follows the style guidelines of this project.
✅I have performed a self-review of my own code.
✅ I have commented my code, particularly in hard-to-understand areas.
✅ I have made corresponding changes to the documentation (if applicable).
✅ My changes generate no new warnings.
✅ I have tested it locally and it works fine.
✅ Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
✅ New feature (non-breaking change which adds functionality) ✨
[ ] UI enhancement (non-breaking change which enhances UI) 🎨
✅ Documentation update 📚

🤝 Related Issues

This Fixes #5

How to Test
 Register and login ### **first** as an admin user.
 Navigate to a campground or review created by a different user.
 Verify that you can edit or delete the campground and delete a review as intended.
 Test the spam management functionality.

Thankyou.
Regards
Prerana Hippargi.

Thank you for Contributing!


Update to Angular version 10

The project has been updated to Angular version 10  according to the guide https://update.angular.io/?v=8.2-10.0
Fixes #6

Hi @monkeyscript can you include the label '' hacktoberfest-accepted "in this PR? Thanks!
Because of this Hacktoberfest Update


How can I toggle the dark mode to light?

Now that it is warming up in this area, I am outside more and dark mode is less relevant. How can I change from dark mode to light mode?
Thanks from Wisconsin USA

Hi @christoney,
The mode is driven by browser/OS light/dark mode preference. There is no setting within the app itself.

Thanks Dan!
On Mon, Apr 15, 2024 at 5:28 PM Dan Brown @.***> wrote:

Hi @christoney https://github.com/christoney,
The mode is driven by browser/OS light/dark mode preference. There is no
setting within the app itself.
—
Reply to this email directly, view it on GitHub
https://github.com/ssddanbrown/rss/issues/27#issuecomment-2057915630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGISSNMPQ7RYPI5DTJX3OYLY5RH7FAVCNFSM6AAAAABGIAGNYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXHEYTKNRTGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Broaden the specification's scope to embedded systems with simpler hardware and reduced functionalities

Guerney and I introduce in this PR changes to the CoVE spec that make the spec suitable for broader number of use cases, like embedded systems, simpler processors, systems designed under the formal verification regime, such as assured confidential execution (ACE) that we develop as open source project: https://github.com/IBM/ACE-RISCV

We propose to add a new deployment model to address embedded systems with limited functionality needs. See newly added Appendix D.
We propose to allow for static and dynamic memory partitioning. Static partitioning can be done with PMP/IOPMP and thus relaxes the requirement for more complex hardware to support CoVE. Consequently, we propose to not mandate MTT.
We propose to allow for a different (simpler) way of creating a TVM: Single-step TVM creation. This would be an alternative to the current  Multi-step TVM creation. To make it possible we propose to add a new COVG call: covg_promote_to_tvm()
We propose to support the local attestation that suits needs of embedded systems that might not have access to network. To make it possible, we propose to add a new COVG call: covg_retrieve_secret()
We propose to not mandate AIA.

Few broader questions:

As per the discussion in the RVI meeting: Keeping the TSM in M-mode helps in formal verification. As per my understanding it requires OpenSBI to be formally verified as well. If we run OpenSBI in M-mode and TSM in HS mode, the formal verification effort will be the same. Isn't it ?

Do we require more involved formal verification because of privilege mode changes ?
Note: I don't have formal verification background. Thus, I may be asking stupid questions :)

Few broader questions:

As per the discussion in the RVI meeting: Keeping the TSM in M-mode helps in formal verification. As per my understanding it requires OpenSBI to be formally verified as well. If we run OpenSBI in M-mode and TSM in HS mode, the formal verification effort will be the same. Isn't it ?

Do we require more involved formal verification because of privilege mode changes ?
If deployment model 3 is aimed for embedded use case, TSM can just run HS mode without any M-mode involvement. This also reduces the TCB to be verified.
Note: I don't have formal verification background. Thus, I may be asking stupid questions :)

Keeping TSM in M-mode helps with formal verification because:  (1) it simplifies reasoning because the security domains run in different privileged modes, (2) there are no context switches/switches between the M-mode and HS-mode that will be non-trivial to reason about, because one would have to reason about the ISA machine state for that transition, (3) it does not require to reason about resource ownership split between TSM running in HS-mode and a more privileged M-mode software  (4) it reduces the number of TSM’s source line of code (SLoC) written in assembly; assembly is more difficult for formal reasoning.
You might run TSM in HS-mode in embedded scenario and try to formally verify some of its property. The deployment model 3 in Appendix D shows a variant of CoVE where TSM runs in M-mode because it is more practical for formally reasoning, as stated above.
The decision whether to verify OpenSBI or not depends on the goals of using formal methods for CoVE. These can vary. For example, for strong security claims you might have to prove all M-mode software but probably still have to axiomatize the hardware implementation. On the other hand, one might try to use formal methods for verifying functional correctness of specific parts of the implementation, so verifying only a subset of TSM functionality would be ok. Different certification levels (FIPS, Common Criteria) might have different requirements for what is expected to be proven.

Few broader questions:

As per the discussion in the RVI meeting: Keeping the TSM in M-mode helps in formal verification. As per my understanding it requires OpenSBI to be formally verified as well. If we run OpenSBI in M-mode and TSM in HS mode, the formal verification effort will be the same. Isn't it ?

Do we require more involved formal verification because of privilege mode changes ?
If deployment model 3 is aimed for embedded use case, TSM can just run HS mode without any M-mode involvement. This also reduces the TCB to be verified.
Note: I don't have formal verification background.  Fundamentally it appears that are proposing another deployment model. On a processor without smmtt running the TSM in HS mode implies either that it is running beside the hypervisor or that it has replaced the hypervisor. Either approach would mean more code in the TSM and therefor more complexity to verify. This approach could be simplified by moving the Hypervisor to S mode (a form of deprivilege). This would provide hardware separation between the TSM and the hypervisor however, all request from all VMs would have to be routed via the TSM. Whereas in the current approach only request from confidential VM are routed through the TSM.  If this is a correct understanding of your proposal I agree that if we are successful in proving the TSM in our proposed model that proof could be leveraged for the model you have proposed. But I do not think that the current work we are doing would be sufficient to prove the new model. I believe that there would be more work, even though OpenSBI is running separately in M mode.

Not necessarily if the non-confidential VMs are run as a nested VM. But TSM does have to some additional H-mode state to enable that.

request from confidential VM are routed through the TSM. (supporting confidential computation has minimal impact on normal VMs.) If this is a correct understanding of your proposal I agree that if we are successful in proving the TSM in our proposed model that proof could be leveraged for the model you have proposed. But I do not think that the current work we are doing would be sufficient to prove the new model. I believe that there would be more work, even though OpenSBI is running separately in M mode.

Agreed. I was just trying to understand the challenges of formal verification between running different models. It seems it boils down to more complex TSM code/additional privilege state management vs more code in M-mode.

I think this is a reasonable summary.

As per my understanding from your and @wojciechozga's response, the later is easier. But if we can axiomatize hardware implementation and verifying only a subset of TSM functionality is okay, it shouldn't matter. Isn't it ?

I believe that by verifying only a subset of TSM functionally you mean that only the functionality that affects TVM. I do not think that this is a good approach.  Because the VMs and TVMs would be sharing the same TSM the side channel issue discussed below has to be considered.
If by nested VMs you mean running a second level hypervisor that services all non confidential VMs. That could possibly work (assuming the correct hardware support). However, it is more complex than what we have proposed. The other issue is that unless we change the hardware implementation, the second level hypervisor would possibly have to get services from the TSM.
In addition to proof complexity, once the TSM is servicing anyone other than TVMs we open up the possibility of side channels. In particular we would have to show that there is no way to leak information between the TVS and the VMs (or second level hypervisor). Essentially, you need to show that nothing the VMs do will influence the TVMs and that none of the VM request will be influenced by the TVMs. I believe that it is possible to build a system with this approach where this is true. But it puts an additional architecture and proof burden on the system that the approach we have proposed does not have.  The TSM only services one call from the VMs. That call results in the VM either being terminated because it fails attestation or becoming a TVM. Properly chosen cryptographic algorithms and key length (and key material) means that try fail semantics to break into the system would take too long to be practical.
Our current proof approach is not without side channel issues. We have to show that TVMs do not leak information to one another because they share the same TSM. Our approach to this might also work for an approach where the TSM services both, but that is a complexity we are avoiding. My statement on the required additional proof work is only an observation of the amount of work to be done and not a judgement as to whether it can be done.  We are still in the process of proving the current approach so we do not know whether we will be successful, but we suspect so. We want to add some additional capabilities but not until we have a proven base.


Remove indent for single text child in xml

Remove indent if a node's child is a single text element.
Old implementation:
<node>
    Some text
</node>

Fixed implementation:
<node>Some text</node>

It's also useful for a multiline text element when you need to specify custom indent for text (or no indent at all).
Old implementation for "0, 0, 0, 0,\n0, 0, 0, 0,\n0, 0, 0, 0\n":
<node>
    0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0
</node>

Fixed implementation for "\n0, 0, 0, 0,\n0, 0, 0, 0,\n0, 0, 0, 0\n":
<node>
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0
</node>

Cool!


Detect when an interaction is stable and measure total time to complete the interaction.

This adds the functionality to detect when an interaction is stable and measure the time to stable. This only takes in count the micro/macro tasks to count the tasks in the interaction.

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #89   +/-   ##
=======================================
  Coverage   96.46%   96.46%
=======================================
  Files          26       26
  Lines         622      622
  Branches       76       76
=======================================
  Hits          600      600
  Misses         22       22

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 09a7ace...65947c1. Read the comment docs.


Migrating from tesstrain.sh

I have used the tesstrain.sh approach (including tesstrain_utils.sh and language-specific.sh) for fine tuning an existing model for a specific font in the past. As this is deprecated with the corresponding Bash scripts having been removed from the tesseract repository, I wanted to try the new approach which redirects to this repository.
Looking at this repository, it seems to provide four different types of training support:

A Makefile-based approach with short documentation inside the README file.
Some Python scripts in the root directory, which seem to be partially used by the Makefile.
Some plotting functionality in the plot directory.
A Python-based replacement for the old Bash scripts in src/training.

Given this situation, how do the four different "types" interact with each other? What is the correct approach to use for training, given that I want to avoid another deprecation after a short time?
Background: As a Python developer I considered using the approach from src/training, requiring less migration effort as well. But as this does not seem to be documented in the README, I am not sure whether this makes sense.
As an additional question: The module in src/training does not seem to be available as a regular Python package on PyPI, although it seems like it could be. Are there any plans to convert this to a library (leaving tesstrain as an entry point for standalone execution), making it easier to use this in own code without maintaining local copies?

Thanks for the explanations about the Makefile (and the files inside the root directory) being intended for "real-life" training, while src/tesstrain keeping the artificial approach alive.
In my opinion (mostly being a Tesseract user instead of a Tesseract developer) these aspects should be represented in the directory structure as well. This might be achieved by moving all the sources for "real-life" training into an own subdirectory and maybe improving the naming for the artificial approach directory. Then each directory could have a dedicated README, while the global README provides some basic explanations.
Regarding the Python package I am going to open a new issue.

Is there any interest in actually cleaning up the directory structure and improving the corresponding documentation? If yes, does it make sense to track it in this issue, or should this rather be a new one?


Update README.md

Summary

Customer Impact

Added

Changed

Deprecated

Removed

Fixed

Security

Things worth calling out

Other things to consider:

[ ] Prefix your PR title with feat: , fix: , chore: , docs: , refactor:  or test: .
[ ] Sample blueprints are updated with new SDK changes
[ ] Updated public documentation with new SDK changes (Immutable X and Immutable zkEVM)
[ ] Replied to GitHub issues

https://github.com/immutable/unreal-immutable-sdk/pull/135#issuecomment-2357445225


Streamer Error

Welcome to The Unofficial Schwab Python Wrapper!
Github: https://github.com/tylerebowers/Schwab-API-Python
Streaming documentation: https://github.com/tylerebowers/Schwab-API-Python/blob/master/docs/stream.md
Access token last updated: 2024-09-27 16:35:51 (expires in 1386 seconds)
Refresh token last updated: 2024-09-27 14:31:12 (expires in 7 days)
Schwabdev Client Initialization Complete
Connecting to streaming server...
Stream is not active, request queued.
Stream has crashed within 90 seconds, likely no subscriptions or invalid login.
Stream is not active, request queued.
I am receiving a crash error.  When I look at the source code, I can't determine what the issue is.  My app is set up and I am able to access the account info API with no issues.  Any thoughts on the error?   I am not making any calls to create the subscription as the error is being trigger on the following:
streamer.start()
Note: I am able to make a call for a basic quote successfully.
print(client.quote("AAPL").json())

Update to the latest version of Schwabdev first pip install schwabdev --upgrade

Update to the latest version of Schwabdev first pip install schwabdev --upgrade

I am still receiving the same answer.  Any other ideas?

Are you on a Mac? If so you need to install the certificates for python. After you install python it tells you to run this command, many people miss it. It installs certificates that are important for python to use for ssl networking.
open /Applications/Python\ 3.12/Install\ Certificates.command
If you have python 3.11 change accordingly.

@tylerebowers What if we installed Python3 via Homebrew? Is there a particular module we need to install via pip to the global site-packages dir?

I believe the installation command is the same, however I could be wrong. https://stackoverflow.com/questions/44649449/brew-installation-of-python-3-6-1-ssl-certificate-verify-failed-certificate

Did this fix your issue? This is more of an issue with your local configuration. You need to install the python certificates.

Going to close this for non-response and assuming that one of the suggested fixes works. There are also many other fixes suggested online. This is not a problem with the schwabdev package.


Feature/props.fixed

Implemented support for prop fixed so that box of the component can be fixed to size of the full text even before it appears on the screen.

Thanks @maxkomarychev!

@TaylorBriggs thanks 👍


Add EIP content

Description
Need to add the Enterprise Integration Patterns content to the MI doc space. Currently, the content is in Confluence.
Describe your task(s)

[x] - Decide a location in the page structure.
[ ] - Convert confluence content to markdown.
[ ] - Add the content to the doc space.
[ ] - Format accordingly.
[ ] - Remove outdated content and update.

Location in the page structure: Will be added to the Learn section parallel to Overview.

As confirmed with @rosensilva, this effort will be started once the content revamp of the VS Code extension docs is finished.

@DinithiDiaz Can we update the live site with the references to the updated EIP pages now?

Update:
The following sections have now been added to the MI documentation space:

EIP Overview
Messaging Systems
Messaging Channels
Message Construction
Message Routing
Message Transformation
Messaging Endpoints

The System Management section has yet to be added.
You can view the progress of the task here.
The homepage of the MI 4.3.0 documentation space and the WSO2 documentation dashboard have been updated with the new URL.

I have updated both older documentation spaces [1,2] by adding a banner that points to the updated content in the latest WSO2 MI documentation.

[1] https://wso2docs.atlassian.net/wiki/spaces/EIP/overview
[2] https://wso2docs.atlassian.net/wiki/spaces/IntegrationPatterns/overview

EIP references will be updated via the following PRs for these doc spaces: MI 4.2.0, APIM 4.2.0, APIM 4.1.1, APIM 4.0.0, EI 7.1.0, EI 7.0.0
PRs:
https://github.com/wso2/docs-mi/pull/999
https://github.com/wso2/docs-apim/pull/8435
https://github.com/wso2/docs-apim/pull/8436
https://github.com/wso2/docs-apim/pull/8437
https://github.com/wso2/docs-ei/pull/3012
https://github.com/wso2/docs-ei/pull/3013


can not create database

Traceback (most recent call last): File "/home/blazeli/digits/tools/create_db.py", line 21, in  import leveldb ImportError: No module named leveldb
ps, i've installed leveldb and included the library, caffe is running properly

It looks like you're installing from source (cloning GitHub) rather than using the web installer. Is that correct?
Maybe you have installed the lmdb package to your system, but you don't appear to have the python bindings for it. In the README, it asks you to install the python pip dependencies:
% for req in $(cat requirements.txt); do sudo pip install $req; done

Did you run this command? Did any errors occur?

i installed using the web installer, now is working fine. thx


Missing "callbackQueue" argument for PitchTap

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
This issue recently came up on my logs and I noticed it is the same change from the update that was recently released.
Crash Logs, Screenshots or Other Attachments (if applicable)

Your AudioKit and SoundpipeAudioKit packages are out of sync. Try updating SoundpipeAudioKit to a newer version.

Is the latest SoundpipeAudioKit version 5.5.3?

I pushed a 5.6 that should address this.


Update Japanese language file (editor.json)

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
I updated Japanese language file, editor.json.
Simultaneously, I removed unnecessary lines and changed order in both files to be same.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

@knolleary Thank you 👍 I'll also check other language files before releasing v0.19.


Feature/make tests pytests

Tests all converted to pytest and test files reformatted (issue #15 )

looks good to me


Add Python 3.12 to the CI matrix

Contributor checklist

[x] Included tests for the changes.
[x] PR title is short, clear, and ready to be included in the user-facing changelog.

Maintainer checklist

[x] Verified one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

3.12 is failing on the CI: https://github.com/jazzband/pip-tools/actions/runs/12346208386/job/34451449901?pr=2148

Failure for piplowest is due to it referencing pkgutil.ImpImporter, which is gone is Python 3.12.
I think that we'll need to bump the minimal support version of pip.

References to pkgutil.ImpImporter were made conditional in https://github.com/pypa/pip/commit/f1a7a6f942b869ae3428dbf55dfc1ca756c78d94, which was first included in 23.1.2.
I wonder if we need to update the minimal supported pip, or if we can claim "For Python 3.12, the minimal pip is 23.1.2", while remaining compatible with older versions in Python < 3.12.

See also: https://github.com/jazzband/pip-tools/issues/2104

pip itself only supports the most recent version. is there a reason to be careful to maximize backward compatibility?

I didn't really want this PR to become a discussion of the support drops.

that's fine. we can discuss it elsewhere as well. really i meant to voice my support for dropping support for older versions over adding complexity to the pipeline

I think that for as long as a good range of Pythons is supported, it's okay to depend on newer Pip versions. But I don't have stats on why people would want to use older versions of it, honestly. This would require somebody to lead a discussion and make sure different user groups are reached, aware and heard.

References to pkgutil.ImpImporter were made conditional in pypa/pip@f1a7a6f, which was first included in 23.1.2, tagged 2023-04-26.
I wonder if we need to update the minimal supported pip, or if we can claim "For Python 3.12, the minimal pip is 23.1.2", while remaining compatible with older versions in Python < 3.12.

Post tox invocation, this is reproducible via
$ .tox/py312-piplowest/bin/python -I -m pip install
ERROR: Exception:
Traceback (most recent call last):
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
             ^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
    return func(self, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 315, in run
    session = self.get_default_session(options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 98, in get_default_session
    self._session = self.enter_context(self._build_session(options))
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
    session = PipSession(
              ^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/network/session.py", line 343, in __init__
    self.headers["User-Agent"] = user_agent()
                                 ^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent
    setuptools_dist = get_default_environment().get_distribution("setuptools")
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 180, in get_distribution
    return next(matches, None)
           ^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 177, in <genexpr>
    for distribution in self.iter_all_distributions()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 594, in iter_all_distributions
    for dist in self._iter_distributions():
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 168, in _iter_distributions
    for dist in finder.find_eggs(location):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 136, in find_eggs
    yield from self._find_eggs_in_dir(location)
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 103, in _find_eggs_in_dir
    from pip._vendor.pkg_resources import find_distributions
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/__main__.py", line 31, in <module>
    sys.exit(_main())
             ^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/main.py", line 70, in main
    return command.main(cmd_args)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 101, in main
    return self._main(args)
           ^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
    self.handle_pip_version_check(options)
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 179, in handle_pip_version_check
    session = self._build_session(
              ^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
    session = PipSession(
              ^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/network/session.py", line 343, in __init__
    self.headers["User-Agent"] = user_agent()
                                 ^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/network/session.py", line 175, in user_agent
    setuptools_dist = get_default_environment().get_distribution("setuptools")
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 180, in get_distribution
    return next(matches, None)
           ^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 177, in <genexpr>
    for distribution in self.iter_all_distributions()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/base.py", line 594, in iter_all_distributions
    for dist in self._iter_distributions():
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 168, in _iter_distributions
    for dist in finder.find_eggs(location):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 136, in find_eggs
    yield from self._find_eggs_in_dir(location)
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_envs.py", line 103, in _find_eggs_in_dir
    from pip._vendor.pkg_resources import find_distributions
  File "~/src/github/jazzband/pip-tools/.tox/py312-piplowest/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module>
    register_finder(pkgutil.ImpImporter, find_on_path)
                    ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

@WhyNotHugo I applied the suggested update.


How to exclude some ratings from implicit feedback, and at the same time, to leave it for user latent representation?

I would like to change the minimisation function for implicit feedback.
Namely, I would like to delete values of rating equal to 4 from implicit feedback, at the same time, I would like to have this information as a training data (but I do not want to consider it as implicit information).
How to implement it?

Interesting, So you mean in the forward pass you don't want to consider ratings which have 4 as value(implicit) but would like to have it in the training data,
Since you don't want it to be considered in the implicit feedback, you can control that in the implicit_feedback function
Is that what you mean?

@Praful932 yes, true. I try to create different data for implicit_feedback and fit methods, but I got an error.
which probably means, I can not do it.
In my case, rating of 4 is considered as non-implicit information, therefore, we don't want to add their latent representation into the minimization function

Instead of creating different data, why don't you try modifying the function to add only the rating that are not 4 to self.user_rated_items, I believe that would work

@Praful932 I modified the code, and what I have is the nan values:
991/4619 [=====>........................] - ETA: 4:14 - loss: nan - mse: nan

@Praful932 and this is what I added to the function:
`    def implicit_feedback(self, X, y):
"""Maps a user to rated items for implicit feedback.
    Needs to be called before fitting the Model.

    Parameters
    ----------
    X : numpy.ndarray
        User Item table.

    Raises
    ------
    AttributeError
        If this is not called before calling `fit()`.
    """

    self.user_rated_items = [[] for _ in range(self.n_users)]
    for u, i, grade in zip(X[:, 0], X[:, 1], y):
        if grade != 0:
            self.user_rated_items[u].append(i)

`

Hi @yustiks
I believe that would be something that would have to do with the dataset that you are using,
Here's an example with the movielens dataset
from tfrec.models import SVD
from tfrec.datasets import fetch_ml_100k
from tfrec.utils import preprocess_and_split
from tfrec.models import SVDpp
import numpy as np
import tensorflow as tf

data = fetch_ml_100k()
dataset, user_item_encodings = preprocess_and_split(data)

(x_train, y_train), (x_test, y_test) = dataset
(user_to_encoded, encoded_to_user,item_to_encoded, encoded_to_item) = user_item_encodings

num_users = len(np.unique(data['userId']))
num_movies = len(np.unique(data['movieId']))
global_mean = np.mean(data['rating'])

class CustomSVDpp(SVDpp):
    def implicit_feedback(self, X, y):
        self.user_rated_items = [[] for _ in range(self.n_users)]
        for u, i, rating in zip(X[:, 0], X[:, 1], y):
            if rating != 4:
                self.user_rated_items[u].append(i)

        # Converts to ragged tensor to be used during forward pass
        self.user_rated_items = tf.ragged.constant(
            self.user_rated_items, dtype=tf.int32)

model = CustomSVDpp(num_users, num_movies, global_mean)
# Needs to be called before fitting
model.implicit_feedback(x_train, y_train.flatten())
model.compile(loss = 'mean_squared_error', optimizer = 'adam')

model.fit(x_train, y_train)

2521/2521 [==============================] - 34s 13ms/step - loss: 1.2576

@yustiks Does this solve your issue

Closing this


fix: removed limits from the kafka channel dispatcher

Removes the limits from the kafka channel dispatcher and adds a patch file to make sure it stays removed

/cc @pierDipi @matzew @creydr

We cannot merge PRs to release-next and main will be used for the next sync https://github.com/openshift-knative/eventing-kafka-broker/pull/1106


Using future::timeout spawns a new thread

I’m creating a very simple web server on an embedded linux environment (ARM based), based on async-h1 and was surprised to find out that instead of just using a single thread, a new thread would spawn upon accepting an incoming connection (at least for the first one).
Async-h1 is using async_std::future::timeout for this, which in turn is based on futures-timer.
It would be nice if there was an option to create a timer without the need for a background thread. I know for there’s an open issue in stjepang/smol to use timerfd’s for timers (stjepang/smol#81). If that’s implemented, we could use it as a basis for async-std’s timeout.
Or at the very least, we could document that using timeout will spawn a background thread.

Nevermind, this seems to have been addressed on master already.


kick previous connection

Hi,
I want to kick a previous connection due to one account can only establish one connection.
my way to do so is:

register the account to the pid of websocket handler within the init function(user sent account and password via query string)
test the account if is bound to a pid
send message to the bounded account, like account ! {ctrl, kick}
in the process of bounded account, websocket_info({ctrl, Msg},State)-> {stop, State}.

In this scenario, the account is registered successfully, but whereis(account) always return undefined; any suggestion?

Why not just exit(Pid, kill) it instead of sending a message?

because I want to retrieve data from another process as well, for example:
A has a State which contains the  x info,  B wants to connect to A but at first he need A's x info;  I don't want  them to query the info from DB, due to performance problem.
The exit(Pid,kill) is good, but firstly, I can't get the Pid,  that's the problem:  whereis(account) returns undefined permanently.

Ok, I have to make a clarify,  in a simple sentence:
if it's possible to register the websocket_hanler process to identifier??
I have registered a identifier to the process, then run whereis function immediately, and it returns correctly;  but an undefined atom returned permanently in other process, even manually runt it in erlang shell.
but

You should not store state inside a Websocket connection process. You should store it in a separate session process.
As for how to find this process, a process registry like syn is probably what you want. I do not know what your issues with register are but honestly that's out of scope. The erlang-questions mailing list would be a better place for questions related to this. Note that register is only for the local node so that might be why you have issues.

So, what kind of data I can store in the state?  in my case, I just store the user info of  the people who hold the connection.
what the "syn" exactly means?   a gen_server process which reserve for the process' registration ?
the register() function is do called in the same node; I'll asking in erlang-questions mailing list.

syn is a project. https://github.com/ostinelli/syn
You can store what you want in the state, but it won't survive a disconnect, so it's not useful for session state. You can have a separate process for that and make that separate process ensure there's only one connection, like you wish to have.

thanks bro!  I got your point.


Documentation is incorrect on building dist

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?
Current documentation says:

npm run start:prod:aot
This will clear up your dist folder (where release files are located), generate a release build and start the built-in server. Now you can copy the sources from the dist folder and use it with any backend framework or simply put it under a web server.

What is the expected behavior?
Dist should be created per the documentation's specifications.

What is the motivation / use case for changing the behavior?
Correcting Documentation. What should happen is you run "npm run build:prod:aot" and it should build the production dist folder. Not "npm run start:prod:aot".

@lexzhukov Just wondering why we're using the new build commands when AOT do's and don'ts expressly says not to?

To create AOT version, run yarn run compile. This will compile and build script. Then you can use yarn run prodserver to see to serve files. Do not use build:aot directly unless you have already compiled. Use yarn run compile instead, it compiles and builds:aot

Any reason in particular?


Can't use mat-button for xhtml:button inside foreignObject

Bug, feature request, or proposal:
Bug
What is the expected behavior?
mat-button works well with xhtml:button
What is the current behavior?
Template parse errors:
Can't bind to 'disabled' since it isn't a known property of ':xhtml:button'. ("

xhtml:div
[ERROR ->]test
</xhtml:div>

"): ng:///AppModule/AppComponent.html@5:6, Directive MatButton
Evaluating src/main.ts
Booting application
mat-button works well with xhtml:a
What are the steps to reproduce?
https://stackblitz.com/edit/angular-cg1d7p?file=src%2Fapp%2Fapp.component.html
Create simple component with markup
 xhtml:button issues
test

test

What is the use-case or motivation for changing an existing behavior?
Use material components inside foreignObject
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular 6.0.0
@angular/material 6.4.7
Is there anything else we should know?

At this time Angular (and thus Angular Material) only directly supports HTML (and not XHTML).


[SPARK-8233][SQL] misc function: hash

https://issues.apache.org/jira/browse/SPARK-8233

Can one of the admins verify this patch?

LGTM except a minor issue.
@rxin can you trigger the unit test?

@davies Could you check this PR?

@davies, can you please trigger the unit test? I am working on the hashCode stulff right now, it can be considered as the improvement, probably this PR would better not to be blocked by the improvement.

And definitely I will update the code here after this PR being merged.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

@rxin I've done the rebase, please trigger the test.

Test build #998 has started for   PR 6971 at commit d79088b.

Test build #998 has finished for   PR 6971 at commit d79088b.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class Word2VecModel(JavaVectorTransformer, JavaSaveable, JavaLoader):
case class ScalaUDF(
case class CreateNamedStruct(children: Seq[Expression]) extends Expression
case class CurrentDate() extends LeafExpression
case class CurrentTimestamp() extends LeafExpression
case class Factorial(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Hex(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnHex(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class ShiftLeft(left: Expression, right: Expression)
case class ShiftRight(left: Expression, right: Expression)
case class ShiftRightUnsigned(left: Expression, right: Expression)
case class Md5(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Hash(children: Expression*) extends Expression
case class Sha1(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Crc32(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Not(child: Expression) extends UnaryExpression with Predicate with ExpectsInputTypes
trait StringRegexExpression extends ExpectsInputTypes
trait CaseConversionExpression extends ExpectsInputTypes
trait StringComparison extends ExpectsInputTypes
case class StringLength(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Levenshtein(left: Expression, right: Expression) extends BinaryExpression
case class Ascii(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Base64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class UnBase64(child: Expression) extends UnaryExpression with ExpectsInputTypes
case class Decode(bin: Expression, charset: Expression) extends Expression with ExpectsInputTypes
case class Encode(value: Expression, charset: Expression)
protected[sql] abstract class AtomicType extends DataType
abstract class NumericType extends AtomicType
abstract class DataType extends AbstractDataType
case class UserDefinedFunction protected[sql] (

@rxin @davies Could you trigger the test?

Jenkins, ok to test.

In general, I think it's ok to leave the hashCode for further improvement, for now, I think this PR looks good to me.
Can you guys trigger the unit test?

Test build #1013 has started for   PR 6971 at commit 837f6bf.

Test build #1013 has finished for   PR 6971 at commit 837f6bf.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

@qiansl127 can you close this pull request?
@JoshRosen will create an implementation based on your change. Thanks.

OK, sorry for no following these days.


issues when run disinformation

when I run the disinformation like run_specs.conf#L538-L540, I have two issues：

capability=reiteration：raise helm.benchmark.executor.ExecutorError: HuggingFace error: num_return_sequences has to be 1, but is 5 when doing greedy search.  so the settings don't match, this problem also occurs when run real_toxicity_prompts.
capability=wedging：raise ValueError: More than one stop sequence is not supported. I find this to define stop_sequence as a list of two lengths, but this  only allows one length.

When I looked at the corresponding references this this I still wondered how to solve these problems.

This looks like a duplicate of #1501 which was fixed in #1892 i.e. HuggingFaceClient failing if the stop sequence is longer than one token.


500 named export not found during production

Environment

Operating System: Linux
Node Version:     v16.16.0
Nuxt Version:     3.5.1
Nitro Version:    2.4.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      runtimeConfig
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-9ukebr-dnchhg
Describe the bug
Importing a named export works fine during development but breaks when visiting the route directly.
Steps to reproduce:

Download the reproduction
Build for production
Start the server
Click "map" (page loads fine)
Refresh the page
Error!

Additional context
No response
Logs
Listening http://[::]:3000
[Vue Router warn]: uncaught error during route navigation:
file:///REDACTED/.output/server/chunks/app/_nuxt/map-73d7f254.mjs:1
import { MarkerClusterer } from '@googlemaps/markerclusterer';
         ^^^^^^^^^^^^^^^
SyntaxError: Named export 'MarkerClusterer' not found. The requested module '@googlemaps/markerclusterer' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@googlemaps/markerclusterer';
const { MarkerClusterer } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async Object.setup (file:///REDACTED/.output/server/chunks/app/server.mjs:620:76)
    at async Object.callAsync (file:///REDACTED/.output/server/node_modules/unctx/dist/index.mjs:72:16)
    at async applyPlugin (file:///REDACTED/.output/server/chunks/app/server.mjs:123:33)
    at async applyPlugins (file:///REDACTED/.output/server/chunks/app/server.mjs:139:7)
    at async createNuxtAppServer (file:///REDACTED/.output/server/chunks/app/server.mjs:960:7)
    at async Object.renderToString (file:///REDACTED/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs:176:19)

You can try adding it to your build.transpile for now, or importing the default export. The issue is that the package doesn't expose a valid ESM export.

Thanks for the quick response @danielroe, I did try importing the default export but that results in a similar error. Transpiling resolved the issue for me. If I understand correctly the fix for the upstream package would be to add type: "module" in their package.json or to set the "module" file to end in ".mjs"?

Yes. But module is actually non-standard; ideally they should also have an exports field with conditional import/require/types fields.


Not able to get Session values

While htting POST /login request getting below response ,
But Request is showing as Anonymous , although I have logged in with an existing user.
2021/06/23 12:59:56 Server started on localhost:8080
2021/06/23 13:00:03 Request is: &{POST /login HTTP/1.1 1 1 map[Accept:[/] Accept-Encoding:[gzip, deflate] Accept-Language:[en-US,en;q=0.9] Cache-Control:[no-cache] Connection:[keep-alive] Content-Length:[332] Content-Type:[multipart/form-data; boundary=----WebKitFormBoundaryYwjsqHUCUjJdthOp] Origin:[chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop] Postman-Token:[cb8903f7-0e85-6f6d-4a39-4b7331db965f] User-Agent:[Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36]] 0xc0000a60c0  332 [] false <IP_ADDRESS>:8080 map[] map[]  map[] <IP_ADDRESS>:63323 /login    0xc00009a210}
2021/06/23 13:00:03 Fetch role from session
2021/06/23 13:00:03 role is anonymous
2021/06/23 13:00:03 [Request: anonymous, /login, POST ---> true]
2021/06/23 13:00:03 result is: true
2021/06/23 13:00:03 Users : [{1 Admin admin} {2 Sabine member} {3 Sepp member}]
2021/06/23 13:00:03 username: Sabine
2021/06/23 13:00:03 User ID is :2
2021/06/23 13:00:03 Role is:member
?
Could you please help me with the authorizer func (),why it is not able to get session variable role/userId ?

Hey!
What requests are you sending and in which order?
/login should return a cookie, which you have to send with every subsequent request (otherwise the server doesn't know which session to use)

Below is my curl request:
curl -v -X POST -F "name=Sabine" -F "role=member" -F "userID=2" http://localhost:8080/login

After the login request I have tried the below request:
curl -v GET http://localhost:8080/member/current
but FORBIDDEN response found.

@ipsita2192 What's the response to the first (/login) request?
You need to send the cookie you get there in the second (/member/current) request


change 'function' prometheus label for sources, sinks, functions

Motivation
The prometheus label "function" holds the name of the function but does not make sense for sources and sinks.
Changing that label to be "name" so that the semantics of that label is compatible for sources and sinks as well

rerun integration tests


Can't Launch Third Party SDK UI using Method Channel

Hey guys,
So getting straight to the point,
I am trying integrate a SDK(native java) to my flutter app. The problem is it has some UI screens and those need to be displayed when I click the button in my flutter app.
I configured my flutter engine using method channel but it is not starting the intent and displaying the following logs
Launching lib\main.dart on EB2101 in debug mode... Running Gradle task 'assembleDebug'... √ Built build\app\outputs\flutter-apk\app-debug.apk. Installing build\app\outputs\flutter-apk\app.apk... Debug service listening on ws://<IP_ADDRESS>:65295/Yym5wbnUhnU=/ws Syncing files to device EB2101... D/AndroidRuntime(13581): Shutting down VM E/AndroidRuntime(13581): FATAL EXCEPTION: main E/AndroidRuntime(13581): Process: com.example.sample, PID: 13581 E/AndroidRuntime(13581): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sample/com.xxxx.xxx.xxxx}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. E/AndroidRuntime(13581): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3616) E/AndroidRuntime(13581): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3780) E/AndroidRuntime(13581): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) E/AndroidRuntime(13581): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/AndroidRuntime(13581): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/AndroidRuntime(13581): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2251) E/AndroidRuntime(13581): 	at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime(13581): 	at android.os.Looper.loop(Looper.java:233) E/AndroidRuntime(13581): 	at android.app.ActivityThread.main(ActivityThread.java:8063) E/AndroidRuntime(13581): 	at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(13581): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631) E/AndroidRuntime(13581): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978) E/AndroidRuntime(13581): Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. E/AndroidRuntime(13581): 	at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:843) E/AndroidRuntime(13581): 	at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:806) E/AndroidRuntime(13581): 	at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:693) E/AndroidRuntime(13581): 	at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:170) E/AndroidRuntime(13581): 	at com.xxx.xxx.xxx.onCreate(x.java:115) E/AndroidRuntime(13581): 	at android.app.Activity.performCreate(Activity.java:8006) E/AndroidRuntime(13581): 	at android.app.Activity.performCreate(Activity.java:7990) E/AndroidRuntime(13581): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329) E/AndroidRuntime(13581): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3589) E/AndroidRuntime(13581): 	... 11 more I/Process (13581): Sending signal. PID: 13581 SIG: 9 Lost connection to device.
Here is my main.dart code
`import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see the
// application has a blue toolbar. Then, without quitting the app, try
// changing the primarySwatch below to Colors.green and then invoke
// "hot reload" (press "r" in the console where you ran "flutter run",
// or simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
// This widget is the home page of your application. It is stateful, meaning
// that it has a State object (defined below) that contains fields that affect
// how it looks.
// This class is the configuration for the state. It holds the values (in this
// case the title) provided by the parent (in this case the App widget) and
// used by the build method of the State. Fields in a Widget subclass are
// always marked "final".
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
static const platform = MethodChannel('samples.flutter.dev/battery');
String _batteryLevel = 'Unknown battery level.';
@override
Widget build(BuildContext context) {
return Material(
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
ElevatedButton(
child: Text('Launch Intent'),
onPressed: _LaunchIntent,
),
Text(_batteryLevel),
],
),
),
);
}
// Get battery level.
Future _LaunchIntent() async {
String batteryLevel;
try {
final int result = await platform.invokeMethod('getBatteryLevel');
batteryLevel = 'Battery level at $result % .';
} on PlatformException catch (e) {
batteryLevel = "Failed to get battery level: '${e.message}'.";
}
setState(() {
  _batteryLevel = batteryLevel;
});

}
}`
And here is my MainActivity.kt code
`
class MainActivity: FlutterActivity(){
private val CHANNEL = "samples.flutter.dev/battery"
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
    super.configureFlutterEngine(flutterEngine)
    MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL).setMethodCallHandler {
        // Note: this method is invoked on the main thread.
            call, result ->
        if (call.method == "getBatteryLevel") {
            getBatteryLevel()

//                if (batteryLevel) {
//                    result.success(1)
//                } else {
//                    result.error("UNAVAILABLE", "Battery level not available.", null)
//                }
} else {
result.notImplemented()
}
}
}
private fun getBatteryLevel() {
//        val batteryLevel: Int
//        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
//
////            val batteryManager = getSystemService(Context.BATTERY_SERVICE) as BatteryManager
////            batteryLevel = batteryManager.getIntProperty(BatteryManager.BATTERY_PROPERTY_CAPACITY)
//        } else {
//            val newintent = Intent(this, AadharActivity::class.java)
//            startActivity(newintent)
////            val intent = ContextWrapper(applicationContext).registerReceiver(null, IntentFilter(Intent.ACTION_BATTERY_CHANGED))
////            batteryLevel = intent!!.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) * 100 / intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1)
//        }
val newintent = Intent(this, xxx::class.java)
startActivity(newintent)
}
}`
Please point out what I may be doing wrong. Thanks in advance.

@jalakamkiran
Please go through this official documentation step by step and see if you missed any step, or for further reference.
Also provide flutter doctor -v on which you are trying to implement this.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


SLD Examples

Related Issue(s): 916
Proposed Changes:
Examples of porting SLD to a STAC extension.
The source of SLD examples under the "SourceUrl" key (which I don't intend to be used in the actual extension)

Thanks for going ahead and making a proposal. This seems to be basically a 1:1 mapping from XML to JSON, right? I'm wondering, why do we not just link to the XML?

I'm okay with SLD being in an external XML file if everyone else is.

Yeah, I think if we're using SLD it'd make the most sense to just have it as an 'asset' in STAC and link to an external XML file that is actually SLD compliant, instead of porting to JSON.
We may not even need an extension for this, could just add application/vnd.ogc.sld+xml to the table in https://github.com/radiantearth/stac-spec/blob/master/item-spec/item-spec.md#media-types

+1 linking to SLD

Closing this, as it should either be a new PR that includes SLD xml as an asset media type, or else a new extension.


Add Article for Hello World in Emojicode

Merged: #133.

Added link to language README: https://github.com/jrg94/sample-programs/commit/495aea1ac42b081abdcf6c2afa9e5c308ba0c792


Value change within a token or tag

Initial implementation. Still not satisfied with usage of replaceAll and did not yet implement one possible context value. But it's getting late.

Updated implementation, provided alternative for hacky title replacement, implemented AS_WRAPPED_IN_TAG context value. replaceAll seems ok for usage for now.


How to deploy the OP-TEE on kunpeng(华为鲲鹏芯片)?

What mk (qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk etc.) should I use when installing the OP-TEE on physical machine?
Here is the error during build the toolchains:
**make -C /root/incubator-teaclave-trustzone-sdk/optee/build -f hikey960.mk toolchains
make[1]: Entering directory '/root/incubator-teaclave-trustzone-sdk/optee/build'
Building aarch64 toolchain
build/br-ext/scripts/make_def_config.py --br buildroot --out out-aarch64-sdk --br-ext build/br-ext --top-dir /root/incubator-teaclave-trustzone-sdk/optee/build/.. --br-defconfig build/br-ext/configs/sdk-aarch64 --br-defconfig build/br-ext/configs/sdk-common --make-cmd make
make[2]: Entering directory '/root/incubator-teaclave-trustzone-sdk/optee'
make[2]: *** buildroot: No such file or directory.  Stop.**

Hi @xglreal ,
There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it.
You can check the list of supported devices in OP-TEE documentation.
When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk) according to OP-TEE documentation.
After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is qemu_v8.mk for compiling arm64 applications, no need to change it.
So maybe you could:

Check whether Kunpeng supports OP-TEE;
Clone OP-TEE repo and compile OP-TEE OS;
Install OP-TEE OS on your Kunpeng device;
In Teaclave TrustZone SDK, set OPTEE_DIR to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in /examples);
Copy Rust applications to your device.

Hi @xglreal , There is probably Huawei's TEE OS inside Kunpeng chips, so I'm not sure if you can run OP-TEE OS on it. You can check the list of supported devices in OP-TEE documentation. When compiling OP-TEE OS, it's necessary to choose a corresponding makefile(e.g. qemu_v8.mk\qemu.mk\juno,mk\hikey.mk\hikey960.mk) according to OP-TEE documentation.
After the OP-TEE OS has been installed on your device, you can try Teaclave TrustZone SDK for developing TEE applications in Rust. In Teaclave TrustZone SDK the default makefile is qemu_v8.mk for compiling arm64 applications, no need to change it.
So maybe you could:
1. Check whether Kunpeng supports OP-TEE;

2. Clone OP-TEE repo and compile OP-TEE OS;

3. Install OP-TEE OS on your Kunpeng device;

4. In Teaclave TrustZone SDK, set `OPTEE_DIR` to your OP-TEE repository, then develop TEE applications in Rust ( or you can try examples in `/examples`);

5. Copy Rust applications to your device.

Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?

Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?

@xglreal Maybe you should look at the documentation of Kunpeng chips to find some guidance, e.g. steps for entering maskrom mode or recovery mode, steps for replacing bl32 ( TEE OS ) firmware of the device.

Very Thanks for you answer. I have compile the OP-TEE OS, but I don't known how to install OP-TEE OS. Do you known how the install and setup OP-TEE OS?

@xglreal Maybe you should look at the documentation of Kunpeng chips to find some guidance, e.g. steps for entering maskrom mode or recovery mode, steps for replacing bl32 ( TEE OS ) firmware of the device.

Got it. Very Thanks.

I believe this issue can be closed. Thanks!