CocoaPods could not find compatible versions for pod "FBSDKCoreKit":

Hi, I am having trouble using this library, I followed the instructions with the facebook guide that appears on the readMe and did all the steps.
Before this, I used the react-native-fbsdk library which is now deprecated due to facebook releasing a newer version (0.9) of the SDK. In the instructions here says that you can add the pod that you need in the podfile of ios but when I add them and then pod install I get this error:
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
  In snapshot (Podfile.lock):
    FBSDKCoreKit (= 9.0.1, ~> 9.0.1)

  In Podfile:
    FacebookShare was resolved to 0.1.1, which depends on
      FBSDKCoreKit (~> 4.14)

    react-native-fbsdk-next (from `../node_modules/react-native-fbsdk-next`) was resolved to 4.0.0, which depends on
      react-native-fbsdk-next/Core (= 4.0.0) was resolved to 4.0.0, which depends on
        FBSDKCoreKit (~> 9.0.1)

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `FBSDKCoreKit` inside your development pod `react-native-fbsdk-next`.
   You should run `pod update FBSDKCoreKit` to apply changes you've made.

Also, with this library you need to modify the appDelegate.m here but when I add that code it says I am missing an import, I know the import missing is FBSDKCoreKit or at least I think it is because the previous SDK used that one. To fix that you need to add the pod but when I add it the error above shows up.

@ceyanesb I think you may try on following cocoapods suggestion:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.

pod install --repo-update may be help in your case.

@ceyanesb I think you may try on following cocoapods suggestion:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.

pod install --repo-update may be help in your case.

Hi! Actually that didn't work, the problem was that the documentation of FacebookSDK and the library have different naming in the pods, which is weird because this library work with the latest version of that SDK, so i don't know if it's a FBsdk documentation issue or anything else. Anyways I finally was able to update to the latest version

Seems to me that this issue can be closed then :)
Thanks @sanghavan for your help in solve this issue o/

@ceyanesb I think you may try on following cocoapods suggestion:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.

pod install --repo-update may be help in your case.

Hi! Actually that didn't work, the problem was that the documentation of FacebookSDK and the library have different naming in the pods, which is weird because this library work with the latest version of that SDK, so i don't know if it's a FBsdk documentation issue or anything else. Anyways I finally was able to update to the latest version

So how did you fix this problem, if you wouldn't mind sharing?

Hi,
I'm having this issue too when I add  pod 'FacebookCore' to Podfile
Is there a way to fix it? Or may be there is an earlier version that we could all use?
Thanks
"react-native-fbsdk-next": "4.1.0",
"react-native": "0.63.4",
Podfile.lock

FBSDKCoreKit (9.0.1):

FBSDKCoreKit/Basics (= 9.0.1)
FBSDKCoreKit/Core (= 9.0.1)

FBSDKCoreKit/Basics (9.0.1)
FBSDKCoreKit/Core (9.0.1):

FBSDKCoreKit/Basics

FBSDKLoginKit (9.0.1):

FBSDKLoginKit/Login (= 9.0.1)

FBSDKLoginKit/Login (9.0.1):

FBSDKCoreKit (~> 9.0.1)

FBSDKShareKit (9.0.1):

FBSDKShareKit/Share (= 9.0.1)

FBSDKShareKit/Share (9.0.1):

FBSDKCoreKit (~> 9.0.1)

If anything I'd go for a later version (9.2.0 is out https://github.com/facebook/facebook-ios-sdk/blob/master/CHANGELOG.md) which may be accessed via editing the podspec in this module to reference the new version then using patch-package to persist the change (that's how I'm doing it).
Pod version conflicts are out of scope for this package I think. Pod installation problems where suitable versions can't be found may be resolved by removing Podfile.lock and trying again, or looking at the graph pod spits out when there is a version collision, finding the package that needs the lower version, and making it compatible somehow with the new one.
If you truly need an older version of the FB iOS pods because you can't get the other packages to use the new version, then you don't want this repo, you want the old react-native-fbsdk repo I think


As a router, I should be able to figure out how to handle the error from ankr.

https://app.datadoghq.com/logs?event&from_ts=1655794610152&index=&live=true&query=service%3Arouter+env%3Atestnet+stage%3Astaging&to_ts=1655795510152
Rouer keeps exiting in case of provider error. It happens on nomad context when checking domains if they're whitelisted or not

https://app.datadoghq.com/logs?event&from_ts=1655794610152&index=&live=true&query=service%3Arouter+env%3Atestnet+stage%3Astaging&to_ts=1655795510152
Rouer keeps exiting in case of provider error. It happens on nomad context when checking domains if they're whitelisted or not

https://github.com/connext/nxtp/issues/1545

@wanglonghong  Are we actively working on this still?

@alexwhte  it should be closed. Nomad sdk version update should def fix it


Update New Project Playbook

@cunla and @tim-schilling these look like great changes! It makes the process a little more clear and does a great job of calling out who needs to do what, and in what order 💯


Bug

Failing with certain URLs:
https://xxxxxxxx/checkout/mYNzvfHeWEtz8Ac-NwobrYPPyjLRur-d7mdYq1T3N3c,
https://xxxxxxxx/checkout/mYNzvfHeWEtz8Ac-NwobrYPPyjLRur-d7mdYq1T3N3c.
chars in the final of url "," "." is the issue.

Excluding the . and , at the end of a URL is the expected behaviour


use an existing NFS server for the users home directory

make optional the creation of the ANF account, pool and volume used to host the users home directory
added a new section for the ANF settings while maintaining the old syntax
added a new section for listing the mountpoints, especially for the home while maintaining the old syntax

close #474
close #152

the change in linux.yml regarding the connection was creating sometime errors, and in fact delagate_to localhost plus connection local is doing the same


Flet APK exit gracefully 2

I have to ask that again and again because on my previous attempts there was no final answer:
one: https://github.com/flet-dev/flet/discussions/3555
two: https://github.com/flet-dev/flet/issues/3587
I just want to know, wheither it possible at all. And if yes - show how. And if no - say no.
How do I make custom "cleanup" logic right before closing (destroying, removing from memory) the android app?
I have slightly modified simple counter code which doesnt work as expected

import flet as ft

def main(page: ft.Page):
    page.title = "Flet counter example"
    page.vertical_alignment = ft.MainAxisAlignment.CENTER

    txt_number = ft.TextField(value="0", text_align=ft.TextAlign.RIGHT, width=100)
    number = page.client_storage.get("number")
    txt_number.value = number if number else "0"

    def minus_click(e):
        txt_number.value = str(int(txt_number.value) - 1)
        page.update()

    def plus_click(e):
        txt_number.value = str(int(txt_number.value) + 1)
        page.update()

    row = ft.Row(
            [
                ft.IconButton(ft.icons.REMOVE, on_click=minus_click),
                txt_number,
                ft.IconButton(ft.icons.ADD, on_click=plus_click),
            ],
            alignment=ft.MainAxisAlignment.CENTER,

        )

    page.add(
            row,
    )

    def handler(e:ft.AppLifecycleStateChangeEvent):
        if e.data == ft.AppLifecycleState.DETACH:
            page.client_storage.set("number", txt_number.value)
            page.window.destroy()

    page.on_app_lifecycle_state_change = handler
    page.window.prevent_close = True

ft.app(main)

Expectations: value was saved on app shutdown
Reality: counter value does not saved on app shutdown.

Please avoid spamming issues.
Let's keep only one open: https://github.com/flet-dev/flet/issues/3566
Your question will be addressed when possible. Please be patient.


goodvibes: init at 0.7.5

Description of changes
Goodvibes is a lightweight internet radio player for GNU/Linux. Save your
favorite stations, play it, that's it.
https://gitlab.com/goodvibes/goodvibes
Things done

Built on platform(s)

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1347


Update README.md

Fixed the same typo, which was in #34 (see 2.)

Merged via 4c4c08620347b2642ff771c833420ad47e863169.  Thanks!


invalid input value for 0.00000

When I execute the following SQL statement:
sqlStr := "SELECT * FROM TABLE WHERE (COLUMN \u003e $1)" db.Select(nil, sqlStr, 0)
I get the following error:
{"error":"pq: invalid input value for COLUMN:  "0.00000""}
Seems that it's converting 0 to a decimal type under the hold.
Am I doing something wrong or is this a bug in Select?
I'm new to sqlx so this may be a naive question.

If i understand correctly (from error message) you use Postgresql database. Did you try to execute this query in pure lib/pq ?


I would like to define enum.

What is the best way to output the following Swagger?
swagger: "2.0"

components:
  schemas:
    EnumFileStatus:
      type: string
      title: EnumFileStatus
      enum:
        - not_uploaded
        - file_error
        - data_error
        - uploaded
    ResponseUploadFile:
      title: ResponseUploadFile
      type: object
      description: ''
      properties:
        fileStatus:
          $ref: '#/components/schemas/EnumFileStatus'

I would like to define enum.
We have tried the following methods, but did not achieve the intended result.
https://github.com/swaggo/swag#attribute

global enums haven't been supported yet

Any plan supporting this?

I would like give an implementation.
for example:
package types

type Class int

const (
	A Class = iota + 1 // AAA
	B                  /* BBB */
	C
	D
)

type Mask int

const (
	Mask1 Mask = 1 << iota // Mask1
	Mask2                  /* Mask2 */
	Mask3                  // Mask3
	Mask4                  // Mask4
)

type Type string

const (
	Teacher Type = "teacher" // teacher
	Student Type = "student" /* student */
	Other   Type = "Other"   // Other
	Unknown      = "Unknown"
	OtherUnknown
)

type Person struct {
	Name  string
	Class Class
	Mask  Mask
	Type  Type
}

