[BUG] fltk-sys build script fails when cross compiling to x86_64-pc-windows-gnu

Describe the bug
Compiling to x86_64-pc-windows-gnu gives an error while compiling fluid. It seems to be complaining about finding a git repository, which seems really strange. I don't know what is causing this.
To Reproduce
I'm just running cargo build --release --target=x86_64-pc-windows-gnu inside of this repository.
Screenshots
Here's the whole output:
$ cargo build --release --target=x86_64-pc-windows-gnu
   Compiling fltk-sys v1.2.20
error: failed to run custom build command for `fltk-sys v1.2.20`

Caused by:
  process didn't exit successfully: `/home/ethan/src/projects/simple-nus3audio-gui/target/release/build/fltk-sys-14d6fdba50a175d6/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build/android.rs
  cargo:rerun-if-changed=build/bundled.rs
  cargo:rerun-if-changed=build/link.rs
  cargo:rerun-if-changed=build/main.rs
  cargo:rerun-if-changed=build/source.rs
  cargo:rerun-if-changed=build/utils.rs
  cargo:rerun-if-env-changed=CC
  cargo:rerun-if-env-changed=CXX
  cargo:rerun-if-changed=cfltk/CMakeLists.txt
  cargo:rerun-if-changed=cfltk/include/cfl.h
  cargo:rerun-if-changed=cfltk/include/cfl_widget.h
  cargo:rerun-if-changed=cfltk/include/cfl_group.h
  cargo:rerun-if-changed=cfltk/include/cfl_input.h
  cargo:rerun-if-changed=cfltk/include/cfl_window.h
  cargo:rerun-if-changed=cfltk/include/cfl_button.h
  cargo:rerun-if-changed=cfltk/include/cfl_box.h
  cargo:rerun-if-changed=cfltk/include/cfl_menu.h
  cargo:rerun-if-changed=cfltk/include/cfl_dialog.h
  cargo:rerun-if-changed=cfltk/include/cfl_valuator.h
  cargo:rerun-if-changed=cfltk/include/cfl_browser.h
  cargo:rerun-if-changed=cfltk/include/cfl_misc.h
  cargo:rerun-if-changed=cfltk/include/cfl_text.h
  cargo:rerun-if-changed=cfltk/include/cfl_image.h
  cargo:rerun-if-changed=cfltk/include/cfl_draw.h
  cargo:rerun-if-changed=cfltk/include/cfl_table.h
  cargo:rerun-if-changed=cfltk/include/cfl_surface.h
  cargo:rerun-if-changed=cfltk/include/cfl_printer.h
  cargo:rerun-if-changed=cfltk/include/cfl_utils.h
  cargo:rerun-if-changed=cfltk/include/cfl_macros.h
  cargo:rerun-if-changed=cfltk/include/cfl_lock.h
  cargo:rerun-if-changed=cfltk/src/cfl_lock.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_new.cpp
  cargo:rerun-if-changed=cfltk/src/cfl.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_widget.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_group.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_window.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_button.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_box.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_menu.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_dialog.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_valuator.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_browser.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_misc.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_text.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_image.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_input.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_draw.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_table.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_tree.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_surface.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_printer.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_font.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_utils.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_nswindow.m
  cargo:rerun-if-changed=cfltk/FL_FLex/FL_Flex.H
  cargo:rerun-if-changed=cfltk/FL_FLex/FL_Flex.cpp
  cargo:rerun-if-changed=cfltk/src/cfl_vec.hpp
  CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_gnu = None
  TARGET_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-pc-windows-gnu = None
  CMAKE_GENERATOR_x86_64_pc_windows_gnu = None
  TARGET_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-pc-windows-gnu = None
  CMAKE_PREFIX_PATH_x86_64_pc_windows_gnu = None
  TARGET_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-pc-windows-gnu = None
  CMAKE_x86_64_pc_windows_gnu = None
  TARGET_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-sys-1.2.20/cfltk" "-DCMAKE_SYSTEM_NAME=Windows" "-DCMAKE_RC_COMPILER=/usr/bin/x86_64-w64-mingw32-windres" "-DOPTION_USE_SYSTEM_LIBPNG=OFF" "-DOPTION_USE_SYSTEM_LIBJPEG=OFF" "-DOPTION_USE_SYSTEM_ZLIB=OFF" "-DCFLTK_LINK_IMAGES=ON" "-DOpenGL_GL_PREFERENCE=GLVND" "-DOPTION_USE_GL=OFF" "-DCFLTK_USE_OPENGL=OFF" "-DCFLTK_SINGLE_THREADED=OFF" "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" "-DCFLTK_CARGO_BUILD=ON" "-DFLTK_BUILD_EXAMPLES=OFF" "-DFLTK_BUILD_TEST=OFF" "-DOPTION_LARGE_FILE=ON" "-DOPTION_USE_THREADS=ON" "-DOPTION_BUILD_HTML_DOCUMENTATION=OFF" "-DOPTION_BUILD_PDF_DOCUMENTATION=OFF" "-DCMAKE_INSTALL_PREFIX=/home/ethan/src/projects/simple-nus3audio-gui/target/x86_64-pc-windows-gnu/release/build/fltk-sys-cff6bce13894592f/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -m64" "-DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc" "-DCMAKE_BUILD_TYPE=Release"
  -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
  -- Configuration Summary for FLTK 1.4.0 generated by CMake 3.25.1 --

  -- The following OPTIONAL packages have not been found:

   * Doxygen

  -- Static libraries will be built in /home/ethan/src/projects/simple-nus3audio-gui/target/x86_64-pc-windows-gnu/release/build/fltk-sys-cff6bce13894592f/out/build/fltk/lib
  -- Shared libraries will not be built (set OPTION_BUILD_SHARED_LIBS=ON to build)
  -- Example programs will not be built (set FLTK_BUILD_EXAMPLES=ON to build)
  -- End of Configuration Summary --

  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/ethan/src/projects/simple-nus3audio-gui/target/x86_64-pc-windows-gnu/release/build/fltk-sys-cff6bce13894592f/out/build
  running: "cmake" "--build" "." "--target" "install" "--config" "Release" "--parallel" "16"
  [  5%] Built target fltk_z
  [ 19%] Built target fltk_jpeg
  [ 26%] Built target cfltk
  [ 32%] Built target fltk_png
  [ 86%] Built target fltk
  [ 88%] Built target fltk_forms
  [ 92%] Built target fltk_images
  [ 92%] Building CXX object fltk/fluid/CMakeFiles/fluid.dir/ExternalCodeEditor_WIN32.cxx.obj

  --- stderr
  fatal: not a git repository (or any of the parent directories): .git
  error: patch failed: src/CMakeLists.txt:303
  error: src/CMakeLists.txt: patch does not apply
  error: patch failed: src/Fl_win32.cxx:603
  error: src/Fl_win32.cxx: patch does not apply
  error: patch failed: src/drivers/Android/Fl_Android_System_Driver.H:25
  error: src/drivers/Android/Fl_Android_System_Driver.H: patch does not apply

  gmake: warning: -j16 forced in submake: resetting jobserver mode.
  In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:70,
                   from /home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-sys-1.2.20/cfltk/fltk/fluid/ExternalCodeEditor_WIN32.h:25,
                   from /home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-sys-1.2.20/cfltk/fltk/fluid/ExternalCodeEditor_WIN32.cxx:24:
  /home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-sys-1.2.20/cfltk/fltk/fluid/ExternalCodeEditor_WIN32.cxx: In member function 'int ExternalCodeEditor::reap_editor(DWORD*)':
  /home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/fltk-sys-1.2.20/cfltk/fltk/fluid/ExternalCodeEditor_WIN32.cxx:509:10: error: narrowing conversion of '4294967295' from 'DWORD' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
    509 |     case WAIT_FAILED: {    // failed
        |          ^~~~~~~~~~~
  gmake[2]: *** [fltk/fluid/CMakeFiles/fluid.dir/build.make:422: fltk/fluid/CMakeFiles/fluid.dir/ExternalCodeEditor_WIN32.cxx.obj] Error 1
  gmake[1]: *** [CMakeFiles/Makefile2:408: fltk/fluid/CMakeFiles/fluid.dir/all] Error 2
  gmake: *** [Makefile:136: all] Error 2
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 2

  build script failed, must exit now', /home/ethan/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.46/src/lib.rs:974:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

And the toolchain list:
$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-2020-04-10-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.56.0-x86_64-unknown-linux-gnu

Desktop info

OS: openSUSE Tumbleweed
Version: snapshot 20221214

Building with the last fltk version that worked (the lockfile says 1.2.20) also fails with the same error.

Hi
The log you posted seems to still be building version 1.2.20. The narrowing conversion error was already fixed upstream here:
https://github.com/fltk/fltk/commit/793f4b90fac349b096922a6b90ae2731777ac6cf
That should correspond to fltk-rs version 1.2.29 and later.
Can you run cargo update to update the lockfile then rerun the build?

Hi The log you posted seems to still be building version 1.2.20. The narrowing conversion error was already fixed upstream here: fltk/fltk@793f4b9
That should correspond to fltk-rs version 1.2.29 and later.
Can you run cargo update to update the lockfile then rerun the build?

Thanks for the quick reply. I'm not sure how I missed that, I assumed cargo would just pull the latest version as it came up.
The error is gone and the build succeeds now.


Adding the rules to the Network Security Groups in parallel

Hi @aydey, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Ayantika Dey). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Fix validation for file having whitespaces in their name

Currently, when the user uploads a file having white spaces in its name,
it is not validated as the file name is changed due to replacement of
whitespace by "%20". This commit replaces it with whitespaces so that
the correct file can be validated.
Fixes: #174
Signed-off-by: shubham.gupta2956<EMAIL_ADDRESS>

@goneall please review

@shubhamgupta2956 Thanks for the fix!
@rtgdk @shubhamgupta2956 I wonder if we have the same issue in other parts of the application where we upload files

@goneall I have found this same problem in some more locations also. I had updated the PR for those places also.

I have found this same problem in some more locations also. I had updated the PR for those places also.

@shubhamgupta2956 thanks for catching those - the changes look good to me.

@rtgdk I have made the required changes


