OS.alert() should refocus back to Scene/Control it came from. Do not lose keyboard inputs

Godot version:
3.1 alpha

Mac OS X, High Sierra
Issue description:

OS.alert() loses focus, requiring a second mouse click on the underlying Scene. This means after you click the alert "OK" button, you have to click twice on the Scene for any control to react.
Also, Keyboard input is lost once the alert is closed.  Example: Press space bar on check box. You will not be able to use any keys again after you close alert.

extends CheckBox

func _ready():
	self.grab_focus()
	pass

func _on_CheckBox_toggled(button_pressed):
	OS.alert("Hey")
	pass # Replace with function body.

I can confirm that this doesn't work on macOS Mojave too

Can anyone still reproduce this bug in Godot 3.2.2 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

Just tested it with 3.2.1. It is 1/2 fixed.  The 2nd part of the issue, which means you can use the keyboard fine after you close the dialog. This was the important one I guess.
The first issue still happens, but can be confusing. After clicking the OK to make alert go away, you need to click twice on any control to gain focus.

Attaching MRP zip file.
OSAlertBugMRP.zip

More data (on macOS 10.14.6):
Godot Engine v3.2.3.rc.mono.custom_build.a2edf04fd
OpenGL ES 3.0 Renderer: AMD Radeon Pro 580X OpenGL Engine
When I run it and click in "Line Edit 1", then click the "Click For Alert" button:

dialog shows up
click "OK"
the game window is no longer active, so it does not receive any input
if I click the window's title bar to active it, the focus in the line edit has been lost

--
Godot Engine v4.0.dev.custom_build.dc456059a
Error Invalid call. Nonexistent function 'alert' in base '_OS'.. I guess this is either not re-implemented in 4.0 yet or it's being replaced with something?


full documentation inaccessible

The readme is link to  https://aka.ms/iotfluentcontrols, stating that there is the full documentation. Clicking this link resulting into a authentication request, but after doing so I got an error, that I am not in the Microsoft organization:

Same issue here, is there any alternative site with the docs?

We'd like to know if there are any plans on making the docs publicly available as we need to choose a ux lib and having the docs or not might make the difference

@pizerg Do yourself a favour, and use https://developer.microsoft.com/en-us/fabric if you can. Seems Microsoft's own AD is broken. Don't even know why they lock up docs behind a login.


EJScreen Link Broken in CEJST

Describe the bug
The EPA site https://www.epa.gov/ejscreen/technical-documentation-ejscreen is referenced multiple times on the CEJST Methodology and Data page. Following that link results in a 404 (page does not exist).
To Reproduce
Steps to reproduce the behavior:

Open the CEJST
Navigate to the Methodology and Data page.
Select Fusion of model and monitor data, RMP database, National Air Toxics Assessment, Traffic Data, or Risk-Screening Environmental Indicators (RSEI) model.
Notice the 404.

Expected behavior
All links on that page should point to an active website. I suggest we link to something less likely to go away, such as https://www.epa.gov/ejscreen or https://www.epa.gov/ejscreen/technical-information-about-ejscreen.

@KameronKerger curious where you think we should link.

they must have moved it. what do you think about linking here - https://www.epa.gov/ejscreen/download-ejscreen-data

I think that's fine.


Make grpc-python ByteBuffer.bytes() linear

Currently ByteBuffer.bytes() reads from the underlying grpc byte_buffer
a slice at a time, and appends each to a Python string (bytes). In
Python strings are immutable, so appending creates a new string by
copying the previous data.  This means the current implementation is
quadratic.
The effect is very noticeable when messages have repeated (or large)
string fields.  We traced execution between two services and observed
that when the payload size approached 600kb, the receiving service took
~10s at full CPU to read a response that had taken fractions of a second
the send over the network.
This commit changes ByteBuffer.bytes() to use an intermediate bytearray,
instead of strings, for the in-progress bytes.  Once all slices are
read, the buffer is converted to a string.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I've signed it!  Company name: Thought Machine

This is ok to test.

@alamaison Thanks for the PR! Looks good to me - just need to wait for Jenkins to have a pass at it.

We were just talking about this last week!

@nicolasnoble and @jtattermusch: I've filed the unrelated test failure as issue 5923; please merge this pull request?

Thanks for merging.
@soltanmm I'm curious about your comment that it tends to only loop once.  What makes you expect that?  I see it being called 11146 times when accessing a repeated string field (50000 strings @ 1200 bytes each).  The slices range in size between 1 and 8192 bytes (median: 6141.5, mean: 5410.0, mode: 8192).

@ctiller I think that was from early on with some play-data (possibly unrealistically small) and I'd not dug much into it. I didn't realize bytearray was all that was required to bring it down to linear (or quasilinear? I don't actually know how bytearray is implemented under the hood).


fix encoding problem

Noticed that @jfim has pushed a commit 942db4397244002e6622447ccc4489dcc9b88190: Use UTF-8 for broker responses, but it is not enough to fix all my encoding problem.

closing since its already applied


docs: new readme footer

New README.md footer from meta repo.

Codecov Report

Merging #78 (79cc9cf) into main (fe7da7e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   71.79%   71.79%
=======================================
  Files          18       18
  Lines         897      897
=======================================
  Hits          644      644
  Misses        200      200
  Partials       53       53

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[#21] Add method to get rulings by mtgo id

Codecov Report

Merging #71 (6d3a114) into main (60d91aa) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #71   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines          781       789    +8
=========================================
+ Hits           781       789    +8

Impacted Files
Coverage Δ

lib/src/scryfall_api_client.dart
100.00% <100.00%> (ø)

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 60d91aa...6d3a114. Read the comment docs.


Add resource info to task results

Describe your changes

Adds resource info to task view. Example.

Issue ticket number and link
Closes #xxxx (Replace xxxx with the GitHub issue number)
Checklist before requesting a review

[ ] I have performed a self-review of my code

Check the correct box. Does this PR contain:

[ ] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[ ] CI Preview succeeds and looks good!

It looks great, nice way of visualising!

We'll have to wait for this PR to be merged.
Since we're merging into another PR, we could already merge this PR, though. WDYT?


Dynamic results on every key stroke (static mode)

Great plugin, found myself wanting an option for dynamic search results on each keystroke (akin to autocomplete). I called the option everyKey and set it as a boolean.

Interesting. Thanks.


Refactor refresh_indicator.1.dart to not use shrinkwrap

This PR changes the example app into a custom scrollview with three slivers. The middle sliver has a nested scrollview of height 300 and only this nested sliver can trigger the refresh indicator.
Fixes https://github.com/flutter/flutter/issues/116237.

test-exempt: code refactor with no semantic change


We need to change this constraint if we are at our halign was set to End, since then we expect to go backwards.

We need to change this constraint if we are at our halign was set to End, since then we expect to go backwards.

https://github.com/codyduong/hitokage/pull/9/files/c4d15aa9cb289b181ddaeb22e29b1d18018e53bb#diff-0ba804fb652b7f7873b624c6dadb556989842af34de1e1332a35db53dce4da30R336-R370
Originally posted by @codyduong in https://github.com/codyduong/hitokage/pull/9#discussion_r1689023320

Rather than do on halign, do something like creating a new BarProp.


How to use snake for json and form ?

config:
"goStructTagAutogen.generation": {
        "tags": "json:\"{{snake}}\" groups:\"list,detail\" form:\"{{snake}}\""
    }

generate :
type Example struct {
	Name           string `json:"name" groups:"list,detail" form:"{{snake}}"`
	PersonalNumber string `json:"personal_number" groups:"list,detail" form:"{{snake}}"`
}

it should :
type Example struct {
	Name           string `json:"name" groups:"list,detail" form:"name"`
	PersonalNumber string `json:"personal_number" groups:"list,detail" form:"personal_number"`
}

and can we change or add custom tags like gorm or xorm ?

I've released 1.0.3 that should fix this bug.
Now all placeholders should be replaced with the variable. Thanks for reporting.
For the custom tags, you can follow the guide here about how to add new tags CONTRIBUTING.md.


pull request for e2e test at 12/24/2016 01:26:06

:white_check_mark: Validation status: passed
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.


🤔 Suggestion: Add an OpenSearch description file

By adding OpenSearch description the browser will treat the site as a search engine, so we do not have to open the site to search for a service, but doing it directly from the browser's search bar.
When the site has an OpenSearch description, you will get a button in the browser to add it as a search engine so you can use it.
Also you can have some search suggestions, Although it only works with Firefox.
This is a documentation in MDN.
This is a documentation in the GitHub repository.
Those are some examples:
Google Translate
https://translate.google.com/opensearch.xml
DuckDuckGo
https://duckduckgo.com/opensearch.xml
StackOverFlow
https://stackoverflow.com/opensearch.xml
GitHub
https://github.com/opensearch.xml

Do people really visit our site so often that they have to think of it as a search engine? They must be creating accounts just to delete them for fun if that is the case.

Though not visiting often, whenever I think about searching I try tab-bing so I think it would be neat if it works

This seems like a pretty low-cost effort, so I don't see a reason we couldn't add it.


Final Review Ticket / Retrospective

Team:
Crossover Score: /0.9
Runtime: https://davidl0914.github.io/TheIdealGam/2023/12/01/Game-hub.html
Plan: https://davidl0914.github.io/TheIdealGam/2023/11/15/binary_overview_IPYNB_2_.html
GitHub: https://github.com/DavidL0914/TheIdealGam
Analytics: https://github.com/DavidL0914/TheIdealGam/commits/main

Individual
Team + Indiv + Teacher
Feature
Issues
Key commits
Analytics
Demo

David L
--
Racing Gam
Plans
Racing Gam features
Profile
Video

Matthew W
--
Puzzle Gam
Plans
Puzzle Features
Profile
Video

Andrew K
--
Word Guesser
Plans
ASCII feature
Profile
Video

Kayden L
--
Guesser Gam
Plans
Bars feature
Profile
Video

https://drive.google.com/file/d/1Ke5cvfbtxydOwltnyZQz2SO7CYTbn3d9/view?usp=sharing

Individual Review Hanlun grading Kayden

[ ]  Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ ]  Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ ]  Issue(s) that show plans/progress to team objectives
[ ]  Highlights of key commit(s) in Issues, summarizes code contributions
[ ]  Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check. 0.55 not attempted/no check 0.7 attempted, incoomplete, but some runtime 0.8 mastery and runtime 0.9 above and beyond.
Freeform comment. Provide positivies and growth summary. Justify or comment on final score. Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review "Matthew Wakayama" grading "David"

