TypeError: undefined is not an object (evaluating 'e.get')

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: git-gateway
Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Safari/605.1.15

CMS configuration
local_backend: true
branch: master
open_authoring: false
public_folder: /media/files
media_folder: /static/media/files
slug:
  encoding: unicode
  clean_accents: true
  sanitize_replacement: "-"
display_url: https://brooklynrail.org
publish_mode: editorial_workflow
backend:
  name: git-gateway
  repo: brooklynrail/brooklynrail-platform
  site_domain: brooklynrail.netlify.com
  base_url: https://api.netlify.com
commit_messages:
  create: 'New {{collection}}: "{{slug}}"'
  update: Update {{collection}} "{{slug}}"
  delete: Delete {{collection}} "{{slug}}"
  uploadMedia: Upload "{{path}}"
  deleteMedia: Delete "{{path}}"
  openAuthoring: "{{message}}, {{author-login}}"
collections:
  - sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - summary
    view_filters: []
    label_singular: Event
    identifier_field: title
    public_folder: ""
    path: "{{year}}/{{month}}/{{slug}}"
    meta: {}
    summary: "{{fields.series}} {{title}} ({{year}}-{{month}}-{{day}})"
    media_folder: ""
    name: events
    slug: "{{slug}}"
    editor:
      preview: false
    folder: content/events
    view_groups: []
    publish: true
    label: Events
    fields:
      - label: Event Title
        name: title
        minimal: true
        widget: string
        hint: Keep it short and topical, no acronyms.
      - label: Deck
        name: deck
        minimal: true
        widget: string
        hint: A continuation of the headline, without repeating it. Think of this as the
          sentence you'd most like to tweet. You need to be able to read it
          outloud in a single breath.
        required: false
      - label: Summary
        name: summary
        minimal: true
        widget: string
        default: ""
        hint: One-sentence description of the event. (e.g. Artist [Name] and writer
          [Name] discuss creative life in the context of our new social
          reality.)
      - label: Event Copy
        name: body
        widget: markdown
        editor_components:
          - image
        required: false
      - label: People
        name: people
        widget: list
        required: false
        fields:
          - label: Person
            name: person
            widget: relation
            collection: people
            search_fields:
              - name
            value_field: "{{slug}}"
            display_fields:
              - "{{name}}"
            hint: Choose a person
          - label: Event Specific Bio
            name: event_bio
            widget: text
            minimal: true
            hint: No more than two short paragraphs
            required: false
          - label: Related Links
            name: related_links
            widget: list
            hint: add no more than three related links for this author
            required: false
            fields:
              - label: Link Text
                name: text
                widget: string
                hint: Add a clear headline ot title. Do not include the name of the site you're
                  linking to.
              - label: Link
                name: url
                widget: string
                hint: Add the full URL of the link (e.g.
                  https://brooklynrail.org/2020/05/example)
      - label: Poets
        name: poets
        widget: list
        required: false
        fields:
          - label: Person
            name: person
            widget: relation
            collection: people
            search_fields:
              - name
            value_field: "{{slug}}"
            display_fields:
              - "{{na
...

Hi @catherineolson can you please share the full config.yml and a screenshot of the error?


Story/129/daily fire weather data

Thanks for the pull request!  Please see CONTRIBUTING.md  for details.


AttributeError: 'PrimGroup' object has no attribute 'primCount' in 19.5.303

It seems that there is currently an issue with the PrimGroup object in 19.5.303 where it does not have the primCount method:
AttributeError: 'PrimGroup' object has no attribute 'primCount' in 19.5.303
Please use 19.5.368 for the time being, thanks! :)

dear developer, can't draw in 19.5.435, no action, no sugestion.


Move nvsec config setup into pipeline side [skip ci]

Signed-off-by: Tim Liu<EMAIL_ADDRESS>

Update deploy scripts according to discussion : https://github.com/NVIDIA/spark-rapids/pull/7571#discussion_r1085389186

build

build


Adding double quotes for Org and Space name in Endorsement Text

This pull request solves the problem stated in https://www.pivotaltracker.com/n/projects/1107230/stories/88648948

Some build problems with travis CI, closing this pull request