`full-no-direct' gives same result as 'full' connection

The full-no-direct connection type gives the same connections as the full connection type. The control does not enter this condition in the code.(might be something that I am overlooking, please let me know)

Hey Ting, seems like the condition to check if neuron i in pre and neuron j in post group is there.
// if flag is set, don't connect direct connections 			if(noDirect && gPreN == gPostN) 				continue;
line 3302 snn_manager.cpp
But I guess "gPreN == gPostN" is never satisfied

Hi Prathyusha, are you trying to connect two separate groups using "full-no-direct"?
Ting and I discussed, and it seems "full-no-direct" is meant for making a recurrent connection within the same group, i.e. connecting neuron i to neuron j in the same group, where i != j.

Hi, Hirak, Indeed I was trying with two different groups as it said differently in the documentation that I have read.

Hi Prathyusha, thank you for raising the issue. We will update it the new documentation that will be released soon. After that, we will close this issue.

Solved with commit d503e01da869003438febb7dbd1055734079d7c0


v2.5.0-beta

The PR name should be the version to be deployed (ex: v1.0.1)

[x] Bump the version in the package.json or equivalent.

Changelog
🎉 Features

Adds mentions in comment threads (#377)
Notifying curators in comments (#386)
Adds version changelogs (#379)

🚀 Improvements

Allow update publication status for all ATBD status (#383)
Updates version-update modal text (#381)
Remove in-publication step (#384)
Remove in-publication status (#382)
Adds Cypress (#376) and tests:

Create ATBD (#380)
Viewing ATBDs (#385)
Contacts (#394)
Publish-workflow tests (#395)

🐛 Fixes

Show comment button only to authorized users (#378)
Send alias, it's now validated in the backend (#396)

Completing this merge so these changes can be synced into MCP.


Convert to modern typing style

Since some semi-recent python version (3.10?) it's been possible to avoid a lot of the imports from typing:
Union[str, int] => str | int
Dict[str, int] => dict[str, int]
List[int] => list[int]
Optional[str] => str | None

This style is just nicer and gets rid of a lot of imports. We should probably switch to it.

I did this with pyupgrade in https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/pull/12193


COPY behaves differently than ADD while squashing

The COPY command behaves similarly to ADD in a Dockerfile, yet when squashed, the COPY commands are replaced after the squashed image, while the ADD commands are removed.
Chances are, including a check for COPY on line 591 of export.go will fix it.  For now, I've replaced COPY with ADDs in my Dockerfile.

Fixed by 89e4431


Transloco Date Pipe does not support all date formatting

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x ] Bug report
[ ] Performance issue
[ x ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
This is both a bit of a bug, but also a request to support all date formatting options supported in Date.toLocaleDateString.
Currently the Transloco pipe only supports two date format options dateStyle and timeStyle.
This is in fact causing issues between Chrome, Firefox and Safari.
In Chrome, for the Dutch localisation for {dateStyle: 'medium'} the format for the date is 25 feb. 2020 but for Firefox and Safari it is 25-2-2020.
Expected behavior
I want to be able to pass custom date formats using all options, rather than rely on the browser settings for dateStyle and timeStyle
What is the motivation / use case for changing the behavior?
Providing the toLocaleDateString a set of custom options provides a consistant output across browsers, in our case:
d.toLocaleDateString('nl-NL', {year: 'numeric', month: 'short', day: '2-digit'}) provides the same output across all browsers
Environment

Angular version: 8.2.14

Browser:
- [ X ] Chrome (desktop) version 80
- [ X ] Firefox version 74
- [ X ] Safari (desktop) version 13.0.5

@tanepiper looks like it just a matter of typing, would you like to create a pr for this?


Do not include the gateway ip for rendezvous over Ble

Problem
While doing Rendezvous over Ble the SoftAP IP embedded in the QRCode is not used (since there is no SoftAP)
Summary of Changes

Remove the optional field of the QRCode containing the SoftAP IP when doing Rendezvous over Ble

@jelderton @hawk248 @robszewczyk @saurabhst ?


Release 0.12.2

Coverage increased (+2.06%) to 96.76% when pulling c4574ffac382ffdfbc77df1db706d056addb14c3 on master into 9a1d3b1ec734d16fed615b5f9c4f7a8400b08571 on release.

Coverage increased (+2.06%) to 96.76% when pulling c4574ffac382ffdfbc77df1db706d056addb14c3 on master into 9a1d3b1ec734d16fed615b5f9c4f7a8400b08571 on release.


Extend python library documentation

Body of the issue
Documentation for the python library is getting to be a very long page and needs to be split into multiple pages.
It also probably deserves its own section!
Additionally there are a number of features / functionality which is not currently documented at all.

Closing for now, until we have some specific examples of where the docs are lacking


Need Guide EN

Hello Can you give me Guide how to install use version <IP_ADDRESS>2 to support UDP NGINX ?

When i install use make not run, show error


BUG: linalg.polar: empty array support

Reference issue

Check the box "polar" in #20372
What does this implement/fix?
If a is empty, the polar function now returns p and u of the right types. Before, an error occurred on empty array.
Additional information

It is just a first PR for #20372 to see I understand the problem

thanks @redha2404 , can you add a regression test? Examples can be found in the test file changes in https://github.com/scipy/scipy/pull/20295/files.

I think the problem with int is now solved

Thanks. The dtype is indeed correct now.
However I've a follow-up concern, sorry for not thinking about it before.
Let's see:
In [44]: a
Out[44]: array([], shape=(0, 3), dtype=float32)

In [45]: u, p = polar(a)

In [46]: p
Out[46]:
array([[ 8.6914245e-20,  3.0839777e-41,  0.0000000e+00],
       [ 0.0000000e+00,  2.8025969e-45,  0.0000000e+00],
       [           nan,            nan, -6.4903711e+32]], dtype=float32)

In [47]: u @ p
Out[47]: array([], shape=(0, 3), dtype=float32)

The dtype here is irrelevant, but the contents of p is. It is documented to be positive semidefinite, but what is returned clearly is not. There is a hint in the implementation: you use np.empty_like(a.T @ a). Can you explain why you used empty instead of e.g. a.T @ a itself?

I didn't notice np.empty_like puts such values. I wanted to precise the dtype I want on p but I just noticed that a.T @ a does the conversion polar(int_array) -> (float64, float64)
>>> u = np.empty((0,3), dtype=int)
>>> p = a.T @ a
>>> p.dtype
dtype('float64')

So, should I just put e.g, u = a and p=a.T @ a  for 'right' ?

Oh, not for u. It doesn't transform int to float. I should not change the line for u

I changed it as you suggested it

Hi @redha2404 - did you mean to close this?

I wanted to give it the last look-though before pressing the green button but the patch is now gone.

I wanted to change the branch from which I merge because it was from my main branch. Should I make another PR with the same modifications ?

I wanted to change the branch from which I merge because it was from my main branch. Should I make another PR with the same modifications ?

Yeah, sounds good 👍


Use the file object when uploading OSA launcher app

Pass the file object instead of the whole value to upload_to_gcs.
Related (should be merged first):

https://github.com/rogerthat-platform/rogerthat-backend/pull/350

Should i update all other usages of upload_to_gcs?
Closes #434.

Let's update the other usages if they cause problems


Get Leader End and Value For Spot Elevation

What is the problem that needs solving?
Extracting the leader end point and the number value of a spot elevation.
How would you like to see it solved?
Maybe 2 separate nodes:

Node with input as spot elevation element and output end point coordinates for the leader end point
Node with input as spot elevation element and output the elevation number value as a string or number

Describe alternatives you've considered
Unfortunately not finding one..
Thanks in advance for any help on this item!!

Thanks for looking into this! Hoping this is a relatively easy modification to the similar nodes for leaders / tags... The Rhythm tools are a great resource and much appreciated!

Hi there  - I think I found a solution for this!  The existing Dimension.Origin node appears to extract the information I'm looking for.   And then I can use the extracted z value for the elevation number.

Oh wow! Cool find!
On Fri, Dec 6, 2024 at 12:29 PM Edulis120 @.***> wrote:

Hi there - I think I found a solution for this! The existing
Dimension.Origin node appears to extract the information I'm looking for.
And then I can use the extracted z value for the elevation number.
—
Reply to this email directly, view it on GitHub
https://github.com/johnpierson/RhythmForDynamo/issues/76#issuecomment-2524009155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYD5VAUPQH5MZL4S456ORD2EH3IBAVCNFSM6AAAAABS2TUZBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUGAYDSMJVGU
.
You are receiving this because you were assigned.Message ID:
@.***>


Upgrade of Operator SDK to 1.3.0 / Kubebuilder to v3

Summary
Applied the following advice:

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.3.0/
https://master.book.kubebuilder.io/migration/project/v2_v3.html

Fixes https://github.com/vshn/k8up/issues/235

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[x] Update the documentation.
[x] Update tests.
[x] Link this PR to related issues.

According to Kubebuilder migration guide, we can also remove this bit from leader_election_role.yaml:
  resources:
  - configmaps/status
  verbs:
  - get
  - update
  - patch

According to Kubebuilder migration guide, we can also remove this bit from leader_election_role.yaml:
  resources:
  - configmaps/status
  verbs:
  - get
  - update
  - patch

So, related to #281 , I tried whether upgrading to controller-runtime to 0.7 will resolve the issue linked. It did not, but I've discovered other findings related to the upgrade.
I made a separate commit for it, but maybe it's probably best to upgrade this in a separate PR, because of the findings that we first should discuss.

So, related to #281 , I tried whether upgrading to controller-runtime to 0.7 will resolve the issue linked. It did not, but I've discovered other findings related to the upgrade.
I made a separate commit for it, but maybe it's probably best to upgrade this in a separate PR, because of the findings that we first should discuss.

Opened discussion here: https://github.com/vshn/k8up/discussions/288

Opened discussion here: https://github.com/vshn/k8up/discussions/288

According to Kubebuilder migration guide, we can also remove this bit from leader_election_role.yaml:

This will become irrelevant when https://github.com/vshn/k8up/pull/289 is merged and when I've rebased, right?

According to Kubebuilder migration guide, we can also remove this bit from leader_election_role.yaml:

This will become irrelevant when https://github.com/vshn/k8up/pull/289 is merged and when I've rebased, right?

Rebased onto master

Rebased onto master

I think you can remove my commit about upgrading the controller runtime. This should go into its own PR, e.g. #293 . this was for a test, but I can cherry-pick the commit locally to the other branch.

I think you can remove my commit about upgrading the controller runtime. This should go into its own PR, e.g. #293 . this was for a test, but I can cherry-pick the commit locally to the other branch.


Update an account in the service

User Story:
As a user
I need to update an account in the service
So that I can modify the account details
Acceptance Criteria:
Given an account ID and updated details
When the update request is sent via a PUT request to /accounts/{id}
Then the service updates the account and returns a JSON response with the updated details
And the response status code is 200
And if the account does not exist, the response status code is 404
And if the input data is invalid, the response status code is 400


x-frame-deny  with Angular PWA on iOS after disabling ITP

Library

[x ]<EMAIL_ADDRESS>
Framework
Angular 8
angular/pwa": "^0.802.0"
Description
Using B2C login with an AAD tenant as the identity provider, the newer b2clogin.com based url (instead of *onmicrosoft.com) for the auth response in the iframe results in the x-frame-options deny when acquiring a token (slient) in a PWA on iOS only.  Using Safari directly (not bookmarking) on iOS works fine after turning off ITP, and without making any changes other than bookmarking the PWA, it starts having the x-frame-options deny.  The PWA also works without issue on iOS if the authresp is the *microsoftonline.com based url, its only the bc2login.com based url that causes this issue.
Security
no
Regression
It worked in the soon to be deprecated *onmicrosoft.com based auth response.
Configuration
this.userAgent = new Msal.UserAgentApplication(
{
auth: {
clientId: authKeys.audience,
authority: authKeys.authority,
validateAuthority: false,
redirectUri: location.origin, // root app url
postLogoutRedirectUri: location.origin, /// root app url
},
cache: {
cacheLocation: 'sessionStorage'
},
system: {
// This is the number of milliseconds of inactivity in the Iframe before a token renewal
// response from Azure AD is considered timed out. The default value is 6 seconds
loadFrameTimeout: 30000,
logger: new Msal.Logger((level, message) => {
switch (level) {
case Msal.LogLevel.Error:
console.error(message);
break;
case Msal.LogLevel.Warning:
console.warn(message);
break;
case Msal.LogLevel.Info:
case Msal.LogLevel.Verbose:
default:
console.log(message);
break;
}
}, { level: Msal.LogLevel.Verbose })
},
}
);

Expected behavior
response is not blocked
Browsers
PWA on iOS

@jasonnutter @sameerag @DarylThayil

Can you confirm one thing? If you call Acquire Token Silent and get a catch from Xframes Deny, can you try acquire Token Popup and see if this works and if it does, is it because interaction was required?

@dcokely7 To confirm, you receive the X-FRAME-DENY header when using b2clogin.com and your site is used as a PWA? And if you either use the site in normal Mobile Safari with ITP enabled, or use onmicrosoft.com, it works as expected?
If so, I am guessing that when you install and use a site as a PWA on iOS, ITP is turned on (I will find out to confirm). If so, unfortunately, I don't think there is anything we can do in the current version of MSAL, as our library relies on third-party cookies, and ITP disables third-party cookies for domains it thinks are trackers (and I betting that Safari thinks b2clogin.com is a tracker, but *.onmicrosoft.com isn't).
The next version of MSAL (currently in development) will not rely on third-party cookies, which will allow it to be used when ITP is enabled.

@jasonnutter to your first point, Safari on mobile still requires ITP disabled (for both onmicrosoft.com and b2clogin), but everything works fine once thats turned off. PWA works with onmicrosoft.com but not b2clogin.
I agree its almost like the in-app browser (or whatever the PWA is rendered in, since its not a full safari) always has ITP enabled, regardless of what the user selects. At least on full Safari you can turn off ITP and the flow works fine.
Is there any way to enable the onmicrosoft.com url for new b2c tenants, given the deprecated url works in all scenarios?

@dcokely7

Is there any way to enable the onmicrosoft.com url for new b2c tenants, given the deprecated url works in all scenarios?

Doesn't look like it, unfortunately: https://azure.microsoft.com/en-us/updates/b2c-deprecate-msol/

I agree its almost like the in-app browser (or whatever the PWA is rendered in, since its not a full safari) always has ITP enabled, regardless of what the user selects.

I confirmed with a Webkit engineer that this is the case. See this blog for more details:
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/

Closing, as no further action at this time.


‘Some settings are managed by your organization’ Message Appearing in Taskbar Settings

Issue: "Some settings are managed by your organization" message after using the script
Describe the bug
After running the Win11Debloat script, the message "Some settings are managed by your organization" appears in the Taskbar settings of Windows 11.
To Reproduce
Steps to reproduce the behaviour:

Run the Win11Debloat script using the Quick method with default settings.
Navigate to Settings -> Personalization -> Taskbar.
Observe the message "Some settings are managed by your organization" at the top of the page.

Expected behavior
The settings should not show the "Some settings are managed by your organization" message if no policies are applied that restrict the user's ability to manage these settings.
Screenshots

Possible Solution
It seems like some registry changes or policies applied by the script might be causing this message. A review of the changes made to the registry and group policies could help identify the cause.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000
just remove this key

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

you can use this key to disable widgets without using a policy [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarDa"=dword:00000000
however some things you will get that msg no matter what since theres no other way without using a policy

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] "AllowNewsAndInterests"=dword:00000000 just remove this key

Thank you, the solution worked! However, I'm unsure if I should keep the issue open or if this behaviour is expected from the script.

you can use this key to disable widgets without using a policy [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "TaskbarDa"=dword:00000000 however some things you will get that msg no matter what since theres no other way without using a policy

This key will disable the widgets button, but if I recall correctly it won't disable the widgets service from running in the background. That's because widgets panel can also be accessed from a shortcut (WIndows + W).
The current implementation in the script uses the policy key to disable the widgets service entirely, but this does mean the widget setting becomes inaccessible. I'll look into alternatives later today once I have access to a W11 pc, but like @zoicware said some things can only be done using policies.

https://rentry.co/debloatguide

I haven't been able to find a way to disable the Widgets service without resorting to a policy. I'll keep my eye on it. If anybody does find a way to achieve this without a machine policy, please let me know.
But for now I'll close this issue.

I know you think that giving people low-quality debloat scripts is helpful, but it's not.

I know you think that giving people low-quality debloat scripts is helpful, but it's not.

I'll bite.
You just replied with a link and nothing else. It was not adding anything to the discussion. So i removed it. I thought it might've been accidental as you commented elsewhere with the same link.
I do find it ironic that link tells you not to run scripts while at the same time linking to scripts to get certain stuff done.
Anyhow. Nobody is forcing you to use this script. I understand why some people are against them. I've been bitten by other debloating scripts in the past, which is why I made my own and opensourced it for others to enjoy if they so please.

I know you think that giving people low-quality debloat scripts is helpful, but it's not. Deleting my comments only proves my point that you have no regard for the safety of peoples' systems. https://rentry.co/debloatguide Don't use shitty debloat scripts and then come crying when your system breaks.
🤔

@zoicware that's like, one single security vendor out of 91. it's a notes site where people write guides.


truncated window on startup in i3wm on ubuntu

VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:12:01.887Z)
OS Version: Linux x64 4.4.0-83-generic (Ubuntu 16.04 with i3wm window manager)
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.2.11

python
don
0.6.7

vscode-babel-coloring
dza
0.0.4

tslint
eg2
0.16.0

Go
luk
0.6.62

cpptools
ms-
0.12.0

Ruby
reb
0.12.1

vim
vsc
0.9.0

Steps to Reproduce:

Open project in i3wm environment on ubuntu
Got a some window:

Reproduces without extensions: Yes

I think it's related to the specific window manager (i3wm) and sometimes it appears in other programs but basically, i3wm works fine with all kind of windows appeared in the system. I don't know what problem is, may be window size should be set up explicitly or something else.
By any way I don't even know what this window about and what to do. This window appears on every vscode start up and disappeared after entering pressing but appears again after new start-up

@abonec When you see the window could you open devtools (Help > Toggle Developer Tools) and try to inspect the element?


Construct ResourceAsset and BundleAsset by hand

Is there any reason for fields of these wrappers being pub(crate)?
If there is, perhaps ResourceAsset::new(...) and BundleAsset::new(...) could still be added?

skill issue as always

Is there any reason for fields of these wrappers being pub(crate)? If there is, perhaps ResourceAsset::new(...) and BundleAsset::new(...) could still be added?

They're marked pub(crate) because it's not obvious to me when the end user of the library might need them. What's your use case that public modifiers were needed? Of course it is possible to add public constructors.

I have a custom asset loading system which is independent of AssetServer. But the only possible way to construct ResourceAsset and BundleAsset is implemented in this function:
https://github.com/kgv/bevy_fluent/blob/64f90c7c84d357c7a4781e778b1533690a7f8378/src/assets/bundle.rs#L21
which uses LoadContext and also is private


Very outdated SystemJS support

Our SystemJS support is about 2 years outdated. Latest SystemJS version is 6, with tons of breaking changes. Our support can work on 0.21.x and below.
The latest SystemJS 6 has no API System.registry which we use. It's kind of a private API anyway, never publicly documented by SystemJS.
Do we want to deprecate SystemJS support?
I mean not removing it from here, but remove SystemJS from the official skeleton https://github.com/aurelia/v1. Our skeleton still uses outdated SystemJS v0.21, I don't think user would pick it for new projects.
This would not affect existing users apps with cli-bundler+systemjs.

To be clear, aurelia-loader-default doesn't work on latest SystemJS.

The team decided to remove systemjs from Aurelia 1 skeleton. Existing apps will continue to work.


Ubuntu ppc64le libc not resolved

The linker implementation does not take into account the rules in /etc/ld.so.conf and fails to resolve the libc file on Ubuntu ppc64le.

Parser not implemented in favour of the generation of a cache using ldconfig


How change the map style?

Google Maps API allow us to change the style of the map adding a style json. Can I personalize the map style, adding this json as input parameter to the gmplot.GoogleMapPlotter function?
Example:
From this:

To this:

interested in this as well

@fabiana001 and @AveryData, this was just merged in #148. You can now customize your maps using the map_styles option:
map_styles = [
    {
        'featureType': 'all',
        'stylers': [
            {'saturation': -80},
            {'lightness': 60},
        ]
    }
]

apikey='' # (you'll need a valid API key to customize map styles)
gmap = gmplot.GoogleMapPlotter(37.76, -122.43, 13, apikey=apikey, map_styles=map_styles)


How can I get an API reference

Hello Mr. Petr Baudis
I am trying to use your project: blanqa in GitHub.

And I trace the pom.xml file, I find you use a javelin.jar.

I have found how to get the jar file,

but I can't find the javelin API document from google.

Could you tell me how can I get the API Reference for javelin.jar.

Thank you for your help.

Best Regards

Tzu-Ping

Hi, javelin is used only for something completely trivial, and I suggest
you get in touch with people at CMU if you are interested more in it.
Also please note that blanqa is an unmaintained project that was just
a short experiment.  For a serious QA system we are continuously
developing and improving, see yodaqa.


Make esx keepalive threads be daemons

We were seeing brkt-cli timeouts after a successful encryption.
Logs were indicating that keepalive-upload thread was preventing exit:
Thread name: MainThread Daemon: 0 IsAlive 1
Thread name: keepalive-upload Daemon: 0 IsAlive 1
Testing: Ran esx encryption successfully

LGTM


Extend subpages for Communities and Resources linked from the main CommuneRS page

I think of adding some short paragraph in the beginning of the mentioned subpages which are currently empty. For Communities, I believe, @alessandrofelder mentioned some slack spaces which can provide channels for building communication between community leader (please correct me, if I'm wrong). For Resources, can anyone maybe drop weblinks here in the comments; I can think of the following:

https://www.cscce.org/
https://society-rse.org/community/
https://the-turing-way.netlify.app/community-handbook/community-handbook

List of communities within Society of RSE:
https://society-rse.org/community/

This is a place for leaders of different communities to find each other, support each other and collaborate with each other.

Development branch: resources-csv


fix: GitHub edit link for content in app.config.ts

The current config base link points to https://github.com/nuxt-hub/core/edit/main/content, but the correct base link is https://github.com/nuxt-hub/core/edit/main/docs/content

Thank you!


Vue Apollo and Jest

I'm facing an issue with vue apollo imports and Jest. Does anyone already pass through this issue?

I saw the Vue Apollo testing guide but does not have an explanation for this kind of imports.

Solved with jest-transform-graphql.


Marketplace format has changed again. Now query extension without HTML scraping

Hi, it seems the Microsoft Marketplace format has changed again. Rather than being included in the HTML page, the data that Serin wizard looks up is now delivered via XHR 'extension query'.
Also, the format of the data seems to have changed. I have reworked the destructuring into what I believe is equivalent.

Please let me know which branch I should target for PR if not master.

Thank you very much, fabulous work!

You're welcome :)
I see you have already published this to npm, serin 3.5.0
I upgraded from npm and confirm that this now scaffolds as intended.


Add JS support

Please add javascript output format, it is for my v8 engine memory corruption bug poc's & 0-days.
We can keep this issue open until we feel this is all we need.

@iilegacyyii @iilegacyyii @iilegacyyii It has been exactly one year since I kindly requested this to be added. I have been very patient. Please add this feature.
I must inform you that I have some friends in high places (my roommate has met John Hammond). You do not want to get on my bad side.
Yours, in truth,
jazzzooo
ps. We can keep this issue open until we feel this is all we need.

Dear @jazzzooo
First of all, I would like to mention that I do appreciate your patience, however I am far too busy with literally anything else.
Also, I am in a higher place (i spoke to john hammond on discord at least once) and so am not scared of your roommate
Yours, in lies
jord
ps. I respect your decision to keep this open until we feel this is all we need


Add types for WebGPU

Add IntelliSense support for WebGPU types:

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

I tried adding those before, fingers crossed you get it to work.
We'll then need to remove these I think
https://github.com/playcanvas/engine/blob/f1770e4979f326158d66fb948c3e290116d19291/package.json#L37-L57

@mvaligursky Seems to work. Can you maybe verify for yourself using this branch?


implement project notifications

Jira: https://issues.redhat.com/browse/AAP-8241
Before:

After:

SN: this also had some added fixes that was suppose to go into #1615

This empty state needs to be updated to reflect Notifications and Job Templates:

@akus062381 Nice catch. I updated this PR with the dynamic text should apply to all the other notification resources. Once this is merged I will add this into PR #1637 so that will work over there as well :smile:


Fix formatting for code blocks with line numbers

Before:

After:

Signed-off-by: Daniel Lim Wee Soong<EMAIL_ADDRESS>

Awesome!

@daniellimws - Your my hero! Small documentation fixes like this make things so much better!


Bump package version

Changes:

Bump package version (forgot to do this in previous PR)

@jduthon seems I can merge without an approval. I'll merge this now to unblock you since this is just a fix to publish an intended new version publish.

@mangs thank you!
And sorry for missing the version update, I had thought it was part of the actions workflow 🙈

all good, i forget too


Improve events

Currently the event emitter doesn't fire listeners in the order they were added. Could potentially just swap to node's event emitter.

This is partially complete now. I'm not totally satisfied with the API, as I believe it should allow for adding the same handler multiple times. An example of why this is important is if a helper function is called which returns a closure, even though that function is different, it's key value will be the same if the helper function is called multiple times. This is a very common scenario and it is currently totally broken.
I'll have to think about how this is best resolved. The ultimate solution may be to forego using keys.

This is pretty much fixed in current master. May warrant some additional effort for 1.0, but for now it's good enough.


task - update installation and support in README

Have added only the link for now. Pls let me know if need to add more details for this section.

Same thing needs to be done on the main Ortelius repo README.


(#1014) Removed Transform and TransformAction classes

This PR is for #1014

@fanifieiev That's good, thank you

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 10min)

Job gh:yegor256/takes#1047 is not assigned, can't get performer

Job gh:yegor256/takes#1047 is not assigned, can't get performer


#8980: Test FADNetpp in ttnn

FADNet++ ttnn implementation

I am attaching the perf sheet for ExtractNet,
ops_perf_results_Extractnet_2024_06_11_16_59_23.csv

I am attaching the perf sheet for DispNetC,
Uploading ops_perf_results_dispnetc_2024_06_20_13_51_12.csv…

Whole model implementation is in #9873. We can close this draft PR.


AutoPanner doesn't pan full range

I was trying to extend MonoSynth with a AutoPanner (in order to have one auto-pan per voice with PolySynth). I found that AutoPanner does not sweep from full left to full right.
You can hear the issue clearly here: http://codepen.io/loderunnr/pen/LRbLmr
In contrast, using my own LFO + Panner seems to work perfectly: http://codepen.io/loderunnr/pen/gwLRka

You're right! The panner used to go between 0-1 and I updated it to be more consistent with the native StereoPannerNode. i forgot to update the AutoPanner's LFO.


Prepare built-in AnalysisTemplate for Istio

What would you like to be added:
We can pre-define it because queries for Istio are fixed.
Refer to the following order when templates are specified:

custom template
built-in template

Why is this needed:

/label kind/ada


[New feature] Allow MQTT broker in Domoticz standard

A great functionality would be adding MQTT support in the Domoticz standard. Then direct UDP connections between Domoticz and Dingtian module can be replaced with the MQTT protocol.

Domoticz not integrated MQTT Broker,so need install third party MQTT Broker(mosquitto,ActiveMQ,EMQ X....),maybe the third party MQTT Broker will add some complexity
MQTT is good,we will consider adding it,but it will not be soon
From: sq4bja
Date: 2021-05-01 19:31
To: dtlzp/Domoticz-Dingtian-Relay-Plugin
CC: Subscribed
Subject: [dtlzp/Domoticz-Dingtian-Relay-Plugin] [New feature] Allow MQTT broker in Domoticz standard (#3)
A great functionality would be adding MQTT support in the Domoticz standard. Then direct UDP connections between Domoticz and Dingtian module can be replaced with the MQTT protocol.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Add support for string lists

For example
[ "a", "b", "c" ]` => `a, b and c`
[ "a", "b", "c" ]` => `a, b, and c`  # driven by an option
[ "a", "b", "c" ]` => `a, b et c`  # in french

