issue with find using a model fetched using other find's result

Hi, I don't know if it's the right repo to post on, either it is an ember-data issue or a ember-localstorage-adapter issue. I have not enough expertise to tell.
For those of you who are willing to get some credits, I posted my question on stack as well:
http://stackoverflow.com/questions/29402349/ember-data-find-using-a-model-fetched-using-other-finds-result
I am using this settup:
Ember      : 1.10.0
Ember Data : 1.0.0-beta.16
jQuery     : 1.11.2
ember-localstorage-adapter: 0.5.2

I managed to use the ember-cli to store some data in my datastore (Localstorage)
Now, I would like to retrieve the data. I have 3 classes in my model:
mtg-item.js
  name: DS.attr('string'),
  material: DS.attr('string'),
  description: DS.attr('string')

mtg-point.js
  long: DS.attr('string'),
  lat: DS.attr('string')

mtg-item-at-point.js
  item: DS.belongsTo('mtgItem', {inverse: null}),
  position: DS.belongsTo('mtgPoint', {inverse: null})

Here are the data in localstorage:
mantrailling-item: "{"mtgItem":{"records":{"an0jf":{"id":"an0jf","name":"chaussette","material":"tissu","description":"carré de tissus"}}}}"
mantrailling-item-at-point: "{"mtgItemAtPoint":{"records":{"r7v07":{"id":"r7v07","item":"an0jf","position":"qqnpa"}}}}"
mantrailling-point: "{"mtgPoint":{"records":{"qqnpa":{"id":"qqnpa","long":"0","lat":"0"}}}}"mantrailling-style: "{"mtgStyle":{"records":{"rggrm":{"id":"rggrm","name":"default","path":null}}}}"__proto__: Storage

when I try to retrieve the data, I have no problem retrieving the mtgItem and the mtgPoint.
The issue is when trying to retrieve the mtgItemAtPoint.
I get an assert error:

Error: Assertion Failed: You cannot add a 'undefined' record to the
'mtgItemAtPoint.item'. You can only add a 'mtgItem' record to this
relationship.

When debugging, I observed that it occured when trying to set the mtgItem.
I narrowed the search in the belongs-to.js file line 70.
  var type = this.relationshipMeta.type;
  Ember.assert("You cannot add a '" + newRecord.constructor.typeKey + "' record to the '" + this.record.constructor.typeKey + "." + this.key +"'. " + "You can only add a '" + type.typeKey + "' record to this relationship.", (function () {
    if (type.__isMixin) {
      return type.__mixin.detect(newRecord);
    }
    if (Ember.MODEL_FACTORY_INJECTIONS) {
      type = type.superclass;
    }
    return newRecord instanceof type;
  })());

The assertion is trying to check if the newRecord is of extends the supertype DS.Model.
When I retrieve the values in debug, here is what I get for type and newRecord:
newRecord.type.__super__.constructor
(subclass of DS.Model)

type
(subclass of DS.Model)

So I don't get why the folowing:
return newRecord instanceof type

returns false?
For the record, I am calling the find like this:
mtgItem = store.find('mtgItem', {name: "chaussette", material: "tissu"});
mtgItem.then(function(mtgItem) {
    mtgPoint = store.find('mtgPoint', {long: "0", lat: "0"});
    mtgPoint.then(function(mtgPoint) {
        mtgItemAtPoint = store.find('mtgItemAtPoint', {item: mtgItem, position: mtgPoint});
    });
});

If someone is interested in the solution, go and check the stackoverflow post please.


Chrome app Identity

After testing Chrome app Identity, there's a illogical step to do to get user informations.
If i'm already connected to Oauth i just have to click the button get user info and it's okay.
But if i'm not signed in, we should click twice on the signing button and once on the getuser infos to see the user infos, it's a lot of clicks to get user infos.

I'm not sure to understand what is wrong there.
Clicking "get personal data" could be done automatically when user clicks on the "sign in" button. Is that it?

Yes, probably, but based on the identity exemple, i didn't really figured out how to show user infos automatically after i get the Token. Instead of clicking another time on the getuser infos button.
Because i don't know when the token is successfully received and then show user infos without another click

According to https://github.com/GoogleChrome/chrome-app-samples/blob/ba78d3b1574631152b4b22f5b44ae748738fff97/samples/identity/identity.js#L209, it looks like you simply need to call getUserInfo(false) after https://github.com/GoogleChrome/chrome-app-samples/blob/ba78d3b1574631152b4b22f5b44ae748738fff97/samples/identity/identity.js#L39


Remove setuptools from PEP 517 build

I see it was added in https://github.com/vemel/newversion/commit/09377c310cb5dadcc7af7b7971588ef145761aed, but I don't understand why. A PEP 517 build using poetry-core shouldn't need setuptools.

Makes sense! Thank you for your contributions. Sorry for the delay.


Transfer Serilog.Formatting.Log4Net to the Serilog Contrib organization

I would like to transfer my project Serilog.Formatting.Log4Net  to the Serilog Contrib organization. I haven't released version 1.0.0 yet (only 1.0.0-rc.2) and I think it might be a good idea to release it once the project is transferred.
Should I simply initiate the transfer to the serilog-contrib GitHub organization or is there some kind of approval first?

Awesome, Cédric!
For GitHub, this is a multi-step operation due to how GitHub manages permissions for organizations (i.e. GitHub doesn't let me give you permission to transfer the repo directly to the org).

Transfer the repo to my user augustoproiete
I transfer it to the Serilog Contrib organization
You accept the invite to join the organization (you should have received an email)
I add you as admin in the repo, within the org

For NuGet, open the "Manage" package UI for your packages on nuget.org and add the user serilog-contrib as an additional owner of the nuget package.

You're all set!

:white_check_mark: GitHub repo to transferred serilog-contrib/serilog-formatting-log4net
:white_check_mark: NuGet package added to cake-contrib

Thanks!

Great! Could you add the serilog-contrib organization to Codacy? I got this error when trying to add it myself:

Only organization owners can add organizations to Codacy. Reach out to an owner of serilog-contrib and ask them to add the organization.

I think I've added. Let me know if there's any step I missed:

I'm still unable to access anything on Codacy. Maybe you need to add me as member? (It's the first time I use Codacy with an organization.)

I've added you to the org within Codacy - give it a try - but I suspect the issue is that Codacy is confused with the move of the repo from your user to the org:

Maybe you need to remove the repo from your own user/organization within Codacy so that it can let me add the repo to the serilog-contrib Codacy org?

I figured it out! I went to https://app.codacy.com/gh/0xced/serilog-formatting-log4net/settings in order to unregister the repository then I was able to add it to the serilog-contrib organization. 🎉

Hey @augustoproiete, can you login to https://dashboard.stryker-mutator.io/repos/serilog-contrib and enable the github.com/serilog-contrib/serilog-formatting-log4net repository in order to get a dashboard API key?
I tried but unfortunately I only see my repos under 0xced, not under serilog-contrib.

@0xced Done. Let me know if you need anything else or if I need to generate an API key on your behalf.

Thanks for the very quick response!
No need to generate an API key, I can now switch to serilog-contrib (I could not before) so I was able to generate an API key.
And the mutation report was successfully uploaded to https://dashboard.stryker-mutator.io/reports/github.com/serilog-contrib/serilog-formatting-log4net/ed7885c0ce6dbbea8f1ba95a3fcd41c65f28d97e 🥳

Perfect. The mutation report looks great! :star_struck: Adding to my list of things to add to my OSS projects


webpack.1 error