[x] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Individuals Video, Issue(s), Commits(s)

[ x ] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute
[ x ] Issue(s) that show plans/progress to team objectives
[ x ] Highlights of key commit(s) in Issues, summarizes code contributions
[ x ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

Per check.
0.87

Consistent commits and development of the binary project
A super cool racing game and a fun way to get users to interact with binary.
In the future try to post more issues to track progress throughout the development of the project
It would be cool if the binary values the user has to enter get progressively larger as they approach the end of the race
Maybe add a mode where you are given a binary value and you have to convert it to decimal

Individual Review "My name" grading "Their name"

[ ] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom.

Was an influential member of his team, contributed well in plans, design, and individual feature. 0.9

Individuals Video, Issue(s), Commits(s)

[ ] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute

Well organized, program explained everything well and included a complete demo going over the top to explain all the features. 0.9

[ ] Issue(s) that show plans/progress to team objectives

Had a plan and uploaded changes into previous work, looked great and implemented retrospective. 0.9

[ ] Highlights of key commit(s) in Issues, summarizes code contributions

Had multiple commits and proof of work. 0.8

[ ] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks

There is evidence of all commits and looks to have contributed greatly. 0.8
Final Score: 0.86
Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.

Individual Review Trevor H grading Andrew K

[x] Individual should show that they were key contributor and example to team.  This includes their participation in ideas, plans, creating individual issues, providing code commits to project, crossover grading participation, being on task and positive example in the classroom. (0.8)

Individuals Video, Issue(s), Commits(s)

[x] Video in CPT caption style , includes Web demo of key contribution to project, 1 minute (0.7)
[x] Issue(s) that show plans/progress to team objectives (0.9)
[x] Highlights of key commit(s) in Issues, summarizes code contributions (0.8)
[x] Review GitHub analytics for key commits in each weeks during the project, shows consistent participation for 3 weeks (0.8)

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
My comment:

The video can effectively showcase the project with the use of captions and and the plans are thorough. However, the game is really hard to play because there isn't an ASCII table given. I think the game could TEACH me a lot more about binary and ASCII and simplify the concepts to the point where someone with limited knowledge can play the game.
-Overall: 0.8/0.9

Team Review Trevor H grading Matthew W

[x] The team should have a Web Pages that teach: Binary, Data, Data Structures, Data Abstraction.
There are a myriad of fun games which teach about binary and the different types of data abstraction (binary to decimal or ascii) (0.9).

Team Review ticket containing key Team and individual contributions

[ ] Growth/Accomplishments in work is according to historical Team Plan, or they show revisions to plan according to work
Excellent planning for all weeks of the project with multiple diagrams for each feature. The plans match the features with fidelity (0.9).

[ ] Short falls/Improvement that could be made in Work or Team Plan, team highlights next steps or improvements that could be made
**Team said that they improved the project based on Mr. Mortensens feedback by adding instructions, but I don't see this feedback written down anywhere (0.75). **

[ ] Showing key accomplishments according to requirement in Frontend such as Binary Math, ASCII, Unicode, Color Codes, Logic Gates, etc.
I see a lot of ways to represent binary but I wish I saw a bit more diversity between features such as incorporating color codes, logic gates, or other ways to represent binary (0.75)

[ ] Showing key user interaction and learning(s).  For instance how you visualized  Algorithms, Data, Data Structures.  Or, how you provided response and Feedback to user on their success in learning.
Algorithmns, data, and data structures are all displayed clearly which helped me visualize what was going on in the code. It was helpful (0.8)

Overall score: 0.86/0.9
Glows:

Very good planning and the diagrams helped me understand the projects
Many fun games that incorporate binary in games which kept me engaged the whole time

Grows:

I wish I saw more representations of binary besides just binary and ascii as numbers
Some of the games are really hard to play. I wish that there were more instructions and I was taught more about binary instead of jumping straight in.

Per check.
0.55 not attempted/no check
0.7 attempted, incoomplete, but some runtime
0.8 mastery and runtime
0.9 above and beyond.
Freeform comment.
Provide positivies and growth summary.
Justify or comment on final score.
Be sure to provide extra details on anything below 0.7 average or above 0.8.


Korbit API for tradebot

Hello all, I am using Korbit (Biggest in Korea) for buy and sell the coins. It also provides the API at https://apidocs.korbit.co.kr/
Do you have any plan to support the Korbit? Thanks all

is there are sandbox or test api?

Hey @John1231983
I am working on the Korbit's js wrapper.
Just completed the public API part, see if i can find out if korbit have a sandbox or some source of test account for testing the Private API.

Yes. It supports the API. You can find it in the link that I was given. Did you incorporate it in Gekko?

No not yet, I need a test account.
I tried to register for a Korbit account but can't verify my account. I don't have a korean mobile no to complete verification process lol...

I see. So, Could you try to contact the support<EMAIL_ADDRESS>I guess they have test API

Got a respond from Korbit
Thank you for contacting us.
To verify your account or use Korbit API(except public), These are the requirements.

Korean mobile phone number under your name
Korean bank account under your name.

If you do not have them, you cannot verify your account.
We are sorry there is no testing environment now.
Best regards,
Korbit
So...I would say its will not be possible for me to implement it for you. Unless you can provide a test account and deactivate it once I am done.

Hi @danKHUU, it would be very nice if you're able to do similar request of mine in this link. It's the biggest crypto exchange in Indonesia and giving 0% fee for market maker.
Thanks!

Hi @bitkominer,
I can looks into that for you but I got to first find out if they have a test environment. Otherwise I cant test it.

Unable to get test account for korbit. I am guessing we can close this request.

@danKHUU could you share your work with korbit api. I will use my account and test it. The reason i cannot share my account beacuse korbit only provides 1 api for each user


Open GIFs in a new window

This PR closes #594 by wrapping all GIFs with an anchor tag that opens in a new window.

👀 @JasonEtco ❤

@hectorsector LGTM, I don't have write access to this repo so I can't approve it but I would

@hectorsector I tested this locally and it looks :sparkles: :+1:


Also included in tests/testingcharm a charm that can be deployed together with the Pushgateway that provides an action to send metrics to it (see its README for more details).
Testing Instructions
Inject metrics with the testing charm's action (see its README for detailed instructions), then point the browser to the Prometheu's IP (port 9090), and voilá.

LGTM, mostly. You can straight out get rid of DeepDiff this way if you want to, and drop the deptree from it.


Generate openAPI code directly

PR Checklist

[x] A description of the changes is added to the description of this PR.
[x] If there is a related issue, make sure it is linked to this PR.
[x] If you've fixed a bug or added code that should be tested, add tests!
[x] If you've added or modified a feature, documentation in docs is updated

Description of changes
Generate openAPI code directly to "server/src/main/java/io/unitycatalog/server/model"
(Same as client project)

Ohh this is great. Thank you for figuring out the additional configs needed for it to just work.

Can you confirm that running build/sbt generate after these changes does not produce any changes in the generated server files at all?

Thank you for confirming. Merging it!


FCL Data Retrieval

FCL Data Retrieval
Overview
A common desire for application developers and smart contract engineers is to be able to store data somewhere, and retrieve it for use within their or others applications.
For example, smart contract developers often make available a suite of prescribed transactions that can be used with their smart contracts. Application developers who wish to use these transactions, rather than manually pulling each one into their projects, may instead opt to request them from wherever the smart contract developer made them available on a per use basis. This offers many benefits, including that applications can always have access to the latest version of each transaction.
Since data can be stored across any number of platforms/protocols, a single API for retrieving documents (data) would be desirable. A solution to this issue should support data retrieval regardless of where data is located. Storage platforms like Github, IPFS, AWS S3, regular http servers and others should all be able to be supported.
Suggested Solution
An ideal solution to this issue would be the creation of a package which exposes a function that can retrieve a document (data) given an identifier (url, hash etc). The identifier should include within it the platform / protocol of where the document is located.
Use of the document retrieval function might look like:
import { retrieve } from "new-document-retrieval-package"

const document_1 =  await retrieve("http://documents.my-favourite-http-server.com/123asdf456")
const document_2 =  await retrieve("ipfs://bafybeiclnkb6rn7yct2dgasdfasdf23123jakzxu5pv64jp453t6zwai")

FCL Config should be configurable with resolvers for each protocol. A resolver is an async function which can get a document and transform it into the desired format.
For example, FCL could be configured with a retriever for documents stored on an HTTP server (think: Github, AWS S3, regular http server). This might look something like:
import { config } from "@onflow/fcl"

config({
  "document.resolver.http": async (url) => await fetch(url).then(res => res.json())
})

A retreiver for documents stored on IPFS might look like:
import { config } from "@onflow/fcl"

config({
  "document.resolver.ipfs": async (identifier) => await fetch(`https://www.awesome_ipfs_gateway.com/ipfs/${identifier}`).then(res => res.json())
})

A retreiver for documents stored on GitHub might look like:
import { config } from "@onflow/fcl"

config({
  "document.resolver.github": async (path) => await fetch(`https://raw.githubusercontent.com/${path}`).then(res => res.json())
})

Application developers could use this new document retrieval function to retrieve Cadence code made available by a smart contract developer so their applications can interact with the smart contract in its prescribed ways.
For example, lets say a smart contract developer made available a cadence transaction on an HTTP server located at: http://stored-interactions.my-awesome-smart-contract.com/buy-awesome-nft. An application developer could depend on this transaction by retrieving it, and then executing it like:
import { retrieve } from "new-document-retrieval-package"
import { config } from "@onflow/fcl"

config({
  "document.resolver.http": async (url) => await fetch(url).then(res => res.json())
})

const buyAwesomeNFTTransaction = await retrieve("http://stored-interactions.my-awesome-smart-contract.com/buy-awesome-nft")

assert(buyAwesomeNFTTransaction === `import AwesomeNFT from "0xAwesomeAddress" \n transaction() { AwesomeNFT.buy(.... `)

await fcl.mutate({
  cadence: buyAwesomeNFTTransaction
})

Expected Outcomes

[ ] A package is made available that exposes functionality for retrieving documents (data).
[ ] The package uses configuration, stored in FCL config, such that it can retrieve documents from any number of storage platforms / protocols.

I think this can be a nice addition with "flow://" schema.

This is prospective follow on work for https://forum.onflow.org/t/flip-934-interaction-templates/3080

Closing as this feature was included as part of the FCL Interaction Template integration


Scaled Dot-Product Attention

Hi, I have been looking at the code in layers.common_attention.dot_product_attention, this seems to be a regular dot product attention without scaling (there is no other attention mechanism that implements the scale dot product attention function, or did i miss it somewhere?) . This seem to be different from the original paper section 3.2.1  Scaled Dot-Product Attention , is there a reason why this was not implement (or was it removed as newer versions was developed)

Scaling happens in multihead_attention (https://github.com/tensorflow/tensor2tensor/blob/af42d543c2f24a0143b2483db93ac931c54146b9/tensor2tensor/layers/common_attention.py#L3437). Dot product attention is aptly named as it does not use scaling

ok, got it, thanks.


Fix tests after #846

Change checkResponse to only expect the configured
X-Content-Type-Options header if it doesn't receive a 405 error, which
means the handler isn't registered for that method.
Signed-off-by: Aaron Lehmann<EMAIL_ADDRESS>

LGTM


Fix docker compose bootstrapping.

Update some settings to fix the docker compose dev setup.

Coverage remained the same at 90.342% when pulling f643822253942bedbf72a92e59e4856753ca3d5e on fiji-flo:docker-compose-fixes into 1c31a64fc0e7f01280183cbf90181eb7e3b8539a on mozilla:master.


BingImageCreator.py is asking for prompt. When I give it the prompt it says "Unrecognized Arguments"

I give it the second argument but what does BingimageCreator.py say "Unrecognized Arguments".
IN full context:
I gave BingImageCreator.py the second argument, which was the prompt, of my anime boys bouncing on giant space hoppers, but BingImageCreator.py returns "Unrecognized arguments" despite me giving the prompt that I wanted. Same happens when I use quotation marks. as of now I am also going to try it with the apostrophe to see if it works and if it doesn't i will let you know.

UPDATE: it can no longer find my authorization cookie, despite me having it.
exception: Could not find auth cookie


Update hybrid-cloud-extension-installation.md

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

@tredavismicrosoft you can close this PR since this topic was rewritten and the content file was renamed in another PR for the quick start guide.


TPM sign required on t480, unclear

please change 'To get a working TPM use Thrimbor's uefi-sign for xx20, xx30, and xx40 ThinkPads. For soldered xx40, xx50 and xx80 replace 4C 4E 56 42 42 53 45 43 FB with 4C 4E 56 42 42 53 45 43 FF on the previously patched binary' to say that you MUST do this, as the the t480 does not have tmp support, and it can be interpreted as meaning that this only needs to be done for machines with tpm support, even though required on the t480 as well.

TPM not working is outlined in the table. Your description is a bit chaotic, not sure how you are expecting it to be worded. Create a pull request with changes that you deem necessary, it will be reviewed.


Modified Readme.md

I have removed all the errors visible in the Readme file. You can check it. I have corrected some language errors and some capital letters issue.

I have removed all the errors visible in the Readme file. You can check it. I have corrected some language errors and some capital letters issue.

That's good :+1:  but more changes are coming up in README file. Hope you will look into it.
You can also contribute with one problem/algorithm using js


in version v0.21.0, fp16 will be saved in fp32?

System Info
https://github.com/huggingface/accelerate/blob/v0.21.0/src/accelerate/accelerator.py#L2851

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[ ] My own task or dataset (give details below)

Reproduction
None
Expected behavior
Is this behavior expected?

In the most recent versions we now save in whatever original mixed precision format it was in


compare columns

is it possible to make such query with medoo?
SELECT * FROM users WHERE phone <> mobile;
or
SELECT * FROM storage WHERE stock > minStock

i also need this feature. when i tried, second column name escaped.

one more use case:
SELECT * FROM table WHERE (column_a - column_b) > 0

Will be available on next version dc0c8f00


Use version range for referencing the parent pom

Describe the bug
All maven stacks today use a parent tag to specify which parent pom (stack) to use. When the stack is updated today we are also updating the version of the pom and this means users's do not have the new pom installed in their man cache.
Could we allow a range to be used as parent to avoid local IDE issues? When running inside appsody, the stack always has the right version of pom installed anyway.

All stacks except for quarkus have been updated. There is a separate issue for quarkus work #348


Request: Add Ai Delay Settings into HA

Sorry if this is not the right place, I can't find anywhere better after the past hour trying to figure out how to contact you.
Request/Suggestion:
I would love to have access to the time delay settings for the Ai person and Ai vehicle detect within HA for each camera individualy.
(Setting in Reolink app are under alarm setting, detection alarm, alarm delay)
I've been using this integration for past few months and absolutely love it, thanks for the work this far!
I like it so much so, I just donated $20 to @starkillerOG as a thank you and also possibly as a part bribe to hopefully looki nto my suggestion/request.. please! 😅
Reason for request/suggestion:
I'm using the ai person/vehicle to trigger lights and notifications (works an absolute treat!) But, when it rains, I've got 2 cameras that get rain on the lense and then causes the Ai triggers to go off randomly thinking the drops are people/cars.
Currently workaround:
When it rains at night, I have to go into Reolink app and change the time delay settings for Ai person/vehicle (normal at 0sec) and change them out to 3 or so seconds while it's raining to avoid faulse triggers on each camera.
Ideal solution:
If the delay settings were exposed to HA then I could make a simple dashboard button to press when it rains (extending timers) and press when it stops raining (set timers back to 0) or better yet, use local weather to trigger the button automatically!
(2 cameras I do this to are specifically a PoE Duo 2 and PoE RLC-820a)
Hopefully the above all makes sense as to what and why, otherwise I'll be happy to provide more info.

@AstonishingAston this is the right place, the HomeAssistant issue tracker is only for issue, but on my libraries you are free to contact me.
Thank you very much for sponsering, much appreciated, and I must admit bribing works ;)
Adding the delay settings seems very reasonable and should be doable.
However, I am going on a vacation starting tommorow evening, so probably do not have time to work on it anymore.
In 2 weeks time I will be back and then I will start coding it, I will keep you informed.
Glad to hear you enjoy the Reolink integration!

Fantastic, stoked to hear!
I'll be eagerly keeping an eye out for some action in the next few weeks.
In the mean time, hope you have a good vacation 🤙🏻

@AstonishingAston Back from vacation and have implemented the feature in these two PRs:
https://github.com/starkillerOG/reolink_aio/commit/b870ba2dbda6faf74ac6e5da2ba043b124ae1abc
https://github.com/home-assistant/core/pull/98398
Will work on some other things today and do some additional testing before releasing a new reolink-aio library version.
Hopefully this will make it into HA 2023.9, will keep you informed.

@AstonishingAston the PRs have been merged, and therefore I can confirm that the AI delay entities will indeed be included in HA 2023.9 which will be released on september 6th.
Therefore I will close this issue now, if you have any other problems or feature requests, feel free to open a new issue.

Thank you so much, mate!!


[MM-15477]: fix search inconsistencies using in:@ / in:

Summary

Fix ordering of in: suggestions: DMs, GMs, Private and then Public channels
Return only DMs and GMs for in:@ search, unless a channel name/display name also starts with @, in which case it will also be included.

Ticket Link

https://mattermost.atlassian.net/browse/MM-15477
https://mattermost.atlassian.net/browse/MM-27540
https://mattermost.atlassian.net/browse/MM-27541

Checklist

[x] Added or updated unit tests (required for all new features)

Device Information
This PR was tested on:

There is some issue with my local setup. I'm not able to run apps through the adb bridge or build an apk. I'm still trying to figure this out.
For now I've tested in an Android Emulator - Pixel 3 XL running Android 11

Screenshots

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/9713
https://circleci.com/gh/mattermost/mattermost-mobile/9711

Artifact links:
https://9713-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa
https://9711-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk

I guess that is a server problem returning the results and not this PR, I am right ?

@enahum Web is returning the results properly. I based the comparison on the web.

Then I wonder if it is an issue with the filters applied in the PR.
Thanks @josephbaylon for clarifying ;)

