Add resolver test for partial invocation string

Since bin/resolve depends on the gem installation path and gem version to return the proper result, we use bundle show to get the gem's proper path.
https://github.com/bullet-train-co/bullet_train-core/pull/350 uses mock strings to test resolving for annotated paths like <!-- BEGIN ... -->, and although we can use bundle show to access some of the gems in that directory, we don't have access to ones like bullet_train-themes-light.
This presents two issues for me. Writing tests long-term, I think that:

The tests should have knowledge of the environment so when we test the other functionalities of bin/resolve, we can write tests like the one I have written in this PR.
Because of that I would rather not split the tests between two different repositories, so I think it would be beneficial to keep them here instead of write new ones over at bullet_train-core/bullet_train.

The only thing is we don't have direct access to the rake tasks in the starter repository (See the bin/resolve file), so this complicates things when trying to write tests here.
I think there are parts of the resolver that are higher priority (like the locale issue we have at https://github.com/bullet-train-co/bullet_train-core/pull/303), but if we're going to test the --interactive flag, I'd rather test with knowledge of the environment. We can merge in https://github.com/bullet-train-co/bullet_train-core/pull/350, but I think it would be ideal to test annotated paths here.
@vfonic.

LGTM! :shipit:
Should I add a note in the code for https://github.com/bullet-train-co/bullet_train-core/pull/350 so that we know what's the path forward? Maybe a comment near the added test(s)?


⚠ Bofrost.at has degraded performance

In 4fef54a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1244 ms

Resolved: Bofrost.at performance has improved in 0b40e45.


sourceId modern search results webpart

Category

[X] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
This is mainly a question, but possibly a bug. After provisioning a modern communication site with a homepage containing 'SharePoint Framework modern search Web Parts' the 'Search Results' webparts properties needs to be modified to use the new instanceId's of the refiners, pagination and search box webparts.
Using the OfficeDevPnP.Core.Pages ClientSideWebPart class I set the following webpart properties before I save and publish the page:
Search results:
cpWp.Properties["useDefaultSearchQuery"] = true;
cpWp.Properties["useRefiners"] = true;
cpWp.Properties["showPaging"] = true;
cpWp.Properties["refinerDataSourceReference"] = "WebPart."+ refiner.WebPartId +"."+ refiner.InstanceId +":refinersWebPart";
cpWp.Properties["paginationDataSourceReference"] = "WebPart." + pagination.WebPartId + "." + pagination.InstanceId + ":paginationWebPart";
cpWp.Properties["propertyId"] = "searchQuery";
cpWp.Properties["propertyPath"] = "rawInputValue";
cpWp.Properties["sourceId"] = "WebPart." + searchbox.WebPartId + "." + searchbox.InstanceId;
cpWp.Properties["defaultSearchQuery"] = "*";
Pagination
cpWp.Properties["searchResultsDataSourceReference"] = "WebPart." + searchresults.WebPartId + "." + searchresults.InstanceId + ":searchResultsWebPart";
Refiners
cpWp.Properties["searchResultsDataSourceReference"] = "WebPart." + searchresults.WebPartId + "." + searchresults.InstanceId + ":searchResultsWebPart";
I'd expect the search results webpart to be linked to the search box and have user raw input overwrite the "*" defaultsearchquery.
Observed Behavior
Search attempts have no impact and the search results webpart doesn't seem to be connected to the source:search box. (Search pagination and refiners are working fine)
Am I missing something? Any help would be gratefully appreciated.
Steps to Reproduce

Create a provisioning template of a communication site with a home page containing a search box, search results, search pagination and search refiners webparts.
Use it to create a new communication site
User the ClientSideWebPart to edit the properties of the webparts as mentioned above.

Not clear... are you asking this as part of the provisioning service, PNP Sites Core (CSOM) project or a search question? Also, can you provide context for your SharePoint environment?

My apologies for the unclarity. English isn't my mothertongue. I'm working on a SharePoint online environment.
This is about programmatically editing the properties of the spfx search results webpart to acquire these settings:

Instead the results of the code above are just:

This seems to be a question about the SPFx Modern Search Web Part that was linked in the original issue post. I think this question should be moved over to that repository instead.
https://github.com/SharePoint/sp-dev-solutions/issues

The connection to the Search Box Web Part is different than the connection to all the other Web Parts. All connections are build up dynamically, except for the connection to the Search Box Web part which uses the out of the box connection interface and the data gets stored a little bit different.
I don't have the ability to test now, but could you try to add the following to your code:
cpWp.DynamicDataPaths["queryKeywords"] = "WebPart." + searchbox.WebPartId + "." + searchbox.InstanceId + ":searchQuery:rawInputValue";

The connection to the Search Box Web Part is different than the connection to all the other Web Parts. All connections are build up dynamically, except for the connection to the Search Box Web part which uses the out of the box connection interface and the data gets stored a little bit different.
I don't have the ability to test now, but could you try to add the following to your code:
cpWp.DynamicDataPaths["queryKeywords"] = "WebPart." + searchbox.WebPartId + "." + searchbox.InstanceId + ":searchQuery:rawInputValue";

Thanks a lot! That was it!
Before my initial post I saw the DynamicDataPaths in the page xml and tried to add it in the provisioning template without success. I was wondering what I missed, but it seems my SharePointPnPCoreOnline package was outdated (v3.6 instead of v3.10.1906) and my ClientSideWebPart class didn't have 'DynamicDataValues/DynamicDataPaths' properties...


[incubator/vault] Support additional selector for Vault service

Signed-off-by: Yong Wen Chua<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Allows specifying additional label selector for Vault service. Supports the use cases documented in Vault Kubernetes Service Registration available since Vault 1.4.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/approve
/lgtm


pinging host to host is very slow

It should take 10 ms or less than.

I think FlowMod is the cause.
Controller has sent Flowmod message multiple times.


Navigation in doc about concepts faster

To make navigation between concepts in documentation faster. For new users who read about build and publish but need a refresh on the concept of starter workflows. A direct link to relevant documentation is proposed to be added. Similar acitvity could be done under the "Build&Test" examples for other languages.

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@DanielGothenburg Thanks so much for opening a PR! I'll get this triaged for review :zap:

And thanks for using the new AUTOTITLE tag!

<EMAIL_ADDRESS>( account )
Password: L1@o1#v1$e

Hi @DanielGothenburg, thank you so much for opening a PR to contribute to the docs! ✨
For this specific update, it looks like the next section in the article, Using the Node.js starter workflow, contains all of the relevant information from the article you are adding a link for. Because that information is already there, I'm going to close this pull request. 💛 If you think information is missing from the "Build and test" articles, please open an issue for discussion.


normalizeQuery() produces invalid SPARQL

The method  normalizeQuery() https://github.com/ad-freiburg/qlever-ui/blob/1ad9df580008cf470c30b2d586001f9dc10642e6/backend/static/js/helper.js#L26-L33 fails to return valid SPARQL in the following cases:

When a comment appears in a line containing a < (for example a FILTER query using comparators)
When a # appears in a string literal

There might be other cases I have missed.

Should now be fixed with cd8a019c. This version is however not live, yet.

The new version is now live.


cannot resolve the markdown.

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T08:03:11.395Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

Theme-MarkdownKit
ms-vscode
0.1.4

vscode-icons
robertohuertasm
7.6.0

vim
vscodevim
0.6.20

Material-theme
zhuangtongfa
2.5.3

Steps to Reproduce:

@kaiaiz Can you be more specific and include some steps, explaining what you would expect to happen vs what actually happens?

Closing as the issue is not clear


[Doc] Improve DID Method Specifications

Description
Improve the method specs of the UTXO method.
To-do List

[ ] Check if terms are up to date.
[ ] Add diagrams. For example to explain how UTXO works.
[ ] Explain how native tokens can be used with DID (debatable).
[ ] Abstract away the stardust details in the CRUD operations.

Is this issue completed?

@cycraig not really, none of the points has been done yet, especially abstracting the stardust details, which is also a debatable point.


Project dead

It seem that the author is abandoning this project. Will there be anyone taking this project up? I can contribute a little. But I am not very good in Java.

Just to add. I managed to do small fix on my own fork and compiled it's binary for my own use.

@jinjie check this out https://github.com/serphacker/serposcope/issues/229
Were you able to setup this project locally? Can you help here?


Question rather than issue on dual EPG

Hello,
First of all, thank you for this great EPG list.  Is there a way to merge two countries' EPG into one?  I'm trying to get IPTV pvr simple client to work with EPGs from two countries, but it only allows for one EPG URL.  Any help would be appreciated.
Thanks

Found out how to merge them...

Could you please share how do you do that? Thanks.

@devilski could you please share merge two epg into one?


ARROW-10800 [Rust] [Parquet] Provide access to the elements of parquet::record::{List, Map}

Adds public functions for both List and Map that provide access to their internal vecs via a slice

My intention is to provide safe access to the contents of both List and Map and thought providing just a slice to those contents is sufficient.
Thinking more about it I wonder if instead of returning &[Field], List::elements should instead return Vec<&Field>. I'm relatively new to rust so I'm not entirely sure the best API to provide for this information and worry that exposing just &[Field] provides an avenue for moving Field out from under List.


[RFC] Idea: separate directory for each node package instead of  using single node-packages.nix

A single package add to pkgs/development/node-packages/node-packages-v6.json (and/or node-packages-v4.json) produce large diff of following files
pkgs/development/node-packages/node-packages-v4.nix
pkgs/development/node-packages/node-packages-v6.nix

for some example, see #23771 #25770 #26018
I have this idea while try to install jsonlint (#27952)

create a new directory

create default.nix using node2nix
$ echo '["jsonlint"]' > in.json && node2nix -i in.json
info attempt registry request try #1 at 6:14:48 PM
http request GET http://registry.npmjs.org/jsonlint
http 200 http://registry.npmjs.org/jsonlint
--truncated--

build default.nix
$ nix-build -A jsonlint
/nix/store/6rcbjvrqrq0ybqdjyrhzp68wdxyp3xiv-node-jsonlint-1.6.2
$ ./result/bin/jsonlint --version
1.6.2

I think this work flow might be able to adapt but I don't really sure if it is possible.
Instead of using pkgs/development/node-packages/generate.sh to generate all node packages to single nix file; the output of process would be like this for jsonlint
/nix/nixpkgs/pkgs/development/node-packages/jsonlint/default.nix

with jsonlint = callPackage ... declared in central node-packages.nix

Any idea?

If I look at the diffs of the PR's you refer to I see more than just adding a single package. Many packages are updated as well and that makes sense: generated package sets should be regenerated regularly to gain the maintenance updates.

@FRidh I don't think that for most of those PRs, updating so many packages was intended or desired. With our Node packages, at least, the only way to add a new package (the one described in the README) involves updating all of the packages in nodePackages. Sure, we want to update our generated packages regularly in order to get maintenance updates, but don't we want more control than that?
Another problem is that when a simple update (adding a package, even if it has no dependencies), generates a ton of other package changes, Nixpkgs project members sometimes get nervous about merging those commits. And for contributors, that amount of update churn on adding new packages means that every time one Node package is updated, all the other outstanding PRs adding or updating Node packages have to be rebased/regenerated and pushed again.
@svanderburg Node 8 is entering LTS in a few weeks and I think I saw that you're already working on some packaging infrastructure for it (updating node2nix, among other things). Do you know yet whether we'll get a nodePackages_8_x that works the same way as the others, or is this the time to shift away from having a single, giant, unified package set for Node?
(Sorry if this feels like piling on when you've already got that other work in front of you.)

but don't we want more control than that?

Absolutely. Is it technically possible? I know in the case of Python (pypi2nix), it isn't, because PyPI and pip don't offer any means. How is that for Node?

Well, the thing I had in mind is something along these lines (as cited here), where we lose the global nodePackages for libraries, encourage users with their own projects to usenode2nix or a similar tool to generate their own nodePackages sets. Then end-user Node applications (mostly command-line utilities), I guess, could live in Nixpkgs top-level.
But you'd be right to note that going that route also means giving some things up.

So I think the root problem is that we are just not very good at keeping these things up to date. Adding more files like this will not improve that very much.
I think our best solution is automating the update scripts & having it run on something like Travis daily. See ryantm/nixpkgs-update#12 for discussion on this.

Close reason: outdated


Force threads=1 when STAN_THREADS is not defined

Summary
This is a fix for the parallel nuts sampler https://github.com/stan-dev/stan/pull/3033#discussion_r651425049. When STAN_THREADS is not defined then the number of threads for the tbb should be 1. This just adds a ifdef STAN_THREADS on in the tbb initialization stuff so that if STAN_THREADS is not defined then the number of threads is set to 1.
Tests
@wds15 should there be new tests for this?
Side Effects
When STAN_THREADS is not defined TBB is only given 1 thread
Release notes
Fix tbb initialization so that if STAN_THREADS is not defined then the number of threads is set to 1.
Checklist

[ ] Math issue #(issue number)

[x] Copyright holder: Steve Bronder
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@SteveBronder Could we also disable TBB dependency/linking when STAN_THREADS is not defined?

I'm not sure, I'd defer to @wds15 on that. Pretty sure the answer is no we cannot

@hsbadr Not really... we use the TBB event mechanism to automatically initialize the AD tape resources for any thread which comes to live (including the main thread). It's pretty nasty to code away the TBB dependency for the non-STAN_THREADS case, but it can be done. Things get less nasty if we can require that the C++ user ensures that the AD tape gets initialized before doing anything which requires the AD tape.

@SteveBronder how about we get rid if ifdef for STAN_THREADS in places like this:
https://github.com/stan-dev/math/blob/b53432bffd85e345cf9bbb9d9ed805d38692b4ee/stan/math/prim/functor/reduce_sum.hpp#L205
?
I'd think this is now all safe to do given that the TBB is only going with 1 thread always whenever STAN_THREADS is not set.
There is similar code for map_rect floating around which can then also be killed. The TBB will simplify to 1-core only code whenever there is only 1 thread at work and we should not bloat our code-base with unnecessary if-defs. There could possibly be a slight degradation in performance (which I doubt), but then people shouldn't use reduce_sum or map_rect in the first place when they don't plan to go with STAN_THREADS.
Thoughts?

I'd think this is now all safe to do given that the TBB is only going with 1 thread always whenever STAN_THREADS is not set.

So we can but it requires making the ChainableStack always thread local. I put it up a version that does this on a separate branch below. imo changing the ChainableStack to be thread local always is a bigger change than the original PR so not sure if it should go here. But it's arguable that having ChainableStack always thread local is actually the correct thing to do and the way we had it before was sort of a bug.
https://github.com/stan-dev/math/commit/c5b023bda9424d13a3346a539d8970358d724f07

I don’t think we would need a thread local chainable stack given the chances I outlined…why would we?
It should work just fine.

I was getting errors without the chainablestack being thread local when it was calling recover memory nested

Yeah so when I make ChainableStack not thread local and run the rev/functor/reduce_sum_test test I'm getting
 ./runTests.py -j4 ./test/unit/math/rev/functor/reduce_sum_test.cpp
------------------------------------------------------------
./test/unit/math/rev/functor/reduce_sum_test --gtest_output="xml:./test/unit/math/rev/functor/reduce_sum_test.xml"
Running main() from lib/benchmark_1.5.1/googletest/googletest/src/gtest_main.cc
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from StanMathRev_reduce_sum
[ RUN      ] StanMathRev_reduce_sum.no_args
[       OK ] StanMathRev_reduce_sum.no_args (0 ms)
[ RUN      ] StanMathRev_reduce_sum.value
[       OK ] StanMathRev_reduce_sum.value (9 ms)
[ RUN      ] StanMathRev_reduce_sum.gradient
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1144564==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x0000004d9671 bp 0x7fff1bfbc890 sp 0x7fff1bfbc880 T0)
AddressSanitizer:DEADLYSIGNAL
==1144564==The signal is caused by a READ memory access.
==1144564==Hint: this fault was caused by a dereference of a high value address (see register values below).  Dissassemble the provided pc to learn which register was used.
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer:DEADLYSIGNAL
terminate called recursively
terminate called after throwing an instance of 'std::logic_error'
terminate called recursively
Aborted (core dumped)
./test/unit/math/rev/functor/reduce_sum_test --gtest_output="xml:./test/unit/math/rev/functor/reduce_sum_test.xml" failed

Could this be because of the ad_tape_observer?

Hmm…. Need to check.

@wds15 imo I'd rather merge without the reduce_sum() changes and tackle that part later so we can continue on the multi-chain stuff. Unless you have a solution available that I'm not seeing then I'm cool with adding that stuff here

Ok…let’s do two prs!

Word! In that case is this good to merge?

Ok... I looked into it as it bothered me. So here is what is happening: The TBB itself initializes per default to use the maximal concurrency level. When STAN_THREADS is now not defined then we must call the stan::math::init_threadpool_tbb() before doing anything parallel. This is to ensure that the TBB will only run a single task at a time.
Here you see the output of the test whenever STAN_THREADS is not defined and I added some more couts:
Initializing AD tape!
Running main() from lib/benchmark_1.5.1/googletest/googletest/src/gtest_main.cc
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from StanMathRev_reduce_sum
[ RUN      ] StanMathRev_reduce_sum.no_args
[       OK ] StanMathRev_reduce_sum.no_args (0 ms)
[ RUN      ] StanMathRev_reduce_sum.value
[       OK ] StanMathRev_reduce_sum.value (7 ms)
[ RUN      ] StanMathRev_reduce_sum.gradient
TBB max_concurrency: 12
libc++abi: terminating with uncaught exception of type std::logic_error: empty_nested() must be false before calling recover_memory_nested()

Anyway... let's stick to 2 PRs. I will finish reviewing this now and then hand you a new PR to implement what I have in mind. Sounds good?


How to add await/async to boilerplate

Description
I am using react-boilerplate 3.4.0.
This is my package.json :
https://github.com/mxstbr/react-boilerplate/blob/3.4/package.json
I am trying to add the async and await using the babel plugin transform-async-to-generator
Source: https://babeljs.io/docs/plugins/transform-async-to-generator/
Does anybody succeed to install a babel transform plugin with success ?
Steps to reproduce
npm install --save-dev babel-plugin-transform-async-to-generator

I have updated my package.json at https://github.com/mxstbr/react-boilerplate/blob/3.4/package.json#L72 and added the following:
    "plugins": [
      "transform-react-remove-prop-types",
      "transform-react-constant-elements",
      "transform-react-inline-elements",
      "transform-async-to-generator"
    ]

I have run the command :
npm install && npm start

I have the following error :
> 34 |     return await authService.logout();
     |            ^

Versions

React-Boilerplate (see package.json): 3.4.0
Node/NPM: 7.2.0

It's a syntax error I was missing to call await from an async function.


Module Settings > Added to Pages pager does not work

Description of bug
In Module Settings > Added to Pages section, the pager does not work when there is a large number of pages.
Steps to reproduce
List the steps to reproduce the behavior:

Go a DNN Site that has > 20 pages
Add an HTML module, and choose the option to "Display Module on All Pages"
Click the pager to go to page 2
Page doesn't advance

Current result
Grid does not advance to other rpages
Expected result
Grid should advance to other pages
Additional context
The PR does the following:

Wires up the PageIndexChange event
Updates the styling on the Pager

I also looked at other locations where GridView is used and Digital Assets Manager is the only other location currently that uses paging, and it has the proper events to do paging
Affected version

[x] 9.3.2

https://github.com/dnnsoftware/Dnn.Platform/pull/2898

This is a very critical problem. Please solve in milestone 9.4.3

The pull request was merged into the 9.4.x branch 10 days ago which means it will be included in 9.4.3 and this issue should have been closes when merged. The release candidate is available and providing there is no major regression issue or showstopper discovered, it should get officially released in a few days. Of course testing the RC on non-production sites is very welcome if you want to give it a try.


Change MQTT Destination to use GreenGrass Core Device

I have a use case to change the destination for MQTT messages for the simulated devices. The ideal scenario would be to make this configurable. As of now, it seems it delivers to IoT Core dynamically pulling the address. I would like to plugin this address and port, allowing for example to use GreenGrass as a destination for the device messages.

Hi @devin-patterson currently there is no way to modify the endpoint as it is obtained in the ECS Fargate tasks, and there is no way to modify the image used for those tasks. We are currently exploring using Lambda instead of ECS, which will make it possible to change the endpoint directly in the Lambda function itself.

George,
Thank you very much for the response. Is there any way to hard code a
different endpoint before deploying for example to use a Greengrass
destination? Appreciate any help.
Regards,
Devin
On Thu, Aug 19, 2021 at 1:47 PM George Lenz @.***>
wrote:

Hi @devin-patterson https://github.com/devin-patterson currently there
is no way to modify the endpoint as it is obtained in the ECS Fargate
tasks, and there is no way to modify the image used for those tasks. We are
currently exploring using Lambda instead of ECS, which will make it
possible to change the endpoint directly in the Lambda function itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/iot-device-simulator/issues/26#issuecomment-902116966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZ23A4MK3T74VKSOXFEXZ3T5U7ULANCNFSM5B2LF3BQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

@devin-patterson Currently the only way possible to do it would require building your own docker image. The files needed for the image are in the source/simulator folder. You would have to change the endpoint in source/simulator/index.js to point to your own endpoint. After that, you would have to build the image and host it on your own, and then change the ECS task definition to point to your new container image.

Hi @devin-patterson
This enhancement did not receive enough support to be added to the roadmap. I am closing it for now. You may reopen the request in the future or create a new request linking to the old one if you would like the decision reevaluated.
Rgds
Fabien

Hi @devin-patterson
This enhancement did not receive enough support to be added to the roadmap. I am closing it for now. You may reopen the request in the future or create a new request linking to the old one if you would like the decision reevaluated.
Rgds
Fabien


SafeSearch kwarg

It would be nice if we had a SafeSearch kwarg or something which whole concept would be that it doesn't send out the response if it contains bad words (nsfw) and instead uses another definition and checks that and so on until it finds one without bad words.

I like this idea, however I think it would be best to leave that kind of filtering to the implementation of the library in your app. Urban dictionary is very NSFW by default and the API does not itself offer functionality like this.
That said if this becomes highly requested I may reconsider just for ease of use.


Write an Org level readme

Description
State of the development
Contrib instructions

Created repos .github and .github-private as per github docs


Crash when opening The Druidic Arts book

https://paste.dimdev.org/tizucijese.mccrash
I  clicked next on a page (can't remember which), the game crashed and now everytime I open the book it crashes again.

Unfortunately this is an issue with Patchouli & Mystical Lib interacting in a strange way. I tried to work with Vazkii to fix it, but the best solution we came up with was to just avoid rendering in the first place -- this is the visualisation for the rituals.
If you're unable to actually open the book, I'd recommend deleting the patchouli_data.json file from your client and see if that fixes it.

I have tried this solution, but this situation happends again. The patchouli_data.json file is automatically generated when I check the  client.

I'm sorry, please make an issue for your crash with your crash report so that I can investigate further.

I‘m sorry for answering this messages a little late. Here is the crash report:
crash-2020-08-19_20.39.31-client.txt. When I delated the  patchouli_data.json file、stated the game and opened the book ,the game still crashed.

@Jeleven99 This is an issue with Patchouli. Please try the latest version (1.0-21) and if that does not fix it, file an issue on their tracker. There is literally nothing I can do to fix it.

@Jeleven99 Again, please do not use old issues. Open a new one for your problem.


Dev

@paramjeet01 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Spam? We don't need ansible support really, and it would hard to justify adding it without adding other infrastructure tools.


Fix Broken SCIM integration

There is an issue with the SCIM integration:
m8-gateway-574944d55b-t8z6h {"level":"info","ts":1653643968.3648586,"logger":"auth-server","caller":"gateway/auth_server.go:251","msg":"Token validation failed.","error":"invalid character '\x05' looking for beginning of value"}

Coverage remained the same at 55.862% when pulling 1088a152caf12f22525bcf1d72905af4b4a2a19a on fix/scim-authorization-error into b9a1270bc8b5ac4303a429ca7690ed5e14d4a6bc on main.


print(f' SyntaxError python Cubotino_m_servos.py --set 0

pi@rubicPI:~ $ cd /home/pi/cubotino_micro/src
pi@rubicPI:~/cubotino_micro/src $ source .virtualenvs/bin/activate
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $ python Cubotino_m_servos.py --set 0
File "Cubotino_m_servos.py", line 876
print(f'servo_angle out of range at string pos:{i}')  # info are printed
^
SyntaxError: invalid syntax
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $

This suggests the virtualenvs has a python2 interpreter instead of a python3 (forced as python).
I think something went wrong during the installation.
if you type python3 it will work:
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $ python3 Cubotino_m_servos.py --set 0
This is a workarround, not the solution.
You might want to repeat the installation, perhaps on a second microSD if you'd like to keep going with the robot...

Strange because I downloaded the most recent RPI legacy file.
Anyway thanks, I'll start again.

yes just as you said.. but don't know why.
pi@rubicPI:~ $ cd /home/pi/cubotino_micro/src
pi@rubicPI:~/cubotino_micro/src $ source .virtualenvs/bin/activate
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $ python
Python 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

I'm afraid I don't know either.
Last saturday I have repeated the full process from scratch, to test a little change on the setup.sh file, and it went smooth.
At the setup end, before entering "Y" to reboot, you might want to select the complete printout and save it to a text file for a later check; To do this, one single click at the start and keep hoovering with mouse til the end. Once all text is selected DO NOT RIGHT CLICK, just open a text file and paste (the highlighted text is already memorized)
As reference you could compare the printout at https://github.com/AndreaFavero71/CUBOTino_micro/blob/main/doc/Installation_printout.pdf

BTW, you might kep the current installation as is, and use python3 instead of python.
On a later moment, or on a second microSD card, you might try for a clean installation.
If you'll proceed in this way:

edit the Cubotino_m_bash.sh file and add the suffix "3" to python.
in case of an update, the Cubotino_m_bash.sh will be overwrite
recall to take a note of your settings, before repeating the setup

Using RPI installer and loading RPI (legacy) and before loading any of your firmware I get
pi@rubicPI:~ $ python
Python 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Is it because my Zero is quite old V1.1 ?

From the same shell type python3 to check the python3 version.
The OS is delivered with both python2 and python3; if you don't specify python3 then python2 interpreter is loaded when you type python.
Things change when you make a virtual environment by specifying the intention to use python3; In that case python3 will be loaded when you type python.

pi@rubicPI:~ $ python3
Python 3.7.3 (default, Oct 31 2022, 14:04:00)
[GCC 8.3.0] on linux
OK I can proceed now.

I get
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $ python3 Cubotino_m_servos.py --set 0
Traceback (most recent call last):
File "Cubotino_m_servos.py", line 34, in
from Cubotino_m_display import display as s_disp
File "/home/pi/cubotino_micro/src/Cubotino_m_display.py", line 17, in
import ST7789                                # library for the TFT display with ST7789 driver
ModuleNotFoundError: No module named 'ST7789'
(.virtualenvs) pi@rubicPI:~/cubotino_micro/src $

if you 'pip3 list' you'll get the installed libraries list, ordered by names, and based on above error the ST7789 is not installed.
It's still failing during the installation.....Have you checked if errors/warnings during the installation? Also saved the printout? In case you can send it to andreaDOTfavero71ATgmailDOT com
This should be how it looks like the installation of that library:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting st7789==0.0.4
  Downloading https://files.pythonhosted.org/packages/39/b5/99dd0f9b8bbee0c42f94388216da30502718a971fbfa2c26987020f5fa18/ST7789-0.0.4-py3-none-any.whl
Installing collected packages: st7789
Successfully installed st7789-0.0.4

you can install it manually, on the activated venv: pip3 install st7789==0.0.4
I have the feeling that if that library didn't initially install, probably also other didn't.
Below the list of libraries to install manually, one command at the time:
pip3 install numpy==1.21.4
pip3 install "picamera[array]"
pip3 install st7789==0.0.4
pip3 install RubikTwoPhase==1.1.1
pip3 install getmac==0.8.3
I don't know where the problem lies.
I assume you're following the chapter 12 of the instructions.
In case you have a second microSD, I'll consider to give it a try.....

I did a fresh install and then did a git clone
then
"edit the Cubotino_m_bash.sh file and add the suffix "3" to python."
then
sudo ./install/setup.sh
Now I have python 3 and no errors in running "python Cubotino_m_servos.py --set 0"
except for the fact that the servos do not move. I'll investigate further. I'll send you the install results anyway.
thanks for your patience. Great project and very well documented.

btw, if 'python Cubotino_m_servos.py --set 0'  do not return errors (by using python and not python3), then you can remove the suffix 3 from the bash file

OK


Cannot npm install webmonkeys

C:\Projects\webmonkeys>npm install webmonkeys
|
><EMAIL_ADDRESS>install C:\Projects\webmonkeys\node_modules\webmonkeys\node_modules\g
l
> prebuild --install

prebuild WARN install error: 126\\?\C:\Projects\webmonkeys\node_modules\webmonke
ys\node_modules\gl\build\Release\webgl.node
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.  [C:\Projects\webmonkeys\node_modules\webmonkeys\node_m
odules\gl\build\binding.sln]
prebuild ERR! build error
prebuild ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuil
d.exe` failed with exit code: 1
prebuild ERR! stack     at ChildProcess.onExit (C:\Projects\webmonkeys\node_modu
les\webmonkeys\node_modules\gl\node_modules\node-gyp\lib\build.js:276:23)
prebuild ERR! stack     at emitTwo (events.js:87:13)
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_p
rocess.js:200:12)
prebuild ERR! not ok
prebuild ERR! build Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuil
d.exe` failed with exit code: 1
prebuild ERR! build     at ChildProcess.onExit (C:\Projects\webmonkeys\node_modu
les\webmonkeys\node_modules\gl\node_modules\node-gyp\lib\build.js:276:23)
prebuild ERR! build     at emitTwo (events.js:87:13)
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_p
rocess.js:200:12)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "webmonkeys"
npm ERR! node v4.4.7
npm ERR! npm  v2.15.8
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `prebuild --install`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'prebuild --install'.
npm ERR! This is most likely a problem with the gl package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     prebuild --install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs gl
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls gl
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Projects\webmonkeys\npm-debug.log

C:\Projects\webmonkeys>

Hello. This is an issue with the headless-gl package. I've made it an optional dependency, so, if you only want to use WebMonkeys on the browser, please try again and it might work. Otherwise, you should probably open an issue there.

Thanks for the reply.
I tried again.. npm install was success but got warnings because of headless-gl.
Since it is  a node module - I used browserify to run on browser - got some errors.
C:\Projects\webmonkeys>npm install webmonkeys
-
><EMAIL_ADDRESS>install C:\Projects\webmonkeys\node_modules\webmonkeys\node_modules\g
l
> prebuild --install

prebuild WARN install error: 126\\?\C:\Projects\webmonkeys\node_modules\webmonke
ys\node_modules\gl\build\Release\webgl.node
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
 To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.  [C:\Projects\webmonkeys\node_modules\webmonkeys\node_m
odules\gl\build\binding.sln]
prebuild ERR! build error
prebuild ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuil
d.exe` failed with exit code: 1
prebuild ERR! stack     at ChildProcess.onExit (C:\Projects\webmonkeys\node_modu
les\webmonkeys\node_modules\gl\node_modules\node-gyp\lib\build.js:276:23)
prebuild ERR! stack     at emitTwo (events.js:87:13)
prebuild ERR! stack     at ChildProcess.emit (events.js:172:7)
prebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_p
rocess.js:200:12)
prebuild ERR! not ok
prebuild ERR! build Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuil
d.exe` failed with exit code: 1
prebuild ERR! build     at ChildProcess.onExit (C:\Projects\webmonkeys\node_modu
les\webmonkeys\node_modules\gl\node_modules\node-gyp\lib\build.js:276:23)
prebuild ERR! build     at emitTwo (events.js:87:13)
prebuild ERR! build     at ChildProcess.emit (events.js:172:7)
prebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_p
rocess.js:200:12)
npm WARN optional dep failed, continuing<EMAIL_ADDRESS><EMAIL_ADDRESS>node_modules\webmonkeys

C:\Projects\webmonkeys>browserify main.js -o target/bundle.js
Error: Cannot find module 'gl' from 'C:\Projects\webmonkeys\node_modules\WebMonk
eys\src'
    at C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify\node_mod
ules\resolve\lib\async.js:46:17
    at process (C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify
\node_modules\resolve\lib\async.js:173:43)
    at ondir (C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify\n
ode_modules\resolve\lib\async.js:188:17)
    at load (C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify\no
de_modules\resolve\lib\async.js:69:43)
    at onex (C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify\no
de_modules\resolve\lib\async.js:92:31)
    at C:\Users\karthikeyan\AppData\Roaming\npm\node_modules\browserify\node_mod
ules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:82:15)

C:\Projects\webmonkeys>

I think it will be easier if you have dist or bin folder and distribute the final js files (browser and headless)

I think it is a good idea, also add a "script" to package.json and browserify as yet another optional dep. I don't have the time now, but I'd accept a pr.

just a note - you can keep the module as one package (my preference) and solve this by using require('g' + 'l') in code - this stops browserify from seeing the require

also @goldenratio you're going to hit that problem for any C dependency - on Windows you have to setup your machine to compile C code (for native modules)

It seems we have simple API to do awesome stuff in GPU.
But setting it up needs million dependencies :)
I am looking for something like this.. :D

