Develop version is not building on Xcode OSX 13.5.1 : 2 errors

hmm, that is interesting, you tried doing a clean then building?

I'm building with Xcode 14, I'll see if someone else has 13 to compare

hmm, that is interesting, you tried doing a clean then building?

I deleted everything in RNBO expect my Exports. Deleted the Xcode project. Re generated it. Opened the Xcode project and rebuilt.
I also tried to delete the intermediate and saved folders in the Unreal Project (this sometimes helps)

I'm building with Xcode 14, I'll see if someone else has 13 to compare @jinpavg which version of xcode are you using?
I'm on Xcode 15

I'm building with Xcode 14, I'll see if someone else has 13 to compare @jinpavg which version of xcode are you using?

I'm on Xcode 15

It's still failing to build with 15.1. Here's the dummy project link : link

@Tomavatars I just updated the develop branch with a change that resolved the issue for me

It works @x37v !!! Thank you so much!


Supporting periods and dashes in @http functions

Lambda has some tricky naming limitations:

Up to 64 characters
Can contain only letters, numbers, hyphens, and underscores

The Lambdas that are actually created are named based on their application name, environment, and function name. In the case of HTTP-based routes, that means names that look like path patterns.
Of course, URLs can contain all kinds of characters, whereas Lambda names cannot.
Presently, Architect supports Lambda creation with slashes, alphanum, and URL params (:foo), but not periods or dashes.
The workaround is to create a URL parameter at the path level you want and simply capture the param. It works, but it's clunky, and has drawbacks.
For example, right now, to create get /robots.txt you'd use something like the following .arc:
@http
get /
get /:robots # would capture robots.txt
get /:category/:page

Can you spot the problem? With nested params, you could very easily find yourself with capture conflicts and broken routes.
While adding periods and dashes to routes won't necessarily fix conflicting capture conflicts, it will ease the need to use params as a workaround, thereby creating less reliance on URL params.
We had a ticket internally at Begin from customer feedback to enable dashes and periods in paths, presented below for reference:

Need to research this a bit but we'd probably want to create a new encoding rule in arc proper to keep things lined up.
appname-get-some_route-with_dashes001txt
would decode to
get /some-route/with-dashes.txt
the new lambda naming rules being that - is encoded as a _ and . is encoded as 001

Rolling with that, here's the new valid-path-char-to-Lambda-name encoding:

slashes: / == -
dashes:  - == _
params:  : == 000
dots:    . == 001

before we solve with a new format we should identify the places where we encode and decode… that could change a lot of the thinking

Final (intentionally lossy¹) encoding for impending 4.1 release:
- dashes:      '-' == '_'
- dots:        '.' == '_'
- underscores: '_' == '_'
- slashes:     '/' == '-'
- params:      ':' == '000'

Merged into v4.1 branch here (and in some subsequent commits): https://github.com/arc-repos/architect/commit/6de719d425a49aba1ed406b16bc28eb11ad04dc7
¹ From commit comments:

This is a lossy substitution, optimized for human readability
One should not expect to be able to reliably extract Arc names from Lambda names created with this encoding


arcanist: 20220425 -> 20220517, fix build

Description of changes
PHP8 is still an ongoing effort.
See https://secure.phabricator.com/T13588
PHP 8.1 will crash the build where 8.0 would just emit warnings
       > [2022-06-15 22:31:40] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]
       > arcanist()
       >   #0 PhutilErrorHandler::handleError(integer, string, string, integer) called at [<arcanist>/src/toolset/workflow/ArcanistShellCompleteWorkflow.php:95

Updated arcanist to pull in some of the fixes that they have done
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

See also #177665.

github search is worthless, I looked for another PR using "arcanist" as the search term


Fixes build descriptors based on recent GH actions runs

What changes were proposed in this pull request?
Bugs fix including:

Running OOM in linux x86_64 builds (cap heap space allowed for maven)
Fix cuda builds
Descriptions of various input parameters
Removes the pre ci parallel block hooks (too many reasons for it to block valid workloads)
Adds descriptions at the beginning of matrix workload runs to verify the configured input parameters
Fixes matrix value propagation for builds
Adds missing nd4j-native build exclusions for build-cross-platform only discovered after creating a new release repo with it

(Please fill in changes proposed in this fix)
How was this patch tested?
Manually using GH actions
Quick checklist
The following checklist helps ensure your PR is complete:

[X ] Eclipse Contributor Agreement signed, and signed commits - see IP Requirements page for details
[ X] Reviewed the Contributing Guidelines and followed the steps within.
[ X] Created tests for any significant new code additions.
[ X] Relevant tests for your changes are passing.

@treo mind approving this?


How to ignore drag when element is scrollable and trigger drag event when scrolled to top/bottom of element

solved by checking if the container div scrolled to the top or bottom then allow or disallow drag


US545053: Removed package lock on java

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/CAFapi/job/CAFapi~opensuse-java11-images~US545053~CI


Add some sanity limits on header values

This adds some sanity limits when reading header packets without which one could possibly executedenial-of-service attacks through resource consumption.
I normally do not like libraries arbitrarily restricting otherewise valid usages, but think these limits are permissive enough that it should not be a problem. If it's still considered too restrictive, one can implement the ability to pass flags through varargs, meaning the signature used in calls could remain the same so no code would need to be rewritten unless they want to pass such flags). I currently can't think of any use case that would need that, though.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.90%. Comparing base (1f71185) to head (94383aa).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
+ Coverage   72.44%   72.90%   +0.46%
==========================================
  Files           6        6
  Lines         900      908       +8
==========================================
+ Hits          652      662      +10
+ Misses        129      127       -2
  Partials      119      119

Flag
Coverage Δ

unittests
72.90% <100.00%> (+0.46%)
:arrow_up:

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

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


requireCapitalizedComments: edge-cases

Two of them:
// [*]When the key is not a string, or both a key and value
// are specified, set or extend (existing objects) with either:

and
// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25817630-requirecapitalizedcomments-edge-cases?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

A couple more cases of this i ran into with jQuery UI are functions comments that start with a number or symbol and urls examples below
// http://google.com

// #3456 this does xxx
// to yyy so that zzz.

