MultiChoice Field type doesn't provision properly

Category

[ ] Question
[x] Bug
[ ] Enhancement

Expected or Desired Behavior
I am trying to deploy a Multi-Choice Site Column with Fill-in choices enabled, add that to a Content Type, create a document library with that content type
Observed Behavior
The Site Column appears to be created, it appears to be added to the content type, but the content type cannot be added to the document library. If I try to manually add the Content Type to the Library then I get a "Sorry, something went wrong. Cannot complete this action. Please try again." error.
If I manually create a MultiChoice Site Column and add it to the Content Type through the UI then it works as expected and I can add the Content Type to the library.
I have also exported the Site Script for a manually created one and used that in my Site Script and it still fails.
Steps to Reproduce
Site Script:
{
    "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
    "actions": [
        {
            "verb": "createSiteColumnXml",
            "schemaXml": "<Field Type=\"MultiChoice\" DisplayName=\"Product\" Group=\"CDMS\" Required=\"FALSE\" EnforceUniqueValues=\"FALSE\" Indexed=\"TRUE\" FillInChoice=\"TRUE\" ID=\"{9a90081c-a89a-4b3c-b041-8f51910a5762}\" StaticName=\"cdmsProduct\" Name=\"cdmsProduct\"><Default>Select...</Default><CHOICES><CHOICE>Select...</CHOICE></CHOICES></Field>"
        },
        {
            "verb": "createContentType",
            "name": "Controlled Document",
            "id": "0x010100E46A99072BB9B747AC570EEBC7D27E25",
            "description": "",
            "parentId": "0x0101",
            "hidden": false,
            "group": "CDMS - Level 1 Content Types",
            "subactions": [
                {
                    "verb": "addSiteColumn",
                    "internalName": "cdmsProduct"
                }
            ]
        },
        {
            "verb": "createSPList",
            "listName": "Administration",
            "templateType": 101,
            "subactions": [
                {
                    "verb": "addContentType",
                    "name": "Controlled Document"
                }
            ]
        }
    ],
    "bindata": { },
    "version": 1
}

Does anyone have an opinion on this? It is drastically affecting my Site Design.
I have a workaround which is to deploy a standard Choice field and then change its settings in the UI.
BUT, if we need to make changes and redeploy the site design then it gets set back to a Choice field and the multiple choices are lost (made into a single entry) breaking our data.
So, I have to deploy two site designs. One with the full set of content types and fields and another purely for updates which excludes the multiple choice fields and this is less than ideal as it confuses our users.


Updated documentation and optimised code

Cool, now the sensor related parts are hidden behind the sensor_t struct. How about isolating i2s dma into a new file ? and the line_filter_task should also be a sensor related function.

Hi @liubenyuan,
Yes, I will keep mid to isolate sensor related functions.
Could you recommend a break board with MT9V034?
If not cost prohibitive I will do some testing with it as well.
What would be typical applications you would use MT9V034 as opposed to OV7725?
Regarding I2S I would wait for documentation with lightswitches :smile: before abstracting this one.

These are good changes, they make example code easier to understand.
On the other hand, I am thinking, maybe we should instead move closer to the upstream @openmv code? ESP32 could be a very capable platform for OpenMV, especially once the 2nd revision of ESP32 is in production (then we would be able to use up to 4 Mbyte external PSRAM for the frame buffer). We just need to write shims for the STM32 DCMI peripheral functions, translating them into I2S calls. Or maybe talk to @iabdalkader and see if he would be willing to accept patches to OpenMV which abstract away hardware-specific part of working with DCMI, using some generic API. Such an API could be implemented both for the ESP32 and STM32 targets.
I'm going to merge this now, maybe the discussion about OpenMV support can be continued on the forum or in a separate issue.

@igrr I'm not following the project, but it looks really cool, also thanks for the acknowledgement.. Sure I'll accept small/specific PRs that abstract things in the image processing code or sensor code, as long as you test them on OpenMV cam and make sure they don't break anything else.

The purpose of changes was to make the code easier to follow. Part of that was removing couple of functions that OpenMV documentation is discouraging to use. On the other hand I did not like to break anything from the spirit of OpenMV implementation. I like the idea to develop with OpenMV :+1:

@igrr about your comment about the external SRAM. Is there any way to show how much internal ram we are currently using/is free?
Is the usage of the different internal and external SRAM's actually transparent through the SDK?


[ENHANCEMENT] Additional field in setting "cluster ist test or production"

Is your enhancement related to a problem? Please describe.
 No
Describe the solution you'd like
 I think it will be helpful to implement a field in the settings section, with the logic behind it where you can change your cluster in production ( GA ) - where you get updates only from versions like 1.3.1 or above and in test - where you get the first version, like 1.3.0. Because in GitHub you see an old scheme of stable Versions
Describe alternatives you've considered

Additional context

Hi @jrlittlefoot64
Harvester only publishes upgrades for the stable versions (e.q. v1.3.1). You still can upgrade to the first version (e.q. v1.3.0) with this methond, just check the release note if there is any additional information.
We can have an internal discussion about your idea, thanks.


Refactor getting devops operator

Due to change of devops authentication, and devops operator has no ability to authenticate request, so we have to intercept request before invoking methods of devops operator. This PR tries to fix alph3 api handler.
By the way, this PR has merged another PR: https://github.com/LinuxSuRen/ks-devops/pull/29.
Also fix #38

Codecov Report

Merging #32 (4cc1a03) into master (22926b5) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #32   +/-   ##
======================================
  Coverage    4.98%   4.98%
======================================
  Files          64      64
  Lines       19996   19996
======================================
  Hits          996     996
  Misses      18931   18931
  Partials       69      69

Flag
Coverage Δ

unittests
4.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 22926b5...4cc1a03. Read the comment docs.

Hi @LinuxSuRen , I have tested all apis which I've changed. Please see as follow:

Meanwhile, I've exclude which lint failed files in .golangci.yaml.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0f167e1). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 6b0faf2 differs from pull request most recent head 89ec82b. Consider uploading reports for the commit 89ec82b to get more accurate results

@@           Coverage Diff            @@
##             master     #32   +/-   ##
========================================
  Coverage          ?   5.08%
========================================
  Files             ?      72
  Lines             ?   21011
  Branches          ?       0
========================================
  Hits              ?    1069
  Misses            ?   19871
  Partials          ?      71

Flag
Coverage Δ

unittests
5.08% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 0f167e1...89ec82b. Read the comment docs.


Minor bug in XR-Transformer run.sh

https://github.com/amzn/pecos/blob/b01b97afab3de5090c5c5fb8df66854797ef73a9/examples/xr-transformer-neurips21/run.sh#L2
this line should be data_dir="./xmc-base/${data}/" ?

Thanks for the catch. This is fixed in https://github.com/amzn/pecos/pull/106


Searching for Map plugin special query

Hi, I need some help, do you know if theres a plugin that allows to show markers based on users location and markers customed radius.
I need to create different markers that would have their own radius defined.
Instead of showing all the markers around my users geolocation, I want to query only the markers if my user is inside their customed radius or area.
All plugins are based on users radius, but I'm looking one that is based on markers radius.

Hi @LouRace
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Error when starting

Traceback (most recent call last):
File "googlerbot.py", line 1, in
import time, requests, tempfile, urlparse, os, boto, uuid, re
File "/usr/lib/python2.7/dist-packages/requests/init.py", line 60, in
from .api import request, get, head, post, patch, put, delete, options
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 14, in
from . import sessions
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 27, in
from .adapters import HTTPAdapter
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 28, in
from .packages.urllib3.exceptions import NewConnectionError
ImportError: cannot import name NewConnectionError

I don't understand anything. I try to make a sender bot like one that spams ppl. But when I do I forget to put two ='s and I have to start over cuz of Python.... Did u figure out how to do anything?

You figure out how to make a spambot yet


In the Windows 10 operating system, deleting a file does not call the DeleteFile request.

In the Windows 10 operating system, deleting a file does not call the DeleteFile request.
Is there any solution？To request DeleteFile .

Please see the documentation and especially around DeleteOnClose https://github.com/dokan-dev/dokan-dotnet/blob/master/sample/DokanNetMirror/Mirror.cs#L253


Keyboard Accessibility Issue

The keyboard navigation (for mobile) for "expanding/contracting" nested menu aren't working, even on the latest v1.0.10 and wondered if it had to do with #prependTo that won't allow to work? Here you go: Santa Fe College on the mobile version under 'Additional Navigation' and look for + icon that expand the nested menu.

@llahnoraa, I am not seeing any "+" or any nested items within the markup. Not sure if the code has changed, but it looks to be functioning as expected. Please re-open if you still are having issues.

Oh crap! I pasted the wrong URL. It's the correct one here.


QA - Test Data: Issue saving Monitoring System ID

Issue:
When a user is creating Test Data and enters a value for the Monitoring System ID and clicks Save and Close then the value for Monitoring System ID is not being retained/saved even when the new Test Data record is created
Steps to recreate:

Login to ECMPS
Access the Test Summary Data from the left-hand navigation
Select and checkout a Configuration
Select RATA from the Test Type Group dropdown
Click on ADD for the Test Data and enter all the required information
Click Save and Close
You will see that the Test Data is added however the value for the Monitoring System ID has not been retained/is not displayed/is blank

For Testing:
Create Test Summary:
locId = 66
payload = {
"stackPipeId": null,
"unitId": "1",
"testTypeCode": "RATA",
"monitoringSystemID": "BA1",
"componentID": null,
"spanScaleCode": null,
"testNumber": "3",
"testReasonCode": "DIAG",
"testDescription": null,
"testResultCode": "PASSED",
"calculatedTestResultCode": null,
"beginDate": "2022-11-03",
"beginHour": 7,
"beginMinute": 0,
"endDate": "2022-11-03",
"endHour": 7,
"endMinute": 15,
"gracePeriodIndicator": 0,
"calculatedGracePeriodIndicator": null,
"year": null,
"quarter": null,
"testComment": "BMILLER TEST",
"injectionProtocolCode": null,
"calculatedSpanValue": null,
"evalStatusCode": "EVAL",
"userId": "bmiller-dp",
"addDate": "11/3/2022, 11:52:08 AM",
"updateDate": "11/3/2022, 11:52:08 AM",
"reportPeriodId": null
}
Update Test Summary:
locId = 66
id = [from previous create test]
payload = {
"stackPipeId": null,
"unitId": "1",
"testTypeCode": "RATA",
"monitoringSystemID": "BA6",
"componentID": null,
"spanScaleCode": null,
"testNumber": "3",
"testReasonCode": "DIAG",
"testDescription": null,
"testResultCode": "PASSED",
"calculatedTestResultCode": null,
"beginDate": "2022-11-03",
"beginHour": 7,
"beginMinute": 0,
"endDate": "2022-11-03",
"endHour": 7,
"endMinute": 15,
"gracePeriodIndicator": 0,
"calculatedGracePeriodIndicator": null,
"year": null,
"quarter": null,
"testComment": "BMILLER TEST",
"injectionProtocolCode": null,
"calculatedSpanValue": null,
"evalStatusCode": "EVAL",
"userId": "testuser",
"addDate": "11/3/2022, 11:59:19 AM",
"updateDate": "11/3/2022, 11:59:19 AM",
"reportPeriodId": null
}

