Create a GitHub Action

Running command: python3 run.py
Main branch: normal examples from Wiggum paper
Interactive_lasso: gerrymandering examples and normal examples from Wiggum paper

I tried the link, it doesn't work. I guess is some library is out of data. But I can't tell which one is.

Do you see any error message from your end?

What URL are you using?
I just get bad request errors:

I use http://<IP_ADDRESS>:5000.

I guess maybe you need config on some port.

Port is configured fine. If you look, it is getting requests. But the requests look garbled. Is there a directory like /wiggum?

No, I don't think so. The run.py file is under root.

@Shine226 Do you have a way to load or have default data sets?

Which branch are you using now?

I am using the main branch.
But I can create a new port and host a new one for each demo.

If you are using the Main branch, you can load auto2.csv. You will need to config the variables. For example, all continuous variable to dependent/independent and all categorical variables to splitby, then using the pearson correlation type.

Second option for datasets in Main branch is iris_test folder, then you can use the select files button to upload the folder. In this case, no need to annotate variables.

I will suggest to use 'interactive_lasso' branch, then you will find data folders. Just load the folders, no need to annotate variables.

Remember, this is on the server. The person who opens the website would need to upload their own file. Is there a way they could get it? Maybe a selection page on the site.

Do you have a new link working now?

No same link as above. I haven't made any changes yet. Let me know if you want me to check out the latest and restart the code or if you uploaded a dataset.

I tried this link (http://<IP_ADDRESS>:5000), the browser shows 'Safari can't connect to server'.

(I disconnected it)


train_rnn.py error in make_dataloader(opt)

in create_scp.py by what should I change those files?

If you are using the wsj0 dataset, you will need to change these paths to your own folder similar to this one.

Help please!


WIP: Add WithDockerEndpoint overload with credentials

Please note that this is a work in progress PR to get early feedback.
I'll squash all commits according to the commit message format described in the guidelines as soon as the PR is completed and ready to be merged.

I updated the PR and tried to apply as much of your suggestions as possible.
Right now this would be a breaking change but I'm not sure how you would like to avoid this therefore I thought the easiest way to discuss this would be to push the already broken code and see if we can find a good solution if there is any.
I'm also not that satisfied with the naming of the DockerClientAuthConfig and I thought it me be even better to make a breaking change now and introduce something like a DockerClientConfig that also includes the endpoint URI to be able to extend it in the future.
The cert loading is still under construction because I'd like to actually parse the certificate labels to not introduce kinda 50% solution.
I hope I applied the IOperatingSystem suggestion correct.

Right now this would be a breaking change but I'm not sure how you would like to avoid this therefore I thought the easiest way to discuss this would be to push the already broken code and see if we can find a good solution if there is any.

I'll take a look at it in the next days. I'm pretty sure we will find an implementation that won't be a breaking change.

I'm also not that satisfied with the naming of the DockerClientAuthConfig and I thought it me be even better to make a breaking change now and introduce something like a DockerClientConfig that also includes the endpoint URI to be able to extend it in the future.

I try to add my suggestions on top of your pull request.

The cert loading is still under construction because I'd like to actually parse the certificate labels to not introduce kinda 50% solution.

👍

I did some work yesterday to move the cert loading to PemCertificateCredentials and to move back to Credentials.
To be honest I'm not sure why I'd need another implementation of IDockerClientConfiguration because most of the logic required to support other credentials could be move either to constructors (e.g. one that takes username, password to initialize HTTP basic credentials) or to custom Credentials implementations like the PemCertificateCredentials.
I would now add a base class for PemCertificateCredentials and X509CertificateCredentials that takes (bool tlsVerify, X509Certificate2 caCert) to handle the certificate validation at the base class and then all the magic for handling different cert mechanisms goes to inherited classes? Or do you prefer a different approach?
BTW: the certs I added are just random generated ones from Docker-in-Docker for testing the cert loading mechanism.

Tests are still missing at this point but I thought it might be good to first check if the design is okay for you before putting too much effort into something that does not fit the overall architecture.
I actually ditched the whole x509 NuGet package and implemented the whole thing myself after having a look at the original implementation which isn't flexible enough to allow all different variants that are actually possible - or I completely missed something but I think the current solution fits at least okay-ish into the project, covers all cases and is still flexible enough to be extended later on if necessary.
I won't be able to continue on this before next week and if you haven't had time till then to look into it I'll continue to write some tests anyway to see if I missed something :see_no_evil: hence - no reason to hurry! :blush:
Thanks for all your effort!

Tests are still missing at this point but I thought it might be good to first check if the design is okay for you before putting too much effort into something that does not fit the overall architecture.
I actually ditched the whole x509 NuGet package and implemented the whole thing myself after having a look at the original implementation which isn't flexible enough to allow all different variants that are actually possible - or I completely missed something but I think the current solution fits at least okay-ish into the project, covers all cases and is still flexible enough to be extended later on if necessary.
I won't be able to continue on this before next week and if you haven't had time till then to look into it I'll continue to write some tests anyway to see if I missed something 🙈 hence - no reason to hurry! 😊
Thanks for all your effort!

Sorry – I had a very busy week. I needed some break from coding. I will look at it next week during the holidays.


Update: dependencys

@frank-dspeed if you want to update the generators to use yeoman-test and get the tests passing we can try to get this in.


Master

Docs Build status updates of commit 9b21d79:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

DocsLegal/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update the default condition with Ready|Unknown

Unknwon is a very common condition when a node is unhealthy and NHC
should use it as a default condition in addition to Ready|False
ECOPROJECT-122
Change-Id: I26ef9da8ddb45f2f369878bb96673df91fd4a765
Signed-off-by: Roy Golan<EMAIL_ADDRESS>

/lgtm

/lgtm


Error in asl inspection in test case

Describe the bug
A clear and concise description of what the bug is.
Error in asl inspection in test case
{
'Error code': 'SCHEMA_VALIDATION_FAILED',
Message: '/States/X is invalid. must match exactly one schema in oneOf',
schemaError: { instancePath: '/States/X', schemaPath: '#/oneOf' }
}
To Reproduce
Please provide a complete state machine definition:
{
  "Comment": "https://states-language.net/spec.html#parameters",
  "StartAt": "X",
  "States": {
    "X": {
      "Type": "Task",
      "Resource": "arn:aws:swf:us-east-1:123456789012:task:X",
      "Parameters": {
        "flagged": true,
        "parts": {
          "first.$": "$.vals[0]",
          "last3.$": "$.vals[3:]"
        }
      },
      "End": true
    }
  }
}

Expected behavior
A clear and concise description of what you expected to happen.
Version:
3.0.8
Additional context
Add any other context about the problem here.

@fhyoga
I just pushed a branch with your example as a test and it passes without any errors.
https://github.com/ChristopheBougere/asl-validator/tree/issue114
Can you confirm that you are using the latest version?

Closing as it seems to work. @fhyoga feel free to reopen if you have more details.


Undefined SOVERSION

Hi, when building pistache as a shared library, I get a "libpistache.so.SOVERSION". In src/CMakeLists.cmake the SOVERSION variable takes the value of GENERIC_LIB_SOVERSION which is not defined anywhere.
Could it be that the idea is to define this values in PistacheTargets.cmake? But I couldn't find how this file is generated.
Which would be the correct approach of defining the library version?
Thanks

I've solved this by modifying the src/CMakeLists.txt file. Specifically, I added the following
add_library(pistache SHARED ${SOURCE_FILES})
set_target_properties(pistache PROPERTIES
    NO_SONAME ON
    )

Another option is to set the VERSION attribute in the project command, in the root CMakeLists.txt:
project (pistache
    DESCRIPTION "A high-performance REST Toolkit written in C++"
    VERSION 0.0.1
    )


Ability to add custom actions to grid

Action defined as new column. Few types of actions in base version:

Redirect to other action
Redirect to any URL
Open custom dialog

Splited into three separate tasks.


feat: parametrize system prompt

This PR parametrizes the system prompt so that users of SDG can pass their own system prompt in to the SDG process
fixes: #336

This can wait until https://github.com/instructlab/sdg/pull/284 is in

I think we have a chicken and egg problem here - CI is likely failing because the CLI version being used for the medium and large jobs doesn't know to pass the sys prompt in as a parameter
but the CLI PR to do this will also not pass until this PR is merged into SDG and a new release is cut
cc @nathan-weinberg

In a way this is a good thing, as it forces us to think about backwards compatibility of our SDG library API. For example, instead of making the new system prompt required, we could make it optional and default to the current system prompt if not passed. That would have no issue passing the current CI, and then once this gets merged and a new SDG release cut we could bump the min SDG version in the CLI repo and change it to pass in the optional system prompt parameter.

ah yeah, makes sense. I should've thought of that haha
thanks @bbrowning !

@aakankshaduggal @bbrowning
I'm going to update this PR to include the student_model_arch as a param that can be used to determine the correct pretraining data format for further work

@aakankshaduggal @bbrowning I'm going to update this PR to include the student_model_arch as a param that can be used to determine the correct pretraining data format for further work

Sounds good, thanks @jaideepr97 that would be amazing!

on second thought, it made more sense to have a separate PR for it
so I took a stab at it here: https://github.com/instructlab/sdg/pull/341


[MAS4.2.1][Screen reader-End point] For every text field NVDA is narrating as blank

Actual Result:
For every text field NVDA is narrating as blank which is redundant information
Expected Result:
NVDA should not narrate the redundant information i.e Blank
Note: Same issue exits throughout the application
Repro Steps:
Turn on the nvda

Open the Bot Framework V4 Emulator.
Navigate to the button explorer and select it
Navigate to the End point symbol (+) and select it
Dialog gest opened
Navigate to the Dialog controls
Observe the issue

User Impact:
Users who rely on screen reader will be affected to navigate the controls if screen reader is reading the redundant information then screen reader users will mis guide info.
Test Environment:
OS Build: Version 1903(OS Build 18362.239)
Screen reader :NVDA
Application: Bot Framework V4 Emulator
MAS Reference Link:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a12f3779-bdf1-40c2-bbcc-0e314ea94858}
MAS4.2.1_End Point.zip

