[BUG] Index Template APIs need to be specified under cluster permissions rather than index permissions

What is the bug?
Index Template APIs need to be specified under cluster permissions rather than index permissions
How can one reproduce the bug?
Steps to reproduce the behavior:

Create an internal role like so
curl -XPUT https://localhost:9200/_plugins/_security/api/roles/sem-role -H 'Content-Type: application/json' -d' { "cluster_permissions": [ "cluster_monitor" ], "index_permissions": [{ "index_patterns": [ "sem*" ], "allowed_actions" : ["*"] }] }
Create a user with this role
curl -XPUT https://localhost:9200/_plugins/_security/api/internalusers/sem-user -H 'Content-Type: application/json' -d' { "password": "######", "opendistro_security_roles": ["sem-role"] } '
Define template using this user fails with permission denied to create template
curl -XPUT  -u sem-user "https://localhost:9200/_template/sem1234?pretty" -H 'Content-Type: application/json' -d' { "index_patterns": ["sem1234*"], "template": {  "settings": {    "number_of_shards": 2,    "number_of_replicas": 1  },  "mappings": {    "properties": {      "timestamp": {        "type": "date",        "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"      },      "value": {        "type": "double"      }    }  } } } '

Response:
{   "error" : {     "root_cause" : [       {         "type" : "security_exception",         "reason" : "no permissions for [indices:admin/template/put] and User [name=sem-user, backend_roles=[], requestedTenant=null]"       }     ],     "type" : "security_exception",     "reason" : "no permissions for [indices:admin/template/put] and User [name=sem-user, backend_roles=[], requestedTenant=null]"   },   "status" : 403 }
This permission issue is resolved if the indices:admin/template/* permission is specified under the cluster permissions, like so:
 curl -XPUT https://hostname:50140/_plugins/_security/api/roles/sem-role -u admin:admin123  -H 'Content-Type: application/json' -d' {   "cluster_permissions": [     "cluster_monitor",     **"indices:admin/template/*"**   ],   "index_permissions": [{     "index_patterns": [       "sem*"     ],     "allowed_actions" : ["*"]   }] } '
What is the expected behavior?

The Template APIs fall under the index permissions as per docs (https://opensearch.org/docs/latest/security-plugin/access-control/permissions/#index-permissions) and the permission should work when defined under "index_permissions" and not "cluster_permissions"
The Template APIs should honor the index patterns defined in the user role, i.e. the user should be allowed to create templates only for those index patterns which are permitted as per the user roles.

What is your host/environment?
OpenSearch 1.2.4 with opensearch-security plugin enabled on OEL7
Do you have any screenshots?
NA
Do you have any additional context?
https://forum.opensearch.org/t/internal-user-not-able-to-perform-operations-based-on-internal-role/9529/9

I had this problem yesterday and there is no clear information about this on the internet. Only because I found this problem on GitHub I was able to solve it.
In the permissions page it seems that I have to add the _index_template permissions in the "indices" part of the role and this generates this problem.

Hi Aria, can you please take a look at this and make the appropriate changes? Thanks!

@FrcMoya I'm trying to figure this out myself and not having any luck. Can you post what the resulting role permissions ended up looking like when you got it working (either as json to the API or yaml to the securityadmin.sh tool?

@BioSehnsucht I am using the AWS service so I don't really have access to the json nor securityadmin.sh.
This is the response of the GET role API call GET _plugins/_security/api/roles/read_only_role. OpenSearch 2.3 version:
{   "read_only_role" : {     "reserved" : false,     "hidden" : false,     "cluster_permissions" : [       "cluster_composite_ops_ro",       "cluster_monitor",       "indices:admin/index_template/get",      "..."     ],     "index_permissions" : [       {         "index_patterns" : [           "*"         ],         "fls" : [ ],         "masked_fields" : [ ],         "allowed_actions" : [           "read",           "get",           "search",           "indices_monitor",           "cluster_monitor",           "indices:admin/data_stream/get",           "indices:monitor/data_stream/stats",           "indices:admin/index_template/get",           "..."         ]       }     ],     "tenant_permissions" : [       {         "tenant_patterns" : [           "global_tenant"         ],         "allowed_actions" : [           "kibana_all_read"         ]       }     ],     "static" : false   } }

@FrcMoya Thanks. I now have Elastiflow Unified Connector outputting to OpenSearch with this role.
elastiflow_ingest:
  reserved: true
  index_permissions:
    - index_patterns:
        - 'elastiflow-*'
      allowed_actions:
        - 'indices:*'
  cluster_permissions:
    - 'cluster:admin/component_template/*'
    - 'cluster_manage_index_templates'
    - 'cluster_monitor'
    - 'indices:admin/index_template/*'


warning.js?8a56:36 Warning: Unknown prop nodeKey on  tag. Remove this prop from the element.

Reproduce
My repo: https://github.com/Stupidism/stupid-rc-starter

clone
yarn install
npm start

Warnings in console
Warning: Unknown prop `nodeKey` on <pre> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in pre (created by SyntaxHighlighter)
    in SyntaxHighlighter (created by CodeBlock)
    in CodeBlock (created by ReactMarkdown)
    in div (created by ReactMarkdown)
    in ReactMarkdown (created by Unknown)
    in Unknown
    in WrapStory
warning.js?8a56:36 Warning: Unknown prop `codeinfo` on <pre> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
    in pre (created by SyntaxHighlighter)
    in SyntaxHighlighter (created by CodeBlock)
    in CodeBlock (created by ReactMarkdown)
    in div (created by ReactMarkdown)
    in ReactMarkdown (created by Unknown)
    in Unknown
    in WrapStory

I figured it out.
I should only pick up props language and style
const CodeBlock = ({ literal, ...rest }) => (
  <SyntaxHighlighter {..._.pick(rest, ['language', 'style'])}>{literal}</SyntaxHighlighter>
);


Postgres db helm charts

Adding postgres helm charts.
Reorganizing helm charts directories.

LGTM - we can address any other changes in follow up PRs


The game update of Chinese clothes can't be used today

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1023
Describe the bug
Select the buddy war interface. It won't move and then the follower's skills can't be released. It may be a problem of game update. I hope the creator can solve this problem early
Video
...
Device model
vivoiQOO5
Android version
12
Screen size
2376×1080
RAM
128GB

Can't help you without a video.

Duplicate of #1258


win10 - redteam tools not installed

Operating System Version: win11
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): vmware
Vagrant Version (if applicable):

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:
While building win10 host, I see that install-redteam.ps1 runs, but there are no tools in C:\tools:
    win10: Running: scripts/install-redteam.ps1 as C:\tmp\vagrant-shell.ps1
==> win10: Running provisioner: shell...

Link to Gist Containing Build Logs:

started t-shoot.  looks like 1st error is that windows defender is blocking mimikatz install, at which point install-redteam stops

ok, looks like windows defender was supposed to be disabled, but it wasn't.  i disabled it manually via the Defender GUI and the script ran fine and installed the tools as expected
reading the install-redteam script, it indicates that it should already be disabled at this line:
# Windows Defender should be disabled already by O&O ShutUp10 and the GPO

maybe there's an issue with those?

looks like something is wrong with installing the AtomicRedTeam as well

i think the GPO is turning the Defender back on.  after some time (next day), defender is back on again

Dupe of #854


[Bug] XLOOKUP fails if match_model has empty value

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
0.5.1
Reproduction link
https://stackblitz.com/~/github.com/graham2071/sheets-vite-demo?file=src/main.ts
Expected behavior
In Excel and libreoffice, default value is 0 if not present in the formula
Actual behavior

=XLOOKUP(1,(B5:B15=H5)*(C5:C15=H6)*(D5:D15=H7),E5:E15) => is OK
=XLOOKUP(1,(B5:B15=H5)*(C5:C15=H6)*(D5:D15=H7),E5:E15,,0,-1) is Ok
=XLOOKUP(1,(B5:B15=H5)*(C5:C15=H6)*(D5:D15=H7),E5:E15,,,-1) => #VALUE
System information
No response
Note: example based on https://exceljet.net/formulas/xlookup-with-multiple-criteria

Could you please confirm if this is related to any known issues? @Dushusir

Could you please confirm if this is related to any known issues? @Dushusir

There are indeed some problems with the handling of formula default values.


Vm migrate task request_type should have a default value

Otherwise we're running update_attributes here: https://github.com/ManageIQ/manageiq/blob/master/spec/models/vm_migrate_task_spec.rb#L7 on an invalid subject and that feels wrong.
@miq-bot add_reviewer @lfu
@miq-bot assign @tinaafitz
@miq-bot add_label bug

we have the validation on this in these:
app/models/miq_retire_task.rb:2:  validate :validate_request_type, :validate_state
app/models/service_reconfigure_task.rb:2:  validate :validate_request_type, :validate_state
app/models/service_template_provision_task.rb:2:  validate :validate_request_type, :validate_state
app/models/vm_cloud_reconfigure_task.rb:4:  validate :validate_request_type, :validate_state
app/models/vm_migrate_task.rb:4:  validate :validate_request_type, :validate_state
app/models/vm_reconfigure_task.rb:4:  validate :validate_request_type, :validate_state

we have the default :request_type set in the following:
app/models/orchestration_stack_retire_task.rb:2:  default_value_for :request_type, "orchestration_stack_retire"
app/models/service_retire_task.rb:2:  default_value_for :request_type, "service_retire"
app/models/vm_retire_task.rb:3:  default_value_for :request_type, "vm_retire"

Can you verify this doesn't blow up the UI and API specs?

@Fryguy yeah but @gmcculloug  said he had comments first so maybe this isn't what he wants?

Yeah, it passes UI and API specs. Anyone want to merge this for me please?


[ADT7410] Add ADT7410

Library for an ADT7410 sensor.

Add Library
Add DocC
Add ADT7410 example
Add Test

But I have a problem. The sensor has 2 pins [INT and CT]. These should be triggered at certain values. In default the sensor should be triggered when the temperature drops below 10C. Pull pin INT to LOW. But my sensor does not do that. I could therefore not test the configuratiosn register. This must definitely still be tested live! But everything else is tested, via unit test.
I have in the Docu first of all everything together what is in the DataSheet. I write still further Libarys for temperature sensors. I think the protocol, mode etc. will be similar. Maybe you look at the end what you want to have in the DocC. Should exchange us there again what you want to stand in the DocC.

Very cool, you have configured pipelines. I think the build doesn't work, because the dependency would have to be adjusted. About the test coverage. This is more or less only possible with mocks. Do you want to include a libary for mocking? (Very cool, you have configured pipelines. I think the build doesn't work, because the dependency would have to be adjusted. About the test coverage. This is more or less only possible with mocks. Do you want to include a libary for mocking? https://mockingbirdswift.com/ for example)[https://mockingbirdswift.com/] for example

Very cool, you have configured pipelines. I think the build doesn't work, because the dependency would have to be adjusted. About the test coverage. This is more or less only possible with mocks. Do you want to include a libary for mocking? https://mockingbirdswift.com/ for example

When running Github host test CI, the SwiftIO dependency in your test is replaced by the branch mock automatically, so that would not be a problem.

The dependency of MadDrivers in the example that you changed just now needs be
.package(url: "https://github.com/madmachine/MadDrivers.git", branch: "main" instead. GitHub CI will get the correct one from your repo automatically, so you don't need to worry about it.

Ah okay. I will change it.  But now the build is successful.

Hi @janhendry
Thanks so much for your effort. This driver is much more detailed than our previous ones. I believe others can easily learn how to use this sensor with all these explanations.
BTW, could you insert the link of its chart in the documentation instead of the images for the later drivers, as it will increase the size of this library?
Anyway, I appreciate what you've done for our project : )

Hey @andy0808,
I had already written that I should still adapt the Docc.
Have in the Docc first of all everything together carried what seemed important to me. I have bought a series of temperature sensors. Whenever I have some time I will work off the list. Think here the things will always repeat themselves. Would then revise the Docc again. Since one could look which pictures one really needs. Which infos this library would really like to provide.
The images are from the datasheet, I can not put links to. But you could easily display them in a SVG file. Or you can host the images yourself.

The images are from the datasheet, I can not put links to. But you could easily display them in a SVG file. Or you can host the images yourself.

Hi @janhendry ,
Thank you so much for your kind contribution : ) I admire your work as this driver is written so detailed. I'll find some way to solve the picture size problem later.


Admins can view submission history

As a first step towards building out Submission history, we are going to show this data to admins only. This is just the initial set up so we can get a sense of these feature before rolling it out. Few things to note:

Table design matches /daily-data page
Columns not finalized
File name is not included in the server response yet so it is left blank here

Issue: https://app.zenhub.com/workspaces/experience-607d9d5e68b95200150fec37/issues/cdcgov/prime-reportstream/3365
Test Steps:

Generate submissions from a specific sender
Log into the web app as admin
Switch the org drop down to the sender from 1.
See submission history tab and results

Changes

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[x] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Fixes

#issue - List GitHub issues this PR fixes

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

cwinters-usds
29
1h 20m
21

MauriceReeves-usds
28
6h 58m
11

jimduff-usds
21
1d 8h 36m
15

kevinhaube
18
1h 34m
10

sean-usds
18
2h 20m
8

RickHawesUSDS
16
4h 9m
6

carlosfelix2
16
5h 3m
40

whytheplatypus
10
17h 22m
20

clediggins-usds
9
2h 26m
17

TomNUSDS
7
10m
1

jorg3lopez
5
6h 49m
0

jbiskie
5
1h 26m
1

brick-green-agile6
4
1h 5m
3

JosiahSiegel
1
4m
2

ahay-agile6
1
2d 16h 45m
0

oslynn
1
2h 42m
0

MikeC-A6
1
7h 7m
3

rhood23699
1
14h 10m
0

Pull reviewers stats
Stats for the last 30 days:

User
Total reviews
Median time to review
Total comments

cwinters-usds
29
1h 20m
21

MauriceReeves-usds
28
6h 58m
11

jimduff-usds
21
1d 8h 36m
15

kevinhaube
18
1h 34m
10

sean-usds
18
2h 20m
8

RickHawesUSDS
16
4h 9m
6

carlosfelix2
16
5h 3m
40

whytheplatypus
10
17h 22m
20

clediggins-usds
9
2h 26m
17

TomNUSDS
7
10m
1

jorg3lopez
5
6h 49m
0

jbiskie
5
1h 26m
1

brick-green-agile6
4
1h 5m
3

JosiahSiegel
1
4m
2

ahay-agile6
1
2d 16h 45m
0

oslynn
1
2h 42m
0

MikeC-A6
1
7h 7m
3

rhood23699
1
14h 10m
0

Still need to add tests


[WIP] Add boost to resolve_dependency

We need to host a pruned version of the boost source as cloning from git wit hall submodules takes a long time (xx mins).
Or we could use GIT_SUBMODULES <module>... to list the submodules explicitly (which would still take longer than downloading a already pruned archive)

I have created https://github.com/facebookincubator/velox/pull/3489 to add icu to the images.

If we use system boost the Boost_Libraries does not get p[opulated correctly, propaly need to modify resolve_dependency to handle COMPONENTS args

This is now ready :)


Add Boundary for canvas

maybe move checking for boundaries in box like quadtree?  or BoundaryCheckc class?  efficiant boundary checks (k d tree?)

Done


Add possibility to use local suggestions.

This looks like a really great PR, thanks! At this point I think the additional features justify adding a demo page to the docs. What do you think?

I agree, easy documentation is important. I'll try to make time for it as soon as possible.


PWA-652: Updated price slider labels

price does not wrap anymore on small screens

Pull Request Test Coverage Report for Build 993

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.507%

Totals

Change from base Build 990:
0.0%

Covered Lines:
1557

Relevant Lines:
3879

💛  - Coveralls


check for wm before running

before:
shod: X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Serial number of failed request:  77
  Current serial number in output stream:  94

after:
shod: another window manager is already running

stolen from dwm :).

Merged.
I did a few changes, like using errx(3) for exiting on error, and doing the selection on SubstructureRedirect events only once.
Thank you for the PR.


Document generation from comments using sh2md (Against NEXT)

Project Documentation / File Commenting
Synopsis
I was thinking about the documenting part of this project, and thought it might be useful to have a reference of all the functions and their calls on the project wiki for our and others' reference.
I searched online for any converters that would convert bash comments into GitHub markdown, and only found one - shdoc. In my opinion, it is lacking a lot, even with the PR that is on the project. So, I have spent the last 3 days rewriting it from scratch.
I have named my version sh2md. Can you guys please take a look at it, and give me comments, as I think it would be useful to start commenting the files and functions in this way. As I have written the converter myself, it will be easy to add / change as required for the project.
I have included two files in this PR that have been commented in this way - powerlevel9k.zsh-theme and functions/colors.zsh. I have attached the output to the bottom of this post for you to preview as well.
Requirements
The converter uses Gnu AWK. As this is available on most systems (and can be installed on Mac using Homebrew), I think it would be available to the majority of the contributors to use to create documentation for their files.
TODO

[ ] discuss the requirements for powerlevel9k
[ ] discuss the styles and tags we would like to use
[x] add a function to convert multiple line comments into paragraphs
[ ] add more section tags as required

Examples
File level comment block
################################################################
# @title powerlevel9k Theme
# @source https://github.com/bhilburn/powerlevel9k
#
# @authors
#   Ben Hilburn
#   Dominic Ritter
#
# @info
# This theme was inspired by [agnoster's Theme](https://gist.github.com/3712874)
#
# For basic documentation, please refer to the README.md in the top-level
# directory. For more detailed documentation, refer to the
# [project wiki](https://github.com/bhilburn/powerlevel9k/wiki), hosted
# on Github.
#
# There are a lot of easy ways you can customize your prompt segments and
# theming with simple variables defined in your `~/.zshrc`.
################################################################

powerlevel9k Theme
Source(s)
https://github.com/bhilburn/powerlevel9k
Author(s)

Ben Hilburn
Dominic Ritter

File Description
This theme was inspired by agnoster's Theme
For basic documentation, please refer to the README.md in the top-level directory. For more detailed documentation, refer to the project wiki, hosted on Github.
There are a lot of easy ways you can customize your prompt segments and theming with simple variables defined in your ~/.zshrc.

Function comment blocks
#!/usr/bin/env zsh
# vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8
################################################################
# @title Color functions
# @source https://github.com/bhilburn/powerlevel9k
# @info
# This file holds some color-functions for the powerlevel9k-ZSH-theme
##

################################################################
# @description
# Get numerical color codes. That way we translate ANSI codes ZSH-Style color codes.
#
# @example
#   getColorCode 'black'
#
# @args
#   $1 string|number If string, ANSI color code.
#
# @returns
#   Zsh style color code.
##
function getColorCode() {
  # ...
}

################################################################
# @description
# Check if two colors are equal, even if one is specified as ANSI code.
#
# @examples isSameColor 'black' 0
#   isSameColor 'white' 0
#
# @args
#   $1 string|number First color.
#   $2 string|number Second color.
#
# @returns
#   true if they are the same color.
#   false if they are different colors.
#
# @see
#   getColorCode
##
function isSameColor() {
  # ...
}

Color functions
Source(s)
https://github.com/bhilburn/powerlevel9k
File Description
This file holds some color-functions for the powerlevel9k-ZSH-theme
Table of Contents

getColorCode()
isSameColor()

getColorCode()
Get numerical color codes. That way we translate ANSI codes ZSH-Style color codes.
Example
getColorCode 'black'

Arguments

$1 (string|number) If string, ANSI color code.

Returns

Zsh style color code.

isSameColor()
Check if two colors are equal, even if one is specified as ANSI code.
Example
isSameColor 'black' 0
isSameColor 'white' 0

Arguments

$1 (string|number) First color.
$2 (string|number) Second color.

Returns

true if they are the same color.
false if they are different colors.

See also

getColorCode

@onaforeignshore - This is a really excellent idea, and I think it will go a really long way to building out useful developer documentation for P9k. As the project grows, and we get more and more people contributing, this is increasingly important. Right now, all we have is the Developer's Guide and the code comments (which are sparse in many areas).
Some early thoughts:

Is it possible to create more visual separation between functions in the rendered markdown? Glancing over the Github-rendered output, it can be difficult to easily see where one function ends and the next one begins.
I think it will be important if the tool outputs files in a way that can be immediately copied / used from within the Github "Wiki Local Editing" workflow: https://help.github.com/articles/adding-and-editing-wiki-pages-locally/
Occasionally it is useful to be able to show images in docs. I'm assuming that will work out-of-the-box by URL, but if you want to drop an image into the Github wiki git repo, do you think there is a way you can add support for that in sh2md?

Overall, I think this is already fantastic, and it already seems to be largely in a very useful form. This is really awesome, and I wouldn't be surprised to see lots of other projects start using this, as well - especially once they see how amazing the P9k documentation is! ;)

@bhilburn

Since it is a gawk script, it is possible to override the styles. I will look into it to see if it is possible to implement a style file.
You should be able to use simple command line redirect > to do this
Interesting idea, would have to think about how it would be possible to implement this.

you would currently have to manually add it, since the script only works with local text...
[[https://github.com/username/repository/blob/master/img/octocat.png|alt=octocat]]


Current state of csproj, project.json, Visual Studio 2015 and CLI?

I'm trying to determine the current state of project files, especially as it concerns active development of a library and tooling in Visual Studio and CLI.

solution has multiple projects, projects have intra-solution project dependencies
using n.m.x-beta-{nnnnn:buildnumber} version format
developer day-to-day work in Visual Studio 2015 update 3
build server packages output using dotnet pack
dependencies managed in project.json
xUnit unit tests run for both developer and build server

Up till now I've been using "version": "1.0.0-beta-*" and having a pre-compile step on the build server replace * with the build number. On dev workstations I've just kind of ignored it and VS seems to have just gone and replaced it as 1.0.0-beta and since everything was project-to-project it all seemed to work, save for a couple warnings. Recently (e.g. after upgrading to RTM bits) I've run into issues with one of my library solutions where this setup no longer works. I've attempted to use the "My.Project" { "version": "1.0.0-beta-*", "target": "project" } way of referencing, but that only works if I drop the splat/asterisk/*. And when I say "works" I mean I can build and package from the command line, but Visual Studio is no longer happy, and I get all sorts of errors:

"Your project.json doesn't list 'win' as a targeted runtime. You should add '"win": {}' ... " (um, yes it does)
"NuGet Package restore failed for project  for ' (>= ',"
my favorite: "Unable to satisfy conflicting requests for '<some assembly whether System, Microsoft or one of mine>': <a list of several packages that require this assembly, every one of them depending on the exact same version>"

Is it possible to set up a solution in such a way that I can support all the numbered points at the top? Is there anything documenting it?

this repository's new project system isn't used at all in VS2015. it's being developed for the next VS release

So where do I go to find info on that? I realize that we're talking a lot of alpha- or beta- state software and tools here, but that just underscores the need for clear direction on where to go to look for answers and to provide feedback.


Enhancing Prediction Performance and Monitoring for Large Datasets

Hello,
I'm currently working with a dataset of over 500,000 rows and facing performance issues during the prediction phase with the Lag-Llama model. The process is considerably slow, and I'm exploring ways to enhance performance. Here are my specific concerns and questions:
Performance Optimization:
Are there recommended strategies to speed up predictions for large datasets in Lag-Llama? Specifically, would techniques like batch processing or parallel computing be applicable, and how do they interact with the model's context length requirements? Are there any particular settings or configurations that could help improve performance without disrupting the time series continuity?
Progress Tracking:
During the lengthy prediction process, it's crucial for me to monitor the progress effectively. I am looking for a method to track how many rows have been processed and how many predictions have been generated. I've considered tools like tqdm, but I'm unsure how well they integrate with Lag-Llama. Is there an internal feature within Lag-Llama that supports this functionality, or perhaps a recommended approach to implementing external tools without impacting performance?
I have previously attempted batch processing, but it seemed to disrupt the time series data and affect the label consistency due to the context length requirements.
Any advice or pointers to documentation would be greatly appreciated!
Thank you!

Hi,

For performance optimization, based on a recent update, you may try using use_single_pass_sampling to True when you create the estimator. This reduces the model to a deterministic point forecasting model, where only a single point is sampled from the distribution, and it is duplicated to create num_parallel_samples. Do note that the model was originally built for probabilistic forecasting, hence using it for point forecasting would be sub-optimal, and we have also not benchmarked the model for this task. However, it gives it a significant inference-time speedup. Depending on the accuracy - speedup tradeoff, you may or may not decide to use it :) But I'd suggest trying.

Progress tracking: There is no feature as of now that records the number of rows processed. We just pass a dataset, and the InstanceSampler as initialized here just samples windows from the dataset during training. To implement such a tool, you would have to override this InstanceSampler, and write your own where the windows processed are recorded or marked.

您好，来信已收到，多谢！

您好，来信已收到，多谢！


No reviewes

Since today no reviews are found when launching program.
Please fix.

@cimice15 hey did you solve your problem?

Hi,
sometimes it works and sometimes not. I don’t know.
For example now if i try to search any object it returns 0 items. But until yesterday all worked well.
Mirko
Da: Philippe<EMAIL_ADDRESS>Inviato: venerdì 3 aprile 2020 11:47
A<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Oggetto: Re: [philipperemy/amazon-reviews-scraper] No reviewes (#12)
@cimice15https://github.com/cimice15 hey did you solve your problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/philipperemy/amazon-reviews-scraper/issues/12#issuecomment-608341649, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOSB3I6ZLUI6UWEILOU5HUTRKWWDHANCNFSM4L3VILSQ.

@cimice15 that's very weird. Do you make a lot of queries?

No. But now it works... Too weird


maximum_polling_duration field in Service Plan object is adhered to

per osb spec 2.15

/lifecycle frozen

Is polling-interval-and-duration still not supported? I failed  test in version catalog-0.2.2

https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#polling-interval-and-duration

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632


Fatal error: Call to undefined function wp_get_current_user() in /home/username/public_html/wp/wp-includes/capabilities.php

I used this function wp_upload_bits() to upload a file when I submit a form.
But I got an above error code.

The function wp_get_current_user which is causing this issue is a default WordPress function so it is always defined in the WordPress and should not cause the undefined function error but it should only be used in the init or any subsequent action to call this function. Calling it outside of an action can lead to troubles.
To solve this error I added an line code.
include_once(ABSPATH . 'wp-includes/pluggable.php');
In this plugin the error is solved, but I worry about the code.
Because the inserted code other errors could have occurred on the other plugins.


chore: remove unused imports

Description:
I find some unused imports while viewing the operators code.
Related issue (if exists):

Pull Request Test Coverage Report for Build 8435

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.856%

Totals

Change from base Build 8414:
0.0%

Covered Lines:
5792

Relevant Lines:
5980

💛  - Coveralls


Support for passing multiple messages to abort method

Signature
def abort(*messages, status = 1) : NoReturn
  ...
end

Example
abort("Error: Unknown option: #{flag}", option_parser)

Please detail why you think this would be a useful enhancement.


Add support for .md files and variable replacement in /docs

This change adds support for building .md files with Sphinx.
It also adds the functionality to use placeholders so they
can be used instead of having to hardcode things like branch
names in the doc.
Signed-off-by: Brett Logan<EMAIL_ADDRESS>

@Mergifyio backport release-1.4


Leukaemia Classification using DL

Pull Request for DL-Simplified 💡
Issue Title : Leukaemia Classification using DL

Info about the related issue (Aim of the project) : To classify normal from abnormal cell images of Leukaemia.
Name: Om Achrekar
GitHub ID: achrekarom12
Email ID<EMAIL_ADDRESS>Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a JWOC 2022 participant it's, JWOC Participant) SSoC '23

Closes: #314
Describe the add-ons or changes you've made 📃

Data collection: From the link of the dataset given above.
Data preprocessing: Preprocessed the image in order to have all images in equal shape.
Model selection: Chose three Image detection architecture VGG16, ResNet50 and Inception for Image detection.
Comparative analysis: Compared the accuracy score of all the models.

Type of change ☑
What sort of change have you made:

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

How Has This Been Tested? ⚙
The evaluation metrics I used to assess the models:

Accuracy
Loss

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@abhisheks008
I definitely agree that the approaches I used have quite a low accuracy between 65-70. This is because I have use only 1/3rd of the available data. The image processing were little difficult here because it was exhausting the whole RAM available. There were over a 10K images to be processed. In the notebook I have also mentioned the approach while taking whole dataset into consideration but commented it out. Please let me know if there's anything more I can do.
Thankyou!

Anything else you can apply on this dataset? Accuracy of 70% is not less, but the standard you have fixed for the contributions, it seems below PAR accuracy.
Try to fix the accuracy atleast to 85-90 mark.
@achrekarom12

I hope it would be good enough. Although I couldn't get near to 85 but overall the accuracy has been improved remarkably. Please let me know if any further improvements you need in this. Thankyou!


Missing footer section and Social media Icon

there is no footer section ,like copyright to be mentioned, and socail media like facebook linkedin user can explore through this. pls assign this issue to me, if you want to add it.

i have  made the footer section for this site assign this issue to me i will improve footer section like this

No footer section and social media icons missing... Will fix this problem,,, Can you pls assign this issue to me.

I hope you have read GitHub community guidelines  @rakeshkushwaha332

@PREM-A261 please assign me this one

@tushargupta1504  , may i solve this issue,?? as i highlighted the first.

Hi,@tushargupta

I have many idea for footer for your website if you want responsive footer  please assign me.
please check out my attchments for amazing footer for your website.

I want to solve this issue

I would like to work on this issue , as I have a strong background in CSS and HTML. Please assign me under GSSOC'24 extended and level 2 atleast.

I would like to resolve this issue under GSSoC'24 Extd. I will add social media icon and an informative footer for user. @tushargupta1504

Hi @tushargupta1504 I would like to work on this issue and make it more appealing

I would like to contibute and work on this issue assign it to me.

The footer section and social media icons are currently missing, and I'd like to work on adding these to improve the project's design and functionality.


Add nominee: Global Public Health Cybersecurity Framework

Automatic addition of a new nominee submitted through the online form available at https://digitalpublicgoods.net/submission

@lacabra, please note the licenseURL does not explicitly point to CC-BY-1.0 but rather to a website homepage.

@nathanbaleeta This does not appear a valid submission. The website links to an article that proposes a framework. Peer-reviewed articles, scientific papers and/or journalistic writings are not considered Digital Public Goods. If/When the framework proposed in the article comes into existence and is published, then that may become a proper submission, as long as it uses an approved license.
Kindly check in and clarify with the person who submitted this entry, but unless we hear otherwise, this should be labeled invalid and closed.

@nathanbaleeta This does not appear a valid submission. The website links to an article that proposes a framework. Peer-reviewed articles, scientific papers and/or journalistic writings are not considered Digital Public Goods. If/When the framework proposed in the article comes into existence and is published, then that may become a proper submission, as long as it uses an approved license.
Kindly check in and clarify with the person who submitted this entry, but unless we hear otherwise, this should be labeled invalid and closed.

@lacabra raised the queries to the contact person, will update once they revert. For now blocking it until we hear from them. Thanks.

@nathanbaleeta This does not appear a valid submission. The website links to an article that proposes a framework. Peer-reviewed articles, scientific papers and/or journalistic writings are not considered Digital Public Goods. If/When the framework proposed in the article comes into existence and is published, then that may become a proper submission, as long as it uses an approved license.
Kindly check in and clarify with the person who submitted this entry, but unless we hear otherwise, this should be labeled invalid and closed.

@lacabra raised the queries to the contact person, will update once they revert. For now blocking it until we hear from them. Thanks.

Digital solutions that are no longer active, or do not provide the required documentation needed for review, will be removed from the DPG Registry as per the archiving policy.


enable Gradle enterprise

Enabling Gradle Enterprise unlocks a few things for the project:

More metrics and faster build times in general
Shared network cache enabling maintainers and contributors to complete a build within seconds

It's at https://ge.apollographql.com/ 🎉


Cache NODE_ENV to improve performance

Cache NODE_ENV. Closes https://github.com/rtfeldman/seamless-immutable/issues/74

So it looks like the only way to do this in a way that doesn't result in a regression for prod builds is to use const instead of var and then add a build step for turning the const back into a var for development mode: https://github.com/facebook/react/issues/812#issuecomment-161201458
Thoughts?

Closing as stale; feel free to reopen if desired!


vite restart in new port，not kill init port

vite.config.js add watcher .env.local
plugin: [
  ViteRestart({
restart: ["vite.config.js", ".env.local"]
})
]
server: {
port: 8080
}
start project with vite，then success in port 8080
Pre-bundling dependencies:                                                                                10:48:02
vue
vuex
lodash
(this will be run only when your dependencies or config have changed)                                                                                10:48:02
10:48:03
vite v2.7.12 dev server running at:

Local:    http://localhost:8080/                                                                                10:48:03
Network:  http://<IP_ADDRESS>:8080/                                                                                10:48:03
Network:  http://<IP_ADDRESS>:8080/                                                                                10:48:03
10:48:03
ready in 2531ms.

When I change the file .env.local，vite restart in port 8081 and 8082 but NOT 8080
10:48:30 AM [plugin-restart] restarting server by .env.local                                                                                10:48:30
10:48:30 AM [vite] vite.config.js changed, restarting server...                                                                                10:48:30
Pre-bundling dependencies:                                                                                10:48:30
vue
vuex
lodash
(...and 25 more)
(this will be run only when your dependencies or config have changed)                                                                                10:48:30
10:48:31 AM [plugin-restart] restarting server by vite.config.js                                                                                10:48:31
10:48:31 AM [vite] vite.config.js changed, restarting server...                                                                                10:48:31
Pre-bundling dependencies:                                                                                10:48:31
vue
vuex
lodash
(...and 25 more)
(this will be run only when your dependencies or config have changed)                                                                                10:48:31
10:48:31 AM [plugin-restart] restarting server by vite.config.js                                                                                10:48:31
10:48:32 AM [vite] vite.config.js changed, restarting server...                                                                                10:48:32
Pre-bundling dependencies:                                                                                10:48:32
vue
vuex
lodash
(...and 25 more)
(this will be run only when your dependencies or config have changed)                                                                                10:48:32
10:48:32 AM [vite] server restarted.                                                                                10:48:32
10:48:32 AM [plugin-restart] restarting server by vite.config.js                                                                                10:48:32
10:48:32 AM [vite] vite.config.js changed, restarting server...                                                                                10:48:32
10:48:33 AM [plugin-restart] restarting server by vite.config.js                                                                                10:48:33
Pre-bundling dependencies:                                                                                10:48:33
vue
vuex
lodash
(...and 25 more)
(this will be run only when your dependencies or config have changed)                                                                                10:48:33
Port 8080 is in use, trying another one...                                                                                10:48:34
10:48:34 AM [vite] server restarted.                                                                                10:48:34
Port 8080 is in use, trying another one...                                                                                10:48:35
Port 8081 is in use, trying another one...                                                                                10:48:35
10:48:35 AM [vite] server restarted.                                                                                10:48:35
Port 8080 is in use, trying another one...                                                                                10:48:35
Port 8081 is in use, trying another one...                                                                                10:48:35
Port 8082 is in use, trying another one...                                                                                10:48:35
10:48:35 AM [vite] server restarted.                                                                                10:48:35

yes


Use of uninitialized variable in server-side ssl_pick_cert()

Context: The server-side routine ssl_pick_cert() iterates through the list of available CRTs and picks one which is suitable for the chosen ciphersuite. For that, it e.g. checks the key type, key usage contraints, and the ECC curve type.
Issue: Consider the following parts of ssl_pick_cert() checking the current candidate's key usage:
https://github.com/ARMmbed/mbedtls/blob/f352f75f6bd5734c8f671323dd6ab32472d5da34/library/ssl_srv.c#L700-L706
https://github.com/ARMmbed/mbedtls/blob/f352f75f6bd5734c8f671323dd6ab32472d5da34/library/ssl_srv.c#L745-L751
Inside mbedtls_ssl_check_cert_usage(), we have
https://github.com/ARMmbed/mbedtls/blob/f352f75f6bd5734c8f671323dd6ab32472d5da34/library/ssl_tls.c#L9515-L9519
which reads and writes *flags without prior modification. This leads to undefined behavior from reading an uninitialized variable.
It seems that we don't have any tests exercising this code-path in place, as adding a return( -1 ); in the mbedtls_ssl_check_cert_usage() branch doesn't appear to break anything in the tests.
Criticality: Minor, as the flags field isn't used at all outside of the call to mbedtls_ssl_check_cert_usage(); success or failure is determined by the return value only.
Task: Initialize flags in each iteration of the loop and make sure that there is a test in ssl-opt.sh exercising the above code-path.

ARM Internal Ref: IOTSSL-2787

PR created here: https://github.com/ARMmbed/mbedtls/pull/3105. Please also note that due to recent improvements to the ssl test suite, adding a forementioned return -1; to mbedtls_ssl_check_cert_usage makes many of the test cases fail.


epochs for finetuning LayoutLMv2 on DocVQA

I'm trying to recreate the results reported in the LayoutLMv2 paper, Table 6, row 7. Following this example, I've fine-tuned the base model with DocVQA train set for 20 epochs. The resulting model is under-performing compared to what's reported in the paper (roughly 40% of answers default to [CLS]). As I continue to debug the code I'm wondering how many epochs were used to fine-tune the model in the original work.

@ArmiNouri Which OCR tool do you use for the DocVQA?

I used tesseract following the collab notebook (which I realize is not the same as what you've used). If I switch to MS Read am I expected to get the same result? Alternatively if there is a pre-trained version of LayoutLMv2 that has been finetuned on DocVQA, could you make it available?

I have same issue and I used Tesseract and DocTR. Appreciate if you publish pretrained models like Layoutlm model.

In case this helps someone, I adapted the mentioned collab into a training script for the full dataset. It can train either on Tesseract OCR or the dataset OCR. It was explicitly made to evaluate LayoutLMv2 on DocVQA using Tesseract to demonstrate poor performance. It's definitely not optimized, but should be fairly good.
https://github.com/herobd/layoutlmv2


RFP - ArchWSL

https://github.com/yuk7/ArchWSL
Run Arch instead of Ubuntu on WSL.

Interested in this as well. I'm a fervent Arch Linux user and will apply to become a Trusted User in the weeks to come, maybe adding this to choco would help me in getting accepted.

@wget Alternative solution:
https://github.com/bilguun0203/WSL-ArchLinux

Thanks for the idea. I remember having discussed with the guy who initially wrote the Arch Linux port to Windows even before WSL was a thing... Wondering if he is part from one of these solution...

@wget Where are we with this one? It's still set to be available so I'm wondering if you've picked it up and are working on it?

On my todo. Will publish a note when I will have something to show. Until now, if someone faster than me comes up with a solution, feel free to adopt his/her solution instead.

https://chocolatey.org/packages/wsl-archlinux

wsl-archlinux is live. Closing this issue unless someone specifically wants https://github.com/yuk7/ArchWSL.


[production][search_records#show_citation] SearchRecordsController#show_citation is missing a template for this request format and variant.
...

See this exception on Errbit

Code in wrong place. Fixed. applied to test3

Thanks, @Captainkirkdawson I will test


bug: On iOS, automatic (sporadic) addition of has-tabs-top class to ion-header-bar

Type: bug
Platform: ios 8 webview
I have an app with a nav/header bar with a tab bar just below it (so the tabs have the "tabs-top" directive. I've also tried using $ionicConfigProvider.tabs.position('top') instead, no difference).
On my iOS device (an iPad Mini 2), sometimes when my app loads the ion-header-bar has the "has-tabs-top" class, which then proceeds to mess up all my formatting: the nav bar shows below the tabs and the ion-content contents are covered by the nav bar. See attached screenshots.
On Android, the "has-tabs-top" class never gets added, so there are no issues there.
My temporary workaround is to comment out line 8424 in ionic-angular.js which keeps the "has-tabs-top class" from being added to the ion-header-bar.

Here's what things look like when "has-tabs-top" gets added:

Here's what things look like when it is not added (correct):

This is probably related to https://github.com/driftyco/ionic/issues/2875

Are you sure the class is added only on iOS? In my tests, it seems to always be added, at least when running in the browser on my laptop.
The problem I experience, is that only iOS has special styling applied to this class, related to the iOS statusbar.

On my test Android device (Moto X running 4.4.4), I can never get it to show up. But that doesn't mean the same problem isn't there. Seems to maybe be some sort of timing/race condition issue, since it appears/disappears. Maybe my iOS device is fast enough that it's making something different happen.
I also just changed my app to load css and code dynamically at launch using https://github.com/markmarijnissen/cordova-app-loader, and I never noticed this problem on the same device until I made that change. So maybe something about the way that it's loading code.

The code for adding the has-tabs-top class to headers was recently wrapped inside a $timeout, https://github.com/driftyco/ionic/commit/3c330bc030162d6ab4687a47a9278524cebb8f3c
That could have something to do with the timing issues, I guess.

@rajatrocks Have you tested this with the nightly builds?

@mhartington Have not. Will give it a shot in the next few days.

@mhartington  Have the same problem.  Nightly build with master SCSS does not resolve.  Below are screenshots in browser and on device (iOS 8)
Browser :

Device :

So @calendee, is this issue all resolved?

Yes.  The nightly fixed it for me.

@mhartington It seems this issue is still present in Ionic V-1.3.


Custom AnnotatedParameterProcessor is replace DefaultAnnotatedArgumentsProcessors?

version:1.4.5
I try to add a Custom AnnotatedParameterProcessor to solve the problem that feign use get method type to  transfer Object param.
Then i found that IllegalStateException: Method has too many Body parameters occurred at startup.
This reason is SpringMvcContract construct
		List<AnnotatedParameterProcessor> processors;
		if (!annotatedParameterProcessors.isEmpty()) {
			processors = new ArrayList<>(annotatedParameterProcessors);
		}
		else {
			processors = getDefaultAnnotatedArgumentsProcessors();
		}
		this.annotatedArgumentProcessors = toAnnotatedArgumentProcessorMap(processors);

When Custom AnnotatedParameterProcessors exist,DefaultAnnotatedArgumentsProcessors is not obtained.
Generally speaking,for multiple objects that can exist in spring container,custom a object to spring container mean that add a custom object instead of replace default objects.
I think this is a bug?
Otherwise,how to keep the default setting and add a my AnnotatedParameterProcessor In this condition?

I don't know about annotation processors. It's not a feature of spring cloud Netflix. I'd try on stack overflow.

This class in project.
org.springframework.cloud.netflix.feign.support.SpringMvcContract
org.springframework.cloud.netflix.feign.AnnotatedParameterProcessor

Ok. Can you back up and describe what you are trying to accomplish regardless of annotation processors?

Why do you want to add your annotation processor. What does it do, that the current ones do not?

Why do you want to add your annotation processor. What does it do, that the current ones do not?

I try to add a Custom AnnotatedParameterProcessor to parse POJO param to url when the method  type is Get.
For example
@Data
public class Param{
  String id;
  String name;
}

@FeignClient("bhc-health-record-service")
public interface UserServiceFeignClient{
  @RequestMapping(value ="/users",method = RequestMethod.GET)
  User get(@GetParam Param param);
}

The url is "/users?id=xxx&name=xxx".


Remove " --model-type=transformer --enable-experimental-O1" from compiler flags when training encoder-decoder models

Currently when running an encoder-decoder model there should not be the neuron compiler flags set including " --model-type=transformer --enable-experimental-O1". This code is referenced here

Alright. Do you have a clear list of what kind of models should use -O1, -O2 and -O3?

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Thank you!


vm metrics error

Error, cannot get vm metrics vmware_vm_mem_usage_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:17.730548+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:17.731369+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:21.162032+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for mingos-fs-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:21.172551+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for mingos-fs-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:25.448982+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for EISGMU-TEST-BSBA-APP1
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:25.457902+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for EISGMU-TEST-BSBA-APP1

latest pull from git
pyvmomi           6.7.0
prometheus-client 0.0.19
Python 2.7.12

Does the user have the correct permissions to read permissions from the object?
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On 4 September 2018 3:19 AM, Kurach Alexander<EMAIL_ADDRESS>wrote:

Error, cannot get vm metrics vmware_vm_mem_usage_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:17.730548+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:17.731369+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for kr01-maxpatrol-Consolidator-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:21.162032+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for mingos-fs-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:21.172551+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for mingos-fs-01
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:25.448982+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for EISGMU-TEST-BSBA-APP1
Sep  4 12:14:08 exporter vmware_exporter.py[27283]: [2018-09-04 09:13:25.457902+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for EISGMU-TEST-BSBA-APP1
latest pull from git
pyvmomi 6.7.0
prometheus-client 0.0.19
Python 2.7.12
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@pryorda  just checked, yes, it has full RO permissions

I'm also having this issue,
[2018-09-07 14:08:18.737123+00:00] Starting VM performance metric collection
[2018-09-07 14:08:18.782535+00:00] Total Virtual Machines: 432
[2018-09-07 14:08:26.262237+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for XYZ-VM
[2018-09-07 14:08:26.333080+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for XYZ-VM
[2018-09-07 14:09:03.810223+00:00] Error, cannot get vm metrics vmware_vm_net_received_average for YYY-VM
[2018-09-07 14:09:03.914049+00:00] Error, cannot get vm metrics vmware_vm_net_transmitted_average for YYY-VM
[2018-09-07 14:09:07.779953+00:00] Finish starting vm performance vm collection
[2018-09-07 14:09:07.779998+00:00] Starting VM snapshot metric collection
[2018-09-07 14:09:12.981444+00:00] Finished VM snapshot metric collection

it loops this continual.  Dying on the same Vm.  Permissions are fine, tried as readon-only access & amdinistrator access, getting the same result.
Datastore and Host checks are working fine.
for some context, I split each out into separate containers
  esx:
    ports:
      - 9272:9272
    image: saimdd/hydra:0.1
    environment:
      VSPHERE_HOST: "vcenter.domain"
      VSPHERE_USER: "readonly"
      VSPHERE_PASSWORD: "readonly"
      VSPHERE_IGNORE_SSL: "true"
      VSPHERE_COLLECT_DATASTORES: "false"
      VSPHERE_COLLECT_VMS: "false"

  ds:
    ports:
      - 9273:9272
    image: saimdd/hydra:0.1
    environment:
      VSPHERE_HOST: "vcenter.domain"
      VSPHERE_USER: "readonly"
      VSPHERE_PASSWORD: "readonly"
      VSPHERE_IGNORE_SSL: "true"
      VSPHERE_COLLECT_HOSTS: "false"
      VSPHERE_COLLECT_VMS: "false"

  vm:
    ports:
      - 9274:9272
    image: saimdd/hydra:0.1
    environment:
      VSPHERE_HOST: "vcenter.domain"
      VSPHERE_USER: "readonly"
      VSPHERE_PASSWORD: "readonly"
      VSPHERE_IGNORE_SSL: "true"
      VSPHERE_COLLECT_HOSTS: "false"
      VSPHERE_COLLECT_DATASTORES: "false"

 Guest OS: Microsoft Windows 7 (32-bit)
Compatibility: ESXi 5.0 and later (VM version 8)
VMware Tools: Running, version:10246 (Upgrade available)

 Guest OS: CentOS (32-bit)
Compatibility: ESXi 5.1 and later (VM version 9)
VMware Tools: Running, version:9409 (Unsupported older version)

Both VM's were powered ON but network ports disabled.  This would appear to be the root issue.  Is it possible to have a check against on but disconnected vm's that can skip these queries?  Or much faster timeouts?

@cscottthomas I don't think it would be good to create another request in this process to get the nic information. It would probably be better suited to change this to a warn.

any ideas for resolving problems?

@akurach as in just changing this to a warn? Right now the error isnt a timeout, its just reporting that it couldnt find the metric.

Going to close this out as I think this is a fair error.
Thanks,
Dan


scaling of beamformer images when no noise covariance is available

in mne.beamformer._compute_beamformer.py, in _prepare_beamformer_input, if no noise covariance matrix is used, then an adhoc covariance is created with this call:
noise_cov = make_ad_hoc_cov(info, std=1.)
Using an identity matrix for the noise covariance (instead of a diagonal matrix scaled by a noise estimate) results in incorrect scaling of the resultant beamformed images, depending on the choice of weight normalization. (i.e. using unit-noise-gain).
I'm pretty sure that the call should instead be: noise_cov = make_ad_hoc_cov(info, std=None), which uses canonical values for noise depending on sensor type. Obviously, this is an estimate, but when you use an identity matrix, the resulting source time series has values on the order of 1E-26, which isn't interpreted correctly when viewing mne.viz.Brain. I feel like using a somewhat realistic ad hoc covariance where you can actually use the sliders when visualizing the stc is preferable.

ping @britta-wstnr

Sounds reasonable to me, but happy to defer to @britta-wstnr here

Mhhh ... @larsoner we still test against FieldTrip, don't we? That should have caught something going wrong?

Yes, but I guess it's a matter of interpretation/defaults. If they pass noise_cov=None, taking the gradiometer-only case for example, should we:

Assume that the noise level was 1 T/m (main and FieldTrip), or
Assume that the noise level was 5 fT/cm, as this is the default for make_ad_hoc_cov (what @nugenta proposes)

@nugenta while we hash this out, in the meantime you probably realized this already but you can pass noise_cov=make_ad_hoc_cov(info) to get your desired behavior already.
So here we "just" have to decide if our default makes sense or not...

Opened https://github.com/mne-tools/mne-python/pull/11302 so you can see what changes would be necessary @britta-wstnr
cc @wmvanvliet since it also changes DICS a bit

Thanks everybody!


tablet-report-parser create view for bootstrapping progress

Related discussion where this query can be useful to see how many bootstraps are running:
    count(t.tablet_uuid) AS total_tablets,
    substr(c.ip, 1, 50) AS host
FROM
    cluster c,
    tablet t
WHERE
    c.uuid = t.node_uuid
    AND t.status = 'TABLET_DATA_COPYING'
GROUP BY 2

UNION ALL

SELECT
    count(t.tablet_uuid) AS total_tablets,
    'Total' AS host
FROM
    cluster c,
    tablet t
WHERE
    c.uuid = t.node_uuid
    AND t.status = 'TABLET_DATA_COPYING';```

Can we get this, or similar, in the form of a view?

@pgyogesh -> Per our discussion.

Please approve pull request
https://github.com/yugabyte/yb-tools/pull/153
that satisfies this request.
The requested "copying" counts have be incorporated into the existing "tablets_per_node" view.
Both moses.pl and tablet_report_parser.pl have this feature now.


Fixed small chance of tests failing

Current coverage is 100.00%

Merging #9 into master will not affect coverage as of 6877a6c

@@            master      #9   diff @@
======================================
  Files            1       1
  Stmts          113     113
  Branches         0       0
  Methods          0       0
======================================
  Hit            113     113
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 6877a6c

Powered by Codecov. Updated on successful CI builds.


Patch python-gevent to fix CVE-2020-22217

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

Patch CVE-2023-22217 in the bundled c-ares in python-gevent.
Change Log

Patch CVE-2023-22217 in the bundled c-ares in python-gevent.

We're using a relatively old version of python-gevent that bundles an equally old version of https://github.com/c-ares/c-ares.
The CVE wat patched in c-ares back in 2020, and the system version is ok, but the version bundled with python-gevent is older than this fix.
Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2020-22217

Test Methodology

Pipeline build id: xxxx

@frhuelsz, just a heads-up: all PRs against fasttrack/2.0 should be rebased, since we finished a monthly update, which also updated fasttrack/2.0. Rebasing (or merging) the latest state of the branch will re-trigger the PR check and allow us to validate that the latest state of the repo still builds correctly with the changes from the PRs.

Closing to due to bug #47352119.


Pkg 3637 update 17.0.6

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_99583ei7c9/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:129: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:120: missing_tests: output "libcxxabi": No tests were found.
===== Final Report: =====
1 Error and 1 Warning were found


Fix leak of extraArgs array allocated by Tcl_ParseArgsObjv

From https://www.tcl.tk/man/tcl8.6/TclLib/ParseArgs.htm about remObjv:
Pointer to a variable that will hold the array of unprocessed arguments.
Should be NULL if no return of unprocessed arguments is required. If objcPtr
is updated to a non-zero value, the array returned through this must be
deallocated using ckfree.
Not sure why ckfree takes a char* as argument, but we need to cast
to make the compiler happy. Seems to be what other do too.

Thanks!


LoggingInterceptor crashes due missing request.customer_id for get_campaign_budget

With google-gax v1.5.0
This code is crashing for us:
https://github.com/googleads/google-ads-ruby/blob/b925f8a1dadfe871a43b2f476e4f6496a617b853/lib/google/ads/google_ads/logging_interceptor.rb#L31-L37
When we call service.get_campaign_budget("customers/#{id1}/campaignBudgets/#{id2}"):
https://github.com/googleads/google-ads-ruby/blob/b925f8a1dadfe871a43b2f476e4f6496a617b853/lib/google/ads/google_ads/v0/services/campaign_budget_service_client.rb#L211-L220
Because Google::Gax::to_proto is not returning an object that responds to customer_id:
[7] pry(#<#<Class:0x00000000068d0300>>)> Google::Gax::to_proto({resource_name: resource_name}, Google::Ads::GoogleAds::V0::Services::GetCampaignBudgetRequest)
=> <Google::Ads::GoogleAds::V0::Services::GetCampaignBudgetRequest: resource_name: "customers/REMOVED_ID1/campaignBudgets/REMOVED_ID2">

duplicate of #26


Odd characters when piping from command line

With a clean Vim, I am seeing unwanted output when piping from the command line. I'm told  v8.2.0767 introduced this regression.

vim -Nu NONE
Enter "echo hello" into the buffer
Run it through bash: :w !bash

I expect to see a "hello" clearly displayed.
Instead, I see this (using od so we can see if there are any extra characters there) in terminator, and this in xterm.
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 21 2020 14:10:56)
Included patches: 1-803
Slackware 14.2

What does Vim answer to the following (with the cursor on "echo hello")?
verbose set enc? fenc? bomb?

(the question marks are part of the command)
I suspect encoding=utf-8 fileencoding=utf-8 bomb
In that case, does the problem still happen after
:setlocal nobomb

? With me it does before but not after.
Best regards,
Tony.

I can reproduce it with the latest vim-8.2.803 on
xubuntu-18.03, with xfce4-terminal and gnome-terminal,
which print:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
[>4;mhello

And also with xterm which prints ello instead of hello:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
ello

In reply to @tonymec: it's got nothing to do with 'nobomb'
since it happens when starting vim with: vim --clean.

With vim --clean in konsole I get the expected result, but in xterm I get ello. What is strange is that with
echo 1 2 3 4 5 6 hello

I still get "ello" in xterm. OTOH, |od -tx1 gives a different (higher) count for echo 1 2 3 4 5 6 hello than for plain echo hello; but the count does not agree to what it types.
Best regards,
Tony.

To @tonymec
Since you can reproduce the issue with xterm, what Linux distribution do you use?
I'm asking as the spurious characters after 8.2.0767 affects at least Ubuntu-18.04 and Slackware 14.2. I'm curious whether it affects other distributions.
To @tonymec  and @yjfguhd
What version of xterm do you use?
For me on Ubuntu-18.04 (where I also see the issue), I have:
$ xterm -v
XTerm(330)

On Sun, May 24, 2020 at 8:34 PM Dominique Pellé<EMAIL_ADDRESS>wrote:

To @tonymec https://github.com/tonymec
Since you can reproduce the issue with xterm, what Linux distribution do
you use?
I'm asking as the spurious characters after 8.2.0767 affects at least
Ubuntu-18.04 and Slackware 14.2. I'm curious whether it affects other
distributions.
To @tonymec https://github.com/tonymec and @yjfguhd
https://github.com/yjfguhd
What version of xterm do you use?
For me on Ubuntu-18.04 (where I also see the issue), I have:
$ xterm -v
XTerm(330)
I'm using openSUSE Leap 15.2 Beta, "xterm -version" answers "Xterm(330)",
and its v:termresponse is ^[[>41;330;0c

Best regards,
Tony.

On 2020-05-21, Dominique Pellé wrote:

I can reproduce it with the latest vim-8.2.803 on
xubuntu-18.03, with xfce4-terminal and gnome-terminal,
which print:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
�[>4;mhello
And also with xterm which prints ello instead of hello:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
ello

I haven't reproduced the "ello" problem, but I do observe the
"[>4;m" problem.  I observe it when using GNOME Terminal, but not
when using xterm or mintty.
The "[>4;m" sequence is the modifyOtherKeys reset sequence.
According to a number of articles found on the Web*, GNOME Terminal
does not support modifyOtherKeys and is not likely to.
xfce4-terminal returns the same v:termresponse sequence as GNOME
Terminal, so I would expect xfce4-terminal to have the same
shortcomings as GNOME Terminal.
If Vim is going to continue to support modifyOtherKeys, then it
should identify terminals that don't support it and not send that
sequence to those terminals.  In my experience, v:termresponse has
been a reliable indicator of actual terminal type.  The problem with
it is that Vim doesn't know its value until after vimrc has been
processed, so one has to defer some terminal-dependent processing to
a TermResponse autocommand, which has its own problems.
What I do is have my ~/.bashrc query the terminal for its
termresponse, save that in the environment variable TERMRESPONSE,
and use that value to make terminal-dependent selections in my vimrc
and color scheme files.
Alternatively, a GNOME Terminal user could set TERM=gnome, which is
supposed to be a more accurate terminfo entry for a GNOME Terminal.
The user could set TERM=gnome if COLORTERM=gnome-terminal.  Vim
could then use TERM=gnome or COLORTERM=gnome-terminal as a condition
for disabling modifyOtherKeys.
I've been testing this on an Ubuntu 18.04 system with Vim 8.2.803,
xterm version 344 and GNOME Terminal version 3.28.2, as well as
remotely over ssh from a Windows 10 system running Cygwin with
mintty 3.1.5.
Regards,
Gary

https://unix.stackexchange.com/questions/165104/does-gnome-terminal-have-an-equivalent-for-xterms-modifyotherkeys
https://bugzilla.gnome.org/show_bug.cgi?id=477068
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/96676
https://invisible-island.net/xterm/xterm.faq.html#bug_gnometerm

If you know that some terminal doesn't support modifyOtherKeys, then when running in that terminal (and with has('gui_running') being false) you can set t_TI and T_TE to empty to avoid using that facility. Or if you can find some terminal name correctly describing that terminal in the termcap/terminfo database, and with those two codes empty, so much the better.
Best regards,
Tony.

Gary Johnson wrote:

On 2020-05-21, Dominique Pellé wrote:

I can reproduce it with the latest vim-8.2.803 on
xubuntu-18.03, with xfce4-terminal and gnome-terminal,
which print:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
�[>4;mhello
And also with xterm which prints ello instead of hello:
$  ./vim --clean -c ':call setline(1, "echo hello")' -c 'w !bash'
ello

I haven't reproduced the "ello" problem, but I do observe the
"[>4;m" problem.  I observe it when using GNOME Terminal, but not
when using xterm or mintty.
The "[>4;m" sequence is the modifyOtherKeys reset sequence.
According to a number of articles found on the Web*, GNOME Terminal
does not support modifyOtherKeys and is not likely to.
xfce4-terminal returns the same v:termresponse sequence as GNOME
Terminal, so I would expect xfce4-terminal to have the same
shortcomings as GNOME Terminal.
If Vim is going to continue to support modifyOtherKeys, then it
should identify terminals that don't support it and not send that
sequence to those terminals.  In my experience, v:termresponse has
been a reliable indicator of actual terminal type.  The problem with
it is that Vim doesn't know its value until after vimrc has been
processed, so one has to defer some terminal-dependent processing to
a TermResponse autocommand, which has its own problems.
What I do is have my ~/.bashrc query the terminal for its
termresponse, save that in the environment variable TERMRESPONSE,
and use that value to make terminal-dependent selections in my vimrc
and color scheme files.
Alternatively, a GNOME Terminal user could set TERM=gnome, which is
supposed to be a more accurate terminfo entry for a GNOME Terminal.
The user could set TERM=gnome if COLORTERM=gnome-terminal.  Vim
could then use TERM=gnome or COLORTERM=gnome-terminal as a condition
for disabling modifyOtherKeys.
I've been testing this on an Ubuntu 18.04 system with Vim 8.2.803,
xterm version 344 and GNOME Terminal version 3.28.2, as well as
remotely over ssh from a Windows 10 system running Cygwin with
mintty 3.1.5.

I believe the bug was fixed in a later version of gnome-terminal.
Unless we can recognize the broken version, I would rather just tell
users to not use a broken terminal.
--
hundred-and-one symptoms of being an internet addict:
187. You promise yourself that you'll only stay online for another
15 minutes...at least once every hour.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

So, to summarise, this is a bug with the terminal emulator, not an issue with Vim, so can't/won't be fixed by Vim, and until one's terminal emulator is fixed, a workaround for seeing thie behaviour in Vim is to unset t_TI and t_TE?

With the latest Vim I cannot reproduce this problem, neither in xterm or in gnome-terminal.

I stumbled upon this page for the solution of the issue, but found that setting t_TI and t_TE to empty doesn't work. So, I would like to add (for someone like me) that a solution stated at https://stackoverflow.com/a/75432130 to do following works:
 set keyprotocol=
 let &term=&term


List of supported Unity Versions

Is there a list for supported Unity versions?
We just switch over to use the latest LTS version (released 2 days ago) and I am not sure if the unity-builder will support switching over.

Added as a checkbox in #14, closing this as your question was answered.


SSL issues after Poodle?

Hi -
I'm experiencing errors using this gem suddenly - it was working well before. The errors appeared to start immediately after Heroku disabled SSLv3 support in the wake of Poodle vulnerability.
http://googleonlinesecurity.blogspot.com/2014/10/this-poodle-bites-exploiting-ssl-30.html
Is anyone able to use wkhtmltopdf-heroku successfully with SSL since Heroku made this update?
https://status.heroku.com/incidents/678
To clarify - building PDFs using templates sourced over HTTP still works, but HTTPS suddenly does not. Any advice is greatly appreciated.

I have forked the repo and pushed it as a new gem.
https://github.com/pallymore/wkhtmltopdf-heroku-edge


Bumping actions to use node.js-20

As per the guidance from github[0] I'm bumping all of the affected actions to new versions.
There may be tangential benefit in new features, but most of all we are going to be using something that is actually supported.
[0] github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/

/retest

/retest


feat(HealthCheck): add healthchecks

closes #20

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


chore(backend): Improved types for interstitial rules

Removed unnecessary async from functions
Created InterstitialRuleResult
Reduced occasions of as any

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[x] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[x] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Removed unnecessary async from functions
Created InterstitialRuleResult
Reduced occasions of as any

☁ The interstitial rules was changed:

to be async for consistency since there is at least 1 rule that is async
to use generic options to avoid cyclic dependency in types
request.ts imports interstitialRule.ts which imports AuthenticateRequestOptions from request.ts
I would prefer that we don't apply those changes and discuss about handling with some other way. If it makes more sense to you and the team,i will approve it.


Support HTTP-Redirect binding responses

The class Pac4jHTTPPostDecoder was slightly modified to also accept responses via GET (HTTP-Redirect binding). Therefore, it was renamed to Pac4jHTTPDecoder.

For the 2.2.x branch, I will only revert the change regarding the binding and set it to POST.
Can you confirm that the 2.2.1-SNAPSHOT version works? Thanks

Closing because of:
The 'Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0' explicitly states that you MUST NOT use the HTTP Redirect binding for the response:
"In step 5, the identity provider issues a message to be delivered by the user agent to the service provider. Either the HTTP POST, or HTTP Artifact binding can be used to transfer the message to the service provider through the user agent. The message may indicate an error, or will include (at least) an authentication assertion. The HTTP Redirect binding MUST NOT be used, as the response will typically exceed the URL length permitted by most user agents."

I’m sorry I missed that.
Werner.

On 13 Dec 2017, at 17:48, LELEU Jérôme<EMAIL_ADDRESS>wrote:
Closing because of:
The 'Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0' explicitly states that you MUST NOT use the HTTP Redirect binding for the response:
"In step 5, the identity provider issues a message to be delivered by the user agent to the service provider. Either the HTTP POST, or HTTP Artifact binding can be used to transfer the message to the service provider through the user agent. The message may indicate an error, or will include (at least) an authentication assertion. The HTTP Redirect binding MUST NOT be used, as the response will typically exceed the URL length permitted by most user agents."
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/pac4j/pac4j/pull/1054#issuecomment-351450679, or mute the thread https://github.com/notifications/unsubscribe-auth/AEVKa9rTKYPGmagEHmiTjv7PNRQO06JWks5s___dgaJpZM4Q9dkQ.

--
https://www.pincette.net/
Handling your documents with care, wherever you are.

No problem. So did I.

It also means that ADFS 2016 violates that rule, because it provides the SAML response through a GET. I fail to see the usefulness of the HTTP-Redirect binding if the response must use POST. This implies the client can already handle POST. It might as well use the HTTP-POST binding then. The HTTP-Redirect binding doesn't seem to solve much..

Yes, indeed, the ADFS's behavior is too loose on this.


vim-vsnip stopped working from latest udpate

vim-vsnip added support for using same snippet files for multiple filetypes (https://github.com/hrsh7th/vim-vsnip/pull/89). This PR causes snippet autocompletion to not return results any more.

Ah!! Sorry, It's my bad...
I will create PR.

@hrsh7th i'll create PR with fix here, no need to change.

@hrsh7th or if you think this will break some other plugins also, they let's keep it backward compatible.

I missed the vsnip#source#find used in other plugins.
The breaking change does not mean this... sorry.

Anyway, thank you for planning to fix it!


React: Align Breadcrumb with Twig

This provides a complete refactor of the Breadcrumb and fixes several accessibility issues in the process.

@Shashika6 and @GGKapanadze, has one of you guys had a chance to look at this?

No @justintemps , @GGKapanadze was having a look at this one

Hey @GGKapanadze any ideas?


Backoffice/optimize validation tab general information of create and edit products form

When creating a product, user can create a successful product with all empty fields empty, so I try to add some validation before submitting form to request to create a new product.

Create Select component for re-use
Add some necessary props for Input component to operate validation
Optimize code of ProductGeneralInformation and ProductUpdateInformation component
Fixed a warning in list products page

The name: Input and Select are too general. Please find more specific names

I keep the name "Input" because this component can be re-used everywhere we want to put an input tag.
Component "Select" has the same purpose for reusable, and I've changed the name "Select" to "SelectOption," more specifically for readability purposes.
If you have any suggestions, please refer them to me! Thanks!

@thiennn I have updated generic type for Input and SelectOption components. Please review it again and give me your feedback. Thank you.


Add setting to allow Cache-Control by content type

Includes a potential solution for #31 on a per-content type basis like so:
BAKERY_CACHE_CONTROL = {
    'text/html': 900
}

There's also an attempt at updating the docs.
FWIW, I went with Cache-Control: max-age= instead of Expires because that's what CloudFront prefers, which is our use case.

Thanks very much for this patch. We'll take a look at it soonish and get back to you.


[New Port Request] Microsoft glTF-SDK

Library name: Microsoft glTF-SDK
Library description:  glTF-SDK is a C++ Software Development Kit for glTF (GL Transmission Format -https://github.com/KhronosGroup/glTF).
Source repository URL:https://github.com/microsoft/glTF-SDK
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

A C++ Deserializer/Serializer for glTF
glTF & glB support, including embedded Base64 support

Hi @neil3d, The #14971 did this work recently. Would you check the port works for you? WIll be glad to hear from you :)

Hi @neil3d, The #14971 did this work recently. Would you check the port works for you? WIll be glad to hear from you :)

Thanks luncliff for making this possible!


Wrong file being opened

Hello,
I am using the following commands but they do not always open an existing file, seems to happen when the
chosen file is far from vim's pwd.
nnoremap   :FzfPreviewFromResourcesdirectory
" search files in current directory
nnoremap   :lcd %:p:h:FzfPreviewFromResourcesdirectory
Changing this from lcd to cd does not work either.
: FzfPreviewDirectoryFiles also does not work.
nnoremap   :Rooter  :FzfPreviewProjectGrep
also takes me to non-existing files
and :FzfPreviewGitFiles does not find many of my files
Here are some screenshots (in order executed) from me entering vim then opening 1 file successfully, a second file (near vim's pwd) sucessfully, then the third time it makes some random path and opens a non-existant file.

This was weird also, I couldn't use the fuzzy finder without having at least 2 buffers open.

some consistent themes in the random paths:

part of my pwd shows up twice
part of the path is from a terminal: ie
hexanome14/Cterm://.//24953:/bin/bash/C#/screens.cs
a random 'C' is thrown in often as well:   hexanome-14/Assets/In_Game/Chexanome-14/Assets/In_Game/C#/Action.meta/Screens/ScreenManager.cs
note here^ that action.meta is a file yet it is used as if it is a directory.

BASH: bash 5.0.16
OS: 5.4.28-1-MANJARO
Terminal: kitty 0.17.2 or neovim terminal
Downloaded this plugin about 5 hours ago using vim-plug so using whichever version was up then.

Thank you for your polite report.
I was concerned about the # in the file path.
Maybe fzf-preview.vim doesn't handle # very well.
Doesn't it work in other directories?


code of conduct copied from goverance

This PR is in reference to the issue #51. Do let me know any further changes needed :)

fixes #51

looks good to me.

Thank you for the review @GeorgLink :smiley:

Thanks a lot for the PR!


Creative Commons

Do you also accept Creative Commons JSON Data?

I'm not sure how that's relevant to Awesome Sustainable Tech. Could you clarify?

Right.
I should have been more specific.
Do you also accept Creative Commons Data related to sustainable technology?
I am thinking of doing a map of either sustainable agricuural farms, permaculture, or regenrative agriculture.
Much like Maps.Howie2020.tech.
And also I am thinking of releasing the Green Party Map data as creative commons data.

Good questions. I'm not the maintainer, so I'll let Tobias answer for this!

I am thinking of doing a map of either sustainable agricuural farms, permaculture, or regenrative agriculture.
Much like Maps.Howie2020.tech.

@PythonLinks I must honestly tell you that I have absolutely no idea about sustainable agriculture. That is why there is nothing listed here. But I think this is an important part of it. You are very welcome to make a pull-request about the project. It could be interesting to see the growth of sustainable agriculture from a scientific or technological point of view.
You will also find more information in our contribution guide:
https://github.com/protontypes/awesome-sustainable-technology/blob/master/CONTRIBUTING.md
Do you know of any other projects that might fit in well here? To open a new category we should have at least 3 projects. What are good keywords that can help you to search?

And also I am thinking of releasing the Green Party Map data as creative commons data.

The focus of this list is more on the technology part than the political part. When such a party is releasing technology open source they are very welcome on the list.

From the Open Source Hardware Association:
Not all CC licenses are compatible with open source values.
But the following are:

Creative Commons Attribution: CC BY
Creative Commons Attribution-ShareAlike: CC BY-SA
Creative Commons Public Domain Dedication: CC0

I would suggest allowing the three mentioned CC licenses as "a open source license" (as taken from CONTRIBUTING.md).
They are also introduced as open on choosealicense.com.
@PythonLinks I would therefore add to the answer above by saying: Depends upon the CC license used.

Hey @PythonLinks. We do have an Agriculture section now:
https://github.com/protontypes/awesome-sustainable-technology/tree/agri#agriculture-and-nutrition
You are very welcomed to add you projects here. The branch will be merged next week.


Update name, display name and repo url to community naming convention

Rename repo and update the package.json to align with the naming conventions to show that this is a community package.

@andrewmcodes will you check this out when you can please? Also it should be noted that I renamed the repo name to reflect the naming changes in addition to the changes in this PR.


Can latte training load pretrained weight from Latte git repo?

not for the current time because our latte model does not exacty match the origin one

Could you release your pretrained weight of latte?

will be available soon, we are still working on the training

support now


How to send image with external bodyData ?

    RNFetchBlob.fetch('POST', uploadUrl, {
            'Accept': 'application/json',
            'Content-Type': 'multipart/form-data',
        },
        [
            {
                name: name,
                filename: filename,
                type: fileType,
               **fields ----- this**,  nothing happens
                data: RNFetchBlob.wrap(url.replace('file://', ''))
            },
            **fields ----- this** crash application
        ])

How to send with data external fields ?

I think you might find something in the Wiki: https://github.com/wkh237/react-native-fetch-blob/wiki/Fetch-API#available-request-body-types ("usage : Multipart form data").


Can I cache public packages?

It's very slow to get packages from github, so I wanna download packages locally and serve them by packages

Hi @wwulfric , there is no direct support for this as of now. You could use GitLab to automatically mirror repositories from Github, then you might be able to do what you want using Packages with Gitlab to download your projects.

OK, thanks.


Fix bugs in package.json

You can merge this if you like or make the edit yourself.

Thanks for the edit haha!


Make Image representation methods public

Attempting to access either kf.gifRepresentation() or kf.animatedImageData in my project was throwing an inaccessible due to 'internal' protection level error. Explicitly making those methods public fixes the issue.

Current coverage is 73.83% (diff: 100%)

Merging #560 into master will not change coverage

@@             master       #560   diff @@
==========================================
  Files            21         21
  Lines          2240       2240
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1654       1654
  Misses          586        586
  Partials          0          0

Powered by Codecov. Last update 61db70c...9e74c63

Cool. It should be no harm to expose them. And I will add documentation for them later.


Cannot encode CompilationMode as JSON when using reset feature

The CompilationMode value can't be serialised as JSON value in the original settings.
The error is:
ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_simona/3099fbc7895a08f739515284f34cf219/external/with_cfg.bzl~0.2.1/with_cfg/private/transition.bzl", line 21, column 56, in lambda
		return lambda settings, attr: _transition_base_impl(
	File "/private/var/tmp/_bazel_simona/3099fbc7895a08f739515284f34cf219/external/with_cfg.bzl~0.2.1/with_cfg/private/transition.bzl", line 91, column 69, in _transition_base_impl
		new_settings[str(original_settings_label)] = json.encode(settings)
Error in encode: in dict key "//command_line_option:compilation_mode": cannot encode CompilationMode as JSON
ERROR: /Users/simona/github/bazel-demos/tools/my-tool/BUILD:14:15: Errors encountered while applying Starlark transition

The error can be reproduced using the code from here: https://github.com/SimonaAlina/bazel-demos . More details in the readme file.

Thank you for your quick PR. I still want to bring a possible issue after your fix because I tried something similar locally and at some point I received the following error:

Thank you for your timely fix. I want to bring a possible issue after your PR because I tried something similar locally (stringifying the CompilationMode) and at some point I received the following error:
ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_simona/1402bd498b8e8d0ccb9317cd43842857/external/with_cfg.bzl~override/with_cfg/private/transition.bzl", line 21, column 56, in lambda
		return lambda settings, attr: _transition_base_impl(
	File "/private/var/tmp/_bazel_simona/1402bd498b8e8d0ccb9317cd43842857/external/with_cfg.bzl~override/with_cfg/private/transition.bzl", line 84, column 21, in _transition_base_impl
		fail(
Error in fail: Cannot transition {"//command_line_option:compilation_mode": opt} to {"//command_line_option:compilation_mode": "opt"} because the original settings are not empty: {"//command_line_option:compilation_mode":"fastbuild","@@//:hz_ts_project_original_settings":""}.Using a rule produced with with_cfg in the transitive closure of another such rule with a further transition between them is currently not supported. Please file an issue at https://github.com/fmeum/with_cfg.bzl to explain your use case.
ERROR: BUILD.bazel:21:14: Errors encountered while applying Starlark transition

and then I had to use the same setting with values as string type here: https://github.com/fmeum/with_cfg.bzl/blob/main/with_cfg/private/transition.bzl#L74 where I replaced the settings.items() with the new dictionary with values as string.
Do you think the same problem will appear after your fix?

Nice catch (and thank you for the clean reproducers)!
I will submit a follow-up fix for this tomorrow and then get a release out.


Reverted flexsearch to v0.7.21

refs https://github.com/TryGhost/Ghost/pull/18151
refs https://github.com/TryGhost/Ghost/commit/1cbbe91a630232e1dd8d76f9378124b2a7e60f48

something has broken within 0.7.31 and it's causing an error on the frontend
this commit reverts the dependency back to the previous version
also cleans up the dependency from announcement-bar, where it is not used

🤖 Generated by Copilot at 5f7315e
This pull request removes an unnecessary dependency and updates a shared dependency for two Ghost apps. It removes flexsearch from apps/announcement-bar/package.json and updates it to version 0.7.21 in apps/sodo-search/package.json to ensure consistent and reliable search functionality.

I opened a ticket with Flexsearch to encourage them improve their Changelog or Release Notes to reduce the chance of a breaking change like this getting merged in the future:
https://github.com/nextapps-de/flexsearch/issues/403

@markstos Good idea! Thank you 🙂


NetCDF for LUTs

Description
This PR will be implementing NetCDF for LUTs
WIP

Great, merging for continued review.


Test cached nodes correctness

Table based tests to check the correctness of cached nodes to prove the target nods

I see that there's code from #112 here. You should remove those commits for this PR since it's not even dependent on it.

will delete this


Keep traceback when handling an error

A raw raise will reraise the last caught exception, preserving the traceback.
I'd prefer to do import sys; exc_info = sys.exc_info(); ... raise exc_info[0], exc, exc_info[2] but it doesn't appear valid in python 3, while the pure raise seems to work.
As demonstrated by:
def raiser():
    raise ValueError

def handle_exc(e):
    # do stuff
    raise

def try_it():
    try:
        raiser()
    except Exception, e:
        handle_exc(e)

>>> try_it()
Traceback (most recent call last):
  File "/Users/samk/Library/Preferences/IntelliJIdea2017.1/scratches/scratch.py", line 19, in <module>
    try_it()
  File "/Users/samk/Library/Preferences/IntelliJIdea2017.1/scratches/scratch.py", line 17, in try_it
    handle_exc(e)
  File "/Users/samk/Library/Preferences/IntelliJIdea2017.1/scratches/scratch.py", line 15, in try_it
    raiser()
  File "/Users/samk/Library/Preferences/IntelliJIdea2017.1/scratches/scratch.py", line 7, in raiser
    raise ValueError
ValueError

With raise e instead of raise, the final raiser line does not appear.

So doing a:
raise sys.exc_info()
is not valid Python 3?

It's not. python3 requires that the raise inherit from BaseException.

👍

This isn't actually the right place to PR this.


responseDelay only seems to have effect on successful mocked requests

can't really get this one to work at all, example mock.json  {
"httpMethod": "POST",
"responseDelay" : 5000,
"statusCode": 200,
"uri": ".*/someUrl",
"response": {
}
}
it happens instantenuous, is there a config that needs to be set, using grunt with angular-multmocks, 0.6.10

so problem seems to be angular 1.3, works great on angular 1.6... I'm not sure you want to due a fix for old angular versions?