Cannot import sample data - "Higher Education Accelerator"

Describe the bug
I'm having trouble trying to import the sample data from "Higher Education Accelerator" module provided in this repository. the PackageDeployer gives the following error: "Unable to parse timestamp '10/16/2018 2:00:33 PM' in data. Invalid format."
To Reproduce
Same steps discribed in the manual: Installing Sample Data for the Dynamics 365 Higher Education Accelerator_1_0_0_6.docx
Expected behavior
Dynamics 365 - Higher Education Accelerator records imported
Screenshots

Desktop (please complete the following information):

OS: Windows 10

Additional context
Log File: PackageDeployer-2018-12-10-1.log

Thank you for the feedback. Can you please provide a bit more details on how you installed the accelerator itself and just a validation that its all good. Did you install from AppSource or from GIT? I will open a bug on our side internally.
Thank you! and be looking for an update.

Hello, I installed the solution via AppSource.
After all, I managed to resolve my issue deleting the timestamp code from:
Dynamics-365-Industry-Accelerators > edu > accelerator > EducationAccelerator.DataPackage_1_0_0_6.zip > PkgFolder > DefaultData.zip > data.xml in the first line.
I checked my organization and the date is cofigured in the same format as the timestamp, However my notebook format is set in day/mounth/year 24:00:00. I didn't dig in but I think that was the problem.

changing my region format to 'English (United States)' and run the 'PackageDeployer.exe' again, it will work now.


[Teams] Fix names of Messaging Extension projects and other cleanup

Remove some unused files.
Change ComposeMessagingExtensionAuth to MessagingExtensionAuth
Use GetUserTokenAsync instead of GetTokenStatusAsync (JeffD. said it is more performant)
Change ComposeMessagingExtensions to MessagingExtensionConfig.
Add manifest for search based messaging extension.

Pull Request Test Coverage Report for Build 82091

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.2%) to 78.393%

Totals

Change from base Build 82018:
1.2%

Covered Lines:
4216

Relevant Lines:
5378

💛  - Coveralls

Pull Request Test Coverage Report for Build 82091

0 of 0   changed or added relevant lines in 0 files are covered.
577 unchanged lines in 81 files lost coverage.
Overall coverage remained the same at 77.203%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioAdapter.cs
1
85.71%

/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ApplicationBuilderExtensions.cs
1
71.43%

/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
1
95.45%

/libraries/Microsoft.Bot.Builder/BotStateSet.cs
1
85.0%

/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/PromptValidatorContext.cs
1
82.35%

/libraries/Microsoft.Bot.Builder.Dialogs/WaterfallStepContext.cs
1
86.96%

/libraries/Microsoft.Bot.Builder/Inspection/InspectionSession.cs
1
76.47%

/libraries/Microsoft.Bot.Builder/ShowTypingMiddleware.cs
1
94.55%

/libraries/Microsoft.Bot.Builder.Testing/XUnit/TestDataObject.cs
1
82.35%

/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Twilio/TwilioClientWrapper.cs
2
0.0%

Totals

Change from base Build 82018:
0.0%

Covered Lines:
5879

Relevant Lines:
7615

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.3.1
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.3.1

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.5.3


feat: prod.lex is well-founded

Match https://github.com/leanprover-community/mathlib/pull/18665

Currently waiting to know where psigma.lex_wf is gone: https://leanprover.zulipchat.com/#narrow/stream/113489-new-members

https://leanprover-community.github.io/mathlib_docs/init/data/sigma/lex

bors merge


Make RetryPolicy a generic API so it works with both SMI and permissive mode

Please describe the Improvement and/or Feature Request
The current implementation of RetryPolicy in OSM relies on annotations applied to the TrafficTarget resource. This however does not work in permissive mode since TrafficTarget objects are not leveraged.
Leverage a generic API to implement retry policy such that there is no dependency on SMI TrafficTarget to configure retries.
Scope (please mark with X where applicable)

New Functionality          [X]

There were discussions about this issue here:
https://github.com/openservicemesh/osm/issues?q=is%3Aopen+is%3Aissue+retry+label%3Aarea%2Fretries
I prefer the solution of a OSM specific CRD for retry policies. We need to a design doc for the feature, since it can easily involve:

supported protocols: HTTP / TCP / gRPC?
Granularity of the policy: per destination SA? per HTTP path?
Configurable fields: interval / max retries?

cc @shalier

Duplicate of https://github.com/openservicemesh/osm/pull/4476


fix(mixins): enable RPC overrides to clobber mixed-in RPCs [ggj]

The new logic is covered in the integration tests.


Operation name shows up as * for HTTPS services

We are using the Application Insights WCF nuget package for two services in our application. One services is HTTP and the other is HTTPS. The telemetry for our HTTP service shows both the services name and the operation name, which is what we need. For example:
SafeService.GetWorksheetDto
However the HTTPS WCF service will not show the operation name - only "*". For example:
SafeMobileService.*

@geoffhardy1 When this happens, it usually means that the component was unable to match the value of the Action header to the operation contract.
Is there anything special about the HTTPS service? For example, is it using the webHttpBinding, or maybe it has a catch-all operation in the contract? i.e. this:
[OperationContract(Action="*")]
...

Yes, the service is using webHttpBinding.
The methods do not have an action parameter specified. Here is an example of how they are defined:
[OperationContract]
[WebGet]
public LoginLookupDto GetLoginLookupDto()

That explains it; I haven't implemented explicit support for webHttpBinding, it does require some specific things in there, and so far no one had asked for it :smile:
Are you seeing anything else not working in that scenario, besides the operation names not matching up?

It's just the operation names that do not show up. The rest of it looks OK and we have found this library to be very useful.
Do you have any suggested workarounds to get the operation name? Unfortunately for this service, the telemetry is not particularly useful without knowing the operation name.

Published: Microsoft.ApplicationInsights.Wcf 0.25.0-build22021


Cache swapping

@ankan-ban I am wondering if you can help me. I have attempted to reduce the memory footprint so I can run the 13b model on my NVIDIA GeForce RTX 3080, with only 10GB of VRAM. The idea is to swap kv_cache to host memory for the last n layers, obviously, this will incur a performance hit, but not too much, based on my testing.
The code in the PR works for 7b (I think), but I am having trouble getting the 13b model to work.
UPDATE: It now works! But could still do with some review to make it better, please.

13b example output:
./llama2_q4 model-13b.bin -n 512 -i "There once was a"

Model params:-
dim: 5120
hidden_dim: 13824
n_heads: 40
n_kv_heads: 40
n_layers: 40
seq_len: 4096
vocab_size: 32000
rope_theta: 10000

Loading Weights... done!

Encoding Prompt... Done!
There once was a young man named Tim. Tim was a bit of a restless spirit, always looking for the next adventure. Tim had grown up in a small town in the Midwest, but restlessness had prompted him to move to California to pursue a career in the film industry. Tim had always been fascineless with the Golden State’elesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslesslessless

achieved tok/s: 81.720774. Tokens: 511, seconds: 6.253

run the 13b model on my NVIDIA GeForce RTX 3080, with only 10GB of VRAM
Which model are you trying? 13b model with INT4 should be ~7GB + couple of GBs at max for KV cache - should already fit in 10GB 3080 ?
I think keeping some weights in system memory would be easier (and maybe it will be faster to run those layers on CPU instead - my understanding is llama.cpp does this).

@ankan-ban Its the 13B model and it does takes 7416MiB. I put some getchar() to pause the execution during allocate, and use nvidia-smi . Then it has to allocate K cache which takes it up to 9016MiB, and then it fails to allocate V cache which would take an additional 1600 MiB , so it total I need 10616 MiB, but the card only has 10240 MiB

Ok. I see. Right now the code allocates the worst-case size for key and value caches (which I believe is assuming max seq len of 4096 which is the max supported by llama models). If you just want to quickly try running this model, I think easiest solution would be to add another command line param that allows the user to override the max_seq_len to a smaller value (I think other inference libraries already has such an option).

@ankan-ban I didn't have much success implementing a configurable max_seq_len. Can we just use unified memory and not have to worry about the manual offloading?

There is a similar (better) idea here, layer based inference: https://www.youtube.com/watch?v=WOTCViHmsOw


Is this tested on Windows server 2019 build ?

