add inner_child_properties tool

This tool will descend and find the properties of the inner-most children sampler in a composite (or just a sampler).
Useful for extracting QPU parameters when the QPU sampler is wrapped on many composite layers.

Your suggestion makes sense @arcondello, worth just closing this PR and making a new one instead of making a complete overhaul


Type mismatch: inferred type is DrawingActivity but LifecycleOwner was expected

Please help in resolving this issue.
Your Rocket.Chat.Android version: (e.g. 2.1.0)
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)

Try removing the dollar sign ($) in front of activity on line 21

@Inouju Thanks for the reply.
But still getting the same error.

I would suggest re-cloning the repo, or resetting and then pulling.
For more support, and for questions like this in the future, please use the forums:

Please use our Community Support for this kind of problem: https://forums.rocket.chat/c/community-support


Add custom websocket.Upgrader support

I host client and server from different hostnames, in that case gorilla's checkSameOrigin method runs and doesn't give access to client because Origin header doesn't match with hostname of server.
Basically I need a custom origin check method to run, so I've added a new method that takes websocket.Upgrader as a parameter to support custom upgrader with CheckOrigin function.
ps Thanks for thunderbird and keep up the good work :+1:

:+1:. Wanting to merge this but my admin access was revoked during the judging phrase. Will merge it after the the judging is done. Thanks for the contribution!

That's OK, good luck :smiley:


perform input validation for kubeless deploy and update subcommads

Fixes #439

I am not a big fan of adding 2K lines of code to do a simple validation but I don't know a better solution.

Balme go vendoring :) take out docs, tests, its just few hundred lines.Nothing else but to avoid re-inventing the wheel. Kubectl already does cron job client-side valdation with same logic.


New version: ARFFFiles v1.5.1

Registering package: ARFFFiles
Repository: https://github.com/cjdoris/ARFFFiles.jl
Created by: @cjdoris
Version: v1.5.1
Commit: 3b1928ec1e3a9c11ae7565b2ddf7ffd9764041c9
Reviewed by: @cjdoris
Reference: https://github.com/cjdoris/ARFFFiles.jl/commit/3b1928ec1e3a9c11ae7565b2ddf7ffd9764041c9#commitcomment-148140322
Description: Load and save ARFF files

You can close this - I skipped a version.


luci-app-usteer: First version of luci-app-usteer

First version of luci-app-usteer. 2 pages, 1 for settings, 1 for status.

Tested-by: Miguel Angel Mulero<EMAIL_ADDRESS># Xiaomi AX3600
Thanks for this app! Tested and it works. I think you will need to squash the commits and give it a message according to the rules of OpenWrt.

I optimized the code a bit (removed some loops, which were not needed).

@McGiverGim im not that familiar with squashing the commits. Do i need to make a new PR with the squashed commits?

No, you must "modify" your local branch, squashing your commits, and then simply do a push with the --force-with-lease parameter. This PR will detect the changes and modify itself accordingly.

You basic error is that you have started the PR from your own "master" branch instead of creating a separate feature branch for the PR (like suggested in the advice available).
"Ramon00 wants to merge 24 commits into openwrt:master from Ramon00:master"
see https://github.com/openwrt/luci/blob/master/CONTRIBUTING.md#advice-on-pull-requests
You could still squash the commits pretty easily, if you use "git rebase -i HEAD~20" (and know how to mark the commits in the squash edit screen.)
Alternatively, as you only have 5 modified files (by the current 24 commits in PR...), it would also be pretty easy to do a new clean PR (from a new branch) with those 5 files.

I just made a new PR from a feature branch. Couldnt get the rebase done somehow... See https://github.com/openwrt/luci/pull/6671


LightGBM error special JSON characters in feature name

Hi - great library everyone!
I'm doing tabular prediction with news article data.  The LightGBM model doesn't run with the following error:
LightGBMError: Do not support special JSON characters in feature name.
Do not support special JSON characters in feature name.

The upstream issue in LightGBM is here:https://github.com/microsoft/LightGBM/issues/2455
Basically they check for special json characters .e.g [],{}": in features names and throw an error if found. Could autogluon check for these characters and remove any offending features?
Liam

Good catch, thanks for the info! Just to clarify, LightGBM fails in this scenario, but the rest of the models train successfully and you are able to get a result from AutoGluon?
If so, I think I can look into fixing this, the question is if I can get it to still use the features rather than dropping them entirely (I think I can by clever renaming).

Yep, everything else works fine and I get a result at the end

To aid in testing to ensure I am covering all of the failure cases, could you provide a sample training data of the news article data you are experiencing the problem with or the location which you obtained the data? If you wish to keep it private that is fine, but it could help accelerating the fix on my end.

Sure - first 3 rows of csv are enough to trigger it - see attached zip.
err.tar.gz
Is there a way to access errors in the underlying models using the %debug in ipython?

Hi,
I have encountred the same problem. Fixed it before the training begins with a regular expression and lambda function (pandas). Object named "data" must be a dataframe.
import re
data = data.rename(columns = lambda x:re.sub('[^A-Za-z0-9_]+', '', x))

Could provide data/column headers if needed.

Thanks for the info @oguzhangur96! Right now the main difficulty here is to ensure that column names are always converted when entering the model (whether for feature importances, fit, inference) and also inversely converted back to the original upon leaving. This seems to be something that LightGBM itself should handle, and I don't have a good understanding of why they haven't done so.
Furthermore, it isn't sufficient to only remove the special characters, because we have to ensure no two columns have the same name. One simple way is to just rename columns 0-n as '0', '1', ...'n-1', 'n', but then this operation would also have to be done on all of the 99% of problems where this is not required, particularly for online-inference of single rows. I have to first benchmark inference times in these situations to ensure our online-inference speed isn't significantly slowed due to this fix.

@braaannigan , @oguzhangur96
#451 is merged and should fix this issue (Just in time for our upcoming 0.0.7 release!). I have tested this on various NLP problems which previously caused crashes, and it successfully trains.
Thanks again for highlighting this issue!
Best,
Nick

Great - looking forward to the next release!

how can i fix this error "LightGBMError: Do not support special JSON characters in feature name."

@ind-kum Please check your AutoGluon version and upgrade to 0.0.10 if you haven't. This should fix the issue.

