Add support for soft targets

What does this PR do?

Fixes # (issue)
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes?
[x] Did you write any new necessary tests? [not needed for typos/docs]
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

seems there is some complication with TorchMetrics:
/opt/conda/lib/python3.7/site-packages/torchmetrics/utilities/checks.py in _check_classification_inputs(preds, target, threshold, num_classes, multiclass, top_k)
    249
    250     # Basic validation (that does not need case/type information)
--> 251     _basic_input_validation(preds, target, threshold, multiclass)
    252
    253     # Check that shape/types fall into one of the cases

/opt/conda/lib/python3.7/site-packages/torchmetrics/utilities/checks.py in _basic_input_validation(preds, target, threshold, multiclass)
     31
     32     if target.is_floating_point():
---> 33         raise ValueError("The `target` has to be an integer tensor.")
     34     if target.min() < 0:
     35         raise ValueError("The `target` has to be a non-negative tensor.")

ValueError: The `target` has to be an integer tensor.


Take over management of the Dnsmasq environment variables

The only way to set 'bind-dynamic' is as a switch to the dnsmasq
command; there is no option for it in the normal conf files. This will
allow us to set that and any other environment variables that we might
want to populate '/etc/default/dnsmasq'.

Coverage remained the same at 100.0% when pulling 080b386284a8408279b542120cabdd1fbef0105a on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling b8866a718453a2f6bed809cfc7634d19f5466384 on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling 0bb96d3cbd70d1dd90b424d33f66f7ec84741c14 on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling f959515d77afde669dc533443a3e5f664a99ec3b on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling b791d923f34967a137ad15b12bded185f39c17d0 on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling 8b7596ad5878fe1098b7c9c26c18f90871abde6b on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling a5403c50d82e6f3c30c86199b120cc3aa6415dbe on jdh-manage-defaults-file into 1e880442b4971ab36960a364fbe1d81e4eef42ea on master.

Coverage remained the same at 100.0% when pulling 26f181a20bef52f37e5f35abc7b0381731335b2b on jdh-manage-defaults-file into 298c42894a54ddc9d479e05fb74ed268f41c2d65 on master.

Coverage remained the same at 100.0% when pulling 93f0c45e77edc28c374df747df189061fb81b43c on jdh-manage-defaults-file into 298c42894a54ddc9d479e05fb74ed268f41c2d65 on master.

Coverage remained the same at 100.0% when pulling 08b8de077ea080c87d46b06c283fd9a68bfc45a3 on jdh-manage-defaults-file into 298c42894a54ddc9d479e05fb74ed268f41c2d65 on master.

Coverage remained the same at 100.0% when pulling 6ffec106f21dedb4cbfede45ac3e3d9d63303c90 on jdh-manage-defaults-file into 298c42894a54ddc9d479e05fb74ed268f41c2d65 on master.

Coverage remained the same at 100.0% when pulling<PHONE_NUMBER>8c0e3d3e8e39091a7a80740a8390c8 on jdh-manage-defaults-file into 298c42894a54ddc9d479e05fb74ed268f41c2d65 on master.


fix: Validate jinja rendered query

SUMMARY
The query wasn't validated with the rendered Jinja template. This fix passes the rendered query down to the validator.
TESTING INSTRUCTIONS

Create a query in SQLlab using Jinja params for the schema
Restrict access to the schema
Verify that the user with the restricted access cannot query the schema when using Jinja params

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up FEATURE_ENABLE_TEMPLATE_PROCESSING=true

I had to pull this PR out of 2.1.0 because of some integration errors. We can try to pull it into 2.1.1.


Join link in header is hard to read with current color scheme.

I think the issue is in the footer, at;
<% ab_test(:signup_button_size, 'btn btn-large', '') do |button_size| %> <%= link_to 'Join', new_veteran_registration_path, class: button_size, style: 'background-color: #B23900;' %> <% end %>

To fix this we need to update the following line:
<% ab_test(:signup_button_size, 'btn btn-large', '') do |button_size| %>
To read:
<% ab_test(:signup_button_size, 'btn btn-large', 'btn') do |button_size| %>

This has been reported before and it was due to caching. If you clear your cache does the button go back to normal? After you clear the cache and reload the page does it bug out again?

I think the A/B test might be the culprit here. I refreshed five times, and it looks different 3/5 times.

Ah yea - that's exactly it.

This is what the button looks like with btn btn-large:

This is what it looks like with btn:

I think that btn looks much better. Please advise

Merged via #639


Enabling limited parameter access to SessionParseState