this will output:
definitions:
  types.Class:
    type: integer
    enum:
      - 1
      - 2
      - 3
      - 4
    x-enum-comments:
      A: AAA
      B: BBB
    x-enum-varnames:
      - A
      - B
      - C
      - D
  types.Mask:
    type: integer
    enum:
      - 1
      - 2
      - 4
      - 8
    x-enum-comments:
      Mask1: Mask1
      Mask2: Mask2
      Mask3: Mask3
      Mask4: Mask4
    x-enum-varnames:
      - Mask1
      - Mask2
      - Mask3
      - Mask4
  types.Person:
    type: object
    properties:
      class:
        $ref: '#/definitions/types.Class'
      mask:
        $ref: '#/definitions/types.Mask'
      name:
        type: string
      type:
        $ref: '#/definitions/types.Type'
  types.Type:
    type: string
    enum:
      - teacher
      - student
      - Other
    x-enum-comments:
      Other: Other
      Student: student
      Teacher: teacher
    x-enum-varnames:
      - Teacher
      - Student
      - Other

try the lastest master commit

I tried this implementation
type Type string

const (
	TypePerson   Type = "person"   // person
	TypeBusiness Type = "business" /* business */
)

type customerIn struct {
	ClientId string `json:"client_id"`
	Type     Type   `json:"type"`
}

and it didn't work...

@nicolasassi  have you re-compile your swag with master branch?
I tested ok

@sdghchj I re-compiled with master (today) and now its now working anymore. I submitted a bug for this https://github.com/swaggo/swag/issues/1392

@sdghchj Can this be used as data type in API Operation ?

@sdghchj Can this be used as data type in API Operation ?

it is OK in response body

@sdghchj  I'd like to use it as @Param,  It shows generating the type,  But type didn't exist in the generated document

Check later on, it works with current master version, but when using an array of enums it stop working.
Described more on: #1521


Remove unnecessary controllers

What type of PR is this?
/kind cleanup
Does this PR introduce a user-facing change?:

NONE

/assign @cathyhongzhang to review

/approve

/assign


Add button dock component

Checklist before requesting a review

[x] Working on iOS
[x] Working on Android
[x] Integration tests added
[x] Visual regressions screenshots are up to date
[x] Design validated

Thanks @hcourthias ! :)
Feedback

[ ] All: On the example, we use a Neutral button but it is labeled as a Secondary button. To prevent confusion, can we please update this to Neutral?

Known Issues

Shadows: Currently, we are still working on defining a style for the shadows that will be consistently rendered on both iOS and Android. Can we please revisit the shadows once we have made more progress there? cc @kimak

Questions

Can you share the padding and margin values please? It's difficult to validate without seeing how the ButtonDock would be positioned in relation to the NavigationDock or the edge of the screen.

Thanks @hcourthias ! :)
Feedback

[ ]  All: On the example, we use a Neutral button but it is labeled as a Secondary button. To prevent confusion, can we please update this to Neutral?

Known Issues

Shadows: Currently, we are still working on defining a style for the shadows that will be consistently rendered on both iOS and Android. Can we please revisit the shadows once we have made more progress there? cc @kimak

Questions

Can you share the padding and margin values please? It's difficult to validate without seeing how the ButtonDock would be positioned in relation to the NavigationDock or the edge of the screen.

@ianrobertlambert , For the spacings, there is 16px all arounds the button, and 8px between the button

@ianrobertlambert , For the spacings, there is 16px all arounds the button, and 8px between the button

Ok, great! 👌

I will merge this one. Shadows reviews will be done with @ianrobertlambert on Monday separately


⚠ Bofrost.at has degraded performance

In 3fba423, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1473 ms

Resolved: Bofrost.at performance has improved in 2de3472.


feat: allow per dependency build isolation for setup.py projects as well

Summary

This change the behavior a bit of the per-dependency build-isolation override. That, if the dist name is known it is passed into the SourceBuild::Setup function. This allows for this override to work for projects without a pyproject.toml, like detectron2, using the specified requirement name. Previously only the pyproject.toml name could be used, which these projects are lacking.
An example is given in the Test Plan.
Additionally, the no_build_isolation_package has been adding to InstallerSettingsRef and used in sync and other commands, as this was not done yet.
This is useful if you want to isolate a single package, even ones without a proper pyproject.toml
Test Plan

With the following pyproject.toml.
[project]
name = "detectron-uv"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
    "detectron2",
    "setuptools",
    "torch",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv.sources]
detectron2 = { git = "https://github.com/facebookresearch/detectron2", rev = "bcfd464d0c810f0442d91a349c0f6df945467143" }

[tool.uv]
no-build-isolation-package = ["detectron2"]

The package detectron2 is now correctly isolated. Before, because the logic depended on getting the name from the pyproject.toml, which is lacking in detectron2 you would get the message, that the source could not be built.
With these changes you can now install using (given that you are inside a workspace with a venv):
uv pip install torch setuptools
uv sync

This would previously fail with something like:
error: Failed to prepare distributions
  Caused by: Failed to fetch wheel: detectron2 @ git+https://github.com/facebookresearch/detectron2@bcfd464d0c810f0442d91a349c0f6df945467143
  Caused by: Build backend failed to determine extra requires with `build_wheel()` with exit status: 1
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/Users/tdejager/Library/Caches/uv/builds-v0/.tmptloDcZ/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=[])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tdejager/Library/Caches/uv/builds-v0/.tmptloDcZ/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
    self.run_setup()
  File "/Users/tdejager/Library/Caches/uv/builds-v0/.tmptloDcZ/lib/python3.12/site-packages/setuptools/build_meta.py", line 502, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/Users/tdejager/Library/Caches/uv/builds-v0/.tmptloDcZ/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
    exec(code, locals())
  File "<string>", line 10, in <module>
ModuleNotFoundError: No module named 'torch'
---
  Caused by: This error likely indicates that detectron2 @ git+https://github.com/facebookresearch/detectron2@bcfd464d0c810f0442d91a349c0f6df945467143 depends on torch, but doesn't declare it as a build dependency. If detectron2 @ git+https://github.com/facebookresearch/detectron2@bcfd464d0c810f0442d91a349c0f6df945467143 is a first-party package, consider adding torch to its `build-system.requires`. Otherwise, `uv pip install torch` into the environment and re-run with `--no-build-isolation`.

Hey!

Last changes I did is integrate code from: #6605, was esentially doing a bunch of the same changes.

Generally makes sense to me, thanks Tim.


[WIP] Add IP to location

Calling for feedback. I have gone for an implementation where I use a hidden_field and utilise the existing IpsController#create action rather than duplicating all that logic (or refactoring that logic into a re-useable service).
Other option would be use not use the hidden field, use the Locations::IpsController#create action, and make all the "after Ip creation" logic available to it.

I like this approach. It's clear what's going on in the code, and the user experience is what we want.
There's some duplication between the two ways of adding an IP, but I think the complication we'd introduce by de-duping it isn't worth it.


Typos in "Front Door & WAF"

There are 2 typos.

In the description of the page: AAzure Front Door Service
In chapter 5, line 3: for exmaple, contoso.com

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

ID: 7528220b-b6b5-1465-f33f-4f282af5e6de
Version Independent ID: f8151b07-016c-4f85-d465-8650fdc7be83
Content: Quickly scale and protect a web application using Azure Front Door and Azure Web Application Firewall (WAF)
Content Source: articles/frontdoor/front-door-waf.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

@eNeRGy164, Appreciate your patience. The doc has been edited accordingly and it would take some time for the changes to get reflect over the doc.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

There is still the typo in the description of the page. See my provided PR.


ArgumentException with StorageApplicationPermissions in Unpackaged Apps

Describe the bug
When trying to add a picked file (from the file picker) to the StorageApplicationPermissions.FutureAccessList, the app will throw:
Exception thrown: 'System.ArgumentException' in WinRT.Runtime.dll
An exception of type 'System.ArgumentException' occurred in WinRT.Runtime.dll but was not handled in user code
Value does not fall within the expected range.

Steps to reproduce the bug

File | New | WASDK App
Add the snippet below to the button click event.
Run the app and observe no crash
Switch to unpackaged
Run the app and observe a crash

Snippet:
var picker = new FileOpenPicker
{
    ViewMode = PickerViewMode.List,
    SuggestedStartLocation = PickerLocationId.DocumentsLibrary,
    FileTypeFilter = { "*" }
};

// required to init the picker?
var hwnd = WindowStateManager.Default.GetActiveWindow().GetWindowHandle();
WinRT.Interop.InitializeWithWindow.Initialize(picker, hwnd);

var picked = await picker.PickSingleFileAsync();
if (picked != null)
    StorageApplicationPermissions.FutureAccessList.Add(picked);

Th exception happens in this line:
StorageApplicationPermissions.FutureAccessList.Add(picked);

Is this required still? Maybe not for unpackaged? Should it throw?
Expected behavior
No crash
Screenshots
No response
NuGet package version
1.1.4
Packaging type
Unpackaged
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2022
Additional context
No response

@MikeHillberg @gabbybilka Should we add Windows.Storage.AccessCache.StorageApplicationPermissions to the list of WinRT APIs not supported in desktop apps? I took a quick look under the debugger and it appears that the API needs a package identity in order to work.

@evelynwu-msft Documenting sounds good to me, I'll follow up.

Added to docs via https://github.com/MicrosoftDocs/windows-dev-docs/pull/4181


Optimize storage usage

Some redundant data is stored in Blob that can be deleted after it was processed, e.g. anything in the containers compresedpackages and sendgridinboundemails.

Fix in https://github.com/ascoderu/opwen-cloudserver/commit/b8127f6ebcadb77192cf7de3879af71a459ffc5b verified and deployed in 0.1.20.


chore: Bump Azurite from 3.23.0 to 3.24.0

What does this PR do?
Updates Azurite to version 3.24.0
Why is it important?
Azurite 3.24.0 is required to support Azure Storage API Version 2023-01-03
Related issues