[#5216] Correctly increment deallocationsHuge when call PoolArena.free

Motivation:
We called deallocationsHuge.decrement() but it needs to be increment()
Modifications:
Replace decrement() with increment()
Result:
Correct metrics.

Cherry-picked into 4.0 (451e6aeb6659343e11f7314b0dc6ee976d59f8cb) and 4.1 (2472d8c3cff4fc199276c623b153e5942e50f6d7)


A custom JavaScript error caused an issue loading your dashboard....." Palo Alto Networks Splunk App

When going to the Threats and Activities dashboards in the Palo Alto Networks App on Splunk on-prem version  I get the error "A custom JavaScript error caused an issue loading your dashboard. I updated the Palo Alto Networks App in Splunk to the latest version 7.0.4 and still no fix.  Any solutions? All I have to do to replicate it is click any dashboard under the Threats or the Activities menus.

Environment name and version  : Chrome Version 99.0.4844.82
Operating System and version Window 10 pro 20H2

The PANOS version is 9.0.5

I'm seeing this same issue with v7.0.4 and v7.1.0 of the app running on Splunk v8.1.2

We are currently working with Splunk Cloud on this issue.

Hi Team
do we have any update for the above issue , as we are currently facing the same issue on 7.1.0

Thanks

Hey everyone, if you are seeing this message please uninstall and reinstall the app/add-on. The nature of Splunk upgrading leaves old files as they only replace files and not delete. You will need to remove the app/add-on and reinstall to remove the older files.

@paulmnguyen I see this error on brand new installation and freshly install add-on and app, running on SplunkCloud version 8.2+. This does not happen on regular on-prem installations. Javascript error:
TypeError: mvc.createService is not a function
    at eval (eval at <anonymous> (dashboard_1.1.js:331:84868), <anonymous>:40:21)
    at Object.execCb (eval at e.exports (common.js:556:18524), <anonymous>:1658:33)
    at Module.check (eval at e.exports (common.js:556:18524), <anonymous>:869:55)
    at Module.enable (eval at e.exports (common.js:556:18524), <anonymous>:1151:22)
    at Module.init (eval at e.exports (common.js:556:18524), <anonymous>:782:26)
    at eval (eval at e.exports (common.js:556:18524), <anonymous>:1424:36)

@dtwersky were you able to find a a resolution for this?


Make hass-dash-layouts an alist

This PR changes hass-dash-layout into an alist hass-dash-layouts.  You can now create multiple layouts and select them by key with hass-dash-open.  This PR also adds hass-dash-select, which uses completing-read to show the user a menu to select a dashboard.

cc @purplg


(🎁) Convert code to utilize pep 695

input:
from typing import TypeVar, TypeAlias, Generic

T = TypeVar("T", bound=float)
Foo: TypeAlias = str | T | None

class A(Generic[T]):
    ...

def f(t: T):
    ...

output:
type Foo[T: float] = str | T | None

class A[T: float]:
    ...

def f[T: float](t: T):
    ...

And also ParamSpec and TypeVarTuple.

Yes, I'd love to support this. (It will take some time, need to start by supporting it in the parser and the semantic model.)

This is ready to be worked on! I've started in #6289 but there is much more to do :)

Hello! I'm interested in working on this, if that's okay!
I think I have enough to go on here to round out support for generic type variables, the only snag is with handling type variables that have explicit variance. If a type var has explicit variance, I don't see a way to translate it to the PEP-695 style and guarantee identical semantics. The issue is that the new syntax for generics doesn't have a facility to explicitly set the variance of a type variable, the variance is always inferred.
If we're adhering strictly to the spec (from my reading, at least), only TypeVar definitions with infer_variance=True should have inferred variance and are therefore definitely safe to upgrade to the new syntax. The trouble here is that I would guess that many TypeVar declarations in practice will not have that flag set, which might limit the usefulness of this rule.
If we're being a bit less strict, we could just assume that the variance inference will usually produce the same result, but I'm not sure how acceptable it is to potentially change the meaning of code.

Hey @nathanwhit excited you're interested in working on this :)
We can use different applicability levels (#4183) to indicate our certainty that the fix will or will not change the meaning of the code. In this case, we could use an Automatic fix when infer_variance=True and a Suggested fix otherwise.
I've never seen someone set infer_variance=True before though 😬 maybe we can use a heuristic to infer if the variance would be the same?

Thanks for such a quick response @zanieb!

We can use different applicability levels (https://github.com/astral-sh/ruff/issues/4183) to indicate our certainty that the fix will or will not change the meaning of the code. In this case, we could use an Automatic fix when infer_variance=True and a Suggested fix otherwise.

Makes sense!

I've never seen someone set infer_variance=True before though 😬 maybe we can use a heuristic to infer if the variance would be the same?

Now that I'm looking, infer_variance is new in PEP-695, so unless someone has partially upgraded for 695 they wouldn't have it set🙃. Yeah, a heuristic would be good (though I can't think of one off the top of my head 😬) since doing it properly is probably out of the question (since it requires a full typechecker).
--
A little awkward, but I dug deeper and I think we don't have to worry about variance for type aliases after all! It turns out that the variance of a type variable is actually ignored for type aliases, all that matters is the variance of the type variable used in the generic class. (This makes sense now that I'm thinking about it, since variance is a property of a generic type and generic type aliases aren't actual generic types, just new names for an underlying generic type).
For example:
from typing import Generic, TypeVar

T = TypeVar("T", covariant=True)

class Covariant(Generic[T]):
    pass

S = TypeVar("S", contravariant=True)
Co = Covariant[S]

class MyInt(int):
    pass

foo: Covariant[MyInt] = Covariant[MyInt]()
bar: Covariant[int] = foo

This typechecks despite the fact that S (used by the Co type alias) is defined as contravariant, because all that matters is the variance of T (the var used in the actual generic class).
So I think we can safely ignore the variance of a type var used in a type alias. Variance will be relevant again when we support upgrading classes to the new syntax (class List(Generic[T]): to class List[T]) though.

MyPy released support for PEP 695 generics: python/mypy#15238
It would be awesome to do any of the following:

get linting errors for code that uses older style generics (TypeVar, ParamSpec etc.) for Python 3.12+

get linting errors for code that uses newer style generics and should be backward compatible with lower Python versions

automagically upgrade older style generics to use the new syntax


FreeRTOS-Plus-TCP without event groups functionality to use with an older FreeRTOS?

I want to use FreeRTOS-Plus-TCP with an older freertos <v8 and event groups was introduced in v8, so I set ipconfigSUPPORT_SELECT_FUNCTION to 0 in my FreeRTOSIPConfig.h
But I just found out that FreeRTOS-Plus-TCP natively uses event groups API like xEventGroupCreate, does that mean I cannot use FreeRTOS-Plus-TCP with FreeRTOS version older than v8?
Is there any way to get this working without event groups functionality?
Thanks!

@htibosch  Hi Hein! thanks for your quick response and pointing me to the forum, I'll use that henceforth.
Why cant we update the FreeRTOS+TCP readme to indicate this v8.2 dependency? It may save someone in the future a lot of time?
We are using the ISIS-OBS platform https://www.isispace.nl/product/on-board-computer/ who's board support packages came with a pre-configured FreeRTOS with an older kernel and I am not sure what problems I can face with this board by upgrading the kernel. I am skeptical about the update because I could be opening a pandora's box and risk losing development time.
I am considering switching to lwip at the moment. Any brief opinion on this before we close the issue?

Any brief opinion on this before we close the issue?

Even after a subject is closed we can continue talking, here or on the forum.
It is possible that lwIP will work together with older versions of the FreeRTOS kernel. It uses semaphores and queues to synchronise access to the library.

I am skeptical about the update because I could be opening a pandora's box and risk losing development time

Newer versions of the kernel have always been downward compatible. I maintain many projects with M4 or M7, linking them to all versions of the kernel, between v8.2 and today's V10.4.4.
At some point, a long time ago, defines were changed, but #defines were added to ease the pain:
#if configENABLE_BACKWARD_COMPATIBILITY == 1
    #define eTaskStateGet                 eTaskGetState
    #define portTickType                  TickType_t
    #define xTaskHandle                   TaskHandle_t
    ...

Personally I don't see big problems when you upgrade the FreeRTOS kernel to a new release. And if you get stuck, there is always the FreeRTOS forum.


UserManager signoutRedirect not working in 3.0.0

To logout I use the signoutRedirect method of the UserManager.
That worked perfectly fine with version 2.4.0.
With version 3.0.0 the user is no longer properly logged out.
oidc-client-ts correctly redirects the user agent to the auth server with id_token_hint and post_logout_redirect_uri.
The auth server performs the logout as usual and redirects the user agent back to the application.
The difference compared to version 2.4.0 is, that the UserManager still holds a user object, accesible by the getUser method.
Causing the issue should be the removal of this line in the _signoutStart method.
Is this is bug or should I change some things in my application?

The migration guide is not mentioning this at all btw.
It probably should...

Can you verify if that is caused by https://github.com/authts/oidc-client-ts/pull/1342?

Yes, reverting the mentioned PR solves my issue.
I think the underlying problem is the following:
I have not implemented the logout callback functionality in my application.
I do have a dedicated endpoint for login and refresh callbacks, because here the application actually has stuff to do (e.g. changing an auth code for an access token).
But after a logout I assumed no special actions need to be taken and therefor I simply redirect to the applications main page.
So the signoutRedirectCallback method as well as the _signoutEnd method never get called...

I have to add, that I originally come from the oidc-client-js lib.
Here the signoutCallback was merely a logger.
So there was actually no real reason to use it.
Same goes for the oidc-client-ts library since the last major update.
In Version 2.4.0 the signoutCallback seems to have a simple logging purpose...

I see multiple solutions:

reverting #1342

PRO: simple
NEG: raise condition of events, but we had them since ever

when _signoutStart and _signoutEnd are called in sequence (without callback) we defer the removeUser else keep as before #1342

PRO: probably keeps the event raise condition fixed and does not depend if callback is not called. To be checked first.
NEG: remove user if called differently, once in _signoutStart else in _signoutEnd

keep as we have it

PRO: simple
NEG: if no callback or for whatever reason the call back is not called, the user remains  and not event is raised

Any other solutions?
@PSanetra Would version 2. work for you?
I am thinking about reverting, because its dead simple and makes sure that the user is removed and the event is sent at any situation. Maybe version 2. would be a compromise. I no longer like version 3. though...

@pamapa Please do not revert that PR.
I am not sure what the issue is. Is there a case where _signoutEnd is never called? This seems to be generally wrong :confused:
Is the client not required to call _signoutEnd somehow?
Even if there are existing clients which do not call UserManager.signoutCallback or UserManager.signoutRedirectCallback: Is it not better to fix the clients which miss this callback? Otherwise it is probably better to remove this callback handler completely?!
I would be ok to introduce a flag to the UserManager to configure if such a callback is supported by the client or not. If it is supported, the behavior, introduced by the PR should be maintained, otherwise I would be fine to fall back to the pre-PR behavior, which is prone to race conditions.

@ch-lepp I guess you can easily implement that callback, _signoutEnd must really be called otherwise we have too many different code paths, thus makes everything more easy. We can adapt the migration notice for others...

Yes, I could use the callback.
That indeed fixes the issue for me.
Thank you for your support.

i have improved the migration document

i am not so sure if the callback is called by all IDPs....

@pamapa I think defering the notification would also be ok. Our original issue was only caused by a race condition between that event notification handling and the actual logout. As far as I know our application does not directly depend on that internal persistent state.
Regarding the local storage state: I did not look deep into the reason why this state is necessary. Might it be possible to completely remove this persistent state? Usually the login flow will anyway work also without such a state, right? Maybe I am missing something, but I think it might be possible to remove the persistent state.

I think defering the notification would also be ok. Our original issue was only caused by a race condition between that event notification handling and the actual logout. As far as I know our application does not directly depend on that internal persistent state.

So tricky, what if we only defer the notify: user is removed (good), but rest of application is not notified -> not good.

Regarding the local storage state:
Can you move that into a new issue, it is better to track it separately...

I do not want to enforce the users of this library to implement a callback by default. I am going to revert to the previous 100% reliable behavior.

Thanks for the fast release :) I was searching for an issue over at https://github.com/authts/react-oidc-context


Added intergration for WebsocketServer with HttpListner

Description
WebsocketServer can now run in stand-alone mode and be integrated with HttpListner Server
You can now directly add a new websocketClient by handing the HttpListnerContext over to the WebsocketServer. For this one has to start the webserver setting the WebSocketServerOptions.IsStandAlone to false. Preventing the websocketserver from listening to incoming TCP websocket request.
s_wsServer = new WebSocketServer(new WebSocketServerOptions()
            {
                MaxClients = 10,
                IsStandAlone = false;
            });

A websocket can be added by calling the method:
bool AddWebSocket(HttpListenerContext context)

The library now depends System.Net.Http.
No breaking changes to the API
Stand-Alone websocket server now uses the HttpListner for handling incoming requests

Motivation and Context
Running a website with websockets does no longer require you to host the websocket and the website on another. Saving resources and less code.
How Has This Been Tested?
Ran multiple tests attaching browsers and stand-alone websocket clients
Screenshots
Types of changes

[x] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[x] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

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

My question from the previous PR is still valid: do we need HTTP for the client only library?

My question from the previous PR is still valid: do we need HTTP for the client only library?

You're right, HTTP Client does not need the HTTP library, this has been removed from the Websocket Client Package


Update sbt-embedded-files to 0.2.1

Updates com.yurique:sbt-embedded-files from 0.2.0 to 0.2.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.2.0).
You might want to review and update them manually.
project/DependencyVersions.scala
website/package.json
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.yurique", artifactId = "sbt-embedded-files" } ]

labels: sbt-plugin-update, semver-patch, old-version-remains

Superseded by #49.


Custom AMI instances are getting shut down immediately

Environment:

AWS Region: eu-central-1
Instance Type(s): c5a.2xlarge
EKS Platform version:  eks.10
Kubernetes version: 1.24
AMI Version:
Kernel: 5.10.186-179.751.amzn2.x86_64
Release information:

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

Hello,
I'm testing the waters with EKS and custom AMIs for predefined node-groups. I created an AMI successfully through our CI/CD system and pushed the AMI to the predefined regions. The AMI has been created using the following command:
make k8s kubernetes_version=1.24.16 \
         kubernetes_build_date=2023-08-16 \
         arch=x86_64 \
         ami_name=exmpl-eks-1.24.16-testing-${CIRCLE_SHA1:0:9} \
         instance_type=c6a.xlarge

The instance comes up but then shuts down immediately. The console logs to which I have access do not showcase a specific error. All I see is these logs:
[  299.499215] xfs filesystem being remounted at /var/lib/kubelet/pods/962e80c3-5cf9-49ee-b270-5b9b7ae46e49/volume-subpaths/config/forwarder/3 supports timestamps until 2038 (0x7fffffff)
         Stopping libcontainer container eff...4a2489f0d5a13a28170fb6b64bba3f2.
[  OK  ] Removed slice libcontainer container kubepods-besteffort.slice.

And then all services are stopped and the image is getting shut down. How can I debug further?
Here is the full console log in case it helps.

Managed to login via ssh before the shutdown. The SSM agent doesn't have permissions to register the EC2 instance:
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: 2023-10-24 11:00:22 WARN EC2RoleProvider Failed to connect to Systems Manager with instance profile role credentials. Err: retrieved credentials failed to report to ssm. RequestId: f2093263-e6d9-4a0e-b4d0-2df60a5bf587 Error: AccessDeniedException: User: arn:aws:sts::908137413427:assumed-role/myorg-stg-eu-central-1-a-nodegroups/i-0411a77bf9e18aa1c is not authorized to perform: ssm:UpdateInstanceInformation on resource: arn:aws:ec2:eu-central-1:908137413427:instance/i-0411a77bf9e18aa1c because no identity-based policy allows the ssm:UpdateInstanceInformation action
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: status code: 400, request id: f2093263-e6d9-4a0e-b4d0-2df60a5bf587
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: 2023-10-24 11:00:22 ERROR EC2RoleProvider Failed to connect to Systems Manager with SSM role credentials. error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account:<PHONE_NUMBER>27
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: status code: 400, request id: 1211ceef-9cd4-4776-9f48-f14966298393
Oct 24 11:00:25 ip-10-106-0-207 chronyd[2290]: Selected source <IP_ADDRESS>
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: 2023-10-24 11:00:22 ERROR [CredentialRefresher] Retrieve credentials produced error: no valid credentials could be retrieved for ec2 identity. Default Host Management Err: error calling RequestManagedInstanceRoleToken: AccessDeniedException: Systems Manager's instance management role is not configured for account:<PHONE_NUMBER>27
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: status code: 400, request id: 1211ceef-9cd4-4776-9f48-f14966298393
Oct 24 11:00:25 ip-10-106-0-207 amazon-ssm-agent: 2023-10-24 11:00:22 INFO [CredentialRefresher] Sleeping for 28m22s before retrying retrieve credentials

Are you using managed nodegroups? It looks like the kubelet likely wasn't able to join the cluster, you'll need to look at those logs to confirm (journalctl -u kubelet). The instance was terminated after 5 minutes or so, you can determine why with CloudTrail. If you're not able to get things working, please open a case with AWS Support. 👍


User screens alignment (task #6493)

Codecov Report

Merging #565 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #565      +/-   ##
============================================
+ Coverage     26.36%   26.39%   +0.02%
  Complexity      987      987
============================================
  Files            88       88
  Lines          3288     3289       +1
============================================
+ Hits            867      868       +1
  Misses         2421     2421

Impacted Files
Coverage Δ
Complexity Δ

src/Controller/UsersController.php
61.72% <100%> (+0.47%)
21 <0> (ø)
:arrow_down:

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 3c62154...fd54f79. Read the comment docs.


Copy Namespace Feature

Is there any copy namespace feature available in pinecone?
I have tried to search about it but have not been able to find any sort of solution provided by pinecone SDK.
It seems like the only way to copy the namespace is to get all the results and copy it and re upload it.

Also interested in that feature

Hey @igorbilyk2 and @Ahtesham00 , thanks for the feedback. Can you expand more on:

What motivated you to submit this feature request/what problem this would solve?
A clear and concise description of what you want to happen.
Any alternatives you've considered?

@anawishnoff

What motivated you to submit this feature request/what problem this would solve?

My software users want the ability to copy the namespace or the data I am storing under a specific namespace so they can have it replicated elsewhere in the system. The issue isn't with copying itself, as I can point my users to the same vectors. The problem arises when they want to expand on the copied namespace. For example, if I have 100 vectors in namespace X, and my application users want to copy this namespace, they should be able to upload more vectors to the copied namespace.

A clear and concise description of what you want to happen.

I would like to have a feature that allows users to duplicate an existing namespace along with its vectors and then enable them to add more vectors to the duplicated namespace. This functionality should allow the copied namespace to be independent of the original, enabling users to expand on it as needed.

Any alternatives you've considered?

In the past, I've used an alternative method where I extract all the results and then reupload them. However, this approach has its limitations. Specifically, I have to assign a specific top_k value during the extraction, which can change over time and may not be optimal for all scenarios.

Hey @Ahtesham00 , thanks for providing those details! Have you looked into collections (for pod-based indexes) or backups (launched recently for Serverless indexes)? You can find the documentation here: https://docs.pinecone.io/guides/indexes/understanding-backups-and-collections. This allows you to create copies of your indexes, and reupload it somewhere where it can be added to/modified.


Phase screen evolution at odd wind speeds

It appears that the atmosphere evolution goes wrong with certain wind speeds.
Here is an image that shows the phase screens in selected cases:

first iteration
wind direction zero
wind direction pi/16

The last image shows that the spectral content of the screen has been modified: sharp features appear to be slightly smeared off.
The effect is very apparent, if you look at how angular spectral method propagation changes the pupil amplitudes:

It appears that the atmosphere evolution goes wrong with certain wind speeds.
Here is an image that shows the phase screens in selected cases:

first iteration
wind direction zero
wind direction pi/16

The last image shows that the spectral content of the screen has been modified: sharp features appear to be slightly smeared off.
The effect is very apparent, if you look at how angular spectral method propagation changes the pupil amplitudes:

Hello, I want to ask how to add the wind speed to the phase screen


Merge upstream 10-25-2022

merge the community changes for security reasons.

pls ignore, we have to add a second producer config for phobos. always pr to the wrong remote :P


Made notebook export template configurable

Should allow doing something like:
.. notebook:: holoviz ../../examples/talks/Overview.ipynb
    :template: "slides"

when RISE is installed.

@philippjfr a dev release was previously made from this branch, but that will now have been wiped out by a more recent dev release from master. Seems like this PR would be useful (going from its title), so if you were using its functionality from the dev channel, you'll lose it...

This PR never worked and I was mostly trying to test it in a holoviz.org build. Would be great to get it working but right now nothing is lost by building from master.


Tracking fails if a page is leaved

Looks like amplitude.logEvent crashes if it's followed by window.location.raplace, consider example:
...
amplitude.getInstance().init(amplitudeApiKey);
Vue.prototype.$amplitude = amplitude;
...
navigateAfterLogin() {
    this.$amplitude.getInstance().logEvent('Login passed');
    setTimeout(() => {
        this.$amplitude.getInstance().logEvent('test tracking crash');
        window.location.replace(this.nextPage);
     }, 1000);
},

I have tried to call this.$amplitude.getInstance().sendEvents() on page startup but nothing happens, so I guess LocalStorage contains no events.
Expected Behavior
Both events are successfully uploaded
Current Behavior
Second logEvent crashed.

Environment
"amplitude-js": "^7.4.4"
Chrome Version 89.0.4389.82 (Official Build) (x86_64)

Seems to be related to https://github.com/amplitude/Amplitude-JavaScript/issues/136

Thanks @ViktorDanyliuk for reporting this, we'll take a look!

@ViktorDanyliuk I think your issue looks pretty related to page changes. We'll discuss more internally about how to build the sendBeacon API into our SDK.
For the second issue (sendEvents not working after page load) - potential culprits might be the JS SDK not loading fully w/events before trying to send, or an issue with our logic using sendEvents publicly - we can investigate this separately.

I followed https://github.com/amplitude/GTM-Web-Demo, with GTM in the middle it sends events when the next page is loaded.
I would like to avoid canceled requests but it's not critical anymore.


🐛 [Bug] Frontend transaction & balance format varies

🐛 Bugreport

Frontend transaction & balance format varies. If the amount received or sent is ending with one or two zeros after the comma, they are omitted. So a transaction of 400,00 GDD is transmitted as 400 and a transaction of 555,50 is transmitted as 555,5. The frontend must ensure that there is always 2 digits after the comma. This includes the users balance.

fixed


Document.documentName should be exactly a document name as a constant

In which branch or foundry version does the problem occur?
9.249.0
Describe the wrong type
Look for both occurrences of documentName under Document at ./src/foundry/common/abstract/document.mjs.d.ts.
To Reproduce
Use documentName in a field which expects a specific document name (not a string). For example:
game.system.template[myActorOrItem.documentName]

Expected behavior
It should accept at minimum the constants "Actor" and "Item" which are what are valid properties of game.system.template.

As I explained in discord, this is unfortunately not possible with how the types are currently set up to work. We could potentially make it work for the non static documentName if we added the metadata as generic parameter to Document. But it’s hard to tell without trying if that would cause any other issues. And for the static properties, it will unfortunately never work unless typescript adds a way to access the this type of the static side of the class, or makes it possible to make accessors generic in the this type.


core branch: remark/rehypeKatex options not processed

This impacts the support of math output in markdown files.
remarkMath/rehypeKatex options specified by the app via mdxOptions are being ignored.
packages/nextra/src/compile.js might handle the app's mdxOptions.rehypePlugins specification this way:
export async function compileMdx(source, mdxOptions = {}, nextraOptions = {}) {
  return String(
    await compile(source, {
      jsx: true,
      providerImportSource: '@mdx-js/react',
      remarkPlugins: [
        ...(mdxOptions.remarkPlugins || []),
        remarkGfm,
        remarkMdxCodeMeta,
        nextraOptions.unstable_staticImage && remarkStaticImage
      ].filter(Boolean),
      rehypePlugins: [
        ...(mdxOptions.rehypePlugins || []),
      ].filter(Boolean)
    })
  )
}

Note that this solution makes the decision to expose the rehypePlugins option specifically, similar to remarkPlugins.
In packages/nextra/src/loader.js, mdxOptions appears to be handled incorrectly. Should it look like the following, instead?
const options = getOptions(this)
  const {
    theme,
    themeConfig,
    locales,
    mdxOptions,
    defaultLocale,
    unstable_stork,
    unstable_staticImage
  } = options
  const { resourcePath, resourceQuery/*, mdxOptions*/ } = this

@rbox-risk Here is what I'm doing that is successful against the current core branch.
In next.config.js
const remarkMath = require('remark-math');
const rehypeKatex = require('rehype-katex');

const withNextra = require('nextra')({
  theme: 'nextra-theme-docs',
  themeConfig: './theme.config.js',
  // ...
  mdxOptions: {
    remarkPlugins: [ remarkMath ],
    rehypePlugins: [ rehypeKatex ],
  },
});

module.exports = withNextra();

In the site's package.json dependencies:
    "rehype-katex": "5.0.0",
    "remark-math": "4.0.0",

@robbear Ah perfect. Not using rehype-katex: 5.0.0 was the issue. Thanks


[Bug]: enable ambulance location on google map (in roles: in driver section when availability is on) and (in ambulance location tracker)

What is the expected behavior?

[X] I have searched the existing issues

What happened?
I am unable to do.
i have done this using google api keys but that's not work
Add Screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

hi @mansiruhil13 ,
i would like to work on this issue, please assign me this

can you assign me , I wanted to try


Add yarn installation method

Hi @Kerumen, and thanks for contributing to react-waypoint! I hadn't heard of yarn before, thanks for introducing this to me/us. Can you give a little bit more context on why you think we should have this in the README. It could be argued that yarn users should be aware of the fact that they can install npm modules.

yarn uses the same registry as npm so it's transparent for the users. You can read more here.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
8e21d71 -> d63f9de

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.42.4 -> v1.42.5

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.42.5
Compare Source
Bug Fixes

deps: update gomod (#903) (15a5b80)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: tests/go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

4 additional dependencies were updated

Details:

Package
Change

github.com/IBM/go-sdk-core/v5
v5.18.1 -> v5.18.3

github.com/hashicorp/terraform-json
v0.23.0 -> v0.24.0

github.com/zclconf/go-cty
v1.15.0 -> v1.15.1

golang.org/x/crypto
v0.30.0 -> v0.31.0

/run pipeline


Description
Add icon based link to github repository of the project in each ejs file inside of views
Suggested Solution
Use free icons to achieve this.
Alternatives
No response
Additional Context
No response

I want to Contribute to this, Please Assign it to me and if convenient label the issue under GSSOC'24

@haard18 go ahead!


Fix pooling

Currently, there are some hard-coded configurations and other issues in the pooling code:

The Elasticsearch connection and index to get passage IDs by document ID are hard-coded
Some paths are hard-coded.
The set of retrieval models and re-rankers is hard-coded.

I believe we should move the configuration to the CLI options and ideally not directly rely on Elasticsearch at all (e.g., by directly retrieving from the segmented corpus).

I addressed some of the issues in commits:

271f402484c7603cca0ffaa642315719710ddb92
6afd729b6b09dad4b1286e76fcdeddce1dfbddb7
af0851d873905530fdb429ebe1d3a6acb5bc7434
54fa4f914478e40e395b04085696a7190e97751c
c297147acebcd5813a96a41ba6247c30bf1c4e15

Awesome, yes, makes sense.
I will modify this to be non-hard coded for the next iteration that I will create on friday


Add the ops of AoT

This PR implements the forward pass of gpt-2 with AoT.
The backward pass has been disabled as it needs to be fixed to not use atomicAdd.
There was a memory error and it was in draft state for a while.
I added -fsanitize=address to make it possible to detect errors.
The memory error has been fixed.

After creating the forward kernels, it outputs the following error. The backward kernels should be updated.
[kernels (feature/aot)]
$ time make
✓ OpenMP found
if [ ! -f gpt2_124M.bin ]; then ./llm.c/dev/download_starter_pack.sh ; \
          ln -s ./llm.c/gpt2_124M.bin ; \
          ln -s ./llm.c/gpt2_124M_debug_state.bin ; \
					ln -s ./llm.c/gpt2_tokenizer.bin ; \
	fi
. /Users/junji.hashimoto/git/gpu.cpp/experimental/kernels/../../source && ./build/gpt2_webgpu_aot
Creating GPU context
Building GPT-2 model from checkpoint 'gpt2_124M.bin'
[GPT-2]
max_seq_len: 1024
vocab_size: 50257
padded_vocab_size: 50304
num_layers: 12
num_heads: 12
channels: 768
num_parameters: 124475904
Model build complete
train dataset num_batches: 1192
val dataset num_batches: 128
Starting training
Step 0
num_activations: 73347840
Allocating 279.80 MB for activations
Creating Kernels
[error] Device uncaptured error: Error while parsing WGSL: :24:13 error: no matching call to 'atomicAdd(ptr<storage, f32, read_write>, f32)'

1 candidate function:
 • 'atomicAdd(ptr<S, atomic<T>, read_write>  ✗ , T  ✗ ) -> T' where:
      ✗  'T' is 'i32' or 'u32'
      ✓  'S' is 'workgroup' or 'storage'

            atomicAdd(&dwte[ix * C + i], d);
            ^^^^^^^^^

 - While validating [ShaderModuleDescriptor "kernel"]
 - While calling [Device].CreateShaderModule([ShaderModuleDescriptor "kernel"]).

libc++abi: terminating due to uncaught exception of type std::runtime_error: Device uncaptured exception.
/bin/sh: line 1: 57347 Abort trap: 6           ./build/gpt2_webgpu_aot
make: *** [run-native] Error 134

real	0m10.054s
user	0m9.719s
sys	0m0.253s

@austinvhuang Thank you for your review!
To use std::arrays, the number of layers needs to be fixed.
There seem to be four types of layer numbers: 12, 24, 36, and 48. If we limit it to these four types, we can use std::array.

@austinvhuang Thank you for your review! To use std::arrays, the number of layers needs to be fixed. There seem to be four types of layer numbers: 12, 24, 36, and 48. If we limit it to these four types, we can use std::array.

That makes sense, fine to leave it as vector for this PR, though in a future update may replace vector with a lighter dynamic allocation approach like unique_ptr.
We can go ahead and merge to dev. Thanks!

Thank you, too!


Error Something went wrong when uploading mp4 and pdf files

Getting the error in title when I try to upload bite-sized mp4 files (about 7 MB) and pdfs
Still encounter the issue when I try to upload each file one by one.

Hey, There is an issue caused by Swagger integration, I guess it will be fixed in tomorrow's update. Sorry about that

Thanks. Great work on your project by the way :)
A quick tangent: How did you ascertain the programming knowledge you have to build this project?

thanks haha

A quick tangent: How did you ascertain the programming knowledge you have to build this project?

I'm a self-taught programmer on a continuous journey to enhance my skills by actively engaging in the creation of diverse projects.  Building projects allows me to tackle challenges, experiment with different solutions, and ultimately refine my programming expertise.

Hey, are you using the latest version, v1.6.0?

Yep

Okk, You are using Docker, right?

Yes I am

Maybe this could be of assistance (my API keys for all models -- with the exception of OpenAI as I did not set its key --were set successfully)

Hi! Getting some errors too uploading files.

Hey, is the version causing the issue 1.6.1, right

Yes, as well as the previous version

Yes

Hey, The issue has been resolved in version 1.7.0. Please let me know if it still occurs

Updated to the latest version using docker-compose pull (after stopping the program) and I still get the error regardless.

Hey, Is the application showing version 1.7.0 correctly, and is the error coming from the 'Add New Datasource' page?

Yes it is.
And yes to the second question

The error pops up even when I try to add files whilst in the process of creating a new bot


None of my citations are showing up

Title
I am using lazy.nvim to load my plugins. I have my citations file in my global_files{} var.
Whenever I am in a .md file and run the command, nothing pops up. If I am in an existing latex project and run the command, it returns only 2/3 of the citations used in this project. This seems to be the case with all of my citations that are not of the type "article"
Any help would be great!

Could you provide a small part of your bib-file that shows the problem so I can try to reproduce it? Right now I suspect it's either something about the format of the entries or telescope's startup and config.

Just a heads up for others coming here. I'm pretty sure this issue was because the extension was being loaded before the setup function. This requirement is also stated in the troubleshooting section of the readme (but, perhaps should be made more clear, as I also encountered this when I switched to lazyvim).

Just a heads up for others coming here. I'm pretty sure this issue was because the extension was being loaded before the setup function. This requirement is also stated in the troubleshooting section of the readme (but, perhaps should be made more clear, as I also encountered this when I switched to lazyvim).

I completely forgot I made this post. I did end up figuring things out. but don't use it atm (my root partition is too small for LaTeX and I've been too lazy to resize).


6pm d Course Name to Course Number

Changed attribute 'String name' in Class object to 'String number'. Every reference of Course name was replaced by Course number. Made edits to front and back end tests to account for this.

Add 10 points for moving Course into the entity folder.

Only changed Course Name to Course Number.
Tried to move Course.java to entities directory but was getting weird errors with rebranch so I left it in models directory.

Changing name to number looks straight forward. Coverage is still 100% so I'd say this is good to go. Though I am a bit worried as to why there are so many lines deleted (DemoApplicationTests.java, TutorAssignmentControllerTests.java, TutorAssignmentController.java). Mind explaining why these files are deleted?

DemoApplicationTest.java was removed by Scott when he and I were working together to figure out why the CI had more tests then locally and traced it back to that file, we added configurations to pom.xml for it to be ignored so we just decided to delete it since it wasn't being used.
-- This is the end of my current issue (Course Name to Course Number)
The TutorAssignmentController files were added on after I re-branched main because I was attempting to work on moving the Course entity to the entities folder from the current modules but was receiving an interesting error so I just reverted back to the original issue and removed those added files.

Changed the element 'name' in the Course object to 'number'. Changed all instances where a Course object was defined to accommodate this change and in all parameters as well.

User Story
As a user, the course number field is labeled properly so that I can find proper office hours.
Acceptance Criteria
Each course should have its number displayed.
Implementation
Front end:
Re-label column to display proper names. (i.e. course number)
Change variable name from Course Name to Course Number.
Back end:
Change variable name from Course Name to Course Number.
Testing:
Front end tests pass and there is adequate coverage
Back end tests pass and there is adequate coverage

The file 'DemoApplicationTests.java' was deleted because Scott and I added a  tag for the file in a jacoco configuration inside of pom.xml. It was deleted because the tests were not even running do there was no need for the file.

Changing name to number looks straight forward. Coverage is still 100% so I'd say this is good to go. Though I am a bit worried as to why there are so many lines deleted (DemoApplicationTests.java, TutorAssignmentControllerTests.java, TutorAssignmentController.java). Mind explaining why these files are deleted?

**TutorAssignmentControllerTests.java and TutorAssignmentController.java re-added with the most recent rebase.
**DemoApplicationTests.java was deleted because Scott and I added a tag for the file in a jacoco configuration inside of pom.xml. It was deleted because the tests were not even running do there was no need for the file.

Looks good!

Thanks for taking the time to look through and review!

Latest Updated Branch
Completed rebase and merge conflicts.
Waiting on reviews.

Latest Updated Branch
Completed rebase and merge conflicts.
Waiting on reviews.


Download probe endpoint should not require authentication

Once this is completed, we can adjust the demo script to not send in a token header.

complete


⚠ Bofrost.lu has degraded performance

In 1567928, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1708 ms

Resolved: Bofrost.lu performance has improved in a576713 after 13 minutes.


add GeoJSON encoding support to deck.gl Polygon chart

CATEGORY
Choose one

[ ] Bug Fix
[x] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Currently, the deck.gl Polygon layer only accepts JSON coordinate arrays, polyline, or geohashes as data inputs. This requires user's to perform substantial pre-processing on their data if their data source stores geometry objects as GeoJSON.
This PR adds GeoJSON encoding support to the deck.gl polygon chart. It will automatically determine if the user supplied polygon data is a GeoJSON (either single or multi-polygon) or a simple JSON coordinate array. All existing charts using JSON coordinate arrays should be unaffected by this change.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

Visual inspection
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Codecov Report

Merging #8082 into master will increase coverage by 0.3%.
The diff coverage is 64.3%.

@@            Coverage Diff            @@
##           master    #8082     +/-   ##
=========================================
+ Coverage   65.83%   66.14%   +0.3%
=========================================
  Files         486      479      -7
  Lines       22921    22950     +29
  Branches     2521     2530      +9
=========================================
+ Hits        15090    15180     +90
+ Misses       7700     7636     -64
- Partials      131      134      +3

Impacted Files
Coverage Δ

superset/assets/src/explore/controls.jsx
42.85% <ø> (ø)
:arrow_up:

...et/assets/src/visualizations/presets/MainPreset.js
0% <ø> (ø)
:arrow_up:

superset/assets/src/setup/setupFormatters.js
0% <ø> (ø)
:arrow_up:

superset/assets/src/chart/Chart.jsx
11.11% <ø> (ø)
:arrow_up:

...ets/src/visualizations/FilterBox/transformProps.js
0% <0%> (ø)
:arrow_up:

...ets/src/visualizations/TimeTable/transformProps.js
0% <0%> (ø)
:arrow_up:

...sets/src/SqlLab/components/ScheduleQueryButton.jsx
8.62% <0%> (-0.16%)
:arrow_down:

...assets/src/visualizations/deckgl/transformProps.js
0% <0%> (ø)
:arrow_up:

superset/assets/src/components/ErrorBoundary.jsx
18.18% <0%> (ø)
:arrow_up:

superset/assets/src/chart/ChartRenderer.jsx
7.35% <0%> (-0.72%)
:arrow_down:

... and 21 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 0d76fc7...7d25965. Read the comment docs.

I was internally debating the pros/cons of adding a new GeoJSON line_type, vs this approach or making a smart json/GeoJSON option.
Forcing the user to be more explicit may allow us to catch and surface better error messages. What if a user has a column with mixed GeoJSON types for instance, or if the first row is null?

I incorporated the logic into the existing JSON line_type so as to not add additional complexity to the viz.py file as I recall there is an effort to slowly remove code from this file. Is that not correct?
As is, this PR handles mixed GeoJSON polygon types (Polygon + MultiPolygon) dynamically and will determine the type of GeoJSON polygon before processing it. Any other GeoJSON types will simply not render -- I've tested Point, MultiPoint, LineString, and MultiLineString data to prove this out. Perhaps an error message pointing users to the GeoJSON chart type would be helpful if a user is trying to render Point/MultiPoint/LineString data in the polygon chart?
I also tested null geometry values and they do not render as well. I will work on adding error handling for those as well.

Oh snap. Missed the comment/notification a while back.  deck.gl plugins moved and will need to get reopened here: https://github.com/apache-superset/superset-ui-plugins-deckgl

@betodealmeida , please 👀if you can

Thanks for the example data @thunter009! The failure to display multipolygons was due to a build against superset v.0.35.2, which has the deckgl dependencies refactored into a separate npm package, and thus the PR wont work as is. :)
Any plans to move the Polygon.jsx part of this to https://github.com/apache-superset/superset-ui-plugins-deckgl @mistercrunch @thunter009? We would be happy to do it, if you guys are in lack of time.

Thanks for the example data @thunter009! The failure to display multipolygons was due to a build against superset v.0.35.2, which has the deckgl dependencies refactored into a separate npm package, and thus the PR wont work as is. :)
Any plans to move the Polygon.jsx part of this to https://github.com/apache-superset/superset-ui-plugins-deckgl @mistercrunch @thunter009? We would be happy to do it, if you guys are in lack of time.

