Fixed tests for cuda 11

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
With cuda 11.0, we need this additional change for the tests to work. With cuda 10.2, I didn't need dask to run the tests.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

I've been running all the combinations today and found that one tests fail specifically with py36 irrespective of cuda version.
=================================== FAILURES ===================================
______________________________ test_with_asyncio _______________________________

    def test_with_asyncio():
        with LocalCluster() as cluster:
            with Client(cluster) as client:
                address = client.scheduler.address
>               output = asyncio.run(run_from_dask_array_asyncio(address))
E               AttributeError: module 'asyncio' has no attribute 'run'

tests/python/test_with_dask.py:542: AttributeError

As per the documentation, asyncio.run function was added in Py3.7 as per https://docs.python.org/3/library/asyncio-task.html#asyncio.run. So, this will not work with py3.6.
I think we should disable this test for py3.6.

I've been running all the combinations today and found that one tests fail specifically with py36 irrespective of cuda version.
=================================== FAILURES ===================================
______________________________ test_with_asyncio _______________________________

    def test_with_asyncio():
        with LocalCluster() as cluster:
            with Client(cluster) as client:
                address = client.scheduler.address
>               output = asyncio.run(run_from_dask_array_asyncio(address))
E               AttributeError: module 'asyncio' has no attribute 'run'

tests/python/test_with_dask.py:542: AttributeError

As per the documentation, asyncio.run function was added in Py3.7 as per https://docs.python.org/3/library/asyncio-task.html#asyncio.run. So, this will not work with py3.6.
I think we should disable this test for py3.6.


Upon installing zsh I get this error: _zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?

On a fresh install of zsh and zim I get this error
_zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?
I have done nothing to the configs whatsoever, and I have also tried reinstalling
I am using EndeavourOS

Maybe you're sourcing the plugin more than once? Once with Zim and once directly in your .zshrc or with a second plugin manager? Check https://github.com/zsh-users/zsh-autosuggestions/issues/187#issuecomment-240310586 and https://github.com/zsh-users/zsh-autosuggestions/issues/84#issuecomment-173089220

I'm not using another plugin manager and I did an empty .zshrc to test it as well

It doesn't make any sense to me

It makes sense if you are using Kitty. Are you?

I've been testing this in kitty, yes

The new version of kitty (0.24.0) injects zsh code into zshenv (before your own zshenv) and that code is buggy. This particular bug has been fixed in master, so if you can build from source, that'll help. Alternatively, add this line to ~/.zshenv: unset KITTY_SHELL_INTEGRATION. Another alternative is to disable shell integration in kitty.conf.

Oh, thank you very much!

The fact that terminals (well, one terminal) now inject code into your shell is really quite awful. From the point of view of zsh plugin and framework maintainers it's terrifying.

Yeah, that really shouldn't be a thing and I hope it's removed entirely from kitty since aside from well, this, it's a very good terminal
Thanks again for fixing this!

A bit more context.
Kitty shell integration docs: https://github.com/kovidgoyal/kitty/blob/de3b9634ac15a81f8e99fa7410456792b91401be/docs/shell-integration.rst
Kitty bug report requesting to not modify bashrc by default: https://github.com/kovidgoyal/kitty/issues/4429.  Closed as WONTFIX.

Zsh integration in kitty does not modify rc files. Before starting zsh it points ZDOTDIR to its own directory with .zshenv in it. This .zshenv installs hooks and restores the original value of ZDOTDIR. This ingenious solutions makes finding the culprit extremely difficult. The usual tools such as zsh --sourcetrace or zsh -x won't help because kitty injects code only into the top-level shell. Even exec zsh rids shell of kitty integration.

Terminal code: https://github.com/kovidgoyal/kitty/blob/57888af4ea321c545612b33a2fc76b3ef0b93444/kitty/shell_integration.py#L70-L97
Shell code: https://github.com/kovidgoyal/kitty/tree/872cd7b2d5f696229755d877e3f36bdb386490c7/shell-integration/zsh

I wrote both of these pieces. To be more precise, I rewrote them. My preference would be for kitty to not inject any code into zsh but this is not something I can do. As the next best alternative I've tried to make the injected code less likely to break stuff. I've also added a way to opt out from kitty integration from within zsh. I use it in my projects.
The only kitty-specific piece of code in kitty's integration is _ksi_debug_print function, which is meant for debugging. Other than that it's your regular terminal-agnostic zsh plugin stuff: define completion functions, change cursor shape based on the current keymap, update terminal title on precmd and preexec, etc. All of these already exist as standalone plugins.
Most of the discussion around kitty integration has happened here: https://github.com/kovidgoyal/kitty/issues/3948

@romkatv Thanks a lot for all the extra information.  To summarize:

Kitty's magic only affect the zsh instance started by kitty.  It doesn't affect any other zsh process started within a kitty-owned pty, even those started via exec zsh.
zsh -f will skip kitty's integrations.  Emptying ~/.zshenv, ~/.zprofile, ~/.zshrc, ~/.zlogin will not.

One more question, if our zimfw hosts will permit it: Suppose someone reports a bug to zsh upstream or to a random zsh plugin, what can the maintainers ask the reporter to execute in a running zsh instance in order to determine whether the reporter has kitty integration enabled in that zsh instance?  The BOFH answer is ps -p $PPID | grep -i kitty, but…

Kitty's magic only affect the zsh instance started by kitty.  It doesn't affect any other zsh process started within a kitty-owned pty, even those started via exec zsh.

Correct as far as automatic shell integration via ZDOTDIR override is concerned. One can also enable kitty shell integration by placing the following stanza in .zshrc:
if [[ -n $KITTY_INSTALLATION_DIR ]]; then
  export KITTY_SHELL_INTEGRATION="enabled"
  autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration
  kitty-integration
  unfunction kitty-integration
fi

Or this:
if [[ -n $KITTY_INSTALLATION_DIR ]]; then
  source -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty.zsh
fi

This is a more conventional approach.

zsh -f will skip kitty's integrations.  Emptying ~/.zshenv, ~/.zprofile, ~/.zshrc, ~/.zlogin will not.

Right. If you instruct kitty to start zsh -f instead of the user's login shell, automatic shell integration won't work. However, if one can set shell zsh -f in kitty.conf, they can also set shell_integration disabled in there.

One more question, if our zimfw hosts will permit it: Suppose someone reports a bug to zsh upstream or to a random zsh plugin, what can the maintainers ask the reporter to execute in a running zsh instance in order to determine whether the reporter has kitty integration enabled in that zsh instance? The BOFH answer is ps -p $PPID | grep -i kitty, but…

Kitty shell integration defines parameters and functions with the prefix _ksi_. The presence of _ksi_state parameter indicates that integration is enabled.
Integration can be disabled by placing unset KITTY_SHELL_INTEGRATION in the user's .zshenv, so when in doubt you can ask the reporter to do that and see whether it fixes the problem.

The new version of kitty (0.24.0) injects zsh code into zshenv (before your own zshenv) and that code is buggy. This particular bug has been fixed in master, so if you can build from source, that'll help. Alternatively, add this line to ~/.zshenv: unset KITTY_SHELL_INTEGRATION. Another alternative is to disable shell integration in kitty.conf.

Thank you so much


DAB CLI : Windows Installer Support

There is a feedback from a customer to have .msi installer for the DAB CLI. Right now if the customer uses the exe version, there is no way to execute the exe and use it directly.
For users who are not familiar with .Net Nuget packages they would be expecting it to use the installer.

As part of release package, we also publish the dab package windows/macOS/linux platform. For windows user, if they want to use the exe, they can directly download the zip which is present in the release page and extract the zip and directly use the exe.
They'll have the same experience.
Once they have unpacked the zip. Below comands would work perfectly
Microsoft.DataApiBuilder.exe init --database-type mssql
Microsoft.DataApiBuilder.exe start
NOTE: dotnet is not required when using the executable directly.

Thanks @abhishekkumams looks good.


Include seeding time in StatDelta's

See #1

As per https://github.com/mrd0ll4r/chihaya-privtrak-middleware/issues/1#issuecomment-446549056,

[x] Change the StatDelta to include a field for continuous seeding time in seconds since the last reported delta.
[x] Change the userSwarmStats to include a field for seeding time
[x] Change the update function to track continuous seeding time and emit appropriate deltas
[x] Change the removeExpired function to emit StatDeltas for userSwarmStats with seeding time != 0. Change all the places calling this to handle the deltas emitted.
[ ] Add a config key to specify the interval at which seed times are flushed
[ ] Add a function to flush seed times in one userStats, similar to the GC function
[ ] Add a goroutine that loops forever and, after each seed-time-flush interval, calls flushes each userStats

Let me know please if I'm on track, or if you're no longer interested in pursuing this project and/or chihaya

Hey! Thanks for working on this still :) I'm still interested! I can't be on IRC at the moment because my bouncer is dead, but I'm still interested in chihaya and this.
I haven't looked at the code yet. I'm with my family for a week, next week I can take a look. If you don't hear back from my by mid-next week, please ping me again! Thanks :)

Also, in Stop we need to flush the seed times

This looks very good! Can you try to figure out a few tests for it?

(I want the tests in the same PR, please :) )


Unable to resolve library

Hi, thank you for this cool library! However, when I tried to use it in my project, syncing the gradle always results in
Error:(69, 13) Failed to resolve: net.cachapa.expandablelayout:expandablelayout:[latest_version]
I'm using latest Android Studio (2.3) and latest support library in my project. Importing this repo as module triggers error: com.novoda.bintray-release is not found (can't find it in AS maven central lookup either).
Is there any additional step that I need to do to add this into my gradle dependency?
PS: I've also tried changing the [latest_version] to 1.2.0 or any other version but the error still there. I've tried looking up your lib in the maven central lookup in AS, but there's nothing...

Oh, it's my bad. I write the version as three digit thing (x.x.x), when it should be two digit (x.x). Once I changed it to :2.8 it compiles just fine.


[Macros] Emit macro expansion buffers for diagnostics.

By default, emit any macro expansion buffers referenced by diagnostics into files in a temporary directory. This makes debugging type-checking failures in macro expansions far easier, because you can see them after the compiler process has exited.
This can be disabled with -emit-macro-expansion-files no-diagnostics