@Kumar2608 @awalia13
It is not clear to me how we would get around this, because this is how NVDA narrates any <input /> tag natively on the web.
For example, try this minimalist sample with just an <input> and <label> and see that it reads:

"Name edit, blank"

Marking as "by design" because <input> tags are narrated this way natively in HTML / on the web.


Memory hungry

Getting lots of:
2017-01-21T05:40:51.052793+00:00 heroku[web.1]: Process running mem=765M(134.9%)
2017-01-21T05:40:51.052964+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)

This is probably because we are holding on to all of the jobs, even though we are caching the intermediaries. Time to remove the jobs, and figure out a fast way of determining if the cache is ready.

Looks like I was flooding the memory by filling the number of ProcessPoolExecutors. Dropping that, and the multiple tornado processes has worked a treat.


"Cârciumărești" is listed in the drop-down menu

Description:
"Cârciumărești" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Cârciumărești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Cârciumărești, Argeș (Leordeni)".


kitty: 0.25.0 -> 0.25.1

Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux (via Docker)
[ ] x86_64-darwin
[x] aarch64-darwin

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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

[x] Fits CONTRIBUTING.md.

By patching fontconfig.c, I am able to get this to build with Nix in a Docker container. I am not sure if this is the best way of making this work.
I know nothing about Docker, and very little about Kitty, so I don't know if I can easily test whether https://github.com/kovidgoyal/kitty/blob/cc4f1c0a249f56a837680ccc2c1a43d69ba9925e/kitty/desktop.c#L40 and https://github.com/kovidgoyal/kitty/blob/cc4f1c0a249f56a837680ccc2c1a43d69ba9925e/kitty/desktop.c#L116 need to also be patched.

It's working for me,
  home.packages = with pkgs; [
    (let src = fetchgit {
      url = "https://github.com/leungbk/nixpkgs";
      sparseCheckout = ''
        pkgs/applications/terminal-emulators/kitty
      '';
      rev = "f3c611217c8973317b671c95274bcb5e86de0527";
      sha256 = "sha256-6a3FntHp8VNTe4ZJEZoOM0chHd40jUA7gjEafZimD1s=";
    };
    in callPackage "${src}/pkgs/applications/terminal-emulators/kitty" {
      inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;
    })
  ];

I'm using the aarch64-linux VM on mac m1
Not sure why did I have to add darwin.apple_sdk though.

It's working for me,
  home.packages = with pkgs; [
    (let src = fetchgit {
      url = "https://github.com/leungbk/nixpkgs";
      sparseCheckout = ''
        pkgs/applications/terminal-emulators/kitty
      '';
      rev = "f3c611217c8973317b671c95274bcb5e86de0527";
      sha256 = "sha256-6a3FntHp8VNTe4ZJEZoOM0chHd40jUA7gjEafZimD1s=";
    };
    in callPackage "${src}/pkgs/applications/terminal-emulators/kitty" {
      inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;
    })
  ];

I'm using the aarch64-linux VM on mac m1
Not sure why did I have to add darwin.apple_sdk though.

@sandangel see https://nixos.org/guides/nix-pills/callpackage-design-pattern.html. You're calling the kitty/default.nix with arguments set by default to their corresponding values in all-packages.nix. Your darwin overrides are needed because although kitty/default.nix takes Cocoa, CoreGraphics, etc. arguments, those arguments are not defined at the top level all-packages.nix; however, there is a darwin value in that package set that has the right shape (apple_sdk attr, inside of which lies a frameworks attr, etc...)
The reason you don't ordinarily need to think about this in your config files is that you're typically installing pkgs.kitty as it is defined in all-packages.nix, where the overrides are already specified, whereas in your example you're  defining your own derivation.

oh nice, thanks for helping me understand that. 😃


[Desktop] forwarding breaks chat list access and renders app unusable when pressing back

forwarding breaks chat list access and renders app unusable when pressing back

This appears to be fixed in rewrite


Support HTML Content in Custom Tab

Summary
As technology provider I want to embed HTML content in the custom tab, which is shown for my service in the Marketplace Portal.
Details
The Shell API expects the status script to return a JSON object. However passing non-escaped HTML content breaks the format and leads to errors when parsing the output. Provide the embedded content data with Base64 encoding on demand. Ensure compatibility with a respective switch coded at the beginning of the payload data.
Acceptance criteria

[X] HTML content is rendered as desired
[X] Compatibility preserved (unchanged status display for existing services)
[X] Unit tests for HTML and plain cases

Additional context
N/A

Hi @uhu133,
the feature is there. Just pull it from DockerHub
docker pull servicecatalog/oscm-app:latest

and restart the oscm-app container
docker-compose -f /docker/docker-compose-oscm.yml restart oscm-app

Have fun!


LICENSE mismatch

There are four different licenses in the repository:

BSD
APACHE 2
GPL 3
Nvidia commercial

Hello!
Thanks for opening this issue, I'll be taking a stab at fixing this, since we shouldn't be BSD anymore.
Though I'll be asking our legal department what license should the nvml.h be as I'm not certain how the relicensing impacts that specific file.
GPL is only in the context of building using the system's libelf which is the case on PPC.

Hi,
I also noticed this in the RPM spec file.
So the spec file for the RPM states "License: BSD" https://github.com/NVIDIA/libnvidia-container/blob/master/pkg/rpm/SPECS/libnvidia-container.spec#L2, while the project is licensed under the apache 2 https://github.com/NVIDIA/libnvidia-container/blob/master/LICENSE, elftoolchain is bsd (https://github.com/elftoolchain/elftoolchain#copyright-and-license)and nvidia modprobe is GPL https://github.com/NVIDIA/nvidia-modprobe/blob/master/COPYING
Which should be the RPM license?
thanks

Is there anything I can do to help resolve this issue?

To make this more complicated, the list from @paroque28 is not exhaustive. A scan via fossa found the following licenses:

GPL-3.0-ONLY (COPYING)
LGPL-3.0-ONLY (COPYING.LESSER)
LGPL-3.0-OR-LATER (src/elftool.[c,h], NOTICE)
BSD-3-CLAUSE (the spec file)
APACHE-2.0 (declared license, LICENSE, mk/docker.mk)

To me it looks like putting LGPL-3.0-ONLY into COPYING.LESSER is an oversight, as it is explicitly noted that it applies when this library is linked against libelf.
Unfortunately I am afraid that this is all that we can do, the rest of the licensing is something that @RenaudWasTaken and NVIDIA must fix.


add a script to install RC522 reader

added a script to install the RC522 reader.
I don't have the reader, so I couldn't test it, but the script is fairly straightforward from the Readme.
@fredg02, maybe you can have a look?

LGTM


Getting error Via: aXe in ePub

I am Getting 3 errors via: Axe in ePub please guide how to solve them.

like the issues states you need to add the missing roles to your  elements
role="doc-toc" and role="doc-pagelist" and when you have more than 1 nav element in the same xhtml file you must uniquely label them.
like

Table of Contents

...

Page List

...
etc.

or

...

...

Here are the list of epub:types and their corresponding DPUB aria roles


What would be the CURRENT equivalent of the old and now largely unsupported Youtube -f22 format?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
It seems like the old -f22 format is been deprecated all across Youtube, it was my favorite for a quality vs. size ratio (720p in pretty much the smallest file size for that resolution), it was super compatible (no vp9 or other codecs which are less supported) and it downloaded without the need to remux streams with ffmpeg afterwards. What would be today's closest equivalent,  even if it has to be remixed? Been looking at what you get on most videos and am unclear of what would be the closest
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

137+140 is the equivalent (except merging is required)

Additional question: Is there any way to say "Use -f136+140 if available, if not available use whatever is best from 720p resolution, if not available use whatever is best available" or something on those lines? Made it my main alias but always fails if it's not available OR when used with other sites which is a bit annoying


Cannot query field "allStripeSku" on type "Query"

I have the same issue but I don't think it's because of the wrong Stripe secret key. I've even hardcoded it and it still doesn't work, I rolled the secret key and tried with the new one and I have the same problem.
Gatsby CLI version: 2.8.11
Gatsby version: 2.17.11
Node version: 10.16.0

I had the same problem.
Fixed it by creating a test product in Stripe (under Orders > Products).
Make sure to fill in a product name and description, etc.
Also make sure to create a .env.development file containing:
GATSBY_STRIPE_PUBLISHABLE_KEY=<your stripe public key>
STRIPE_SECRET_KEY=<your stripe secret key>

Then run gatsby develop again.


Need a technical debt label

As a developer
I need the ability to label a story with a technical debt tag
So that I can better classify stories
Details and Assumptions

Using ZenHub and GitHub issues as the Kanban board

Acceptance Criteria
Given a few stories on the Kanban board
When I want to label a story as technical debt
Then I should have this label popped up in the list of Labels in yellow color

I have added the "technical debt" label.
I believe I have successfully completed this issue, but further reviews would be necessary to ensure that everyone can view, use, and understand it.


Make bash_it and extraterm play nicely together

I use the bash_it (https://github.com/Bash-it/bash-it
) framework for managing bash plugins/themes and it doesn't quite play nice with the setup script for ExtraTerm (https://github.com/sedwards2009/extraterm), mostly because they both define some of the same post/pre functions.
I've been playing with it a little bit, but am still having issues getting them to play 100% nicely together. That being said, I don't think it would be too hard, just might require some small changes to both.
If I figure out a basic working example, I'll post it here, but I'd love some other eyes on it, if anyone feels inspired.

https://github.com/sedwards2009/extraterm/issues/161

Good stuff - I was not aware of ExtraTerm - looks nice! There's another PR that deals with some of the pre/post scripts here (#1304), maybe take a look there?

