I can't complile it!

Describe your problem here.
I tried to compile the game, but it didn't work. I made haxelib install SScript 4.1.0 and I did lime test windows in a experimental branch, but nothing. Can someone help me?

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

holdup I have the files

4,1,0.zip
replace the folder with the contents of this zip

It works, but now it shows this error...

It works, but now it shows this:

What to do?

It works, but now it shows this:

What to do?

remove anything related to HTTP in SScript

Okay...now it shows this:

Okay...now it shows this:

you still didn't remove it all

Okay. I gotcha. After I removed everything that's HTTP it now show it this.

Here's the file that I modified: SScriptVer.zip

Do you have any idea what to do now @MemeHovy?


Update CI config for windows tests

This PR add windows os to the CI tests as per #19

[x] Runs tests for node versions 10 though 16 (plugin might be used on old node versions)
[x] Run once on windows with node@14

Add an npm cache https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

All looks good to merge 👍


docs: use correct syntax for getting color from palette

Currently the Theming guide contains code which is supposed to get a color from a palette, that doesn't work due to usage of quotes. This PR fixes it. I also checked the following line, for 500-contrast both quoted and unquoted syntax work, so nothing needs to be changed there.
Closes #27630

It seems like this PR contradicts https://github.com/angular/components/pull/27122

@crisbeto I have dug a bit deeper. It seems like issue #25702 was fixed by #25685 but it was closing another duplicate issue, so the original issue remained opened. #27122 allegedly closed the issue but in reality brought back again the wrong syntax. This pull request introduces the correct syntax again.


unset setup.cfg python-tag

I don't understand much about wheel compatibility tags but this caused compatibility issues in at least one case that I needed (PyPy 3.6 nightly). It was outdated anyway (it was missing 3.6 and 3.7), so I'll just strip this away. In most cases this will produce a wheel tagged py3-none-any which should be ok.

Thanks


error log Parllax theme

Hi,
Hope you are doing well. I am a not a experienced user, :) and I have encountered this error log, (you can find below) my host says this is due to a  bug in the WonderCMS code.  Any help will be much appreciated,
[20-Jul-2021 14:55:53 UTC] PHP Fatal error:  Uncaught TypeError: Return value of SimpleStatistics::getDb() must be an instance of stdClass, null returned in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php:47
Stack trace:
#0 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php(30): SimpleStatistics->getDb()
#1 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/simple-statistics.php(6): SimpleStatistics->init()
#2 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(1167): include('/home/u78780965...')
#3 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(126): Wcms->loadPlugins()
#4 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(15): Wcms->init()
#5 {main}
thrown in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php on line 47
[20-Jul-2021 14:55:54 UTC] PHP Fatal error:  Uncaught TypeError: Return value of SimpleStatistics::getDb() must be an instance of stdClass, null returned in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php:47
Stack trace:
#0 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php(30): SimpleStatistics->getDb()
#1 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/simple-statistics.php(6): SimpleStatistics->init()
#2 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(1167): include('/home/u78780965...')
#3 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(126): Wcms->loadPlugins()
#4 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(15): Wcms->init()
#5 {main}
thrown in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php on line 47
[20-Jul-2021 14:55:55 UTC] PHP Fatal error:  Uncaught TypeError: Return value of SimpleStatistics::getDb() must be an instance of stdClass, null returned in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php:47
Stack trace:
#0 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php(30): SimpleStatistics->getDb()
#1 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/simple-statistics.php(6): SimpleStatistics->init()
#2 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(1167): include('/home/u78780965...')
#3 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(126): Wcms->loadPlugins()
#4 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(15): Wcms->init()
#5 {main}
thrown in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php on line 47
[20-Jul-2021 14:55:55 UTC] PHP Fatal error:  Uncaught TypeError: Return value of SimpleStatistics::getDb() must be an instance of stdClass, null returned in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php:47
Stack trace:
#0 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php(30): SimpleStatistics->getDb()
#1 /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/simple-statistics.php(6): SimpleStatistics->init()
#2 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(1167): include('/home/u78780965...')
#3 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(126): Wcms->loadPlugins()
#4 /home/u787809652/domains/escuelalibredeadultos.com/public_html/index.php(15): Wcms->init()
#5 {main}
thrown in /home/u787809652/domains/escuelalibredeadultos.com/public_html/plugins/simple-statistics/class.SimpleStatistics.php on line 47

Hi @Escuelalibre , it seems the issue is Simple statistics plugin you have installed.

Was your website working at any point and it then broke?
What version of WonderCMS are you using.
What type of server do you have. (Apache, NGINX, IIS)
What version of PHP do you have.
What version of Summernote do you have?

Hi,
Thank you for your reply,

Was your website working at any point and it then broke?

Yes, It has been working all time, if the issue comes from Simple statics download, this was downloaded long time before it broke,

What version of WonderCMS are you using.

/**

@package WonderCMS
@author Robert Isoski
@see https://www.wondercms.com
@license MIT
*/

session_start();
define('VERSION', '3.1.4');
mb_internal_encoding('UTF-8');

What type of server do you have. (Apache, NGINX, IIS)

I am using Hostinger, https://www.hostinger.com/
In 2019 Hostinger converted its Apache HTTP servers to LiteSpeed Web Server (LSWS) to increase the servers' performance. In mid-2020 Hostinger partnered with Google Cloud Platform. In 2021, Hostinger was listed as one of the fastest-growing companies in Europe.

What version of PHP do you have.

PHP Version 5.6.40

What version of Summernote do you have?

3.1.1
Hope my answers are good enough,
Best wishes

From: Robert Isoski @.>
Sent: Saturday, July 24, 2021 9:18 AM
To: robiso/wondercms @.>
Cc: Escuelalibre @.>; Mention @.>
Subject: Re: [robiso/wondercms] error log Parllax theme (#239)
Hi @Escuelalibrehttps://github.com/Escuelalibre , it seems the issue is Simple statistics plugin you have installed.

Was your website working at any point and it then broke?
What version of WonderCMS are you using.
What type of server do you have. (Apache, NGINX, IIS)
What version of PHP do you have.
What version of Summernote do you have?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/robiso/wondercms/issues/239#issuecomment-886012753, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU5GKUL7J4NZWRHT4PLTWBDTZJSLFANCNFSM5AWAYUYQ.


Adds isbn-verifier generator and exercise

Hi, this PR is to add a new exercise for isbn-verifier, here is a link to the problem-specifications
I'm still learning Crystal, so feel free to point out anything that needs to be change or improved.
Thanks!

@bmulvihill This should be all set to go. :)


Add ErrorData and HeaderRenderer classes

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
✔

Fixed issues
#12, #13

👍


Vibration on Notifications

Implement vibration preferences on notification fragement for alarm and on-change notifications.

Done.


Create trapz function

We need to add the function to https://github.com/QuantStack/xtensor/blob/master/docs/source/api/xmath.rst
and the reference as well (i forgot it, sry). Then rebasing + squashing and I'll merge it!

Also we should make a little note that the function is not lazy. And in the docs -- the way everything is currently implemented, it will always return an xarray (might change in the future).

we should also put this function into our continous benchmarking  as it will be a good one to track our progress with view & reducers! :)

Changes made :)

Congrats on the merged PR!

Thanks! :)


[Feature] Live PV Value / Win rate Display for Streamers

説明 /  Description
The feature request will mainly discuss about the implementation of live PV Value as well as win rate display tools without the hinderance of compiling the software.
背景 / Why
Since there is more and more Shogi streamers go stream live matches, an opensourced and easy-to-use live evaluation tool should be needed.
Developer of 水匠（たややん） have developed a open-sourced shogi winrate evaluation bar utility たややんさんの評価バー付きAI, whichlooks like the picture below:

However, there exists some points need to improve, listed below:

The dependency Cshogi is required, yet it still cannot support macOS.
Another dependency Tkinter, which is used to show the graphical interface, works improperly in linux system. (it has few fonts to choose, and the resolution is very poor.)
The currrent implementation of this project needs to build the AI software together with the evaluation showing system, which will slow down the execution speed of original software.

With all the points stated above, I suggest adding this feature into the program.
手段 / How
The implementation for now is adding the feature on the bottom sidebar.  The main graphical interface of the live evaluation will be like the picture below:

BTW, I am searching the implementation to make this evaluation window popped up as the second window, to reduce space.
その他 / Additional context
Thanks for reading, please tell me if you have any question about this feature!

@Quisette
Thank you for your suggestion.
I have some questions.

The dependency Cshogi is required, yet it still cannot support macOS.
Another dependency Tkinter, which is used to show the graphical interface, works improperly in linux system. (it has few fonts to choose, and the resolution is very poor.)

If need, we can create visualization system as USI engine wrapper (which relay USI commands at between front-end and engine) by appropriate language and appropriate libraries.
What is the motivation for embedding to USI front-end application directly?

The currrent implementation of this project needs to build the AI software together with the evaluation showing system, which will slow down the execution speed of original software.

I think the showing system is just only wrapper of USI engine and the system does not affect to engine process.
"検討ウィンドウ" and engine are launched by separated child processes as following screenshot.
Why do you think this system causes slow down?

BTW, is it possible to let the current Node.js USI receiver separated alone as a repository to support minimal command handling? (just as cshogi stated above)

@Quisette

The USI relay service, which wraps the engine, will slow down the total engine speed since a time is needed to send the USI engine's message to the main Python process, then send back to the frontend. Although the speed of original engine has not been slowed down, the time of sending commands via the python process will slow down the total speed.

As I said above, in order to reduce the slowdown impact of engine, I think it is proper to let frontend to do the rest of the visualization.

Generally, IPC (Interprocess Communication) is very fast and its latency is negligibly small.
Do you have any measurement results of SCWindow's performance?
If SCWindow has large latency, I think it is caused by only SCWindows's implementation, not IPC.

BTW, is it possible to let the current Node.js USI receiver be separated alone as a repository to support minimal command handling? (just as cshogi stated above)

It is possible, but currently, I have no motivation for creating library.

Generally, IPC (Interprocess Communication) is very fast and its latency is negligibly small.
Do you have any measurement results of SCWindow's performance?
If SCWindow has large latency, I think it is caused by only SCWindows's implementation, not IPC.