Bug is fixed for when the Monitoring System ID is correct for that configuration, when the Monitoring System ID is not a valid ID the Rata is still created with a blank Monitoring System ID. A future ticket will solve this problem by limiting the Monitoring System ID choices to only valid options


Removing dependency on pinot-common and pinot-core from pinot-connect…

…ors
Moved few things around to clean up the dependency

Codecov Report

Merging #4940 into master will decrease coverage by 0.01%.
The diff coverage is 29.31%.

@@             Coverage Diff              @@
##             master    #4940      +/-   ##
============================================
- Coverage     56.64%   56.63%   -0.02%
  Complexity       16       16
============================================
  Files          1176     1176
  Lines         62825    62790      -35
  Branches       9219     9214       -5
============================================
- Hits          35586    35558      -28
+ Misses        24614    24603      -11
- Partials       2625     2629       +4

Impacted Files
Coverage Δ
Complexity Δ

.../controller/helix/core/SegmentDeletionManager.java
75.4% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../core/realtime/PinotLLCRealtimeSegmentManager.java
74.59% <ø> (ø)
0 <0> (ø)
:arrow_down:

...e/realtime/impl/kafka/KafkaAvroMessageDecoder.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../server/starter/helix/SegmentFetcherAndLoader.java
64.07% <ø> (ø)
0 <0> (ø)
:arrow_down:

...roller/helix/core/PinotTableIdealStateBuilder.java
80.26% <ø> (ø)
0 <0> (ø)
:arrow_down:

...not/spi/utils/retry/AttemptsExceededException.java
100% <ø> (ø)
0 <0> (?)

...rg/apache/pinot/spi/utils/retry/RetryPolicies.java
20% <ø> (ø)
0 <0> (?)

...ces/PinotSegmentUploadDownloadRestletResource.java
61.58% <ø> (ø)
0 <0> (ø)
:arrow_down:

...ache/pinot/spi/utils/retry/NoDelayRetryPolicy.java
100% <ø> (ø)
0 <0> (?)

...in/java/org/apache/pinot/minion/MinionStarter.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

... and 54 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 f48370c...3cdd472. Read the comment docs.


Nextjs pages setup

Can be assigned only after #136 closed.

make files accordingly to navigate through pages in nextjs as corresponding to the old react router routing
just add dummy pages for now

hello sir ; kindly assign me this issue

Goodluck

sir bs yahi ?

stable version hi kra , not beta


upgrade_v1_project script

Hi Beni
I'm having some issues running the upgrade script.
Firstly, the config call here: https://github.com/microsoft/aerial_wildlife_detection/blob/a61bc0780ee6485d8db97452a2a2cc2ab3655ca1/projectCreation/upgrade_v1_project.py#L72
picks up the schema from the v2 settings file, shouldn't this be coming from the v1 file? I had to edit the schema in  config/settings.ini to match the v1 schema to get it to run which may not be the right thing to do.
It does run but gives errors in the database updates:
insert or update on table "image_user" violates foreign key constraint "image_user_image_fkey"
DETAIL:  Key (username)=(colin) is not present in table "user".

insert or update on table "annotation" violates foreign key constraint "annotation_username_fkey"
DETAIL:  Key (username)=(colin) is not present in table "user".