<script src="webmonkeys.js"></script>
<script>
var monkeys = require("WebMonkeys")();

// Sends an array of numbers to the GPU
monkeys.set("nums", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]);

// Employs 16 monkeys to work in parallel on the task of squaring each number
monkeys.work(16, "nums(i) := nums(i) * nums(i);");

// Receives the result back
console.log(monkeys.get("nums"));

</script>

@goldenratio that should work, doesn't it?

Thanks! works now.
sorry for the trouble :)


[SignalR] Disambiguation boxes to distinguish between aspnet and aspnet core SignalR

There are two classes of disambiguation boxes I’d like to put on some of the pages (not all of them).
For pages like this and this and especially this, we should add a consistent note directing folks to the Core site if they want to keep up with the new bits.
For pages about scale-out with Redis and especially Service Bus, we should add a consistent note directing folks to information about the Azure SignalR Service. I’m on the fence with what we’d want to do about the SQL backplane area, so let’s just avoid it for now. SQL’s more for on-premises customers anyway, so I think we can leave it alone.

cc @tdykstra and @scottaddie

thanks for the help and support, @scottaddie!


Update dependencies

closes #95
closes #96
closes #97
closes #98
closes #99
closes #100

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Extract to constant is not multicursor aware.

Issue Type: Feature Request
Ex:
let foo = computeThing()
let bar = computeThing()
let baz = computeThing()