It's been on my todo list for about 6m now. Unfortunately open-source contributions have fallen to the wayside as I moved to a new firm around the same time. If you have the capacity to move it over to the plugins repo that would be great.

@mistercrunch  Would it be ok to keep  the changes to superset/assets/src/explore/controlPanels/DeckPolygon.js in this PR and drop the rest, and then open a new PR with the multiploygon logic in Polygon.jsx towards apache-superset / superset-ui-plugins-deckgl  ?

Is this still in progress?

Looking forward to seeing this released.

It seems like the support for multipolygons is still not quite working.
the following represents a multipolygon for CA FIPS code 06037
{ "type": "Feature", "properties": { "GEO_ID": "0500000US06037", "STATE": "06", "COUNTY": "037", "NAME": "Los Angeles", "LSAD": "County", "CENSUSAREA": 4057.884000 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -118.524531, 32.895488 ], [ -118.535823, 32.906280 ], [ -118.551134, 32.945155 ], [ -118.560887, 32.957891 ], [ -118.573522, 32.969183 ], [ -118.586928, 33.008281 ], [ -118.596037, 33.015357 ], [ -118.606559, 33.014690 ], [ -118.605534, 33.030999 ], [ -118.594033, 33.035951 ], [ -118.575160, 33.033961 ], [ -118.569013, 33.029151 ], [ -118.564445, 33.024914 ], [ -118.564527, 33.018637 ], [ -118.559171, 33.006291 ], [ -118.540069, 32.980933 ], [ -118.529228, 32.970921 ], [ -118.496811, 32.933847 ], [ -118.485288, 32.923545 ], [ -118.479039, 32.920363 ], [ -118.460623, 32.909510 ], [ -118.446771, 32.895424 ], [ -118.369984, 32.839273 ], [ -118.353504, 32.821962 ], [ -118.356541, 32.817311 ], [ -118.360530, 32.819921 ], [ -118.379968, 32.824545 ], [ -118.387375, 32.825327 ], [ -118.394565, 32.823978 ], [ -118.401268, 32.820338 ], [ -118.425634, 32.800595 ], [ -118.429430, 32.805429 ], [ -118.428372, 32.806872 ], [ -118.444920, 32.820593 ], [ -118.476074, 32.841754 ], [ -118.487908, 32.844590 ], [ -118.496298, 32.851572 ], [ -118.506902, 32.868503 ], [ -118.508095, 32.871321 ], [ -118.507193, 32.876264 ], [ -118.524641, 32.893175 ], [ -118.524531, 32.895488 ] ] ], [ [ [ -118.500212, 33.449592 ], [ -118.499669, 33.447879 ], [ -118.485570, 33.446213 ], [ -118.477646, 33.448392 ], [ -118.445812, 33.428907 ], [ -118.423576, 33.427258 ], [ -118.382037, 33.409883 ], [ -118.370323, 33.409285 ], [ -118.368301, 33.407110 ], [ -118.365094, 33.388374 ], [ -118.324460, 33.348782 ], [ -118.316083, 33.342928 ], [ -118.310213, 33.335795 ], [ -118.303174, 33.320264 ], [ -118.305084, 33.310323 ], [ -118.316787, 33.301137 ], [ -118.325244, 33.299075 ], [ -118.343249, 33.305234 ], [ -118.360332, 33.315330 ], [ -118.374768, 33.320065 ], [ -118.402941, 33.320901 ], [ -118.440047, 33.318638 ], [ -118.456309, 33.321820 ], [ -118.465368, 33.326056 ], [ -118.481886, 33.344123 ], [ -118.488770, 33.356649 ], [ -118.482609, 33.369914 ], [ -118.478465, 33.386320 ], [ -118.484949, 33.412131 ], [ -118.488750, 33.419826 ], [ -118.503952, 33.424234 ], [ -118.515914, 33.422417 ], [ -118.516267, 33.425075 ], [ -118.523230, 33.430733 ], [ -118.537380, 33.434608 ], [ -118.558715, 33.433419 ], [ -118.563442, 33.434381 ], [ -118.570927, 33.439351 ], [ -118.575901, 33.448261 ], [ -118.593969, 33.467198 ], [ -118.601185, 33.469853 ], [ -118.604030, 33.476540 ], [ -118.603375, 33.478098 ], [ -118.598783, 33.477939 ], [ -118.585936, 33.473819 ], [ -118.544530, 33.474119 ], [ -118.530702, 33.468071 ], [ -118.500212, 33.449592 ] ] ], [ [ [ -118.633473, 34.269626 ], [ -118.636789, 34.291804 ], [ -118.650859, 34.320484 ], [ -118.796692, 34.616559 ], [ -118.881364, 34.790629 ], [ -118.894474, 34.817972 ], [ -118.881729, 34.817802 ], [ -118.877289, 34.803212 ], [ -118.854576, 34.803027 ], [ -118.854253, 34.817772 ], [ -118.140074, 34.820780 ], [ -118.132940, 34.820739 ], [ -118.130847, 34.820938 ], [ -117.667292, 34.822526 ], [ -117.667034, 34.558008 ], [ -117.660346, 34.557848 ], [ -117.658798, 34.440580 ], [ -117.650459, 34.339025 ], [ -117.646374, 34.289170 ], [ -117.677657, 34.165334 ], [ -117.677693, 34.164238 ], [ -117.711067, 34.079536 ], [ -117.719481, 34.059731 ], [ -117.726010, 34.041128 ], [ -117.735846, 34.018554 ], [ -117.767752, 34.019429 ], [ -117.802539, 33.975551 ], [ -117.783287, 33.946411 ], [ -117.976498, 33.946050 ], [ -117.976530, 33.928034 ], [ -117.976498, 33.919171 ], [ -117.976571, 33.911205 ], [ -117.976692, 33.910614 ], [ -117.976588, 33.909757 ], [ -117.976586, 33.906225 ], [ -118.011398, 33.873314 ], [ -118.028679, 33.873219 ], [ -118.058918, 33.846121 ], [ -118.063268, 33.824220 ], [ -118.093008, 33.786289 ], [ -118.091970, 33.758472 ], [ -118.116703, 33.743549 ], [ -118.132698, 33.753217 ], [ -118.156900, 33.760317 ], [ -118.175500, 33.763617 ], [ -118.180831, 33.763072 ], [ -118.187701, 33.749218 ], [ -118.183700, 33.736118 ], [ -118.181367, 33.717367 ], [ -118.207476, 33.716905 ], [ -118.258687, 33.703741 ], [ -118.277208, 33.707091 ], [ -118.297104, 33.708319 ], [ -118.317205, 33.712818 ], [ -118.354705, 33.732317 ], [ -118.360505, 33.736817 ], [ -118.385006, 33.741417 ], [ -118.396606, 33.735917 ], [ -118.411211, 33.741985 ], [ -118.428407, 33.774715 ], [ -118.423407, 33.782015 ], [ -118.405007, 33.800215 ], [ -118.394376, 33.804289 ], [ -118.394307, 33.804315 ], [ -118.391507, 33.815415 ], [ -118.392107, 33.840915 ], [ -118.412708, 33.883913 ], [ -118.442410, 33.940312 ], [ -118.460611, 33.969111 ], [ -118.482729, 33.995912 ], [ -118.484212, 33.997710 ], [ -118.502813, 34.015509 ], [ -118.519514, 34.027509 ], [ -118.543115, 34.038508 ], [ -118.569235, 34.041640 ], [ -118.603572, 34.039048 ], [ -118.609652, 34.036424 ], [ -118.668358, 34.038887 ], [ -118.675430, 34.037479 ], [ -118.679366, 34.033255 ], [ -118.706215, 34.029383 ], [ -118.732391, 34.032743 ], [ -118.744952, 34.032103 ], [ -118.783433, 34.021543 ], [ -118.787094, 34.019545 ], [ -118.805114, 34.001239 ], [ -118.821579, 34.013959 ], [ -118.840380, 34.027527 ], [ -118.854653, 34.034215 ], [ -118.896159, 34.039207 ], [ -118.928048, 34.045847 ], [ -118.938081, 34.043383 ], [ -118.944887, 34.045340 ], [ -118.940965, 34.074830 ], [ -118.788889, 34.168214 ], [ -118.668152, 34.168195 ], [ -118.667713, 34.240404 ], [ -118.632495, 34.240426 ], [ -118.633473, 34.269626 ] ] ] ] } }

