Results show page has errors with report ID

Describe the bug
If a user clicks through to a report show page, they can see the full details including the list of facilities. If you refresh the page (or go back and click through to the same report), you get an error and a few empty fields. Shows up on localhost/staging/prod.

Impact
Please describe the impact this bug is causing to your program or organization.
To Reproduce
Steps to reproduce the behavior:

Log in
Click on report show page
Refresh the report show page (or click back and then click through to the same report)
See error

Expected behavior
Report show pages shouldn't show errors when refreshing or navigating around.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, please attach logs to help describe your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@drew-usds Apologies for not linking them, but PR #3025 fixed 1/2 of this bug and has been merged. I'll dig into it further and see if I can't figure out why reportId isn't properly being passed in on refresh.


Variable Length Encoder Support

Hi, I have just implemented another SoftMax module called LenSoftMax and its CUDA version. And there are the libraries:
https://github.com/anoidgit/lenn
https://github.com/anoidgit/culenn
It takes a Lua table as input, which looks like that:
{batchsize*maxseqlen(torch.(Cuda)Tensor), batchsize(torch.(Cuda)LongTensor)}
The numbers in the second vector are the actual lengths of each sequence, softmax function are limited in that length, and 0 will be filled to the padding positions.
So, I think if we could do several changes to 'onmt.modules.GlobalAttention' and related files, Encoder would be allowed to take a batch of data of different sequence lengths as input.
But I am not sure whether these changes are valuable or not, extra dependencies will be added if we want to apply these changes. Actually, these modules are prepared for Attention-over-Attention module for reading comprehension, without these modules, it can not take batch data as input.

Hi,
Thanks for sharing that. We actually implemented a custom nngraph module that handles variable length inputs. At each iteration, we update the module to fit the current sequence length distribution and it makes sure that no weight is given to padding position.

That's good, if I have known that there is already a solution, I would not have to change the C/C++ code of nn and cunn anymore. @guillaumekln


Redirections to value should be optional

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
Just like the RedirectScheme middleware, you should be able to redirect by scheme and not have to specify the entrypoint.
In my situation, my entrypoint is listening on port 7443. This is exposed to the Internet via a NAT which forwards port 443 to my 7443 port. When I attempt to use the new redirections feature, I get redirected to port 7443 rather than the typical 443.
Alternatively, allow us to provide a port option to specify the target port just like RedirectScheme supports.

Hello,
The redirection is a shortcut to manage common cases.
You seems to have a edge case, so we recommend to use the global redirection pattern instead:
services:
  traefik:
    image: traefik:v2.2
    command:
      - --entrypoints.web.address=:80
      - --entrypoints.websecure.address=:7443
      - --providers.docker=true
    ports:
      - 80:80
      - 443:443
    labels:
      traefik.http.routers.http_catchall.rule: HostRegexp(`{any:.+}`)
      traefik.http.routers.http_catchall.entrypoints: web
      traefik.http.routers.http_catchall.middlewares: https_redirect

      traefik.http.middlewares.https_redirect.redirectscheme.scheme: https
      traefik.http.middlewares.https_redirect.redirectscheme.port: 443
      traefik.http.middlewares.https_redirect.redirectscheme.permanent: true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

An entry point is just a port, it's protocol neutral, so you can also define an entry point on 443.
It's not possible to redirect a port by a scheme because a scheme can be used on any port, there is relation between port and scheme.

While I understand the separation of concerns between entry points and HTTP routers, in this case you are already providing HTTP-specific options (the redirections feature) under this supposed "protocol neutral" entry point.
Furthermore, redirections just creates a RedirectScheme internally. Exposing these options to the developer makes sense IMO.

I give you an example by using a non exposed 443 port:
services:
  traefik:
    image: traefik:v2.2
    command:
      - --entrypoints.web.address=:80
      - --entrypoints.web.http.redirections.entrypoint.to=noop
      - --entrypoints.websecure.address=:7443
      - --entrypoints.noop.address=:7443
      - --providers.docker=true
    ports:
      - 80:80
      - 7443:7443
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

The philosophy of Traefik is to manage 90% of the use-cases (the commons cases) to keep it as simple as possible.
Add new features for edge cases leads to more complexity for simple use-cases or more complexity to understand the possibilities.
As your use-case can already be managed by Traefik, we will declined, I hope you understand.
Thank you for sharing ideas :+1:


Update readme to describe building

Proposed changes

Added a description of how to build. It will help many developers who wants to get the latest materialize.css or materialize.js.
I'm not good at English, so please fix more natural if you feel something wrong.
Types of changes

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

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

hmm I got what newver arg means, but how about oldver? Doesn't seem to affect anything? 😕

@Smankusors oldver is the old version string that is replaced by gulp-replace, just a find and replace. We could make it optional in the future by reading package.json and what I like is also yarn with its version --minor command.

hmm I got what newver arg means, but how about oldver? Doesn't seem to affect anything? 😕

@Smankusors oldver is the old version string that is replaced by gulp-replace, just a simple find and replace. We could make it optional in the future by reading package.json and what I like is also yarn with its version --minor command.


Submit Feedback form working

Bug: Fixed for Feedback submit form. #197

Hi @snittoor. If your pull request (PR) is ready for review, you must use the special orange label "Ready for review". It will be known another developers to start reviewing your solution

@marla-singer : Didn't know i had to do it. Will take care of it from next time. Thank you.

@marla-singer Could you review this?

@bajiat Yep, self-assigned

@snittoor Good job :-1: It works as expected. Merge it

Thanks for quick review @marla-singer


add_api-football resolved addressable gem vulnerability

Codecov Report

Merging #6 (c94f4b1) into main (39eaf8c) will decrease coverage by 5.20%.
The diff coverage is 57.69%.

@@             Coverage Diff             @@
##              main       #6      +/-   ##
===========================================
- Coverage   100.00%   94.79%   -5.21%
===========================================
  Files           43       48       +5
  Lines          744      845     +101
===========================================
+ Hits           744      801      +57
- Misses           0       44      +44

Impacted Files
Coverage Δ

lib/football/butler/base.rb
100.00% <ø> (ø)

lib/football/butler/configuration.rb
86.71% <26.08%> (-13.29%)
:arrow_down:

lib/football/butler/football_data/teams.rb
94.44% <50.00%> (-5.56%)
:arrow_down:

lib/football/butler/api_football/teams.rb
57.14% <57.14%> (ø)

lib/football/butler/teams.rb
84.21% <57.14%> (-15.79%)
:arrow_down:

lib/football/butler/api_football/leagues.rb
61.11% <61.11%> (ø)

lib/football/butler/api_football/countries.rb
66.66% <66.66%> (ø)

lib/football/butler/areas.rb
93.33% <66.66%> (-6.67%)
:arrow_down:

lib/football/butler/competitions.rb
96.15% <66.66%> (-3.85%)
:arrow_down:

lib/football/butler.rb
100.00% <100.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


Increase income of enemies

Default should be 2 for easy.
Put 4 for normal and 6 for difficult and check balance of that.

Could be useless if #9 is implemented

Merged with #9


React 14

Is there anything diffract depends on out of 13 that prevents bumping to 14?

>=0.2.1 depends on React 14


Connected healthcheck with health function to check client status

Resolves #103 by improving the health check and putting a version of the health checker config in the repo.
The improvement is primarily that every time a health check is ran it will use client.isReady() to verify that the client is currently capable connected and functioning.

As far as I can tell after looking around a bit, the esbuild security issue looks like a non-issue. Should be safe to tell SocketSecurity to ignore it, but I'll let someone else make that call.

yeah socket-security just dislikes esbuild for some reason 😂

@SocketSecurity ignore<EMAIL_ADDRESS>


Unsupported field: enableCORS

Describe the bug
I am using the latest karavan VScode plugin version and when I try to enable CORS for rest endpoint
it gives me Unsupported field: enableCORS
Steps to reproduce the behavior

Variant
Vs Code Extension
Container Management (if applicable)
None
Operating System (if applicable)
None
Version
4.5.0
Relevant log output
No response

Please share yaml and Camel version you are running

@mgubaidullin  HYG
- rest:
    id: rest-c531
    path: test/v1
    consumes: application/json
    produces: application/json
    bindingMode: auto
    post:
      - id: post-f13f
        disabled: true
        path: inquiry
        to: direct:Inquiry
        consumes: application/json
        produces: application/json
        bindingMode: auto
        enableCORS: true
        routeId: inquiry
      - id: post-bd88
        path: payment
        to: direct:Payment