function( /* option */ ) {

/*

test(  "i dont want this to run", function() {

*/

We can't do anything with
/*

test(  "i dont want this to run", function() {

*/

You can use jscs:disable pragmas  though or wait for https://github.com/jquery/qunit/issues/496
And this -
function( /* option */ ) {

should be a new option


Add scales from the Signature Series collection

Now that I took the time to research scales more, I should revise the selection of scales.

The collection is now suspended: https://rentry.org/awrgi
This will not be fixed.


Unable to load DLL 'OpenCvSharpExtern' - RaspberryPi 3, Ubuntu, .NET Core

Hi!
I'm trying to run API which uses OpenCVSharp3-AnyCPU (<IP_ADDRESS>70210-beta). I run it on a Raspberry Pi 3 with .NET Core (1.2.0-beta-001291-00) and Raspbian GNU/Linux 8.0 (jessie) on the board.
When I try to start my app with  dotnet My.API.dll, I get error (actually it invokes ctor of CascadeClassifier):
Unable to load DLL 'OpenCvSharpExtern': The specified module could not be found.
 (Exception from HRESULT: 0x8007007E)
*** An exception has occurred because of P/Invoke. ***
Please check the following:
(1) OpenCV's DLL files exist in the same directory as the executable file.
(2) Visual C++ Redistributable Package has been installed.
(3) The target platform(x86/x64) of OpenCV's DLL files and OpenCvSharp is the same as your project's.

System.DllNotFoundException: Unable to load DLL 'OpenCvSharpExtern': The specified module could not be found.
 (Exception from HRESULT: 0x8007007E)
   at OpenCvSharp.NativeMethods.core_Mat_sizeof()
   at OpenCvSharp.NativeMethods.TryPInvoke()

My folder contains those items:
CoreCompat.System.Drawing.dll
haarcascade_frontalcatface_extended.xml
haarcascade_frontalface_default.xml
My.API.dll
Microsoft.AspNetCore.Hosting.Abstractions.dll
Microsoft.AspNetCore.Hosting.dll
Microsoft.AspNetCore.Hosting.Server.Abstractions.dll
Microsoft.AspNetCore.Http.Abstractions.dll
Microsoft.AspNetCore.Http.dll
Microsoft.AspNetCore.Http.Extensions.dll
Microsoft.AspNetCore.Http.Features.dll
Microsoft.AspNetCore.Owin.dll
Microsoft.AspNetCore.Server.Kestrel.dll
Microsoft.AspNetCore.WebUtilities.dll
Microsoft.DotNet.InternalAbstractions.dll
Microsoft.Extensions.Configuration.Abstractions.dll
Microsoft.Extensions.Configuration.dll
Microsoft.Extensions.Configuration.EnvironmentVariables.dll
Microsoft.Extensions.DependencyInjection.Abstractions.dll
Microsoft.Extensions.DependencyInjection.dll
Microsoft.Extensions.DependencyModel.dll
Microsoft.Extensions.FileProviders.Abstractions.dll
Microsoft.Extensions.FileProviders.Physical.dll
Microsoft.Extensions.FileSystemGlobbing.dll
Microsoft.Extensions.Logging.Abstractions.dll
Microsoft.Extensions.Logging.dll
Microsoft.Extensions.ObjectPool.dll
Microsoft.Extensions.Options.dll
Microsoft.Extensions.PlatformAbstractions.dll
Microsoft.Extensions.Primitives.dll
Microsoft.Net.Http.Headers.dll
Nancy.dll
Newtonsoft.Json.dll
opencv_ffmpeg320_64.dll
OpenCvSharp.Blob.dll
OpenCvSharp.dll
OpenCvSharp.dll.config
OpenCvSharpExtern.dll
refs
System.Collections.NonGeneric.dll
System.Collections.Specialized.dll
System.ComponentModel.Primitives.dll
System.ComponentModel.TypeConverter.dll
System.Data.Common.dll
System.Diagnostics.Contracts.dll
System.Drawing.Primitives.dll
System.Linq.dll
System.Net.WebSockets.dll
System.Runtime.Serialization.Primitives.dll
System.Text.Encodings.Web.dll
System.Xml.XmlSerializer.dll
web.config
x64
x86

I've tried to use dlls mapping, so I've created OpenCvSharp.dll.config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <dllmap os="!windows" dll="opencv_core2410" target="libopencv_core.so.2.4.10" />
  <dllmap os="!windows" dll="opencv_imgproc2410" target="libopencv_imgproc.so.2.4.10" />
</configuration>

The OpenCvSharpExtern.dll that I released may work only on x86/x64 Windows 😢  You have to build OpenCvSharpExtern.dll for your Linux platform. Please get the OpenCvSharp source code files and use cmake.
cmake src

Thanks a lot for quick reply. I think that it would be useful to prepare a CI process for Linux machines as well. Cheers!

can you provide other platform's OpenCvSharpExtern.dll?
just like we publish a dotnet core project, it will generate several paltform's files.
so that we dont need to add or build OpenCvSharp by us @shimat

+1 more request for an RPi dll shared on here so we can all save time and effort. I am not used to building things on linux, so I have to take the time to learn. I hope this doesn't send me down dependency hell.

+1,We apply opencvsharp to the arm development board.Manually generating dlls is complicated and lengthy~

I have build it, you can download without compile from here: https://github.com/toanlcgift/RPISpiderRobot/blob/master/LiveStreamServer/LiveStreamServer/libOpenCvSharpExtern.so

@toanlcgift  Does it support arm64?

@sharpwood yes, this .so support all arm abis

But my raspberry Pi 4(ununtu server 64) still reports the same error after using this file. Do I have to install opencv first? @toanlcgift

@sharpwood I see the problem, because you are using dotnet sdk in RPI? right?
I installed my app via windows by command line:
dotnet publish --runtime linux-arm
Then i copy it to RPI & execute binary file, not by dotnet MyApp.dll .

I did not make it clear, I am using OpenCVSharp4, running on the Raspberry Pi 4B. Do you have a newer version?

@sharpwood No i don't, you have to build yourself, needed to install openCV first (from source or binary are OK)


Real GET request path differs from log complite request path

From<EMAIL_ADDRESS>on January 31, 2014 12:52:03
What steps will reproduce the problem? 1. given().log().all().expect().log().all().get(" http://httpbin.org/get?param=value="); What is the expected output? What do you see instead? Expected:
Request method:	GET
Request path: http://httpbin.org/get?param=value%3D GOT:
Request method:	GET
Request path: http://httpbin.org/get?param=value When the real request path is
"url": " http://httpbin.org/get?param=value%3D ",
"args": {
"param": "value="
}, What version of the product are you using? On what operating system? 2.3.1-SNAPSHOT (2.3.0) Please provide any additional information below. Err in com.jayway.restassured.internal.RequestSpecificationImpl#generateRequestUriToLog
because of splitting by '=', when for request it urlencoded.
Is any way to turn off query encoding when it already urlencoded or manually?
Because of given().log().all().expect().log().all().get(" http://httpbin.org/get?param=value%3D"); sends request to http://httpbin.org/get?param=value%253D
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=305

From<EMAIL_ADDRESS>on January 31, 2014 05:33:38
Status: Duplicate
Mergedinto: 304

From<EMAIL_ADDRESS>on February 02, 2014 23:50:21
Yes, given().urlEncodingEnabled(false). ..

From<EMAIL_ADDRESS>on February 03, 2014 06:23:41
Status: Accepted
Mergedinto:

From<EMAIL_ADDRESS>on February 03, 2014 06:24:24
https://github.com/jayway/rest-assured/pull/25

From<EMAIL_ADDRESS>on February 03, 2014 22:12:29
Status: Fixed


Assertion failing but showing the data is identical?

Hi there! This is my first time using asset_fs so forgive me if I'm using it wrong or misunderstanding the output.
I'm using ChildPath::assert with a byte slice to check if the byte-content of some files is as expected. The test is failing on the assertion, yet from the information being printed, I don't understand why the assertion failed - all the data output is the same
Unexpected file, failed var == [164, 108, 152, 89, 172, 190, 243, 194, 202, 143, 158, 187, 192, 211, 33, 195, 34, 27, 108, 57, 177, 144, 199, 135, 136, 143, 57, 246, 45, 100, 247, 59, 163]
└── var == [164, 108, 152, 89, 172, 190, 243, 194, 202, 143, 158, 187, 192, 211, 33, 195, 34, 27, 108, 57, 177, 144, 199, 135, 136, 143, 57, 246, 45, 100, 247, 59, 163]

path=C:\Users\Atk\AppData\Local\Temp\.tmpkmVDEm\split_me.p2
thread 'split' panicked at 'Unexpected file, failed var == [164, 108, 152, 89, 172, 190, 243, 194, 202, 143, 158, 187, 192, 211, 33, 195, 34, 27, 108, 57, 177, 144, 199, 135, 136, 143, 57, 246, 45, 100, 247, 59, 163]
└── var == [164, 108, 152, 89, 172, 190, 243, 194, 202, 143, 158, 187, 192, 211, 33, 195, 34, 27, 108, 57, 177, 144, 199, 135, 136, 143, 57, 246, 45, 100, 247, 59, 163]

For additional context, my project involves partitioning files and reconstructing them. I'm currently writing integration tests for the partitioning of files, so I create a file with a known set of bytes, split it into a known number of parts, then check the bytes of each file are correct. Repository here
Using assert_fs v1.0.6 on stable Rust. Let me know if you need any further information

To reproduce, would I just clone that repository and run the linked test?

Yep the repo currently has the failing test in it. Just clone and cargo test :) It's not a big program to compile

Looks like its a bug in the predicates crate where it doesn't always report the actual value.  In your case, its
[/home/epage/src/personal/predicates-rs/src/path/fc.rs:78] &buffer = Ok(
    [
        177,
        144,
        199,
        135,
        136,
        143,
        57,
        246,
        45,
        100,
        247,
        59,
        163,
        101,
        168,
        68,
        244,
        190,
        137,
        114,                                                                                ],
)                                                                                `


Team set hcl generation

Adds a sub command for generating teamsets. Only implements interactive mode.
Also fixes a few bugs:

repository set protected branches weren't being created
converting []string to cty.Value function didn't work
file name input wasn't being used for output file
first question wasn't being focused

Looks great!


Further options in url

`
// www.webpage.com/component/blog/...
Route::add("/component/(.*)", function($urlComponent){
echo $urlComponent;
// resolt ist blog
});
// www.webpage.com/component/blog/option/list
// this link will call first routh
    Route::add("/component/(.*)/option/(.*)", function($urlComponent, $urlOption){
         echo $urlComponent . " and " .$urlOption;
         // we hawe not this resolt see. we will see from first rout
         // how to enable this secon ?
    });

`

you should put the second before the first if you want it to work.... or not using (.) as regex but something like ([a-z-0-9]) instead. That will remove the '/' from the regex and keep only letters hyphens and numbers.
so something like this:
Route::add("/component/([a-z-0-9]*)", function($urlComponent){
echo $urlComponent;
});
Route::add("/component/([a-z-0-9])/option/([a-z-0-9])", function($urlComponent, $urlOption){
echo $urlComponent . " and " .$urlOption;
});


Add AI Chatbot in Member Profile 🤖

Issue Reserved for Bloomberg Mentorship Program
Description
Right now, members can ask a question to the AI Chatbot by asking the ColorStack bot within the Slack. However, we’d like for members also be able to communicate with the bot on the Member Profile. We want to create a new tab on the member profile where members can see a simple interface that allows them to write up a question, submit the question, and then get a response from the ColorStack bot.
Acceptance Criteria

Create a new tab in the member directory
Create a simple interface on the new page that has (1) a textbox for users to write their question,  (2) a button for users to submit their question, (3) a box for users to see the response from the from the chatbot, (4) a button to clear the response textbox and the question textbox to ask a new question
Create a new function that takes a question, uses IsQuestion to verify if it is a valid question, and then uses getAnswerFromSlackHistory and addThreadReferences to return a response
When a user presses the submit button with a non-empty message, this should trigger the new function and return a response that appears in the response textbox.
When the button to ask a new question is pressed, the question textbox and the response textbox should be cleared.

Additional Context
Look at the code for how we implement the chatbot service for the slack with the function answerChatbotQuestion. More generally, the file slack.ts provides a lot of functions that are relevant to understanding and implementing this issue.

CALL IT


How to solve 'UnboundLocalError: local variable 'gray' referenced before assignment'

"fisheye/01.checkerboard/main.py"
line 40, in get_K_and_D
gray.shape[::-1],
UnboundLocalError: local variable 'gray' referenced before assignment

I see the problem, sorry for interrupt.


export detectors and standalone detect/collect functions

We're trying to implement botd by using collect() client-side, sending the components to the server and then running detect() there.
The current BotDetector class interface does not allow that kind of use.
My suggestion: move detect and collect into standalone functions that are exported.
The BotDetector class could use those functions itself too, to prevent code duplication. (this would also allow tree-shaking to remove the BotDetector class or detectors - assuming they are marked as pure)
The client-side is possible to implement manually (by copying the function out of the class and adapting it), because luckily the sources list is exported.
The server-side validation is impossible because detectors is not currently being exported.

Released in v1.7.0


Update local-insights.md

Removed startTime and updated dateTime.
startTime parameter seems obsolete. dateTime does what the description of startTime does, but is not required for asynchronous driving request. Both of the requests below work without dateTime:
http://dev.virtualearth.net/REST/V1/Routes/LocalInsightsAsync?waypoint=47.811091,-122.369512&travelMode=transit&oPtImIzE=time&MaxTime=20&TimeUnit=Minute&type=parks,parking
http://dev.virtualearth.net/REST/V1/Routes/LocalInsightsAsync?waypoint=47.811091,-122.369512&travelMode=driving&oPtImIzE=time&MaxTime=20&TimeUnit=Minute&type=parks,parking

Docs Build status updates of commit 8aa8a62:
:warning: Validation status: warnings

File
Status
Preview URL
Details

BingMaps/rest-services/routes/local-insights.md
:warning:Warning
View
Details

BingMaps/rest-services/routes/local-insights.md

Line 14, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'bing-maps'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 2, Column 8: [Suggestion-duplicate-titles] Title 'Local Insights  - Bing Maps' is duplicated in: 'rest-services/routes/local-insights.md(2,8), rest-services/routes/local-insights-data.md(2,8)'. Titles must be unique within a docset.
Line 12, Column 12: [Suggestion-ms-author-invalid] Invalid value for 'ms.author', 'v-chrfr' is not a valid Microsoft alias.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 7e534e6:
:warning: Validation status: warnings

File
Status
Preview URL
Details

BingMaps/rest-services/routes/local-insights.md
:warning:Warning
View
Details

BingMaps/rest-services/routes/local-insights.md

Line 14, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'bing-maps'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 2, Column 8: [Suggestion-duplicate-titles] Title 'Local Insights  - Bing Maps' is duplicated in: 'rest-services/routes/local-insights.md(2,8), rest-services/routes/local-insights-data.md(2,8)'. Titles must be unique within a docset.
Line 12, Column 12: [Suggestion-ms-author-invalid] Invalid value for 'ms.author', 'v-chrfr' is not a valid Microsoft alias.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[Bug]: No devices found when working with labels

Version
3.0.0-alpha.54
Matter Controller
Alexa
Steps to reproduce
Added a label:

Use Name: MatterHub
Add this label to other device.
Use this label in the matter hub with "matterhub" lowercase.
When I try this on this way, no device will be found.
When I do the same with pattern, the devices will be found.
State and attributes
No response
Relevant log output
No response
Documentation & Issues

[X] I have reviewed the documentation and the linked troubleshooting guide.
[X] I have searched the issues for a similar problem.

You must labeling the entities, not devices

You are write. Sorry

You must labeling the entities, not devices
nope, right from the start I labeled entities - still doesn't work.


Multiple Streams running

We should throw an error when multiple streams of gulp-ruby-sass are running. Something like 'Multiple instances of ruby-sass are running. Recommend you use containers.'

Why?

It could be useful to warn the user in case they forget to provide the container option, but in the end it boils down to a rtfm issue.

Pull requests accepted once 1.0 is released. I think this could be a nice to have if it doesn't add code complexity, but in essence it's fixed by reading the manual.


feat: switching the environment to carna

BREAKING CHANGE:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Allow $$operation$$ file template

For the v3 spec operations are much more important for templates. Please also support $$operation$$.
https://github.com/asyncapi/generator/blob/7629c168532dbc1c6504d7417242084fa7c2d2ef/docs/file-templates.md?plain=1#L6C1-L16C49

closing this issue
we should not add more features to Nunjucks.
and for React - functionality is already in place - we just need to properly document it -> https://github.com/asyncapi/generator/issues/1199


Firebase

Can we know how your data from the Firebase Cloud Firestore is structured

Sure thing, There are 2 collections categories and products, see the screenshots below for details.
I will add them to the README too in case anyone needs to take a look, if you have any other questions/requests feel free to ask.
Categories

Products

Thank you
On Fri, 23 Aug 2019, 16:53 Ali-Amin<EMAIL_ADDRESS>wrote:

Sure thing, There are 2 collections categories and products, see the
screenshots below for details.
I will add them to the README too in case anyone needs to take a look, if
you have any other questions/requests feel free to ask.
Categories
[image: CAT]
https://user-images.githubusercontent.com/41022464/63609186-e9575a00-c5d6-11e9-805b-e4f7df9ffe23.PNG
Products
[image: PROD]
https://user-images.githubusercontent.com/41022464/63609190-ea888700-c5d6-11e9-90e5-bf455d05f056.PNG
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Ali-Amin/shopx/issues/5?email_source=notifications&email_token=AFZKMDD2R5HFWNRTJOCMGHDQGAIXLA5CNFSM4IPAB5CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5AYDXQ#issuecomment-524386782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFZKMDDW5YFILFK6CFHFA5DQGAIXLANCNFSM4IPAB5CA
.


demos not working on chrome Version 37.0.2062.120 Debian jessie/sid (281580) (64-bit)

In demo 1 for instance, all I see is
Click to toggle using the polygon, or using the circle. See https://github.com/underscorediscovery/hxcollision for code
#nme-application is just a blank square. There are no console errors.

The new usage test uses webgl, and will continue to add tests/feature demos.


[ENH] design and API specification: contract time

update 2021-08-19: some algorithms now have a contract time feature, but I fear that interfaces may become inconsistent over time.
We need a proper specification for contractable algorithms, i.e., what attributes and/or methods should they implement.
Original issue:

Arising from some algorithms from UEA/TSC, and discussion in #158: some these have a nice feature of "contract time", i.e., one can specifiy a (maximum) time for them to run.
This is a brilliant idea as something to have - next to, of course, an algorithm providing estimates of its own runtime.
I'm wondering: should this kind of control, e.g., runtime, compute & contracts, be a dedicated interface point across all methods? That, for example, compositors and pipelines can use if they want, similar to the nested hyper-parameter interface?

so we are making each component "Contractable" in java interface speak, meaning you have the option to fix the time. Ultimately, we have two ways of fulfilling a contract: the classifier estimates how long it will take itself and (adaptively) configures itself appropriately (relevant to RISE and interval length esp), but then a higher level controller is able to impose an algorithmic constraint (e.g.  stop with fewer trees if the contract is fulfilled).

so I imagine the final hive-cote will

look for precomputed results, if present use them
if not put each component in its own thread,
allow the component to either estimate accuracy in its own way (e.g. bagging) or wrap in a cross validator
determine the contract to give each component
so then you can just build HiveCote with a fixed time and it will do the best it can. The research issue is then, how to balance all these factors intelligently. We use a simplified reinforcement learning approach at the moment, but plenty to do

Is HIVE-COTE implementation ready for use yet?

hi, I believe it is on the hive-cote branch, @jasonlines will know

Thanks for this great repo! Has HIVE-COTE already been implemented/merged to master branch?

All good, I saw the imlementation here 👍

@MatthewMiddlehurst, @TonyBagnall, I think we need to design and write up a proper contract time interface - perhaps in the form of a mixin that specifies interfaces. There also should be generic unit tests for contractable estimators.

do you want to make a start for this, @MatthewMiddlehurst?

Currently working on getting HC2 in the package (#842), as I have told a number of people we would try to get a working version this summer.
Happy to take a look after, however.

yes we need HC2 equivalence first, but a simple interface for contractable classifiers makes sense.

we now have hc2 equivalence. We discussed this at classifier dev meeting on 20/10/21. We are not sure it merits an interface/mixin.
"We need a proper specification for contractable algorithms, i.e., what attributes and/or methods should they implement."
The Contractable interface would be a placeholder, since the contract is set as a single variable (time in minutes) in the constructor and there are no methods associated with it. It might contain a couple of variables and nothing else.
Now benefit would be for testing instance of in unit testing, but I don't think this capability should be unit tested, at least not in the standard unit testing. We are trying to get each test under 20 secs. Contracting is meant for long runs, at least an hour, and is not meant to be exact. I am not sure how to usefully unit test it.  TTo do it sensibly will add 10+ minutes to the test time for little benefit. Happy to hearr your thoughts @fkiraly , but I think we should close this issue.

after discussion at a TSC developer meeting, we decided to not implement this as an interface at this time and to stick with the current tag system


Fix cub_reduction for CUPY_CUB_MIN and float16 arrays

Fix #3097.

Jenkins test this please

Jenkins CI test (for commit 147e50f3b221589a9397d70dc6bd405ac063f15f, target branch master) succeeded!


Install an uncaught exception handler to close write transactions whe…

…n possible
Might help out in a few situations where https://github.com/realm/realm-cocoa/issues/2159 is an issue.
\c @tgoyne @bdash

I can't tell why you'd only want to cancel the write transactions for the thread the exception was thrown from rather than from all cached realms...
Overall, this PR makes me very uneasy and feels like much more of a hack than addressing the root cause (which may be unfeasible to address given the state of mutexes on Apple platforms).

We'd prefer to cancel all of them, but trying to cancel the ones for other threads has a good chance of causing another crash that hides the original problem.

It also worries me that this is hard to test, but I don't think there's much overhead in installing this handler, and the process is already (hopefully) like to be terminated by the point this is hit, so I think this is safe to do. :+1:
You could add a changelog "bugfix" entry along the lines of:

Processes crashing due to an uncaught exception during a write transaction will longer cause other processes using the same Realm to hang indefinitely.

CHANGELOG added

:+1:

retest this please

:+1:


Added generic cdxgen_args that can be passed as an environment variable or argument to depscan itself.

Creating a new PR for this one with signed commits.
It can be populated in two ways:
With the --cdxgen-args argument:

or
With the CDXGEN_ARGS environment variable:

@deleterepo Could you update the README in master and share a PR? Thanks in advance!


Update README.md

Added more clarity for universal links. So its easy for other folks.

Thanks @In3tinct


 add health check

Motivation
添加健康检查，使用见官方文档
fix: https://github.com/koupleless/koupleless/issues/127

Summary by CodeRabbit

New Features

Enhanced health monitoring capabilities for business components in the application.
Added detailed health indicators to assess overall health status of multiple components.
Implemented health status tracking for the master business component during startup.

Tests

Added comprehensive tests for new health indicator functionalities to ensure accurate health status aggregation and tracking.

需要 sofa-ark 先发版升级到2.2.9，koupleless 使用 sofa-ark 2.2.9 版本


Send 400 bad request error for no user-id header in api request

Proper enum for missing User-Id in request header.

QA: Passed.
It looks like, currently, we allow passing a user ID for /api/v6/init in either the body or the header of the request, whereas we don't allow passing the user ID in the body for /api/v6/featureflag and /api/v6/assign. Is this expected behavior, or should we not allow passing a user ID in the body for consistency? @ppratikcr7 please create a ticket.


updated server.js and images to public

I just merged this to get everything up to date before I pull it. I'll add your comment to the issues.


test: GitHub workflow added for db tests

lord have mercy

@Shivansh-yadav13 the test is failing because there's no sqlite_database/data.db in the repo. And I'm still not getting this semantic PR thing, did follow their guidelines for my commit message

3.) To start the project locally we need to create a sqlite file with name as data.db. Navigate to the root of the project and create a folder with the name sqlite_database and inside it create a file data.db.

@hamees-sayed as mentioned in readme for testing purposes we will have to setup sqlite_database/data.db for running the tests

@Shivansh-yadav13 yes the tests are passing locally but I've unstaged the sqlite_database while creating the PR, is that the reason for the failing test here? Am I supposed to raise the PR along with the sqlite_database folder, I'm not very familiar with github actions.

@hamees-sayed you can probably create the db file right before you run the test, something like this:
   - name: Test
      run: touch /app/sqlite_database/data.db && go test -v ./...

@hamees-sayed i see that the tests still failed, and looking at the database_test.go I realized it's looking for the db file in its working directory, not the absolute path /app that's used by the container. So give this a try instead hopefully it works:
 - name: Test
    run: touch sqlite_database/data.db && go test -v ./...

alright, will check on this 👍

@hamees-sayed can you commit the changes suggested above then I will merge it, need this workflow for testing other PRs 😅

finally lol

why is the semantic pr failing, the commit message is in accordance with their guidelines right?

why is the semantic pr failing, the commit message is in accordance with their guidelines right?

It is becuase one of them is not but it's okay for now I will squash and merge it.


[style]: Improve the footer

What's the style idea?
We need to improve  improve the footer by spreading the links across three different rows with abundant spacing between them
Add screenshots
Add screenshots
Code of Conduct

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

I would like to work on this issue under gssoc'23

The footer links can be spread across three rows and one fourth row with the favicons for the social links and the logo for the project at the top left corner of the footer and the copyright statement at the bottom of the footer in the middle and the purpose of the project under the logo occupying one line

@himanshu1221 How does the solution sound?

hey @karthiknadar1204 we assign one issue at a time
This issue is relevant enough So Not closing it
let others also get their hands dirty on this Project:wink:

Ah sure it's fine,I'll finish my share of issues and jump to new ones

This issue already exists #69


ComAliasNameResolver can't report problems because the logging sink was not yet created.

In #205 we have a problems that exceptions can't be properly logged as warnings because the LoggingTypeLibExporterSink has not been created yet.
Ideas to solve this:

We will have to move some of the functions from the constructors of the INameResolvers to an initialization method which is called after the Logging sink was created.

There is currently no need


Twilio 4.0.0

What
What changes are being made? (e.g. feature, bug, docs etc.)
Why
Why are these changes necessary?
How
How were these changes implemented?
Checklist
Have you done all of these things?

[x] Documentation added
[x] Tests
[x] Typescript definitions updated
[x] Ready to be merged

@rejvban You can do it as a pre-release as this is RC-5 of Twilio. THanks

readme updated @rejvban

@rejvban both resolved


incompatible with JDK >= 13

When trying to run xml-doclet in JDK 17, I get the following error message
[INFO] >>> javadoc:3.4.1:javadoc (xml-doclet)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:javadoc (xml-doclet) on project motion-ui: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 1 - error: Class com.github.markusbernhardt.xmldoclet.XmlDoclet is not a valid doclet.
[ERROR]   Note: As of JDK 13, the com.sun.javadoc API is no longer supported.

using the following maven snippet
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
               <execution>
                  <id>xml-doclet</id>
                  <phase>generate-resources</phase>
                  <goals>
                     <goal>javadoc</goal>
                  </goals>
                  <configuration>
                     <doclet>com.github.markusbernhardt.xmldoclet.XmlDoclet</doclet>
                     <additionalOptions>-d ${project.build.directory}</additionalOptions>
                     <useStandardDocletOptions>false</useStandardDocletOptions>
                     <docletArtifact>
                        <groupId>com.manticore-projects.tools</groupId>
                        <artifactId>xml-doclet</artifactId>
                        <version>1.3.0</version>
                     </docletArtifact>
                  </configuration>
               </execution>
            </executions>
         </plugin>

The Readme states it would be compatible, but it seems it is not. Any chance to use xml-doclet with a JDK 13 (and a project containing files compiled with that new bytecode versions) and above?
Regards,
Christian

Greetings!
Unfortunately you are right and I am setting the Toolchain explicitly in my projects, telling Gradle which JDK to use:

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(11)
    }
}

Thanks for the clarification. Rethinking all that generation thing then 😭

I am still planing to write this from scratch eventually for JDK 21 plus.
However, as long as building just works with JDK 11 there is little pressure.

I don't know what the effort is to upgrade to JDK 21.
However, If I see I can do it, are you willing to accept a PR?
Therefore, the minimum JDK requirement will be 21.

Greetings! PRs are most welcome!


Persist ghprbPullId parameter in seed job

Currently we advise committers to create this parameter manually when running the seed job for a non-committer PR, but the parameter goes away when the seed job is re-run. I think we can persist the parameter this way to make our lives easier.
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @pabloem

R: @damccorm

Thanks! I'll update the wiki too, I think a screenshot should suffice now.

hmm we had done this before and it broke the seed job : /

https://github.com/apache/beam/pull/17468

hmm we had done this before and it broke the seed job : /

Shoot, I thought this must be too good to be true.

we can wait and see. The previous change modified also the standalone job which may be the one we don't want to affect


Remove identity service from universe

Removed the VCS trigger from the CI so Universe builds don't kick off when you commit to IdentityService.

Merged


Clarification on depth images

hi, i intend to handle my project with this algo based on RGB images only, however when i go through the prepare_data.sh i saw that one of the file actually takes in depth images. But this in thread #10 , it was mentioned that only RGB is needed, so i am a bit confused, can anyone help me?

The depth files were kept, but it was not used in the main code.


Routing a mechanical pipe next to a shield block results in a crash.

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
As stated in the title it's pretty straight forward.  Shield blocks and at the least mechanical pipes cannot touch each other.
Steps to reproduce:

Place shield block.
Place pipe down next to shield block.
Server crashes.

Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>11
Mekanism: <IP_ADDRESS>0
Other relevant version:
Mekanism tools version is the same version.
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
I can get the crash log from the admin if needed.
[gist/pastebin/etc link here]

I can get the crash log from the admin if needed.

You shouldn't have even reported it without it.


Fantastic Work Jeffrey!

Thanks Jeffrey for your fantastic work!
Already tested it a little bit, really amazing!
As I know you, I think you'll polish that even more and add some features.
I saw something that didn't work yet. But I'll wait until you say it's is "finished".
I don't want that you think I expect a finished product yet^^
Just wanted to say thank you 😊

Thanks! But tell me what didn't work.

In my case, trying to use the code splitting feature of vue / webpack didn't work.
https://router.vuejs.org/en/advanced/lazy-loading.html
Maybe that's not the 80% case you're targeting. But I think it's not that hard to support that.
I enabled it by adding following line to the webpack config:
module.exports.output.chunkFilename = '/js/[id].backend.[hash].js'
if (!Mix.hmr) {
    module.exports.output.publicPath = ''
}

I didn't test anything else. Just tried to get it working.
Another thing I found is that it isn't possible to have multiple .js() calls like:
mix.sass('resources/assets/sass/app.scss', 'public/css')
   .js('resources/assets/js/frontend/frontend.js', 'public/js')
   .js('resources/assets/js/backend/backend.js', 'public/js')
   .version(['js/frontend.js', 'js/backend.js', 'css/app.css'])

I don't expect anything, just reporting my findings.

I'd love to see support for multiple .js() calls as well.

I added support for multiple mix.js() calls the other day. Give it a try.
You can also now pass an array for your src files. This will merge them into the one bundle.
mix.js(['path/to/one.js', 'path/to/two.js'], 'dist/bundle.js');

mix.js('path/to/file.js', 'dist/');
     .js('path/to/other.js', 'dist');

Pls how  do i solve this issue
i am new to webpack
'Code splitting / Lazy Loading Vue Routes
In my case, trying to use the code splitting feature of vue / webpack didn't work.
https://router.vuejs.org/en/advanced/lazy-loading.html'


Docstring initialize nodes

This just adds a docstring.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: nlsdfnbch:white_check_mark: hackaugusto:x: DevOpsBotDevOpsBot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

I'm closing this PR because the base branch is wrong, it should be develop and not master. @nlsdfnbch could you please change the base branch to match the contributing guide?


Fix sd3-lite clip-l model swapped outputs

The clip-l model from stable-diffusion-3-lite-onnx has swapped outputs, so this results in runtime error because of mismatched shapes. This fix proposes swapping the output tensors for the clip-l outputs if the shape doesn't match the required shape for one of the outputs, making stable-diffusion-3-lite-onnx run successfully.

Just fix the format problem.  Ignore the license problem since you didnt touch that code


homepage-dashboard: Failed to update prerender cache

Describe the bug
Steps To Reproduce
Steps to reproduce the behavior:

Use and configure services.homepage-dashboard, with:

services.homepage-dashboard = {
    enable = true;

    environmentFile = let
      file = pkgs.writeText "homepage-dashboard-env" ''
        LOG_LEVEL=debug
      '';
    in "${file}";

    # more if you like
};

Rebuild
Observe logs: journalctl -eu homepage-dashboard:

Jul 20 11:01:25 homepage-matthias homepage[150]: [2024-07-20T09:01:25.994Z] warn: Failed to update prerender cache for /en [Error: EROFS: read-only file system, open '/nix/store/9c74gwiq9w550jg7i2csv6ybxx41m94f-homepage-dashboard-0.8.13/share/homepage/.next/server/pages/en.html'] {
Jul 20 11:01:25 homepage-matthias homepage[150]:   errno: -30,
Jul 20 11:01:25 homepage-matthias homepage[150]:   code: 'EROFS',
Jul 20 11:01:25 homepage-matthias homepage[150]:   syscall: 'open',
Jul 20 11:01:25 homepage-matthias homepage[150]:   path: '/nix/store/9c74gwiq9w550jg7i2csv6ybxx41m94f-homepage-dashboard-0.8.13/share/homepage/.next/server/pages/en.html'
Jul 20 11:01:25 homepage-matthias homepage[150]: }

I am not sure whether this means that the service is unavailable, as the page opens as expected... but my configured adguard widget does not work although adguard is reachable from the homepage-dashboard instance...
Notify maintainers
@jnsgruk

Possibly related: https://github.com/NixOS/nixpkgs/issues/297168

Hi, I am also affected by this.
I cannot update my config once the initial deployment happened. Restarting does nothing.

I think this is just the environmentFile option being used slightly wrong. This option is specifically for Homepage's support for passing secrets/values (see https://gethomepage.dev/latest/installation/docker/#using-environment-secrets)
Notably:

Environment variables must start with HOMEPAGE_VAR_ or HOMEPAGE_FILE_
The value of env var HOMEPAGE_VAR_XXX will replace {{HOMEPAGE_VAR_XXX}} in any config
-The value of env var HOMEPAGE_FILE_XXX must be a file path, the contents of which will be used to replace {{HOMEPAGE_FILE_XXX}} in any config

If you want to change arbitrary env vars, try modifying the systemd unit directly?
systemd.services.homepage-dashboard.environment = lib.mkForce {
  FOO = "BAR";
  # ...
};

Interesting, I'm not sure what's causing that. I'll try to take a look over the coming few days - I need to try and get a reproducer first, as I've not yet seen that behaviour.

Hmm, okay I did finally get to repro this, but only when using the customJS option. Looking at it, this seems like an internal function of NextJS, and not something I'm sure I can fix from a packaging perspective -- that said, the log message is "only" a warning, and as far as I can tell my dashboard remains completely functional - if anything this might just result in slightly degraded performance, but I didn't notice anything in my instance.

Hi, I'm also having this problem. I've been trying to set this up for the first time today with widgets for Jellyfin, AdGuard and Glance (config here), but when I re-nixos-rebuild switch and restart the homepage-dashboard service, I get this:
Aug 27 23:25:24 giants-deep systemd[1]: Started Homepage Dashboard.
Aug 27 23:25:24 giants-deep homepage[31457]: Listening on port 8082
Aug 27 23:25:29 giants-deep homepage[31457]: [2024-08-27T22:25:29.769Z] warn: Failed to update prerender cache for /en Error: EROFS: read-only file system, open '/nix/store/2p733ck0n0byi6f5s4qwc0phd2mf7w26-homepage-dashboard-0.9.6/share/homepage/.next/server/pages/en.html'
Aug 27 23:25:29 giants-deep homepage[31457]:     at async open (node:internal/fs/promises:639:25)
Aug 27 23:25:29 giants-deep homepage[31457]:     at async Object.writeFile (node:internal/fs/promises:1219:14)
Aug 27 23:25:29 giants-deep homepage[31457]:     at async FileSystemCache.set (/nix/store/2p733ck0n0byi6f5s4qwc0phd2mf7w26-homepage-dashboard-0.9.6/share/homepage/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js:69:13)
Aug 27 23:25:29 giants-deep homepage[31457]:     at async IncrementalCache.set (/nix/store/2p733ck0n0byi6f5s4qwc0phd2mf7w26-homepage-dashboard-0.9.6/share/homepage/node_modules/next/dist/server/lib/incremental-cache/index.js:113:13)
Aug 27 23:25:29 giants-deep homepage[31457]:     at async /nix/store/2p733ck0n0byi6f5s4qwc0phd2mf7w26-homepage-dashboard-0.9.6/share/homepage/node_modules/next/dist/server/response-cache/index.js:98:25 {
Aug 27 23:25:29 giants-deep homepage[31457]:   errno: -30,
Aug 27 23:25:29 giants-deep homepage[31457]:   code: 'EROFS',
Aug 27 23:25:29 giants-deep homepage[31457]:   syscall: 'open',
Aug 27 23:25:29 giants-deep homepage[31457]:   path: '/nix/store/2p733ck0n0byi6f5s4qwc0phd2mf7w26-homepage-dashboard-0.9.6/share/homepage/.next/server/pages/en.html'
Aug 27 23:25:29 giants-deep homepage[31457]: }

This is the only error I see, and it gets printed again when I refresh the page with the button in the bottom right. Weirdly I don't see any errors on the web page, but the AdGuard module and all of the Glance modules fail to show up at all. Not sure if that's similar to what @vifino was seeing when they said

I cannot update my config once the initial deployment happened. Restarting does nothing.

since it could be the page not updating properly from the state it was initially created in. For reference, I've attached a screenshot of the page that the linked config is currently generating.

Okay, I think I've got a fix in #337902

I think this is now addressed, and once #337902 trickles through to unstable it'll be easier to test out. Please feel free to report back if it hasn't solved the problem - locally it seemed good to me!
You can track the PR's progress here: https://nixpkgs-tracker.ocfox.me/?pr=337902

Ah nice, I only knew https://nixpk.gs/pr-tracker.html?pr=337902


Updating homebridge-config-ui-x is not possible

Everytime i want to update Homebridge config ui x i keep getting the same error. The previous updates i've managed to install by keep trying every day, through terminal (SSH) with and without sudo su and ofcourse the webinterface. after i guess 50 tries it updated and everything was fine untill this update the bug returned.
I just click update un the UI or type in "sudo -E -n npm install -g homebridge-config-ui-x@latest" in the SSH terminal. Which produces the following error:
"npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-xzwVSdiTKJ4osf4Pu4SMsw1VYX43UnfKCr3Huuy7lAwfHNDIqhaiVUjdcYYYBTdbRnBU4l+OHTm1KImfOduQbw== integrity checksum failed when using sha512: wanted sha512-xzwVSdiTKJ4osf4Pu4SMsw1VYX43UnfKCr3Huuy7lAwfHNDIqhaiVUjdcYYYBTdbRnBU4l+OHTm1KImfOduQbw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes) npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/@nestjs%2Fcommon: Integrity verification failed for sha512-xzwVSdiTKJ4osf4Pu4SMsw1VYX43UnfKCr3Huuy7lAwfHNDIqhaiVUjdcYYYBTdbRnBU4l+OHTm1KImfOduQbw== (/root/.npm/_cacache/content-v2/sha512/c7/3c/1549d893289e28b1fe0fbb848cb30d55617e375277ca0abdc7baecbb940c1f1cd0c8aa16a25548dd71861805375b467054e25f8e1d39b528899f39db906f)
npm ERR! a complete log of this run can be found in:
npm ERR!       /root/.npm/_logs/2020-12-02T09_17_34_008Z-debug.log"
Environment:

Node.js Version: v14.15.1
NPM Version: 6.14.9
Homebridge Version: 1.1.6
Homebridge Config UI X Version: None atm
Operating System: Raspbian
Process Supervisor: hb-service

At last i removed Homebridge config UI X in case there was something wrong with the installation it self bij entering ""sudo npm uninstall -g homebridge-config-ui-x" and tried to reinstall again by entering "sudo npm install -g --unsafe-perm homebridge-ui-x" and "sudo npm install -g --unsafe-perm --force homebridge-ui-x" but i get the exact same error.
For somemore background information i installed homebridge with the iso for Rasbian so i did not do any wierd things during the setup. The system it self runs since august on a Pi 3 model B plus rev 1.3. I also run Pi-hole on the same installation, installed with hb-config, additional packages en i also have PiVPN on this system for remote access and remote adblocker.
Can someone help me install the UI again?

Run this:
sudo npm cache clean --force
npm cache clean

The latest update will automatically clean the cache if a UI update fails.

Well i tried it but i think it killed my npm. If i now enter that command it does nothing. Npm -v says -bash: npm: command not found

That command would not have broken npm, so something else must be wrong.
You can try and get a fresh copy of Node.js which should repair npm:
curl -Lf# "https://unofficial-builds.nodejs.org/download/release/v14.15.1/node-v14.15.1-linux-armv6l.tar.gz" | sudo tar xzf - -C /usr/local --strip-components=1 --no-same-owner

Then again run:
sudo npm cache clean --force
npm cache clean --force

If that still does not fix the problem, take a backup and reflash.

Thanks that did the trick. My Raspberry Pi got stuck on the first attemt to run sudo npm cache clean --force thats why it broke, atleast i think. But i'm glad everything is working now!


Silent Refresh with multiple tabs

Hi,

we use Keycloak (21.0.3) as Identity Provider (which again has an Azure B2C identiy provider configured).
we use sessionstorage as user store.

When a user has a single browser tab with the application open, all works fine. Silent Refresh works etc.
The problems begin the user opens a second tab:

User opens Tab 1

Receives an id token with {"auth_time":<PHONE_NUMBER>, "session_state": "1ca6594a-677b-4d10-a30f-ab6941abee88"}

User opens Tab 2

Receives an id token with { "auth_time":<PHONE_NUMBER>, "session_state": "1ca6594a-677b-4d10-a30f-ab6941abee88"}

SilentRefresh is triggered on Tab 1

SilentRefresh fails and returns id token with {"auth_time":<PHONE_NUMBER>,"session_state": "1ca6594a-677b-4d10-a30f-ab6941abee88"}
silentRefresh fails with error: auth_time in id_token does not match original auth_time

SilentRefresh is triggered on Tab 2

silentRefresh works and returns id token with {"auth_time":<PHONE_NUMBER>,"session_state": "1ca6594a-677b-4d10-a30f-ab6941abee88"

As you can see, the silentrefresh from tab 1 yields an id token with the auth_time from tab 2 and thus fails. What are we doing wrong?
I think, this is a basic configuration issue on our side and not a bug.
Thanks for your help! (And this awesome library)

If you are using Refresh Token rotation then I'm afraid this is a known issue with Keycloak:
https://github.com/keycloak/keycloak/issues/14122
(more details here: https://github.com/keycloak/keycloak/issues/16081 for why this is happening)
Actual fix is to disable the refresh token rotation in KC.. but then you get exposed to other security risks.

Are you referring to this option (in the realm settings)?
"Revoke Refresh Token" has always been disabled in my configuration.

This is a known issue, see #430

@claria, the issue mentioned by @pamapa is also about refresh token rotation.
If you are not using it (which seems the case based on your screenshot) then multi-tabs shouldn't be an issue.

I've made it successfully working, using this demo app.
(at least with a local KC legacy, don't know about the latest..)

open it in 2 different tabs
create a new settings on each tab to point to your KC
trigger a silent renew manually on both app
everything should work fine

@Badisi
Thanks for your support. I set Keycloak up in your demo app.

logged in in tab 1 --> works
logged in in tab 2 --> works
clicked Silent Renew in tab 1 --> fails
clicked silent renew in tab 2 -- works

@Badisi
Just to be sure i tried it as well with the "Revoke Refresh Token" setting enabled.

logged in in tab 1 --> works
logged in in tab 2 --> works
clicked silentrenew in tab 1 --> fails (with same error as above, auth_time does not match)
clicked silentrenew in tab 2 --> fails (with error: Stale token)

Hi,
As i mentioned in my inital post, we have Azure B2C as Identity Provider in Keycloak.
When i do NOT use Azure B2C as Identity provider but a local user login, everything works.
As soon as a login to keycloak via the azure b2c, the silent login does not work anymore.

Arghh.
The issue was a simple configuration error.
When the identity provider Azure B2C was setup the scopes did not include the "offline_access". When i added the scope to the  idp configuration, everything works perfectly.
Maybe this helps somebody sometimes.
Thank you very much for your help and time!!!


Missing / Incorrect Definitions for Chainable first / last

Was attempting to do something like the following:
let eventName = _.chain("X.Y:Z").split(":").first().split(".").last().value();
and receiving an error on "first".
Adding the following:
interface LoDashExplicitArrayWrapper<T> {     first(): LoDashExplicitWrapper<T>;   }
fixed it.  This seems like a valid addition because there is a near similar definition for "last" which looks like:
interface LoDashExplicitArrayWrapper<T> {     last(): T;   }
The difference between the two being LoDashExplicitWrapper vs T.
So I changed last to also return LoDashExplicitWrapper and now the above works.

Thank you for this report: I agree that this is a missing declaration.
Since you were able to solve this issue, could you send a PR ?

https://github.com/types/npm-lodash/pull/25

Would one of you like to own this definition? /cc @types


[BUG] Bloxtrap not running roblox tho it appears its running in the task manager

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
when i launched bloxtrap it didnt run tho roblox was running in the task manager but i could not play tho i can play in the normal roblox but its way slower

Have you ever configured any FastFlags? What do you have set?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


bestbuy url not working

tried many time bestbuy and newegg url and only newegg working

I'll check if Best Buy works on my end.

i m trying to reach you on discord to show you how the bot is working and its only accepting newegg url ,

I didn't get any friend requests. But apparently Best Buy Canada pages were different so I added support for it in the latest update. Try it out, you can copy over your config.json.

how can i procedd with that script sorry again im a complete newbie

i add bestbuy usa url and canada and 1 newgg

i install the both version 3.5 and the new one you just sent me i add bestbuy canada and usa nothing showing

i put 20 sec interval and 50 delay between urls sending error :(

I have to admit I didn't test it much but not to fret because Best Buy is working, I just forgot to make it show messages. I'll fix it shortly. As for Amazon, is there a reason you're adding the links with queries like ?smid=ATVPDKIKX0DER&tag=data20-20&aod=1. Most queries are usually fine but I think &aod=1 may cause a problem. A url like https://www.amazon.com/dp/B08L8KC1J7 will work just fine. I'd have to investigate it further. You should for sure use proxies with Amazon, btw.

thx for tje support my friend , i just fix the url as u told me , but i still getting amazon 503 error , and the npm adjusting the interval and delay after the error by itself dont know if is it you who code it that way .
so if i will use proxie for amazon and bestbuy doesnt work on proxies is that mean i cannot put all the url in the same config ????

Yes currently, the Amazon one automatically changes the interval. It's not a good design, I know, but it served my purpose when I wrote the bot just for myself. I'm currently in the process of recoding everything from scratch so things will should work much better. It doesn't matter which country you're in to use proxies. I recommended Webshare before but you can search on your own. Remember that using free proxies on Amazon may not work very well.
You can use Best Buy with no proxies and Amazon with proxies at the same time if you have two copies of the project folder and configure them individually. I will close this issue for now and I wish the best of luck to you! I'd appreciate if you can share and donate so I can stay motivated to continue this project. Thank you!

patience yeah your right and i think im a master now in patience its been 3 month trying to get 1 and only gpu so i can start teach my kid how to mount a pc to mine bitcoin :) i really want him to learn about crypto world at his small age :) ok great thx a lot prince i will donate for sure.


"tokenServiceUri" attribute is not working in Dot.Net proxy

The Proxy configuration settings has one parameter to set token service url.
"tokenServiceUri: If username and password are specified, the proxy will use the supplied token service uri to request a token. If this value is left blank, the proxy will request a token URL from the ArcGIS server."
But proxy does not respect it. When I checked proxy.ashx, found that this XMLAttribute is not read from proxy.config.
Is this feature not yet implemented?
Thanks,
Girish

It's implemented in all three proxies.  For ashx:

                    String tokenServiceUri = getJsonValue(infoResponse, "tokenServicesUrl");
                    if (string.IsNullOrEmpty(tokenServiceUri)) {
                        string owningSystemUrl = getJsonValue(infoResponse, "owningSystemUrl");
                        if (!string.IsNullOrEmpty(owningSystemUrl)) {
                            tokenServiceUri = owningSystemUrl + "/sharing/generateToken";
                        }
                    }
                    if (tokenServiceUri != "") {
                        log(TraceLevel.Info," Service is secured by " + tokenServiceUri + ": getting new token...");
                        string uri = tokenServiceUri + "?f=json&request=getToken&referer=" + PROXY_REFERER + "&expiration=60&username=" + su.Username + "&password=" + su.Password;
                        string tokenResponse = webResponseToString(doHTTPRequest(uri, "POST"));
                        token = extractToken(tokenResponse, "token");
                    }

Are you maybe not using the latest version?

@girishyadav20 I am looking thru this issue, the problem with the server you are working on is,
the rest/info is giving the token url with https but when you try to go to the token url with url is not accessible.
I would suggest changing the token url setting of the ags server to point to http or enable https

@bsvensson I am using a latest version of proxy and currently proxy is getting tokenServiceUri from server info. But as mentioned in the proxy settings document we can specify "tokenServiceUri" through proxy.config as well. Is that true?
@esoekianto Yes, I also observed the same and notified client to make required changes. Thanks for your help.


[nix] pin nixio to avoid buggy 1.5.2 version

The latest nixio version (1.5.2) raises an error when rewriting string annotations.
This should be resolved on the nixio level.

@samuelgarcia This is a fix for the failing tests in master. Can you merge this one first, so we can rebase other PRs?


Azure: Remove SSH as a default mechanism to access podvm

[ ] Is it mandatory to provide SSH key for Azure provider?
[ ] If not, put it behind a flag where they opt in to provide SSH key.

Recently as a part of the testing brought up a container without ssh or empty ssh and CAA complained like this:
2023/08/02 05:12:45 [adaptor/cloud/azure] CreateInstance: name: "podvm-nginx-e7264cd2"
2023/08/02 05:12:46 [adaptor/cloud/azure] deleted disk successfully: podvm-nginx-e7264cd2-disk
2023/08/02 05:12:46 [adaptor/cloud] creating an instance : Creating instance (<nil>): beginning VM creation or update: PUT https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/azure-caa-ci1/providers/Microsoft.Compute/virtualMachines/podvm-nginx-e7264cd2
--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: InvalidParameter
--------------------------------------------------------------------------------
{
  "error": {
    "code": "InvalidParameter",
    "message": "The value of parameter linuxConfiguration.ssh.publicKeys.keyData is invalid.",
    "target": "linuxConfiguration.ssh.publicKeys.keyData"
  }
}
--------------------------------------------------------------------------------
2023/08/02 05:12:46 [adaptor/proxy] shutting down socket forwarder
2023/08/02 05:12:46 [adaptor/cloud/azure] finding VM name using regexp:[]
2023/08/02 05:12:46 [adaptor/cloud] Error deleting an instance : VM name not found
2023/08/02 05:12:46 [tunneler/vxlan] Delete tc redirect filters on eth0 and eth0 in the network namespace /var/run/netns/cni-b5c6f4a4-ea3a-1630-b50a-c5d13a4f9260
2023/08/02 05:12:46 [adaptor/cloud] tearing down netns /var/run/netns/cni-b5c6f4a4-ea3a-1630-b50a-c5d13a4f9260: failed to tear down tunnel "vxlan": failed to delete a tc redirect filter from vxlan1 to eth0: failed to get interface vxlan1: Link not found
2023/08/02 05:12:52 [adaptor/cloud/azure] successfully deleted nic (podvm-nginx-9b7e4e83-net) in background

packer images will be replaces w/ mkosi which doesn't have ssh enabled


Add option to return the traceId to the API user

Would be nice to be able to return the trace id back to the API user as an X-Request-Id or X-Correlation-Id header. The same way that the correlation id plugin does.
Something like:
config.external_http_header_name=X-Request-Id
If set, it would send back to the users the trace id in it.

Dear contributor,
We're closing this issue as there hasn't been any update to it for a long time. If the issue is still relevant in the latest version, please feel free to reopen it. We're more than happy to revisit it again.
Please have a look at our pledge to the community for more information.
Sincerely,
Kong Gateway Team


Use different account for workload clusters with limited permissions

Is your feature request related to a problem? Please describe.
The idea would be to deploy workload clusters with a user equipped with a reduced permissions set compared to the management cluster.
Describe the solution you'd like
Create a CAPVCD role with  Rights required for CPI and Rights required for CSI.
Create a user with this role and deploy workload clusters with this user.
Describe alternatives you've considered
No response
Additional context
No response

@vxav we already do use a different account. The account used is the one mentioned in the capi yaml.
This is the location where the account for the management cluster is to be specified: Step 2.iii of https://github.com/vmware/cluster-api-provider-cloud-director/blob/main/docs/MANAGEMENT_CLUSTER.md#initialize-the-cluster-with-cluster-api
This is the location where the account for the workload cluster is to be specified: https://github.com/vmware/cluster-api-provider-cloud-director/blob/main/examples/capi-quickstart.yaml#L36-L39
Does the current situation solve your requirement?

Does the tenant user creating the workload cluster require the exact same set of permissions as the users that initializes CAPVCD?
Does it need Right 'Full Control: VMWARE:CAPVCDCLUSTER' ?

Yes, the tenant user requires the Right 'Full Control: VMWARE:CAPVCDCLUSTER' right. This right enables the tenant user to be able to read and write from the private sections of the RDE. (The tenant user who is the k8s cluster administrator needs this right)


agent.add(conv) not working any more

Hi,
We used the below code to handle actions on google. This has stopped working after the latest release. Can you please tell what changed.
Here is sample code of the intent handler which is no longer working:
function agent_conv_test(agent){
const conv = agent.conv();
conv.ask("testing agent conv...");
agent.add(conv);
}
let intentMap = new Map();
intentMap.set('Default Welcome Intent', welcome);
intentMap.set('Default Fallback Intent', fallback);
intentMap.set('agent_conv_test', agent_conv_test);
Below is the error it throws.
TypeError: Cannot read property 'forEach' of undefined at V2Agent.addActionsOnGoogle_ (/user_code/node_modules/dialogflow-fulfillment/src/v2-agent.js:284:28) at WebhookClient.addResponse_ (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:239:19) at WebhookClient.add (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:225:12) at agent_conv_test (/user_code/index.js:86:13) at WebhookClient.handleRequest (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:273:44) at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/user_code/index.js:96:9) at cloudFunction (/user_code/node_modules/firebase-functions/lib/providers/https.js:26:47) at /var/tmp/worker/worker.js:689:7 at /var/tmp/worker/worker.js:673:9 at _combinedTickCallback (internal/process/next_tick.js:73:7)
Also this link https://github.com/dialogflow/dialogflow-fulfillment-nodejs/blob/master/docs/WebhookClient.md is no longer working. Would have been nice to redirect to the new or corresponding page.

@amit-dp What are your listed dependencies and versions in package.json?

It didnt seem to matter what combination of dependencies I use. But here
goes
"dependencies": {
"actions-on-google": "^2.2.0",
"firebase-admin": "^4.2.1",
"firebase-functions": "^0.5.7",
"dialogflow": "^0.7.0",
"dialogflow-fulfillment": "^0.6.0"
}
On Mon, Oct 8, 2018 at 11:47 PM Sarah Dwyer<EMAIL_ADDRESS>wrote:

@amit-dp https://github.com/amit-dp What are your listed dependencies
and versions in package.json?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dialogflow/dialogflow-fulfillment-nodejs/issues/149#issuecomment-427931218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE6IWpSynf1zURKyeNJrMdwSLQYZkc6Dks5ui5aPgaJpZM4XNVm8
.

--
Amit Deshpande    |
Vice President, India Development Center | SpringML
http://www.springml.com/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature
https://zoom.us/webinar/register/WN_EFV5Ie7FQWSHSdJ6v7iyVA?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature
Tensorflow for Manufacturing Quality Control
https://springml.com/2018/04/19/tensorflow-manufacturing-quality-control/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature

same problem.
My code like:
cons _text = 'bye.';
const conv = agent.conv();
conv.close(_text);
agent.add(conv);
then catch exception:
Response has already been digested at DialogflowConversation.response (/user_code/node_modules/actions-on-google/dist/service/actionssdk/conversation/conversation.js:194:19) at DialogflowConversation.serialize (/user_code/node_modules/actions-on-google/dist/service/dialogflow/conv.js:159:109) at WebhookClient.addResponse_ (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:269:48) at WebhookClient.add (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:245:12) at agentEnd (/user_code/index.js:110:10) at stopDongle (/user_code/index.js:122:4) at co.catch (/user_code/index.js:830:3) at process._tickDomainCallback (internal/process/next_tick.js:135:7)
agent: v2
dependencies:
"dependencies": {
"actions-on-google": "^2.1.3",
"axios": "^0.18.0",
"co": "^4.6.0",
"dialogflow": "^0.6.0",
"dialogflow-fulfillment": "^0.5.0",
"firebase-admin": "^4.2.1",
"firebase-functions": "^0.5.7",
"fuzzyset.js": "0.0.7",
"lodash.result": "^4.5.2",
"md5": "^2.2.1"
}

I have the same problem.  Using version 2.4.0 seemed to resolve the issue for me.
"dependencies": {
"actions-on-google": "2.4.0",
"firebase-admin": "^5.13.1",
"firebase-functions": "^2.0.2",
"dialogflow": "^0.6.0",
"dialogflow-fulfillment": "^0.5.0",
"cheerio": "^1.0.0-rc.2",
"request-promise-native": "^1.0",
"request": "^2.87"
}

workaround is:
const data = conv.serialize();
    agent.add(new Payload(
        'ACTIONS_ON_GOOGLE',
        data.payload.google)
    );

any update on this? workarounds mentioned in this thread don't work for me unfortunately,

even the one I just mentioned @barisssss ? What goes wrong?

The suggestion by izactherobot80 should help as a workaround.

I am facing the same problem, I am working on a firebase function with dialogflow-fulfillment library, I am testing on simulator provided by DF console.
My code is as follows:
 let conv = agent.conv();
 console.log(' ---- conversation BEFORE ----- ' + JSON.stringify(conv));

 conv.close(strOutput);
console.log(' ---- conversation AFTER CLOSE ----- ' + JSON.stringify(conv));

 agent.add(conv);  // error, but if you use strOutput it works fine
            // error Cannot read property 'forEach' of undefined at V2Agent.addActionsOnGoogle
          */

resolve(agent);

I tried also the workaround:
          let conv = agent.conv();
          const data = conv.serialize();

            agent.add(new Payload('ACTIONS_ON_GOOGLE',data.payload.google)
            );
            resolve(agent);

I receive no error, but the conversation doesn't stop.
These are the dependencies:
 "dependencies": {
    "actions-on-google": "^2.4.0",
    "firebase-admin": "^5.13.1",
    "firebase-functions": "^2.0.2",
    "dialogflow": "^0.6.0",
    "dialogflow-fulfillment": "^0.5.0"

  }

Any help would be appreciated, thanks in advance

I had the same error, but changing dependencies at package.json file solved the problem. My dependencies right now are the following:
"dependencies": {
"actions-on-google": "^2.5.0",
"dialogflow": "^4.0.3",
"dialogflow-fulfillment": "^0.6.1",
"firebase-admin": "^6.4.0",
"firebase-functions": "^2.1.0"
},

Yes, you will need to update the dialogflow-fulfillment package dependency to "^0.6.1"

ok updated the dependencies, but now i am receiving the error
typeError: Cannot read property 'ask' of null
at agent_conv_test (/user_code/index.js:35:5)
at WebhookClient.handleRequest (/user_code/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:313:44)
at exports.dialogflowFirebaseFulfillment.functions.https.onRequest (/user_code/index.js:43:7)
at cloudFunction (/user_code/node_modules/firebase-functions/lib/providers/https.js:57:9)
at /var/tmp/worker/worker.js:724:7
at /var/tmp/worker/worker.js:707:11
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
this is the code in index.js
const functions = require('firebase-functions');
const {WebhookClient} = require('dialogflow-fulfillment');
 exports.dialogflowFirebaseFulfillment = functions.https.onRequest((req, res) => {

   const agent = new WebhookClient({ request: req, response: res});
 function agent_conv_test(agent){
let text = 'bye!';
const conv = agent.conv();
conv.ask(text);
conv.close(text);
agent.add(conv);
}
let intentMap = new Map();
intentMap.set('test_fb', agent_conv_test);
agent.handleRequest(intentMap);
});

this is the package.json
{
  "name": "dialogflowFirebaseFulfillment",
  "description": "This is the default fulfillment for a Dialogflow agents using Cloud Functions for Firebase",
  "version": "0.0.1",
  "private": true,
  "license": "Apache Version 2.0",
  "author": "Google Inc.",
  "engines": {
    "node": "~6.0"
  },
  "scripts": {
    "start": "firebase serve --only functions:dialogflowFirebaseFulfillment",
    "deploy": "firebase deploy --only functions:dialogflowFirebaseFulfillment"
  },
  "dependencies": {
    "actions-on-google": "^2.5.0",
    "firebase-functions": "^2.1.0",
    "firebase-admin": "^6.4.0",
    "dialogflow": "^4.0.3",
    "dialogflow-fulfillment": "^0.6.1"

  }
}

what am i doing wrong?
thanks in advance

@valeadami In the future, it's appreciated if Github issues is a place solely for direct errors with the library itself.
The error you're seeing is because you're using elements from the Actions on Google library (i.e. conv.ask, conv.close, any references to the conv object, etc.). If you're interested in using Actions on Google, please refer to the official Actions on Google repo on Github. Keep in mind you can import many Dialogflow features using the Actions on Google library, if that's something you had in mind.
If, however, you'd like to use Dialogflow's library, then the code below will work.
'use strict';
const functions = require('firebase-functions');
const {WebhookClient} = require('dialogflow-fulfillment');

process.env.DEBUG = 'dialogflow:debug';

exports.dialogflowFirebaseFulfillment = functions.https.onRequest((req, res) => {
    const agent = new WebhookClient({ request: req, response: res});
    function agent_conv_test(agent){
       let text = 'bye!';
       agent.add(text);
    }

    let intentMap = new Map();
    intentMap.set('test_fb', agent_conv_test);
    agent.handleRequest(intentMap);
});

ok got it, thanks!

In my case, only updating the dialog-fulfillment worked. Here are my versions:
"actions-on-google": "^2.2.0",
"firebase-admin": "^5.13.1",
"firebase-functions": "^2.0.2",
"dialogflow": "^0.6.0",
"dialogflow-fulfillment": "^0.6.1"

In my case, only updating the dialog-fulfillment worked. Here are my versions:
"actions-on-google": "^2.2.0",
"firebase-admin": "^5.13.1",
"firebase-functions": "^2.0.2",
"dialogflow": "^0.6.0",
"dialogflow-fulfillment": "^0.6.1"

In the package.json changing dialogflow-fulfillment to 0.6.1 & adding the line agent.requestSource = agent.ACTIONS_ON_GOOGLE; worked for me. (where agent is initialized with const agent = new WebhookClient({ request, response });)

https://stackoverflow.com/questions/57678290/error-agent-add-function-is-not-working-i-e-not-getting-output-value-to-user

ok thanks!

@valeadami In the future, it's appreciated if Github issues is a place solely for direct errors with the library itself.
The error you're seeing is because you're using elements from the Actions on Google library (i.e. conv.ask, conv.close, any references to the conv object, etc.). If you're interested in using Actions on Google, please refer to the official Actions on Google repo on Github. Keep in mind you can import many Dialogflow features using the Actions on Google library, if that's something you had in mind.
If, however, you'd like to use Dialogflow's library, then the code below will work.
'use strict';
const functions = require('firebase-functions');
const {WebhookClient} = require('dialogflow-fulfillment');

process.env.DEBUG = 'dialogflow:debug';

exports.dialogflowFirebaseFulfillment = functions.https.onRequest((req, res) => {
    const agent = new WebhookClient({ request: req, response: res});
    function agent_conv_test(agent){
       let text = 'bye!';
       agent.add(text);
    }

    let intentMap = new Map();
    intentMap.set('test_fb', agent_conv_test);
    agent.handleRequest(intentMap);
});

I have some issue after console.log()  aagent.add is not working.  here is detailed description https://stackoverflow.com/questions/57678290/error-agent-add-function-is-not-working-i-e-not-getting-output-value-to-user

I have having similar problem then eventually realized:

testing in Dialogflow framework was failing
testing in Google Assistant (actions on google) worked

Move explicitly, in Dialogflow, the conv object was null.  when using actions on google test framework, in came back as a propper object with associated properties.  This may not the be the whole issue here, but knowing this distinction helped me work out other bugs.

(tl;dr: the request needs to originate from Google Assistant or any platform that becomes actions-on-google or it'll null out as folks are experiencing)
@koshnick & for anyone stumbling on this issue (ie Cannot read property 'ask' of null)  in the future:
Here's the "problem" on line 460:
https://github.com/dialogflow/dialogflow-fulfillment-nodejs/blob/3a849641108746eb95e84f71294c8a51befa18c6/src/dialogflow-fulfillment.js#L460-L465

The reason it's failing from "DialogFlow framework" (I'm presuming you mean the DialogFlow simulator in web console) and working when you test from Google Assistant is because the DialogFlow simulator DOES NOT pass its request/platform as "actions on google" (it's not Google Assistant, so makes sense it really shouldn't)

Dialogflow-fulfillment actually uses actions-on-google internally to access that conv object: https://github.com/dialogflow/dialogflow-fulfillment-nodejs/blob/3a849641108746eb95e84f71294c8a51befa18c6/src/common.js#L16

Bottom line: if the originating service isn't Google Assistant or something that would have "Actions-on-Google" as its platform, the agent.conv() returns null
What to do about this:
1) Use Google Assistant or a platform/service that uses it
2) Cheat
Here's a sample that would work as a fulfillment as a cloud function if there's an issue with platform/request source:
'use strict';

const functions = require('firebase-functions');
const {WebhookClient} = require('dialogflow-fulfillment');

process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements

exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => {
  const agent = new WebhookClient({ request, response });

  function googleAssistantHandler(agent) {
     agent.requestSource = 'ACTIONS_ON_GOOGLE';
     let conv = agent.conv();
     conv.ask('Hello from the Actions on Google client library!');
     agent.add(conv);
   }

  let intentMap = new Map();

  const intentName = 'my intent 123';
  intentMap.set(intentName, googleAssistantHandler);

  agent.handleRequest(intentMap);
});

I'm getting this issue once I set dependency in package.json at Dialogflow.

Please help in this.

@abhinaysingh40 -- Looks like an unrelated syntax issue. Try pasting that package.json here & check for errors: https://jsonlint.com/
If still having trouble, maybe check out a resource like SO

i get -- Error - 11200 HTTP retrieval failure in twilio console
what's that mean ?
using twilio in firebase functions

I had the same error, but changing dependencies at package.json file solved the problem. My dependencies right now are the following:
"dependencies": {
"actions-on-google": "^2.5.0",
"dialogflow": "^4.0.3",
"dialogflow-fulfillment": "^0.6.1",
"firebase-admin": "^6.4.0",
"firebase-functions": "^2.1.0"
},

Thanks for the help it solved my issue


Do not require AZURE_USERNAME for shared cache

Previously, a username was required when using the
SharedTokenCacheCredential, in order to handle the case where multiple
identities were found in the cache. Since it is common to have only a
single account in your user cache (e.g. you have signed in with only a
single identity), we should allow reading from the cache even when an
explicit AZURE_USERNAME is not specified, if there is exactly one
account in the cache.
When username is unset, if we can not find a token in the cache or we
find multiple tokens, a ClientAuthenticationError error is raised,
with the text "No cached token found".  This is similar to how other
cache related failures are handled by the API (they raise this error
with similar text but it includes a hint about what username was used.)
As part of this work, DefaultAzureCredential now unconditionally uses
the shared cache on supported platforms.
This behavior matches how we handle this case in both the .NET and Java
SDKs.
Fixes #7944

Can one of the admins verify this patch?

Okay @chlowell and @schaabs, based on our in person discussions, I have updated the code.  Once you have signed off, I'll contact shiproom.


Use persistent search in XML tab

Instead of auto-closing the search bar on ENTER we should use CodeMirrors persistent search:
https://github.com/codemirror/CodeMirror/commit/404e30823680c94203794a78aa0f91d31a9cdb41
That allows us to ENTER / SHIFT ENTER through the search results.

Related to SUPPORT-2939


Add a test that invokes the Swift compiler on generated code

Although there are unit tests to validate the expected behavior of the extension, there is no test whether generated code is valid for the Swift compiler. It would be useful to have a test that validates generated code using the Swift compiler. This would require implementing wrapper struct type and substitution for embedded struct type names.

Submitted a unit test to perform this; however, app sandboxing apparently won't allow running the swiftc compiler (using Foundation Process object). Workaround is to open the generated source files, and paste them into a Playground to determine if the converter generated code with compiler errors. See SwiftOutputTests.swift for details.


fix: Update @formatjs/intl-localematcher to latest version

Includes updates to the distance algorithm for matching locales that is used in the next-intl middleware.

LGTM 🙏


Run Julia in the REPL (console) in Git bash?

Would it be possible to have Julia REPL start in Git bash (C:\Program Files\Git\bin\bash.exe) instead of in cmd.exe?

In principle yes, but currently we start the Julia executable directly.
I guess we could go through the user defined shell instead (it actually worked like that during development), but that approach is more error prone. Not sure if this is worth the additional complexity tbh.

Thanks for your consideration. In my opinion, the possibility of running Julia within git bash is VERY appealing. One gets all the *nix commands working (such as ls) + all the git commands in the Julia prompt! Try that with the cmd.exe monstrosity...

I'm certainly not arguing that there wouldn't be a benefit to this :)


Use linked v2 API

HI tony!
I am using your great library now. By the way Linkedin asks to use v2 api from March 1st. Can you update your library to use v2. Thanks

@jhpassion0621 thank you for using it, just updated to v2 api. Please check out the Sample project.

How can I get public profile url? @tonyli508

@jhpassion0621 https://api.linkedin.com/v2/me, it's in both readme and sample project

Thanks for updating this! Any ETA on when you'll make a new release with cocoapods?


Doc: multiple_request

Codecov Report

Merging #51 into master will increase coverage by 0.77%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   93.58%   94.36%   +0.77%
==========================================
  Files          10       10
  Lines         530      532       +2
==========================================
+ Hits          496      502       +6
+ Misses         34       30       -4

Impacted Files
Coverage Δ

ruia/spider.py
89.84% <100%> (+2.03%)
:arrow_up:

ruia/field.py
96.05% <100%> (+0.1%)
:arrow_up:

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 a9fb222...b4e08b4. Read the comment docs.


kohya-LoRA-trainer-XL.ipynb Lora degrades in the process of training, but does not learn

I use the repository from qaneel

config:
[sdxl_arguments]
cache_text_encoder_outputs = false
no_half_vae = true
min_timestep = 0
max_timestep = 1000
shuffle_caption = true
lowram = true

[model_arguments]
pretrained_model_name_or_path = "gsdf/CounterfeitXL"
vae = "/content/vae/sdxl_vae.safetensors"

[dataset_arguments]
debug_dataset = false
in_json = "/content/LoRA/meta_lat.json"
train_data_dir = "/content/LoRA/train_data"
dataset_repeats = 1
keep_tokens = 0
resolution = "1024,1024"
color_aug = false
token_warmup_min = 1
token_warmup_step = 0

[training_arguments]
output_dir = "/content/LoRA/output/sdxl_lora"
output_name = "sdxl_lora"
save_precision = "fp16"
save_every_n_epochs = 1
train_batch_size = 4
max_token_length = 225
mem_eff_attn = false
sdpa = true
xformers = false
max_train_epochs = 10
max_data_loader_n_workers = 8
persistent_data_loader_workers = true
gradient_checkpointing = true
gradient_accumulation_steps = 1
mixed_precision = "fp16"

[logging_arguments]
log_with = "tensorboard"
logging_dir = "/content/LoRA/logs"
log_prefix = "sdxl_lora"

[sample_prompt_arguments]
sample_every_n_epochs = 1
sample_sampler = "euler_a"

[saving_arguments]
save_model_as = "safetensors"

[optimizer_arguments]
optimizer_type = "AdaFactor"
learning_rate = 0.0001
max_grad_norm = 0
optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]
lr_scheduler = "constant_with_warmup"
lr_warmup_steps = 100

[additional_network_arguments]
no_metadata = false
network_module = "networks.lora"
network_dim = 32
network_alpha = 16
network_args = []
network_train_unet_only = true

The problem is that after each epoch, the quality of generation breaks down dramatically, and at about 3-4 epochs, a terrible mess begins.
Here is an example from the first training epoch:

And here is an example already at the 2nd epoch of training:

And finally, the 8th epoch:

What am I doing wrong, maybe I need to increase the number of epochs?

Today I checked the main code of kohya_ss, the results are the same, so I'm closing the issue here

The problem is probably the datasets, also don't rely on training sample.

The problem is probably the datasets, also don't rely on training sample.

I've tried it 10 times already with different datasets and it always ends up with a terrible result. Today I’ll try to manually select images for training and see what happens

or use lower learning rate

The problem is probably the datasets, also don't rely on training sample.

100 learning steps, 48 pictures from safebooru with the tag "one_eye_closed", I already used my notebook, and apparently I made everything even worse than before.
I also noticed this:

Could this be a problem with such terrible image quality?

or use lower learning rate

by 0.00002, the deterioration of the quality of the generated images seems to be much slower.  I'll see what happens after 1000 steps of learning.

or use lower learning rate

by 0.00002, the deterioration of the quality of the generated images seems to be much slower. I'll see what happens after 1000 steps of learning.

the image style has changed, but LoRA has not yet learned the concept of the one_eye_closed tag

The problem is probably the datasets, also don't rely on training sample.

100 learning steps, 48 pictures from safebooru with the tag "one_eye_closed", I already used my notebook, and apparently I made everything even worse than before.
I also noticed this:

Could this be a problem with such terrible image quality?

yes, 512x512 is unusable for sdxl

or use lower learning rate

I changed the regular lora to lora_fa from https://github.com/bmaltais/kohya_ss and it worked immediately after just 50 learning steps
Also, I set lr to 0.00005

0.0002 or 2e-4 is higher than 1e-4, maybe 1e-5 or 5e-5

The problem is probably the datasets, also don't rely on training sample.

100 learning steps, 48 pictures from safebooru with the tag "one_eye_closed", I already used my notebook, and apparently I made everything even worse than before.
I also noticed this:

Could this be a problem with such terrible image quality?

yes, 512x512 is unusable for sdxl
how can this be fixed?  resize images in the dataset, or add an argument to the command?


[FLINK-9210] Removed unnecessary getValue calls in serializeGauge

What is the purpose of the change

This pull request removes unnecessary gauge.getValue() call in MetricDumpSerialization.serializeGauge(). That way gauge value can reset inside getValue upon serialization. This allows gauge value to be reset at the time metric reporter prepares gauge value for the report.

Brief change log

gauge.getValue() gets called only once in MetricDumpSerialization.serializeGauge()

Verifying this change
This change is already covered by existing tests, such as MetricDumpSerializerTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):  no
The serializers: no(changes live in the MetricDumpSerialization but it would not affect)
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

The issue has already been resolved.

This could've been my very first open source contribution :(

Thanks that would be great! Will assign myself next time I create issues.


How to get model (or table) name from ValidationError?

When multiple queries fail, column names in error content become ambiguous
ValidationError: type: should be equal to one of the allowed values
ValidationError: status: should be equal to one of the allowed values
 if (e instanceof ValidationError) {
    console.log(Object.keys(e)); // [ 'name', 'type', 'data', 'statusCode' ] <== no model or table name reference here
 }

There's no way at the moment. I'll look into adding that.

There's no way at the moment. I'll look into adding that.

When I build-out a base model class for an application, one common customization that I include is adding the model name to NotFoundErrors as well.  I use the model name to build descriptive HTTP error messages.  Here's what that typically looks like: https://github.com/devinivy/hapipal-realworld-example-app/blob/69e5838132e5d6d41ed15bb45c71cae78f4448e4/lib/models/helpers/index.js#L7-L14

When I build-out a base model class for an application, one common customization that I include is adding the model name to NotFoundErrors as well.  I use the model name to build descriptive HTTP error messages.  Here's what that typically looks like: https://github.com/devinivy/hapipal-realworld-example-app/blob/69e5838132e5d6d41ed15bb45c71cae78f4448e4/lib/models/helpers/index.js#L7-L14

This is a duplicate of #1891. Let's move the conversation there.

This is a duplicate of #1891. Let's move the conversation there.


Visualizaton for planar lidar

This adds visualization of planar_lidar_t messages.

looks good, thanks!  I think just the update to fix the channel callback arg and it's good to merge.

Python callables do not have to be functions, so the func_code attribute is not guaranteed to exist.  In particular, functions wrapped with functools.partial will not have the func_code attribute.  In the past, I also tried adding the same introspection code you have here, but I found it's not reliable, unfortunately.
I'd like to just add an optional argument to addSubscriber in order to determine whether to call callback(msg) or callback(msg, channel).