null value in column "name" violates not-null constraint
DETAIL:  Failing row contains (cameratraps, null, null, f, E2VweuhpF-RR_paP8M_1TOyc8TP335xRvqZYIFSU91c, t, null, null, null, {"enableEmptyClass": "no", "showPredictions": "yes", "showPredic..., null, null, null, null, f, null, null, null, null, null, t, admin, f, f).

insert or update on table "authentication" violates foreign key constraint "authentication_username_fkey"
DETAIL:  Key (username)=(hugheyl) is not present in table "user".
CONTEXT:  SQL statement "INSERT INTO aide_admin.authentication (username, project, isAdmin)
                    SELECT name, 'cameratraps' AS project, isAdmin FROM cameratraps.user"
PL/pgSQL function inline_code_block line 9 at SQL statement

then finally
insert or update on table "authentication" violates foreign key constraint "authentication_project_fkey"
DETAIL:  Key (project)=(cameratraps) is not present in table "project".
CONTEXT:  SQL statement "INSERT INTO aide_admin.authentication (username, project, isAdmin)
                    SELECT name, 'cameratraps', isAdmin FROM cameratraps.user
                    WHERE name IN (SELECT name FROM aide_admin.user)
                    ON CONFLICT (username, project) DO NOTHING"
PL/pgSQL function inline_code_block line 9 at SQL statement

Project "None" has been converted to AIDE v2 standards. Please do not use a v1 installation on this project anymore.

Thanks

Hi Colin,
Oh dear, you are right! The migration script indeed picked up the values from the new config .ini file. Thank you for reporting.
I just reworked the script; it should now handle parameter origins truthfully and also does a better job at migrating and registering user accounts with the new v2 system.
Please let me know if any errors persist and I will fix it further. I am thus leaving this issue open for now.

Thanks Beni - just tried again and I'm still seeing a few errors:
insert or update on table "image_user" violates foreign key constraint "image_user_image_fkey"
DETAIL:  Key (username)=(admin) is not present in table "user".

insert or update on table "annotation" violates foreign key constraint "annotation_username_fkey"
DETAIL:  Key (username)=(Mugisha patrick) is not present in table "user".

WARNING: could not parse settings defined in model settings path ("serengeti/yolo.json")
insert or update on table "project" violates foreign key constraint "project_user_fkey"
DETAIL:  Key (owner)=(admin) is not present in table "user".

insert or update on table "authentication" violates foreign key constraint "authentication_project_fkey"
DETAIL:  Key (project)=(cameratraps) is not present in table "project".
CONTEXT:  SQL statement "INSERT INTO aide_admin.authentication (username, project, isAdmin)
                    SELECT name, 'cameratraps', isAdmin FROM cameratraps.user
                    WHERE name IN (SELECT name FROM aide_admin.user)
                    ON CONFLICT (username, project) DO NOTHING"
PL/pgSQL function inline_code_block line 9 at SQL statement

The script does end with:
Project "cameratraps" has been converted to AIDE v2 standards. Please do not use a v1 installation on this project anymore.

but AIDE doesn't launch. What should be the schema in the new config file - aide_admin or should it be a project schema?

Hi Colin,
insert or update on table "image_user" violates foreign key constraint "image_user_image_fkey"
DETAIL:  Key (username)=(admin) is not present in table "user".

insert or update on table "annotation" violates foreign key constraint "annotation_username_fkey"
DETAIL:  Key (username)=(Mugisha patrick) is not present in table "user".

insert or update on table "project" violates foreign key constraint "project_user_fkey"
DETAIL:  Key (owner)=(admin) is not present in table "user".

These messages occurred because the upgrade script tried to apply all changes to the database before inserting the user names of the original project. This resulted in foreign key violations (the database tried to link the user names to the new "aide_admin.user" relation, even though the user names were not yet copied).
insert or update on table "authentication" violates foreign key constraint "authentication_project_fkey"`
Likewise, this occurred because the script tried to add project-user authentication entries before the project was registered in the database.

All of these errors should have been fixed in the latest script.
WARNING: could not parse settings defined in model settings path ("serengeti/yolo.json")
This message means that the provided AI model config file in brackets either does not exist or does not adhere to JSON encoding standards.
I now fixed the execution order of all the steps; you may want to try running the script again.

Hi Beni
Seem to be getting closer. I can launch AIDE now but have the following warnings on start-up:
constraint "image_user_image_fkey" for relation "image_user" already exists

constraint "image_user_image_fkey" for relation "image_user" already exists

constraint "image_user_image_fkey" for relation "image_user" already exists

constraint "image_user_image_fkey" for relation "image_user" already exists

constraint "annotation_username_fkey" for relation "annotation" already exists

constraint "annotation_username_fkey" for relation "annotation" already exists

constraint "annotation_username_fkey" for relation "annotation" already exists

constraint "image_user_image_fkey" for relation "image_user" already exists

I'm unable to see images in the interface. One issue I noticed is here
https://github.com/microsoft/aerial_wildlife_detection/blob/4718bfb519c53f88eacfd4c31e0969999997a2ff/modules/LabelUI/static/js/dataEntry.js#L319
I don't have the 'files' directory in my path to the images. If I take this out in the code or add in a files directory to the image server then I can get images to load in a new project but still not the upgraded project.
I looked at the difference between a new project and the imported project and the import appears to be having a problem here:
https://github.com/microsoft/aerial_wildlife_detection/blob/4718bfb519c53f88eacfd4c31e0969999997a2ff/modules/LabelUI/static/js/dataEntry.js#L1013
with the error:
TypeError: window.styles.hoverText is undefined

Hi Colin,
It's interesting that those warnings occur. I will update the script for later usages to resolve them. They are nothing to be worried about, though.

I don't have the 'files' directory in my path to the images.
This should be correct; the /files/ fragment only applies to the URL under which the images can be found, and not the actual directory on the file system. It should suffice if you move the images to a sub-folder with the same shortname as the project (i.e., the DB schema name). So if you have the following lines in your new .ini file:
`
[FileServer]

staticfiles_dir = /local/directory
staticfiles_uri = /
`
And your migrated project had the shortname cameratraps, then you can move the images to this folder:
/local/directory/cameratraps/<files go here>
Perhaps your browser needs to have the cache emptied to update the URI? This should actually not be necessary.

TypeError: window.styles.hoverText is undefined
Alright, it seems like some of the required styles were not transferred. In the latest version (1.8.200830) this should now be resolved—each time the styles are affected (during loading, saving, and in the migration from v1), they are now auto-completed with defaults wherever needed.

Hi Beni
Thanks - that's all working now. I had to remove the dataServer_uri from the config file to get it to load from the local file system - I guess this should be empty if the fileserver is on same vm? Will this cause problems with the AIController? (everything will be running on the same machine). Before I had
dataServer_uri = http://vmname.uksouth.cloudapp.azure.com:8181/data/

which worked if I took out the /files/ fragment but now changed to
dataServer_uri =

and it loads the images from /local/directory/data/cameratraps

Hi @bkellenb
One final thing with this script, the line:
https://github.com/microsoft/aerial_wildlife_detection/blob/a61bc0780ee6485d8db97452a2a2cc2ab3655ca1/projectCreation/upgrade_v1_project.py#L133
gave an error for me and I had to change to:
modelSettings = json.dumps(json.load(f))

Not sure if this is a bug or a version issue with json

Thank you @ctorney,

I had to remove the dataServer_uri from the config file to get it to load from the local file system
For clariﬁcation:

dataServer_uri tells the web frontend which server to contact to retrieve the images. This is indeed intended for when the ﬁles are hosted on a different machine. It may either be a combination of host:port (different machine) or left empty or put to a slash (same machine that hosts the LabelUI).
staticfiles_dir is the directory root of the local ﬁle system on the ﬁle server where the images can be found.

Not sure if this is a bug or a version issue with json
this was indeed a bug and has been ﬁxed now.


Cursor missing on landing page (collabrate section)

The cursor animation is not working.
If you didn't make this section, Reassign it to the one who coded it. @Lokendrakushwah12

@Lokendrakushwah12 Isn't that how it's supposed to be? I believe it's a feature. If it's not, then just update cursor: none; stuff, which is what I think.

@17AnuragMishra The issue is that custom cursor won't show on hovering to that left section but when you refresh the page it shows correctly

@Lokendrakushwah12 hnn, I saw that, might be something to do with the cache or something related to the state.


Fix the bug that command line doesn't support regx file filter

Fix the bug that command line doesn't support regx file filter

alluxio-bot, merge this please.

alluxio-bot, merge this please.

alluxio-bot, force merge this please

alluxio-bot, merge this please.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-3-1.1.x please.


Update main appearance settings on install

I've seen some themes that appear to override some of Obsidian's default appearance settings the first time you install -- I want to do this for this theme for things like the default font and the highlight color

Specifics:
font: set this to one of the following: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji" I used Segoe UI
Font size: 14
Set Accent Color to (113, 183, 255)
install the Style Settings Plugin, and set all header colors to white (#ffffff)

I'm pretty sure I have this resolved now


Fix pilot clusterrolebinding name in helm template

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

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

@yusuoh: PR needs rebase.

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

@yusuoh: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
246255ca489b8aa40848162b75d40b0844d69ed6
link
/test istio-unit-tests

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

@yusuoh: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
246255ca489b8aa40848162b75d40b0844d69ed6
link
/test istio-unit-tests

prow/istio-presubmit.sh
246255ca489b8aa40848162b75d40b0844d69ed6
link
/test istio-presubmit

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


NavLink always active

Hello , im using NavLink from react-router-dom in my navbar and i'm getting the root path always active, similar to  issue  #1614 but in v4

            <NavLink className="link btn-menu" to="/">
                INICIO
            </NavLink>
            <NavLink className="link btn-menu" to="/somepath">
                SOMEPATH
            </NavLink>
            <NavLink className="link btn-menu" to="/blog">
                SOMEPATH
            </NavLink>
            <NavLink className="link btn-menu" to="/contact">
                SOMEPATH
            </NavLink>

      <Router>

              <NavBar/>
              <DrawerMenu/>
              <Route exact path="/" component={Home}/>
              <Route path="/registro" component={Signup}/>
              <Route path="/ingresar" component={Signin}/>

      </Router>

This is not an issue tracker. Please use Stack Overflow next time. With that said, you need to add an exact prop to your main NavLink
<NavLink exact className="link btn-menu" to="/">
    INICIO
</NavLink>

Brutal :D but it actually helped me as well. I honestly went in thinking it's an issue but seems like new behavior. Thanks!

Thanks tylermcginnis

thanks !!


Use YAML as default config file format

Further abstraction from ConfigParser, introduction of YAML as
(default) config file format.

introduces NoOptionError, and have IniConfig.get() throw that and
remove further cmdline.py and util.py dependency on ConfigParser
steve.yaml/YamlConfig is now the default name/type for config file
old projects (steve.ini) are still found and will be read
parametrized test for config file creation/retrieval (on util.py level)
for both config types

I read the comment about ditching the ConfigParser support, but for me having this currently is helpful as I can more easily compare changes in behaviour (i.e. not having another virtualenv with some old version of steve-cmd installed, that has none or half of my changes)
In this redo of PR 47, I even further abstracted and the extra stuff for ConfigParser support is less than 100 lines: The class with its load/set/get method and the file template and extra few lines in util:with_config() to try and load the other format(s) than the default one.
It is fine with me to drop out the IniConfig related stuff at some point, but the abstraction Config/YamlConfig is IMO a good think to keep, to prevent relying on internals too much.

I should probably have put this on a branch in order not to update the PR and then explicitly make it a a new PR. Not sure what is the best way to proceed right now.
If you run tox on these changes, make sure to run tox -r at least once to get the changes in setup.py.
The commit message from the second change set has some important info, partly replicated in the added sync.rst doc file.
Next would be to make fetch, webedit, and all the other commands except for push, directly work on the YAML files instead of on the JSON files.
Since yamldata is a thin layer on top of ruamel.yaml.convert.syncjson: SyncJSON, there are no additional tests (beyond the ones for that package) that check if the sync works as expected

I skimmed the rest, but didn't comment on it because this pull request adds a whole bunch of stuff that I don't understand the use case for and there's been no discussion of as far as I know.  I think this PR and PR #47 are trying to do too much all in one change. For me as a reviewer and project maintainer, it's kind of exhausting to try to work through the changes in regards to code, architecture and figuring out whether all the new features were things I'm interested in and have big impact on using steve to get things done.
I thought what you were tackling was changing steve to use YAML for the configuration file. I'm interested in a PR for that. For the additional features you want, you should open up an issue for each one and we can discuss what it is you're thinking and whether it makes sense to add.
Given that, I'm going to close this out.


feat: support dim opacity

printf "%s\033[2;39m%s" "hi" "bye"
SGR (Select Graphic Rendition) parameters (see https://en.wikipedia.org/wiki/ANSI_escape_code)
2 | Faint, decreased intensity, or dim | May be implemented as a light font weight like bold.[39]
2	Faint, decreased intensity, or dim	May be implemented as a light font weight like bold.[39]
kitty.conf
# dim_opacity 0.4

#: How much to dim text that has the DIM/FAINT attribute set. One
#: means no dimming and zero means fully dimmed (i.e. invisible).

kitty with default dim_opacity 0.4

kitty-scrollback.nvim

Determine CSI 2 (faint) color based on kitty.conf dim_opacity, calculate via faint() (See
https://github.com/kovidgoyal/kitty/blob/master/kittens/tui/operations.py#L204).
If too hard to automatically convert, then add documentations and workaround steps.

https://github.com/kovidgoyal/kitty/issues/6803 may be related, double check once you start to work this


Translation to pt-br

@kennedyoliveira thank you for contribution!
@just-boris please merge if all this stuff with plurals and so on seems to be correct.

@vania-pooh Your Welcome! If something is wrong, please let me know that i'll fix it!

@kennedyoliveira great!
I made a little redesign of language switcher in https://github.com/allure-framework/allure-core/pull/614
Please rebase you branch onto latest master and look how it looks now

@kennedyoliveira thanks for all the work. Could you please fix comment and lets merge this

@baev done!

LGTM

@just-boris what does LGTM means?

@just-boris never mind, I'm glad to help!

LGTM (looks good to me) is a message for @baev that I accept this changes

@kennedyoliveira could you please squash your commits into one. See http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request and http://stackoverflow.com/questions/14534397/how-to-squash-all-my-commits-into-one-github

@baev done!

@kennedyoliveira thanks for all the work!

@baev You are welcome!

@kennedyoliveira do you mind to contribute pt-br translation to Allure 2?

Hey @baev, Sorry i Just saw your comment today, sure i can help! I did tried the version 2 yet, but Will take a look and translate !


Update Benchmark Result

I love crab! If you don't have time, I can open a PR.

Updated benchmark results on readme to be from
sam@silverhand > crabfetch -v                                                                                ~
CrabFetch 0.5.0

Built From: 991285a53309c530b64c76a6e9983795718448b4 (Wed Sep 11 01:06:04 2024 +0100)
  add snazzy to list of known terminals

Build contains feature flags:
 - android
 + player
 - rpm_packages

Started updating the benchmarks wiki page, will continue soon


Source map causes escape-store to throw error

I'm running into a problem with clean-css throwing TypeError: Cannot read property '1' of null.
When I specify sourceMap: false, this error does not appear.
Example code:
gulp.task("sass", () => gulp
    .src(config.files.build)
    .pipe(sourcemaps.init())
    .pipe(sass())
    .pipe(autoprefixer())
    .pipe(cleanCss({debug: true}))
    .pipe(sourcemaps.write("./"))
    .pipe(gulp.dest("css"))
);

Environment:

os: Windows 7 enterprise service pack 1
node: 6.2.0
gulp: 3.9.1
clean-css: 3.4.18
gulp-clean-css: 2.0.11
gulp-auto-prefixer: 3.1.0
gulp-sourcemaps: 1.6.0
gulp-sass: 2.3.2

Error Details:
(root)\node_modules\clean-css\lib\text\escape-store.js:49
  var index = this.restoreMatcher.exec(placeholder)[1];
                                                   ^

TypeError: Cannot read property '1' of null
    at EscapeStore.restore ((root)\node_modules\clean-css\lib\text\escape-store.js:49:52)
    at restore ((root)\node_modules\clean-css\lib\text\comments-processor.js:108:24)
    at CommentsProcessor.restore ((root)\node_modules\clean-css\lib\text\comments-processor.js:126:10)
    at Object.restoreEscapes [as restore] ((root)\node_modules\clean-css\lib\clean.js:220:30)
    at store ((root)\node_modules\clean-css\lib\stringifier\source-maps.js:12:21)
    at property ((root)\node_modules\clean-css\lib\stringifier\helpers.js:73:5)
    at body ((root)\node_modules\clean-css\lib\stringifier\helpers.js:64:5)
    at all ((root)\node_modules\clean-css\lib\stringifier\helpers.js:154:9)
    at stringify ((root)\node_modules\clean-css\lib\stringifier\source-maps.js:88:3)
    at minify ((root)\node_modules\clean-css\lib\clean.js:230:10)

I added some code to see what the placeholder was when the error is thrown and got the following:
__ESCAPED_COMMENT_CLEAN_CSS(0,-1)__

@lewismoten would you be able to share your input CSS?

Unfortunately not. There are many files involved and my time to work on the issue was limited. If I come back to this problem again, I'll see about breaking it down to get an example scss file setup for you.

Thanks @lewismoten - a CSS file would be ideal or a standalone instruction how to compile SCSS file.

This should not be the case anymore as the current master (due as 4.0 soon) does not use escaping anymore.


Add exportAs to dropdown directive

This is relevant when using multiple dropdowns in a component, and requiring programatic setting of isOpen, for example.

@tiagoroldao nice reason to make a PR :)
exportAs: 'bs-dropdown'
https://github.com/valor-software/ng2-bootstrap/blob/development/components/modal/modal.component.ts#L29

Was going to immediately, but had to teach a class meanwhile 😄


Xcode 9.3, swift 4.1 compile error

core-data-master/SharedCode/Utilities.swift:47:30: Binary operator '===' cannot be applied to operands of type 'Self.Element' and 'AnyObject'

I have found that this fixes the compiler error:
return contains { $0 as AnyObject === object }
but will the cast break ===?

The correct fix for this would be to change the extension to:
extension Sequence where Element: AnyObject
While the iterator also uses the Element associated type and that one is constrained to be equal to the Sequence's Element type, the type system only checks the Sequence's Element type in this case, so it can't establish that every element of the Sequence is also an AnyObject anyway when only the Iterator's Element is specified.
Hope that makes sense.


Make sort robust to invalid Ord impl

https://research.swtch.com/ub Points out std::sort can OOB if the Ord impl is invalid. We don’t want that!! So get off std::sort and std::unstable_sort

From this we can see for safety and performance we can just port the rust sort algorithms over directly.


changed modes.png to be readable in Github dark theme

made the text of modes.png visible in dark theme.
formerly

now

Great addition, thank you!


Explicitly close inputstream

I believe this makes resource management more efficient.

Sorry I just sent this by mistake.


HOCS-5469: rework case closure

Rework of the case closure mechanic for POGR workflow. This change
includes pulling the case closure into a generic process that is called
by HMPO and GRO Draft/Investigation screens.

Marking as minor as while it breaks POGR cases they aren't live and flows are subject to change.


should most rules be strictly enforced?

I'm putting this out there just to see if there's an opinion on the subject.
Most of the rules enforced are strict ([2, always/never]), very few 1's. Is there a process to determine the importance of rule? Like... semicolons maybe (i know :do_not_litter:)? This has been discussed already, and semistandard is an alternative for people who LOVE semicolons, but I'm fine without them 80% of the time. I'm legitimately curious why semicolons are strictly enforced instead of passively enforced (semi: 0 or semi: [1, never]. Are there major downsides to using semicolons in general? I can change the settings, ignore it, etc. - but back to the point - is there a priority of rules?
I really like standard. Not only for convenience (I've wasted so much time configuring jshintrc files) - conceptually, philosophically, culturally - it's a great move :raised_hands:. But is there wiggle room? Would it benefit standard by laxing some of the rules? Or would it contradict the principles standard is based upon?
Two side notes: Is there any informal / open committee that would maybe vote on this standard's rules (4-5 great dev's like @maxogden and @substack getting together)? Because it blew up - and I'd like it to actually be a standard independent of w3c / corporations. Also, was there a setting changed a week or 2 ago about named function () spacing?

I really like standard. Not only for convenience (I've wasted so much time configuring jshintrc files) - conceptually, philosophically, culturally - it's a great move :raised_hands:.

Agreed.

But is there wiggle room?

From what I've seen, to a degree. Just post an issue and @feross is very good about addressing it. If it's a stylistic choice though, you'd be barking up the wrong tree.

Would it benefit standard by laxing some of the rules? Or would it contradict the principles standard is based upon?

As you stated, It'd violate the principles IMHO.

Two side notes: Is there any informal / open committee that would maybe vote on this standard's rules (4-5 great dev's like @maxogen and @substack getting together)?

Committees are for those who don't want to get things done, but feel like they're getting things done. Also, committees tend to pander to the masses. What we have now is @feross is benevolent dictator with some consensus from @maxogden. @feross has done an excellent job on moving this project and listening to concerns from standard's users.
My take? Let's not break what is working.

The goal of this module isn't to be a W3C style standard intended to be included in e.g. web browsers. it's an opinionated opt-in thing for people who value stylistic choices very low on the totem pole and don't want to waste time arguing over cosmetic/style choices all the time (except in this issue tracker :P).
I also think it would violate the principles by making things non-strict.

There are actual real problems that you could spend your time solving

@RnbWd Thanks for opening this issue and sharing your thoughts so politely.
I think warnings would be a bit confusing; they would print messages to stderr but still return exit code 0, indicating success. This would leave other contributors to later clean up the warnings, or they'd be perpetually ignored.
I'd rather standard return a simple pass or fail, without distinguishing between important and less important rules.

I think warnings would be a bit confusing; they would print messages to stderr but still return exit code 0, indicating success. This would leave other contributors to later clean up the warnings, or they'd be perpetually ignored.

@feross That makes sense - I only use lint text editors so I'm not familiar with that aspect.
@maxogden I agree with most of what you're saying, but, it's nice to have an standard within open-source communities to help facilitate contributions to source code (although standard-format is pretty cool)

Committees are for those who don't want to get things done, but feel like they're getting things done. Also, committees tend to pander to the masses. What we have now is @feross as benevolent dictator.

@feross (da boss) will always be benevolent dictator - but that's not === to him deciding everything... unless he chooses to :sunglasses: - IMO it shouldn't be treated like a dotfile repo at this point. But one size doesn't fit all - so having 2-3 official version is the most likely outcome. semistandard already exists. It'd be nice to create a collection of standards... (just change a few eslint rules here and there, nothing drastic)

I'd prefer warnings for things which won't break the code and errors for things that will. Many of the warning issues can be autofixed with --fix anyhow. More efficient not to worry about them and run autofix later. I doubt people would really leave a bunch of warnings spit out anyhow.
It seems that none major shareable configs take this approach, however. With the fast progression of IDE integration of autofixing, maybe it doesn't matter...


Lint warning fixes

Fixes #305

Fixed lint warning in chaincode

Fixed linting warnings in typescript_app

Fixed lint warning due to prettier auto save

@A-5ingh , Please Squash your commit into one.use git rebase -i <your_first_commit>


[Question] How can I show a step content after user performs an action(like open a dropdown menu)

Use Case:
While user goes through each step, at some point I want the user to open a dropdown menu. After user opens the dropdown menu, the tutorial will explain the menu options.
Sandbox link: https://codesandbox.io/s/4jpnjqw8z9
Issue:
Using the onNextStep callback, I am able to open the dropdown menu using javascript. But, since, the menu was not open when the page loaded, vue-tour does not show the step 3 popper.
How can I force vue-tour to show the next step content after the dropdown menu is opened?

@kanteankit Here is the hack that I've used to open the dropdown menu and fix the position of Popper (tooltip or tour step 😄):
if (currentStep === 1) {
    setTimeout(() => {
        this.$refs.mainMenu.click()
        setTimeout(() => {
            $(window).scrollTop($(window).scrollTop() + 1)
        }, 100)
    }, 10)
}

Hi,
SohrabZ's solution should work, even if it feels hacky, but now you may be able to solve your issue (if not already solved... ^^') with the before hook which handles Promises: https://github.com/pulsardev/vue-tour#before-ui-step-functions.


Fix Tree button tooltips

Fixes #22777
We need to get the mouse's x position relative to the cell it's in so that the if (pos.x > col_width - size.width) check a few lines further down makes sense.

Thanks!


note a FIXME

Cc @wesleywiser

@bors r+

:pushpin: Commit c68996dda7771a404ce45690d0c1c02c268092a7 has been approved by RalfJung

:hourglass: Testing commit c68996dda7771a404ce45690d0c1c02c268092a7 with merge f3c267d07cfae435e03b0c5878becc74058fe46e...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing f3c267d07cfae435e03b0c5878becc74058fe46e to master...


Out of order definition test and error msg fix

Hey Harsha, is this something you'd have time to look at? I think it's something we want to change but wanted to check with you before looking into it further.
Filed an issue as #605

Hi J, Yes. I am aware of this fix and I am working on it. Will keep you posted!!

Thanks @harsha-mandadi
Always happy to review if that would help :)

Closing this as it is stale and Harsha already has an issue filed for it :)


Feature Request: Fetch Data on Request complementing longer Poll Cycles

Describe the Request
In order to correctly calculate the needed Amount of Energy for the Wallbox i.e. to reach 80% Charge Level of a BEV we need to know the current SOC in the moment (or shortly after) Pluging in. With the current Polling-Mechanism this might take some time (Minutes). In order to have an accurate SOC.
When setting the Polling Interval too short, the API will complain with Quota Exceeded and a possible long Wait-Time (that the current Adapter 2.5.5 does not handle well).
Proposed Solution
Still use the Polling Time but default it to a rather high default Time (5 Min +).
Have a Trigger that might be triggered from JS / NodeRed in order to fetch current Data to represent actual Data (incl. SOC) for instance when charging starts. This might be as well used to trigger a Check if all Doors/Windows are closed when using Presence Check in the Home.

Current Error (probably new from API):
"statusCode":403,"message":"Out of call volume quota. Quota will be replenished in 14:48:52."
Actually it really means to wait for 14hours+!

remote.force-refresh should do this

Awesome. Thanks for the Super-Fast Answer. Sadly it was not known to me - I thought under remote are only functions available to the Mobile APP ie. lock doors etc...
Maybe a short section on the readme would be helpfull.


Suggestion

not sure of this would be possible, or very practical to do, but it would be very useful to be able to run commands in the command blocks even when time is frozen

Hi! I don't believe this is possible, because command blocks run by being ticked. Freezing the game prevents these ticks from happening, and I could see scenarios where people actually want this too.
I don't know your exact circumstances, but look into creating a data pack instead! They may be able to work around these restrictions.


(InvitingGuests) Server seems to not work after guest tenant is updated

[2015-08-04T15:08:44.761Z] ERROR: oae/8661 on qa1: An uncaught exception was raised to the application.
    TypeError: Cannot call method 'toLowerCase' of undefined
        at _storageHashToTenant (/opt/oae/node_modules/oae-tenants/lib/api.js:631:58)
        at _.chain.map.map.union.each.tenants.(anonymous function) (/opt/oae/node_modules/oae-tenants/lib/api.js:224:24)
        at Function._.map._.collect (/opt/oae/node_modules/underscore/underscore.js:172:24)
        at _.(anonymous function) [as map] (/opt/oae/node_modules/underscore/underscore.js:1496:34)
        at /opt/oae/node_modules/oae-tenants/lib/api.js:223:14
        at /opt/oae/node_modules/oae-util/lib/cassandra.js:787:16
        at onReturn (/opt/oae/node_modules/helenus/lib/connection.js:490:7)
        at onReturn (/opt/oae/node_modules/helenus/lib/connection.js:422:7)
        at client._reqs.(anonymous function) (/opt/oae/node_modules/helenus/node_modules/helenus-thrift/lib/thrift/connection.js:80:11)
        at Object.CassandraClient.recv_execute_cql3_query (/opt/oae/node_modules/helenus/lib/cassandra/Cassandra.js:8343:12)
[2015-08-04T15:10:06.380Z] ERROR: oae/8661 on qa1: An uncaught exception was raised to the application.
    TypeError: Cannot call method 'compact' of null
        at new module.exports.User (/opt/oae/node_modules/oae-principals/lib/model.user.js:55:26)
        at _hashToUser (/opt/oae/node_modules/oae-principals/lib/internal/dao.js:814:16)
        at /opt/oae/node_modules/oae-principals/lib/internal/dao.js:743:31
        at try_callback (/opt/oae/node_modules/redis/index.js:592:9)
        at RedisClient.return_reply (/opt/oae/node_modules/redis/index.js:685:13)
        at HiredisReplyParser.<anonymous> (/opt/oae/node_modules/redis/index.js:321:14)
        at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
        at HiredisReplyParser.execute (/opt/oae/node_modules/redis/lib/parser/hiredis.js:43:18)
        at RedisClient.on_data (/opt/oae/node_modules/redis/index.js:547:27)
        at Socket.<anonymous> (/opt/oae/node_modules/redis/index.js:102:14)

Resolved in https://github.com/oaeproject/Hilary/commit/fa83d07


registerTable should check for existence of table ID for both table types

basically I want a unique constraint on (namespace, name) not (table type, namespace, name)
otherwise it's possible to register both an offchain and onchain table with the same namespace+name, making indexing with decoded tables more annoying (because type now needs to be part of the table name, or we drop one of the two tables)

This is on the Store level, so it's more a constraint on type, and a bytes30 name.


MockFileSystem's File.ReadAllText throws when given a path using forward slashes

Test case:
var fileSystem = new MockFileSystem(new Dictionary<string, MockFileData>
{
    [@"C:\test.txt"] = new MockFileData("content")
});

Assert.IsTrue(fileSystem.Directory.Exists("C:/")); // passes
Assert.IsTrue(fileSystem.File.Exists("C:/test.txt")); // passes

// throws System.ArgumentException: 'Illegal characters in path.'
Assert.AreEqual("content", fileSystem.File.ReadAllText("C:/test.txt"));

From what I can tell, the root cause is PathVerifier.ExtractFileName not considering Path.AltDirectorySeparatorChar. This results in IsLegalAbsoluteOrRelative looking for invalid filename chars (which includes ':', '\\', and '/') in the full path.

Confirmed bug.

This was handled by my recent pr #327


Maintenance review

We should check the dependencies in the Docker image and conda scripts and updated if needed.

See also #168

See also https://github.com/bempp/bempp-cl/issues/180


plugins/efmls-configs: Use a generated file

This allows to remove a source of IFD, and reduces the complexity in building the options

@Mergifyio queue

@mergifyio queue


Issue with /docs/user-guide/

This is a...

[ ] Feature Request
[x ] Bug Report

Problem:
The link to Docker Volumes is broken: it does not exist anymore.
Proposed Solution:
Fix the link to point to https://docs.docker.com/engine/tutorials/dockervolumes/
Page to Update:
http://kubernetes.io/...

looks like there's a redirect to the correct page on Docker so this link isn't broken anymore. It's probably still worth updating to point users to the right page to begin with

Updated w/ PR #2531


[2.2] DBZ-6402 Using MongoCommandException to detect invalid change stream

…resume token in order to perform snapshot properly
https://issues.redhat.com/browse/DBZ-6402
Backport for #4506

Already backported in commit https://github.com/debezium/debezium/commit/6767ec5f18ff1daeee602c18e98d5c507f2bd87b


Some Offset for the x and y max values is missing

There should be some space between x_min and x axis (series was 1, 2, 1, 5, 1, 6).

Furthermore the offset to the y axes should be reduced.

Probably just leave this up to C3 as it already provides very intuitive behavior?


All python actions are broken or corrupted.

Environment data

VS Code version: 1.33.1
Extension version (available under the Extensions sidebar): 2019.4.11987
OS and version: Windows 10 Pro 64-bit
Python version (& distribution if applicable, e.g. Anaconda): XXX
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
Relevant/affected Python packages and their versions: XXX

Expected behaviour
Opening command palette or right clicking files should have Python items.
Actual behaviour
Every single Python item on the command palette has a corrupted name -- and seems to do nothing if you click it .
Steps to reproduce:

Start VSCode, create a new file
Open command palette.

https://i.imgur.com/gfAOirY.png
Or,

Start VSCode, create/edit launch.json
click "Add config". The Python choice is missing.

https://i.imgur.com/1mVZD3C.png
Or

Start VSCode with a python file in the "explorer" sidebar.
Right click on any python file.

https://i.imgur.com/N56KQ5B.png
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
All of the console output tabs are completely empty. I tried

execute with debugging
execute without debugging

I get no output. Not even errors. (This is why I wrote above: "python commands seem to do nothing if you click them")
(blank)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
extensionHost.ts:311 [Extension Host] debugger listening on port 43431
extensionService.ts:800 Activating extension 'ms-python.python' failed: Cannot find module 'C:\Users\cppmo_000\.vscode\extensions\ms-python.python-2019.4.11987\out\client\extension'.
_logMessageInConsole @ extensionService.ts:800
console.ts:134 [Extension Host] Activating extension `ms-python.python` failed:  Cannot find module 'C:\Users\cppmo_000\.vscode\extensions\ms-python.python-2019.4.11987\out\client\extension'
t.log @ console.ts:134
console.ts:134 [Extension Host] Here is the error stack:  Error: Cannot find module 'C:\Users\cppmo_000\.vscode\extensions\ms-python.python-2019.4.11987\out\client\extension'
	at Function.Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
	at Function.Module._load (internal/modules/cjs/loader.js:528:25)
	at Function.t._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:729:537)
	at Function.t.getExtensionPathIndex.then.a._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:691:639)
	at Function.t.getExtensionPathIndex.then.r._load (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:655:197)
	at Module.require (internal/modules/cjs/loader.js:658:17)
	at require (internal/modules/cjs/helpers.js:20:18)
	at Function.i [as __$__nodeRequire] (c:\Program Files\Microsoft VS Code\resources\app\out\vs\loader.js:31:542)
	at c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:717:918
	at E._doActivateExtension (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:718:2)
	at E._activateExtension (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:716:772)
	at E.<anonymous> (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:714:224)
	at Generator.next (<anonymous>)
	at n (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:11:176)
	at new Promise (<anonymous>)
	at n (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:10:975)
	at Object.actualActivateExtension (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:713:946)
	at p._activateExtension (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:457:765)
	at define._activateExtensions.i.length.Promise.all.o.map.e (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:457:449)
	at Array.map (<anonymous>)
	at p._activateExtensions (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:457:437)
	at p.activateByEvent (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:455:375)
	at E._activateByEvent (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:715:434)
	at define.$activateByEvent._readyToRunExtensions.wait.then.t (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\services\extensions\node\extensionHostProcess.js:723:359)
log.ts:173   ERR m: File not found (file:///c:/Users/cppmo_000/.vscode/extensions/ms-python.python-2019.4.11987/snippets/python.json)
    at o.resolveFile.then.i (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3363:450) file:///c%3A/Users/cppmo_000/.vscode/extensions/ms-python.python-2019.4.11987/snippets/python.json
log.ts:173   ERR m: File not found (file:///c:/Users/cppmo_000/.vscode/extensions/ms-python.python-2019.4.11987/snippets/python.json)
    at o.resolveFile.then.i (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3363:450) file:///c%3A/Users/cppmo_000/.vscode/extensions/ms-python.python-2019.4.11987/snippets/python.json

Try to remove and reinstall ms python extension.

That fixed the problem.

On Mac OS, I had to manually delete the extension folder ~/.vscode/extensions/ms-python.python-2019.4.12954. Only uninstalling and reinstalling did not resolve the issue.


doc: fix links to wiki

This fixes the broken links to the zephyr wiki in the docs.

ping @carlescufi @nashif


Landscapes dataset

Hi, thanks for sharing your work.
I'm curious about where you get the dataset since I can't find one landscape dataset as large as 3.2 million images.

Hi! I should clarify that 3.2 million images is how many images is shown to the Discriminator, not the actual number of images in my dataset. My dataset consists of only ~14000 landscape images, scraped from reddit.com/r/EarthPorn. Thus, of those 3.2 million images, many are repeats of previously shown images.

Thanks for the clarification. It does address my problem.


POD starts on centos and exits

Hi all,
I am new to Hyper. I have installed it on centos7. Built the qemu as per the requirement. The hyperd starts succesfully and runs.
I could even runt the POD using below command
hyper run centos:latest
Runs with a POD ID
POD id is pod-UKeiZPrWzl
After some time it exits with below message. Is this correct behavior or I have something wrong?
Successfully attached to pod(pod-UKeiZPrWzl)
End of CmdExec(), Waiting for hijack to finish.
Please help me to resolve.
Regards,
Pradeep

For CentOS 7.x, could you remove all the hyper binaries under /usr/local/bin, and install the following prebuilt RPMs:
x86_64 binary packages:

hyper-0.4-2.el7.centos.x86_64.rpm
hyperstart-0.4-2.el7.centos.x86_64.rpm
qemu-hyper-2.4.1-2.el7.centos.x86_64.rpm

Hi Wang,
Thanks, I will try those.
Regards,
Pradeep
On 29 January 2016 at 15:25, Xu Wang<EMAIL_ADDRESS>wrote:

For CentOS 7.x, could you remove all the hyper binaries under
/usr/local/bin, and install the following prebuilt RPMs:
x86_64 binary packages:

hyper-0.4-2.el7.centos.x86_64.rpm
https://s3.amazonaws.com/hyper-install/hyper-0.4-2.el7.centos.x86_64.rpm
hyperstart-0.4-2.el7.centos.x86_64.rpm
https://s3.amazonaws.com/hyper-install/hyperstart-0.4-2.el7.centos.x86_64.rpm
qemu-hyper-2.4.1-2.el7.centos.x86_64.rpm
https://s3.amazonaws.com/hyper-install/qemu-hyper-2.4.1-2.el7.centos.x86_64.rpm

—
Reply to this email directly or view it on GitHub
https://github.com/hyperhq/hyper/issues/186#issuecomment-176780570.

close as the RPMs works

Hi,
I was trying to add a -fsdev device in runv
like below
"-fsdev", fmt.Sprintf("local,id=virtio9pEX,path=%s,security_model=none",
ctx.ExDir),
"-device", fmt.Sprintf("virtio-9p-pci,fsdev=virtio9pEX,mount_tag=%s",
hypervisor.ExDirTag),
But when I start the container, it hangs and get Timeout message as below
container run error: Run container timeout!.
Any idea. How can I add a external device?
Thanks,
Pradeep
On 30 January 2016 at 04:37, Xu Wang<EMAIL_ADDRESS>wrote:

close as the RPMs works
—
Reply to this email directly or view it on GitHub
https://github.com/hyperhq/hyper/issues/186#issuecomment-177058369.


Fix documentation on how to access the correct PMT from a hit, and ad…

…d a working example

Also doxygen build with changes uploaded e.g. https://wcsim.github.io/WCSim/class_w_c_sim_root_cherenkov_digi_hit.html#a2098a03ead4e6047ac5e912b2dd52bbf


Assessment: Add Interval-based Grade Key Editing System

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] I tested locally ~and was confirmed by another developer on a test server~.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[x] I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes.
[x] I translated all newly inserted strings into English and German.

Motivation and Context

The current grading key has lots of input fields that makes it hard for the instructors to fill. Furthermore, seeing points and percentages together in the same row can be tiresome. This PR introduces a modified version of the existing grade key editing UI that defines the grade steps by point or percentage intervals. This reduces the number of inputs that the instructor needs to fill for each grade step by one and simplifies the screen in general by only showing points or percentages (not both) according to the current selection.
Additionally, this PR displays the upper bound percentage/point value of the highest grade step as infinity to avoid confusion. Because the existing implementation already maps grade values that are greater than the upper bound of the highest grade step to that step anyway so it is open ended, this PR makes it more explicit.
Description

Interval based grade key editing mode is implemented such that the instructor only needs to fill the interval value and grade name for each grade step, lower and upper bounds are calculated automatically.
Sticky grade step at the bottom is added, it will be visible with the first added grade step. It is also made compatible with the generated default grade key.
Lower and upper bound percentage/point values for each grade step is now displayed with open/closed interval representation  e.g. [0-50) same as what will be shown in grade overview component. So the users can see the grade step bounds while editing instead of saving first and checking the grade key of a Course/Exam from its Statistics page.
ModePickerComponent was generalized to handle arbitrary modes as options. Previously the ExerciseMode enum was hardcoded as the only option.
GradeStepBoundsPipe is extracted from grading-key-overview.component.html to encapsulate the open/closed interval representation and make it reusable in other components.
Steps for Testing

Prerequisites:

1 Instructor
1 Student

Log in to Artemis
Navigate to Course Administration
Select a Course or an Exam
Add a new Grading Key, modify it and save with different percentage and point combinations.
Ensure that interval based grading key is working consistent and reasonable.
Ensure that detailed grading key is working as the old grading key.
As a Student, go to the Statistics page of the Course or Exam mentioned above and then click View Grading Key / View Bonus Rules and check the grading key is consistent with what you saved in the steps above.
Check the Mode Picker for changing the team / individual mode when creating exercises works as it was previously (due to refactoring).

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Class/File
Branch
Line

Screenshots

Tested on ts1. Please add the file test coverage information to the PR and handle the failing CodeQL check. Other than those and the previous comments, the development looks good!


[BUG] Long names are truncated on HELP button in Request Modal

Describe the bug
Long names will be truncated when viewing requests. The request already displays the PIN's name at the top, also displaying it on the button is not in my opinion necessary. If we want to display the name on the button, just using the first name would be sufficient.
To Reproduce
Steps to reproduce the behavior:

Click on an open request on requests/find
If PIN has a long name, notice that it is truncated on the "HELP (PIN's name)" button.

Expected behavior
Truncated text on a button isn't great. You could either use the display name and have a maximum character limit which is reflected in the HELP button size, only use the first name, or don't display the name at all in the button.
Screenshots

Desktop (please complete the following information):

Chrome & Firefox
Build Version - 1

ZenHub Information
This information is updated automatically. To modify it, please use ZenHub.

Super late but...
@all-contributors please add @CorporateInvesther for user testing


VSCode fails to recognize workspace TypeScript SDKs with Yarn PnP setup

Type: Bug
Description:
I've been struggling with this issue for more than a year. Despite reinstalling VSCode multiple times, I still cannot get it to work properly with Yarn PnP and TypeScript. I desperately need help to resolve this issue.
Repository to Reproduce the Issue:
I'm using the following repository to reproduce the issue: typescript-node-yarn-pnp-boilerplate. This repository is set up with Yarn PnP, TypeScript, and VSCode, but I've never been able to use the "Workspace TypeScript SDKs".
Steps to Reproduce:
Clone the repository: git clone https://github.com/pomSense/typescript-node-yarn-pnp-boilerplate
Navigate to the project directory: cd typescript-node-yarn-pnp-boilerplate
Install dependencies: yarn install
Follow the steps outlined in the Yarn documentation for setting up editor SDKs for VSCode: Yarn Editor SDKs
Expected Behavior:
VSCode should recognize and use the Workspace TypeScript SDKs as configured by Yarn PnP.
Actual Behavior:
VSCode does not recognize or use the Workspace TypeScript SDKs. IntelliSense and other TypeScript-related features do not work as expected.
VS Code version: Code 1.89.1 (Universal) (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:14:24.611Z)
OS version: Darwin arm64 23.4.0
Modes:
Log:
2024-05-17 20:32:40.751 [info] Starting TS Server
2024-05-17 20:32:40.751 [info] Using tsserver from: /Users/raja.j/Documents/learn_pkg/typescript-node-yarn-pnp-boilerplate/.yarn/sdks/typescript/lib/tsserver.js
2024-05-17 20:32:40.751 [info]  Forking...
2024-05-17 20:32:40.751 [info]  Starting...
2024-05-17 20:32:40.751 [info]  Forking...
2024-05-17 20:32:40.751 [info]  Starting...
2024-05-17 20:32:40.942 [error] TSServer exited. Code: 1. Signal: null

System Info

Item
Value

CPUs
Apple M2 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 15, 19

Memory (System)
16.00GB (0.18GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-zipfs
arc
3.0.0

vscode-eslint
dba
2.4.4

prettier-vscode
esb
10.4.0

remote-ssh
ms-
0.110.1

remote-ssh-edit
ms-
0.86.0

remote-explorer
ms-
0.4.3

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vswsl492:30256859
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
666c4381:30973075
chatpanelt:31048053
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31049070
fchga941:31046352
pythonprt:31047983
dwnewjupyter:31046869
26j00206:31048877

This is a bug with yarn: https://github.com/yarnpkg/berry/issues/6270


awsmobile InternalFailureException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;

Describe the bug
We are using awsmobile to deploy our app. It deployed without errors as it should yesterday and today it is failing to deploy. It has been deploying fine for the last 2-3 years.
We understand that awsmobile will be deprecated in Oct 2021 and will promptly migrate when the time is right for us.
If the developers of aws-amplify recommend to migrate sooner rather than later to avoid situations like this, we will strongly take it into consideration.
To Reproduce
Steps to reproduce the behavior:

awsmobile init 6077****--****--***********
awsmobile publish

Expected behavior
Deploys to the Mobilehub properly and able to access the deployed app.
Code Snippet
➜  portal git:(develop) ✗ awsmobile publish
checking the backend contents
   generating backend project content
   done
backend build artifacts are saved at:
/Users/******/Documents/repos/portal/awsmobilejs/.awsmobile/backend-build
preparing for backend project update: portal
done
updating backend project: portal
Failed to update project portal
InternalFailureException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String([B)Ljava/lang/String;
    at Object.extractError (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/json.js:51:27)
    at Request.extractError (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/protocol/rest_json.js:55:8)
    at Request.callListeners (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:683:14)
    at Request.transition (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/usr/local/lib/node_modules/awsmobile-cli/node_modules/aws-sdk/lib/request.js:685:12) {
  code: 'InternalFailureException',
  time: 2021-01-28T16:38:14.376Z,
  requestId: '2a49b195-4739-4f44-a645-ccdb418bdf54',
  statusCode: 500,
  retryable: true

Environment
 System:
    OS: macOS 11.1
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 780.93 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v14.15.0/bin/npm
  Browsers:
    Chrome Canary: 90.0.4402.0
    Safari: 14.0.2
    Safari Technology Preview: 14.1
  npmPackages:
    @agm/core: ^3.0.0-beta.0 => 3.0.0-beta.0
    @angular-devkit/build-angular: ~0.1100.6 => 0.1100.7
    @angular/animations: ^11.0.7 => 11.1.1
    @angular/cdk: ^11.0.3 => 11.1.1
    @angular/cli: ^11.0.6 => 11.1.1
    @angular/common: ^11.0.7 => 11.1.1
    @angular/compiler: ^11.0.7 => 11.1.1
    @angular/compiler-cli: ^11.0.7 => 11.1.1
    @angular/core: ^11.0.7 => 11.1.1
    @angular/forms: ^11.0.7 => 11.1.1
    @angular/google-maps: ^9.2.4 => 9.2.4
    @angular/language-service: ^11.0.7 => 11.1.1
    @angular/localize: ^11.0.7 => 11.1.1
    @angular/material: ^11.0.3 => 11.1.1
    @angular/material-moment-adapter: ^11.0.3 => 11.1.1
    @angular/platform-browser: ^11.0.7 => 11.1.1
    @angular/platform-browser-dynamic: ^11.0.7 => 11.1.1
    @angular/platform-server: ^11.0.7 => 11.1.1
    @angular/router: ^11.0.7 => 11.1.1
    @angularclass/hmr: ^2.1.3 => 2.1.3
    @ng-bootstrap/ng-bootstrap: ^8.0.1 => 8.0.4
    @ngx-loading-bar/core: ^2.2.0 => 2.2.0
    @ngx-translate/core: ^10.0.2 => 10.0.2
    @stripe/stripe-js: ^1.9.0 => 1.11.0
    @types/chart.js: 2.9.14 => 2.9.14
    @types/google.analytics: 0.0.40 => 0.0.40
    @types/googlemaps: ^3.40.5 => 3.43.2
    @types/jasmine: ~3.6.0 => 3.6.3
    @types/jasminewd2: ^2.0.3 => 2.0.8
    @types/lodash: ^4.14.158 => 4.14.168
    @types/moment-duration-format: ^2.2.2 => 2.2.2
    @types/moment-timezone: 0.5.12 => 0.5.12
    @types/node: ^12.11.1 => 12.19.15
    acorn: ^6.4.1 => 6.4.2
    angular-in-memory-web-api: ^0.10.0 => 0.10.0
    apexcharts: ^3.19.3 => 3.23.1
    aws-amplify: ^1.3.3 => 1.3.3
    aws-amplify-angular: ^5.0.43 => 5.0.43
    babel-polyfill: ^6.26.0 => 6.26.0
    bootstrap: ^4.4.1 => 4.6.0
    chart.js: ^2.7.2 => 2.9.4
    chartjs-plugin-datalabels: ^0.7.0 => 0.7.0
    classlist.js: ^1.1.20150312 => 1.1.20150312
    codelyzer: ^6.0.0 => 6.0.1
    cookieconsent: ^3.1.1 => 3.1.1
    core-js: ^2.6.11 => 2.6.12
    crypto-js: 3.1.9-1 => 3.1.9-1
    fuse.js: ^6.4.1 => 6.4.6
    html2canvas: ^1.0.0-rc.5 => 1.0.0-rc.7
    humanize-duration: ^3.21.0 => 3.25.1
    jasmine: ^3.6.1 => 3.6.4
    jasmine-core: ~3.6.0 => 3.6.0
    jasmine-spec-reporter: ~5.0.0 => 5.0.2
    jquery: ^3.4.1 => 3.5.1
    karma: ~5.0.0 => 5.0.9
    karma-chrome-launcher: ~3.1.0 => 3.1.0
    karma-coverage-istanbul-reporter: ~3.0.2 => 3.0.3
    karma-jasmine: ~4.0.0 => 4.0.1
    karma-jasmine-html-reporter: ^1.5.0 => 1.5.4
    lodash: ^4.17.19 => 4.17.20
    material-design-icons: ^3.0.1 => 3.0.1
    moment: ^2.22.2 => 2.29.1
    moment-duration-format: ^2.3.2 => 2.3.2
    moment-timezone: 0.5.27 => 0.5.27
    morris.js: ^0.5.0 => 0.5.0
    ng-apexcharts: ^1.5.0 => 1.5.6
    ng2-charts: ^2.4.2 => 2.4.2
    ngx-auth: 5.3.0 => 5.3.0
    ngx-cookieconsent: ^2.2.3 => 2.2.3
    ngx-daterangepicker-material: ^3.0.4 => 3.0.4
    ngx-highlightjs: ^2.1.4 => 2.1.4
    ngx-mat-select-search: ^3.0.1 => 3.2.0
    ngx-material-timepicker: ^5.5.3 => 5.5.3
    ngx-mqtt: ^6.14.0 => 6.14.0
    ngx-perfect-scrollbar: ^6.3.1 => 6.3.1
    ngx-permissions: ^7.0.3 => 7.0.3
    ngx-stripe: ^9.2.0 => 9.2.0
    ngx-webcam: ^0.3.0 => 0.3.2
    object-path: ^0.11.4 => 0.11.5
    pdfmake: ^0.1.66 => 0.1.70
    popper.js: ^1.16.1 => 1.16.1
    protractor: ~7.0.0 => 7.0.0
    raphael: ^2.3.0 => 2.3.0
    rxjs: 6.6.3 => 6.6.3
    rxjs-compat: ^6.6.0 => 6.6.3
    rxjs-tslint: ^0.1.8 => 0.1.8
    sass: ^1.32.4 => 1.32.5
    ts-node: ^6.2.0 => 6.2.0
    tslib: ^2.0.0 => 2.1.0
    tslint: ~6.1.0 => 6.1.3
    typescript: 4.0.5 => 4.0.5
    web-animations-js: ^2.3.2 => 2.3.2
    whatwg-fetch: ^3.2.0 => 3.5.0
    zone.js: ~0.10.2 => 0.10.3
  npmGlobalPackages:
    @angular/cli: 11.0.6
    @aws-amplify/cli: 4.41.2
    @ionic/cli: 6.12.3
    aws-amplify: 3.3.14
    npm: 6.14.8
    serverless: 2.18.0
    source-map-explorer: 2.5.2

@elorzafe
I faced the same problem.
Please let me know if there are some workaround solutions.

@elorzafe
I faced the same problem.
Please let me know if there are some workaround solutions.

@elorzafe
I've found zipped file is correctly uploaded at S3 thes-deployments-mobilehub-xxxxxxx/uploads/.
So, I've updated lambda manually by using "Upload a file from Amazon S3" in lambda console "Function code".

Uploaded code works fine so far.
Is this cloud be a workaround?
I would like to know "awsmobile publish" command do anything other than uploading zip file.

@elorzafe
I've found zipped file is correctly uploaded at S3 thes-deployments-mobilehub-xxxxxxx/uploads/.
So, I've updated lambda manually by using "Upload a file from Amazon S3" in lambda console "Function code".

Uploaded code works fine so far.
Is this cloud be a workaround?
I would like to know "awsmobile publish" command do anything other than uploading zip file.

Has there been any update on this? I am getting the same error, it started a couple of days ago and I get it on awsmobile publish but it is also occurring when I execute: awsmobile run, so I can't start my server locally. Is there any work around for this?

UPDATE: I moved everything to AWS Amplify.
So the solution is to move to AWS Amplify. Alot of things are specific to us so I can't go into details but I pretty much followed this: https://docs.aws.amazon.com/amplify/latest/userguide/getting-started.html.
I would have liked for any AWS Amplify devs to chime in on this as there are people that still rely on awsmobile for deploying business critical applications.

Closing due to age - please re-open if still experiencing issues.


wpf: TerminalContainer consumes WM_MOUSEWHEEL and doesn't let the native HWND have it

This makes VT mouse scrolling events not work.

@javierdlg Curious if this was an intentional design or not -- giving WM_MOUSEWHEEL support to the HWND instead of the Container will let us send "wheel events" to the connected console application :smile:

@DHowett hard to say if this was intentional, that section was implemented by Zoey who sadly already left MS. If we're able to forward these to the HWND without breaking the WPF I'm okay with the change.

On another note, are there more people using the WPF container for the terminal?

I'm not certain- if they are, they haven't told me :smile:


Feature/jwt support

Hello,
we are using flasgger within our project and we are very happy with it. There is one thing we needed -
JWT token support (https://github.com/mattupstate/flask-jwt). So I was free to fork the code and add few minor changes in order this to work out-of-the-box:

for version 2; there is a 'standard' fix applied - extract jwt-token when response page is updated (by attaching to DOMSubtreeModified event)
for version 3; it was a bit trickier: first I had to update 'static' content of ui3 with latest release of swager-ui libraries in order to support request/response interceptors (this is relatively new feature); and also to reference jQuery I've added. After this, it was easy to intercept response, extract jwt-token and apply it to requests.

I may add example if needed, but in this case we should add requirement dependency for flask-jwt.
Happy coding!

Coverage remained the same at 90.377% when pulling 6db76ebbc6d1d9a5cbb8579acacd4ee8b6189e34 on nikoladsp:feature/jwt_support into bb7ebac1e16200174f7b8de73f2ffc1b0f3db2a1 on rochacbruno:master.

Coverage remained the same at 90.377% when pulling 6db76ebbc6d1d9a5cbb8579acacd4ee8b6189e34 on nikoladsp:feature/jwt_support into bb7ebac1e16200174f7b8de73f2ffc1b0f3db2a1 on rochacbruno:master.

@nikoladsp hi,
please add an example to /examples following the example of other apps there.
include the flask-jwt in https://github.com/rochacbruno/flasgger/blob/master/requirements-dev.txt
Thanks

Hi, will do!
Ping you here when I am done.
Best regards

Hi, I've pushed sample app. There is also a small video demonstration. Hope you will like the changes - I am aware that this can be done better, but its the simplest thing to do if you want JWT support with smallest possible effort
Regards!


localEnv not working as expected

I followed this tutorial https://www.daytona.io/dotfiles/managing-secrets-with-doppler-in-devcontainers
Using Daytona version v0.45.0
I tried to set "DOPPLER_TOKEN"  like this:
"containerEnv": {
    "DOPPLER_TOKEN": "${localEnv:PROJECT_DOPPLER_TOKEN}"
}

I create my project like this:
daytona create https://gitlab.com/... --env PROJECT_DOPPLER_TOKEN=abc123

But in VS Code terminal when I call:
echo $PROJECT_DOPPLER_TOKEN => The env var has correct value
echo $DOPPLER_TOKEN => The env var is empty
I tried with different var names, but it does the same.
Can this be a bug, or it's me doing something wrong?

@johnnypea localEnv refers to the environment variables of the host that the workspace is running on.
This means that the Daytona Server needs to have that env var set. You can achieve this by either exporting the env var and restarting the server, or running it with PROJECT_DROPLER_TOKEN=.... daytona server
The variables you set with --env are set as containerEnv variables by Daytona automatically.

Ah, I see, it makes sense. Thank you.

No problem. Glad to help!


Debug console opens every time even when closed before

Issue Description
Every time I run a simple console application written in C# from VSCode, the debug console opens and comes into the foreground. It contains all kinds of log output that I know from Visual Studio's Output panel. But there I disabled much of the information like loading assemblies because I never ever needed them. Usually, the application then opens in a console window where I can see its output only. In VSCode I had to manually change the launch config from internalConsole to integratedTerminal to separate the app output from the other noise. While the app output now appears in a separate terminal view, the debug console is always in the front, hiding my app output. That's annoying because I always have to use the mouse to see what my program is doing.
Steps to Reproduce

dotnet new console
Change launch.json console setting from internalConsole to integratedTerminal
Press F5

Expected Behavior
I see what the app is printing to the console.
At least that's what happens when I run a Python program. I wanted to see if I can solve my problem better in C# than in Python, still using VSCode. But that makes using C# with VSCode really uncomfortable.

Logs
Haven't seen any.
OmniSharp log
Starting OmniSharp server at 19.12.2022, 20:58:43
    Target: c:\Source\Experiments\VSCodeDotnet
OmniSharp server started with .NET 7.0.100
.
Path: c:\Users\Yves.vscode\extensions\ms-dotnettools.csharp-1.25.2-win32-x64.omnisharp\1.39.2-net6.0\OmniSharp.dll
PID: 12008
    Starting OmniSharp on Windows 10.0.19045.0 (x64)

    Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK

    Using the 'dotnet' on the PATH.

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: .NET Core SDK 7.0.100 17.4.0 - "C:\Program Files\dotnet\sdk\7.0.100\"

    Registered MSBuild instance: .NET Core SDK 7.0.100 17.4.0 - "C:\Program Files\dotnet\sdk\7.0.100\"

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Detecting Cake files in 'c:\Source\Experiments\VSCodeDotnet'.

    Did not find any Cake files

    No solution files found in 'c:\Source\Experiments\VSCodeDotnet'

    Queue project update for 'c:\Source\Experiments\VSCodeDotnet\VSCodeDotnet.csproj'

    Detecting CSX files in 'c:\Source\Experiments\VSCodeDotnet'.

    Did not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Source\Experiments\VSCodeDotnet' on host 36808.

    Loading project: c:\Source\Experiments\VSCodeDotnet\VSCodeDotnet.csproj

    Successfully loaded project file 'c:\Source\Experiments\VSCodeDotnet\VSCodeDotnet.csproj'.

    Adding project 'c:\Source\Experiments\VSCodeDotnet\VSCodeDotnet.csproj'

    Update project: VSCodeDotnet

    Solution initialized -> queue all documents for code analysis. Initial document count: 4.

Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.

C# log
(empty)
Environment information
VSCode version: 1.74.1
C# Extension: 1.25.2
Dotnet Information
.NET SDK:
 Version:   7.0.100
 Commit:    e12b7af219
Laufzeitumgebung:
OS Name:     Windows
OS Version:  10.0.19045
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.100\
Host:
Version:      7.0.0
Architecture: x64
Commit:       d099f075e4
.NET SDKs installed:
6.0.400 [C:\Program Files\dotnet\sdk]
7.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86   [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version

better-pageup-pagedown
russelldavis
0.0.1

cpptools
ms-vscode
1.13.8

csharp
ms-dotnettools
1.25.2

cursorCharCode
zeithaste
0.2.2

ecdc
mitchdenny
1.8.0

isort
ms-python
2022.8.0

jinjahtml
samuelcolvin
0.19.0

jupyter
ms-toolsai
2022.11.1003412109

jupyter-keymap
ms-toolsai
1.0.0

jupyter-renderers
ms-toolsai
1.0.12

platformio-ide
platformio
2.5.5

python
ms-python
2022.20.1

remote-explorer
ms-vscode
0.0.3

remote-ssh
ms-vscode-remote
0.94.0

remote-ssh-edit
ms-vscode-remote
0.84.0

trailing-spaces
shardulm94
0.4.1

vscode-dotnet-runtime
ms-dotnettools
1.6.0

vscode-jupyter-cell-tags
ms-toolsai
0.1.6

vscode-jupyter-slideshow
ms-toolsai
0.1.5

vscode-language-pack-de
MS-CEINTL
1.74.12140926

vscode-nuget-gallery
patcx
0.0.24

vscode-pylance
ms-python
2022.12.20

vscode-solution-explorer
fernandoescolar
0.7.4

vscode-todo-highlight
jgclark
2.0.4

ygoe-theme
Yves Goergen
1.0.0

Set "internalConsoleOptions": "neverOpen" to achieve what you are asking for.


Add SQS Queue bootstrappable resource

Description of changes:
Add SQS Queue bootsrappable resource
By submitting this pull request, I confirm that my contribution is made under the terms
of the Apache 2.0 license.

/hold

/unhold


how to add vehicle in dream view?

I did all the steps given in https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_add_a_new_vehicle.md to add a new vehicle but in dreamview it only shows the vehicle name "Mkz example". so how to add our own new vehicle to dream view after adding new vehicle to apollo. (which will be further used for vehicle calibration table).
NOTE: apollo 3.5

Dreamview conf
The config to select a car in dreamview is in the path "apollo/modules/dreamview/conf/hmi_modes". It is used for user-defined startup module config. For example
cyber_modules {
  key: "Camera"
  value: {
    dag_files: "/apollo/modules/drivers/camera/dag/camera.dag"
    dag_files: "/apollo/modules/drivers/video/dag/video.dag"
  }
}
cyber_modules {
  key: "Canbus"
  value: {
    dag_files: "/apollo/modules/canbus/dag/canbus.dag"
  }
}
cyber_modules {
  key: "Control"
  value: {
    dag_files: "/apollo/modules/control/dag/control.dag"
  }
}
...
...

You will see "Camera", "Canbus", "Controls" etc. tabs in Dreamview UI.
canbus
As the car is add in canbus module. In fact, as long as the canbus module can be started, you do not need to create a new configuration.
If you want a new conf, you can follow the conf in "apollo/modules/dreamview/conf/hmi_modes" to write a new one.

@daohu527 .. got it . The car is already added in canbus module.


roxy-wi cve-2022-31137 RCE

https://github.com/google/tsunami-security-scanner-plugins/pull/314

Hello @am0o0, thanks for your contribution!
Here are the docker compose testbed files (safe and vuln). Please test, merge, and modify the README.md file accordingly;
docker-compose.yml
name: roxy-wi-testbed
services:
  roxy-wi:
    image: registry.roxy-wi.org/roxy-wi:<IP_ADDRESS>
    command: bash -c 'yum -y install roxy-wi-6-1.0.0.el8 && /usr/sbin/httpd -DFOREGROUND'
    ports:
      - "443:443"

docker-compose-safe.yml
name: roxy-wi-testbed
services:
  roxy-wi:
    image: registry.roxy-wi.org/roxy-wi:<IP_ADDRESS>
    command: bash -c '/usr/sbin/httpd -DFOREGROUND'
    ports:
      - "443:443"


Gridstatus

How easy would it be to get grid status from this - Ie grid on/off?

New to HA - so was hoping for an easy way. Ill guess id need to detect if there is a feed comming in (20w) if that is 0 = grid off or something like this.

This is one of the issues - if you watch your power graph on HA for the Grid power node, you'll notice when you are running off only solar and battery, BUT grid IS available, the grid power value will hop between 20 and 0. The "trickle" feed the inverters do is not a permanent trickle.
But will dive deeper and see if there is anything we can do find to scrape for a grid availability status. The sunsynk website does have some way of knowing this, so there must be something we can find

What i did here was look for the 0w grid power for more than 5 minutes and a condition to see if any of my non-essentials like pool pump/geyser/aircon is in an "unavailable" state - then toggle input boolean to on state via an automation to indicate loss of grid power. Once grid power > 0, then turn off the toggle. Works 99.9% of the time.
I then used the loadshedding data to determine if the power outage is scheduled or not load shedding related.

I am using something similar. Not as advanced. Would you mind sharing @TanPau1412 ?

I'm not sure if my solution is the most elegant way of doing it, but I don't mind sharing.
Step 1 - Create a helper - Toggle - that can be named something like "Grid Power Status"
Step2 - Create an automation that will control the state of the toggle :
a. Trigger - numeric state of sensor.sunsynk_grid_power is less that 1 for 5 minutes (Trigger ID - Power loss)
b. Trigger - numeric state of sensor.sunsynk_grid_power is greater than 0 (Trigger ID - Power Restore)
a. Actions - If triggered by Power Loss. Add conditions to look for non-essential devices like a geyser or pool pump (When those are unavailable you know that the power is really off )
Call Service-  Input boolean: Turn off  - "Grid Power Status" helper toggle
b. Actions - If triggered by Power Restore then Call Service-  Input boolean: Turn on - "Grid Power Status" helper toggle
Now you will have an indicator that is accurate (to a large degree of certainty) in determining the grid status.
For the second part I use the load shedding sensor.load_shedding_area_XXXXX_X_XXXX from the load shedding integration in my automations (mainly for broadcasts and notifications) If this sensor is ON and my Toggle and my Grid Power Status is OFF, I know its scheduled load shedding.
If the load shedding sensor id OFF and my Grid Power Status is OFF, then I know that the power outage is unplanned.
Hope this made sense and can help :)


No community contribution guideline

Raising issue as part of JOSS review https://github.com/openjournals/joss-reviews/issues/5361
Currently, there is no community contribution guideline I can find. Per Joss review checklist:
Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support
There should be a standard template, it would be good to have an explicit contribution guide in the root directory

Hi @kazewong,
given that this is a GitHub repository, I thought it would be self-explanatory that you can get help by submitting an issue and contribute via PRs. However, I agree that a guideline will help in any case.
Hence, I added a guideline for getting support and contributing to the package to the README.
Please let me know whether this is sufficient.
Best regards,
Vincent

Looks good to me. Thanks for adding this.


Redirect old applications to new URLs

We have some deployments on github pages in ccf-ui and asct+b reporter. We can continue to let them build for now, but update the html files to redirect to the new official location. It may be best to make a new orphan branch with those redirect htmls and let the old ci/cd still build and publish to their respective branches.

Created app for asctb-reporter
Added Redirect script for asctb-reporter to redirect to apps/asctb-reporter
Added redirect script for body-ui and organ-info to redirect them to https://cdn.humanatlas.io/ui/ccf-body-ui-wc/  and https://cdn.humanatlas.io/ui/ccf-organ-info/


[MODULES-453] Add deprecation warnings for Security Manager related command line arguments and skip providers setup on JDK24+

https://issues.redhat.com/browse/MODULES-453

I consider writing warning messages to stderr to be a breaking change.

My preference is that deprecating the SM in visible-at-runtime ways (i.e. not @Deprecated) be left to Java SE or to higher level applications like WildFly / EAP. It will be very hard to do anything coherent if libraries are trying to drive end-user behavior.

From my understanding both proposed changes

added deprecation warning for security related options
disabling security provider registrations

are not valid.


Draft: Create AttachDependentProperties() method to remove the need for OnRegister field setting in custom GDOs

I don't see why this won't fix our problem
Gone and merged it, hopefully this works. Thanks :D