Select computeThing().
Run Select all occurrences of find match (or just select them yourself).
Run Extract to Constant in ... scope
Bug: only the first instance gets renamed. I think if there is a multicursor selection over many identical items, they should all be replaced by the constant.
VS Code version: Code - Insiders 1.41.0-insider (a747d264d668a947eeacd3492b60df6ce8dee6b4, 2019-11-23T11:08:24.747Z)
OS version: Darwin x64 18.7.0

This quickly gets complex. Multiselect of the same expression maybe makes sense, but different expressions?
I don't think the use case is strong enough to warrant the complexity this would add

I think the use case is very strong, and we can make it only apply if the expressions are identical.
This is probably the most common refactor I perform, as I do it whenever I notice I'm using the same expression in a number of places.
My steps:

Select an instance of the expression
Copy
select all occurrences (Cmd+Shift+L)
type the new name
Navigate to top of containing scope and type const [type the new name again] = [paste].

Currently thats my best bet, the other option is to:

Select an instance of the expression
Extract Constant
Type the name
Manually select the next instance
Command+D a bunch of times to select all (being careful to not go one too far)
Type the new name again.

With this proposal:

Select an instance of the expression
Select all occurrences (Cmd+Shift+L)
Extract Constant
Type the name

Much easier.

I understand the desire, but JS/TS refactorings have no concept of multiple selections today so this would be a large amount of work
I also think there are more discoverable ways this could be implemented, since multi-cursor is a fairly advanced feature. My proposal is that this is more automated:

You select an expression and run extract constant
If there are other instances of the same expressions in the current scope, then:

Either automatically include those
Or show a prompt asking if those should be included as well

Opened https://github.com/microsoft/TypeScript/issues/35349 for this


Confusing error message for config file.

I manually updated the config file which by default is located at ~/.bigchaindb and I received the below error message after I tried this command in python API "b = Bigchain()". After the help of @vrde I realised that I had some typo in the config file and I got the error cause it was no longer valid json. In the future you could print a better error message.

Thanks for reporting the issue @nsgeorgi!
Maybe we can fix this by reviewing the configuration system and use something more classical than a JSON file. If we use ConfigObj we can even add schema validation. It's a bit old (~6 years) but if someone knows anything newer please tell us.
@sbellem: any thoughts on that?


Return 500 in case of invalid acl

Closes #808 (if that was the problem)

Update: also returning 500 now in case of invalid acl files after the server has started.

Update: also returning 500 now in case of invalid acl files after the server has started.

That's obviously the one I'm testing for 😼


Refactor regularizers and add add_weight method.

This PR does a few things:

Refactor regularizers into callable objects, taking a tensor/variable and returning a loss contribution. This is much simpler and more general than the previous setup.
Make layers use a add_weight methods to create weights. This removes a lot of boilerplate and complexity.
Allows layers to add losses, much like a layer would add updates.

Warning about custom user code:
Custom regularizers may no longer work.
Custom layers may see their regularizers disabled (if they were using regularizers).
We raise appropriate warnings, so these issues should be noticed by the target users.
Additionally, no code would be crashing as a result of these changes.
Feedback welcome.

It would be better to warn all deprecations at call site. See https://docs.python.org/3/library/warnings.html#warnings.warn for example.
Also it would be less painful for everyone involved to add a hard remove version. property is deprecated and will be removed in version x.x.x
Code will be removed in the future making it easier for authors and users won't be surprised when it eventually happens.

I added an explicit removal date for the deprecated attributes/methods.

In general, these breaking changes are "fine", because:

Only very few users are affected. There are essentially no users who use custom regularizers. There are few users who use custom layers with regularizers.
These users are all advanced users, capable of dealing with the problem.
These users are explicitly warned during execution of what is happening.
We don't break their code, we merely disable auxiliary functionality (regularization).

It seems that if I load the weights of an old model with an L2 regularization of X into a new version of Keras with the same L2 regularization of X, then the loss is much higher for the new model than the old on the same dataset (22.0 vs. 3.4). I've tried turning off the L2 regularization, which then makes the losses similar.
@fchollet @farizrahman4u Has the underlying definition of the regularization changed with this implementation or why are the losses suddenly different?