@HofmeisterAn Do you want me to bump Azure.Storage.Blobs to 12.17.0 and Azure.Storage.Queues to 12.15.0 in this PR or in a separate one?
Azure.Storage.Blobs with version 12.17.0 has default API version 2023-01-03 thus it won't work without this PR.


Adding CMake for simple_3d_viewer - having runtime issue with DepthEngine

Add CMake support to BT samples so they can build for Linux.
This is not complete, but should be enough of a start to port more projects.

Thanks! Would you mind providing instructions for building? Loaded the CMake file in VS and am getting some errors when trying to build. Here is the output:
1> CMake generation started for configuration: 'x64-Debug'. 1> Found and using vcpkg toolchain file (C:/Users/legacydev/Documents/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake). 1> Command line: "cmd.exe" /c ""c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe"  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\legacydev\Documents\Dev\Azure-Kinect-Samples-cmake_for_bodytracking_samples\out\install\x64-Debug" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/cl.exe"  -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="C:/Users/legacydev/Documents/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "C:\Users\legacydev\Documents\Dev\Azure-Kinect-Samples-cmake_for_bodytracking_samples" 2>&1" 1> Working directory: C:\Users\legacydev\Documents\Dev\Azure-Kinect-Samples-cmake_for_bodytracking_samples\out\build\x64-Debug 1> [CMake] CMake Warning at C:/Users/legacydev/Documents/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake:104 (message): 1> [CMake]   There are no libraries installed for the Vcpkg triplet x64-windows. 1> [CMake] Call Stack (most recent call first): 1> [CMake]   out/build/x64-Debug/CMakeFiles/3.15.19080502-MSVC_2/CMakeSystem.cmake:6 (include) 1> [CMake]   CMakeLists.txt:8 (project) 1> [CMake] CMake Error at body-tracking-samples/extern/CMakeLists.txt:11 (add_subdirectory): 1> [CMake]   The source directory 1> [CMake]  1> [CMake]     C:/Users/legacydev/Documents/Dev/Azure-Kinect-Samples-cmake_for_bodytracking_samples/body-tracking-samples/extern/glfw 1> [CMake]  1> [CMake]   does not contain a CMakeLists.txt file. 1> [CMake]  1> [CMake]  1> [CMake] CMake Error at C:/Users/legacydev/Documents/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake:195 (_add_library): 1> [CMake]   _add_library cannot create ALIAS target "glfw::glfw" because target "glfw" 1> [CMake]   does not already exist. 1> [CMake] Call Stack (most recent call first): 1> [CMake]   body-tracking-samples/extern/CMakeLists.txt:12 (add_library) 1> [CMake] -- Configuring incomplete, errors occurred! 1> [CMake] See also "C:/Users/legacydev/Documents/Dev/Azure-Kinect-Samples-cmake_for_bodytracking_samples/out/build/x64-Debug/CMakeFiles/CMakeOutput.log". 1> [CMake]  1> cmd.exe /c ""c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe"  -G "Ninja" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\legacydev\Documents\Dev\Azure-Kinect-Samples-cmake_for_bodytracking_samples\out\install\x64-Debug" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/cl.exe" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/cl.exe"  -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_MAKE_PROGRAM="c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\cmake\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="C:/Users/legacydev/Documents/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "C:\Users\legacydev\Documents\Dev\Azure-Kinect-Samples-cmake_for_bodytracking_samples" 2>&1" returned with exit code: 1


deleted issue

@goutham23 You'll need to join the SPDM working group in https://members.dmtf.org/wg/DMTF/dashboard. Also, you cannot mention unpublished DMTF specifications in a public forum like this.

My bad, thanks will join.


Development vdc blockchain chatflows

Description
Adding the chatflow for digibyte
Related Issues
https://github.com/threefoldtech/js-sdk/issues/2209

@abdulgig please delete the branches after you merge it

@abdulgig please delete the branches after you merge it


Fix dialyzer

Hi, Jesse
Some dialyzer fixes.
I didn't get very well the wf_fastmap:lookup, I think it should be wf_fastmap:get. Could you confirm ?
Thanks.

Thanks!


fix SP creation problem

fixes issue  #37270

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

@mlearned the proposed changes look good to me. I cannot sign off but giving it my good to go :)


Writing position in brackets, when methods are being inserted

It would be great if the curser was placed in the brackets when a method is being inserted via auto-completion.
Currently:

          Two things I noticed:

If using auto completion for function, f.e. in list(), the pointer should be inside the brackets and not at the end.
Tables shouldn't be allowed for auto completion in "in list()" function, i.e. it's not allowed to have something like "diagnoses in list(B67_1)"  where B67_1 denotes a table.

Originally posted by @jbessi in https://github.com/eonum/mcl-editor/pull/1#discussion_r1195047070


Razor Pages squigglies for internal PageModel implementations

Environment data
dotnet --info output: 7.0.401
VS Code version: 1.82.2
C# Extension version: 2.3.27
OmniSharp log
n/a
Steps to reproduce
Foo.cshtml.cs
internal sealed class FooModel : PageModel {                      // <--------- internal
  public string Name { get; set; } = "Mike";
  // ...
}

Foo.cshtml
@page /foo
@model FooModel
<div>
  Hello @Model.Name      @* red squigglies start at first invocation of Model, till end of document *@
  ...                    @* red squigglies *@
  ...                    @* red squigglies *@
</div>                   @* red squigglies *@

Expected  behavior
No errors, no warnings, no squigglies.
Actual behavior
Many red squigglies in vscode. Example:
Inconsistent accessibility: property type 'IHtmlHelper<FooModel>' is less accessible than property 'Pages_Foo.Html' CS0053
Inconsistent accessibility: property type 'IHtmlHelper<FooModel>' is less accessible than property 'Pages_Foo.ViewData' CS0053
Inconsistent accessibility: property type 'IHtmlHelper<FooModel>' is less accessible than property 'Pages_Foo.Model' CS0053

Additional context
Even though reported as errors, the app works. It's perfectly valid code.
When I change internal to public, the squigglies disappear. But I don't want to do that, as the code I've written is best practice.
The above example is simplistic. For a real RP page, of non-trivial length, the entire editor is filled with red squigglies. It's completely unusable.

I believe there is a related issue in MVC views. Using dotnet new mvc and altering Views/Shared/Error.cshtml to:
@using mvc.Models

@model ErrorViewModel

And Models/ErrorViewModel.cs to:
namespace mvc.Models;

internal sealed class ErrorViewModel
{
}

I get:

This despite the fact that the generated page class is internal (dotnet build works fine).

+1 Thank you to report this.
It is sad because like you say it is "best practice" to using internal in professional coding, but we must dirty the code just to keep this tool from making errors. This is very bad.
I hope this to be investigated and fixed - thanks guys!

We're actively working on getting this fixed. Stay tuned!


Removed the unnecessary softplus in NTMHeadBase._address_memory

Removed the softplus in the softmax:
        s = F.softmax(F.softplus(s), dim=1)

softmax already constrains the values to (0, 1), the softplus doesn't achieve anything. Pytorch's softmax implementation is already numerically stable, so that's not the preoccupation.

I mean, I trained a bunch of models with this code base and got fine looking gifs, if that's what you're asking

I trained a bunch of pretty long models, and get good results in the notebooks.

Like this one, which was trained for a while on sequences up to 120 long, and converges very sharply

Tested it as well, seems to alter convergence a bit but perhaps for the better.


Fix MySQL timestamp handling

If we're using time.Time for 'date' and 'datetime' type we have to use it also for 'timestamp' - in other case there are "Scan error on column index 5: unsupported driver -> Scan pair: time.Time -> *string" error appeared

Thank you very much, :)


USB CDC Uploading Error on Win10

With the latest repo of Arduino ESP32 (idf/release 4.2) it gets stuck after clicking the upload button with the indication "connecting..." After a while it times out, and the process gets unsuccessful.
I'm using ESP32-S2-Saola with native USB pins, there is no UART converter.

Thanks for reporting. I will try to provide some solution to use in client app that works on windows too.

Looks like it is straight forward first, but before i merge it in library you may test it with this code:
#include "cdcusb.h"

CDCusb USBSerial;
enum { CDC_LINE_IDLE, CDC_LINE_1, CDC_LINE_2, CDC_LINE_3 };

class MyUSBCallbacks : public CDCCallbacks {
    bool onConnect(bool dtr, bool rts)
    {
        static uint8_t lineState = CDC_LINE_IDLE;

        if(!dtr && rts){
            if(lineState == CDC_LINE_IDLE){
                lineState++;
            } else {
              if(lineState != CDC_LINE_1)
                lineState = CDC_LINE_IDLE;
            }
        } else if(dtr && rts){
            if(lineState == CDC_LINE_1){
                lineState++;
            } else {
                lineState = CDC_LINE_IDLE;
            }
        } else if(dtr && !rts){
            if(lineState == CDC_LINE_2){
                lineState++;
            } else {
                lineState = CDC_LINE_IDLE;
            }
        } else if(!dtr && !rts){
            if(lineState == CDC_LINE_3){
               USBSerial.persistentReset(RESTART_BOOTLOADER); \\ reset to bootloader mode
            } else {
                lineState = CDC_LINE_IDLE;
            }
        }

        return true;
    }
};

void setup()
{
    Serial.begin(115200);
    USBSerial.setCallbacks(new MyUSBCallbacks());
    USBSerial.manufacturer("test");
    USBSerial.product("test"); // product name

    if (!USBSerial.begin())
        Serial.println("Failed to start CDC USB stack");
}

void loop()
{
  delay(1000);
}

Restart Bootloader function is working, there is no problem. However, after getting into bootloader mode the COM Port number re-enumerates. So, the new COM Port number has to be chosen from Tools\Port menu in order to continue flashing process (double click upload button)!

Yes, it is happening because from OS point of view those are 2 different devices. The reason fo that is before and after reset to download mode USB endpoints are differently enumerated.
I could add new class just for that but its not worth the effort, since it will works perfectly fine with arduino library when it is updated with fixed tinyusb version.
You have to understand it will works only if USB descriptors match, which means you cant add any other USB class to your own device and this library was designed to allow to mix few USB classes in one device even if its rare usage case.