Great. I will take a look at that PR!
Just to make sure these reports point to each other. This issue is likely very similar to this bug: https://github.com/Bash-it/bash-it/issues/1278


Antialiasing disabled, bilinear filtering enabled

Antialiasing isn't worth the performance tradeoff here - forced bilinear filtering instead of nearest neighbour filtering for a tangible texture improvement. May add an option to bump res to 640x480 at progressive output for crisper image.

Thank you so much for this PR and your recommandations (#18) !
I would say that bilinear/nearest filtering here is a bit of an esthetic preference between crisp-but-blocky and smooth-but-blurry due to the textures size and screen resolution, but you clearly knows the PS2 hardware and practices better than me 👍

I figured since the PS2 hardware has issues with over-sharpening, a little bit of blur wouldn't hurt.


Add flash-attn to requirements.txt

Speedup, especially as context grows.

flash-attn did not install on Windows for me, so worth investigating before integrating if the intent is for this to be nice and lite and user-friendly.
`  Using cached flash_attn-2.3.5.tar.gz (2.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File ".venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File ".venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File ".venv\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "~\AppData\Local\Temp\pip-build-env-f3yoy51w\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "~\AppData\Local\Temp\pip-build-env-f3yoy51w\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "~\AppData\Local\Temp\pip-build-env-f3yoy51w\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "~\AppData\Local\Temp\pip-build-env-f3yoy51w\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 8, in
ModuleNotFoundError: No module named 'packaging'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error`

packaging is a fairly common module, but it looks like an overlooked dependency in the flash-attn package. Either way as long as flash attention is optional I'd really rather not make it a requirement.

I'd agree, nice to have it optional. I do actually have packaging installed, so not really sure. I gave up trying to get flash-attn installed as it was just causing massive headaches.


Changed reporter type

Somehow I run into this bug
https://github.com/karma-runner/karma-coverage/issues/157#issuecomment-1
95081048 temp fixed it by changing the coverage reporter type

This seems like it would be better as a constant or something... many may not want to log all of that to console.

@qdouble I agree could you add that to your codebase?

@0x1ad2 I'm going to close this for now, been very busy and can't focus on making mods to PRs that I don't see as essential. If you come with mods, I'll consider merging.


Get-CimInstance is not recognized as the name of a cmdlet -PowerShell 7 SDK

I'm not able to run the command Get-CimInstance from a net core console application with PowerShell 7 sdk (preview 3). The error I get is

System.Management.Automation.CommandNotFoundException: The term 'Get-CimInstance' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

To reproduce create a net core 3.0 preview 8 console application.  Add nuget Microsoft.PowerShell.SDK and System.Management.Automation.
This is the code running
using (PowerShell powerShell = PowerShell.Create())
{
 powerShell.AddCommand("Get-CimInstance").AddArgument("win32_PnPSignedDriver");
 var drivers = powerShell.Invoke().ToList();
 foreach (var driver in drivers)
 {
   Console.WriteLine(driver.Members["Description"].Value);
 }
}

When adding powershell referenceassemblies for version 5 this runs perfect.
Anyone one what the problem is?

When running PowerShell from the API for v6+ PowerShell can't realistically make any assumptions about where modules may be installed -- PowerShell can now be installed basically anywhere on a computer, so there's no guarantee that the modules are in any specific location.
You'll need to populate the $env:PSModulePath variable before executing most commands. 🙂

Thanks for your answer. I have added the path C:\Program Files\PowerShell\7-preview\Modules to the PSModulePath environment variable. There is however a difference between the paths in this environment variable in windows and the paths when running $env:PSModulePath in powershell. But both of the are having the above path in them. Do I need to somehow load these modules in the code?

You may need to set the variable from the PowerShell session, I'm not entirely sure how that gets populated. @SteveL-MSFT does PowerShell load that variable from the existing environment variables when it starts?

I have read some issues around some problems for powershell core on this variable. However this breaks my thoughts around powershell core. I need powershell core to be supplied with the single exe I am publishing and not be dependant on what version is installed on the OS. After fighting a lot of issues I'm not sure that this will be possible yet?

I'm using Microsoft.PowerShell.SDK but I got some further about the investigation of this. You are more or less right about the PSModulePath but together with this it seems to me that for Powershell 7 and probably 6 you need to create a runspace.
For PowerShell 5 this was not necessary and all you had to do was
 using (var powerShell = PowerShell.Create())
 {
       powerShell.AddScript(<yourscript>).Invoke();
 }

But for PowerShell 7 (and probably 6) you need to create a runspace, At least this works for me.
           using (var runspace = RunspaceFactory.CreateRunspace())
            {
                runspace.Open();

                var proxy = runspace.SessionStateProxy;

                using (var ps = PowerShell.Create())
                {
                    ps.Runspace = runspace;

                    ps.AddCommand("Get-CimInstance").AddArgument("win32_PnPSignedDriver");

                    var drivers = ps.Invoke().ToList();

                    foreach (var driver in drivers)
                    {
                        Console.WriteLine(driver.Members["Description"].Value);
                    }
                }
            }

The next thing is to make sure that the modules path is available in the environment variable PSModulePath. But the values in the PSModulePath in windows and when queried in powershell are different. So it wont help to add the path in Windows->Environment Variables->PSModulePath. You need to do it programmatically.
var psModulePath = proxy.GetVariable("env:PSModulePath");
proxy.SetVariable("env:PSModulePath", $@"{psModulePath};C:\Program Files\PowerShell\7-preview\Modules");

It also seems that the PSModulePath is automatically populated with the path your .exe is running from. If you print out
Console.WriteLine($"PSModulePath environmentvariable:  {proxy.GetVariable("env:PSModulePath")}");

you will see that this contains (

C:\Users\username\Documents\PowerShell\Modules;
C:\Program Files\PowerShell\Modules;
c:\users\username\appdata\local\temp\.net\appname\e2dw1dvd.tkt\Modules;
C:\Windows\system32\WindowsPowerShell\v1.0\Modules

So by adding the Modules folder to your application you can make it self-contained without the need for adding a path to the environment variable. Note that this path for me is a temp path cause I'm running it on a remote computer with psexec.
Probably there is a bug that these variables differ.
My next issue is that the powershell commands does not work on windows 7.

Hi, I am trying to transcribe this query "SELECT DeviceId FROM Win32_PnPSignedDriver WHERE DeviceClass = 'DISPLAY'" to Runspace. I followed the @xGord example and added the parameters. Now I would like to use 'WHERE for DeviceClass', but I can't do it. Can anybody help me?

@lenoln not exactly sure what you are asking, but this works:
Get-CimInstance -Query "SELECT DeviceId FROM Win32_PnPSignedDriver WHERE DeviceClass = 'DISPLAY'"

Verified with PowerShell SDK version 7.1.1 and it seems to work fine.
Project file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net5.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.1.1" />
    <PackageReference Include="Microsoft.WSMan.Management" Version="7.1.1" />
  </ItemGroup>

</Project>

Code:
class Program
{
    static void Main(string[] args)
    {
        var ps = System.Management.Automation.PowerShell.Create();
        var result = ps.AddCommand("Get-CimInstance").AddArgument("Win32_OperatingSystem").Invoke();

        foreach(dynamic r in result)
        {
            Console.WriteLine($"{r.Name}");
        }
    }
}

Output:
❯ dotnet run
Microsoft Windows 10 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3


Support querying for a specific workflow

Discovered in #2, there's no way to identify which check suite related to a specific GitHub Actions workflow. I thought that's what the check_name parameter does, but that's actually the check run, which is an individual GitHub Action (an action block in a workflow).
This'd be really useful for projects that have multiple workflows, but only want to show the status of one of them - think a release workflow and a test workflow, the badge only needs to show the status of the latter.
Two options:

I'll ask around internally to see if there's a way to add the workflow name to the check suite object.
Query for the main.workflow file, parse it to get the workflow we care about and the actions it has, then find the check suite whose list of check runs matches the list of actions. This is... hacky, but might work.

Closing this because GitHub Actions now has official badge support!


Make otel scheduler sync

The fix in https://github.com/grafana/alloy/pull/2027 did not address all the race conditions that could happen with the scheduler. We noticed it when getting rid of our Otel fork brought back the flakiness of a batch processor test.
With this change, the scheduling of otel components is not an async operation anymore. This simplifies the logic and ensures that the components are started before they can start consuming.

The OTel contract states that Start must return quickly, so I suppose sync would be fine. Do we know if the Collector does this async or sync? It'd be best to just do what it does, just to be on the safe side.

It's done sync in the otel collector. The service starts everything sync (https://github.com/open-telemetry/opentelemetry-collector/blob/main/service/service.go#L230) and it's called sync here (https://github.com/open-telemetry/opentelemetry-collector/blob/main/otelcol/collector.go#L228)

Regarding the issue with the batch processor - does it happen because something is wrong on the OTel side, or because https://github.com/grafana/alloy/pull/2027 maybe doesn't work for some edge case?

Piotr and I had a discussion about it here: https://raintank-corp.slack.com/archives/C02GSU8SHBN/p1733846257348439
TLDR is that on Update we will create a new underlying unstarted Otel component. Because we start it async, there is always a window where the lazy consumer is unpaused and the unstarted component might start consuming before being started.

It might be good for @thampiotr to opine here, given that this PR reverts changes in #2027.

It doesn't revert all the changes, it's reusing the approach.


Reduce test code duplication via supabase Client in pytest fixture

What kind of change does this PR introduce?
The test suite has some minor setup duplication at the top of each function. Namely,
url: str = os.environ.get("SUPABASE_TEST_URL")
key: str = os.environ.get("SUPABASE_TEST_KEY")
supabase: Client = create_client(url, key)

This change factors that test setup into a pytest fixture that is created once and shared across the tests that require a supabase.Client.

Hey @olirice ,
Thank you for your contribution! This is helpful and will save us time looking through the duplicated sections of test code. Can we check if there are further changes that you'd like to make? Think we can review and  subsequently merge otherwise

Hi @J0
This was the only immediate change I had on the test suite
There is also #26 (if there is interest in that change) but that belong in a separate PR

Cool, thanks!


[v0.16.2] Trigger bundle staging build

/hold

/unhold
/approve

the commit message says 0.16.1 instead of 0.16.2 right?


"Batch" column in metadata?

To distinguish batches within a project, e.g. nucleic acid extraction batch, library prep batch, sequencing batch

This will be great for IDseq encouraging reproducible science! Batch effects are a major problem but a lot of people don't spend the effort to look at them. This feature (when propagated to the heatmap) will make it totally easy to look at them!


replace deprecated istree with iscall

Checklist

[x] Appropriate tests were added
[x] Any code changes were done in a way that does not break public API
[x] All documentation related to code changes were updated
[x] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[x] Any new documentation only uses public API

Additional context
This replaces all calls to SymbolicUtils deprectated istree with iscall.

Amazing thanks


missing maven central artifacts

Hi, now you 3 versions out without deployment to maven central. Please deploy the latest one to http://central.maven.org/maven2/org/cloudfoundry/identity/
thanks in advance
What version of UAA are you running?
4.12.0/1 , 4.13.0
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew
using a bosh release I downloaded from bosh.io
using cf-release
using cf-deployment
as part of a commercial Cloud Foundry distribution
other (please explain)

What did you do?
Use artifacts from http://central.maven.org/maven2/org/cloudfoundry/identity/
see issue https://github.com/cloudfoundry/uaa/issues/789
What did you expect to see? What goal are you trying to achieve with the UAA?
deployment to http://central.maven.org/maven2/org/cloudfoundry/identity/
What did you see instead?
none

@fhanik  can you please deploy it

@strehle I've notified the team.

@strehle We are currently in the process of creating a pipeline to automate the publishing of our artifacts to nexus.

hi @DennisDenuto I heard about, yes and question, was 4.13.0 release with this pipeline or you @fhanik  ?
Because 4.13.0 contains now empty JARs/wars .
Can you please check and redeploy ? Thanks in advance,

@strehle We are still working on it, but yes 4.13.0 was misconfigured. We will republish again on monday through the pipeline.

@strehle We have created https://wings.pivotal.io/teams/cf-identity-uaa/pipelines/uaa-oms?groups=nexus
We are continuing working on automating our release process. The publishing on nexus currently still requires someone to manually trigger off the job. The goal is to fully automate this in the future.
4.12.0/1 , 4.13.3 have been published. 4.13.0 is currently a 'bad' maven upload, as per Filip's recommendation we decided to create a new patch and upload that to nexus.

thank you, I will adapt your assemblies soon

@strehle Are you able to share how you are using the artifacts uploaded to maven central? I have heard security scans are being run?

@DennisDenuto  we have different scenarios , e.g. one where we build uaa own with your model,server etc jars + HANA DB support (https://www.sap.com/products/hana.html) here we use tokenenhancer
yes we run code scans and vula scans, however sometimes reading CVE shows issue, e.g.
https://pivotal.io/security/cve-2018-1260

since maven deployment works now I close this, thanks


Loosen the commitlint config full stop restrictions

Closes #30

:tada: This PR is included in version @joberstein12/commitlint-config-v1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


💾 Update the installer

Some install issues seem to be due to the fact that the uninstall flow is not as clean as it should be

[x] add proper uninstall flow
[x] double check MS app store paths
[ ] poss check for installed Blender versions before install

closed by #72


Aggregate PR

Aggregate of the following PRs:
https://github.com/wildfly/wildfly/pull/15075
https://github.com/wildfly/wildfly/pull/15054
https://github.com/wildfly/wildfly/pull/15049
https://github.com/wildfly/wildfly/pull/15024
https://github.com/wildfly/wildfly/pull/14887
https://github.com/wildfly/wildfly/pull/14850

All merged.


Add Rock,Paper,Scissor game

I want to add a Rock,Paper,Scissor game

Sorry, someone is already working on this. Do not be demotivated and raise a new issue.


Small improvement on duplicate code

This PR moves get_metrics and get_all_metrics methods to BaseProm to remove duplicate code.
It also removes unnecessary comments.

We can include it into next release


GPUImageOverlayBlendFilter output size problem

I used GPUImageOverlayBlendFilter (subclass of GPUImageTwoInputFilter).
I don't understand why output has different width and height and this varies depending on two inputs I add to this filter.
I need this to overlay a sticker to a video.
Thanks

the same problem, who can give me a solution.


LRFinder smoothing

The LR smoothing in line 336 isn't done right.
running_loss = self.loss_smoothing_beta * loss + (1. - self.loss_smoothing_beta) * loss
The first loss should be self.running_loss_, and self.running_loss_ should be updated right after.

@yaroslavb1 could you please provide code for what you mean here?

smooth the loss value and bias correct
running_loss = self.loss_smoothing_beta * self.running_loss_ + (1. - self.loss_smoothing_beta) * loss
self.running_loss_ = running_loss
running_loss = running_loss / (1. - self.loss_smoothing_beta ** self.current_batch_)


Move loading indicator out of the top bar

There's not much reason for the loading indicator to be in the top bar since it's not a button. It takes up space that will be even more valuable as we move toward mobile support. It also looks blurry on retina screens. I suggest moving it to the bottom bar with the other status items.

Tangentially, can API calls get progress feedback? It'd be cool to show the completed/remaining amounts rather than an indeterminate spinner.

I'm not a big fan of the spinner either 😄

Tangentially, can API calls get progress feedback? It'd be cool to show the completed/remaining amounts rather than an indeterminate spinner.

Possibly, and I think this gets easier if we polyfill Fetch for IE, and use that API on modern browsers that have it.  We don't strictly need to, because the spinner is indicating data tiles that are being loaded from OSM API and there are almost always several of them, so we can right now calculate a rough progress like 2 of 6 loaded.
I also was thinking of just sticking a subtle bar somewhere like this to indicate both that data is loading and it's progress, which a lot of sites seem to do now.

The long bar seems okay! It's less obtrusive and keeps us from having to reserve an icon-sized space somewhere for a spinner. I'd probably put it right above the bottom bar to mirror the "cannot connect to API" bar.


CocoaPods could not find compatible versions for pod "react-native-mock-location-detector"

yarn add react-native-turbo-mock-location-detector
cd ios && pod install

error : CocoaPods could not find compatible versions for pod "react-native-mock-location-detector"
react native version: 0.72.5

Thank you for the report, I was able to reproduce it. Patch will land in a second

i tried change
s.platforms  = { :ios => "13.0" }
to
s.platforms = { :ios => "11.0" }
at /node_module/react-native-turbo-mock-location-detector/react-native-mock-location-detector.podspec
and it's works!

Can you try with:
s.platforms    = { :ios => min_ios_version_supported }

Can you try with:
s.platforms    = { :ios => min_ios_version_supported }

yes it's work, i've updated my pr. thankyou

I'm getting error relative to this,
`
Invalid react-native-mock-location-detector.podspec file: undefined local variable or method  min_ios_version_supported for Pod:Module.
node_modules/react-native-turbo-mock-location-detector/react-native-mock-location-detector.podspec:13

s.platforms    = { :ios => min_ios_version_supported }
s.source       = { :git => "https://github.com/jpudysz/react-native-turbo-mock-location-detector.git", :tag => "#{s.version}" }
`

here is my react native info
System:
OS: macOS 12.7.3
CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
Memory: 101.32 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
Yarn: 1.22.4 - ~/.nvm/versions/node/v18.15.0/bin/yarn
npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 28, 29, 30, 31, 33
Build Tools: 29.0.0, 29.0.1, 29.0.2
System Images: android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.11005911
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.10 => 0.70.10
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found


Android Basics issue:

URL of codelab
In which task and step of the codelab can this issue be found?
Issue can be found in TestRecyclerView part
Describe the problem
Must be a hint to stop the animations first when writing the test for recycler view because test fails each time..
Steps to reproduce?

Go to...
Click on...
See error...

Versions
What version of Android Studio are you using?
Latest one
Additional information
Include screenshots if they would be useful in clarifying the problem.

thank you for your feedback. this content has been deprecated. please visit https://developer.android.com/courses/android-basics-compose/course for the latest recommended best practices in Android development.


Create strict guidelines for characters to be used in new tags as well as labels and descriptions

We need to create a detailed specification of which characters can be used in tags and descriptions. We also need to create guidelines for tags, labels, and descriptions to improve validators ability to validate and more importantly to make tags with values more usable in analysis.

The HED-3G specification now contains:
_"In HED strings, # term placeholders represent user-supplied values. In addition to alphanumeric characters, they may contain +, -, and ^ (addition, subtraction, exponentiation), : (clock times), $ (currency) and periods (decimal points). These values may not contain other punctuation. A limited number of special Unicode characters may be allowed if explicitly specified in the HED schema."
The value parameters in HED spreadsheets can follow these rules.  Can you write some test cases for this.  There should also be a well-defined place in the validator where this is checked so that if it needs to be changed in the future it will be easier to find._
We need a method of specifying this in the specification so that validator can check.

The HED-3G specification now contains:
_"In HED strings, # term placeholders represent user-supplied values. In addition to alphanumeric characters, they may contain +, -, and ^ (addition, subtraction, exponentiation), : (clock times), $ (currency) and periods (decimal points). These values may not contain other punctuation. A limited number of special Unicode characters may be allowed if explicitly specified in the HED schema."
The value parameters in HED spreadsheets can follow these rules.  Can you write some test cases for this.  There should also be a well-defined place in the validator where this is checked so that if it needs to be changed in the future it will be easier to find._
We need a method of specifying this in the specification so that validator can check.

Related to issue #16

Related to issue #16

Also related to issue #73

Also related to issue #73

Is this done? If not, what still needs to be worked on?

After some discussion we have added a nameClass and textClass to the unit classes.  Like posixPath these unit classes have no units associated with them. The idea is to use the allowedCharacter attribute of these unit classes to specify which characters are allowed for things like paths, labels, and descriptions.
Initially, we also had a numericClass for the same purpose but I backed that out because we may need a more extensive typing system later.
We need to decide whether we are going to in some way allow regex to specify which characters in the schema or whether we will list an attribute for each character or whether we will have a string of allowed characters.  (One of the problems is how to specify that a blank is allowed for individual characters.)  Also reference issue #19.
I would appreciate comments. @happy5214 @dungscout96 @IanCa @sappelhoff

I think number parsing and validation itself should be mostly hardcoded and considered an implementation detail, regardless of how it's done internally.(re, casting, etc)
I think we should add something like "numericUnit" to unit classes.
eg wiki formatted:
*acceleration {defaultUnits=m-per-s^2, numericUnit}
**m-per-s^2 {SIUnit, unitSymbol}
*numericClass {numericUnit}
If it has the numericUnit property, it expects a number, in addition to any possible units given.  numericClass would have no units, so it would only expect and validate a number with no units.  This would entirely replace the current isNumeric tag node attribute.
We could still add attributes like min/max or integer only on a unit class, unit class unit, or tag basis, depending on what implementation was desired.

I think values are sufficiently distinct from units that they should have a separate value class element hierarchy. Regexes would be the best way to provide the necessary detail for issues like integer-only values, whether we put them in the schema or hardcode them into the validators. It could also serve as a second layer for the ISO 8601 datetime validation.

In thinking about this --- it would allow some future flexibility.  I am worried about the current design as being too inflexible.
Proposal:

Add valueClass in parallel to unitClass
Move posixPath, textClass, nameClass, numericClass under valueClass

We would not make any significant changes to how the validators handle anything except being able to read the new schema for the first release.  In other words, we would not for the first release change the underlying validation.  The release notes would state that the current release 8.0.0 would not verify details of the what characters are allowed in the specification.  This would allow us to add the validation incrementally.  I am seriously thinking about making this change today as beta.3 and have a corresponding xsd beta.3.  Because we are targeting a July 15 release date, we need to decide very soon.
@IanCa @happy5214 @dungscout96 @sappelhoff comments would be very much appreciated.

Value classes now fill this role. They will continued to be developed going forward.

Done with release 8.0.0.


Undesired popup appears

on WEB UI (Win11 chrome) each time I enter in Library page, the following popup appears, even if no change is entered...
I think it is related to nextcloud setup.

Can't reproduce. Can you look in django-admin, if you somehow managed to save an empty string?

I'm ready to have look into django-admin, but don't understand where!


Is the 88 LOC Version 2D?

Just wondering if this implementation is a 2D or 3D implementation?

It has both 2D and 3D.

Sorry I actually wanted to refer to the 88 LOC version.

That one is 2D :-)

Just out of curiosity, would it need a lot of modification's for 3D or would it be small adjustments? Just trying to figure out if I should give it a try with numpy for a weekend project.

The modification will be very small, but you probably need a good way to visualize the particles

Let me know if you run into any troubles.

Thanks, I would visualize it in Houdini, which ships with numpy.

Hi, sqr(x) here means x*x.

Oh ok, completely missed that it's the square. Thanks a lot.

How does np.linalg.svd align with taichis svd?
The returned sig in svd_u, sig, svd_v = np.linalg.svd(p['F']) is a( 1x1) matrix.
Thanks a lot

Not sure about numpy. In taichi, svd(M, U, sig, V) gives
M=U sig V^T
UU^T=I
VV^T=I
sig=diag(sig)

Ok, that should be the same, and sig is as well the diag, could you verify that the following assumptions are correct, especially in terms of shape?
#Input
F = [[0, 1], [2,3]]
svd(F, svd_u, sig, svd_v)

#Output
svd_u = [[-0.22975292 -0.97324899]
 [-0.97324899  0.22975292]]

sig = [ 3.70245917  0.54018151]

svd_v = [[-0.52573111 -0.85065081]
 [ 0.85065081 -0.52573111]]

Are those the expected shapes of the matrices?

Sig is a diagonal matrix instead of a vector
You seem to be computing F = U^T sig V, instead of F=U sig V^T... see below

import numpy as np
U = np.array([[-0.22975292, -0.97324899], [-0.97324899 , 0.22975292]])
sig = np.array([[3.70245917, 0], [0,  0.54018151]])
V = [[-0.52573111, -0.85065081], [ 0.85065081, -0.52573111]]
print(np.dot(np.dot(np.transpose(U), sig), V))

[[ -1.54186712e-09   9.99999996e-01]
 [  1.99999999e+00   3.00000001e+00]]

Hi Schizo,
There seem to be a few other people trying to implement mls-mpm88 with numpy. Do you mind sharing your numpy code to help them? You can create a github repo and I will link to it.
Thanks,
Yuanming


Update Simpholders to version 2.0

This commit updates the version and sha256 stanzas.

Thank you for the contribution. It was merged directly as ca04d66fb34b86cef733dbb50b8f037068d23c7d to keep commit history cleaner. Your contribution is still credited to you.


Pastel wood blocks

use a placeholder textures for this one please

we have a log
one problem

we have a log
one problem

excuse me did we invent a new type of tree

excuse me did we invent a new type of tree

yea its called "A treee that cant keep its leaves"

yea its called "A treee that cant keep its leaves"


yt link-target should either set the target or remind me to

Behaviour repeatedly observed, including me who should know better:
(local-target-dir )$ yt link-target #target is called my-target in module.json
(my-binary-module)$ yt link-target my-target
(my-binary-module)$ yt target
**Not the target I just linked**

Oh no, something's broken...
...
...
eventually
...
(my-binary-module)$ yt target my-target

And now it all works
Are there good reasons that yt link-target doesn't also set the target? I assume so... therefore:
Could yt link-target please also say
Target linked. You must run:
yt target target-name
...to set the target locally

:thumbsup:

This was fixed by #709


When it will start or you have discontinued the project?

have u discontinued this kiwi project if so do tell us or people wont have faith on open source world. It is a while kiwi hasn't recieved a proper update.
Regards

https://github.com/kiwibrowser/src/issues/94#issuecomment-657156828

❣🔜kiwibrowser/src: Roadmap

Probably need an update 2 the README post 2020 ¯\_(ツ)_/¯

There are a lot of changes / updates in Kiwi Browser getting updated from Chromium upstream so it may not make a separate repository (like src.next) to be needed but will see how it goes there

Development has been resumed and builds are available in releases


Wrong version in sass-resources-loader

We are trying to use sass-resources-loader with Happypack and there is a problem with loader version.
We see this code in happypack/lib/HappyFakeLoaderContext.js
loader.version = 1; // https://webpack.github.io/docs/loaders.html#version
The problem is that sass-resources-loader has this code:
var webpack = this; var isModernWebpack = webpack.version >= 2;
This code is used to get loader options from webpack configuration object(webpack 1) or from options passed to loader (webpack >= 2)
Should the version in HappyFakeLoaderContext.js be the webpack version?

Yeah I guess it should be if webpack has bumped it up.
My only question would be: how can we test that bumping this number would not cause regressions? I'm not aware of the changes between 1 and 2 as it's an internal of webpack's code and there's no time for me to read the source again.
Can you provide a test / repro case?


export commandline options

Add support for the following export commandline options

[ ] “html” - like safe, except includes meta tags
[ ] “json” - TBD

baleen/console/commands/exports.py accepts these for the --scheme flag.  The issue can be closed.


fix: Provide suggestion when project file is missing

fixes #145

Codecov Report

Merging #159 (db728e6) into develop (bf2a42c) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #159      +/-   ##
===========================================
- Coverage    31.63%   31.62%   -0.01%
===========================================
  Files           47       47
  Lines         3774     3775       +1
===========================================
  Hits          1194     1194
- Misses        2464     2465       +1
  Partials       116      116

Flag
Coverage Δ

unittests
31.62% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/project/config.go
0.00% <0.00%> (ø)

pkg/codeconfig/codeconfig.go
8.82% <0.00%> (-0.33%)
: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 bf2a42c...db728e6. Read the comment docs.


Enable status commands

See comments [here] (https://github.com/rudders/homebridge-http/issues/9)
Ignore changing of the name that is just so they could operate side by side.

 Clearly not what we wanted - I'm going to close the PR and merge your changes manually so we can get them in!


Add documentation for output locations

There is a sentence in the README.md telling that the ZIM files should be created in the dist directory. Sounds good to me.


generate operator modifier for convention functions

It should work in the version from NPM, fix will be pushed to master later.


Edit Button Functionality

Click the Edit button, and the pop-up form should come up.
Able to edit the information that was saved in the coffee card.

This function has been realized in the feature/editButtonV2 branch.


Does it support elastic wave anisotropy FWI?

Does it support elastic wave anisotropy FWI?

No, but you are welcome to build the propagatori using DeVito and we will happily include them 😊


Fix for issue#9

Fixing issue#9 by escaping some invalid xml characters which have not been properly escaped before.

Great work! Our users will be thrilled to have this fixed in the next CX release we can provide them!


Associating Events/Tallys to Audio/Video Senders and Receivers

This is not an issue as much as a couple of questions about how to use the events and tallys described in IS-07. In particular, how to associate an event or tally with a specific Audio/Video sender and/or receiver.  I am trying to figure out how to adapt IS-07 to an existing system. There are a couple of issues which I would like some input on.
In our existing system, we have what we call LIOs. They are just binary signals so they are not as rich as what is in IS-07. We have what are called Input LIOs which correspond to something like pushing a button. We also have Output LIOs which correspond to lighting a light or doing some other action. Each LIO has a direction (input or output) and a Function. (e.g. On Tally, Off Tally)
Each audio signal (senders and receivers) can have a number of associated LIOs which can be a mixture of Input and Output LIOs and various functions. When an audio sender and receiver are connected, then the LIOs on the two signals are matched so that an Input LIO with a specific function on one signal is matched to one or more Output LIOs of the same function on the other signal.
As an example, a receiver signal on an audio surface corresponding to a fader might have an Input LIO with a function of On Tally. The fader could be connected to a sender signal like a microphone with an Output LIO with the same function. When the On button on the fader is pressed, the Input LIO is set to On and causes an OnAir light associated with the Output LIO of the sender signal to be turned on. In the opposite direction, a Cough button associated with the microphone would be an Input LIO on the microphone signal and would be matched with an Output LIO on the fader signal and the associated fader would essentially mute the audio from the microphone while the cough button is pressed.
My first question is how to associate the events and tallys in IS-07 with specific Audio senders and receivers. This may not be intended to be covered in IS-07 and if this is the case, where is it covered? A facility could have several faders and several microphones and they would all have LIOs so the need to associate each of these LIOs with specific faders and microphones seems important.
My second question is how to determine who has "control" of an output LIO. In the example used above, the microphone signal sending the audio has an Output LIO for turning on an OnAir sign. If the microphone happens to be connected to several faders on different surfaces, the question becomes which of those surfaces controls the OnAir sign? We have taken the approach that the fader receiver on the surface can be "locked" or "unlocked" and only "locked" signals can have exclusive control of the output LIOs on the microphone. If there are more than one "locked" signals that the microphone is connected to, then the first connected "locked" signal has LIO control. A queue of locked receivers is kept so that as receivers become disconnected or unlocked, then the next receiver in the queue has LIO control. If all connected receivers are unlocked, then no receiver has exclusive LIO control and behavior may be hard to predict. So the question is whether there is any facility in IS-07 or elsewhere for arbitrating which event source an event receiver should listen to?
My apologies if these questions are not appropriate here.
Thanks.

Hello,
Thank you for your detailed use case - if you are an AMWA member I would encourage you to take part in the IS-07 group as we need input on real-life implementations, especially at this stage of development of the specification. If you are not an AMWA member or just not in the IS-07 project and would like to become one, please let me know and I'll try to help...
As far as the associating IS-07 resources with RTP (audio , video, anc) streams, grouping should be used (BCP-002-01). The problem with this is that the grouping as it is is limited to natural groups within a device and I am not sure if that is or is not a problem fin your use case. For example, if you are talking about associating one boolean IS-07 input with an audio input on the same device so that the control system knows that they belong together, than it is a case for BCP-002-01. If you would like to associate them and they are not on the same device, then an extension of the BCP is needed (one was proposed but not accepted in the first version). The BCP-002-01 grouping would in that case not only indicate the two inputs go together, but also what is their role (For example, one role could be AudioIn001 and the other LioIn007). Those groupings are mainly meant to be static, but I think it should be possible to update the grouping tags in the registry and create different groups. Of course, the control system would have to handle what happens when an input/output moves from one group to the other. As a part of the current IS-07 work, we will try to standardize and publish some of the most common IS-07 roles as that is critical for future interoperability between devices.
Regarding the second question - an NMOS receiver (of any type, RTP or IS-07) can listen to only one source so if your device would like to connect to multiple sources it would have to create multiple receivers and manage the priorities internally and the behavior would be implementation specific. I think you would get to a solution what would be analogous to the current case you have described above.
I hope this answers at least some of your questions, I am happy to clarify more either here or on a call if required...
Best regards,
Miroslav

Miroslav, thank you for your prompt response. I am not sure about the AMWA membership but I will look into it.
I looked into the BCP-002-01 and I see what you mean about the limitation with the natural groups. Sometimes, our LIOs are on the same physical device as the associated audio signal, but in general, they do not have to be. So the limitation to natural groups would be a major impediment.
It also seems like there would need to be a way to identify what we call the LIO Functions. I assume this is referred to as Role in BCP-002-01. Our list of Functions has grown over time and just represents what we have needed for our audio signals. We also have a number of "User Defined 1", "User Defined 2", etc functions so that users don't have to be limited by what we have formalized.
Are there receivers for events and tallies? I know there are receivers in the sense of the communications mechanism like the web-sockets but I mean receivers in the sense of something that could be specified in a grouphint or in the NMOS registry? IS-07 identifies senders of events/tallies and this is easy to understand for something like the state of a button which we would call an Input LIO. For something like an OnAir light though, how is that represented in IS-07? We call it an Output LIO because it matches up to an Input LIO and when the button is essentially on, then the OnAir light goes on.
Any of our audio signals can have a mixture of Input and Output LIOs. In order to match up the LIOs in terms of directions and functions, "someone" needs to know all the details for both ends of the audio connection. In our case, the someone is essentially the "master" that I mentioned earlier. NMOS seems to provide the identity of the sender to the receiver but it seems like the sender does not easily know the identity of all of the receivers. I am not sure how the "matching" of the lios can happen when all of the information is not readily available. IS-07 seems to be focused on how to communicate the event information so I am assuming I am asking about something outside the intended scope of IS-07.
With regards to the second question. I did not mean to imply that there was one receiver with multiple senders. It was the other way around, there is one sender (like a microphone) and multiple receivers (like faders on surfaces). It is likely that only one surface is "active" at a time but the OnAir light is associated with the microphone and we need to determine which of the surfaces is currently in control of the OnAir light so that it is lit at the proper times. We also provide feedback to the surface so it knows whether it is in control or not.
Thanks.

Yes, there are NMOS IS-04/-05 Receivers as well as Sources/Flows/Senders of IS-07 Event & Tally.

While BCP-002-01 covers only grouping within an NMOS Device or Node scope so far, there's nothing to prevent a control system using these or similar tags to do higher level associations (automatically or with user assistance) between Senders and Receivers that are not part of the same Node.

I would like to continue this discussion but sort of start over. As before, I recognize that this might not be the best place for some of this discussion but maybe it is a place to start.
In an existing system, we have an object called a Signal which contains an Audio Sender or Receiver and some number of Logic Senders and Logic Receivers. If the Signal contains an Audio Sender, then the Signal is a Source Signal. If the Signal contains an Audio Receiver, then the Signal is a Destination Signal. In either type of Signal, the directions of the Logic elements can be mixed with respect to senders and receivers. A Signal could contain just Logic elements. In this case, the signal is LIO-only and it can be either a Source Signal or a Destination Signal.
Each Logic element within a Signal has a direction with senders being called Inputs and receivers being called Outputs. In addition, each Logic element has a Function like On Tally, Off Tally, Cough, etc. Each Input Logic element must have a unique Function within a Signal. The Output Logic elements do not have to have unique Functions. There could be multiple Output Logic elements (receivers) with the same Function. (e.g. multiple On-Air lights)
Each Logic element is associated with a physical object like a wire of some kind and can be configured to be in at most one Signal.
The Connection Administrator within our system works at the level of the Signal with a Destination Signal being connected to a single Source Signal. A Source Signal could be connected to many Destination signals. When a connection is made, the audio elements (if present) are checked for compatibility and connected if compatible.
Then, the Input Logic elements of the Source Signal are matched to the Output Logic elements of the Destination Signal based on the assigned Functions. A single Input Logic element could be connected to multiple Output Logic elements if multiple output items have the same Function.
Similarly, the Input Logic elements of the Destination Signal are matched to the Output Logic elements of the Source Signal based on the assigned Functions. This last step is slightly conditional if the Source Signal is connected to multiple Destination Signals. In this case, each of the Destination Signals could have Input Logic elements which want to connect to the Output Logic elements of the Source Signal. The Connection Administrator has to decide who wins in these cases.
My concern is how does this map to NMOS? Here is the current thinking.

As a Logical entity, an NMOS Device can be used to represent a Signal.

The Senders and Receivers of this device will correspond to the Audio sender/receiver and the Logic senders and receivers.
The Audio and the Logic elements could be on different physical devices (i.e. their IP addresses might be different) but are all associated with the same logical Signal.

The Connection Administrator would need all the Device information of both Signals in order to completely connect all the different elements of the Signals.

Since the NMOS Senders and Receivers identify the NMOS Device, this seems somewhat straight-forward. Not necessarily easy, but straight-forward.

Some questions:

How should the Functions be represented?

The grouphint tag seems like one possibility with the Role being the function except the Role is supposed to be unique within the same group.  The immutability might also be an issue. Signals are generally defined during an installation but they could be changed later (assuming they are not actively connected.)
A better possibility might be to use the "measurement" on the event_type field.

One of the main reasons to do this work is to allow our objects to be used by other vendors and for us to be able to use objects from other vendors. While the standards are dealing with low-level details about the mechanics of describing and making connections, it seems like additional information is needed in order for a Connection Administrator to make decisions.

We use the notion of the Logic Functions in order to know how to connect the different Logic Elements. Is there any sort of standardization in this area? We can use our existing functions but will anyone else know what they mean?
We use the concept of the Signal as a bundle of audio and logic in order to create a usable shorthand for making useful connections. Is the NMOS Device a reasonable approach for this?

How are others dealing with this?
Is there any notion of making connections of Devices in addition to connecting the individual components?


Body tracking - Joint information [question]

Hi,
I am using ubuntu 18.04
The joint body tracking frames shown in the kinect k4abt_simple_3d_viewer seems to be different compared to the joint data information shown in the documents.
For instance, in the picture below, the frames of right hand is seen

In the body tracking joint information from microsoft website, the frames of the right hand are different when compared with the data from the k4abt_simple_3d_viewer

If you compare the figures specifically looking at the the right hand, Y is in front and Z is Down in the documentation, but the data observed from k4abt_simple_3d_viewer for the right hand side, Y and Z are different.
I am not sure if i Understand this correctly, Can you please provide me with more information that would help me understand it better?
Thanks

Seeing as someone has started the topic, it would be very helpful if the orientation image in the documentation could be updated so that it is more clear. Any axis that happens to be along the black line of the bone is hidden by the black line, which makes it a bit difficult to tell which joint that axis line is for. For example, in the torso, the X axes are covered by that black line, so it takes a moment to figure out that the X is pointing up, rather than downwards. This isn't too bad on the torso, but it is bad around the left shoulder because there are two "X"s between the figure's left clavicle and left shoulder, but I can't figure out what joint they are for.
I suggest fixing it by making the orientation markers bolder, so they can be seen even if the are 'behind' the bone.

Hi @qm13. I'm blocked 🧱 on the lack of accurate joint orientation documentation. This issue and numerous others all highlight the lack of detail and correctness of the existing joint orientation doc at https://docs.microsoft.com/en-us/azure/kinect-dk/body-joints.
Here are a short list of errors and gaps. There may be more

no clear definition of "axis orientation". Microsoft (an uber 1st party) is referring to a indistinct 3rd party's definition/docs. Using google search, I can find no "axis orientation" that applies to this topic. I can find the unrelated bind orientation, which is dependent on a puppets relaxed rigging (elephant is different than human different than stork).
I and many other customers are not using Unity, Unreal, Maya, etc. Instead, we are building robots, retail systems, museum installations, etc. We have no knowledge, do not need such knowledge, and do not use such 3rd party puppet tools. We need to know definitions of coordinate systems independent of such puppet tools. And given those tools can disappear, we need to be able to read and use Microsoft documentation. Not a transitory 3rd party tool's doc.
All sample code I've found are for these puppet tools. Therefore, customers not using puppets -- can not learn from them.
the doc url above conflicts with itself first writing "all joint coordinate systems are absolute...relative to the depth...coordinate system." Yet, the next paragraph writes "joint coordinates are in axis orientation". Which is it? Is is absolute always to the sensor? Or is it the mystery "axis orientation" relative to...whatever axis orientation is.
No definition of reference coordinate system. My goal is to have the same coordinate system as Kinect v1 and v2. However, I am not able to achieve that without clearly knowing reference coordinate system, handedness, etc.
Picture in doc is drawn unclear with axis overlapping each other and not able to discern which X label goes which which joint.
Picture in doc is incorrect. There are joints in the picture that do not exist in the 32 joints returned by k4abt. For example, from hip->foot is only 4 in k4abt. In this picture there are 6. There may be more joint errors.
Undefined left/right-handed coordinate system. The (unclear) diagram suggests the coordinate system is right-handed. However, 3rd party tools like Unity and Maya are left-handed coordinate systems. That means that the "Kinect is like 3rd party system" is incorrect. Or the diagram is incorrect. Handedness must match.

In https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/687 you wrote "You can implement a simple translation to covert to the legacy Kinect for Windows". This isn't true. No translate will transform an orientation from Kinect Azure -> kinect v2. There might be a transform or a rotation but never a translate. I request the sample C code to do such a transform. It should be simple as you wrote. 😉
k4a_quaternion_t k4abt_orient_to_kfw2(k4a_quaternion_t k4a_quat) {
    // simple code
}

kfw2_pelvis = k4abt_orient_to_kfw2(k4abt_skeleton_t::joints[K4ABT_JOINT_PELVIS].orientation);

The output of this function for the pelvis should have an almost identical quaternion as if I used a Kinect for Windows (v2) and got the same root node pelvis. And this quaternion is in the same Kv2 camera space https://docs.microsoft.com/en-us/previous-versions/windows/kinect/dn785530(v=ieb.10)#camera-space
I tried 13 permutations (out of the 4096 possible) of wxyz in both +/-. It is too many permutations to try by brute force. Uncountable numbers of composite quat rotations. Sample code doesn't help as its all for puppet tools. And the doc is unclear and in some cases wrong above. 😥

@diablodale, you can rotate the kinect quaternion to get what you want. To rotate a quaternion, multiply the quaternion with another quaternion.
Demo using DirectXMath:
//XMQuaternionRotationRollPitchYaw(XMConvertToRadians(-90/*90, 0, -90, try :)*/), XMConvertToRadians(90/*90, 0, -90, try :)*/), XMConvertToRadians(0/*90, 0, -90, try :)*/)) = { -0.5f, 0.5f, 0.5f, 0.5f };
static const XMVECTORF32 g_rotSpine = { -0.5f, 0.5f, 0.5f, 0.5f };//to get mirrored(think kinect as a mirror), invert the sign of w and one of x, y or z: { -0.5f, 0.5f, -0.5f, -0.5f }

static const XMVECTORF32 g_rotLeftArm ={/*try :)*/};
static const XMVECTORF32 g_rotLeftHand ={/*try :)*/};
static const XMVECTORF32 g_rotLeftHip = {/*try :)*/};
static const XMVECTORF32 g_rotLeftKnee = {/*try :)*/};
static const XMVECTORF32 g_rotLeftAnkle = {/*try :)*/};
static const XMVECTORF32 g_rotLeftFoot = {/*try :)*/};

static const XMVECTORF32 g_rotRightArm ={/*try :)*/};
...

inline static XMVECTOR XM_CALLCONV GetQuaternion(k4abt_joint_t const& joint) {
    auto const& qua = joint.orientation;
    return XMVectorSet(qua.wxyz.x, qua.wxyz.y, qua.wxyz.z, qua.wxyz.w);
}

XMVECTOR quaPELVIS = XMQuaternionMultiply(g_rotSpine, GetQuaternion(skeleton.joints[K4ABT_JOINT_PELVIS]));
XMVECTOR quaSPINE_NAVEL = XMQuaternionMultiply(g_rotSpine, GetQuaternion(skeleton.joints[K4ABT_JOINT_SPINE_NAVEL]));
...
XMVECTOR quaCLAVICLE_LEFT = XMQuaternionMultiply(g_rotLeftArm, GetQuaternion(skeleton.joints[K4ABT_JOINT_CLAVICLE_LEFT]));
XMVECTOR quaSHOULDER_LEFT = XMQuaternionMultiply(g_rotLeftArm, GetQuaternion(skeleton.joints[K4ABT_JOINT_SHOULDER_LEFT]));
...

Hi. Unfortunately, rotating the quat is not enough. First, I have to understand the global coordinate system (the well known Kinect v1 and v2) and the local coordinate system (mystery Azure Kinect). And from what I have so far discovered, the local coordinate system changes on spine, arms, and legs.
Even with that, rotating the quat is not enough. That only aligns the old xyz axes to the new xyz axes. But, what is also missing is the rotations around those axis. For example, the waist on the Azure Kinect rotates around the Z axis. The Kinect v1 and 2 rotates around the X axis. And the rotations seem to be opposite...suggesting that the handedness has changed.
So for groups of joints (spine, arms, legs, maybe more), each of these variables changes (handedness, all 3 axes, all 3 rotations). That's a LOT of possibilities. I've been coding Kinect solutions for 8 years. I can do it if I have enough documentation...or enough time to brute-force test all the possibilities.

Hi. We can get the following result, after rotating kinect quaternion, if body is in rest-pose(T-pose), EVERY bone orientation is +Y:

Call it rest-quaternion.
If body is not in rest-pose, bone orientation is:

Call it acting-quaternion.
You can convert quaternion to Euler angles: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles

Thanks for your post. I can see you want to assist, but I'm unclear what you are communicating in your last post. 🤷♀🙂 Kinect v1 and v2 "TPose" rotate joints on different axes than Kinect v3 (aka Azure Kinect).
Kinect v1 and v2 are as your draw immediately above. Bone on Y. Rotation around X.
Kinect v3 is probably bone on X. Probably rotation around Z. https://docs.microsoft.com/en-us/azure/kinect-dk/body-joints
My approach is brute force. I have 96 possibilities of quat coefficient permutations and sign changes. I prioritize sign changes using levi-civita first, then fallback to the remaining possibilities. I have no need to convert to Euler angles. That would add computation for no value, and introduces order of rotation and potentially gimbal lock. I think I can stay within quats and avoid changing rotation methods just to reverse-engineer. 🤞

Another inconsistency -- Kinect Azure left and right hip joints do not follow a consistent rule that the bone from joint to its parent joint is on X axis.
Instead, the Azure Kinect left and right hip joints have this bone on Z axis. This is seen in both the current doc's diagram and in real world data I'm rendering. 😟🤹♀

Hi. Unfortunately, rotating the quat is not enough. I've brute-forced one joint...the waist. I had to permutate the quat's 3 imaginary components and rotate it.
Rotation only moves the axes to align. What is missing is the rotations around those axes. For example, the waist joint on the Azure Kinect rotates around the Z axis and X follows the bone. The Kinect v1 and 2 rotates around the X axis and Y follows the bone. This makes it necessary to permutate and rotate.
I have to understand the global coordinate system (the well known Kinect v1 and v2) and the local coordinate system (mystery Azure Kinect). And from what I have so far discovered, the Azure Kinect local coordinate system changes on spine, each arm, and each legs. I can already see the permutation of quat imaginaries and the rotation changes for waist, left hip, right hip. I can't reuse my code for the waist. I have to brute force each joint again and have a giant switch() so I can permutate the imaginaries.
I've been coding Kinect solutions for 8 years. I can do it when I have enough documentation. Otherwise, I'm reverse-engineering and brute-forcing it. 😢
The Azure Kinect team may not know how to do this. They used synthetic data to train their neural net. Puppet data in -> puppet data out, so they never needed to logic/analyze it and may treat it as a black box. This is very typical of neural net solutions. I could be wrong here but it matches a few related posts and years-delay not documenting it.

did you ever solve this I'm running into the same issues at the moment the

Yes. I brute forced it over almost 3 weeks. It was tedious, grueling, grunt work caused by Microsoft's ongoing lack of documentation and API specs. 😕
Visual test harness, joint by joint, establishing base coord system for each joint (it changes), visually testing all quat permutation rotations for each joint, moving my own body for each perm and visually looking at the drawn effect to see the results. Iterating more than once to get all correct over the range of possible rotations. Sometimes pain in my left shoulder as this kind of repetitive movement is unnatural.
If anyone is interested, given the significant time and physical effort involved, I will gladly share my results for a fee + nda/license to not share the results further. Price will scale exponentially based on if the interested party makes depth sensors and/or operating systems. 😊

Yes. I brute forced it over almost 3 weeks. It was tedious, grueling, grunt work caused by Microsoft's ongoing lack of documentation and API specs. 😕
Visual test harness, joint by joint, establishing base coord system for each joint (it changes), visually testing all quat permutation rotations for each joint, moving my own body for each perm and visually looking at the drawn effect to see the results. Iterating more than once to get all correct over the range of possible rotations. Sometimes pain in my left shoulder as this kind of repetitive movement is unnatural.
If anyone is interested, given the significant time and physical effort involved, I will gladly share my results for a fee + nda/license to not share the results further. Price will scale exponentially based on if the interested party makes depth sensors and/or operating systems. 😊

can I buy you a beer?

I do like IPA 😉. It would be 3 weeks * 8 hours/day * my hourly rate of IPAs 🍻 More if you make sensors/os.
I understand your interest. If you want to discuss specific terms, hit me up via email as listed in my profile.
Naturally, Microsoft can generate this needed info dramatically cheaper given they own the spec and the code.

Can someone at Microsoft address this so we don't have to pay highway robbery to some disgruntled German dev....

I also did some joint normalization to solve this problem. Is the issue
just that you want all the joints to have the same standard orientation?
If your project is open, or if you can share the aspects that my code would
need to connect with, I can take a look and see what it would take for me
to integrate it to your program.
The price would be minimal (assuming it only takes me a few hours to
integrate), or we could  do an even trade if you can help with my own
project.
At the very least, I may be able to share the set of quaternion
transformations that normalize it. Microsoft should have offered normalized
rotations as an option in the SDK from the start, in my opinion.
On Wed, Sep 15, 2021, 1:31 PM Dan Moore @.***> wrote:

Can someone at Microsoft address this so we don't have to pay highway
robbery to some disgruntled German dev....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1414#issuecomment-920223680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAXNVGRLK2IHWZWV7RCPITUCDKATANCNFSM4TTLIBIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Right now when I compute the relative joint orientations and apply them to parented nodes things are just wrong....
I have to flip the pelvis 90 X, 90 Z to get it upright.
I have to flip the hips 180 on an axis.
I'm stuck on the clavicles trying to get the shoulders in the right place....when I ignore the nesting and just do everything in world pos/orientation everything works fine but I'm trying to use the skeleton data as a parented skeleton....

Until now, the coordinate system definition of Azure Kinect remains a mystery   :(


couchdb3: 3.2.0 -> 3.2.1

Motivation for this change
Update resolves regressions introduced in 3.2.0 that could affect some queries or configurations and has some other minor fixes and performance improvements.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] 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

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[X] Fits CONTRIBUTING.md.

I forgot the couchdb aarch64 spidermonkey issue was never addressed, since the spidermonkey package is limited to linux, x86_64-linux is probably the only combination supported.


XPath query shows no result when opened using keyboard shortcut

Description
When the query panel is opened using the keyboard shortcut (Ctrl + Shift + Alt + X) no result is shown when the query is run. This happens repeatedly until the cursor is placed in a different location in the XML file, after which it will correctly evaluate once and then revert back to showing no results again (until the cursor is again moved).
Extension Version
2.3.2
VS Code Version
Version: 1.26.1
Commit: 493869ee8e8a846b0855873886fc79d480d342de
Date: 2018-08-16T18:38:57.434Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Operating System
Windows 10 Enterprise 10.0.16299 N/A Build 16299

I am unable to reproduce this. Do you happen to have any other keyboard shortcuts (custom or extension-contributed) sharing this key combo?


npm start error

npm ERR! missing script: start
npm ERR!      C:\Users\lalito\AppData\Roaming\npm-cache_logs\2020-03-05T00_12_04_277Z-debug.log
C:\Users\lalito\Documents\GitHub\tf2-automatic>
i can't start the bot for this problem, helpp

Please ensure you've done all the steps in the wiki.
https://github.com/Nicklason/tf2-automatic/wiki/Installation
https://github.com/Nicklason/tf2-automatic/wiki/Configuration
https://github.com/Nicklason/tf2-automatic/wiki/Running-the-bot
Also, ensure the template.env file is saved as .env, not as .env.env or etc.

i do

Can you give the screenshot of your tf2-automatic folder?

sure

What's that tf2-automatic.env file? 🤔
Enable "Show file extensions" and rename it .env
https://www.file-extensions.org/article/show-and-hide-file-extensions-in-windows-10

ready but still not working

Try run the bot using node dist/app.js in cmd.

aah, i dont have pm2, I had to use another form of configuration for pm2 and I thought it worked

https://github.com/Nicklason/tf2-automatic/wiki/PM2

when i use pm2 startup dont work, [PM2][ERROR] Init system not found
C:\Users\Julian\AppData\Roaming\npm\node_modules\pm2\lib\API\Startup.js:210
throw new Error('Init system not found');

Please read.

aah, i have windows :(

i can't use the bot?

you can help me with this??

SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse ()
at new Bot (C:\Users\Julian\Desktop\tf2-automatic\dist\classes\Bot.js:74:72)
at C:\Users\Julian\Desktop\tf2-automatic\dist\classes\BotManager.js:75:32
at C:\Users\Julian\Desktop\tf2-automatic\dist\classes\BotManager.js:83:17
at C:\Users\Julian\Desktop\tf2-automatic\node_modules\async\dist\async.js:2159:44
at replenish (C:\Users\Julian\Desktop\tf2-automatic\node_modules\async\dist\async.js:445:21)
at iterateeCallback (C:\Users\Julian\Desktop\tf2-automatic\node_modules\async\dist\async.js:429:21)
at C:\Users\Julian\Desktop\tf2-automatic\node_modules\async\dist\async.js:326:20
at tryCatcher (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\util.js:16:23)
at Promise.successAdapter [as _fulfillmentHandler0] (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\nodeify.js:22:30)
at Promise._settlePromise (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\promise.js:601:21)
at Promise._settlePromise0 (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\Julian\Desktop\tf2-automatic\node_modules\bluebird\js\release\async.js:102:5)

Not sure.

Ensure the "ALERTS": in ecosystem.json file is set in an array.
If you want to enable notification on accepted trades:
"ALERTS": ["trade"],
If not:
"ALERTS": ["none"],

when I tried to change it it was already set to none

i found first syntax error in "STEAM_PASSWORD": "..........",",
but still have more errors

GitHub is for bugs and feature requests only, not for help setting up the bot. If you need help setting up the bot then just follow the wiki, if you still need help then you can ask in the discord server.


Added attributes and metadata to LLVM IR compute kernels

Previously, there was no metadata and attributes associated with the instance struct pointer, compute kernels or loops. This patch fixes this.
Instance struct attributes
Since all pointers contained in the instance struct do not alias, we add a noalias (LLVM's __restrict alternative) attribute to it. In addition, we add nocapture (No capturing occurs in the function) and readonly (Struct pointer is not written to) attributes.
This means that some load instructions can be moved out from the loop body! Example:
; BEFORE
for.body.lr.ph:                                   ; preds = %0
  %5 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 1
  %6 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 3
  %7 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 2
  br label %for.body

for.body:                                         ; preds = %for.body.lr.ph, %for.body
  ; ...
  %15 = load double*, double** %5, align 8
  ; ...
  %19 = load double*, double** %6, align 8

; AFTER
for.body.lr.ph:                                   ; preds = %0
  %5 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 1
  %6 = load double*, double** %5, align 8
  %7 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 3
  %8 = load double*, double** %7, align 8
  %9 = getelementptr inbounds %avx__instance_var__type, %avx__instance_var__type* %mech1, i64 0, i32 2
  %10 = load double*, double** %9, align 8
  br label %for.body

Loop metadata
Also, loop metadata is added to scalar kernels, specifying that no vectorization is needed. The reason for this is because we want to benchmark truly scalar kernels, and disable LLVM's vectorization if necessary.
Note that for vector loop epilogue there is no metadata that disables vectorization.
fixes #607

readonly (Struct pointer is not written to) attributes.

I assume when we add readonly to instance struct then it doesn't apply to members like noalias, right? (I assume yes but just to be sure...!)
Would there be a benefit if we can say which struct members are read-only/constant and which one are not?

I assume when we add readonly to instance struct then it doesn't apply to members like noalias, right? (I assume yes but just to be sure...!)

Yes, that only concerns  the struct pointer, not members (unlike noalias)

Would there be a benefit if we can say which struct members are read-only/constant and which one are not?

I am not sure LLVM supports this - there is no way to annotate the type with attributes, only function arguments. Other option would be to unpack the instance struct and call kernels with the data pointers directly. But attributes/metadata are something to consider in future work for sure!

Ok, sounds good to me!
(just for reference for myself or other members who will check about nocapture semantics)

@pramodk I have also added some links in the issue (regarding aliasing/attributes/metadata): see #606 and a bit of #607.

@pramodk I have also added some links in the issue (regarding aliasing/attributes/metadata): see #606 and a bit of #607.

Ah ok! thanks for the references! I didn't see those.
Once you update comments, go ahead with merge.


Post release automated changes for ai releases

Post release automated changes for azure-ai-projects

API change check
API changes are not detected in this pull request.


drivers: ieee802154_nrf5: Block on net_pkt allocation in the RX path

Currently, if no net_pkt's are avaliable, the radio driver RX thread
drops the 802.15.4 frame silently. This causes undesired behaviour,
where we can drop the packet which has already been acknowledged at
the 802.15.4 level.
Fix this, by blocking the RX thread if no net_pkt is avaliable. The
packets received while the RX thread is blocked will be accumulated in
the underlying nRF 802.15.4 driver, and eventually when it runs out of
internal buffers before the thread is unblocked, it'll stop
acknowledging the incoming frames.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

CC @MarekPorwisz

CC @MarekPorwisz

@jukkar Thanks, comments addressed.

@jukkar Thanks, comments addressed.