.Net: [Handlebars Planner] InsufficientFunctionsForGoal is thrown too often without the need to do so.

Describe the bug
As soon as there is a boolean-function as a plugin available like 'areLawsAvailable' the planner starts to create 'Additional helpers may be required' branches which then lead to exceptions. Currently every second attempt results in an exception which is a challenging user experience. The plan is perfectly fine and could be executed. Trying to inject things like "Never ever include 'Additional helpers may be required'." did not help.
To Reproduce
Steps to reproduce the behavior:

Create a plugin with two functions. One that returns a boolean that could used for a conditional check. One to execute an action. For example only turn on the light-bulb if the light-bulb was set to off. So canLightBulbTurnedOff and turnLightBulbOff.
Register the plugin
Let the Agent/LLM create a plan
See error

Expected behavior
Please remove this instruction from the template or give us a way to handle that properly. For example if the template should include such a part. Or let us customize the template.
Platform

OS: Windows
IDE: Visual Studio 2022
Language: C#
Source: Microsoft.SemanticKernel.Planners.Handlebars 1.0.1-preview
API: OpenAI
GPT-Model: gpt-4-1106-preview and gpt-3.5-turbo

Additional context
The generated plan:
{{!-- Step 1: Retrieve the current chat history --}}
{{set "chatHistory" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentChatHistory)}}

{{!-- Step 2: Retrieve the user's language --}}
{{set "userLanguage" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentUserLanguage)}}

{{!-- Step 3: Get the intent of the user --}}
{{set "userIntent" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentIntent)}}