@swift-ci please smoke test

@swift-ci please smoke test macOS


Add Spotify logo next to 'All'

Currently

Ideally

Note - logo should be black in light mode and white in dark mode. It should never be green.
You can access the logo here: https://developer.spotify.com/branding-guidelines/

Actually, this logo should be configurable to match the company that deploys Backstage. The label “Spotify” can already be replaced this way.

This was fixed in #1562.


Prevents DropdownButton from applying borderRadius property to first and last element of the list.

PR #84298 adds borderRadius property to the first and last element of the dropdown list. This is against material design specifications. This PR reverts this behavior.
Fixes: #96241
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

Don’t we need to revert this parameter?
https://github.com/flutter/flutter/blob/a3fd36a11500643681f302455891b842be1fbb75/packages/flutter/lib/src/material/dropdown.dart#L46
I found you added that in #84298

Don’t we need to revert this parameter?
https://github.com/flutter/flutter/blob/a3fd36a11500643681f302455891b842be1fbb75/packages/flutter/lib/src/material/dropdown.dart#L46
I found you added that in #84298

@SuhwanCha the property itself does not need to be reverted, just the behaviour of applying the border to first and last element(which was violation material Design specs) is to be reverted.


help,if custom RouteConfig,the 'area' parameter not work in asp.net mvc

file:App_Start/RouteConfig.cs
namespace XXXXXXX
{
    public class RouteConfig
    {
        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.LowercaseUrls = true;
            routes.MapRoute(
               name: "Default",
               url: "{area}/{controller}/{action}/{id}",
                //defaults: new { controller = "Default", action = "Index", area = "000000", id = UrlParameter.Optional },
               defaults: new { controller = "Home", action = "Index", area = "000000", id = UrlParameter.Optional },
               constraints: new { area = @"\d{6}" }
            );
        }
    }
}

then
[DonutOutputCache(Duration = 300, VaryByCustom = "area")]
public ActionResult Index(int area)
{
    return View();
}

then

http://localhost/000000/home/index
http://localhost/110000/home/index

it is not work,how to do?

any body the same question like me? I try to fix the question a few days ,but not work , headache!

Don't specify the VaryByCustom for area, MvcDonutCaching handles areas natively

thanks reply.
it's not area ,it's like id,
I have many url like
http://localhost/000000/home/index
http://localhost/110000/home/index
http://localhost/210000/home/index
http://localhost/310000/home/index
...
http://localhost/312345/home/index

you can new webapplication and copy the routeconfig    ,
[DonutOutputCache(Duration = 300, VaryByCustom = "area")]   to the home/index controller
it is not work, change the 'area' to 'somecustomparm' is the same result

Just remove the VaryByCustom part dude, it has another meaning that you think

I have tried,


Work on routes

Work on profile page to render and receive all the data from our tables.

This is all basically done. Even has a delete option on bills and expenses if we get to that


Saving neural network into memory bug

Hi! There is little bug in code when saving neural network into memory. Here patch.
Thanks for developing this library :+1:
savepatch.txt

Thank you for bug fixing. I kept thinking a long time why it works so bad...


Basic Python 3 compatibility

This is fairly basic stuff, while evaluating static site generators
(most of which run on Python 3, which means most of hyde's dependencies
seem okay), I ran 2to3 on hyde and tweaked enough little things that I
could run hyde gen.
The UserDict change could probably be done with six to be compatible
with both Pythons, and I don't know the intent of _encode_path wrt bytes
and strings so I just made sure it matched what urllib.parse.quote does.

Will try to get this working instead of redoing all your work #270


Update select.md

I always forget that I can use placeholder attribute to set a disabled option in select field, so I guess it can be useful to have a placeholder in the example.

Thanks, merged 👍


Invoke-SqlCmd2 fix for UNC path and other style/grammar/spelling

Type of Change

[X] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included
[X] Spelling, grammar & other cleanup in Help and other text content

Purpose

To clean up grammar, style, spelling and other issues related to comment-based help and other text in functions.
Fix #2192 to allow for successful access to UNC paths

One point is this is not one of our commands. It is included but is maintained in a seperate repo.
Unless @potatoqualitee has changed her mind on how we keep this one.

I think the function came over to this repo as a one-time copy because it seemed useful, but the original isn't really getting much maintenance either. I filed a PR over there back in January and it looked like there might be some discussion about what direction to go, but it didn't go far. See https://github.com/sqlcollaborative/Invoke-SqlCmd2/pull/7#issuecomment-274111028

I can't catch what you changed to fix the UNC path issue with all the other changes made?

@wsmelton that change is on line 303. https://github.com/sqlcollaborative/dbatools/pull/2197/files#diff-f69d8083f0ef6ebfab68afb58a1170bfR303
However, I want to put this PR on hold for a bit as there's conversation in the Invoke-SQLCmd2 repo (spurred by this one) now about how to handle this function. We might end up making all changes over there and then just manually copying the function over to this repo as needed.
More to come when I can catch up on discussions.

Yeah, andy, make it there and I'll copy it over once it's merged. That way, non dbatools ppl can still benefit.

Will do, @potatoqualitee . Hopefully my other PR can get merged in too.

I'll do that one too 👍

Will close this one so it can be merged at invoke-sqlcmd2 then ill copy over. I'll also add a simple test. If you'd like to add on to it, @alevyinroc or anyone - please do.

I'll move the work over to invoke-sqlcmd2's repo and get everything synced up later this week


Add a check if files exist to klaas_split_data

if one of the files you create with klaas_split_data, you might get the following error:
klaas_split_data build/data/gamma_precuts.hdf5 build/data/gamma \
        -f 0.25 -n train_sep \
        -f 0.5 -n train_reg \
        -f 0.25 -n test \
        -i events
INFO:root:Found a total of 692836 single-telescope events in the file
INFO:root:Writing 173209 telescope-array events to: build/data/gamma_train_sep.hdf5
Traceback (most recent call last):
  File "/home/jbuss/.conda/envs/gamma/bin/klaas_split_data", line 11, in <module>
    load_entry_point('klaas', 'console_scripts', 'klaas_split_data')()
  File "/home/jbuss/.conda/envs/gamma/lib/python3.5/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/jbuss/.conda/envs/gamma/lib/python3.5/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/home/jbuss/.conda/envs/gamma/lib/python3.5/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jbuss/.conda/envs/gamma/lib/python3.5/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/jbuss/software/classifier-tools/klaas/scripts/split_data.py", line 111, in main
    write_data(selected_data, path, key=key, use_hp5y=not use_pandas)
  File "/home/jbuss/software/pyfact/fact/io.py", line 34, in write_data
    to_h5py(file_path, df, key=key, **kwargs)
  File "/home/jbuss/software/pyfact/fact/io.py", line 267, in to_h5py
    append_to_h5py(f, array, key=key)
  File "/home/jbuss/software/pyfact/fact/io.py", line 428, in append_to_h5py
    raise KeyError('No such dataset {}'.format(dataset))
KeyError: 'No such dataset None'
make: *** [build/data/gamma_train_reg.hdf5] Fehler 1

I suggest, that klaas_split_data checks if files excist before and gives a warning

maybe even a prompt if files should be overwritten


Accessing a public IP hosted through Nancy

Prerequisites

[x] I have written a descriptive issue title
[x] I have verified that I am running the latest version of Nancy
[x] I have verified if the problem exist in both DEBUG and RELEASE mode
[x] I have searched open and closed issues to ensure it has not already been reported

Description

I was trying to access a system with public IP which I started with local IP. Say for ex: My system has local IP <IP_ADDRESS> and it has been assigned with public IP say <IP_ADDRESS>. I started a host with below IP https://<IP_ADDRESS>:9000 and this I tried to access with https://<IP_ADDRESS>:9000. This does not allow me to access the public IP. Not sure what is blocking the way, but I can telnet and RDP the public IP. Does Nancy has any special blocking for these type of request?

Nancy host

[x] ASP.NET
[x] Self-Hosted

Environment (Operating system, version and so on): Windows 7

.NET Framework version:4.0

A post related to this issue in SO.. The Update part in the below post specifies what I actually want to do.
http://stackoverflow.com/questions/36644838/is-it-possible-to-start-host-0-0-0-0port-with-nancy

There's no info here...

@khellang Sorry.. Posting for the first time.. Please bare with me.. I've updated the issue.

@kshkrao3 What IP did you bind to? When you start Nancy, you specify which addresses you want to bind to. Have you allowed the port through your firewall? See http://stackoverflow.com/questions/9791008/httplistener-not-listening-outside-of-host-computer

@khellang I've binded public IP to local IP say IPv4 address something like <IP_ADDRESS> to <IP_ADDRESS> and with port 9000 I've started the host.. I can confirm that host has been started with netstat -a command. The firewall has been disabled for testing purpose. I can also confirm that telnet to the started IP address and port is successfull.

The problem was with URL reservation. I had reserved the URL, but for testing purpose I had rolled it back and forgot again to reserve the URL. After reserving the URL, I was able to access. Thanks for the help @khellang


ENFORCE hit: callbackInvoked = 0 when indexing LLVM

[14:06:27 error] worker 7  : Exception::raise(): indexer/Worker.cc:1361 enforced condition callbackInvoked == 1 has failed: callbackInvoked = 0 for TU with main file '/Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd/unittests/DecisionForestRuntimeTest.cpp'