Thanks @chegewara
I had tried some older commits of ESP32 Arduino repo "idf/release 4.2" and "esp32s2" branches, but unfortunately I could not be able to find the working version of tinyusb. If you know any exact branch and commit, it would be really appreciated.

Ok, it is something very odd here. In arduino-esp32 this commit is with working tinyusb, and i can easy use it to flash board over USB on linux and most likely on macOS too:
7d3f49940f4577d44ff72adbf05d6779a4ad3e7e
but for some reason it is not working on windows 10. The odd part is that esp32 is switched to download mode, but right after it happen it is rebooted:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x3 (RTC_SW_SYS_RST),boot:0x0 (DOWNLOAD(USB/UART0/1/SPI))
Saved PC:0x40025f29
waiting for download

I cant explain this, because my hacky way is working.

There is small hack you could do in my library, to stay esp32 S2 in persist mode and easy flash it as long as it stay connected to power source, but i dont know if this is what you expect. At the moment i dont know what else can be done.

My main objective is to be able flash my ESP32-S2 custom board with native built-in USB without having neither USB-to-UART converter nor "Reset" and "Boot" buttons manipulation.
As this device is going to be used as a development board for the purpose of electronics and robotics education, Arduino IDE have to be provided as a coding platform. For that reason, It is nearly a must for our project to have this auto-reset and auto-boot flashing feature with USB.
I think we have to wait for Arduino ESP32 Core to be updated in terms of tinyusb built-in library. Or else, your library could be used as a temporary solution until ESP32 Core updated with only one problem which is double upload clicking and COM port re-enumeration, right?

Im not saying the idea is bad, but no matter what, even if everything here or in arduino will meet your need, when app flashed to S2 will be faulty and cause loop reboot then without buttons you can do nothing. You need at least 1 button (IO0) or jumper or any other way to pull it to GND during connecting USB cable.

I always have 2 buttons on my board as a backup incase of failure and first booting.

Ok, i fixed my library and there is no longer double press upload button required, but that leads to the same issue which is in arduino-esp32 library. Download does not start, just switching to download mode and then restart esp32.
It may be the issue with esptool.py script.

Could you test with https://github.com/chegewara/EspTinyUSB/tree/persist branch?

I have tested, but unfortunately downloading process does not start as you said. It just says "Connecting..." and gets stuck.

The issue is with esptool, i think, which i already reported and trying to get some help from espressif.
https://github.com/espressif/esptool/issues/606


HSDS Pods errors

Hello,
I have seen the following errors pop up on the error reporting. They seem to all be related. I am trying to figure out what could be causing these. I suspect some connection to the bucket failed, but rather than handling it gracefully, one of the pods may have crashed. This then causes the lockup issue described in #104. I am not sure if this is the sequence of events but seems like it based on observing the requests ( most recent error last).
Traceback (most recent call last):
 File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode.py", line 147, in bucketScan
   await scanRoot(app, root_id, update=True, bucket=bucket)
 File "/opt/env/hsds/lib/python3.8/site-packages/hsds/async_lib.py", line 436, in scanRoot
   await putStorJSONObj(app, info_key, results, bucket=bucket)
 File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/storUtil.py", line 393, in putStorJSONObj
   rsp = await client.put_object(key, data, bucket=bucket)
 File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/s3Client.py", line 357, in put_object
   raise HTTPInternalServerError()
aiohttp.web_exceptions.HTTPInternalServerError: Internal Server Error

 Traceback (most recent call last):
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode_lib.py", line 884, in s3syncCheck
    update_count = await s3sync(app)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode_lib.py", line 865, in s3sync
    await notify_root(app, root_id, bucket=bucket)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode_lib.py", line 85, in notify_root
    await http_post(app, notify_req, data={}, params=params)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/httpUtil.py", line 298, in http_post
    async with client.post(url, **kwargs) as rsp:
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/client.py", line 1117, in __aenter__
    self._resp = await self._coro
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 905, in start
    self._continue = None
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None

 Traceback (most recent call last):
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode.py", line 147, in bucketScan
    await scanRoot(app, root_id, update=True, bucket=bucket)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/async_lib.py", line 384, in scanRoot
    await getStorKeys(app, **kwargs)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/storUtil.py", line 473, in getStorKeys
    key_names = await client.list_keys(**kwargs)
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/s3Client.py", line 588, in list_keys
    raise HTTPInternalServerError()