- route:
    id: route-a3bb
    description: "SP Auth "
    nodePrefixId: route-ebf
    from:
      id: from-0376
      uri: timer
      parameters:
        timerName: gen-auth-token
        period: "270000"
      steps:
        - step:
            id: step-0e9f
            description: Auth Steps
            steps:
              - process:
                  id: process-9c1b
                  description: AuthReq
                  ref: AuthReq
              - log:
                  id: log-0413
                  message: ${body}
              - removeHeaders:
                  id: removeHeaders-b555
                  description: Remove Camel Headers
                  pattern: Camel*
              - to:
                  id: to-8d87
                  description: Auth API
                  uri: https
                  parameters:
                    httpUri: optest.test.net/api/onlinepayment/Authenticate
                    bridgeEndpoint: true
                    httpMethod: POST
              - process:
                  id: process-2f31
                  description: AuthRes
                  ref: AuthRes
        - to:
            id: to-3292
            description: Cache Auth Token
            uri: caffeine-cache
            parameters:
              action: PUT
              cacheName: Auth_Token
              key: Auth_Token
              maximumSize: 1
              initialCapacity: 1
              evictionType: time_based
              expireAfterAccessTime: "270"
              expireAfterWriteTime: "270"
- route:
    id: Inquiry
    nodePrefixId: route-94b
    from:
      id: from-18a6
      uri: direct
      parameters:
        name: Inquiry
      steps:
        - step:
            id: step-8b19
            description: test Token Validation
            steps:
              - marshal:
                  id: marshal-d49b
                  json:
                    id: json-64d8
              - setProperty:
                  id: setProperty-d35e
                  name: InquiryReqBody
                  expression:
                    simple:
                      id: simple-31b3
                      expression: ${body}
                      resultType: String
              - process:
                  id: process-268d
                  description: test Token Req
                  ref: testTokenReq
              - to:
                  id: to-01c1
                  description: Keycloak Validation
                  uri: http
                  parameters:
                    httpUri: >-
                      <IP_ADDRESS>:30888/realms/master/protocol/openid-connect/token/introspect
                    httpMethod: POST
              - log:
                  id: log-da0a
                  disabled: true
                  message: After token validation == ${body}
        - choice:
            id: choice-1e9b
            when:
              - id: when-56bd
                expression:
                  jsonpath:
                    id: jsonpath-d058
                    expression<EMAIL_ADDRESS>== true)]
                steps:
                  - step:
                      id: Inquiry Steps
                      description: Inquiry Steps
                      steps:
                        - to:
                            id: to-50cf
                            description: Get Auth Token
                            uri: caffeine-cache
                            parameters:
                              action: GET
                              cacheName: Auth_Token
                              key: Auth_Token
                              maximumSize: 1
                              initialCapacity: 1
                              evictionType: time_based
                              expireAfterAccessTime: "270"
                              expireAfterWriteTime: "270"
                        - log:
                            id: log-da6b
                            message: >-
                              Token is ${body} ====== Inquiry Req body from BE
                              is ${exchangeProperty.InquiryReqBody}
                        - process:
                            id: process-3b07
                            description: InquiryReq
                            ref: InquiryReq
                        - log:
                            id: log-67eb
                            message: Inquiry Req to SP is  ===  ${body}
                        - to:
                            id: to-5126
                            description: Inquiry API
                            uri: https
                            parameters:
                              httpUri: optest.test.net/api/onlinepayment/Inquiry
                              bridgeEndpoint: true
                              httpMethod: POST
                        - log:
                            id: log-4fb9
                            message: Inquiry Res from SP is === ${body}
                        - process:
                            id: process-36b9
                            description: InquiryRes
                            ref: InquiryRes
                        - log:
                            id: log-f5cd
                            disabled: true
                            message: Before Unmarshal === ${body}
                        - setHeaders:
                            id: setHeaders-c224
                            headers:
                              - id: setHeader-2eeb
                                name: Access-Control-Request-Method
                                expression:
                                  constant:
                                    id: constant-b672
                                    expression: POST
                              - id: setHeader-14e2
                                name: Access-Control-Allow-Headers
                                expression:
                                  constant:
                                    id: constant-d801
                                    expression: Content-Type
                              - id: setHeader-4db5
                                name: Access-Control-Allow-Origin
                                expression:
                                  simple:
                                    id: simple-d087
                                    expression: "*"
                        - unmarshal:
                            id: unmarshal-4468
                            json:
                              id: json-2d1c
                              prettyPrint: true
                              library: Jackson
                        - log:
                            id: log-2503
                            disabled: true
                            message: Inquiry Res to BE === ${body}
            otherwise:
              id: otherwise-acdc
              steps:
                - process:
                    id: process-795d
                    description: Expired test Token
                    ref: ExpiredtestToken
- route:
    id: Payment
    nodePrefixId: route-94b
    from:
      id: from-661f
      uri: direct
      parameters:
        name: Payment
      steps:
        - step:
            id: step-5598
            description: test Token Validation
            steps:
              - marshal:
                  id: marshal-ba32
                  json:
                    id: json-64d8
              - setProperty:
                  id: setProperty-d5ed
                  name: PaymentReqBody
                  expression:
                    simple:
                      id: simple-31b3
                      expression: ${body}
                      resultType: String
              - process:
                  id: process-45d7
                  description: test Token Req
                  ref: testTokenReq
              - to:
                  id: to-eb05
                  description: Keycloak Validation
                  uri: http
                  parameters:
                    httpUri: >-
                      <IP_ADDRESS>:30888/realms/master/protocol/openid-connect/token/introspect
                    httpMethod: POST
              - log:
                  id: log-5e58
                  disabled: true
                  message: after validation == ${body}
        - choice:
            id: choice-89b1
            when:
              - id: when-1e9b
                expression:
                  jsonpath:
                    id: jsonpath-e6ca
                    expression<EMAIL_ADDRESS>== true)]
                steps:
                  - step:
                      id: Payment Steps
                      description: Payment Steps
                      steps:
                        - to:
                            id: to-50cf
                            description: Get Auth Token
                            uri: caffeine-cache
                            parameters:
                              action: GET
                              cacheName: Auth_Token
                              key: Auth_Token
                              maximumSize: 1
                              initialCapacity: 1
                              evictionType: time_based
                              expireAfterAccessTime: "270"
                              expireAfterWriteTime: "270"
                        - log:
                            id: log-da6b
                            message: >-
                              Token is ${body} ====== \n Payment Req body from
                              BE is  ${exchangeProperty.PaymentReqBody}
                        - process:
                            id: process-3b07
                            description: PaymentReq
                            ref: PaymentReq
                        - log:
                            id: log-67eb
                            message: Payment Req to SP ===  ${body}
                        - to:
                            id: to-5126
                            description: Payment API
                            uri: https
                            parameters:
                              httpUri: optest.test.net/api/onlinepayment/payment
                              bridgeEndpoint: true
                              httpMethod: POST
                        - log:
                            id: log-4fb9
                            message: Payment Res from SP === ${body}
                        - process:
                            id: process-36b9
                            description: PaymentRes
                            ref: PaymentRes
                        - log:
                            id: log-f5cd
                            disabled: true
                            message: Before Unmarshal === ${body}
                        - unmarshal:
                            id: unmarshal-4468
                            json:
                              id: json-2d1c
                              prettyPrint: true
                              library: Jackson
                        - log:
                            id: log-2503
                            disabled: true
                            message: After unmarshal === ${body}
            otherwise:
              id: otherwise-1077
              steps:
                - process:
                    id: process-c36d
                    description: Expired test Token
                    ref: ExpiredtestToken

Thanks its a bug in Camel to be fixed by
https://issues.apache.org/jira/browse/CAMEL-20750


Base Tutorials Overhaul

Major update to Getting started tutorials, Azure Spatial Anchor tutorials, and Multi-user capabilities tutorials
Replace main model 'TheModule' (LunarModule) with 'MarsCuriosityRover' model
Change flow to build out the experience throughout the tutorial
Upgrade to MRTK 2.4.0
Upgrade to Unity 2019.3

Docs Build status updates of commit d4b07e1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:bulb:Suggestion

Details

mixed-reality-docs/mr-learning-asa-01.md
:bulb:Suggestion
View
Details

mixed-reality-docs/mr-learning-base-01.md
:bulb:Suggestion
View
Details

mixed-reality-docs/mr-learning-base-02.md
:bulb:Suggestion
View
Details

mixed-reality-docs/mr-learning-sharing-01.md
:bulb:Suggestion
View
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/module3chapter1step12im.PNG
:white_check_mark:Succeeded

mixed-reality-docs/images/mr-learning-asa/asa-02-section2-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section3-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section4-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-4.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-5.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section5-step1-6.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section6-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section7-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section8-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section8-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-02-section8-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-03-section1-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-03-section1-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-03-section2-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-03-section3-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-04-section1-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-04-section1-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-04-section1-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section1-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section1-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section2-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section2-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section2-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section2-step1-4.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section3-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section3-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section3-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section3-step1-4.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section3-step1-5.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section4-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section4-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section4-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section4-step1-4.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-asa/asa-05-section4-step1-5.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section1-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section1-step1-2.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section1-step1-3.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section1-step1-4.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section2-step1-1.png
:white_check_mark:Succeeded
View

mixed-reality-docs/images/mr-learning-base/base-02-section2-step1-2.png
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.