Do not support special JSON characters in feature name: how to use LGBM in columns with Russian names?
I have a train part of a dataframe with Russian names:
shop__56 | sub_type_Сумки, Альбомы, Коврики д/мыши | shop__46 | sub_type_Для дома и офиса (Цифра) | shop__49 | shop__58 | shop__37 | sub_type_Служебные | sub_type_CD локального производства | shop__22 | ... | shop__48 | sub_type_Артбуки, энциклопедии | sub_type_Подарочные издания | sub_type_PSN | shop_id | sub_type_CD фирменного производства | sub_type_DVD | sub_type_PSVita | sub_type_Комиксы, манга | sub_type_Дополнительные издания
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ... | 0 | 0 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 0
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | ... | 0 | 0 | 0 | 0 | 41 | 0 | 0 | 0 | 0 | 0

And when I apply LightGBM on it, it rases the same issue:
---------------------------------------------------------------------------
LightGBMError                             Traceback (most recent call last)
<ipython-input-125-711fbc08b2b9> in <module>
     11                            min_split_gain=0.0222415,
     12                            min_child_weight=40)
---> 13 model_lgb.fit(X_train, y_train)

/opt/conda/lib/python3.7/site-packages/lightgbm/sklearn.py in fit(self, X, y, sample_weight, init_score, eval_set, eval_names, eval_sample_weight, eval_init_score, eval_metric, early_stopping_rounds, verbose, feature_name, categorical_feature, callbacks, init_model)
    777                                        verbose=verbose, feature_name=feature_name,
    778                                        categorical_feature=categorical_feature,
--> 779                                        callbacks=callbacks, init_model=init_model)
    780         return self
    781

/opt/conda/lib/python3.7/site-packages/lightgbm/sklearn.py in fit(self, X, y, sample_weight, init_score, group, eval_set, eval_names, eval_sample_weight, eval_class_weight, eval_init_score, eval_group, eval_metric, early_stopping_rounds, verbose, feature_name, categorical_feature, callbacks, init_model)
    615                               evals_result=evals_result, fobj=self._fobj, feval=eval_metrics_callable,
    616                               verbose_eval=verbose, feature_name=feature_name,
--> 617                               callbacks=callbacks, init_model=init_model)
    618
    619         if evals_result:

/opt/conda/lib/python3.7/site-packages/lightgbm/engine.py in train(params, train_set, num_boost_round, valid_sets, valid_names, fobj, feval, init_model, feature_name, categorical_feature, early_stopping_rounds, evals_result, verbose_eval, learning_rates, keep_training_booster, callbacks)
    229     # construct booster
    230     try:
--> 231         booster = Booster(params=params, train_set=train_set)
    232         if is_valid_contain_train:
    233             booster.set_train_data_name(train_data_name)

/opt/conda/lib/python3.7/site-packages/lightgbm/basic.py in __init__(self, params, train_set, model_file, model_str, silent)
   2051                     break
   2052             # construct booster object
-> 2053             train_set.construct()
   2054             # copy the parameters from train_set
   2055             params.update(train_set.get_params())

/opt/conda/lib/python3.7/site-packages/lightgbm/basic.py in construct(self)
   1323                                 init_score=self.init_score, predictor=self._predictor,
   1324                                 silent=self.silent, feature_name=self.feature_name,
-> 1325                                 categorical_feature=self.categorical_feature, params=self.params)
   1326             if self.free_raw_data:
   1327                 self.data = None

/opt/conda/lib/python3.7/site-packages/lightgbm/basic.py in _lazy_init(self, data, label, reference, weight, group, init_score, predictor, silent, feature_name, categorical_feature, params)
   1149             raise TypeError('Wrong predictor type {}'.format(type(predictor).__name__))
   1150         # set feature names
-> 1151         return self.set_feature_name(feature_name)
   1152
   1153     def __init_from_np2d(self, mat, params_str, ref_dataset):

/opt/conda/lib/python3.7/site-packages/lightgbm/basic.py in set_feature_name(self, feature_name)
   1630                 self.handle,
   1631                 c_array(ctypes.c_char_p, c_feature_name),
-> 1632                 ctypes.c_int(len(feature_name))))
   1633         return self
   1634

/opt/conda/lib/python3.7/site-packages/lightgbm/basic.py in _safe_call(ret)
     53     """
     54     if ret != 0:
---> 55         raise LightGBMError(decode_string(_LIB.LGBM_GetLastError()))
     56
     57

LightGBMError: Do not support special JSON characters in feature name.

So how can I use LightGBM on this kind of features? Do I need to transform them to English column names?

@antoinecomp This error doesn't appear to be from AutoGluon, are you using AutoGluon?

Hi,
I have encountred the same problem. Fixed it before the training begins with a regular expression and lambda function (pandas). Object named "data" must be a dataframe.
import re
data = data.rename(columns = lambda x:re.sub('[^A-Za-z0-9_]+', '', x))

Could provide data/column headers if needed.

Hello,
After I add this line data = data.rename(columns = lambda x:re.sub('[^A-Za-z0-9_]+', '', x)) to my code, it raised a new error: Feature (PMI) appears more than one time, could you please help?  Thanks.


Bought players don't get listed.

I have set a player to be bought for 350 and sold for 450. The programm somehow doesn't list the player after it wins a bid.

Which player exactly ?

i've got same issues. I think that cause is last update. Simply the bidder win the auction and automatically send players to "unassigned" but the AB doesn't sign in the box "unassigned". I can view this player only with web-app

Duplicate of #98

hunterjm, this isn't a duplicate to issue #98. The players that it has won through bidding just stay in the "bidding section" and don't even get sent to unassigned.


[WIP] Reviewing OptimalBranchingCore

@ArrogantGao What is NoProblem for?

@ArrogantGao What is NoProblem for? Why do we need that? If you just want to define an interface, please checkout this example: https://github.com/GiggleLiu/ProblemReductions.jl/blob/main/src/models/models.jl
Also, we prefer writing documentation for the same function only once.

NoProblem provides a unified interface for all problem, which means the branching process is done, see
https://github.com/ArrogantGao/OptimalBranching.jl/blob/5e2a9457a086e23afee099e09f0744018916acb1/lib/OptimalBranchingCore/src/branch.jl#L70
I agree to change the interface as that of the ProblemReductions.jl.
Another question is that do you think using problems type of ProblemReductions.jl in this package is a good idea?


[Bug]: Unable to get the QueryEngineTool be invoked while using CondensePlusContextChatEngine or RetrieverQueryEngine

Bug Description
The agent seems to be using the LLM directly without invoking the queryenginetool
Version
0.9.14
Steps to Reproduce
`self.chat_engine = CondensePlusContextChatEngine.from_defaults(
retriever=retriever,
context_prompt=qa_prompt,
verbose=True,
)
query_engine_tool = QueryEngineTool(
query_engine=self.chat_engine,
metadata=ToolMetadata(
name="custom_ai_assistant",
description=(
"use this tool when user asks a question"
),
),
)
self.agent = OpenAIAgent.from_tools([query_engine_tool, email_tool],
verbose=True)
self.agent.chat("what can you do for me?")
`
if i invoke it to trigger the email_tool function, it works fine. but when i query based on some context where the retriever must be used, it is returning a generic answer.
Relevant Logs/Tracbacks
No response

Where does QueryEngineTool uses LoadAndSearchToolSpec?

@dosu-bot I don't think that is the reason. As per the documentation, OpenAIAgent should pick up the right tool i.e. QueryEngineTool on the basis of the input. Can you think of any other reason?

@dosu-bot
here's the initialization of the OpenAIAgent:
agent = OpenAIAgent.from_tools(tools=[query_engine_tool, multiply_tool],
                                                # tool_retriever=self.chat_engine,
                                                system_prompt="""