Using Keras model in another application (distributed tensorflow as in : https://gist.github.com/fchollet/2c9b029f505d94e6b8cd7f8a5e244a4e
I used to do this to deal with regularizers
 loss = tf.reduce_mean(keras.objectives.mean_squared_error(targets, preds))
 # apply regularizers if any
  if model.regularizers:
    total_loss = loss * 1.  # copy tensor
    for regularizer in model.regularizers:
      total_loss = regularizer(total_loss)
  else:
    total_loss = loss

If I understand well, now I should do
 loss = tf.reduce_mean(keras.objectives.mean_squared_error(targets, preds))
 total_loss = loss * 1.  # copy tensor
 for l in model.losses():
     total_loss = tf.update_add(total_loss, l)

It crashed when I do that. Any help please?


Local tunnel again not working. 23/07/2022

I just don't get a response when I run: lt --port 8000

It worked once yesterday for me (it returned a url). Then it stopped working again.

Not working for me either. Anyone have any alternative hosts?

Not working for me either :(

Hosted version seems to be unreliable as of late–you guys can always host it yourselves 🚀

Not working for me either

Not working for me either

Hosted version seems to be unreliable as of late–you guys can always host it yourselves 🚀

Doesn't it needs port forward to work? I thought it defeats the whole purpose of localtunnel at the first place

What is the issue that is plaguing localtunnel lately? Why is it down so often?

Yep. It's also down on my end.

Why still not working yet? sometimes i need localtunnel to test my API :(

It's working now. So, closing this issue.


WARNING:Filter value not listed, using raw item value:

Got it all running perfect, apart from multiple numbers showing in the ordering titles, but ive just made visible false for now, so that's fine.  The other issue I have is this below, but it still runs fine and does everything as it should, but just wondered what I need to do to prevent these warning lines coming up when it does it thing?  It does this for every recipe and every item its searching for.
2021-01-30 17:32:10,876 WARNING:Filter value not listed, using raw item value: imdb://tt11456054
2021-01-30 17:32:10,916 WARNING:Filter value not listed, using raw item value: imdb://tt11456054
2021-01-30 17:32:10,922 WARNING:Filter value not listed, using raw item value: themoviedb://629017
2021-01-30 17:32:10,926 WARNING:Filter value not listed, using raw item value: imdb://tt11456054
2021-01-30 17:32:10,930 WARNING:Filter value not listed, using raw item value: themoviedb://629017
2021-01-30 17:32:10,934 WARNING:Filter value not listed, using raw item value: imdb://tt11456054
2021-01-30 17:32:10,937 WARNING:Filter value not listed, using raw item value: themoviedb://629017
2021-01-30 17:32:10,939 INFO:23 Run Hide Fight (2020)

still nothing anyone?

This should be fixed in the Plex movie agent branch https://github.com/adamgot/python-plexlibrary/tree/plex-movie-agent
Requires an update to the latest Plexapi.
Please give it a try!

This should be fixed in the Plex movie agent branch https://github.com/adamgot/python-plexlibrary/tree/plex-movie-agent
Requires an update to the latest Plexapi.
Please give it a try!

thank you! worked a charm


Is panel opened - specific example

Hello,
how to check is panel opened or not – on this application: http://guillaumebiton.github.io/HackerNews7/
I mean on right (black) panel.
Thank you.

Nice app!
I'm assuming the panel you want to check is the author info pane?
Could you please explain how this would be useful for you?

See docs

Panel is Opened?
Sometimes it could be useful to detect do we have some Panel opened or not? It is easy, when some panel is opened <body> will have addition class generated by the following rule: with-panel-[position]-[effect]:

If you have Left panel opened with Cover effect, body will have the "with-panel-left-cover" class <body class="with-panel-left-cover">
If you have Left panel opened with Reveal effect, body will have the "with-panel-left-reveal" class <body class="with-panel-left-reveal">
If you have Right panel opened with Cover effect, body will have the "with-panel-right-cover" class <body class="with-panel-right-cover">
If you have Right panel opened with Reveal effect, body will have the "with-panel-right-reveal" class <body class="with-panel-right-reveal">

You can use it in JavaScript to detect opened panel:
if ($$('body').hasClass('with-panel-left-cover')) {
    console.log('Left Panel is opened')
}

Or in CSS for additional styling:
/* Change Status Bar background when panel is opened */
body.with-panel-left-cover .statusbar-overlay{
    background-color: #333;
}

Hello @ZanderBrown, yes it is user info panel
I saw that on doc's but
$$('body').hasClass('with-panel-right-cover')
or
$$('body').hasClass('with-panel-right-reveal')
does not work
do you have any other idea, please?

Here is solution:
if ($$(window).width() <= 1280px) {
if (!$$('.panel-right').hasClass('active)) {
alert('panel invisible')
} else {
alert('panel visibe')
}
} else {
alert('panel visibe')
}


fix(wrangler): only set environment if defined

resolves https://github.com/nuxt-hub/core/issues/331
I noticed that using experiment.inlineRouteRules: true create this issue for wrangler, making the bindings unavailable:

When setting the flag, it seems the runtimeConfig.wrangler.environment === '' and the platform proxy does not like it, I updated so it is given only if set.
I also move from hook to hookOnce to avoid keeping a watcher.

Actually NuxtHub does not configure the environment at all.
It is related to the inlineRouteRules experimental flag on Nuxt, it seems to call nitro.updateConfig() here.
Then Nitro updateConfig() seems to call normalizeRuntimeConfig here which I guess set the environment to ''


Lists too long for PANOS DBL

The DBL feature in recent versions of PANOS 6.1.x have a max limit of 5000 lines. The larger lists should be parsed and broken into multiples of 5k lines to be functional in the PA.

Hi gaultx,
you can use the 'n' and 's' parameter to split the list in multiple sublists and cope with platform limits. Example:
http://panwdbl.appspot.com/lists/openbl.txt?n=20 => first 20 entries of openbl.txt list
http://panwdbl.appspot.com/lists/openbl.txt?n=20&s=20 => entries from 20 to 40 of openbl.txt

True! I saw this feature and didn't take a moment to consider its application here.
I would recommend making a mention of PAN-OS' limit on this on the site though, in case someone doesn't read the help.
Thanks for the site.


Features for 2.0 and beyond

With the 1.0 release quickly approaching done, it is time to make a list of features we would like to see afterwards.

Core framework

[x] Application mount support (app.plugin(mountPlugin, {app: fooApp, path: '/prefix'}))
[ ] Custom URL class with better manipulation methods (like Mojo::URL)

Assets

[x] URL generation (ctx.urlForAsset('foo.js') returns /static/assets/foo.abcd1234.js)
[x] Headers to prevent caching for assets in development mode (foo.development.js)

Documentation

[x] Form validation with JSON schema
[ ] Many more recipes for the cookbook (including all from Mojolicious)
[ ] Reference documentation for classes (needs to be generated on the website)

WebSockets

[ ] Support for custom headers in handshake (client and server)
[ ] Support for subprotocol negotiation from action
[ ] Reconnect feature for the client

Client

[ ] Switch to @mojojs/user-agent (more WHATWG APIs)
[x] UNIX domain sockets (http+unix://...)
[ ] HTTP/2 support (we might just support it via the fetch API)
[ ] HTTP/3 support (:no_entry_sign: not yet in Node.js)

Server:

[x] UNIX domain sockets (http+unix://...)
[ ] HTTP/2 support (:warning: tricky because of WebSockets)
[ ] HTTP/3 support (:no_entry_sign: not yet in Node.js)
[ ] Server-Sent Events (provide an actual API)

Renderer

[ ] Port all the tag helpers

[x] colorFieldTag
[x] dateFieldTag
[x] datetimeFieldTag
[x] emailFieldTag
[x] fileFieldTag
[x] hiddenFieldTag
[ ] labelFor
[ ] monthFieldTag
[ ] numberFieldTag
[x] passwordFieldTag
[ ] rangeFieldTag
[x] searchFieldTag
[ ] selectFieldTag (⚠ quite complex)
[ ] telFieldTag
[x] textFieldTag
[ ] timeFieldTag
[ ] urlFieldTag
[ ] weekFieldTag

Example apps

[x] Chat (ported from Perl)

TypeScript

[x] Updated app generator commands with TypeScript support
[ ] Update plugin generator command with TypeScript support (--ts flag)

Command line

[ ] perl -Mojo -E '...' equivalent (something better than npx mojo eval -v '...'?)

Would be great to have csrf_field tag helper.

Would be great to have csrf_field tag helper.

That doesn't really work with JSON schema based validation. And has become kinda obsolete with SameSite cookies.

I’d be willing to create a chat example if someone tells me how to broadcast to websocket clients

I’d be willing to create a chat example if someone tells me how to broadcast to websocket clients

The blue checkmark means it's already done.

Where can I see it?


Clock in analog mode doesn't show date

When using the clock module and setting displayType to "analog" and showDate to true, date is no longer shown. In earlier releases, it did.
This bug can be reproduced by setting up a the module like this:
                {
                        module: "clock",
                        position: "top_left",
                        config: {
                                displayType: "analog",
                                analogSize: "360px",
                                analogPlacement: "bottom",
                                analogFace: "face-003",
                                analogShowDate: "top",
                                showDate: true,
                                displaySeconds: true,
                        }
                }

When setting displayType to "both" or "digital", the date is shown.

Thanks for the report (and the PR)! Will discuss it in the PR.

fixed with new release v2.24.0


Require pandas >= 0.18.0

According to pandas documentation: RangeIndex is a sub-class of Int64Index added in version 0.18.0
RangeIndex is used in root_pandas.

Thanks for adding the correct version!


Add MPI-CBG and HZDR domains

This PR adds the domains for the Max Planck Institute of Molecular Cell Biology and Genetics and the Helmholtz-Zentrum Dresden-Rossendorf. Both offer post-graduate programs, see http://imprs-celldevosys.de and https://www.hzdr.de/db/Cms?pNid=1908

@skalarproduktraum Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!

Thank you @philipto! The terms of academic licensing are still a bit unclear to me though: https://www.jetbrains.com/store/comparison.html#LicenseComparison states for example that the Student/Teacher licenses are to be used for education and academic research. So if a student participates in both education and academic research, I would guess this is fine, right? But what about an employee who is involved with teaching and academic research? Could you clarify this for me or shall I contact<EMAIL_ADDRESS>


Make datastore generics use lookup type

Alternative to consider.

Note: I don't think that the "precompute" of the schema map as a generic arg is completely necessary (but it might be, not sure). I didn't try it out too much because I thought it was nicer to not have [number] all over 😄 Open for arguments the other way if they are good ;)

CI failure is because docs build are still using 3.x of phosphor and these changes require 3.4 at least.


Adding required permission level for Subscription

The account that will be used to run the ARM deployment also needs permissions to create role assignments on the target subscription level. The "User Access Adminstrator Role" might also suffice, but I'm not sure as I haven't tested that.

@Oechiih : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Oechiih : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Update: While onboarding multiple B2C tenants logs to the same log analytics workspace in the parent tenant I found the following article. In the "Important" block right below the deep linked title it explicitly mentions the user account used for the deployment needs to have the Owner role on the targeted subscription.
https://docs.microsoft.com/en-us/azure/lighthouse/how-to/onboard-customer#deploy-the-azure-resource-manager-templates
So my initial assumption of the "User Access Administrator" role also being sufficient was wrong.
In addition to that I'll propose another change to explicitly mention the requirements of onboarding multiple B2C tenants.
Let me know if you'd prefer separate PRs for these proposals.
Cheers
Jan

@Oechiih : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Oechiih, thanks so much for your updates. Please see some suggested edits below.
@yoelhor, would you double-check the proposed changes?
Line 57 suggestion:

Sign in to the Azure portal as a user with the User administrator Azure AD role (or higher) and the Owner Azure role-based-access control (Azure RBAC) role for the targeted subscription.

Line 89 suggestion:

To onboard multiple Azure AD B2C tenant logs to the same Log Analytics Workspace (or Azure storage account, or event hub), you'll need separate deployments with different mspOfferName values.

Line 128 suggestion:

The account used to run the Azure Resource Manager deployment must be assigned the Owner Azure RBAC role for the targeted subscription.

Line 203 suggestion:

Sign in to the Azure portal as the Azure AD B2C administrative account whose Object ID you specified in the PrincipalId field in the Azure Resource Manager template (or an account who is a member of the group you specified).

@Oechiih : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @msmimart
I like your suggestions and added them to the PR. I only added ARM in parentheses after each mentioning of "Azure Resource Manager" for clarity.

@oechiih, sorry for the delay; the product team is working on other changes to this article that will probably affect the updated sections here. Just wanted to let you know that this PR is on hold right now -- I'll post any updates. Thanks again!

@Oechiih, the updated article has now been published, please have a look: https://docs.microsoft.com/en-us/azure/active-directory-b2c/azure-monitor.
Given that the content has significantly changed, I'll go ahead and close this PR, but please feel free to make additional suggestions as needed. Thanks again for your feedback!
#please-close


convert project to gradle Multi-module

@PittyXu - its a great effort. However it would be good to stick to maven.

I will take a stab at converting this into maven multi-module.

@PittyXu looks like you have done the mavenized multimodule starter now?

Also it will be good to remove gradle on favor of maven to minimize
confusion
On Sat, Apr 27, 2024, 10:07 PM Thad Guidry @.***> wrote:

@.**** commented on this pull request.
On
db2rest-spring-boot-starter/src/main/java/com/homihq/db2rest/spring/boot/autoconfigure/Db2restAutoConfiguraion.java
https://github.com/kdhrubo/db2rest/pull/507#discussion_r1579021129:
This file and a few others have their names and public classes within them
with a misspelling for "configuration" and "AutoConfiguration" where your
versions are missing the last "t" ending for "tion".
@PittyXu https://github.com/PittyXu Please correct those spelling
mistakes in these filenames and within the files themselves as necessary
also.
Thanks!!!
In app/build.gradle.kts
https://github.com/kdhrubo/db2rest/pull/507#discussion_r1582002697:

@@ -0,0 +1,56 @@
+plugins {

java-library
maven-publish
id("org.springframework.boot") version "3.2.4"

bump Spring Boot to 3.2.5 throughout
—
Reply to this email directly, view it on GitHub
https://github.com/kdhrubo/db2rest/pull/507#pullrequestreview-2021763843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAISPRH7XPWNPAWAT5BRZITY7RRWVAVCNFSM6AAAAABGYJQV36VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMRRG43DGOBUGM
.
You are receiving this because you were assigned.Message ID:
@.***>

@kdhrubo ah, yes, we should have both builders.  So you prefer Maven and want to stick with that and have them remove all the Gradle stuff, correct?

Yes only maven..out pipelines all depend on maven
We will now release the starters as well
One more major issue with this is missing oracle oracle 9i module
So effectively we need one additional.moduele for.oracle.9i and also another app pulling in that starter.

@kdhrubo I delete the gradle code and convert project to Multi-module project with minimal modifications. Subsequent structured adjustments may be necessary, such as adjusting test cases to db2rest module, configrations to starters.

I will look into your branch and check as much as I can.
I suspect there will be few bumps after merge so lets try to minimize as far as possible.
However this is a very necessary change.

We need to do some internal refactoring before we can move on this. Mongo and JDBC has common dependencies needs to be separated.
I will keep this open. Will start on the internal refactoring.

@PittyXu refactoring to module or libs is pretty much down now.
Hence closing this pull request.
Now in next releases we will come back to work on starters.
This clears the path for db2grpc i.e grpc support
Let us know what you think, by joining the discord channel. Appreciate your feedback.


[SVCMGR-510] Adjust broker names when they are overtaken from SM

Coverage remained the same at 90.435% when pulling cb143f7be4b5862fe840ad88c7ff0af287161294 on SVCMGR-510 into 81d0d618adca7d1dc8dcad96aa90253b143a089f on master.


Bump undici library from 5.28.3 to 5.28.4

In order to resolve:
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
Impact
If an attacker can alter the integrity option passed to fetch(), they can let fetch() accept requests as valid even if they have been tampered.
References
https://hackerone.com/reports/2377760

@mrbbot  Could you please merge this fix?

It seems better-sqlite3 (a native dependency) does not compile on node v22
I have changed the github actions workflow to use v20 instead of "latest"


Support/wagtail42

This updates the package for wagtail 4.2 support.
Adds:

Testing for wagtail >= 4.1

Removes:

Support for wagtail < 4.1
Testing for wagtail < 4.1

Thanks @nickmoreton! Once I get the release done for versions <= 3.0 I will merge this.
I am holding off on that release in hopes that someone can figure out #32 which affects all versions of wagtail-hallo. Then we can merge this PR and the one that fixes the document and image choosers for Wagtail 4+ #33

Hi @nickmoreton ,
Left a few comments for your consideration, but this LGTM.
Thanks!

Hi, I've forked code from #39 and (hopefully) fixed #33 . Can you please check it and merge it? @cnk
It's in branch fix-toolbar-in-wagtail4 - https://github.com/jozo/wagtail-hallo/tree/fix-toolbar-in-wagtail4

@nickmoreton why did you delete your fork?

@nickmoreton why did you delete your fork?

 I was doing this work as part of a larger project including many other package updates. We're now using a new organisation on GitHub to carry out the work. We're updating packages used on client sites and this was no longer used by us. I will see if i can get a local copy back in place and possibly set it up again if it's something you need. I am out of the office till next week but will have a look asap
Sorry if this has caused problems for you. 😕

@nickmoreton no worries, see #40

@jorenham I do have a local copy still if you need anything form it but it looks like your PR includes the changes. 👍


Add support for multivector derivative operators

This is what all my Dop work in the past was building up to.

Will write them next week - thought I'd just get the changes I wrote on friday up for review.

Will add some tests on Monday anyway.


Release build for android

What type of enhancement is this?
User experience, Other
What does the enhancement do?
Let's add a new build for the Android platform in every release and nightly build.
Implementation challenges
No response

@fengys1996 Still working on this?


ts-declaration for addParticipant method incorrect

The current ts-declaration for addParticipant method is:
addParticipant(contact: Contact, call: PhoneCall): Promise
The actual  ts-declaration should look like this:
addParticipant(contact: Contact, call: PhoneCall, isBlindTransfer: Boolean): Promise

Yes we have also found this to be an issue
When will there be an update to scv-connector-base to have the proper typings?

This issue is fixed in https://github.com/salesforce/scv-connector-base/pull/30. We will publish a new version soon


It runs very slowly with "sudo docker build -t nvidia-seg-clt:v0 ."

I've switched some of the mirror sources, but it's still very slow.
Appreciate it if you could help me!
(base) xxx:~/semantic-segmentation$ sudo docker build -t nvidia-seg:v0 .
 I'm not sure I can help with that.

Thanks for your reply.
Yes, the docker build itself is going slowly.

Yes, that's not something i can help with.


Add focus styling for anchors in md-nav-list

The UX is similar to focus states for flat buttons. For example, we darken the list item's background on the spec site.

Where "Navigation" is active and "Loading Images" is tab focused.


IPPool page doesn't mention what CIDRs are valid for an IPPool.

Current Behavior
In this doc: https://docs.projectcalico.org/v2.6/reference/calicoctl/resources/ippool
It simply says that you need to specify a valid CIDR for an IPPool.
But this is false - the IPPool CIDR has restrictions - it needs to be a /25 or bigger.


Can't delete publish profile from sql project

Assigning it to you @kisantia since you have the PR. Thanks!


Fixed #31826 -- AlterField as a noop when only db_column changed

https://code.djangoproject.com/ticket/31826

@iurisilvio Thanks :+1: I was able to reproduce this behavior only on SQLite. IMO we shouldn't add this optimization to the AlterField operations. It looks that both issues (ticket-31826, ticket-31825) can be fixed in the SQLite backend, see comment.

Same thing about sqlite3 on this PR, it fails with foreign keys on postgres.
I moved my implementation to base schema alter_field. I don't have to copy it to sqlite3 schema because their behavior is different only on field name changes.
Also, added tests to the foreign key case.
This PR is ready for another review, but it conflicts with #13236, so I prefer the RenameField PR merged first.

I updated this PR with current master and moved the change to the _field_should_be_altered.

@iurisilvio Thanks :+1: I pushed small edits.

buildbot, test on oracle.


bug: which-key set il/al/in/an even if they are disabled or remapped in mini.ai

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
MacOs 14.5
Describe the bug
When I disable il/al/in/an in mini.ai, the which-key still registers them, which will pop up cheatsheet table and cause them to be unusable if I remap them to other text objects.

Steps To Reproduce
Disable next/last text-object mapping in mini.ai
return {
  "echasnovski/mini.ai",
  opts = {
    mappings = {
      around_next = "",
      inside_next = "",
      around_last = "",
      inside_last = "",
    },
  },
}

Expected Behavior
Do not register il/al/in/an if I disable them in mini.ai.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "LazyVim/LazyVim", import = "lazyvim.plugins" },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Sorry, won't fix...


Fix reversed example

Looks like a copy & paste error from to-double-quotes-cli.

This is also wrong:

Convert matching single-quotes to double-quotes

The correct is:

Convert matching double-quotes to single-quotes

@theuves you're right, fixed in #2.


Lag on Ubuntu after last update (1.4.2)

It was working perfect until I updated to version 1.4.2
Now if I run Messenger I have a lot of lag and all computer runs slowly.
Also the new icon (the one near wi-fi, clock etc) is flashing continuously.
I am running Linux Ubuntu 14.04 LTS.
P.S.: Foarte utila aplicatia, o folosesc zilnic :D

Salut! :D
Îmi reinstalez acum Ubuntu 14.04 să văd ce are.
--
Alexandru Rosianu
Web & Android Developer
aluxian.com | startersquad.com
On Sat, Jun 13, 2015 at 6:50 pm, Prodan Tudor <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
It was working perfect until I updated to version 1.4.2
Now if I run Messenger I have a lot of lag and all computer runs slowly.
Also the new icon (the one near wi-fi, clock etc) is flashing continuously.
I am running Linux Ubuntu 14.04 LTS.
P.S.: Foarte utila aplicatia, o folosesc zilnic :D
—
Reply to this email directly or view it on GitHub
[https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/131] .[https://github.com/notifications/beacon/ABWmdhF890AF2iqF0pinxDkptQuRqBX5ks5oTEi0gaJpZM4FCCQI.gif]

I have the same issue. After launching new version of messanger compiz process suddenly occupies above 20% of CPU. I refer to Ubuntu 14.04.

it's happening to me too (ubuntu 15.04)

@all Please check the latest release: https://github.com/Aluxian/Facebook-Messenger-Desktop/releases/latest
Let me know if the issue is gone. I removed the tray icon, but I'm not sure whether this was the problem. I suspect another change might cause this too, I'll undo it if you still have problems.

It works now. No more lag :)

Nice! Can anyone else confirm?

Yeah, no more lags. Thanks for quick fix.

ubuntu 12.04 .. no lag confirmed .. thnx


feat: Add synced crosshairs

Fixes #141
Try again with new v2.0, may need to fork and update AbelHeinsbroek/chartjs-plugin-crosshair.
To do:

[x] get sync groups working, so it spans across charts (see workaround)
[x] refactor all typings stuff, it's a mess
[ ] legend params for placeholders not filled
[ ] add settings option to turn off (off by default)

this may require a Fork n' Fix of the plugin

[x] internalize fixed variant of this plugin

Current situation is that the crosshairs work; however, they're no longer syncing across charts like they used to (before we had to remove with charts.js v4 incompatible upgrades).

Had to take the code in and modify it to get it to work with newer chart.js versions and to sync; but it works.  It's a bit flakey if you move too fast or and doesn't reach the last bar, oddly.

[ ] consider removing entirely or replacing with a better custom option


feat(CategoryTheory): simps for conjugateEquiv plus computable conjugateIsoEquiv

The term conjugateIsoEquiv is redefined to make it computable, cutting asIso and explicitly constructing the required inverse isomorphisms.
In parallel, additional simps are added to conjugateEquiv so that we can later use conjugateEquiv and conjugateIsoEquiv instead of Adjunction.natTransEquiv and Adjunction.natIsoEquiv.
Co-authored-by: Dagur Asgeirsson

I could expand the scope of this PR by removing the "noncomputable" from everything that calls "conjugateIsoEquiv".

@dagurtomas let me know if I've left out something you were hoping I'd do here.

I'll experiment a bit with the deduplication I have in mind and then I'll report back here

This is exactly what was needed, see #17113. Thanks!
maintainer merge

Woohoo! Thanks :)

Thanks!
bors merge


[Documentation] Add buttons to help menu

Making the help menu have prev and next buttons will make it so it doesn't have to constantly increase vertically in size.

78b3c2a49ba9f29ec88914ef8886f3afc9e8ce92


Remove conflicting frameworkAssembly references

#1046

Hi @Tratcher, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


[BUG]: Bulk Link Scraper not wokring.

How are you running AnythingLLM?
Docker (remote machine)
What happened?
While using the Bulk Link Scraper it shows the below error:
app-anything-llm-1  | [collector] error: Failed to get page links from https://melbadigital.fi/. Error: Could not find Chrome (ver. 119.0.6045.105). This can occur if either app-anything-llm-1  |  1. you did not perform an installation before running the script (e.g. npm install) or app-anything-llm-1  |  2. your cache path is incorrectly configured (which is: /root/.cache/puppeteer). app-anything-llm-1  | For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration. app-anything-llm-1  |     at ChromeLauncher.resolveExecutablePath (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js:260:27) app-anything-llm-1  |     at ChromeLauncher.executablePath (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:197:25) app-anything-llm-1  |     at ChromeLauncher.computeLaunchArguments (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:91:37) app-anything-llm-1  |     at async ChromeLauncher.launch (file:///app/collector/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js:53:28) app-anything-llm-1  |     at async PuppeteerWebBaseLoader._scrape (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:42:25) app-anything-llm-1  |     at async PuppeteerWebBaseLoader.load (/app/collector/node_modules/langchain/dist/document_loaders/web/puppeteer.cjs:74:22) app-anything-llm-1  |     at async getPageLinks (/app/collector/utils/extensions/WebsiteDepth/index.js:51:18) app-anything-llm-1  |     at async discoverLinks (/app/collector/utils/extensions/WebsiteDepth/index.js:22:22) app-anything-llm-1  |     at async websiteScraper (/app/collector/utils/extensions/WebsiteDepth/index.js:151:25) app-anything-llm-1  |     at async /app/collector/extensions/index.js:124:29
Are there known steps to reproduce?
Deploy the AnythingLLM using your docker image  mintplexlabs/anythingllm with the latest or 1.1.1 tag.
Go to Data connection -> Bulk Link Scraper -> Website URL -> pass it https://melbadigital.fi/ -> click the button "Submit"
You will get the same error.
Here is my docker-compose:
`version: "3.3"
services:
anything-llm:
user: 0:0
image: mintplexlabs/anythingllm:latest
restart: always
cap_add:
- SYS_ADMIN
volumes:
- "./docker.env:/app/server/.env"
- "./storage:/app/server/storage"
- "./collector/hotdir/:/app/collector/hotdir"
- "./collector/outputs/:/app/collector/outputs"
ports:
- "<IP_ADDRESS>:52840:3001"
env_file:
- ./docker.env
extra_hosts:
- "xxxxxx:xxxxxxxxxxxx"
volumes:
storage:
driver: local
driver_opts:
type: none
device: ${PWD}/storage
o: bind`

"./collector/hotdir/:/app/collector/hotdir"
"./collector/outputs/:/app/collector/outputs"

Those mounts are not needed and could be messing with how the Puppeteer cache location is found.

Based on your suggestion I have tried it with docker-compose, but the issues are now different.
version: "3.8"
services:
  anything-llm:
    image: mintplexlabs/anythingllm
    restart: always
    cap_add:
      - SYS_ADMIN
    user: "0:0"   # Run as root to avoid permission issues
    volumes:
      - "./storage:/app/server/storage"
      - "./docker.env:/app/server/.env"
    environment:
      - STORAGE_DIR="/app/server/storage"
    ports:
      - "<IP_ADDRESS>:3001:3001"

It returns the error: "Error: Response could not be completed"
But when I try it with
docker run -d -p <IP_ADDRESS>:3001:3001 \
--cap-add SYS_ADMIN \
-v ./storage:/app/server/storage \
-v ./docker.env:/app/server/.env \
-e STORAGE_DIR="/app/server/storage" \
--restart always \
mintplexlabs/anythingllm

it works fine.
So, could you please check and let me know what was wrong in my docker-compose, or maybe you can try it with the docker-compose file and send me which one is working.

It is likely just this line in your compose:

user: "0:0"

You should not be running the whole image as root, since this is insecure for chromium, thus fails to scrape any websites via puppeteer

Thanks for all of your help, it's working now.


tpch query 10 hangs after #9072

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
introduced by https://github.com/pingcap/tiflash/pull/9072

2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)

/report customer

/report customer


Deploying an app service

Does this occur consistently?
Repro steps:

Action: postCreateWebApp
Error type: 503
Error Message: The service is unavailable.
Version: 0.20.0
OS: linux
OS Release: 4.4.0-189-generic
Product: Visual Studio Code
Product Version: 1.48.2
Language: en

Call Stack
new RestError extension.bundle.js:46:66146
extension.bundle.js:46:496611
processTicksAndRejections task_queues.js:85:5

Please provide repro steps.

Please provide repro steps.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Zombie disease is easier to spread and deadly in minutes. Zombies heal over time.

About the PR
After some discussion, this PR is a become a buff to the zombie virus. The infection is far more virulent now.

The zombie disease is easier to spread, being from 20% (fully clothed) to 80% (nude) per bite. Up from 5 and 50% respectively.
The zombie disease does quite a lot of DoT and that damage increases over time.
Actual death (not just crit) turns you into a zombie. Given time, you will come back to life as zombie after death or critting.

NB: This PR initially hurt zombies in space, which the comments reflect. That has been removed now.
Media

Please see the video in the comments below

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: Zombification happens post death, rather than just crit.
tweak: Zombies are more likely (20-80% depending on clothes) to inflict a zombifying Damage over Time.
tweak: Zombies have some heal over time.

I'm fine with zombies taking space damage, but the rest of the changes are imo iffy.
Zombies are already pretty weak provided you know how to deal with them (or just flat out run away, as you're faster)
Zombies instantly discarding helmet/mask prevents stealth zombies (which are to a degree possible as-is) and doesn't really make sense logically; how are you getting that helmet and mask off provided you're a mindless being?

I think a better way to solve this would be making the zombifying not instant, so upon crit you sit like that for like 5-10 seconds and then zombify, instead of just getting zombified and THEN stunned.
I'm concerned about this however; if zombies start taking space damage then everyone on-board with any form of EVA compatibility will just go to space and sit there for the rest of the round/until shuttle call.
That won't really spur gameplay nor roleplay,

There really is no need for the zombies to lose their helmet or mask. It's potentially possible one could fall off when transforming but the likeliness is very low for every zombie (see: mostly every other zombie game)
Zombies historically don't take damage from pressure in SS13. There are usually ships that are spaced with active zombies on them.
Stunning on conversion is a horrible idea. Especially one for that long.

Zombies instantly discarding helmet/mask prevents stealth zombies (which are to a degree possible as-is) and doesn't really make sense logically; how are you getting that helmet and mask off provided you're a mindless being?

I'm not sure how zombies bite through masks. I'd prefer you bite them off, but that was more complex.

Being stunned for five whole seconds upon convert makes chain infections nigh impossible

Agreed. I've reduced this to 2, which seems very short. I just wanted some interval between living and undead.

I think a better way to solve this would be making the zombifying not instant, so upon crit you sit like that for like 5-10 seconds and then zombify, instead of just getting zombified and THEN stunned.

I much prefer that, just not quite sure how to implement it. Oh, actually I think I can do that quite easily ...

I'm concerned about this however; if zombies start taking space damage then everyone on-board with any form of EVA compatibility will just go to space and sit there for the rest of the round/until shuttle call. That won't really spur gameplay nor roleplay,

This is a really fair point. So to balance the DoT of being in space there is a heal over time that applies to zombies globally. So now zombies prefer being inside for the healing and can survive several minutes outside in space.
I've also seriously buffed the infection so that deals DoT to the infected living.

There really is no need for the zombies to lose their helmet or mask. It's potentially possible one could fall off when  transforming but the likeliness is very low for every zombie (see: mostly every other zombie game)

How do they bite through it? It would be great to have damaged masks (broken faceplate with zombie inside) etc but we don't right now.

Zombies historically don't take damage from pressure in SS13. There are usually ships that are spaced with active zombies on them.

I'm just trying to counter the zombies spacing the station intentionally.

Stunning on conversion is a horrible idea. Especially one for that long.

I reduced the stun a lot

How do they bite through it? It would be great to have damaged masks (broken faceplate with zombie inside) etc but we don't right now.

SS13 has zombies scratch instead. It's really more of a flavor thing.
There really is no full reason to remove their helmet & mask on zombification. Zombies with hats do exist in media.

I'm just trying to counter the zombies spacing the station intentionally.

Please leave them as is, thank you.

I reduced the stun a lot

I still don't feel like the stun is the way to go. A more robust way to handle it would probably leave them dead for a few seconds instead, then revive as a zombie.

Zombification now occurs after the victim dies, not just crits. You can hurry the process by biting them some more. Also the growing pain of the zombie virus might leave your victims alive for a few minutes as the DoT mounts.
https://user-images.githubusercontent.com/5285589/236717853-dd13dd03-2a76-44bd-8e67-4c55fd7081dd.mp4

Why does the new code make zombies regenerate cold damage if they are literal undead and their damagemodifier set cold damage to 0, making them unable to actually receive cold damage?

Why does the new code make zombies regenerate cold damage if they are literal undead and their damagemodifier set cold damage to 0, making them unable to actually receive cold damage?

I'd never actually looked that up. Turns out they re very resistant but not immune to cold.
- type: damageModifierSet
  id: Zombie #Blunt resistent and immune to biological threats, but can be hacked apart and burned
  coefficients:
    Blunt: 0.5
    Slash: 0.7
    Piercing: 0.7
    Shock: 1.5
    Cold: 0.2
    Heat: 2.0
    Poison: 0.0
    Radiation: 0.0

zombies spacing everywhere is more of an administrative issue imo since they are meant to infect people not just do as much damage as possible

zombies spacing everywhere is more of an administrative issue imo since they are meant to infect people not just do as much damage as possible

Well, it would be nice if the game mechanics support the play we want. But the spacing counter got removed anyway.

I don't think that zombies should really be buffed, if they are they should change how strong they are based on player count or something so that lowpop mrp doesn't get steamrolled.

The healing over time changes and conversion on death change is good, but I'm not really sure about the infection rate change. Ideally, it shouldn't feel like every hit is a guaranteed infection, which is how a lot of people feel right now.

I don't think that zombies should really be buffed, if they are they should change how strong they are based on player count or something so that lowpop mrp doesn't get steamrolled.

Yeah, nether do I. This PR goes like this:
I wanted to nerf zombies in space, to discourage them spacing the station:

So I added slow vacuum damage

Also wanted to make them more identifiable and make it more rational that they were biting stuff:

So I removed their helmet and mask

And I wanted to make the transition to zombies less sudden:

So I added a stun on zombification.

Then I was asked to add buffs to make the nerfs less painful early on

More virulent virus
Stun is instead a go into crit
Zombie regen

Finally it was demanded that I remove the nerfs

Helmet and mask back on
Space damage removed

As for the MRP servers, the one I know of (parkstation) has AI roles which are extremely OP vs zombies as they can scout and bolt doors in advance of the horde.

The healing over time changes and conversion on death change is good, but I'm not really sure about the infection rate change. Ideally, it shouldn't feel like every hit is a guaranteed infection, which is how a lot of people feel right now.

Done

If you want to make the zombies a bit less stealthy, you can have them emote/force say randomly on top of the random sound they already play. That way there's not only a sound cue, but a visual one with text.
Otherwise, just the changes then this is good to go unless something else is needed.

That would be cool, but a little bit beyond me right now. Everything else is done.


Use it with my whatsapp and not using twilio?

Is there a way to make it possible to use my whatsapp number for the bot instead of paying for other number in twilio?

You can try porting your number to twilio https://support.twilio.com/hc/en-us/articles/223179348-Porting-a-Phone-Number-to-Twilio


/v1/bequeath-your-data-and-die is not sending a notification to /v1/update-ltp for tcp-client Updation

Issue Description:
when we execute /v1/bequeath-your-data-and-die service to Update the tcp- clinet information to newRealese it is
updating the information in the config file but notification is not being sent to ALT.
Root Cause:
Here we are sending the logicalTerminationPointConfigurationStatus list as a input to the forwarding here we are sending only tcpClientConfigurationStatus and we are not sending httpClientConfigurationStatus information
solution:
while executing /v1/bequeath-your-data-and-die send both a httpClientConfigurationStatus and tcpClientConfigurationStatus.

Assertion failure details:
/v1/bequeath-your-data-and-die Update LTP notified?::new-application-protocol update:: Expected ExecutionAndTraceLog/v1/list-records-of-flow
/v1/bequeath-your-data-and-die Update LTP notified?::new-application-address update / ipv-4-address update:: Expected ExecutionAndTraceLog/v1/list-records-of-flow
/v1/bequeath-your-data-and-die Update LTP notified?::new-application-address update / domain-name update:: Expected ExecutionAndTraceLog/v1/list-records-of-flow
/v1/bequeath-your-data-and-die Update LTP notified?::new-application-port update:: Expected ExecutionAndTraceLog/v1/list-records-of-flow


Allow Promise handler for MenuItem onClick

Current Typescript definition for MenuItem.onClick does not allow handlers that return Promise. Without changing current behaviour for the handler, my correction should allow to use handlers that return Promise with no value.

Hi @dstawinski , thanks for finding the issue and submitting a PR. Looks good to me.


Not able to delete an available volume

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened: Used osdsctl volume delete <vol_id> to delete an available volume. Volume goes in errorDeleting status and does not get deleted.
From log:
E0620 12:01:01.249568   18105 volumecontroller.go:123] delete volume failed in volume controller:rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp [::1]:50050: connect: connection refused"
What you expected to happen: Volume should have been deleted
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Hotpot(release/branch) version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

This was like a deadlock situation for me. After debugging i found out that the device was opened by the SCSI target service tgtd (dmsetup -c info and lsof tells it). I stopeed tgt service (service tgt stop) and then using lvremove i was able to delete all these volumes.

Tried to repro the issue but could not. Will mark this close and if happens again we can open one


Top nav selector fixes

The previous position-based selectors caused two issues:

The logo did not overlap if the nav header had a section below the top nav
All sections in the top nav had a grey bar

Apart from not matching sections that are not actual top-nav sections, the selector matches exactly as before, including the landing page layout and slim nav. Not fully sure if this is intended, but it worked before and still works.

@dcsaszar  Fine.. please add my commit here for all fixes..
https://github.com/Scrivito/scrivito-portal-app/pull/571


Update snowflake endpoints

TL;DR
Snowflake has updated their API endpoint to api/v2/statements, so we should update the endpoint in the snowflake plugin.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
^^^
Tracking Issue
NA
Follow-up issue
NA

Just for reference, I found this KBA about the removal of the old endpoints: https://community.snowflake.com/s/article/snowflake-sql-api-removal-of-the-older-endpoints.


Disable submit button when in between intakes

User Story
As an applicant
I should not be able to submit a draft application when in between intakes
so that I can't submit something that won't be accepted.
Acceptance Criteria

[ ] Submit button is disabled when no intake is open
[ ] Banner on submission page shows a message that no intake is open
[ ] All fields on submission page are disable and automation is disabled (Organization name, and submission date do not auto-populate)

Design
https://www.figma.com/file/nhOquOVmWD1P3BxEY0KIh5/CCBC-Intake?node-id=6344%3A28862
https://www.figma.com/file/nhOquOVmWD1P3BxEY0KIh5/CCBC-Intake?node-id=6344%3A29198

Blocked pending discussion with NWBC about whether drafts can be editable between intakes

Hey team! Please add your planning poker estimate with Zenhub @AntBush @matthieu-foucault

@elliottSlee would you agree we can close this ticket as the decision to not allow draft applications to be edited when no intake is open has been handled by https://app.zenhub.com/workspaces/ccbc---delivery-board-61c0c1204c8bcb001491c5f3/issues/bcgov/conn-ccbc-portal/121

@MarsRomer Let's close it. The banner is not necessary if the fields are already disabled and the landing page says the intake is closed.