TypeError: undefined is not a function

I've just installed the Bower package and I'm getting a TypeError: undefined is not a function error in Chrome when the page loads.
I found that other people have had the error when scripts aren't loaded in the correct order, but I think I'm doing it right.

I've made sure jQuery is 2.1.1 too. Does anyone have any ideas?

Neither adding jquery-bridget  nor adding load-images="false" to <div masonry worked for me.

@mikefab I found out the error may have several causes, this library depends on a few other js libraries, but not all the time, so to see which one you are missing, go ahead and use the non min version of the plugin, then on the stack trace you should be able to see which function call is the one being undefined, that should then help track down which library you are missing

@dddaaammmooo thank you, adding the jquery-bridget worked for me.

Hi @passy
I am also getting the same error when i try to run the example in my local. From the error message, looks like it is not recognising the masonry elements - line no 62 and 100.
*script.js
var app = angular.module("masonryExample", ['wu.masonry']);
....
*index.html
...

...
*Error
TypeError: undefined is not a function
at preLink (file:///Users/selva/learn/angularjs/angularjs-examples/instant-search/angular-masonry.js:117:19)
at i (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:43:396)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:39:307)
at i (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:43:454)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:39:307)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:38:372
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:16:160
at Object.e.$eval (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:88:347)
at Object.e.$apply (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:88:454)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:16:116
7angular.min.js:62 TypeError: undefined is not a function
at controller.appendBrick (file:///Users/selva/learn/angularjs/angularjs-examples/instant-search/angular-masonry.js:78:19)
at preLink (file:///Users/selva/learn/angularjs/angularjs-examples/instant-search/angular-masonry.js:145:16)
at i (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:43:396)
at e (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:39:307)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:38:372
at Object. (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:148:122)
at Object.e.$digest (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:86:286)
at Object.e.$apply (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:88:506)
at https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:16:116
at Object.d [as invoke] (https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js:27:308)

@selvait90 Could you check which lines this refers to in your installation? There's most certainly a missing dependency somewhere. :)

thanks a lot @passy I was able to resolve the error by adding dependencies in following order.
src="jquery-1.11.2.min.js"
src="masonry.pkgd.min.js"
src="imagesloaded.pkgd.min.js"
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"
src="angular-masonry.js"
src="myApp.js"
But I am developing the application in pure javascript without jQuery, So Is there way to get rid of the jQuery dependency in masonry plugin?

I have the same question as @selvait90 . Can I use masonry without jquery? Because the documentation said that I can, but actually I got next errors:
 TypeError: undefined is not a function
    at link.pre (http://localhost:8080/app/js/scripts.js:11952:29)
    at invokeLinkFn (http://localhost:8080/app/js/scripts.js:3492:21)
    at nodeLinkFn (http://localhost:8080/app/js/scripts.js:3270:21)
    at compositeLinkFn (http://localhost:8080/app/js/scripts.js:3108:21)
    at compositeLinkFn (http://localhost:8080/app/js/scripts.js:3108:119)
    at compositeLinkFn (http://localhost:8080/app/js/scripts.js:3108:119)
    at $get.node (http://localhost:8080/app/js/scripts.js:3089:40)
    at link (http://localhost:8080/app/js/scripts.js:8056:17)
    at invokeLinkFn (http://localhost:8080/app/js/scripts.js:3492:21)
    at nodeLinkFn (http://localhost:8080/app/js/scripts.js:3274:87)

TypeError: undefined is not a function
    at appendBrick (http://localhost:8080/app/js/scripts.js:11931:119)
    at link.pre (http://localhost:8080/app/js/scripts.js:11974:26)
    at invokeLinkFn (http://localhost:8080/app/js/scripts.js:3492:21)
    at nodeLinkFn (http://localhost:8080/app/js/scripts.js:3270:21)
    at compositeLinkFn (http://localhost:8080/app/js/scripts.js:3108:21)
    at $get.node (http://localhost:8080/app/js/scripts.js:3089:40)
    at $get.boundTranscludeFn (http://localhost:8080/app/js/scripts.js:3121:59)
    at controllersBoundTransclude (http://localhost:8080/app/js/scripts.js:3212:25)
    at http://localhost:8080/app/js/scripts.js:7332:32
    at Object.$watchCollectionAction [as fn] (http://localhost:8080/app/js/scripts.js:4718:92)

Latest masonry already goes without jQuery. I totally think angular-masonry should remove jQuery depedency too.
I think @passy already had a feature quest for removing jqeury dependency.

I'm still getting this issue. Dependencies set up in the right order (referring to previous posts). I am using browserify to bundle all JS, could that be causing an issue?
var $ = require('jquery');
require('angular');
require('angular-ui-router');
require('jquery-ui');
require('angular-sanitize');
require('angular-module-animate');
require('jquery-bridget');
require('masonry-layout');
require('imagesloaded');
require('../../bower_components/angular-masonry/angular-masonry');
Error I'm getting:
TypeError: undefined is not a function
at preLink (http://localhost/test/public/build/js/bundle.js:118:19)
at nodeLinkFn (http://localhost/test/public/build/js/bundle.js:12832:13)
at compositeLinkFn (http://localhost/test/public/build/js/bundle.js:12246:13)
at publicLinkFn (http://localhost/test/public/build/js/bundle.js:12142:30)
at compile (http://localhost/test/public/build/js/bundle.js:5819:9)
at nodeLinkFn (http://localhost/test/public/build/js/bundle.js:12852:13)
at compositeLinkFn (http://localhost/test/public/build/js/bundle.js:12246:13)
at publicLinkFn (http://localhost/test/public/build/js/bundle.js:12142:30)
at updateView (http://localhost/test/public/build/js/bundle.js:5757:23)
at http://localhost/test/public/build/js/bundle.js:5719:11

Fixed by including imagesloaded!

+1 for missing jquery-bridget

adding jquery-bridget worked for me as well

I think the problem for the people without the fix (adding jquery-bridget) is simply requiring jquery-bridget before requiring the first masonry dependency. I had the problem that I was working with bower and the dependencies were required before jquery-bridget. Moving jquery-bridget to the top fixed the problem.

any latest solution for this problem? I still facing the same problem, after added with jquery-bridget.js and also include the (load-images="false" to ). Still having with "undefined" problem. Much appreciated if anyone can help. Thanks.

I think it might be helpful for some (like me :P) to be a bit more explicit about including the dependencies in the html/js build.
I do now see that step 3 under #Usage in the readme is "Include dependencies in your HTML." but I came to the plugin through the homepage first, which doesn't make any mention of it. So I was confused for a bit there.
What worked for me was including masonry and imagesloaded in my build system (after jQuery, before angular, not sure if it matters).
I didn't (at least as of yet) need to install jquery-bridget...

Hi. I have fixed this problem.
First, I manually downloaded [jquery-bridget] [imagesloaded] from bower.
Second, I checked depedencies.
Finally,

I loaded js files like this and error disappeared.

Moving jquery-bridget up to the top of the bower dependencies list sorted it for me.

@clov3rly's answer worked for me. Including mansory before angular.

it's a broserify problem, it load dependency ordered as bower.json file, add first jquery and jquery-bridge and work.

Hi all, I sorted it by placing my script as below order:

But, I have a problem now, sometimes the pictures is loaded as 1 single column(vertically), sometimes it was fine. Any idea? Thanks.

@kentbong I think we need some more insights into this, because we need to reproduce the error somehow.

here is a fiddle that trhows this error: @passy
http://jsfiddle.net/c8dn82vp/

I also have this problem, it works when I add jquery-bridget to bower.js and make it before angular-mansory.
    "jquery-bridget": "~1.1.0",
    "angular-masonry": "~0.8.1",

Hi I have the same problem that @kentbong reported.

Sorry, but this is impossible to look at for individual cases. It's always the loading order and there are plenty examples that have the correct one and I'd recommend to not do this manually at all and rely on some module loader or tools like wiredep to deal with it.

Hey.
Why is this issue closed? I tries to include manually all the dependencies (imageloaded, jquery, jquery-bridget...) and try all different orders but still get the same error.
By the way, the demo URL does not work anymore so I really think there is a bug
http://www.directiv.es/angular-masonry
Could you please re open?

Solved by uninstalling angular-masonry, then installing jquery-bridget before reinstalling angular-masonry. This should be fixed in angular-masonry's bower dependencies...

despite all of the above solutions or workarounds, this is still an issue.
i've tried changing the order of the dependencies (they get automagically injected in my index.html), installing jquery-bridget etc. but I can't seem to get past $element.masonry is not a function.

+1 to @OverlappingElvis' fix, thanks!!

+1 to @OverlappingElvis

These dependencies should be listed on the home page.

Hey
Just got the same issue.
Reordering dependancies in bower.json solved my problem:
"dependencies": {
	"jquery": "~2.1.0",
	"jquery-bridget": "~1.1.0",
	"angular": "~1.3.0",
	"masonry": "~3.2.0",
	"imagesloaded": "~3.1.0"
}

Totally agree with @stuartm. I use wiredep as @passy mentioned but actually the dependancies are removed then reinjected each time I build so the order of dependencies in bower.js matters. And it shouldn't =)

@fourmisz +1

Issue is in this library.
Yes, masonry currently has "no jQuery" support and I'm not using jQuery in my AnguarJS application atm.
BUT
Issue is in this line in angular-masonry.js. That may be issue in all other element.masonry() referencies as well. Like current masonry readme says masonry can be initialized like this without jQuery
// vanilla JS
var grid = document.querySelector('.grid');
var msnry = new Masonry( grid, {
  // options...
  itemSelector: '.grid-item',
  columnWidth: 200
});

I have the same issue with the current demo now. I agree with @RopoMen. Is there anyway to solve for current version?

I was including all of the correct dependencies in the correct order as mentioned above in the documentation. However, I was referencing them after my main vendor.js that gulp creates – so it was making one big js file with everything in an undefined order.
I moved the list of dependencies above this block and it works. If you're using gulp maybe check this.

@iDuuck your solution worked for me! Moving jquery-bridget to the top fixed the problem ;)

+1 adding jquery-bridget fixed the issue


AST: Refactor FeatureSet utility out into its own file

Clean up ASTPrinter.cpp a bit by kicking the FeatureSet utility and the computations to build a feature set for a declaration out into their own file.

@swift-ci please smoke test


Name of Services defined in API Gateway

Looking in Dynatrace we've found that for API Manager apis all the informations are extracted correctely.
For API defined in API Gateway (both REST or SOAP), we see the name with the value of the first segment of request uri.
For example:
/test/myservice/v1
Dynatrace service name -> test
Given that we use a common prefix for all API endpoints this is not so clear.
Is it possible to extract the entire service name defined in API Gateway (as defined in REST API Repository or WebService Repository) or the entire base path?

Hi @rathnapandi , if you provide us with a patch (always in Nov2021 branch) we can do some tests

Hi @gcornacchia,
Th fix is available in Nov2021 branch, please test and share your results.

HI @rathnapandi, I don't think it's working.
here are the logs files of an API call, the service name is extracted as co001 instead of the desired  MyService_v1
Maybe it's because the "Set Web Service Context" is executed after dynatrace aspect method
DEBUG	9/22/23, 16:22:47.778	Adding MessageListener: com.vordel.dwe.TrafficMonitorMessageListener@20e41916
INFO	9/22/23, 16:22:47.778	Service Name : co001
DEBUG	9/22/23, 16:22:47.778	Dynatrace :: Starting around consumer
DEBUG	9/22/23, 16:22:47.778	Dynatrace :: Consumer Headers before proceed: {Accept=[text/xml, multipart/related], Host=[localhost-per-be:38080], SOAPAction=[""], User-Agent=[JAX-WS RI 2.3.3 git-revision#b4c5bb6], Via=[1.0 node1 (), 1.0 node1 (), 1.0 node1 ()], X-dynaTrace=[]}
DEBUG	9/22/23, 16:22:47.778	Dynatrace :: X-Dynatrace-Header
DEBUG	9/22/23, 16:22:47.778	Circuit reference [Global Request Policy] valid and enabled - calling
DEBUG	9/22/23, 16:22:47.778	Circuit reference [Custom Request Policy] is not enabled - ignoring
DEBUG	9/22/23, 16:22:47.778	Circuit reference [Path Specific Policy] valid and enabled - calling
DEBUG	9/22/23, 16:22:47.778	run circuit "CO001_MyService_v1_switch"...
DEBUG	9/22/23, 16:22:47.778	run filter [Set Web Service Context] {
DEBUG	9/22/23, 16:22:47.778	        Set the service name to be MyService_v1
DEBUG	9/22/23, 16:22:47.778	        Adding MessageListener: com.vordel.circuit.ws.ServiceContextProcessor$SCPMessageListener@2fe9506f
DEBUG	9/22/23, 16:22:47.778	        Setting webservice context
DEBUG	9/22/23, 16:22:47.778	        Set the Web Service context to be MyService_v1
DEBUG	9/22/23, 16:22:47.778	} = 1, filter [Set Web Service Context]

Hi @gcornacchia,
How did you set up the API? The service.name comes from Set Web Service Context or  Set Service Context filter.  Also, can you pull the latest code?

Hi @gcornacchia,
Looks like service.name is not available during the execution of dynatrace aspect. Let me check and get back to you.

Hi @gcornacchia,
Looks like service.name is not available during the exuecton of dynatrace aspect .

Hi @gcornacchia,
Changed the dynatrace aspject to capture service.name, please pull the latest code.


MQ message cannot be consumed

I send messages through the console and code. It's sent normally, but consumers can't consume it
The system version is CentOS 7.5
Rocketmq version is 4.8.0
brocker log

acl is started

@githublaohu @zongtanghu ping


v5.0.11 is not in NPM

No 5.x "stable" version exists in NPM which break any installation
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>
System:

OS: macOS Mojave
Framework: react-native
Addons: typescript

There is no 5.0 release of RN. See https://github.com/storybooks/storybook/issues/5893 deets


refs are not triggered on root elements

Refs on the mounted root element do not appear to be triggered. Is this expected behaviour?
  it('triggers refs on child elements', (done) => {
    mount(
 done()}/>
);
  });

  it('triggers refs on root elements', (done) => {
    mount( done()}/>);
  });

Current behavior
The child elements test passes, but the root element test fails
Expected behavior
Both tests should pass
API

[ ] shallow
[x] mount
[ ] render

Version

library
version

Enzyme
3.3.0

React
16.2.0

Adapter

[x] enzyme-adapter-react-16
[ ] enzyme-adapter-react-15
[ ] enzyme-adapter-react-15.4
[ ] enzyme-adapter-react-14
[ ] enzyme-adapter-react-13
[ ] enzyme-adapter-react-helper
[ ] others ( )

Does this happen with other versions of react as well?

I was able to reproduce this in 16.0.0 and 15.0.0


Abstract recursion

Rather than applying specifically to (quasi)-constructors, have recursion defined in terms of apply and unapply methods.

The main matching takes places in the getArg method, which at present only looks for formal applications.
This should be moved to the HoTT object (or somewhere intermediate) and match against some general trait.
Note that in case of constructors for lists etc we need to ensure that the object obtained after application of one argument still has an unapply method.

For integers, we need a much more specialized tail recursive method. So it is not clear there is a use case. Instead we write the recursion and induction for Nat


Revert "Remove the service from engine"

This reverts commit 93e01c45db83149eb54c1fc40f87aaf05fd28fb7.
Add back service.

Sorry, @guangrui-cloudnatix !


Cannot read property 'tapAsync' of undefined when using with HTML Webpack Plugin 4.0.0-alpha.2

Description
I used the latest create-react-app CLI to bootstrap my project and then I ejected it. The latest create-react-app uses "html-webpack-plugin" version 4.0.0-alpha.2. When I use "csp-html-webpack-plugin" with it I am getting the following error

Cannot read property 'tapAsync' of undefined

I have already tried placing "csp-html-webpack-plugin" at the end of the plugins list after "html-webpack-plugin" and still I am getting the same issue.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version: 2.3.0
node version: 8.12.0
OS version(s): OSX Mojave
Steps to reproduce:

Bootstrap an app with the latest create-react-app CLI
Eject the application
Then try using "csp-html-webpack-plugin"

Expected result:
Expected the build to complete
Actual result:
Got the error "Cannot read property 'tapAsync' of undefined"

Thanks for reporting!
We have PR https://github.com/slackhq/csp-html-webpack-plugin/pull/16 in flight which will include webpack 4 support and fix this error :)

@AnujRNair Thanks for the reply. Can we have a beta version of the "csp-html-webpack-plugin" with the support. Pretty please :)

@ajaybc html-webpack-plugin final version will be available by the end of this month. also @AnujRNair
clearly stated here https://github.com/slackhq/csp-html-webpack-plugin/pull/16#issuecomment-423284374

but won't actually merge until HTMLWebpackPlugin comes out of alpha and beta, just incase there are unforseen API updates

he is waiting for the final release. So you may have to wait 10 more days.
Also @AnujRNair. I am pretty sure, that there will be no api changes to the plugin. based on https://github.com/jantimon/html-webpack-plugin/pull/953#issuecomment-429716203

HtmlWebpackPlugin 4 functionality has been merged!


Backend/directory/views

Description:
This pull request introduces several key changes to improve the organization and functionality of the API views within the application. The following updates have been made:

Structured View Classes:
Created dedicated classes for handling user, organizer, event, attendee, and ticket management.
Each class encapsulates its respective API endpoints, enhancing code readability and maintainability.

Changes Made:

User Management: Added /register and /login endpoints.
Organizer Management: Added /organizers/ endpoint for creating organizers.
Event Management: Added /events/ endpoint for creating events linked to organizers.
Schemas: Defined schemas for user, organizer, event, attendee, and ticket management.

Conflict in api/urls.py and views.py await resolve.

I have resoled all conflict from main branch.

Looking good to me


--reload/--restart searches all non-dotted subdirs

--reload/--restart DIR only watches source files within DIR. This change makes it also search subdirectories recursively, except for directories whose name begins with a dot.

Thanks! Nice idea.


fix(ui): Add default text for empty fields on profile pages

Fixes #1834
Changelog

display "Not available" for empty DOI
display "Not available" for empty Input Data Types
display "Not available" for empty Incentives

Preview

I support the suggestion made by @rrchai , using light gray. For me using italic is a weight to emphasis a word so I wouldn't use that font.

@rrchai I was thinking the same!  But didn't want to put in the effort (yet) 😅
But since everyone has the same idea, I will add the grey text.

Challenge profile

Organization profile

@tschaffter @rrchai I know you both approved already, but I attached some screenshots of the grey text.
Will merge shortly!

Perfect!


total newb with this

Issue description
Simply trying to load from my own version of App Navbar the Alerts code.
It simply does nothing.
This works:
<NavLink href="https://github.com/reactstrap/reactstrap">GitHub</NavLink>
but this <NavLink href="Alr" >Alarms</NavLink> isn't doing anything.
I know I'm missing something but can't find any code which shows how the NavLink
refers to the code in the Alr.js file:
import React from 'react';
import { Alert } from 'reactstrap';

export const myAlr = (props) =>{
  return (
    <div>
      <Alert color="primary">
        This is a primary alert — check it out!

How the NavLink renders the Als.js ?
If I don't use the href=......  than the NavLink doesn't allow to select the option on the nav bar.
tried to=..... tag......
Nothing works for me.
Thanks for your help

components: name
reactstrap version #x.x.x
import method umd/csj/es (if umd, are you using the "full" version (only for v5+)?)
react version #x.x.x
bootstrap version #x.x.x

What is happening?

What should be happening?

Steps to reproduce issue

...
...

Error message in console
paste error message with stacktrack here

Code

Closing this issue, feel free to re-open if you are still running into issues.


Fix integration scripts type checking

I think there's an anti-pattern in the integration tests in singify-ts/examples
All of the .ts files start with this declaration
let signify: any;
This effectively disables any type checking by the typescript compiler, VS Code and other tools
This pull request is a suggestion how to fix this. If this pattern is acceptable then the other scripts should be fixed as well.

@pfeairheller
If fixed this for make_endroles.ts and list_notifications.ts. However in the latter there is now a compile error that I cannot easily find a solution for
list_notifications.ts:74:45 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'Uint8Array'.

74                     let esigs = keeper.sign(nexn.raw)
                                               ~~~~~~~~

@pfeairheller
If fixed this for make_endroles.ts and list_notifications.ts. However in the latter there is now a compile error that I cannot easily find a solution for
list_notifications.ts:74:45 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'Uint8Array'.

74                     let esigs = keeper.sign(nexn.raw)
                                               ~~~~~~~~

There is a method in Signify called b that will convert a string to a Uint8Array, use that on `nextn.raw

Thanks @pfeairheller that was the solution. I also had to change require("prompt-sync") into import.
I tested and I can complete the multi-sig group inception sequence.
I'll create an other pull request for the scripts in examples/integration-scripts

I used the same approach in all scripts under /examples/integration-scrpts. PR #105


Add wiki pages about how to use collector.tar and collector image.

Get ready, we are going to release at Friday.

@ascrutae Are you done?
I found two wiki pages about this: https://github.com/wu-sheng/sky-walking/wiki/3.0-Deploy-docker-image and https://github.com/wu-sheng/sky-walking/wiki/3.0-部署Collector镜像

The wiki pages has been done! Close this issue


Could not find '___blazor_auth0' in 'window'

Having the same issue reported in your example post
https://dev.to/evanweeks/comment/jo7l

The issue was identified, working on it.


CMake file generation for my project

Hello cjweeks,
Short background:
I'm interesting about an inference application development that will execute an already trained model that was previously developed using the Tensorflow APIs.
The execution shall use an NVIDIA GPU accelerations capabilities based on the NVIDIA cuDNN library only without TensorRT usage at all.
The application shall be based on Tensorflow C++ interface only (no Python at all) which means that I'm interesting to perform a process like this:
https://www.tensorflow.org/install/install_sources
but for C++ not for Python.
After I will have the installed Tensorflow I will want to develop my inference application using the Nsight Eclipse Edition so my expectation is that I will have a kind of *.so file (or several files) that my application will be able to compile and linkage with them.
So, I founded your tensorflow-cmake guide an saw that if I will use it I will get the tensorflow library .so file.
These are my questions:

What are the reasons that the Eigen and Protobuf are required?
Is the libtensorflow_all.so depends on them?
Will my application linkage process will fail without them?
What are the final output of their installation process? Are they *.so files too?
I cannot understand why I need to work with CMake? As I desribed above my plan is to work with the Nsight Eclipse Edition which is a full IDE provided by NVIDIA.
Please clarify why I need to use the CMake? Why I need CMake files if my plan is to use the Nsight?
What is the meaning of My CMake modules directory?
I executed all the instructions till the phase of the Eigen generation and I got stuck.
Note: I needed to edit the eigen.sh file and replace the line ARCHIVE_HEADER="native.new_http_archive(\s*" with ARCHIVE_HEADER="tf_http_archive(\s*"
(Without that change I couldn't install the eigen)

I performed the following command:
~/Desktop/DL/tensorflow/tensorflow-cmake-master$ sudo ./eigen.sh generate installed /home/ubuntu/tensorflow
And I got the following error:
Finding Eigen version in /home/ubuntu/tensorflow using method 0...
Finding Eigen version in /home/ubuntu/tensorflow using method 1...
Finding Eigen version in /home/ubuntu/tensorflow using method 2...
Found Eigen information in /home/ubuntu/tensorflow:
Eigen URL(s):        https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/fd6845384b86.tar.gz https://bitbucket.org/eigen/eigen/get/fd6845384b86.tar.gz
Eigen URL Hash:      d956415d784fa4e42b6a2a45c32556d6aec9d0a3d8ef48baee2522ab762556a9
Eigen Archive Hash:  fd6845384b86
Found Eigen in /usr/local
Eigen_VERSION.cmake written to .
cp: '/home/ubuntu/Desktop/DL/tensorflow-cmake-master/FindEigen.cmake' and './FindEigen.cmake' are the same file
Command failed - script terminated
I founded the following:
https://github.com/cjweeks/tensorflow-cmake/issues/26
But unfortunately I couldn't understand it correctly, it was not clear enough for me to understand why and what I shall do.
Any advice will be grateful.

I succeeded to solve the question#3 above.
But still I will be happy to get answers for the question#1-2 above please.
Additionally, A new problem was raised regarding to the Protobuf: Installing Locally.
I changed the line HTTP_HEADER="native.http_archive(\s" with HTTP_HEADER="tf_http_archive(\s"
and then performed the following command:
~/Desktop/DL/tensorflow/tensorflow-cmake-master$ sudo ./protobuf.sh install /home/ubuntu/tensorflow
And i got the following error:
Making lib/libgmock.a lib/libgmock_main.a in gmock
/bin/bash: line 0: cd: third_party/googletest/googletest: No such file or directory
Makefile:1964: recipe for target 'check-local' failed
make[2]: *** [check-local] Error 1
make[2]: Leaving directory '/home/ubuntu/Desktop/DL/tensorflow-cmake-master/protobuf-3.6.0'
Makefile:1826: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/ubuntu/Desktop/DL/tensorflow-cmake-master/protobuf-3.6.0'
Makefile:1538: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
Command failed - script terminated
So i checked and I really don't have the directory third_party/googletest anywhere.
Is it something related to the ./configure phase that I did wrong?
Any advice will be grateful.

I think that I succeeded to solve the Protobuf installation error by installing it directly from here:
https://github.com/google/protobuf/blob/master/src/README.md
So now I have:
libtensorflow_all.so
libprotobuf.so
eigen headers
I created a new project using Nsight Eclipse IDE of NVIDIA.
I succeeded to compile the code of the install-project main.cc but I got a lot of 'undefined reference to' linker error regarding to tensorflow namespace objects.
Am i missing an additional *.so files? Should I have more *.so then those that I mentioned above?
Thanks,

have the exact same issue: a lot of undefined reference to tensorflow:: ...
So do you have solution now? @OronG13

Unfortunately no.
I didn't get any answer or  found any solution till now.
Actually, I need to build the tensorflow from sources  also for Windows  so I'm now working to establish it which is also very difficult too.

Not sure it it's related but I get the same list of undefined expressions when compiling tensorflow c code using the in-source-code method.

Thanks for your sharing,
Did you solve these undefined expressions?

Nope :/. Still trying to figure it out.


Change durations such as timeouts, intervals, etc

Purpose

$Subject

Fixes: #967
Reviewers
@shafreenAnfar
Related PRs

https://github.com/ballerina-platform/module-ballerina-sql/pull/140

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

@lahirusamith Seems there is a compilation error.. Could you check?

@lahirusamith Seems there is a compilation error.. Could you check?

@niveathika this is due to SQL dependency. you can merge sql dependency and run the check on java.jdbc. that should resolve the build issue having in here.


operator vault-config-operator (0.8.3)

New Submissions

[ ] Has you operator nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo
Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@J0zi @mvalarh could you explain what this error means:
TASK [operator_info : Printing error message] **********************************
fatal: [localhost]: FAILED! => changed=false
  msg: '[''''][''Found label which is not supported.'', "[''vault-config-operator:v0.8.3 => 4.12'']", '''']'

it looks like the operator version and the OCP version are being conflated. And I don't under what label it is referring to.

/retest-required

@raffaelespazzoli it means that the operator is using deprecated APIs in v4.12 but there is com.redhat.openshift.versions label missing.


How to update the TCP/IPC version on the app?

Support Question
I just started using this with one of the newer versions of the KX system package and I can't seem to connect to the gateway process and run into issues with IPC version mismatch. From my understanding the KX process is expecting a newer IPC version from the client, aka kdb-studio. How do I go about doing that or compile the code with newer version?
Thanks,
Sid

Because of limitations of the Java language itself, it is not possible to implement newer versions of the IPC protocol, as they would require arrays to have 64-bit sizes. If you have data that exceeds this size, you will have to look for alternative solutions, such as PyKX or the VSCode extension.


Add more realistic integration tests

Use real test data, but avoid making real requests.

This issue has been open for too long. Adding integration tests at this point will not give us a significant enough benefit for it to be worthwhile. Let's do better the next time around. Closing issue.


Cannot use aliases inside serverMiddleware

Version
v2.3.4
Reproduction link
https://codesandbox.io/s/vvm38xp7ny
Steps to reproduce

Creating a project with create-nuxt-app

Create the serverMiddleware:
project
├─ ...
├─ api
   └─ index.js

Add some file, something like util.js:
project
├─ ...
├─ common
   └─ util.js

Import the common/util.js in api/index.js
import express from 'express'
import * as util from '~/common/util'

...

Add the serverMiddleware to the nuxt.config.js:
export default {
   ...
   serverMiddleware: [
       '~/api/index.js'
   ]
}

What is expected ?
The aliases should be available inside serverMiddleware.
What is actually happening?
✖ Nuxt Fatal Error
Error: Cannot find module '~/common/util'

Additional comments?
Without aliases, we need to replace all imports that uses aliases, to relative path, in this case in api/index.js (server middleware).
But, what about if we use another import aliases inside common/util.js ?

This bug report is available on Nuxt community (#c8323)

Upgraded today to 2.3.4, aliases not working for me, too
Last working version is 2.2.0

in the server export it like so
import express from 'express'
app = require('express')()
import * as util from '../common/util' //this should be relative
module.exports = {
  path: '/api',
  handler: app
}

am on v-2.3.4. then you can go to yourServerAddress:3000/api/blah-blah

@devyaz Sorry, but I think you don't read my explanation carefully :wink: I've explain that.

@nmfzone  this solves your problem
import * as util from '../common/util' it has to be a relative path
i tried already in the sandbox and no problem it runs

@devyaz Sorry, but I've explain it..please read it carefully..

Without aliases, we need to replace all imports that uses aliases, to relative path, in this case in api/index.js (server middleware).
But, what about if we use another import aliases inside common/util.js ?

Basically, I know it will solves the problem. But It didn't make sense, since I use aliases too inside common/util.js. Thanks

@devyaz That's the problem. So, we can't use aliases inside server middleware. Nuxt has define aliases, so it must be available in all context. When using my own server implementation (not server middleware), I just need to use Backpack and added aliases to it's config, to make node recognize my aliases.

As this never has been implemented (AFAIK) this is a feature request and no bug report.
We don't touch serverMiddleware besides requiring the file and add it to the underlying connect instance. So it's not trivial to implement things like aliases (~, @).

I've been having this issue as well. Has there been progress on this or do we continue to require modules relatively?

Running into the same issue here. It's no problem to modify a few of the initial imports to use relative paths, but it's the deep dependencies (things in ~/lib/models, and ~/lib/queries) that fall down when they attempt to follow aliases.
Does anyone have experience applying Webpack aliases outside of the primary client/server bundles?
I'm really stumped, and it seems like a silly thing, but the alternative is crazy module pathing like ../../../../../lib/models, etc.

Same issue. It forces not to use aliases in all shared code. I think this bug request should be considered as early as possible.

I can’t wait for it to be done. This will help a lot.
Maybe someone knows some alternatives? I tried module-alias but I failed to get this to work with the Nuxt.

It has been a while since I'm writing Nuxt app. Ok, it's good to see if this is not an issue, but feature request. So, is it possible to make it works in the next major version?
@iliyaZelenko I've mention it in my explanation, you can using Backpack. After that, you could make the aliases work in server side.

Some quick notes:

serverMiddleware are designed to add tiny plug-ins to nuxt middleware stack. For a full API it is recommend to have a seperate server.
Module-alias or similar package should make it possible. (I was working on aliaz for exactly same purpose in nuxt. Development is stoped due to lack if interest but can continue working on it)
Something similar to backpack to compile Nuxt APIs using webpack is under investigation for possibility in nuxt3.
A new technology for nuxt (nuxtstation) is under development to allow seamlessly development of a seperate API but with single nuxt command.

Not sure this is related to the same issue, but @pi0 did you notice the same behavior on the nuxt custom modules?
I'm using aliases like this:
{
  '@core': 'modules/core',
}

It's working quite well on all the application but on Node obviously. So I added the alises on node as well. It almost worked since a custom module with nothing in it (but using a relative import import { ... } from '@core' is breaking my app:
(node:77963) UnhandledPromiseRejectionWarning: /myApp/modules/customModule/nuxt.js:1
Error: Cannot find module '@core'
Require stack:
- /myApp/modules/customModule/nuxt.js
-<EMAIL_ADDRESS>- /myApp/node_modules/nuxt/dist/nuxt.js
- /myApp/app/server.js
    at Object.<anonymous> (/myApp/modules/core/nuxt.js:1)
    at Generator.next (<anonymous>)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
(node:77963) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:77963) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It's happening right after I get the dev' message "ℹ Initial build may take a while", so I guess nuxt is loaded. Either way, node or nuxt does not seem to resolve my alias. Any idea why?
Thanks!

I hope Nuxt team can implement alias for serverMiddleware. Many people expect the feature !

This is now implemented in Nuxt 3.


How to launch paypal payment flow with headless option

When set to true, you opt out of using the PayPal button we render and can use your own UI to launch the PayPal payment flow. By default this is set to false. See this section to see how to instantiate the PayPal flow with this option.

I can't find further explanations about headless mode for paypal on the braintree doc site.
How do you use this feature?

Hi @steverandy,
This is documentation for an upcoming feature that accidentally slipped into the docs site prematurely. It should be out soon. We'll drop another reply here when its officially released.

@steverandy -  Our Custom PP button work is now live at these JS urls:
https://js.braintreegateway.com/js/braintree-2.15.1.js
https://js.braintreegateway.com/js/braintree-2.15.1.min.js
I have a small gist here that provides sample code. We'll keep this updated until we update our docs.
Let us know how the integration goes!

Is the headless option supposed to work with the dropin setup?
Docs do not specify.

@messageagency It does not because in the Drop-In UI setup, the PayPal button is within the Drop-In iframe. I'll pass your feedback onto our Docs team.


Support non-file fields in Multipart requests

Closes #351

@dbanty I have tested this locally against a real server, not sure what other tests I could have added to this repo though?

@csymeonides-mf thanks for both reporting this issue and providing a fix! I tweaked it a bit to reduce the extra generated code over in #355. Will you take a look at that and make sure it's still solving you problem?

Yes thanks, that looks great! I wasn't sure if form and multipart are mutually exclusive, but I think it's a safe assumption.


About downsampling(patch_embed) for first stage

Hi, thanks for your other interesting work after PoolFormer :)
Question1
I have some curiosity about setting the options for downsampling layers.
You seemed to comment kernel_size:=4, stride:=4, and padding:=2, but actually set as [7,4,2].

If the kernel_size:=4, stride and padding should be set as [4, 1].
But, do you run the experiments setting the kernel size as 7?
In your previous PoolFormer, the downsampling for the first stage is given [7, 4, 2] for kernel_size, stride, and padding.

Question2
Another question:
I have been reviewing the other Metaformer-like models (following 4-stage architecture) and I found there are many different options for making the same patch size for each stage; [56, 28, 14, 7].
For example, Uniformer gives kernel_size:=4 for the first stage and kernel_size:=2 for remains.
In the downsampling stream, I wonder if you think there is some critical effect for their different kernel size?

Hi @DoranLyong ,
Many thanks for your attention.
Q1: It is a typo. The kernel size of the first downsampling is 7. I have fixed it.
Q2: From my experiments, kernel_size:=7for the first stage and `kernel_size:=3' for the remains perform better but bring more parameters and MACs. I used to reproduce ConvNeXt-Tiny (82.0%, 28.6M, 4.5G) vs ConvNeXt-Tiny-Downsampling-k7-k3 (82.3%, 30.5M, 4.7G).

@yuweihao Thanks. That's a clear result :)

@DoranLyong ,
Since I have not conducted experiments in this config, sorry that I can not offer data points or give a summary. I remember MobileNetV2 also uses separable convolutions for downsampling.

@yuweihao  Great! was a good insight for me :)


default port for nats

Hi @ronakbanka
It would be great if it were possible to specify the nats port default in the job spec like this, and have all clients of nats automatically discover this configuration.  This kind of discovery will be possible with the upcoming links feature in BOSH.
Unfortunately, for now, all other clients still need to be configured with the nats port value in the manifest, so there isn't much benefit in setting the default here in the job spec for the nats server.

@Amit-PivotalLabs  Agree it will be useful with bosh links feature.
For now nats port is configured from manifest but as nats port is kind of standard with most of the deployments , would't it be good to add this default just for nats server itself.
No Hard requirements but just for convenience.

I think this default buys you very little, and can only lead to problematic situations, e.g. if the default value changes or the operator doesn't configure it and doesn't realize anything is wrong because the nats job template will not blow up if not configured.  I'd rather force the user to explicitly configure it everywhere (until we start using BOSH Links) than to make it easy to make accidental mistakes.  Also, I believe the spiff templates depend on it being explicitly set for the nats server.
Will close this PR for now.
Best,
Amit


brushSelected  dataIndex 为空

Version
5.0.2
Reproduction link
https://codesandbox.io/s/wild-grass-lq03j?file=/src/App.vue:5148-5154
Steps to reproduce
codesandbox
What is expected?
dataIndex 有值；或者通过其它方式，获取当前框选的内容数据。
What is actually happening?
dataIndex 数组为空

I am facing the same issue with scatter plot. The points are selected visually but every dataIndex is empty.


A form to fill the community info

Is your feature request related to a problem? Please describe.
It'd would be awesome to have a form to fill the community's information.
Describe the solution you'd like
It could return a JSON and give some guidances to do the PR. In this form, we could perform some checks and return to the user user-friendly messages on what's wrong with tis info.
Additional context
If firebase is going to be used to locate the communities, it could be sended to it or to a minimal backoffice to check that info is right

Hi @tonivj5,
I think this issue is a very important first step. Are you already working on it? I would be happy to help you on this or start with a first PR If you like.

Go ahead @Anexon! It would be awesome to have your help on this :)

I'm not working on it @Anexon, and as @NyaGarcia says, go ahead :+1:


:seedling: Add -count=1 to e2e tests to avoid caching

Fixes issues with golang caching during e2e tests.

Description

Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

This affects only your local tests, CI tests are run in an environment where the cache is already clean.


Feature request please

I initially put in a request for interpolation based on time, but then realised I was being silly. However, thinking about it, this would still be really useful. For smoothing and generally working with GPX files, the distance interpolation is perfect, but once smoothed, it's be nice to interpolate back to time based points e.g. every 1 second for apps like Kinomap. Do you think this is possible please?

Fixed (implemented) in my version (a fork):
https://github.com/Wikinaut/gpx-interpolate

... I am still improving my version, so in case you need that, please always use the latest version.
I just detected the original script failing in case that elevation data is missing in the gpx track file source.


[Bug] [PROCEDURE] Cannot call SP with OUT parameter

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When using 3.0.1, it is found that the SP task with OUT parameter cannot be realized because pr9463 has been modified. The current out parameter cannot be used by the PROCEDURE, but this modification is not applicable to calling the SP with OUT parameter.
the error ：
[ERROR] 2022-11-03 19:35:52.808 +0800 - setSqlParamsMap: No Property with paramName: test1 is found in paramsPropsMap of task instance with id: 6511. So couldn't put Property in sqlParamsMap.
[ERROR] 2022-11-03 19:35:52.808 +0800 - setSqlParamsMap: No Property with paramName: test2 is found in paramsPropsMap of task instance with id: 6511. So couldn't put Property in sqlParamsMap.
[ERROR] 2022-11-03 19:35:52.809 +0800 - procedure task error
java.sql.SQLException: Missing IN or OUT parameter at index:: 2

What you expected to happen
no
How to reproduce
no
Anything else
No response
Version
3.0.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Sorry, there is PR1191 found, there is a fix for it


[IOS] Is possible disable auto shutter?

at the moment it's not possible

@dmarcs, When can we expect this feature?
Also, Its better if you guide to me that in which file i need to change to achieve this?
TA


Feature/trim cache head

Time Estimate or Size
small
Problem
Closes #372
Solution

Store a constant for default max cache length.
I chose an arbitrarily high number of 2000 for the default, example trajectories seem to top out at 1001 frames, is that an actual limit? This PR is about adding the ability to trim the cache, more than it is about saying what the upper bound of a typical cache should actually be, added default +1 to the test bed viewer in case people want to log that its being applied.

Viewport

Add optional viewer prop so user can set max cache length if desired.
The cache needs to be at least 1 frame, so getValidCacheLength validates the prop and passes the value to visData. If the prop is undefined it passes the constant.

VisData:

add public method setMaxCacheLength, constructor defaults to defined constant
add private method trimCacheHead to trim n frames from head of cache
call trimCacheHead in addFramesToCache when cache length exceeds max

New feature (non-breaking change which adds functionality)

Steps to Verify:

A very high value for max cache length, like the default, should have no effect on playback.
A low number should mean that using the slider to scrub back to a recently played section of the trajectory should result in choppy/freshly streamed frames rather than the quick playback of a cached trajectory.

1001 frames is not a limit, just tends to be a good number for file size and playback time for many of our examples

LGTM. This seems good as an initial step, though based on your discussion with Dan and Megan it seems like this is likely to be overhauled in the near future? I'll defer to Dan on that one!

Yeah, I'm in favor of no default length, because as Dan says, it's really hard to predict was a real upper limit is. So I think max cache length should only be a setting provided by props, and otherwise not used. And then in the next PR include a max size as we discussed, that is based on browser memory limits (and adjustable by a user prop )

@meganrm @toloudis
I'll adjust this so that there is not default behavior driven by cache length.
If we want to be diligent about knowing what the cache size actually is, then I think we probably need to use array buffer as a data structure when we store the cache? I thought of a couple hacky options, like making a Blob out of the first frame, or every n frames, and then multiplying the blob size by length, but that's not very precise.

addFramesToCache uses a ParsedBundle.  Basically it's caching the AgentData array.  You could write a very simple function that gets the size of an AgentData (which is a fixed size plus variable number of subpoints), and run through the list and add up all the sizes (how many bytes is a number in js? 8?  Which brings up the fact that it's probably double what is in the ArrayBuffer representation that came across the network).  You could compute the size before the data is moved into the ParsedBundle and the ParsedBundle could carry an extra member variable like cachedSize.

addFramesToCache uses a ParsedBundle. Basically it's caching the AgentData array. You could write a very simple function that gets the size of an AgentData (which is a fixed size plus variable number of subpoints), and run through the list and add up all the sizes (how many bytes is a number in js? 8? Which brings up the fact that it's probably double what is in the ArrayBuffer representation that came across the network). You could compute the size before the data is moved into the ParsedBundle and the ParsedBundle could carry an extra member variable like cachedSize.

this draft pr https://github.com/simularium/simularium-viewer/pull/384 has a basic implementation. but I don't like storing the extra object cacheFrameSizes it definitely needs work
we could take the bundle size, divide by number of frames, and add cachedSize to FrameData?
This is also not performant, when it kicks in during playback it really slows things down to be trimming the cache and then adding to the cache at the same time.

So in discussion w @toloudis this week we are making progress on caching according to size, but I don't want to rush it.
Really for binding sim the feature we want is: the ability to not implement caching at all, the user provided size is not critical at this point.
So I think it makes more sense to just have a boolean prop implementCache, and when it is false, limit the cache to the single current frame. I tested this in binding-sim app this morning and didn't find any issues.
Later when we implement cache size limits, there can be both the boolean flag, and if true, an optional user provided size, as well as default sizes etc. These would be cachePreferences or something like that.
For now trimCacheHead is hard coded to take cache down to 1 frame as its only called when implementCache is false, but we can make it more flexible when we add other options to cache preferences.

@toloudis @meganrm just so everyone is on the same page: changed the data management bits to enableCache but left the front end prop as disableCache per updated feedback from megan, at this point I'm agnostic :)

@toloudis your suggestion above works with a spread operator so I removed trimCacheHead


Automated cherry pick of #2199: vendor: update structarg

Cherry pick of #2199 on release/2.10.0.
#2199: vendor: update structarg

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@07bff25). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #2201   +/-   ##
================================================
  Coverage                  ?   7.56%
================================================
  Files                     ?     410
  Lines                     ?   63576
  Branches                  ?       0
================================================
  Hits                      ?    4812
  Misses                    ?   58353
  Partials                  ?     411

Flag
Coverage Δ

#aFlag
7.56% <ø> (?)

Impacted Files
Coverage Δ

pkg/mcclient/options/servers.go
0% <ø> (ø)

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 07bff25...ca32233. Read the comment docs.

/lgtm

/approve


:lipstick: hid unused elements instead of unmount, to be able to calc…

…ulate width

Remove unused import lint error

Remove unused import lint error

my IDE was taking a break 😅


Create unix shell script equivalent of jerkar.bat

It seems interesting project. I will implement this for you. Already forked project.


memory leak on trials with reward

There memory leak that seems to be associated with the new version of bonsai or new workflow and causes a crash after about 20-30 stimuli. If we run the following to generate 30 trials with the same grating the memory usage gradually creeps up until the computer crashes. As you see I tried putting a rig.clear() in the loop after each stimulus is requested but this makes no difference. As you can see this happens over a few mins and depends upon actually showing stimuli - i.e. if you pause stim requests the memory usage stops going up.
Minimal example with python attached.
readamransonandneurogearsltd.zip

update: on the old workflow / old bonsai version if you start a gratings trial with rig.go(100,100,100,1) instead of the passive rig.start() then you also get the memory leak. I guess that by making passive trials rewardable in the latest version you have caused it to have this behaviour with passive gratings.


New QT platform Bugs

The following bugs have been found by users:
New QT Platform
Admin:
All tests currently being marked as “Dry run”. - There is no tickbox to specify whether the test is a dry run or not.
When creating a test, the email invite box (previously shown only if you tick “dry run”) will always appear. The test is marked as “dry run” regardless of if you place emails here or not. For live tests, will we be handling invites via this box? i.e pasting all candidate emails in.
When clicking “Open tests”, green box has a loading circle then says “error” and moves to right hand-side.
This happened every time I opened tests on the mock tests I created. The tests did create correctly on the candidate-side. Didn’t notice any issues that might have caused. Ran through tests as a mock candidate just fine and answers registered correctly.
Candidate:
(Minor and also present on old platform) Formatting on the Important information section of the introduction:
Double spacing and no period on the first point.
•	This test contains  3 questions
•	You have 40 minutes to complete this test.
•	You must submit your test by 17:00 today.
•	Make sure you've got a stable internet connection before you start.
•	Once you have started the test, do not open the test on a second device.
•	Your answers will be saved as you go through the test, but you can still edit them at the end before you submit your test.
•	If you experience any technical issues please contact the helpdesk.
•	If you run out of time, we will submit whatever answers you have completed up until that point.

Hi @andrew-isaac the following has now been fixed:

Double spacing and no period on the first point.

The "Open tests" button moving and briefly showing an error will be addressed in the work to improve the QT admin page flow - where we will tidy up the buttons and make the process of creating and running a QT more intuitive.
(the issue spotted is not a blocker and looks like an issue with having two instances of our ActionButton component showing/hiding on the same page)


Map

Added the rest of the fellows and their locations on the map #10
Please, go through these steps before you submit a PR.

[X] My Pod Leader knows I'm working on this Pull Request
[X] I've explained what the Pull Request is adding.
[X] I've explained why this is important.

Looks like the code is broken. Please, test thoroughly


transcode example doesn't work with h264

Hi,
In the transcode example, transcoding fails if you change the encoder to astiav.CodecIDH264
I'm on the latest release, with go 1.23.2.
Here's the end of the output:
2024/11/13 01:49:50 ffmpeg log: Decoding SPS - class: hevc [AVCodecContext] @ 0x4a3ab80 - level: 48
2024/11/13 01:49:50 ffmpeg log: Main profile bitstream - class: hevc [AVCodecContext] @ 0x4a3ab80 - level: 48
2024/11/13 01:49:50 ffmpeg log: Decoding VUI - class: hevc [AVCodecContext] @ 0x4a3ab80 - level: 48
2024/11/13 01:49:50 ffmpeg log: nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 - class: hevc [AVCodecContext] @ 0x4a3ab80 - level: 48
2024/11/13 01:49:50 ffmpeg log: Decoding PPS - class: hevc [AVCodecContext] @ 0x4a3ab80 - level: 48
2024/11/13 01:49:50 ffmpeg log: using mv_range_thread = 24 - class: libx264 [AVCodecContext] @ 0x4a37500 - level: 48
2024/11/13 01:49:50 ffmpeg log: using SAR=1/1 - class: libx264 [AVCodecContext] @ 0x4a37500 - level: 32
2024/11/13 01:49:50 ffmpeg log: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 - class: libx264 [AVCodecContext] @ 0x4a37500 - level: 32
2024/11/13 01:49:50 ffmpeg log: profile High, level 3.1, 4:2:0, 8-bit - class: libx264 [AVCodecContext] @ 0x4a37500 - level: 32
2024/11/13 01:49:50 ffmpeg log: Setting default whitelist 'file,crypto,data' - class: file [URLContext] @ 0x4b86700 - level: 48
2024/11/13 01:49:50 ffmpeg log: get_metadata_duration returned: 0 - class: matroska [AVFormatContext] @ 0x4a36a00 - level: 48
2024/11/13 01:49:50 main: opening output file failed: main: writing header failed: Invalid data found when processing input

I tried making some changes by setting various parameters but that didn't seem to work. I wonder if some setting needs to be set that is not exposed by the library?

Forcing global headers seems to get it slightly further, but it fails on the first packet:
2024/11/13 07:19:36 ffmpeg log: Decoding SEI - class: hevc [AVCodecContext] @ 0x4828b80 - level: 48
2024/11/13 07:19:36 ffmpeg log: Output frame with POC 8. - class: hevc [AVCodecContext] @ 0x4828b80 - level: 48
2024/11/13 07:19:36 ffmpeg log: Decoded frame with POC 10. - class: hevc [AVCodecContext] @ 0x4828b80 - level: 48
2024/11/13 07:19:36 ffmpeg log: Changing video frame properties on the fly is not supported by all filters. - class: in [AVFilter] @ 0x4bda040 - level: 48
2024/11/13 07:19:36 ffmpeg log: filter context - w: 960 h: 720 fmt: 0 csp: unknown range: unknown, incoming frame - w: 960 h: 720 fmt: 0 csp: unknown range: tv pts_time: NOPTS - class: in [AVFilter] @ 0x4bda040 - level: 48
2024/11/13 07:19:36 ffmpeg log: non-strictly-monotonic PTS - class: libx264 [AVCodecContext] @ 0x4825500 - level: 24
2024/11/13 07:19:36 ffmpeg log: frame=   0 QP=25.05 NAL=3 Slice:I Poc:0   I:2700 P:0    SKIP:0    size=52506 bytes - class: libx264 [AVCodecContext] @ 0x4825500 - level: 48
2024/11/13 07:19:36 ffmpeg log: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly - class: matroska [AVFormatContext] @ 0x4824a00 - level: 24
2024/11/13 07:19:36 main: filtering, encoding and writing frame failed: main: encoding and writing frame failed: main: writing frame failed: Invalid argument```

non-strictly-monotonic PTS + Timestamps are unset in a packet for stream 0: there seems to have problems with the PTS provided to the encoder then the muxer since they seem to be unset.
What is your input?

It's just a sample mkv pulled off a camera. Pretty sure that warning is just a warning but I can try with better input. The CLI gives the same warning but still transcodes the file.

I get the same error with a file generated using the testsrc:
ffmpeg -f lavfi -i testsrc -t 30 -c:v hevc testsrc.mkv
Haven't been able to get past this for a h264 encode, still getting the same error:
2024/11/13 21:04:01 pkt pts=2080 dts=2000
2024/11/13 21:04:01 ffmpeg log: nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Output frame with POC 50. - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Decoded frame with POC 52. - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Changing video frame properties on the fly is not supported by all filters. - class: in [AVFilter] @ 0x4a30040 - level: 48
2024/11/13 21:04:01 ffmpeg log: filter context - w: 320 h: 240 fmt: 71 csp: unknown range: unknown, incoming frame - w: 320 h: 240 fmt: 71 csp: gbr range: tv pts_time: NOPTS - class: in [AVFilter] @ 0x4a30040 - level: 48
2024/11/13 21:04:01 ffmpeg log: non-strictly-monotonic PTS - class: libx264 [AVCodecContext] @ 0x4234680 - level: 24
2024/11/13 21:04:01 pkt pts=2040 dts=2040
2024/11/13 21:04:01 ffmpeg log: nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Output frame with POC 51. - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Decoded frame with POC 51. - class: hevc [AVCodecContext] @ 0x41252c0 - level: 48
2024/11/13 21:04:01 ffmpeg log: Changing video frame properties on the fly is not supported by all filters. - class: in [AVFilter] @ 0x4a30040 - level: 48
2024/11/13 21:04:01 ffmpeg log: filter context - w: 320 h: 240 fmt: 71 csp: unknown range: unknown, incoming frame - w: 320 h: 240 fmt: 71 csp: gbr range: tv pts_time: NOPTS - class: in [AVFilter] @ 0x4a30040 - level: 48
2024/11/13 21:04:01 ffmpeg log: non-strictly-monotonic PTS - class: libx264 [AVCodecContext] @ 0x4234680 - level: 24
2024/11/13 21:04:01 ffmpeg log: frame=   0 QP=23.58 NAL=3 Slice:I Poc:0   I:300  P:0    SKIP:0    size=2787 bytes - class: libx264 [AVCodecContext] @ 0x4234680 - level: 48
2024/11/13 21:04:01 ffmpeg log: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly - class: matroska [AVFormatContext] @ 0x4167500 - level: 24
2024/11/13 21:04:01 main: filtering, encoding and writing frame failed: main: encoding and writing frame failed: main: writing frame failed: Invalid argument

I think I've figured out the issue. The decCodecContext in the example does not set decCodecContext.TimeBase() even though this time base is used in the decoder to rescale timestamps from input packets like this: pkt.RescaleTs(s.inputStream.TimeBase(), s.decCodecContext.TimeBase())
So I would say there are two small-ish bugs in the example:

Whether or not to set global headers is more dependent on the output format than the input format, but the example sets global headers based on whether the input format has that flag set.
the decoder context doesn't set TimeBase even though it does use TimeBase in this example

Nice catches 👍

Whether or not to set global headers is more dependent on the output format than the input format, but the example sets global headers based on whether the input format has that flag set.

👍

the decoder context doesn't set TimeBase even though it does use TimeBase in this example

Are you sure it fixes the issue? 🤔 After testing very quickly, error disappeared but it resulted with a video in slow motion 🤔

Interesting, I tried another version of libx265 and the example now works. So for the record here, libx265 3.6 works but 4.0 does not.

Upgrading to ffmpeg 7.1 also works. so ffmpeg-7.0+libx265-3.6, and ffmpeg-7.1+libx265-4.0 pairings both work.

OK good to know, glad you got it to work ❤
I'll close this issue for now since it looks to be fixed but feel free to reopen it or open a new one 👍


Entity None (<class 'custom_components.siku.fan.SikuFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method.

System Health details
System Information

version
core-2024.10.4

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.54-haos

arch
x86_64

timezone
Europe/Berlin

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
4994

Installed Version
2.0.1

Stage
running

Available Repositories
1526

Downloaded Repositories
8

Home Assistant Cloud

logged_in
true

subscription_expiration
28. April 2025 um 02:00

relayer_connected
true

relayer_region
eu-central-1

remote_enabled
true

remote_connected
true

alexa_enabled
true

google_enabled
true

remote_server
eu-central-1-9.ui.nabu.casa

certificate_status
ready

instance_id
18101094b09a4ea894036440f1c9859b

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.2

update_channel
stable

supervisor_version
supervisor-2024.10.3

agent_version
1.6.0

docker_version
27.2.0

disk_total
468.7 GB

disk_used
16.0 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
generic-x86-64

supervisor_api
ok

version_api
ok

installed_addons
Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.2-1), Studio Code Server (5.17.2), File editor (5.8.0), ESPHome (2024.10.2), AppDaemon (0.16.7), Grafana (10.1.3), Node-RED (18.1.1)

Dashboards

dashboards
6

resources
2

views
25

mode
storage

Recorder

oldest_recorder_run
23. Oktober 2024 um 08:38

current_recorder_run
31. Oktober 2024 um 20:37

estimated_db_size
1124.46 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Logger: homeassistant.components.fan
Quelle: components/fan/init.py:295
Integration: Lüfter (Dokumentation, Probleme)
Erstmals aufgetreten: 10:29:58 (12 Vorkommnisse)
Zuletzt protokolliert: 10:30:16
Entity None (<class 'custom_components.siku.fan.SikuFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/hmn/siku-integration/issues
Entity None (<class 'custom_components.siku.fan.SikuFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/hmn/siku-integration/issues
Reproduction steps
I have an automation running via Node Red, maybe that's where the problem comes from?
Debug logs
See file stored under diagnostic dump. Unfortunately the protocol has over 620,000 characters

Diagnostics dump
2024-11-01_Debug-Log_SIKU Integration.txt

What version of the integration are you running? because I think this one is fixed in v2.2.0-beta.2
https://github.com/hmn/siku-integration/releases/tag/v2.2.0-beta.2

Sorry for my late reply. I have installed the beta and now also the new official version 2.2.0. So far the problem has not occurred again. Many thanks for your support


python3Packages.git-annex-adapter: init at 0.2.0

Motivation for this change
See #30411.
Now it also works if neither git-annex nor git are installed.
gitMinimal is required as a propagatedBuildInput. Otherwise, I get the following error:
git-annex: git: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)

As discussed in #32011, this is because git-annex needs git in the path.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@FRidh

@GrahamcOfBorg build python3Packages.git-annex-adapter


Unclear exception when using resize_with_pad on images with original_image_ratio > target_side

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
v1.12.1-101328-g60ccf67fad1 2.16.0-dev20231018
Custom code
Yes
OS platform and distribution
macOS 13.6.2
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When using tf.image.resize_with_pad, if the ratio of the dimensions of the original image is bigger than one of the transformations width or height, then it will fail with
output dimensions must be positive [Op:ResizeBilinear]
While it's true that the process itself as set up generates output dimensions that are zero, this behaviour seems unexpected since it's possible to individually resize and pad without issue.
Standalone code to reproduce the issue
import tensorflow as tf

image = tf.zeros(shape=(1, 2000, 3))
out = tf.image.resize_with_pad(
    image,
    target_height=768,
    target_width=768,
)

### Relevant log output

```shell
Traceback (most recent call last):
  File "...venv/lib/python3.11/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "...venv/lib/python3.11/site-packages/tensorflow/python/framework/ops.py", line 5883, in raise_from_not_ok_status
    raise core._status_to_exception(e) from None  # pylint: disable=protected-access
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tensorflow.python.framework.errors_impl.InvalidArgumentError: {{function_node __wrapped__ResizeBilinear_device_/job:localhost/replica:0/task:0/device:CPU:0}} output dimensions must be positive [Op:ResizeBilinear] name:
python-BaseException

Hi @EricPulido ,
I have tested the code. The error is arising from C++ backend hence description is not clear.It seems generated from this line of code from ResizeBilinearOp.
https://github.com/tensorflow/tensorflow/blob/2d7328762fa39668b1f802788f6143c4ffa1e1c4/tensorflow/core/kernels/image/resize_bilinear_op.cc#L58
which in turn calling output validation from here.
https://github.com/tensorflow/tensorflow/blob/b487f0246c5804978f86f0a6bf2add1b911af23c/tensorflow/core/util/image_resizer_state.h#L123-L124
Here given 'input_size' is ( 1,2000). When it scales the input size using 'target_size' (768,768), the 'input_size' dimension becomes '0' making the above check fails and generating the error. You can refer the gist for aforesaid calculations.

When using tf.image.resize_with_pad, if the ratio of the dimensions of the original image is bigger than one of the transformations width or height, then it will fail with
output dimensions must be positive [Op:ResizeBilinear]

I am not actually getting this. Can you please elaborate ?
Thanks!


Move help text into modals

What
https://trello.com/c/D1sGgrBa/1144-5-view-help-text-in-table-frontend

Move the help text into modals that appear on click
Offer a non-js experience (also allows user to right click and open in new window)
Support testing page elements that rely on js and add a test for modals

Why
Title text was an interim measure, users have been seen struggling with it in testing as it only appears on hover, and even then is patchy. This is way better for accessibility and general usability.
Screenshots
Before

After

Could you take another look, please @cbaines


Use passive listeners to improve performance

We should consider using passive listeners to improve performance (ref https://web.dev/uses-passive-event-listeners/). I've noticed this Lighthouse recommendation on pages that use PopoverTrigger, but there may be other components to update.
Example:
-this.triggerElement.addEventListener('touchstart', this.blockHover);
+this.triggerElement.addEventListener('touchstart', this.blockHover, {passive: true});

Going to close as the internal handling of popover will be replaced by Radix


Add automation to easily track progress of each component and update release issues at every stage of the release

This is to add an automation so that each parent release issue in this repo and child release issue in plugin repo are updated at every stage of the release, to avoid confusions and delays overall.
Example parent issue, see description for a list of child issues.
https://github.com/opensearch-project/opensearch-build/issues/2086

[Triage] We have already updated our release process.
Thus this issue is not needed anymore.
Thanks.


accessControllAllowOrigin

When I use redirect:
response.headers.location = "https://baidu.com"
response.headers.accessControlAllowOrigin = "*"

but also:
Cross-origin redirection to http://www.baidu.com/ denied by Cross-Origin Resource Sharing policy: Origin https://localhost:9000 is not allowed by Access-Control-Allow-Origin.

Hi,
I'm not really familiar with redirect scenarios when it comes to CORS. You might have to set a few extra headers like:
Access-Control-Allow-Headers and Access-Control-Allow-Methods
Hope that helps!


Shift+tab from the "replace" textbox doesn't bring to to the "find" textbox

Actually, you cannot even reach that textbox using tab from the replace text box in a reasonable way, as I found out.
Repro steps:

Open a text file
Hit Ctrl+H
Hit Tab
Hit Shift+Tab (once, but also as much as you want)

Can't repro with ctrl+f, I think you mean ctrl+h for find and replace.
The tab order seems screwed up:
Case 1:

ctrl+h focus search term
tab focus replace textbox
shift+tab focus close dialog button, expected to focus search term

Case 2:

ctrl+h focus search term
tab focus replace textbox
tab focus match case
shift+tab focus search term, expected to focus replace textbox

Good catch.


Get the wrong cache directory on kfctl apply

When I pull the version bf67bc61 on master branch and run kfctl apply -V -f ./kfctl_aws.v1.1.0.yaml, .cache is created in .cache/manifests/manifests-1.1-branch, but the kfctl is still trying to find files in 2020/09/17 19:39:03 absolute path error in '/Users/user/Desktop/kubernetes/manifests/kfdef/.cache/manifests/manifests-master/namespaces/base' : evalsymlink failure on '/Users/user/Desktop/kubernetes/manifests/kfdef/.cache/manifests/manifests-master/namespaces/base' : lstat /Users/user/Desktop/kubernetes/manifests/kfdef/.cache/manifests/manifests-master: no such file or directory. But when I run kfctl apply -V -f ./kfctl_aws.yaml, it will try to find the files in manifests-1.1-branch folder.
As a result, kfctl can't create CRD and any resources to create a Kubeflow cluster.
kubectl version Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.15", GitCommit:"2adc8d7091e89b6e3ca8d048140618ec89b39369", GitTreeState:"clean", BuildDate:"2020-09-02T11:40:00Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.13-eks-2ba888", GitCommit:"2ba888155c7f8093a1bc06e3336333fbdb27b3da", GitTreeState:"clean", BuildDate:"2020-07-17T18:48:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
kfctl version kfctl v1.1.0-0-g9a3621e

Facing the same issue while both building and applying.
INFO[0000] No name specified in KfDef.Metadata.Name; defaulting to kubeflow based on location of config file: k8s.yaml.  filename="coordinator/coordinator.go:202"
INFO[0000] Creating directory .cache                     filename="kfconfig/types.go:450"
INFO[0000] Fetching https://github.com/kubeflow/manifests/archive/v1.1-branch.tar.gz to .cache/manifests  filename="kfconfig/types.go:498"
INFO[0001] Updating localPath to .cache/manifests/manifests-1.1-branch  filename="kfconfig/types.go:565"
INFO[0001] Fetch succeeded; LocalPath .cache/manifests/manifests-1.1-branch  filename="kfconfig/types.go:586"
INFO[0001] Processing application: namespaces            filename="kustomize/kustomize.go:515"
WARN[0001] Cannot get kustomization from kustomize/namespaces/base: open kustomize/namespaces/base/kustomization.yaml: no such file or directory  filename="kustomize/kustomize.go:734"

When I pull the version bf67bc61 on master branch
Let's avoid using master branch, you're encouraged to follow AWS installation guidance https://www.kubeflow.org/docs/aws/deploy/install-kubeflow/


[AR-3141] Custom RPC config

PR
Describe your changes

Separated out config into NetworkConfig and RpcConfig
Added rpcConfig of type RpcConfig to InitParams
Made config not global
Added getRpcConfig to parent methods
Added redirectUrl in InitParams, if present it will redirect to it post login otherwise will redirect to where login is initiated from
Added checking of communication and communication.promise[fn] in provider before using
Renamed network.ts to appInfo.ts
Removed dead code

Issue ticket number and link

AR-3141

Checklist before requesting a review

[x] You have performed a self-review of your own code
[x] You are using approved terminology
[x] Your changes have been tested locally
[x] Your code builds clean without any errors or warnings

[Suggestion] If there are more changes, please put commit or file in the description against each change. So that it will be easy to review.

[Suggestion] If there are more changes, please put commit or file in the description against each change. So that it will be easy to review.
Don't commit messages do that?


Consider explaining that code interpreter sessions can time out

I was using GPT Builder yesterday, but I stepped away during the process with the assumption that I could pick it up later. What I didn't realize is that the GPT depends on the code interpreter, and those sessions can time out!
If the GPT could explain that and set expectations at the beginning of how long the process might take and that it can time out, that might have helped me. (Screenshot for context. Also, thanks for publishing this on GitHub!)

Yes, I should add more explicit instructions to download files.
If you need to recover the session, you can usually tell the bot that the code execution state is reset and get it to rewrite them, or at worst open the code and copy-paste. But it's not user-friendly.
I'm also unsure whether the current very long process is ideal - it helps the result by forcing chain of thought, but it's also time-consuming.