@josephbaylon thanks for testing.

It looks like search does not return results when term is in the middle.

I just tested with the master branch. It appears that in the master branch as well the search does not return results when the term is in the middle. Can you confirm?

@ashishbhate At least on v1.35 build 319, search does not return results when channel/gm has prefix. But wasn't sure if your PR should be fixing that behavior as well. If not I can approve, we'll just have to indicate in the PR.

@josephbaylon the intent is only to fix the ordering. I think the effort to improve search overall is being tracked in https://mattermost.atlassian.net/browse/MM-26724
This difference in webapp and mobile search results is definitely something we should track as well. I'll poke around a bit more to figure out why its happening exactly. I'll also bring it up during the core features team meeting and maybe the mobile team meeting.

@ashishbhate Thanks! I'll wait on your comment on what's decided in the meetings before I approve.

@josephbaylon as discussed in the meetings - I've opened a asana ticket to track the discrepancies in the webapp and mobile auto-suggest results: https://mattermost.atlassian.net/browse/MM-28241

Hi @ashishbhate are you going to address the fix for the ticket partly in this PR or in a totally separate PR(s)?

In totally separate PRs. The fix will take some time and might need a lot of changes.


Unable to mount volume after rescheduling pod to a different worker node.

Openshift cluster v4.8.25 with 3 master nodes, and 4 worker nodes.
Openebs v3.2.0 running a cStor Pool cluster with 4*512gb Azure Disks
Description
Pod is unable to mount cstor pv. The error event message on the mount,
MountVolume.MountDevice failed for volume "pvc-0580f93c-46b6-4608-b153-b4adec7016af" : rpc error: code = Internal desc = failed to find device path: [], last error seen: failed to sendtargets to portal <IP_ADDRESS>:3260, err: iscsiadm error: iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: Connection to Discovery Address <IP_ADDRESS> failediscsiadm: Login I/O error, failed to receive a PDUiscsiadm: retrying discovery login to <IP_ADDRESS>iscsiadm: connection login retries (reopen_max) 5 exceedediscsiadm: Could not perform SendTargets discovery: iSCSI PDU timed out (exit status 11)
Error message in the target pod,
2022-06-24/07:55:23.275 istgt_create_conn :6628: m#1704167360.7      : connection is already alive from another initiator(<IP_ADDRESS>) on Target(iqn.2016-09.com.openebs.cstor:pvc-0580f93c-46b6-4608-b153-b4adec7016af) rejecting request from initiator(<IP_ADDRESS>)
2022-06-24/07:55:23.275 istgt_acceptor    :2640: m#1704167360.7      : istgt_create_conn() failed
Recently implemented Openshift garbage collection - https://docs.openshift.com/container-platform/4.9/nodes/nodes/nodes-nodes-garbage-collection.html as I assume the pod has been rescheduled to a different worker node.
If I run arp -a, the initiator IP <IP_ADDRESS> is not assigned to anything within the cluster