.openpublishing.redirection.json

Line 185, Column 89: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-base.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-base-01' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 190, Column 89: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-base-ch1.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-base-02' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 200, Column 89: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-base-ch3.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-base-05' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 205, Column 89: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-base-ch4.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-base-07' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 220, Column 88: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-asa-ch1.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-asa-02' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 225, Column 88: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-asa-ch2.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-asa-03' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 230, Column 88: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-asa-ch3.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-asa-04' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 235, Column 88: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-asa-ch4.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-asa-05' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 240, Column 92: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-sharing(photon)-ch1.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-sharing-02' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 245, Column 92: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-sharing(photon)-ch2.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-sharing-03' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 250, Column 92: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-sharing(photon)-ch3.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-sharing-04' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 255, Column 92: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-sharing(photon)-ch4.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-sharing-05' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.
Line 260, Column 92: [Suggestion-redirection-url-not-found] Can't preserve document ID for redirected file 'mrlearning-sharing(photon)-ch5.md' because redirect URL 'https://docs.microsoft.com/windows/mixed-reality/mr-learning-sharing-05' is invalid or is a relative path to a file in another repo. Replace the redirect URL with a valid absolute URL, or set redirect_document_id to false in .openpublishing.redirection.json.

mixed-reality-docs/mr-learning-asa-01.md

Line 12, Column 1: [Suggestion-duplicate-h1s] H1 '1. Introduction' is duplicated with other articles: 'mr-learning-asa-01.md(12,1), mr-learning-base-01.md(12,1), mr-learning-sharing-01.md(12,1)'. First level headings must be unique within a docset. NOTE: This Suggestion will become a Warning in late September, 2020.

mixed-reality-docs/mr-learning-base-01.md

Line 12, Column 1: [Suggestion-duplicate-h1s] H1 '1. Introduction' is duplicated with other articles: 'mr-learning-asa-01.md(12,1), mr-learning-base-01.md(12,1), mr-learning-sharing-01.md(12,1)'. First level headings must be unique within a docset. NOTE: This Suggestion will become a Warning in late September, 2020.

mixed-reality-docs/mr-learning-base-02.md

Line 12, Column 1: [Suggestion-duplicate-h1s] H1 '2. Initializing your project and first application' is duplicated with other articles: 'mr-learning-base-02.md(12,1), unreal-uxt-ch2.md(12,1)'. First level headings must be unique within a docset. NOTE: This Suggestion will become a Warning in late September, 2020.

mixed-reality-docs/mr-learning-sharing-01.md

Line 12, Column 1: [Suggestion-duplicate-h1s] H1 '1. Introduction' is duplicated with other articles: 'mr-learning-asa-01.md(12,1), mr-learning-base-01.md(12,1), mr-learning-sharing-01.md(12,1)'. First level headings must be unique within a docset. NOTE: This Suggestion will become a Warning in late September, 2020.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Hi @hferrone,
Couple of questions:

Are those 'Can't preserve document ID for redirected file' suggestions ok as is? I think they will be resolved when merged in? Or do you want me to change the 'redirect_document_id' to 'false'? (Ideally, it should be true).
For the 'duplicate-h1s' suggestions, would you like me to update those headers? We have created an 'Introduction' page for each tutorial series, which is why there are duplicate headers. Also, the Unreal tutorial series is using the same headers as our Getting Started Started tutorials 'mr-learning-base-02.md', but we can change ours if necessary.