You are a specialized agent with access to a tool to fetch a set of internal documents of the organization.
You must ALWAYS use at least one of the tools provided when answering a question; do NOT rely on ANY prior knowledge.
""",
                                                verbose=True)

Here is the QueryEngineTool:
query_engine_tool = QueryEngineTool(
                                    query_engine=self.chat_engine,
                                    metadata=ToolMetadata(
                                        name="custom_ai_assistant",
                                        description=(
                                            "use this tool to fetch the internal documents of the organization"
                                        ),
                                    ),
                                )

Query provided:
agent.chat("what can you do for my hospital?")
Output:
** Messages: **
system:
You are a specialized agent with access to a tool to fetch a set of internal documents of the organization.
You must ALWAYS use at least one of the tools provided when answering a question; do NOT rely on ANY prior knowledge.

user: what can you do for my hospital?
**************************************************
** Response: **
assistant: As an AI assistant, I can assist your hospital in various ways. Here are a few examples:

1. Provide medical information: I can fetch and provide information on various medical conditions, treatment options, medications, and procedures.

2. Schedule appointments: I can help patients schedule appointments with doctors, specialists, or other healthcare providers at your hospital.

3. Answer FAQs: I can answer frequently asked questions about your hospital's services, facilities, visiting hours, insurance coverage, and more.

4. Provide health tips: I can offer general health tips and advice on maintaining a healthy lifestyle, preventing diseases, and managing chronic conditions.

5. Assist with medical research: I can help your hospital's staff access and analyze medical research papers, clinical trials, and other relevant information.

6. Support administrative tasks: I can assist with administrative tasks such as managing patient records, organizing schedules, and sending reminders.

Please note that the specific capabilities of the AI assistant may vary depending on the tools and resources available to me.
**************************************************

@neeagl you probably need to write a better/more specific description. description="Useful for querying information about X, Y, and Z."
Also, the name of the tool is extremely vague as well, it helps to be more specific if possible
Lastly, you can also force the function call as well: agent.chat("hello", tool_choice="custom_ai_assistant") -- this will force the tool to be called at least once

Thanks @logan-markewich for your help and wish you a very Happy New Year!
I was able to make the function call by passing it as tool_choice in chat(). However, when I try to do the same with CondensePlusContextChatEngine, it says:
=== Calling Function ===
Calling function: query_knowledge_base with args: {
  "input": "capabilities of hospital"
}
Got output: Error: 'CondensePlusContextChatEngine' object has no attribute 'query'

As I understand, the Agent invokes the query function of the tool. Is there a way to extend it?
Also, as a question in general, I'm trying to use my CondensePlusContextChatEngine for anything related to the knowledge base and tool to invoke integration with a 3rd party. Is it the right approach as described before?

if you want wrap a chat engine and use it as an agent tool, you'll need to wrap it with a QueryEngineTool class

(Alsp happy new year!)

@neeagl Hey! were you able to get this working? I was also trying something similar, but I am stuck at this point. Any help would be much appreciated!

Hi @bolaka1111 I ended up writing my library to directly use OpenAI's function


Duplicate type annotation in azure-storage-file-datalake leads to downstream type checking error

Package Name: azure-storage-file-datalake
Package Version:  12.10.0
Operating System: Windows 11
Python Version:  Python 3.10 and 3.11

Describe the bug
The async FileSystemClient defined here
has its __init__ methods return type defined both as an inline type annotation and as a type comment.
This leads to an error when typechecking a downstream package using mypy
...\Lib\site-packages\azure\storage\filedatalake\aio\_file_system_client_async.py:83: error: Function has duplicate type signatures  [syntax]

To Reproduce

Run mypy on a file containing this import

from azure.storage.filedatalake.aio import FileSystemClient

Expected behavior
No error
Additional context
Mypy 1.0.1

Thank you for the feedback @jenshnielsen . We will investigate and get back to you asap.

Hi @jenshnielsen Jens, thanks for your contribution! I have gone ahead and put out a PR to address this issue (and another instance of the duplicate type annotation found in another file). I will attach the pull request to this issue and this issue will be closed out once the PR is merged. Thanks again for your contribution 😄

@jenshnielsen Jens, just wanted to update that we released the fix for this issue today in a patch release. Version 12.10.1 should have the fix. Thanks.


IDE plugins

This is an external tracking issue to:

Gauge interest from the community for this feature
Learn about what you'd want to see out of it if we worked on it.

So please:

Upvote the issue if it's important to you, and
Comment with any relevant info on your requirements use cases, etc.

Thanks!
PS We do all our internal engineering issue tracking separately in Notion, so you won't necessarily see regular updates to the project status here even once we begin work.

Pycharm support. #541
We've also had requests for Intellij and Webstorm in slack and I think if we had polar syntax support in Intellij it would work with all of them.

VS Code please.

VS Code please.

VS Code please.

We have some vscode support already. Right now it's just syntax hi-lighting.
https://marketplace.visualstudio.com/items?itemName=osohq.oso
What would you like to see in the vscode plugin?

VS Code please.

We have some vscode support already. Right now it's just syntax hi-lighting.
https://marketplace.visualstudio.com/items?itemName=osohq.oso
What would you like to see in the vscode plugin?

@saolsen: Hi, yes I have the extension installed but completely forgot about it! Syntax highlighting is a great start, what would be a useful next step would be the ability to click through from the usage of a rule to the definition of the rule. This would also help with understanding what ?= test rules are invoking.
On the topic of test rules i find that the ?=  statements that I have defined near the rules that they test are a "noisy" distraction when I want to just see the rules themselves. So perhaps a way to "fold" them out of sight or to dim them so that they are less prominent than the rules themselves?
And with multiple .polar files in a project perhaps it could be handy to visualize / list all .polar files in a sidebar view?
How about completion of valid next keywords, or (and this is language and client implementation specific so probably not easy or perhaps not even possible) also completion of client supplied methods on client supplied types?
Formatting to a standard format? (e.g. how would you format this?)

@saolsen: Hi, yes I have the extension installed but completely forgot about it! Syntax highlighting is a great start, what would be a useful next step would be the ability to click through from the usage of a rule to the definition of the rule. This would also help with understanding what ?= test rules are invoking.
On the topic of test rules i find that the ?=  statements that I have defined near the rules that they test are a "noisy" distraction when I want to just see the rules themselves. So perhaps a way to "fold" them out of sight or to dim them so that they are less prominent than the rules themselves?
And with multiple .polar files in a project perhaps it could be handy to visualize / list all .polar files in a sidebar view?
How about completion of valid next keywords, or (and this is language and client implementation specific so probably not easy or perhaps not even possible) also completion of client supplied methods on client supplied types?
Formatting to a standard format? (e.g. how would you format this?)

Awesome, thanks! These are really great suggestions!

Awesome, thanks! These are really great suggestions!

@ximon18 just getting a chance to go through this. This is fantastic feedback, and super helpful validation for us as we decide where to spend time.

would be a useful next step would be the ability to click through from the usage of a rule to the definition of the rule.

Definitely! Especially if multiple are defined, having a way to see all implementations of a rule would be great. And in the other direction too - see where a rule is used.

On the topic of test rules i find that the ?= statements that I have defined near the rules that they test are a "noisy" distraction when I want to just see the rules themselves

Interesting idea -- I hadn't thought of this. Maybe a configuration value or something to toggle this? If there was better support for navigation like you mentioned, would it make sense to put tests in a separate file?

And with multiple .polar files in a project perhaps it could be handy to visualize / list all .polar files in a sidebar view?

💯 want to do this

How about completion of valid next keywords, or (and this is language and client implementation specific so probably not easy or perhaps not even possible) also completion of client supplied methods on client supplied types?

The former, absolutely, the latter is a super tricky one. I agree it would be incredibly valuable though, so very much motivated to make it work.
Need to stop here, and will keep going in a bit! Thank you again <3

@ximon18 just getting a chance to go through this. This is fantastic feedback, and super helpful validation for us as we decide where to spend time.

would be a useful next step would be the ability to click through from the usage of a rule to the definition of the rule.

Definitely! Especially if multiple are defined, having a way to see all implementations of a rule would be great. And in the other direction too - see where a rule is used.

On the topic of test rules i find that the ?= statements that I have defined near the rules that they test are a "noisy" distraction when I want to just see the rules themselves

Interesting idea -- I hadn't thought of this. Maybe a configuration value or something to toggle this? If there was better support for navigation like you mentioned, would it make sense to put tests in a separate file?

And with multiple .polar files in a project perhaps it could be handy to visualize / list all .polar files in a sidebar view?

💯 want to do this

How about completion of valid next keywords, or (and this is language and client implementation specific so probably not easy or perhaps not even possible) also completion of client supplied methods on client supplied types?

The former, absolutely, the latter is a super tricky one. I agree it would be incredibly valuable though, so very much motivated to make it work.
Need to stop here, and will keep going in a bit! Thank you again <3

If there was better support for navigation like you mentioned, would it make sense to put tests in a separate file?

Maybe, but if I recall correctly this didn't work when I tried it (with Oso 0.8.0 I think), there was some unknown type or reference or definition or rule issue or something.

If there was better support for navigation like you mentioned, would it make sense to put tests in a separate file?

Maybe, but if I recall correctly this didn't work when I tried it (with Oso 0.8.0 I think), there was some unknown type or reference or definition or rule issue or something.


Added dataStringComparisonBehavior parameter to reference data put/update spec

Added dataStringComparisonBehavior parameter to reference data put/update spec.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@sandshadow approved the PR in-person, tested with ManagementClientSampleApp, fixed grammar.


dotnet ef command fails

Attempting to follow the getting started instructions on linux (Ubuntu 2204).  dotnet EF command is reported as being installed but not working correctly:
➜  TodoApi git:(main) dotnet --version
7.0.100
➜  TodoApi git:(main) dotnet tool install dotnet-ef -g
Tool 'dotnet-ef' is already installed.
➜  TodoApi git:(main) dotnet ef
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-ef does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
➜  TodoApi git:(main)

Looks like it was a variation of this: https://github.com/dotnet/dotnet-docker/issues/520
~/.dotnet/tools was not in my path.


Normalize zip entry names

Manifest files aren't required to use / in image paths, so \ and multiple slashes should be normalized to singe / in VsixPackage so the correct zip entry is always found.

Fixed on d223692e75f01f0306a2ffad86bbe597c4388e79.


Feat: add 5 vscode extensions

Description of changes
I added 5 Visual Studio Code extensions not available currently in nixpkgs:

aaron-bond.better-comments
alexisvt.flutter-snippets
christian-kohler.npm-intellisense
ecmel.vscode-html-css
earthfile-syntax-highlighting

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hey! The 5 extensions built successfully locally using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" with HEAD being on 4bb83399b4136de835d27d7dfdba97c6908ed3ed.
I don't know how to test them with the results produced by nixpkgs-review's result folder :sweat_smile:.


Add support for Claude 3

This update adds support for Claude 3 models, which includes multimodal support:

Claude 3 models will show up in the menu and available to use once the relevant service connection is released.

Why can't I get support for claude-3


Selctable.getSingle() causes Bad state: No element.

In the Selectable.getSingle() metod that is contained moor-3.4.0/lib/src/runtime/query_builder/statements/query.dart:
if (!iterator.moveNext()) {
  return null;
}

Above code assumes that the moveNex() returns false when iterater is empty, but it throws Bad state exception (in my environment).
flutter --vesion:
Flutter 2.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 60bd88df91 (34 hours ago) • 2021-03-03 09:13:17 -0800
Engine • revision 40441def69
Tools • Dart 2.12.0

Sorry, I should us getSingleOrNull(). I'll Close this issue.

thanks for this comment, it helped me fix my own Bad State issue with getSingleOrNull()


By default use default system paths for SSL CA

Currently SSL verification only works if you explicitly set the ca_trust_path on a connection. If i try to connect without setting it, i get an error that it can't establish SSH trust (with verification) even though the CA certificate is in my system's CA store (/etc/pki/tls/cert.pem).
If i explicitly set ca_trust_path: '/etc/pki/tls/cert.pem', then the connection works just fine with SSL verification enabled.
It looks like in order to support looking for CA certs in the default system paths, we would need to call
@httpcli.ssl_config.set_default_paths

Here, i think? https://github.com/WinRb/WinRM/blob/master/lib/winrm/http/transport.rb#L26
Reference: https://makandracards.com/makandra/50532-making-httpclient-use-the-operating-system-s-ssl-cert-store
If this sounds reasonable, i'll happily make a PR!

Yes that sounds good @nmaludy


Frontpage images are not served over https

We moved the frontpage images off imgur, but apparently they are still not loaded over https. We should fix that. Probably just a flag in the react-cloudinary Image components somewhere.

This took a surprising amount of digging... but yes, looks like you can set secure: true.


[AI Agent idea] Word Synonym Finder

Description
This AI Agent takes a word as user input and returns a synonym for it.
Additional Information
Create an AI Agent for the above use-case on Illa Cloud.

/assign @Rutam21


Consider using union types for function return expressions

Via #919
Even with union types, we still require that a best common type can be selected from the types of the return expressions in a function:
function fn() { // Error, return expressions do not have a BCT
  if(x) {
    return 'foo';
  } else {
    return 42;
  }
}

If this is the desired behavior, the user must write
function fn(): number|string {

This is inconsistent with how we're treating other cases, e.g. var x = [1, 'foo']; produces an Array<number|string>.
Is the desired behavior here that we infer a more complex union type return type for a function, or that we enforce a consistent set of return expression types when no other information is given?

Everyone seems to like the current behavior.

Perhaps we should reconsider this in the context of yield expressions in a generator. Ideally yield expressions should be subject to the same rules as return expressions, with respect to common type / union type. For someone using generators to model async/coroutine style programming, it is quite common to yield several unrelated types from a generator. For context, see https://github.com/Microsoft/TypeScript/issues/2873#issuecomment-97624632 and https://github.com/Microsoft/TypeScript/issues/2873#issuecomment-97084410.
Our three options are:

Infer union types for both return and yield expressions
Do not infer union types
Infer union types for yield expressions, but not return expressions.


The upsteam package pywin32 latest version 226 has an issue

Hi Rick,
Thanks for your work on PortALocker!
Its upsteam package pywin32's latest version 226 has an issue
https://github.com/mhammond/pywin32/issues/1439
which has ripple effects in all the downstream packages that currently , including popular Microsoft Azure SDK package https://github.com/Azure/azure-sdk-for-python/issues/8573
As the direct dependent of pywin32, would you consider to issue a temporary patch to pin pywin32<=225?
CC: @chlowell

I'll do you one better, I've blacklisted the 226 release so a newer version will be installed automatically not never 226 :)

Thanks Rick (@WoLpH ) for the super fast response! It would be great if you release this soon and then leave a message here so that @chlowell and I would know how to guide our end users.

@rayluo it's on pypi now :)


changed number of role-assignable and nesting

The actual maximum number of role-assignable groups are 251
Nesting of groups is possible. I have created a matrix of the possible nesting at https://managedpriv.com/blog/azure-ad-group-nesting/

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

Hi @canix1
Thanks for your contribution. I just wanted to give you a status update. I've let the team know about this and they are still checking.
thanks

Thanks @rolyon for letting me know!

We'll close the pull request per author comment. Thanks.


[dynamic links] Firebase dynamic links not tracking app installs

I have the same issue with this question.
https://stackoverflow.com/questions/53514499/firebase-dynamic-links-not-tracking-app-installs

Hi @rafekun
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter or flutterfire pluggin  itself,
if you disagree please write in the comments and I will reopen it
Thank you


Different results scikit-bio and ecodist for mantel test

I was running a mantel test in scikit-bio 0.4.2 and R's ecodist 1.2.9.
In R, I coded my binary data to two vectors, and then converted it to a binary distance matrix, pred, and loaded my UniFrac distance matrix, uwu.
> mantel(uww ~ case_ctrl, nperm=9999)

mantelr
0.0116570037310772
pval1
0.131131131131131
pval2
0.86986986986987
pval3
0.251251251251251
llim.2.5%
0.00271175063811381
ulim.97.5%
0.0211857644949996

I ran the same thing in scikit-bio, using the same two distance matrices.
>>> skbio.stats.distance.mantel(case_control_dm, unweighted, method='spearman')
(0.030750695058043068, 0.01, 322)

Can you please post some example data that reproduces the issue?

It looks like you're running a Pearson Mantel test in R and a Spearman Mantel test in scikit-bio. Can you try comparing results using the same correlation coefficient?

@jwdebelius, can you confirm there is a discrepancy between scikit-bio and ecodist? We're having a release on June 7 so would be good to know if this is a bug or if the issue can be closed.

@jairideout: I will update you by tomorrow. I remember running with pearson R and still seeing the discrepancy, but I will track down and let you know. Sorry for the delay.

I can't reproduce the error. So, I must have done something wrong that day.

Thanks for verifying!


Fix typo in README

I introduced a tiny typo in #1. Sorry for that. It's probably better to fix it in order to not confuse people.

Awesome, thank you @hannesbraun
I just checked double that it's clean in the codebase, which is the most important part!


[SUGGESTIONS] - Code Review by Tom W

Tom Willis
3:51 PM
Biju, will Steven Hovland be performing a review of the code?  I do see that Chetan has finished their review with no findings.
Yes, he is planning to wrap this sometime this Sprint
Tom Willis
4:11 PM
in test_generator.py, did you mean to leave that pass at the bottom of the last test?
Yes, PR raised to cleanup
Tom Willis
4:54 PM
in code-analysis.yml, what about upping minimum_coverage in line 40 to something like 65 since your coverage is higher than that at 67%?
Yes, PR raised to update this
Tom Willis
[5:04 PM]
Since you will use Renovatebot, your dependencies should stay clean. Do you plan on letting the `bot merge minor and patch updates if the tests pass?
Yes, I can enable that, might need your help in configuring that.
Tom Willis
5:25 PM
Line 6 in requirements.txt is slack-sdk==3.12.  which is a little weird with the trailing . but it seems to work
Yes, PR raised to update this

All suggestions are implemented


Some area not scroll-able in landscape on iOS and Android

The text seems to be on the left of the screen and there is empty space on the right. If the user tries to use the white space on right of the scrollbar, they're not able to scroll the page up and down.
Highlighted area in the screenshots is not scroll-able.
Android 10 on a large screen leaves a lot of space on the right. iPhone Plus might have similar issue.
Android 8.1.0 on Samsung Galaxy
Android 10 on OnePlus 7
iOS 13.5.1 on iPhone 7

Samsung Galaxy J3 Prime
Android version 7.0
App version: 1.0 (47)
Same issue for both COVID Alert is off/Active screens as mentioned above.

Combined landscape orientation issues here https://github.com/cds-snc/covid-shield-mobile/issues/701


Empty strings are filtered out

Describe the bug
DynamoDB allows storing empty strings as a value for both String and Map (nested string) data types. However, onetable filters out fields with empty string https://github.com/sensedeep/dynamodb-onetable/blob/main/src/Expression.js#L661

table.getModel('Foo').update({
  pk,
  sk,
  foo: {
    foo: 'foo'
    bar: ''
  }
})

// results in
// foo:{ foo: 'foo' }

Actual

Expected

Version
2.5.1

Can you test with the latest release and create a debug.ts reproduction so we can dig into this.


Automatically handle "multiPlatformEnabled" option in JVM compilation analysis tasks

Related to #4465
Fixes #7533 (tested locally - we need tests added eventually, should cover under #7421).

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 8d6da5834cd1e23fff9733098a4bf35054b0ab45


Add support for outline-minor-faces

See: https://github.com/tarsius/outline-minor-faces

looks fine from what I can see here, could you provide a screenshot of the changes?

Hi there,
Sure thing (Left with the change; right without):
Latte:

Mocha:

ah perfect! It looks amazing thanks! <3


"atomic_wide_counter_struct(unnamed_at/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident

Unable to build rb-sys on openSUSE Tumbleweed. Downgrading clang16 to clang15 doesn't help.
~/rb-sys$ git log
commit 799f021b46e83487aa272ee4318bb24bbe6dcc60 (HEAD -> main, tag: v0.9.75, origin/main, origin/HEAD)
Author: Ian Ker-Seymer<EMAIL_ADDRESS>Date:   Wed Apr 26 23:40:26 2023 -0400

    Bump to v0.9.75
~/rb-sys$ cargo build
......
  thread 'main' panicked at '"__atomic_wide_counter_struct_(unnamed_at_/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident', /home/zhichyu/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.56/src/fallback.rs:811:9
......

In the /usr/include/bits/atomic_wide_counter.h:
typedef union
{
  __extension__ unsigned long long int __value64;
  struct
  {
    unsigned int __low;
    unsigned int __high;
  } __value32;
} __atomic_wide_counter;

Thanks for the report, I think the easiest fix here will be to disable atomic.h on opensuse (in the same way we do for Windows).

@ianks Disabling atomic.h with following patch doesn't help.
diff --git a/crates/rb-sys-build/src/bindings.rs b/crates/rb-sys-build/src/bindings.rs
index 748276d..abf8f43 100644
--- a/crates/rb-sys-build/src/bindings.rs
+++ b/crates/rb-sys-build/src/bindings.rs
@@ -38,12 +38,6 @@ pub fn generate(

     let mut wrapper_h = WRAPPER_H_CONTENT.to_string();

-    if !is_msvc() {
-        wrapper_h.push_str("#ifdef HAVE_RUBY_ATOMIC_H\n");
-        wrapper_h.push_str("#include \"ruby/atomic.h\"\n");
-        wrapper_h.push_str("#endif\n");
-    }
-
     let bindings = default_bindgen(clang_args)
         .header_contents("wrapper.h", &wrapper_h)
         .allowlist_file(".*ruby.*")

I noticed the following piece of cargo build output:
......
[rb-sys 0.9.75] Using bindgen with clang args: ["-I/usr/include/ruby-3.2.0", "-I/usr/include/ruby-3.2.0/x86_64-linux-gnu", "-fms-extensions", "-O3", "-fno-fast-math", "-ggdb3", "-Wall", "-Wextra", "-Wdeprecated
-declarations", "-Wdiv-by-zero", "-Wduplicated-cond", "-Wimplicit-function-declaration", "-Wimplicit-int", "-Wmisleading-indentation", "-Wpointer-arith", "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit
-fallthrough=0", "-Wmissing-noreturn", "-Wno-cast-function-type", "-Wno-constant-logical-operand", "-Wno-long-long", "-Wno-missing-field-initializers", "-Wno-overlength-strings", "-Wno-packed-bitfield-compat",
"-Wno-parentheses-equality", "-Wno-self-assign", "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value", "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn", "-Wunused-variable", "-W
undef"]
......
[rb-sys 0.9.75] cargo:rerun-if-changed=/usr/include/bits/atomic_wide_counter.h
......

atomic_wide_counter.h seems be still handled by proc-macros2 after disabling aotmic.h.

Duplicated with #198.
I'm able to build rb-sys with clang 16 and clang 15 on OpenSUSE Tumbleweed with following patch:
diff --git a/crates/rb-sys-build/Cargo.toml b/crates/rb-sys-build/Cargo.toml
index 5e7cb00..87f9c23 100644
--- a/crates/rb-sys-build/Cargo.toml
+++ b/crates/rb-sys-build/Cargo.toml
@@ -15,7 +15,7 @@ doctest = false
 [dependencies]
 regex = "1"
 shell-words = "1.1"
-bindgen = { version = "0.60", default-features = false, features = ["runtime"] }
+bindgen = { version = "0.65", default-features = false, features = ["runtime"] }
 cc-impl = { version = "1.0", optional = true, package = "cc" }
 syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
 quote = "1.0"

That's great to hear! FWIW, the next (breaking) version of rb-sys will officially support clang 16 and bump our MSRV policy. So you should be able to remove the patch then. Thanks for the report!


Settings

Player should be able to choose which keys to use when playing the game.

How does one enter the settings mode?

Maybe add a volume setting?

Screen Size (The SPRITE_SCALING variable would have to change accordingly)

Difficulty


Support | operator (Union) in PydanticRecursiveRef

Change Summary
Adds __or__ and __ror__ methods to PydanticRecursiveRef so that a | b returns a typing.Union.
Related issue number
Closes https://github.com/pydantic/pydantic/issues/7875
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review


[ko] Added kubernetes-cluster-architecture.svg in content/ko/docs/concepts…

Description:
Updated /docs/ko/concepts/architecture/_index.md and added kubernetes-cluster-architecture.svg in /static/images/docs.
Page to Update:
https://kubernetes.io/docs/ko/concepts/architecture/

Hi @jihoon-seo @divya-mohan0209, Please review this PR.


Jellyfin media source

It's been a while and jellyfin just pushed out a massive update. The API might be easier now to implement. Just wanted to bring it to your attention

This would be awesome!

Closing this as i already have this in #49


improve the README examples of array/base/assert namespace

Resolves #1545
Description

What is the purpose of this pull request?

This pull request:

improves the readme examples of https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert namespace and updates https://github.com/stdlib-js/stdlib/blob/develop/lib/node_modules/%40stdlib/array/base/assert/examples/index.js

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #
fixes #

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@Planeshifter had to run the push with --no-verify as you told. Please review. Thanks!


Input text align

Input text align in table component.

@nodejswork there are a lot of changes unrelated to Input text alignment, can you cherry pick 468389c?


Add ObjectPool<StringBuilder> to default services

can now use pooled StringBuilders to address aspnet/HttpAbstractions#561 and similar issues

nit: Fix incomplete test noted when adding new one

/cc @Tratcher @muratg

Do not merge this until we see how aspnet/HttpAbstractions#561 looks.

:up::date: and aspnet/HttpAbstractions#587 is out.

@davidfowl Gag check?

This is odd. I'm not sure this makes sense.

@davidfowl - what do you propose? Use a static pool? That might make the most sense if we're talking about HttpAbstractions/WebUtilities

Yes, I was going to suggest a static pool for something like this with optional overloads to pass in a pool into whatever method is there (low level method).

I was going to suggest a static pool

Let's discuss this offline. We already have at least one other pattern for ObjectPool<T> use in other repos. Would rather move ahead w/ the general guidance on when to use what (and what to use when) in place.

Will move instantiation of the pool to Kestrel as decided offline.


Some physical interactions (but not all) showing in duplicate

Some interactions are duplicated.  See sad1, https://github.com/pombase/pombase-chado/issues/632

we'll keep this in the "public release" set but it isn't critical....

in fact, you can do it soon after. People will benefit more from P2 than waiting for this fix...

Labelled as a bug to keep it high priority afterwards.

Val, from the Chado issue:

BUT, that we don't need to do this for self-self binding .

Yep!  Thanks for the hint.
The code adds each interaction annotation to the bait gene page and the prey gene page so it gets added twice if the bait and prey are the same.  I'm testing the fix now and will check it after Friday night's load.


Syntax error when closing bracket and closing parenthesis are on different lines

I seem to be getting a syntax error SyntaxError:  missing ) after argument list with the following code:
Promise.resolve('finished').then(function(result){
  console.log(result)
}
)

But if I put the closing bracket and parenthesis on the same line, there's no error:
Promise.resolve('finished').then(function(result){
  console.log(result)
})

I'm running Mancy v2.1.0 on OSX 10.11.1.
(thanks for making Mancy btw, it's great)

@Darkle Can you able to reproduce it consistently?

Yeah:

Here are my settings:

I just tried it with the Babel Transform setting enabled and the error no longer occurs.

@Darkle thanks, let me look into that

@Darkle looks like node's repl is throwing same error(Mancy is backed up node's repl)

@Darkle can you raise ticket in node repository?

Sure thing: https://github.com/nodejs/node/issues/4060

@Darkle this issue is fixed as part of #79 ticket.


Treat compiler warnings as errors

We should guard against integrating code that introduces new warnings. There are few enough existing warnings that it's worth just fixing them in the process.
Changes

Build ngen C++ with -Werror
Build ngen C with -Werror
Fix the few warnings that appear

Notes

It's rather important that we're using fixed versions of the underlying toolchain, so that reported warnings aren't a moving target except at update time.

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[x] Reviewers requested with the Reviewers tool :arrow_right:

Target Environment support

[x] Ubuntu Linux 20.04 / gcc on Github CI
[x] macOS 12 with AppleClang 14 on Github CI

This'll need updates from NOAA-OWP/evapotranspiration#35 and NOAA-OWP/topmodel#47

PET update in PR #785

Topmodel update in that PR too

Looks like there's another round of changes to Topmodel that'll be necessary to get this through.

My mistake in finding it earlier was apparently in not building with -O1 which does a bit more control and data flow analysis while compiling.

I'm inclined to pick a core set of tests which we would like to run on latest, perhaps without -Werror, just to help keep an eye on upgrade paths and what is/isn't working on newer tool chains.

I'm inclined to pick a core set of tests which we would like to run on latest, perhaps without -Werror, just to help keep an eye on upgrade paths and what is/isn't working on newer tool chains. We can setup an explicit workflow for these. I don't think it is worth running all the various tests, but maybe just the core unit tests as early indicators.

I'd be open to adding something like that. I was actually planning to open a follow-on PR trial the switch to Ubuntu 22.04, knowing that it will fail everything right now.

Let's open an issue for tracking a latest build CI workflow for a subset of tests, and we can work off that and get this merged.  We should probably also check our documentation on supported tool chains and make sure it is consistent.  Another issue we may want to open is a plan for CI upgrades.


load message : runtime error: slice bounds out of range

Hello!
I try to load message after id using
wac.LoadMessagesAfter(k +<EMAIL_ADDRESS>v ,0)
everything is okey. but if message id doesn't exist, I have error

how can I fix it?

@ggrikgg could you please verify that your issue is resolved via #185?

yes. now it works good. thank you


Not able to run mapping_visu.py in Ubuntu 20.04 (python 3.8)

Hi,
I'm trying to use mapping_visu.py, but I run into the following issue.

data.jsonl seems not generated when I ran python mapping_visu.py --outputFolder /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1. Therefore, the following error shows up when trying to replay it:

$ python mapping_visu.py --dataFolder /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1
Starting replay
SpectacularAI ERROR: Could not open /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1/data.jsonl.

mapping_visu.py --dataFolder also ran into the following error message.

Stack trace (most recent call last):
#26   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#25   Object "python3", at 0x5fa5cd, in _start
#24   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f31899000b2, in __libc_start_main
#23   Object "python3", at 0x6b736c, in Py_BytesMain
#22   Object "python3", at 0x6b6fe1, in Py_RunMain
#21   Object "python3", at 0x67e816, in PyRun_SimpleFileExFlags
#20   Object "python3", at 0x67e470, in
#19   Object "python3", at 0x67e3ce, in
#18   Object "python3", at 0x67e350, in
#17   Object "python3", at 0x68d046, in PyEval_EvalCode
#16   Object "python3", at 0x569399, in _PyEval_EvalCodeWithName
#15   Object "python3", at 0x570673, in _PyEval_EvalFrameDefault
#14   Object "python3", at 0x5f3e1d, in _PyObject_MakeTpCall
#13   Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187edb1d6, in
#12   Object "python3", at 0x5a7a06, in
#11   Object "python3", at 0x59c747, in
#10   Object "python3", at 0x5f3546, in PyObject_Call
#9    Object "python3", at 0x50b157, in
#8    Object "python3", at 0x5f3e1d, in _PyObject_MakeTpCall
#7    Object "python3", at 0x5f3988, in PyCFunction_Call
#6    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187eddf8d, in
#5    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f01955, in
#4    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f2f3c9, in spectacularAI::Replay::Builder::build()
#3    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f2d5a4, in
#2    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187e65166, in
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f31898fe858, in abort
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f318991f03b, in gsignal
Aborted (Signal sent by tkill()<PHONE_NUMBER>601537)
Aborted (core dumped)

2.1. Similar issue persists when ran python depthai_combination.py
[14442C1031F8F5D000] [1.3] [1404.845] [SpatialDetectionNetwork(10)] [warning] Neural network inference was performed on socket 'RGB', depth frame is aligned to socket 'RIGHT'. Bounding box mapping will not be correct, and will lead to erroneus spatial values. Align depth map to socket 'RGB' using 'setDepthAlign'.
SpectacularAI ERROR: /__w/vio/vio/src/api/../util/allocator.hpp:36
Stack trace (most recent call last) in thread 176467:
#9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#8    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897e89162, in clone
#7    Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fb897d4f608, in
#6    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88eb33c0f, in
#5    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88e38b7ea, in
#4    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df4dfb3, in
#3    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df649d0, in
#2    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df64941, in
#1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897d8c858, in abort
#0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897dad03b, in gsignal
Aborted (Signal sent by tkill()<PHONE_NUMBER>601537)
Aborted (core dumped)

python pen_3d.py  has the following issue. Not sure if these are related or not:

Stack trace (most recent call last):
#31   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc1ec, in
#30   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
#29   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in
#28   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b92634, in
#27   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d633b, in
#26   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d1490, in
#25   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b9179c, in
#24   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
#23   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in
#22   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc1ec, in
#21   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
#20   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in
#19   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43a842e4, in
#18   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d633b, in
#17   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d1490, in
#16   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43a8703f, in
#15   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b0e835, in gtk_render_layout
#14   Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827f207, in
#13   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853dd03, in pango_renderer_draw_layout
#12   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853d938, in pango_renderer_draw_layout_line
#11   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853ce12, in pango_renderer_draw_glyph_item
#10   Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827ee3c, in
#9    Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827ec1a, in
#8    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b37e7d5, in cairo_show_glyphs
#7    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b329604, in
#6    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b326501, in
#5    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b36ff98, in cairo_surface_get_font_options
#4    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b399c43, in
#3    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b3971a7, in
#2    Object "/lib/x86_64-linux-gnu/libX11.so.6", at 0x7fad5dd38ca9, in XGetDefault
#1    Object "/lib/x86_64-linux-gnu/libX11.so.6", at 0x7fad5dd5d51e, in XrmQGetResource
#0    Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fad8dc70fc4, in pthread_mutex_lock
Segmentation fault (Address not mapped to object [0x10])
Segmentation fault (core dumped)

Environment
Linux ~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Any help will be appreciate! Thank you!

Could not reproduce. Reopen if the problem persists / reappears.


Update Discord-Spam-Script.ahk

I won't approve personal changes for the main branch. Feel free to keep it on your fork


DOC: fix Notes section of special.ellipj docstring

The incomplete elliptic integral of the first kind was
referred to as ellipk(phi, m) and I am changing it
to ellipkinc(phi, m).

Hm looks like the original lines were copied from the Cephes documentation, which reads:
 * Relation to incomplete elliptic integral:
 * If u = ellik(phi,m), then sn(u|m) = sin(phi),
 * and cn(u|m) = cos(phi).  Phi is called the amplitude of u.

However, the fact that ellik in Cephes refers to the incomplete elliptic integral instead of the complete one was lost.

Looks good, thanks @lhilt.


Fixed #14036 - add two new options to the exec command

-e, --env=[]               Set environment variables
--env-file=[]              Read in a file of environment variables

Fixed #14036
Signed-off-by: Henry Huang<EMAIL_ADDRESS>

Add two new options in exec command, similar usage to run command, also with some integration-cli tests.
-e, --env=[]               Set environment variables
--env-file=[]              Read in a file of environment variables

The environment variables provided in exec command will not clear the variables directly in the container, but replace the existing one or append for new one, as the func "ReplaceOrAppendEnvValues" re-used here (same to run, in docker/utils). For example,
# docker exec CONTAINER1  env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=bdc64e485829
HOME=/root

# cat env.file
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

# docker exec --env-file env.file nginx env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
HOSTNAME=bdc64e485829
HOME=/root

# docker exec -e "TEST=H" -e "HOSTNAME=xxx" CONTAINER1  env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
HOSTNAME=xxx
TEST=H
HOME=/root

Please help review it.

ping @crosbymichael - any reason not to do this?

I saw the comments from @cpuguy83

hmm... Not sure I see the technical reason to actually include this.

docker exec is a hack to break into a container.
It's purposefully designed to put you in the exact env as the container was started with.

--env will help the troubleshoot on the container more flexible and easier.
If you have concern about changing the environment variables for the runtime application, I could update my code to support the inpersistent way:

env changed only for exec command execution, and will keep the runtime app in the same env.

what about yours: @duglin @crosbymichael @LK4D4 ?

If we can make it so that the envs specified on the exec commands are local to just that one exec (which is what I think people would expect) then the design SGTM.  I can see this being useful if your debug tooling needs certain env vars set in order to run properly.

Tagging this. I need to add to the Windows exec driver too

@henrysher sorry about late notice, we decided to not accept more flags on exec: https://github.com/docker/docker/blob/master/ROADMAP.md#21-docker-exec
Also, the corresponding issue was already closed.


Support code API

The sidekick currently defaults to the preview and live admin APIs. When surfing code files (JS, CSS), it could be helpful to be able to use actions from the code API when clicking Reload or Publish.

:tada: This issue has been resolved in version 3.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix the bare url and the Summary of http://semver.org

Signed-off-by: yupengzte<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

thanks!