This error is also triggered when PCH files are used (#191), but this compilation command doesn't (at a glance) have any mention of PCH files.
[
  {
    "directory": "/Users/varun/Code/llvm-under-test/build",
    "command": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd/unittests -I/Users/varun/Code/llvm-under-test/clang-tools-extra/clangd/unittests -I/Users/varun/Code/llvm-under-test/clang-tools-extra/clangd/../include-cleaner/include -I/Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd/../clang-tidy -I/Users/varun/Code/llvm-under-test/clang/include -I/Users/varun/Code/llvm-under-test/build/tools/clang/include -I/Users/varun/Code/llvm-under-test/build/include -I/Users/varun/Code/llvm-under-test/llvm/include -I/Users/varun/Code/llvm-under-test/clang-tools-extra/clangd -I/Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd -I/Users/varun/Code/llvm-under-test/third-party/unittest/googletest/include -I/Users/varun/Code/llvm-under-test/third-party/unittest/googlemock/include -isystem /opt/homebrew/include -O0 -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -mmacosx-version-min=13.2  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -std=c++17 -Wno-unused -o tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o -c /Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd/unittests/DecisionForestRuntimeTest.cpp",
    "file": "/Users/varun/Code/llvm-under-test/build/tools/clang/tools/extra/clangd/unittests/DecisionForestRuntimeTest.cpp"
  }
]

Apparently, the compilation database is just malformed. This file is not created at all with the cmake invocation that I used:
cmake -G Ninja -B ../build -DLLVM_ENABLE_PROJECTS='bolt;clang;clang-tools-extra;lld;lldb;' -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-O0" -DCMAKE_CXX_FLAGS="-O0" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLDB_USE_SYSTEM_DEBUGSERVER=ON -DLLDB_INCLUDE_TESTS=OFF

However, a compilation database entry is still created. We should check that the file exists before creating the job.

A customer is running into this issue as well, for a header that actually does exist on disk. So it seems like the overriden HandleTranslationUnitDecl is not called for headers (sometimes?). I'll take a look at the Clang code to see if we should override some other function instead...

Reproduced this with the indexing job for the header ItaniumDemangle.h when indexing scip-clang itself.

One way for this crash to happen is if there is a compiler error earlier. E.g. in scip-clang's own compilation database, there is an unexpanded $(STACK_FRAME_UNLIMITED) which triggers this problem.


Syntax highlighting broken for PHP

OS Version: Fedora 24

Version 1.2.0-insider
Commit 7ccb21d7e7256a7d42f3dda8b2d3721b8e59724f
Date 2016-05-30T13:06:09.365Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0
For some reason PHP syntax highlighting is broken for me on latest insiders build. I tried switching to different color themes but that didn't change anything. It looks like only PHP is broken. It's correctly detecting it as PHP (it shows in the lower right). All other file types are working fine. I installed any extensions having to do with PHP and nothing worked. Reverting back to the previous Insiders build works. I've attached a view of what I see.

Hmm, strange. All seems to work for me with a fresh install on 1.2-insiders:

That's the Dark+ theme. What platform are you? Can you try to run vscode without any extensions?
code-insiders --disable-extensions

Hey, that helped a ton! I didn't realize there was a way to launch without extensions. It worked, so then I was able to move out my extensions one by one until I found the culprit. It was a random syntax ext. I had made months ago to fix the fact that vscode wasn't highlighting angular2 templates correctly (because of the weird [] * and () syntax in the attributes). Not related to PHP, but I'm sure the config of it broke it somehow.
Either way, it's not needed anymore since vscode supports angular2 syntax by default.
Thanks!

For me the offending extension that disabled PHP syntax coloring was sodatea.velocity namely presence of the HTML.tmLanguage file. (Apparently.)


#11 - Ignore None values

closes: #11

Codecov Report
Attention: Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 90.56%. Comparing base (4188547) to head (299a795).

Files
Patch %
Lines

hypermedia/models.py
57.14%
2 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
- Coverage   90.90%   90.56%   -0.35%
==========================================
  Files          15       15
  Lines         440      445       +5
  Branches       23       24       +1
==========================================
+ Hits          400      403       +3
- Misses         36       37       +1
- Partials        4        5       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[VMS] UI for EventsListing page header

Look at the Figma design for the EventsListing page. You will be implementing just the UI portion (no back-end data integration) for the header which contains the text "380 Results" and the "Sort by" dropdown.
You can create a new component that gets rendered by EventsPageFiltered.tsx. As an example, see how EventsPageUnfiltered.tsx renders EventsPageMainContent.
You can use material-ui's Select component. For reference, DonationPageHeaderSelect.tsx uses it.
You should use the usePosition hook. If the user selects "Closest to you", only then we should ask the user for their location. Though remember you can't use a hook conditionally. So you might have to either modify usePosition to control when the useEffect inside it gets called or think of some other clever way.
If the user has denied sharing their location information with us, we should prevent them from selecting "Closest to you"/switch to the other option. In this case, we can show a toast to the user (https://material-ui.com/components/snackbars/#snackbar) or a simple JS window alert  to tell them they can't select the "Closest to you" options since we can't their location.
For now, we won't update the URL through our dropdown.

@PC98 I am trying to figure out the best way to push the <Select> input box behind the Sort by and icon elements. I want the box to be invisible but still clickable. Currently working with opacity: 0. Setting display: none or z-index loses the interactivity. I considered just bringing the other elements over using negative margins but that seemed a bit hacky. Any suggestions?

Oh is this to avoid the bottom border of the input box? Can you just try using the disableUnderline prop, like DonationPageHeaderSelect.tsx does it.

This is to eliminate the space between the Sort by text and the menu arrow. The figma design for EventListing does not render the input box but still shows the drop-down when clicking. However, the on click does not trigger without the input box.

So I see two different things here.

For reducing the space between "Sort by" and the menu arrow, which you can customize using the IconComponent prop of Select, you can set the minWidth of the Select component (or FormControl component if you are rendering Select inside of that) to a small value. Use either className={yourClass} or classes={{ root: yourClass}} to provide this style.
I still don't understand the input box UI thing. Is a Select component, with the default variant and disableUnderline not enough to achieve the desired UI?

Another thing that might help with regards to #2: we want the default value to be "Most signed up". So perhaps the "Sort By" text can be rendered as a InputLabel

I decided to go with something a little different than the Figma, but I think it looks solid.

Though I am still having trouble coming up with ways we can control when the useEffect activates in our position hook, since useEffect is a hook in itself.

UI looks good! You can probably modify the usePosition hook to take in a boolean parameter, something like disabled or whatever name you think is appropriate. If disabled is true, the useEffect in usePosition won't try to get the current position. You will have to edit the dependencies of the useEffect to include disabled.
Any component that uses usePositoin can pass an appropriate value for disabled and that value can be controlled by some state, like the selection of the "events near you" option from our dropdown.


Serialise dt.time objects to JSON

Also added a unit test ran through tox.

CC: @mariobuikhuizen

@maartenbreddels , can I get an approval to run the workflows to see if this builds as expected?

Thanks! The build is 🟢

@maartenbreddels can I have a review on this? The build is green.

I think it looks good. The only thing is that we never use tox, so i'd rather see a simplified version that just runs pytest.

I think it looks good. The only thing is that we never use tox, so i'd rather see a simplified version that just runs pytest.

@maartenbreddels , now just using plain pytest.

Great work Vasilis!


Support Vite 6?

Vite 6 is released and this package requires maximum of Vite 5.x as peer-dependency.
Can we update it to support Vite 6 so it does not block users' migration?

@thebjorn one temporary workaround is to use overrides in your package.json
  "overrides": {
    "vite": "$vite"
  }


bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn

Objective

Part of #11590
Fix unsafe_op_in_unsafe_fn for trivial cases in bevy_ecs

Solution
Fix unsafe_op_in_unsafe_fn in bevy_ecs for trivial cases, i.e., add an unsafe block when the safety comment already exists or add a comment like "The invariants are uphold by the caller".

Waiting for James to take a look before merging.

I lament how it impacts end-to-end readabilty though given that some of these functions are nothing but unsafe, all the way through.

unsafe block is a syntactic salt to force the developer to be more careful when making changes to unsafe code. Since it is a human's responsibility to ensure the safety rules, IMHO, it's worth it to pay the cost of readability in exchange for having a well-documented code.


Distinguish between Validations and Verifications

Configuration validation/verification currently is done in a pretty error prone and inconsistent way. Moving forward we should clean up this technical debt by distinguishing between validations and verifications. The interfaces for objects in tarmak (Provider/Environment/Cluster/InstancePool/...) should have those methods:
Validations Validate() error
Validations are offline checks if the configuration is consistent. They should be executed against all objects in a tarmak.yaml config
Verifications Verify() error
Verifications can be online and they are more likely to fail and are quite expensive in terms of time spend . These verifications should only be executed for resources that are associated with the current clusters
Those sub tasks track more specific work around this effort:
EDIT me
Verifications are more

/close


Doesn't work with other package managers

Great job on the integration 🙌
One thing I found is that due to the npx command inside the package, if you run build script with something else (not npm), e.g., pnpm — the build fails. Would be nice to have an option to use other package managers as well.
Thank you!

still no fix

https://github.com/shishkin/astro-pagefind/blob/d7cf59904f824ce509aaf5301e1409abe1ff1644/packages/astro-pagefind/src/pagefind.ts#L57
this just needs to switch to something like https://www.npmjs.com/package/detect-package-manager

I removed npx call in https://github.com/shishkin/astro-pagefind/commit/5188319e7e941a901c448cb04ff395a969cdb4ca. It is released as 1.6.0


User Profiles

These commits will add extra fields to the registration page such as work hours and user biography. Users will be allowed to navigate to their own profile, and customize their own information from there.

Here's what the homepage looks like with the "My Account" button. When clicked, it will navigate the user to "profile.html/userId". So, if the user's ID is 12345, the URL will become "profile.html/12345".


Undefined method

Hi all
I have problem with scss .
Have any idea for solution?
With thanks
Jruby 1.8
Rails 3.1
torquebox/jruby/lib/ruby/gems/1.8/gems/activeadmin-0.3.1/app/views/layouts/active_admin_logged_out.html.erb where line #9 raised:
undefined method `options=' for #String:0x4416aa1b
(in vfs:/--------------------------------------------app/assets/stylesheets/active_admin.css.scss)
Extracted source (around line #9):
6:   <%= [@page_title, active_admin_application.site_title].compact.join(" | ") %>
7:
8:   <% ActiveAdmin.application.stylesheets.each do |path| %>
9:     <%= stylesheet_link_tag path %>
10:   <% end %>
11:   <% ActiveAdmin.application.javascripts.each do |path| %>
12:     <%= javascript_include_tag path %>

Hello,
Do you still have this issue?


panel.visibleIf doesn't work correct for only panel on the Panel

The following plunker example doesn't work correctly.
The origional issues was created on suveyjs support forum

Unit tests have been added and fixed


Vivado HLS co-simulation failed with SIGSEGV error under default settings, any idea?

Hi,
I have been trying to get this great project up and running. I was able to run C simulation and C Synthesis successfully under Vivado HLS. After that, I tired to run C/RTL co-simulation hoping to further understand what's going on at the hardware level.
So I took the original "hls-syn.tcl" script and add an additional line of command:
cosim_design -trace_level none -tool xsim -argv "$alphabet $test_image $expected_result"
My new "hls-syn.tcl" script essentially looks like this:
# syntesize and export
create_clock -period $config_clkperiod -name default
csim_design -argv "$alphabet $test_image $expected_result" -compiler clang
csynth_design
cosim_design -trace_level none -tool xsim -argv "$alphabet $test_image $expected_result"
export_design -format ip_catalog
exit 0
However, when I re-ran the "make-hw.sh" script like this:
./make-hw.sh plain W2A2 pynq h
My Vivado HLS threw me an error and eventually stopped the co-simulation process:
INFO: [Common 17-206] Exiting xsim at Thu Sep 10 00:24:02 2020...
INFO: [COSIM 212-316] Starting C post checking ...
3 parameters are:
1 - Alphabet path: /home/huangbin/labs/xilinx/LSTM-PYNQ/lstm/src/../datasets/plain/alphabet.txt
2 - Quantized input image:/home/huangbin/labs/xilinx/LSTM-PYNQ/lstm/src/../../tests/Test_images/plain/W2A2/test_image.txt
3 - Expected result:/home/huangbin/labs/xilinx/LSTM-PYNQ/lstm/src/../../tests/Test_images/plain/W2A2/test_image_gt.txt
lstm_ocr_from_file_path() starts
lstm_ocr(): ready to execute topLevel_BLSTM_CTC()
ERROR: System recieved a signal named SIGSEGV and the program has to stop immediately!
This signal was generated when a program tries to read or write outside the memory that is allocated for it, or to write memory that can only be read.
Possible cause of this problem may be: 1) the depth setting of pointer type argument is much larger than it needed; 2)insufficient depth of array argument; 3)null pointer etc.
Current execution stopped during CodeState = ENTER_WRAPC_PC.
You can search CodeState variable name in apatb*.cpp file under ./sim/wrapc dir to locate the position.
ERROR: [COSIM 212-379] Detected segmentation violation, please check C tb.
ERROR: [COSIM 212-362] Aborting co-simulation: C TB post check failed.
INFO: [COSIM 212-211] II is measurable only when transaction number is greater than 1 in RTL simulation. Otherwise, they will be marked as all NA. If user wants to calculate them, please make sure there are at least 2 transactions in RTL simulation.
command 'ap_source' returned error code
while executing
INFO: [Common 17-206] Exiting vivado_hls at Thu Sep 10 00:24:03 2020...
ERROR: System recieved a signal named SIGSEGV and the program has to stop immediately!
ERROR: [COSIM 212-379] Detected segmentation violation, please check C tb.
ERROR: [COSIM 212-362] Aborting co-simulation: C TB post check failed.
Error in Vivado_HLS
I have been searching for this error message a lot. Someone in Xilinx forum suggested that input variable needs to be declared as "static" type or allocated with "malloc". I double-checked the source code and concluded that this is unlikely to be the cause. Other people in Xilinx forum hints that the depth of the AXI master interface has to be exactly the size of the input data from the testbench. Then I noticed that the default depth of the AXI master interface is 4096 for input buffer and 2048 for output buffer:
void topLevel_BLSTM_CTC(ap_uint<32> numberColumns,
ap_uint<32> numberColumnsTwice,
ap_uint<32> numberBytesRead,
ap_uint * input_buffer,
ap_uint * output_buffer)
{
......
#pragma HLS INTERFACE m_axi offset=slave port=input_buffer bundle=hostmem depth=4096
#pragma HLS INTERFACE s_axilite port=input_buffer bundle=control
#pragma HLS INTERFACE m_axi offset=slave port=output_buffer bundle=hostmem depth=2048
#pragma HLS INTERFACE s_axilite port=output_buffer bundle=control
......
}
However, no matter how I changed the depth value according to the size of test image, I still got the same SIGSEGV error. (BTW, the test image I used is LSTM-PYNQ\tests\Test_images\plain\W2A2\test_image.txt.)
What should I do so that I can get co-simulation to work? Or, has anyone ever got co-simulation working?
Thanks in advance.

Hi, have you found a way to solve the error yet? I'm having the same problem and it's killing my soul


Create enumeration with ISO country codes

As discussed in #19 we'll have at least two fields which are about a countries either of origin or acquisition currently food_acquisition_country, food_origin_country. We should create an enum for these using the ISO codes. As discussed in #19 the question is if we should use the two (ISO 3166-1 alpha-2) or three letter ISO codes ISO 3166-1 alpha-3.
I am pretty convinced by the arguments in https://andrewwhitby.com/2021/01/08/the-right-country-codes/ that the 3 letter code is better and less ambiguous than the 2 letter code, but happy to hear arguments to the contrary. The Periodic Table of Food Initiative (PTFI) for example is using the 2 letter codes currently.
My currently plan is use python to parse the wiki page for ISO codes or similar and generate the linkML enum which uses the ISO 3 letter codes as the enum values with their the country names as the country names as the Description. Perhaps we can also map that to the ISO 2 letter codes in the Enum TBD (for me) how to do that correctly in LinkML. I don't think Meaning is correct as ISO country codes aren't IRIs/curies from a semantic web resource as far as I'm aware.
Suggestions welcome.

Hello, @kaiiam, would the map from two-letter to three-letter country codes allow conversion to be done automatically using the linkml-convert tool? This would be an advantage over keeping (and periodically updating) a separate table of code conversions in the Foundation Foods QC application.

would the map from two-letter to three-letter country codes allow conversion to be done automatically using the linkml-convert tool?

At the moment I don't think so that'd be an interesting question for the LinkML team if that could be something which would be possible. Aka if there was an Enum the values of which had mappings to other strings would linkML validate or convert be able to do the mappings and auto-convert? @sujaypatil96 @turbomam? let me know what you guys think.
For example if we had an ENUM with the iso3 letter code as the value, and the iso2 code as the Meaning, could we use linkML convert or something else to auto convert data that had the 2 letter codes to the 3 letter codes as we'd be specifying in the enum?

Value
Meaning
Description

AFG
AF
Afghanistan

AUS
AU
Australia

My understanding is that the meaning slot is suppose to be curies so perhaps it wouldn't work with strings. But please weight in if this maybe possible.

Yes, meanings must be CURIes or URIs, never strings. You can put bare strings into the meanings, but then the LinkML tools will get confused because it will think the CURIes are all relative to some base prefix, and in my opinion LinkML doesn't t have good tooling for that. Just use CURIes.
That doesn't mean that this isn't a good idea!
I can't imagine any real conversion taking place during linkml-convert, with one important exception. When converting to RDF, the CURIe for each permissible value of the enumeration will become the meaning value. That means, if you populate your meanings with CURIes from some some other dataset about countries or other locations, and you load the RDF serialization of your data and the RDF serialization of that location dataset into the same RDF triple-store database, you could build an excellent knowledge graph of information about food components with respect to geographical or geopolitical locations. You can extend this pattern in may additional ways, but I'll get off the RDF soapbox now.
You can also annotate your permissible values with all sorts of other string or CURIe values in all sorts of other metaslots, but a conversion of values will likely have to be implemented in some external logic, using a SchemaView or the Python representation of your schema as a guide. I could start you with a minimal example, but somebody from you team would have to do the bulk of the work.
It's also possible that you could implement some conversion with LinkML Map. It's feature set has really been growing recently, but I have very little experience with it
So I have two suggestions for you:

Start thinking about the environment, workflow or tool-chain in which you will be applying your MIFC schema.  You're going to be interacting with databases at some point, right? (Not files) If so, then you should probably develop some familiarity with LinkML-Store at some point.
It will be extremely valuable for you to participate in the LinkML developer meeting every Friday or the monthly LinkML community meetings on Thursdays, including next Thursday July 18th!

Thanks @turbomam I appreciate it. At the moment the plan is to use MIFC to validate and convert tabular data into JSON so that the USDA contractor Inonde can import it cleanly into a JSON or similar database of their choice/implementation. It could be good for them to check out LinkML-Store, I'll bring that to their attention.
Yes I'm doing my best to make the LinkML meetings.
@GregLyonJIFSAN based on Mark's answer there isn't an obvious linkML solution to this problem at the moment. So if we go with iso3 and PTFI is using Iso2 we'll need to use an external application (Python or R etc) to do that mapping.

Added.


Ability to return a IAsyncOperation with a value

Today if you want to return an IAsyncOperation with a specific value, you either need to use a coroutine and implement IAsyncOperation yourself. However in some cases you might just want to return a value synchronously as if you returned the type itself but use an IAsyncOperation.

Sure, you can do that (what @sylveon also suggested) but that doesn't get away from the fact that a new async object is allocated, which is precisely what a coroutine will do for you.

That's right that it will allocate a new async object however in some othercase it will return an existing object and only return a new object with the existing method can't be used or doesn't work. Something like .NET's Task.FromResult method. A coroutine can't have both return and co_return, it must have a co_return otherwise it can't be a coroutine.

Yep, I just don't see this as a very common scenario nor the cost of coroutines so prohibitive to necessitate this. But you're certainly free to do as @sylveon suggested and write a simple implementation of IAsyncOperation that does just that. If you then find it works remarkably well you can always come back here with that experience and we can reconsider including something like that more directly.

FWIW Task.FromResult in C# allocates. Using a ValueTask wouldn't in the case of a non-async return but value tasks have several other pitfalls.


Support custom delimiters

It would be nice if expression delimiters { and } could be customized (e.g. setting them to {{ }} or ${ } etc.)

I made a PR #84 for this issue.

@avi commented on this in #84.
We waited to get some extra feedback and received none for quite a while, so we guess this feature is not supported.
We'll reopen this if this changes.


Add a sample of Solidity's project on the Ethereum blockchain

Please help us make a simple sample project in the /solidity/ethereum/ directory, preferably a more standard project on the Ethereum chain, that expresses as much as possible the effectiveness of the tools used in the Solidity build process.

assign to me @wangeguo


Problem Definition: Object-Oriented Improvements for generate_cutoff_times(...)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Hope to support multiple 'ROOT_URL'

Feature Description
Hope to support multiple 'ROOT_URL'
I use FRP to access the internal network when I was outside
I hope to have faster access when using the internal network
Screenshots
No response

As a workaround, you can switch the DNS ip when you visit from outside and internally.

That's impossible in many cases because the server doesn't know the "correct" root URL, for example: when sending webhook requests.


Documentation - policy attributes does not include the "ism_template" field

Please update the documentation.
https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/policies/
Please add the "ism_template" field to the policy object.
Thanks

Thanks for the feedback. Added -https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/policies/.


Chat - IOU chat thread parent link looks links From <root report persons name/email> ows/paid $XXX

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

Issue found when executing PR https://github.com/Expensify/App/pull/20484
Action Performed:

Login to NewDot
Open any IOU chat
Send message
Created thread to message
Observe parent link in the header

Expected Result:
User assume it should be From <root report persons name/email>
Actual Result:
Parent link looks like From <root report persons name/email> owes/paid $XXXX instead of From <root report persons name/email>
From A owes $10 instead of From A
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/2a08fe32-52d9-40bc-9bdc-d0a0793f3210
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

This is not a deploy blocker cc @grgia or @chiragsalian I assume this is expected now as that is the reportName of the parent report.

Should we even close this issue?

I agree, pretty sure this is expected behavior

Yup, its expected behavior for now, i.e., from non-policy chat thread it shows From  <the rootmost report name>. Closing issue. We will probably update this in time but for now its the design that we've chosen to go ahead with.


WIP: DOC: Update Azure Pipelines badge URL's

For unknown reasons, Azure Pipelines lost GitHub access credentials.
The builds have been re-configured, but the badge URL's need to be
updated.
Windows Python builds have not lost access yet -- if they do, it will be
addressed in another patch.
xref #1102

@thewtex Why is the mac python build named differently?  I expected ITK.macosx.Python for the name.

All builds have now been updated.


refactor: cleanup configuration parser

Codecov Report

Merging #324 (c0432ad) into main (1a679b5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
+ Coverage   95.79%   95.80%   +0.01%
==========================================
  Files          17       17
  Lines        1117     1121       +4
==========================================
+ Hits         1070     1074       +4
  Misses         47       47

Impacted Files
Coverage Δ

src/ops2deb/updater.py
90.99% <ø> (ø)

src/ops2deb/formatter.py
96.61% <100.00%> (ø)

src/ops2deb/generator.py
94.69% <100.00%> (+0.29%)
:arrow_up:

src/ops2deb/parser.py
97.60% <100.00%> (-0.05%)
:arrow_down:

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


Devices unavailable after upgrade from 2021.9.6 to 2021.9.7

After upgrading Home Assistant to 2021.9.7, few devices became unavailable.  I believe sonoff v3.5 and 3.6 were the ones affected. They worked again soon after restoring 2021.9.6.  The device acted normally from native ewelink.
Is this a new incompatibility issue?

Is problem still actual?

I skipped that version (i.e. 2021.9.7) and I have not encountered this
problem since then. Im now at 2021.11.3 without any issues.
On Fri, Nov 19, 2021 at 9:46 PM Alex X @.***> wrote:

Is problem still actual?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AlexxIT/SonoffLAN/issues/597#issuecomment-974371820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL236VAXGGITRK6TRFPEOJLUM2SQ7ANCNFSM5EUDCQ4Q
.
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.


The SQL error log file location is not accurate

[Enter feedback here]

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

ID: b99ed779-741e-83b3-1c6c-74e7f99d0869
Version Independent ID: 566bb4dc-6af9-e843-3b59-0ea6dce4c4ed
Content: Viewing the SQL Server Error Log - SQL Server
Content Source: docs/tools/configuration-manager/viewing-the-sql-server-error-log.md
Product: sql
Technology: tools-other
GitHub Login: @markingmyname
Microsoft Alias: maghan

@JamesRPeabody -- James, thank you for your feedback.  Is this the documented location that's inaccurate?

View the SQL Server error log by using SQL Server Management Studio or any text editor. For more information about how to view the error log, see Open Log File Viewer. By default, the error log is located at Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and ERRORLOG.n files.

Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- Mark, please look into this potential documentation issue.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site or the Q & A site.


Bump playground:0.8.6 & whale:0.8.9 in docker-compose.yml

What kind of PR is this?:

/kind dependencies

Codecov Report

Merging #182 (2222028) into main (cab5b23) will decrease coverage by 3.88%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
- Coverage   71.92%   68.03%   -3.89%
==========================================
  Files          34       20      -14
  Lines         317      219      -98
  Branches       72       52      -20
==========================================
- Hits          228      149      -79
+ Misses         84       67      -17
+ Partials        5        3       -2

Impacted Files
Coverage Δ

src/components/commons/popover/HoverPopover.tsx
0.00% <0.00%> (-70.00%)
:arrow_down:

src/components/commons/Link.tsx
66.66% <0.00%> (-33.34%)
:arrow_down:

src/layouts/contexts/WhaleContext.tsx
55.55% <0.00%> (-7.41%)
:arrow_down:

src/layouts/contexts/PlaygroundContext.tsx
60.00% <0.00%> (-6.67%)
:arrow_down:

src/layouts/contexts/Environment.ts
81.25% <0.00%> (-6.25%)
:arrow_down:

src/components/icons/tokens/IconETH.tsx

src/components/icons/tokens/index.ts

src/components/icons/tokens/IconDOGE.tsx

src/components/commons/AdaptiveTable.tsx

src/components/icons/tokens/IconDFI.tsx

... and 9 more

Continue to review full report at Codecov.

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


Cannot list topics or nodes after launching planning_simulator.launch.xml in Autoware Universe Docker container

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[ ] I'm convinced that this is not my fault but a bug.

Description
I am facing an issue where, after successfully launching the planning_simulator.launch.xml in the Autoware Universe (CUDA version) Docker container, I am unable to list any ROS 2 topics or nodes using the commands ros2 topic list or ros2 node list. Both commands return no output, even though the simulator itself seems to be functioning normally, and RViz is displayed correctly.
Expected behavior
I expect to see a list of active topics and nodes after launching the Planning Simulator, allowing me to monitor and interact with the simulation.
Actual behavior
No output is generated by the ros2 topic list or ros2 node list commands. The Planning Simulator and RViz display correctly, but it seems like the topics and nodes are not available or not properly advertised.
You can see my terminal output from here.

In another terminal, try listing topics:

ros2 topic list

Try listing nodes:

ros2 node list

Versions

OS: Ubuntu 22.04
ROS 2 Distro: Humble
GPU: NVIDIA GeForce GTX 1660 Ti
Driver Version: 555.42.02
Docker Version: 27.1.2
Autoware Docker Image: ghcr.io/autowarefoundation/autoware:universe-cuda

Possible causes
No response
Additional context
Any guidance or suggestions on how to resolve this issue would be greatly appreciated!

I believe the issue is that the network/DDS configuration is not the same between the docker environment (where Autoware and Rviz are running), and your host environment (where you are running ros2 topic list).
If that is the case, you have 2 possible solutions:

Fix the network settings (I think following these instructions should work).
Run the commands from inside the docker container. (docker exec -it <mycontainer> sh to start a new shell in the container).


Add basic UI

Hello Reviewer 👋,
In this PR, I have worked on adding a basic UI feature to the school library app project.
Here is what I have done:

[ ] Create an app.rb file, which will serve as my console app entry-point.
[ ] Define methods in app.rb for listing all books, listing all people, creating a person (teacher or student), creating a book, creating a rental, and listing all rentals for a given person's id.
[ ] create a main.rb file, and define the entry point method main, which will be invoked at the end of the file. This method presents the user with a list of options, let the user choose an option, ask for parameters if needed, and provide a way to quit the app

Kindly check my code and let me know what you think.
Best Regards.
Happy coding🎉🎉

Thanks, @DammyShittu for approving my project🙏💪


Publish code coverage report

AB#7073

thanks for reporting this issue, we have since released a new version of the SDK which this issue doesn't apply to. We encourage you to migrate to the new version and open a new issue if you still need help


Enable Integration Tests on CircleCI for S3

Some integration tests are currently only able to run locally & are not enabled in the pipeline. This should change.
Therefore, enable the Zenko Cloudserver for the pipeline builds, so we can run our tests there as well.

https://github.com/corona-warn-app/cwa-server/pull/580


angular.js:13920 TypeError: Cannot read property 'length' of undefined

I have installed the component via bower using the version 4.0.0.
The component was rendered but when I click in the button to see the options the error bellow occurs:

angular.js:13920 TypeError: Cannot read property 'length' of undefined
at Scope.link.$scope.refreshButton (isteven-multi-select.js:521)
at fn (eval at compile (angular.js:14817), :4:980)
at expensiveCheckFn (angular.js:15906)
at callback (angular.js:25885)
at Scope.$eval (angular.js:17682)
at Scope.$apply (angular.js:17782)
at HTMLButtonElement. (angular.js:25890)
at HTMLButtonElement.dispatch (jquery.js:4435)
at HTMLButtonElement.elemData.handle (jquery.js:4121)

I'm using the array of objects, exactly like the quick start instruct. But I'm using the variable in the context of controller instead of in the $scope. I also tried to put the variable in $scope but had the same result!
My AngularJS version is above 1.5 and I'm using chrome to test!
I tried these two flavors with the same result:
    <div
      isteven-multi-select
      input-model="modal.modernBrowsers"
      output-model="modal.outputBrowsers"
      button-label="icon name"
      item-label="icon name maker"
      tick-property="ticked"
    >
    </div>

    <isteven-multi-select
      input-model="modal.modernBrowsers"
      output-model="modal.outputBrowsers"
      button-label="icon name"
      item-label="icon name maker"
      tick-property="ticked"
    >
    </isteven-multi-select>

How can I solve that problem???
Thank you very much!
PH

Please, disregard that Issue! My bad!
I have used another controller :-(


collection exercise event status display

What and why?
The purpose of this PR is to display collection exercise event status to a user via the interface on the survey list and collection exercise details page.
How to test?

Create a CE and fill out event dats for MPS, go live, reminders and nudge emails.
In the database, edit some of the event statuses from SCHEDULED to RETRY, PROCESSING, and/or FAILED.
Make sure event status indicators are appearing as intended (look at scenarios on Trello card).

NOTE: Because of a bug unrelated to this card, you can't currently create a fifth nudge email for a CE without causing a 500 error, but you can create the first four, and HTML code has been supplied to handle a fifth nudge email, so that one should be okay assuming the other events are okay.
Trello
Card

/deploy wilkia

How do you test a RETRY status without just hard coding it for an event?

Missing a unit test for it. Probably needs one for the exericse list page and one for the exercise page itself where it shows the text appearing when the events have one or more of those states

Done.

Not sure why this was closed >_<


docs: add description to select element section

Changes proposed
A simple description that explains the structure needed to add the options list to the select element.

@MorenoMdz I didn't understand what this documentation is about, are you talking about defaultValue of select element? If yes, then you must explicitly say that in the documentation.

The idea is to clarify the structure each option item should have.

Maybe we can clarify it even better, i mean by something like this:
Every <Select /> component must receive options property with an array of option. Every option inside this array must be an object with id and title as shown in the example below.
What do you think about it @MorenoMdz?
Please, if you'll edit the content of your commit, just amend with the last commit instead of creating a new one, also please follow our commiting rules so keep the first letter of the commit subject in uppercase: docs: Add description to select element section.
Also please keep your commit body within 72 characters length, so it will be something like this:
Simple description that explains the structure needed to add the option
list to the select element.

Alright, I will update it later tonight, I misread the subject part as it said the type should be lowercase and I missed that the subject should be capitalized.


Test-DscParameterState Enhancements

Pull Request (PR) description
Enhancements for Test-DscParameterState:

It can now deal with hashtables and CimInstance arrays
It provides an optional reverse checks. This is for actively detecting properties in the current state that are missing in the desired state.
It can optionally internally sort arrays if the order is not important
Fixes a bug in Test-DscParameterState where even if types did not match the function returned $true

This PR actually targets only the function Test-DscParameterState and the new functions ConvertTo-CimInstance and ConvertTo-Hashtable now required by Test-DscParameterState. All other code in the common module was only touched by the VSCode code style formatter.
This Pull Request (PR) fixes the following issues
Fixes #401
Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md in resource folder.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #402 into dev will decrease coverage by 1%.
The diff coverage is 47%.

@@         Coverage Diff         @@
##            dev   #402   +/-   ##
===================================
- Coverage    96%    94%   -2%
===================================
  Files        27     27
  Lines      2170   2215   +45
===================================
+ Hits       2084   2104   +20
- Misses       86    111   +25

Hi @raandree - just some line length issues with the markdown:
https://ci.appveyor.com/project/PowerShell/networkingdsc/builds/24932653?fullLog=true#L1632
I'll review once they are fixed.

Hi @PlagueHO, I am not getting this. The lines that I have added to the changelog.md are shorter than many others in the file. This error seems to me more like a warning, isn't it?
The errors that I can see are these ones:
https://ci.appveyor.com/project/PowerShell/networkingdsc/builds/24932653?fullLog=true#L2414
        [-] Should not be missing the localized string key InvalidCurrentValuesError from the localization resource file 129ms
2415
          Expected 'InvalidCurrentValuesError' to be found in collection @('InterfaceAliasNotFoundError', 'DNSServerStaticAddressNotSetMessage', 'NoMatchValueDifferentCountMessage', 'NoMatchElementTypeMismatchMessage', 'NoMatchPsCredentialUsernameMessage', 'NoMatchTypeMismatchMessage', 'MatchPsCredentialUsernameMessage', 'NoMatchValueMessage', 'GettingDNSServerStaticAddressMessage', 'MultipleMatchingNetAdapterFound'), because the key is used in the resource/module script file so it should also exist in the localized string resource files, but it was not found.
2416
          1412:                         $englishLocalizedStrings.Keys | Should -Contain $LocalizedKey -Because 'the key is used in the resource/module script file so it should also exist in the localized string resource files'
2417
          at <ScriptBlock>, C:\projects\networkingdsc\DscResource.Tests\Meta.Tests.ps1: line 1412
2418
        [+] Should not be missing the localized string key InvalidDesiredValuesError from the localization resource file 40ms
2419
        [+] Should not be missing the localized string key InvalidNetAdapterNumberError from the localization resource file 36ms
2420
        [+] Should not be missing the localized string key InvalidValuesToCheckError from the localization resource file 32ms

https://ci.appveyor.com/project/PowerShell/networkingdsc/builds/24932653?fullLog=true#L5583
   Context When adapter exists and is enabled, desired state is enabled, no action required
5583
Set-TargetResource : Set-TargetResource: Failed to set network adapter 'Ethernet' to state 'Enabled'. Error: 'No MSFT_NetAdapter objects found with property 'Name' equal to 'Ethernet'.  Verify the value of the property and
5584
retry.'.
5585
At C:\projects\networkingdsc\Tests\Unit\MSFT_NetAdapterState.Tests.ps1:129 char:23
5586
+ ...                { Set-TargetResource @setTargetResourceEnabled } | Sho ...
5587
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5588
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
5589
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Set-TargetResource
5590

5591
      [+] Should not throw an exception 174ms
5592
      [+] Should not call Disable-NetAdapter 31ms

Hi @raandree - ah right, I missed the other two errors.
The two long lines in the Markdown look shorter, but the other long lines are allowed to exceed the maximum line length because they are contain links (which don't count towards line length). Best way to see this is to add the markdownlint extension in VSCode - this will underline any markdown rule violations.
The other error indicates that you're referring to a localization string that doesn't appear in the localization file. Specifically:
InvalidCurrentValuesError
This is caught by the new localization meta tests this repo opted into a couple of weeks back. Easy fix is to add the missing string to the localization file.

Thanks @PlagueHO, taking care of this right now.

I will start the migration to DSCResource.Template next week. Let me finish the Wins PR first and the one still open in xDnsServer.


Vagrant OS X pkg: symlinks in /usr/bin will not be supported on El Capitan

On OS X 10.11, installing the vagrant pkg will result in success, however a new security feature of OS X prevents user modification to certain system folders, including /usr/bin (it can be overridden, but non-trivially). A snippet from the install log where a symlink attempts to be created in /usr/bin:
Jun  9 12:48:37 test-mini installd[375]: ./postinstall: ln: /usr/bin/vagrant: Operation not permitted

Tools and Puppet and Chef have similar issues, for example:
https://tickets.puppetlabs.com/browse/PUP-4714
/usr/local/bin is in the default PATH so it seems natural that the vagrant symlink could go there. Alternatively there's also the option of dropping additional paths in /etc/paths.d, but I'm not sure which shells beyond the stock Bash will automatically include those.

The following allowed me to get vagrant up and running on 10.11, not sure if it's the best dir to use.. but it works:
cd /usr/local/bin
ln -s /opt/vagrant/bin/vagrant vagrant

Fixed, will be in 1.7.3. Moving to /usr/local for now.

FWIW, this is still an issue in 1.7.4 on 10.11. Brian's solution worked for me.

Unboxed brand new MacBook today; hoped to be productive very soon thanks to Vagrant but ran into this issue, unfortunately.

What was the exact issue? Did the pkg installer fail?
Does /usr/local/bin actually exist on a brand new out-of-the-box 10.11 system? I noticed this issue in the install script, and now see it was resolved in https://github.com/mitchellh/vagrant-installers/pull/62, but that change is not yet in a released pkg.

Thanks for the fast reply! The installer did not fail, just as this issue states, it fails 'silently', but vagrant is not in path after installation. I see how #62 indeed creates /usr/local/bin and would fix the issue.

Yeah. Most people get /usr/local/bin on their system if Homebrew is something they use and set up early. It's in the default PATH, but not necessarily created unless by something like an installer pkg. Since 10.11 and SIP, probably many more installer packages will be putting things here though.

For me, vagrant was the very first thing I installed. If I'd installed vagrant via Homebrew, things might have been fine...

"that change is not yet in a released pkg" <-- guess it is now


+setplaylistvaroverride "custom_air_accel_pilot [value]" does not work

Hi,
Me and my friend are trying to configue a server. Unfortunately it doesn't quite work the way it is supposed to work. We are trying to override the "custom_air_accel_pilot" variable based of of this video. As I said, this is not working, the variable is still the same. We couldn't find any other documentation on this page, Youtube or any other website. Any help would be appreciated

The command is actually +setplaylistvaroverrides "custom_air_accel_pilot [value]"`
You forgot to add a s at the end of override.

You forgot to add a s at the end of override.

Yeah, that's on me. I had a typo in the command on the wiki :c


How to make a prediction in a program, what kind of form does the data set for predict need to be made?

I think README.md should cover everything you need to start. If you have more specific questions about the codebase, please don't hesitate to open new issues.


fix windows build

Can one of the admins verify this patch?

@tensorflow-jenkins test this please
Thanks for the fix!


Release APK crashes on start on Android 8

Hi,
Using RN 0.48.3, my app does launch well on device on dev mode, but fails to start when I use a the release build on my device with Android 8.0 (Oreo).
Not so much information about this, react-native log-android simply says:
--------- beginning of system
--------- beginning of main
10-17 16:41:03.646 11483 11483 D ReactNative: ReactInstanceManager.ctor()
10-17 16:41:03.664 11483 11483 D ReactNative: ReactInstanceManager.createReactContextInBackground()
10-17 16:41:03.664 11483 11483 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
10-17 16:41:03.664 11483 11483 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
10-17 16:41:03.785 11483 11483 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
10-17 16:41:03.786 11483 11483 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
10-17 16:41:03.787 11483 11519 D ReactNative: ReactInstanceManager.createReactContext()
10-17 16:41:04.069 11483 11519 D ReactNative: Initializing React Xplat Bridge.
10-17 16:41:04.073 11483 11519 D ReactNative: Initializing React Xplat Bridge before initializeBridge
10-17 16:41:04.134 11483 11519 D ReactNative: Initializing React Xplat Bridge after initializeBridge
10-17 16:41:04.134 11483 11519 D ReactNative: CatalystInstanceImpl.runJSBundle()
--------- beginning of crash

Everytime it stops on CatalystInstanceImpl.runJSBundle(), with no error provided.
How to debug this properly? Any ideas on what's happening there?

@enguerranws did you resolve this problem, i got the same ?
and can not guest why this happend


Blazor Admin Layout

How can i create AdminLayout and Page in Blazor

What do you mean with AdminLayout and Page? Have you looked into the documentation yet? You should put some effort into adding an issue. You should not just put a sentence here and expect people to turn around and explain you everything. If you don't put the effort into creating a ticket do you honestly expect people to put their time looking at your problem? Come on, have some respect for other people's time!


bevy_reflect: Improve List::push and List::pop docs

How can Bevy's documentation be improved?
The docs on List::push and List::pop should better explain the directionality of those operations, as explained in this comment.
We should direct manual (and internal) implementors to uphold the contract that:

"pushing" always appends the element to the end of the list
"popping" always removes the element from the end of the list

The docs already do this to an extent, but they could give just a bit more detail and make the guarantee more explicit so implementors don't miss it!

I clarified the meaning of first/front element and last/back element with some emphasis. What do you think, should I make a PR?
/// An ordered, mutable list of [Reflect] items. This corresponds to types like [`std::vec::Vec`].
///
/// This is a sub-trait of [`Array`] as it implements a [`push`](List::push) function, allowing
/// it's internal size to grow.
///
/// This trait expects index 0 to contain the _first_ or _front_ element.
/// The _last_ or _back_ element refers to the element with the largest index.
pub trait List: Reflect + Array {
    /// Appends an element to the _back_ of the list.
    fn push(&mut self, value: Box<dyn Reflect>);

    /// Removes the _last_ element from the list and returns it, or [`None`] if it is empty.
    fn pop(&mut self) -> Option<Box<dyn Reflect>>;

    /// Clones the list, producing a [`DynamicList`].
    fn clone_dynamic(&self) -> DynamicList {
        DynamicList {
            name: self.type_name().to_string(),
            values: self.iter().map(|value| value.clone_value()).collect(),
        }
    }
}

I wonder if words like last should backlink to those docs? 🤔

By the way, how do I create backlinks? 🤔

Personally I prefer end over back, but maybe that's just me

Don't mind personally, but front/back would match the method names and docs for VecDeque so I think we should go with that.


[HIPIFY][feature] Add a new function call transformation type "additional non-const arg"

The additional arg should be declared before the function call with the specified assigned value or created in case of pointer type.
[Example]
cudnnGetRNNDescriptor_v6 -> miopenGetRNNDescriptor_V2,
where such an additional arg is miopenRNNBiasMode_t *biasMode

Implemented by #1001


On Linux, failing to bind the address on Start generates a coredump

When starting Kestrel on a port that is taken an exception is thrown. e.g.:

System.IO.IOException: Failed to bind to address https://<IP_ADDRESS>:5001: address already in use

Since this exception is not handled, the runtime calls abort which (normally) generates a coredump (see https://github.com/dotnet/coreclr/issues/17929).
The behavior seems excessive for failing to bind the port. Maybe there should be a try/catch somewhere to turn this into a non-success process exit?
It may not be obvious these coredumps are being generated. And when seeing these dumps on their system, users may get the wrong impression dotnet failed in some bad way.
CC @davidfowl @halter73 @mikem8361

We periodically close 'discussion' issues that have not been updated in a long period of time.
We apologize if this causes any inconvenience. We ask that if you are still encountering an issue, please log a new issue with updated information and we will investigate.


How does the official example "sample_unity_bodytracking" convert the joint coordinate to the Unity?

In the example sample_unity_bodytracking, the program converts each joint coordinate to the coordinate in Unity.
I know that the official document has described a bit about the joint coordinate. I believed it is unclear for someone who wants to convert the joint coordinate into other 3D software like Maya and blender. For example,
Quaternion leftHipBasis = Quaternion.LookRotation(xpositive, -zpositive);
Why xpositive and -zpositive are put into the left hip joint coversion?
In the code file TrackerHandler.cs, it did the conversion. Could you provide some hints or reference on how you do the conversion?

Hi @Chang-Che-Kuei
LookRotation takes two arguments: forward and upward vectors.
In our case forward is xpositive (right) and -zpositive (backward)
Quaternion leftHipBasis = Quaternion.LookRotation(xpositive, -zpositive);
‘Z axis will be aligned with forward, X axis aligned with cross product between forward and upwards, and Y axis aligned with cross product between Z and X.’ Quaternion.LookRotation
So, after conversion, the Z axis will face right, X will face upward (product of right and backward) and Y will face forward, which is exactly what the documentation picture depicts.

Hi I hope this doesn't make things more confusing but I annotated the code that converts from right hand to left handed systems in order to use the Kinect rotation output with Unity.   In order to convert to Maya you don't need to convert to a left handed system so you could leave that part out.  You would need to remember that the rotations we get below need to be changed in Maya to account for pre rotations that are on rig joints.
for (int jointNum = 0; jointNum < (int)JointId.Count; jointNum++)
        {
            /// For translation the coordinate system of the Azure Connect is positive z-forward in the direction the camera is pointing, positive y-down where the screw mount is
            /// and positive x-right towards the RGB camera.  https://docs.microsoft.com/en-us/azure/kinect-dk/coordinate-systems
            /// this is a standard right handed coordinate system rotated 180 about the z axis.
            /// For the purposes of this sample app in Unity we have a game object representing the Azure Kinect Device that has the
            /// standard y-axis pointing up, x axis pointing right and the z axis point forward.
            /// In Unity they use a left handed coordinate system so it is necessary to convert from right to left handed coords.
            /// The easiest thing to do here was to just negate the y value coming from the Azure Kinect Skeleton Data
            /// Then Translation values will be consistent with a left handed system with 0,0,0 at the camera origin and pos z in the direction of the camera
            /// pos y in the up direction and positive x to the right.
            Vector3 jointPos = new Vector3(skeleton.JointPositions3D[jointNum].X, -skeleton.JointPositions3D[jointNum].Y, skeleton.JointPositions3D[jointNum].Z);

            /// to go from camera relative coordinates to a camera offset in Unity world coordinates
            /// we multiply by the world rotation of the camera game object
            /// which in this case is our local transform.
            Vector3 offsetPosition = transform.rotation * jointPos;

            /// then add the camera world position to get the joint world position
            Vector3 positionInTrackerRootSpace = transform.position + offsetPosition;

            /// now we need to convert the rotation from right handed coordinate sytem coming from the Azure Kinect skeleton data
            /// to the left handed system needed by Unity.
            /// Here I do that by rotating the kinect rotation by 180 degrees about the y axis.  You could also do this by negating the z and x coordinates of
            /// the Kinect joint rotation.  Either way is fine.
            ///
            ///
            /// the quaternion coming from the kinect device for each joint is created below as
            /// new Quaternion(skeleton.JointRotations[jointNum].X, skeleton.JointRotations[jointNum].Y, skeleton.JointRotations[jointNum].Z, skeleton.JointRotations[jointNum].W)
            /// it can be seen as composed of A*B where A is the pre rotation that puts the joint into T-Pose in the Kinect Skeleton
            /// and B is then the offset that represents the current delta of that rotation that has been read by the tracker.
            /// From Linear Algebra we know that A*B*Ainverse => gives the rotation C which is B represented in the standard basis.
            /// This means we have a delta joint rotation relative to the standard right handed system that the Kinect is based on
            /// in the code below this rotation is mutiplied by the Y_180_FLIP to convert to the Unity Left handed system.
            ///
            /// If we create a intermediate rig where all joints have the identity rotation to be in T-pose, then the A*B*Ainverse rotation above will put each
            /// joint into the pose that the tracker is reading.  For each joint A*B*Ainverse is a rotation relative to the root of the rig, they are not relative
            /// to a parent joint
            ///
            ///
            /// here A is the basis rotation we initialized above and B is some unknown offset
            Quaternion AB = new Quaternion(skeleton.JointRotations[jointNum].X, skeleton.JointRotations[jointNum].Y, skeleton.JointRotations[jointNum].Z, skeleton.JointRotations[jointNum].W);

            Quaternion ABAinverse = AB * Quaternion.Inverse(basisJointMap[(JointId)jointNum]);

            /// here we convert from right to left handed coordinates to match Unity's expectation
            Quaternion jointRot = Y_180_FLIP * ABAinverse;
        }


docs: Account contract tutorial

Tutorial for writing an account contract. Includes tweaks to payload helpers in aztec.js to make the process easier.
Fixes #1744
See also #1746

@iAmMichaelConnor ready for re-review!


Move nested output base down into execroot

This way it's still cleaned with bazel clean, but there is no chance of recursive symlinks.
The name has an underscore, so it shouldn't conflict with another external repo when using --experimental_sibling_repository_layout.

I like this change regardless if it fixes the issue, so I'm going to merge it. Let me know @erikkerber if it's still broken after a bazel clean and I have another trick up my sleeve to try.


[Memory] Milvus Memory Connector - dotnet [community candidate]

Note: I've submitted #2694 which implements this.

@roji FYI: We recently updated our contributing guidelines [here](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#adding-plugins-and-memory-connectors , stating we are not directly adding plugin and connectors directly into the SDK repository. We are encouraging the community to host their own plugins and connectors separately in their own repositories. At the time we are exploring how we can provide a way to discover plugins and connectors and should have an update soon. I am going to close this issue given our change in contribution guidelines.


Remove old nix setup: mv ./__std__ -> ./nix

Old hydra CI now always fail as it won't find the release.nix
New hydra CI (the plutus-flaked-* in https://hydra.iohk.io/project/Cardano) hasn't triggered in a few PRs...
So we now rely fully on Cicero

Where are we with this? can you reproduce the failure locally?

Where are we with this? can you reproduce the failure locally?

Trying the right now, though I'm on darwin.
Also pushed a noop change to trigger CI -> maybe the logs have come back

Preprocessing library 'plutus-core-testlib' for plutus-core-<IP_ADDRESS>..
Building library 'plutus-core-testlib' for plutus-core-<IP_ADDRESS>..

<no location info>: error: [-Wunused-packages, -Werror=unused-packages]
    The following packages were specified via -package or -package-id flags,
    but were not needed for compilation:
      - data-default-class-<IP_ADDRESS>-CQYBH38PFES4dDyailJWvd

Some progress:
[17 of 28] Compiling PlutusCore.Generators.QuickCheck.Utils ( testlib/PlutusCore/Generators/QuickCheck/Utils.hs, dist/build/plutus-core-testlib>

testlib/PlutusCore/Generators/QuickCheck/Utils.hs:65:28: error: [-Wstar-is-type, -Werror=star-is-type]
    Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
    relies on the StarIsType extension, which will become
    deprecated in the future.
    Suggested fix: use ‘Type’ from ‘Data.Kind’ instead.
   |
65 |   data OneHoleContext f :: * -> *
   |                            ^

testlib/PlutusCore/Generators/QuickCheck/Utils.hs:65:33: error: [-Wstar-is-type, -Werror=star-is-type]
    Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’
    relies on the StarIsType extension, which will become
    deprecated in the future.
    Suggested fix: use ‘Type’ from ‘Data.Kind’ instead.
   |
65 |   data OneHoleContext f :: * -> *
   |                                 ^
[25 of 28] Compiling PlutusIR.Generators.AST ( testlib/PlutusIR/Generators/AST.hs, dist/build/plutus-core-testlib/PlutusIR/Generators/AST.o, di>
[26 of 28] Compiling Test.Tasty.Extras ( testlib/Test/Tasty/Extras.hs, dist/build/plutus-core-testlib/Test/Tasty/Extras.o, dist/build/plutus-co>

I'm confused that you're finding new errors here, shouldn't those have turned up on master already?

CI started failing 5 commits ago -> last 5 commits in master failed CI
5th from last commit https://github.com/input-output-hk/plutus/pull/4880 was the one that introduced the new errors that we are finding here (see plutus-core/testlib/PlutusCore/Generators/QuickCheck/Utils.hs)

So to answer your question: they turned up but we ignored them or rather they were hidden by Cicero's "fail-fast" setting

I guess it was before we made it requied...

Yes. Also, I'm not sure the ci status (Required) is getting sent by Cicero. We'll see how this current invocation turns out

Yes. Also, I'm not sure the ci status (Required) is getting sent by Cicero. We'll see how this current invocation turns out

I take it back. It kind of works: if all jobs pass, then ci goes green, but if any job fails, then ci stays in the Expected yellow state

Has a small conflict now

Keeping an eye on https://hydra.iohk.io/jobset/Cardano/plutus-flaked-pr-4926#tabs-evaluations
If that also passes then we can merge

Keeping an eye on https://hydra.iohk.io/jobset/Cardano/plutus-flaked-pr-4926#tabs-evaluations
If that also passes then we can merge

Actually I will need a new PR for that


In sharing panel, when the user is an owner of a resource, and wants …

#2127

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[x] Passing Jenkins Build

[x] Peer Code review and approval

Positive Test Case

Only when you are a logged in user, you are an owner of a resource, you try to reduce owner to "view" or "edit" mode, you get a warning. Other than this case, no warning dialog.

I felt the prevention should come from backend. I clearly see we are doing the business logic on behalf of backend. @Maurier What do you think?

@engineSound For this case, I don't think we should handle these notifications from back end. This notification concerns only the web client and we should handle it from the front end as to avoid adding unnecessary requests.

test this please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

retest this, please

@engineSound Can you maybe close this out?

@Maurier Hi Mauriel, can you approve this?  I made changes per your request. @cuahsimarko @martinseul both asked me for update.


[ERROR] Failed to convert event 77qwz7g10br2no message=Cannot read property 'methodName' of undefined, stack=TypeError: Cannot read property 'methodName' of undefined

Hi @steven166,
I'm suffering below issue while I'm trying to integrate it with my GKE platform,
falco-test-cluster-6g4rv falco-gke-audit-bridge error: Failed to convert event 77qwz7g10br2no message=Cannot read property 'methodName' of undefined, stack=TypeError: Cannot read property 'methodName' of undefined
falco-test-cluster-6g4rv falco-gke-audit-bridge     at AuditService.convertAuditEvent (/app/audit.service.js:162:45)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at AuditService.handleMessage (/app/audit.service.js:118:45)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at Array.<anonymous> (/app/audit.service.js:103:39)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at Timeout.dequeue [as _onTimeout] (/app/node_modules/throttled-queue/throttled-queue.js:66:29)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at ontimeout (timers.js:436:11)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at tryOnTimeout (timers.js:300:5)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at listOnTimeout (timers.js:263:5)
falco-test-cluster-6g4rv falco-gke-audit-bridge     at Timer.processTimers (timers.js:223:10)

Thanks

I have the same issue. It started suddenly today without no apparent reason.


MODELIX-993 Requested, but non-existing branch is handled with internal server errors

To be verified by reviewers

[ ] Relevant public API members have been documented
[ ] Documentation related to this PR is complete

[ ] Boundary conditions are documented
[ ] Exceptions are documented
[ ] Nullability is documented if used

[ ] Touched existing code has been extended with documentation if missing
[ ] Code is readable
[ ] New features and fixed bugs are covered by tests

:tada: This PR is included in version 8.16.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update custom types docs for requirement of HKT

Went to set up a citext column and I noticed that these docs no longer compile with TypeScript, because the generics require another type argument, the HKT. This should fix that issue.

Where is PgColumnBuilderHKT exported? I'm not finding it in this library. Instead I had to use a simple type cast custom type from https://www.answeroverflow.com/m/1101376236267253841.


Separate Custom Error Handling.

Description:
I have separated the custom error handling from the Error Handler to CustomError.
Fixes #60
Type of change:

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

Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.

Hi @Shubham-Kumar-2000 I created a PR please verify the change.

@VRAJ9799  please make necessary changes.

@VRAJ9799  Join here https://meet.google.com/yun-diwh-whe

Hi @VRAJ9799  I am dropping off please comment your available time. Will send a meet link at that time.

Hi @Shubham-Kumar-2000 I have push the changes.

Hi @Shubham-Kumar-2000 Can you please add gssoc tag so this pr can count for that ?

Done @VRAJ9799  you can try other open issues.


Livebook server not starting [Windows] (not WSL2)

Describe the issue
When livebook server start.livemd is called Livebook could not start distributed node.
Note: This is a Livebook known issue (196, 194, 1042) that happens when some erlang files don't show a dialog for its firewall approval on the first Livebook execution after being installed.
As there is no windows version for asdf, my tools setup was done with Chocolately  and NVM.
Solution proposal
Add a Windows-specific solution for this behavior on documentation:

Before calling Livebook, execute on terminal iex --sname test
On appearing Windows firewall dialog, approve permission for epmd.exe
Both erl.exe and epmd.exe should appear on firewall-allowed apps

Environment
OS: Windows 11
Erlang/OTP: 24 [erts-12.0]
Elixir 1.13.3 (compiled with Erlang/OTP 22)
Reproduction Steps (If Applicable)
Steps to reproduce the behavior:

Oen command line (CMD/PowerShell)
From the beta_curriculum project folder execute livebook server start.livemd

Expected behavior
Curriculum Liveboook server should start and load the curriculum.
Actual behavior
Curriculum Liveboook is not started.
Screenshots/Logs
C:\Users\Oct\Elixir\DockYard-Academy\beta_curriculum>livebook server start.livemd

ERROR!!! [Livebook] Could not start distributed node: {{:shutdown, {:failed_to_start_child, :net_kernel, {:EXIT, :nodistribution}}}, {:child, :undefined, :net_sup_dynamic, {:erl_distribution, :start_link, [[:livebook_7isuoce5, :shortnames, 15000], false, :net_sup_dynamic]}, :permanent, false, 1000, :supervisor, [:erl_distribution]}}

Hi @Octavio-GH! Would you be interested in making a PR to add this to the Troubleshooting section of the README?

Sure, on it.
Is Chocolately(Elixir/Erlang) / NVM(Node.js) a good toolset for Windows, or will it be deprecated to use WSL2 in this project? A standardized setup for Windows could be helpful.

I've been thinking about this but haven't come to a solid conclusion yet. I need more feedback from other Windows users not using WSL2 (I use WSL2).
Personally, I think that WSL2 is the most reliable Windows setup for Elixir. It's also less headache when setting up prerequisites like Postgres, Phoenix, etc. It's certainly the recommended setup for students.
However, I'm worried about alienating Windows users or creating a large barrier to entry in front of new developers, so I'm hesitant to require it. If it's not too much effort to support folks on Windows w/Chocolately then I'd like to where possible.
That said, I'd love to create a standard setup on Windows guide that walks through setting up the course and WSL2. In general, we could use some better setup guides for each OS.


Validate the Ref input for ostree based commits

Not all values are accepted for the Ref field. If something wrong is put in there osbuild will fail very late in the build with something like:
error: Invalid refspec /rhel8/gateway

ostree uses a regex to validate the ref in ostree_parse_refspec:
#define OSTREE_REF_FRAGMENT_REGEXP "[\\w\\d][-._\\w\\d]*"
#define OSTREE_REF_REGEXP "(?:" OSTREE_REF_FRAGMENT_REGEXP "/)*" OSTREE_REF_FRAGMENT_REGEXP
#define OSTREE_REMOTE_NAME_REGEXP OSTREE_REF_FRAGMENT_REGEXP

g_regex_new ("^(" OSTREE_REMOTE_NAME_REGEXP ":)?(" OSTREE_REF_REGEXP ")$", 0, 0, NULL);

Discovered by @mrguitar

That should also be added to the compose API in osbuild-composer. I'm not sure it really belongs in the UI, but I'll leave that up to others to debate :)

@bcl I think we should include this in the UI during the field entry so it is quicker to validate an incorrect ref. We want to display alert messages in the UI when an invalid ref is typed and not just on an attempted ostree build.