I believe it should look like this (see https://geojson.tools/)

but in preset (apologies if it's bad form for posting about preset instead of vanilla superset) it looks like this

it appears that the deck.gl polygon chart is just picking the first set of coordinates for the multipolygon and silently discarding the rest.

You're right, for multipolygons only one is supported. :(
We need to revamp the whole geoviz stack.

I confirm, Multipolygon is not drawing, only the first polygon is drawn the rest are just discarded
Is there any workarround please?


Support React 19RC

I am using 3.4.1 but it appears it needs React 18? I get error peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>Any roadmap for React 19 support?

It should be a matter of bumping the peer dependency in package.json. You can open a PR for that.

Thanks but turns out many of my packages have a pre 19 peerDependency. So I ended up adding a .npmrc file with the legacy-peer-deps flag set to true and this seems to work.


DEC-1164 Initial fix for image processing bug

Bug: Image processing status was not being determined properly due to status changes made when images were separated from items, leaving the item image box in a limbo state when an image was replaced.
Fix: I put the correct status strings into the ItemShowImageBox component and that resolved the issue.

:+1:


How can I add it to my discord server?

Hi, how can I add it to my discord server, I still don't know much about this

Fork this repo, do the usual Discorb bot setup, and create the necessary configs. I will give you a sample template on the configs. Wait for a bit.

okay thank you

json.zip
Attached contains all JSON files that should be inside src/json. The property names are decently named so just follow them. Hit me up again if you have more questions.

Thank you, i really liked your bot. One last quetion, how does the scorer.js system work, i mean how can i get the points is it any type of command or else? Thank you so much, you are the best.

There should be a dedicated channel where users can vouch each other. That channel's ID should be in config.json's channelsID.verify.
The rules for scoring are simple:
+1 point to userA if userA mentions userB
+1 point to userB if userB replies to the message userB got mentioned


Recurring items not displaying correct day

Reoccurring items after 5 pm local time are appearing on the previous day. Here is an example of one such event:
SUMMARY:Example Event
DTSTART;TZID=America/Phoenix:20190807T180000
DTEND;TZID=America/Phoenix:20190807T190000
DTSTAMP:20191028T235131Z
UID:43e73f1d-b4f2-4fae-be96-b1b4df03f7da
SEQUENCE:4603
RRULE:FREQ=WEEKLY;BYDAY=WE
EXDATE;TZID=America/Phoenix:20190918T180000
EXDATE;TZID=America/Phoenix:20191002T180000
EXDATE;TZID=America/Phoenix:20191016T180000
EXDATE;TZID=America/Phoenix:20191127T180000
END:VEVENT
BEGIN:VEVENT

Full ical data is needed.
There should be more than VEVENT data, like VTIMEZONE, DAYLIGHT, ... Especially I doubt your timezone data of event is not matched your current timezone of system.
Which timezone are you living in? Are you living in America/Phoenix?

I am having this same issue. When I create a recurring event via Google Calendar, it shows on the wrong day in MM. When I create the same recurring event using the iOS calendar app (also pointed at my Google Calendar) it displays on the correct day in MM. The difference between the two ics entries is the RRULE line.
Event created in Google Calendar (which shows on the wrong day in MM) shows:
RRULE:FREQ=WEEKLY;BYDAY=TH
Event created in iOS (which shows on the correct day in MM) shows:
RRULE:FREQ=WEEKLY;INTERVAL=2
Other than this, the two ics entries look identical. Google's interface doesn't seem to give me the option of specifying a weekly repeat without selecting a specific weekday (in this case, Thursday). Hope this helps!


Add GO example

Should wait for the API changes of #114 before merging

These changes should have been contained in another branch


OLLAMA URL

We can select ollama port but not URL.
Is it possible to add this option ?

I've create a merge request to add it

I am looking at your request. Great work so far! Thanks for the contribution to the project. Will most likely get added. Some things may need change but otherwise looks great.


Incorrect Bear Fact

"Of the eight bear species, four live in the Southern Hemisphere and four in the Northern Hemisphere"
This is not correct. In fact, all 8 species of bears have habitats that overlap the Northern Hemisphere. The spectacled bear is probably the most southern of the bears, but even its habitat ranges into northern Venezuela and Colombia, which is above the equator [1].
[1] https://upload.wikimedia.org/wikipedia/commons/thumb/6/65/Tremarctos_ornatus_distribution.svg/1024px-Tremarctos_ornatus_distribution.svg.png

Yeah I think this fact is just wrong (most of them are in the north). It should be removed.
https://www.britannica.com/animal/bear


Android 12 issues

Describe the bug
Location is not working well for android 12.
I'm still not sure what and why and this requires more investigation.
The only lead I have is this article:
https://developer.android.com/training/location/permissions#approximate-request
To Reproduce
Not sure...
Expected behavior
GPS should work
Desktop (please complete the following information):

OS: [e.g. iOS] android 12

Smartphone (please complete the following information):

Device: [e.g. iPhone6] pixel 4a

https://github.com/apache/cordova-plugin-geolocation/issues/235
Might be relevant.

Presumably related to this issue, I have been encountering similar problems with an app I am trying to create:

When the app is in the foreground initially, location updates as expected (Although I haven't yet tested if leaving the app in the foreground for an extended period of time will keep the location updating as expected).
As soon as the app gets put in the background, the location stops updating.
If the location does update for any reason, the resulting location will be snapped to a nearby point, and returned with an inaccuracy of either 899.999, 699.999 or 600 metres.
If the user uses another app which requests location in the foreground (tested with Google Maps and OsmAnd) or spoofs the user's location (tested FakeGPS only) then the background location will also update while the user is using the app (still need to test if this works with an app which loads the location in the background such as Google Map's location share feature).

In addition to ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION, my app also has ACCESS_BACKGROUND_LOCATION, with the location permission being set to "Allow all the time".
This setup worked perfectly on Android 11, it has only broken with Android 12.
Phone info: Pixel 3a, Android 12 build SQ1A.220105.002
Build machine info: Linux 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue Dec 14 15:36:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Hopefully this information helps, if you need specific logs or anything testing let me know.

Can you share logcat of this issue and the plugin's logs?
I've seen this issue mainly with pixel devices, it's not a general problem in android 12.
Unfortunately, I don't have a pixel device to further investigate.
Any help would be appreciated!!

I did some further experiments with this issue, and have the following logs
trimmed.log:
These were generated with this app: https://github.com/DanielLedger/debugApp
In addition, although I forgot for the line generated by navigator.geolocation, I also have pictures of the traces generated by the second two tests (running the plugin with OSMAnd also logging the trip, and just the plugin running)
Test 1 (with OSMAnd):

Test 2 (without OSMAnd):
Note that this was not the same walk, I was following the blue path that goes around the edge of the common (https://www.openstreetmap.org/way/3431516#map=16/50.9313/-1.4116)

Hopefully this helps!

I was expecting not to see anything on the map...
Can you pull the logcat from the device and see if you see anything strange when not using osmand in the background?

I've upgraded my device to android 12 and I see similar issues.
When using GPS test it "fixes" the accuracy issue.
If you find a solution before I do key me know...

I'm using the raw provider.
I think both raw and distance are not using the fused location.
I have a hunch this might be the case.
I need to check... The activity provider is using fused, which might help narrow down the issue.
If you try it out and let me know it would be great.
It's not a solution but a way to narrow down the issue...

I've looked at the GPS Test code, it doesn't use the fused location provider but rather the gps provider.
This plugin uses the location manager getBestProvider using criteria.
It might be that android 12 updated this code to return a provider which is less accurate and more battery optimized.
I'm looking into this issue in the following branch:
https://github.com/HaylLtd/cordova-background-geolocation-plugin/tree/59-android-12-issue
I've added logging about which provider I get when asking for the best one.
For android 11 I get gps
and for android 12 I get fused
I'm still unsure how to solve this, but at least I know where the change is coming from.

I've opened a ticket to android since I can reproduce this in their emulator:
https://issuetracker.google.com/issues/214568820
As a workaround, I've hardcoded gps instead of using the criteria for the raw provider, I'm not sure I have a better solution.
Relevant changes can be seen in the branch above.

@DanielLedger Feel free to review the PR I just opened.
It's less hard coded and I feel OK with it given the bug in the Android OS.
Basically it only applies the hard coded change for devices that has a GPS and are Android 12 or later.
Once merged I can release a new version to avoid the need to use the branch and git reference.

The response in the issue tracker says that the API was deprecated but was not marked as such.
They also advise to use Google fused location provider and asked why we don't use it.
In any case, no further actions is planned here as far as I'm concerned.

Unfortunately, I still have inaccurate location detection without another application active.

the same route

Can you check if you see the following lines in the log messages of the plugin:
Requesting location updates from provider.
If so, which provider does it use?
Also which provider are you configuring? distance? raw? something else?

android6.txt
android12.txt
logs of identical routes from 2 devices.
configure

I have the latest version of the plugin installed, but the error remains.

I have removed all the conditions. I left only the GPS provider. It still doesn't accurately show the location.
I switched the provider to RAW, but that didn't help either.

YES! I used your settings and everything worked. Maybe I didn't specify the interval or distanceFilter correctly, it's hard to say yet. But nevertheless, everything works. Thank you very much!

The above settings (https://github.com/IsraelHikingMap/Site/blob/1513d6095ede4e9ccb701eaf7dbeee386f912b1e/IsraelHiking.Web/src/application/services/geo-location.service.ts#L124) work for leaving the app open and recording accurately, however, I have bene completely unsuccessful while getting background location updates if the device is locked.
Here are the config options that worked while locked for Android 11:
BackgroundGeolocation.configure({           locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,           desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,           stationaryRadius: 1,           distanceFilter: 1,           notificationTitle: 'Trackster',           notificationText: 'Your GPS location has been synced in the background & is ready!',           notificationIconColor: "#3a3a3a",           notificationIconLarge: "ic_stat_iconandroid",           notificationIconSmall: "ic_stat_iconandroid",           debug: false,           interval: 5000,           stopOnStillActivity: false,           fastestInterval: 5000,           activitiesInterval: 10000,           activityType: 'Fitness'         });
What's interesting is that with any config options I've tested for android 12, I've been also totally unable to even get the notification that background tracking is enabled. again, with android 11 it totally works as described.
I have seen this error in the terminal when instantiating the background geo config. I recently solved a different issue with a different plugin that had the same issue.
2022-07-17 13:38:24.698 2930-2930/com.trackster.main.app E/com.marianhello.bgloc.service.LocationServiceImpl: processCommand: exceptionjava.lang.IllegalArgumentException: com.trackster.main.app: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.     Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.         at android.app.PendingIntent.checkFlags(PendingIntent.java:375)         at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:458)         at android.app.PendingIntent.getActivity(PendingIntent.java:444)         at android.app.PendingIntent.getActivity(PendingIntent.java:408)         at com.marianhello.bgloc.sync.NotificationHelper$NotificationFactory.getNotification(NotificationHelper.java:77)
Based off the final line of the above error, it seems the FLAG_IMMUTABLE needs to be present somewhere in the Java code for the notification to fire and from what I know the notification needs to be present for the locked device to update.
I'll see if I can change something on the Java side to get this working.

Yup that did it -
I changed to this line in NotificationHelper.java. To be honest I'm not super familiar with Java and I'm not sure what this change does besides get the Android 12 to work lol if @HarelM could confirm it's safe I could fork or y'all could just update.
            `PendingIntent contentIntent = PendingIntent.getActivity(appContext, 0, launchIntent, PendingIntent.FLAG_IMMUTABLE);

`

Can you create a PR so I can better understand exactly what you changed?

Ok I just submitted a PR with a fork, let me know how that looks. Thanks!

I don't see any PR... did you make sure it's against this repo and not the parent one?

I think it's here: https://github.com/HarelM/cordova-plugin-background-geolocation/pull/3

You need to create a PR against this repo next time :-)
I'll release version 2.0.6 with the immutable flag shortly.

Hi @HarelM. I just upgrade to 2.0.8 version ant the issue remains. Any update is retrived in background mode Android 12 API 31. I'm using DistanceFilterProvider
Here is my plugin config:
const config: BackgroundGeolocationConfig = {       desiredAccuracy: 5,       stationaryRadius: 15,       distanceFilter: 10,       interval: 60000,       stopOnTerminate: false,       startForeground: true,       notificationTitle: "Hello",       notificationText: "Hello"    }

Can you reproduce this in a simulator?


Prevent multiple initializations

Somehow the initializer ran twice in some of my acceptance tests which caused the controller hooks to be fired multiple times. This fix should prevent it from reopening the route more than once.
This may also fix #39

@anehx this is great! Thank you 😄


Wrong (or missing) PIN is poorly handled

If a room requires PIN but is not correctly entered, no error is reported. Instead, the room layout loads but the user is not allowed to connect to Janus... which is far from obvious.

When the connection fails due to a wrong or missing PIN, janusAPI emits a reportError event. But looks like the UI does nothing about it.

And this is how we handle it in the Angular branch. Nothing too impressive but quite functional.
https://github.com/jangouts/jangouts/blob/33ac5ff05ae77b4bf1b2114431d6558041deb5c8/src/app/room/room.controller.js#L39

Fixed (or at least greatly mitigated) by #425


Error with nested optional arguments in theorem-like environment defined by \newtheoremrep

Hi Pierre and contributors,
Thank you for maintaining such a useful style file!
I've just realized that the following code doesn't compile (with v1.2.1):
\documentclass{article}
\usepackage{apxproof}
\newtheoremrep{theorem}{Theorem}
\begin{document}
\begin{theoremrep}[{\cite[pp.\,9--44]{leunen}}]
	Some good theorem holds.
\end{theoremrep}
\begin{proof}
	Some technical proof shows it.
\end{proof}
\bibliographystyle{plain}
\bibliography{refs}
\end{document}

Here, the content of refs.bib is:
@book{leunen,
author = "Mary-Claire van Leunen",
title = "A Handbook for Scholars",
year = 1978,}

(It is taken from this book in Japanese .)
Note that the following one compiles:
\documentclass{article}
\usepackage{apxproof}
\newtheoremrep{theorem}{Theorem}
\begin{document}
\begin{theorem}[{\cite[pp.\,9--44]{leunen}}]
	Some good theorem holds.
\end{theorem}
\begin{proof}
	Some technical proof shows it.
\end{proof}
\bibliographystyle{plain}
\bibliography{refs}
\end{document}

and so does the following one:
\documentclass{article}
\usepackage{apxproof}
\newtheoremrep{theorem}{Theorem}
\begin{document}
\begin{theoremrep}[\cite{leunen}]
	Some good theorem holds.
\end{theoremrep}
\begin{proof}
	Some technical proof shows it.
\end{proof}
\bibliographystyle{plain}
\bibliography{refs}
\end{document}

So I guess something is going wrong when theoremrep environment deals with an optional argument of a command in the optional argument of the theoremrep environment itself.
I'd appreciate it very much if this is resolved.
Thanks!

I've just found a workaround.
The following compiles and works as expected:
\documentclass{article}
\usepackage{apxproof}
\newtheoremrep{theorem}{Theorem}
\begin{document}
\newcommand{\leunencite}{\cite[pp.\,9--44]{leunen}}
\begin{theoremrep}[\leunencite]
	Some good theorem holds.
\end{theoremrep}
\begin{proof}
	Some technical proof shows it.
\end{proof}
\bibliographystyle{plain}
\bibliography{refs}
\end{document}

So the nature of the problem might be like that of Issue #34.
I also noticed that the problem has actually nothing to do with \cite.
Indeed, the following doesn't compile:
\documentclass{article}
\usepackage{apxproof}
\newtheoremrep{theorem}{Theorem}
\newcommand{\cmd}[2][default]{#1#2}
\begin{document}
\begin{theoremrep}[{\cmd[arg1]{arg2}}]
	Some good theorem holds.
\end{theoremrep}
\begin{proof}
	Some technical proof shows it.
\end{proof}
\end{document}

Thanks for the bug report. This was an easy bug to fix, the latest version from the develop branch (commit 2b56903) should fix this. Another workaround is to add an extra level of braces within the optional argument of the repeated theorem.

Thank you very much!


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 6265cac, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 6358 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in 972df50 after 30 minutes.


AppMaps icon is disabled in Intellij for Spring boot app, not able to start the app with "start with appMaps"

button is disabled

Thanks for reporting!
Currently, the run configuration types "Application" (i.e. Java application), "Maven" and "Gradle" are supported. Spring boot run configurations are currently not supported by the AppMap plugin.


[CT-2537] Include "compiled" node attributes in run results

Proposed change
Let's include attributes that can vary at compile/runtime. Those attributes are:

compiled: bool = True (always False after parsing)
compiled_code (always empty after parsing) - this is most important
relation_name - this is set after parsing, but it can be updated for tests that have --store-failures enabled
depends_on.macros (https://github.com/dbt-labs/dbt-core/issues/5079) - since additional macro dependencies are required/registered while a model is being materialized, versus just compiled (e.g. create_table_as)

(Here is where we set many of those attributes, during compilation)
The run_results.json produced by compile, docs generate, run/build/test/etc should include these fields (and only these fields) in addition to the node's unique_id. All other fields can be accessed from the manifest, and represent logical state at a point in time.
Background

Way back in v0.19, we removed the full node entry from run_results.json, and moved the compiled_code attribute into the manifest, so as to power dbt-docs from only manifest + catalog.
Starting in v1.4 (https://github.com/dbt-labs/dbt-core/pull/6384), we narrowed down the set of fields that differ between "uncompiled" and "compiled" nodes.

Rationale

The manifest represents "logical" state (parsed from project code + configs)
Run results + catalog represent "applied" state (as materialized by dbt, as the objects exist in the data warehouse)

Compiled code can be a form of "applied" state. If a model's SQL depends on the results of an introspective query, it can vary given different inputs from the data warehouse.

@jtcohen6 per BLG: We're estimating this as written but have some concerns and would like to understand the use-case better-- Maybe a situation that would call for a new runtime artifact, compile_results.json?


Fix deprecation warning in Atom Beta 1.13

item.getPath() returns undefined, causing path.dirname to throw a warning.
This happens when you create a new file.  Since we know this is a new file (with no path, unsaved) we can also remove the item.getTitle() isnt 'untitled' check as we'll have exited above in the guard clause.

How to reproduce that? I don't see this warning with the latest beta. What is your OS?

Have "Map Terminals To" set to "Folder", doesn't matter if "Auto Open" is enabled or not.
Have an open project, create a new untitled file (or in this case, its really just a buffer, not a file yet), usually cmd+n.
As item.getPath() is undefined, path.dirname throws a warning, expecting only strings while being passed undefined.  This happens on line 68 of lib/status-bar.coffee.

@benphelps I've got a similar issue for my fork https://github.com/Fred-Barclay/Termination/issues/20 that I was going to fix. If you'd rather, you could submit a PR there and I'll merge you in. :-)

Can't reproduce on the latest Atom

Below are my cson settings for platformio-ide-terminal.  The key here being mapTerminalsTo: "Folder", a buffer does not have a folder, causing item.getPath() to be undefined.  You do not get the deprecation if mapTerminalsTo is set to "None" or "File".
Have an open project, create a new buffer, using cmd+n / ctrl+n
  "platformio-ide-terminal":
    ansiColors:
      normal:
        black: "#242a36"
        blue: "#288ad6"
        cyan: "#0fdebd"
        gray: "#898E95"
        green: "#16c98d"
        magenta: "#ff708e"
        red: "#dc221a"
        white: "#e4e4e4"
        yellow: "#feef6d"
      zBright:
        brightBlack: "#242a36"
        brightBlue: "#288ad6"
        brightCyan: "#0fdebd"
        brightGray: "#898E95"
        brightGreen: "#16c98d"
        brightMagenta: "#ff708e"
        brightRed: "#dc221a"
        brightWhite: "#e4e4e4"
        brightYellow: "#feef6d"
    core:
      mapTerminalsTo: "Folder"
      scrollback: 5000
    customTexts: {}
    iconColors:
      blue: "#288ad6"
      cyan: "#0fdebd"
      green: "#16c98d"
      magenta: "#ff708e"
      orange: "#feef6d"
      pink: "#ff708e"
      purple: "#ff708e"
      red: "#dc221a"
      yellow: "#feef6d"
    style:
      animationSpeed: 0
      fontFamily: "menlo"
      fontSize: "12"
    toggles:
      autoClose: true
      runInsertedText: false

Thanks!


How to perform a client-side redirect after 401

I currently have this in my __layout.svelte:
<script context="module">
    export const load = async ({ page, session }) => {

    if (!session?.user && page?.path.slice(-7) !== '/public') {
        console.log('redirecting');
        // NOTE 'public' is just a temporary convention for a public page
        // NOTE the correct status code for this 401, but SvelteKit will not redirect
        // if the status code is not 3xx.
        return { status: 302, redirect: '/prepped/public' };
    }
    return {};
}
</script>

If I'm understanding status codes correctly, if the user is not logged in and tries to access a page that they have to be logged in to view, then they should get 401 and not 302. However, SvelteKit requires a 3xx status code, and will refuse to redirect otherwise (I tried).
Put another way, is there a recommended solution for a loggedIn route guard? Or at least a direction to go in? I have spent all day on this and still don't get it (only started using SvelteKit this week), but I did try out handle and goto as well, which I now know don't work for this.
I mean, 302 works, but I guess I'm being a bit of a perfectionist and wondering if I'm still missing something. The docs specifically mention this use case as well: https://kit.svelte.dev/docs#loading-output-redirect

If you want to show the user an error message, that would be a 4xx response. If you want to redirect the user to the login page, that would be a 3xx response.
GitHub issues aren't the right place for support questions like this. Please ask on StackOverflow or in our Discord chat room.


Connecting to wrong port doesn't throw exception or timeout

FTP OS: (ftp://test.rebex.net)
FTP Server: (ftp://test.rebex.net)
Computer OS: Win10
App: UWP
Fluent FtpClient has default settings.
It can connect to ftp://test.rebex.net:21 or ftp://test.rebex.net:990 (use Task FtpClient.ConnectAsync()).
When type wrong port like 22, 143 (I think the port should be open but not ftp) the task never ends.
p.s. I can't write logs, because I don't know how to include it in UWP

You could save logs to a textfile. There is an option for that even in the UWP version.

I added FtpTrace.LogToFile = "log_file.txt";
and got exception System.UnauthorizedAccessException: 'Access to the path 'C:\Development\FtpTest\bin\x64\Debug\AppX\log_file.txt' is denied.' on line await _client.ConnectAsync();

Connecting reworked in v40. Please add a new issue if this still occurs. Closing for now.


Cannot install package using pip: cannot find CHANGELOG.rst

pip install python-flipkart
Downloading/unpacking python-flipkart
Downloading python-flipkart-0.2.0.tar.gz
Running setup.py (path:/tmp/pip-build-R7gnLL/python-flipkart/setup.py) egg_info for package python-flipkart
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-R7gnLL/python-flipkart/setup.py", line 30, in
with open('CHANGELOG.rst') as history_file:
IOError: [Errno 2] No such file or directory: 'CHANGELOG.rst'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-R7gnLL/python-flipkart/setup.py", line 30, in
with open('CHANGELOG.rst') as history_file:

IOError: [Errno 2] No such file or directory: 'CHANGELOG.rst'

Seems CHANGELOG.rst just is not included into package.


Formatting an Astro file with ", ', or ` in the component script can clear the file

I formatted the following file, which cleared the entirety of the component script and layout. It seems to have been caused by the "'" in the third line.
Input file index.astro:
---
const a = 1;
const b = "'";
const c = 2;
---

<html></html>

Output file:
---

---

The following input files also result in the same empty output file:
---
//'
---

---
//"
---

---
//`
---

Here is the dprint.json that was used:
{
  "markup": {
  },
  "excludes": [
    "**/node_modules",
    "**/*-lock.json"
  ],
  "plugins": [
    "https://plugins.dprint.dev/g-plane/markup_fmt-v0.5.0.wasm"
  ]
}

The same behavior occurred with the TypeScript plugin added.

v0.5.1 is released and it fixed this problem. Feel free to open new issues if you find bugs, also don't forget to give it a star and recommend this project to others.


Merge dev-zh into main(for Chinese localization live version)

Merge Chinese development branch into main.
Checklist to make localization live.

[x] validate all files which are not in the localization directory (content/zh/*)
[x] check i18n/zh.toml exist
[ ] acknowledge to initial localization contributors list #869
[x] build project of Chinese Location Progress
[x] check Preview works
[ ] check l10n configuration in config.toml #843

@Jacob953 In preview, the Chinese version of "Contributor Ladder" page is missing.
Could you (or anyone in Chinese L10n team) add this? 😊

FYI: The Chinese version of "How To Contribute" seems slightly outdated. 😊

zh: https://deploy-preview-844--cncfglossary.netlify.app/zh-cn/contribute/
en: https://deploy-preview-844--cncfglossary.netlify.app/contribute/

FYI: The Chinese version of "How To Contribute" seems slightly outdated. 😊

zh: https://deploy-preview-844--cncfglossary.netlify.app/zh-cn/contribute/
en: https://deploy-preview-844--cncfglossary.netlify.app/contribute/

@Jacob953 yeah, pls update the content mentioned above, which is aligned with English version.

Hi, @jihoon-seo PTAL!
I've update contribute/_index.md & style-guide/_index.md to dev-zh with main in #881
I'll merge it into main as soon as #881 is done. ;)


How to achieve real-time highlighted words in the demo video？

I'm evaluating the accuracy of the timestamp, which is important to me。

The demo videos are not in real-time. They are the transcription results exported as subtitle files then encoded with their respective audios. See https://github.com/jianfch/stable-ts/issues/364#issuecomment-2143532786.


Update playground.md

Updated Playground URL to playground.marlowe-lang.org

There are probably a lot more places in the docs to update, this is just the first hit if you search on Google for Marlowe Playground... maybe just forward the old URL?


Release the lock on aws-sdk version 2.6

Allow any version from 2.6  to < 3 to be installed.
The hard lock is a little restrictive if you have a Gemfile and you are doing other things with the aws-sdk. It changes, new features are added and you can't use those feature with this lock.
AWS is generally pretty good with semantic versioning. As long as we don't do a major upgrade to version 3, I would think a softer lock should work.

:+1: :shipit:


[PeacockTV] Support for peacocktv.com (Paramount/NBC)

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.06.29 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
United States
Example URLs
https://www.peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc
https://www.peacocktv.com/watch/playback/vod/GMO_00000000073479_01/ce42f9b8-f5b5-36e7-9436-72bc8c1d7ff6
Provide a description that is worded well enough to be understood
I've been able to download successfully from ParamountPlus.com, so I was hoping PeacockTV would also work, but I only get the "Unsupported URL" message.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['--cookies-from-browser', 'firefox', '-vU', 'https://www.peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.06.29 [9d339c4] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2021-01-05-git-66deab3a26-full_build-www.gyan.dev, ffprobe 2021-01-05-git-66deab3a26-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[Cookies] Extracting cookies from firefox
[debug] Extracting cookies from: "C:\Users\omf\AppData\Roaming\Mozilla\Firefox\Profiles\c6002v28.default-release\cookies.sqlite"
[Cookies] Extracted 902 cookies from firefox
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/download/2022.06.29/_update_spec
Latest version: 2022.06.29, Current version: 2022.06.29
yt-dlp is up to date (2022.06.29)
[debug] [generic] Extracting URL: https://www.peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc
[generic] f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc: Downloading webpage
[generic] f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1420, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1490, in __extract_info
  File "yt_dlp\extractor\common.py", line 640, in extract
  File "yt_dlp\extractor\generic.py", line 4130, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.peacocktv.com/watch/playback/vod/GMO_00000000073159_01/f9d03003-eb04-3c7f-a7b6-a83ab7eb55bc

I have yet to come across Peacock content that is not DRMed so I don't think this will be feasible. If anyone has any workarounds to access any unprotected streams (if they exist), I'm all ears, but I wouldn't hold out hope


How to Train Residual LFQ

Hi, I want to train a Residual LFQ model for audio, and this is my core code:
def _loss_fn(loss_fn, x_target, x_pred, cfg, padding_mask=None):
    if padding_mask is not None:
        padding_mask = padding_mask.unsqueeze(-1).expand_as(x_target)
        x_target = torch.where(padding_mask, x_target, torch.zeros_like(x_target)).to(x_pred.device)
        x_pred = torch.where(padding_mask, x_pred, torch.zeros_like(x_pred)).to(x_pred.device)
        mask_sum = padding_mask.sum()

    if loss_fn == 'l1':
        loss = torch.sum(torch.abs(x_pred - x_target)) / mask_sum
    elif loss_fn == 'l2':
        loss = torch.sum((x_pred - x_target) ** 2) / mask_sum
    elif loss_fn == 'linf':
        residual = ((x_pred - x_target) ** 2).reshape(x_target.shape[0], -1)
        # only consider the residual of the padded part
        masked_residual = torch.where(padding_mask.reshape(x_target.shape[0], -1), residual, torch.zeros_like(residual))
        values, _ = torch.topk(masked_residual, cfg.linf_k, dim=1)
        loss = torch.mean(values)
    else:
        assert False, f"Unknown loss_fn {loss_fn}"

    return loss

def training_step(self, batch, batch_idx):
        quantized, indices, commit_loss = self.model(batch['audio'], batch['padding_mask'])
        quantized_out = self.model.get_output_from_indices(indices)
        reconstruction_loss = _loss_fn('l2', batch['svg_path'], quantized_out, self.cfg, batch['padding_mask'])
        return reconstruction_loss  + commit_loss

model = ResidualLFQ(
        dim = config.lfq.dim,
        codebook_size = config.lfq.codebook_size,
        num_quantizers = config.lfq.num_quantizers
    )

I use reconstruction_loss and commit_loss to update the ResidualLFQ model.
I wonder, is this update operation right? I noticed no training example is released, and ResidualLFQ only returns a very large commit loss...

Hi, I want to train a Residual LFQ model for audio, and this is my core code:
def _loss_fn(loss_fn, x_target, x_pred, cfg, padding_mask=None):
    if padding_mask is not None:
        padding_mask = padding_mask.unsqueeze(-1).expand_as(x_target)
        x_target = torch.where(padding_mask, x_target, torch.zeros_like(x_target)).to(x_pred.device)
        x_pred = torch.where(padding_mask, x_pred, torch.zeros_like(x_pred)).to(x_pred.device)
        mask_sum = padding_mask.sum()

    if loss_fn == 'l1':
        loss = torch.sum(torch.abs(x_pred - x_target)) / mask_sum
    elif loss_fn == 'l2':
        loss = torch.sum((x_pred - x_target) ** 2) / mask_sum
    elif loss_fn == 'linf':
        residual = ((x_pred - x_target) ** 2).reshape(x_target.shape[0], -1)
        # only consider the residual of the padded part
        masked_residual = torch.where(padding_mask.reshape(x_target.shape[0], -1), residual, torch.zeros_like(residual))
        values, _ = torch.topk(masked_residual, cfg.linf_k, dim=1)
        loss = torch.mean(values)
    else:
        assert False, f"Unknown loss_fn {loss_fn}"

    return loss

def training_step(self, batch, batch_idx):
        quantized, indices, commit_loss = self.model(batch['audio'], batch['padding_mask'])
        quantized_out = self.model.get_output_from_indices(indices)
        reconstruction_loss = _loss_fn('l2', batch['svg_path'], quantized_out, self.cfg, batch['padding_mask'])
        return reconstruction_loss  + commit_loss

model = ResidualLFQ(
        dim = config.lfq.dim,
        codebook_size = config.lfq.codebook_size,
        num_quantizers = config.lfq.num_quantizers
    )

I use reconstruction_loss and commit_loss to update the ResidualLFQ model. I wonder, is this update operation right? I noticed no training example is released, and ResidualLFQ only returns a very large commit loss...

@lucidrains