{{!-- Step 4: Find related laws based on the user's intent --}}
{{set "relatedLaws" (SomeApp_Knowledge_LawLookupPlugin-Find input=userIntent)}}

{{!-- Step 5: Check if any related laws were found --}}
{{set "areLawsAvailable" (SomeApp_Assistant_AssistantContextPlugin-AreLawsForPromptAvailable)}}

{{!-- Step 6: Generate the final message using AssistantPlugin-Chat with all the necessary information --}}
{{#if areLawsAvailable}}
{{set "finalMessage" (SomeApp_Assistant_AssistantPlugin-Chat input=chatHistory language=userLanguage  lawsAsSingleLine=(SomeApp_Assistant_AssistantContextPlugin-GetLawsForPrompt))}}
{{else}}
{{set "additionalInfo" "Additional helpers may be required"}}
{{/if}}

{{!-- Step 7: Output the final message or a message indicating that additional helpers are needed --}}
{#if finalMessage}}
{{json finalMessage}}
{{else}}
{{json additionalInfo}}
{{/if}}

The error response from my API:
{
  "status": "error",
  "isSuccess": false,
  "code": 500,
  "error": {
    "code": "KernelException",
    "message": "[InsufficientFunctionsForGoal] Unable to create plan for goal with available functions.\nGoal: This is the detected intent: Der Benutzer möchte wissen, was in Art. 4 des Gesetzbuches steht. Ensure that you call SomeApp_Assistant_Plugin-Chat at the end as this will produce the final message! Ensure to provide her the chat history. Create a proper handlebars template as instructed under any circumstances!\nAvailable Functions: SomeApp_Assistant_AssistantContextPlugin-GetVerdictsForPrompt, SomeApp_Assistant_AssistantContextPlugin-AreVerdictsForPromptAvailable, SomeApp_Assistant_AssistantContextPlugin-GetLawsForPrompt, SomeApp_Assistant_AssistantContextPlugin-AreLawsForPromptAvailable, SomeApp_Assistant_AssistantContextPlugin-GetCurrentUserLanguage, SomeApp_Assistant_AssistantContextPlugin-GetCurrentChatHistory, SomeApp_Assistant_AssistantContextPlugin-GetCurrentIntent, SomeApp_Assistant_Plugin-Chat, SomeApp_Knowledge_CourtLookupPlugin-Find, SomeApp_Knowledge_LawLookupPlugin-Find, SomeApp_Assistant_TranslatePlugin-Translate, SomeApp_Assistant_SummarizePlugin-Summarize, SomeApp_StringOperations_StringPlugin-ConvertToSingleLine\nPlanner output:\n```handlebars\n{{!-- Step 1: Retrieve the current chat history --}}\n{{set \"chatHistory\" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentChatHistory)}}\n\n{{!-- Step 2: Retrieve the user's language --}}\n{{set \"userLanguage\" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentUserLanguage)}}\n\n{{!-- Step 3: Get the intent of the user --}}\n{{set \"userIntent\" (SomeApp_Assistant_AssistantContextPlugin-GetCurrentIntent)}}\n\n{{!-- Step 4: Find related laws based on the user's intent --}}\n{{set \"relatedLaws\" (SomeApp_Knowledge_LawLookupPlugin-Find input=userIntent)}}\n\n{{!-- Step 5: Check if any related laws were found --}}\n{{set \"areLawsAvailable\" (SomeApp_Assistant_AssistantContextPlugin-AreLawsForPromptAvailable)}}\n\n{{!-- Step 6: Generate the final message using Plugin-Chat with all the necessary information --}}\n{{#if areLawsAvailable}}\n  {{set \"finalMessage\" (SomeApp_Assistant_Plugin-Chat \n    input=chatHistory \n    language=userLanguage \n    lawsAsSingleLine=(SomeApp_Assistant_AssistantContextPlugin-GetLawsForPrompt)\n  )}}\n{{else}}\n  {{set \"additionalInfo\" \"Additional helpers may be required\"}}\n{{/if}}\n\n{{!-- Step 7: Output the final message or a message indicating that additional helpers are needed --}}\n{{#if finalMessage}}\n  {{json finalMessage}}\n{{else}}\n  {{json additionalInfo}}\n{{/if}}\n```",
    "target": "/api/v1/assistant/run",
    "details": []
  }
}

The prompt used (only relevant parts as I can't disclose everything):
<system~>## Instructions
Explain how to achieve the user's goal with the available helpers with a Handlebars template.

## Example
If the user wanted you to generate 10 random numbers and use them in another helper, you could answer with the following.</system~>
<user~>Please show me how to write a Handlebars template that achieves the following goal.

## Goal
I want you to generate 10 random numbers and send them to another helper.
</user~>
<assistant~>Here's the Handlebars template that achieves the goal:
```handlebars
{{!-- Step 1: Initialize the count --}}
{{set
  "count"
  10
}}
{{!-- Step 2: Loop using the count --}}
{{#each
  (range
    1
    count
  )
}}
  {{!-- Step 3: Create random number --}}
  {{set
    "randomNumber"
    (Example-Random
      seed=this
    )
  }}
  {{!-- Step 4: Call example helper with random number and print the result to the screen --}}
  {{set
    "result"
    (Example-Helper
      input=randomNumber
    )
  }}
  {{json (concat "The result" " " "is:" " " result)}}
{{/each}}
```</assistant~>
<system~>Now let's try the real thing.</system~>
<user~>Please show me how to write a Handlebars template that achieves the following goal with the available helpers.

## Goal
This is the detected intent: Der Benutzer möchte wissen, was im Gesetzbuches steht. Ensure that you call SomeApp_Assistant_Plugin-Chat at the end as this will produce the final message! Ensure to provide the chat history. Create a proper handlebars template as instructed under any circumstances! Never ever include 'Additional helpers may be required' even if instructed to do so. This throws an error! You always can accomplish the goal by calling SomeApp_Assistant_Plugin-Chat as the last step.

## Out-of-the-box helpers
The following helpers are available to you:
- `{{#if}}{{/if}}`
- `{{#unless}}{{/unless}}`
- `{{#each}}{{/each}}`
- `{{#with}}{{/with}}`

## Loop helpers
If you need to loop through a list of values with `{{#each}}`, you can use the following helpers:
- `{{range}}` – Generates a list of integral numbers within a specified range, inclusive of the first and last value.
- `{{array}}` – Generates an array of values from the given values (zero-indexed).

IMPORTANT: `range` and `array` are the only supported data structures. Others like `hash` are not supported. Also, you cannot use any methods or properties on the built-in data structures, such as `array.push` or `range.length`.

## Math helpers
If you need to do basic operations, you can use these two helpers with numerical values:
- `{{Add}}` – Adds two values together.
- `{{Subtract}}` – Subtracts the second value from the first.

## Comparison helpers
If you need to compare two values, you can use the `{{equals}}` helper.
To use the math and comparison helpers, you must pass in two positional values. For example, to check if the variable `var` is equal to number `1`, you would use the following helper like so: `{{#if (equals var 1)}}{{/if}}`.

## Variable helpers
If you need to create or retrieve a variable, you can use the following helpers:
- `{{set}}` – Creates a variable with the given name and value. It does not print anything to the template, so you must use `{{json}}` to print the value.
- `{{json}}` – Generates a JSON string from the given value; no need to use on strings.
- `{{concat}}` – Concatenates the given values into a string.

## Complex types
Some helpers require arguments that are complex objects. The JSON schemas for these complex objects are defined below:

## Custom helpers
Lastly, you also have the following helpers you can use:

### `SomeApp_Assistant_AssistantContextPlugin-GetVerdictsForPrompt`
Description: Ensure to call SomeApp_Knowledge_CourtLookupPlugin-Find before using this function otherwise it will throw an error. Returns previous found verdicts as a single line string.
Inputs:
Output: String

### `SomeApp_Assistant_AssistantContextPlugin-AreVerdictsForPromptAvailable`
Description: Returns if any verdicts where found. Ensure to call SomeApp_Knowledge_FederalCourtLookupPlugin-Find before otherwise it returns always false.
Inputs:
Output: Boolean

### `SomeApp_Assistant_AssistantContextPlugin-GetLawsForPrompt`
Description: Ensure to call SomeApp_Knowledge_LawLookupPlugin-Find before using this function otherwise it will throw an error. Returns previous found laws as a single line string.
Inputs:
Output: String

### `SomeApp_Assistant_AssistantContextPlugin-AreLawsForPromptAvailable`
Description: Returns if any laws where found. Ensure to call SomeApp_Knowledge_LawLookupPlugin-Find before otherwise it returns always false.
Inputs:
Output: Boolean

### `SomeApp_Assistant_AssistantContextPlugin-GetCurrentUserLanguage`
Description: Returns the language of the user. Useful to write or translate an answer to the users language.
Inputs:
Output: String

### `SomeApp_Assistant_AssistantContextPlugin-GetCurrentChatHistory`
Description: Returns the current chat history. Useful if the chat history is required.
Inputs:
Output: String

### `SomeApp_Assistant_AssistantContextPlugin-GetCurrentIntent`
Description: Returns the current intent. Useful if the current overall goal is needed.
Inputs:
Output: String

### `SomeApp_Assistant_Plugin-Chat`
Description: Helpful paralegal. She helps to understand jurisprudence and is a chat assistant. She creates an answer based on a conversation with additional provided knowledge (laws and verdicts). When chained she should be called last to generate the final output for the user.
Inputs:
    - input: String - The chat history. Can either be detailed (message by message) or a summary. (required)
    - language: String - The language to use for the answer. Should be the users current language. (required)
    - shouldExplainInSimpleTerms: Boolean - If the answer should be simplified and explain legal terms. Useful if the user seems not to be a legal expert. Only set this to false if 'shouldExplainInDepth' will be set to true. Defaults to 'true'. (optional)
    - shouldExplainInDepth: Boolean - If the answer should use citations and should not explain legal terms. Useful if the user seems to be a legal expert or a detailed answer is requested. Defaults to 'false'. (optional)
    - verdictsAsSingleLine: String - Verdicts that are related to the input and might apply. (optional)
    - lawsAsSingleLine: String - Laws that are related to the input and might apply. (optional)
Output: String

IMPORTANT: You can only use the helpers that are listed above. Do not use any other helpers that are not listed here. For example, do not use `{{log}}` or any `{{Example}}` helpers, as they are not supported.</user~>
<system~>## Tips and tricks
- Add a comment above each step to describe what the step does.
- Use the `{{set}}` helper to save and retrieve the results of another helper so you can use it later in the template without wasting resources.
- There are no initial variables available to you. You must create them yourself using the `{{set}}` helper.
- Do not make up values. Use the helpers to generate the data you need or extract it from the goal.
- Keep data well-defined. Each variable should have a unique name. Create and assign each variable only once, and always use the full name when calling helpers.
- Do not pass raw data to helpers. Use variables instead.
- Be extremely careful about types. For example, if you pass an array to a helper that expects a number, the template will error out.
- Avoid using loops. Try a solution without before you deploy a loop.
- There is no need to check your results in the template.
- Do not nest sub-expressions or helpers because it will cause the template to error out.
- Each step should contain only one helper call.

## Start
Now take a deep breath and accomplish the task:
1. Keep the template short and sweet. Be as efficient as possible.
2. Do not make up helpers or functions that were not provided to you, and be especially careful to NOT assume or use any helpers or operations that were not explicitly defined already.
3. If you can't fully accomplish the goal with the available helpers, just print "Additional helpers may be required".
4. Always start by identifying any important values in the goal. Then, use the `{{set}}` helper to create variables for each of these values.
5. The template should use the {{json}} helper at least once to output the result of the final step.
6. Don't forget to use the tips and tricks otherwise the template will not work.
7. Don't close the ``` handlebars block until you're done with all the steps.</system~>

This should be possible to fix with prompt engineering once we have partial support to override the template. We'll follow back up with this issue to see if it resolves your issue once it's done.

Hey @Cotspheer, @AieatAssam,
I agree that this error is more restrictive than we intended when we implemented it and have decided to remove this specific handler altogether. Instead, if the planner doesn't have enough functions to fulfill the plan, it should not return a Handlebars template at all and just return a sensical error string.
In your scenarios, the model should schedule an error message if the conditionals are not met.
I have the work in draft here: https://github.com/microsoft/semantic-kernel/pull/4983, will work on merging it once the changes to add more flexibility to the planner goes in: https://github.com/microsoft/semantic-kernel/pull/4918
I also considered adding a custom helper that could throw an error message, but I felt like that could be easily abused by the model — just wanted to bring this up in case you wanted to try it in your scenarios.
registerHelper("reportInsufficientFunctionsError", static (Context context, Arguments arguments) =>
{
    throw new KernelException(HandlebarsPlanner.InsufficientFunctionsError);
});


Slow lunching of GUIs

Windows Version
22H2
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu-22.04
Other Software
GNOME Document Viewer 42.3
gthumb 3.12.0
and probably most other GUIs
Repro Steps
From the terminal I open any of those GUIs, e.g.:
evince &

and it takes about a minute to lunch, it is very responsive once it lunches, but the lunch time is very long.
Expected Behavior
The GUI should open within one second
Actual Behavior
The GUI takes about 50 seconds to open.
Diagnostic Logs
No response

Hi,
I found the solution:
https://github.com/flatpak/xdg-desktop-portal-gtk/issues/72#issuecomment-294448323
it turns out I have to:
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY


Do not leak workspace setting in Stable

Refs: https://github.com/Microsoft/vscode/issues/29433
We should not show hover help and suggest this setting. If a user manually inputs it then it is fine to respect it, so it should just be hidden.

@bpasero We should either not register this as a configuration property or not register it to the schema. In either way we see the warning in settings as not know configuration property. But I think, not registering as a configuration property will also have the side affect of not able to write this property into settings programatically.

@isidorn @sandy081 are you sure this shows up in stable? I added code a while ago here:
if (product.quality !== 'stable') {
	configurationRegistry.registerConfiguration({
		'id': 'workspace',
		'order': 10000,
		'title': nls.localize('workspaceConfigurationTitle', "Workspace"),
		'type': 'object',
		'properties': {
			'workspace': {
				'type': 'object',
				'description': nls.localize('workspaces.title', "Folder configuration of the workspace"),
				'additionalProperties': {
					'anyOf': [{
						'type': 'object',
						'description': nls.localize('files.exclude.boolean', "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."),
						'properties': {
							'folders': {
								'description': nls.localize('workspaces.additionalFolders', "Folders of this workspace"),
								'type': 'array',
								'items': {
									'type': 'string'
								}
							}
						}
					}]
				}
			}
		}
	});
}

@bpasero sorry about that, I did not try in stable. I just made an assumption that we were not smart enought to add a check, though it seems like you already did that.
Closing this, and leaving as a bug so somebody can verify in endgame week


Add executeGroovyScriptWithCommit, Add shortcuts F5 for running commands, Add clearCache, Add fsql format

…ferent commands

https://discordapp.com? Can't add you. It requires four digit tag.
Not aiming for professionalize. Just start using in our company.

mojo2012#2582


Feature Request: FastCGI protocol support in ingress

Is your feature request related to a problem? Please describe.
PHP Applications have to use Apache (slow startup?) or deploy two containers (Nginx + PHP-FPM). It's a pain to have to configure this correctly.
Describe the solution you'd like.
I would like it if the Container App Ingress supported the FastCGI protocol as a "target protocol" or "backend protocol". The nginx ingress controller for k8s already supports this.
Describe alternatives you've considered.

If you want to run a single container, you have to use Apache's httpd
If you want better performance, you have to run two containers, one with Nginx and the other with PHP-FPM.

Additional context.
The official Docker Image for PHP basically gives you the same choices:

This image contains Debian's Apache httpd in conjunction with PHP (as mod_php) and uses mpm_prefork by default.

OR

This variant contains PHP-FPM, which is a FastCGI implementation for PHP. See the PHP-FPM website for more information about PHP-FPM.
In order to use this image variant, some kind of reverse proxy (such as NGINX, Apache, or other tool which speaks the FastCGI protocol) will be required.

I should also note that other languages support FastCGI, so this is not specific to PHP.

Hi, We currently don't have plans to add native support for FastCGI but I added it to our features request backlog.

I've just experienced the same issue when a nginx container is not able to communicate with php container via port 9000 with fastcgi_pass php:9000; in the configuration.

@vienleidl how are your containers deployed? If they are multiple containers in the same app, I think you’ll need to update the config to fastcgi_pass <IP_ADDRESS>:9000; as containers will communicate over localhost.

@vienleidl how are your containers deployed? If they are multiple containers in the same app, I think you’ll need to update the config to fastcgi_pass <IP_ADDRESS>:9000; as containers will communicate over localhost.

Hi Anthony, it's not as multiple containers in the same Container App. I did migrate the current microservices on Azure Multi-Container App Services (Docker Compose) to ACA, each container is responsible for each service within the same Container App Environment. One of them is running NGINX as a reverse proxy for forwarding the requests to other containers, it works well. However, one of them is running PHP-FPM needs to be communicated with other container via FastCGI protocol. The log is like below fyi:
2023-07-12T04:04:00.167612848Z 2023/07/12 04:04:00 [error] 47#47: *51 upstream timed out (110: Operation timed out) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /?doc=xxx&document=xxx HTTP/1.1", upstream: "**fastcgi://<IP_ADDRESS>:9000**", host: "xxx.internal.yellowisland-xxxxxxxx.westeurope.azurecontainerapps.io", referrer: "https://xxx.internal.yellowisland-xxxxxxxx.westeurope.azurecontainerapps.io/?doc=xxx&document=xxx

@vienleidl Can you share the configuration of the fast cgi app? Please confirm it has ingress enabled for TCP and target/external ports set to 9000.

@vienleidl Can you share the configuration of the fast cgi app? Please confirm it has ingress enabled for TCP and target/external ports set to 9000.

Hi Anthony, I've just tested again, now it works well when enabling an internal ingress with TCP and target/exposed port are set to 9000.


[ci] Run Redis in Catnip Pipeline

Description
This PR enables Redis in Catnip pipeline.

Merging this PR as it concerns improvements to the CI.


What's the best way to get Rocket Request headers from GraphQLRequest?

Hi,
I'm wondering if it's possible to get the request headers in this function:
#[rocket::post("/graphql", data = "<request>", format = "application/json")]
async fn graphql_request(schema: &State<MySchema>, request: GraphQLRequest) -> GraphQLResponse {
    request.data(at).execute(schema).await
}

any tips would be greatly appreciated...

Maybe do it like this, I don't know how to use rocket.
#[rocket::post("/graphql", data = "<request>", format = "application/json")]
async fn graphql_request(schema: &State<MySchema>, request: GraphQLRequest, headers: &HeaderMap) -> GraphQLResponse {
    request.data(at).execute(schema).await
}

Ahhh yes. I just had to implement the FromRequest trait:
#[rocket::async_trait]
impl<'r> FromRequest<'r> for AuthToken {
    type Error = ();

    async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error> {
        let authorization_header = request.headers().get_one("Authorization");

        match authorization_header {
            Some(h) => {
                return Outcome::Success(AuthToken {
                    token: h.to_string()
                })
            },
            None => {
                return Outcome::Forward(());
            }
        };
    }
}

#[rocket::post("/graphql", data = "<request>", format = "application/json")]
async fn graphql_request(schema: &State<MySchema>, request: GraphQLRequest, at: AuthToken) -> GraphQLResponse {
    request.data(at).execute(schema).await
}


AQL Parsing via Command-Line Tools

I'm currently writing an ArangoDB driver for Scala and have finished compile-time AQL interpolation that will fail to compile if the AQL query doesn't validate.  However, at the moment I have to connect to an ArangoDB instance in order to do a compile-time check.  It would be far more useful if there were a command-line tool I could call off to in order to validate the query to avoid requiring a running database just to check for well-formed AQL queries.

You are right, parsing a query currently requires a running arangod instance.
We have a function for parsing AQL queries there (without executing them), and this function can likely be moved from the arangod server-only part into the common space so that it can be accessed from both arangod and arangosh. Then you could call the parse function from arangosh without having a running server. But it still needs to be checked whether moving the function is easily possible.

If possible it would be amazing to have a command line tool for querying a JSON file. Something like: ArangoQuery.exe --aql_file file.aql --input_file input.json. This would be very helpful for a lot of reformatting tasks along with validation.

related to https://github.com/arangodb/arangodb/issues/1755

Any updates on this? It's very painful to need a running instance of ArangoDB at compile-time to validate AQL interpolation in my driver.


Kia: Car Port for 'Picanto 2022'

Checklist

[ ] Registered vehicle information in 'values.py' (Fingerprint value not obtained yet -> commented it out now)
[ ] Add vehicle specification to 'interface.py'

Any advice would be much appreciated.

Do you have a dongle ID/route for this car?

Do you have a dongle ID/route for this car?

@sshane No, unfortunately nothing. Just want to contribute for my future car.

Car ports require access to a car. Let's revisit this once you have the car.


Change default RDS instance type to db.t3.small

The current default instance type is db.t2.small, but this is currently deprecated. This change makes it so that db.t3.small is used instead.
The deprecated status is shown at the bottom of the first table on this page

@oavdeev Do you have time to take a look at this please?

@ryewilson Don't you think that actually a db.t3.micro would be enough?

@ryewilson Don't you think that actually a db.t3.micro would be enough?

I changed it to db.t3.small because it was previously db.t2.small, and t3.small is the most similar replacement. I assume there was a reason that db.t2.small was used instead of db.t2.micro.

@ryewilson Yes, I understand that. I would like to know the original justification for using db.t2.small rather than db.t2.micro too. We've been running Metaflow with a db.t3.micro for a couple of days and so far we haven't seen any issues.

@oavdeev Can you merge if it's good to go?


Using PyQ in PyCharm in Windows

Questions

[ ] Which operating system are you using (if Linux, please provide flavour of it, i.e RedHat, CentOS or Ubuntu), is it 32-bit, or 64-bit?
Win 10 64-bit

[ ] Which version of PyQ are you running? Please provide output of  pyq --versions, if PyQ isn't operational, please provide Python interpreter version and PyQ version python -V; python3 -V; pip list | grep pyq:
Python 3.7.7
nothing
pyq 4.2.1
Python is 64-bit

[ ] Which version of kdb+ are you using, is it 32-bit or 64-bit?
3.6
2020.04.16
Win 64-bit

[ ] If on 64-bit, is your QLIC set? Please provide output env | grep QLIC on linux/macOS, or set|grep QLIC on Windows.
QLIC=C:\code\pyqtesting\venv\q

[ ] Did you use virtual environment to install PyQ? If not, why?

Yes

[ ] Where is your QHOME? Please provide output env | grep QHOME on linux/macOS, or set|grep QHOME on Windows.
QHOME=C:\code\pyqtesting\venv\q

[ ] Do you use Conda? If so, what version?
No

Steps to reproduce the issue
In Win10, create a venv and install pyq there. Try using the new env in PyCharm.
According to this issue https://github.com/KxSystems/pyq/issues/61, the way to use pyq through PyCharm is to symlink pyq to python. In Windows there is no pyq executable to link.
Expected result
pyq is usable in PyCharm
Actual result
Can't apply solution from https://github.com/KxSystems/pyq/issues/61
Workaround
If you know workaround, please provide it here.

Not possible at this time. Due to need to press Ctrl+Z during initialization of PyQ on Windows -- this wouldn't be possible even with windows PyQ executable, which doesn't exists for exactly this reason.

But it is possible to run a python script without Ctrl+Z, e.g. something like
q python.q helloworld.py
will print hello world without manual intervention.

I would try to create a batch file, which will launch q python.q with all arguments passed to the PyQ; and attempt to pass it to PyCharm as interpreter.  Or you need to use powershelgl script.
Sorry, I didn't touch Windows in a while... can't really help you much.


Inputs to loader_example that cause assert/abort behavior

Hi,
I used afl-fuzz (American Fuzzy Lop) to fuzz test input to the loader_example program.  It triggered assertions (abort behavior, I believe to be intentional) but no major issues were found.  I wanted to let you know in case these are worth your time to fix.  If not, then please close this issue at your leasire.
Input files and a few example stack traces can be found here: https://github.com/rwhitworth/tinygltf-fuzz/tree/master/2017-07-31

Cool!
Its definitely worth for hardening tinygltf parser.
I will try to fix it(PR is welcome, though)

I did some fixes into devel branch.
Some seg fault happens inside picojson(e.g. id:000062,sig:06,src:000592+000619,op:splice,rep:8), so I may need to fix picojson to pass all fuzzer inputs.

Fixes in recent devel branch.
At least now tinygltf parsing does not abort anymore for given fuzz inputs. Thanks for running fuzzer and reporting!


feat(aws-certificatemanager): add DNSValidatedCertificate

Add a new class to @aws-cdk/aws-certificatemanager called
DNSValidatedCertificate.  This class generates a certificate request
using AWS Certificate Manager and auto-validates the request using the
provided DNS "magic cookie" records.  The user need only supply the
Domain Name of the certificate and a Route 53 Hosted Zone.  A
CloudFormation Custom Resource is used along with the supplied Lambda
function to perform the operation.

Pull Request Checklist

[x] Testing

Unit test added (prefer not to modify an existing test, otherwise, it's probably a breaking change)
CLI change?: coordinate update of integration tests with team
cdk-init template change?: coordinated update of integration tests with team

[x] Docs

jsdocs: All public APIs documented
README: README and/or documentation topic updated

[x] Title and Description

Change type: title prefixed with fix, feat will appear in changelog
Title: use lower-case and doesn't end with a period
Breaking?: last paragraph: "BREAKING CHANGE: <describe what changed + link for details>"
Issues: Indicate issues fixed via: "Fixes #xxx" or "Closes #xxx"

[ ] Sensitive Modules (requires 2 PR approvers)

IAM Policy Document (in @aws-cdk/aws-iam)
EC2 Security Groups and ACLs (in @aws-cdk/aws-ec2)
Grant APIs (only if not based on official documentation with a reference)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

IMPORTANT NOTE
It's unlikely that the included Lambda function will work properly at this time.  We'll need to find a way to run npm install inside the module's subdirectory before zipping it and uploading it to S3 so that its node_modules subdirectory is properly populated.
Does CDK already have some sort of facility to do this?

Build is currently failing because pkglint mistakenly believes it needs to check the package.json in the Lamdba function's subdirectory.  (The devDependencies it thinks are needed are not.)

Thanks for contributing this! This is fantastic.
@sam-goodwin have you got an idea how we deal with the build issues?

@rix0rrr Addressed most of your concerns.  WDYT?

We are currently integrating with the aws-lambda-builders project to provide hooks in the CDK for performing builds of lambda functions, including running npm install and zipping up the folder as an asset.
Once we close #1435, you'll be able to instantiate a function that collaborates with the toolkit to run the isolated build you need. I'm working on this as we speak.
To give you an idea, this will look something like:
new NodeJSLambdaFunction(this, 'MyFunction', {
  path: './lambda',
  .. // etc.
});

That would be sweet! But since building those functions will still be somewhat onerous (dependency and  build-time wise), I'd still prefer if we could leave that feature mostly to user code and could keep the packages in the core libraries ready to deploy with minimal fuss.

@rix0rrr Updated the Lambda function to forego third-party dependencies.  The only issue remaining, to my knowledge, is the test failure caused by the package.json linter.

Hi Michael,
If you don't have any dependencies, then you don't need the package.json anymore, so I'd just get rid of it.

Good point @rix0rrr.  I removed the files, but now the tests are failing due to incomplete coverage.  Something doesn't make sense: it seems unlikely that the coverage fell by over 50% by the mere addition of a single file containing a single construct, which is actually pretty thoroughly tested.
Any thoughts on what might be happening?

OK, digging in a bit more (via npx nyc report --reporter=html), it's not the construct testing itself that's missing - it's the testing of the Lambda function.  I'm going to dive a little deeper to see how best to satisfy the coverage analyzer.

Ideally we'd add a unit test that mocks the SDK and AT LEAST traces a happy path through the Lambda handler. We would be setting a nice precedent for testing Lambdas as well if we did that.

@rix0rrr Thanks for getting the test harness working!
Any other impediments to merging?


Add checks after ResourceLoader::load()

We should not trust the return of ResourceLoader::load() as it may cause the engine to crash after unexpected user usage or in case of bugs.

Thanks!


Run with path to fastqs supplied in config.yaml

Its more convenient for me to have the path to the fastqs specified in the config.yaml.
Then I clone qc-pipe once and reuse. You would need the config file as an extra argument in the run command

I've added a parameter in the config.yaml file where you can specify a custom directory for fastqs you wish to process.
The filename format is a little trickier. You can have the pipeline run bcl2fastq for you, which handles the naming convention. But this doesn't help with cell ranger. I'll add an option to run from the merge lanes step, which should address this (even if it's only a single lane, this will put the files into the right naming format).

The latest commit adds the option to run from the merge lanes step, which will handle the bcl2fastq naming convention. In the config.yaml, you have to specify the input directory (merge_from_dir), the correct number of lanes, as well as include a sample sheet (there's a minimal example sample sheet under .test/bcl_input/SampleSheet.csv). In case of only one lane, it's a bit redundant, but you can treat the merge outputs as intermediary files and delete or zero them out after running the pipeline.
Happy to get any further suggestions/improvements 😃


[entryPoints.https.tls.ClientCA] Problem

Do you want to request a feature or report a bug?
Bug
What did you do?
Usinng configuration below . SSL site defined in entryPoints  works with Client using Browser.But dont work if client doesnot have CA boundle.
https:/www.xxxx.com  On browser works well.
But using
curl -X GET -H '' 'https://www.xxxx.com' like that get an error.

What did you expect to see?
Standalone web site using Apache2.4 with SSL defination work with CURL .. This site  comminicate with port 80 work behind Treafik configured SSL defination Using CURL must be work also.
What did you see instead?
Using CURL (or webhook from dialogflow.com .,aws.)  does not get CA boundle from treafik.
Output of traefik version: (What version of Traefik are you using?)
Final Latest version

on CURL
$ curl -X GET -H '' 'https://www.xxxxx.com/wh/g.php'
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs)

DEBU[2018-09-11T11:12:09+03:00] http: TLS handshake error from 31.xx.xx.122:57286: remote error: tls: unknown certificate authority

What is your environment & configuration (arguments, toml, provider, platform, ...)?
logLevel = "DEBUG"
#logLevel = "ERROR"

#[traefikLog]
#  filePath = "/tmp/logs/traefik.log"
#  format   = "json"

#[accessLog]
#  filePath = "/tmp/logs/access.log"
#  format = "json"

[web]
address = ":8080"
[healthcheck]

defaultEntryPoints = ["http", "https"]
[entryPoints]
  [entryPoints.http]
   address = "<IP_ADDRESS>:80"
   [entryPoints.http.redirect]
    entryPoint = "https"
   [entryPoints.https]
    address = "31.xx.xx.120:443"
    compress = true
   [entryPoints.https.tls]
      minVersion = "VersionTLS12"
      cipherSuites = [
        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
        "TLS_RSA_WITH_AES_256_GCM_SHA384"
       ]

    #[entryPoints.https.tls.ClientCA]
    #  files = ["COMODORSADomainValidationSecureServerCA.crt"]
      #, "COMODORSAAddTrustCA.crt", "AddTrustExternalCARoot.crt"
    #  optional = false

   [[entryPoints.https.tls.certificates]]
      certFile = "xxxx_com.crt"
      keyFile = "xxxx_com_nopass.key"
   #[[entryPoints.http.tls.defaultCertificate]]
   #   certFile = "xxxx_com.crt"
   #   keyFile = "xxxx_com_nopass.key"

#consul.tls.ca="AddTrustExternalCARoot.crt"
#consul.tls.cert="xxxx_com.crt"
#consul.tls.key="xxxx_com_nopass.key"
# args = [
#          "--consul",
 #         "--consul.endpoint=<IP_ADDRESS>:8443",
#          "--consul.prefix=traefik",
 #         "--consul.watch=true",
 #         "--consul.tls",
 #         "--consul.tls.ca=AddTrustExternalCARoot.crt",
#          "--consul.tls.cert=xxxx_com.crt",
#          "--consul.tls.key=xxxx_com_nopass.key",
#
#          "--consulCatalog.tls.ca=/tls/root-ca.cert",
#        ]

[file]
[backends]
  [backends.xxxxserver]
    [backends.xxxxserver.buffering]
      maxRequestBodyBytes = 10485760
      memRequestBodyBytes = 2097152
      maxResponseBodyBytes = 10485760
      memResponseBodyBytes = 2097152
    [backends.xxxxserver.loadbalancer.stickiness]
    [backends.xxxxserver.healthcheck]
      path = "/favicon.ico"
      interval = "1000s"
    [backends.xxxxserver.circuitbreaker]
      expression = "NetworkErrorRatio() > 0.5"
    [backends.xxxxserver.servers.server1]
      url = "http://31.xx.xx.121"
        weight = 10
#    [backends.xxxxserver.servers.server2]
#      url = "http://31.xx.xx.122"
#        weight = 10

  [frontends]
  [frontends.xxxxserver_app]
  entrypoints = ["http","https"]
  backend = "xxxxserver"
  passHostHeader = true
    [frontends.xxxxserver_app.routes.all]
     rule = "HostRegexp:www.xxxx.com"

If applicable, please paste the log output in DEBUG level (--logLevel=DEBUG switch)
DEBU[2018-09-11T11:12:09+03:00] http: TLS handshake error from 31.xxx.xxx122:57286: remote error: tls: unknown certificate authority

Hi
This problem can not be solved   CURL using  --insecure  .. I can not say hey google(dialogflow web hook ) dont make a problem with site without CA boundle...
Also in Android phones browser without CA boundle give an error for my site.
I have two Apache 2.4 behind Treafik  listen port 80 (http)
I set treafik with  public sys (not custom certificate its buyed from COMODO RSA Certification Authority
) They send root boundle to me for setup ...
In apache 2.4 setup ssl like below.

    SSLCertificateFile      /var/www/ssl/www_xxx_com.crt
    SSLCertificateKeyFile   /var/www/ssl/www_xxx_com_nopass.key
    SSLCertificateChainFile /var/www/ssl/COMODORSADomainValidationSecureServerCA.crt
    SSLCACertificateFile    /var/www/ssl/COMODORSAAddTrustCA.crt
So which method i have to use treafik works with 443 (ssl).  Apache (backend ) using 80 port.

Hi
I'd love to help you out, but unfortunately I don't understand what you're trying to do. I can be wrong, but I believe that the problem lies in your configuration, not in Traefik itself.
Hence, I think that the best place to discuss this is on our slack channel and not in the issue (dedicated to bugs and feature requests).
Hope to see you there to find a solution!

Hi
I realy thank you for good product.
For my new senario below can you post sample configuration parameter with treafik..
Orjinal setup for single server without using treafik
Apache 2.4 Listen 443 with SSL sertifate buyed from COMODORSAAddTrustCA
~
SSLCertificateFile /var/www/ssl/www_xxx_com.crt
SSLCertificateKeyFile /var/www/ssl/www_xxx_com_nopass.key
SSLCertificateChainFile /var/www/ssl/COMODORSADomainValidationSecureServerCA.crt
SSLCACertificateFile /var/www/ssl/COMODORSAAddTrustCA.crt
~
My new configuration using treafik for two server behind
2 server Apache 2.4 listen 80 (only 80 no 443 setup)
entry end frontend server works with treafik serve SSL

Could you give a look at #984 and tell us if it is related?

#984 solved by  nmengin
I solved the problem with a little script ran when te container is started. It can detect if therea CA bundle and cert files and concatenates them.
Main problem traefik dont serve CABoundle
#[entryPoints.https.tls.ClientCA]
#  files = ["COMODORSADomainValidationSecureServerCA.crt"]
#, "COMODORSAAddTrustCA.crt", "AddTrustExternalCARoot.crt"
#  optional = false
working server direct to apache24
https://www.sslshopper.com/ssl-checker.html#hostname=https://www.xxx.com
These results were cached from September 12, 2018, 4:49 am PST to conserve server resources.
If you are diagnosing a certificate installation problem, you can get uncached results by clicking here.
www.xxx.com resolves to xxxx.xxx.xx.xxx
Server Type: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/7.2.7 mod_owa 2.11.6
The certificate should be trusted by all major web browsers (all the correct intermediate certificates are installed).
The certificate was issued by Comodo.
The certificate will expire in 10 days.
The hostname (www.xxxx.com) is correctly listed in the certificate.
Common name: tiwda.com
SANs: tiwda.com, www.xxxx.com
Valid from September 21, 2017 to September 22, 2018
Serial Number: e9cc50b5aa89f2b70953e146a5703982
Signature Algorithm: sha256WithRSAEncryption
Issuer: COMODO RSA Domain Validation Secure Server CA
Common name: COMODO RSA Domain Validation Secure Server CA

Organization: COMODO CA Limited
Location: Salford, Greater Manchester, GB
Valid from February 11, 2014 to February 11, 2029
Serial Number: 2b2e6eead975366c148a6edba37c8c07
Signature Algorithm: sha384WithRSAEncryption
Issuer: COMODO RSA Certification Authority
Quick SSL Search
not working server using traefik
www.xxxx.com resolves to xxx.xxx.xxx
The certificate was issued by Comodo.
The certificate will expire in 683 days.
The hostname (www.xxxx.com) is correctly listed in the certificate.
The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. You can fix this by following Comodo's Certificate Installation Instructions for your server platform (use these instructions for InstantSSL). Pay attention to the parts about Intermediate certificates.
Common name: tiwla.com
SANs: tiwla.com, www.xxxx.com
Valid from July 26, 2018 to July 26, 2020
Serial Number: ae6e2d2f7dfac0ca0087102e4be14303
Signature Algorithm: sha256WithRSAEncryption
Issuer: COMODO RSA Domain Validation Secure Server CA

I'm very sorry, but since I don't know precisely what you're doing, it is very difficult for me to provide meaningful answers.

Hi
I solved problem for Apache and CA boundel saparate crt files.

I'll close the issue then.


Override default serializedName for Fields

Hi,
Thanks for the great work on Spine - it's fantastic :+1: .
The API I'm working with always uses underscored strings for serialization. Rather than specifying the serialized name every time with Attribute().serializedAs("underscored_name_here") I'd instead like to override or subclass Attribute to make this the default.
This seems tricky currently because none of the properties of the Field class are public, and hence can't be overridden or accessed from a subclass inside a my project.
Could the name and serializedName properties be made public? I'm happy to provide a patch. I also tried to provide a different implementation of fieldsFromDictionary, but a similar problem exists because the name field is not accessible. Or perhaps there is a better way to do this?
I'm using the swift-2.0 branch.
Cheers.

This is good point. We could always make those variables public. I think it might be better however to implement some kind of global FieldNameSerialiser that takes care of converting names to their serialised names. That way you could configure this on the Spine instance instead of having to subclass.

Agree with @wvteijlingen. Inheritance is not the solution, but composition.

+1 for making name and serializedName public

I'm experimenting with a way to globally configure key formatting. You can find this in the key-formatter branch.
Instead of having to specify the serialised name for every attribute, you can now use a UnderscoredKeyFormatter and let Spine format al your fields for you:
spine.keyFormatter = UnderscoredKeyFormatter()

By default it uses the DasherizedKeyFormatter because dasherized keys are recommended by the JSON:API spec.

Just saw that this got merged - great stuff. The KeyFormatter initializer needs to be public though, otherwise you can't set a different key formatter.
I fixed this with:
extension KeyFormatter {
    public init() { self.init() }
}

Nice work. The KeyFormatter implementations need some public initialisers though.

Done!

:clap: :clap: :clap: :clap:


[SPARK-17941][ML][TEST] Logistic regression tests should use sample weights.

What changes were proposed in this pull request?
The sample weight testing for logistic regressions is not robust. Logistic regression suite already has many test cases comparing results to R glmnet. Since both libraries support sample weights, we should use sample weights in the test to increase coverage for sample weighting. This patch doesn't really add any code and makes the testing more complete.
Also fixed some errors with the R code that was referenced in the test suit. Changed standardization=T to standardize=T since the former is invalid.
How was this patch tested?
Existing unit tests are modified. No non-test code is touched.

cc @yanboliang @dbtsai

Test build #66966 has started for PR 15488 at commit 54bb1b5.

Test build #66966 has finished for PR 15488 at commit 54bb1b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/66966/
Test PASSed.

LGTM.

Merged into master. Thanks.


CI: Update Ubuntu jobs to 24.04

Test out the update to Ubuntu 24.04 (currently beta, maybe no images available yet)
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

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

Testing checklist (automated report can be put here)

Target Environment support

[ ] Linux

No 24.04 images available from Github yet. Cf https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

Not relevant yet, since the images in question haven't been released by Github.


Fixed updating of start stop button based on the actions on files in process tile

closes #47

this pr will be solving the issue #47 .
fixed this bug by adding the feature to updated the status of start_stop_button from 'Stop All' to 'Start All' whenever we remove the files from process_tile during the process still going on.

https://user-images.githubusercontent.com/83648898/221266273-d3e7ae2b-f4e2-45e5-add2-e56c540345f1.mp4

Heyy @Techno-Disaster , do I need to make any changes or anything for this pr?

Heyy @Techno-Disaster , it's been long time since I made this pr. Can you look into this once?


System.Xml.XmlException on blobClient.DownloadAsync()

Using Azure.Storage.Blobs (12.4.0) I Followed the tutorial step by step up to "Run the code" where I get an XmlException with the following stack trace:
System.Xml.XmlException
HResult=0x80131940
Message=Name cannot begin with the ' ' character, hexadecimal value 0x20. Line 145, position 13.
Source=System.Private.Xml
StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
at Azure.Storage.Blobs.BlobRestClient.Blob.DownloadAsync_CreateResponse(ClientDiagnostics clientDiagnostics, Response response)
at Azure.Storage.Blobs.BlobRestClient.Blob.<DownloadAsync>d__0.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Threading.Tasks.ValueTask1.get_Result()    at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult()
at Azure.Storage.Blobs.Specialized.BlobBaseClient.<StartDownloadAsync>d__45.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadInternal>d__44.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadAsync>d__43.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadAsync>d__41.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Storage.Blobs.Specialized.BlobBaseClient.<DownloadAsync>d__39.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at BlobQuickstartV12.Program.<Main>d__1.MoveNext() in .\BlobQuickstartV12\Program.cs:line 72
This exception was originally thrown at this call stack:
[External Code]
BlobQuickstartV12.Program.Main() in Program.cs
Any help is would be appreciated.

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

ID: 60e56e69-1c44-2056-ad5f-319535e4b525
Version Independent ID: 49fa6098-0b8e-ebf5-efe7-f50f3604e325
Content: Quickstart: Azure Blob storage library v12 - .NET
Content Source: articles/storage/blobs/storage-quickstart-blobs-dotnet.md
Service: storage
Sub-service: blobs
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

@GlobeProgger Thanks for the question! We are investigating and will update you shortly.

New finding: This only seems to happen when going through a VPN connection. Without VPN it works fine.

@GlobeProgger Thanks for the update! Your feedback has been shared with the content owner for further review..

@GlobeProgger Thanks for the update! This seems like an edge case that doesn't need to be added to the documentation.
Thanks,
~ Mark
#please-close


Add DOM-style hierarchy traversal methods?

I am working with some large-ish hierarchies, with over 10,000 nodes, and a bit of custom data. Too large to be in the DOM all at once, so they need to be queried. I am finding that I often need to be able to traverse a hierarchy, starting from a given node, looking for a node that satisfies some condition. This is straightforward to do manually, but in results in a lot of for loops, which aren't really in the D3 idiom. The existing each-* methods have the slight performance disadvantage that there is no way early-exit the loop once the target node has been found. It might be nice to have that option as an API refinement.
Another option could be jQuery-esque .closest and .find methods that looked up and down the hierarchy, respectively, and returned the first "matching" node.
Thanks.

You can extend d3.hierarchy.prototype to define new methods on hierarchy nodes, as noted in the README. You can see the existing method implementations in src/hierarchy. The name node.find(filter) sounds fine for finding the first descendant (I like the similarity to array.find), but I’d probably use the name node.findAncestor(filter) rather than node.closest since that’s more self-explanatory.
I don’t have any immediate plans to implement new methods, but if you implement something useful, feel free to send a pull request.


Logging when building from source

Hello helios maintainers and community,
I've been working on building helios from the source and have a couple of queries regarding best practices:
Local Execution:
When I build and run helios locally (using the target/debug/release paths), I'm not seeing extensive logs. Is there a recommended way or flag to enable more verbose logging for local development and debugging?
Logging with RUST_LOG=trace:
I tried setting the environment variable RUST_LOG=trace hoping to get a detailed trace, but it seems I'm still missing out on some logs. Is there any specific configuration or setup required to capture all logs?
Thanks in advance for your help and insights!

We don't have a ton of debug and trace logs at the moment, so I wouldn't expect to see a ton of them.
We should probably look into adding some more internal logs for debugging purposes though.

Do you not see Helios logs at all? Reqwest makes so many logs it might just drown out the relatively few logs helios makes.

Oh I think we introduced a bug in #275 that is making logs not show up. Let me look into this.

This should be fixed now on the most recent master branch. Pleas let me know if you are still having issues.


refactoring CMake-buildsys

failsafe fix for new CMake-policy CMP0053 introduced by CMake >= 3.1
fix "Argument not separated from preceding token by whitespace." for R-modular

do not merge, yet…  there is more stuff to come…

Changes Unknown when pulling 95df9f280f0b6fbb12896913f900d63db8a3d91f on feature/CMake into ** on develop**.

Changes Unknown when pulling 399f9b7bf7c0a14e0d42b102a5d0618f8ebb66a9 on feature/CMake into ** on develop**.

Changes Unknown when pulling aa4c46e5a37edc27699906f9d179012e8bfaa400 on feature/CMake into ** on develop**.

Changes Unknown when pulling a853908b05f78c097499361d04203b6ab3b94e52 on feature/CMake into ** on develop**.


Wrap functions into app.py and add .gitignore for unnecessary files

Pull Request
Description
This PR wraps the forecast-related functionalities into a single app.py script and adds a .gitignore file to the repository to prevent tracking unnecessary files.

app.py: Implements modular functions (get_forecast, format_forecast, save_forecast) to fetch, format, and save NESO solar forecast data.
.gitignore: Ensures unnecessary files such as Python bytecode, test cache, build artifacts, and logs are ignored.

Fixes: #6 and #14
How Has This Been Tested?

Ran the app.py script manually to verify the following:

Forecast data is fetched correctly using placeholder resource IDs.

Verified that the .gitignore prevents unnecessary files from being tracked.

[x] Yes

If your changes affect data processing, have you plotted any changes? i.e., have you done a quick sanity check?

[x] Yes

Logs were reviewed to ensure steps executed correctly.

Checklist:

[x] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works (tests for .gitignore are implicit)
[x] I have checked my code and corrected any misspellings

Happy to merge?


fix: better home page

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

:star: PR built and available in a preview jstrachan-node-example-pr-7 here

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
70eab515b23b3977d525ec2187f5fba1c1e7fc78
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
d9bb7b970cfdd78d190ce16a589942264656a8df
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
7b651a00c6ed817a63ce9a778e61dbe813c9efe7
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
fc7ce75bcabd6a88dda4400813237180d40f5dff
link
/test pr

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

:star: PR built and available in a preview jstrachan-node-example-pr-7 here

:star: PR built and available in a preview jstrachan-node-example-pr-7 here


Reworks DataStage connector

To align with changes in https://github.com/odpi/egeria/pull/1749

recheck


Try stripped down version

Trying to recreate the problem with a simple div

Closing, this confirmed what I needed it to.


Update pt-BR.coffee

Coverage remained the same at 63.688% when pulling e6f2b81588bab9ade094275216226f0dfa0aad3a on traducaoenlix:patch-14 into 34d42ff4efe0a15bce8dfa2323e95201538e39be on codecombat:master.


fix: Input generic contravariant error above typesciprt 5

Note
When resolving type inferencing issue (using extractRegExp helper or directly using createRegExp) when implementing new letter.lowercase and letter.uppercase helper inputs in PR #77  we update the generic argument V of interface Input to a contravariant generic arg in PR #79, which in the newest TypeScript 5.0.2 and above cause type error:
Type 'Input<super-V, G, C>' is not assignable to type 'Input<sub-V, G, C>' as implied by variance annotation.Type 'Input<super-V, G, C>' is not assignable to type 'Input<sub-V, G, C>' as implied by variance annotation.

to resolve this issue and #77, we can actually remove the variance annotation and change the position of where the "new value" of V (the built-up RegExp pattern string) of Input interface, this prevent the wrong inferencing of V seen in #77.
Updates

Remove in contravariant annotation to type parameter V of Input interface:

interface Input<
-  in V extends string,
+  V extends string,
  G extends string = never,
  C extends (string | undefined)[] = [] > { ... }

Add NV generic arguments to Input chain functions and resolve the new RegExp pattern string literal type as arg default, for example:

 between: <
      Min extends number,
      Max extends number,
+    NV extends string = IfUnwrapped<V, `(?:${V}){${Min},${Max}}`, `${V}{${Min},${Max}}`>
    >(
      min: Min,
      max: Max
      ) =>
    Input<
-       IfUnwrapped<V, `(?:${V}){${Min},${Max}}`, `${V}{${Min},${Max}}`>, G, C>,
+       NV,
        G,
        C
    >

Related issues
#77

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (849dd91) 100.00% compared to head (f58da5b) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #298   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          520       533   +13
  Branches        87        87
=========================================
+ Hits           520       533   +13

Impacted Files
Coverage Δ

src/core/internal.ts
100.00% <100.00%> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


INTMDB-19: Added fields in datalake databases and stores

Description

Added field AdditionalStorageClasses for DataLakeStore
Added field MaxWildcardCollections  for DataLakeDatabase

Link to any related issue(s):
Type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Required Checklist:

[ ] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

Hi @gssbzn , the docs comes from here

Hi @gssbzn , the docs comes from here

oh I didn't know that one, can you please add a link to that docs on the field?


Mean delta sigma

Merging in the mean_delta_sigma function written by @johannesulf.
Currently keeping the name mean_delta_sigma, although I think this function should outright replace the existing delta_sigma function. The question is whether people who use Halotools for lensing calculations would be bothered, so soliciting input from @Christopher-Bradshaw, @dr-guangtou, @alexieleauthaud, and whoever else uses this function.

This PR also introduces a 1-halo and 2-halo decomposition of the lensing signal, using the mean_delta_sigma_one_two_halo_decomp function. The new function either accepts halo ID arguments for the input galaxies and particles, or alternatively accepts halo_radii for the input galaxies.

From what we've talked about, it sounds like there is no real downside to the change, just a slightly more accurate estimate? In that case I have no problem with it replacing the old function.
I think there needs to be pretty strong justification to have duplicate functionality else it is confusing for users, and as far as I know there isn't that here.

Hmm, I see your point. The current PR only raises a DeprecationWarning for the old delta_sigma, but maybe you’re right that it’s better for this function to be deleted entirely from the v0.7 release.


Using in Vite/Vue3 App Throws 'Uncaught TypeError: util.inherits is not a function'

When attempting to instantiate a Client object in a Vite/Vue3 app, the error Uncaught TypeError: util.inherits is not a function is thrown.
Environment

Node 18.16

Steps to Reproduce

Create a new Vite/Vue3 app, install dependencies, and launch app

npm create vite@latest duo-vite-test -- --template vue
cd duo-vite-test
npm install
npm install @duosecurity/duo_universal
npm run dev

Instantiate Client in App.vue <script setup> block

import { Client } from '@duosecurity/duo_universal'

const client = new Client({
  clientId: 'theclientid',
  clientSecret: 'theclientsecret',
  apiHost: 'theapihost',
  redirectUrl: 'http://localhost:5173',
})

When the app reloads, the following error is thrown:

Uncaught TypeError: util.inherits is not a function
    at node_modules/jws/lib/data-stream.js (data-stream.js:39:6)
    at __require (chunk-OL3AADLO.js?v=606a3168:9:50)
    at node_modules/jws/lib/sign-stream.js (sign-stream.js:3:18)
    at __require (chunk-OL3AADLO.js?v=606a3168:9:50)
    at node_modules/jws/index.js (index.js:2:18)
    at __require (chunk-OL3AADLO.js?v=606a3168:9:50)
    at node_modules/jsonwebtoken/decode.js (decode.js:1:11)
    at __require (chunk-OL3AADLO.js?v=606a3168:9:50)
    at node_modules/jsonwebtoken/verify.js (verify.js:4:16)
    at __require (chunk-OL3AADLO.js?v=606a3168:9:50)
triggerError @ vue-router.mjs:3451
(anonymous) @ vue-router.mjs:3173
Promise.catch (async)
pushWithRedirect @ vue-router.mjs:3167
push @ vue-router.mjs:3099
install @ vue-router.mjs:3530
use @ runtime-core.esm-bundler.js:4381
start @ client-entry.js?t=1686682252177:120
await in start (async)
(anonymous) @ client-entry.js?t=1686682252177:165
Promise.then (async)
(anonymous) @ client-entry.js?t=1686682252177:163
Promise.then (async)
(anonymous) @ client-entry.js?t=1686682252177:139

Thanks @AaronAtDuo ! I'll take a look at that. Appreciate the reference.

I'm looking through those myself.  I'm not a Node and/or JS dev so bear with me :)

It doesn't look like there's a great solution for this, but maybe the best one is to introduce some sort of polyfill to work around this?


Apcu adapter as future replacement for Apc

link #23 #47 #48
It adds an additional storage adapter for APCu to work with native apcu_  functions instead of the combat apc_ functions.
It requires APCu 5.1.0 as this fixes the compatibility issue with APCIterator by introducing a new APCuIterator. Older versions should be used in combat mode together with the old Apc adapter.
It doesn't extend the old adapter because:

It would introduce a future BC break if removing the old APC adapter
It would require to overwrite ~80% of the functions only to replace apc_ with apcu_ or would require still a lot refactoring

PS: Travis is running only this new adapter for now

@Maks3w It's ready now - could you have a look
PS: It's currently marked as 3.0 but it could also 2.next even if the adapter requires a very new extension version and the extension itself requires PHP-7.

Why duplicate every class like #48 did?

@Maks3w even if we extend one adapter over the other would still require to overwrite 90% of the functions to differ between apc_*  and apcu_* function calls or totally refactor the adapter into something like we did with the AbstractZendServer adapters and if we go to deprecate the old Apc adapter we would introduce a BC break. Additionally the Apc adapter has some extra logic to make it compatible with the previous apcu extension in BC mode and the one of HHVM.

@Maks3w Anything left to say?

No, you know more about this component than me. I just can notice if something in the design is weird for me.

Ok so I can merge this PR

rebased against develop


chore(CSharp): add Depth First Search

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR
Added a new graph algorithm

Other information:

Hi @Waqar-107,
If is possible please add the unit test?

Hi @Waqar-107,
If is possible please add the unit test?

@ming-tsai I am not sure what tests to add. There can be multiple answers. Will a single answer do? Or do I have to write all possible outputs in the unit test?

Hi @Waqar-107,
If is possible please add the unit test?

@ming-tsai I am not sure what tests to add. There can be multiple answers. Will a single answer do? Or do I have to write all possible outputs in the unit test?

@Waqar-107, take this as an example

Question: The DFS is not a tree DSA?

Question: The DFS is not a tree DSA?

Not necessarily. There can be cycles too. I will add the cycle detector too with the unit tests

@ming-tsai I have added cycle detection and the unit tests.


Store raw lighthouse report

Store raw lighthouse report

@sebastianbenz  We need to store the raw string, I tried the object and that does not fit the DB field because it needs to be a string to be bigger than 1500 bytes. It is a JSON object everywhere, so I rather keep encapsulated the conversion to string within the model.

I'd prefer to keep the json object in the model. The json object is potentially read multiple times and parsing it into a json object everytime is expensive. The string is only used once - when saving.

Sounds good, I will take a look at changing model-datastore to perform the conversion when saving/loading.

@sebastianbenz PTAL

LGTM then
On Tue, Dec 13, 2016 at 12:12 PM Julian Toledo<EMAIL_ADDRESS>wrote:

@juliantoledo commented on this pull request.
In models/lighthouse.js
https://github.com/GoogleChrome/gulliver/pull/276:

 this.date = (new Date()).toISOString().slice(0, 10);

 this.id = this.pwaId + '-' + this.date;

}
+
We need them for when we read from DB.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/gulliver/pull/276, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXOOLf3a6B5bejU0hX7kbdBbZraOyVSks5rHn2YgaJpZM4LHjqu
.


httpasyncclient plugin adpter for ES. if out is exit span, do not propagating context

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.
In the process of developing the rest-high-level of the ES-6.x plugin, because the underlying API uses the httpasycclient implementation, both plugins are intercepted during a call, so that comparisons will appear on the page display one trace. For the following reasons, consider that if the outer layer is exit span, httpasycclient does not create span.

reduce the burden of back-end registration
when the outer layer is an exit span, the display of httpasycclient span has no specific meaning.

You need to explain your PR, it is hard to explain.

/run agent-plugin-test-2

/run agent-plugin-test-3

Httpasyncclient plugin When the external is exit span, there is no need to perform snapshot delivery. This problem has been solved. Reference #3803 , so this PR closed.


I am unable to render SVG image(ol.source.GeoImage) in IE11 please help me to fix this issue

Please  provide me example SVG Image projection using GeoImage

ol.source.GeoImage comes from the ol-ext project, please open an issue there


Change of consensus frequency in sumtrees.py does not work

The -f parameter has no effect. Suggested change:
tree = tree_array.consensus_tree(min_consensus_freq=args.min_consensus_freq, summarize_splits=False)
Becomes
tree = tree_array.consensus_tree(min_freq=args.min_consensus_freq, summarize_splits=False)
Either that or change treedatamodel.py

Thanks. This has been fixed in revision 5a32a69, and will be in the next release.


Web Notification not working with service worker.

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Project Example Name

Flutter version
3.3.3

Plugin version
6.0.21

Android version

iOS version

macOS version

Xcode version

Device information:
Description
Expected behavior:
 _controller.addJavaScriptHandler(
                  handlerName: 'Notification.show',
                  callback: (arguments) {
                    if (_controller != null) {
                      final notification =
                          WebNotification.fromJson(arguments[0], _controller);
                      onShowNotification(notification);
                    }
                  },
                );

// call notification with service worker
navigator.serviceWorker.register('service-worker.js');
  Notification.requestPermission(function(result) {

    if (result === 'granted') {
              console.log(result + 'slsl');
      navigator.serviceWorker.ready.then(function(registration) {
        registration.showNotification('Notification with ServiceWorker');
      });
    }
  });

Current behavior:
'Notification.show' not being called
Steps to reproduce

This
Than that
Then

Images
Stacktrace/Logcat

@Imdavyking I have updated the JavaScript code implementation (assets/web_notification.js) to support also the ServiceWorkerRegistration.showNotification and ServiceWorkerRegistration.getNotifications methods and Notification.requestPermission(callback) using the callback instead of the promise version.
Now your implementation should work.

Thank you so so much...I really appreciate
On Wed, 7 Dec 2022, 1:14 am Lorenzo Pichilli, @.***>
wrote:

@Imdavyking https://github.com/Imdavyking I have updated the JavaScript
code implementation (assets/web_notification.js)
https://github.com/pichillilorenzo/flutter_inappwebview_examples/blob/main/web_notification/assets/web_notification.js
to support also the ServiceWorkerRegistration.showNotification and
ServiceWorkerRegistration.getNotifications methods and
Notification.requestPermission(callback) using the callback instead of
the promise version.
Now your implementation should work.
—
Reply to this email directly, view it on GitHub
https://github.com/pichillilorenzo/flutter_inappwebview_examples/issues/3#issuecomment-1340188180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDFIP3L2C45TJYYJQER4VLWL7JG3ANCNFSM6AAAAAASVTUBTA
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Migrate Phylogeny page to new platform

Genome list / taxon:
https://www.patricbrc.org/portal/portal/patric/Phylogeny?cType=taxon&cId=1763
Genome:
https://www.patricbrc.org/portal/portal/patric/Phylogeny?cType=genome&cId=83332.12

[x]  Basic phylogeny tree viewer
[x] Cladogram
[x]  Phylogram: shows negative branches
[x]  Show support button not working
[x]  No color by genus/species button
[ ]  Selecting multiple nodes by command+click is not clear. Add check boxes?
[x] Select a subtree by clicking on internal nodes
[x]  Create genome group not working
[ ]  Do we have a plan for keeping the trees up-to-date?

[ ] Basic phylogenetic tree viewer
[ ] Phylogram: shows negative branches
[ ] Show support not working
[ ] Show support button not working
[ ] No color by genus/species button
[ ] Selecting multiple nodes by command+click is not clear. Add check boxes?
[ ] Create genome group not working
[ ] Do we have a plan for keeping the trees up-to-date?

Most of them are addressed and there is a separate discussion going on tree building. I am closing this.


Parser

added a basic parser

Sorry forgot to push. :)

on example.com:

@pranavgade20 The parser needs to return the metadata and python set of the words on that webpage as well!

it does return the metadata, i didnt realise i had to return all words in page as well. sorry.

@sayamkanwar fixed it. please review :)


Could you update the dependencies?

I'm facing compatibility issues with the pydantic version, which is later a dependency on fastapi and won't let me update either of them...

Hi @1Marcuth !
Thank you for raising this issue. So you are saying when pip install pynest-api there is a dependency error? Could you attach maybe screenshots?
The updating dependencies is part of the initiative to move to poetry so i hope it will happened soon.

Not really, this happens when I try to install a library that uses a newer version of pydantic in its code. Then it ends up that I can't install it due to this incompatibility of pydantic versions between pynest and this other library that I mentioned.
(dc-data-api-py3.12) PS D:\programming\projects\actives\typescript\dc-data-api> poetry add git+https://github.com/1Marcuth/dc-wiki.git

Updating dependencies
Resolving dependencies... (0.3s)

Because dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD depends on pydantic (^2.6.1)
 and fastapi (0.95.1) depends on pydantic (>=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.7.3,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0), dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with fastapi (0.95.1).
And because pynest-api (0.1.2) depends on fastapi (0.95.1)
 and no versions of pynest-api match >0.1.2,<0.2.0, dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with pynest-api (>=0.1.2,<0.2.0).
So, because dc-data-api depends on both pynest-api (^0.1.2) and dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git, version solving failed.

I'll try to reproduce that and see if there is a quick fix


Cannot install via JSPM due to faulty permissions in NPM tarball

Describe the bug:
The package cannot normally be installed via jspm (through the npm release) because the directory in the NPM tarball seems to have insufficient permissions (and jspm isn't clever enough to override them).
The jspm error that gets thrown:
warn Error on download for npm:katex
     Error: EACCES: permission denied, open<EMAIL_ADDRESS>
The folder that gets created at<EMAIL_ADDRESS>drw-rw-rw-  2 redacted redacted 4.0K Feb 22 05:29<EMAIL_ADDRESS>
As you can see, the folder lacks execute permissions.
A related bug report from jspm-cli: https://github.com/jspm/jspm-cli/issues/2414
To be clear, the symptom could be remedied by jspm-cli overriding the permissions in the NPM release. But the underlying problem could be fixed by setting the correct permissions in the NPM release.
To Reproduce:
Steps to reproduce the behavior:

Set up a jspm project
Run jspm install npm:katex
Error occurs during installation

Expected behavior:
The package should install without errors.
Environment (please complete the following information):

KaTeX Version: 0.10.1
Device: Desktop
OS: Ubuntu 18.04
Browser: N/A
Version: N/A

Additional context:
The problem can be worked around by installing the package with sudo and then retroactively fixing the owners and permissions of the installed files manually.

I confirmed that https://registry.npmjs.org/katex/-/katex-0.10.1.tgz explicitly lists directories, but without execute bits:
drw-rw-rw- 0/0               0 2019-02-21 23:29 package
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib
drw-rw-rw- 0/0               0 2019-02-21 23:29 package/dist
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/src
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib/auto-render
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib/copy-tex
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib/mathtex-script-type
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib/mhchem
drw-rw-rw- 0/0               0 2019-02-21 23:29 package/dist/contrib
drw-rw-rw- 0/0               0 2019-02-21 23:29 package/dist/fonts
drw-rw-rw- 0/0               0 2019-02-20 10:34 package/src/environments
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/src/functions
drw-rw-rw- 0/0               0 2019-02-21 03:21 package/contrib/auto-render/test

As a result, tar zxf indeed fails with a permission error (on Linux). By contrast, earlier tarballs don't seem to explicitly list directories, so it works fine.
@ylemkimon from which architecture did you release 0.10.1? Could this be from a change in the release script? In any case, I think we should modify the release script to do the equivalent of chmod -R a+X (make all directories executable by everyone) and maybe for safety chmod a+r (make everything world readable).

I'm releasing from Windows, which strangely reports 666 for all files and directories. Unfortunately, packing is done by Yarn, which I don't have control of. I'll manually create a tar and use it in future releases.

@edemaine is the execute bit on directories necessary to create new files within them?

@kevinbarabash The execute bit is necessary to list files in the directory, which is required for doing much of anything with the directory. (Though I think it's technically possible to write to a directory without execute bit, I don't think you can easily put files in a subdirectory.)


#133: fixed the bug that the createdAt field of a reply is undefined

Fixed #133.
Note that here I used the createdAt field in the ArticleReply model (ReplyConnection), i.e. the time a reply is created under an article no matter it's a brand new reply or a quote.

...I forgot to update the snapshots orz

Coverage remained the same at 58.781% when pulling 9c81fd9f0b5a8ae86a2b4026ebe516b17430755d on 133-reply-createdAt into e79f1e4c739c3b5ae9f0c6810221ae8bcf38b0b5 on master.


Vendor buildbot from the nixpkgs input (nixpkgs-unstable-small)

This PR vendors buildbot by adding an overlay that pulls it from our checkout of nixpkgs-unstable-small, this assumes that consumers of this flake will not make said input follow their own checkout of nixpkgs. It might be better to add another input just for buildbot, but that also inflates the flake unnecessarily.
~TODO: add toggle for the overlay and error message if buildbot is older than 4.~

Ready, tested to work on my server running nixos 24.05 from a few weeks ago. (unfortunately it is really hard to see what I changed because a large reformat had to be done)

I think the package recipe could be moved to this repo as well.

I think that can be a separate issue/PR. and combined with the vendored module you mentioned in #216

React is the default in buildbot 4 so can change/remove these now that this repo only targets that version.
diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py
index d5d1d41..021768b 100644
--- a/buildbot_nix/__init__.py
+++ b/buildbot_nix/__init__.py
@@ -902,7 +902,6 @@ class NixConfigurator(ConfiguratorBase):
         config["secretsProviders"].append(systemd_secrets)

         config["www"].setdefault("plugins", {})
-        config["www"]["plugins"].update(dict(base_react={}))

         config["www"].setdefault("change_hook_dialects", {})
         for backend in backends.values():
diff --git a/nix/master.nix b/nix/master.nix
index 4085053..566a058 100644
--- a/nix/master.nix
+++ b/nix/master.nix
@@ -415,7 +415,7 @@ in
           ps.treq
           ps.psycopg2
           (ps.toPythonModule pkgs.buildbot-worker)
-          pkgs.buildbot-plugins.www-react
+          pkgs.buildbot-plugins.www
           (pkgs.python3.pkgs.callPackage ../default.nix { })
           (pkgs.python3.pkgs.callPackage ./buildbot-gitea.nix { buildbot = cfg.package; })
         ];

This one is now obsolete.


[FEATURE REQ] UploadBufferPool BlockingQueue should be wrapped in a reactive way

Because this class is blocking, and because it will block for significant amounts of time given we're handling buffers with it, we should wrap it in a reactive data structure using the tips described here for wrapping synchronous, blocking calls.

"Here" being here.
I'll call out that, as the comment above the declaration of this variable declaration notes, reactive streams themselves use internal synchronization to coordinate successive calls to onNext, so using a blocking structure I don't think is foreign to this paradigm. My main concern is maintaining correctness and proper ordering of the writes if we add async constructs to the blocking queue and would suggest we consult with someone like Anu about the necessity of this before doing it.
Off the top of my head, I guess wrapping this in a Mono on an elastic scheduler as the reference docs suggest shouldn't cause too many problems with ordering. The events are still queued and subscribed to in the correct order, they're just waiting on a different thread.

This is resolved by https://github.com/Azure/azure-sdk-for-java/pull/20964 as I removed the use of the BlockingQueue since it was causing deadlocks on large uploads


New version: MullvadVPN.MullvadVPN version 2024.1-beta1

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Hi @Exorcism0666,

This PR's version number 2024.1-beta1 has 2 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version 2023.6.0, which has 3 parameters.

Is this intentional?
(Automated response - build 628)

Hi @Exorcism0666,

This PR's version number 2024.1-beta1 has 2 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version 2023.6.0, which has 3 parameters.

Is this intentional?
(Automated response - build 628)

Yes!

Hi @Exorcism0666,

This PR's version number 2024.1-beta1 has 2 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version 2023.6.0, which has 3 parameters.

Is this intentional?
(Automated response - build 674)

Hello, @Exorcism0666!
I would just like to ask if there's a reason that the beta version of the app is being pushed to the repo. Based on the tags on the Github page, it seems that it's not supposed to be an official release.

Hello.
Don't push beta release please.
Last stable version is the 2023.6
Sources:
https://mullvad.net/en/download/vpn/windows
https://github.com/mullvad/mullvadvpn-app/releases
Thank you!


Storage is moving.

Storage is moving! https://github.com/googleapis/nodejs-storage

I am sure there is something else that needs to be done...

Coverage remained the same at 100.0% when pulling 1572883d9b63a033a8f7991e2a2abae183db481b on lukesneeringer:storage-migration into 42eef91924d859ada7ffca2707d2e556eddd90bd on GoogleCloudPlatform:master.

There are some storage references in these files (some, more than one):

https://github.com/GoogleCloudPlatform/google-cloud-node/blob/42eef91924d859ada7ffca2707d2e556eddd90bd/scripts/docs/config.js#L44
https://github.com/GoogleCloudPlatform/google-cloud-node/blob/f53c6f6f94206d5b2d9e366215311ce65657a1a2/.github/CONTRIBUTING.md (cd packages/storage)

But I think that's it!

@callmehiphop -- CI errors: https://ci.appveyor.com/project/googleapis/google-cloud-node/build/1.0.1051/job/jl2mbw1evcspopdu -- we can ignore that, given the fact that we're flat out removing files from the repo, right?

@stephenplusplus yeah I think so, I'm not sure deleting a package was ever anything we planned on, haha.

Let's see how the merge goes!


Restrict team choice if team reached maximum number of participants

Is your feature request related to a problem? Please describe.
At our Ephios instance, we have a shift with Direct Confirmation as signup mode and Named Teams as structure. The shift has two teams A and B that both have a maximum size set. Additionally, we have enabled Participants must provide a preferred team.
Participants are still able to select team A after it has reached its maximum size and due to Direct Confirmation, will be automatically dispatched into that team.
Describe the solution you'd like
Participants should not be able to select fully occupied teams.
Describe alternatives you've considered
Whether participants can still select fully occupied teams could be configurable per shift, instead of globally altering the default behavior.
Additional context
none

With how I think about it this is related to #1382.
Choosing a preferred team doesn't mean you will be assigned to it. Especially when having different qualification requirements for teams that might actually happen. I understand that you use it so people can partner up with someone they prefer, right?
Did you have issues with people selecting the wrong preferred team? I would understand if instead of only suggesting a disposition for the preferred team we actually (optionally?) "set it in stone" on signup.

I understand that you use it so people can partner up with someone they prefer, right?

This was the case at our last event. This time, we used named times to distinguish different subtasks (main team and supporters).

Did you have issues with people selecting the wrong preferred team?

Previously, we did not have the problem, as people knew that each team should consist of two people ("choose your preferred partner" as you stated) and we still were on v0.16.x, hence Named Teams implied Request and Confirm, so we had to manually approve all sign-ups anyways.
However, at our current event we've experienced overoccupation of a team (as most people prefer the main team over the support team). This may be related to #1382, as those people maybe did not noticed that the main team is full. But especially since the page where one can select the team does not show any occupation information, I wouldn't consider the broken indicator the main/only reason for the overcrowded team.

I would understand if instead of only suggesting a disposition for the preferred team we actually (optionally?) "set it in stone" on signup.

Yes, such an option would be ideal for our use case. (I think manual changes should still be possible, but the signup should not be considered pending approval or similar.)

suggesting a disposition for the preferred team

well as they use direct confirmation, the signup method is kind of designed to have no explicit disposition step, thats why most people choose it in the first place. So IMO a "fixed disposition" should be the default for direct confirmation in combination with teams


[Android] error encountered: "Found tag id where item is expected" after upgraded to  version <IP_ADDRESS>0

the android project got build error "Found tag id where item is expected" after upgraded to version <IP_ADDRESS>0.

after clicking the error in error list pane, the following content is shown:
<?xml version="1.0" encoding="utf-8"?> <resources>     <id name="view_tree_lifecycle_owner"/> </resources>

@saamerm Do you think this could have something to do with the Android X migration?
I can't quite place this error.

Apparently along the way while opening the can of worms that is AndroidX something changed that is impacting this in v2.2.* as that was the biggest change in there. I've subsequently pulled all the v2.2.* stuff from NuGet as I'm getting other issues related to this as well. Regarding an actual solution, I'm not quite sure when I'll get around to it. Other things in life are taking up a lot of time and will be for the foreseeable future.

Hmm I dont see why it could be causing the issue. @waterzsw could you please more details for the build error?

same issue

@rambod17 could you please provide more details for the build error? The trace would be very useful

Got the same error after updating to latest 2.2.. Downgraded to <IP_ADDRESS>4. Looks like 2.2. has been pulled from Nuget so probably should downgrade.

This looks like an AndroidX issues. The latest AndroidX is giving this error when building release with Linking.

Same issue. Appeared after upgrading PancakeView <IP_ADDRESS>4 -> <IP_ADDRESS>9. After reversing the upgrade everything work again. I have this version of AndroidX.MediaRouter <IP_ADDRESS>.

@rambod17 could you please provide more details for the build error? The trace would be very useful

Error fixed after clean and rebuild.

Please try to enable aapt2 on your Android project then rebuild your project.


Unexpected token function

This seems to require nodejs 8.x or greater to run.  I attempted with nodejs 6.x but recieved:
/usr/lib/node_modules/@beaker/homebase/lib/vhosts/dat.js:65
  return async function (req, res) {
               ^^^^^^^^

SyntaxError: Unexpected token function

After upgrading to nodejs 8 everything seems fine.  I mention this only because the readme states nodejs 4.9.1 or greater and that might be misleading.

Thanks, I'll update the readme.


IISWebAppDeploymentOnMachineGroup loc handback

the changes are due to removal of "preview" wording form task friendly name.


[feature] Mark Multiple Response Header Test Pending

The Verifies Invoke-WebRequest Supports Multiple response headers with same name test from #4494 is failing on Linux and macOS due to an implementation difference of HttpListener on Linux and macOS where multiple response headers are concatenated instead of sent as separate headers.
In Windows:
HTTP/1.1 200 OK
Content-Length: 2
Content-Type: text/plain
Server: Microsoft-HTTPAPI/2.0
X-Fake-Header: testvalue01
X-Fake-Header: testvalue02
Date: Tue, 22 Aug 2017 09:49:37 GMT

In Linux/macOS:
HTTP/1.1 200 OK
X-Fake-Header: testvalue01, testvalue02
Server: Microsoft-NetCore/2.0
Date: Tue, 22 Aug 2017 09:18:18 GMT
Content-Type: text/plain
Content-Length: 2

This is not a failure of the test but an issue with the current method used for serving test content with HttpListener.
Issue  #4639 has been created to track creating a cross-platform multiple header response solution for this test. In the mean time, mark this test as pending to prevent nightly failures.

@markekraus,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@TravisEz13 @SteveL-MSFT This needs to be merged asap as it fixes a failure in night test pass.

merging before 24 hours, because this fixes a test failure.  @anmenaga Please in the future, be clear if you reviewed the change.


“Lock” is visible for unauthorized users

Bug Report Dump (Auto-generated)

Version 1.12.0 (1137)
Device: iPhone10,6 (iOS 11.1)
TestFlight: true

Probably semi related to #712
Sent with GitHawk

Yeah it all comes round to basically having no "ideal" way to know whether the user has permission :/ Probably wanna merge it all into one

I might just have to lock down editing controls to admins since that's the only permissions we have access to. Unless we want to make another request.

@rnystrom From a productivity standpoint I'd be strongly against making it admin only, genuinely it disables a large piece of functionality that I find highly useful via GitHawk (labelling, locking, closing, etc)
If another request is the only way to do it then I say we do it. Maybe one thing we could do is use author association on comments and see if that's collaborator, so we don't make the request if we don't need to.
Also I'd say enable caching on it of like 24hrs? maybe longer? So we don't use an extra rate token for every single issue!