Expected Behavior
no error
Actual Behavior
rails api:start
WARNING: Use strings for Figaro configuration. false was converted to "false".
W, [2018-03-25T23:06:02.169824 #2921]  WARN -- : [SKYLIGHT] [1.5.1] Running Skylight in development mode. No data will be reported until you deploy your app.
(To disable this message for all local apps, run skylight disable_dev_warning.)
PORT=3000 bundle exec foreman start --procfile=Procfile.dev
23:06:02 rails.1   | started with pid 2931
23:06:02 webpack.1 | unknown command: ./node_modules/.bin/webpack-dev-server --config config/webpack.config.js
Steps to Reproduce
rails api:start
My FarmBot API Version
6.2.1
Run git log -1 and paste the results here
git log -1
commit<PHONE_NUMBER>670a11c9bffcc66fb91f826908bd37 (HEAD -> staging, origin/staging, origin/HEAD)
Merge: 4f02e7c1 a7895dfe
Author: Rick Carlino<EMAIL_ADDRESS>Date:   Tue Mar 20 10:42:23 2018 -0500
Merge pull request #738 from RickCarlino/deprecations_ii

Downgrade Webpack, Add Tests

Ran a new install of the web app but keep on getting this error, Please advise thank you! - Walter

@kc6esn It looks like some of your dependencies did not install. Did you run yarn install from within the same directory as the FarmBot Web App? If so, what did the output look like?

@kc6esn I will need more information to continue troubleshooting this issue. Please let me know if yarn install did not fix the issue.

Hi there Rick, it needed a sudo yarn install. There were also a few other issues with the new Ubuntu 17.10.1 as far as permissions but everything works and the gantry is moving locally now! Thank you again !


For applying changes run source ~/.zshrc or restart your shell.

Same here using ubuntu 18.04 and zsh 5.4.2.

I had a similar issue, in which my history file got owned by root when setting up everything.
Try checking the ownership and correcting it if something is wrong

I was having the same issue, until I realized that my .zshrc had some illegal line that broke the sourcing (parse error near...).

Same here, it works fine in the GUI, but not in the  command line mode.

Please update to latest version before anything.
Also, it's a good idea to update ZSH. Check #718 for instance.


[Sprint: 49] XD-2575 Adding --closeTimeout option to close files after certain tim…

…e regardless of activity

This looks good to me.

merged


docs: Improvements to mobile instructions [skip ci]

Improvements on instructions on how to build for mobile:

Cleaned up markdown headings
Included necessary commands to install and init gomobile
Added command on how to go to the correct src folder before building libraries (due to a known limitation in gomobile)
Added command on how to checkout the last tagged release of lnd before building libraries
Fixed incorrect link to Dockerfile
Use go 1.17.3 instead of 1.17.2 in the Dockerfile.
For convenience, added command on how to move all the generated Swift protoc definition files to the  same directory as the framework file.

Thanks for the update, appreciate you helping out others with build problems and updating the docs at the same time 💯
Just a few mostly non-blocking comments.

Thanks for your feedback, I believe to have fixed them all now.

Thanks for the quick update. Please squash your commits and add a link to the PR itself to the release notes. Then we're good to go IMO 🎉

No problem. Fixed and squashed.


Added support for cordova InAppBrowser

If you like to use this library with cordova.js you need to fetch the code and hash from inappbrowsers loadstart event.
I'm also passing the config from satellizer.Oauth1 and satellizer.Oauth2 to satellizer.popup.open method,
so that i can check redirectUri

Hi @crtek I have no way to test this since I do not have experience with Ionic or Cordova, or have those installed on my machine. Before I merge this could you clean up the code starting with consistent spacing and indentation. Also, you can skip all that ceremony with === or !== to null or undefined in if statements.
Lastly, could you do a rebase of your commits?
Thanks!

ok,
i'll clean my code.
I'm a noob with github so bear with me please
Thanks!

hi @sahat i did a rebase,
hope it is ok now

Hi @crtek , I have also worked on making satellizer available for mobile (Ionic/Cordova) and I have created a pull request https://github.com/sahat/satellizer/pull/294.
Have a look and let's talk what's the best way to do this.

Worked fine on a Android emulator with an Ionic/Cordova app. :+1:

Hi @krystalcode, I have seen your PR. Seems cleaner than mine.
Avoiding the polling method seems better.
I made a few changes so that it works with twitter too, but i can't fork your repository and
can not pr. Can you tell me how can i send you my changes.

Hi @crtek , I have added you as a collaborator to my fork krystalcode/satellizer. I suggest that we do the following:

You can commit your code directly to my fork into a branch.
We review, discuss, improve together.
When ready, we make a pull request and @sahat can merge it to sahat/satellizer.

Let me know if that works for you.

Hi @krystalcode,
your suggestion souns good to me.
PS: sorry for the late response, I was on vacation

@krystalcode @crtek hi guys, any news on this?

@raibutera  hi this functionality was merged with pull request #294

It might be best to close this pull request as mobile support (for OAuth2) has already been merged.


Installation issues

Debian package seems to be corrupt.
npm install from the cloned repo terminates with errors
sudo npm install -g @asyncapi
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "@asyncapi": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-21T11_05_40_874Z-debug-0.log
(base) frag@daedalus:~/c0ding/asyncapi/generator$ sudo npm install -g @asyncapi/ag
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@asyncapi%2fag - Not found
npm ERR! 404
npm ERR! 404  '@asyncapi/ag@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-12-21T11_05_56_154Z-debug-0.log
(base) frag@daedalus:~/c0ding/asyncapi/generator$ npm install

up to date, audited 1247 packages in 30s

47 packages are looking for funding
  run `npm fund` for details

20 vulnerabilities (17 moderate, 2 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

How to install the generator?

Moved it to CLI repo as we anyway will deprecate Generator CLI.
More critical is to fix installation for CLI.
I just do not know what the solution is so far.


inspect-commit doesn't display commit message

What is the goal / desired outcome?
If there is a way to accomplish this today via workaround, what does that require?
(Optional) What is your proposal for a feature to solve this?

Environment?:

Kubernetes version (use kubectl version):
Pachyderm CLI version (use pachctl version):
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):
OS (e.g. from /etc/os-release):
Others:

What happened?:
Pachctl doesn't display commit message when running inspect-commit
What you expected to happen?:
When running inspect-commit it should display commit message if one exists for that commit.
How to reproduce it (as minimally and precisely as possible)?:
pachctl put-file <repo> <branch> <filename> -m "Test message" -f /path/to/file
Then to display commit message
`pachctl inspect-commit repo
Anything else we need to know?:
Environment?:

Kubernetes version (use kubectl version): 1.10
Pachyderm CLI version (use pachctl version): 1.7.11
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): minikube
OS (e.g. from /etc/os-release): Mac
Others:

Addressed in #3251


Dedicated button/element for specific command

Seems I'm missing out something basic. All I get in Homebridge is an on/off button - that is working fine with my TX-NR905.
How can I switch the HDMI output (sub/main) e.g.?

Please see the readme for more info. In short, try using an app like EVE instead of the Home app.

I've seen https://github.com/ToddGreenfield/homebridge-onkyo/blob/master/README.md and yes, Eve gives some more control (though unreliably). If dummy switches are the key to my question, then how to bind a specific eiscp-command to a switch?

@aschmidt74 check this:
https://github.com/miracle2k/onkyo-eiscp
this must be what you want ==>  http://midnite.im/de8965
I am studying this also, but if you figured it out please share with us.


Supports cookies in the WebContext

create a new Cookie object

create the Cookie[] getRequestCookies() and void addResponseCookie(Cookie cookie) methods to the WebContext interface

create a CookieClient

Could you provide an example of the use case for working directly with cookies from pac4j please? I want to make sure that I don't conflict with existing vert.x cookie handling :) or solutions to problems we might use cookies to solve

I want the "best" design for pac4j v1.8 and implementations. So I have started trying to implement advanced use cases (I didn't commit anything).
My use case: I have a CAS server which generates a remember-me cookie which must be validated via a web service to grant the user a remember-me status.
To address that, I need to access the cookies of the request thus this issue.

:+1: The WebContext interface already has methods that deal with responses. Adding cookie support is the next step.

Ok, I think that works for me, though in the vert.x world it makes us dependent on use of a CookieHandler. Is use of your CAS server available to direct, or only indirect clients? The reason I ask is because setting up for an indirect flow in vert.x requires enabling of the CookieHandler anyway, but otherwise I'll need to document the requirement for the CookieHandler when using advanced use cases which need cookies (which in turn means that I'll need to know what those are :))

I suppose cookie authN would be relevant to DirectHttpClient?

The CAS server was just an example. It's the use case where the identity of the user is held by a cookie: it should be a direct client.

Update in Play: https://github.com/pac4j/play-pac4j/pull/80


Warp

added warp as a directory to drop the warp data into.
also deleted Turmux and ST because I will not be using them.

still need to add the warp configs. and maybe the wallpaper and stuff


Us 1264679 bug fixing

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/get-started-with-desktop-application-and-display-sharing.md
:white_check_mark:Succeeded

docs/get-started-with-enhanced-presence-in-lync-sdk.md
:white_check_mark:Succeeded

docs/get-started-with-lync-contact-lists.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/get-started-with-desktop-application-and-display-sharing.md
:white_check_mark:Succeeded

docs/get-started-with-enhanced-presence-in-lync-sdk.md
:white_check_mark:Succeeded

docs/get-started-with-lync-2013-sdk.md
:white_check_mark:Succeeded

docs/get-started-with-lync-contact-lists.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/get-started-with-content-sharing.md
:white_check_mark:Succeeded

docs/get-started-with-desktop-application-and-display-sharing.md
:white_check_mark:Succeeded

docs/get-started-with-enhanced-presence-in-lync-sdk.md
:white_check_mark:Succeeded

docs/get-started-with-lync-2013-sdk.md
:white_check_mark:Succeeded

docs/get-started-with-lync-contact-lists.md
:white_check_mark:Succeeded

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


如何使加载rerank模型时默认使用trust_remote_code=true

@dosu-bot
我想使用新的rerank模型，加载时报错如下
/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 269, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 258, in wrap
    await func()
  File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 215, in listen_for_disconnect
    message = await receive()
  File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 568, in receive
    await self.message_event.wait()
  File "/usr/local/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 2ada8143f970

During handling of the above exception, another exception occurred:

  + Exception Group Traceback (most recent call last):
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
  |     result = await app(  # type: ignore[func-returns-value]
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
  |     return await self.app(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in __call__
  |     await super().__call__(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/applications.py", line 119, in __call__
  |     await self.middleware_stack(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in __call__
  |     raise exc
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in __call__
  |     await self.app(scope, receive, _send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
  |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
  |     raise exc
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  |     await app(scope, receive, sender)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/routing.py", line 762, in __call__
  |     await self.middleware_stack(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/routing.py", line 782, in app
  |     await route.handle(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
  |     await self.app(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
  |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
  |     raise exc
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  |     await app(scope, receive, sender)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/starlette/routing.py", line 75, in app
  |     await response(scope, receive, send)
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 269, in __call__
  |     await wrap(partial(self.listen_for_disconnect, receive))
  |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
  |     raise BaseExceptionGroup(
  | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 258, in wrap
    |     await func()
    |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sse_starlette/sse.py", line 245, in stream_response
    |     async for data in self.body_iterator:
    |   File "/data/home/user/Test/GitLibrary/Langchain-Chatchat/server/chat/knowledge_base_chat.py", line 88, in knowledge_base_chat_iterator
    |     reranker_model = LangchainReranker(top_n=top_k,
    |   File "/data/home/user/Test/GitLibrary/Langchain-Chatchat/server/reranker/reranker.py", line 49, in __init__
    |     self._model = CrossEncoder(model_name=model_name_or_path, max_length=1024, device=device)
    |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py", line 66, in __init__
    |     self.config = AutoConfig.from_pretrained(model_name, trust_remote_code=trust_remote_code, revision=revision)
    |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/transformers/models/auto/configuration_auto.py", line 937, in from_pretrained
    |     trust_remote_code = resolve_trust_remote_code(
    |   File "/data/home/user/Test/Langchain-Chatchat-Env/lib/python3.9/site-packages/transformers/dynamic_module_utils.py", line 636, in resolve_trust_remote_code
    |     raise ValueError(
    | ValueError: Loading BAAI/bge-reranker-v2-minicpm-layerwise requires you to execute the configuration file in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option `trust_remote_code=True` to remove this error.

我能怎么配置全局变量使其默认允许trust_remote_code=True吗？

额。。。dosu bot挂了啊


Add page function along with working test

Adding a new page function as requested in https://github.com/PostHog/posthog/issues/635

@anirudh24seven I dont think this makes sense in backend SDKs including this one.
This is only for UI/frontend SDKs.

Oh. I understand now. Shall I go ahead and close this PR?


upgraded to the latest fabric8 and fixed up the use of the kubernetes read/write factory and disable validation on startup of jube on the master REST API

upgraded to the latest fabric8 and fixed up the use of the kubernetes read/write factory and disable validation on startup of jube on the master REST API

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/jube-master-pullreq/176/
Test PASSed.


How do you change the character for the leading space?

Currently, spaces are little carets. I'd like them to be unicode centered dots

set listchars=tab:·\ ,trail:·

in the .vimrc

it didn't work?

(I'm new to vim)

try adding set list command afterwards.

More info

Just found this: http://stackoverflow.com/a/19233453/356849

The list+listchars combo can show trailing spaces but not leading spaces.

let g:indentLine_leadingSpaceChar = 'character you want'

thanks! I couldn't find that on the readme.


Add support for v2 of the SHARE API

This PR only supports the PushDocument part of the API, for uploading citations to SHARE. Left undone is the Search API. But we would like to merge this so others can build on it.
The new API is exposed as a new class, so existing code will continue to work (albeit, using the v1 API).
This is joint work with Huawei Weng at UCSD.
Comments and Discussion welcome.

I push anychanges up on Wednesday.

@dunn I have updated the rubocop file, and I set a ruby version of 2.1.


Query:  the netopeer2-server bind server failed with "Cannot assign requested address", how to get this event and recover

Hi,
When I try to bring up netopeer2-server it reports
 "[ERR]: LN: Could not bind "<IP_ADDRESS>" port 830 (Cannot assign requested address)

I did have a look, and looks like at that time the IP address is not allocated, ( 1 second later the IP is allocated and available ).
But the netopeer2 will not retry to bind the IP address and I do not know the event and can not do anything for this use case.
So:
1. Can I monitor this event (bind IP Address or port failed)?
2. How to recover? import the "/ietf-netconf-server:netconf-server/listen/endpoint/ssh/tcp-server-parameters" again? but the same paraemters will not trigger the callback, right?
So the only way to recover is to restart the netopeer2 server?

What you should do is use a service planner (systemd) and leverage its dependencies to make sure netopeer2 is not started before basic network setup resulting in problems such as yours.

Yes, but in cloud environment the IP address is to be allocated by others that I can not use dependencies. So currently we use retry to get this issue solved in other processes..

So currently we can not have event?
Looks like np2srv_endpt_tcp_params_cb will return the failed.  Is it possible netopeer2 retry after some seconds ( e.g 4 seconds )
or

do we have some "ietf-netconf-server" event for this? as the data will not "done" as applied failed? ...
 Triggering "ietf-netconf-server" "done" event on enabled data

then we can have 2nd daemon to monitoring this event and do something.
otherwise we need to use netlink to check the Ipaddress existence before bring up netopeer2-server...

Yes, but in cloud environment the IP address is to be allocated by others that I can not use dependencies. So currently we use retry to get this issue solved in other processes..

I do not think that is a good design.

Is it possible netopeer2 retry after some seconds ( e.g 4 seconds )

No such functionality is supported.

otherwise we need to use netlink to check the Ipaddress existence before bring up netopeer2-server...

That seems like the most reasonable solution.

OK, thank you for your kindly reply and support. I have no more questions for this item.


how to update All record in table?

hi
I want Update All record in tabale
The following code just one record Update but I want All record update not use where
        do {
        let db = try Connection(AppDelegate.DATABASE_FILE_PATH)
            let users = Table("tbl_user")
            let user_Name = Expression<String>("user_Name")
            let userId = Expression<String>("user_id")
            let tooken = Expression<String>("tooken")

            let alice = users.filter(1 == rowid)

            try db.run(alice.update(user_Name <- "Update Farshid", userId <- "update User id", tooken <- "update wertyuiopfdrvkjndjs"))
        }
        catch{
            print("Error: \(error)")
        }

Thanks

I found :
 do {
            let db = try Connection(AppDelegate.DATABASE_FILE_PATH)
            let stmt = try db.prepare("UPDATE tbl_user SET  user_Name = 'update all record")
            try stmt.run()
        }
        catch{
            print("Error: \(error)")
        }


[Consent to Share Developer Resources] gee-ccdc-tools

@parevalo Thanks for accepting Earth Engine RevRel’s request to share your developer resource(s) in a proposed page under the Community section of the Developer's Guide.
Please:

edit the provided suggestions for how to present your resource
add your name and date to confirm your consent
let us know your plans for maintenance and development of your resource

"title": "gee-ccdc-tools",
"desc": "A suite of tools designed for continuous land change monitoring in Google Earth Engine.",
"url": "https://gee-ccdc-tools.readthedocs.io/en/latest",
"contactGitHub": "parevalo"
"contactName": "YOUR NAME",
"contactConsent": "YYYY-MM-DD",
"maintenance": "yes" OR "no" OR "maybe",
"development": "yes" OR "no" OR "maybe",

To request changes in the future, ping this issue. Thank you for supporting the Earth Engine developer community!

Here's the requested info:
"desc": "A suite of tools designed for continuous land change monitoring in Google Earth Engine.",
"url": "https://gee-ccdc-tools.readthedocs.io/en/latest",
"contactGitHub": "parevalo"
"contactName": "Paulo Arévalo",
"contactConsent": "2021-04-03",
"maintenance": "maybe",
"development": "maybe"```

Thanks for the info!
I'll ping this thread regarding page publication updates. Closing for now, reopen for future changes.

Thanks for helping support the Earth Engine developer community!
Your resource has been added to the Developer Resources page.
If you'd like to change anything about the title, URL, or description, ping this issue.


First version with tests using docker-compose

Tests with docker-compose.
To setup the databases (this step will take a little bit more time because we are building a new image, in the future we can create an image in Docker Hub just for this):
docker-compose run setup
To run the tests:
docker-compose run sbt sbt test
PS1: I don't know yet how to integrate this with Travis CI
PS2: If you don't want to run sbt inside the container, you have to edit your etc/host to point the names cassandra, postgres and mysql to your Docker Host.

I'll have a look at it tomorrow. Many thanks! :)

Current coverage is 98.49%

Merging #144 into master will increase coverage by +0.83% as of 8dbcbf2

Powered by Codecov. Updated on successful CI builds.

Looks great to me! Could you create a CONTRIBUTING.md doc explaining how to use docker-compose?

@fwbrasil I'll do it


Walinux rollback 2.2.25 for xenial 170

Some mistakes were made when I asked you folks to upgrade to the latest walinux. We thought that would work with Azure Stack, because MS said they knew what the issue was, but it had the same problem as before. Since then I've built the stemcell locally and tried a lot of permutations of azure linux agent configurations. The only way I could get VMs to provision correctly was to rollback to the version of walinux we used in pre-170 xenial stemcells.

Is this supposed to be against 170.x, or master? Subject suggests to roll it back for just 170.x? An old thread was just resurrected which had originally blamed a WALA upgrade and wondering if this will be relevant to it.

This issue has been seen in all stemcells 170+

Also I don’t know how to do PRs well, so I could have messed up


[feature/sftp] Added SFTP Client and Validation Plugin

I have added 2 files and referenced SSH.NET.
This adds the functionality for SFTP with username & password.

This looks like a nice addition to the program 👍 . I'm going to review it in detail soon and intend to merge it for the next release.

Let me know if you need any assistance. Great Project!


feat(lib): define TypedArray interface

Each concrete typed array type and constructor share common interfaces.
Library types can be defined extending base interfaces:

higher code reuse
less duplication
easier maintenance (less error prone)

Closes #15402
Fixes #45198
Fixes #45199

To help with PR housekeeping, I'm going to close this PR since it's pretty old now.


About image file name case!!!

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
I created an md document in docs using 'import pic from "./image/Web.png"'，But the image name is web.png，When I execute npm start and npm run build does not report errors，

But when I reproduced the environment deployment failed

Reproducible demo
No response
Steps to reproduce
npm run start
npm run build
Expected behavior
When start and build should report errors
Actual behavior
Does not
Your environment

Public source code:
Public site URL:
Docusaurus version used:
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[X] I'd be willing to fix this bug myself.

I used Jenkins deployment

I used Jenkins deployment

Your local file system is probably case insensitive, while your Jenkins file system is likely case sensitive.


drivers: ieee802154: ieee802154_dw1000: convert to spi_dt_spec

Convert ieee802154_dw1000 driver to use spi_dt_spec helpers.
Signed-off-by: Bartosz Bilas<EMAIL_ADDRESS>

note: I also did this conversion here: https://github.com/zephyrproject-rtos/zephyr/pull/42230 (also with gpio_dt_spec)

outdated, please rebase or close

note: I also did this conversion here: #42230 (also with gpio_dt_spec)

Right, I didn't notice that.


New signature command

Closes #385
Description
Added a new 'signatures' command, which allows developers to create signatures and verify them.
Sign command allows you to provide a payload and reference a signer from the flow.json to be used for generating a signature.
flow signatures generate <payload> --signer alice

Verify command lets you provide the payload used to create a signature, specify the public key, signature algorithm, and hashing algorithm, and tells you whether the signature is valid for provided data.
flow signatures verify <payload> <signature>

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

Codecov Report

Merging #390 (9c92a0c) into master (31ed9a0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #390   +/-   ##
=======================================
  Coverage   54.74%   54.74%
=======================================
  Files          36       36
  Lines        1874     1874
=======================================
  Hits         1026     1026
  Misses        720      720
  Partials      128      128

Flag
Coverage Δ

unittests
54.74% <ø> (ø)

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

Continue to review full report at Codecov.

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


License is BSD but Playtunes code is GPL v3

I am not a lawyer, but I believe that since this library integrates code from arduino-playtune, which is licensed under the GNU General Public License v3, this library can't use the BSD license.
Since it uses GNU GPL v3 code, this library should be licensed under GNU GPL v3.

That code has been ripped out now into a separate repository - and the original license was also always mentioned in the contributions file.

I'll let someone else decide if any other changes are necessary here... but if so that issue probably should be opened against the other repo.

Yes, I realised after opening this issue that moving the Playtune stuff to a separate repository eliminated all GPL code, so going forward this repository could be BSD licensed. However, at the moment the stable V1.1 code that people are installing still includes Playtune code. Until we release a version without Playtune code, we should be using GPL v3.
GPL is a "viral" license. If you incorporate any GPL code in your source, you must use GPL as the license for all of it. You can't just acknowledge that portions of your code are GPL and have the rest remain BSD.
The ArduboyPlayTune repository currently contains no license whatsoever. The PR that I submitted 2 days ago adds the GPL v3 license.

Someone else will have to sort this out.  The library was largely rewritten after we pulled it in... and really it should be treated as vendored code within our project (even in 1.x)... we should add the GPL license notice to the tunes source files only.

The library was largely rewritten after we pulled it in... and really it should be treated as vendored code within our project (even in 1.x)

Not if you're going to acknowledge where it came from in the CONTRIBUTORS.md file. You could leave it as BSD if you wanted to pretend it was written from scratch.

we should add the GPL license notice to the tunes source files only.

Which, as I said, I did in the PR.


Fix isEffectivelySingleton

As usual, OrTypes need to be excluded. a.type | b.type is not effectively a singleton. It seems to be an easy trap to fall into.
Follow-up to #20474

I propose we merge without further refinements, since it plugs a recent soundness hole.


bug: changelog fragment creation broken whenever we have double quotes in the content

See https://github.com/ansys/pyansys-geometry/actions/runs/11801654551/job/32875549474?pr=1534#step:2:146

If double quotes are used inside the title, the new modifications are no longer working.
We need to fix this @klmcadams - it was working previously AFAIK

Closed by #642


[RESEARCH] Replace Data.Array with Data.Vector or MVectors

Problem
Currently, the emulator allocates and deallocates memory excessively by passing around the memory, registers, and flags to every function. Each function may modify only one memory address but still returns a full copy of the entire structure. This results in unnecessary overhead in terms of both memory and computation time, as the emulator spends considerable resources on allocating and copying memory.
Proposed Solution
To address this, we propose:

Replacing Data.Array with Data.Vector:

Data.Vector offers better performance for access and copying due to optimized memory layout and access patterns.
This change alone could reduce the overhead from copying large arrays for every small operation.

Exploring the Use of Data.Vector.Mutable (MVectors):

By leveraging MVectors under the IO monad, we could maintain a mutable state, avoiding the need to copy large data structures.
Mutable state allows us to modify memory or registers in place, significantly improving performance for memory-intensive operations.

Considerations

Using MVectors requires integrating mutable state into the current emulator logic, which may complicate some aspects of functional purity. However, this trade-off seems justified given the potential performance gains.
The goal is to balance performance improvements with maintainability and readability of the codebase.

Justification
The current implementation, while functional, is inefficient for modern use cases. By adopting Vectors or MVectors, we can:

Reduce memory allocation overhead by avoiding frequent copying of large data structures.
Enhance performance by leveraging efficient memory access patterns provided by Data.Vector.
Simplify state management when using MVectors, as modifications can be performed directly on the mutable state.

I guess my point is, I would like for this emulator to be usable on lower-end hardware too. If we can make it work with reasonable speed and memory footprint on a 8 year old laptop, I think we are fine.
Next Steps

Evaluate the Impact of Switching to Data.Vector:

Replace Data.Array with Data.Vector in critical paths.
Benchmark the performance impact compared to the current implementation.

Prototype with MVectors:

Implement a prototype using Data.Vector.Mutable to manage memory and registers.
Test the feasibility of maintaining mutable state under the IO monad.

Compare and Decide:

Compare the performance and complexity of using immutable Vectors versus mutable MVectors.
Select the approach that provides the best balance of performance and maintainability.

@RikSmits06 or @Jordin089 anybody wanna take one or the other? I would like to get started on MVectors though, as they are more complicated, but in the meanwhile, someone try to convert to Data.Vector, choose an assembly that takes a while to execute and/or takes a lot of memory (or make one yourself if you feel what we have is too fast). But please don't use cabal test as a benchmark, it is too variables between runs even with the same codebase.
The modifications for Data.Vector shouldn't be too hard, it should be more or less a drop-in replacement and then measuring performance.
If you do want to start, please answer with a message here, and when you're done, comment your findings here as well, as will I.

So I have the following results:
I did 14 tests for 3 different files: bubblesort.asm, test_call.asm and the old test.asm, because these are the tests that take the longest to execute on the emulator, and if we wanted to see how big the difference is, we could see it much clearer in tests that are demanding. With dotted lines you can see the average.
Bubblesort
For each pair of tests, you got the number of seconds on the Y axis between arrays (current main) and MVectors (the experimental branch).

And here is the memory usage for both. Left is total memory across the execution from the heap, and right is the amount of memory as it would show up in task manager.

Test (massive nested loops)
By far the test going on the longest, i had to make the loops shorter so i could actually finish this whole performance testing in a reasonable time.

Memory usage:

Test call
Time:

Memory usage:


Convert to go mod

As dep is on the way out and all other Kolide projects in GitHub have migrated to use modules, I thought it made sense to convert this one too.

This still has some work to do to fix up the circleci stuff but I didn't have time to do it yesterday.

@directionless can you guys build an official fleet-builder image off of tools/ci/docker/fleet-builder/1.11/Dockerfile? CI won't pass until the image exists.

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

@davepgreene it should now be possible to complete this by utilizing the changes in https://github.com/kolide/fleet/pull/2081. You will no longer need to update the fleet-builder container with those changes. Thank you!

Hi @davepgreene apologies again for the delay on this. Are you going to complete the PR? If not I will close and open a new PR to make this migration.

Hey @zwass, work has picked up and I haven't had the opportunity to do anything with this PR. Feel free to take anything I've done here (or not) and move forward as it's likely I won't be able to touch it for at least a month or two.

Thanks @davepgreene. Hope to see more contributions from you in the future!

Completed this migration in https://github.com/kolide/fleet/pull/2094.


fix(image-lightbox): fix zoom on mouse wheel cursor position

General summary
pageY & pageX we used for the cursor position for the zoom center actually depended on the page scroll position but we wanted the cursor position in the window (since the image lightbox is always fullscreen)

Test OK (tested in an alpha release directly in the product) ✅


Support EOL comments

Fixes #66

Coverage increased (+0.1%) to 87.662% when pulling 708a2a7e20878eb1cb060552a6d6da07b9147249 on ash211:eol-comments into 653c313e2f28ff5f294af1c1e60b4fdd1cf920c1 on nebula-plugins:master.

Any thoughts on this @DanielThomas ?  It also ignores any trailing whitespace which might be less desirable

Saw you doing a lot of work in this repo today @rspieldenner -- thank you I appreciate it!


[ConfigTransformer] Add MissingAutodiscoveryDirectoryTolerantYamlFileLoader to skip loaded directory if missing

Closes https://github.com/symplify/symplify/pull/4336

@alexander-schranz I'm off to cinema now. I marked this with automerge, if all tests passes, so you can test it sooner :)
Brb, 3 hours :sunglasses:

@TomasVotruba Thank you 🎉 . Wish you a good evening. Enjoy the movie! 🎥

Thanks 🙏

PS: All is is working fine 👍 .
The two repositories pull request are merged and the recipes available here:

https://github.com/alexander-schranz/symfony-recipes-php/
https://github.com/alexander-schranz/symfony-recipes-php-contrib/

Moved the script itself to an own repository here so I can use it inside both above listed repositories.
Even registered two skeleton packages using the recipes already which can be used for composer create-project starting project with php configs:

schranz/symfony-php-skeleton
schranz/symfony-php-website-skeleton


Overlay over another plugin.

Now overlays the map over another plug, such as IconBuilder, and covers it.
Solution. Paint map overlay under other plugins.

I don't see any (obvious) API supporting layered drawing, if you can point me to some plugin with similar behavior I could take a look.


Evaluate llama2 with EXL

https://huggingface.co/turboderp/CodeLlama-13B-instruct-exl2
Requires the new exllama2 backend: https://github.com/turboderp/exllamav2
looking at 4.6, 3.5 and 2.7bpw

Mostly working, but llama2-code-v1b produces some rather odd outputs.. lots of the answers start with "rugu" or other such nosense.  I wonder if it's the token-healing in here misfiring..

Complete, EXL2 now supported.


Custom glyphicons

Changes proposed in this pull request:
https://github.com/wxsms/uiv/issues/89
@wxsms

Coverage remained the same at 96.777% when pulling a4c9e13f788c1cff2d8df56a8d303813e0e9949a on francoismassart:custom-glyphicons into 47c9a27210866c112b2a7d33149d8a865c692fe2 on wxsms:master.


Images cache in AutoPurgingImageCache only available when app is currently running?

[*] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?

Cache URLRequest using AutoPurgingImageCache works fine when app is currently running

What did you expect to happen?

I can get those cache images again

What happened instead?

Those cache images can't fetch again using URLRequest

Alamofire Environment
Alamofire version:
Xcode version:
9.4.1
Swift version:
4.0
Platform(s) running AlamofireImage:
macOS version running Xcode:
10.13.16
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.

Thanks @jshier 🙂


Heads-up: upcoming (helpful) change in setupPHP

This is just a heads-up and for your information.
Basic premise:
Composer commands when used in CI, should always use the --no-interaction flag, which this action already (correctly) takes care of.
The heads-up:
After a recent discussion about this in the setup-php repo, a change has been made in setup-php to set the COMPOSER_NO_INTERACTION=1 flag (commit https://github.com/shivammathur/setup-php/commit/e7e1eeedca2d7e8395e2bb0859fd86ee5f4c6f5e), which will have the same effect for all composer commands run in a job.
This change is expected to be included in the next release of setup-php.
Impact on this action
I expect that this will/should probably not have any impact on this plugin, as users of this action may not necessarily be using the latest version of setup-php or may possibly not even be using setup-php.
@ramsey Either way, I figured it may be useful for you to know about this change in advance. Please feel free to close this issue if you agree that this upstream change will not impact this action.

Thanks! I agree this shouldn't affect this action.


docs: add link for 1.11.0 docs

Signed-off-by: Stephan Zuercher<EMAIL_ADDRESS>

@richarddli this adds a link to https://www.envoyproxy.io/docs for the 1.11.0 release (as distinct from latest, which is docs for HEAD of master).


Add ability to filter transfers logs by user

To reduce load on network we need to filter transaction events by user account.

This is how V2 works right now but we may be removing it.


Store min resolved ts may not be accurate

Bug Report

https://github.com/tikv/tikv/blob/fa3892be7ff7acad80cdac19bbe2f5bb1423f8ac/components/raftstore/src/store/util.rs#L1181-L1192
As title, because get_min_resolved_ts ignores uninitialized peers that may
contains older locks that are less that the min resolved ts of initialized
peers.
Also there is another case: if TiKV creates a new peer after reporting min
resolved ts, the new peer may also contain older locks.
In fact, it's a distributed snapshot problem, and might be tricky to get this right.
The inaccurate store min resolved ts may break transaction atomicity after
flashback. To fix the flashback issue, it needs to check all region resolved ts
and calculate the min resolved ts among them.
What version of TiKV are you using?

>6.4.0

Hello，
Could the min_resolved_ts be maintained in the metadata information of the region and reported to PD in region- heartbeat? This way, it will be very convenient and safe(accurate) for PD to maintain min_resolved_ts group by store or whole cluster.
meanwhile, I wish TiKV could also maintain the min_start_ts group by region basis in the same way, which will help us to reduce the overhead of scan-lock during TIDB GC, while also reducing the wake-up calls to hibernate region, thereby lowering CPU consumption of tikv during GC(I will create an issue for it).

Could the min_resolved_ts be maintained in the metadata information of the region and reported to PD in region- heartbeat? This way, it will be very convenient and safe(accurate) for PD to maintain min_resolved_ts group by store or whole cluster.

Report resolved ts by region heartbeat is not enough, because this API stands for store level min resolved ts including followers and a follower can arbitrarily slower than a leader.

meanwhile, I wish TiKV could also maintain the min_start_ts group by region basis in the same way, which will help us to reduce the overhead of scan-lock during TIDB GC, while also reducing the wake-up calls to hibernate region, thereby lowering CPU consumption of tikv during GC https://github.com/tikv/tikv/issues/16134

Good idea! At region level, resolved-ts essentially equivalents to the max-ts in GreenGC solution.

meanwhile, I wish TiKV could also maintain the min_start_ts group by region basis in the same way, which will help us to reduce the overhead of scan-lock during TIDB GC, while also reducing the wake-up calls to hibernate region, thereby lowering CPU consumption of tikv during GC https://github.com/tikv/tikv/issues/16134

Generally I think storing some timestamps bound to a region (Also allowing query the min value of some range over them) would be a good general-proposed function for PD. Log backup also needs some place to store the progress of it.


DotNetCoreInstaller uses a deprecated releases.json and can't install .NET Core 3.0 Preview 4

Reopening https://github.com/Microsoft/azure-pipelines-tasks/issues/10213:

[@dagood]
Question, Bug, or Feature?
Bug
Enter Task Name: DotNetCoreInstaller
Environment
Unknown
Issue Description
I'm filing this issue on @minhhieugma's behalf based on dotnet/core#2632.

Could not fetch download information for version 3.0.100-preview4 in Devops CI

This appears to be caused by the task using a deprecated file:
https://github.com/Microsoft/azure-pipelines-tasks/blob/e239620b93b1d2c6339893cc86b0d51d6bf2ee88/Tasks/DotNetCoreInstallerV0/releasesfetcher.ts#L148
Announcement post about deprecation: dotnet/announcements#87, discussion: dotnet/core#1986.
More context in dotnet/core#2632.
Task logs
Unfortunately I only have the screenshot.
##[error]Failed to download package for installation

[@anuragc617]
@dagood We have rolled out the newer version of dotNetCore SDK Installer task i.e 2.*(preview). It uses https://github.com/dotnet/core/blob/master/release-notes/releases-index.json to get all the releases. You can use this task to install dotNetCore SDK. In this task, if you specify the version as 2.x it will install the latest version of the channel excluding preview versions, to include the preview versions check Include Preview Versions.

[@anuragc617]
Closing it, for now, feel free to open if you find any issue.

[@dagood]

It uses https://github.com/dotnet/core/blob/master/release-notes/releases-index.json to get all the releases.

If so, that's a bug--that endpoint is no longer updated and now out of date. It doesn't include 3.0 Preview 5. dotnet/announcements#87
I don't have permissions to reopen.

@dagood According to  dotnet/announcements#87 release-notes/releases.json and release-notes/releases.csv are deprecated and the new format uses release-index.json. We are using release-index.json to get the releases as mentioned in my comment. So we are pointing to the correct releases file.
Regarding 3.0.0 Preview5 not updated in releases-index.json, if you see the dotnet core releases, this also doesn't mention .NET Core 3.0.0-preview5. The latest entry there is of .NET Core 3.0.0-preview4.

Ah, thanks for the extra info, I messed this up pretty bad. 😄 I didn't realize the URL you linked was different and messed up the preview # as well. Closing, thanks again.


[Doc Improvement][Add link to Microsoft app source]

Edited line 28/29 and added a link to install the controls. Edited line 57

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/samples/install-collaboration-control.md
90
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 510a63b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/install-collaboration-control.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/samples/install-collaboration-control.md
90
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 510a63b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/install-collaboration-control.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/samples/install-collaboration-control.md
90
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 24b7f24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/install-collaboration-control.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/samples/install-collaboration-control.md
90
9
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 6927322:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/install-collaboration-control.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/samples/install-collaboration-control.md
89
10
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 58bff63:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/samples/install-collaboration-control.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


dbeaver/pro#2666 Mask sensitive information in the log

A new VM flag was added to disable the masking:
-Ddbeaver.disable.secure.masking=true

Verified


Using polymer v1 for Apache Cordova Windows App

I was trying to create a windows app (for windows 8.1) using apache cordova and polymer v1. I built a simple test project and found that polymer works fine with android but doesn't work with windows app. I created 2 simple components for polymer from examples. I can see this controls when I start application for android, everything works, I can see the components' content. But when I start  this app as windows app I can't see my components. I used page inspector and saw empty tags of my components, there was no any content. I was using Visual Studio 2015. I uploaded test project to GitHub, here is the link - https://github.com/Prontsevich/TestCordovaPolymer.git

@Prontsevich Are there any errors from the console you can provide to help in debugging?  Also, can you confirm your issue is in Windows 8.1 desktop (as opposed to mobile)?
My intuition is that this may be an issue with the HTMLImports polyfill, which uses XHR to load files relative to index.html (which would be local/file:// files on Cordova).
I've opened an issue on the web components issue tracker here: https://github.com/webcomponents/webcomponentsjs/issues/364 to cover this.

Hi, there were no any errors in the console. And actually I tried to start Windows 8.1 app for desktop, not mobile. But it's the same behavior as for desktop and also as for mobile, there are no any errors in console and no any content in controls.

Closing in favor of webcomponents/webcomponents#364


Add a new interface method to AuthorizationDialogController to enable WebView DOM storage APIs

Some OAuth services want to use the WebView's localStorage to store data and if the WebSettings.setDomStorageEnabled is not set to true, the global localStorage variable will be null in the WebView. This method enables custom authorization controllers implementing this interface to set the option to true/false.

Looks like the build failed with the javaDocs task and not from my changes. Let me know if you still want me to address them before merging this pull.


Roll Flutter from f523ddd2d6ab to 0f33a369bfb0 (1 revision)

https://github.com/flutter/flutter/compare/f523ddd2d6ab...0f33a369bfb0
2022-02-13<EMAIL_ADDRESS>Roll Engine from 19a19cd50b0e to 80b7a8cd9ac7 (9 revisions) (flutter/flutter#98347)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Restricting special characters for the Product Name field.

Restricting special characters for some fields is a necessary requirement. Edition - this is only about the Product Name. We need to clarify with Olena if this is also required for the private cloud. Also, we need to clarify what special characters can be allowed (e.g. "-" ) as users often use "-" in the product names.

Letters (both uppercase and lowercase)
Numbers (0-9)
Spaces
Hyphens (-)
Underscores (_)
Periods (.)
Parentheses (())
Ampersands (&)
Plus signs (+)
Exclamation marks (!)
At symbols (@)
Pound signs (#)
Dollar signs ($)
Percent signs (%)
Carets (^)
Asterisks (*)
Question marks (?)
Forward slashes (/)
Backslashes ()
Colons (:)
Semicolons (;)
Quotation marks (' and ")
Square brackets ([])

Now the special characters that are not allowed in the name cannot be typed in the Product Name field. The info about restriction is now permanently displayed under the Product Name field.


add publishing via public links a-la DE share

look at de (kifshare) and public links and mirror in cloud browser

ability to print out URL (add shortening)


Option to enable termination protection

I think it would be a useful feature to have an attribute to easily enable termination protection for an instance created with the machine resource.

you should be able to use machine bootstrap options and pass the following:
disable_api_termination: true

Sweet! Thanks @badmadrad. I guess I should have seen that from the readme: https://github.com/chef/chef-provisioning-aws/commit/ee9f9df5956ccf7f88c63b7abc23ad3b4a8b3930
Closing this out.


Fixed typo in README.md

Fixed a minor typo in README.md for improved clarity and accuracy.

thanks!


Please update parameters for Set-CsTeamsMessagingPolicy

[Enter feedback here]
Could the updated parameter options please be reviewed for this cmdlet?  Under syntax options, there is one that just says "-Allow" and when I connect to a tenant and choose Get-CsTeamsMessagingPolicy I see several more parameters that can likely be set for the policy, namely:
AllowChatWithGroup
AllowCommunicationComplianceEndUserReporting
AllowFluidCollaborate
AllowFullChatPermissionUserToDeleteAnyMessage
AllowPasteInternetImage
AllowSecurityEndUserReporting
AllowSmartCompose
AllowUserDeleteChat
AllowVideoMessages
However, I don't see the parameter AllowUserEditMessage, which is listed on the doc as an available parameter in the cmdlet.

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

ID: ed7e3515-4648-49c1-487c-dffc4eb55d23
Version Independent ID: 0ba323cf-90ea-58bd-2f77-9826e1450d53
Content: Set-CsTeamsMessagingPolicy (SkypeForBusiness)
Content Source: skype/skype-ps/skype/Set-CsTeamsMessagingPolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

@get-itips Please update.

@yogkumgit Already investigating this.
@rsta7540 Some or all these parameters are from features not yet released, I am trying to confirm and I'll get back. Thanks

Some info
AllowChatWithGroup and AllowSecurityEndUserReporting
- Added recently
- In process of being rolled out
AllowUserDeleteChat

Was just added to the doc.


dx package missing dependency on pynvjitlink

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
What is the long-term plan for resolving the missing depedency on pynvjitlink?
Currently the installation instructions require users to manually pull in pynvjitlink from the rapidsai channel, and this conda recipe has no idea that pynvjitlink is a dependency.
Installed packages
n/a

Environment info
n/a

https://github.com/conda-forge/staged-recipes/pull/23404

FYI, for smoking gun tests it can still be done in the CF CIs, see #4. It's just that we can't actually ship a recipe that contains pynvjitlink as a run dependency.


restrict access to superusers

For this bottle-admin should have a default user model (such as django) to restrict access to the admin page. This can be done with an is_superuser field on the model.
I believe this user interface can be implemented, initially, in bottle-boilerplate.
Afterwards it is possible to work with permissions to restrict access only to some pages in the bottle-admin.

+1

@avelino regarding this issue: is it better to fork cookiecutter and create a "bottle-admin-cookiecutter" or submit this small change directly into https://github.com/avelino/cookiecutter-bottle?

implemented in PR #14 and #15


Copy resources automatically?

It would be possible to automatically copy the resources (CSS and JS files) that the stylesheets rely on for presentation into the output location:
<xsl:param name="copy-resources" select="'false'"/>
<xsl:param name="resources-directory"
           select="resolve-uri('../resources', static-base-uri())"/>

<xsl:template xmlns:file="http://expath.org/ns/file"
              use-when="function-available('file:children')"
              name="t:copy-resources">
  <xsl:message select="file:children($resources-directory)"/>
  <xsl:message select="current-output-uri()"/>
</xsl:template>

<xsl:template xmlns:file="http://expath.org/ns/file"
              use-when="not(function-available('file:children'))"
              name="t:copy-resources">
  <xsl:message select="'The copy-resources feature requires Saxon PE or EE'"/>
</xsl:template>

<xsl:template match="/" mode="m:docbook">
  <!-- This is an as-yet-unimplemented experimental feature -->
  <xsl:if test="f:is-true($copy-resources)
                and not(ends-with(current-output-uri(), '/'))">
    <xsl:call-template name="t:copy-resources"/>
  </xsl:if>
  ...

However, the feature requires Saxon PE or EE and therefore won't work "out of the box" for new users, so I question its value.

I've done this with a --resources option on the Python script. That seems like enough.


Fuzz message/stream compression and decompression

Google had a company-wide FuzzIt hackathon recently, so I went digging
in gRPC and found this, which means I probably don't know what I'm doing :)
@hcaseyal

Adding @AspirinSJL since they are the compression owner and I don't have much knowledge of our compression code.

FYI compilation failure is:
ERROR: /var/local/git/grpc/test/core/compression/BUILD:56:1: C++ compilation of rule '//test/core/compression:message_decompress_fuzzer' failed (Exit 1)
test/core/compression/message_decompress_fuzzer.cc:19:10: fatal error: 'fuzzer/FuzzedDataProvider.h' file not found
#include <fuzzer/FuzzedDataProvider.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Erghhh. Screwed up a rebase.

It looks like no corpora were ever added for these fuzzers, so they don't work.  Unfortunately, this wasn't caught before this PR was merged, because of an unrelated bug that has prevented our fuzzers from actually running since last April (!!).  I'm fixing that bug in #21978, which is how I discovered that these fuzzers are failing.
For now, I'm going to disable these particular fuzzers, and I'll file a separate bug to create corpora for them.

I'm attempting to add dummy corpora for these fuzzers instead of disabling them.  I'll file a bug to replace the dummies with real corpora when we have time to investigate this in more detail.


fix include template

add server-side loader method https://github.com/blueimp/JavaScript-Templates#server-side

Please rebase and rename the variable.

Hey @lalop thx for your work - sorry for the delay.
I'll try to merge this soon

@jantimon When will this be merged? I would really :heart: to have this fixed.

Could you please merge all your changes in one commit with a meaning full message so I can publish 1.8.0?

Please note that 2.x already includes this feature

@jantimon I did not know 2.x already had the feature. Thanks for letting me know. :+1:


Unexpected array when initializing a json const& on gcc 4.8.5 using uniform syntax

Minimal example:
#include "json.hpp" // 3.9.1
#include <cassert>
#include <iostream>

using namespace nlohmann;
using namespace std;

int main()
{
        json const j = "{\"key\": null}"_json;
        assert(j.is_object());
        json const& k{j.at("key")};
        cout << k << endl;
        assert(k.is_null());
}

Fails on gcc 4.8.5 with -std=c++0x:
[null]
minimal: minimal.cpp:14: int main(): Assertion `k.is_null()' failed.

Note that k refers to an array, so at() has made a copy though j is const. Don't know if you keep track of that copy via some mutable or if there is a segfault ahead because of a dangling reference.
Passes on more recent gcc.

Duplicate of #2311.

Duplicate of #2311.

Sure? This affects only older gcc. It really messes badly with the reference initialization.


Paint GUI and Digit Recognizer Project added

Hello @Pratikshaekbote
Please describe it.

Hello, This project is related in making of the GUI of Paint and when digits are drawn it will recognise those digits using openCV and image recognition libraries in python


Addition of dietary energy and related terms to CDNO

As discussed in today's CDNO call with @LilyAndres @Graham-J-King and @ddooley, we discussed the following hierarchy:
quality
    nutritional functional attribute
    physical quality
        energy (PATO)
        	dietary net energy (CDNO) ->

        	nutritional non-dietary energy (CDNO)
        		non-dietary metabolizable energy (CDNO)

        	dietary energy (CDNO)
        		dietary metabolizable energy (CDNO) -> map to USDA/INFOODS

Where dietary net energy could be defined along these lines:

Net energy (NE) is defined as the change in retained dietary energy per change in energy consumed, which is equivalent to ME minus total heat production (HP) from all sources

nutritional non-dietary energy would be what you'd get in parenteral nutrition.
As an aside for mass density and specific gravity

Specific gravity is the ratio of a material's density with that of water at 4 °C (where it is most dense and is taken to have the value 999.974 kg m -3). It is therefore a relative quantity with no units.

Hi @kaiiam I just wanted to check, did we or you ended up creating definitions for those new terms that would be added in CDNO?

Hi @kaiiam let me know if you have some particular definitions you want to discuss with the group, I can add this in the next release.


Docker CI/CD

Implement CI/CD to build and publish docker image
Things to decide: GHCR or docker hub

Closing Old issues for refactoring project


Speed not show exactly.

Hi, the speed not show exactly, If i give speed.speedTo(30) it display speed 25 to 35. in deluxeSpeedView.

Follow this issue please #40

Thanks anastr.


[Bug] Update DOF

Aetron — Yesterday at 9:29 PM
DOF 27 September 2024 (v3.2 Beta 2) changes folder strukture to this.
there in no more need for download it twice or work with symlinks

https://github.com/mjrgh/DirectOutput/releases

Fixed with 3.9.0


[Snyk] Upgrade io.netty:netty-all from 4.1.110.Final to 4.1.111.Final

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade io.netty:netty-all from 4.1.110.Final to 4.1.111.Final.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on 23 days ago.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

already done


Using plotly in service file

While using python3 and running directly there is no problem but if we use service file, there is a problem with kaleido.
/home/ubuntu/pivony-api/env/lib/python3.7/site-packages/kaleido/executable/kaleido: line 2: dirname: command not found
/home/ubuntu/pivony-api/env/lib/python3.7/site-packages/kaleido/executable/kaleido: line 10: ./bin/kaleido: No such file or directory

It has to do with the path.
In the python package of kaleido there exists a script named kaleido in:
......site-packages/kaleido/executable/
it has the following line in it:
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
the dirname program can't be found.
I changed for testing this line into:
DIR="$( cd "$( /usr/bin/dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
of course it would be better to update the PATH env but in my case it worked just fine.
if syslog mentions something about libnss3.so then try installing it with:
apt install libnss3

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson


[opentitantool] Move load-bitstream and set-pll into a new fpga command group.

I am grouping these commands in preparation of adding a third FPGA command that resets the board (issue #14686).

You need to update the bazel automation that loads bitstreams to reflect the new command hierarchy.
You need to update the various documentation that refers to opentitantool load-bitstream to reflect the new command hierarchy.

Please disregard my push; I'm still working on this PR.

You need to update the bazel automation that loads bitstreams to reflect the new command hierarchy.
You need to update the various documentation that refers to opentitantool load-bitstream to reflect the new command hierarchy.

All done, and I've run as many tests as I can on my system.

@moidx is the kokoro failure blocking? I checked the results and it just shows a successful lint job.

@alphan all good now.

@alphan all good now.

Thanks @moidx !

@jrvanwhy I'll merge this now. We can address UpdateUsrAccess in a separate PR.

Post submit LGTM.


Add support of g4f

Hi Guys
I added gpt4free (import g4f) https://github.com/xtekky/gpt4free and using it , but the problem is when I want using tools like WebsiteSearchTool
it seems need to OPENAI_API_KEY when we are using even llm
can it be integrated ?

looking at documentation
I guess you can run it by running a docker container
docker pull hlohaus789/g4f
docker run -p 8080:8080 -p 1337:1337 -p 7900:7900 --shm-size="2g" hlohaus789/g4f:latest

it exposes an api for you
http://localhost:1337/v1

and you can use this api with openAi lib
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    openai_api_base="http://localhost:1337/v1",
    openai_api_key="anything_noneeded",
    model_name="gpt-3.5-turbo"
)

...
# code of your agents
Agent(
      role='your role',
      goal='your goal.',
      verbose=True,
      backstory="""your backstory""",
      allow_delegation=True,
      llm=llm,
    )

Pass llm to your agents and it will work

I thoroughly enjoyed reading this.Learned a lot. The writing style is PROFESSIONAL, and the content is both interesting and valuable. Looking forward to more! By the way,if you have any ICs' need, find all your chip needs at https://www.worldictown.com/ – your one-stop destination for a diverse range of chips and solutions.You can contact us on Worldictown


Add n-dimensional tensor support for tf.unique and tf.unique_with_counts

Feature request for tf.unique and tf.unique_with_counts:

can apply to n-D tensor
can select which axis to apply it

System information

TensorFlow version : 2.2.0
Python version : 3.6.9

@winnietsang,
Multidimensional Support is available in tf.raw_ops.UniqueV2 and tf.raw_ops.UniqueWithCountsV2. PTAL. Thanks!


trying to fork and build and can't find laravel-nova-filterable

I've search for this string laravel-nova-filterable in Laravel Nova 4.35 and it does not appear to exist (anymore?)
I also can't find any info at all about this ever being a thing online.. am I missing something obvious?
Thanks

Figured it out, had to modify the paths inside the webpack.mix.js file because my fork isn't in the same location as your package normally is. This worked for my use-case:

  .alias({
    'lodash/identity': path.join(__dirname, 'node_modules/lodash/identity.js'),
    'lodash/pickBy': path.join(__dirname, 'node_modules/lodash/pickBy.js'),
    'vuex': path.join(__dirname, 'node_modules/vuex/dist/vuex.esm-browser.js'),
    'laravel-nova-filterable': path.join(
      __dirname, //
      '../../../vendor/laravel/nova/resources/js/mixins/Filterable.js'
    ),
    'laravel-nova-interacts-with-query-string': path.join(
      __dirname, //
      '../../../vendor/laravel/nova/resources/js/mixins/InteractsWithQueryString.js'
    ),
  })


Login programmatically does not work

As described in the official documentation
https://symfony.com/doc/current/security.html#login-programmatically
I am trying to login a user automatically as suggested in the official documentation for Symfony 6.2:
    use Symfony\Bundle\SecurityBundle\Security;

    public function autoLogin(Security $security): Response
    {
        $user = ....
        $security->login($user);
        ....
    }

But I get the following error:
"Lexik\\Bundle\\JWTAuthenticationBundle\\Security\\Authenticator\\Token\\JWTPostAuthenticationToken::__construct():
Argument #4 ($token) must be of type string, null given, called in
/project/vendor/lexik/jwt-authentication-bundle/Security/Authenticator/JWTAuthenticator.php on line 272"

I am using this bundle with cookie token extractor.
The login method was introduced in 6.2 so maybe this bundle is not compatible with this method or more setup is needed ?

For now I have solved the problem by the following code:
    #[Route('/autologin', methods: ['GET'])]
    public function autologin(AuthenticationSuccessHandler $authenticationSuccessHandler): Response
    {
        $user = ....
        return $authenticationSuccessHandler->handleAuthenticationSuccess($user);
    }

Had the same. @darkopetreski approach works for me too and is even described in bundle's documentation:
public function fooAction(UserInterface $user)
{
    $authenticationSuccessHandler = $this->container->get('lexik_jwt_authentication.handler.authentication_success');

    return $authenticationSuccessHandler->handleAuthenticationSuccess($user);
}

Hope login programmatically will work with $security->login($user); as well one day.

Thanks for the issue. https://github.com/symfony/symfony/pull/57495 will help

This is something I'd like to see fixed. Will give it a try asap, PR welcome meanwhile.


fix(qt): include upgradetohd into "no history" list

Almost all params (besides rescan) provided to upgradetohd rpc are password-like and should not be stored in rpc console history.

I guess this is a bug-fix


Security issue

sassdocs default theme uses a deprecated swig package with a severe vulnerability. Someone already reported, but it seems that there's no plans to fix it soon
Soluitions

Fork sassdoc default theme and replace swig with another templating engine and use that as our theme.
Create a custom theme for us using provide sassdoc.com yeoman generator

Attempt at a fixing this here:
https://github.com/SassDoc/sassdoc-theme-default/pull/104

closed by #37


Add runtime status compliant with CRI

Status is one of the first queries sent to cri-o from kubelet on recent kubernetes master => cri-o crashes on unmarshaling <nil>. Added empty functions to provide this functionality.
Motivation: StatusResponse --> RuntimeStatus --> RuntimeCondition

LGTM, ping @mrunalp

LGTM. Thanks!

@mrunalp @feiskyer Thanks for comments, all applied and green.

LGTM

cool, will merge after tests


Add support for LiveCode language

For reference the LiveCode language package is here:
https://atom.io/packages/language-livecode

@montegoulding Thank you very much!


Bot: Triangle identifier

Given three sides of a triangle, identify what type of triangle:

Isosceles (2 equal sides)
Equilateral (3 equal sides)
Right-angled (a^2 + b^2 = b^2)
Scalene (all sides different)
Nothing special
Impossible/invalid (to be valid: sum of the lengths of any two sides of a triangle must be greater than the length of the third side)

Added this on morebots branch.
Couple of things, using doubles for right isos it never validates because of rounding errors. Is there a simple rounding function in haskell?
Additionally it could be a good opportunity to teach guards. Wanted your and charles's thoughts on this.

Added this on morebots branch.

Doesn't look like you've pushed.

Is there a simple rounding function in haskell?

Pass. I'm assuming this doesn't cut it?
http://hackage.haskell.org/package/base-<IP_ADDRESS>/docs/Prelude.html#v:round

Additionally it could be a good opportunity to teach guards. Wanted your and charles's thoughts on this.

As usual I'm tempted to leave out anything that isn't super important. I'm probably biased because I almost never use them. That said - happy to put a section in though and we can see how much time the intro takes and we can cull from there, which is probably easier than not having enough material (although I suspect that's unlikely).

Huh this is what I'm seeing on my end
$ it branch
master
topic/caesar

topic/morebots

$ git push
Username for 'https://github.com': naevathecat
Password for<EMAIL_ADDRESS>Everything up-to-date
Uh wth? no idea what's gone wrong...
I think guards might be useful since they're very familiar for people used to if then do syntax. Maybe less abstract than pattern matching and less tedious/easier to dive into than case statements.
It also showcases the evaluate until true then execute flow which so far we don't have anything for. Anyway if I can get this to push then maybe you can take a look?

Ugh think I just fixed it. I don't know how to use git :P

Ugh think I just fixed it.

Yep. Can see it now.
Looks like a good example of guards.   Otherwise, would Int work?

Because my inner mathematician gets offended at leaving out right isosceles but there are none that I can find on the integers since they all boil down to N*sqrt(2) on the hypotenuse.


[gui error report] Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputF

👉 Please describe what you were doing when this error happened.
Updating from 0.28.0 to 0.29.0.
I have a hunch that the update logic has a race condition somewhere. I did not modify any of the issue details created by IPFS-Desktop (besides this description) so I could help mitigate a large number of similar issues we've received from users.
Specifications

OS: win32 10.0.19045
IPFS Desktop Version: 0.28.0
Electron Version: 19.1.9
Chrome Version: 102.0.5005.167

Error
Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputFormat None -Command Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe' | ConvertTo-Json -Compress | ForEach-Object { [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($_)) }
Get-AuthenticodeSignature : File
C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe was not found.
At line:1 char:1
  Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ ...
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      CategoryInfo          : ObjectNotFound: (:) [Get-AuthenticodeSignature], FileNotFoundException
      FullyQualifiedErrorId : SignatureCommandsBaseFileNotFound,Microsoft.PowerShell.Commands.GetAuthenticodeSignature
   Command

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

Note: IPFS Desktop shutdown completely
Prior to this error popup, I had requested to check for updates, and then got an error from IPFS Desktop that internet problems prevented checking for updates (or downloading the file, I can't remember at this moment)

C:\Users\sgtpo>dir C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater /s /o:gn
 Volume in drive C has no label.
 Volume Serial Number is 169B-06A9

 Directory of C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater

05/06/2022  10:48 AM    <DIR>          .
05/06/2022  10:48 AM    <DIR>          ..
07/10/2023  12:43 PM    <DIR>          pending
07/10/2023  12:28 PM       101,224,504 installer.exe
               1 File(s)    101,224,504 bytes

 Directory of C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending

07/10/2023  12:43 PM    <DIR>          .
07/10/2023  12:43 PM    <DIR>          ..
               0 File(s)              0 bytes

     Total Files Listed:
               1 File(s)    101,224,504 bytes
               5 Dir(s)  348,669,743,104 bytes free

2023-07-10T19:30:18.253Z info: [meta] logs can be found on C:\Users\sgtpo\AppData\Roaming\IPFS Desktop
2023-07-10T19:30:19.353Z info: [web ui] loading STARTED
2023-07-10T19:30:19.893Z info: [App] startup time - 1.8505048999786378 seconds
2023-07-10T19:30:19.894Z info: [web ui] window ready
2023-07-10T19:30:19.895Z info: [web ui] navigate to /
2023-07-10T19:30:19.910Z info: [tray] starting
2023-07-10T19:30:20.066Z info: [tray] started
2023-07-10T19:30:20.067Z info: [ipfsd] start daemon STARTED
2023-07-10T19:30:20.185Z info: [web ui] loading FINISHED 0.8314701995849609s
2023-07-10T19:30:22.016Z info: [updater] update to 0.29.0 available, download will start
2023-07-10T19:30:22.528Z info: [daemon] removing api file
2023-07-10T19:30:24.236Z info: [daemon] ipfs data store is migrating
2023-07-10T19:30:27.664Z info: [daemon] IPFS_PATH: C:\Users\sgtpo\.ipfs
2023-07-10T19:30:27.664Z info: [daemon] PeerID:    12D3KooWARByQF3W3mriVVeYEH8EV37okUrExeeWkvkLnPRADU33
2023-07-10T19:30:27.665Z info: [ipfsd] start daemon FINISHED 7.597444800376892s
2023-07-10T19:30:27.757Z info: [automatic gc] enabled
2023-07-10T19:30:27.758Z info: [pubsub] disabled
2023-07-10T19:30:27.759Z info: [ipns over pubsub] disabled
2023-07-10T19:30:27.760Z info: [launch on startup] disabled
2023-07-10T19:31:32.181Z info: [updater] update to 0.29.0 available, download will start
2023-07-10T19:31:57.884Z error: [updater] Error: EPERM: operation not permitted, open 'C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe'
2023-07-10T19:32:05.066Z error: [updater] Error: EPERM: operation not permitted, open 'C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe'
2023-07-10T19:33:05.592Z error: Command failed: powershell.exe -NoProfile -NonInteractive -InputFormat None -Command Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe' | ConvertTo-Json -Compress | ForEach-Object { [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($_)) }
Get-AuthenticodeSignature : File
C:\Users\sgtpo\AppData\Local\ipfs-desktop-updater\pending\temp-IPFS-Desktop-Setup-0.29.0.exe was not found.
At line:1 char:1
+ Get-AuthenticodeSignature -LiteralPath 'C:\Users\sgtpo\AppData\Local\ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-AuthenticodeSignature], FileNotFoundException
    + FullyQualifiedErrorId : SignatureCommandsBaseFileNotFound,Microsoft.PowerShell.Commands.GetAuthenticodeSignature
   Command

See workaround in https://github.com/ipfs/ipfs-desktop/issues/2335#issuecomment-2161827010


Adding multi-tenancy properties to deployment.yaml

Description:
With the patch 'WSO2-CARBON-PATCH-4.6.0-0072' following can be configured in deployment.yaml. Shall we add this to docs.
[multi_tenancy.billing.package.demo]
name = "Demo"
subscription_charge = 0
    [multi_tenancy.billing.package.demo.users]
    limit= "1"
    charge= "0"
    [multi_tenancy.billing.package.demo.resource_volume]
    limit= "20"
    overuse_charge= "0"
    [multi_tenancy.billing.package.demo.bandwidth]
    limit= "50"
    overuse_charge= "0"

[multi_tenancy.billing.package.smb]
name = "SMB"
subscription_charge = "100"
    [multi_tenancy.billing.package.smb.users]
    limit= "unlimited"
    charge= "0"
    [multi_tenancy.billing.package.smb.resource_volume]
    limit= "50"
    overuse_charge= "0"
    [multi_tenancy.billing.package.smb.bandwidth]
    limit= "150"
    overuse_charge= "0"

[[multi_tenancy.billing.package.custom]]
name = "Professional"
subscription_charge = "500"
    [[multi_tenancy.billing.package.custom.users]]
    limit = "unlimited"
    charge = "0"
    [[multi_tenancy.billing.package.custom.resource_volume]]
    limit = "500"
    overuse_charge = "0"
    [[multi_tenancy.billing.package.custom.bandwidth]]
    limit = "1536"
    overuse_charge = "0.03"

[[multi_tenancy.billing.package.custom]]
name = "Enterprise"
subscription_charge = "2000"
    [[multi_tenancy.billing.package.custom.users]]
    limit = "unlimited"
    charge = "0"
    [[multi_tenancy.billing.package.custom.resource_volume]]
    limit = "5120"
    overuse_charge = "0"
    [[multi_tenancy.billing.package.custom.bandwidth]]
    limit = "15360"
    overuse_charge = "0.02"

[multi_tenancy.usage_agent.data_persistence_task]
startup_delay_in_ms = "60000"
records_per_execution = "100"
execution_interval_in_ms = "-1"

[[multi_tenancy.throttling_manager_tasks]]
data_providers = [
    "org.wso2.carbon.throttling.manager.dataproviders.BillingDataProvider",
    "org.wso2.carbon.throttling.manager.dataproviders.UsageDataProvider"
]
    [multi_tenancy.throttling_manager_tasks.parameters]
    interval = "10"
    "delay" = "60"

[multi_tenancy.stratos]
disable_tenant_management_emails = true
email_validation_mandatory_for_login = false
tenant_activation_moderated = false
super_admin_email = "super-admin-email"
skip_summary_generator = false
notification_email = "notification-email"
finance_notification_email = "finance-notification-email"
charge_on_registration = false
public_cloud_setup = true
google_analytics_url = "http://google-analytics.js"
sso_loading_message = "Loading..."
    [multi_tenancy.stratos.paypal]
    url = "Paypal URL"
    username = "username"
    password = "password"
    signature = "signature"
    environment = "live"
    [multi_tenancy.stratos.manager_service]
    url = "https://cloud-test.wso2.com/services/"
    admin_username = "admin"
    admin_password = "admin"

[[multi_tenancy.cloud_services]]
name = "WSO2 API Manager"
default = true
key = "AM"
label = "API Manager"
link = "https://am.cloud.wso2.com"
description = "API Manager in the cloud"

@renuka-fernando , can you please give us more context in this regard. In this based on a WUM update? If yes, which versions of APIM is this valid for, when was this released?

This patch is done for APIM version 3.1.0 and released on 3rd June 2020.
These configurations will be also valid for APIM 3.2.0 GA release.


Cache Bundler on Travis

http://docs.travis-ci.com/user/workers/container-based-infrastructure/
With Container based CI, public projects can cache the results of bundle
install

@joshuaclayton any opposition to merging this?

@seanpdoyle looks good - merge at will!


feat: 'add token to metamask' button

Hell yes, this is an awesome idea and cracking implementation. LGTM, send it ✅