aiohttp.web_exceptions.HTTPInternalServerError: Internal Server Error

 Traceback (most recent call last):
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/util/s3Client.py", line 567, in list_keys
    async for page in paginator.paginate(
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/paginate.py", line 32, in __anext__
    response = await self._make_request(current_kwargs)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/client.py", line 211, in _make_api_call
    http, parsed_response = await self._make_request(
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/client.py", line 231, in _make_request
    return await self._endpoint.make_request(operation_model, request_dict)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/endpoint.py", line 81, in _send_request
    while await self._needs_retry(attempts, operation_model,
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/endpoint.py", line 213, in _needs_retry
    responses = await self._event_emitter.emit(
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/hooks.py", line 29, in _emit
    response = handler(**kwargs)
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 183, in __call__
    if self._checker(attempts, response, caught_exception):
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 250, in __call__
    should_retry = self._should_retry(attempt_number, response,
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 269, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 316, in __call__
    checker_response = checker(attempt_number, response,
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 222, in __call__
    return self._check_caught_exception(
  File "/opt/env/hsds/lib/python3.8/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/endpoint.py", line 147, in _do_get_response
    http_response = await self._send(request)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/endpoint.py", line 229, in _send
    return await self.http_session.send(request)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 224, in send
    raise HTTPClientError(error=e)
botocore.exceptions.HTTPClientError: An HTTP Client raised an unhandled exception: [Errno 32] Broken pipe

 Traceback (most recent call last):
  File "/opt/env/hsds/lib/python3.8/site-packages/aiobotocore/httpsession.py", line 172, in send
    resp = await self._session.request(
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
    await resp.start(conn)
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
  File "/opt/env/hsds/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
    await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe

Traceback (most recent call last):
  File "/opt/env/hsds/lib/python3.8/site-packages/hsds/datanode.py", line 163, in bucketScan
    log.error()
TypeError: error() missing 1 required positional argument: 'msg'

I've never seen anything like this but I'm more often using Amazon's S3 which seems to rarely have issues.
Do these errors correlate with a particular type of usage?  E.g. only under heavy load?
I put in a fix for datanode.py line 163 - that was just missing the argument for the logger.

Yes, this was under high load, so its possible that the networking for the host was saturated and unable to reach the bucket. There may be some missing catch statements to prevent this from bubbling up to the top and causing the application to crash. I'll try and see if I can find where that might be needed.

Yes, likely there needs to be more robust handling for reads/writes to the storage system.
For read errors, we can just return a 500 to the client and have the client retry the request  (ideally with some sort of exponential back off time).
Errors during the bucketScan operation are non-critical and the server can just retry the scan after a bit.
Errors for write operations need to be caught and retried by the s3sync task - it's critical to ratain the data in memory till it's successfully written.
I'll look into to adding some test scaffolding the randomly causes the storage reads/writes to fail - in the style of Netflix's chaos monkey: https://github.com/Netflix/chaosmonkey.  That will make it easier to reproduce these types of scenerios.

Hey @bilalshaikh42
I've checked in some changes to master that should make things more stable under high load.  Not sure it will help your specific setup or not, but I'd be interested to hear any feedback if you can give it a try.
To simulate high load work flows, I created the test: hsds/tests/perf/write that runs a set of pods all writing to one dataset.

Sure, I can test this out and see if it helps! Is there a docker image with the changes available?
I have been able to resolve our issues for now by simply disabling the metadata cache and chunk cache by settings the size to 0. This works for us since we are only having heavy write loads and light read loads, but I presume this is not an ideal solution. It might give some hint to where the issues might lie, however.

I've pushed the latest image to docker hub as: hdfgroup/hsds:ad8597f
Strange to hear about disabling the caching.  I would have thought that wouldn't work - and when I tried setting the cache configs to 0, I do get an exception!  (divide by zero errror)
Anyway try this image with and without the cache settings.   For reading I do see quite a bit of speed up when an item is in the cache.  Generally about 2x compared to when it has to retrieve from S3.

This latest image: hdfgroup/hsds:36a7c61 might be even better!

This seems to be fully resolved!

great - I'll close the issue then.


Consolidate commissioning reads of general commissioning cluster using wildcards

Problem
Each attribute is currently read separately. That's a lot of traffic that doesn't need to happen. Once https://github.com/project-chip/connectedhomeip/pull/14567 lands, we'll have wildcard support in the commissioner, so may as well use it.
Proposed Solution
Use wildcard style attribute read.

Done.


general navigation

looking for suggestions on improving the discover-ability of the topics. this involves how they are first presented, how they are connected, etc etc. looking for high level ideas.

the header presentation is awesome, but it confuses the navigation. I would leve the diagram image only at the about page, but the doodleish title image is so awesome that you should keep it everywhere.
The about page link - a question mark - is hovering the title in small screens.

What about having them as a column on the left?
This is definitely excessive, but I think it does a good job of using the left column: https://stripe.com/docs/api/curl
You could just have a nav always there with those buttons? I think right now they are a little too far down.
I love the main image, but it's also very tall, so when you look at specific pages, it might detract from the content. I do wonder if showing little subsections of it based on where you are in the diagram might be handy...

ooh @iros i've always loved stripes API docs. using an edge is a neat idea. the only thing i worry about is losing the "connectedness" feeling of all the topics. but i think you are on to something. i'll play around with this idea sometime today.

Could you bold "connected" topics in a sidebar list as you navigate around?


Etherpad DirtyDB

Just tried Etherpad. Seems to install fine; however, starting a new pad gives the following warning:

Warning: DirtyDB is used. This is fine for testing but not recommended for production. -- To suppress these warning messages change suppressErrorsInPadText to true in your settings.json

Not sure, but I assume it's not ideal to use DirtyDB, so suppressing the warning is probably the wrong thing to do. Anyhow, fyi.

Didn't realize I could see the command line output (while installing another package), but Etherpad reported these errors while installing:

Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
<EMAIL_ADDRESS>/home/etherpad/etherpad-lite/src

For the Warns, this is not really problem if it works. Furthermore this not related to DPlatform, but to the Etherpad project.
Anyway on the DirtyDB side, you show a good point, this is not very production-ready. Etherpad supports postgres, sqlite and mysql to set up in settings.json. SQlite will be a good choice.

That makes sense, thanks.


Add Java Sample application

Description:
Add Java sample application for Manual and Auto instrumentation using the AWS Distro for OpenTelemetry JavaAgent

[x] Parse config file & use default values
[x]  Generate random based metrics
[x] Implement 3 endpoints (/outgoing-http-call /aws-sdk-call /outgoing-sampleapp)
[x] Add request based traces
[x] Add request based metrics
[x] Support invocation of other sample apps

This PR is continuing the work that was incomplete in a previous PR: https://github.com/aws-observability/aws-otel-community/pull/86
Link to tracking Issue: https://github.com/aws-observability/aws-otel-java-instrumentation/issues/186
Testing Performed:
The application was run locally.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Do we want to add the sample-apps/java-sample-app/gradle/wrapper/gradle-wrapper.jar to the .gitignore?
@bryan-aguilar this is the convention while working with gradle. I don't personally like as well.
https://stackoverflow.com/questions/20348451/why-should-the-gradle-wrapper-be-committed-to-vcs

Do we want to add the sample-apps/java-sample-app/gradle/wrapper/gradle-wrapper.jar to the .gitignore?

@bryan-aguilar this is the convention while working with gradle. I don't personally like as well. https://stackoverflow.com/questions/20348451/why-should-the-gradle-wrapper-be-committed-to-vcs

Thanks for the info.


fix: added loading state for chart widget

Description
Summary of changes

Added class bp3-skeleton when the isLoading prop is true.

Motivation

A loading state did not existed when Animate Loading was set to true. This caused the widget to crash whenever the widget was attached with the query data.

Fixes #10183
Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
This fix is tested manually. Please find below the steps to test the fix:

Add a chart widget on to the canvas.
Attach a query to the chart's Series Data attribute for example, {{Query1.data.map( (obj) =>{ return  {'x': obj.gender, 'y': obj.id } })}}
Set the property Animate Loading to true.
Refresh the page.
Observe that you will see a loader.

Please find below video for reference:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
// Code coverage diff between base branch:release and head branch: fix/fix-chart_widget_no_loading_state

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
app/client/src/widgets/ChartWidget/component/index.tsx
49.41 (0)
22.68 (0.57)
50 (0)
47.47 (0)

Documentation update: https://github.com/appsmithorg/appsmith-docs/pull/321

/ok-to-test sha=1539e98

Documentation update: appsmithorg/appsmith-docs#321

cc @dilippitchika @Pranay105

@keyurparalkar can we cover this with test?

Tested the DP, and it looks good to me.
The only thing to note is that the query isloading is only true on page load, while rerunning the query the property remains false, is that expected? @hetunandu @riodeuno

/ok-to-test sha=3b860fd

/ok-to-test sha=a26e200

/ok-to-test sha=a26e200

/ok-to-test sha=a26e200

/ok-to-test sha=a26e200

/ok-to-test sha=ea4e242


Fixing issues in the  single-group-v2 sample application.

Fixing issues in the  single-group-v2 sample application.

Thanks @dinithis for the fix! I have now merged this to master branch.


changed code.google.com entries

Updated the library for websocket, code.google.com is closed so is breaking all apps linked to this project.. I did this on my fork and linked from my other app and seems to be working fine.

Feel free the continue working on this thing in your own fork.
I don't have time or interest to maintain this anymore.


Re-think transaction details

We're progressively moving toward a model where things are recorded as separate transactions, rather than in columns. For example, a contribution made today can have:

1 transaction pair for the contribution from the user to the collective
1 transaction pair for the tip from the user to open collective
1 transaction pair to represent the host fee from the collective* to the host
1 transaction pair to represent the host fee shared owed by the host to the collective

In the future, we may also want to treat payment processor fees in the same way. That does not play well with the current approach of the transaction details, where we the net amount of transactions used to take the host fee into account:

This technical change should be somehow reflected in the transaction details. When expending the details of a transaction, I should be able to see the full breakdown of all transactions in this group. We shouldn't be afraid about loading a lot of data here, as we can build this as something asynchronous that will load the data when expanded.
As an example, here are the things that I would expect to see when looking at the details of a Contribution Transaction:

Base contribution amount
Payment processor fees
Host fees
Tip amount

A few thoughts about these changes:
on the host side:

as a host it is not important to see all these different transactions. The total amount in host fees - the total amount of the platform tips + the total amount of the host fees share. Clear numbers, in as few transactions as possible.

on the contributor side:

a contributor needs to know exactly where his/her money is going. It is not transparant at all.  It is even incorrect: the net amount in the transaction below e.g. is not €19,43 but €19,43-3%. This has to show, maybe even with the name of the fiscal host. And if he/she tips, that needs to show too in the same line.

Looks like this might be resolved by the proposal from https://github.com/opencollective/opencollective/issues/3658:

Looking good!


Rename package

closes #660
requires https://github.com/vais-ral/CCPi-FrameworkPlugins/pull/45 and https://github.com/vais-ral/CCPi-astra/pull/77

What Jakob wrote!!!


Graphs should be immutable

In order to fix Kruskal implementation, a small change in Depth class has been made to not alter graph structure. We should cancel this change and make graphs immutable instead.

Resolved by PR #45


To Do List

Within this pull request I have incorporate the following modifications:

Added functionality to the project
Implement remove and add functions.
Add local storage to save all changes.

I kindly request for review.
I am currently working on the last project so I have added modules, kindly ignore it.

Hi @tugsem I cannot remove the entire code in the task.js file since I have set my default property complete in it and imported it into the index.js file. However I have remove the hardcoded description.


session_test is blocked

gdb:
It's blocked when ping()

nebula-graph version: nebula-graph-2021.12.05-nightly.el7.x86_64.tar.gz
The bin/nebula-console can execute YIELD 1 successfully.

What's the version or commit id of nebula-cpp?

What's the version or commit id of nebula-cpp?

The lastest version is fixed on fedora os where glibc is 2.29.
But There is blocked on centos 7.9 where  glibc is 2.17.  I has try to compile and test on two platforms.
λ ~/caton.hao/plato/.downloads/nebula-cpp/build2/ master* cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
>>>> Options of Nebula C++ Client <<<<
-- ENABLE_ASAN                     : OFF (Build with AddressSanitizer)
-- ENABLE_CCACHE                   : ON (Use ccache to speed up compiling)
-- ENABLE_CLANG_TIDY               : OFF (Enable clang-tidy if present)
-- ENABLE_COMPRESSED_DEBUG_INFO    : ON (Compress debug info to reduce binary size)
-- ENABLE_COVERAGE                 : OFF (Build with coverage report)
-- ENABLE_FRAME_POINTER            : OFF (Build with frame pointer)
-- ENABLE_FUZZY_TESTING            : OFF (Enable Fuzzy tests)
-- ENABLE_GDB_SCRIPT_SECTION       : OFF (Add .debug_gdb_scripts section)
-- ENABLE_JEMALLOC                 : ON (Use jemalloc as memory allocator)
-- ENABLE_MODULE_UPDATE            : OFF (Automatically update module)
-- ENABLE_PIC                      : OFF (Build with -fPIC)
-- ENABLE_STATIC_ASAN              : OFF (Statically link against libasan)
-- ENABLE_STATIC_UBSAN             : OFF (Statically link against libubsan)
-- ENABLE_STRICT_ALIASING          : OFF (Build with -fstrict-aliasing)
-- ENABLE_TESTING                  : ON (Build unit tests)
-- ENABLE_TSAN                     : OFF (Build with ThreadSanitizer)
-- ENABLE_UBSAN                    : OFF (Build with UndefinedBehaviourSanitizer)
-- ENABLE_WERROR                   : ON (Regard warnings as errors)
-- Set D_GLIBCXX_USE_CXX11_ABI to 1
-- CMAKE_BUILD_TYPE                : Debug (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...)
-- CMAKE_INSTALL_PREFIX            : /usr/local/nebula (Install path prefix, prepended onto install directories.)
-- CMAKE_CXX_STANDARD              : 17
-- CMAKE_CXX_COMPILER              : /opt/vesoft/toolset/gcc/7.5.0/bin/g++ (CXX compiler)
-- CMAKE_CXX_COMPILER_ID           : GNU
-- NEBULA_USE_LINKER               : bfd
-- CCACHE_DIR                      : /home/darion/.ccache
>>>> Configuring third party for 'Nebula C++ Client' <<<<
-- Downloading prebuilt third party automatically...
-- cxx_cmd: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1
Downloading vesoft-third-party-2.0-x86_64-libc-2.17-gcc-7.5.0-abi-11.sh...
Nebula Third Party has been installed to /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install
-- NEBULA_THIRDPARTY_ROOT          : /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install
-- Build info of nebula third party:
Package         : Nebula Third Party
Version         : 2.0
Date            : Mon Aug 23 09:19:13 UTC 2021
glibc           : 2.17
Arch            : x86_64
Compiler        : GCC 7.5.0
C++ ABI         : 11
Vendor          : VEsoft Inc.

-- CMAKE_INCLUDE_PATH              : /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/include
-- CMAKE_LIBRARY_PATH              : /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib64;/home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib
-- CMAKE_PROGRAM_PATH              : /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/bin
-- GLIBC_VERSION                   : 2.17

-- Found ZLIB: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libz.a (found version "1.2.11")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib64/libcrypto.a (found version "1.1.1j")
-- found krb5-config here /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/bin/krb5-config
-- Found kerberos 5 headers: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/include
-- Found kerberos 5 libs:    /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libgssapi_krb5.a;/home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libkrb5.a;/home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libk5crypto.a;/home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libcom_err.a;/home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libkrb5support.a
-- Found Boost: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/include (found version "1.75.0")
-- Found Libunwind: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/libunwind.a
-- Found BISON: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/bin/bison (found suitable version "3.0.5", minimum required is "3.0.5")
-- Found FLEX: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/bin/flex (found version "2.6.4")
-- Looking for lzma_auto_decoder in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a
-- Looking for lzma_auto_decoder in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a - found
-- Looking for lzma_easy_encoder in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a
-- Looking for lzma_easy_encoder in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a - found
-- Looking for lzma_lzma_preset in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a
-- Looking for lzma_lzma_preset in /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a - found
-- Found LibLZMA: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/lib/liblzma.a (found version "5.2.4")
-- BREAKPAD: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2/third-party/install/include
>>>> Configuring third party for 'Nebula C++ Client' done <<<<
-- Create the pre-commit hook
-- Creating pre-commit hook done
-- Found Git: /usr/bin/git (found version "<IP_ADDRESS>")
-- HOST_SYSTEM_NAME is el
-- HOST_SYSTEM_VER is el7
-- CPACK_GENERATOR is RPM
-- CMAKE_HOST_SYSTEM_PROCESSOR is x86_64
-- Configuring done
-- Generating done
-- Build files have been written to: /home/darion/caton.hao/plato/.downloads/nebula-cpp/build2
λ ~/caton.hao/plato/.downloads/nebula-cpp/build2/ master* make -j10
Scanning dependencies of target graph_thrift_obj
Scanning dependencies of target nebula_graph_client_obj
Scanning dependencies of target common_thrift_obj
Scanning dependencies of target nebula_common_obj
Scanning dependencies of target meta_thrift_obj
Scanning dependencies of target nebula_storage_client_obj
Scanning dependencies of target nebula_meta_client_obj
Scanning dependencies of target storage_thrift_obj
[  1%] Building CXX object src/CMakeFiles/nebula_common_obj.dir/datatypes/Edge.cpp.o

I tried in image vesoft/nebula-dev:centos7 but can't produce. I will try gcc7.5.0 later again.

I still can't reproduce in same glibc, centos and gcc version, is it stable to reproduce?

I reproduce it in centos7.9 host, vesoft/nebula-dev:centos7 image run in cento7.9 host, but can't reproduce when vesoft/nebula-dev:centos7 image run in Fedora30(kernel 5.6.13). This maybe caused by the difference of kernel.


docs: tweak documentation

Several changes to documentation to include more links between pages:

Add links to keywords for more info;
Tweak description of strings;
Add literals to Syntax README;
Change sort to say "tuple"

Excellent! A couple of tiny changes and then this is a very nice upgrade

Great! Thanks a lot @richb-hanover

We'll wait for 0.9.4 then


Format json nicely

If json is entered in the JSON view (not json text) then we should use nice indentation.
curl .... -d `
{
    "a": 1
}
`

released


I am using google calendar API and sometime for some accounts ListRequest.Execute() takes lots of time. i.e response never come. Any solution for it ?

I am using the latest version of the google calendar API(<IP_ADDRESS>). Please reply as soon as possible.

Please try executing the same request in the API explorer. It seems unlikely that this is a client library issue rather than the API just taking a long time. Have you set a timeout for the request? If so, what is it?
Are you sure there's no response rather than an exception being thrown? Could you provide a minimal console app that demonstrates the problem? (Don't include any private information, of course - just let us know any non-identifiable aspects of the accounts you've noticed causing issues, if you have spotted any patterns.)

Thanks for the response. I have not set the timeout. Where to set it?
It takes time around 2 to 5 minutes or more and then it throws the System.Threading.Tasks.TaskCanceledException.

And Its does not have any pattern, some time it takes time and sometimes it gives the result quickly.
It might be because I am calling it parallelly for many accounts? some throttling issue

Okay, so it's timing out - not hanging permanently. That's an important distinction, and encouraging. Timeouts can be configured by modifying the HttpClient of the service. (There's a Timeout property.)
If you're making many requests in parallel, it's possible that HttpClient is throttling the calls via a connection pool. That would probably depend on the framework version you're using and potentially other aspects. That's the first thing I'd investigate: what happens if you don't perform the calls in parallel, or only make (say) 4 calls in parallel?
If that is the problem, you may be able to fix it with an app.config file, but we'd need to know more details about your context first - what kind of app you're writing, what version of the framework you're targeting, etc.

This problem is mainly for https://developers.google.com/google-apps/calendar/v3/sync this feature.
I am fetching the incremental changes based on sync token. I am using 4.5 frameworks.
@jskeet suppose its related to throttling then what changes we need to make in the web.config file?

If it is connection throttling, then the <connectionElement> part of the network settings is the relevant bit - or try setting ServicePointManager.DefaultConnectionLimit.
But I would run tests to see whether that is the problem first.

How to confirm that throttling is the problem? by reducing the parallel requests?

Yes: run a test where you deliberately do lots of work in parallel, then another test where you do the same amount of work, but one request at a time, or potentially two requests at a time instead (so a "safe" level of parallelization). Make sure that you log the time taken for each request, and compare them.

ok, thanks. I will check

@amanpreetSO Is this issue now resolved? Or are you still seeing this problem?

@chrisdunelm I am still facing the problem. I think the issue is looking related to machine outbound connection limit. Can you help me in that?

@amanpreetSO If the problem is related to machine outbound connect limit, then you need to reduce the number of parallel requests, as @jskeet has suggested earlier.
Have you tested performing only one request at a time, sequentially; logging the time taken for each request?
How many requests are you performing concurrently when you see this problem?

I am processing 10 requests at a time. On sequential execution, it may improve the performance but I need to run in parallel because I have a lot of requests to process. If I go sequentially It will down the performance in peak hour. Can we improve machine outbound connect limit? is it at the hardware level?

Can we improve machine outbound connect limit?

We don't know what environment you're running in. Different environments can have very different connection limits. Some may allow you to change them, others not.

I'd expect that to be documented for the environment you're using. But again, we have no information about where you're running this code. If you could provide that information, we could help you more.

Closing due to lack of information. Please leave another comment containing more details if you still see this issue.


Hyphenation support

Does SimpleMDE supports hyphenation? In my application words are broken which makes it difficult to read. See the screenshot.

Weird, what configuration are you using? Here the whole word drops to the next line thus not breaking it.

Here is my config:
var descMde = new SimpleMDE({
                    element: document.getElementById("description"),
                    autoDownloadFontAwesome: false,
                    spellChecker: false,
                    toolbar: ["bold", "italic", "heading", "|", "unordered-list", "ordered-list", "|", "link", "image", "|", "quote", "code", "table", "|", "preview", "guide"],
                });

I feel like this is being caused by some CSS affecting the word-break property.
Try removing all stylesheets you might have with the exception of the one already provided by SimpleMDE and check if it solves the issue.

It's actually part of another application (mantisbt.org), so removing all css may not be easy. One option is to override the word-break property


No log is recorded in debug mode, but manual operation works

🐛 Bug
just as title
Code sample
import torch
from torch.nn import functional as F
from torch import nn
from pytorch_lightning.core.lightning import LightningModule
from pytorch_lightning.core.step_result import TrainResult
from pytorch_lightning import loggers
from torch.utils.data import DataLoader, random_split
from torchvision.datasets import MNIST
import os
from torchvision import datasets, transforms
from pytorch_lightning import Trainer
from torch.optim import Adam

class LitMNIST(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer_1 = torch.nn.Linear(28 * 28, 128)
        self.layer_2 = torch.nn.Linear(128, 256)
        self.layer_3 = torch.nn.Linear(256, 10)

    def forward(self, x):
        batch_size, channels, width, height = x.size()
        x = x.view(batch_size, -1)
        x = self.layer_1(x)
        x = torch.relu(x)
        x = self.layer_2(x)
        x = torch.relu(x)
        x = self.layer_3(x)
        x = torch.log_softmax(x, dim=1)
        return x
    def prepare_data(self):
        # download only (not called on every GPU, just the root GPU per node)
        MNIST(os.getcwd(), train=True, download=True)

    def train_dataloader(self):
        transform=transforms.Compose([transforms.ToTensor(),
                                      transforms.Normalize((0.1307,), (0.3081,))])
        mnist_train = MNIST(os.getcwd(), train=True, download=False, transform=transform)
        return DataLoader(mnist_train, batch_size=64)

    def configure_optimizers(self):
        return Adam(self.parameters(), lr=1e-3)

    def training_step(self, batch, batch_idx):
        x, y = batch
        logits = self(x)
        loss = F.nll_loss(logits, y)  # a Breakpoint at here

        # self.logger.log_metrics({'loss':loss},step=self.global_step)

        result = TrainResult(loss)
        result.log('train_loss', loss)

        # add logging

        return result

model = LitMNIST()
trainer = Trainer(gpus=1)
trainer.fit(model)

Expected behavior
tensorboard should show my loss curve
Environment
* CUDA:
        - GPU:
                - GeForce RTX 2080 Ti
                - GeForce RTX 2080 Ti
                - GeForce RTX 2080 Ti
                - GeForce RTX 2080 Ti
        - available:         True
        - version:           10.2
* Packages:
        - numpy:             1.19.1
        - pyTorch_debug:     False
        - pyTorch_version:   1.6.0
        - pytorch-lightning: 0.9.0
        - tensorboard:       2.2.0
        - tqdm:              4.48.2
* System:
        - OS:                Linux
        - architecture:
                - 64bit
                -
        - processor:         x86_64
        - python:            3.7.7
        - version:           #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019

Additional context
when I use self.logger.log_metrics({'loss':loss},step=self.global_step) it work for me

Hi, what exactly is this debug mode?
Given that this issue is closed, I assume you solved the problem.
I ran the code and it generates all the tensorboard logs, so it seems to be fixed in the latest version.
cheers


Show tooltip only for truncated headings

Show tooltip only for truncated headings
Description: Currently, the tooltip is displayed regardless of the length of the heading. The tooltip should only appear when a heading is truncated due to its length and is not fully readable. Headings that are short enough and can be fully displayed do not need a tooltip, as the content is already visible at a glance.
Requirements:

The tooltip should be shown only when the heading text is longer than the available space and is thus truncated
No tooltip should be displayed for fully visible headings
Ensure that this behavior is consistent across different browsers and devices

Hello,
PR here


Add health check support for MI Dashboard

Describe your problem(s)
Currently, MI Dashboard does not provide an endpoint to perform health checks. This is a required feature as it is deployed in microservices and maintainers need to check the deployment status of the system.
Describe your solution
Create a new endpoint on the MI Dashboard that responds with the current status of the deployment.

Resolution/Fixed

Hi @madushadhanushka ,
Have we updated the documentation regarding this improvement?
Thanks,
Lakshitha

Added documentation with https://github.com/wso2/docs-apim/pull/6019


Unity reference in readme

Unity support was removed in commit ba88ecb97889c00dc0e3bfcb01f801cbb17d8946
The readme is still referenced from the main readme: https://github.com/aws/aws-sdk-net#unity-support
It would be useful to have a few lines what it did, why it was removed and what needs to be done now (if anything).

Duplicate of https://github.com/aws/aws-sdk-net/issues/1634 which is in progress.


Install Go Analysis Tools in Gitpod workspace

Without this, VS Code prompts to install gopls, dlv, etc. before setting a breakpoint + debugging a tutorial works.
I'm not sure if there's a more elegant way to run Go: Install/Update Tools (https://github.com/golang/vscode-go/wiki/tools) in the Command Palette instead.
Also simplified the check for $tutorial, as otherwise this line causes a syntax error when the variable isn't set at all.

This works great! Thanks @lgruen! Merged.


Predemo

4dfd3b1 Gamified Devops Evaluation Results :clipboard:
Score Changes for Committer: @waohwoah

Deployment: 5
Quality: 4

432cba7 Gamified Devops Evaluation Results :clipboard:
Score Changes for Committer: @waohwoah

Deployment: -5

6dc9e30 Gamified Devops Evaluation Results :clipboard:
Score Changes for Committer: @waohwoah

Deployment: 5
Quality: 4


Numerical issues with 2pi: phi vs psi

Here is a test of continuity:
momenta orientation is obtained by rotating Rz(phi)Ry(theta)Rz(psi) of a fixed aligned kinematics. The theta is fixed, phi, and psi are x, and y.
Wigner azimuthal angle for relative tree2 with respect to tree1 is plotted

the jumps are 2pi subtractions.

It's not an issue in the overall transformation, rather for the individual angle psi - it jumps together with phi changing from -pi to pi. The sum of the two is continuous

result_psi = result_full[1].psi_rf
result_phi = result_full[1].phi_rf + np.pi
result = result_psi + result_phi

Ill look at this in more detail tomorrow.
If you are at it right now, can you see, if this behaviour changes for different theta?
Or is it unrelated to theta?

Pattern is slightly different. I would say it is merely related to theta: since +- 2pi lives in the numerical precision domain, any fluctuation causes the jump, It can be phi, can be theta

Finally found the interesting stuff, that I was trying to do: the physical angle jump due to mismatch of domain of kinematic variables.
The helicity angles, (phi, theta),  (psi, ...) appear in all topologies. Every topology folds the SU(2) space (4pi x 2 x 4pi -> 2pi x 2 x 2pi) differently. Wigner rotations are responsible for matching the topologies on SU(2).
Below one sees the border of 2pi flip domains for wigner psi_3(1)_for1.
The local numerical jumps are destructing, therefore I plot phi+psi. It's not yet clear to me why I have to do phi-psi for the corner regions.
(phi-psi)

(phi+psi)

Anyway, the effect that should be there is clearly visible.

Realized over the night that remaining jumps for psi+phi is the 4pi, it's not an issue, 4pi is true a ambiguity. Simply to remove by forsoing, [-pi, 3pi] range for the angles

@KaiHabermann added notes in the header of the issue.

I added an fmod by 4 pi to tthe image. Now it is smooth in both areas, but different.
phi + psi

psi

phi

@mmikhasenko should I show the above plot (the nice one) in the talk?

Yes, would be nice

Final Version after the + 2 pi was moved to phi instead of psi.
This removed the numerical instability for the 3body case (undetermined psi)
Closing this issue, as the latest release solves it


feat: Implement Indexed builder class

I compare the implementation to a branch where I have just copy-pasted IndexedOption to more easily compare the differences between the 2 implementations.

@zonca The PR name should have a feat: to make the Lint PR test pass.

Nope. Oh well!

Wait a minute, why can't I merge this? Oh! It's a PR into zonca/awkward. I see scikit-hep/awkward#2883 and will go there now.

I'm closing this PR, let's refer to the one in the official repo


Between Shots fix

I don't think this is a good idea since Between Shots on pistols is a very handy thing

I don't think this is a good idea since Between Shots on pistols is a very handy thing

This doesn't change anything for pistols, it only fixes it for automatic weapons


Better Support for injecting grammars into template strings

From: https://github.com/Microsoft/vscode/issues/5961
Problem
Many frameworks are using tagged template strings to embed other languages or construct domain specific languages. It is currently difficult to inject a grammar for these embedded languages into the the template string grammar
Proposal
Split the template string grammar element to better support injection. I'll submit a PR with this shortly

I've found a way to this without changing the grammar: https://github.com/mjbvz/vscode-js-template-string-grammar-injection-example
The solution was to introduce a noop rule that always consumes something inside the template string. I'll investigate to see if we can fix our engine to not require this

https://github.com/xgqfrms/vscode/issues/8


The @Slf4j in 0.29-2019.3 version not support for IDEA 2019.3.4

Short description
The @Slf4j is not support, but the other annotations is working well.
Version information

**IDEA Version: 2019.3.4 Ultimate Edition
**JDK Version: 1.8.0_241-b07
**OS Type & Version: window10 professional
**Lombok Plugin Version: 0.29-2019.3
**Lombok Dependency Version: lombok-plugin-0.29-2019.3.jar

Cann't reproduce this, @Slf4j is working well.


Fix value too long for type character varying (#12352)

<!-- ==== 🐛 Remove this line WHEN AND ONLY WHEN you're fixing a bug, follow the checklist 👇 ====
### Fix <value too long for type character varying>
- [ ] Add a unit test to verify that the fix works.
- [ ] Explain briefly why the bug exists and how to fix it.
it's auto collect by agent-java, when dubbo invoke more 1 second, the length of the message content is more than 200, so error is happend, the agent collect message content as below:

Response time of endpoint relation POST:/databoard/sets/v2/save_config in test::x-big-data|uat| to cn.mashang.terminal.modules.vscreen.IVScreenOpenService.freshBigData(Long,String) in test::m-terminal-center|uat| is more than 1000ms in 2 minutes of last 10 minutes

- [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
- [ ] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).

i am the first fork, first issue, first pr,
i don't know what i do is right or not right?

You should follow pull request template to update the changes.md doc.

@kezhenxu94 Could you check the error message? Is the event message so long?
Meanwhile, is message searchable? I can see there is indexing on it.

@kezhenxu94 Could you check the error message? Is the event message so long?
Meanwhile, is message searchable? I can see there is indexing on it.

I don't expect the event message to be that long. Can you share what kind of events are you facing? @friendlytkyj

@kezhenxu94 Could you check the error message? Is the event message so long?
Meanwhile, is message searchable? I can see there is indexing on it.

I don't expect the event message to be that long. Can you share what kind of events are you facing? @friendlytkyj

it's auto collect by agent-java, when dubbo invoke more 1 second, the length of the message content is more than 200, so error is happend, the agent collect message content as below:
Response time of endpoint relation POST:/databoard/sets/v2/save_config in test::x-big-data|uat| to cn.mashang.terminal.modules.vscreen.IVScreenOpenService.freshBigData(Long,String) in test::m-terminal-center|uat| is more than 1000ms in 2 minutes of last 10 minutes

Your PR should target master branch. We wouldn't release 10.0.2 AFAIK.
Even some maintainer will do, he/she will cherry pick from master branch manually.


backport bugfix into v0.1

Cherrypicking the bugfix that was included in v0.2.0 but not in a v0.1.x release yet. Will release a v0.1.1 with this once merged.
@fabxc @alexsomesan

👍 lgtm

:+1:


[$250] [hold for payment 2024-10-04] Members - Dropdown button is not full width

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.40-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Launch New Expensify app.
Go to workspace settings > Members.
Invite a member if there is no other member.
Long tap on the member.

Expected Result:
The dropdown button should be full width.
Actual Result:
The dropdown button is not full width.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

https://github.com/user-attachments/assets/d6fcc791-e84b-4bcd-b8ab-951827ee4db9

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021841837363965759666
Upwork Job ID:<PHONE_NUMBER>965759666
Last Price Increase: 2024-10-03

Issue OwnerCurrent Issue Owner: @

Production

We think that this bug might be related to #wave-control

Both of the existing proposals end up with the 3-vertical-dot getting cut on the right side:

@Nodebrute now I tested removing the View as your alternative solution suggest and that seems to work. I'll test a bit more and prepare the PR.

Thanks @Krishna2323 , but if removing the View works the same, I think I prefer that since the simpler the code, the easier to maintain.

@rayane-djouah is C+
https://github.com/Expensify/App/pull/49760 implements @Nodebrute 's alternative proposal

Tested well in staging: https://github.com/Expensify/App/pull/49760#issuecomment-2377629220

Done!

Discussing payment here

Payment due here:

@Nodebrute - $125 for proposal via Upwork. No payment is required here given proposal offered with no help wanted label, but we appreciate your assistance in getting this deploy blocker done!
@rayane-djouah - $250 for C+ review via Upwork.

Offer sent to both of you in Upwork! Payment due tomorrow

Payment sent to both of you!

Upwork job closed.

All set


HIVE-24288: Temp files created by CompileProcessor are not deleted (N…

What changes were proposed in this pull request?
When you run the "compile" query in Hive CLI, this creates some temp files in java.io.tmp directory that need to be cleaned up after the resource is added to the session.
For example:
compile import org.apache.hadoop.hive.ql.exec.UDF \; public class Pyth extends UDF {   public double evaluate(double a, double b){     return Math.sqrt((a*a) + (b*b)) \;   } }  AS GROOVY NAMED Pyth.groovy;
in /tmp,
./0_1603130653872in/Pyth.groovy
./0_1603130393407in/Pyth.groovy
./0_1603130541093in/Pyth.groovy
ls -l *.jar
-rw-r--r-- 1 root root 1578 Oct 19 17:59 0_1603130393407.jar
-rw-r--r-- 1 hive hive 1578 Oct 19 18:02 0_1603130541093.jar
-rw-r--r-- 1 hive hive 1578 Oct 19 18:04 0_1603130653872.jar
Why are the changes needed?
Cleanup needed
Does this PR introduce any user-facing change?
NO
How was this patch tested?
Manually using Hive CLI.
After the fix,
ls -l in /tmp, shows no new .groovy files
Also the jar file has lesser permissions for non-owners
-rw------- 1 root root 1578 Oct 20 00:54 2_1603155248285.jar

Fix has been committed. Thank you for the review @yongzhi


How to run with visual studio?

I ran it with visual studio but no port is open

Where are the source code of these projects?

or this

Those servers are not open source yet(auth,file,gateway,seq,session),if you want to run with visual studio

Download the latest servers from https://github.com/loyldg/mytelegram/releases/download/v0.11.1102/mytelegram-server-0.11.1102-win-x64.zip
Run start-all.bat
Kill process Mytelegram.Messenger.Abp.exe
Start MyTelegram.Messenger.Abp from visual studio


[bluetooth_flutter]

Hi,
I am a company developer and we use bluetooth to connect devices.
We need a plugin develop by flutter to connect uses bluetooth with other devices.
There is a flutter_bluetooth_serial, but only works on Android platform.
https://pub.dev/packages/flutter_bluetooth_serial
Need help
Thanks

I use https://pub.dev/packages/flutter_blue , I recommend v0.5.

@luisdiaz14 Please report if flutter_blue solved your problem? If yes, please close the issue.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of ' flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Revisit ordering of problems

In particular, all the song-based/text-based exercises are pretty mentally taxing, and should probably be spread out a bit.

@kytrinyx: Shall we close this issue in favour of issue #299 ?

#299 doesn't address the order, but it does put everything in place so that we can address it. I think you're right. Closing.


Delayed command start

Hello
I use xmonad as a window manager and on session start, I start multiple alacritty terminals with some specific commands inside (like alacritty -e top &). The window manager places them on specific workspaces. Therefore, they are not visible right away, only after I switch to the given workspace.
I observe a strange thing. It seems to me the command is started when the alacritty is first show. Therefore, when I have (for example) a music player controlled by global keyboard shortcuts, it doesn't respond to the keyboard shortcuts until I first switch to the workspace with the music player.
Is something like that possible? That it is not really started until it is drawn for the first time? One thing of note, xmonad is supposed to be „non-reparenting“ window manager (whatever that means), which is said to be quite unusual.
I'll be happy to provide further information if needed.

Which operating system does the issue occur on?

Linux.

If on linux, are you using X11 or Wayland?

X11

I can reproduce this issue with i3 as my WM as follows:
~/.config/i3/config
# ...

assign [class="Alacritty"] 9
exec --no-startup-id alacritty -e speaker-test

I don't hear the speaker test until I navigate to workspace 9.


Build int32_publisher Firmware Error (ESP32-S3 on YD-ESP32-S3-N16R8 Board)

Hi, I am learning micro-ROS with ESP32 board by following the basic tutorial from this blog post Connect ESP32 to ROS2 (Foxy +) which is quite similar as the original tutorial written in micro-ROS webpage.
While doing the build_firmware.sh step, I got the following error:

Hardware description:

Board: YD-ESP32-S3-N16R8 by VCC-GND
Host: Ubuntu 22.04 with ROS2 Humble
Interface: Serial USB

RTOS: FreeRTOS
Installation type: micro-ROS example project int32_publisher
Version or commit hash: micro-ROS humble branch

Steps to reproduce the issue

Create firmware ros2 run micro_ros_setup create_firmware_ws.sh freertos esp32
Configure the firmware
ros2 run micro_ros_setup configure_firmware.sh int32_publisher -t udp -i 192.xxx.xxx.xxx -p xxxx
Configure WIFI connection ros2 run micro_ros_setup build_firmware.sh menuconfig
Build the firmware ros2 run micro_ros_setup build_firmware.sh

Expected behavior

Actual behavior

There is an error which I am not sure. I have tried to search the internet and found someone with the same error but has not been solved yet.
Additional information
I am connecting the board via USB cable through host machine.

Hello, the way to go in ESP32-based boards is to use micro-ROS IDF component. You can find it here: https://github.com/micro-ROS/micro_ros_espidf_component

micro-ROS component for ESP-IDF is a different approach, you do not need micro_ros_setup at all.
Just create an environment of ESP-IDF using their tooling: https://docs.espressif.com/projects/esp-idf/en/release-v5.0/esp32/get-started/linux-macos-setup.html#get-started-linux-macos-first-steps
And then add the micro-ROS module as explained in the repo.

Ah I get it now. Thank you..


Testcase that Jerry cannot execute

Jerry Version:
Checked revision: 40f7b1c27fa79568deb5a473b60397ea52b787f7
Build: debug.linux
OS:
Ubuntu 16.04,   x86_64
Testcase:
https://github.com/yeguixin/testcases/blob/master/0/0bee07592a100236e9b99c722c3388f1-0.js
Exception:
When I execute the testcase using jerry, I find that jerry cannot execute the js file. Maybe it's a bug of Jerry.

@yeguixin Could you please give some details on what "jerry cannot execute the js file" means? How did you build the project? (Please, give the exact command line.) What diagnostics are reported? What is the exit code of the program?
The first thing that occurs to me is that the test case is almost 9000 lines long and its size exceeds 500k, which may result in OOM. But more details are needed to say anything for sure.

I build Jerry using python2.7 as follows:
python tools/build.py
I add print function in that testcase as you see in first line of the testcase. But jerry does not print the content in the console, which I think jerry cannot execute the testcase. I am sure that I successfully build jerry as it is work for other js files.
Maybe it's caused by OOM, I delete some code and it works.

I suggest building the project with
tools/build.py --debug --logging=on --error-messages=on

That may give more output.

I rebuild Jerry as you suggested. When I execute that testcase, Jerry reports an error as follows:
Error: ERR_OUT_OF_MEMORY
Now the exception is clear and it's caused by OOM.

Thanks for confirming. OOM is not considered a bug.

Note: If you need more memory than 512K then you can enable 32 bit compressed pointers, like this
python tools/build.py --cpointer-32bit=on --mem-heap=1024
See also: http://jerryscript.net/getting-started/

Thanks @LaszloLango @akosthekiss


How to integrate my own host runtime with containerd using this repo?

Description
I have a WebAssembly-based container runtime daemon in local host. It can handle all containers' creation, running, deletion.
Now I want to integrate it with containerd and k8s to support distributed runtime. I think I should implement a shim to transfer the instruction between the containerd and my runtime. Maybe use grpc for communication of shim and runtime...?
Then I wonder which lib of this repo should I choose to construct the shim. this crate?

I've read throughly the src code of runwasi,
and now got the idea about how to use these crates.
Thx, I think I should close this issue.


OANDA_ACCESS_TOKEN and OANDA_ACCOUNT_ID shouldn't be in script

Hello,
it's not very safe to have OANDA_ACCESS_TOKEN and OANDA_ACCOUNT_ID in script
(because you can accidentally push to GitHub these very private data)
You might have

a config.py file and
a config.default.py file

Add config.py to .gitignore
config.default.py could be simply
OANDA_ACCESS_TOKEN="...."
OANDA_ACCOUNT_ID="..."

User will have to copy
config.default.py to config.py
and edit config.py
your scripts will contains
from config import OANDA_ACCESS_TOKEN, OANDA_ACCOUNT_ID

Kind regards

That is how the full engine works. My approach is minimize editing of files while I explain and slowly expand. I don't want users that just want to try it out to edit any other files.
btw, this is from the full engine
def init(config):
oanda = oandapy.API(environment=config['OANDA_ENVIRONMENT'],
access_token=config['OANDA_ACCESS_TOKEN'])
strategy_data = read_strategy(**config['STRATEGY_FILE']**)
return oanda, strategy_data


[TW#25962] Extend esp_sleep_enable_XX() API to include UART and more

Problem Description
The current esp_sleep_enable_XXX() API only includes support for some wake-up sources but not all like UART.
Expected Behavior
Support for all wake-up sources (especially UART in my case)

This just happens to be in review at the moment, expect to be merged shortly.

this sounds great, do you have a ETA for this?

Support for UART and GPIO wakeup has been merged in https://github.com/espressif/esp-idf/commit/13107d5968eb6b376b953dfadab55f903e8915a6.