Yes.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Dhaval<EMAIL_ADDRESS>Sent: Monday, March 18, 2019 11:45:23 PM
To: Microsoft/diskspd
Cc: Subscribed
Subject: [Microsoft/diskspd] Is this tested on Windows server 2019 build ? (#90)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/diskspd/issues/90, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIVpKZWgPn9nf1J0ew88QzEIksiRmqbSks5vYIeDgaJpZM4b7ZYk.


Language repositories are going to need .assets added to their respective .gitignore files

When a user executes test-proxy restore -a <pathToAssets.json>\assets.json, by default it'll create an .assets directory in the root of the repository. Git status shows this as untracked and it shouldn't be showing up at all.
> git status
On branch main
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        .assets/

@benbp is going to be adding the .gitignore to Go since he's already working on an assets PR.

Go PR that includes the gitignore change: https://github.com/Azure/azure-sdk-for-go/pull/19322

@JimSuplizio completed this. When we closed the issue during scrum it didn't close it automagically. Doing that here.


[SPARK-50489][SQL][PYTHON] Fix self-join after applyInArrow

What changes were proposed in this pull request?
Fix self-join after applyInArrow, the same issue of applyInPandas was fixed in https://github.com/apache/spark/pull/31429
Why are the changes needed?
bug fix
before:
In [1]: import pyarrow as pa

In [2]: df = spark.createDataFrame([(1, 1)], ("k", "v"))

In [3]: def arrow_func(key, table):
   ...:     return pa.Table.from_pydict({"x": [2], "y": [2]})
   ...:

In [4]: df2 = df.groupby("k").applyInArrow(arrow_func, schema="x long, y long")

In [5]: df2.show()
24/12/04 17:47:43 WARN CheckAllocator: More than one DefaultAllocationManager on classpath. Choosing first found
+---+---+
|  x|  y|
+---+---+
|  2|  2|
+---+---+

In [6]: df2.join(df2)
...
Failure when resolving conflicting references in Join:
'Join Inner
:- FlatMapGroupsInArrow [k#0L], arrow_func(k#0L, v#1L)#2, [x#3L, y#4L]
:  +- Project [k#0L, k#0L, v#1L]
:     +- LogicalRDD [k#0L, v#1L], false
+- FlatMapGroupsInArrow [k#12L], arrow_func(k#12L, v#13L)#2, [x#3L, y#4L]
   +- Project [k#12L, k#12L, v#13L]
      +- LogicalRDD [k#12L, v#13L], false

Conflicting attributes: "x", "y". SQLSTATE: XX000
	at org.apache.spark.SparkException$.internalError(SparkException.scala:92)
	at org.apache.spark.SparkException$.internalError(SparkException.scala:79)
	at org.apache.spark.sql.catalyst.analysis.CheckAnalysis.$anonfun$checkAnalysis0$2(CheckAnalysis.scala:798)

after:
In [6]: df2.join(df2)
Out[6]: DataFrame[x: bigint, y: bigint, x: bigint, y: bigint]

In [7]: df2.join(df2).show()
+---+---+---+---+
|  x|  y|  x|  y|
+---+---+---+---+
|  2|  2|  2|  2|
+---+---+---+---+

Does this PR introduce any user-facing change?
bug fix
How was this patch tested?
added tests
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.

Hi @zhengruifeng does this pull request fix a bug introduced in https://github.com/apache/spark/pull/41347 ? We maintain a fork of spark, and we're wondering if we need to cherry-pick this bug fix now. We don't have https://github.com/apache/spark/pull/41347 in our fork. (If we don't need to cherry-pick this bug fix, we'll get all these commits when we upgrade.) Thank you!


Allow OS specific gold files

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Addresses #1900
What are the significant changes in functionality due to this change request?
For testing, OS specific gold files may be specified using parameters windows_gold, mac_gold, or linux_gold as seen in the test file tests/framework/PostProcessors/LimitSurface/tests under ./testLimitSurfaceIntegralPPWithBoundingError

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

I'm not sure where the civet testing suite interface went. @joshua-cogliati-inl does this have something to do with how CIVET was down earlier this week?

Changes appear good to me. I wonder if there is a way that we can just name the gold file we want to compare to instead of having three separate input parameters?

There is a "gold_files" input parameter where you can name the gold file you want to compare to, but if the results are OS dependent, there isn't currently a way to specify them. I suppose if a naming convention for gold files were to be imposed that included OS information in the name of the gold file, this would solve that issue and a different change would be necessary.

There is a "gold_files" input parameter where you can name the gold file you want to compare to, but if the results are OS dependent, there isn't currently a way to specify them. I suppose if a naming convention for gold files were to be imposed that included OS information in the name of the gold file, this would solve that issue and a different change would be necessary.

Ah okay, that makes sense to me. This seems like best solution then.

@dgarrett622 Looks like we don't allow snake case get past the pylint check despite the whole rook codebase using snake case...🤦

@dylanjm I think I mixed upper case and lower case in the variable names, which doesn't seem to be allowed with snake_case. I switched it to all lower case and split up some lines, maybe that will work 🤷♂

Job Mingw Test on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test CentOS 7 on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test CentOS 8 on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test Ubuntu 16 on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test Ubuntu 18 PIP on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test Ubuntu 18-2 Python 3 on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test qsubs sawtooth on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test Fedora 32 on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Test Ubuntu 20-2 Optional on 5fe19b8 : invalidated by @dgarrett622
workshop tests fixed, try rerunning

Job Mingw Test on 5a2d3cb : invalidated by @dgarrett622
PermissionError: [Errno 13] Permission denied: ''.ravenStatus'' in load_two_csvs test

Job Test qsubs sawtooth on 86eb334 : invalidated by @wangcj05
FAILED: Diff tests/cluster_tests/test_mpi_forced Diff tests/cluster_tests/test_mpiqsub_parameters Diff tests/cluster_tests/test_mpiqsub_nosplit Diff tests/cluster_tests/AdaptiveSobol/test_parallel_adaptive_sobol

Heron plugin failed due to the changes in this PR. After the merge, @dgarrett622 please try to update HERON with the new changes. Thanks a lot for your contribution. Once the tests are green. PR can be merged.

Heron plugin failed due to the changes in this PR. After the merge, @dgarrett622 please try to update HERON with the new changes. Thanks a lot for your contribution. Once the tests are green. PR can be merged.

I'll put together a PR for the HERON test as soon as this gets merged in. Thanks!

Job Test qsubs sawtooth on 86eb334 : invalidated by @wangcj05

Checklist is good. Thanks for your contribution! @dgarrett622
In addition, please remember to update HERON.


Icons aren’t replacing the default one on the project root/home.

https://github.com/B0BAI/Gemfire-REST-API-Example

https://github.com/B0BAI/Server-Sent-Event-Demo
Even my private repo have that issue.

There is probably a conflict with Octotree plugin.

I don't installed Octotree, and those repos look fine from my browser. So the icons look fine if you turn off Octotree?

Yeah, if Octotree is off everything is fine

But if I turn it on, it messes up.

Got it. Thanks for reporting this issue.

I don't have this issue with octotree but with refined github.

https://github.com/sindresorhus/refined-github/issues/1993#issuecomment-487423210

This has been fixed in https://github.com/sindresorhus/refined-github/commit/fedcb021f6c99cb811a0b8ec52dd29f6a9102df9

@B0BAI Why close it? Is it fixed?

No, not fix. I wonder if someone will give an update on the issue. I have since decided to not the github-file-icon lib.

Just tested on my chrome. This issue seems to be fixed now.
I installed both extensions, and everything works pretty well.

I thought the intention was to leave this issue open until the two bullet points from @fregante are implemented? Currently it was worked around on RGH side (according to the comment above), but it’s brittle. For example it still doesn’t work for me.


Advanced Search for Ministry Users

As a Ministry user
I want to be able to search for requests
so that I can refer to past requests and decisions made

Assumptions & Scope
This story covers the need for Ministry users to have an advanced search on their queue
What is IN scope?
This will cover the Ministry queue and functionality for Ministry users that cover a single Ministry, and has a special AC for the economy sector. There may be future enhancements or stories to address different Ministry coordinators who have unique needs similar to economy sector.
What is NOT in scope?
IAO Advanced Search - this is covered in user story #1213
Acceptance Criteria
Scenario 1: Advanced Search Layout

GIVEN a ministry coordinator is on their queue
AND they are assigned to a single Ministry
WHEN the user clicks the 'Advanced Search' toggle
THEN the advanced search view will open
AND there will be a search field, search buttons (AXIS request #, Raw request #, Applicant Name, Assignee Name, Request Description, Subject Code), Request State checkboxes (Call for Record, Records Review, Ministry Sign off, Closed), Request Status Checkboxes( All Active, Overdue, On Time), Request Type checkboxes (General, Personal) Search date range (From, To), Select Public Body (Locked Field), and a button to 'Apply Search' (primary action), and a button to 'Clear All Filters' (secondary action).

Scenario 2: Single Ministry User Role - Select Public Body

GIVEN a Ministry coordinator has clicked on the advanced search
AND the Ministry coordinator is assigned to a single Ministry
WHEN they click on the "Select Public Body" dropdown
THEN they will be unable to activate the drop down
AND the selection will be locked to the Ministry the user is assigned to

Scenario 3: Multi-Ministry User Role - Select Public Body

GIVEN a Ministry coordinator has clicked on the advanced search
AND the Ministry coordinator is assigned to multiple Ministries
WHEN they click on the "Select Public Body" dropdown
THEN they will be unable to activate the drop down
AND the selection will be locked to the Ministries the user is assigned to
...

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Separate story for advanced search for Ministry role as discussed earlier today with @abin-aot @richard-aot @nkan-aot @lmullane @JHarrietha-AOT
Jackie - I believe we may need some updated designs based on our discussion. I will likely need to revise part of AC1 - does AC2 and 3 make sense based on our discussions?
Thanks!

Dependent on #1634

@abin-aot @richard-aot Do you feel like you need updated designs? Let me know if you do.
As discussed yesterday Unopened would be disabled (light grey). And if it is a Ministry where they are a single ministry than the Public Body dropdown will be disabled. If they are a multiple Ministry User then they will have the public body dropdown with ONLY there respective Ministries

Thanks for clarify this, @JHarrietha-AOT . Don't need an update, I can work with the current design.

Updated AC to include all the typical functionality noted in #1213 - let me know if there are any questions.

Hi team, this US is ready for testing. We made the following updates:

Add advanced search for ministry users
Change selected checkbox color to green
Fix the issue that unselect the last public body, the list jumps to the top
Format assignedto name on backend - fullname/group name
Sorting assignedto name will apply to both fullname and group name
Fixed sorting issue on LDD  & Days left - IAO queue
Fixed wrong received date issue - IAO queue

Great work on these, @richard-aot just wanted to highlight here in the comment that we have Ticket #1688 upcoming which will address the fact that Scenario's 9 & 10 do not pass testing. They fail because "Request Description" is still selected if a users clicks "Clear All"


ZEPPELIN-612 Introduce 'Configuration' page with WebSocket API / REST API

What is this PR for?
To introduce 'Configuration' page to Zeppelin GUI. Also introduce REST API / WebSocket operation.
What type of PR is it?
Feature
Todos
Is there a relevant Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-612
How should this be tested?

apply this PR
build and start Zeppelin
open UI and confirm Configuration tab is shown
open Configuration page and confirm every configurations (properties) except password are shown

Screenshots (if appropriate)

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes, I've address it regarding REST API.

Sorry I don't get familiar with front-end tech.
Value of 'zeppelin.interpreters' is normally too long so that result is not beauty. How to fix it?

Looks cool!

+1 @HeartSaVioR - what would be the best way to handle very long string?

In my browser (chrome) background of top of the page is gray rather than white.
And right edge of table seems not clean.

@felixcheung
We can think about hiding overflowed string to ellipsis, and if it is possible, we can add click event to ellipsis which show value to modal window so that users can see and copy whole content.

@Leemoonsoo
Could you address what OS and what chrome version do you use? Style of configurations page is nearly same to interpreter page so it shouldn't break.

I have the same as @Leemoonsoo, you forgot to add the css file in index.html (https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/index.html#L55)

@corneadoug Thanks for finding missed spot! Addressed.
@Leemoonsoo Could you please check again?

I've cut too long value with ellipsis.

I'm now finding a way to show whole content which is easy to see and copy to clipboard. If you have ideas please don't hesitate to help me. Thanks!

@HeartSaVioR You can just replace the .hiding_overflow content by: overflow: auto (which would create a scrollbar)

@corneadoug Thanks for guiding! I addressed your comments to a861402.

Tested, LGTM

@felixcheung Addressed your comments, and upmerged.

ok, LGTM, merging if no more discussion.


Running polymer init results in an error

Hi there,
After installing polymer-cli and atempting to call polymer init, the following error is displayed:
$ polymer init
/usr/local/lib/node_modules/polymer-cli/bin/polymer.js:16
const resolve = require('resolve');
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

I have polymer-cli installed as a global package. Initially I thought I could have something wrong in my package folder. So I uninstalled all my npm modules and cleaned my npm cache, but nothing changed and I keep getting the same error.
Is this a known issue? Can anyone help me making polymer work?

Seems that you have node v 0.12 or older. If so, please install LTS (6.x) node.

@web-padawan I've managed to reconfigure homebrew's links to fix that issue, so I am now using node 6.7.0, but it now returns the following:
polymer init
-bash: polymer: command not found

Any clues on what is going wrong?

Now you need to run npm i -g polymer-cli again. Changing node version usually requires this for globally installed packages (because npm itself has been reinstalled).

@web-padawan Did that an it still doesn't work. Returns the same erro: polymer: command not found

This issue was moved to Polymer/polymer-cli#437


New Command: Correct Old Data Attribute Format to New in Migration Scripts.

I have no idea what this means.


uppreset and downpreset not working

uppreset always selects preset 1
downpreset always selects preset -1 (!)
D: IR code A05F received. Will execute uppreset = 1
D: Preset is now 1
D: Radiofuncs cmd is 1
...
D: IR code A05F received. Will execute uppreset = 1
D: Preset is now 1
D: Radiofuncs cmd is 1
...
D: IR code A05F received. Will execute uppreset = 1
D: Preset is now 1
D: Radiofuncs cmd is 1
...
D: IR code E21D received. Will execute downpreset = 1
D: Preset is now -1
D: Radiofuncs cmd is 1
...
D: IR code E21D received. Will execute downpreset = 1
D: Preset is now -1
D: Radiofuncs cmd is 1

Does it work with the web interface?

no, same problem (prev = preset -1 and next = preset 1)

I can not reproduce it, show me your presets.

clk_dst = 1
clk_offset = 2
clk_server = <IP_ADDRESS>

ir_0AF5 = status
ir_18E7 = tonehf = 1
ir_1AE5 = preset=4
ir_22DD = status
ir_3AC5 = preset=0
ir_40BF = preset=3
ir_50AF = upvolume = 2
ir_728D = tonehf = 15
ir_7887 = preset=1
ir_7A85 = preset=2
ir_906F = downvolume = 2
ir_A05F = uppreset = 1
ir_A25D = mute
ir_A857 = toneha = 1
ir_C03F = mute
ir_C23D = toneha = 15
ir_E21D = downpreset = 1
ir_FA05 = reset

mqqprefix = none
mqttbroker = none
mqttpasswd = ESP32
mqttport = 1883
mqttuser = none

pin_enc_clk = 32     # GPIO rotary encoder CLK
pin_enc_dt = 35      # GPIO rotary encoder DT
pin_enc_sw = 34      # GPIO rotary encoder SWitch
pin_ir = 33                    # GPIO IR receiver VS1838B
pin_vs_cs = 5                  # GPIO Pin number for VS1053 "CS"  (If DEC_VS1053 defined)
pin_vs_dcs = 21                # GPIO Pin number for VS1053 "DCS" (If DEC_VS1053 defined)
pin_vs_dreq = 4                # GPIO Pin number for VS1053 "DREQ"(If DEC_VS1053 defined)

preset = 0
preset_000 = icecast.vrtcdn.be/radio1-high.mp3
preset_001 = icecast.vrtcdn.be/ra2vlb-high.mp3
preset_002 = icecast.vrtcdn.be/radio1_classics-high.mp3
preset_003 = radios.rtbf.be/classic21-128.mp3
preset_010 = icecast.omroep.nl:80/radio1-bb-mp3

toneha = 15
tonehf = 15
tonela = 15
tonelf = 11

volume = 30

wifi_00 =/

same problem for me, as I mentioned before in Nextion display does not work(next & prev). when you press next the preset does not increase it always chooses preset 1, even if preset 7 is used as startup. When using prev the sound drops out and reboots.
Prev-Next.txt

Some presets in the list above are not real stations.  If a stations redirects to another station, the original preset number was not memorized.  I could not reproduce this bug because I never used redirect stations.
It is fixed in the current version.
Note that in the list above presets 4..9 are missing.  This may result in unexpected behaviour.

This problem seems to be solved.
I somtimes still have crashes when changing preset often, but will try to find a way to reproduce it consistently

I am redesigning the station selection now.


Sticky scrolling doesn't work well with C++ template class/function

Env:
VS Code Version: 1.70.0
OS Version: Ubuntu 20.04
Steps to Reproduce:
Open a C++ file with template class/function
scroll down to the template function
what we expect is the class/function name , not the " template <typename T>" declaration .

@xiezhaokai Do you have a copy-paste friendly sample that reproduces the problem? We would like to verify, but we think this might be also fixed by https://github.com/microsoft/vscode/pull/157466

Below is the sample code for you to verify.
just copy it to an empty file and rename it with "test.h"
#include <string>

template <typename T >
class ProtocolVarField
{
public:
    typedef T internalVarType;
    size_t offsetInProtocol = 0;
    std::string description;
    std::string fieldName1;
    // several members to make the class body long enough
    // to test sticky-scrolling
    std::string fieldName2;
    std::string fieldName3;
    std::string fieldName4;
    std::string fieldName5;
    std::string fieldName6;
    std::string fieldName7;
    std::string fieldName8;
    //***
    //
};

Hi, thanks for the feedback, I just verified on the new insiders version, and I have the following behavior:


Cotary Create: Blockies look wrong

A lot of apps have the blockies icons but ours do not currently match them.

@Flash-Git Mind sharing more about this issue? What you mean with ours does not currently match them ?

Yep! This is my blockie identicon:

On the app, it shows as this:

I'm looking into it now.

We are using it correctly and the problem is consistent across v1 and v2 so I am switching libraries to https://github.com/MyCryptoHQ/ethereum-blockies-base64.

If v1 is still being used it might be worth updating for that as well? @dOrgJelli


Pluto.tv

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
UK
Provide a description that is worded well enough to be understood
Unable to download
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
C:\Users\beatf\yt-dlp>yt-dlp -f bestvideo+bestaudio -o "%(title)s.%(ext)s" https://pluto.tv/en/on-demand/series/5f3f63c75eea2a001afff498/season/1/episode/5f3f63c95eea2a001afff4ba -vU
[debug] Command-line config: ['-f', 'bestvideo+bestaudio', '-o', '%(title)s.%(ext)s', 'https://pluto.tv/en/on-demand/series/5f3f63c75eea2a001afff498/season/1/episode/5f3f63c95eea2a001afff4ba', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [f10589e34] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22621-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 2021-12-20-git-631e31773b-full_build-www.gyan.dev (setts), ffprobe 2021-12-20-git-631e31773b-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.19.1, brotli-1.1.0, certifi-2023.11.17, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[PlutoTV] Extracting URL: https://pluto.tv/en/on-demand/series/5f3f63c75eea2a001afff498/season/1/episode/5f3f63c95eea2a001afff4ba
[PlutoTV] 5f3f63c75eea2a001afff498: Downloading JSON metadata
ERROR: [PlutoTV] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 718, in extract
  File "yt_dlp\extractor\plutotv.py", line 170, in _real_extract
  File "yt_dlp\extractor\common.py", line 1072, in download_content
  File "yt_dlp\extractor\common.py", line 1036, in download_handle
  File "yt_dlp\extractor\common.py", line 906, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 863, in _request_webpage

  File "yt_dlp\YoutubeDL.py", line 4082, in urlopen
  File "yt_dlp\networking\common.py", line 114, in send
  File "yt_dlp\networking\_helper.py", line 204, in wrapper
  File "yt_dlp\networking\common.py", line 325, in send
  File "yt_dlp\networking\_requests.py", line 343, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 404: Not Found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 850, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4114, in urlopen
yt_dlp.networking.exceptions._CompatHTTPError: HTTP Error 404: Not Found

Didn't we just go through this? Do not open another duplicate


Cockroachdb Column is read-only: No corresponding table column

System information:

Operating system (distribution) and version
Linux Mint 19.3 Cinnamon
DBeaver version
7.1.2
Additional extensions
no

Connection specification:

CockroachDB docker image: latest
Driver name
I just installed a driver suggested by DBeaver

Do you use tunnels or proxies (SSH, SOCKS, etc)?
No

Describe the problem you're observing:
I can't edit any data in tables.
Column Column_name is read-only: No corresponding table column
Affected version: 7.1.2
Downgrading to 7.1.0 resolved this issue for me
Steps to reproduce, if exist:
Try to edit any data cell

The same problem on OSX 10.15.5
DBeaver Version <IP_ADDRESS>007051953
I found nothing useful in logs

thanks for the bug report

7.1.2, 7.1.3 affected :(

Fixed for direct table data edit.
However data edit won't work  in custom SQL queries (because CDB doesn't provide information about source table in JDBC API)

verified


A11y_AzureDataStudioSQLMigration_Migrationinprogress_Migrationcutover_Keyboard:The focus moves to the previous database screen after it refreshes automatically and on pressing tab the focus does not appear on the cutover page.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags: #A11yMAS;#A11yTCS;#A11ySev2;#SH_AZUREDATASTUDIOSQLMigration_June2021;#SQL Azure Data Studio;#Win10;#FTP;#DesktopApp;#WCAG2.4.3;#AINotInScope;#Keyboard
Environment Details:
Application Name: SQL Azure Data Studio
Windows Version: Win10
Repro Steps:

Launch the application-Azure Data Studio-Insiders and install extension Azure SQL Migration.
Connect to any sql server.
Tab till Azure SQL migration Tab and press enter
Tab till "Data migration in progress" and press enter.
Tab till ongoing migration under database table header and press enter.
Tab till complete cutover button and press enter.
Tab till "I confirm that there are no additional...."checkbox na check if the focus remains on the checkbox for sometime.

Actual:
The focus moves to the previous database screen after it refreshes automatically and on pressing tab the focus does not appear on the cutover page.
Expected:
The focus should remain on the checkbox as long as the user is not performing any action.
User Impact:
Keyboard users will not be able to tab inside the cutover window after the database screen refreshes.

We have fixed this issue in the insiders and this issue is no longer reproduced.

We have fixed this issue in the insiders and it can no longer be reproduced.


Use of undeclared type 'B68UIFloatLabelTextField'

Hi, I recently stumbled upon your customized Text Field and I wanted to see how it works. However, I can't seem to make it work in my project as I get an error saying Use of undeclared type 'B68UIFloatLabelTextField' when I try to make an IBOutlet of this type. I installed the project via Cocoapods which worked and tried to follow your example but I can't seem to get this working. If it helps I'm making a Swift project. Do I need to import anything or add the file anywhere? Thanks for your help.

Hi @schan93
did you import the module in your swift file?


Add notes.zachmanson.com

Hi! I've been following merveilles and the webring for a few years now.  This site is my personal wiki and archive.  Design is obviously inspired by XXIIVV, but it is built straight from my local obsidian notes with a custom generator.
It has gone through a few iterations but I am very happy with it now with over 300 pages.
The index page contains a link to the webring in the text, and the /meta page contains the webring icon.
Link

Could you put the webring icon in the footer instead of putting it among the content?


X11 client: ignore grab related LeaveNotify events

This fixes click and drag or more generally any press-hold-release combinations
for the primary mouse button.
Without this, click and drag, drag and drop and in, some remote applications
that presumably rely on the full press-release sequence, even button
presses don't always work.
The problem exists in 2.2.0 and master, at least in these environments:

Gentoo Linux on amd64 with Plasma desktop (Wayland) running FreeRDP X11 client
Alpine Linux on Raspberry Pi with Fluxbox

While both are not too common, they are also rather different, so the impact may well be broader.
Maybe it's also related to connecting to old RDP servers (Win 7 and Server 2008 R2).
Reproduction rate in the given constellation is not quite 100%, but close.
Anyway, this fixes it for me.

Sorry, maybe I should qualify "don't work":
Without the PR, pressing the primary mouse button results in an immediate press-release sequence from the remote's perspective, so the server treats this as a completed click while on the client the button is still pressed. Thus any operations that require a longer button press with or without dragging are unavailable.

@freerdp-bot test
@mstarostik thank you for the patch.
did you run this only on remote app sessions or also on desktop sessions?

did you run this only on remote app sessions or also on desktop sessions?
@akallabeth I only tried full desktop sessions.


Drawn route segments are inaccurate

TNM tries to draw routes from a stop as lines that originate from that stop and go until their endpoint. In other words, it tries not to draw the part of the route that comes before the stop location. This means that the route is actually cut at the point where the stop is. Currently this cut is not always done in the right place.
To reproduce: "N NASH ST & WILSON BV (4B, 4E, 38B)"

There's still an issue when creating the path for WMATA route V5, stop "S 2ND ST & OLD GLEBE RD". This is seemingly because the route goes past the same point twice.


geting error when train model in google colab

i use google colab
when i tried to process data with fasttext in french language i set it like this :
train_set,validation_set = dm.data.process(
    path='drive/My Drive/recommandersystem/deepmatcher_model',
    cache='train_cache.pth',
    train='train.csv',
    validation='valid.csv',
    embeddings='fasttext.fr.bin',
    embeddings_cache_path='drive/My Drive/recommandersystem/deepmatcher_model',
    ignore_columns=['id',''],
    id_attr='_id',
    label_attr='label',
    left_prefix='ltable_',
    right_prefix='rtable_')

and i get this error message :

HTTPError                                 Traceback (most recent call last)
 in ()
11     label_attr='label',
12     left_prefix='ltable_',
---> 13     right_prefix='rtable_')

13 frames

/usr/lib/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
648 class HTTPDefaultErrorHandler(BaseHandler):
649     def http_error_default(self, req, fp, code, msg, hdrs):
--> 650         raise HTTPError(req.full_url, code, msg, hdrs, fp)
651
652 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 403: Forbidden

please how i can solve this

I guess colab does not allow to download anything. First download the file manually and place it in your Google Drive. I guess it tries to download fasttext vectors. You can find the link in code

and how i can put it in the data process ??

Through parameter of data.process, set the path to file

with this parameter "embeddings_cache_path" ?? like this :
embeddings='fasttext.fr.bin',
embeddings_cache_path='drive/My Drive/recommandersystem/deepmatcher_model',

Did it work @walide67  ?

FastText for non-English languages (e.g. embeddings='fasttext.fr.bin') should now work with the latest release (0.1.2.post1). It appears Facebook changed the URLs to their word embeddings. Please reopen if the error persists.


[proposal] Document logger field + add it to API

In the documentation, it is noted that there's an option "logger" which can be passed

logger: pino-http can reuse a pino instance if passed with the logger property

However, it is not entirely correct: according to the code, pino instance isn't reused, but a child is created from this instance. This way, for example, it is not possible to change log level in the runtime. (since changing log level on the "root" instance doesn't change the child's log level). Also, there's no way (according to the documentation) to change middleware's logger level in the runtime (since it's not documented how logger is exposed).
Example:
const pino = require("pino");
const pinoHttp = require("pino-http");

const pinoLogger = pino();
middleware = pinoHttp({ logger: pinoLogger });
pinoLogger.level = "warn" // Does not change middleware's log level

This can be bypassed by using the middleware.logger field, like this:
const pinoHttp = require("pino-http");
middleware = pinoHttp();
middleware.logger.level = "warn" // Does change logger level

My concern is, however, that this field isn't part of an API, since it is not documented. So, it can be "removed" or renamed in any version w/o notice.
Can we declare this .logger instance as a part of public API and document it (I can help with documentation, if needed).

Go ahead with the PR!


Spawning scenes with cameras no longer works

Bevy version
77c26f64ce0c1a538629a544b7020eb2d2b77466
What you did
Exported a GLTF scene from Blender with a camera and loaded it in Bevy.
What went wrong
The app crashed because CameraRenderGraph does not implement Reflect. This regressed in #10644.
For future reference, removing Reflect from a type that exists in a bundle used in scenes should almost never be allowed.

I think we should fix this for 0.13.

Reverting #10644 isn't enough because this also doesn't implement Reflect: https://github.com/bevyengine/bevy/pull/11412

Yeah I think thats a good call. Probably not for 0.13 though.

Should we just enforce labels to derive reflect and then we reflect them via their path?

Alrighty after reverting #10644 and adding a reflect_value impl to wgpu::TextureUsages in bevy_reflect, deriving Reflect on CameraMainTextureUsages, and registering the type, we're back in business:
use crate as bevy_reflect;

use bevy_reflect_derive::impl_reflect_value;

impl_reflect_value!(::wgpu::TextureUsages(Debug, Hash, PartialEq));

It is broken for serialization scenarios (as TextureUsages is not serializable). But it fixes GLTF loading. I'm going to see if we can do the same reflect_value hack for #10644 to avoid needing to revert (but note that us moving away from strings for this will break serialization for that as well).
The TextureUsages serialization can be fixed by moving to the Image mirror types we'll be adding here: https://github.com/bevyengine/bevy/pull/11294#issuecomment-1928552369

Should we just enforce labels to derive reflect and then we reflect them via their path?

The interned RenderGraph label serialization will be its own can of worms as we've moved to using types as identifiers. We'd likely need some type of TypePath -> label object registry for this. My new scene system would accommodate this type of exchange by supporting constructing the runtime types from different types in the scene, with access to a World context. (aka use the TypePath in the scene to grab the TypePath->Object mapping from a resource when spawning).

Arg adding wgpu to bevy_reflect puts it much earlier in the dependency tree. I'm getting a ~7 second clean compile time regression (on my fast computer that compiles main in ~30 seconds, so that will be magnified on the average computer).

Arg adding wgpu to bevy_reflect puts it much earlier in the dependency tree. I'm getting a ~7 second clean compile time regression (on my fast computer that compiles main in ~30 seconds, so that will be magnified on the average computer).

Maybe we should define a custom bevy enum that is easy to reflect and match on it when we need the wgpu type?

Maybe we should define a custom bevy enum that is easy to reflect and match on it when we need the wgpu type?

Yeah thats where my head is at as well / what I was getting at with this comment:

The TextureUsages serialization can be fixed by moving to the Image mirror types we'll be adding here: https://github.com/bevyengine/bevy/pull/11294#issuecomment-1928552369


extendscriptr: command not found

I've installed the library, but every time I try to run extendscriptr --script src/Layers_To_PNG.js --output dist/Layer_To_PNG_v2.jsx I get extendscriptr: command not found
node: 8.11.3
npm: 5.6.0
What am I doing wrong?

I didn't install the library globally, after installing it globally it works

I suggest not to install node_modules globally. When you install it locally you can add it to a npm script
package.json
{
 "scripts":{
 "build": "extendscriptr --script src/Layers_To_PNG.js --output
 dist/Layer_To_PNG_v2.jsx"
 }
}

and run it with npm run build


Update hash for python bootstrap build

Description of changes
Updates the hash for the new version of pypa/build. Looks like it was missed in https://github.com/NixOS/nixpkgs/pull/294305.
Things done
Ran nix-prefetch-git https://github.com/pypa/build.git refs/tags/1.1.1 and replaced the hash with the new hash

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Can the version number be reverted so the hash is not wrong?

Looks like this was fixed in https://github.com/NixOS/nixpkgs/pull/305152. Thanks!

Thanks for noticing. This is too big a rebuild for master, and also for staging-next at this time. It also needs validation, since build sits at the core of python packages, so I'm not sure if we should update, if it wasn't integration tested properly.

This was a fairly big deal, is there any plans to protect from it happening again?

https://github.com/NixOS/rfcs/pull/171 would have made this into a build failure

Be the FOD change you want to be


Lightclient block production

resolves #1985
blocked by #1988
Added:

lodestar-core package to share common logic between end products like lodestar-validator, lodestar. lodestar-light-client
producing and fetching both phase0 and lightclient blocks as well as their signing in lodestar-validator

lodestar-core package to share common logic

Could you define more precisely what common logic should go into lodestar-core, and what should go into lodestar-utils?

lodestar-core package to share common logic

Could you define more precisely what common logic should go into lodestar-core, and what should go into lodestar-utils?

lodestar utils is basically no-dep utils because you cannot depend on lodestar-types or config or db because of circular dependcies while lodestar-core could be package that depends on most/all core lodestar packages (except end products like cli, validator, lightclient or lodestar itself)
and contain for example various serialization or hashing logic (depending on slot return ssz type for appropriate fork) , http/api client or shared interfaces.

lodestar-core package to share common logic

Could you define more precisely what common logic should go into lodestar-core, and what should go into lodestar-utils?

lodestar utils is basically no-dep utils because you cannot depend on lodestar-types or config or db because of circular dependcies while lodestar-core could be package that depends on most/all core lodestar packages (except end products like cli, validator, lightclient or lodestar itself)
and contain for example various serialization or hashing logic (depending on slot return ssz type for appropriate fork) , http/api client or shared interfaces.

Could you add this clarification to the lodestar-core and lodestar-utils README's?

Gonna start this in new PR/branch


Remove deprecated Upload task

Fixes #21421

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Currently, the only failures when building this branch should be from two samples: build-organizationstructuring-software-projects and spring-boot-web-application.  Everything else should be passing.
Once a new version of the io.spring.dependency-management plugin is released (> .0.12.RELEASE) we can search this branch for TODO:Spring-Dependency-Management to find everything that will need to be updated.  The current version of this plugin uses the removed Upload task.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Note that this is "done" for now and testing is successful.  There are a number of snippets and samples where using Spring Boot is the central purpose, so they can not be updated.  The 4 failing checks above:

https://builds.gradle.org/viewLog.html?buildId=54639304&buildTypeId=Gradle_Master_Check_Platform_4_Trigger
https://builds.gradle.org/viewLog.html?buildId=54639250&buildTypeId=Gradle_Master_Check_Platform_3_Trigger
https://builds.gradle.org/viewLog.html?buildId=54639326&buildTypeId=Gradle_Master_Check_Stage_PullRequestFeedback_Trigger
https://builds.gradle.org/viewLog.html?buildId=54639221&buildTypeId=Gradle_Master_Check_SmokeTestsJava17

are expected and fine.  As long as nothing else fails, consider this as finished as it will get.

We have decided to close this and go with the linked alternate solution.


[API]BERTVocab

Description
Added BERTVocab and replaced some string literals in existing bert examples. #492
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[x] Code is well-documented

Changes
replaced some string literals in existing bert examples.
Comments

Job PR-509/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-509/3/index.html


su preserves user env vars causing all kinds of trouble

Description
Let's say I have the following settings in side my user's ~/.zprofile:
# ccache
export CCACHE_CONFIGPATH=${HOME}/.config/ccache.conf

# golang workspace setup
export GOPATH="${HOME}/dev/go"
export PATH=$PATH:$(go env GOPATH)/bin

# perl cpan modules
export PATH="/home/mamadou/.local/lib64/perl5/bin${PATH:+:${PATH}}"
export PERL5LIB="/home/mamadou/.local/lib64/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
export PERL_LOCAL_LIB_ROOT="/home/mamadou/.local/lib64/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}";
export PERL_MB_OPT="--install_base \"/home/mamadou/.local/lib64/perl5\""
export PERL_MM_OPT="INSTALL_BASE=/home/mamadou/.local/lib64/perl5"

When I type the su command and enter my root password if I issue env command I see the value of those variables get carried over to the root environment causing all kinds of issues. For example, CCACHE writes binary files to my user's home directory instead of the global cache. Or, my package manager portage fails to build Wine, because it cannot find some Perl modules inside my user's Perl cache.
The only workaround is to add the following to my user's .zprofile:
# avoid user env var preservation with su
alias su="sudo -g wheel -u root -H /usr/bin/env zsh"

Expected behavior
The env vars should not be preserved in the root environment when user access is elevated by su.
Actual behavior
It preservers the env vars and carry them over to the root environment.
Steps to Reproduce

Put some env var in the user's .zprofile.
Type su and then press Enter.
Run env command as su.

Versions

Prezto commit: All versions including latest
ZSH version: 5.8
OS information: Linux mamadou-pc 5.15.16 #95 SMP Sat Jan 22 16:08:31 CET 2022 x86_64 Intel(R) Core(TM) i7-6820HK CPU @ 2.70GHz GenuineIntel GNU/Linux

Thank you very much! I thought this might be a bug. And, thanks for mentioning su -. I have changed my su alias to the following and it works:
# avoid user env var preservation with su
#alias su="sudo -g wheel -u root -H /usr/bin/env zsh"
alias su="su -"


General refactoring/reorganisation

This patch constitutes some housekeeping for good practice, modularity and brevity.

The Walk function signature is changed to return an error instead of a bool. In practice, this is congruent with how we can expect most visitor functions to operate.
The visitor function passed to Walk during the prepare phase now uses a type switch instead of interrogating Expression.Type.
The ExpressionType enumeration is removed along with the Type method on Expression, as the step above leaves it unused.
A new interface and base class have been added for use by Expression implementations. This DRYs up that code somewhat.
A start has been made on making more members private, with accessor methods, and using constructors. This is preferable to making all members public and tempting violation of the law of demeter.
The synthetic test expression types are removed. Now that we no longer have Expression.Type, these are spurious.

There are tests added here for verification of this intermediate form. These will be deleted later in favour of full tests of the Prepare method once we land and verify the Parser behaviour.

Good changes, thanks @manadart


Default keybindings in config

I want to return the keybindings to the config file to help with modpacks. But allow rebinding in game after the fact.
Hopefully this will be possible with InputUtils 0.4.0

InputUtils 0.4.2 patch fixed any issues and this is now implemented as of 1.2.2


tour: [Show Image example is now working properly]

Context: https://tour.golang.org/methods/25
Most likely the library behavior has changed but the given tour example is not updated accordingly;
Here is the output from the given example without any changes;
go: finding module for package golang.org/x/tour/pic
go: downloading golang.org/x/tour v0.0.0-20201207214521-004403599411
go: found golang.org/x/tour/pic in golang.org/x/tour v0.0.0-20201207214521-004403599411
./prog.go:9:15: cannot use m (type Image) as type image.Image in argument to pic.ShowImage:
	Image does not implement image.Image (missing At method)

Go build failed.

As the text on the left suggest, that is an exercise:

Define your own Image type, implement the necessary methods, and call pic.ShowImage.

So it's normal that the code doesn't compile as it is.

As the text on the left suggest, that is an exercise:

Define your own Image type, implement the necessary methods, and call pic.ShowImage.

So it's normal that the code doesn't compile as it is.

Oh, this is embarrassing :sweat_smile:  Apologies and thanks for the heads up @ALTree
My mistake

Oh, this is embarrassing :sweat_smile:  Apologies and thanks for the heads up @ALTree
My mistake


fixed a typo in README.md

Thanks for the new debounce decorator. I found a typo in README.md and I fixed it in this PR.

Thank you @wuct!


update readme

Coverage remained the same at 100.0% when pulling 4fa50329a21e8250e78e8f092f4d83aad33673ff on feature/updateReadme into 01ef1d768533de1881a6a6885adce226c4041209 on master.


[Registry] Can't upload to update extension

Every time I try to upload an update to my extension in the registry it gives me the error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151018-12803-7y3jpz'
I subsequently tried deleting my extension, and re-uploading it, and it still gave me this error message.

Unfortunately I get the same error. Is this being looked at right now?

tagging @nethip @ingorichter

No word on this? I just checked and it's still doing the same thing.

We are tracking this will update soon.

I've restarted the registry. Could you please try again @uniphonic nad let us know if the issue is resolved for you?

Dear friend,
I have tried to upload my extension just now and still not workink

Sorry, but after 5 days it still outputs the following error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151023-19196-13uuy7x'

I just tried again, and I'm still getting the same type of error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151023-19196-xyxd4o'

me too.
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151023-19196-4fstsf'

We tried restarting the machines, but that didn't seem to fix it. Brackets extensions are maintained by a third party due to the opensource nature of the project.
We are in touch with abouttheweb guys for resolving this issue. will post an update soon.

I'm still experiencing the issue, and to be clear, I've never changed my GitHub username. I only mention that because I saw the other ticket said that, which is not the case for me.

@ryanstewart @madanbn @nethip

I'm experiencing the exact same issue, I tried uploading the zip file after compressing through terminal but it does the same thing. Can anyone help?

Please bear with us. Due to the ongoing Thanksgiving holidays, our efforts at reviving the backend is taking longer than usual and we apologize for the inconvenience. Please wait while we get it fixed and try to put in a more scalable & robust solution.

Hope you guys are all having a great Thanksgiving! I, too, am experiencing the same error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151029-19196-1vr4z18'

Hey all, can you give it a shot and try uploading them again? We've rebooted the sever in hopes of getting things squared away.

Hi Ryan,
Nope. Still not working. Got this error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_1151030-3195-kdnaoi'

:+1:

I saw the thumbs up, so i thought maybe that meant it's working? I just tried again, but I'm still getting the same kind of error:
An error occurred, but unfortunately I don't know how to say this nicely: EACCES, mkdir '/home/aboutweb/tmp/bracketsPackage_115112-3195-9s81u8'

Its fixed now. Closing.
Please reopen if any issues found.

While the main symptom which this issue describes is fixed, I noticed that at the same time this issue was fixed another issue appeared which might be related:
The download counter for extensions seem to be broken?
If you have the "Extensions Rating" extension installed it shows download counts for all items, but all the download counts seem to have frozen since this fix was made (everything that was uploaded since then has remained locked at 0 for many days, though I know it's been downloaded many times.. Should we open a separate issue for this, or can we keep it in this thread?
Thanks!


Rotating VideoCaptureElement

I use WPFMediakit to show web cam livestream on a tablet. When the tablet is rotated I have problems with displaying the preview correctly (keeping aspect ratio). Depending on ScreenInformation.ScreenConfig I apply a rotate transformationen and a scale transformation. The aspect ratio of 1280 x 720 should be preserved. This is what I tried:
    <StackPanel Background="Red">
        <controls:VideoCaptureElement
                FPS="30"
                x:Name="VideoElement"
                HorizontalAlignment="Center"
                LoadedBehavior="Manual"
                VerticalAlignment="Center"
                Height="720"
                Width="1280"
            DesiredPixelHeight="720"
            DesiredPixelWidth="1280"
                UnloadedBehavior="Close" >
            <controls:VideoCaptureElement.LayoutTransform>
                <TransformGroup>
                    <ScaleTransform CenterX="0" CenterY="0" ScaleX="{Binding ElementName=This, Path=PreviewScaleX}" ScaleY="{Binding ElementName=This, Path=PreviewScaleY}"/>
                    <RotateTransform Angle="{Binding ElementName=This, Path=RotationAngle}"/>
                </TransformGroup>
            </controls:VideoCaptureElement.LayoutTransform>
        </controls:VideoCaptureElement>
    </StackPanel>

In the DisplaySettingsChanged Callback, I set the respective Properties in code-behind:
    void SystemEvents_DisplaySettingsChanged(object sender, EventArgs e) {
        if (SystemInformation.ScreenOrientation == ScreenOrientation.Angle0) {
            RotationAngle = 0;
            PreviewScaleX = 1;
            PreviewScaleY = 1;
        }
        if (SystemInformation.ScreenOrientation == ScreenOrientation.Angle90) {
            RotationAngle = 90;
            PreviewScaleX = 0.5;
            PreviewScaleY = 0.5;

        }
        if (SystemInformation.ScreenOrientation == ScreenOrientation.Angle180) {
            RotationAngle = 180;
            PreviewScaleX = 1;
            PreviewScaleY = 1;

        }
        if (SystemInformation.ScreenOrientation == ScreenOrientation.Angle270) {
            PreviewScaleX = 0.2;
            PreviewScaleY = 0.2;
            RotationAngle = 270;
        }
    }

Does anyone have any advice on how rotation really works?
Greets, Trinity

Did you try this same code on the RenderTransform property instead of the LayoutTransform property?
Can you share your code behind for how you set a camera source?

Closing due to the inactivity.


Not able to select current date in date picker

In what case is this not working?
Android? IOS?
Example of how your trying to use it?

@rdelrosario
Can we close this as no info provided


Needs CI

Now that the app is cross-platform, it could really use CI scripts to generate and release binaries for major platforms.

You can assign this to me, I'd do it myself but the mobile client has some issues.

https://github.com/labstreaminglayer/AppTemplate_cpp_qt/pull/4


Update GCP SA roles to allow listing clusters and instances for CIEM

Don't we also need to update https://github.com/sysdiglabs/terraform-google-secure/blob/master/modules/services/service-principal/organizational.tf#L40 ?

Had checked with @mdkulkarni15 , we just need it for the project.

We should test the org with this though. Hopefully this should be good


SCons: Detect msvc compiler version

Expands the functionality of get_compiler_version by supporting msvc as an environment. Currently sets the display version to major/minor/patch as it's a 3-int tuple already, and the full version is assigned to metadata1. Doing so allows us to cutoff unsupported Visual Studio versions (anything earlier than VS2017 & non-modern VS2017/VS2019) like we do with GCC/Clang. What's more, we can apply a C standard for msvc on supported versions (16.8 and later, so everything except VS2017).
During this process, I also created the CompilerVersion class, which replaces the previous dictionary implementation. This grants proper type-awareness & helped cleanup redundancies in both get_compiler_version and any script using that function. EDIT: Reverted, will tackle this in a separate PR.

Nice work, I've also been meaning to refactor the compiler version checks a bit.
One thing worth looking into, is what info SCons already collected with their own hacky methods:

We may be able to replace some of our hacky calls to CXX to try to get version information by just using what SCons knows, provided that it's more or at least as reliable as what we currently have.

Converted to draft because it seems like SCons' hacky methods check msvc specifically, rather than trying to pull the Visual Studio version. I haven't considered how these configuations would appear to someone who only uses buildtools instead of the full Visual Studio setup & I'm not certain how that could best be tested atm.

Revisiting this & it seems that my initial concerns were a bit misled. MSBuild and Visual Studio seem to use the same versioning, with the MSVC value being part of an entirely separate versioning scheme. While a broader refactor of the compiler version logic would probably be beneficial in the future, this was always more about getting MSVC compatible with the existing system.

@Repiteo For future reference: a potential technique for getting msvs/msvc version numbers.
I apologize in advance if this is not helpful.  Feel free to ignore.
What follows is an example of getting version msvc numbers from the SCons environment system paths.  The source code is not production grade and likely has bugs.
The technique requires one subprocess call to get vswhere output and up to two subprocess calls per SCons environment (i.e., for cl.exe and msbuild.exe if it exists).
There is a heuristic (a.k.a. "hacky") method for getting the Visual Studio version number for VS2017 to VS2022 via vswhere.  The VS2019 and VS2022 batch files use this mechanism to set variable VSCMD_VER.  Using the technique outside of the VS batch files requires a bit more work.  Fragments from the VS2022 batch file are shown below.
The cl.exe version number is in the first line of the banner written to stderr.  The captured stderr output from invoking cl.exe without any arguments can be parsed for the cl version number.
The msbuild.exe version number can be retrieved using the /nologo /version switches and does not require any significant extra processing.
The vc toolset version number is retrieved from the cl.exe path name for toolsets v141 and later.
One particular challenge is that while the v140 toolset can be used with VS2017-VS2022, the actual compiler executables are not contained "in-tree" (i.e., they are in the VS2015 installation folder).
There are any number of ways that this technique can go awry.
Sample Code
GitHub msvc version number example:

repository: https://github.com/jcbrill/scons-prototypes/tree/main/examples/scons_msvc_info
SConstruct: https://github.com/jcbrill/scons-prototypes/blob/main/examples/scons_msvc_info/SConstruct
Source Code: https://github.com/jcbrill/scons-prototypes/blob/main/examples/scons_msvc_info/scons_msvc_info.py

All results are in the results folder.  The 64-bit VM results are summarized in a table below.
SConstruct
SConstruct fragments for all versions of msvc:
...
from SCons.Tool.MSCommon import MSVCVersionNotFound, MSVCToolsetVersionNotFound, MSVCScriptNotFound
from scons_msvc_info import msvc_info_env
...
for kwargs in [

    {},

    # VS2022 Preview (custom installation path)
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2022-143-Com-Pre\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2022-143-BT-Pre\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},

    # VS2022 Preview
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Program Files (x86)\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},

    # VS2022
    {"MSVC_VERSION": "14.3"},
    {"MSVC_VERSION": "14.3", "MSVC_TOOLSET_VERSION": "14.2"},
    {"MSVC_VERSION": "14.3", "MSVC_TOOLSET_VERSION": "14.1"},
    {"MSVC_VERSION": "14.3", "MSVC_TOOLSET_VERSION": "14.0"},
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2022-143-BT\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},

    # VS2019
    {"MSVC_VERSION": "14.2"},
    {"MSVC_VERSION": "14.2", "MSVC_TOOLSET_VERSION": "14.1"},
    {"MSVC_VERSION": "14.2", "MSVC_TOOLSET_VERSION": "14.0"},
    {"MSVC_VERSION": "14.2", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2019-142-BT\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},

    # VS2017
    {"MSVC_VERSION": "14.1"},
    {"MSVC_VERSION": "14.1", "MSVC_TOOLSET_VERSION": "14.0"},
    {"MSVC_VERSION": "14.1Exp"},
    {"MSVC_VERSION": "14.1", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2017-141-BT\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": SCRIPT_TARGET_ARCH},

    # VS2017 Express: **intentionally incorrect MSVC_VERSION**
    {"MSVC_VERSION": "14.3", "MSVC_USE_SCRIPT": r"C:\Software\MSVS-2017-141-Exp\VC\Auxiliary\Build\vcvarsall.bat", "MSVC_USE_SCRIPT_ARGS": "x86_amd64"},

    # VS2015
    {"MSVC_VERSION": "14.0"},
    {"MSVC_VERSION": "14.0Exp"},

    # VS2013
    {"MSVC_VERSION": "12.0"},
    {"MSVC_VERSION": "12.0Exp"},

    # VS2012
    {"MSVC_VERSION": "11.0"},
    {"MSVC_VERSION": "11.0Exp"},

    # VS2010
    {"MSVC_VERSION": "10.0"},
    {"MSVC_VERSION": "10.0Exp"},

    # VS2008
    {"MSVC_VERSION": "9.0"},
    {"MSVC_VERSION": "9.0Exp"},

    # VS2005
    {"MSVC_VERSION": "8.0"},
    {"MSVC_VERSION": "8.0Exp"},

    # VS2003, VS2002, VC6
    {"MSVC_VERSION": "7.1"},
    {"MSVC_VERSION": "7.0"},
    {"MSVC_VERSION": "6.0"},

]:
    kwargs['MSVC_NOTFOUND_POLICY'] = "Error"
    try:
        env = Environment(**kwargs)
    except (MSVCVersionNotFound, MSVCToolsetVersionNotFound, MSVCScriptNotFound):
        continue
    msvc_info = msvc_info_env(env)
    if not msvc_info:
        continue
    Results.display_results(env_kwargs=kwargs, env=env, msvc_info=msvc_info)

print()
Results.write_json()

Sample Output
Default VS2022 Community SCons environment results:
Legend:
    * : version summary information
    VW: vswhere output information
    CL: cl executable information
    MB: msbuild executable information
    DE: development executable information
    SE: SCons environment information

Environment(**{'MSVC_NOTFOUND_POLICY': 'Error'}):
    ----------------------------------------------------------------------------------------------------
    *  VS_VERSION = '17.11.4'
    *  VC_TOOLSET = '14.41.34120'
    *  VC_BUILDSERIES = '14.4'
    *  VC_BUILDTOOLS = '14.3'
    *  VC_LEGACY = '14.3'
    *  CL_VERSION = '19.41.34120'
    *  MSBUILD_VERSION = '<IP_ADDRESS>202'
    ----------------------------------------------------------------------------------------------------
    VW ENV_path = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64'
    VW installationPath = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community'
    VW installationVersion = '17.11.35312.102'
    VW displayName = 'Visual Studio Community 2022'
    VW productId = 'Microsoft.VisualStudio.Product.Community'
    VW productPath = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe'
    VW buildVersion = '17.11.35312.102'
    VW productDisplayVersion = '17.11.4'
    VW productSemanticVersion = '17.11.4+35312.102'
    CL cl_path = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.EXE'
    CL cl_version = '19.41.34120'
    CL vc_toolset = '14.41.34120'
    CL vc_buildseries = '14.4'
    CL vc_buildtools = '14.3'
    CL vs_version = ''
    MB msbuild_path = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\\\MSBuild\\Current\\Bin\\amd64\\msbuild.exe'
    MB msbuild_version = '<IP_ADDRESS>202'
    DE dev_path = 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.com'
    DE dev_isdevelop = True
    DE dev_isexpress = False
    SE MSVC_VERSION = '14.3'
    ----------------------------------------------------------------------------------------------------

Default VS2022 BuildTools SCons environment results:
Legend:
    * : version summary information
    VW: vswhere output information
    CL: cl executable information
    MB: msbuild executable information
    DE: development executable information
    SE: SCons environment information

Environment(**{'MSVC_NOTFOUND_POLICY': 'Error'}):
    ----------------------------------------------------------------------------------------------------
    *  VS_VERSION = '17.11.4'
    *  VC_TOOLSET = '14.41.34120'
    *  VC_BUILDSERIES = '14.4'
    *  VC_BUILDTOOLS = '14.3'
    *  VC_LEGACY = '14.3'
    *  CL_VERSION = '19.41.34120'
    *  MSBUILD_VERSION = '<IP_ADDRESS>202'
    ----------------------------------------------------------------------------------------------------
    VW ENV_path = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64'
    VW installationPath = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools'
    VW installationVersion = '17.11.35312.102'
    VW displayName = 'Visual Studio Build Tools 2022'
    VW productId = 'Microsoft.VisualStudio.Product.BuildTools'
    VW productPath = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\LaunchDevCmd.bat'
    VW buildVersion = '17.11.35312.102'
    VW productDisplayVersion = '17.11.4'
    VW productSemanticVersion = '17.11.4+35312.102'
    CL cl_path = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX64\\x64\\cl.EXE'
    CL cl_version = '19.41.34120'
    CL vc_toolset = '14.41.34120'
    CL vc_buildseries = '14.4'
    CL vc_buildtools = '14.3'
    CL vs_version = ''
    MB msbuild_path = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\\\MSBuild\\Current\\Bin\\amd64\\msbuild.exe'
    MB msbuild_version = '<IP_ADDRESS>202'
    SE MSVC_VERSION = '14.3'
    ----------------------------------------------------------------------------------------------------

Version Numbers
Version number notes:

Host DEV-64 is a Windows 11 (64-bit) VM with VS development executables (i.e., devenv.com, msdev.com).
Host BT-64 is a Windows 11 (64-bit) VM with VS build tools installed (i.e., no IDE)
Host EXP-64 is a Windows 11 (64-bit) VM with VS express executables (i.e., wdexpress.exe, vcexpress.exe)
The VS Version and VC Toolset values for VS2015-VC6 are analogous to MSVC_VERSION (i.e., the minor number is 0 with the exception of 7.1).  Refinement of these version numbers has not been attempted.
The format of the CL version number is not as consistent as one might hope.
There was a change in the MSBuild version number scheme.
MSBuild.exe exists in VS2022 BuildTools installed on 32-bit Windows, but the executable appears to be 64-bit so attempting to retrieve the version number raises an OSError.
SCons MSVC_VERSION is not used.  When employing MSVC_USE_SCRIPT, the MSVC_VERSION is user-specified and may not be reliable.  There is an example in the SConstruct.

  VS2019 and VS2022 use vswhere while VS2017 uses data files.
Note: the comment in the vsdevcmd.bat file below indicating use of devenv.exe appears to be erroneous.
VS2022 vsdevcmd.bat fragment:
...

@REM set the version number to ensure the banner/logo can print it.
@REM We set the version number to the general VS Version (e.g. 15.0)
@REM but will attempt to get a more specific build number from
@REM devenv.exe, if that file is found.
set "VSCMD_VER=17.0"
call :get_vscmd_ver
call :print_vscmd_header

...

:get_vscmd_ver

@REM VsDevCmd.bat location: Microsoft Visual Studio 17.0\Common7\Tools
@REM get version from VsWhere.exe
@REM fallback to printing default

set __VSCMD_VER=

@REM If vswhere.exe is not found we skip this section as it doesn't effect operation.
if NOT EXIST "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" (
    if "%VSCMD_DEBUG%" GEQ "2" @echo [DEBUG:%~nx0] "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" not found.
    goto:end_vswhere
) else (
    set "__vscmd_vswhere_path=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\"
)

@REM Looking for a line of the form "<semver>+<bld>", so we split the
@REM contents of the line on '+'.
pushd "%__vscmd_vswhere_path%"
for /F "tokens=1,* delims=+" %%A in ('vswhere.exe -property catalog_productSemanticVersion -path "%~dp0%~nx0"') do (
    if "%VSCMD_DEBUG%" GEQ "1" @echo [DEBUG:%~nx0] Found version "%%A"
    set "__VSCMD_VER=%%A"
)
popd
set __vscmd_vswhere_path=

:end_vswhere

if "%__VSCMD_VER%" == "" (
    if "%VSCMD_DEBUG%" GEQ "1" @echo [DEBUG:%~nx0] SemanticVersion not found
) else (
    if "%VSCMD_DEBUG%" GEQ "2" @echo [DEBUG:%~nx0] Setting VSCMD_VER="%VSCMD_VER%".
    set "VSCMD_VER=%__VSCMD_VER%"
)

:get_vscmd_ver_end

set __VSCMD_VER=
exit /B 0

...

@repiteo This probably does not matter, so feel free to ignore.
As written, the Visual Studio instance found by the vswhere.exe query in this PR may not be the same as the Visual Studio instance selected by SCons.
This can happen when there are multiple editions of the same Visual Studio product installed.  In the examples below, the VS versions numbers effectively match because I tend to update all products at the same time.  However, it may be possible that the minor version numbers are not identical based on an end-users update policy.
The vswhere option -latest returns only the newest version and last installed.
For SCons 4.8.0 and later, the Visual Studio selection order is deterministic:

Enterprise > Professional > Community > BuildTools > Express

On my development box, I have VS2022 Community and VS2022 BuildTools installed. The BuildTools edition was installed after the Community edition.  The algorithm in this PR retrieves the version information for VS2022 BuildTools while the selected SCons instance is VS2022 Community.
The following table shows the differences between the algorithm in this PR and SCons.  The column title indicates the order in which the VS editions were installed (e.g., "EPC" is Enterprise first, Professional, and Community last).  The Sort column number is the rank of VS editions from most recent installation to oldest installation.

Sort
CB
CPE
EPC
CPEB
EPCB

1
${\normalsize{\color{#EE204D}\text{VS2022-BT}}}$
${\normalsize{\color{#1F75FE}\text{VS2022-Ent}}}$
${\normalsize{\color{#EE204D}\text{VS2022-Com}}}$
${\normalsize{\color{#EE204D}\text{VS2022-BT}}}$
${\normalsize{\color{#EE204D}\text{VS2022-BT}}}$

2
${\normalsize{\color{#1CD3A2}\text{VS2022-Com}}}$
VS2022-Pro
VS2022-Pro
${\normalsize{\color{#1CD3A2}\text{VS2022-Ent}}}$
2022-Com

3

VS2022-Com
${\normalsize{\color{#1CD3A2}\text{VS2022-Ent}}}$
2022-Pro
2022-Pro

4

2022-Com
${\normalsize{\color{#1CD3A2}\text{VS2022-Ent}}}$

Selected:

${\normalsize{\color{#EE204D}PR}}$
${\normalsize{\color{#1CD3A2}SCons}}$
${\normalsize{\color{#1F75FE}Same}}$

Key:

B, BT: BuildTools
C, Com: Community
E, Ent: Enterprise
P, Pro: Professional

The SConstruct below contains PR-like and SCons-like selection algorithms.  The SCons-like algorithm is for exposition purposes only.  Internally, SCons uses a single json query to find all 2017-2022 instances and sorts the results by vs major version and edition.
Complete SConstruct:
import os
import re
import subprocess

def vswhere_godot(env):
    install_path = sem_ver = metadata = ""
    try:
        args = [env["VSWHERE"], "-latest", "-products", "*", "-requires", "Microsoft.Component.MSBuild"]
        version = subprocess.check_output(args, encoding="utf-8").strip()
        for line in version.splitlines():
            split = line.split(":", 1)
            if split[0] == "installationPath":
                install_path = split[1].strip()
            elif split[0] == "catalog_productDisplayVersion":
                sem_ver = split[1].split(".")
            elif split[0] == "catalog_buildVersion":
                metadata = split[1]
    except (subprocess.CalledProcessError, OSError):
        print_warning("Couldn't find vswhere to determine compiler version.")
    return (install_path, sem_ver, metadata)

def vswhere_scons(env):
    # ***THIS IS NOT THE WAY TO DO IT - EXPOSITION PURPOSES ONLY***
    vcinstalldir = env["ENV"].get("VCINSTALLDIR", "")
    install_path = sem_ver = metadata = ""
    for product_id in [
        "Microsoft.VisualStudio.Product.Enterprise",
        "Microsoft.VisualStudio.Product.Professional",
        "Microsoft.VisualStudio.Product.Community",
        "Microsoft.VisualStudio.Product.BuildTools",
    ]:
        instance_install_path = instance_sem_ver = instance_metadata = ""
        try:
            args = [env["VSWHERE"], "-latest", "-products", f"{product_id}", "-requires", "Microsoft.Component.MSBuild"]
            version = subprocess.check_output(args, encoding="utf-8").strip()
            for line in version.splitlines():
                split = line.split(":", 1)
                if split[0] == "installationPath":
                    instance_install_path = split[1].strip()
                elif split[0] == "catalog_productDisplayVersion":
                    instance_sem_ver = split[1].split(".")
                elif split[0] == "catalog_buildVersion":
                    instance_metadata = split[1]
        except (subprocess.CalledProcessError, OSError):
            print_warning("Couldn't find vswhere to determine compiler version.")
        if not instance_install_path:
            continue
        if not vcinstalldir or vcinstalldir.startswith(instance_install_path):
            install_path = instance_install_path
            sem_ver = instance_sem_ver
            metadata = instance_metadata
            break
    return (install_path, sem_ver, metadata)

def find_syspaths_program(syspaths, program):
    if syspaths and program:
        for pathcomp in syspaths:
            prog = os.path.join(pathcomp, program)
            if os.path.exists(prog):
                return prog
    return None

defenv = DefaultEnvironment(tools=[])
env = Environment(tools=["msvc"])

godot_install_path, godot_sem_ver, godot_metadata = vswhere_godot(env)
scons_install_path, scons_sem_ver, scons_metadata = vswhere_scons(env)

syspaths = env.get("ENV", {}).get("PATH", "").split(os.pathsep)

msbuild_exe = find_syspaths_program(syspaths, "msbuild.exe")
cl_exe = find_syspaths_program(syspaths, "cl.exe")

vcinstalldir = env["ENV"].get("VCINSTALLDIR", "")
match_path = vcinstalldir if vcinstalldir else msbuild_exe

godot_match = 1 if match_path.startswith(godot_install_path) else 0
scons_match = 1 if match_path.startswith(scons_install_path) else 0

nmarkers = 100
print("="*nmarkers)
print(f"vcinstalldir={vcinstalldir}")
print(f"match={godot_match}, godot_install_path={godot_install_path}, sem_ver={godot_sem_ver}, metadata={godot_metadata}")
print(f"match={scons_match}, scons_install_path={scons_install_path}, sem_ver={scons_sem_ver}, metadata={scons_metadata}")
print(f"msbuild_exe={msbuild_exe}")
print(f"cl_exe={cl_exe}")
print("="*nmarkers)

Sample output from VM EPCB:
scons: Reading SConscript files ...
====================================================================================================
vcinstalldir=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\
match=0, godot_install_path=C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools, sem_ver=[' 17', '11', '4'], metadata= 17.11.35312.102
match=1, scons_install_path=C:\Program Files\Microsoft Visual Studio\2022\Enterprise, sem_ver=[' 17', '11', '4'], metadata= 17.11.35312.102
msbuild_exe=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\\MSBuild\Current\Bin\amd64\msbuild.exe
cl_exe=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe
====================================================================================================
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.

Thanks!


Add blank_index parameter for ctc_greedy_decoder

This PR resolves issue #32903.
Added an extra parameter in ctc_greedy_decoder to be able to specify the blank index. Also updated test cases and documentation.

@googlebot I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Hello @ebrevdo, are there any updates on this?

@ebrevdo, Any update on this PR? Please. Thanks!

Approved.  You should fix the comments that are one space past the end of line; linter requires 2 spaces.

@pvarouktsis Any update on this PR? Please. Thanks!

@gbaned Sorry! I don't have any updates yet! I 'll start working as soon as possible.

@pvarouktsis Any update on this PR? Please. Thanks!

@pvarouktsis  Can you please check @ebrevdo's comments and keep us posted ? Thanks!

@ebrevdo thanks a lot! Did not know that I should have a default value for backwards compatibility! I' ll proceed to these changes.

Thanks!  You will additionally need to make sure that the blank_index you
calculate is not out of bounds to avoid segfaults.
On Thu, Nov 5, 2020 at 10:25 AM Panagiotis Varouktsis <
<EMAIL_ADDRESS>wrote:

@ebrevdo https://github.com/ebrevdo thanks a lot! Did not know that I
should have a default value for backwards compatibility! I' ll proceed to
these changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/39324#issuecomment-722556414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANWFGYQB3YRP3BGLTLNKT3SOLUYXANCNFSM4M4M6RBA
.

Alright! I appreciate your help!

@pvarouktsis Any update on this PR? Please. Thanks!

Unfortunately not yet, but I will have an update soon.

@pvarouktsis can you please check sanity build failures ?

Yes, will do!

@pvarouktsis  Any update on this PR? Please. Thanks!

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

Yes, I'm still valid! I'll try to have an update soon!

Yes, I'm still valid! I'll try to have an update soon!

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

It has been 15 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

Yes, I'm still valid!

Yes, I'm still valid!

@pvarouktsis Any update on this PR? Please. Thanks!

Sorry, I do not have any updates yet!

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

Yes, I'm still valid.

@ebrevdo Can you please review this PR ? Thanks!

Thank you very much!


Python 3.12 wheels on PyPI?

I was trying to install tensorflow-addons on Python 3.12 but there are no suitable wheels on PyPI and no source package so I can do a local compile: https://pypi.org/project/tensorflow-addons/#files
Whould it be possible for you to upload Python 3.12 wheels to PyPI?

The only opportunity we have is finalizing https://github.com/tensorflow/addons/pull/2866
Then the project will be wind down https://github.com/tensorflow/addons/issues/2807


Bogus launch configs showing up in launch config drop-down menu

testing #42036:
I got into a situation where bogus launch configs showed up in my drop down menu:

Instead of the 3 "Compound (...)" launch configs I would have expected a single "Compound (workspace)" entry.
After changing the name of the "Compound" launch config in the workspace settings all duplicated "Compound" entries in the drop down showed the new name.
My setup:

multi-root workspace with 3 folders each with a single launch config:

a workspace launch config "Compound" referring to two sub-launch configs: "launch": {
 	"compounds": [
 		{
 			"name": "Compound",
 			"configurations": [ "Launch f1", "Launch f2" ]
 		}
 	]
 }

Code ptr: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts#L524

I'm no longer seeing the duplicated launch configs in the menu.