Resolved by manually killing iSCSI connections on the underlying VMs


Table names should be configurable by rollup

This is an enhancement request, and something that I may work on myself.  To maximize Cassandra compaction (and just for general non-hardcoding reasons), we should able to specify a Cassandra table per rollup.  This way, I can set different compaction methods, as well as chart the growth of the various rollups.  This method may also be useful later on when changing over from the current set-based rollups to a single value rollup as we had in the carbon format.
Thoughts?

Hi @mwmanley,
This seems sensible indeed, and should be an easy change.

I wrote some code that does this and seems to work based off the master branch.  You're free to have it and laugh at my sad attempts at clojure.  It takes table names as part of the configuration YAML and writes to those in lieu of the monolithic "metric" table.
It could be useful later in making statements that do rollups, which I may work on since this project is kinda pressing for me.  My company is heavily using graphite to receive hundreds of thousands of metrics every 10 seconds, and the carbon backends are literally melting from the load writing to SSD.

BTW, this change quartered the load on all my Cassandra servers immediately so that they aren't trying to keep up with compaction given the high volume.  So, yay!

Just a quick question - wouldn't it be smart to use Date Tiered instead of Size Tiered compaction for these tables?

@vanjos definitely would be :-) it's mostly a compatibility decision for now

@pyr so then... on > 2.1 - go for it?
also is @mwmanley PR a worthwhile enhancement?  https://github.com/pyr/cyanite/compare/master...mwmanley:tapad
seems like what may be missing is some more Readme to it...

I would not say mine is currently in a state to be used unless I gave you a certain checkout since I was silly about branching.  While it does segregate out the data into separate tables for compaction, which is improving things quite a bit, I'm not a clojure expert and it needs a lot of cleanup.  I was also trying to tackle the rollup issues too because I need to have that working, but it's in a bit of a snit state with performance.

My code works now, but 1) is not pretty and 2) intermittently throws a NPE during rollups.  I'm not sure yet why that is.  But, I do have rollups implemented, though it does need a major overhaul in coding as they are more or less inline.  I'm sure anyone that knows clojure well (I freely admit that I don't very well; I was a C/PERL guy) will probably go "oh, why did you do that???," but the code does work.
@pyr, feel free to look at my pull and gasp in horror as I turned your code into a monster with a ton of extra spurious commits since I was developing on a machine whose existence was somewhat threatened, so I had to push changes so that I wouldn't lose a ton of work.  I had ideas, some were probably actually decent.  There are some limitations though in what I did given that the rollups base their data on the lowest rollup table, which has to be evenly divisible by other rollup times.
What I should have done, and may revisit, is turning the rollups into a separate store engine instead of just glomming onto the data streaming into the current store, which is being rearranged eight ways to Sunday to suit my needs.  Again, I will claim no elegance here--I am new to clojure and its ways.  Now that I know a bit more, I will probably revisit soon, but it's working well enough for my needs as it is now, which are an influx of 300000+ metrics every 10 seconds from our servers that is turning my SSD-backed graphite whisper store into essentially pudding before my very eyes, hence the urgency.

@mwmanley thanks for this, I'll dive into it soon.

I fixed the NPE.  I was eval'ing the atom that keeps the rollup state incorrectly on the larger rollups, so it seems to be working now.  There is still a lot of streamlining that needs to happen in the code, as well as fixing my clumsy clojure.

@mwmanley Is your branch in a state to try in production?  What configuration changes would I need to make compared to the normal YAML config to get the best use out of it?
Also, am I reading the code incorrectly (I'm terrible at clojure), or does this address the rollup size issue by using average/min/max rather than just putting all the previous stat points into a rolled up row?

@jeffpierce @mwmanley I'll try to adapt the change for #80. I think I will first release a new cyanite without this feature and make it a priority for the follow-up release. In the mean-time, the aggregation feature that the new cyanite brings will get you to a good place in terms of compaction pressure I would think.

@mwmanley Would you say that this is still needed now that #80 has been merged ? When leveraging DateTieredCompactionStrategy and with the much less frequent hits to cassandra, should we still pursue configurable Column Family names ?

I would think so.  I think it's still the case where it's suboptimal to mix rows with different TTLs.

Also, I have my long-term rollups being compressed by deflate versus lz4 since those data are infrequently used.  Different tables do allow for different compression as well as compaction.  :-)

this enhancement seems even more valuable now that #80 has been implemented. while performance tuning our system this is starting to look like the most valuable change besides increasing hardware.

Hi
can you provide sample configuration ?
Also what code have you changed ?
Thanks
Sunil

i have implemented a fix for this by simply appending the ttl value to the table name (e.g. metrics are stored in "metric_ttl86400" rather than "metric").  i simply branched from the latest revision of cyanite 0.1.3 and changed a few lines in store.clj.  you can see the revision here: https://github.com/tjamesturner/cyanite/commit/31bcbea05b300dbbe3475760914e23144ded7440
if you wish to use the feature, simply add "use_ttl_table_suffix: true" to the "store" config inside cyanite.yaml and create a table for the ttl of each rollup under your "carbon" config. (note: ttl is measured in seconds)


[Docs] Missing @param Tag for Residence.setRecipeName() Method

https://github.com/MineValley/Core-API/blob/d873f5bf52f61b4bfd265c5f20dd29c84beecfde/src/main/java/minevalley/core/api/regions/Residence.java#L132-L135
The absence of the @param tag for the registrant parameter for the revokePermission() method of the Residence class is causing a significant issue. This omission is breaking the JavaDoc generation process during the build.
To resolve this issue, update the JavaDoc for the revokePermission() method by including the necessary @param tag for the registrant parameter. This will not only fix the JavaDoc generation problem but also ensure that developers have essential information about the method's parameters.

there seems to be a mistake in the method name of this issue :D


[Linux Desktop] Platform exception when click on TextField

Steps to Reproduce
Sample program:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: TextField(),
      ),
    );
  }
}

Log:
  desk_test flutter run --verbose -d linux