What about
"a, b, c" => "a, b and c"
"a, b, c" => "a, b, and c"  # driven by an option
"a, b, c" => "a, b et c"  # in french

This is already supported via the external i18n-js library (to be used with v4). We should not add any new features to v3.


Clean containers

Is there any need to run this more than once in a single Dockerfile? Presumably that would just slow things down.
This is probably a good syntax example: https://gist.github.com/orita/9168282 continuation + ";" on the first char of the following line.


Add reproducer for enum converts

https://symfony.com/blog/new-in-symfony-6-2-improved-enum-support#comment-form

This is a reproducer for implement enum convert. Think the most failing CI's had todo with release of Symfony 6.2 yesterday, but not 100% sure.


Feature request: Support for S30

Hi,
Any chance we can get support for the iComfort S30?
Thanks in advance!

This is something I would like to do as I now have an S30 to integrate into my Home Assistant.  I am currently using HomeKit for the integration but there are a lot of details and controls that the HomeKit protocol doesn't implement. The x30 series of iComforts use a different API stack, so I am going to have to learn some new skills since I will be starting from square one.  This is on my radar, I just don't know how soon I can get something working.

Thank you and looking forward to it.

@thevoltagesource, I'm very new to home assistant, but I'm willing to help.  I've been poking around a little bit, and it looks like this repo needs to be updated to also support the S30 API?  I found this old repo that was trying to make an API for the S30 and other similar thermostats (there's a note on this home assistant thread that the original author was told it was acceptable but not officially supported to do this).  I forked the repo and ran the code, and it successfully grabbed information about my home, but it was inordinately slow for some reason I didn't dig into.  So it seems there's a working API already available, though it may need some cleanup.
As I said, I am very new to home assistant (still just setting up things in my home, haven't touched any HA code), but if you can give me some guidance on where to best help out, I have some free time the next couple of weeks that I can dedicate to this.

Hello, any chance the E30 can be integrated as well?

Hello, any chance the E30 can be integrated as well?

@thevoltagesource, I'm very new to home assistant, but I'm willing to help. I've been poking around a little bit, and it looks like this repo needs to be updated to also support the S30 API? I found this old repo that was trying to make an API for the S30 and other similar thermostats (there's a note on this home assistant thread that the original author was told it was acceptable but not officially supported to do this). I forked the repo and ran the code, and it successfully grabbed information about my home, but it was inordinately slow for some reason I didn't dig into. So it seems there's a working API already available, though it may need some cleanup.
As I said, I am very new to home assistant (still just setting up things in my home, haven't touched any HA code), but if you can give me some guidance on where to best help out, I have some free time the next couple of weeks that I can dedicate to this.

Hello, any chance the E30 can be integrated as well?

@thevoltagesource, I'm very new to home assistant, but I'm willing to help. I've been poking around a little bit, and it looks like this repo needs to be updated to also support the S30 API? I found this old repo that was trying to make an API for the S30 and other similar thermostats (there's a note on this home assistant thread that the original author was told it was acceptable but not officially supported to do this). I forked the repo and ran the code, and it successfully grabbed information about my home, but it was inordinately slow for some reason I didn't dig into. So it seems there's a working API already available, though it may need some cleanup.
As I said, I am very new to home assistant (still just setting up things in my home, haven't touched any HA code), but if you can give me some guidance on where to best help out, I have some free time the next couple of weeks that I can dedicate to this.

Hello, any chance the E30 can be integrated as well?

I’d like to do the S30 integration.  Can you point me any information you have on their API stack?  Postman collection?

@thevoltagesource, I'm very new to home assistant, but I'm willing to help. I've been poking around a little bit, and it looks like this repo needs to be updated to also support the S30 API? I found this old repo that was trying to make an API for the S30 and other similar thermostats (there's a note on this home assistant thread that the original author was told it was acceptable but not officially supported to do this). I forked the repo and ran the code, and it successfully grabbed information about my home, but it was inordinately slow for some reason I didn't dig into. So it seems there's a working API already available, though it may need some cleanup.
As I said, I am very new to home assistant (still just setting up things in my home, haven't touched any HA code), but if you can give me some guidance on where to best help out, I have some free time the next couple of weeks that I can dedicate to this.

Hey @matt-gardner -  I went to that old repo - thanks for the link!  I have it working and have prototyped a method to turn the fan on / auto.  If you want integration with HA, I'm able to connect the S30 using Home Kit Controller.  The integration allows for setting the mode (Heat, Cool, Heat-Cool, Off) and the temperature setpoints.  If that's what you need, that could be a good approach.   This "old repo" is going to be very slow because it's loading the actual MyIcomfort web application which is pretty slow on it's own.  It's also really not an API per se; as it's tied directly into the web application and inseperable.  I don't think it'll be practical to merge it into this code base.

Awesome, glad to hear someone is poking at this @PeteRager.  My main interest in this was getting multiple zones working.  I currently have the HomeKit Controller integration, but it only handles one zone, as far as I can tell.

Glad you are looking into it.  That is why we were looking for someone to tap in to the API directly. If you want to just automate using HomeKit then there is a really easy way to get the S30 to talk with Home assistant using the HomeKit controller in HA.

I ran the app on an android phone and proxied the connection thru burpsuite on my laptop to capture the transcript.  I was having problems getting the dev environment routing thru the proxy so I pulled out the phone and it was pretty easy once I imported the proxy certificates.

I’ve made some progress, have a Postman collection that goes through the basic sequence captured by @thevoltagesource to authenticate, get the system list and subscribe to changes.  There are a set of command messages and subscriptions requests, the responses are delivered via an endpoint and/or a web socket.  Hopefully will have this postman collection complete with ability to read all data later this week.


Can you provide insert if not exist and update if exist function?

Yes this is in progress but will take a little while to support all databases

Close this one in favor of #50 which will add a upsert operation


Add a way to run the benchmark code with only one version of Underscore

When testers find a significant difference, it is nice if they can profile the benchmark code, first with the baseline version and then with the comparison version, in order to determine which Underscore functions have slowed down (or sped up) most. For this to produce useful numbers, it is important that the benchmark runs with only one version at a time; otherwise, the profiler is likely to just average the results.

Yes that sounds sensible. Not sure how to port that to the browser, though. Maybe a query parameter?

Oh yeah, the browser makes it a little more tricky. Using a query parameter should work I think.


Merging a few functional containers and docker-compose files.

History Disclaimer
Commit history can be found over at https://github.com/chamunks/lbry-docker-orig merging for this PR was not easily possible from my other repository so rather than spending hours figuring out how to do the one thing I'll only do this one time I'm doing it this janky way instead.  So I'll leave the original repo available and clearly mark it as archived after I push my latest changes to it for history.
This commit includes a shippable and runnable docker-compose.yml and Dockerfile for the following LBRY appliances:

lbrycrd
lbrynet-daemon

Other WIP containers which are included are:

Chainquery
www.spee.ch

Next goals:

reflector.go

Branch schema:
Master = Development and breaking branch.
Production = Stable stuff only that will be deployed to Docker Hub
Feature and PR Branches = Self-explanatory.

Solved in a parallel repository which is soon to replace this one.  https://github.com/lbryio/lbry-docker-rig


[Request] Compatibility with Every Compat

I really like this mod and would love to see it be compatible with Every Compat if possible.
I know this is a fork, so maybe this should be requested on the main mods page, but I use the fabric version som I'm going to put it here. (Thanks for porting!)

Sorry for the late response.
I'm not planning compatibility with other mods now, but you can submit your suggestions in the issues of Every Compat.

Okay, I will do that. Thanks for answering!


fix: Change the add_drive logic, insert it step by step according to the root directory, and abide by foreign key constraint rules when incremental synchronization

Change the add_drive logic, insert it step by step according to the root directory, and abide by foreign key constraint rules when incremental synchronization，

Hi, first of all, thanks for creating this PR! Unfortunately, I won't be merging these changes due to a lack of time and to be frank, I don't remember the project's design decisions. As a bit of an aside, bernard-rs together with a-train were some of my very first projects written in Rust. Three years later, I cannot vouch for the quality of the code any longer and I'd recommend to start fresh if you're looking to incorporate Google Drive changes into your own project.
If this PR was created to improve the efficiency of A-Train and Autoscan, I very much appreciate you! However, both projects have been unmaintained for some time now and we're looking to officially announce the project being unmaintained in the coming weeks. As we believe Autoscan still has an active user base, we won't be passing on the torch to another maintainer due to a lack of trust. This holds true for Autoscan's direct and indirect dependencies as well, including a-train and bernard-rs.
Once again, thanks a lot for the PR and giving back to the open source community. I hope that me closing this PR won't be taken to the heart. I'm simply too busy in life and the Autoscan project is a relic from the start of my programming career.
Cheers,
Storm

Thank you for your thoughtful response. I now understand the entire situation and I agree with your approach. Moving forward, I will take care of maintaining these tools myself. I also appreciate your code. Wishing you a happy life!


Typo in README fixed

It was .attribute, should be attribute

Changes Unknown when pulling 9bde137c7053d7e148daf096093218bb5061cfcd on moonglum:patch-1 into ** on plexus:master**.


Video Controls not loading

Video controls are not loading when loading a 360 video. I am using the code given in the videos example on github (see below). The video loads, but the controls area is returning an error message, "ERROR: Render video load."


[release-1.10] Deflake TestDescribe

This is an automated cherry-pick of #32320

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio_release-1.10
174de84599681cdca5719ef29223f10dc00704fe
link
/test unit-tests_istio_release-1.10

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


fix: ignore URIError in useQueries's defaultParseQueryString

address https://github.com/mjackson/history/issues/312

This is definitely not right. We should handle and surface the error, not attempt to do the parsing ourselves in a finicky and likely incorrect way.


Android support for t265

I already know that there is some work being done at it 5213
I have some questions though :
What is the main reason the tracking camera does not work on Android devices while other d400 devices work fine? Is there any specific thing that needs to be patched or is there some conflicts in the firmware ?
This feature is increasingly more vital for my reasearch so I'm really interested in making it finally work for android devices.

OK, I managed to adapt a sample so that it looks for 0x8087. Result is the same "No device connected".

My camera reports that VendorId is actually 0x03E7. I can connect using this VendorId, but not sure how to open open a stream and start getting pose data

The T265 uses a chip made by Movidius (0x03E7).  When librealsense detects it, it will upload the firmware to the T265 and then the vendor will change to Intel (0x8087).

It seems to be going back and forth depending on what you connect last. I connected camera to my laptop, ran realsense-viewer and camera vendor id changed to Intel. Then I reconnected it to android device and it went back to 0x03E7. Is there anything in android build that makes camera switch vendor id, or this is due to the fact that I build out of development branch?

Correct, @smartynenko. This is by design.  Each time the device is plugged in, the firmware needs to be uploaded to the device.   When this happens the vendorid/productid will change.  The (untested) Android build should detect the 0x03E7 (Movidius) bootloader and upload the firmware.  My understanding is that Android support should mostly be in place after our recent large refactor of the USB subsystem in librealsense, but that it has never been tested.

there is downloadFirmware() task in build.gradle file for camera example which will download firmware files for d4xx and sr3xx cameras, similarly camera app will check if attached device is one of those two series before attempt to update. can librealsense reset t265 to its default version? (I can't see to be able to locate fw update code in the library)

Each backend (mf, rsusb, v4l) has a hook for booting T265.   It looks like the android backend might be missing the hook!

I updated few makefiles to include files from src\tm2 directory, not android fails to upload fw binaries into camera (usbhost.c: usb_device_bulk_transfer -> "bulk_transfer returned error, endpoint: 1, error: Out of memory, number: 12"). Any suggestions about how to fix this?

made some progress with boot sending updated firmware, device started reporting itself as " Intel(R) RealSense(TM) Tracking Camera T265 Vendor Id: 8087 Product Id: b37"
Now I am stuck at getting response from DEV_SET_LOW_POWER_MODE request. Any suggestions about what to check?
2020-03-02 13:21:49.048 31212-31212/com.intel.realsense.multicam D/librs: tm2_info::create 0xa5438dac
2020-03-02 13:21:49.048 31212-31212/com.intel.realsense.multicam D/librs: tm2_info::get_device_data 0xa5438dac
2020-03-02 13:21:49.049 31212-31212/com.intel.realsense.multicam D/librs: Creating a T265 device
2020-03-02 13:22:22.141 31212-31212/com.intel.realsense.multicam D/librs: Successfully opened and claimed interface 0
2020-03-02 13:23:30.953 31212-31212/com.intel.realsense.multicam D/librs: Sending message DEV_SET_LOW_POWER_MODE length 8
2020-03-02 13:26:37.030 31212-31212/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 8
2020-03-02 13:28:37.309 31212-31212/com.intel.realsense.multicam W/librs: bulk_transfer returned error, endpoint: 130, error: No such device, number: 19

Great progress getting the device to boot, @smartynenko.   The LOW_POWER command is the first one that gets sent, so I suspect whatever you're running into is a more general problem.   Nonetheless, you might try commenting out the sending of that command as the device should work without it, IIRC.

that helped. previous error was cased by me trying to send/receive messages separately few secs between each other, once i removed break points most of the messages went through
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: tm2_info::create 0xa5438dac
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: tm2_info::get_device_data 0xa5438dac
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: Creating a T265 device
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: Successfully opened and claimed interface 0
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_SET_LOW_POWER_MODE length 8
2020-03-02 15:37:03.797 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 8
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam D/librs: Received DEV_SET_LOW_POWER_MODE with length 8
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_GET_DEVICE_INFO length 6
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 54
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam D/librs: Received DEV_GET_DEVICE_INFO with length 54
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam I/librs: Serial:<PHONE_NUMBER>76
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam I/librs: Connection type: 2.1
2020-03-02 15:37:03.798 7554-7584/com.intel.realsense.multicam I/librs: Firmware version: <IP_ADDRESS>6
2020-03-02 15:37:03.799 7554-7584/com.intel.realsense.multicam D/librs: Making a sensor 0x976ff810
2020-03-02 15:37:03.799 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_LOG_CONTROL length 8
2020-03-02 15:37:03.799 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 8
2020-03-02 15:37:03.799 7554-7584/com.intel.realsense.multicam D/librs: Received DEV_LOG_CONTROL with length 8
2020-03-02 15:37:03.800 7554-7618/com.intel.realsense.multicam D/librs: Sending message DEV_GET_AND_CLEAR_EVENT_LOG length 6
2020-03-02 15:37:03.800 7554-7618/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 32776
2020-03-02 15:37:03.800 7554-7618/com.intel.realsense.multicam W/librs: bulk_transfer returned error, endpoint: 130, error: Success, number: 0
2020-03-02 15:37:03.800 7554-7618/com.intel.realsense.multicam E/librs: Received 0 but header was 200 bytes (max_response_size was 32776)
2020-03-02 15:37:03.800 7554-7618/com.intel.realsense.multicam I/librs: Got bad response, stopping log_poll
2020-03-02 15:37:03.800 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_GET_TEMPERATURE length 6
2020-03-02 15:37:03.800 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 1024
2020-03-02 15:37:03.802 7554-7584/com.intel.realsense.multicam W/librs: bulk_transfer returned error, endpoint: 130, error: No data available, number: 61
2020-03-02 15:37:03.803 7554-7584/com.intel.realsense.multicam E/librs: Bulk response error RS2_USB_STATUS_OTHER
2020-03-02 15:37:03.803 7554-7619/com.intel.realsense.multicam D/librs: Sending message DEV_GET_TIME length 6
2020-03-02 15:37:03.803 7554-7619/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 16
2020-03-02 15:37:03.803 7554-7619/com.intel.realsense.multicam D/librs: Received DEV_GET_TIME with length 16
2020-03-02 15:37:03.803 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_GET_TEMPERATURE length 6
2020-03-02 15:37:03.803 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 1024
2020-03-02 15:37:03.804 7554-7584/com.intel.realsense.multicam W/librs: bulk_transfer returned error, endpoint: 130, error: No data available, number: 61
2020-03-02 15:37:03.804 7554-7584/com.intel.realsense.multicam E/librs: Bulk response error RS2_USB_STATUS_OTHER
2020-03-02 15:37:03.804 7554-7619/com.intel.realsense.multicam D/librs: Sending message DEV_GET_TIME length 6
2020-03-02 15:37:03.804 7554-7619/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 16
2020-03-02 15:37:03.804 7554-7619/com.intel.realsense.multicam D/librs: Received DEV_GET_TIME with length 16
2020-03-02 15:37:03.804 7554-7584/com.intel.realsense.multicam D/librs: Sending message DEV_GET_SUPPORTED_RAW_STREAMS length 6
2020-03-02 15:37:03.805 7554-7584/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 1024
2020-03-02 15:37:03.805 7554-7584/com.intel.realsense.multicam W/librs: bulk_transfer returned error, endpoint: 130, error: No data available, number: 61
2020-03-02 15:37:03.805 7554-7584/com.intel.realsense.multicam E/librs: Bulk response error RS2_USB_STATUS_OTHER
I am trying to adapt multicam example to get pose date by changing enableStream call
//config.enableStream(StreamType.DEPTH, 640, 480);
config.enableStream(StreamType.POSE, StreamFormat.POSE);
Pipeline pipe = mPipelines.get(i);
// try statement needed here to release resources allocated by the Pipeline:start() method
try (PipelineProfile pp = pipe.start(config)) {}
code compiles and starts successfully, but then files to star a pipe with new config
I am missing anything else? thanks

I assume you're starting with this function:
    private void configAndStart() throws Exception {
        for(int i = 0; i < mPipelines.size(); i++) {
            try (Config config = new Config()) {
                config.enableDevice(deviceList.createDevice(i).getInfo(CameraInfo.SERIAL_NUMBER));
                config.enableStream(StreamType.DEPTH, 640, 480);
                mPipelines.get(i).start(config);
            }
        }
    }

I would guess you'd need to do something like this:
    private void configAndStart() throws Exception {
            int i = 0;
            try (Config config = new Config()) {
                config.enableStream(StreamType.DEPTH, 640, 480);
                mPipelines.get(i).start(config);
            }
            i=1;
            try (Config config = new Config()) {
                config.enableStream(StreamType.POSE);
                mPipelines.get(i).start(config);
            }
    }

I don't see why DEV_GET_SUPPORTED_RAW_STREAMS wouldn't return successfully.

It fails in a different way. Should camera still work if w/o making call to enableDevice ?
2020-03-02 16:38:35.857 14372-14372/com.intel.realsense.multicam D/librs: Sending message DEV_GET_EXTRINSICS length 7
2020-03-02 16:38:35.858 14372-14372/com.intel.realsense.multicam D/librs: Receiving message with max_response_size 57
2020-03-02 16:38:35.858 14372-14372/com.intel.realsense.multicam D/librs: Received DEV_GET_EXTRINSICS with length 57
2020-03-02 16:38:35.859 14372-14372/com.intel.realsense.multicam D/librs: Stopping sensor
2020-03-02 16:38:35.900 14372-14372/com.intel.realsense.multicam D/librs: Destroying T265 device
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam D/librs: Iterate available devices - config can not be resolved. Couldn't resolve requests
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam I/librs: tm_boot: received list with 1 device(s)
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam I/librs: Found device, vid=32903
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam I/librs: Picked 1/1 devices
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam D/librs: tm2_info created for 0xa5437b3c
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam D/librs: tm2_info::get_device_data 0xa5437b3c
2020-03-02 16:38:35.902 14372-14372/com.intel.realsense.multicam D/librs: tm2_info destroyed for 0xa5437b3c
2020-03-02 16:38:40.903 14372-14372/com.intel.realsense.multicam D/librs: tm2_info destroyed for 0xa5437aec
2020-03-02 16:38:40.905 14372-14372/com.intel.realsense.multicam E/[SM]LibrsMulticamExampl: configAndStart, depth pipeline start error: No device connected
2020-03-02 16:38:40.905 14372-14372/com.intel.realsense.multicam E/[SM]LibrsMulticamExampl: configAndStart, pose pipeline start error: Index: 1, Size: 1
2020-03-02 16:38:40.906 14372-14372/com.intel.realsense.multicam D/[SM]LibrsMulticamExampl: start: streaming started successfully
2020-03-02 16:38:40.947 14372-14447/com.intel.realsense.multicam D/OpenGLRenderer: HWUI GL Pipeline
2020-03-02 16:38:40.964 14372-14372/com.intel.realsense.multicam I/librs Enumerator: onReceive: USB_CONTROL_PERMISSION
2020-03-02 16:38:40.966 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x8086
2020-03-02 16:38:40.968 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 16:38:40.971 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: Unexpected USB Device, VID: 0x8087, PID: 0x0b37
2020-03-02 16:38:40.973 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: failed to locate USB device, VID: 0x8086, PID: 0x0000
2020-03-02 16:38:40.975 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x8087
2020-03-02 16:38:40.978 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 16:38:40.979 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x03e7
2020-03-02 16:38:40.982 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 16:38:40.985 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: Unexpected USB Device, VID: 0x8087, PID: 0x0b37
2020-03-02 16:38:40.987 14372-14372/com.intel.realsense.multicam W/[SM] librs UsbUtilities: getUsbDevices: failed to locate USB device, VID: 0x03e7, PID: 0x2150
2020-03-02 16:38:40.987 14372-14372/com.intel.realsense.multicam D/[SM] librs UsbUtilities: hasUsbPermission
2020-03-02 16:38:40.989 14372-14394/com.intel.realsense.multicam I/librs MessagesHandler: handleMessage: realsense device attached
2020-03-02 16:38:40.989 14372-14394/com.intel.realsense.multicam I/librs Enumerator: notifyOnAttach
2020-03-02 16:38:40.990 14372-14372/com.intel.realsense.multicam W/librs: wait_for_frames cannot be called before start()
2020-03-02 16:38:40.990 14372-14372/com.intel.realsense.multicam E/[SM]LibrsMulticamExampl: streaming, error: wait_for_frames cannot be called before start()
2020-03-02 16:38:40.992 14372-14394/com.intel.realsense.multicam D/librs DeviceWatcher: Enumerating USB devices...
2020-03-02 16:38:40.992 14372-14394/com.intel.realsense.multicam D/librs DeviceWatcher:     USB device[Name: Intel(R) RealSense(TM) Tracking Camera T265 Vendor Id: 8087 Product Id: b37]

I am getting some traction with pose data by adopting native example. So far main glitches are

Unreliable camera detection (most likely caused either by USB, or my hacky approach to make original code work)
Intermittent pipeline failures caused by frame delays. @radfordi do you have any insights into what could cause those?

10x!

I recommend going "native" and using the C++ instead of the Java API, if that's what you mean.

Unreliable camera detection (most likely caused either by USB

This could easily be code, but I'd also check your cable.

Intermittent pipeline failures caused by frame delays.

With respect to frame delays, I'm not sure sure what you mean.  Can you provide more any more details?

correct, I am using c++ instead of Java API to communicate with the camera except for initial bootstrap
Unreliable detection -> it feels like one either needs to wait for some time time or perform additional initialization step before camera can be used
2020-03-02 20:08:15.873 16445-16445/com.example.realsense_native_example I/librs Enumerator: onReceive: android.hardware.usb.action.USB_DEVICE_DETACHED
2020-03-02 20:08:15.874 16445-16466/com.example.realsense_native_example I/librs MessagesHandler: handleMessage: realsense device detached
2020-03-02 20:08:15.874 16445-16466/com.example.realsense_native_example I/librs Enumerator: notifyOnDetach
2020-03-02 20:08:15.874 16445-16445/com.example.realsense_native_example I/librs Enumerator: onReceive: android.hardware.usb.action.USB_DEVICE_ATTACHED
2020-03-02 20:08:15.875 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x8086
2020-03-02 20:08:15.882 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Enumerating USB devices...
2020-03-02 20:08:15.882 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 20:08:15.882 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher:     USB device[Name: Intel(R) RealSense(TM) Tracking Camera T265 Vendor Id: 8087 Product Id: b37]
2020-03-02 20:08:15.882 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Intel Devices: 1, Movidius Devices: 0
2020-03-02 20:08:15.883 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Removing device: /dev/bus/usb/001/002
2020-03-02 20:08:15.883 16445-16466/com.example.realsense_native_example D/librs: RemoveUsbDevice, previous device count: 1
2020-03-02 20:08:15.883 16445-16466/com.example.realsense_native_example D/librs: RemoveUsbDevice, removing device: /dev/bus/usb/001/002, descriptor: 40
2020-03-02 20:08:15.884 16445-16466/com.example.realsense_native_example D/librs: RemoveUsbDevice, current device count: 0
2020-03-02 20:08:15.884 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: Unexpected USB Device, VID: 0x8087, PID: 0x0b37
2020-03-02 20:08:15.884 16445-16466/com.example.realsense_native_example D/UsbDeviceConnectionJNI: close
2020-03-02 20:08:15.885 16445-16466/com.example.realsense_native_example W/librs: tm_boot: received request with empty list of devices
2020-03-02 20:08:15.885 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Device: /dev/bus/usb/001/002 removed successfully
2020-03-02 20:08:15.886 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: failed to locate USB device, VID: 0x8086, PID: 0x0000
2020-03-02 20:08:15.887 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x8087
2020-03-02 20:08:15.890 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Adding device: /dev/bus/usb/001/003
2020-03-02 20:08:15.890 16445-16466/com.example.realsense_native_example D/librs: AddUsbDevice, previous device count: 0
2020-03-02 20:08:15.890 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 20:08:15.890 16445-16466/com.example.realsense_native_example D/librs: AddUsbDevice, adding device: /dev/bus/usb/001/003, descriptor: 40
2020-03-02 20:08:15.890 16445-16466/com.example.realsense_native_example D/librs: AddUsbDevice, create
2020-03-02 20:08:15.891 16445-16466/com.example.realsense_native_example D/librs: AddUsbDevice, notify
2020-03-02 20:08:15.891 16445-16466/com.example.realsense_native_example D/librs: AddUsbDevice, current device count: 1
2020-03-02 20:08:15.891 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getDevices: requesting list of USB devices matching vId=0x03e7
2020-03-02 20:08:15.891 16445-16466/com.example.realsense_native_example I/librs: tm_boot: received list with 1 device(s)
2020-03-02 20:08:15.891 16445-16466/com.example.realsense_native_example I/librs: Found device, vid=32903
2020-03-02 20:08:15.891 16445-16466/com.example.realsense_native_example I/librs: Picked 1/1 devices
2020-03-02 20:08:15.892 16445-16466/com.example.realsense_native_example D/librs: tm2_info created for 0x978c76ec
2020-03-02 20:08:15.892 16445-16466/com.example.realsense_native_example D/librs: tm2_info destroyed for 0x978c76ec
2020-03-02 20:08:15.892 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Device: /dev/bus/usb/001/003 added successfully
2020-03-02 20:08:15.893 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: Enumerating Usb Devices...
2020-03-02 20:08:15.895 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: Unexpected USB Device, VID: 0x8087, PID: 0x0b37
2020-03-02 20:08:15.897 16445-16445/com.example.realsense_native_example W/[SM] librs UsbUtilities: getUsbDevices: failed to locate USB device, VID: 0x03e7, PID: 0x2150
2020-03-02 20:08:15.897 16445-16445/com.example.realsense_native_example D/[SM] librs UsbUtilities: hasUsbPermission
2020-03-02 20:08:15.899 16445-16466/com.example.realsense_native_example I/librs MessagesHandler: handleMessage: realsense device attached
2020-03-02 20:08:15.899 16445-16466/com.example.realsense_native_example I/librs Enumerator: notifyOnAttach
2020-03-02 20:08:15.902 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Enumerating USB devices...
2020-03-02 20:08:15.902 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher:     USB device[Name: Intel(R) RealSense(TM) Tracking Camera T265 Vendor Id: 8087 Product Id: b37]
2020-03-02 20:08:15.902 16445-16466/com.example.realsense_native_example D/librs DeviceWatcher: Intel Devices: 1, Movidius Devices: 0
2020-03-02 20:08:15.909 16445-16445/com.example.realsense_native_example W/librs: wait_for_frames cannot be called before start()
2020-03-02 20:08:15.910 16445-16445/com.example.realsense_native_example A/libc: /usr/local/google/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating with uncaught exception of type rs2::wrong_api_call_sequence_error: wait_for_frames cannot be called before start()" failed
2020-03-02 20:08:15.911 16445-16445/com.example.realsense_native_example A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16445 (_native_example)
frame delays -> (some times app crashes when delay exceeds certain threshold, I will send longs once I will see it next time)
2020-03-02 20:07:33.843 16106-16153/com.example.realsense_native_example D/librs: CallbackStarted,Pose,196,DispatchedAt,1583197653843.407959
2020-03-02 20:07:33.843 16106-16153/com.example.realsense_native_example D/librs: CallbackStarted,Pose,196,DispatchedAt,1583197653843.628906
2020-03-02 20:07:33.843 16106-16153/com.example.realsense_native_example D/librs: CallbackFinished,Pose,195,DispatchedAt,1.5832e+12
2020-03-02 20:07:33.844 16106-16153/com.example.realsense_native_example D/librs: Frame Callback [Pose#195] overdue. (Duration: 4.00391ms, FPS: 200, Max Duration: 4ms)
2020-03-02 20:07:33.844 16106-16153/com.example.realsense_native_example D/librs: CallbackFinished,Pose,0,DispatchedAt,1.5832e+12

Could you check what could be causing below crash conditions? Streaming would work for a few seconds and then abort for no apparent reason
2020-03-07 00:49:42.150 11760-11888/com.example.realsense_native_example D/librs: Received DEV_GET_TIME with length 16
2020-03-07 00:49:42.150 11760-11888/com.example.realsense_native_example D/librs: T265 time synced, host_ns:<PHONE_NUMBER>817370880
2020-03-07 00:49:42.658 11760-11888/com.example.realsense_native_example D/librs: Sending message DEV_GET_TIME length 6
2020-03-07 00:49:42.659 11760-11888/com.example.realsense_native_example D/librs: Receiving message with max_response_size 16
2020-03-07 00:49:42.659 11760-11888/com.example.realsense_native_example D/librs: Received DEV_GET_TIME with length 16
2020-03-07 00:49:42.659 11760-11888/com.example.realsense_native_example D/librs: T265 time synced, host_ns:<PHONE_NUMBER>817370880
--------- beginning of crash

2020-03-07 00:49:42.799 11760-11760/com.example.realsense_native_example A/libc: /usr/local/google/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating with uncaught exception of type rs2::error: Frame didn't arrive within 15000" failed
2020-03-07 00:49:42.814 11760-11760/com.example.realsense_native_example A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 11760 (_native_example)

Dear @smartynenko, @radfordi, @neilyoung, could you please share an example native project that correctly detects T265 on an Android phone?
I followed your discussions in #4648, #5213, and what I did so far is I built wrappers/android SDK on the development branch using ./gradlew buildRelease. Then I linked the resulting .aar and .so libraries librealsense-2.35.0 to the native_example. However, I am getting exactly the same output as when using the pre-built librealsense-2.34.0:

W/librs UsbUtilities: getUsbDevice: failed to locate USB device, VID: 0x8086, PID: 0x0000

This warning comes from wrappers/android/librealsense/.../UsbUtilities.java, where VendorID is hard-coded. However, I thought that files from src/android should be used instead, that employ the rsusb backend. Does it mean that my build is incorrect? Or should I not use native_example but write some communication code from scratch? Or should I tweak the VendorID?
This is my first Android project, so please excuse my naivety.

Sorry, I never was able to make this run, so I abandoned it.

native_example in master repo has funky set up. In particular build.gradle references pre-built arr files, so unless you change it to your local output, you will end up banging your head trying to understand why your changes are not making it to the final app. I would suggest to review my pull request # 6011 to see what needs to be changed (just fyi, I have not done any development since 2.33.1 came out, so it might not compile with latest SDK)

I was able to make the T265 work on android using just Java's api (no jni calls), though the usage is kind of 'primitive' meaning I only use the pose

though the usage is kind of 'primitive' meaning I only use the pose

Out of curiosity: What other use of the T265 do you have in mind?

I meant that I don't address all the available api such as getting the fisheye frame and occupancy map

I was able to make the T265 work on android using just Java's api (no jni calls), though the usage is kind of 'primitive' meaning I only use the pose

Glad to hear it worked for you, hopefully there are more features coming. I had troubles getting 6DF data with java api and switched to jni (btw, one of the Intel guys mentioned that they did not expose full API in Java yet). What version of Android you are on?

I meant that I don't address all the available api such as getting the fisheye frame and occupancy map

Just FYI, video stream is only available on USB 3, which is not supported on lower end models

@smartynenko
I’m not using the java api intel provided, I address the device like any other usb device and do bulk transfers to and from it’s endpoints. I’m not sure about the android version but I don’t think it makes too much of a difference in this case.

@smartynenko

native_example in master repo has funky set up. In particular build.gradle references pre-built arr files, so unless you change it to your local output, you will end up banging your head trying to understand why your changes are not making it to the final app. I would suggest to review my pull request # 6011 to see what needs to be changed (just fyi, I have not done any development since 2.33.1 came out, so it might not compile with latest SDK)

Thanks, I moved .aar and .so files by hand and added .aar to dependencies in build.gradle. I also switched off all downloading from maven in build.gradle and put my .so files into build/jni. So, it is similar to your configuration and I am confident that this part is working correctly.
Looking at your pull request, I see that you adjusted UsbUtitilites.java to recognize Intel and Movidius devices. This is the piece that I was missing.
@vladHoloArch

I was able to make the T265 work on android using just Java's api (no jni calls), though the usage is kind of 'primitive' meaning I only use the pose

This would already be sufficient for my application. Is your code publicly available? I saw a link in one of the threads, but the link was not accessible anymore.
@neilyoung
Thanks for your reply. I am also considering to switch to Raspberry PI if I don't manage to make Android work till the end of the week.

@smartynenko
I managed to compile and run native_app from your branch, but unfortunately I am getting the following error

D/librs DeviceWatcher: Enumerating USB devices...
found USB device[Name: Movidius MA2X5X Vendor Id: 3e7 Product Id: 2150]
I/librs: Found a T265 to boot
W/librs: bulk_transfer returned error, endpoint: 1, error: Out of memory, number: 12

Do you know a solution? Seems that bulk_transfer is sending too much to fit into the memory.

@smartynenko
I managed to compile and run native_app from your branch, but unfortunately I am getting the following error

D/librs DeviceWatcher: Enumerating USB devices...
found USB device[Name: Movidius MA2X5X Vendor Id: 3e7 Product Id: 2150]
I/librs: Found a T265 to boot
W/librs: bulk_transfer returned error, endpoint: 1, error: Out of memory, number: 12

Do you know a solution? Seems that bulk_transfer is sending too much to fit into the memory.

Are you rebuilding librealsense2.so as well? I would suggest to look into usbhost.c and usbhost.h, I added condition to check android version, but it was only tested on the phone I had access to

Yes, I also rebuild librealsense2.so.
Ok, thanks, I will take a look at usbhost.c and usbhost.h.

I was able to make the T265 work on android using just Java's api (no jni calls), though the usage is kind of 'primitive' meaning I only use the pose

@vladHoloArch Do you have this code publicly available? And does that pose include translation and rotation? Also, does it have a way to send Odometry to the camera? Thanks

So this would be possible to use in unity for example as a shared library?

I was able to make the T265 work on android using just Java's api (no jni calls), though the usage is kind of 'primitive' meaning I only use the pose

If you have the opportunity to share the code that does this job, I'm very interested.
And apparently I'm not the only one. Thanks


Service provider/Create providerAdmin

Task https://github.com/ita-social-projects/OoS-Frontend/issues/889

Add register buttons

Add registration form. (next PR will improve the form to form-step design according to the figma)

I think you should add administration link to the menu (for both desktop and mobile verison)

I think here we should have some handler that we have no result. The same as for other components

the problem from server-side:
if I create admin/director with the same data I receive error 400 and cannot identify why the process failed

I have created new tasks regarding your comments:
https://github.com/ita-social-projects/OoS-Frontend/issues/992
https://github.com/ita-social-projects/OoS-Frontend/issues/993
https://github.com/ita-social-projects/OoS-Frontend/issues/994
https://github.com/ita-social-projects/OoS-Frontend/issues/995
https://github.com/ita-social-projects/OoS-Frontend/issues/996
And in current PR:
add administration link to the header menu;
add +380;
change users to administration;
only Ukrainian letters;
rename 'users' component to 'provider-admins'


Allow for draft pages

Pages that would be visible locally but not pushed.
Need to think about how exactly they would be linked to. Maybe best is to just generate pages that don't get linked to as draft-....

this can be done by just having the draft page be a git fork... in which case this really isn't a problem. Maybe put in the fridge for now until there's a clearer use case / scenario. (might be useful if/when other users join)


Error: getaddrinfo ENOTFOUND when trying to connect to WordPress database with correct credentials

I am trying to set up a connection between my WordPress database and my React Web Application. I am getting an error and I don't know how to fix it. Below is my code.
const express = require("express");
const app = express();
const mysql = require('mysql');

const connection = mysql.createConnection({
    host    : 'xxxxxx',
    user    : 'xxxxxx',
    password: 'xxxxxx',
    database: 'xxxxxx',
});

connection.connect((err) => {
    if(err) throw err;
    console.log('Connected to MySQL Server!');
});

app.get("/",(req,res) => {
    connection.query('SELECT * from users LIMIT 1', (err, rows) => {
        if(err) throw err;
        console.log('The data from users table are: \n', rows);
        connection.end();
    });
});

app.listen(3000, () => {
    console.log('Server is running at port 3000');
});

Error display in cmd:
Error: getaddrinfo ENOTFOUND xxxxx
...
...
...
errno: 'ENOTFOUND',
 code: 'ENOTFOUND',
 syscall: 'getaddrinfo',
 hostname: 'xxxxx',
 fatal: true

Hi @ecsmagic16 sorry you are having trouble. Unfortunately the error you are getting is coming from Node.js itself, and not this module. This module is just passing the error up to you for reference.
You can find more about Node.js error codes at https://nodejs.org/dist/latest-v16.x/docs/api/errors.html#errors_common_system_errors

ENOTFOUND (DNS lookup failed): Indicates a DNS failure of either EAI_NODATA or EAI_NONAME. This is not a standard POSIX error.


Request AP > BSKY account deleted

I was doing some testing for if an account can be bridged on day 14 of mastodon account age (turns out no)
both of the following accounts can be deleted. I’ve tried deleting one account and blocking the bridge in the other and they’re both still sticking around so I think they just need to be manually handled unfortunately (sorry!)
https://bsky.app/profile/soggy.cubhub.social.ap.brid.gy
https://bsky.app/profile/siggy.cubhub.social.ap.brid.gy

Done!


prevent caching on brew sync

Issue #, if available:
N/A
Description of changes:

Prevent caching when downloading the github release assets by setting the no-cache header and an arbitrary query string
Sync to homebrew tap AFTER the release assets have been uploaded :)
Fix remote origin to use fork instead of actual repo

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #31 into master will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   90.05%   89.82%   -0.23%
==========================================
  Files           8        8
  Lines         875      875
==========================================
- Hits          788      786       -2
- Misses         57       58       +1
- Partials       30       31       +1

Impacted Files
Coverage Δ

pkg/selector/selector.go
84.36% <0.00%> (-0.95%)
:arrow_down:

Continue to review full report at Codecov.

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


Binary data being truncated

My data field is varbinary(2000) but why is the data being inserted (new) being truncated to around 20 bytes?
var charData CharacterData
db.Where(CharacterData{CharId: charId, Segment: 0}).FirstOrInit(&charData)
charData.Data = data[16:]
db.Save(&charData)

len(data[16:]) is 2000.
 type CharacterData struct {
  CharId    uint32
  Data      []byte
  Segment   uint8
  SegmentId uint16

  CreatedAt time.Time
  UpdatedAt time.Time
  DeletedAt time.Time
 }

Could you post a runnable script here that could reproduce this issue?

I have an open question at stackoverflow about this and it seems like the problem is with golang?


nixVersion.nix_{2_6,2_7,2_8,2_9}: remove

the comment from 2_6 does not apply anymore because the fix has been merged nix#7283
and the fix has been applied to 2_9+
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build packagekit
(This will block the channel. It should build with latest nix with https://github.com/PackageKit/PackageKit/pull/551, but I will probably suggest that we disable the nix backend by default since nobody actually have time to investigate the rw issue :upside_down_face:)

@jtojnar @bobby285271 @roberth @domenkozar i wil merge this in 2 days
Result of nixpkgs-review pr 204481 run on x86_64-linux 1

13 packages built:

cachix
gnome.gnome-packagekit
gnome.gnome-software
gnome.simple-scan
hci
hercules-ci-agent
libsForQt5.discover
libsForQt5.packagekit-qt
packagekit
pantheon.appcenter
pantheon.elementary-onboarding
rnix-lsp
system-config-printer


[iOS] Code-39 issue

When I try to scan a code-39 barcode via iPhone, I usually don't get the full result back.
I can't even focus the camera to the entire barcode because a partial result was already returned.
For example, if I try to scan

and bring my phone from the left or right side, it will return a partial response.
Works well on Android.

I wonder if its not specific to https://developers.google.com/ml-kit
This plugin is based on their iOS/Android implementations.


How to place the search input DIV above the map?

Hello,
is it possible to place the search input above the map, similiar to this mobile map, http://m.wien.gv.at/stadtplan/ (it is also a Leaflet map)?
I tested the Demo with my mobile phone, the search input was difficult to find and it was not in the middle of the map.
Thank you in advance for any help.

I'm aware this is to late for the issue reporter. But for future reference:
To change the position of the search-bar, one can simply override some styles:
.leaflet-control-geosearch form {
  display: block;
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
}

.leaflet-control-geosearch form input {
  width: 100%;
}

.leaflet-control-geosearch .leaflet-bar-part {
  display: none;
}


Visual Model integration

llama-2 w/ vision: https://github.com/haotian-liu/LLaVA https://www.youtube.com/watch?v=RxBSmbdJ1I8
https://minigpt-4.github.io/
https://huggingface.co/spaces/Vision-CAIR/minigpt4

https://github.com/rom1504/img2dataset
https://arxiv.org/abs/2304.10592
https://minigpt-4.github.io/
https://github.com/Vision-CAIR/MiniGPT-4/blob/main/dataset/README_1_STAGE.md
https://github.com/Vision-CAIR/MiniGPT-4
https://www.youtube.com/watch?v=__tftoxpBAw
https://huggingface.co/datasets/Vision-CAIR/cc_sbu_align
https://huggingface.co/Vision-CAIR/MiniGPT-4
https://huggingface.co/spaces/Vision-CAIR/minigpt4
https://github.com/salesforce/LAVIS/tree/main/projects/blip2

https://github.com/turingmotors/heron/tree/main

https://github.com/NExT-GPT/NExT-GPT

https://github.com/voxel51/voxelgpt/tree/main

https://github.com/langchain-ai/langchain/blob/master/cookbook/Semi_structured_multi_modal_RAG_LLaMA2.ipynb

https://github.com/gradio-app/gradio/issues/5055

https://github.com/danny-avila/LibreChat

https://github.com/THUDM/CogVLM

done