The current version of evaluation bar made by Tayayan has significant latency on engine starting and setting.
I am not sure if the tkinter(SCWindow) window is the main problem that slowed down the loading speed.
What I am thinking is to let the frontend do the post-evaluating data rendering and display, which can reduce the dependency and the difficulty of importing/packaging the engine, and increase the functionality and versatility of this software.

@Quisette
Sorry, I cofused ShogiEvalBar with SCWindow.
But, these have probably same architecture.

The current version of evaluation bar made by Tayayan has significant latency on engine starting and setting.
I am not sure if the tkinter(SCWindow) window is the main problem that slowed down the loading speed.

What I am thinking is to let the frontend do the post-evaluating data rendering and display, which can reduce the dependency and the difficulty of importing/packaging the engine, and increase the functionality and versatility of this software.

As I said above, its performance problem is probably caused by one of Python, Python's library, or ShogiEvalBar's implementation.
The performance problem of Tayayan's ShogiEvalBar cannot be reason of implementing to ElectronShogi.
And this feature is useful for only entertainment of beginners, is not required by most of high-level players.
I think those entertainment features should be implemented by any derived repositories, because I'm not really interested in such features.

Got it. Maybe I will implement it as another fork of this repository. Thanks!
BTW, is there any plugin system currently exist or to be implemented?

BTW, is there any plugin system currently exist or to be implemented?

Electron Shogi has no plugin system.
I discussed with developer of Qhapaq about plugin system, but we did not decide any plans, so far.

OK, maybe we can make a discuss of plugin system when all the basic functionalities are implemented.
Since the feature request has been rejected, I'll close this issue.


Input boxes are not useable on mobile

There are currently numeric input boxes for the player character's attribute and discipline, as well as the number of dice in the pool and the complications range.  On the desktop these values can be increased and decreased using the up and down arrow keys, or the up and down arrows that appear in the input fields on mouseover.
There are now arrow keys on mobile, which makes these boxes impossible to use properly.  For example, it's not possible to enter an attribute value of 11 or 12, because the user would have to type "1" and then "2" but "1" is not in the allowed range, so the input is rejected.
I suspect that the smallest change that could fix this would be to enforce the range only on blur.

Resolved by #3 but the new control leaves leading 0's in place, so for example, the field will keep "03" as a value.  This is still treated as the value 3 and doesn't damage functionality.  I'm not yet sure if I consider it unsightly or not.


Hello! when I ran docker ,it repoted a issue

bind: No such file or directory

Hi, you probably have an error binding the volume
docker run -v "/path/to/snapshot/on/host:/var/www/localhost/htdocs/snapshots" -e URL=rtsp://<IP_ADDRESS>/unicast -p 80:80 thomx/rtsp-snapshot
Verify everything is OK for /path/to/snapshot/on/host, it exists and is a directory.
In any case you can remove the file and docker should create it.
You could try to run the container without any volume mount to verify.

when I
sudo docker run -e URL=rtsp://<IP_ADDRESS>/test -p 80:80 rtsp
It stil reported error

bind: No such file or directory

Exact same issue.

Ok found : you need to remove the double brackets of the stream url.


Questions about Provisioning Things in the documentation

I have the following error when I post request for /things/bulk according to the documentation, how can I solve this

mainflux version 0.13.0

Re-creating users and re-acquiring tokens are useless

Can you send logs from the Things and Auth service?

This is the first time I use mainflux and follow the documentation, there may be some places I don't understand properly

The problem of connecting the auth service in the things service


Alar2 modifications

This PR is required for PR "https://github.com/Azure/repair-script-library/pull/13" as the current vm-repair extension needs to be modified to add the build tools at deployment time with the help of a cloud-init script.

@malachma What is Alar2

Please fix the following errors
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/custom.py:69:36: E126 continuation line over-indented for hanging indent
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/custom.py:69:215: E202 whitespace before ')'
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/custom.py:72:36: E126 continuation line over-indented for hanging indent
/home/vsts/work/1/s/src/vm-repair/azext_vm_repair/repair_utils.py:26:1: E302 expected 2 blank lines, found 1
2     E126 continuation line over-indented for hanging indent
1     E202 whitespace before ')'
1     E302 expected 2 blank lines, found 1

We have 3 build errors which are reported to have failed. The log messages don't allow me to understand where exactly the issue is raised and why. Could this please be further  investigated.

/azp run

We have 3 build errors which are reported to have failed. The log messages don't allow me to understand where exactly the issue is raised and why. Could this please be further investigated.

I can't see logs. It's gone. I reran them.

Thanks for running the build-test again.


Add workload_exists method

Required for https://github.com/projectcalico/calico-docker/pull/507 (which fixes https://github.com/projectcalico/calico-docker/issues/501)
When using calicoctl to remove workloads, sometimes it might find that docker isn't running but we should still let the user remove the workload from etcd.
This function supports that by having logic which say "the user has passed in an exact workload_id which exists in etcd, there is no need to check with docker"

@tomdee Can you describe what this is used for & why we need it?  I ask because we're expanding the libcalico API with this PR.

@spikecurtis see above. Would you mind reviewing?

No longer need this for the change I'm making


Fields to omit from export : collaborators ?

Is it possible to avoid the exportation of certain creators types, especially in my case the "collaborator" field?
Collaborator is a special creator type in Zotero ; it has no CSL-mapping and then can't appear in a bibliography. But the field is active with BibLaTeX and that can create undesired output. It might be easier to omit its exportation rather than modifying a TeX style.
The BBT documentation says "add a comma-separated list of BibTeX fields you do not want to see in your export." but I don't think this applies to creators.
Thank you.

You mean you don't want any of the collaborators to show up in the authors field? Something else? Can you get me a sample reference by right-clicking and selecting "Report ZotPlus Error" and pasting the ID here?

Exactly.
I can't send a report, I got this error:
Réponse invalide du dépôt: 403:
AccessDeniedInvalid according to Policy: Policy expired.7C6FDF4B450492A5fr0YS4gE693si30qcwlzB6qbpiivIQb7+u/21H+2kuNe/+T6O+8LdWWcec6u67Bfi3Cb5p5MTPM=
FWIW, "Réponse invalide du dépôt" means "Invalid response from the repository".

Yeah, I just saw that. If you upgrade to 1.2.3, it should fix it -- no idea why amazon suddenly thinks the policy expired, but I have a new one in place in 1.2.3.

Report ID: BVD6ZEHV
(sorry, I was not using the latest BBT version, but 1.2.2. With 1.2.3, sending error reports is ok)

1.2.3 was released just 10 minutes ago, specifically for the reporting issue.

In this particular case, adding editora and editoratype to skipfields ought to do the job, no? That is where Zotero contributers show up.