[   +7 ms] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +24 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d72eea539e3f116d62dfb30f2b10ec1e05c82ab0
[        ] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git tag --contains HEAD
[ +142 ms] Exit code 0 from: git tag --contains HEAD
[   +4 ms] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git describe --match *.*.*-*.*.pre --first-parent --long --tags
[ +119 ms] Exit code 0 from: git describe --match *.*.*-*.*.pre --first-parent --long --tags
[        ] 1.18.0-8.0.pre-13-gd72eea539
[  +11 ms] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git ls-remote --get-url origin
[   +4 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +65 ms] executing: [/home/charafau/Utils/flutterSdk/flutterMaster/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +33 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] executing: /home/charafau/Utils/android-sdk/platform-tools/adb devices -l
[  +30 ms] List of devices attached
[   +3 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +146 ms] Generating /home/charafau/Code/flutter/desk_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +56 ms] Launching lib/main.dart on Linux in debug mode...
[   +4 ms] /home/charafau/Utils/flutterSdk/flutterMaster/bin/cache/dart-sdk/bin/dart
/home/charafau/Utils/flutterSdk/flutterMaster/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/charafau/Utils/flutterSdk/flutterMaster/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tool.NJNWAF/app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill
[  +15 ms] Building Linux application...
[   +1 ms] executing: make -C /home/charafau/Code/flutter/desk_test/linux BUILD=debug
[  +11 ms] <- compile package:desk_test/main.dart
[  +12 ms] make: Entering directory '/home/charafau/Code/flutter/desk_test/linux'
[        ] /home/charafau/Utils/flutterSdk/flutterMaster/packages/flutter_tools/bin/tool_backend.sh linux-x64 debug
[+3648 ms] mkdir -p /home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug
[        ] clang++ -std=c++14 -Wall -Werror   -Iflutter/ephemeral -I/home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/include
-MMD -c main.cc -o /home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/main.o
[ +497 ms] mkdir -p /home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/flutter
[        ] clang++ -std=c++14 -Wall -Werror   -Iflutter/ephemeral -I/home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/include
-MMD -c flutter/generated_plugin_registrant.cc -o /home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/flutter/generated_plugin_registrant.o
[ +164 ms] mkdir -p /home/charafau/Code/flutter/desk_test/linux/../build/linux/debug
[   +1 ms] clang++ -std=c++14 -Wall -Werror   -Iflutter/ephemeral -I/home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/include
/home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/main.o /home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/window_configuration.o
/home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug/flutter/generated_plugin_registrant.o
/home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug//home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/flutter_wind
ow_controller.o
/home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug//home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/plugin_regis
trar.o
/home/charafau/Code/flutter/desk_test/linux/../build/linux/obj/debug//home/charafau/Code/flutter/desk_test/linux/flutter/ephemeral/cpp_client_wrapper_glfw/engine_metho
d_result.o -L/home/charafau/Code/flutter/desk_test/linux/../build/linux/debug/lib -lflutter_linux_glfw  -Wl,-rpath=\$ORIGIN/lib -o
/home/charafau/Code/flutter/desk_test/linux/../build/linux/debug/desk_test
[ +119 ms] mkdir -p /home/charafau/Code/flutter/desk_test/linux/../build/linux/debug/data
[        ] rsync -rpu --delete /home/charafau/Code/flutter/desk_test/linux/../build/flutter_assets
/home/charafau/Code/flutter/desk_test/linux/../build/linux/debug/data
[   +3 ms] make: Leaving directory '/home/charafau/Code/flutter/desk_test/linux'
[  +10 ms] Building Linux application... (completed in 4.5s)
[  +86 ms] [INFO:persistent_cache.cc(338)] PersistentCache::UpdateAssetPath: /home/charafau/Code/flutter/desk_test/build/linux/debug/data/flutter_assets
[ +314 ms] Observatory URL on device: http://<IP_ADDRESS>:45119/EhFVjRyqQL0=/
[   +9 ms] Connecting to service protocol: http://<IP_ADDRESS>:45119/EhFVjRyqQL0=/
[ +128 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:45119/EhFVjRyqQL0=/
[  +63 ms] DevFS: Creating new filesystem on the device (null)
[  +16 ms] DevFS: Created new filesystem on the device (file:///tmp/desk_testOKGDNL/desk_test/)
[   +1 ms] Updating assets
[  +61 ms] Syncing files to device Linux...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:desk_test/main.dart adfc5224-58e0-4050-a1e6-4ed4752c1b81
[        ] <- adfc5224-58e0-4050-a1e6-4ed4752c1b81
[  +87 ms] Updating files
[  +49 ms] DevFS: Sync finished
[   +1 ms] Syncing files to device Linux... (completed in 141ms)
[        ] Synced 0.9MB.
[   +2 ms] <- accept
[        ] Connected to _flutterView/0x561c2f84bfa0.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Linux is available at: http://<IP_ADDRESS>:45119/EhFVjRyqQL0=/
[+22699 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(Bad Arguments, Method invoked without args, null)
[        ] #0      JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:149:7)
[        ] #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
[        ] <asynchronous suspension>
[        ] #2      OptionalMethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:435:18)
[        ] #3      TextInput._requestAutofill (package:flutter/src/services/text_input.dart:1179:14)
[        ] #4      TextInputConnection.requestAutofill (package:flutter/src/services/text_input.dart:840:25)
[        ] #5      EditableTextState._openInputConnection (package:flutter/src/widgets/editable_text.dart:1523:28)
[        ] #6      EditableTextState._openOrCloseInputConnectionIfNeeded (package:flutter/src/widgets/editable_text.dart:1551:7)
[        ] #7      EditableTextState._handleFocusChanged (package:flutter/src/widgets/editable_text.dart:1849:5)
[        ] #8      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:207:21)
[        ] #9      FocusNode._notify (package:flutter/src/widgets/focus_manager.dart:969:5)
[        ] #10     FocusManager._applyFocusChange (package:flutter/src/widgets/focus_manager.dart:1663:12)
[        ] #11     _rootRun (dart:async/zone.dart:1180:38)
[        ] #12     _CustomZone.run (dart:async/zone.dart:1077:19)
[        ] #13     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
[        ] #14     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
[        ] #15     _rootRun (dart:async/zone.dart:1184:13)
[        ] #16     _CustomZone.run (dart:async/zone.dart:1077:19)
[        ] #17     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
[        ] #18     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
[        ] #19     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
[        ] #20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
[+5090 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +1 ms] DevFS: Deleting filesystem on the device (file:///tmp/desk_testOKGDNL/desk_test/)
[ +253 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +1 ms] "flutter run" took 33,639ms.

Flutter doctor:
➜  ~ flutter doctor -v
[✓] Flutter (Channel master, v1.18.0-9.0.pre.13, on Linux, locale en_US.UTF-8)
    • Flutter version 1.18.0-9.0.pre.13 at /home/charafau/Utils/flutterSdk/flutterMaster
    • Framework revision d72eea539e (2 hours ago), 2020-04-25 14:27:55 -0700
    • Engine revision 2b94311a77
    • Dart version 2.9.0 (build 2.9.0-3.0.dev 94178e920e)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/charafau/Utils/android-sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /home/charafau/Utils/android-sdk
    • ANDROID_SDK_ROOT = /home/charafau/Utils/android-sdk
    • Java binary at: /home/charafau/Apps/android-studio-canary/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang++ 10.0.0
    • GNU Make 4.3

[✓] Android Studio (version 3.6)
    • Android Studio at /home/charafau/Apps/android-studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] Android Studio (version 4.0)
    • Android Studio at /home/charafau/Apps/android-studio-canary
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] Android Studio
    • Android Studio at /home/charafau/Downloads/AndroidDeveloperUserStudyApril2020/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2019.3)
    • IntelliJ at /home/charafau/Apps/idea-IC-193.6494.35
    • Flutter plugin version 45.0.2
    • Dart plugin version 193.6911.31

[✓] Connected device (3 available)
    • Linux      • Linux      • linux-x64      • Linux
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Chromium 81.0.4044.122 Arch Linux

! Doctor found issues in 2 categories.

Flutter analyze:
➜  desk_test flutter analyze
Analyzing desk_test...
No issues found! (ran in 1.1s)

The control logic in the GLFW text input method handler is incorrect; it assumes that the only messages in the else branch are the ones explicitly handled inside it. The whole thing should be flattened to one if/else if/.../else chain and the argument extraction code duplicated into the methods with arguments.
We should also double-check that the other desktop embeddings don't have this structure since there was a fair amount of cross-pollination between the desktop implementations.

Windows also has this problem.
[ERROR:c:\b\s\w\ir\cache\builder\src\flutter\lib\ui\ui_dart_state.cc(157)] Unhandled Exception: PlatformException(Bad Arguments, Method invoked without args, null)
#0      JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:149:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
<asynchronous suspension>
#2      OptionalMethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:435:18)
#3      TextInput._requestAutofill (package:flutter/src/services/text_input.dart:1179:14)
#4      TextInputConnection.requestAutofill (package:flutter/src/services/text_input.dart:840:25)
#5      EditableTextState._openInputConnection (package:flutter/src/widgets/editable_text.dart:1523:28)
#6      EditableTextState._openOrCloseInputConnectionIfNeeded (package:flutter/src/widgets/editable_text.dart:1551:7)
#7      EditableTextState._handleFocusChanged (package:flutter/src/widgets/editable_text.dart:1849:5)
#8      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:207:21)
#9      FocusNode._notify (package:flutter/src/widgets/focus_manager.dart:969:5)
#10     FocusManager._applyFocusChange (package:flutter/src/widgets/focus_manager.dart:1663:12)
#11     _rootRun (dart:async/zone.dart:1180:38)
#12     _CustomZone.run (dart:async/zone.dart:1077:19)
#13     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#14     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#15     _rootRun (dart:async/zone.dart:1184:13)
#16     _CustomZone.run (dart:async/zone.dart:1077:19)
#17     _CustomZone.runGuarded (dart:async/zone.dart:979:7)
#18     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1019:23)
#19     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#20     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)

Yes; note the title of the PR referenced above your comment.


Add page to allow images to be deleted

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
What
Adds routes for destroy and confirm destroy and defines methods on the controller and a template to handle image deletion.
Screenshots

Thanks Ollie! Have updated


added my data

Please resolve the merge conflicts and update the PR. @MubeenAhmad571

Congrats @MubeenAhmad571  🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

@nikhil25803 Here is my clueless profile url: https://www.clueless.tech/profile/admin/56739319

@nikhil25803 https://github.com/nikhil25803 Here is my clueless profile
url: https://www.clueless.tech/profile/admin/56739319
On Sat, Oct 8, 2022 at 1:58 AM Nikhil Raj @.***> wrote:

Congrats @MubeenAhmad571 https://github.com/MubeenAhmad571 🎉, your PR
got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
2.
SignIn / SignUp in ClueLess Website https://www.clueless.tech/ .
3.
Go to profile section from the top right hand corner.
[image:
https://s3.us-west-2.amazonaws.com/secure.notion-static.com/74339abf-adaf-4b25-8496-7642f08f7c03/Screenshot_2022-09-30_at_2.40.58_PM.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAT73L2G45EIPT3X45%2F20220930%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20220930T091323Z&X-Amz-Expires=86400&X-Amz-Signature=346a58118a3686075c16e368b225e3c9ec7cb48c7a90c70903ff788e0812832f&X-Amz-SignedHeaders=host&response-content-disposition=filename %3D"Screenshot%25202022-09-30%2520at%25202.40.58%2520PM.png"&x-id=GetObject]
https://camo.githubusercontent.com/1b580b98ebd3959fa079183b5d9930d6c99947df6e1cd2b21b7b0d15dd8e93c0/68747470733a2f2f73332e75732d776573742d322e616d617a6f6e6177732e636f6d2f7365637572652e6e6f74696f6e2d7374617469632e636f6d2f37343333396162662d616461662d346232352d383439362d3736343266303866376330332f53637265656e73686f745f323032322d30392d33305f61745f322e34302e35385f504d2e706e673f582d416d7a2d416c676f726974686d3d415753342d484d41432d53484132353626582d416d7a2d436f6e74656e742d5368613235363d554e5349474e45442d5041594c4f414426582d416d7a2d43726564656e7469616c3d414b49415437334c324734354549505433583435253246323032323039333025324675732d776573742d322532467333253246617773345f7265717565737426582d416d7a2d446174653d3230323230393330543039313332335a26582d416d7a2d457870697265733d383634303026582d416d7a2d5369676e61747572653d3334366135383131386133363836303735633136653336386232323565336339656337636234386337613930633730393033666637383865303831323833326626582d416d7a2d5369676e6564486561646572733d686f737426726573706f6e73652d636f6e74656e742d646973706f736974696f6e3d66696c656e616d6525323025334425323253637265656e73686f742532353230323032322d30392d3330253235323061742532353230322e34302e35382532353230504d2e706e6725323226782d69643d4765744f626a656374
4.
Comment your profile URL under this comment tagging the person who
merged your PR.
That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.
—
Reply to this email directly, view it on GitHub
https://github.com/Clueless-Community/first-contribution/pull/324#issuecomment-1272081833,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANQ4L55CFPYFSLLVBBNMIV3WCCFGNANCNFSM6AAAAAAQ7A7OYU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Observe auth changes in and simplify AuthProvider

This is the auth parts of https://github.com/sourcegraph/cody/pull/5221. Previously, there were many ways to mutate and read auth state. Now, there is a single authStatus to read, and a single authProvider.validateAndStoreCredentials to attempt signing in.
Test plan
e2e and CI. Also try switching user accounts and signing out, and confirm that it works.

@dominiccooney Thanks, I am focusing on getting https://github.com/sourcegraph/cody/pull/5638 merged instead for now. Then will follow up with this.

closing in favor of just merging it all in https://github.com/sourcegraph/cody/pull/5221 (except those PRs that I can more cleanly separate out). the benefit of atomicity is not worth it.


Can't even setup the OS

Describe the bug
When I turn the pi on to set it up for the first time, it fails. I had to create a wpa_supplicant.conf and the ssh file
To Reproduce
No idea
Debug file
N/A
I use PuTTY, and this is after it shutdown

Looks like the wifi config is wrong.

@wolfieboy09 see FAQ section about Wifi config: https://docs.raspiblitz.org/docs/faq#is-it-possible-to-connect-the-blitz-over-wifi-instead-of-using-a-lan-cable

Closed for now - if it sti appears please re-opem :)


[iOS] onBackgroundEvent EventType Press, Dismissed or Delivered doesn't work

The onBackgroundEvent works on Android, but not on iOS. The only event type that works for iOS is 7 (TRIGGER_NOTIFICATION_CREATED). Here is how I've implemented it:
const scheduleNotification = async (notificationTimestamp: number) => {
  // Request permissions (required for iOS)
  await notifee.requestPermission();

  // Android 12 limitations
  if (Platform.OS === 'android' && Platform.Version <= 12) {
    const settings = await notifee.getNotificationSettings();
    if (settings.android.alarm !== AndroidNotificationSetting.ENABLED) {
      await notifee.openAlarmPermissionSettings();
    }
  }

  // Create a channel (required for Android)
  const channelId = await notifee.createChannel({
    id: 'reminderId',
    name: 'Reminder',
    vibration: true,
    visibility: AndroidVisibility.PUBLIC,
    importance: AndroidImportance.HIGH,
  });

  // Create a time-based trigger
  const trigger: TimestampTrigger = {
    type: TriggerType.TIMESTAMP,
    timestamp: notificationTimestamp,
  };

  try {
    // Create a trigger notification
    await notifee.createTriggerNotification(
      {
        title: 'Title',
        body: 'Body!',
        android: {
          channelId,
          pressAction: {
            id: 'default',
          },
        },
      },
      trigger,
    );
  } catch (error) {
   recordError(error)
  }
};

In App.tsx I'm expecting the user action this way:
notifee.onBackgroundEvent(async ({ type, detail }) => {

  if (type === EventType.PRESS) {
    console.log('pressed');
  }
  if (type === EventType.DISMISSED) {
    console.log('dismissed');
  }
  if (type === EventType.DELIVERED) {
    console.log('delivered');
  }
});

Please help!

On [Android], the "press" event type also does not trigger when the phone is locked.

also experiencing a similar issue

И тоже испытываю абсолютно ту же проблему.

Any solution here?

check https://github.com/invertase/notifee/issues/616#issuecomment-1380261291. looks like onBackgroundEvent is not like what we think about. use onForegroundEvent.

On [Android], the "press" event type also does not trigger when the phone is locked.

check https://github.com/invertase/notifee/issues/621#issuecomment-2342711032. It's mostly like reactContext is null.

@Eclipses-Saros Thank you for your response. Using foregroundEvent does not resolve my issue. I still can't capture the event type on iOS. Could you provide more explanation on how to achieve this?
I'm also a bit confused by the documentation. It suggests using onForegroundEvent to handle cases where the user interacts with a notification, but that only applies when the app is in the foreground (visible). In my case, the app is either in the background or the phone is locked. When the user clicks the notification, the app opens, and from what I understand, I need to use onBackgroundEvent to handle the user's actions (events).

first of all, reactContext is null problem is related to Android. (didn't experienced same bug when iOS)

the app is either in the background or the phone is locked. When the user clicks the notification, the app opens, and from what I understand, I need to use onBackgroundEvent to handle the user's actions (events).

you mean, "the documentation says using onForegroundEvent to catch events, but foreground means app is in the foreground, not background"? yes you're right, but ironically notifee doesn't work what you think of.
NotifeeApiModule.m
- (void)sendNotifeeCoreEvent:(NSDictionary *_Nonnull)eventBody {
  dispatch_after(
      dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        if (RCTRunningInAppExtension() ||
            [UIApplication sharedApplication].applicationState == UIApplicationStateBackground) {
          [self sendEventWithName:kReactNativeNotifeeNotificationBackgroundEvent body:eventBody];
        } else {
          [self sendEventWithName:kReactNativeNotifeeNotificationEvent body:eventBody];
        }
      });
}

here is some code from notifee iOS native module code. when you press notification, native module call sendNotifeeCoreEvent, check whether app status and send event.
put it simply: this code functions as determine app is foreground or not.
there's no more state check function.
in theory, press notification in the background or dead should be recognize as 'background' event... but sadly pressing notification makes app status into foreground, then called native function. that's the why onForegroundEvent function call.
+ however, if you meaning "I can't receive any press events from notification", there are another problems that I didn't know. in that case, I also need investigate this issue further more.

@Eclipses-Saros thanks for detailed explanation, now I understand. However, my issue is that I'm not receiving any notification press events at all [on iOS, android is working just fine]. Even when the app transitions from background to the foreground, the event doesn't seem to trigger.
Do you have any thoughts on what could be causing this?
I've also assumed that notifee can maybe interfere with other services like react-native-marketingcloudsdk or react-native-firebase/messaging, but that doesn't seem to be the issue.

I think if this PR gets merged, the issue will be resolved.

Indeed - continued appreciation for the patience, I'm through all the react-native new architecture issues, a regression of apple-authentication on iOS simulators and some subtle react-native-firebase issues. Working on Apple dev account provision for a repro + test app here and then this whole thing about iOS handlers is going to get the attention it really needs...

Not stale...a lot of us are awaiting a fix. Thanks

Yep, just fixed yet another headlessJS background issue, got auto-publishing working here which really speeds up my development cycle, and finally (!!) got docs for this repo republished including the typedoc reference API just today.
Steady progress in the repo for sure just not quite this issue yet


parser: filter the input "conv_7b_bn/cond/input"

This is to fix an error when converting an inception_resnet_v2 Keras model to ONNX:
AssertionError: conv_7b_bn/cond/input_0:01 is disconnected, check the parsing log for more details.

After investigating some background, I found inception_resnet_v2 has a name "conv_7b_bn" for a BN layer, just fixes by filtering as we do filter for "batch_normalization".
See tensorflow/python/keras/applications/inception_resnet_v2.py, which defined a custom conv_7b_bn for a specific BN layer.

Thanks for your contribution! Can you add this model conversion into our unit test? Is it for tf2, then we can put it into test_keras_applications_v2.py?
About conv_7b_bn/cond/input, would 7 just be index number, then we should use regular expression to express that, right?

Thanks for your contribution! Can you add this model conversion into our unit test? Is it for tf2, then we can put it into test_keras_applications_v2.py?
About conv_7b_bn/cond/input, would 7 just be index number, then we should use regular expression to express that, right?

@jiafatom Thanks for your sweet guide, as for the 7n, it's hardcoded at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/applications/inception_resnet_v2.py#L203, I'm not sure if it's an index, but I could try to match with number :)

Thanks for your contribution! Can you add this model conversion into our unit test? Is it for tf2, then we can put it into test_keras_applications_v2.py?
About conv_7b_bn/cond/input, would 7 just be index number, then we should use regular expression to express that, right?

@jiafatom Thanks for your sweet guide, as for the 7n, it's hardcoded at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/applications/inception_resnet_v2.py#L203, I'm not sure if it's an index, but I could try to match with number :)

We can do a quick experiment to verify this. Just remove the hardcoded name conv_7b, then it will generate a name for it. Then we can see how the name looks like.

@jiafatom Do I need to add a new test test_keras_applications_v2.py? I don't find it at https://github.com/onnx/keras-onnx/tree/master/tests :(

@jiafatom Do I need to add a new test test_keras_applications_v2.py? I don't find it at https://github.com/onnx/keras-onnx/tree/master/tests :(

Just add the test here in our nightly build, thanks.

@jiafatom I have fixed the nits that you picked up :)

