Allow related attributes of wc_kb classes to be of type KnowledgeBaseObject

I'm not sure I understand the issue. ObjTables already allows this. This sounds like an issue for the design of the wc_kbs schema.

Thanks Jonathan. If I remember correctly I tried to implement the suggestion of allowing not only Observables but also instances of other wc_kb classes to be an object_tce attribute of TimeCourseEvidence.  The relationships could be later restricted to subclasses of  KnowledgeBaseObject at the validation step. I tried the following (which admittedly could lead to circularities, but I did not have an idea how to do it differently):
class TimeCourseEvidence(Evidence):
    ...
    object_tce = obj_tables.ManyToOneAttribute('KnowledgeBaseObject', related_name='time_course_evidences')

This should be fine.


Add to 'exclude'

The other file that uses .gitignore style syntax is the exclude file found in .git/info/
This is used for people to add ignores necessary for their local environment but not something that makes sense to commit into say, a team repo.
For instance, I have an intellij plugin for work, but not everyone uses it.  Sadly, the plugin author (I will not name names but it's from a prominent company) decided to create some weird folder in the root of my project and throw an xml file in it instead of doing this in the .idea folder.
It'd be good if we could re-use the functionality we get for .gitignore for exclude.

This is, obviously, a feature request. :smile_cat:

@fuzzyweapon Thank you for this request.
Do you have any proposition, how to present user this file ?
User cannot open it manually from the IDE because whole .git directory is hidden.

We can make .git directory is not hidden for working with .git/hooks and .git/info/:

@DsXack That's additional work that all of the JetBrains users will have to do.


Opens up outside the screen

First, thanks for making this. Huge improvement over the Angular Material datepicker… I need something with a functioning label badly.
Unfortunately, my date input is at the right side of the form, and your picker always opens up roughly 50% outside the window. Sample attached.

Thanks for identifying issue, will resolve it soon and commit it soon

fixed this issue close if this fix your issue

closing issue no activity

Apologies that I couldn't take time to verify this fix. It did not work, unfortunately.
I will be uploading a pull request shortly.


Is there a way to keep the aspect ratio of an animated Element contents?

I am animating a button on click to be full screen and I want to know if is possible to keep the aspect ratio of button contents (in this case a couple of divs and div childs).
Is it possible? I haven't found anything related in the docs but maybe I have overlook something.
Thanks.

Hello, sorry since then I ditched animation altogether mostly because I want to focus on other parts of my code.
I can thought explain a little bit more.  I had a rectangular div like 200px width and 100px height with some text inside.
On click it grow to the 100% viewport width and height of an regular Smartphone. While transitioning the text inside the div was also changing proportions. And that is what I wanted to avoid.


Unicode issues.

I found that most of the stories I download end up full of things like â€, I'm assuming this is a unicode issue and could be fixed by encoding the data as uft-8 on *nix systems

Can you elaborate a bit more? I've pushed commit 2dbdb61 in the mean time, if this fixes your issue, please say so. Otherwise, provide more information about your error.

That seems to have fixed it


winget list running slow possible issue with "Opened SQLite Index with version"

Brief description of your issue
winget list is runing very slow on the newly installed machine. It was working correctly but after couple of reboots winget stoped responding.
I can also see the same slownes behavior when ussing import and upgrade commands (although I have only tried on thoes)
Steps to reproduce
winget list
Expected behavior
To finish get list in a matter of seconds.
Actual behavior
When trying to list packages it take for ever to do so.
2024-10-24 15:05:24.362 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-10-24 15:05:24.362 [CORE] IsCOMCall:0; Caller: winget-cli
2024-10-24 15:05:24.369 [CLI ] WinGet invoked with arguments: 'list' '--verbose-logs'
2024-10-24 15:05:24.369 [CLI ] Found subcommand: list
2024-10-24 15:05:24.371 [CLI ] Leaf command to execute: root:list
2024-10-24 15:05:24.372 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:05:24.372 [CORE] Admin settings was not found
2024-10-24 15:05:24.372 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:05:24.372 [CORE] Admin settings was not found
2024-10-24 15:05:24.372 [CLI ] Executing command: list
2024-10-24 15:05:24.372 [REPO] Additional sources GP is not enabled.
2024-10-24 15:05:24.372 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-10-24 15:05:24.372 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:05:24.372 [CORE] Admin settings was not found
2024-10-24 15:05:24.373 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-10-24 15:05:24.373 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-10-24 15:05:24.378 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-10-24 15:05:24.378 [YAML] Detected UTF-8
2024-10-24 15:05:24.378 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2024-10-24 15:05:24.378 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-10-24 15:05:24.378 [REPO] Adding to source references msstore
2024-10-24 15:05:24.379 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:05:24.379 [CORE] Admin settings was not found
2024-10-24 15:05:24.379 [CORE] Default proxy is not set
2024-10-24 15:05:24.379 [REPO] REST HTTP Client helper does not use proxy
2024-10-24 15:05:24.379 [REPO] Adding to source references winget
2024-10-24 15:05:24.379 [CLI ] Created authentication arguments. Mode: silentPreferred, Account:
2024-10-24 15:05:24.388 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-24 15:05:24.388 [CORE] Found matching extension.
2024-10-24 15:05:24.391 [REPO] Source `winget` after auto update time [15 mins]; it has been at least 19 mins
2024-10-24 15:05:24.396 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-24 15:05:24.396 [CORE] Found matching extension.
2024-10-24 15:05:24.398 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source2.msix
2024-10-24 15:05:24.834 [REPO] Header indicates version is: 2024.1024.1221.1
2024-10-24 15:05:24.834 [REPO] Remote source data (2024.1024.1221.1) was not newer than existing (2024.1024.1221.1), no update needed
2024-10-24 15:05:24.834 [REPO] Additional sources GP is not enabled.
2024-10-24 15:05:24.834 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-10-24 15:05:24.834 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:05:24.834 [CORE] Admin settings was not found
2024-10-24 15:05:24.834 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-10-24 15:05:24.834 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-10-24 15:05:24.835 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-10-24 15:05:24.835 [YAML] Detected UTF-8
2024-10-24 15:05:24.835 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2024-10-24 15:05:24.835 [REPO] Multiple sources available, creating aggregated source.
2024-10-24 15:05:24.835 [REPO] Adding to aggregated source: msstore
2024-10-24 15:05:24.835 [REPO] User agent caller found: winget-cli
2024-10-24 15:05:24.835 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-10-24 15:05:24.837 [REPO] Http GET request details:
GET / HTTP/1.1

Content-Type: application/json

User-Agent: winget-cli WindowsPackageManager/1.8.1911 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.23.1911.0

2024-10-24 15:05:25.359 [REPO] Response status: 200
2024-10-24 15:05:25.359 [REPO] Response details:
HTTP/1.1 200 OK

Cache-Control: max-age=0, no-cache, no-store

Connection: keep-alive

Content-Length: 861

Content-Type: application/json; charset=utf-8

Date: Thu, 24 Oct 2024 13:05:25 GMT

Expires: Thu, 24 Oct 2024 13:05:25 GMT

MS-CV: o9JImZEujU2dDq/e.0

Pragma: no-cache

Server: Microsoft-HTTPAPI/2.0

X-OSG-Served-By: Torus-WESTEUROPE_Legacy000M54_<IP_ADDRESS>

X-Segment-On: true

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0","1.6.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2024-10-24 15:05:25.359 [REPO] Authentication node not found. Assuming authentication type none.
2024-10-24 15:05:25.359 [REPO] User agent caller found: winget-cli
2024-10-24 15:05:25.359 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-10-24 15:05:25.359 [REPO] Http GET request details:
GET / HTTP/1.1

Content-Type: application/json

User-Agent: winget-cli WindowsPackageManager/1.8.1911 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.23.1911.0

2024-10-24 15:05:25.436 [REPO] Response status: 200
2024-10-24 15:05:25.437 [REPO] Response details:
HTTP/1.1 200 OK

Cache-Control: max-age=0, no-cache, no-store

Connection: keep-alive

Content-Length: 861

Content-Type: application/json; charset=utf-8

Date: Thu, 24 Oct 2024 13:05:25 GMT

Expires: Thu, 24 Oct 2024 13:05:25 GMT

MS-CV: o9JImZEujU2dDq/e.0

Pragma: no-cache

Server: Microsoft-HTTPAPI/2.0

X-OSG-Served-By: Torus-WESTEUROPE_Legacy000M54_<IP_ADDRESS>

X-Segment-On: true

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0","1.6.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2024-10-24 15:05:25.437 [REPO] Authentication node not found. Assuming authentication type none.
2024-10-24 15:05:25.437 [REPO] Adding to aggregated source: winget
2024-10-24 15:05:25.468 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-10-24 15:05:25.469 [CORE] Found matching extension.
2024-10-24 15:05:25.510 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.1024.1221.1_neutral__8wekyb3d8bbwe\Public\index.db'
2024-10-24 15:05:25.511 [REPO] Opened SQLite Index with version [2.0], last write [2024-10-24 13:20:25.000]
2024-10-24 15:06:38.795 [CLI ] Checking Source agreements for source: msstore
2024-10-24 15:06:38.796 [REPO] Additional sources GP is not enabled.
2024-10-24 15:06:38.796 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-10-24 15:06:38.796 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-10-24 15:06:38.796 [CORE] Admin settings was not found
2024-10-24 15:06:38.796 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:

It looks like every time it tries to Opened SQLite Index with version it takes a minute to move on. This happens everytime this is needed:
2024-10-24 15:05:25.511 [REPO] Opened SQLite Index with version [2.0], last write [2024-10-24 13:20:25.000]
2024-10-24 15:06:38.795 [CLI ] Checking Source agreements for source: msstore

2024-10-24 15:07:17.190 [REPO] Opened SQLite Index with version [1.7], last write [2024-10-24 13:20:04.000]
2024-10-24 15:07:53.886 [REPO] Performing search: Query:[none] Include:ProductCode='27a75bf3-be48-5c35-934f-8491cf108abe'

2024-10-24 15:07:53.895 [REPO] Opened SQLite Index with version [1.7], last write [2024-10-24 15:01:54.000]
2024-10-24 15:08:29.451 [REPO] Performing search: Query:[none] Include:ProductCode='27a75bf3-be48-5c35-934f-8491cf108abe'[Exact] Include:NormalizedNameAndPublisher='drawio'+'jgraph'[Exact]

Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.4317
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Was seeing the same behaviour, but only on my primary machine. After chatting with a colleague about it, I decided to purge all WinGet cache files and now perforce is back to what is expected.


Enable variable expansions for files.watcherExclude

Description
Currently, files.watcherExclude does not accept variable expansions. For instance, workspace settings like below could not "exclude" the intended folder, ${workspaceFolder}/run.
{
    "files.watcherExclude": {
        "${workspaceFolder}/run/**": true,
    }
}

It would be great if such setting is accepted.
Rationale
There is a workaround, using the recursive globbing syntax:
{
    "files.watcherExclude": {
        "**/run/**": true,
    }
}

However, when another run folder exists in the source tree (e.g., in ${workspaceFolder}/src/run or wherever), the file watcher will exclude both folders, resulting in inconvenience when the source files under the run directory are modified.
If watcherExclude accepts variables (at least simple ones like ${workspaceFolder}), then this problem could be easily circumvented. Hard-coding full path to the workspace is also an option, but it makes the workspace not relocatable and is not very elegant IMO.

Since this ends up in settings I think this is a more general request to be able to use variables in settings.
//cc @sandy081

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

/duplicate

@sandy081 Can I get the duplicate issue id?

https://github.com/microsoft/vscode/issues/2809


trufflehog: 3.31.2 -> 3.31.3

Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.31.3
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

There are now tests that require network access.


add stakedenom by deafult

Description
use celes by default
closes https://github.com/celestiaorg/celestia-app/issues/158

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

awesome!!! thanks a ton @marbar3778 for doing this!
there's an unused constant, TokenDenomination, in the payment keeper package that's been there since this repo has been generated, and I think now would be a great time to remove it
https://github.com/marbar3778/celestia-app/blob/2abfb8b2f6bc3f9a295f398dc218f6010c49977e/x/payment/keeper/keeper.go#L14-L16"
otherwise LGTM 👍 👍

removed it

I have a question: does this automatically fix the issue that denom and the min denom are both named celes currently (instead of celes and uceles)? (see: https://github.com/celestiaorg/insync/pull/3#discussion_r794977142)

ah yes, this needs to be uceles instead of celes. I can make the change


List editing icons greyed out

Why is list editing greyed out? These are the ordered and unordered list edit icons in the top editor bar in v1.1.20

If I add an empty element, edit the html to add ul and li-tags, then the li-tags are saved but the ul-tags are stripped out. The only way seems to be using the embedded code module.

It's the sections with safe-mode class that are causing the editor list icons to be disabled.
What is unsafe about lists?

Also if I paste in lines of text from a text editor (so no hidden Word formatting) and format as a list I get one list item for all lines; It would be great if the editor converted a new line to a new list item.


Add Silvino Vieira to Contributors list

@silvinovieira, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

@Roshanjossey, I'm very excited about taking this first step. I've been working as a developer for a couple of years and I always felt like I should engage in a open source project. I hope this help me achieve that while I learn and help others in the journey.

@silvinovieira, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


bug: Error: No matching key. pairing: undefined

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
latest
Current Behavior
An error shows up on the browser console each time a user connects using the WalletConnect connector.
Connection seems to be established, not sure if it has any negative impact.
Happens on all browsers and wallet apps tested.
Expected Behavior
No errors are shown on the console.
Steps To Reproduce
Connect to any wallet using the WalletConnect (v2) connector.
The error shows up on the browser console.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://wagmi.sh/examples/connect-wallet
Anything else?

Hmm, I can seem to connect fine. Do you have a brittle internet connection?


Request for new tab feature

Hi Team
Can we have a feature tab like swag
Just like we have rewards , no rewards

@DhiyaneshGeek we can easily add this feature, but the real question is we need to fill this data in all programs and we don't have source data for the existing programs in the context of swag, do you have or suggest anything from where we can automatically fetch and update this data?

@DhiyaneshGeek we can easily add this feature, but the real question is we need to fill this data in all programs and we don't have source data for the existing programs in the context of swag, do you have or suggest anything from where we can automatically fetch and update this data?

@bauthard give me a day time , i will collect  at-least 50 programs which offers swag

@bauthard give me a day time , i will collect  at-least 50 programs which offers swag

@bauthard Yup i have added those swag domains

@bauthard Yup i have added those swag domains

@ehsandeep this issue is fixed we can close this thread

Thank you @DhiyaneshGeek for taking initiative for this, this is now live on the chaos website.


make doc fails with segmentation fault in doxygen 1.9.0 on macOS

Since doxygen 1.9.0 was released into homebrew-core in https://github.com/Homebrew/homebrew-core/pull/67817, make doc has been failing for ign-gazebo with a segmentation fault in doxygen itself:

 https://build.osrfoundation.org/view/os_homebrew/job/ignition_gazebo-ci-ign-gazebo4-homebrew-amd64/13/

make[2]: *** [CMakeFiles/doc] Segmentation fault: 11

Running make doc VERBOSE=1 shows that the following command is used: doxygen build/api_tagfile.dox. By editing build/api_tagfile.dox so that QUIET = NO, you can get verbose output from make doc. I see the following lines just before the failure:
Preprocessing <prefix>/ign-gazebo/include/ignition/gazebo/Util.hh...
Parsing file <prefix>/ign-gazebo/include/ignition/gazebo/Util.hh...
Building macro definition list...
Building group list...
Building directory list...
Building namespace list...
Segmentation fault: 11

I've built doxygen from source in debug mode and have isolated the segmentation fault to a specific line in doxygen.cpp. I will submit a bug report to doxygen. In the meantime, we may want to disable generation of docs in this repository.

I uncommented a printf from doxygen and get the following output:
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 3472f8f1..d4546ff3 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1558,7 +1558,7 @@ static void buildNamespaceList(const Entry *root)
           tagName     = tagInfo->tagName;
           tagFileName = tagInfo->fileName;
         }
-        //printf("++ new namespace %s lang=%s tagName=%s\n",fullName.data(),langToString(root->lang).data(),tagName.data());
+        printf("++ new namespace %s lang=%s tagName=%s\n",fullName.data(),langToString(root->lang).data(),tagName.data());
         // add namespace to the list
         nd = toNamespaceDefMutable(
             Doxygen::namespaceLinkedMap->add(fullName,

Building macro definition list...
Building group list...
Building directory list...
Building namespace list...
++ new namespace std lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace std::regex_constants lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace std::chrono lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace std::rel_ops lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace std::this_thread lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace std::experimental lang=Unknown tagName=/usr/local/share/ignition/ignition-cmake2/doxygen/cppreference.tag.xml
++ new namespace ignition lang=Unknown tagName=/usr/local/Cellar/ignition-math6/6.8.0~pre1/share/ignition/ignition-math6/ignition-math6.tag.xml
++ new namespace ignition::math lang=Unknown tagName=/usr/local/Cellar/ignition-math6/6.8.0~pre1/share/ignition/ignition-math6/ignition-math6.tag.xml
++ new namespace ignition::math::eigen3 lang=Unknown tagName=/usr/local/Cellar/ignition-math6/6.8.0~pre1/share/ignition/ignition-math6/ignition-math6.tag.xml
++ new namespace ignition::math::IGNITION_MATH_VERSION_NAMESPACE lang=Unknown tagName=/usr/local/Cellar/ignition-math6/6.8.0~pre1/share/ignition/ignition-math6/ignition-math6.tag.xml
++ new namespace ignition::math::IGNITION_MATH_VERSION_NAMESPACE::graph lang=Unknown tagName=/usr/local/Cellar/ignition-math6/6.8.0~pre1/share/ignition/ignition-math6/ignition-math6.tag.xml
++ new namespace ignition::msgs lang=Unknown tagName=/usr/local/Cellar/ignition-msgs4/4.9.0_5/share/ignition/ignition-msgs4/ignition-msgs4.tag.xml
++ new namespace ignition::msgs::IGNITION_MSGS_VERSION_NAMESPACE lang=Unknown tagName=/usr/local/Cellar/ignition-msgs4/4.9.0_5/share/ignition/ignition-msgs4/ignition-msgs4.tag.xml
++ new namespace ignition::physics lang=Unknown tagName=/usr/local/Cellar/ignition-physics1/1.10.0_2/share/ignition/ignition-physics1/ignition-physics1.tag.xml
++ new namespace ignition::physics::dartsim lang=Unknown tagName=/usr/local/Cellar/ignition-physics1/1.10.0_2/share/ignition/ignition-physics1/ignition-physics1.tag.xml
++ new namespace ignition::physics::mesh lang=Unknown tagName=/usr/local/Cellar/ignition-physics1/1.10.0_2/share/ignition/ignition-physics1/ignition-physics1.tag.xml
++ new namespace ignition::physics::sdf lang=Unknown tagName=/usr/local/Cellar/ignition-physics1/1.10.0_2/share/ignition/ignition-physics1/ignition-physics1.tag.xml
++ new namespace ignition::sensors lang=Unknown tagName=/usr/local/Cellar/ignition-sensors2/2.9.1/share/ignition/ignition-sensors2/ignition-sensors2.tag.xml
++ new namespace ignition::sensors::IGNITION_SENSORS_VERSION_NAMESPACE lang=Unknown tagName=/usr/local/Cellar/ignition-sensors2/2.9.1/share/ignition/ignition-sensors2/ignition-sensors2.tag.xml
++ new namespace ignition::gazebo lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::components lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::serializers lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::traits lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::events lang=C++ tagName=(null)
++ new namespace ignition::gazebo::IGNITION_GAZEBO_VERSION_NAMESPACE::gui lang=C++ tagName=(null)
++ new namespace ignition::gazebo::gui lang=C++ tagName=(null)
Process 23471 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000100389654 doxygen`buildNamespaceList(root=0x00000001032ce218) at doxygen.cpp:1569:13
   1566	                createNamespaceDef(tagInfo?tagName:root->fileName,root->startLine,
   1567	                             root->startColumn,fullName,tagName,tagFileName,
   1568	                             root->type,root->spec&Entry::Published))));
-> 1569	        nd->setDocumentation(root->doc,root->docFile,root->docLine); // copy docs to definition
   1570	        nd->setBriefDescription(root->brief,root->briefFile,root->briefLine);
   1571	        nd->addSectionsToDefinition(root->anchors);
   1572	        nd->setHidden(root->hidden);
Target 0: (doxygen) stopped.
(lldb) print nd
(NamespaceDefMutable *) $0 = 0x0000000000000000

it seems the output of createNamespaceDef on line 1563 is a nullptr

it seems similar to https://github.com/doxygen/doxygen/issues/8192 but not quite the same

I believe the following patch to ign-gazebo fixes it:
diff --git a/include/ignition/gazebo/gui/GuiEvents.hh b/include/ignition/gazebo/gui/GuiEvents.hh
index 524805dd..90efc184 100644
--- a/include/ignition/gazebo/gui/GuiEvents.hh
+++ b/include/ignition/gazebo/gui/GuiEvents.hh
@@ -29,9 +29,9 @@ namespace ignition
 {
 namespace gazebo
 {
-namespace gui {
 // Inline bracket to help doxygen filtering.
 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
+namespace gui {
 /// \brief Namespace for all events. Refer to the EventManager class for
 /// more information about events.
 namespace events

that may break ABI, but it could be helpful in creating a small reproduction of the error in order to report a proper issue to doxygen

I believe the following patch to ign-gazebo fixes it:
diff --git a/include/ignition/gazebo/gui/GuiEvents.hh b/include/ignition/gazebo/gui/GuiEvents.hh
index 524805dd..90efc184 100644
--- a/include/ignition/gazebo/gui/GuiEvents.hh
+++ b/include/ignition/gazebo/gui/GuiEvents.hh
@@ -29,9 +29,9 @@ namespace ignition
 {
 namespace gazebo
 {
-namespace gui {
 // Inline bracket to help doxygen filtering.
 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
+namespace gui {
 /// \brief Namespace for all events. Refer to the EventManager class for
 /// more information about events.
 namespace events

that may break ABI, but it could be helpful in creating a small reproduction of the error in order to report a proper issue to doxygen

that seems to fix it when I run doxygen in debug mode but not with the homebrew binaries (see failed CI in #521)

Thanks for debugging, @scpeters

we may want to disable generation of docs in this repository.

Another thing we can consider is not generating docs in macOS. Our official docs are deployed using Ubuntu, and I'm not sure if many users are making use of documentation generation on macOS. I'd be ok only supporting doc generation (and other tooling like static codecheck and coverage) only on Linux to reduce our maintenance surface.
That said, I think it's good that we're catching this early and can solve it before Doxygen 1.9.0 shows up on Ubuntu.

Another thing we can consider is not generating docs in macOS

yes, that's the right step to take

That said, I think it's good that we're catching this early and can solve it before Doxygen 1.9.0 shows up on Ubuntu.

I just tried building doxygen from source on 18.04 with gcc and I can't reproduce it, so I think it is specific to macOS or clang.
ok, now I'm going to enjoy my vacation

not generating docs in macOS

Ok, an attempt here: https://github.com/osrf/homebrew-simulation/pull/1258/

not generating docs in macOS

Ok, an attempt here: osrf/homebrew-simulation#1258

that would disable doxygen for all our packages. I think only ign-gazebo is suffering from this issue, so I would just put an if(NOT APPLE) block around ign_create_docs in CMakeLists.txt for ign-gazebo

that would disable doxygen for all our packages.

The way I understood it, that would still keep doxygen for those specific packages, and downstream packages that want to generate docs would need to declare the build dependency themselves. That sounds like the most correct thing to do, I don't think downstream packages should be relying on a build dependency from their dependencies, right?
I can go ahead and add doxygen as an optional build dependency for all packages downstream of those, except for ign-gazebo, if you agree.

Can you check if the crash is solved when applying this fix to doxygen? https://github.com/doxygen/doxygen/commit/4a070f8b60eefa7997c9fdd59553970de3645207

Here's the suppression to make docs for macOS: https://github.com/ignitionrobotics/ign-gazebo/pull/523

Can you check if the crash is solved when applying this fix to doxygen? doxygen/doxygen@4a070f8

Yes! Thank you so much; that fixes the segmentation fault when run against our tagfile, but it looks make doc has 2 invocations of doxygen and the 2nd one has a segmentation fault as well. I am investigating that now to get a backtrace...

Can you check if the crash is solved when applying this fix to doxygen? doxygen/doxygen@4a070f8

Yes! Thank you so much; that fixes the segmentation fault when run against our tagfile, but it looks make doc has 2 invocations of doxygen and the 2nd one has a segmentation fault as well. I am investigating that now to get a backtrace...

Can you check if the crash is solved when applying this fix to doxygen? doxygen/doxygen@4a070f8

Yes! Thank you so much; that fixes the segmentation fault when run against our api_tagfile.dox, but it looks make doc has 2 invocations of doxygen and the 2nd one has a segmentation fault as well. I am investigating that now to get a backtrace...

never mind; it's all fixed by https://github.com/doxygen/doxygen/commit/4a070f8b60eefa7997c9fdd59553970de3645207; thanks!

Can you check if the crash is solved when applying this fix to doxygen? doxygen/doxygen@4a070f8

Yes! Thank you so much; that fixes the segmentation fault when run against our api_tagfile.dox, but it looks make doc has 2 invocations of doxygen and the 2nd one has a segmentation fault as well. I am investigating that now to get a backtrace...

never mind; it's all fixed by https://github.com/doxygen/doxygen/commit/4a070f8b60eefa7997c9fdd59553970de3645207; thanks!


Allow x-mode interaction to return only 1 item.

This additional option allows for a simpler implementation of a vertical cursor, returning only 1 item per dataset even for densely populated graphs. Without this option, densely packed graphs return multiple points, cluttering the tooltip and making it unclear which value is being displayed.

@minjaitk Please review the latest changes.


crash when indexing without useful log

Describe the bug
A clear and concise description of what the bug is.
I have a instance on my vps.
This happens from 0.29, in 0.30, and now I'm using "getmeili/meilisearch:v0.30.5" but it still happen.
My use case is to search about 400k documents, and everyday roughly half of them changes, and I send these changes to meilisearch in 1k batch or in 1 hour timeout. data file is about 25gb size (count by du command).
(data in queue waiting to flush to meilisearch)

and it crash after it running for a while (about weeks or months), without any useful logging.
my documents look like this:
(golang)
type subjectIndex struct {
	ID       uint32 `json:"id"`
	Summary  string          `json:"summary"`
	Tag      []string        `json:"tag,omitempty" filterable:"true"`
	Name     []string        `json:"name"`
	Date     int             `json:"date,omitempty" filterable:"true" sortable:"true"`
	Score    float64         `json:"score" filterable:"true" sortable:"true"`
	PageRank float64         `json:"page_rank" sortable:"true"`
	Heat     uint32          `json:"heat" sortable:"true"`
	Rank     uint32          `json:"rank" filterable:"true" sortable:"true"`
	Platform uint16          `json:"platform,omitempty"`
	Type     uint8           `json:"type" filterable:"true"`
	NSFW     bool            `json:"nsfw" filterable:"true"`
}

I'm running meilisearch in docker so dockerd restart it after it crash, meilisearch crash, not result into high resource usage.
High cpu, memory, and high io read.

I also have a prometheus exporter to export some data, hopefully it's useful, you can see meilisearch's "enqueued" and "processing" task uid is keep increasing but it didn't finish any task.

and filterable, sortable describe this field in meilisearch, too.
To Reproduce
Steps to reproduce the behavior:
I don't know how to reproduce it.
Expected behavior
It should not crash, at least log some useful infomation at error level.
Screenshots
If applicable, add screenshots to help explain your problem.
This happed after instance running roughly 1 month, in 10/7, 10/21, 11/04, and today.

(I upgrade meilisearch to 0.30 in 12/07, so the baseline become much lower)
Meilisearch version: [e.g. v0.30.5]
Additional context
Additional information that may be relevant to the issue.
[e.g. architecture, device, OS, browser]
x64, ubuntu 20.04

it always happen when "finished" task uid reach about 1.6m

and my search data is not sensitive, if you need them, I'm happy to share it next time it happen.

sorry, just find this discussion https://github.com/meilisearch/meilisearch/discussions/2131


Shows many flags for US/Canada

How to show one flag for one country? The script is showing US/Canada flag for each of the local area.

add the property-  disableAreaCodes={true}

But if you set the property- disableAreaCodes={true}, it doesn't recognize Canadian phones (it says it is US). It would be great to display only the US/Canada flag in the list, but still be able to recognize them behind the scene


Rename -solidity-version parameter suffix with -contracts-version

Change introduced for better understandability of parameter's meaning.
Depends on:
https://github.com/keep-network/coverage-pools/pull/155
Refs:
https://github.com/keep-network/keep-core/pull/2532
https://github.com/keep-network/keep-ecdsa/pull/864
https://github.com/keep-network/tbtc/pull/814
https://github.com/keep-network/tbtc.js/pull/127
https://github.com/keep-network/upstream-builds-query/pull/3

@michalinacienciala we've got conflicts :(

@michalinacienciala we've got conflicts :(

Resolved


Backward compatibility for checkpoint loading

Before submitting

[x] Was this discussed/approved via a Github issue? (discussed on slack)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[x] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
It adds backward compatibility for checkpoint loading. Checkpoint loading is not backward compatible in 0.7.1. Checkpoints saved with previous pl versions (0.6 in my case) do not have hparams_type in checkpoint dictionary due to which hparams are not converted to namespace (L1399). Thus, pl raises error while loading model class as hparams is passed as dictionary to model class not namespace.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @amoudgl! Thanks for opening this PR.

In the file pytorch_lightning/core/lightning.py:

Line 1400:101: E501 line too long (101 > 100 characters)

Do see the Hitchhiker's guide to code style

@amoudgl pls add note to changelog... then we can go :]

@Borda I have made updates to CHANGELOG, could you please review?

this shall be fixed in #1163

I see, everything is all set in this PR then?

@amoudgl could you pls update from master?

@Borda I have rebased the PR.


Enable value converters with ref bindings.

My particular use case is that I'm using element.ref to grab an SVG element, which I then pass to snap.svg for use in my viewModel. At the moment, I can do this by wrapping the svg in the Snap object in the attached() callback, but it would be nice and make sense to create a valueConverter:
snapValueConverter.js
class AsSnapValueConverter {
  fromView(svg) {
    return Snap(svg);
  }
}

bestViewEver.html
<svg element.ref="svg | asSnap"></svg>

At the moment, this results in a heartbreaking error:

aurelia-binding.js:1304 Uncaught (in promise) TypeError: Cannot read property 'valueConverters' of undefined(…)

@jdanyow You broke the package.json for jspm with this commit. Please revert changes to the package.json. Thank  you :)

You can keep the additions, but look at what was removed in the commit. Those things should not be removed.

Not sure how I missed that!  I had added the two new dev deps manually too...  Fixed now.


Illegal instruction (core dumped)

When I try to use :latest either via docker run or via docker build is get the following error and no further detail...
Illegal instruction (core dumped)
The operating system is Ubuntu 18.04LTS with not much other than docker CE installed, and it is sitting on a Proxmox VM
Are there any CPU requirements that may not be met due to Proxmox abstracting them maybe?

Hi @danps1, is this an x86 or arm machine?
Can you please run cat /proc/cpuinfo and share the output?
It's possible that the version of tensorflow we are using is not compatible with your CPU (https://github.com/tensorflow/tensorflow/issues/17411)

Try to update
CPU: host
in your VM config

Hi @bdwyer2
I mapped 12 cores to this VM, so here is the info from just 1 of them, as they're all the same...
cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 6
model name	: Common KVM processor
stepping	: 1
microcode	: 0x1
cpu MHz		: 2925.998
cache size	: 16384 KB
physical id	: 0
siblings	: 6
core id		: 0
cpu cores	: 6
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips	: 5851.99
clflush size	: 64
cache_alignment	: 128
address sizes	: 40 bits physical, 48 bits virtual
power management:

Hi @corvy
I set CPU=host on Proxmox, but unfortunately, the same thing...
docker run -it -p 5000:5000 codait/max-object-detector
Illegal instruction (core dumped)

Here is the CPU info showing through with CPU=host set...
cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 44
model name	: Intel(R) Xeon(R) CPU           X5670  @ 2.93GHz
stepping	: 2
microcode	: 0x1
cpu MHz		: 2925.998
cache size	: 16384 KB
physical id	: 0
siblings	: 6
core id		: 0
cpu cores	: 6
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp tsc_adjust arat umip arch_capabilities
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
bogomips	: 5851.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management:

So I started stepping back versions of MAX-Object_detector, and both 1.3.0 and 1.2.0 don't work, but give a little more information...
F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
Aborted (core dumped)

However, v.1.1.0 seems to be working!

Yes, i have the same issue on an AMD Athlon computer of mine. 🙈

Probably because MAX Object Detector v1.1.0 uses TensorFlow 1.5.0, which was officially built without AVX support: https://github.com/tensorflow/tensorflow/issues/19584#issue-326844294 (TensorFlow 1.6.0 and up are built with AVX)


etcdserver: add timeout param on getClusterFromRemotePeers

It sets no timeout for public GetClusterFromRemotePeers.
This helps the following cases to work well in high latency scenario:

proxy sync members from the cluster
newly-joined member sync members from the cluster

After removing request timeout, the request is still controlled by dial
timeout and read connection timeout, which is 5s. This avoids
unreasonably long wait.
fixes #3215

set a reasonable timeout instead of no timeout. PTAL

LGTM

Is this in 2.2.0 release?

Yes


test-branch/execute-job/wrong-comment-on-pr/4ff24107-ca55-4273-bb69-310bb5a7b5f7

PR for testing f8af775b6d399a595a6bec201fa25b0b11cff757

comment 1


[SPARK-20392][SQL][followup] should not add extra AnalysisBarrier

What changes were proposed in this pull request?
I found this problem while auditing the analyzer code. It's dangerous to introduce extra AnalysisBarrer during analysis, as the plan inside it will bypass all analysis afterward, which may not be expected. We should only preserve AnalysisBarrer but not introduce new ones.
How was this patch tested?
existing tests

cc @viirya @gatorsmile

Test build #85439 has started for PR 20094 at commit 64709fc.

Test build #85439 has finished for PR 20094 at commit 64709fc.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85439/
Test FAILed.

Test build #85450 has started for PR 20094 at commit cd39760.

LGTM with two minor comments.

Test build #85452 has started for PR 20094 at commit 8879870.

Test build #85453 has started for PR 20094 at commit 6a25d60.

Test build #85452 has finished for PR 20094 at commit 8879870.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85452/
Test FAILed.

Test build #85450 has finished for PR 20094 at commit cd39760.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85450/
Test FAILed.

Merged build finished. Test FAILed.

Test build #85453 has finished for PR 20094 at commit 6a25d60.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85453/
Test PASSed.

Thanks! Merged to master.


Message format incorrect error

Alarmo Version
v1.9.5
HA Version
2022.07.0
Bug description
Whenever I try to create a action (notification or action), when I go to save it gives me an error.
Something went wrong!
Message format incorrect: extra keys not allowed @ data['actions'][0]
['service_data']
Response error: 400
Please report the bug.

It worked fine until I updated to the newest version of alarmo. I cannot remember what version I had before. but I noticed i was a few updates behind.
I have a different instance of home assistant running at a different location. I too upgraded today but I don't get this error and it allows me to create actions with no issues.
Steps to reproduce
create an action... either a notification or action
Relevant log output
Data does not match schema: extra keys not allowed @ data['actions'][0]['service_data']
1:09:37 PM – (ERROR) HTTP - message first occurred at 11:20:47 AM and shows up 6 times

That's the only one I could find... Let me know if there is a different place to look.

 I forgot I need to clear browser cashe sometimes to fix issues. I did that and now it works.


HMR: Pass downstream updated dependencies to accept()

Feature request

What is the expected behavior?
HMR should provide the information which modules are outdated, even if those modules are indirectly loaded (loaded by the dependency of the current module).
What is motivation or use case for adding/changing the behavior?
Core problem: It is not always feasible to handle module reloads in the dependent module, but only in a few modules upstream. The modules upstream do not have the information they need to check which downstream modules have changed and currently need to workaround in alternative means.
For instance: I develop a small SPA in which the "page" modules themselves carry the import() template that is applied in the DOM. If a page template is changed, and the page module does not handle the update, the update bubbles up to the page loader. The page loader can't tell whether page module itself or the page template (that has been imported by the page module) has changed. Currently need to work around by checking whether the exported template in the page module has changed compared to the current loaded template, but this is cumbersome.
How should this be implemented in your opinion?
The hot module replacement calls the accept() callback function. The accept callback function currently retrieves one parameter: The name of the upstream module. The accept callback should be called with a second parameter: an array string[] of the upstream modules that are outdated. This allows the downstream module to do a selective replacement of sub dependencies.
Are you willing to work on this yourself?
Yes, if you give me some pointers.

I'm not sure if this behavior makes sense. It kind of breaks encapsulating of the module (i. e. the "page").
Even if you would have this argument, it would be a opaque module id in production and you can't do much with it.

This is for development purposes, as is HMR.

Any comments?


Gera.3.4

Before merging this PR, go over this checklist:

[ ] The issue was approved by a considerable number of votes
[ ] The rule text respects the structure:

[ ] Title
[ ] Short Description
[ ] Examples
[ ] Reasoning

@elbrujohalcon the problem is with the "[#]*" pattern. Sheldon is finding it at the very beginning of the file and it escapes everything. I have to take a look on that

@agerace I would merge these changes (if @volbap agrees) and leave it up to you to improve the reasoning about verb semantics


Virtuals only work with objects, not arrays

My virtuals work fine when doing "select * from table where id = x". But if I do a "select * from table" all of my virtuals are undefined.
It seems like the use-case for virtuals was intended only for single records from the database, not a list of records. Any plans on supporting arrays?
In the meantime, any suggestions on how to work around this?

What's the code you used to get that result? What result are you actually getting and what did you expect?

Here's the code:
https://gist.github.com/jpstone/5332364ed65308a447ac
For both hidden and visible, I was expecting it to work like it did for a single record. I was taken by surprise to see them fail for multiple records.
My virtual values each show up as undefined, while my hidden columns simply show up.

Now that I think about it, this might not be working because my parse() isn't parsing fetchAll requests, only fetch. Since the columns are in snake_case when fetching all, this might be why it's failing.
I opened an issue for the parse() not working (962).

Sure enough, this issue is happening because parse() isn't working on fetchAll(), only fetch(). I tested by changing my this.get('columnName') to this.get('column_name') and the virtuals worked.
You can close this and refer to issue https://github.com/tgriesser/bookshelf/issues/962


File Path Mapping is inconsistent / incorrecr

When I run the script I get a lot of these messages (running on Windows now)
Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database but the file IS on your filesystem.
Try running a Scan Task in Stash then re-running this script or changing your Search Specificity mode to Low.

user_data/sites5/OnlyFans<username>/Posts/Free/Videos\0h9j9rz7ipd9bb7nfn3kp_source.mp4

Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database but the file IS on your filesystem.
Try running a Scan Task in Stash then re-running this script or changing your Search Specificity mode to Low.

user_data/sites5/OnlyFans<username>/Posts/Free/Videos\0hakgfjsx4unbkgs2v2dg_source.mp4

Notice every slash is a / except for before the filename

I have confirrmed these files exist

Oh that's interesting. Did you scrape OF on a *nix based operating system and then run this script while on Windows?
Under the hood, the metadata database stores the directory and the filename separately, and this script needs the full path to the media. To handle that, this script makes an educated guess as to what directory delineator is appropriate (/ or ) based on the operating system that you're currently running the script on, which partially explains what you're seeing.
It's strange though that there seem to be folders inside your filename or something...
We can double check my theory though-- are you willing to help troubleshoot a bit? (otherwise I'll need access to that metadata database of yours)

Download DB Browser for SQLite https://sqlitebrowser.org/
Click on the Browse Data tab
Under the dropdown for Table, click on Medias
Under the column for filename there's an empty row that will say "Filter" in it. Enter "0hakgfjsx4unbkgs2v2dg_source.mp4"
The program should now just show you a single row of results.
Send over the directory and the filename from that row. (you can obfuscate as much as you need)

Yeah I can't quite explain why your filesystem looks the way that it does unless the OF scraper just...doesn't handle linux filepaths correctly. There's no reason I can think of that the OF scraper would put the wrong folder delineation character after the username of a performer but then put normal delineation characters for everything after that. Very strange indeed. 👀
Anyway, that's an oddity outside of this script, and it shouldn't technically matter tbh.
Two more quick questions--
1 - What did you set your Scan Specificity mode to? If you're unsure, just open the OFMetadataToStash_Config file in a text editor
2 - While you confirmed that the files exist on the filesystem, are you sure they actually exist in Stash?
The reason why I'm asking is that if you have your scan mode set to normal, it matches based on ensuring the performer name is somewhere in the path and that the filesize matches between what's in Stash and what's in the metadata database.
Based on what you've shown me so far, I don't see any reason why the performer name wouldn't be in the path somewhere, and there shouldn't be an issue matching the filesize.
Alternatively you could set the scan mode to "low" and see how that goes.

Yeah I can't quite explain why your filesystem looks the way that it does unless the OF scraper just...doesn't handle linux filepaths correctly. There's no reason I can think of that the OF scraper would put the wrong folder delineation character after the username of a performer but then put normal delineation characters for everything after that. Very strange indeed. 👀 Anyway, that's an oddity outside of this script, and it shouldn't technically matter tbh.
Two more quick questions-- 1 - What did you set your Scan Specificity mode to? If you're unsure, just open the OFMetadataToStash_Config file in a text editor
2 - While you confirmed that the files exist on the filesystem, are you sure they actually exist in Stash?
The reason why I'm asking is that if you have your scan mode set to normal, it matches based on ensuring the performer name is somewhere in the path and that the filesize matches between what's in Stash and what's in the metadata database. Based on what you've shown me so far, I don't see any reason why the performer name wouldn't be in the path somewhere, and there shouldn't be an issue matching the filesize.
Alternatively you could set the scan mode to "low" and see how that goes.

It's set to low

they do

I know it's fucked haha, is there any way you can add something to check the file system and if windows replace every / with \ in the directory and vice versa on Linux?

This wouldn't address the problem though-- on "low" this script just asks the Stash db if there's a file in the Stash database that matches the filesize of the file in your OF DB. No filepaths are involved (outside of the error message doing its own file system check to try and help the user sort out what the deal is)
Let me do some digging and see if I can replicate this in some form while having this script set to low.

The new update correctly identifies the images (even with the \ and / being wonky) but not videos anymore
Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database but the file IS on your filesystem.
Try running a Scan Task in Stash then re-running this script or changing your Search Specificity mode to Low.

user_data/sites5/OnlyFans<username>/Posts/Free/Videos/0hakh4igch3q5s2supy2m_source.mp4

Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database but the file IS on your filesystem.
Try running a Scan Task in Stash then re-running this script or changing your Search Specificity mode to Low.

user_data/sites5/OnlyFans<username>/Posts/Free/Videos/0h4x53e7owkhxlzn7nqpa_source.mp4

Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database but the file IS on your filesystem.
Try running a Scan Task in Stash then re-running this script or changing your Search Specificity mode to Low.

user_data/sites5/OnlyFans<username>/Posts/Free/Videos/0h75zfmqxevnlceah7bzd_source.mp4

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3064_7c6812e6016a3decc3364b4a5e8aefba.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_0d56f9459851ccd51f65cf85d0b878ca.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_1d33e528dbc39fb995b81f3d880a6efb.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_2415ced324ce9484b9dfcbcbb8daa2da.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_2c8207aad6bb80c7e80be79c5b7ede21.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_2cbf02595a2cec9cda38a232d076d646.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_6497f80930abb0cd81485883776176f7.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_c33edec86703c2d1419c1a7a5817db83.jpg

Added metadata to Stash's database for the following file:
user_data/sites5/OnlyFans<username>/Posts/Free/Images/2316x3088_ed0c3f7915f02c010d371c68972616b8.jpg

Hmm...the plot thickens. Can you go back to normal specificity mode one more time?


deposit: delete local react forms/deposit folders

addresses https://github.com/inveniosoftware/invenio-app-rdm/issues/122


Get licenses for AssistivLabs

Relates to #10007
Talk to Al about getting licenses for https://assistivlabs.com/

Not as straightforward as first thought as would still require separate licenses for JAWS: https://assistivlabs.com/support/jaws-license
So maybe a VM everyone can access is still a better solution?

Al has agreed to pay for the licence with the 3 month JAWS licence, so we should probably wait until we need it to purchase it

https://assistivlabs.com/pricing
https://assistivlabs.com/support/jaws-license
https://www.freedomscientific.com/products/software/jaws/#compare


"designed to run on Windows 10" error

Hello.
I run Firefox and Windows 11 on my computer.
I have installed iCloud Drive, Passwords, etc...
And I get this error :

If I press "retry", there is the same error.
How can I fix it?

Hey, I've managed to get the extension tp work on Windows 11. However I believe it's because of the steps I followed in another iCloud Passwords for Firefox repo (not my work). While that other extension is outdated, the steps provided there seem's to work and helped me get this same extension working on Windows 11.
Repo: https://github.com/ArakawaHenri/iCloudPasswords_for_Firefox
Steps

Make sure you have enabled the extension for at least Edge or Chrome.
Then from Step 3 in the linked repo, download and run the linked tool to give Firefox permission to interact with the Windows Client.

Will be great when this is solved. Works perfectly  in Chrome on Windows machine.


Price FROM - TO

What happened?
Go to explore: Items: Filter: After setting the price FROM 1 - 2:

It would be good to add KSM there so we know its price in KSM not USD/EUR of something else
I cannot see my filter anywhere - This screenshot is after setting the price from 1-2. What should I do in case I want to cancel the search by price from 1-2? Good would be to add it next to the buy now filter.

Please reproduce in steps
Explore - Items - set price from 1 to 2.
Expected Behavior
see the price filter
What browsers are you seeing the problem on?
Chrome
At which address did you encounter bug?
beta.kodadot.xyz
Are you logged in?
Yes
Which wallet you are using?
PolkadotJS
Screenshots

Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer/?target=<My_Kusama_Address_check_https://github.com/kodadot/nft-gallery/blob/main/CONTRIBUTING.md#creating-your-ksm-address>
Code of Conduct

[X] I agree to follow this project's Code of Conduct

duplicate of

#5167

its not working anywhere yet


Bluetooth: gatt: fallback notify callback

There can be a situation in which:

the central has not yet discovered and subscribed to a characteristic
the peripheral remembers that the central was subscribed from a previous connection

In that situation, the peripheral application will get the subscribed callback, and might begin sending notifications.
The central's host will then proceed to null-route those notifications, as it doesn't know where to forward them.
This feature request is about adding a general callback, that is registered before bt_enable.
This callback will be used by GATT in the aforementioned case, allowing the application to handle that situation somewhat (e.g. by unsubscribing until it has re-discovered the DB, or by caching and recalling the DB).

Seems I'm the only one that wanted this. Others: feel free to re-open if you need it.


Make a UI to create and edit the rindexer.yaml

It would be very cool if you could edit or build the rindexer.yaml in a nice UI

since running it has to be done in the cli does this mean when you start a new indexer it opens a browser tab to fill out the schema?
Would you mind explaining how you're visualizing this?

I was imagining we could build a UI which allows you to create the YAML file so not even having to write or worry about indenting YAML and correct ordering, if you want a new network you can add it via the UI, if you want to start indexing a contract you search and select, this kind of stuff


Unable to debug when project's app directory is renamed

NativeScript CLI allows you to change the name of the app directory in the project by adding a nsconfig.json with the following content:
{
    "appPath": "src"
}

After that you can safely rename the app dir to src and CLI will build the project and livesync and debug will still work. However, debugging in VSCode is not working as the mapping between files on device and the local paths is not correct.
This breaks debugging of newly created NativeScript Angular projects (tns create myapp --ng), which already have nsconfig.json and have src dir instead of app.

Scenarios that should be tested on both iOS and Android:

[ ] Debug application that does not have nsconfig.json and the app directory is called app
[ ] Debug application that has nsconfig.json, but there's no appPath property in it.
[ ] Debug application that has nsconfig.json with appPath set to different dir, for example "src" and ensure you've renamed "app" dir to "src".
[ ] Debug application that does not have nsconfig.json. Stop the debugging. Add nsconfig.json, add "appPath" property in it, rename the "app" directory. Start the debugging again.


Add a dry run flag for developer clarity

I've noticed a couple times people ask how sqlmesh does dry runs.
We have the answer: sqlmesh plan dev --skip-backfill
But it doesn't look and feel obvious from a dbt user for example that's looking for literal "dry run" language.
I recommend adding a flag so people can do: sqlmesh plan dev --dry-run that works the same as --skip-backfill so it's really easy for people to confidently invoke dry runs.
dbt's equivalent command: dbt run --empty
https://docs.getdbt.com/reference/commands/run#the---empty-flag
References:

https://pypi.org/project/dbt-dry-run/
https://discourse.getdbt.com/t/how-to-use-bigquery-dry-run-with-dbt/11589

what about sqlmesh dry-run dev

I would also recommend an obvious way to pretty print the actual DDL/DML that would be executed (vs just the rendered select statements) directly to the console so users don't have to sift logs where whole queries are on 1 line, post-hoc @sungchun12

@z3z1ma oh interesting. I see value in those logs so someone doesn't have to break sqlmesh workflow immersion.
You're thinking it should be part of the --dry-run flag output or something else like --render-models?

@tobymao I'm open to this sqlmesh dry-run dev. I'll play around with it and see how other tools do dry run flags/commands before I draft the PR.

what about sqlmesh dry-run dev

I don't like the idea of learning another command for this. Especially provided it actually does apply a plan and changes the environment state. So it's not a true dry run.

what if dry-run dev didn't actually apply the plan or change environment state? this would be a much bigger task

@z3z1ma oh interesting. I see value in those logs so someone doesn't have to break sqlmesh workflow immersion.
You're thinking it should be part of the --dry-run flag output or something else like --render-models?

@sungchun12 I am suggesting a more verbose output to the terminal for a dry run. I am not saying in lieu of logs (which have their place in debugging), I am saying in addition. Case in point is ask any user if they enjoy scraping the logs to find out the DDL being executed. They can be thousands of characters wide with no syntax highlighting. The best you get is word wrapping it into a condensed wall of text which sucks with larger logs; or your left fishing up the DDL you are interested in and copy pasting it to somewhere with syntax highlighting or auto formatting. I will be the first to say its not an optimal dev experience FWIW.
In my mind, I'm like "just print EXACTLY what your gonna send to the database, assuming success, in order".
If you want to level this up one more time -- add an engine specific hook to optionally validate the SQL.
https://github.com/dbt-labs/dbt-adapters/blob/4fd2d9a06522f0ca0548c82ede844755c227de07/dbt/adapters/base/impl.py#L358-L367
dbt has the same for its dry run. this allows engine specific error messages without sqlglot ever having to be a validator.
bigquery has JobConfig for this, snowflake and other engines use EXPLAIN prefix.
So, spitballing, your options which are not mutually exclusive are
dry run [vanilla] (writes to logs and uses standard console output, basically a regular run that assumes successful materializations)
dry run [verbose] (same as vanilla but also prints rendered DDL/DML to console, pre hooks, post hooks, query fully encapsulated in CTAS, the whole shebang)
dry run [validate] (same as vanilla but use engine specific validate_sql func)

@z3z1ma So sounds like you want the look and feel like this in the terminal with DDL/DML/Pre/post hooks in there. Got it.

Going to make a new/find an existing issue for your DX comments @z3z1ma


No option to cross-compile

LLVM, rustc, and cargo are capable of cross-compilation with the right environment, but there's no way to set the target of the Makefile.
For example, to cross from x86_64-apple-darwin to i686-pc-windows-msvc:

Install LLVM+Clang+LLD and add symlinks for cl.exe, link.exe, and lib.exe to clang-cl, lld, and llvm-lib resp.
Copy the Win10 SDK to ~/i686-pc-windows-msvc-w10, copy the VC6 SDK to i686-pc-windows-msvc-vc6
Add the lib & include subdirectories of each SDK to the LIB & INCLUDE environment variables before cl.exe or link.exe is invoked.

At this point rustc and cargo are ready to cross-compile, although you'll need to use LTO because VC6 is missing some math functions.
However, the Makefile doesn't accept a target. The best I can do is hack it onto PROFILE_CMD, comment out the ifneq ($(OS),Windows_NT) comparison, and stick TARGET_CC=cl.exe  before all the ${CARGO} invocations (though that last one is only because gcc-rs sends the wrong args to cc, and I think CC=cl.exe make might be enough). But the $(OS),Windows_NT comparison should definitely use the target OS, not the host OS which make reports.

You don't have to use the Makefile. Just run cargo with whatever options you like.

Cargo fails to build the binaries for anything but uutils (the multicall binary).

Oh my. Sorry the build is still a mess...
With #748 CARGOFLAGS="--target=<...>" make should allow to specify your target
The OS check is indeed suboptimal,  it is only used to  disable utils that do not work on windows. You can override it on the commandline/environment (OS=).
This all should be improved/easier to use (I was hoping for target based feature flags in cargo...)

@alexchandel to build binaries using cargo for an individual package, run cargo build -p <utilname> or run cargo build in that package/utility's directory.
Anything you could do with cargo without a makefile, you can do right now.


MonoDB Rest API Tutorial : explain port

Edit: I found the solution to my problems, but include some feedback below that might be useful.
Following the tutorial, towards the end at the "Test Web API" section, there is no comment on the port to be used. Initially I tried 27017 but was greeted with an error, following this I searched and found that the default is 5000, which gave a blank response of [] followed by the warning:
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]       Failed to determine the https port for redirect.
Considering this is an introductory tutorial you'd expect that the port configuration would be explained.
I found after this that the rest api was connecting to some other instance of mongodb, as it was able to respond even when mongod.exe wasnt running and generating blank responses even though the collection connected to through mongo.exe was populated. After terminating the service from task manager the correct instance could be connected to once mongod was relaunched and the desired response received through the rest API. Also while it is mentioned that the mongdodb path variable needs to be updated, the reader is left to searchfor how to do this elsewhere, for the sake of inclusivity it feels like this should be included also. Perhaps it would be useful for the tutorial to give better advice on these areas?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5240866d-d0a1-f0dd-7b2c-203e1d69bc4b
Version Independent ID: 83a5cb3b-23bc-4f0c-cd1c-1d1ffeb1131a
Content: Create a web API with ASP.NET Core and MongoDB
Content Source: aspnetcore/tutorials/first-mongo-app.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @prkhandelwal
Microsoft Alias: scaddie

@barnard09  thanks for the feedback. It should be  updated to use https and port 5001 with VS instructions on how to run on Kestrel
Moved to Master list: Create a web API and MongoDB #16196


Allow servers to send system events.

Specifically this is to support distributed tracking of number of account connections across clusters.
Gateways may not work yet based on attempts to only generate payloads when we know there is outside interest.
Signed-off-by: Derek Collison<EMAIL_ADDRESS>/cc @nats-io/core

Coverage decreased (-0.3%) to 91.899% when pulling 744795ead5ce623d0a752cd916dd1cf79dec6ae1 on events into 36345ee16710c3e46f066aa77492290ddf90632d on master.


update Go versions

Codecov Report
Base: 90.82% // Head: 90.82% // No change to project coverage :thumbsup:

Coverage data is based on head (f526bd6) compared to base (46e5916).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   90.82%   90.82%
=======================================
  Files           5        5
  Lines         207      207
=======================================
  Hits          188      188
  Misses         10       10
  Partials        9        9

Impacted Files
Coverage Δ

static_table.go
0.00% <ø> (ø)

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

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


Feature/splash screen

Added splash screen for new users
Added initial signup screen for new organizations (draft only)
Routes for splash, login and signup pages should all point to proper screens now

Sorry to get back to you so late on this, Julia! Looks great! Just had a chance to pull it down and give it a whirl. Once we're all settled on what the global CSS conventions will be, we might have to refactor some of the styling into separate style sheets, but this looks perfect for where we're at right now! Appreciate your help!


Break out destructures from aliases

Some of the destructures you use will need an alias, but not all.
Before this change, in order to add a destructure, you also needed to
add an alias. To make this process easier to understand and more
powerful, we've decided to break out destructures into its own thing.
Easier because you'll no longer see aliases being objects mixed with
aliases being strings. More powerful because it is now more obvious that
you can use destructures for non-package-dependencies (this was possible
before, but they were awkwardly placed under the aliases
configuration).
Fixes #135

Thanks for pounding this out on your skiing trip! :ski: :ski: :ski:


Execute Bacground Task in parallel.

In Task
I want to run the Task.callInBackground in parallel manner(like in Async,pasrse.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR))). after that continueWithTask in serial manner((like in Async,pasrse.executeOnExecutor(AsyncTask.SerialExecutor)))).
i am changing the executor to achive the above behavoiour
Executors.newCachedThreadPool(),Executors.newFixedThreadPool(15),Executors.newSingleThreadExecutor().
Both the task are run in serial manner(Task and then continueWithTask and then Task......).
Task<String> task = Task.callInBackground(new Callable<String>()
		{
			@Override
			public String call() throws Exception
			{
				String response = null;
				try {
					System.out.println("Bolt url send " + request.url);
					response = singleton.load(request);
				} catch (IOException e) {
					if (request.callback != null && request.handler == null)
						singleton.handler.onLoadFailed(request.callback);
					else if (request.callback != null)
						request.handler.onLoadFailed(request.callback);
				}
				return response;
			}
		}).continueWithTask(new Continuation<String, Task<String>>()
		{
			@Override
			public Task<String> then(final Task<String> task) throws Exception
			{
				System.out.println("Bolt url recieved " + task.getResult());
				parse(request, task.getResult());
				return null;
			}
		},Executors.newSingleThreadExecutor());

How to achive the above behaviour using Bolt FrameWork.
Thanks.

I'm not entirely sure what you're trying to achieve, but let me try to describe what your code will do:

Task.callInBackground(() -> {...}) will execute the code in the lambda asynchronously in the background thread.
.continueWithTask((Task<String> t) -> {...}) will chain it's lambda to be executed after the previous Task that you're chaining off of, so the two Tasks are executed serially.
.continueWithTask((Task<String> t) -> {...}, Executors.newSingleThreadExecutor()) will execute the lambda on the executor parameter, which in this case is a new instance of a single thread executor. You probably want to re-use a single thread executor here as opposed to creating a new one every time you compose this Task chain.

The result is that your code will execute the first lambda and second lambda serially in relation to each other and in parallel in relation to the rest of the code.
If you want the first lambda to execute in parallel in relation to the rest of the code and the second lambda to execute serially in relation to other instances of the same lambda, you'd need to reuse a single thread executor.

Closing due to inactivity.


read.shp

already implemented at https://github.com/USGS-VIZLAB/hurricane-maria/blob/master/scripts/read/read.shp.R, just need to check it over and add it to vizlab once it's sufficiently general for our needs

Are all shape files going to be stored in a zip folder? Current code unzips before reading but that could be specific to Hurricane Maria viz unzip(viz[['location']], exdir = shp.path)
Otherwise could make function check if in zipped folder or not before reading.

Good question. It's encouraged for each viz item to correspond a single file, and remake will make this even more important (except for R objects, which will never have data type shp). So i thiiink we can pretty safely require a zip file here.

OK sounds good.

Side note: I see that the starter code from Maria has 2 arguments to the function. The generic readData only accepts a single argument, viz, and this method will need to match that. If idx is necessary for this vizlab version of the function (i just haven't thought about it so don't know), it should be passed as a required component of the viz item. and example would be view-limits-mobile in Maria:
bbox is defined in the viz.yaml item: https://github.com/USGS-VIZLAB/hurricane-maria/blob/master/viz.yaml#L151-L159
bbox gets retrieved and used within fetch.view_limits() like this: https://github.com/USGS-VIZLAB/hurricane-maria/blob/master/scripts/fetch/fetch.view_limits.R#L2
and still better is to add a check to the reader to make sure that argument exists in the viz item, as was done here for fetch.hurricaneTrack(): https://github.com/USGS-VIZLAB/hurricane-maria/blob/master/scripts/fetch/hurricaneTrack.R#L21-L22

Got it. Yup I see that the readers all have checks for required inputs. I'll put them in.

Another side note - we probably shouldn't use "index" of the layers, we should instead have some way of specifying the actual layer (if supporting reading a specific layer from a shapefile that includes multiple). Assuming index order seems fragile.
But, we'd probably want to use some kind of regex on the layer naming, since we often don't know the exact name and instead know the pattern the name is expected to have.


Update "authentication tokens" to "API tokens"

@russorat has proposed that we update the term "authentication token" to "API token" throughout the 2.0 docs.
I'm fine with this change, but it will need to be done carefully. There may be references to "authentication tokens" for third parties for which the term is appropriate.
Does anyone have any concerns about this change?

Not opposed... Do other projects use the term "API token"?

Looks like this proposal is gaining support. :)

@pierwill gaining support :-) ...and let us know if it gets tricky


AddElementsFromHdfs.Builder inputDirectory methods are set to protected

The builder methods should be public not protected.

Merged into release-0.3.4


Add shortcut keys to access feedback table and verifying completed labels

Adding two shortcut keys (1) for accessing and hiding the feedback table and 2) being able to toggle on the verify checkbox in the feedback table) would be very helpful during mask reviews! Open to whatever you think is appropriate to represent these two shortcut keys.

How would the region be determined for toggling the verified checkbox? The current region? The region for the row the mouse is currently over? Other?

Implemented


Parse hostname

Closes #8

@obdCoder
Could you please merge this? Thx

in config/conf.ini the tracker is what we depolyed for community, so that users could use it as a default one.  So that it would be convenient that the ip <IP_ADDRESS> as a default config.
hostIp = <IP_ADDRESS>


fix: add nlsConfig to webWorker #192808

After modification:

Fixes https://github.com/microsoft/vscode/issues/192808

I added @alexdima to this PR since he has a better understanding of our AMD & webworker code. I'd like a review from him before this goes in

I added @alexdima to this PR since he has a better understanding of our AMD & webworker code. I'd like a review from him before this goes in

okey!

Is this still relevant?


Shape never removed

Hi! Thanks for this wrapper ;)
Markers are never removed from the map, even if i delete it from my scope. To fix this issue I made this little workaround :
map.shapes.forEach(function(shape) {
    shape.setMap(null);
});
map.shapes = {};

Markers are removed when it is removed from DOM.
I do not add expensive $scope.watch in default, and I want it to be handled by users.
If you want to work with dynamic markers, please use ng-repeat, which is sync. to DOM element. This will handle add/removal/update of markers very well.

Closing, if stil  not working, please provide a plnkr example.


[eas-cli] Add interactivity to eas update:edit command

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

#2638  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @wschurman and the rest of your teammates on  Graphite


[CSOptimizer] Few tweaks to make unapplied disjunction and literal array arguments faster

When disjunction is not applied, don't only bump its score but also favor all of the choices that don't require application because selection algorithm uses that for comparison.
This is important for situation when property is overload with a method i.e. Array.count.

Extend candidate/parameter matching to support array literals
Match [...] to Array<...> and/or ExpressibleByArrayLiteral
conforming types. This is very helpful for expressions like:
[...] + [...].

@swift-ci please test

@swift-ci please test source compatibility release

@swift-ci please test

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test source compatibility release

@swift-ci please test

@swift-ci please test


Mass Start CF Apps In Org or Space new filter for app name

This is a feature request to add a filter on the CF app names on both MassStartCfAppsInOrg & MassStartCfAppsInSpace
Actually, there should be a hardcoded filter on DB Deployer app name (to exlucde them), if the commands tried to start a CF DB Deployer app, it will failed and the script also will failed
DB Deployer apps are only used by HDI when deploying a CAP app then after they are stopped
thanks
Alex

is there a way to speed up these enhancements, should a create an incident via me.sap.com?
this is the proof that nobody in the world is using your repo, starting a db deployer will make the script failed
and all CAP apps or Fiori apps have db deployer modules
alex

Hi @agiguere,
Open source projects greatly benefit from community contributions, and you're welcome to make enhancements to fit your specific scenarios. If you're interested, you can fork the repository and submit a pull request with your improvements. More information is also available in the README.
You don't need to create an incident for open-source projects, especially when the repository is meant to provide samples that don't cover all use cases. While CAP and Fiori are popular, they aren't used by everyone.
I'll try to look into your issues sometime next week if you decide not to contribute. However, it would be more motivating to assist if we maintain a collaborative and respectful tone.
Kaloyan

Sorry, I did not mean to offend
SAP itself references this repo on some blogs, so we think that SAP could do better with this service (SAP Automation Pilot), like the readme said, having apps & db up & running on dev & test subaccounts could be pricy
we would like to see some support for Opening & Closing SAP HANA Cloud database instances on the multi-environment, providing filtering options for starting / closing CF apps by SAP and not rely on open-source
I would be happy to help, it’s just that I don’t know these very well commands and we can’t use JS
on the MassStartCfAppsInOrg example, the filtering of spaces is done by a subtraction of two arrays
I don’t think we should follow this design for filtering apps, I think it would be better to label the apps that could be started & closed, or the inverse, labelling the apps that should be excluded
alex

Hi @agiguere,
Thank you for the suggestion about using labels. I've updated the 'Mass Stop/Start CF Apps' example to allow you to specify a set of labels. Apps with any of them will be ignored.
Please test it and let me know your feedback.


dasht-server links not open

after dasht-server started I can search in the browser just fine, but when I click the search results it does not open the URLs. Chrome says "Not allowed to load local resource: "

This problem is described in dasht-server documentation, along with possible solutions, here:

Browser refuses to load file:// links
http://sunaku.github.io/dasht/man/man1/dasht-server.1.html#browser-refuses-to-load-file-links

yes found that by reading your scripts. thanks.

why not rewrite links and serve files over http?

I second jb55. In windows 10, it is possible to use dasht in WSL, but the local links would not correspond to a valid windows path but a WSL path instead. Serving the files in http would solve this but would require parsing the sent html to also fix the paths included there in case the documentation also links to other pages directly.

Now implemented in the issue-45 branch.  Please try it out and let me know if you find any problems.

works great!

it works !!!! thanks !

Fix merged into master at commit 7b15337c925f338e97eafd8e0a9ac8b0d8f08435.


Enderman Evolution soul vials not added to creative tab.

Issue Description:
Enderman evolution soul vials do not show up in the soul vials creative tab.
What happens:
Soul vials are missing, for this mod but show for others.
What you expected to happen:
Soul vials to be in the soul vials creative tab.
Steps to reproduce:

Install enderio and enderman evolution.
Go to the soul vials creative tab.
These soul vials are missing.
...

Affected Versions (Do not use "latest"):

EnderIO: 5.0.4
EnderCore: 1.12.2-0.5.45
Minecraft: 1.12.2
Forge: <IP_ADDRESS>
Enderman Evolution:  1.12.2-1.0.16
SpongeForge? no
Optifine? no
Single Player and/or Server? Single

https://github.com/p455w0rd/EndermanEvolution/issues/32

Are those declaring themselves as bosses?

Does not appear that way, they extend EntityEnderman.
https://github.com/p455w0rd/EndermanEvolution/blob/master/src/main/java/p455w0rd/endermanevo/entity/EntityEvolvedEnderman.java

it functions fine?

I was able to find this looking through a second time.
for soul in <enderio:item_soul_vial>.definition.getSubItems(<creativetab:enderio.mobs>) {
  if (soul.hasTag) {
    JEI.hide(soul);
  }
}

Apparently this hides all soul vials except 10 or so, I was under the assumption they were not being added to the creative tab. It seem they are so I'm not sure why they are not being hidden.


Ask for the "PrivacyInfo.xcprivacy" required by Apple

Is your feature request related to a problem? Please describe.
The PrivacyInfo.xcprivacy manifest is required by Apple, please refer to the Apple's document https://developer.apple.com/documentation/bundleresources/privacy_manifest_files for the detailed information.
Describe the solution you'd like
A PrivacyInfo.xcprivacy file for macOS.
Describe alternatives you've considered
Declaration of the data collection info for this library, please refer to developer.apple.com/…/describing_data_use_in_privacy_manifests#4250555
Additional context
None

From: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk

Starting November 12, 2024, apps that don’t include a required privacy manifest can’t be submitted for review in App Store Connect. If an invalid file comes from a third party SDK, contact its developer for an updated version of the SDK that includes a valid privacy manifest.

Looks like there's a workaround: https://devblogs.microsoft.com/dotnet/apple-privacy-manifest-support/

If the project author is not able to provide a manifest file for their product, you can solve this by adding the identified required entries in your own PrivacyInfo.xcprivacy file.


merge stage to master

What is the purpose of the change

ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying

Documentation and Release Note

Asset is not added yet and when click on Transmuter pool on Pools page its redirecting to this link
https://celatone.osmosis.zone/osmosis-1/pools/1212


Rubocop fixes

Hello!
I'm creating this PR to take her one step closer to the ruby-style-guide by the use of rubocop.
I tried to stick as much as possible to the defaults:

Created a few rules on .rubocop.yml, which are just proposed by me and open to discussion.
Had rubocop create a .rubocop_todo.yml with rules to skip a lot of offenses I was not sure about what this team thinks of them.

My idea here is to talk about each of the rules and decide what we want her to follow; would love to provide my input on them. I'm open to suggestions and I'm willing to make as many modifications as needed.
My vision behind this PR is to help on the objective of configuring CodeClimate and make PR reviews easier.
P.S. I know the list of commits is huge, I only did that to make the review easier. I can squash if they don't add value as they are now.
Thanks!

@zacharywelch Travis let me know I need to take care of the old ruby versions.
I'll take care of that later. Hope this serves as a good starting point.

Here is a set of fixes for rubocop rules that apply to all ruby versions. Some others are pending, waiting for discussion -- mostly because fixes behave differently for each ruby version that's supported.

@ssutner thanks for getting into this. Great stuff.

@ssuttner thanks so much for these improvements! 🎩🙌


Possibility to get drawer position/width value while sliding

I would like to change an animation state (hamburger menu) based on the sliding value, is this possible? no info in the docs on that nor was I able to find a workaround in the source code.

This is not currently supported, but there may be a reasonable way to add it on iOS, which uses the animated API for this. On Android it may be trickier because we use the native drawer.
If you can add this feature in a nice way, then it might make sense to add the feature. If you have an idea on how to do it, want to create a RFC issue to start discussion?

Hmm, let me poke around in the source code first and see where we can go from there.

I am also wanting to do this. I want to animate/rotate an icon in my header based on slide position of the drawer. @sonaye were you able to find a solution? I am targetting Android.

@Noitidart I didn't further investigate this to be honest.

Thanks for your reply. I ended up doing my own drawer implemntation with react-native-interactable.


Docker volume plugin API provides incorrect name when given single character volume name

When issuing a docker run command with the --volume option, a volume name with a label one character in length will result in a long random string being provided to the driver as the name (like: 051280b61be3b55d1d3a80899475ea7abb657da4cf9bd65a4263a6c4ceacde73).
This was found utilizing the NetApp volume plugin, but is present without the plugin involved.
Output of docker version:
Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:11:10 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 22:11:10 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 4
 Running: 0
 Paused: 0
 Stopped: 4
Images: 3
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 21
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local netapp
 Network: host bridge overlay null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-34-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.859 GiB
Name: openstack2
ID: OMJ2:4XKE:HUKO:C3VM:KHEG:UK2D:BHDG:CEP5:ON5Y:SGWX:2W5V:CFMW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
VM running under KVM/QEMU
Steps to reproduce the issue:

Issue a docker run of the form docker run --rm -it --volume <name>:/my_vol java bash, where name is a single character in length.

Describe the results you received:
The volume driver receives a garbage/generated value rather than the expected name.
Describe the results you expected:
The name passed in through the Create request should be the same name that the user passed in.
Additional information you deem important (e.g. issue happens only occasionally):
N/A

Looks like there's a validation step missing, because volume-names should have a minimum length of two characters. I think what's happening is that the single-character name is not passing the check and is subsequently being ignored, resulting in docker thinking this was run:
docker run --rm -it --volume /my_vol java bash

i.e., "no name provided", in which case docker generates a random name
/cc @cpuguy83

A volume that looks like -v d:/foo is being interpreted as a windows path, and instead of a named volume called d you are getting an anonymous volume to d:/foo in the container.
This is a limitation of the docker client right now.
Basically, don't use a single char name.

Okay, thanks for the information. For now, we'll simply document for our project that this is a known limitation.

I would be inclined to take this but @cpuguy83 's answer confuses me:

you are getting an anonymous volume to d:/foo in the container.

I thought containers do not contain drive letters?

I thought containers do not contain drive letters?

They do when running native Windows containers

So what would be a desirable fix here? Is this widely used? Could we replace it with //d:/foo perhaps?

I'm not sure there's a real fix for this, other than not attempting to use a single-letter volume. The shorthand -v foo:bar syntax was implemented before docker running on Windows was considered to be possible, and has known limitations.
The intent is to provide the "extended" format as is used for services (--mount source=<path>,dest=<path>) for docker run as well, which does not have this problem (see https://github.com/docker/docker/issues/28527)

This is an old issue.  I will close it as stale.


Add translation for Russian

As per title.
In addition to translating the GUI, please try to translate as many vocabularies as
possible also.

The Russian language flag isn't entirely consistent with the other language flags, as can be seen in this pre-release version http://ipt.gbif-uat.org/
@nestorjal this is something that you and your team can help with again? This is the .png needing replacing: https://github.com/gbif/ipt/blob/master/src/main/webapp/images/flags/flag_ru.png Thanks.

Russian translation completed for v2.3.3. Closing issue.

The following pages will have to be updated, indicating the IPT in now translated into Russian:

https://github.com/gbif/ipt/wiki/HowToTranslate.wiki
https://github.com/gbif/ipt/wiki/FAQ.wiki#5-how-can-i-change-the-ipts-default-language
https://github.com/gbif/ipt/blob/aa00c566b92999fb2189f8b0fd5400323c049f06/README.md#translators
http://www.gbif.org/ipt

Various pages mentioned above have now been updated, indicating the IPT is now translated into Russian.