Perfectly, indeed. Problem (question) solved. Thanks…
I assume my question becomes: are editora and editoratype "reserved" by zotero for contributors?
And, a BibLaTeX question (I can't find the answer): can you have, in a .bib file, something inconsistent like an item which has an editoratype=founder and another item which has an editoratype=redactor ? I think such inconsistency is possible, but I'm not sure to understand (and to be clear: I don't need that, I just want to understand how BibLaTeX handles editortype.)

Not by zotero as such, it's just the mapping that the BBT BibLaTeX happens to use:
all creators of type ... => biblatex field:
'author', 'interviewer', 'director', 'programmer', 'artist', 'podcaster', 'presenter' => 'author'
'bookAuthor' => 'bookauthor'
'commenter' => 'commentator'
'editor' => 'editor'
'inventor' => 'holder'
'translator' => 'translator'
'seriesEditor' => 'editorb'
anything else => 'editora'
where editoratype will be 'collaborator' if anything showed up in editora, and editorbtype will be 'redactor' is anything showed up in editorb. I just grabbed this conversion table from the Zotero translators -- I have no particular reason for this mapping other than that if it made sense for Zotero then, it probably does here too.
Looking through the biblatex manual, it seems to indicate that these type fields are per-reference, so no consistency is expected between references.

the mapping that the BBT BibLaTeX happens to use There, right?
Thanks for the clarification, closing this issue !

Right, that's where it happens.


Fix nuke .PHONY

The nuke .PHONY wasn't good. So I nuked it.

(see: https://github.com/brutal-org/brutal/pull/86


minor: Update README.md with system diagram

Which issue does this PR close?

Closes #.
Rationale for this change
A high level system diagram often helps people quickly understand what a project is and how it relates to other proejects.
@sunchao  made a nice diagram for how Comet and Spark relate to each other for the blog post we are working on in https://github.com/apache/arrow-site/pull/479 / https://github.com/apache/arrow-site/pull/479#discussion_r1509503013 and I think that image would be valuable in the main README as well
What changes are included in this PR?

Add diagram
Update README.md to include diagram and some introductory text

How are these changes tested?
You can see how it renders here: https://github.com/alamb/arrow-datafusion-comet/tree/alamb/docs

Merged, thanks @alamb !


Linker Command failed with exit code 1

Hey guys, I followed the install instructions for automatic, and manual, yet I'm still getting this error when I'm trying to build the project.
It doesn't display any other errors, any idea what's going on?

I am getting the same error. any solution?

try to do
react-native link react-native-google-signin

I had the same error and this solved my problem as far as I remember...
@lightninglu10 @Pegahkeshavarz

I'm getting the same error.  When I go to Reporter Navigator in Xcode to expand on the issue it says
library not found for -lGTMOAuth2 above the Linker command failed error

I am getting the same error too.

Same here. Did anyone manage to find a solution?

Getting the same error too

I was able to fix this error.
Instead of adding GoogleSymbolUtilities.framework, GoogleAuthUtilities.framework, etc. to "Link Binary With Libraries" I added only GoogleSignIn.framework from /ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework

thanks this helped solve it for me also

I solve this problem this command
rnpm link react-native-google-signin

I followed all the steps and I am not finding any GoogleSignIn.framework under the ios/Pods/GoogleSignIn. In fact there is no Frameworks folder.
I tried to grab it from the zip file google_signin_sdk_4_1_2.zip and now I get
RNGoogleSignin/RNGoogleSignin.h not found.
I presume I have the wrong framework. Where do I found the GoogleSignIn framework for react-native?

+1

I am facing the same problem and I added GoogleSignIn.framework from /ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework and yet I am having the same error

After adding GoogleSignIn.framework from ios/Pods/GoogleSignIn/Framework still i got the same error.

Any one got some solution this?
After adding GoogleSignIn.framework from ios/Pods/GoogleSignIn/Framework still i got the same error.

Please check out our Example app it should help you get this going
Open a new issue if you encounter a problem.
Thank you.

Is there any concrete solution for this? None of the above solution is working.. @AndreiCalazans @nikita-usatenko @lightninglu10 @anil-kumar-singh @niralivasoya

@vibhavagarwal5 can you open an separate issue, since this issue was a bit old it was closed. Also it would be much easier for others to help if it had a reproducible example.

go Product > Schema > Manage Schema...
add React

clean project and rebuild
this is work for me

my issue gone when i did the following things:

remove ios/Pods by rm -rf ios/Pods.
remove Podfile.lock.
remove lines in Podfile that you didn't add but there is.
pod install


MonteCarloMultiGPU Sample

Existing Sample Changes
Description
Code is changed to make it work on both CPU and GPU. Change in the CMakeFile to execute on CPU and GPU (including Level-Zero and OpenCL Backend).
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Implement fixes for ONSAM Jiras

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[X] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

remove GPU to Device in prints

remove GPU to Device in prints

@krisrak Removed GPU from prints and replaced with Device.

@IgorOchocki looks good, can be merged


Add methods to fix search

Fixes Search.

Unsure how/if we're able to deploy infrastructure changes. For the time-being, we have made this change in the AWS console. Assigning to @jamesgorrie to bring me and @gestchild up to speed on this when he's back in.


Display results for all children of nn.Sequential

By using nn.Sequential, invoking __call__ method of an nn.Model object in PyTorch can call more than two forward functions.
However, current implementation of inference engine does not consider such cases.
This PR fixes this behavior by changing the type of subroutine_node attribute of InferenceEngine from Dict[gast.Call, gast.FunctionDef] to Dict[gast.Call, List[gast.FunctionDef]].

/test


chromadb type error in Python

statement: docsearch = Chroma.from_texts(texts, embeddings, metadatas=[{"source": str(i)} for i in range(len(texts))])
TypeError: 'type' object is not subscriptable
Version: Python 3.8.10
Stack trace:
File "C:\Users\xxx\env\lib\site-packages\chromadb\db\index\hnswlib.py", line 68, in
class Hnswlib(Index):
File "C:\Users\xxxx\env\lib\site-packages\chromadb\db\index\hnswlib.py", line 73, in Hnswlib
_id_to_label: dict[str, int]
TypeError: 'type' object is not subscriptable

Same here, getting the exception when trying to create the Chroma client. This exact same code was actually working fine yesterday, but today when I made a fresh virtual environment and reinstalled Chroma it stopped working. I'm using Python 3.8.6.
File "/Users/XXXX/programming/natural-language-music-search/embeddings.py", line 17, in <module>
    client = chromadb.Client(
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/__init__.py", line 82, in Client
    return chromadb.api.local.LocalAPI(settings, get_db(settings), telemetry_client)
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/__init__.py", line 43, in get_db
    import chromadb.db.duckdb
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/db/duckdb.py", line 2, in <module>
    from chromadb.db.clickhouse import (
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/db/clickhouse.py", line 3, in <module>
    from chromadb.db.index.hnswlib import Hnswlib, delete_all_indexes
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/db/index/hnswlib.py", line 68, in <module>
    class Hnswlib(Index):
  File "/Users/XXXX/programming/natural-language-music-search/env/lib/python3.8/site-packages/chromadb/db/index/hnswlib.py", line 73, in Hnswlib
    _id_to_label: dict[str, int]
TypeError: 'type' object is not subscriptable

And here's the code creating the client:
openai_ef = embedding_functions.OpenAIEmbeddingFunction(
    api_key=OPENAI_API_KEY,
    model_name="text-embedding-ada-002")

client = chromadb.Client(
    Settings(chroma_db_impl="duckdb+parquet",
            persist_directory="embeddings_data"))

The syntax they used here only works in python > 3.9. I know this because I went into index/hnswlib.py and manually changed the offending line totyping.Tuple[str, int] and it worked.

We switched to Dict instead of dict in a release earlier today to fix this.
If you upgrade to 0.3.19 this should be fixed.
On Sun, Apr 2, 2023 at 4:10 PM Nelson Morrow @.***>
wrote:

The syntax they used here only works in python > 3.9. I know this because
I went into index/hnswlib.py and manually changed the offending line totyping.Tuple[str,
int] and it worked.
—
Reply to this email directly, view it on GitHub
https://github.com/chroma-core/chroma/issues/276#issuecomment-1493463014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKW32M4NNSS6QHCE5TODFLW7IBOLANCNFSM6AAAAAAWQCS7RM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Hammad Bashir
EECS | Cal

Many thanks for such a prompt response!
On Sunday, April 2, 2023 at 07:39:11 PM EDT, Hammad Bashir @.***> wrote:
We switched to Dict instead of dict in a release earlier today to fix this.
If you upgrade to 0.3.19 this should be fixed.
On Sun, Apr 2, 2023 at 4:10 PM Nelson Morrow @.***>
wrote:

The syntax they used here only works in python > 3.9. I know this because
I went into index/hnswlib.py and manually changed the offending line totyping.Tuple[str,
int] and it worked.
—
Reply to this email directly, view it on GitHub
https://github.com/chroma-core/chroma/issues/276#issuecomment-1493463014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKW32M4NNSS6QHCE5TODFLW7IBOLANCNFSM6AAAAAAWQCS7RM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Hammad Bashir
EECS | Cal
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Hypervisors in directories / Hosts not found

It appears that if a hypervisor is listed in a directory, the exporter doesn't iterate down into that directory properly - the "extend" function is used on the "host_inventory" dict - this should be "update"
Additionally, we found an edge case where the hypervisor running a VM was not able to be found (possibly a permissions error), which caused everything to fail - I've added in some error checking to neatly handle this scenario.

Codecov Report

Merging #92 into master will decrease coverage by 0.4%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #92      +/-   ##
=========================================
- Coverage   89.91%   89.5%   -0.41%
=========================================
  Files           4       4
  Lines         446     448       +2
=========================================
  Hits          401     401
- Misses         45      47       +2

Impacted Files
Coverage Δ

vmware_exporter/vmware_exporter.py
89.15% <0%> (-0.48%)
:arrow_down:

Continue to review full report at Codecov.

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

Can you add tests for the updates? Please :)

@pryorda all done


Fix windows opening to be larger than the screen

Windows created with WindowLayoutFlag_StartupSize_InferHeight and WindowLayoutFlag_StartupSize_InferWidth can open a larger window than the screen can fit.
It would be nice if the code that did the window setup stdlib/src/ui/ui.cpp:2366 would be smarter about how large it would make a window.  The screen dimensions are accessable through the renderer2d *Group in that function as Group->ScreenDim.
The fix should be as simple as clamping MaxClip to Basis-ScreenDim.  For bonus points, there's a global called DefaultWIndowSideOffset .. you could work that in such that there's a nice border between the max edge and the edge of the OS window.

A few windows that experience this right now when you start up game_loader:
All Entities

Textures

There are more, but those are sufficient. The Textures window has the added bug of being rendered too high due to be bottom aligned and larger than the screen.


Let framework be used from app extensions

Fixes issue: https://github.com/danielgindi/ios-charts/issues/693

From what I can gather this just adds APPLICATION_EXTENSION_API_ONLY to the project file

I understand, that's fine. But do you mean rebasing just the 2 work commits or also the merges?

I would like it if this pull request included only the flag changes. There seems to be some logic change in the first commit. I was asking you to rebase because I wasn't sure if those came from master.

If the logic change is not from master and you believe it is a bug. Just make a separate pull request :+1:

No no, the logic change comes from master. Anyway I think the best will be create a new one with only the flag changes. Thanks!

Thanks. That would be great.

Just a head-up: I am planning on a release very soon. This is a small change that can be easily integrated without delaying anything, so if you want it to go in the next release please hurry :-)

Thanks for the heads-up @danielgindi. I'm closing this PR and opening another one with just that change.


Why we must set the UseAppHost in netcoreapp2.1?

If I remove him in netcoreapp2.1, I can execute my app in both Windows and Linux, and also register my app as Windows Service.
But if I set UseAppHost to true, I can't set the RuntimeIdentifiers to bot win-x64 and linux-x64.
So I think we need more explanation about this tag.

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

ID: b0bd8cb8-7e28-8c4d-a550-3aea8f3ab4dd
Version Independent ID: 4b60d24e-ef05-15e5-10b4-483094081bf3
Content: Host ASP.NET Core in a Windows Service
Content Source: aspnetcore/host-and-deploy/windows-service.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: tdykstra

Hello @baruchiro ...
Possibly so, but I'm unclear on your scenario: Can you describe in more detail what type of deployment model (FDE or SCD) you're trying to adopt and how you're trying to run the app (as an app or as a service) for each platform (Windows and Linux)?
I'm wondering why you don't use the SCD approach for all of your deployments. It sounds like you're trying to run as an app on local Windows and Linux and also register as a Windows Service for a Windows machine somewhere else. If so, I wonder why not just go for SCD.
IIRC, the UseAppHost property was required in 2.1 to make sure that the service would get an activation path (an EXE) in the FDD scenario ... thus producing a working FDE. For 2.2, that's no longer needed ... they made updates to make the SDK smarter :smile:. I think (wildly guess) that if you ran into trouble removing UseAppHost with multiple RIDs that you hit an unsupported scenario for the 2.1 SDK ... it might have been something that they just didn't set up the SDK to support.
btw--- You're not using 2.2 ... just wondering why? There were updates (improvements) to the SDK between 2.1 and 2.2 that changed the need to set UseAppHost.
We can ping the engineers for input, but we need to wait until next week to do that. Everyone is out for the ❄holidays ⛄ right now.

OK. My situation is porting a WindowsService API app to .NET Core.
The app should be FDD, and compiled with .NET Core 2.1. This is my company requirements.
So, first I think that is unclear what is our options in netcoreapp2.1 FDD, but maybe because today we have netcoreapp2.2 it is not very important anymore.
You say in netcoreapp2.1 we use UseAppHost to get exe (to run as win service).
This is very confusing me.

Why we need exe? We can create win service with binpath="dotnet myservice.dll"
Why we want exe? With FDD we always getting one dll to executing cross platformly by dotnet command.

The big question is what happened if I will create an FDD service without UseAppHost compiled as netcoreapp2.1?
From our entire conversation it is clear that information is missing.

unclear what is our options in netcoreapp2.1 FDD

Why we need exe? We can create win service with binpath="dotnet myservice.dll"

Yes ... what the topic covers was by-design. We may expand the coverage tho.
Just a bit of history first: The original Windows Service hosting model wasn't FDD at all prior to 2.1. It was SCD-only before that. Even for 2.1, the approach we pushed in the topic remained SCD-only (probably just because we were super-busy 🏃😅 and didn't update it). It was updated to include an FDD approach for 2.2 on https://github.com/aspnet/Docs/pull/9667, and the approach for both 2.1 FDD and 2.2 FDD is specifically for FDE (Framework-Dependent Executable). FDE (with the EXE) IS FDD ... but ... BUT ... it's based on using an EXE to get the service activated over using the dotnet command as you correctly point out. By the time we arrived at putting FDD into the topic, 2.2 was here :tada:. At 2.2, FDD is covered (as FDE actually) without having to call UseAppHost due to engineering updates for 2.2.
Anyway, the reason a 2.1 (or 2.2 for that matter) PURE FDD approach isn't covered in the topic is that covering activation with the dotnet command would have added another service deployment model to the topic. It's simpler for most use cases ... developing on Windows and running as a service on Windows ... to cover:

FDE (FDD with the EXE)
SCD

... because either way (FDE/FDD or SCD) the service registration involves activating the app the same way ... via an EXE. It just makes the service registration explanation simpler to not describe a true pure FDD approach and the (slightly) different set up to use the dotnet command.
However, it remains an open question: If you found out that multiple RIDs (specifically, including Linux to dev/test on Linux prior to deployment to Windows) work better when the service is set up as a true pure FDD, then we need to re-assess the coverage. That's a nice option for mixed platform cases if the FDE approach as-described fails for some reason. I'm a bit surprised it failed ... but kind'a not surprised at the same time. We're dealing with project file properties, :sparkles: SDK magic :sparkles:, and multiple platforms ... sometimes it can be a bit tricky to get some scenarios to work cleanly ... especially going back to earlier versions when there was engineering churn. There was some significant engineering churn in SDK publishing bits back in the the 2.1 era.

The big question is what happened if I will create an FDD service without UseAppHost compiled as netcoreapp2.1?

Sure ... You can do that if you find it works best for your scenario.

Only have <SelfContained>false</SelfContained>.
Have multiple RIDs allow you to publish for each platform.
Use a service registration with the dotnet command when you intend to publish for Windows as a Windows Service.

That sounds good. We don't cover it ... but that sounds good if it works well.
I think I've seen a couple of blogs on the pure FDD approach out around the Net; however, those blogs I think were Windows all the way: Run locally with Windows, and run on a Windows Server as a Windows Service. They probably had a single RID. I don't recall any of them talking about a cross-platform publishing (as a console app) of a Windows Service app.
You're raising some good issues. Engineering :cat2: :cat2: :cat2: are mostly out this week for the holiday. I'll ping them for help next week.

@Tratcher @shirhatti @natemcmaster TL;DR ... When we did the last update to the WS topic, we went with the common denominator of SCD and FDE for the deployment. It was a easier to explain service registration with an EXE in-hand using those two deployment types. Do we need to expand coverage to include a pure FDD approach (registering the service to run with dotnet command)? I'm a little concerned about wrecking the topic (not opinionated enough and thus offering a confusing number of choices); but if you think we need pure FDD, then I don't see that we have any choice here.

I can see wanting to keep it simple. Maybe add a separate section at the end that covers the differences for pure FDD?

separate section at the end

If we did that, then we should consider just breaking the topic into three independent approaches (i.e., sections) (in the following order; generally from most-to-least favored):

FDE
SCD
FDD

... with an introduction that states the pros-and-cons of each approach. There would be a bit of content duplication, especially in the service registration commands across FDE and SCD; however, it would be dead simple to adopt any of the three approaches without confusing readers and without having readers read through content that doesn't apply to their chosen approach. Our ability to maintain the topic would also be enhanced going forward, too.
My recommendation is either to:

Do nothing if FDD shouldn't generally be used and FDE is always preferred.
Split into three independent sections if FDD useful setup/approach.

I'll defer to @shirhatti on the desirability of FDD, and to you on layout.

I don't have a preference whether we show FDD or FDE. The only reason I opened https://github.com/aspnet/Docs/issues/9214 is that I wanted customers to be aware that they could do Windows Services without doing self-contained. If FDE is still too confusing, I'm okay if we just change the docs to show users how to run "dotnet MyApp.dll" instead.
FWIW, thought. In .NET Core 3.0, the FDE should be generated by default. Not special RID or UseAppHost project properties required.

If FDE is still too confusing, I'm okay if we just change the docs to show users how to run "dotnet MyApp.dll" instead.

It was the other way around. Because FDE produces an EXE and SCD produces an EXE, it made the service registrations easier to explain. All of the commands are using the same thing ... an EXE.
If the topic introduces FDD, then there will be two sets of commands ... EXE and dotnet flavors. That's after splitting the earlier content between FDE, SCD, and FDD ... in other words ... a BIG mess of a topic unless completely independent sections are created for these approaches.

the FDE should be generated by default.

That lends to the do nothing notion and to just leave the topic as-is.
To justify the addition of an FDD section and have a big shakeup on the current organization, I think it comes down to how useful FDD is relative to FDE ...
Is there anything that FDD can do (makes easier, improves, makes possible) over FDE?
If the answer is generally 'no,' then I think the best course here is to do nothing.

I'm okay with "do nothing".
I'm also okay with adding a couple of clarifying comments to the doc
  <!-- These properties instruct the SDK generate an .exe file for Windows. -->
  <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
  <SelfContained>false</SelfContained>
  <!-- This property disables web.config generation because that file is unnecessary for Windows Services. -->
  <IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled>


Condition not working on tab

Link to reproduction
https://github.com/silveltman/payload-reproduction/tree/tab-condition
To Reproduce
Create the following collection:
const Collection = {
    slug: 'pages',
    fields: [
        {
            type: 'tabs',
            tabs: [
                {
                    name: 'testtab',
                    fields: [
                        {
                            name: 'testfield',
                            type: 'text'
                        }
                    ],
                    admin: {
                        condition: () => false
                    }
                }
            ]
        },
    ],
}

export default Collection

Look in the admin panel if the tab is hidden
Describe the Bug
The tab is not hidden, but also no TS error is given.
It seems like either a payload bug; not hiding the tab, or a ts config issue; not giving an error for something which is not intended to be possible
Payload Version
1.15.6

I want to add that all admin config does not work for a tab. This appears to be expected according to this part of the docs:

Therefore, there is probably something wrong with typescript. I looked into the tab types and found the following:
export type NamedTab = TabBase & {
    /** Customize generated GraphQL and Typescript schema names.
     * The slug is used by default.
     *
     * This is useful if you would like to generate a top level type to share amongst collections/fields.
     * **Note**: Top level types can collide, ensure they are unique among collections, arrays, groups, blocks, tabs.
     */
    interfaceName?: string;
};
export type UnnamedTab = Omit<TabBase, 'name'> & {
    label: Record<string, string> | string;
    localized?: never;
    interfaceName?: never;
};
export type Tab = NamedTab | UnnamedTab;
export type TabsField = Omit<FieldBase, 'admin' | 'name' | 'localized' | 'saveToJWT'> & {
    type: 'tabs';
    tabs: Tab[];
    admin?: TabsAdmin;
};
export type TabAsField = Tab & {
    type: 'tab';
    name?: string;
};

The weird things is though that these types do not seem to include 'admin' but still typescript does not give an error when adding an 'admin object to the tab. When adding a random field, like 'adminnnn' typescript DOES give the error.

Hey @silveltman — this is actually on our roadmap to enable!
https://github.com/payloadcms/payload/discussions/1840
I will close this as it is a duplicate, but this is coming soon.
Thank you for bringing this up!

Awesome!
@jmikrut little sidequestion; I askes a quesiton using the form on your website a couple of times but have not heard back, even though it says 24-48 hours response time.
I understand if you are busy atm with 2.0, but just checking if the form is working and you are at least receiving the messages.


draft TA-81448

Fixes DOC-3445.
Publish date is set to today, but can/will be updated before actually merging.

This change is

TFTR Marius. @MichaelTrestman, can you prioritize this review above the others I've tagged you on?


[BUG] Argument of type 'ICommonObject' is not assignable to parameter of type 'ConstructorParams'.

Describe the bug
When try to build flowise got this error:
Argument of type 'ICommonObject' is not assignable to parameter of type 'ConstructorParams'.
To Reproduce
I'm trying to build flowise at Debian bullseye with this dockerfile:
Dockerfile:
# @see https://github.com/FlowiseAI/Flowise/blob/flowise%401.3.8/Dockerfile
FROM node:18-bullseye

ARG BUILD_PATH=/usr/src/packages/flowise
ARG<EMAIL_ADDRESS>
# System packages
RUN apt-get update && \
    apt-get install -y libc6 libc6-dev python3 make g++ curl mc git wget

# Needed for pdfjs-dist
RUN apt-get install -y build-essential libcairo2 libcairo2-dev libpango1.0 libpango1.0-dev

## Install Chromium
RUN apt-get install -y chromium

ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

RUN mkdir -p $BUILD_PATH
WORKDIR ${BUILD_PATH}

# Clone local-ai
RUN mkdir -p ~/.ssh && \
    ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
RUN cd $BUILD_PATH &&\
    git clone --branch<EMAIL_ADDRESS>https://github.com/FlowiseAI/Flowise.git .

RUN yarn install
RUN yarn build

EXPOSE 3000

CMD [ "yarn", "start" ]

docker-compose.yml
version: '3.5'
services:
  # Flowise
  flowise:
    container_name: llm_flowise
    build:
      context: .
      dockerfile: ./build/flowise/Dockerfile
    # image: flowiseai/flowise
    environment:
      - PORT=${PORT}
      - FLOWISE_USERNAME=${FLOWISE_USERNAME}
      - FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
      - DEBUG=${DEBUG}
      - DATABASE_PATH=${DATABASE_PATH}
      - APIKEY_PATH=${APIKEY_PATH}
      - SECRETKEY_PATH=${SECRETKEY_PATH}
      - FLOWISE_SECRETKEY_OVERWRITE=${FLOWISE_SECRETKEY_OVERWRITE}
      - LOG_LEVEL=${LOG_LEVEL}
      - LOG_PATH=${LOG_PATH}
    extra_hosts:
      - "host.docker.internal:host-gateway"
    ports:
      - '${PORT}:${PORT}'
    volumes:
      - ~/.flowise:/root/.flowise
      - ./data:/var/data
    command: /bin/sh -c "sleep 3; flowise start"

.env
PORT=3000
DATABASE_PATH=/root/.flowise
APIKEY_PATH=/root/.flowise
SECRETKEY_PATH=/root/.flowise
LOG_PATH=/root/.flowise/logs

 FLOWISE_USERNAME=user
 FLOWISE_PASSWORD=1234
 FLOWISE_SECRETKEY_OVERWRITE=myencryptionkey
 DEBUG=true
 LOG_LEVEL=debug (error | warn | info | verbose | debug)

When I run docker compose build there is an error in output:
(base) andrey@m2 current % docker compose build flowise
[+] Building 267.1s (13/13) FINISHED                                                                                docker:desktop-linux
 => [flowise internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [flowise internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 911B                                                                                0.0s
 => [flowise internal] load metadata for docker.io/library/node:18-bullseye                                                                                2.4s
 => [flowise  1/10] FROM docker.io/library/node:18-bullseye@sha256:3966bc6b249aaed7b2d44e610b4eb0f96d3ea302c350e2910c687b172297d1bf                                                                    15.1s
 => => resolve docker.io/library/node:18-bullseye@sha256:3966bc6b249aaed7b2d44e610b4eb0f96d3ea302c350e2910c687b172297d1bf                                                                               0.0s
 => => sha256:3966bc6b249aaed7b2d44e610b4eb0f96d3ea302c350e2910c687b172297d1bf 1.21kB / 1.21kB                                                                                0.0s
 => => sha256:9ac8b1566394eb2a05b1c702eeece79119cd8ce5b11cafedc879e62f4738df05 2.00kB / 2.00kB                                                                                0.0s
 => => sha256:dd0dc10f921f4b3b65b17f20d367374079e6cb4e26531624ee64caaaf4adcc28 53.71MB / 53.71MB                                                                                4.2s
 => => sha256:d9c8e3bce435b9fb78d2fd6a8f0ce18ddecff51902c10074a9da4287cb35963b 54.70MB / 54.70MB                                                                                4.1s
 => => sha256:24df8cd9367fa07f6eb95280c2e2b814c9879af2853b01dec59aeaf77f4ca9f8 7.54kB / 7.54kB                                                                                0.0s
 => => sha256:cd7a630df11a812111dd2b7f5b819a692f2350ad055fab0cd3e60b322c2eead5 15.75MB / 15.75MB                                                                                2.4s
 => => sha256:bda70d4f1c4310da8eb56a83b481a5bda9d57efa32a6ef6d7915a7cf487c8ba6 189.80MB / 189.80MB                                                                                9.9s
 => => extracting sha256:dd0dc10f921f4b3b65b17f20d367374079e6cb4e26531624ee64caaaf4adcc28                                                                                1.7s
 => => sha256:b14473caeedf54e452d485fb9353f6baee13c2cbe12a239d8fbf99f9c8fc5d0f 45.96MB / 45.96MB                                                                                7.0s
 => => sha256:3ef1d5def490da11ece91c6d62ffb54a8048064f3daf96f1b247e3f974fcfc6a 4.21kB / 4.21kB                                                                                4.6s
 => => sha256:2e923d387428dbd365eabba5fb7bcfa16d0498a7172dbf1ea05748e9cd96024c 2.21MB / 2.21MB                                                                                5.2s
 => => sha256:0b81f8cb5727e95c89cb704bebc76c58069398c1437d87f1c2bd52a8b662111e 452B / 452B                                                                                5.7s
 => => extracting sha256:cd7a630df11a812111dd2b7f5b819a692f2350ad055fab0cd3e60b322c2eead5                                                                                0.3s
 => => extracting sha256:d9c8e3bce435b9fb78d2fd6a8f0ce18ddecff51902c10074a9da4287cb35963b                                                                                1.6s
 => => extracting sha256:bda70d4f1c4310da8eb56a83b481a5bda9d57efa32a6ef6d7915a7cf487c8ba6                                                                                3.6s
 => => extracting sha256:3ef1d5def490da11ece91c6d62ffb54a8048064f3daf96f1b247e3f974fcfc6a                                                                                0.0s
 => => extracting sha256:b14473caeedf54e452d485fb9353f6baee13c2cbe12a239d8fbf99f9c8fc5d0f                                                                                1.3s
 => => extracting sha256:2e923d387428dbd365eabba5fb7bcfa16d0498a7172dbf1ea05748e9cd96024c                                                                                0.0s
 => => extracting sha256:0b81f8cb5727e95c89cb704bebc76c58069398c1437d87f1c2bd52a8b662111e                                                                                0.0s
 => [flowise  2/10] RUN apt-get update &&     apt-get install -y libc6 libc6-dev python3 make g++ curl mc git wget                                                                                15.3s
 => [flowise  3/10] RUN apt-get install -y build-essential libcairo2 libcairo2-dev libpango1.0 libpango1.0-dev                                                                                3.3s
 => [flowise  4/10] RUN apt-get install -y chromium                                                                                26.8s
 => [flowise  5/10] RUN mkdir -p /usr/src/packages/flowise                                                                                0.3s
 => [flowise  6/10] WORKDIR /usr/src/packages/flowise                                                                                0.0s
 => [flowise  7/10] RUN mkdir -p ~/.ssh &&     ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts                                                                                1.3s
 => [flowise  8/10] RUN cd /usr/src/packages/flowise &&    git clone --branch<EMAIL_ADDRESS>https://github.com/FlowiseAI/Flowise.git .                                                                  3.9s
 => [flowise  9/10] RUN yarn install                                                                                193.6s
 => ERROR [flowise 10/10] RUN yarn build                                                                                5.1s
------
 > [flowise 10/10] RUN yarn build:
0.281 yarn run v1.22.19
0.300 $ turbo run build
0.557 • Packages in scope: flowise, flowise-components, flowise-ui
0.557 • Running build in 3 packages
0.557 • Remote caching disabled
0.557 flowise-components:build: cache miss, executing 6fcdb52eb2a5c950
0.557 flowise-ui:build: cache miss, executing 2322139d30c54751
0.665 flowise-components:build: $ tsc && gulp
0.666 flowise-ui:build: $ craco build
4.481 flowise-components:build: src/handler.ts(254,57): error TS2345: Argument of type 'ICommonObject' is not assignable to parameter of type 'ConstructorParams'.
4.481 flowise-components:build:   Type 'ICommonObject' is not assignable to type '{ publicKey: string; secretKey: string; } & { persistence?: "localStorage" | "sessionStorage" | "cookie" | "memory" | undefined; persistence_name?: string | undefined; } & LangfuseCoreOptions & { ...; }'.
4.481 flowise-components:build:     Type 'ICommonObject' is missing the following properties from type '{ publicKey: string; secretKey: string; }': publicKey, secretKey
4.536 flowise-components:build: error Command failed with exit code 2.
4.536 flowise-components:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
4.545 flowise-components:build: ERROR: command finished with error: command (/usr/src/packages/flowise/packages/components) yarn run build exited (2)
4.559
4.559  Tasks:    0 successful, 1 total
4.559 Cached:    0 cached, 1 total
4.559   Time:    4.203s
4.559
4.559 command (/usr/src/packages/flowise/packages/components) yarn run build exited (2)
4.559  ERROR  run failed: command  exited (2)
4.574 error Command failed with exit code 2.
4.574 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 2

Expected behavior
Correct building.
Setup

Mac OS Ventura 13.5.2
Docker Desktop 4.23.0
Docker version 24.0.6, build ed223bc
Docker Compose version v2.21.0-desktop.1

Here is correct Dockerfile.
FROM node:18-bullseye

ARG BUILD_PATH=/usr/src/packages/flowise
ARG<EMAIL_ADDRESS>
# System packages
RUN apt-get update && \
    apt-get install -y libc6 libc6-dev python3 make g++ python3-pip curl mc git wget net-tools

# Needed for pdfjs-dist
RUN apt-get install -y build-essential libcairo2 libcairo2-dev libpango1.0 libpango1.0-dev

# Install Chromium
RUN apt-get install -y chromium

ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

RUN mkdir -p ${BUILD_PATH}
WORKDIR ${BUILD_PATH}

# Clone repo
RUN mkdir -p ~/.ssh && \
    ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
RUN cd $BUILD_PATH &&\
    git clone --branch $FLOWISE_VERSION https://github.com/FlowiseAI/Flowise.git .

# Install flowise globally
RUN npm install -g ${FLOWISE_VERSION}

# Healthcheck
COPY ./build/flowise/healthcheck.sh /usr/local/bin
RUN chmod +x /usr/local/bin/healthcheck.sh

EXPOSE 3000
CMD [ "yarn", "start" ]

healthcheck.sh
#!/bin/sh
netstat -an | grep ${PORT} > /dev/null; if [ 0 != $? ]; then exit 1; fi;

docker-compose.yml
version: '3.5'
services:
  # Flowise
  flowise:
    container_name: llm_flowise
    build:
      context: .
      dockerfile: ./build/flowise/Dockerfile
    # image: flowiseai/flowise
    environment:
      - PORT=${PORT}
      - FLOWISE_USERNAME=${FLOWISE_USERNAME}
      - FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
      - DEBUG=${DEBUG}
      - DATABASE_PATH=${DATABASE_PATH}
      - APIKEY_PATH=${APIKEY_PATH}
      - SECRETKEY_PATH=${SECRETKEY_PATH}
      - FLOWISE_SECRETKEY_OVERWRITE=${FLOWISE_SECRETKEY_OVERWRITE}
      - LOG_LEVEL=${LOG_LEVEL}
      - LOG_PATH=${LOG_PATH}
    extra_hosts:
      - "host.docker.internal:host-gateway"
    ports:
      - '${PORT}:${PORT}'
    stdin_open: true
    tty: true
    volumes:
      - ~/.flowise:/root/.flowise
      - ./data:/var/data
    healthcheck:
      test: [ "CMD", "/usr/local/bin/healthcheck.sh" ]
      timeout: 10s
      retries: 10
    command: /bin/sh -c "sleep 3; flowise start"


Two words are presented as one while on the real pdf they are not together

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Chrome 63.0.3239.84
Operating system and its version: Win 10
PDF.js version:
Is a browser extension: NO

Steps to reproduce the problem:
1.
FINAL-TEST.pdf

when I do a search with markJS ( https://markjs.io/) words like "burgim deri" "por mungon" appear to be together. i need to do this search with markJS to avoid extra spaces between the words, since the pdf controller needs spaces to be exact :(.

@AvdiuAndin what do you mean by

markJS words

Mark js is a library that i want to use to search words on the pdf. I want to use this because pdf find controller only highlights the words and it is hard to add some functionality on it. OR maybe i did not find a better way that can help me to add some styling on that text. If you have one please feel free to tell me :)

Ya @AvdiuAndin I recently searched this. Ok let me see how far I can proceed with this issue

Mark js is a library that i want to use to search words on the pdf.

This issue is currently somewhat difficult to understand, since it's not really clear if you're attempting to report a problem with PDF.js itself or with some library (i.e. mark.js).
If it's the latter case, please understand that we know nothing about that library and consequently are not able to provide support for it.

when I do a search with markJS ( https://markjs.io/) words like "burgim deri" "por mungon" appear to be together. i need to do this search with markJS to avoid extra spaces between the words, since the pdf controller needs spaces to be exact :(.

Can you please try to clarify the above, in terms of what the issue is in PDF.js itself, since this issue is probably not actionable (and would be closed as such) in its current state?

I'm highlighting words with pdf find controller. I also need to add some styling to that text ( for example add a click event on the text to pop up a modal ). Can u suggest a way how can I add that kind of functionality to the text ?

The PDF find controller gives you the matches as output. Take a look at https://github.com/mozilla/pdf.js/blob/80c33253ed0f70708753a13e49e361ebdac354f2/web/text_layer_builder.js#L189 for how the highlighting is done. With the output from the PDF find controller you should be able to control mark.js. Note, however, that this is out of scope for the PDF.js project, so I'm closing this issue as resolved.

Lets start from the beginning. I want highlight more than 1 sentence on pdf. Can u suggest a way how can i do that ?

I'm highlighting words with pdf find controller. I also need to add some styling to that text ( for example add a click event on the text to pop up a modal ). Can u suggest a way how can I add that kind of functionality to the text ?

Could you please tell me how you used pdfFindController as i'm not able to use it in my javscript code...could you suggest some steps and files required for that

Hey man, it has been a while !! All I remember was that when I was fetching the text from the pdf some of the words were concatenated, but when you read the pdf the words were separated.


北邮自招复审wp - Mr.R的博客 | BY Blog

https://darkeyer.github.io/2018/06/12/北邮自招复审wp/
Every failure is leading towards success.

aaa


one failed test

After installing Dice-embedding library in the Raki server. I got this error?
(dice) zahera@raki:~$ pytest -p no:warnings -x # it takes circa 15 minutes
========================================================================================= test session starts =========================================================================================
platform linux -- Python 3.9.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /local/upb/users/z/zahera/profiles/unix/cs
plugins: anyio-3.6.2
collected 79 items

dice-embeddings/tests/test_continual_training.py ..                                                                                [  2%]
dice-embeddings/tests/test_custom_trainer.py .......                                                                                [ 11%]
dice-embeddings/tests/test_deployment.py .                                                                                [ 12%]
dice-embeddings/tests/test_different_backends.py .F

============================================================================================== FAILURES ===============================================================================================
________________________________________________________________________________ TestPolyak.test_modin_rdf_as_backend _________________________________________________________________________________

cls = <class 'modin.config.envvars.Engine'>

    @classmethod
    def get(cls) -> Any:
        """
        Get config value.

        Returns
        -------
        str
            Config raw value.

        Raises
        ------
        TypeError
            If `varname` is None.

        Returns
        -------
        str
        """
        from modin.utils import (
            MIN_RAY_VERSION,
            MIN_DASK_VERSION,
        )

        if IsDebug.get():
            return "Python"
        try:
            import ray

        except ImportError:
            pass
        else:
            if version.parse(ray.__version__) < MIN_RAY_VERSION:
                raise ImportError(
                    "Please `pip install modin[ray]` to install compatible Ray "
                    + "version "
                    + f"(>={MIN_RAY_VERSION})."
                )
            return "Ray"
        try:
            import dask
            import distributed

        except ImportError:
            pass
        else:
            if (
                version.parse(dask.__version__) < MIN_DASK_VERSION
                or version.parse(distributed.__version__) < MIN_DASK_VERSION
            ):
                raise ImportError(
                    f"Please `pip install modin[dask]` to install compatible Dask version (>={MIN_DASK_VERSION})."
                )
            return "Dask"
        try:
            # We import ``DbWorker`` from this module since correct import of ``DbWorker`` itself
            # from HDK is located in it with all the necessary options for dlopen.
            from modin.experimental.core.execution.native.implementations.hdk_on_native.db_worker import (  # noqa
                DbWorker,
            )
        except ImportError:
            pass
        else:
            return "Native"
>       raise ImportError(
            "Please refer to installation documentation page to install an engine"
        )
E       ImportError: Please refer to installation documentation page to install an engine

/upb/users/z/zahera/profiles/unix/cs/.conda/envs/dice/lib/python3.9/site-packages/modin/config/envvars.py:134: ImportError
---------------------------------------------------------------------------------------- Captured stdout call -----------------------------------------------------------------------------------------
*** Read or Load Knowledge Graph  ***
*** Reading KGs/Family/train.txt with Modin ***
Reading with modin.read_csv with sep ** s+ ** ...
======================================================================================= short test summary info =======================================================================================
FAILED dice-embeddings/tests/test_different_backends.py::TestPolyak::test_modin_rdf_as_backend - ImportError: Please refer to installation documentation page to install an engine
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================================================== 1 failed, 11 passed in 64.42s (0:01:04) ===============================================================================

Dear @hzahera ,
Thank you for giving a try :)
The modin expects that either Ray or Dask has been already installed in the system.  I haven't specified the use of Ray or Dask in the readme as it depends on the user. I will update the readme accordingly. Please install one of the following library
pip3 install modin[ray]==0.16.2

or
pip3 install modin[dask]==0.16.2

I got another one test fail, when I cloned the code and test it :

Training is starting 2023-02-16 17:42:08.220374...
NumOfDataPoints:5216 | NumOfEpochs:256 | LearningRate:0.1 | BatchSize:256 | EpochBatchsize:21
======================================================== short test summary info ========================================================
FAILED tests/test_pickle.py::TestPickle::test_qmult_pickle - RuntimeError: torch.hsplit attempted to split along dimension 1, but the ...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================== 1 failed, 54 passed in 462.20s (0:07:42) ================================================

I am unable to reproduce this issue. Please share your more info about instalation steps and the branch used

I have installed the dice-embedding library from the develop branch with the following requirements
git clone https://github.com/dice-group/dice-embeddings.git
conda create -n dice python=3.9.12
conda activate dice
# Choose a backend
pip3 install pandas==1.5.1
pip3 install polars==0.15.13
pip3 install pyarrow==8.0.0
pip3 install torch==1.13.0
pip3 install pytorch-lightning==1.6.4
pip3 install scikit-learn==1.1.1
pip3 install pytest==6.2.5
pip3 install gradio==3.0.17

During the test cases, I got the above-mentioned error.

which branch ?

This library was installed, I am still getting the same error. Here I share the full output. Is there anything wrong in my installation :)?

 Dropout(p=0.0, inplace=False)
  (entity_embeddings): Embedding(135, 10)
  (relation_embeddings): Embedding(46, 10)
)
indexed_triple = tensor([[  2,   5, 114],
        [ 62,   0,  66],
        [ 47,   6,   4],
        [ 26,   4,  13],
        [ 39,   6,...  [ 76,  20,  32],
        [ 63,   5,  41],
        [ 80,   2, 125],
        [106,  16, 129],
        [ 84,  40,  62]])

    def forward_triples(self, indexed_triple: torch.Tensor) -> torch.Tensor:
        # (1) Retrieve embeddings & Apply Dropout & Normalization.
        head_ent_emb, rel_ent_emb, tail_ent_emb = self.get_triple_representation(indexed_triple)
        # (2) Split (1) into real and imaginary parts.
>       emb_head_real, emb_head_i, emb_head_j, emb_head_k = torch.hsplit(head_ent_emb, 4)
E       RuntimeError: torch.hsplit attempted to split along dimension 1, but the size of the dimension 10 is not divisible by the split_size 4!

core/models/quaternion.py:35: RuntimeError
---------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------
Start time:2023-02-17 15:50:24.062274
*** Read or Load Knowledge Graph  ***
*** Reading KGs/UMLS/test.txt with Pandas ***
Reading with pandas.read_csv with sep ** s+ ** ...
Took 0.0060 seconds | Current Memory Usage  4189.3 in MB
*** Reading KGs/UMLS/valid.txt with Pandas ***
Reading with pandas.read_csv with sep ** s+ ** ...
Took 0.0023 seconds | Current Memory Usage  4189.3 in MB
*** Reading KGs/UMLS/train.txt with Pandas ***
Reading with pandas.read_csv with sep ** s+ ** ...
Took 0.0083 seconds | Current Memory Usage  4189.3 in MB

Concatenating data to obtain index...
Done !

Creating a mapping from entities to integer indexes...
Done !

Done ! 0.007 seconds

Done !

Done !

Took 0.0150 seconds | Current Memory Usage  4189.3 in MB
Data Type conversion...
Submit er-vocab, re-vocab, and ee-vocab via  ProcessPoolExecutor...
Preprocessing took: 0.204 seconds

------------------- Description of Dataset KGs/UMLS -------------------
Number of entities:135
Number of relations:46
Number of triples on train set:5216
Number of triples on valid set:652
Number of triples on test set:661
Entity Index:0.00000 in GB
Relation Index:0.00000 in GB
Train set :0.00003 in GB

# of CPUs:40 | # of GPUs:1 | # of CPUs for dataloader:0
NVIDIA GeForce RTX 3090
------------------- Train -------------------
Initializing TorchTrainer CPU Trainer...        Took 0.0006 seconds | Current Memory Usage  4187.3 in MB
Initializing Model...   Took 0.0021 seconds | Current Memory Usage  4187.3 in MB
Initializing Dataset... Took 0.0631 seconds | Current Memory Usage  4188.1 in MB
Took 0.0633 seconds | Current Memory Usage  4188.1 in MB
Took 0.0634 seconds | Current Memory Usage  4188.1 in MB
Initializing Dataloader...      Took 0.0005 seconds | Current Memory Usage  4188.1 in MB
QMult(
  (loss): BCEWithLogitsLoss()
  (normalize_head_entity_embeddings): IdentityClass()
  (normalize_relation_embeddings): IdentityClass()
  (normalize_tail_entity_embeddings): IdentityClass()
  (hidden_normalizer): IdentityClass()
  (input_dp_ent_real): Dropout(p=0.0, inplace=False)
  (input_dp_rel_real): Dropout(p=0.0, inplace=False)
  (hidden_dropout): Dropout(p=0.0, inplace=False)
  (entity_embeddings): Embedding(135, 10)
  (relation_embeddings): Embedding(46, 10)
)
  | Name                             | Type              | Params
-----------------------------------------------------------------------
0 | loss                             | BCEWithLogitsLoss | 0
1 | normalize_head_entity_embeddings | IdentityClass     | 0
2 | normalize_relation_embeddings    | IdentityClass     | 0
3 | normalize_tail_entity_embeddings | IdentityClass     | 0
4 | hidden_normalizer                | IdentityClass     | 0
5 | input_dp_ent_real                | Dropout           | 0
6 | input_dp_rel_real                | Dropout           | 0
7 | hidden_dropout                   | Dropout           | 0
8 | entity_embeddings                | Embedding         | 1.4 K
9 | relation_embeddings              | Embedding         | 460
-----------------------------------------------------------------------
1.8 K     Trainable params
0         Non-trainable params
1.8 K     Total params
0.007     Total estimated model params size (MB)
Adam (
Parameter Group 0
    amsgrad: False
    betas: (0.9, 0.999)
    capturable: False
    differentiable: False
    eps: 1e-08
    foreach: None
    fused: False
    lr: 0.1
    maximize: False
    weight_decay: 0.0
)

Training is starting 2023-02-17 15:50:24.341194...
NumOfDataPoints:5216 | NumOfEpochs:256 | LearningRate:0.1 | BatchSize:256 | EpochBatchsize:21
==================================================================== short test summary info =====================================================================
FAILED tests/test_pickle.py::TestPickle::test_qmult_pickle - RuntimeError: torch.hsplit attempted to split along dimension 1, but the size of the dimension 10 ...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================ 1 failed, 54 passed in 452.90s (0:07:32) ============================================================

As said before, I am unable to reproduce this error.
Please rerun the below code and share the all output, if a test fails.
git clone https://github.com/dice-group/dice-embeddings.git
git checkout CLF
conda create -n dice python=3.9.12
conda activate dice
pip3 install pandas==1.5.1
pip3 install polars==0.15.13
pip3 install modin[ray]==0.16.2
pip3 install pyarrow==8.0.0
pip3 install torch==1.13.0
pip3 install pytorch-lightning==1.6.4
pip3 install scikit-learn==1.1.1
pip3 install pytest==6.2.5
pip3 install gradio==3.0.17

wget https://hobbitdata.informatik.uni-leipzig.de/KG/KGs.zip
unzip KGs.zip
pytest -p no:warnings -x

I got this error while installing pip3 install pytorch-lightning==1.6.4

->tensorboard>=2.2.0->pytorch-lightning==1.6.4) (0.4.8)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Installing collected packages: tensorboard-plugin-wit, zipp, tqdm, tensorboard-data-server, pyDeprecate, protobuf, oauthlib, MarkupSafe, absl-py, werkzeug, requests-oauthlib, importlib-metadata, markdown, google-auth-oauthlib, torchmetrics, tensorboard, pytorch-lightning
  Attempting uninstall: protobuf
    Found existing installation: protobuf 4.22.0
    Uninstalling protobuf-4.22.0:
      Successfully uninstalled protobuf-4.22.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
googleapis-common-protos 1.58.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-api-core 2.11.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
Successfully installed MarkupSafe-2.1.2 absl-py-1.4.0 google-auth-oauthlib-0.4.6 importlib-metadata-6.0.0 markdown-3.4.1 oauthlib-3.2.2 protobuf-3.20.1 pyDeprecate-0.3.2 pytorch-lightning-1.6.4 requests-oauthlib-1.3.1 tensorboard-2.12.0 tensorboard-data-server-0.7.0 tensorboard-plugin-wit-1.8.1 torchmetrics-0.11.1 tqdm-4.64.1 werkzeug-2.2.3 zipp-3.13.0

I am closing this issue as there is no single test is failed by executing the instructions shown here https://github.com/dice-group/dice-embeddings/issues/73#issuecomment-1434854264 as well as in the readme


Error: Your JavaScript project is missing a package.json file

Describe the bug
when im build wrangler publish i get this error:
Error: Your JavaScript project is missing a package.jsonfile; is/Users/projet/.output/server/index.mjs the wrong directory?
Reproduce the bug
my package.json:

workers dir:

Environment and versions

output of wrangler -V:1.19.11
output of node -v:v16.14.2
content of wrangler.toml:

my wrangler.toml

Thanks!


feat(salesforce): add placeholder page with links to the designs

Adds a quick placeholder page for "Update your financial institution profile" and "Complete your user profile" so stakeholders wonder why we're using a generic SBL Help form for these pages. The placeholder includes a link to the future design image. Something that @natalia-fitzgerald requested, and I think makes sense to avoid weird stakeholder questions. Will be removed after the proof of concept is done next sprint, see: #214
Closes #213
Changes

makes all links to SBL Help / Salesforce go through common.ts so that we can centralize everything and also start linking out to the three different forms for future work next sprint:

SBL Help (generic)
Update your financial institution profile
Complete your user profile

adds a placeholder Salesforce page so that stakeholders understand why there isn't a form here
links to designs for future Salesforce forms

How to test this PR

When I click on "Update your financial institution profile" and "Complete your user profile" links, do I see an explanatory page with a link to the design?

Screenshots

Yay! 🎉


[Bug] flink1.14，when start flink job , status always in starting

Search before asking

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

What happened
flink1.14，when start flink job , status always in starting,but job has error.
use yarn application mode.
StreamX Version
1.2.4
Java Version
1.8
Flink Version
1.14.5
Scala Version of Flink
2.11
Error Exception
flink1.14，when start flink job , status always in starting,but job has error.
use yarn application mode.

Screenshots
No response
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

I had the same problem on streamX 1.2.3 with flink 1.12

StreamX 1.2.4 is not released, how this happen

I had the same problem on streamX 1.2.3 with flink 1.12

I had solved this problem.
When requesting yarn web proxy server, cookie:checked_=true is required to request app information in my yarn cluster,so this step can not get app information,and streamX will tracking app status with yarn rest api,but when it is requesting yarn rest api, streamX uses the wrong url(yarn.web-proxy.address), the correct url is activeRMIp:8088, so I modified related codes, then it worked well.

fixed


Change log message to make it clear this probably isn't an error.

Fixes #390

:+1:

For the record I don't think something like this rises to the level of a PR.


NEI - how to use to measure deflection of the spring

Hi,
as we broke some wires as reported in https://github.com/robotology/icub-support/issues/171, now I discovered that there is this device which should measure the deflection of the spring.
However, I have no idea about how to use it?
As we keep breaking these wires (during walking, squatting, basically whatever requires large knee motion or during insertion/removal or the spring), if there's no way to use it for the time being, I would stop repairing it (for now).
Thanks!

cc @robotology/icub-support-team

let's try again with @randaz81 @maggia80 :smirk:

Better mark this issue as unanswered and close it.
@hu-yue feel free to ping again on this.

Hi,
I would like to reopen this issue as we have now a student working on the springs of the robot, we'd like to know how to deal with this sensor? @randaz81 @maggia80
Thanks!

Currently ETH firmware is not able to read NEI sensor. I'm thus transforming this issue into a feature request @valegagge @marcoaccame

Probably also @TeoKa is interested in this.

Hi @randaz81
Can we close this issue here and open up a feature request within the ticket system of proper repository? I think it'd be a cleaner solution. You could then reference this issue from therein.

Ping @randaz81

Issue moved to robotology/icub-firmware #69 via ZenHub.io


(2 of 2) Increase consistency across the appointments endpoints

Make Appointment Endpoints consistent
Endpoints across the appointment files are inconsistent for multiple reasons. This PR aims to bring them inline:

All optional fields are now pointers
Only path parameters are allowed as function parameters
PtrStr and PtrBool cleaned up a lot of anonymous function declarations
Add more athena comments
More checking for non-optional parameters
All ID fields are now strings
All url.Values{} instances are called form except for http GETs which are called q
All booleans are now pointers to allow differentiating between never set and explicitly set. There are multiple endpoints that can take true or false as a valid value and only allowing true values to go through limits functionality

Breaking Changes
No intentional breaking changes :sweat_smile:

@dillonstreator any thoughts?


remove JSON from resource build scope

This fix is for migration to docfx v3.
we remove the JSON files from resource build scope since the JSON files are only used as code snippets in this repository, it don't need to be added to resource scope unless you want to publish those JSON files and access it by URL.

Docs Build status updates of commit 2942c73:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docfx.json
:white_check_mark:Succeeded

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

@928PJY - what is the impact of this change?

@karann-msft The effect of this change is unclear to me, but I do notice that VS doesn't have *.json in this resource list either.

@karann-msft @Mikejo5000 This fix won't bring any impact to your published content page, the only impact is that you can not access those json files by URL https://docs.microsoft.com/xxx/x.json, but we think that is not a normal requirement.
The reason why we need this fix is we are going to migrate this repository from docfx v2 to v3, by migrating to docfx v3, you will get a much better build performance(for this specific repository, the build time will be changed from 126s to 31s), but the JSON file is not supported to published as resource file anymore in docfx v3.


Memory issue when loading next events from eventstore

Hello, @adrai!
I came across with some sort of memory related issues when I loading next page of events from eventstore. The issue becomes more serious when I call  .next() method of events array multiple of thousands times. As more and more followed by calls of method, memory usage grows of node process, which suggests something is causing a memory leak. Apparently, calling .next() on every returned events array of that page many multiple times causes this.
Please, take a look! Because of this for me is unsafe to use .next() to retrieve next events when there is thousands pages of them, forcing to use a .getEventsSince() workaround.

I would be really happy if you could start to analyze this based on your use case...
A sample app that shows the issue you are describing would help a lot.

Actually have done this so far. The conclusion is (trying to explain).. it holds recursive references to variables in closures declared in previous .next() invocation, even they're not used in current invocation, which results in chained reference to previous closures ending with first invocation where first events loaded and .next() method is declared. So currently declared .next() method function body holds closure of parent function body where has references to previous events array with .next() method.
Comparison of multiple heapdumps really helped to isolate source of "leak".
I would suggest avoid recursive declaring of .next() method repeatly. Instead, declare that function body once and build logic to swap previous events to new, dereferencing prevous them, and can be later garbage collected.

Wow, seems you already did a good analysis... Do you want to submit a PR?

As there seems is needed some redesign I think it's up to you to do so.

.getEventsSince() maybe?

Well, it seems memory usage does not grow that dramatically after tried given code.

v1.12.6

I assume this commit broke something. It got pretty late debugging this now but I need to reverted back to 1.12.5 in order to get the usage of .next() working. I'm using store.getEvents(0, 100, (err, evts) => {...}) in order to start fetching events and I call .next((err, evts) => {...}) once the first batch of fetched events was denormalized. Unfortunately the second .next() call does call the callback I provided to store.getEvents() instead of the callback given to .next(). I think the passed parameters did not get cleaned up properly and I noticed that .next(...) somehow had two callback rather than the one it should have. It's too late for me to debug any further but in case the problem is not obvious I'm happy to dig deeper later.

couldn't reproduce it...
do you mean something like this?
I get:
------ called this callback
------ called next callback
------ called next 2 callback
                    es.getEvents({ aggregate: 'myAgg', context: 'myCont' }, 0, 3, function (err, evts) {
                      console.log('------ called this callback')
                      evts.next(function (err, nextEvts) {
                        console.log('------ called next callback')
                        nextEvts.next(function (err, nextNextEvts) {
                          console.log('------ called next 2 callback')
                        });
                      });
                    });

@adrai Sorry for the delay. I followed up on my report now, analyzed the issue and provided a pull request in #116


chore: bump 0.8.0

Problem Statement
What is the problem you're trying to solve?
Related Issue
Fixes #...
Proposed Changes
How do you like to solve the issue and why?
Checklist

[ ] I have read the contribution guidelines
[ ] All commits are signed with git commit --signoff
[ ] My changes have reasonable test coverage
[ ] All tests pass with make test
[ ] I ensured my PR is ready for review with make reviewable

/ok-to-test-managed sha=f8f576714a0220fb4db0d86954882c1808f683e9 provider=gcp

/ok-to-test-managed sha=f8f576714a0220fb4db0d86954882c1808f683e9 provider=aws

/approve


Topic/fixedpoint

@dwagner please review

[ ]   File: test/functional-tests/FixedPoint.cpp:L1-838
 Please don't add commented (dead) code.
[ ]   File: test/functional-tests/FixedPoint.cpp:L1-838
 You're not using this header
[ ]   General Comment
 ## Current coverage is 72.65% (diff: 90.90%)

Merging #401 into master will increase coverage by 0.35%

@@             master       #401   diff @@
==========================================
Files           214        214
Lines          6674       6684    +10
Methods        1447       1449     +2
Messages          0          0
Branches        845        845
==========================================
+ Hits           4825       4856    +31
+ Misses         1382       1361    -21
Partials        467        467

Powered by Codecov. Last update d55a88f...83cfd50

 @dawagner Just remove update as data a Left aligned. Just checking if additional CPP test case improve test coverage for Out of bound data

This pull request is now managed with CodeReviewHub. Refresh.

Current coverage is 72.65% (diff: 90.90%)

Merging #401 into master will increase coverage by 0.35%

@@             master       #401   diff @@
==========================================
  Files           214        214
  Lines          6674       6684    +10
  Methods        1447       1449     +2
  Messages          0          0
  Branches        845        845
==========================================
+ Hits           4825       4856    +31
+ Misses         1382       1361    -21
  Partials        467        467

Powered by Codecov. Last update d55a88f...83cfd50

@dawagner Just remove update as data a Left aligned. Just checking if additional CPP test case improve test coverage for Out of bound data

You don't need to cherry-pick Miguel's patch: It is already merged in master (Don't worry, I'll merge your PR by hand).

Manually merged.


Hyrax::WorkingDirectory puts object in memory as string

Hyrax::WorkingDirectory in the line:
copy_stream_to_working_directory(id, file.original_name, StringIO.new(file.content))

calling file.content (potentially) puts the entire file in memory at once.  See ActiveFedora::File#content and the various behaviors based on different @content classes (local_or_remote_content and behaves_like_io?).
The point is that WorkingDirectory doesn't know whether it is getting in IO-like object, or an internal @ds_content, ldp_source.get.body or what.  @jcoyne identified this problem in commit 5db7d0c5699e707e9dee2ddfcd6574c8f058cbe1 with the line:
TODO: this causes a load into memory, which we'd like to avoid

See: https://github.com/samvera/hydra-derivatives/issues/162

Closing this. We won't do directed work on this unless we can identify a related performance issue.
We're re-instating Skylight on Nurax to help identify performance and memory use issues, but also welcome active feedback from adopters.


Add CODEOWNERS for the primitives submodule

Summary
The primitives submodule was recently added in the #7723. As the primary
authors of this new submodule were @ikkoham and @t-imamichi and they are
the most familiar with its operation and how it was written this commit
adds both of them as codeowners for this submodule. As codeowners they
have merge permission on the submodule as well as a formal
responsibility to review and maintain it.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.543%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
52679

Relevant Lines:
63056

💛  - Coveralls


Update bevry base files

Update the base files and get the tests passing again

All base files are from https://github.com/bevry/base, Coffee linting added for fun as well


NFC: add operator<< for SubstitutionMap.

This facilitates debugging.

@swift-ci Please smoke test

I don't believe this is too controversial. Merging now.


[Bug]: Cannot delete datasource after deleting installed template application

Is there an existing issue for this?

[X] I have searched the existing issues

Description
After I install the postgreql admin panel template application, I realised that I was not interested in keeping the application.
I deleted the pgAdmin default page and the related actions for the pgAdmin page disappeared from the list of available actions and the  automatically created Mock Database (1) stayed available.
When I try to delete the Mock Database (1) datasource, I receive an error message saying I have 26 actions using Mock Database (1) so I cannot delete the datasource.
Steps To Reproduce

add a new page
in the choice popup, select "new page from template"
choose the postgresql admin panel template and install template
refresh browser
in the pages drop down of the left side bar, click on the settings button of the pgAdmin page
select delete page and confirm deletion
notice that all the database queries related to the installation of the postgresql admin template have disappeared from the Queries/JS dropdown
click on the settings button of the Mock Database (1) datasource
select delete datasource and confirm deletion
notice error message

Public Sample App
No response
Issue video log
No response
Version
Cloud / Self-hosted 1.9.7

still reproducible as on 15 Aug 2023

Duplicate of #16866


Adding support for Laravel newest accessors method

In the latest version of Laravel you can now define mutators & accessor within the new Illuminate\Database\Eloquent\Casts\Attribute
So for example in app/Models/Users
    /**
     * Get the user's first name.
     *
     * @return \Illuminate\Database\Eloquent\Casts\Attribute
     */
    protected function firstName(): Attribute
    {
        return new Attribute(
            get: fn ($value, $attributes) => ucfirst(explode(' ', $attributes['name'])[0]),
        );
    }

So I have created a method determineAccessorType which will try to find the Mutated Attributes both this new way and the older traditional way.
For this new way at-least you also have to add this to each model to let the model-typer know what to do with it
  public array $mutations = [
      'first_name' => 'string',
  ];

For compatibility the old way of
  public function getFirstNameAttribute(): string // <- this
  {
      return explode(' ', $this->name)[0];
  }

should work both with and without the new  $mutations array

PR is still concept & wip


Shipping Rate update is not working (with solution)

What I'm trying to achieve
Update shipping rates.
Checked with saleor-platform right now with sample database - same results.
Steps to reproduce the problem

Go to dashboard -> shipping zone -> shipping method
Try to edit existing Price Based Rates or Weight Based Rates by setting new value range
Save -> no errors - but rates are not updated

Price update is working.
What I expected to happen
Should update rates.
Screenshots

System information
Operating system: Linux
Browser: Chromium, FF
SOLUTION:
add type to input
shippingPriceUpdate (id: "U2hpcHBpbmdNZXRob2Q6Mg=="
  input: {
    price: "12"
    name: "UPSS"
    minimumOrderPrice: "10"
    maximumOrderPrice: "20"
    type: PRICE   <<<<<<<<<<<
  })

why?
https://github.com/mirumee/saleor/blob/master/saleor/graphql/shipping/mutations.py#L179
and yes, it should be required field.
I would post just PR but I`m not a frontend guy and have no idea how to change this.

Thanks for reporting, just checked it's indeed a bug.