@jiafatom I have fixed the nits that you picked up :)

When I run the nightly build, it throws the error:
>       model = InceptionResNetV2(include_top=True)
E       TypeError: 'module' object is not callable

See the build error here


chore(docs): add basic table example

Hello 👋
When reading the documentation it wasn't immediately clear which parts are necessary to create a minimal table. The tables under Styles are more or less the most basic version, but don't show how data should be passed.
To experiment with this library I've created the following basic table example. It could perhaps be useful to include something like this in the docs?
Awesome work on the library btw!

Thanks a ton for working on this! this is a huge help! <3


BitMEX amend bulk seems to be missing

I cannot find the PUT /order/bulk endpoint in the bitmex tradeApi.
Is it correct that it is missing?

See CreateBulkOrder

#24


Introducing AutoGen Deploy

Why are these changes needed?
**This is a working in progress. ** Comments and contributions welcome!
AutoGen's north star is to be THE multi-agent application development framework, so a robust and scalable serving solution is a must. Therefore, introducing AutoGen Deploy, a service framework to deploy your AutoGen agents as long-running, distributed workers handling messages on-demand.
Example usage:
First convert your AutoGen agents to Celery workers:
sample_service.py
assistant = AssistantAgent(
    name="assistant",
    llm_config={
        "config_list": config_list,
    },
)
user_proxy = UserProxyAgent(
    "user_proxy",
    code_execution_config={"work_dir": "coding", "use_docker": False},
    human_input_mode="NEVER",
)