TL;DR: This change is to enable limited access to SessionParseState parameters without adding offset computation overhead.
The command processing layer gets an input (ObjectInput / RawStringInput) which holds a parse state. The start index at which to start reading the parameters and the amount of parameters to read can vary (for instance, if it's being called programatically vs from the network buffer). Before, we had to pass a start and end indexes to offset the existing parse state in the input, which was not ideal (poor readability, computation overhead).
In this PR we're creating a sliced version of the parse state that points to the already offset parameter buffer and has an updated argument count, so the valid indexes are always between 0 and Count.
Benchmark results: TBA.

ArrayCommands.cs - NetworkArrayPING does not use parseState in WriteDirect?
Same for NetworkECHO

// On success, readHead is left at the start of the command payload for legacy operators

The fields of readHead and endReadHead can be eliminated/unified and make sure nobody uses them

readHead and endReadHead are stilll used in RespCommand and RespServerSession


fix version numbers

for the banner:
first let's fix the version numbers -- I got a bit ahead of myself with 1.3
this is what happens when you do a release on friday night

Let's merge this and see if it fixes the problem


TwoDo - dual screen todo list app

This is a dual-screen todo list sample app that will eventually be used in a learning module.

@hvak  can you please add this project to the existent build-text-check workflow? so tests and checks are done also on this project?
https://github.com/microsoft/surface-duo-window-manager-samples/blob/c9d47df61282384420ee33716e34139fcae20356/.github/workflows/build_test_check.yml#L24
Thanks!


Corrupted environment

Hi Thomas,

Thanks for the help sofar with all my issues. I made a mistake i guess, but would like to verify that this was the cause. When i tried to generate an MSI from my development machine files were deleted. As far as i can see the only step in the targets file that would do this is:

In my PropertyGroup i have defined the OutputPath except for, and the type of build configured is 'Release'; .

My guess is that when you do not specify the $(OutputPath) a default path (C:\Program Files (X86)\ is selected, do you know if this could be the case?
This work item was migrated from CodePlex
CodePlex work item ID: '8746'
Vote count: '1'

Issue closed by tfabraham with comment
Duplicate of #8747


Adding edges to existing nodes

My development team noticed that there is no way in redisgraph-go to add edges to existing nodes without duplicating the nodes in the process. Please see https://github.com/RedisGraph/redisgraph-py/issues/16 as a reference to this issue within Redis graph in general. The solution described here points to using MATCH (f:%s{%s:'%s'}), (t:%s{%s:'%s'}) CREATE (f)-[:in]->(t) as the way to avoid duplication of nodes. However, we do not find a way within redisgraph-go to make such a transaction? There is basically no 'update' possible to nodes, only create and delete. We can delete old nodes and create new ones with edges, but this is costly and inefficient. Is there any plan to add an UpdateEdge or something similar as AddEdge duplicates nodes?

Hi @tradetree,
Sorry for the confusion, but the Graph, Node and Edge object are primarily used for creating an initial graph, thus to introduce a new edge between two existing nodes please use the graph.query function and provide a query which located the nodes you wish to connect.
The ability you're asking for is more likely to be found in a OGM (Object Graph Mapping) type of a solution.

Hi @tradetree,
Sorry for the confusion, but the Graph, Node and Edge object are primarily used for creating an initial graph, thus to introduce a new edge between two existing nodes please use the graph.query function and provide a query which located the nodes you wish to connect.
The ability you're asking for is more likely to be found in a OGM (Object Graph Mapping) type of a solution.

Thanks for the info. We were able to use a query to add an edge between two existing nodes, but the concept of adding or updating relationships like edges this way is kind of confusing. Once objects are committed to a database it should be possible to update them, so I guess I'm just missing something. I searched on OGM via google and read what I could find, but it was only marginally helpful. They compare OGM to ORM, but while I understand ORM this does not quite fit in with that understanding. We are not mapping objects into the graph database, but trying to create objects directly and then update them. Anyway, it appears to make sense to you and there is no other method in redisgraph-go that would be better, so we'll stick to the query method.

Thanks for the info. We were able to use a query to add an edge between two existing nodes, but the concept of adding or updating relationships like edges this way is kind of confusing. Once objects are committed to a database it should be possible to update them, so I guess I'm just missing something. I searched on OGM via google and read what I could find, but it was only marginally helpful. They compare OGM to ORM, but while I understand ORM this does not quite fit in with that understanding. We are not mapping objects into the graph database, but trying to create objects directly and then update them. Anyway, it appears to make sense to you and there is no other method in redisgraph-go that would be better, so we'll stick to the query method.

@tradetree have you looked into https://github.com/cr0hn/sqerzo ?

@tradetree have you looked into https://github.com/cr0hn/sqerzo ?

@tradetree have you looked into https://github.com/cr0hn/sqerzo ?

I will check it out, thanks! But we did get it working with the query method and we have our own mapping now.


Add 'Create Storage Account' button to sash

Fixes #472
Adds a plus button on the sash

So I believe we didn't do this in the past because we don't actually support very many options when it comes to creating a storage account. Ours only supports GPv2, but I think the portal has a bunch of options. Need to confirm this feature with @fiveisprime

This was something that Jing intervened on. I think it's fine to have a create button, but it needs to be a "create for web deployment" button and not a generic "create storage account" button.

@fiveisprime We have the generic "create storage account" verbiage when you right click on a subscription. Should we update that as well?

I didn't realize that one made it in. May be a case of "ship it and see if people ask for more." So.. I say go ahead with adding the button in the sash and see if people find it too limiting.


Embed source code to HTML output of DSC script, ideally toggle the codes with links

Currently dsc2 will automatically export DSC code into an HTML file, which is great to view and publish the source. I want to extend this functionality to also be able to include the R/Python/Shell scripts used. DSC forces one to write modular codes which is good, but one might end up writing too many pieces of these modules. I am starting to find it irritating. Having a good way to view them from one place is appealing.
To resolve the problem I'll have to shop for a good javascript implementation (ideally can toggle) and work out the coding from there.

Done. See examples: http://www.bioinformatics.org/labnotes/dr-tree/dsc


[FEAT] Add changelog to README

What are you trying to add to Cupertino-Pane?
Add changelog.md to readme.md
Describe your feature request detailed
Add changelog.md to readme.md because it is not very good visible in the code.
Is there an alternative at the latest version?
[ ] Yes (descripe the alternative)
[X] No
Is this related to an issue?
[ ] Yes (Give a link to the issue)
[X] No

@BerkeAras Thank you!


The code 3522 has been moved from ndcs_with_5_subscriber_…

…digits to ndcs_with_6_subscriber_digits

Coverage remained the same at 98.094% when pulling d341f7c914666b8d750fbb71a7cf4537f945e95c on Bighamster:master into d6e04d79f9bc3645a8e943c6b85402871eeadaa0 on floere:master.

@Bighamster Lovely PR, even with updated version! 😀 That makes it easy: released in version 2.15.35 🚀

Note: there's more information on this PR by @Bighamster on issue #346.


[FLINK-26032][streaming] check explicit env allowed on StreamExecutionEnvironment own.

What is the purpose of the change
The check of areExplicitEnvironmentsAllowed in the StreamExecutionEnvironment should not depend on the ExecutionEnvironment
Brief change log

Rebuild the check that only depends on StreamExecutionEnvironment itself.

Verifying this change
This change is already covered by existing tests, such as LocalStreamEnvironmentITCase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure


Added Materio Free Vuetify VueJS Laravel Admin Template

Materio Free Vuetify VueJS  Laravel Admin Template
Materio Free  Vuetify VueJS Laravel Admin Dashboard Template – is the most developer-friendly & highly customizable Admin Dashboard Template based on Laravel.
Features:

Pure Vue js, Laravel
Utilizes Vuex, Vue Router, Webpack
1 Dashboard
Material Icons
Basic cards
Fully Responsive Layout
Organized Folder Structure
Clean & Commented Code

Check the demo here: https://themeselection.com/demo/materio-vuetify-vuejs-laravel-admin-template-free/demo/dashboard

Thanks @saanvi-ts 🎉

Thank you for including it in the list.👍🏻

I was wondering if the template will be included here (https://awesome-vue.js.org/projects-using-vue-js/open-source.html) as well?

The page you linked was updated almost immediately after the changes were merged and there should be a prompt that tells you that there are updates available for the page. But you can also hard refresh the page by pressing Ctrl+Shift+R.

Ok. Thanks.🙂


Cluster: ioredis seems to use internal port

Hello,
I switched from single instance to cluster mode.
All was working as expected with single instance, but when I switched to cluster mode, problems have arised.
Here is my config:
I use kitematic to run a docker containing 3 masters and 3 slaves. From inside the container, all is working as expected.
I can connect to the cluster with ioredis using this config:
host: <IP_ADDRESS> port:32770
But when I want to SET a key it fails.
I use Medis as gui and same problem: it connects but when trying to set a new key, then it runs indefinitely.
I suspect ioredis to switch to internal port:7000 instead of 32770, so the command failed.
Any idea ?
Thank you in advance for your help.

I was using a bad config. Sorry.


AzureWebAppContainerV1 incorrectly sets 'windowsFxVersion' for linux container

Required Information
Type: Bug
Task Name: AzureWebAppContainer
Issue Description
When a Linux Web App with kind: app,linux,container does not have linuxFxVersion set (as can happen with an ARM Template), the AzureWebAppContainer incorrectly sets windowsFxVersion instead. This is difficult to debug as the deployment succeeds but the site does not come up.
However, if linuxFxVersion is set to a placeholder value (such as "DOCKER|alpine") it will correctly be updated. (So there is a workaround).
Explicitly setting a placeholder value is undesirable for many workflows. For example:

Run an ARM template to ensure the web app exists (this would overwrite the linuxFxVersion to be the placeholder; normally in incremental mode you would not expect the resource to change)
...additional steps... (failure here leaves the placeholder running!)
Run this step to deploy the latest version of a docker image (this would overwrite the linuxFxVersion again)

Since the kind reliably indicates the OS, it seems very odd that the wrong configuration setting is updated.
Task logs
Trying to update App Service Configuration settings. Data: {"appCommandLine":null,"windowsFxVersion":"DOCKER|p***:latest"}
Updated App Service Configuration settings.
Restarting App Service: app-...
App Service 'app-...' restarted successfully.

Can you set system.debug=true in variables and run pipeline again?
share detail logs

I'll have to set up a new pipeline to repro but will make some time to do so.

I'm having the same issue. We are setting the kind to app,linux,container as well but the logs from Azure DevOps says the following when deploying with the task: {"appCommandLine":null,"windowsFxVersion":"DOCKER| ... " }

@KasperPurunen can you share debug logs?

Here is the debug log for the deploy azure resources stage:
azure-resource-log.txt
Here is the debug log for the AzureWebAppContainer stage:
web-container-log.txt

@AmrutaKawade Were those logs helpful?  Do you need any more detail?

Any plans to solve this issue soon?

@jbowtie , @KasperPurunen For us Whenever app is created without linuxFXVersion in ARM template, app kind is set to as  app,linux and not app,linux,container  Can any one of you confirm this behavior ?,

Due to inactivity we are closing this. If it is still exists please raise a new bug

@PhilipsonJoseph This issue is still outstanding.  As you note above, any ARM template deployed without linuxFxVersion strips container from the kind so app,linux,container becomes app,linux.  This is easily avoided by not using an exact string match for the OS type lookup, but instead case-insensitively searching "linux" in the kind.

How can this issue be swept under the carpet? This is clearly blocking deployment of Linux container.

@v-nagarajku

@nadesu @PhilipsonJoseph @v-nagarajku do you know when we might see a review for this one line correction and an update to the task?
I ask as this is currently blocking my team from being able to use this task as intended, and we will need to make alternative plans if we think this may take some time to make it's way out.
Thank you.

For anyone still struggling with this issue, we worked around it by not using the task at all and instead setting linuxFxVersion in the ARM just for the staging slot, while continuing to leave linuxFxVersion unset for the production slot.
This allowed us to get the staging slot set up correctly with the latest image without disrupting the production slot, perform our testing, etc. then we swap slots as per the usual process.

I can verify I have linuxFxVersion set to "DOCKER|:latest". Web app kind is also set to "app,linux,container". Upon using the task, it sets both linuxFxVersion and windowsFxVersion.

I am using Azure CLI az webapp config container set as a workaround

I just ran into this naturally, tearing my hair out for hours trying to figure out whats going on

I've hit this issue recently also. I have some Bicep templates that I am using to deploy App Service resources (and other things) within a pipeline, and do not want to set linuxFxVersion in the Bicep template because I want that to happen later on in the pipeline via the AzureWebAppContainer task.
If I don't set linuxFxVersion when the App Service is created the AzureWebAppContainer task ends up setting windowsFxVersion i.e. the task output includes: Trying to update App Service Configuration settings. Data: {"appCommandLine":null,"windowsFxVersion":"DOCKER|undefined"}.
As per the issue description, setting a placeholder linuxFxVersion on the App Service does workaround this, but it's not something I want to maintain.
I have also now switched to use az webapp config container set as per this comment, and that's setting linuxFxVersion fine and has unblocked me for now.
In case it's helpful to have an example, I have switched this:
- task: AzureWebAppContainer@1
  displayName: 'Deploy to web app'
  inputs:
    azureSubscription: '$(ServiceConnection)'
    appName: '$(WebAppName)'
    multicontainerConfigFile: '$(Pipeline.Workspace)/path/to/docker-compose.yml'
    deployToSlotOrASE: true
    resourceGroupName: '$(ResourceGroupName)'
    slotName: '$(WebAppDeploySlotName)'

To this:
- task: AzureCLI@2
  displayName: 'Deploy to web app'
  inputs:
    azureSubscription: '$(ServiceConnection)'
    scriptType: pscore
    scriptLocation: inlineScript
    inlineScript: |
      az webapp config container set --name "$(WebAppName)" --resource-group "$(ResourceGroupName)" --multicontainer-config-file "$(Pipeline.Workspace)/path/to/docker-compose.yml" --multicontainer-config-type COMPOSE --slot "$(WebAppDeploySlotName)"

Having had a brief look at the source code for this task, it seems to me that it always looks at the main web site setting when determining whether it is a Linux service, even if you are deploying to a deployment slot:
https://github.com/microsoft/azure-pipelines-tasks/blob/7adc2fa8639ba6cf8a18dbe3d0bd93d78c641c9d/Tasks/AzureWebAppContainerV1/taskparameters.ts#L49
This seems to be the reason for this task failing in the my situation.

We've also just hit this after spending the afternoon trying to work out why our DevOps deployed image wasn't working. Same issue.

I just spent an hour debugging this as well. The kind was set to app,linux and that seemingly caused the image to be written to WindowsFxVersion

Just FYI, I switche to the AzureRmWebAppDeployment@4 task in DevOps, that does it correctly:
- task: AzureRmWebAppDeployment@4
  displayName: Deploy to Azure
  inputs:
    ConnectionType: 'AzureRM'
    azureSubscription: ${{ parameters.azure_subscription }}
    appType: 'webAppContainer'
    WebAppName: ${{ parameters.app_service_name }}
    DockerNamespace: ${{ parameters.dockerNamespace }}
    DockerRepository: ${{ parameters.dockerRepository }}
    DockerImageTag: ${{ parameters.dockerImageTag }}

What are you setting to? I am having the same issue!

Just spent a day trying to understand why my deployed linux container wasn't working. How the container deploy task does not work for linux is super confusing. It wasn't until I did az resource show --ids <resource id> and compared all the attributes of a web app deployed via manually selecting the image vs one I deployed using the pipeline, that I could see the windowsFxVersion being set in the one using this task... @mortenbock your solution worked perfectly for me.

This one also caused me some grief lately (situation is complicated by the fact I'm using Terraform for IaC and deploying compose instead of single dockerfile). @CMeeg's workaround worked, but it would be interesting to know proper way to handle this.
@PhilipsonJoseph any insights on this?

Was this resolved? It is still occurring, and we encountered it this week.

Spent an entire day troubleshooting the issue of why the docker image would not run a Linux web app when deployed through the pipeline. Finally found the difference in the WindowsFxVersion value via https://resources.azure.com when comparing the settings with an app that was deployed manually. It finally worked after using the AzureRmWebAppDeployment@4 task as suggested by @mortenbock.
Has there been any updates on this issue? If not, I believe at least the documentation should be updated with this.

A colleague of mine found a good workaround for this using bicep templates.
First ensure the web app:
resource sites_WebService 'Microsoft.Web/sites@2021-03-01' = {
  name: webServiceName
  location: location
  kind: 'app,linux,container'
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    enabled: true
    reserved: true
.......omittet for brevity
  }
  tags: tags
}

Then set the config, where we either use the existing value, or set a placeholder
resource sites_app_invoemailtrackingapi_config 'Microsoft.Web/sites/config@2022-09-01' = {
  parent: sites_WebService
  name: 'web'
  properties: {
    netFrameworkVersion: 'v6.0'
    vnetRouteAllEnabled: true
    acrUseManagedIdentityCreds: true
    alwaysOn: true
    linuxFxVersion: empty(sites_WebService.properties.siteConfig.linuxFxVersion) || sites_WebService.properties.siteConfig.linuxFxVersion == null ? 'DOCKER|alpine' : sites_WebService.properties.siteConfig.linuxFxVersion
    minTlsVersion: '1.2'
  }
}

This will prevent the app from restarting and using the wrong image, since there is no changes.
On the first time creation of the web app, the placeholder will be used, ensuring the web app is created correctly

I want to run bicep and inject my docker.compose file:
resource appService 'Microsoft.Web/sites@2023-01-01' = {
name: WebAppName
location: WebAppLocation
properties: {
serverFarmId: AppSvc.id
siteConfig: {
linuxFxVersion: 'COMPOSE|how to inject it ???'
}
}
}

anyone who still cares, maybe if you vote for https://developercommunity.visualstudio.com/t/Make-AzureWebAppContainer-recognize-linu/10771718 we'll get some action

FYI the AzureRmWebAppDeployment@4 work around has the unfortunate side affect of forcing the DOCKER_CUSTOM_IMAGE_NAME env var to be set on your app service...which if you're using terraform means you'll have to lifecycle ignore it which is crappy.
the workaround i went with was
          # https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-web-app-container-v1
          - task: AzureWebAppContainer@1
            displayName: Deploy Container
            inputs:
              azureSubscription: $(serviceConnection)
              appName: $(appName)
              imageName: $(acrHost)/$(imageRepository):$(version_lowered)
              # HACK: work around https://github.com/microsoft/azure-pipelines-tasks/issues/14805 :(
              configurationStrings: '-linuxFxVersion DOCKER|$(acrHost)/$(imageRepository):$(version_lowered) -windowsFxVersion null'

this mutates windowsFxVersion to "null" instead of null but it still makes linux container start up correctly and gets the kind to transition from app,linux to app,linux.container
technically that hack is only needed once, but doesn't seem to hurt to do it every time


Tests on S3 (mongodb_admin + api)

Coverage report
 Click to see where and how coverage changed
FileStatementsMissingCoverageCoverage(new stmts)Lines missing

  server/lomas_server/tests
  constants.py

  test_api.py
96
  test_mongodb_admin.py

  server/lomas_server/utils
  utils.py

Project Total

This report was generated by python-coverage-comment-action

Only remaining doable test would be LRU dataset store for when memory > max_memory_usage (https://htmlpreview.github.io/?https://raw.githubusercontent.com/dscc-admin-ch/lomas/python-coverage-comment-action-data/htmlcov/z_c5f248a6a7f10a78_lru_dataset_store_py.html)


undefined variable minima

Even if i create a completely fresh Jekyll project and update the minimal gems to latest version 2.5.1, i run into the following issue:
$ jekyll build --trace
Configuration file: F:/Projekte/JekyllTest/_config.yml
            Source: F:/Projekte/JekyllTest
       Destination: F:/Projekte/JekyllTest/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
  Liquid Exception: Liquid error (line 7): undefined variable minima in C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/minima-2.5.1/_layouts/post.html
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:62:in `block in evaluate': Liquid error (line 7): undefined variable minima (Liquid::UndefinedVariable)
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `each_index'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/variable_lookup.rb:38:in `evaluate'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/context.rb:159:in `evaluate'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/variable.rb:82:in `render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/tags/assign.rb:26:in `render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:91:in `render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:131:in `render_liquid'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:194:in `render_layout'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:163:in `place_in_layouts'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:93:in `render_document'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/renderer.rb:63:in `run'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:547:in `render_regenerated'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:532:in `block (2 levels) in render_docs'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:531:in `each'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:531:in `block in render_docs'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:530:in `each_value'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:530:in `render_docs'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:210:in `render'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:80:in `process'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby30-x64/bin/jekyll:23:in `load'
        from C:/Ruby30-x64/bin/jekyll:23:in `<main>'

I am using these _config.yml for demonstration, because i require strict settings for our development:
title: Your awesome title
email<EMAIL_ADDRESS>description: >- # this means to ignore newlines until "baseurl:"
  Write an awesome description for your new site here. You can edit this
  line in _config.yml. It will appear in your document head meta (for
  Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username:  jekyll

# Build settings
theme: minima
plugins:
  - jekyll-feed

# Liquid settings
liquid:
  error_mode        : strict # Response to errors (Possible values: 'lax', 'warn' or 'strict').
  strict_filters    : true # Catch non-existing filters.
  strict_variables  : true # Catch non-assigned variables.

Here is my example commit:
https://github.com/vivi90/reproduce-jekyll-issues/commit/1756c0492ee85f34f0ca5bffb511cc12a56bf424
If i use the setting strict_variables: false, then i will not be able to see my own issues as well.
An fix would be great, thank you very much!

Hello @vivi90
The error could be from this line
While we may or may not patch this for v.2.x, you can try and resolve the issue at your end by having the following in your config file:
# Minima date format
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
minima:
  date_format: "%b %-d, %Y"

@ashmaroli Yes, exactly.
After setting up some more variables explicit by the _config.yml, i ended up with the conclusion, that all variables need to be explicit set.
Otherwise it's not defined.
So there are some changes required inside minima to filter optional settings.


daisyUI logging breaking css output file using Bundle

I'm trying to use daisyUI for my Flask web app. I use Bundle with Flask-Assets (webassets) and apply filter="postcss" to compile the base tailwind css file. Bundle writes its output to a css file which now includes the logging of daisyUI:
� DaisyUI components 1.10.0  https://github.com/saadeghi/daisyui
✔ Including:  base, components, themes[2], utilities
Since this is not valid css, it breaks the entire file. Is there an option to disable logging (or mark them as warnings)?
Tailwind warnings like "You have enabled the JIT engine which is currently in preview." do not show up in the produced css file.
Bundle
styles_bundle = Bundle(
    "src/css/*.css", filters="postcss", output="dist/css/styles.min.css"
)

src/css/styles.css
@tailwind base;
@tailwind components;
@tailwind utilities;

postcss.config.js
const path = require('path')
const cssnano = require('cssnano')

module.exports = {
  plugins: [
    require('tailwindcss')(path.resolve(__dirname, 'tailwind.config.js')),
    require('autoprefixer'),
    cssnano({
      preset: 'default'
    }),
  ],
}

tailwind.config.js
const path = require('path')
const defaultTheme = require('tailwindcss/defaultTheme')

module.exports = {
  mode: 'jit',
  purge: {
    content: [path.resolve(__dirname, '../templates/**/*.html')],
    options: {
      safelist: [
        /data-theme$/,
      ],
    },
  },
  darkMode: false, // or 'media' or 'class'
  theme: {
    extend: {
      fontFamily: {
        sans: ['Nunito', ...defaultTheme.fontFamily.sans],
      },
    },
  },
  variants: {
    extend: {
    },
  },
  plugins: [
    require('daisyui'),
  ]
}

Sorry for this. Just found the logs option in the source code.

@kapitalisman good. logs config and others are also documented on the site: https://daisyui.com/docs/config
But I'm not sure why the logs goes inside the output file for you. It should just be printed on terminal 🤔


fix InaccessibleObjectException on java-17

"field.setAccessible(true);" throws an exception on java-17 because java.lang is not open for reflection. The problem cannot be worked around on the client side because "setAccessible(true)" is executed before evaluating the passed parameter "excludeFields". Both should be fixed with the change.
The existing tests also cover the change.

@stefansimon76
This PR currently has zero tests and no helpful explanation in the PR description.

Closing: No reply in 2 weeks.

@garydgregory I think I get the same issue that is described here when running a test that compares 2 ArrayList instances with JDK17. Is this reproducible?
@Test
void testEqualsArrayList() {
	List<String> tracks = new ArrayList<>();
	List<String> deserializedTracks = new ArrayList<>();

	Assertions.assertTrue(EqualsBuilder.reflectionEquals(tracks, deserializedTracks));
}

This is the stacktrace.
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final long java.util.ArrayList.serialVersionUID accessible: module java.base does not "opens java.util" to unnamed module @4de5031f
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:130)
	at org.apache.commons.lang3.builder.EqualsBuilder.reflectionAppend(EqualsBuilder.java:1020)
	at org.apache.commons.lang3.builder.EqualsBuilder.reflectionAppend(EqualsBuilder.java:983)
	at org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals(EqualsBuilder.java:236)
	at org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals(EqualsBuilder.java:271)
	at org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals(EqualsBuilder.java:322)

Hello @akuhtz
If you want to use this feature, you have to give it permission, please see https://github.com/apache/commons-lang/blob/9babe58d895a0e4d6563268ca188794fbf066b38/pom.xml#L468

@garydgregory  based on the documentation of the EqualsBuilder.reflectionEquals static fields should not be compared, and java.util.ArrayList.serialVersionUID is a static field. Isn't it a bug in the EqualsBuilder.reflectionEquals as it doesn't behave in line with its description?


switch c compiler check to different cmake variable

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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

Project coverage is 83.63%. Comparing base (c4b032d) to head (48a7afb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1169   +/-   ##
=======================================
  Coverage   83.63%   83.63%
=======================================
  Files          57       57
  Lines        5953     5953
=======================================
  Hits         4979     4979
  Misses        974      974

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


Don't log out validation errors to console

Problem statement
We currently output all validation errors to the console error stream.  We shouldn't do that because 1) these are specific to the user and their validation experience and 2) an influx of console errors will trigger PagerDuty alerts.
What you need to know

This is the block of code that logs out the validation errors.

Acceptance criteria

[x] Determine why we are console logging and communicate out to engineering team
[x] No validation errors are logged out

Will be handled in this pull request.

Was handled per #7945


feat(NODE-5071): support additional time series options

Description
Adds support for additional time series options when creating a collection.
What is changing?

Updates collection management spec tests.
Adds 2 new options to TimeSeriesCollectionOptions, bucketMaxSpanSeconds and bucketRoundingSeconds.

Is there new documentation needed for these changes?
None
What is the motivation for this change?
NODE-5071/DRIVERS-2546

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[x] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

New tests passing: https://evergreen.mongodb.com/task_log_raw/mongo_node_driver_next_rhel80_large_node_latest_test_latest_server_patch_41d4f0d8e9944a47e9a1e5385aa3303b921382cc_645d3e1ea4cf477408f7d31f_23_05_11_19_12_31/0?type=T#L2694


feat: Supports making requests to the Automatic1111 backend when running with the --api-auth parameter

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description

Possibility to mark requests to the AUTOMATIC1111 backend which running with --api-auth parameter.

Added

Add an optional configuration item AUTOMATIC1111_API_AUTH in Admin Panel and the .env file.

Additional Information

[Reference any related issues, commits, or other relevant information]](https://github.com/open-webui/open-webui/discussions/3310)

Screenshots or Videos

LGTM, Thanks!

Why can't I save it and keep loading

Why can't I save it and keep loading

没有复现出你所说的问题，是否可以提供更多信息？如是否有报错日志、stable diffusion webui配置信息等

我使用的是Docker安装的Open WebUI，然后SD使用的是秋叶的一键安装包，我开启了API功能，并设置了API账号密码，但是在Open WebUI里按照你图片的尝试保存，就是一直转圈，保存不了，也没有出现SD绘画模型的选项

尝试使用ip地址而不是localhost看看，尝试前先修改下防火墙设置，放行7680端口-------- 原始邮件 --------发件人： xiaoxiongweihu @.>日期： 2024年6月30日周日 19:24收件人： open-webui/open-webui @.>抄送： FuturePrayer @.>, Author @.>主    题： Re: [open-webui/open-webui] feat: Supports making requests to the Automatic1111 backend when running with the --api-auth parameter (PR #3328)
我使用的是Docker安装的Open WebUI，然后SD使用的是秋叶的一键安装包，我开启了API功能，并设置了API账号密码，但是在Open WebUI里按照你图片的尝试保存，就是一直转圈，保存不了，也没有出现SD绘画模型的选项
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

comfuui 和sd都试了，还是转圈，如果愿意的话，可以帮我看看吗？十分感谢


Create database using attributes

Cookbook version
5.3.6
Chef-client version
chef-solo -v
Chef: 11.16.4
Platform Details
Ubuntu 14.04
Scenario:
I can create database using attributes?
how would?
Steps to Reproduce:
if node['mysql']['databases']
server_root_password = node['mysql']['server_root_password']
node['mysql']['databases'].each do | name |
bash 'create_database' do
code <<-EOF
sudo echo -e "create database #{name};" | /usr/bin/mysql -u root '-p#{server_root_password}'
EOF
end
end
end
Expected Result:
STDERR: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-e create database {"name"=>"testebadabase", "password"=>"TesteqhYgdhcg66EPg3uk"}' at line 1

As of version 6, the cookbook became a library cookbook and no longer uses any attributes. We're now 8.2.0 and chef-client 11 is no longer supported. If you have issues with a recent version, please feel free to open an issue.


An error occurred while I was running 2D demo

when i was running 2d demo bag, I get the following erro:
process[robot_state_publisher-2]: started with pid [17777]
ERROR: cannot launch node of type [cartographer_ros/cartographer_node]: can't locate node [cartographer_node] in package [cartographer_ros]
process[rviz-4]: started with pid [17807]
process[playbag-5]: started with pid [17810]
[ERROR] [1472825523.736244580,<PHONE_NUMBER>.705740264]: PluginlibFactory: The plugin for class 'Submaps' failed to load.  Error: Could not find library corresponding to plugin Submaps. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.

Sounds like you didn't build everything first?

I am completely in accordance with the latest version of the tutorial.

You need to run the source install_isolated/setup.bash command in every terminal that you want to use cartographer in. This could be documented better.

Thank you,it was my mistake，i have run the
echo "source ~/install_isolated/setup.bash" >> ~/.bashrc
source ~/.bashrc
But,when i was running 2d demo bag, I get another erro：
[cartographer-3] process has died [pid 4946, exit code -6, cmd /home/robot/catkin_ws/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/robot/catkin_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_2d.lua echoes:=horizontal_laser_2d __name:=cartographer __log:=/home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3.log].
log file: /home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3*.log

@rohbotics ，hi，I get another erro：
cartographer_node: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:78: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = double; int Size = 4; int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(eigen_unaligned_array_assert_workaround_gcc47(array)) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ***"' failed.
[cartographer-3] process has died [pid 4946, exit code -6, cmd /home/robot/catkin_ws/install_isolated/lib/cartographer_ros/cartographer_node -configuration_directory /home/robot/catkin_ws/install_isolated/share/cartographer_ros/configuration_files -configuration_basename backpack_2d.lua echoes:=horizontal_laser_2d __name:=cartographer __log:=/home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3.log].
log file: /home/robot/.ros/log/002a0b9e-718c-11e6-a06c-000c29e30f9c/cartographer-3.log

Sounds like an alignment issue. Are you running on a 32-bit system? I'm asking because it should not be an issue on 64-bit systems. If you're not: processor? OS? compiler?

@carl1218 I'm closing this issue now since it seems clear that this is an alignment issue from running on 32-bit. This incompatibility is now documented in our system requirements.

I was running 2D demo bag and got this issue:

ERROR: cannot launch node of type [robot_state_publisher/robot_state_publisher]: robot_state_publisher
ROS path [0]=/opt/ros/indigo/share/ros

This doesn't seem Cartographer related: See http://answers.ros.org/questions/
That said: Did you follow our installation instructions? Is ros-indigo-robot-state-publisher installed on your system? Did you source /opt/ros/indigo/setup.bash?

hello, when I run 2d-demo on my computer,found following errors. Can you me tell me why? thanks.
[ERROR] [1550813350.043405211,<PHONE_NUMBER>.956007067]: PluginlibFactory: The plugin for class 'Submaps' failed to load.  Error: According to the loaded plugin descriptions the class Submaps with base class type rviz::Display does not exist. Declared types are  rviz/Axes rviz/Camera rviz/DepthCloud rviz/Effort rviz/FluidPressure rviz/Grid rviz/GridCells rviz/Illuminance rviz/Image rviz/InteractiveMarkers rviz/LaserScan rviz/Map rviz/Marker rviz/MarkerArray rviz/Odometry rviz/Path rviz/PointCloud rviz/PointCloud2 rviz/PointStamped rviz/Polygon rviz/Pose rviz/PoseArray rviz/PoseWithCovariance rviz/Range rviz/RelativeHumidity rviz/RobotModel rviz/TF rviz/Temperature rviz/WrenchStamped

@herogan2017  Have you solved the problem now? I just got the same problem, but I have already sourced the setup.bash.

I had the same error message as @herogan2017, and this thread was the top hit on Google.  In my case, I had built only the cartographer_ros package, neglecting to build the cartographer_rviz package.  After building cartographer_rviz and sourcing the proper setup.bash, it worked fine.

@herogan2017 I met this question just now. It needs run command "sudo apt-get install ros-kinetic-cartographer_rviz" to use rviz in this process. and now it works fine. By the way, the cartographer package can be install directly now.


[Feature] API for moving columns from X to obs

Adresses Issue #151.

PR Checklist

[x] This comment contains a description of changes (with reason)
[x] Referenced issue is linked
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] Documentation in docs is updated

Description of changes

added a function to move columns from X to obs

X -> obs function is WIP

add tests (WIP as well)

Additional context

Took longer than expected; we should double check if we are using var right (e.g. index are column_names of X)

Agree, move_to_obs will return a copy by default though.


Please add support for tower BOSS

I noticed If captured BOSS like Zoe & Grizzbolt in inventory, they won't be listed in tool somehow
If I convert sav to .json with edition and then to .sav, their data still exist, so I guess you might just need to add GUID recognition of them in the tool. Thank you

This has been added; let me know if anything isn't working now that we've added compatibility

This has been added; let me know if anything isn't working now that we've added compatibility

Running latest v0.4 Tool. ATK and DEF values of Tower BOSS are both show as '0' but it does not affect in-game values. Also, Skill modifications made to any Tower BOSS will be applied to all Tower BOSS in list and some other pals(to all players). Uploaded previous and latest sav to give an example.


feat: add wallpaper package

Describe the feature you'd like to request
Create package for the new wallpaper feature.
Describe the solution you'd like to see
This feature will have a variety of background sources and also able to connect to a google account and access to google photos album(opt in).
Figure out a sane level of inactivity and see if we can have some sort of full screen effect that can fade in/out based on activity.
Figure out a sane amount of time before switching to new background. Look into a way to run a utility against the next image to see if it is too noisy or not to be a decent background for the data viz dashboard.
Additional information
No response

The google photos portion of the feature is out of scope for this.
It can be as simple as 5 to 10 hard coded urls that cycle to test the full screen and switch.


Update cats-effect-kernel to 3.2.7

Updates org.typelevel:cats-effect-kernel from 3.2.3 to 3.2.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect-kernel" } ]

labels: library-update, semver-patch

Codecov Report

Merging #298 (6223a57) into master (86d520e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #298   +/-   ##
=======================================
  Coverage   34.89%   34.89%
=======================================
  Files          29       29
  Lines         298      298
  Branches        6        6
=======================================
  Hits          104      104
  Misses        194      194

Continue to review full report at Codecov.

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

Superseded by #299.


Initialization of class Embedding

Is this correct? or Should lora_B be zero?
https://github.com/microsoft/LoRA/blob/375704a4f7e376f8f1c4b43e2fd524859dac6a59/loralib/layers.py#L58-L60

Thanks for pointing this out. This shouldn't make a difference in practice as long as one of them is zero and another non-zero. Modifying it might render previous runs unreproducible.


remote connect exception

docker image doesnt connect to rocketmq instance org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to [<IP_ADDRESS>:9876] failed

@Madhukar2509  did you get your problem fixed? i have meet the same problem

I met this question when I started all by docker images.
I solved by:
docker run -d --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876" -p 8080:8080 -t apacherocketmq/rocketmq-dashboard:latest

@Madhukar2509  @wizardzhang Reference https://blog.csdn.net/zhangzengxiu/article/details/119062079

I tried all the options none of them fixed the issue back then and I had to move to a different MQ. Will try this now also it would be great if the blogs or documentation is in English as few cn domains are blocked in other countries atleast for the frequently encountered errors

I tried all the options none of them fixed the issue back then and I had to move to a different MQ. Will try this now also it would be great if the blogs or documentation is in English as few cn domains are blocked in other countries atleast for the frequently encountered errors

Hahaha, I will write my solution about this issue(the first hole I met about rocketmq, may be more holes) in my blog, but ... I've switched to rabbitmq ... @Carlos1729

I met this question when I started all by docker images. rockermq 4.8.0 I solved by:
docker run -d --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876" -p 8080:8080 -t apacherocketmq/rocketmq-dashboard:latest

use  :  docker run -d  --net=host  --name rocketmq-dashboard --link rmqnamesrv:namesrv -e "JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876"  -t apacherocketmq/rocketmq-dashboard:latest


added reflected version of magic methods

This patch added support for:
2 ** (64 - X)   # __rpow__, __rsub__, and all other __rFOOBAR__ methods
X >> 8          # __rshift__ and __rrshift__ (There were already X > 8 and X < 8, so I guess X >> 8 does not indicate a pipe redirection either)
1 << (64 - X)   # __lshift__ and __rlshift__
X @ np.eye(10)  # matrix multiplication since Python 3.5
X & 1
X ^ 1
+X              # I wonder if anyone would ever use this unary operator...

This patch also fixed a tiny repr problem:
>>> X // 42
X / 42          # should have been X // 42, even in Python 2.7

This patch did not add support for:
index in X      # the opposite of X._in_(index); __contains__ did not work and always returned True?
len(X)          # it would be confusing and inconsistent if built-in functions worked, but custom functions did not...

Magic method references: Python 2, Python 3

Thanks a lot for the PR! I'll have a look at merging it soon.
Do you think you could also update this page? https://github.com/0101/pipetools/blob/master/docs/source/xobject.rst#currently-supported-operations
If it now supports most operations maybe instead of listing everything we could just call out what doesn't work (like in).

OK, I'll update the docs page later.

Should we also add _and_, _or_, _not_ methods as we did for _in_?

Thanks for the update!
About and/or/not I would probably vote no, just to discourage doing too complex things with X which could be hard to debug if something goes wrong. But I'm not strongly convinced on that, so if you would find them useful they probably could be added.

Released as 1.1.0.


update dependencies

Current dependencies on/for this PR:

main

PR #172

PR #173

PR #174

PR #175

PR #176

PR #177   👈

This comment was auto-generated by Graphite.


Custom filename for config files

Users may use non-default filenames for dockerfile files or other file types(https://github.com/aquasecurity/trivy/issues/2608).
But IsType function does not allow you to add file patterns.
Previously, Trivy used file-patterns, but this is no longer possible.
Is it possible to add file patterns to scan configuration files with non-default names?
Regards, Dmitriy

https://aquasecurity.github.io/trivy/v0.30.4/docs/misconfiguration/options/others/

For now I've raised a PR to restore the functionality in Trivy so we can get a fix out quickly, but yes, I think we should do this in defsec :+1:


⚠ ClamAV has degraded performance

In ca76d42, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 456 ms

Resolved: ClamAV performance has improved in 5c9b4c8.


Hello world program exit with non-zero code

I'm compiling a hello world app using DlangUI following the official wiki using vscode, I have edited the app.d file and run dub run, it shows "Program exited with code -1073741701".
I have tried the following but have no luck:

dub upgrade --force-remove
dub build --force
remove dub.selections.json

Environment:
dmd: v2.100.2-dirty
dub: 1.29.2
os: Windows 10 Professional 21H1 (64bit)
Output of dub run:
bindbc-loader 1.0.1: target for configuration "noBC" is up to date.
bindbc-opengl 1.0.2: target for configuration "dynamic" is up to date.
derelict-util 3.0.0-beta.2: target for configuration "library" is up to date.
derelict-ft 2.0.0-beta.5: target for configuration "library" is up to date.
derelict-sdl2 3.0.0-beta.8: target for configuration "derelict-sdl2-dynamic" is up to date.
inilike 1.2.1: target for configuration "library" is up to date.
isfreedesktop 0.1.1: target for configuration "library" is up to date.
xdgpaths 0.2.5: target for configuration "library" is up to date.
icontheme 1.2.3: target for configuration "library" is up to date.
dlangui 0.9.187: target for configuration "default" is up to date.
helloworld ~master: building configuration "application"...
C:\Users\JinReal\AppData\Local\dub\packages\dlangui-0.9.187\dlangui\src\dlangui\graphics\resources.d(104,8): Deprecation: module `std.xml` is deprecated - Will be removed from Phobos in 2.101.0. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Users\JinReal\AppData\Local\dub\packages\dlangui-0.9.187\dlangui\src\dlangui\widgets\styles.d(28,16): Deprecation: module `std.xml` is deprecated - Will be removed from Phobos in 2.101.0. If you still need it, go to https://github.com/DigitalMars/undeaD
C:\Users\JinReal\AppData\Local\dub\packages\dlangui-0.9.187\dlangui\3rdparty\dimage\png.d(585,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead.
Linking...
To force a rebuild of up-to-date targets, run again with --force.
Copying files for dlangui...
Running helloworld.exe
Program exited with code -1073741701

Hello! Can you please post what does dub --verbose output?

Actually, I'm pretty sure that it's the win_app.def that causes problems. I remember removing that previously, but I think it got reverted. Can you please test what happens, if you remove "sourceFiles-windows-x86-dmd": ["$PACKAGE_DIR/src/win_app.def"], from dlangui's dub.json? it should fix everything, possibly

Actually, I'm pretty sure that it's the win_app.def that causes problems. I remember removing that previously, but I think it got reverted. Can you please test what happens, if you remove "sourceFiles-windows-x86-dmd": ["$PACKAGE_DIR/src/win_app.def"], from dlangui's dub.json? it should fix everything, possibly

Sorry I forgot to post the full output of dub run, I've updated the OP.

lol, it works now. I didn't change anything.

I would still like to see the output for dub --verbose to understand what is being compiled ^^


Running ruby code inside eval helper (and maybe others)

I created a layout with code
{{ cms:helper:puts:"hello world" }}
{{ cms:helper:eval:"User.first.inspect" }}
{{ cms:helper:eval:"User.where(\'id > 10\').first.inspect" }}

First user will be fetched from db and displayed in page.
Looking for the helper tag it looks like everything is outputted directly as given.
https://github.com/comfy/comfortable-mexican-sofa/blob/master/lib/comfortable_mexican_sofa/tags/helper.rb#L10
Is there some solution to forbid others from using eval (and others) inside helpers? Is there way to limit helpers to some specific ones?

ComfortableMexicanSofa.configure.config has option for "config.allow_irb = false"
Should it also have an option similar to
# Default would be some good regexp array, false would disable totally, true would enable for all helpers
# config.allowed_helpers = [array or regexps] | false (for none) | true
config.allowed_helpers = [/^number/, /^t/, /^link/]

And in helper.rb use those regexps to see if called helper is allowed. So this would match to number_to_percentage, link_to, etc.

Hey. Good find.
Perhaps it's easier to create a blacklist instead. So helper tags with methods like puts, print, eval are not rendered out. What other methods enable arbitrary ruby execution?
And yes if config.allow_irb is turned on, those methods will be allowed.

Thanks. I think big enough white list is the only way to go. I guess there are so many ways to go with this as currently also the following works {{ cms:helper:User.first }}
So question would be more of what is the right whitelisting info and how else has this to be sanitized. So you wont try {{ cms:helper:number_to_percentage:" \' + User.first.password\'' }} or similar ( so trying to escape quotes ). I'm not sure if this already works but it should be added to tests anyway. At least I didn't find anything in https://github.com/comfy/comfortable-mexican-sofa/blob/master/test/unit/tags/helper_test.rb

Same as #141


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-03-13)
Miscellaneous

update php sdk version (#26) (76bd65d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/momentohq/laravel-cache/releases/tag/v1.0.4 :sunflower:


Subselect does not work when table alias used

CrateDB version: 4.0.5
Problem description:
Exception raised when table alias used with sub-select query.
Also tested on 3.3.5 - all works fine.
Steps to reproduce:
create table test (a int);
>> Table TEST created.
create table test1 (b int, c int);
>> Table TEST1 created.
select (case when t.a in (select b from test1 where c = 1) then 1 else 0 end) as fav from test t
ERROR: UnsupportedFeatureException: Can't handle Symbol SelectSymbol{integer_array}
select (case when a in (select b from test1 where c = 1) then 1 else 0 end) as fav from test ;
>> (successfull)

Thank you for the bug report.
It looks like we've fixed this already in master, but we're missing a backport to 4.0 for the change that fixes this.
We'll look into it.

@shm-dmitry Thank you for reporting the bug. The fix will be available in the upcoming 4.0.6 hot fix release.


Yunfan/button ripple

https://user-images.githubusercontent.com/20573623/213894786-48dad6cc-48c7-4148-b1ff-c5ae864ba127.mov

Kevin made his changes directly into production, so main does not have the updated imports. Do you think you could make that fix a part of this PR?

Kevin made his changes directly into production, so main does not have the updated imports. Do you think you could make that fix a part of this PR?

I would say to open a new PR merging from production back to main, as this PR is not related to the production fix.

Branch is out of date now


google drive link

Thanks for the great work! When do you plan to release your dataset on google drive?

Thanks for the great work! When do you plan to release your dataset on google drive?
@mulns

Hi! Any update on this? If the dataset is too big for google drive can you provide the kubric/blender scripts to generate the training data?

Sorry for the late reply, I am working on another project now. The dataset was too large for google drive, and I am uploading it to OneDrive. If all goes well, the upload will be completed within 48 hours and I will post the download link then.

Thank you for the information.
I am also interested in testing longer sequences (> 7 frames) so the kubric/blender scripts would still be very useful for my research. In particular Kubric gives forward / backward flows between consecutive frames so how did you manage to produce flows between arbitrary frames?

The OneDrive link has been updated, and I regret to inform you that the script for dataset generation is currently unavailable. However, I can provide a brief summary of the concept:
As previously mentioned, Kubric provides forward and backward flows for adjacent frames. To achieve this, I need to render the same scene at various frame rates. For instance, I'll render the original video sequence at 60 FPS, and then I can extract the flow between frame 1 and frame 3 from a video rendered at 30 FPS. Similarly, the flow between frame 1 and 4 can be obtained from a video rendered at 20 FPS, and so on. I'll need to render the video at various frame rates, including 60, 30, 20, 15, 12, and 10 FPS. Ultimately, this will allow me to obtain optical flows between frame 1 and all the other 6 frames. This explains why the video sequence is limited to 7 frames.

Thank you for the detailed information and the download link for the data, this is very helpful!


Several tool proficiencies missing in lang file

Several tool proficiencies missing in lang file, cause those tool remain in English.
Localization team have to add them back manually.
Tools like:
Alchemist's Supplies
Bagipes
Chess Set
Thieves' Tool

These proficiencies are localized using the name of the item in the compendium, not using localization files. The translation module will have to ensure the toolIds points to the correct translated items.

Marking this as blocked on core software functionality for better handling compendium content translations.


Added condition for authentication failure (2.4.5)

Signed-off-by: randybrunopiverger<EMAIL_ADDRESS>regarding: https://github.com/stolostron/backlog/issues/10327
Note: Code freeze for 2.4.3 is March, 29th. I may have missed the boat for this fix on 2.4.

/hold

Failure from code smell caused by length of getClusterStatus function.

/lgtm

/unhold

/test lint-check-unittests-sonarcloud

/test lint-check-unittests-sonarcloud


[TwigComponent] Add missing spaces in doc

Tiny fix : add two missing spaces in doc examples

Q
A

Bug fix?
no

New feature?
no

Tickets

License
MIT

Looks much better now - thanks Simon!


Insufficient details

Please link  Execution option and Continue option to (https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/controlling-exceptions-and-events) which has better details.

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

ID: 80d9f5e1-6e9f-fc6b-8b25-510282f182d6
Version Independent ID: 7ab82b23-e425-bece-3756-76f09c6f79e6
Content: Debug Event Filters - Windows drivers
Content Source: windows-driver-docs-pr/debugger/debug---event-filters.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

@vijairaj - As the page you mentioned is already linked from this topic, I will close this issue.  Thanks for reaching out to the Windows Driver Developer Documentation team.


[FEATURE] Add CI to collect benchmark results in PR

Is your feature request related to a problem? Please describe.

Since we wants to improve the performance overhead of bpftime, we want to know if there's any code change, how much will it affect the uprobe overhead?
Describe the solution you'd like

Is there any CI solutions can help collect benchmark results and show it in the PR?
For example, run the micro benchmark in benchmark dir, and show the results as the comments of the PR.

Yes! I think you are correct.
There are already some benchmark test suits in benchmark dir, and they can already be built by the CI. You can add some scripts to make it run automatically and collect the results.
The results can be shown as a comment in PR.


Build and push action as docker image

Change-type: minor
Signed-off-by: 20k-ultra<EMAIL_ADDRESS>

In a future PR we may want to add to this action to also create a GH release because I haven't made much progress with versionist regarding https://github.com/balena-io/deploy-to-balena-action/issues/104.

In a future PR we may want to add to this action to also create a GH release because I haven't made much progress with versionist regarding #104.

yup! I was going to add it in this PR actually but decided to not complicate it. In fact, we can modify this workflow to only trigger on a new release and make the new release trigger be on this workflows current triggers.

@balena-ci I self-certify!


[SPARK-26547][SQL] Remove duplicate toHiveString from HiveUtils

What changes were proposed in this pull request?
The toHiveString() and toHiveStructString methods were removed from HiveUtils because they have been already implemented in HiveResult. One related test was moved to HiveResultSuite.
How was this patch tested?
By tests from hive-thriftserver.

@hvanhovell Please, take a look at the changes.

Can one of the admins verify this patch?

Test build #100791 has started for PR 23466 at commit ffe412a.

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/testing-k8s-prb-make-spark-distribution-unified/6686/
Test PASSed.

Test build #100791 has finished for PR 23466 at commit ffe412a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

jenkins, retest this, please

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/testing-k8s-prb-make-spark-distribution-unified/6696/
Test PASSed.

Test build #100801 has started for PR 23466 at commit ffe412a.

Test build #100801 has finished for PR 23466 at commit ffe412a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #4496 has started for PR 23466 at commit ffe412a.


Fix packages artifacts map assignment, bubble up errors returned

Remove unnecessary packages artifacts map assignment
Bubble up errors in getting tags

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.19

/approve
/lgtm
/woof


Add StyleCop to altinn-access-management projects

Description
Add stylecop analysis, settings and Altinn3 rule file to all project in AccessManagement solution and resolve build errors
Additional Information
No response
Tasks
No response
Acceptance Criterias

StyleCop rules are enforced
Build errors are resolved
Build warnings reviewed and resolved within reason

Committed to branch: POC-Add_delegationscontroller
and will be merged together with the initial solution setup and move of Delegation logic from altinn-authorization repo


Some questions about calculating the fluctuation variables in TKE budget equation

In the TKE budget equation ∂_t E = - ∂_z ⟨w′e′ + w′p′⟩ - ⟨w′u′⟩ ∂_z U - ⟨w′v′⟩ ∂_z V + ⟨w′b′⟩ - ϵ, for example, when calculating the shear production term in x-direction, in my opinion, one need to calculate the horizontally averaged variables (U, V and W) and the fluctuation variables (u'= u-U, v'= v-V, w'= w-W) first, then calculate the shear production term [-(u’u’∂xU + v’u’∂xV + w’u’∂xW)], but in the script TKEBudgetTerms.jl, it seems like the model.velocities (u, v and w) is directly used for calculating the shear production terms:

@inline function shear_production_x_ccc(i, j, k, grid, u, v, w, U, V, W)
u_int = ℑxᶜᵃᵃ(i, j, k, grid, u) # F, C, C  → C, C, C
∂xU = ∂xᶜᶜᶜ(i, j, k, grid, U) # F, C, C  → C, C, C
uu = ℑxᶜᵃᵃ(i, j, k, grid, ψ², u)
uu∂xU = uu * ∂xU

∂xV = ℑxyᶜᶜᵃ(i, j, k, grid, ∂xᶠᶠᶜ, V) # C, F, C  → F, F, C  → C, C, C
vu = ℑyᵃᶜᵃ(i, j, k, grid, v) * u_int
vu∂xV = vu * ∂xV

∂xW = ℑxzᶜᵃᶜ(i, j, k, grid, ∂xᶠᶜᶠ, W) # C, C, F  → F, C, F  → C, C, C
wu = ℑzᵃᵃᶜ(i, j, k, grid, w) * u_int
wu∂xW = wu * ∂xW

return -(uu∂xU + vu∂xV + wu∂xW)

end

Also, when calculating the pressure redistribution term, the pressure p is directly used without any operations. I don't know if my understanding is correct, and if not, are there any special considerations for doing in that way?

It seems that the ZpressureRedistribution function has not been adjusted in Oceanostics.jl repo yet, right? So I tested on GPUs in the following way. The model setup is the same as the Langmuir Turbulence example setup in:
https://clima.github.io/OceananigansDocumentation/stable/generated/langmuir_turbulence/.
The test codes and outputs in Jupyternotebook are attached here:
https://github.com/zwei961120/TKE_test/blob/main/TKE_TEST.ipynb, and everything seems to be going well.
Besides, I am little confused, when calculating the Z-direction pressure redistribution term, why performing velocity and pressure averages in Y and Z directions like W = Field(Average(w, dims=(2, 3))) rather than performing the horizontally averages like W = Field(Average(w, dims=(1, 2)))?
Feel free to tell me your thoughts. Thanks!

It seems that the ZpressureRedistribution function has not been adjusted in Oceanostics.jl repo yet, right?
So I tested on GPUs in the following way. The model setup is the same as the Langmuir Turbulence example setup in: https://clima.github.io/OceananigansDocumentation/stable/generated/langmuir_turbulence/.
The test codes and outputs in Jupyternotebook are attached here: https://github.com/zwei961120/TKE_test/blob/main/TKE_TEST.ipynb, and everything seems to be going well.

Just FYI the urls you passed aren't properly linked. The proper way to do it is:
[some text](https://github.com/zwei961120/TKE_test/blob/main/TKE_TEST.ipynb)
hope this helps in the future :)

Besides, I am little confused, when calculating the Z-direction pressure redistribution term, why performing velocity and pressure averages in Y and Z directions like W = Field(Average(w, dims=(2, 3))) rather than performing the horizontally averages like W = Field(Average(w, dims=(1, 2)))?
Feel free to tell me your thoughts. Thanks!

Let's continue this discussion at https://github.com/tomchor/Oceanostics.jl/pull/104 since we're discussing the code there!
I'll answer you over there


SchneiderElectric - The city of the job is "Romania" instead of "remote or Bucharest"

ENVIRONMENT: production
URL: solr.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Execute Query for "SchneiderElectric" Company
Check the city of the jobs
Open https://careers.se.com/global/jobs?keywords=&lang=en-US&page=2&country=Romania
Check the city/location of the jobs

EXPECTED RESULTS:
The city/location of the jobs is "remote or Bucharest" as on the company's website
ACTUAL RESULTS:
The city of the job is "Romania" instead of "remote or Bucharest" on solr.peviitor.ro
The message "Romania is not a city in Romania" is displayed on scrapers.peviitor.ro

Fixed

After retesting, 7 of the 9 jobs that displayed "No job type" in scrapers.peviitor.ro, are remote on the company website

Regional Cooling Service Expert,
Utilities Segment Sales Manager,
Customer Advisor Trainee with Spanish ,
Services Orders Admin Trainee,
Consulting Sustainability Advisor,
Sales Director – Industrial Automation EUs, OEMs & Industry SIs,
Commercial Customer Support with Bulgarian


Deprecation schedule for minor (breaking) language changes

Rendered version: https://github.com/WardBrian/design-docs/blob/deprecation-schedule/designs/0031-language-deprecation-schedule.md
Prior discussion on forums (largely replicated in the doc): https://discourse.mc-stan.org/t/a-deprecation-schedule-for-stan/24228

I'd like to ask for any more feedback on this. We will be discussing it during Thursday's language meeting and then merging unless there are objections


ReactInstanceManager API Updates

Updating code example with updated method names...
onHostPause -> onPause
onHostResume -> onResume
onHostDestroy -> onDestroy

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot shipit

Thanks for importing.If you are an FB employee go to Phabricator to review internal test results.


System.ComponentModel.DisplayNameAttribute Error

Hi, I get the following errors when building/rebuilding my project.
Both errors refer to line 8 of HtmlBasicContentEditor.cs file.
The type 'System.ComponentModel.DisplayNameAttribute' exists in both 'Serenity.Script.UI.dll' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll'
The type or namespace name 'DisplayName' could not be found (are you missing a using directive or an assembly reference?)
I have tried to implement the SlickGrid Formatter as per the documentation example but have removed all changes made but still get the errors.

why nobody read. troubleshooting section.


More hotkeys #1728

More on page main and code inspector,
plus changed default for settings.
#1728

conflicts

conflicts resolved


Ensure the dropdown loaded in git-checkout-pr

Closes #4489
If you click on the dropdown before the page has fully loaded you will get the error.
Test URLs
https://github.com/sindresorhus/refined-github/pull/4448 or this PR
Screenshot

Thanks! It works


"Stop laser when there is not enough space in inventory" misbehaves when inventory slots have applied filters.

https://github.com/starfi5h/LaserClearing/blob/b84a2b975e9c65a6357a333679e65a6715220124/src/LocalLaser_Patch.cs#L97
The laser currently doesn't stop when there exist empty inventory slots, but those empty slots have a filter applied. This causes items to pop onto the ground. There should be a check here to catch such a case, assuming the game has a method of doing so.

Thank you!


Use wee_alloc by default

Fixes #45

That's it? It already works? :)

I think so? :) wee_alloc seems to also have some cargo features, but apparently they increase size or add runtime overhead.


Optimizations, cleanup, and general tweaks

This is an ongoing branch to improve Glowstone++'s code and performance.

huge pull requests = fail.


Add tests for ProfileCommandParser

Codecov Report
Base: 72.04% // Head: 72.59% // Increases project coverage by +0.54% :tada:

Coverage data is based on head (3880f89) compared to base (eb10b61).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #71      +/-   ##
============================================
+ Coverage     72.04%   72.59%   +0.54%
- Complexity      420      424       +4
============================================
  Files            73       73
  Lines          1288     1288
  Branches        136      136
============================================
+ Hits            928      935       +7
+ Misses          323      318       -5
+ Partials         37       35       -2

Impacted Files
Coverage Δ

...ess/logic/parser/profile/ProfileCommandParser.java
100.00% <ø> (+19.04%)
:arrow_up:

...logic/parser/profile/EditProfileCommandParser.java
92.59% <0.00%> (+11.11%)
:arrow_up:

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I edited the regex to include trailing whitespace because for the test cases, which doesn't go through the NuSchedulerParser.parserCommand(), the whitespace do not get trimmed. Without it, profileCommandMatcher.matches() will be false, and it will throw and error.


Fix/Remove the update column under team roster

On the roster view under the teams tab in the league dashboard, the update column needs to be removed from the array that is used to render the columns. We no longer want to update players through the teams.

i'll work on this

Sounds good, thanks.

I get two errors when running npm test before making any modifications
...league-for-good\client\src\components\dashboard\helper\tableTemplate\__original              Table.jsx
98:24  error  'onSort' is missing in props validation           react/prop-types
100:32  error  'sortColumnIndex' is missing in props validation  react/prop-types

I have an unmodified master branch and I can't duplicate this when I run the tests. I looked at the file and it seems that if you add this:
Headers.propTypes = {
	headers: PropTypes.arrayOf(PropTypes.object),
	onSort: PropTypes.func,
	sortDirection: PropTypes.string,
	sortColumnIndex: PropTypes.number
};

to the prop types of the Headers component, I think it will fix it.
I added it and pushed it to the master branch, you can pull it and see if it will fix it.

ok great thanks that worked, I just had to switch these two lines because of alphabetical order
sortDirection: PropTypes.string,
sortColumnIndex: PropTypes.number


CellPose freeze when using --no_norm in cli [BUG]

Describe the bug
I am running cellpose through the cli and I've noticed if I use --no_norm it freezes after (seemingly) processing one image.
From monitoring GPU processing/memory usage I think cellpose process one image, reads a new image to memory and then freezes (I will try and get a screen capture of nvtop soon so you can see what I mean).
To Reproduce
bash cellpose.sh

cellpose.sh
cellpose \
    --no_norm \
    --pretrained_model my-local-model \
    --dir . \
    --verbose \
    --diam_mean 50 \
    --use_gpu \
    --gpu_device 0 \
    --save_tif > cellpose.log 2>> cellpose.log

NB: if I remeove --no_norm the process proceeds and finishes as expected.
Run log
cellpose.log
2023-02-15 05:58:57,264 [INFO] WRITING LOG OUTPUT TO /root/.cellpose/run.log
2023-02-15 05:58:57,264 [INFO]
cellpose version: 	1.0.3.dev94+g059d88e
platform:       	linux
python version: 	3.8.8
torch version:  	1.9.0+cu102
2023-02-15 05:59:01,623 [INFO] ** TORCH CUDA version installed and working. **
2023-02-15 05:59:01,623 [INFO] >>>> using GPU
2023-02-15 05:59:01,635 [INFO] >>>> running cellpose on 43 images using chan_to_seg GRAY and chan (opt) NONE
2023-02-15 05:59:01,635 [INFO] >>>> loading model my-local-model
2023-02-15 05:59:05,736 [INFO] >>>> model diam_mean =  30.000 (ROIs rescaled to this size during training)
2023-02-15 05:59:05,736 [INFO] >>>> model diam_labels =  50.000 (mean diameter of training ROIs)
2023-02-15 05:59:05,736 [INFO] >>>> using diameter 30.000 for all images
2023-02-15 05:59:05,738 [INFO] 0%|          | 0/43 [00:00<?, ?it/s]

Screenshots
<Coming soon, hopefully>

I just noticed my cellpose is quite outdated and will try and update first.


⚠ Jenkins Plugins Artifactory has degraded performance

In 8c5da97, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1323 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4f75144 after 16 minutes.


Switch from reqwest to ureq in Ruby example

Since we don't need reqwest's additional features (such as async support), and ureq's much smaller dependency tree reduces compile times and binary size substantially.
This helps with CI times for this repository, which cannot use caching since it is a library so doesn't have a lockfile to use for cache-busting.
This is equivalent to heroku/libherokubuildpack#22.

This reduces the CI lint job runtime by half, and the build/test job runtime by a third.


feat: use anchor tag for tree

📝 Changed routes:

/

(view full size)

Commit d4d6cddf7060fdeef89f94063074d5950274b717 (https://notiolink-r8t6jnh4i-theodorusclarence.vercel.app).


DOC: write out a prose narrative of the proposed design

I also discovered that mathjax does not work with singlehtml (it builds cleanl, adds the math tags etc but does not add mathjax to the output file) and I was getting local build issues due to the mpl-sphinx-theme.
We should decide if want to:

want to not use any math in the docs
switch to normal html (which it might be getting long enough we need to do that anyway)
fix the mathjax extension to work with singlehtml

Other relevant links:

https://gist.github.com/tacaswell/0e0f85433a0462d90aaf5d1e81486c8f a nearly minimal but functional plotting tool built on our backends.  I think this may be a useful starting point to build out a "parable of git" style documentation or https://nsls-ii.github.io/bluesky/run_engine.html as the existing code has too much error handling, complicating features, optomizations, etc on it to be super clear
https://gist.github.com/tacaswell/95177903175dbc28be5353b4a0e5118f <- very early prototype / sketch of DataContainers (call "Sources" in that version).  Signature is different (get vs query, no caching) and directly sub-classes existing Artists
https://paper.dropbox.com/doc/Matplotlib-4.0--BsQbaDIrvAh2ioCzz80zsEkZAQ-WTYwd0NQaSHTjtLUZwkNx old draft of a "mpl 4" proposal that feed into the grant proposals

This is super helpful for me.
A lot of this design has to do with holding numpy arrays, and being able to subsample them on the fly, and carry some meta information around about the numpy arrays.  I think that is great and will be a huge step forward for us.  Where I'm still unclear is our interface with other data types and units.
How do we tell downstream or adjacent libraries how we will decode their objects, both just to get the numpy array, and to do unit conversion?  Specifying this seems pretty key to me, and maybe is beyond just our remit.  Pandas, xarray, have things like obj.to_numpy(), obj.values, and I think they have __array__ representations.  I think we largely expect np.asarray(obj) to work.  But that kills units.
Unit support is confusing as well.  I think the confusion comes from whether elements of arrays should have units and that is where we detect the dtype, or whether the array itself should have the units. I feel we should put our foot down: I think arrays should have units, not array elements.  I think that leaves lists of pint objects out in the cold, and I'm not even sure it works with the jpl_units interface, but I pretty strongly feel there is no reason to have arrays with mixed units, and that parsing unit information from either the array or its elements is far too confusing.
However, that has the same issue in that we need a standard for how arrays hold their unit information, or how we can access it.  Or we just natively support object arrays (categorical) and np.datetime64 arrays (dates) and let downstream libraries write their own converters like we do now.  However, if we do that, do we also make the conversion interface the way the downstream libraries extract the numpy array?   Then we don't need to guess how they turn their object into an array.  Note, that we don't do this presently.
You have probably thought through some of the above, but I think it's hard because unlike much of the rest of this proposal, it involves the interface with other projects, and probably the conversation should start soon.

Everything goes under the DataContainer wrapper so it has a consistent API. We have not gotten to the design of the helper-functions to make fabricating these objects easy yet.

I guess thats what I'm asking: who makes the DataContainer?  I guess the way we do things now is that we ask the converter to do it, so I assume this would be the same, but now the downstream library would provide the DataContainer implementation? Are they going to need to make a different Container for each plot type they want to support?


⚠ Secret Website 4 has degraded performance

In 29f1f75, Secret Website 4 ($SECRET_WEBSITE_4) experienced degraded performance:

HTTP code: 200
Response time: 15574 ms

Resolved: Secret Website 4 performance has improved in 9fbd0fc after 29 minutes.


fix wrong memory metric for cached entries

What is changed and how it works?
Issue Number: Close #17722
What's Changed:
For some of the same entries, memory metric for cached entries decreased twice
the first decrease happened in handle_raft_committed_entries->evict_entry_cache,
the second happened in handle_apply.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

/cc @glorv

Good job!

@chagelo Perhaps you are overthinking the issue. I have updated the problem description (https://github.com/tikv/tikv/issues/17722#issue-2617648309), please take another look and feel free to reach out if you have any questions.

@hhwyt Thanks for your updated description, but I'm still really confusing🥵.
Does MEMTRACE_ENTRY_CACHE record not only EntryCache.cache, but also EntryCache.trace?(I see that MEMTRACE_ENTRY_CACHE's decrement is recorded in EntryStorage::compact_to when compact EntryCache.cache)

@hhwyt Thanks for your updated description, but I'm still really confusing🥵. Does MEMTRACE_ENTRY_CACHE record not only EntryCache.trace, but also EntryCache.cache?(I see that MEMTRACE_ENTRY_CACHE records the decrement of EntryCache.cache in EntryStorage::compact_to)

Yes.

@hhwyt Thanks for your updated description, but I'm still really confusing🥵. Does MEMTRACE_ENTRY_CACHE record not only EntryCache.trace, but also EntryCache.cache?(I see that MEMTRACE_ENTRY_CACHE records the decrement of EntryCache.cache in EntryStorage::compact_to)

Yes.

Does it also record other things? Such as CachedEntries in ApplyTask, if it's actually recoreded, but why we don't record increment when construct the applytask

@chagelo Sorry for the late response.

Does it also record other things except EntryCache.cache and EntryCache.trace? Such as CachedEntries in ApplyTask, if it's actually recoreded, but why we don't record increment when construct the applytask

EntryCache.trace and ApplyTask CachedEntries are the same entity, and they are shared through an Arc pointer.
Refer to:
https://github.com/tikv/tikv/blob/58f4a28b14ffbece6b6b57c38d543b4aefbd85aa/components/raftstore/src/store/peer.rs#L3180-L3181

When is CachedEntries in AppTask is empty but CachedEntries' range is not empty in handle_apply

When EntryCache compaction occurs, refer to EntryCache::compact_to.

Solution to https://github.com/tikv/tikv/pull/10334#discussion_r1751591337

This issue has been fixed in https://github.com/tikv/tikv/pull/17488/commits/3e63b3cfcd303ceb31b0aed0fc81acfedc0d8f64. However, the remaining problem is that the name ‘dangle_size’ is currently not appropriate.

Oh, I got you, thanks.
And, if CachedEntires is evicted, when we need to apply the entries, we will to fetch the enries into memory but will not fetch into EntryCache, do we still need to count for thoes entries?
Please take a look at my previous commit.

/ok-to-test

Nice job, thanks for your contribution!

/retest


chore(news): hexo-filter-responsive-images 1.4.0 & 1.4.1, hexo-asset-pipeline 1.7.0 release news

hexo-filter-responsive-images 1.4.0 & 1.4.1
hexo-asset-pipeline 1.7.0

@tomap
Thanks a replay. But, I'm sorry, I’m not sure what you mean :sob:
Should I dived this PR into two PR ?

I would do a single blog post instead of two
Le ven. 14 déc. 2018 à 11:33, YoshinoriN<EMAIL_ADDRESS>a
écrit :

@tomap https://github.com/tomap
Thanks a replay. But, I'm sorry, I’m not sure what you mean 😭
Should I dived this PR into two PR ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hexojs/site/pull/840#issuecomment-447284781, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJY_r3B_c-uajjKBcIaV2P6rW1IbZnhks5u436KgaJpZM4ZQ2so
.

@tomap
OK. I understand. I will re-create & push.

Done

@tomap
Would you check it ?

Thanks @tomap
I will merge this PR after fix the build failure.


[backup] add --replay-all to db-restore

Motivation
skips trying to find and use a latest state snapshot. Intended to be used as a VM compatibility test tool.
Have you read the Contributing Guidelines on pull requests?
y
Test Plan
on command line
Related PRs

/land