Hi @martinwilter
I think the suggestions are fine as-is, unless @jessemcculloch disagrees.
However, the mrlearning-base filenames are now mismatched, ie mrlearning-base-ch1.md is the second tutorial in the series :(
Can you also add red box callouts to all screenshots?

Hi @hferrone,

However, the mrlearning-base filenames are now mismatched, ie mrlearning-base-ch1.md is the second tutorial in the series :(

Actually, mrlearning-base-ch1.md was deleted with commit https://github.com/MicrosoftDocs/mixed-reality/pull/2320/commits/83b3c9bd0d074ff3e9d4df93c3874b858b4a4c33. All mrlearning-base, mrlearning-asa, and mrlearning-sharing .md files are deleted and have been replaced with mr-learning-base-01.md etc. This was done to align the file names with the general file name naming convention in the repo.
Re the mismatch, the confusion here might be that the live tutorials are improperly numbered, the second tutorial starts as mr-learning-base-01.md, while the first tutorial is simply mr-learning-base.md which causes the .md number to not match the tutorial number, something that can be very confusing both for readers and creators/maintainers:

We can change it back, but I recommend keeping the fix we provided.
__

Can you also add red box callouts to all screenshots?

We don't use red box callouts because they are distracting, they don't exist in Unity, and they limit the reader's learning.  If you present the reader with a red 'kill box' for each action they need to take, the reader will end up learning a lot less because there will be very limited learning by recollection, which is one of the most efficient learning styles.
Instead, we focus on highly accurate and informative images, meaning each image is exactly as Unity will look at that exact point in the tutorial. Not just the particular item the reader is working on, but the entire Unity editor. This allows the reader to continuously be able to cross-reference any visible part of the Unity editor, including previous, current, and future steps, helping the reader be more successful.
Additionally, we embed native Unity highlights on top of the base screenshots. Here's an example screenshot from Photoshop of image base-09-section3-step1-6.png, layer 2 and 3 are masked on top of layer 1, layer 1 maximizes the use of native Unity highlights by making sure the mouse is hovering over the RoverExplorer object when the screenshot is taken:

By the way, if you look at the live tutorial, this is the pedagogic approach we took for those tutorials and it seems to have been successful. There have been no issues requesting red boxes since we implemented these changes to the live tutorials, while before that approach, there were issues asking for them to be changed, for example, thicker box lines.
This is the methodology/thinking we've applied to these three tutorial series, hope it makes sense, but if you still feel red box callouts are needed, let me know.

@martinwilter Sounds good.
@jessemcculloch Can you merge this pull into ModuleUpdate so I can add my changes? It still won't let me push to this PR.


test(mysql/user): fail with panic, resourceOptions are optional

Description of your changes

Fixes #74
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Initial commit updates the test: remove the ResourceOptions from the object as it is
optional, this should make the unit tests fail with a panic just as observed in #74.
Second commit checks whether the desired.ResourceOptions is actually set, if not it
returns as being up-to-date as we accept the defaults. This should resolve the test failures.

I pushed this branch to release-0.4 and tested it in my dev cluster, no more panics!


Add From<&bool> for FieldValue

The way helpers are created now, the following will throw an error as an arm to resolve_property:
("type", "bool_field") => resolve_property_with(contexts, field_property!(as_type, bool_field)),

throws
--> /adapter.rs:159:17
    |
159 |                 field_property!(type, bool_field),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&bool>` is not implemented for `FieldValue`
    |
    = note: required for `&bool` to implement `Into<FieldValue>`
    = note: this error originates in the macro `field_property` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider dereferencing here
   --> /XXX/trustfall_core/src/interpreter/helpers.rs:194:13
    |
194 |             (*(&vertex.$field)).into()
    |             ++                +

where has_issues is a bool field, and the content (i.e. we have something like Vertex::Type(Rc<TypeWithBoolField>>) of the vertex enum is some form of reference (I think).
I guess we could change the macro, but I am unsure if that will create unforeseen consequences.
Edit: Another workaround is to do the following, however it feels like a lot of work for little gains
("type", "bool_field") => resolve_property_with(contexts, field_property!(as_type, bool_field), { (*bool_field).into() }),

Will be released shortly via #195.


Unable to register with the network

Hello everyone,
I haven't worked on the project for a long time.
Now I wanted to establish a connection again and get "unable to register with the network"
AT
AT
AT
AT
AT
[00]U_CELL_PWR: powering on.
AT
AT
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
M0.10.00,A.02.14
OK
AT&C1
OK
AT&D0
OK
AT+UCGED=5
OK
AT&K3
OK
AT+UPSV=4
OK
AT+CPSMS?
+CPSMS:0,,,"01100000","00000000"
OK
AT+CEDRXS?
+CEDRXS:
OK
AT+UMNOPROF?
+UMNOPROF: 0
OK
AT+CFUN=4
OK
Opened device with return code 0.
Bringing up the network...
U_CELL_NET: preparing to register/connect...
AT+CREG=2
OK
AT+CGREG=2
OK
AT+CEREG=4
OK
AT+CIMI
901405102306300
OK
U_CELL_NET: user-specified APN is "iot.1nce.net".
AT+CGDCONT=1,"IP","iot.1nce.net"
OK
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
+COPS: 0
OK
AT+CFUN=1
+CME ERROR: operation not supported
U_CELL_NET: unable to register with the network, is APN "iot.1nce.net" correct and is an antenna connected?
AT+CFUN=4
OK
U_CELL_NET: connection attempt stopped after 1 second(s).
Unable to bring up the network!
Done.

Hi Alex: getting +CME ERROR: operation not supported back from AT+CFUN=1 is quite bizarre: I assume this is consistent?

i just tried the ubxlib library from before (which i used 07.2022), the connection could be established immediately.
AT
AT
AT
AT
AT
[00]U_CELL_PWR: powering on.
[00]AT
AT
AT
AT
AT
[00]AT
AT
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
M0.10.00,A.02.14
OK
AT&C1
OK
AT&D0
OK
AT+UCGED=5
OK
AT&K3
OK
AT+UPSV=4
OK
AT+CPSMS?
+CPSMS:0,,,"01100000","00000000"
OK
AT+CEDRXS?
+CEDRXS:
OK
AT+CFUN=4
OK
Opened device with return code 0.
Bringing up the network...
U_CELL_NET: preparing to register/connect...
AT+CREG=2
OK
AT+CGREG=2
OK
AT+CEREG=4
OK
AT+CIMI
901405102306300
OK
U_CELL_NET: user-specified APN is "iot.1nce.net".
AT+CGDCONT=1,"IP","iot.1nce.net"
OK
AT+CFUN=1
OK
U_CELL_NET: registering on 26201...
AT+COPS=1,2,"26201"
OK
+CREG: 5,"FFFE","22A9B00", 7
+CGREG: 5,"FFFE","22A9B00",7
+CEREG: 5,"BCC","8","22A9B00",7,,,"00000000","01100000"
7: RegR
7: RegR
7: RegR
AT+CREG?
+CREG: 2,5,"FFFE","22A9B00",7
OK
7: RegR
AT+COPS=3,0
OK
AT+COPS?
+COPS: 1,0,"262 01 1nce.net",7
OK
AT+CGATT?
+CGATT: 1
OK
AT+CGACT?
+CGACT: 1,1
OK
U_CELL_NET: connected after 6 second(s).

I have now tried the following again and the connection can be established again.
https://github.com/u-blox/ubxlib/issues/25#issuecomment-892903911
AT
AT
OK
U_CELL_PWR: powering on, module is already on.
ATE0
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
M0.10.00,A.02.14
OK
AT&C1
OK
AT&D0
OK
AT+UCGED=5
OK
AT&K3
OK
AT+UPSV=4
OK
AT+CPSMS?
+CPSMS:0,,,"01100000","00000000"
OK
AT+CEDRXS?
+CEDRXS:
OK
AT+UMNOPROF?
+UMNOPROF: 0
OK
AT+CFUN=4
OK
Opened device with return code 0.
Bringing up the network...
U_CELL_NET: preparing to register/connect...
AT+CREG=2
OK
AT+CGREG=2
OK
AT+CEREG=4
OK
AT+CIMI
901405102306300
OK
U_CELL_NET: user-specified APN is "iot.1nce.net".
AT+CGDCONT=1,"IP","iot.1nce.net"
OK
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
+COPS: 0
OK
AT+CFUN=1
OK
AT+CREG?
+CREG: 2,0
OK
0: NReg
+CREG: 2
+CGREG: 2
-1: Search
-1: Search
+CEREG: 2,,,,,,,"00000000","01100000"
-1: Search
AT+CGREG?
+CGREG: 2,4
OK
0: OoC
AT+CEREG?
+CEREG: 4,2
OK
0: Search
AT+CREG?
+CREG: 2,2
OK
0: Search
+CREG: 5,"FFFE","22A9B00", 7
+CGREG: 5,"FFFE","22A9B00",7
+CEREG: 5,"BCC","8","22A9B00",-1: RegR
-1: RegR
7,,,"00000000","01100000"
7: RegR
AT+COPS=3,0
OK
AT+COPS?
+COPS: 0,0,"262 01 1nce.net",7
OK
AT+CGATT?
+CGATT: 1
OK
AT+CGACT?
+CGACT: 1,1
OK
U_CELL_NET: connected after 3 second(s).

now I keep getting "unable to register with the network" despite the change

For clarification, does an AT log still show +CME ERROR: operation not supported in response to `AT+CFUN=1, or is the "unable to register with the network" occurring for other reasons?  Best post a new AT log showing your current status.

One thing that our AE's have pointed out, looking at your log, is that it would be better if you were to switch to using MNO profile 100. You would do that with something like:
int32_t mnoProfile = uCellCfgGetMnoProfile(deviceHandle);
if (mnoProfile >= 0 && mnoProfile != 100) {
    uCellCfgSetMnoProfile(deviceHandle, 100);
}

I have set the MNO to 100, but unfortunately without success.
AT
AT
AT
AT
U_CELL_PWR: powering on.
[00]AT
AT
OK
ATE0
ATE0
OK
AT+CMEE=2
OK
AT+UDCONF=1,0
OK
ATI9
M0.10.00,A.02.14
OK
AT&C1
OK
AT&D0
OK
AT+UCGED=5
OK
AT&K3
OK
AT+UPSV=4
OK
AT+CPSMS?
+CPSMS:1,,,"00011000","00001010"
OK
AT+CEDRXS?
+CEDRXS: 2,"0010"
+CEDRXS: 4,"0010"
+CEDRXS: 5,"0010"
OK
AT+CEDRXS=2,2
OK
AT+CEDRXS=2,4
OK
AT+CEDRXS=2,5
OK
AT+UMNOPROF?
+UMNOPROF: 100
OK
AT+CFUN=4
OK
Opened device with return code 0.
Bringing up the network...
U_CELL_NET: preparing to register/connect...
AT+CREG=2
OK
AT+CGREG=2
OK
AT+CEREG=4
OK
AT+CIMI
901405103271762
OK
U_CELL_NET: user-specified APN is "iot.1nce.net".
AT+CGDCONT=1,"IP","iot.1nce.net"
OK
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
+COPS: 0
OK
AT+CFUN=1
+CME ERROR: operation not supported
U_CELL_NET: unable to register with the network, is APN "iot.1nce.net" correct and is an antenna connected?
AT+CFUN=4
OK
U_CELL_NET: connection attempt stopped after 1 second(s).
Unable to bring up the network!
Done.

Thanks for the AT log: getting +CME ERROR: operation not supported back from AT+CFUN=1 (i.e. powering  up the radio) is not something I've ever seen before and, unfortunately, not something ubxlib can help out with.  Do you have any other copies of the HW, in case this one is broken somehow, or is this the only one?

I have the same problem with other hardware.
Can I turn off "U_CELL_NET: setting automatic network selection mode..." somehow?
I don't remember having this with the previous ubxlib version.

Nothing has changed in this area of course: note that it is not putting the module into automatic mode, just checking that it is already in automatic mode, which is the same as it did in your success-case log:
U_CELL_NET: setting automatic network selection mode...
AT+COPS?
+COPS: 0
OK
AT+CFUN=1
OK

I'm trying to understand what is different between your success case and your fail case.

@alexmaron81: I think you said that this is no longer an issue hence I'm going to close this - please re-open if you disagree.


FER: Add hotstar and Amazon.in

hotstar essentially Disney+ of India.

I was work on hotstar.com service. But series not yet work, after all work i will merge to this repo. Maybe wanna test the build.
chrome.zip

any build for firefox?

firefox.zip
this, but i never test the firefox build

Hi @kdpuvvadi i've new build and fix the series on hotstar. Visit https://github.com/trakt-tools/universal-trakt-scrobbler/pull/212 to test the build


module 'ComposableArchitecture' was not compiled for testing

I added TCA to my application (without adding TCA test support). I can't seem to get the SwiftUI previews working anymore. After pressing "Resume" on the canvas I get the "Build Failed" HUD. Tapping "Diagnostics" gives me this error:
SchemeBuildError: Failed to build the scheme "App"

Build target ComposableArchitectureTestSupport:
note: Set ENABLE_PREVIEWS=NO because SWIFT_OPTIMIZATION_LEVEL=-Owholemodule, expected -Onone (in target 'ComposableArchitectureTestSupport' from project 'swift-composable-architecture')

Compile Swift source files:
/Users/eimantas/Development/DerivedData/App-cvsbxwitwserczdehyykapbndqjo/SourcePackages/checkouts/swift-composable-architecture/Sources/ComposableArchitectureTestSupport/TestStore.swift:4:18: error: module 'ComposableArchitecture' was not compiled for testing
@testable import ComposableArchitecture

I understand this is not the problem with TCA itself, but with either Xcode or my project settings.
I turned off -Owholemodule optimisation in ALL of the targets (the app has a watch app counterpart). I also turned off ENABLE_PREVIEWS. Even with that setting it tells me to turn them off. The project builds and I can run tests, but when it comes to getting the previews - for some reason I can't get it to build.
It's also strange that tests run just fine (because they don't have dependency on TCA's Test Support library) and the app builds. But previews for some reason just don't show up.
I also just checked the settings with vanilla project that contains TCA and it's test support - the build settings are identical which makes me even more confused :(

Let's see if anyone else encounters this issue. At the moment we need a way to reproduce to troubleshoot it. Could very well be a gotcha with tooling and maybe we could document the issue and workaround when we know it!

I just added the library to a new iOS project and previews don't compile anymore. The only error Xcode points to is the Reducer file.

But I don't think this is the issue, it seems like the compiler is trapping somewhere. I see "Command CompileSwift failed with a nonzero exit code" for a lot of files in the library.

The funny thing is compiling and running works just fine, is just when Xcode compiles for previews. ¯_(ツ)_/¯

@alexito4 Can you zip the project up an attach it here? Would love to pull it down and troubleshoot.

Todos.zip

I've narrowed this down a little and it's somehow related to https://github.com/pointfreeco/swift-composable-architecture/commit/4016008d87db1e6c9b1533a8f74e607758bcaacf#diff-cff665441bd6f271c87862ed5497c3b3R101-R103
It seems that doing anything related to self after the yield causes the crash:
https://gist.github.com/huynguyen/f4e3622531b35d2da68b2b0ade20706d#file-gistfile1-txt-L68-L91
I'm not familiar with the behavior of _modify and yield but commenting out the offending lines enables previews again. Additionally using self after yield on the func above  will cause the same kind of error.
I can also upload another example if it helps, but it's just a blank project with the TCA added via swiftPM, not even imported.

Maybe the way forward is to go back to the blessed set property observer and take the performance hit for this case?
  public subscript(id id: ID) -> Element? {
    get {
      self.dictionary[id]
    }
    set {
      self.dictionary[id] = newValue
      if self.dictionary[id] == nil {
        self.ids.removeAll(where: { $0 == id })
      }
    }
  }

Adding another data point. It started failing for me after I upgraded to 0.1.1. Downgrading to 0.1.0 solves the issue and makes previews build again.
This is in Xcode 11.4.0.

Same thing here. I had the same issue, and downgrading to 0.1.0 fixed it.

@alexito4 Can you zip the project up and attach it here? Would love to pull it down and troubleshoot.

I just sent you a DM with the zip.

It seems that doing anything related to self after the yield causes the crash:
https://gist.github.com/huynguyen/f4e3622531b35d2da68b2b0ade20706d#file-gistfile1-txt-L68-L91

Good find!

Maybe the way forward is to go back to the blessed set property observer and take the performance hit for this case?

😔 I think so. It shouldn't be too much of a performance hit, and we can evaluate other routes of optimizing IdentifiedArray in the future.
I'll prepare a fix and a quick 0.1.2 bump, thanks!

@eimantas (and everyone experiencing similar issues): could you point your projects towards this branch/commit and confirm that it fixes things? https://github.com/pointfreeco/swift-composable-architecture/pull/31

I appreciate the effort!
I've pointed the SPM to the branch, however it doesn't fix my issue. I still get the same broken build when trying to preview the views.
I wonder if I'm writing some funky UI view 🤔

could you point your projects towards this branch/commit and confirm that it fixes things? #31

Pointing to master and seems to be working 👌

I've pointed the SPM to the branch, however it doesn't fix my issue. I still get the same broken build when trying to preview the views.

not useful answer I know, but make sure you clean everything and close Xcode. Xcode & previews are quite stubborn 😂

I've pointed the SPM to the branch, however it doesn't fix my issue. I still get the same broken build when trying to preview the views.

Bummer. Let us know if you find a fix or a repro you can attach! At least the PR fixed things for everyone else 😅 I've released 0.1.2, which folks can bump to.

Thanks, as long as I'm able at least to run the app with CTA I'll keep updating and trying :)

So I went the easy path with lots of work - setup an empty project and moved all the files to it as well as readded all the Swift packages and updated all the custom project settings.
It now builds, runs tests and I can see the previews.

Glad to hear migrating things over worked. I'm sure it was a pain! We'll close this out but will try to be mindful of any similar issues that come in in the future. Would be nice to know what exactly about these Xcode projects is the problem.

So I found the answer to the issue. I found it in this thread from Apple's Developer forums.
Long story short - Xcode can only build Debug configuration of Swift packages. So be sure that the thing you're building is actually using Debug scheme and not some other (like I after renaming Debug to Develop) 🤦

Oh nice, good find! Thanks for following up

So I found the answer to the issue. I found it in this thread from Apple's Developer forums.
Long story short - Xcode can only build Debug configuration of Swift packages. So be sure that the thing you're building is actually using Debug scheme and not some other (like I after renaming Debug to Develop) 🤦

Faced a similar problem a few hours ago with the error ´Cannot find 'TestStore' in scope´. Note that the TestStore is preceded with a #if DEBUG. At that time I assumed something went wrong with the debug flags on project settings. NOT! 🤦
Later I found out that what worked for me is to have the configuration names with a Debug prefix, like: 'Debug-Staging' Hope this helps someone else! 🙏


proposal: io: new Timeout interface implemented by errors

background
Currently there is a private interface in net, errors, and os that is used to check for if an error is a timeout:
type timeout interface {
        Timeout() bool
}

While these interfaces can only used inside the packages they are defined in, the specification leaks into many public apis for other packages: net/http, syscall, context, etc.
implementation
We should expose one common interface:
package io

type Timeout interface {
        Timeout() bool
}

alternatives
It would likely be better to expose io.ErrTimeout and ensure everybody implements errors.Is(err, io.ErrTimeout), but that would be a breaking change, so it is not advocated for here. That being said, I am in favour of that too, but for compatibility, it would need to be both. I also recall their being a larger discussion, that I cannot find, about the topic of ErrTemporary, ErrTimeout, and the like.
If we wanted to reserve io.Timeout for something better, we could call this io.Timeouter, but it sounds strange. io may not be the right package either, but os woudl make for a circular dependency and errors did did not seem, strictly speaking, better.
drawbacks
This interface is not strictly speaking required, but it is a compile time contract between library and consumer, and does make the following code read better:
var t interface{ Timeout() bool }
if errors.As(err, t); t.Timeout() { /* ... */ }

// versus

var t io.Timeout
if errors.As(err, t); t.Timeout() { /* ... */ }

ErrTimeout is a tricky one: see #33411 and the things it links to for reference.
As for a Timeout interface in package io, I'm not sure. It seems to me like timeouts are not strictly related to I/O.

As for a Timeout interface in package io, I'm not sure. It seems to me like timeouts are not strictly related to I/O.

Since almost every usage I could find related to error handling, errors.Timeout works for me and does not introduce a dependency cycle. Upon second review, it looks like os.Timeout does not introduce a cycle for io, but like os.Error may not be a good idea.

As you say, we generally encourage errors.Is these days.  We could add an os.ErrTImeout that supports errors.Is(err, os.ErrTimeout).  Note that this can be implemented using an Is method on errors that currently have a Timeout method that returns true, so it should be entirely backward compatible.
Something like
package os

var ErrTimeout timeoutError

type timeoutError struct{}
func (timeoutError) Error() string { return "timeout" }
func (timeoutError) Timeout() bool { return true }

func (e *PathError) Is(err error) bool {
    if err == ErrTimeout {
        return e.Timeout()
    }
    return false
}

/cc @neild @mpvl @dsnet
We intend for errors.Is to be the way to check these kinds of things moving forward.
We left the Timeout method out because there were some semantic issues that we still haven't resolved.
I don't have the prior discussions at hand but I think they are in the issue tracker.

To be clear xxx.Timeout would work with errors.As, but I like the confirmation that errors.Is is preferred.
That being said, the proliferation of interface{ Timeout() bool } speaks to some degree of community confusion: os.PathError.Timeout, net.OpError.Timeout, etc.. Especially if this interface is officially deprecated, I think it would be useful to add both symbols and mark xxx.Timeout as deprecated to inform consumers of this fact. The standard library could deprecate all the methods instead, but this would miss third party usage.
Since there seems to be consensus on ErrTimeout I am happy to include that in the proposal, or spawn a new issue, let me know what is preferred, but I would also like to get a decision on xxx.Timeout.

Note that this can be implemented using an Is method on errors that currently have a Timeout method that returns true, so it should be entirely backward compatible.

That can be done for errors in the standard library, but we cannot easily update user-defined timeout errors to do the same. (See https://github.com/golang/go/issues/33411#issuecomment-517534266.)

We'd obviously never have used the interface { Timeout() bool } approach of marking timeouts if errors.Is had existed back in the day. If we want to support a common classification for timeout errors, then errors.Is(err, ErrTimeout) seems like the correct approach to me.
#33411 argues against having a common classification for timeouts.

We've seen net.Error.Timeout() become nearly useless because it got overloaded with too many different (and requiring different handling) timeout errors. Did a DNS request timeout, requiring a retry of the Dial? Did the keep-alive hit, breaking the connection? Did the deadline hit, meaning the Read can be retried after resetting it? Did a timeout happen that caused a fatal error that can't be retried? (More at #31449.)

So I think the real question is: Should we be providing a way of identifying timeouts in general, or not?
Obviously, we are providing that way right now in the form of interface { Timeout() bool }, but perhaps it was a mistake to do so. If it was a mistake, then we should update documentation to discourage using that method and we should avoid adding new implementations of it in the future.
On the other hand, if a common classification for timeouts is something we want, then adding os.ErrTimeout back seems like a sensible way to provide it.

So I think the real question is: Should we be providing a way of identifying timeouts in general, or not?

I am relatively agnostic on the issue, so will let the more passionate among us decide.

Obviously, we are providing that way right now in the form of interface { Timeout() bool }, but perhaps it was a mistake to do so. If it was a mistake, then we should update documentation to discourage using that method and we should avoid adding new implementations of it in the future.

Where would you want to update documentation? Even catching all standard library implementations will miss third party libraries. Do you think it is worth adding an immediately deprecated symbol to serve this purpose?

Where would you want to update documentation? Even catching all standard library implementations will miss third party libraries. Do you think it is worth adding an immediately deprecated symbol to serve this purpose?

If we decide that grouping together timeouts from different sources was a bad idea (which I don't have a strong opinion on at the moment), then we should probably remove documentation that mentions the Timeout method and add deprecation notices to net.Error and any exported instances of Timeout.

Now that @neild mentions it, I agree: we shouldn't be pushing the Timeout method or the hypothetical os.ErrTimeout at all.  It's been historically painful, and we should just let it drop.
I sent the documentation-only https://golang.org/cl/239705 to help with that process.

I missed this before, but there is an extant testing/iotest.ErrTimeout. Seems limited in scope, but it did not appear to be part of any of these discussions.
If this is the direction we are pushing in, it strikes me that three classes of usage should be amended:
methods
Public symbols should be deprecated to clarify usage to consumers:

net.AddrError.Timeout
net.DNSConfigError.Timeout
net.DNSError.Timeout
net.InvalidAddrError.Timeout
net.OpError.Timeout
net.UnknownNetworkError.Timeout
net/url.Error.Timeout
os.IsTimeout
os.PathError.Timeout
os.SyscallError.Timeout
syscall.Errno.Timeout (unix, windows, js)
syscall.ErrorString.Timeout (plan9)

Probably good to deprecate internal symbols too:

context.deadlineExceededError.Timeout
crypto/tls.timeoutError.Timeout
internal/poll.TimeoutError.Timeout
net.addrinfoErrno.Timeout
net.addrinfoErrno.Timeout
net.addrionfo.Errno.Timeout
net/http.http2httpError.Timeout
net/http.httpError.Timeout
net/http.tlsHandshakeTimeoutError.Timeout
net.timeoutError.Timeout

godoc
As already started by @ianlancetaylor, we should purge all mention from documentation, leaving the behaviour as vestigial. His CL 239705 covers:

net.PacketConn.ReadFrom
net.PacketConn.WriteTo
net.Conn.Read
net.Conn.Write

But not:

os.File.SetDeadline
crypto/tls.Conn.Read
net/http.Client.Do
net/http.Client.Get
net/http.Get

callsite
While potentially overkill, it may be good to add a clarifying warning comment around current usage. It would serve to freeze the current implementation, while dissuading readers from copying the pattern.

context/context_test.go:650
context/net_test.go:18
context/net_test.go:19
crypto/tls/handshake_client_test.go:1980
crypto/tls/handshake_client_test.go:494
crypto/tls/handshake_server_test.go:1591
crypto/tls/tls_test.go:206
net/dnsclient_unix.go:263
net/error_test.go:654
net/http/client_test.go:1274
net/http/client_test.go:1319
net/http/client_test.go:1985
net/http/client_test.go:1986
net/http/server.go:1755
net/http/server.go:705
net/http/transport_test.go:2275
net/http/transport_test.go:3152
net/lookup_test.go:559
net/lookup_test.go:565
net/mockserver_test.go:297
net/mockserver_test.go:323
net/mockserver_test.go:515
net/net.go:502
net/net.go:505
net/protoconn_test.go:225
net/protoconn_test.go:232
net/protoconn_test.go:44
net/protoconn_test.go:51
net/rawconn_test.go:133
net/rawconn_test.go:142
net/rawconn_test.go:156
net/rawconn_test.go:170
net/timeout_test.go:197
net/timeout_test.go:253
net/timeout_test.go:347
net/timeout_test.go:414
net/timeout_test.go:471
net/timeout_test.go:479
net/timeout_test.go:525
net/timeout_test.go:596
net/timeout_test.go:644
net/timeout_test.go:688
net/timeout_test.go:721
net/timeout_test.go:763
net/timeout_test.go:88
net/timeout_test.go:884
net/udpsock_test.go:394
net/udpsock_test.go:438
net/unixsock_test.go:116
net/unixsock_test.go:166
net/url/url.go:35
net/url/url_test.go:1622
net/url/url_test.go:1623
os/error.go:107
os/error.go:53
os/error.go:69
syscall/syscall_js.go:78
syscall/syscall_plan9.go:72
syscall/syscall_unix.go:141
syscall/syscall_windows.go:158
vendor/golang.org/x/net/nettest/conntest.go:400
vendor/golang.org/x/net/nettest/conntest.go:401

The discussion above has died out, but it sounds like the general consensus was that while there may be some cleanup to do, we should probably not bother trying to define a "generic timeout", nor a predicate for checking for one.
That said, it seems a bit too aggressive to deprecate the Timeout method on existing errors, but that's not what this proposal was suggesting.
Based on the discussion, the proposal as currently titled - "io: new Timeout interface implemented by errors" - seems like a likely decline.

No change in consensus, so declined. We still need to figure out timeouts, but a new Timeout interface isn't the way.

So, to confirm you are declining both the new io.Timeout symbol, as well as deprecation of existing Timeout() bool methods?

@rsc: I am going to close this out, since it is declined, and I think you forgot to do that? However, I would like clarification about what exactly was declined, see my previous comment.


Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.Project'

am in the process of creating Azure Resource Manager deployment templates for my project using the Azure Resource Group Project in Visual Studio 2015 project templates. I successfully managed to create the projects before. But today, I updated the Azure SDK to v2.9.5 and suddenly the project creation failed. It failed with the following error message.

Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.Project'. This operation failed because the QueryInterface call on the COM component for the interface with IID '866311E6-C887-9833-645F5B93F6F1}' failed due to the following error: No cush interface supported (Exception from HRESULT: 0x80004002 (E_NONINTERFACE)).

This exception happens when i select starting template from the template selection dialog box (I selected WebApp+SQL template. This fails for other templates as well). So after this the project is incomplete created.
I faced this same issue in 3 different PCs with Azure SDK v2.9.5 installed. It seems to me that this is related to the SDK. is this a known issue? If not how should i fix this.

@kasunkv This repository is for the azure management libraries.  Please raise this question through the Azure forum or other Azure support channels.

@kasunkv did you find a solution to this? I'm facing the same issue.
There's not an obvious Azure forum to post this in.

@naeemsarfraz Actually no. the issue still exists. What i did was manually create the missing project files and continued from there. For me project was partially created and template and parameter json files were missing while Powershell deployment script was created.

@naeemsarfraz  Also, got a reply to my stackoverflow question here. Seems like they know about the issue and they are working on a fix. Good news.. :)

@kasunkv fanstatic, thanks!


3758 form submission panel use class

Hi,
This is is a fix, so no documentation needed, existing tests on the FormSubmissionsPanel pass and I have added a new test for FormSubmissionsPanel on a model that uses a custom form submission class.
This will resolve #3758

Thanks @lb-! Merged in a42893f49791c75474426a81ce3ec98a3458d1f3.


Update deny-certificate-permissions-transact-sql.md

@AssafFraenkel : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit e87472c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/t-sql/statements/deny-certificate-permissions-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@VanMSFT
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Docs Build status updates of commit e87472c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/t-sql/statements/deny-certificate-permissions-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Matching i18n etc. do not work in ignoreFiles

Until version 0.42 I used a simple regex to ignore all .json files in the translation directory: i18n/.+\\.json$. It seems like the the new virtual filesystem broke this behavior. Is there a new and preferred way to do this now or can this be fixed?
Regexes without directories seem to work (e.g. .+\\.json$).

A note on this topic: We have now merged these different Hugo folders (i18n, layouts) into separate roots as a composite of project + themes. Which is obviously simpler than having to do "check first the project and then the theme" logic every time this is needed.
But with the upcoming Hugo release, we should be able to match against the real filename in this case, which may what we want. But this will have to wait a little.

Hi all,
Is there already some progress for this? At k8s we're still having the following problem:
https://discourse.gohugo.io/t/ignorefiles-and-i18n-expected-behavior/15097
We're using OWNERS files for determining whether someone can give his/her approval for a specific file. We want to add this OWNERS file to the i18n/ directory as well, however won't ignore the file and will give the following error message:
ERROR 2019/04/30 18:02:43 "/src/i18n/OWNERS:1:1": failed to load translations: failed to unmarshal OWNERS: unsupported file extension

We're having the following ignoreFiles in place, which perfectly ignores the OWNERS files from other directories:
ignoreFiles = [ "^OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]

See relevant documentation:

To exclude specific files from the content, data, and i18n directories when rendering your site, set ignoreFiles to one or more regular expressions to match against the absolute file path.

Examples to exclude i18n/OWNERS:
ignoreFiles = ['/OWNERS$']
ignoreFiles = ['i18n/OWNERS$']
ignoreFiles = ['/i18n/OWNERS$']
ignoreFiles = ['^/home/user/project/i18n/OWNERS$']

This may not have worked when the issue was created, but it works as desired in v0.111.3.


Overlap after reloading window with new markdown renderer

Testing #119367

Open vscode's README in the markdown notebook
Edit ## Contributing
Reload the window

Cells overlap with the image, only happens with the new renderer

I can reproduce this by

scroll the markdown notebook a bit down, and the image is displayed partially

reload


Add Blob I/O

Incremental Blob I/O
This PR adds support for Incremental Blob I/O.
Notes

Modeled after backup using a driver connection.
The interfaces io.Reader and io.Closer have been implemented.
Related to issue #239

If this PR makes sense, I'll enhance it with additional io interfaces.

Codecov Report
Base: 45.96% // Head: 46.92% // Increases project coverage by +0.95% :tada:

Coverage data is based on head (7f0a6fb) compared to base (da62659).
Patch coverage: 72.13% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1083      +/-   ##
==========================================
+ Coverage   45.96%   46.92%   +0.95%
==========================================
  Files          11       12       +1
  Lines        1499     1560      +61
==========================================
+ Hits          689      732      +43
- Misses        670      681      +11
- Partials      140      147       +7

Impacted Files
Coverage Δ

blob_io.go
72.13% <72.13%> (ø)

sqlite3.go
52.53% <0.00%> (-0.12%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rittneje are you okay to merge?

Hello!

The Linux builds with libsqlite3 fail with:
=== RUN   TestBlobRead
    blob_io_test.go:46: no such vfs: memdb
--- FAIL: TestBlobRead (0.00s)

I don't know how to fix this.

Problem is like this:

github actions uses ubuntu-latest, which is focal release, version 20.04 (stable release) at time of writing this answer
default version of sqlite3 in this release of ubuntu is 3.31.0
it's compiled without SQLITE_ENABLE_DESERIALIZE which is required to enable memdb vfs in sqlite verison < 3.36.0

So - vfs=memdb will not work in ubuntu focal. You would need to recompile libsqlite3 deb package and add SQLITE_ENABLE_DESERIALIZE option to make. Without it memdb is just not there. And package libsqlite3-dev do not consist c code of sqlite3 - it's .a and .so files, already precompiled.
This behaviour was changed in sqlite 3.36.0 - SQLITE_ENABLE_DESERIALIZE is defined by default, you need to explicity disable it by defining SQLITE_OMIT_DESERIALIZE option during sqlite compilation.
So, there are imho there are two solution of this problem:

use connection string: "file:foobar?mode=memory&cache=shared" - maybe only if version of sqlite3 is < 3.36.0
or use connection string ":memory:" and set db.SetMaxOpenConns(1) (mayb followed by db.Ping() to create conn?) to limit all access to the same memory database on all versions of sqlite, including sqlite3

This problem will disappear after ubuntu will release next LTS version, and github action will change ubuntu-latest to this LTS version - there should be at least sqlite3 3.37.0 there.

sugested fix (will work with any version of sqlite):
diff --git a/blob_io_test.go b/blob_io_test.go
index 3e6fb91..b98df8d 100644
--- a/blob_io_test.go
+++ b/blob_io_test.go
@@ -25,12 +25,14 @@ var _ io.Closer = &SQLiteBlob{}
 type driverConnCallback func(*testing.T, *SQLiteConn)

 func blobTestData(t *testing.T, dbname string, rowid int64, blob []byte, c driverConnCallback) {
-       db, err := sql.Open("sqlite3", "file:/"+dbname+"?vfs=memdb")
+       db, err := sql.Open("sqlite3", ":memory:")
        if err != nil {
                t.Fatal(err)
        }
        defer db.Close()

+       db.SetMaxOpenConns(1)
+
        // Test data
        query := `
                CREATE TABLE data (

@joriszwart In this particular case :memory: should work. However, the need to throttle the connection pool to one can cause some issues in general. If you make that change, you should also add comments explaining it is specifically to support older SQLite versions and developers should always use file:/<name>?vfs=memdb instead whenever possible. (Developers may reference these test cases to see how to use the blob i/o feature.)
Really I think we need a better approach for dealing with testing libsqlite3 in general. But that is an issue beyond the scope of your changes.

Any updates on this? It looks very interesting and enables "streaming" to and from the database! 👍

@joriszwart I am away from my dev machine or I'd just add those two len checks myself. They should be pretty simple to add.

A shame this was abandoned. Thanks for trying @joriszwart !


Exception decrypting access token

Describe the bug?
I'm troubleshooting a bug where a user with a Samsung Galaxy S23 running Android 14 with a freshly installed app, gets an unexpected decrpytion error trying to read the access token from the default credential on app launch. We haven't been able to replicate it on other devices yet.
Using Okta Mobile Kotlin 2.0.1
The method returning the access token:
fun getAccessToken(): String? {         return Credential.default?.token?.accessToken     }
We are migrating over from the old Okta okta-oidc-android in this version of the app. The weird thing is, it works fine for this user when updated from that older version and going through the legacy token migration process. It just throws this exception when installing fresh on this new version without having a previous version. I would just expect this method to return null in this case on fresh install as there is no access token yet. This is currently an unhandled exception as I wasn't expected an error thrown from asking for the credential.
If I handle this exception will the app recover gracefully once a new access token is put in the Credential after authenticating? Any idea what is going on here? It's almost like there's some sort of persistent data between an install that it is trying to decrypt.
The exception is as follows:
javax.crypto.AEADBadTagException
caused by
Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: system/security/keystore2/src/operation.rs:850: KeystoreOperation::finish
Some additional stack trace information:
javax.crypto.AEADBadTagException
        at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:632)
        at javax.crypto.Cipher.doFinal(Cipher.java:2056)
        at com.okta.authfoundation.util.AesEncryptionHandler.decryptString(AesEncryptionHandler.kt:57)
        at com.okta.authfoundation.credential.DefaultCredentialIdDataStore.getDefaultCredentialId(DefaultCredentialIdDataStore.kt:43)
        at com.okta.authfoundation.credential.DefaultCredentialIdDataStore$getDefaultCredentialId$1.invokeSuspend(Unknown:14)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown:1)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown:1)
        at com.okta.authfoundation.credential.Credential$Companion.getDefault(Credential.kt:158)
...

Caused by: android.security.KeyStoreException: Signature/MAC verification failed (internal Keystore code: -30 message: system/security/keystore2/src/operation.rs:850: KeystoreOperation::finish

Caused by:
    0: system/security/keystore2/src/operation.rs:426: Finish failed.
    1: Error::Km(r#VERIFICATION_FAILED))
        at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:435)
        at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
        at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
        at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
        at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
        at android.security.keystore2.AndroidKeyStoreAuthenticatedAESCipherSpi$BufferAllOutputUntilDoFinalStreamer.doFinal(AndroidKeyStoreAuthenticatedAESCipherSpi.java:396)
        at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:624)
        at javax.crypto.Cipher.doFinal(Cipher.java:2056)
        at com.okta.authfoundation.util.AesEncryptionHandler.decryptString(AesEncryptionHandler.kt:57)

What is expected to happen?
Requesting the default credential /access token should not result in an exception and instead should return null if does not exist.
What is the actual behavior?
Fresh installed app on a certain device throws a decrpytion error as if trying to decrypt something already existing.
Reproduction Steps?
Install a fresh app using Okta Mobile Kotlin 2.0.1 and call Credential.default?.token?.accessToken
Unfortunately may be device specific.
Additional Information?
No response
SDK Version and Artifact(s) used.
2.0.1
implementation 'com.okta.kotlin:auth-foundation:2.0.1'
implementation 'com.okta.kotlin:web-authentication-ui:2.0.1'
implementation 'com.okta.kotlin:legacy-token-migration:2.0.1'
Build Information
No response

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

Hi @davidhartley, this is a strange bug. I have the same device, so I can check whether I run into this issue or not. For some reason, the datastore for storing default credential ID is providing an invalid non-null value for that user. It might be possible to recover here by catching the exception, and setting a new default credential.
Is it possible that this user has two devices and the app is getting restored from a backup? That would cause this exact issue as well. I am looking into specifying backup filter rules so that encrypted preferences in this SDK don't get restored from a backup.

This should be fixed in 2.0.2. But, if you continue encounter this issue, please feel free to reopen


TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

The below error happens in most of the course-v3/nbs/dl2 note books ( from 09c_add_progress_bar.ipynb to 12c_ulmfit.ipynb)

So commented self.last_v = None in ProgressBar class,  init() function.

No, the none is needed to trigger some specific behavior (it means the bar has not been initialized) so this is not the right way to fix your problem. Will look into this today.

Making an if none test where this value is used is better to fix this.


How Can i deploy traccar on a host

I want to host the application online, I don't know how to install it on hosting accounts( Hosting service provided by hostgator/godaddy or others) Can you please specify account type i need to buy?

I want to deploy it online i have successfully installed it on my windows system and now i want to use it on a web server to host it online.

i think can u use vps at http://www.vultr.com/?ref=7029990-3B
i see your vps clond have averyting traccar need to use and low cost :)

@CVSz  Thanks a lot :+1:  can you please also tell me how to install it online?
( i am a newbie in deploying application online any good study material that i can go through could also help me out)
Thanks.

@CVSz  Thanks a lot :+1:  can you please also tell me how to install it online?
( i am a newbie in deploying application online any good study material that i can go through could also help me out)
Thanks.

tell me if you need more help

You need a VPS. When you get VPS, just download  installation package and follow README file instructions.

thanks a lot @tananaev :+1:
i have done some tweaks in the UI. Can i create package of the modified version and then install it?
If yes how can i create package ?

I would recommend to manually update the files on the installed system. Packaging installer is not an easy task. Note that you would still need to minify JavaScript files if you have modified anything there.

@CVSz  will block storage option here be enough to host this application ?
Thanks.
https://www.vultr.com/pricing/blockstorage/

yes, bro it's optional not required if you need more enough can you pay

Hi,
Trying to upgrade from 3.7v to 3.8v.
I used this command
"wget https://github.com/tananaev/traccar/releases/download/v3.8/traccar-linux-64-3.8.zip"
but it wouldn't work. I don't have any tracker device on the server yet, so I want to install a clean 3.8v.  Do I need to uninstall the 3.7v first? I used this command
"sudo /opt/traccar/bin/traccar remove"
and try installing the new release 3.8v with this command
"wget https://github.com/tananaev/traccar/releases/download/v3.8/traccar-linux-64-3.8.zip"
yet it respond with an error 404:not found.
Please help me out, what should I do? or what am I not doing correctly?
Thanks

The links that you are using are incorrect. Please use ones from the official website:
https://www.traccar.org/download/

I have been using Silicon House dedicated servers for my requirements. Check out https://www.siliconhouse.net/traccar-gps-tracking-hosting
They are the best. Moreover they give you optimized Traccar with Mysql too. Also I can integrate with my site using php and mysql. Like run my portal as well as GPS tracking in the same server.


Add ParentNode and ChildNode pure interfaces to the appropriate types

Some ParentNode methods were missing, and the ChildNode methods were missing from all 3 ChildNode types. whatwg spec docs for ChildNode here: https://dom.spec.whatwg.org/#interface-childnode

Test changes look more than I would expect, but are outside of anything I touched and look similar to what I get off a test run on master so not quite sure what that means.

Skimming the test failures -- these look normal/acceptable, they just need to be recorded. It seems most of them are just line number changes (or slight variations of the same previous message).
The way our older tests work is by comparing output, so if content in test files move around then line numbers change and the "expected" output changes and needs to be re-recorded.
If you can re-record the .exp file for tests/dom/ so we can take this?

@jeffmo how do you do that?

Oh sorry:
If you run the tests then you'll be left with a tests/dom/dom.out file after the test fails. Just do cp tests/dom/dom.out tests/dom/dom.exp and then re-run tests to be sure things pass.

@jeffmo Thanks! Seems to be working great now!


Dead link in Chronograf docs

Trying to get more info on OAUTH and Chronograf.
Went to https://docs.influxdata.com/chronograf/v1.7/administration/managing-chronograf-users/ , which shows a link for 'managing security' (https://docs.influxdata.com/chronograf/1.7/administration/managing-security/) which 404s.
I tried substituting 1.6 for 1.7 and that did not work either.

also
http://docs.influxdata.com/chronograf/v1.7/administration/creating-connections/#managing-influxdb-connections-using-the-chronograf-ui
Step 4. has a link to https://docs.influxdata.com/chronograf/v1.7/create-a-dashboard which is non-existent


Online indicators broken with BetterDiscord 1.8.5

Describe the bug
Since the 1.8.5 update to the BetterDiscord Core, the online indicators don't show as coloured squares around the profile pics anymore. Instead, the show as coloured squares of various shapes and sizes without any apparent pattern.
To Reproduce
Update BetterDiscord to version 1.8.5 - no issues on 1.8.4
Screenshots
*

*
Infomation (please complete the following information):
Discord channel: Stable
OS: Windows
Mod: BetterDiscord
Discord language: German

Was fixed for a while, unfortunately the exact same issue is back now... possibly an issue of BetterDiscord itself but I can't say


BUG:Add to cart Not responsive

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
in the add to cart ,enter details is not responsive

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Rohitha-pudu This issue already exists. Please check the existing issues before raising a new
one. Find another issue or feature to contribute to. Thank you!


Batch Functionality - Python

How do you use the batch function when docking many ligands in python? The documentation briefly mentions the option of using batch mode for virtual screening, but doesn't seem to explain how to use it.

Hi OphirGenomica,
Good catch! Indeed I forgot to add a tutorial about the batch docking feature in the documentation..
Briefly, the batch mode can be used by simply replacing the --ligand argument by --batch. Here an example with the AutoDock4 scoring function:
vina  --batch pdbqt_ligands/*.pdbqt --maps 1iep_receptor --scoring ad4 --dir pdbqt_docked
with pdbqt_ligand being the directory containing the input PDBQT files and pdbqt_docked where the docking results will be saved. Don't forget to create the pdbqt_docked directory before starting the docking calculations.

Thank you!


add support for promotion code usage and validation

It might be possible to get rid of the lower(value) stuff in the queries by using a before_save callback on the promotioncode table to force the codes to either lower or uppercase. Usually promo codes are all uppercase but that would require a migration on the production server so i dno if its worth it. Anyway, looks good to me.

One more thing: will this work if user removes a promo code from cart after applying it?

@robinsingh-bw nope it won't. once successfully it is consumed

Alright merge merge.

@robinsingh-bw yeah Ideally production data in spree_promotion_codes would be nice to have all uppercase. But there's both upcase and downcase.
Sadly.

Yeah will do after I run a manual acceptance test locally 👌


HXARAB

Source name
HXARAB
Source link
https://theporndude.com
Source language
العربية
Other details
+18
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

Did you mean hxarab.com? That site appears to be offline.


Idea: Add a way to clear console log output.

Improvement Idea:
Make it easy to clear the log window.

If your code produces a lot of console output every time you run its good to be able to clear the log.
Why:
There's no obvious way to do it now other than reloading the page.  Even console.clear() in the code doesn't work

Alternative ideas:

I'd be open to adding a cmd + k key command to clear the console 👍

Please add this. A keyboard shortcut is alright, but it ought to be clearly discoverable to the user.
Since the playground is overriding the console methods, why not also do the same for console.clear too?

I could be open to a navigation bar similar in the plugin space at the top or bottom of the plugin space with a clear button -

It'd have to work in light/dark/mobile. I'm unlikely to work on this, so it'd need to come from the community.

I've been looking for a way to clear the log, but nothing was discoverable. Had to arrive at this issue to learn about the shortcut.
Suggestions:

(Easy) Mention the shortcut at https://www.typescriptlang.org/play?#handbook-4 ("Running code" help page)
Add a button in the Logs tab to clear the log.
Add a button to display keyboard shortcuts.

Is there a way? I'm searching everywhere for how to clear the logs w/o losing all my work.

@chrisdel101 This is a magic button you're looking for :)


Pneumaticcraft in a compact machine preview crash.

Compact Machines version: 3.0.8-b200 [Modern Skyblock 3, will check back on this when the pack updates the Compact Machines version]
Forge version: <IP_ADDRESS>70
I am not using Optifine: True
Link to Crashlog: https://pastebin.com/XMEk87s0
Screenshot (if possible): N/A
Description of the problem including expected versus actual behavior:
This is a preview crash while having pneumaticcraft machines inside a compact machine.
Steps to reproduce:
Since I see both Liquid Compressor and Pressure Tube in the logfile it may be an edge case with my particular setup having an Advanced Liquid Compressor attached to an advanced tube with a gauge module on it.
This might be a duplicate of or related to /issues/323

Could you try with the latest build from here?
This is probably fixed with 54fb0cc10c73ae9267dd293de87bfe773278d018

Doesn't crash under 3.0.11-b213. The render is...off, but it doesn't crash. I call that a success.

(The Jukeboxes are actually Advanced Pressure Pipes, and the Brewing Stands are Advanced Liquid Compressors, both of which would be ticking when this was taken.)

Weird, they render fine for me:


parse().read().toString() return error format json string for complex object

See the below picture, some key and value doesn't have double quote, and using = instead of :

I have also encountered this problem. May I ask how to solve it