app = Celery("autogen_deploy", backend="rpc://", broker="pyamqp://guest@localhost//")
assistant = CeleryAgent(app, assistant)
user_proxy = CeleryAgent(app, user_proxy)

To start long-running service on localhost:
celery -A sample_service worker -l INFO

Query the service:
from sample_service import assistant, user_proxy

user_proxy.initiate_chat(
    assistant,
    message="What is the change YTD of the S&P 500?",
)

It is important to note that because the current AutoGen agents does not store states in shared external memory (i.e., a database) the client is storing all agent state. The workers are stateless. Once we have finished the state serialization stuff, we can make the agent worker stateful by synchronizing using shared external memory.
Also, because currently the human input handling is through console, it is not supported right now. So human_input_mode should be set to NEVER.
Related issue number
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

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

Comparison is base (3680197) 31.92% compared to head (c10c90c) 31.63%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1175      +/-   ##
==========================================
- Coverage   31.92%   31.63%   -0.29%
==========================================
  Files          29       29
  Lines        4097     4112      +15
  Branches      955      961       +6
==========================================
- Hits         1308     1301       -7
- Misses       2695     2716      +21
- Partials       94       95       +1

Flag
Coverage Δ

unittests
31.63% <ø> (-0.24%)
:arrow_down:

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

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

@ekzhu , I really like the direction this is taking.
I'll take a look and give comments later this week.

@ekzhu Could you clarify what AutoGen Deploy is trying to achieve? An application on terminal or a client-server architect design? What message broker is used here?

Close as it will be contained by future work.


How-to: In the same microservice supports jdbc token checking.

Expected Behavior

In the same microservice. It should be possible to verify the token directly to the same microservice resource server instead of accessing the authorization server through http
Imagine that the service is supposed to be trusted. But once a service interface is accessed, the authorization service is invoked for authentication. This puts a lot of pressure on the authorization server.
I hope I can get some answers. Because a microservice system services trust each other.

Hi @zxiaozhou! Just to clarify, are you asking (for a how-to guide that demonstrates) how to use opaque tokens (not JWTs) that can be verified via a JDBC connection on a resource server? Something like this?
                                  ┌─────┐
                                  │     │
                     ┌───────────►│ DB  │◄─────────────┐
                     │            │     │              │
                     │            └─────┘              │
                     │                                 │
                     │                                 │
                     │                                 │
┌────────────────────┴────┐                     ┌──────┴──────────────────┐
│                         │                     │                         │
│                         │                     │                         │
│                         │                     │                         │
│ Authz Server            │                     │  Resource Server        │
│                         │                ┌───►│                         │
│                         │                │    │                         │
│                         │                │    │                         │
│                         │                │    │                         │
└──────────┬──────────────┘                │    └─────────────────────────┘
           │                               │
           │                               │
           │                  access_token │
           │                               │
           │ access_token                  │
           │                               │
           │                               │
           │            ┌──────────────────┴──────┐
           │            │                         │
           │            │                         │
           │            │                         │
           │            │                         │
           └───────────►│    Client               │
                        │                         │
                        │                         │
                        │                         │
                        └─────────────────────────┘

Or are you actually asking about the authz server and resource server being the same application (microservice) instead of separate applications?

@sjohnr like this(Because the entire service is absolutely trusted, there is no need to use JWT. This reduces the pressure on licensing services.)

@zxiaozhou thanks for the update. However, adding the dashed line doesn't really clear it up for me, because you label everything inside "microservice." Do you mean "microservices" (plural)?
Regardless, I think the main question being asked here is "How do I use opaque tokens?" which is covered in the reference manual (simply set TokenSettings#accessTokenFormat(OAuth2TokenFormat.SELF_CONTAINED) on the RegisteredClient.tokenSettings).  You can use the JdbcOAuth2AuthorizationServer (or provide your own) to store tokens in the database.
Also, take a look at Configuring and Extending Spring Authorization Server (recent talk from SpringOne Essentials in January, 2023) where we configure and demo use of opaque tokens.
Currently, I'm not sure this pattern you're outlining here is very common. It seems to contradict some of the reasons for choosing OAuth2, though the argument for/against this pattern is probably not productive to hash out here. For that reason, I'm going to close this issue. If the community disagrees and thinks this is a needed use case, please speak up and we can absolutely re-open this issue.

把那个db换成redis就是pig的实现方案，国内很多这样做的开源案例


148 check ce missing month

Closes #148

Hi @rymarinelli, thanks for writing this check. I have some bandwidth now that things are slowing down a bit for the holidays so  thought I'd finally take a look - sorry for the delay!
TBH I am not super familiar with the CE domain.  I refactored your check a bit here, let me know if you disagree with this approach.  If not I'll plan on merging it in sometime this week.  Thanks again!

PS I'm going to close this PR from fork


Credits not updated in BroncoDrome

The updated credits with our names is in the project but is not being displayed in the game.

This took a few minutes for me to fix, the credits uasset file had to be updated and reimported in Unreal.


Add support for automated clean repo tool execution

Summary
Adds monthly calls to the Clean Repo tool.
Related to https://github.com/dotnet/docs-tools/issues/121

This PR needs to be merged before this automation will work properly: https://github.com/dotnet/docs-tools/pull/128


Error message when filter does not exist

When I try to use a filter that does not exist, e.g. through this API call
POST http://api-dev.freme-project.eu/current/e-terminology/tilde?input=Show me the source of the light.&informat=text&source-lang=en&target-lang=de&filter=terms
I get this error message
{
    "timestamp":<PHONE_NUMBER>311,
    "status": 500,
    "error": "Internal Server Error",
    "exception": "eu.freme.broker.exception.FREMEHttpException",
    "message": "Postprocessing filter failed with status code: 500 (Internal Server Error)",
    "path": "/e-terminology/tilde"
}

Please change it to http status code 404 and error message Cannot find filter "terms"

implemented.


Incorporate upstream MOM6 updates

Another copy of #23 but with a squashed commit history to see if that makes a difference.

:rocket: The latest prerelease access-om3/pr26-1 is here: https://github.com/ACCESS-NRI/ACCESS-OM3/pull/26#issuecomment-2522252118 :rocket:

Hey, due to https://github.com/ACCESS-NRI/build-cd/issues/173 we have had to update the infrastructure in this repository, as well - see https://github.com/ACCESS-NRI/ACCESS-OM3/pull/28.
We try and keep these kinds of updates to a minimum, and, starting from this one onwards, it will no longer be a hard requirement to update PR branches to incorporate infrastructure changes in order for the infrastructure to work - as you need to for this one.
To update this PR to the new origin/main, do the following:
git pull
git rebase origin/main
git push --force

to incorporate CI changes into the PR.
Your PR may redeploy, but that is okay - it should be identical to the last deployment. Let me know if you have any questions or issues.

Closing as it's easier to start again given the infrastructure and change of approach changes.


Added Bow Memorial School

@deekb First stage of verification passed, official domain is bms.bownet.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@deekb Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[Bug]: The test workflow is not triggered by fork-pull requests

📝 Description
If a pull request is created based on a fork, the test workflow must be triggered by a maintainer, which should not be the case.
🎯 Expected Behavior
Each pull request should result in the test workflow being executed.
🐞 Current Behavior
The test workflow must be triggered by a maintainer
🔁 Steps to Reproduce
Create a pull request from a fork
⚙ Technical Details
No response
💡 Suggestions or Possible Solutions
pull_request_target  could be the right trigger.
Code of Conduct

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

#106 is a good example of this issue.

Closed by #108


react-docgen/~/doctrine/package.json Module parse failed

Hello,
I've done the following:
npm install rsg-alt --save-dev
Then
rsg lib/components/inputs/TextInput.js
And I get this error:
{
	"name": "rsg/rsg-lib",
	"hostname": "UK134489.local",
	"pid": 21295,
	"level": 50,
	"msg": "[ './~/react-docgen/~/doctrine/package.json\\nModule parse failed: /Users/mdell/Work/Repos/aztec/web/node_modules/react-docgen/node_modules/doctrine/package.json Unexpected token (2:9)\\nYou may need an appropriate loader to handle this file type.\\nSyntaxError: Unexpected token (2:9)\\n    at Parser.pp.raise (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:920:13)\\n    at Parser.pp.unexpected (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1483:8)\\n    at Parser.pp.semicolon (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1462:73)\\n    at Parser.pp.parseExpressionStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1976:8)\\n    at Parser.pp.parseStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1754:188)\\n    at Parser.pp.parseBlock (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1991:21)\\n    at Parser.pp.parseStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1735:19)\\n    at Parser.pp.parseTopLevel (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1648:21)\\n    at Parser.parse (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:1616:17)\\n    at Object.parse (/Users/mdell/Work/Repos/aztec/web/node_modules/webpack/node_modules/acorn/dist/acorn.js:882:44)\\n @ ./~/react-docgen/~/doctrine/lib/utility.js 31:14-40' ]",
	"time": "2016-04-28T18:41:50.315Z",
	"v": 0
}

Happens on every file.
I'm using Webpack 1.12.2, Babel 5.8.23, and rsg-alt 2.6.3. Any ideas?

Can you try doing lib/components/inputs/*.js instead of TextInput.js?
Also have you tried defining a styleguide.js or a styleguide.json?
  # Necessary to use a config file if you want to enable react-docgen
  rsg 'example/**/*.js' -c 'styleguide.json' -v

  # Example 2 - config file does module.exports = { ... }
  rsg 'example/**/*.js' -c 'styleguide.js' -v

Thanks for the quick response!
I've just tried the above and it doesn't seem to have resolved the issue.
I grabbed the styleguide.json from your example and modified it to reference my generated css file:
{
  "title": "React Style Guide",
  "files": [
    "//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css",
    "dist/styles.css"
  ],
  "babelConfig": {
    "stage": 0
  }
}

I then added an entry in package.json to run it:
"rsg": "rsg 'example/**/*.js' -c 'styleguide.json' -v"
This is the output when I run npm run rsg
UK134489:web mdell$ npm run rsg

><EMAIL_ADDRESS>rsg /Users/mdell/Work/Repos/aztec/web
> rsg 'example/**/*.js' -c 'styleguide.json' -v

{"name":"rsg/rsg-lib","hostname":"UK134489.local","pid":22305,"level":30,"configFile":"/Users/mdell/Work/Repos/aztec/web/styleguide.json","msg":"Reading config file","time":"2016-04-28T19:18:33.992Z","v":0}
{"name":"rsg/rsg-lib","hostname":"UK134489.local","pid":22305,"level":20,"msg":"updating prop docs","time":"2016-04-28T19:18:34.252Z","v":0}
{"name":"rsg/rsg-lib","hostname":"UK134489.local","pid":22305,"level":20,"msg":"writing prop docs","time":"2016-04-28T19:18:34.253Z","v":0}
{"name":"rsg/rsg-lib","hostname":"UK134489.local","pid":22305,"level":50,"msg":"[ './~/react-docgen/~/doctrine/package.json\\nModule parse failed: /Users/mdell/Work/Repos/aztec/web/node_modules/react-docgen/node_modules/doctrine/package.json Unexpected token (2:9)\\nYou may need an appropriate loader to handle this file type.\\nSyntaxError: Unexpected token (2:9)\\n    at Parser.pp.raise (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:920:13)\\n    at Parser.pp.unexpected (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1483:8)\\n    at Parser.pp.semicolon (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1462:73)\\n    at Parser.pp.parseExpressionStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1976:8)\\n    at Parser.pp.parseStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1754:188)\\n    at Parser.pp.parseBlock (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1991:21)\\n    at Parser.pp.parseStatement (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1735:19)\\n    at Parser.pp.parseTopLevel (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1648:21)\\n    at Parser.parse (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:1616:17)\\n    at Object.parse (/Users/mdell/Work/Repos/aztec/web/node_modules/acorn/dist/acorn.js:882:44)\\n @ ./~/react-docgen/~/doctrine/lib/utility.js 31:14-40' ]","time":"2016-04-28T19:18:38.984Z","v":0}

Still seems to fail at the same place unfortunately.

it seems like it's going through the rsg-alt node_modules dir when it shouldn't. I'll check it out this weekend. sorry about that

Thanks in advance for looking into it. Something doesn't seem quite right...
My node / npm versions are
$ node -v
v5.1.0
$ npm -v
3.3.12

I've done some research and I'm wondering if it has to do with a module requiring package.json as the error message seems similar to this: https://github.com/webpack/webpack/issues/303
I have a case in my webpack config to handle json files with json-loader. Does rsg-alt use my webpack file to build or is there another one somewhere?

Yup. I added a loader for json files and that worked!
I'll submit a PR...

Ah, slight problem @theogravity... I've merged the PR for the Babel 6 version and I'm using Babel 5. Can you advise how I can update the 2.6.3 version of rsg-alt?

unpublish the version you published, and roll back your commit to prior your commit then use git push --force to do it
switch to the babel5 branch and just make sure to open a pr against that branch and merge into that (do not merge the babel5 branch to master)

This has now been added to v2.7.0 and v3.5.3 for both Babel 5 / 6 support. Issue can now be closed.

thanks dude!


Pend failing smoke test

Closes:

What changed?
Pended the failing smoke test on main SmokeTestLong - Verify that gitops can deploy multiple apps one with private and other with public repo (e2e flow)

Why?
Main is broken

How did you test it?
NA

Release notes
NA

Documentation Changes
NA

@Himangini The tests that are getting pended - the issue with both seems to be wait time. Can we increase the wait time instead of pending them?

@Himangini The tests that are getting pended - the issue with both seems to be wait time. Can we increase the wait time instead of pending them?

@rokshana-b I think this should happen as a part of https://github.com/weaveworks/weave-gitops/issues/1456 and other related issues. I don't have much context and I don't know what should the ideal timeout be.

@rokshana-b I think this should happen as a part of https://github.com/weaveworks/weave-gitops/issues/1456 and other related issues. I don't have much context and I don't know what should the ideal timeout be.

I'll open a separate PR to fix the timeout issues


add minor windows install notes to README.rst

sorry about that. did not realise that this was doing a bash syntax check and a rstcheck and my mark-down table really messed with that. Hope we are past that now.

man are these pre-commit checks picky! LOL sorry @nicholasmhughes hope this will do it. I am clearly not used to work with such pre-commit in place.


Improve the Object, Reference and Resource class documentations

This improves the documentation with regards to memory management as per this documentation oage.

Thanks!

Cherry-picked for 3.2.3.


License

First of all, thank you so much for this awesome project.
Just wondering, could you please pick a License for this repo? so we can use it without worrying about any potential issue.

Done! Thanks for pointing out it was missing.


Extra right-angle bracket

You have a trailing right-angle bracket in the following Note:
If you don't see the options above, under Admin centers, select SharePoint and then select New > Private Site Collection. >

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

ID: 0419db4c-9918-fcbe-53b3-4aca315e7703
Version Independent ID: 0eca18cd-d073-8a6c-47ba-3e3330d63167
Content: Create a site
Content Source: SharePoint/SharePointOnline/create-site-collection.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@v-lorm  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum

@v-lorm I've created a PR for it