Adds dapr & additional container configuration properties to ACA modules

[x] Adds Dapr configuration properties
[x] Adds Ingress properties
[x] Adds Dapr App Insights integration
[x] Updates usages within ACA templates

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/2157

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/2157

View Changes | Compare Changes

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-java-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-java-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-aks
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-aks -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-nodejs-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-nodejs-mongo -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-aca
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-aca -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo-swa-func
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo-swa-func -b pr/2157

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples-staging
Branch: pr/2157
You can initialize this project with:
azd init -t Azure-Samples/todo-python-mongo -b pr/2157

View Changes | Compare Changes


Program based on Carry flag is not working , for example : program with JNC instruction

I prepared the following code for Transfer of data blocks in bits , but it is not working since it uses JNC instruction.
MVI B,FBH
LXI H,2030H
LXI D,2040H
LOOP:MOV A,M
STAX D
INX H
INX D
INR B
JNC LOOP
HLT

INR B doesn't affect CY Flag, use JNZ LOOP instead... (that will have same effect, as after FF it loops back to 00)


Create CODE_OF_CONDUCT.md

issue #6

can you please add a section in the readme that links to the Code of Conduct?

Yeah sure


circleImageView programmatically

Can I use it programmatically?

Yes, use it the same way you would use a regular ImageView.


How to set a child property from parent property and double data binding in Js codes?

How to set a child property from parent property and double data binding in Js codes?

I'm sorry, I don't understand your question. Maybe you can search on StackOverflow or use our slack channel. Github issues should only be for bug reports or feature requests.

there 2 elements with same property mode.
ele1, ele2
In ele1's  Ready()
ready:function(){
ele2=  CrerateElement(ele2) //not full codes
ele2.mode=this.mode; // ele2.mode didnot changing when ele1 change mode value. they not bindding each other
}

@hzmnet This might help you.
http://stackoverflow.com/questions/30615549/data-binding-in-a-dynamically-inserted-polymer-element


[New Scheduler] Add container message consumer

Description
The container message consumer subscribes to Kafka's containerCreation topic and handles container creation/deletion requests.
The FPCInvokerReactive, which will be newly added, uses this consumer.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[x] New scheduler

Types of changes

[x] Enhancement or new feature (adds new functionality).
[x] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[x] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

@upgle , i am sorry, due to test case error and sub prs depend on this pr, i submited a commit for this pr to solve the test case error.


H.264 only playing audio

With this simple setup, when trying to play an H.264 video, it would only play the audio.

Here's the project without the video:
test_project.zip
console output:
Supported video codecs:
	decode h263
	decode mpeg4
	decode h264
	decode vp8
	decode vp9
	decode mp3
	decode aac
	decode vorbis
	  codec: libvorbis
	decode aac_latm
	decode opus
	  codec: libopus
Succesfully initialized video decoder:h264

Video metadata:

Version: Auto-Build 2024-06-07 02:57 as well as self built
OS: Arch Linux 6.6.33-1-lts

Duplicate of https://github.com/EIRTeam/EIRTeam.FFmpeg/issues/23


Add Ore/hr display to Motherlode Mine plugin

Closes #11092
Decided to tackle requests 4 and 5 in #11092 but decided that gems/hr is usually going to be very low and not as useful. It seemed as though it might be more cluttered to add gems, so I only added ores. Any feedback would be greatly appreciated!
Attached are screenshots of the feature:

In future, please give PRs a descriptive name that says what it does; "Pull request for feature" is not descriptive in and of itself.
Also, put Closes # with the issue number that is closed by the PR, so GitHub will automatically close the issue

Thanks, will keep that in mind for the future.

A config option for whether to display this extra information would be nice.

The original request wanted to do configure for each ore. Would it be better to do 2 configs for ores for total and hourly, or have configs for each ore? I think that having a toggle for each ore might make the config cluttered.

Wouldn't it look better as:

Coal: 15 (245/hr)

instead of separate rows?


Intellisense import suggestions in JS/TS files do not work

Does this issue occur when all extensions are disabled?: Yes

Type: Bug
How to reproduce:

Initialize a React project
Install some 3rd party libraries (for instance: axios, react-bootstrap, mui, etc.)
Create/open a file App.js or App.jsx
Begin to type a name for an exported entity from the aforementioned library (for example: axios, <Container>, <Grid>, <Image>, etc.)

Expected result:

Intellisense shows an import suggestion for the entity. After selecting one of the suggestions it adds an import on top of the file (for example import axios from 'axios', import {Image} from 'react-bootstrap')
If Intellisense fails to do that for the first time, manually write the desired import. After that Intellisense should update its import suggestion list. It is expected that the same entity imported in another file should be in the Intellisense import suggestions.

Actual result:

Intellisense does not show any suggestions to import the desirable entity.
After manually adding the import (for example import axios from 'axios') Intellisense still fails to show the same suggestion in another file.

Some info
setting.json
is almost empty
extensions
all disabled except for WSL
Ways to initialize the React project
To reporduce the issue:

Use the npm create vite@latest command.
OR create an empty directory, input npm init -y && npm i react react-dom axios

VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12650H (16 x 2688)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.63GB (2.31GB free)

Process Argv
--folder-uri=vscode-remote://wsl+Ubuntu-22.04/home/grentank/elbrus/temp/auth-csr --remote=wsl+Ubuntu-22.04 --crash-reporter-id b17d2aeb-39ed-4289-94df-f96ccf46bd82

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-22.04

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
12th Gen Intel(R) Core(TM) i7-12650H (16 x 2688)

Memory (System)
7.57GB (6.14GB free)

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.88.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572

### Tasks

Duplicate of #58113 / #57740


event.preventDefault inside onSuggestionSelected not firing.

This is related to #10 and #503.
My use case is to differentiate between Ctrl + Click and Shift + Click and normal left click as each will have different effects. I want to keep the suggestion div open and prevent default operation on both Ctrl + Click and Shift + Click. Let me know if there is a way to achieve it or any work around will be appreciated as well.

@moroshko any idea about this? I'm displaying a no results found item that I don't want to be clickable. Thanks!


fix: potential use of mismatched tokens

related issue https://github.com/alibaba/higress/issues/1082

Is this ready for review now? @pepesi

Is this ready for review now? @pepesi

sorry，I haven't fully tested it yet

Is this ready for review now? @pepesi

sorry，I haven't fully tested it yet

No problem. Please take your time.

Sorry, I am busy with other things and will handle it as soon as possible

@pepesi Please fix the conflicts. Thanks.

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

Project coverage is 44.32%. Comparing base (ef31e09) to head (47150e5).
Report is 58 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1092      +/-   ##
==========================================
+ Coverage   35.91%   44.32%   +8.41%
==========================================
  Files          69       75       +6
  Lines       11576     9821    -1755
==========================================
+ Hits         4157     4353     +196
+ Misses       7104     5140    -1964
- Partials      315      328      +13

see 80 files with indirect coverage changes


Does not work with (multibyte) UTF8 characters

Thanks again for autoclose, which is terrific and very straightforward code to read!
I tried adding a pair for curly quotes (“”), and I ran into a problem. autoclose can insert the pair okay, but escape does not work. I think that's because you use Lua's string.sub to check for the last part of the pair, and Lua's string capabilities operate on bytes rather than UTF8 characters. (I also think that my problem is somewhat related to issues #39 and #23.)
This may be a reasonable limitation to keep for this plugin, but one approach occurs to me. If the pairs were entered as (for example) "(,)", then you could potentially pick out the closing part of the pair by splitting the pair on the comma. That might be a way forward, but it may complicate the code and people would have to adjust their configurations for the breaking change. In any case, I'm happy to work on this or submit a PR if you are interested.

Just in case I did something else wrong, here's the setup code I was using.
require("autoclose").setup({
    keys = {
        ["“"] = {
            close = true,
            escape = false,
            pair = "“”",
            enabled_filetypes = { "markdown", "text", "mail" },
        },
        ["”"] = {
            close = false,
            escape = true,
            pair = "“”",
            enabled_filetypes = { "markdown", "text", "mail" },
        },
    },
})

I also think that my problem is somewhat related to issues https://github.com/m4xshen/autoclose.nvim/issues/39 and https://github.com/m4xshen/autoclose.nvim/issues/23.

Yeah you are right.
I prefer this new way to config pair:
pair = { "(", ")" }

It would be great if you can open a PR to solve this! Just remember to add breaking change into commit messages (see conventional commit) so that user can know the change when updating plugins.

It would be great if you can open a PR to solve this!

I apologize, but I was overly optimistic. After working on this for the past week, I've realized that the problems are a lot more complicated than I thought at first. So much of the current code relies on one character being equal to one byte, LuaJIT has no built-in way to deal with multibyte characters, and Neovim doesn't offer much support either.
I was able to get entering and escaping multibyte pairs to work, but I could not get deletion to work. (The problem is that if the key entered is, e.g., <BS>, you can't know how many bytes to grab relative to the cursor position in order to get "two characters." I tried using vim.str_utf_pos, but I couldn't get that to work for all positions on a line.) I may be missing something obvious, but I'm going to stop for now.
As for the other two issues, the more I thought about those, the harder they seemed to me. Those involve not individual characters (of whatever width), but truly multi-character groups. Since users will type those one character at a time, I can't see how to escape or delete those without changing this plugin almost entirely. (I think you'd need to track state and/or use regexes heavily in order to do that. Consider, e.g., multi-line comments inside of multi-character surroundings.)
tl;dr — this plugin is simple and works remarkably well for single-character ASCII pairs. Since that's got to be over 80% of what programmers need from an autoclose plugin, I'm going to try to stop worrying about multibyte or multi-character cases for now. I'll leave this open if you want, and I'll probably keep thinking about it (despite myself), but I doubt I'll work on it right now.

Naturally, after I said that I would stop thinking about the problem, I thought about it nonstop. After another day working on this, I have a version that supports multibyte characters. I will use this version for a week or two while I continue to try to clean up the code (which is very ugly and may have edge cases I haven't thought of yet).
There is one (big) problem with my solution. In documents with very long lines (e.g., in a markdown document where entire paragraphs are written as one line), then the code may repeatedly call vim.str_utf_pos and build a lookup table of characters by byte positions. This is ridiculously inefficient compared with line:sub(col, col + 1), but I can't see an alternative.
Probably the better thing is to use autoclose.nvim for programming filetypes and something like electric-quotes.nvim for mail and text filetypes. (Markdown is an annoying problem since I'd like to use autoclose.nvim and electric-quotes.nvim there, but electric-quotes.nvim steps on ` and '.)
You're under no obligation, of course, but if you have thoughts about my hacky solution, please comment there or make suggestions. If I can improve my solution, I will submit it as a PR later.


MBL-1016: Add handling for failures in MockGraphQLClient

📲 What

Add handling for failures in MockGraphQLClient code
Add observation for failures to CombineTestObserver

🤔 Why
This was another //TODO I left myself in the initial ReportProjectFormViewModel refactor.

@amy-at-kickstarter I think that failing test is just a flaky one. I had to re-run my last PR a couple of times to get it to pass 🤔

Ah, annoying. Will do


Interpolation not working

When I try to render an array of objects from an API call I am seeing some odd results in the interpolation.  The JSON resulting from the API call looks like:
   {
      "character":"A",
      "soundName":"clap",
      "idForClickEvent":"65",
      "audioSrc":"sounds/clap.wav"
   },
   {
      "character":"S",
      "soundName":"hihat",
      "idForClickEvent":"83",
      "audioSrc":"sounds/hihat.wav"
   }

The code called to render each object is:
const renderKeys = (keys) => html`
        ${repeat(keys,
            (k) => k.idForClickEvent,
            (k) => html` ${key(k.character, k.soundName, k.idForClickEvent)} `
        )}`

The key template used in the repeat above:
function key(character, soundName, idForClickEvent, audioSrc) {
  return html`

      ${character}
      ${soundName}
      <audio data-key=${idForClickEvent} src=${audioSrc}></audio>

  `

The resulting HTML when I run the app is wrong, inspecting it in chrome shows:

Splitting the audio tag into a separate template and composing that template and key template resolved the issue but I shouldn't need to split the template.

Closing as stale. We've had a number of fixes to expression <-> part association, so this may not be a problem anymore. Please re-open if it's still a problem.


Adjust bbox without changing key-points when editing skeleton

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Is it possible to only adjust bbox without changing the positions of any points in the skeleton when Editing the skeleton?
Steps to Reproduce (for bugs)
Before adjust the bbox

After adjust the bbox (I don't want to change any positions of the key-points)

Expected Behaviour
See above
Current Behaviour
See above
Possible Solution
Solution 1:
Maybe we can considering separate key-points and wrapped bbox first, and then draw key-points and bbox separatly, eventually merge bbox + key-points into a new skeleton.
Solution 2:
Allow option to only adjust bbox without changing key-points.
Context
Some time overweight cat and skim cat have same skeleton key-points but different wrapped bbox.

Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Hi @stevezkw1998
You do not have boudning box annotations in your example. Bounding box you see is not real. It is used exactly to resize the whole skeleton. Nothing to adjust here. If you want to have a bounding box, create another bounding box label and annotate the object using it.
Please look at this issue #5904

Thank you for your explaination @bsekachev
Now I understand how it works


Fix Compilation with C++20

Also you might want to replace the check with __cpp_concepts.

Thanks. The problem is obvious, and the fix too, but do you mind telling me what compiler you ran into this with? I believe this is exercised in the CI build with clang++-15/libc++, clang++-15/libstdc++, gcc-12 and whatever version of MSVC is included in github-actions Visual Studio Enterprise 2022, but apparently it is not. I want to ensure that the CI builds catches this before merging.

I'm using GCC on Windows: gcc version 12.2.0 (Rev7, Built by MSYS2 project)
But the "normal" GCC and clang do not accept the code either: https://gcc.godbolt.org/z/77fMf1jno
I did not find the syntax on cppreference.com and didn't look into the standard, but as far as I know the requires clause has to come directly after the template declaration, or for functions before the semicolon/opening brace. I think the MSVC has a bug there.

I've never written CMake files. But when I read https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html#prop_tgt:CXX_STANDARD and https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD_REQUIRED.html#prop_tgt:CXX_STANDARD_REQUIRED correctly, maybe you have to add that to your CI, or raise the minimum CMake version?

OK, I know what the problem is now. In C++20, the macro __cplusplus is defined to be 202002L, and the comparison is with 202003L. :facepalm: Goes to show that I should've used the feature test macro instead, as you suggested. The reason the unit tests pass is that the check fails and it builds as if it was C++17. I'll try to get a brown paper bag release out later today.

OK, I know what the problem is now. In C++20, the macro __cplusplus is defined to be 202002L, and the comparison is with 202003L. 🤦 Goes to show that I should've used the feature test macro instead, as you suggested. The reason the unit tests pass is that the check fails and it builds as if it was C++17. I'll try to get a brown paper bag release out later today.

Did not see that, then it seems I'm fixing the C++23 version. :)

I just tagged version v10, which fixes this. The fix is ever so slightly different than yours, so I'm closing the PR now. Thank you for finding and reporting this.


Support multiple-pages

Hey guys 👋, this is the implementation about supporting multiple pages. Following the suggested solutions  on comment  https://github.com/LiveDuo/destack/issues/24#issuecomment-904067773

@LiveDuo @nikolas-con is there any instruction around for the usage of this feature?
I read through issue #24 and the changes here, but couldn't really sort out how to implement multiple pages using destack.
Thanks for the awesome tool!

Hey @bradleytaftsmith,
You just need two Next.js pages like this one main/pages/index.js.
Say you want a home and a about page, you would need to create two files in the pages, one called home.js and one  called about.js and import destack in both.
Maybe I should add it to the docs at some point.

ah, duh. It looks like you did actually have it in the Readme to some here.
I didn't intuit that localhost:3000/my_page_name would get me to the editor, so I was having trouble finding it after duplicating and re-naming my index.js
Thanks for the reply, I think I got it sorted.


Board Review: Introducing Azure Experimentation

Thank you for starting the process for approval of the client library for your Azure service.  Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
The Architecture Board reviews Track 2 libraries only. If your library does not meet this requirement, please reach out to Architecture Board before creating the issue.
Please reference our review process guidelines to understand what is being asked for in the issue template.
Before submitting, ensure you adjust the title of the issue appropriately.
Note that the required material must be included before a meeting can be scheduled.

Responsible service team: ExP

Main contacts<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Expected code complete date:4/15/2022

Expected release date: 4/30/2022

About the Service

Link to documentation introducing/describing the service:
https://eng.ms/docs/products/experimentation-platform
Link to the service REST APIs:
https://github.com/sakoll/azure-rest-api-specs-pr/blob/sakoll-msft/expDataPlane/specification/experimentation/data-plane/Microsoft.Experimentation/preview/2021-11-01-preview/experimentation.json
Is the goal to release a Public Preview, Private Preview, or GA?

About the client library

Name of client library: Azure.Analytics.Experimentation
Languages for this review: .NET

.NET

APIView
Older version of API View (https://apiview.dev/Assemblies/Review/2bab04a94f5140749f95ecab5eb96f19)

Step 1: Champion Scenarios
See here: https://microsoft.sharepoint.com/:w:/t/expshared/EdCTDuOFS5hJoSCntmhEazoBiudRhB-BZo6K-K4jzgl6tQ?e=YmDRNY
Thank you for your submission!

scheduled for 4/4 2-4pm pst

Recording (MS INTERNAL ONLY)


BGS SV TS paper

Year1 KP1 supporting paper wiki, sv workshop doc that provides:

science motivation for BGS
motivation for extended SV selection and performance of extended SV selection
target selection and expected number densities for main sample
sensitivity to spurious signal

Also:

Present astrophysics of the tracer and use as probe of physics
Present scope of DESI’s plan for tracer
Present challenges (decision trees) and goals in constraining physics
Present full SV selection and motivation
Present results in context of science requirements
Present additional information, including systematics and projections for survey

Outline of the paper from SV workshop (see also [SV workshop google doc])

Intro

Background of tracer as used in large spectroscopic surveys (how it was used in the past) SDSS main galaxy sample
DESI overview
Boilerplate cross-reference between TS papers
Motivation to use tracer for DESI, including potential scope over full footprint, why is number density chosen

Science Req.

Scientific goals of sample (e.g. BAO precision for BGS BRIGHT) what about for BGS faint?
Req. on the sample to reach those goals
What challenge in using target class to meet those requirements (decision tree)?
additional challenges (completeness and uniformity)

Properties of tracer in imaging data, properties of imaging data

spectroscopic features, broadband SED, and/or morphology that make tracer distinct in imaging data (example spectrum, scatter plot of known targets on color-color distribution)
how much overlap/contamination with other astrophysical sources
what imaging data do we have to make the TS (WISE/grz/Gaia) and what does that enable for TS? color cuts, star-galaxy separation

TS for SV combine with 3

Assumptions of n(z)/color cuts informed by prior experience GAMA overlap
extended selection of targets from imaging data, why are we extending the boundaries?
assessment of uniformity for various selections, regression on imaging properties, zeropoints (identify largest sources of spurious signal)
application to TS and fiber assignment, brief discussion with references to relevant supporting paper
code in desi_target to make skymaps, QA plots, that would offer consistent figures and code

Results from SV

Take catalog redshift at face value and focus on n(z) and redshift completeness. The redshift failures will be discussed in the pipeline papers. Cite thresholds that determine truth in the assessment of catalog, but point to other paper
determination of n(z), spectroscopic completeness as a function of color, magnitude, and other selection criteria
answer other decision tree question using SV data
state final selection algorithm

Implications for five-year DESI program
Conclusion

overleaf of DESI BGS SV target selection paper: https://www.overleaf.com/1236443545pnmrcnbcspwp


whitebox_tools 'Unrecognized tool name NormalizeLidar'

I am using whitebox_tools v2.3.0 and I would like to use the normalize_lidar function. However, when calling the function, I get this error:
thread 'main' panicked at 'Unrecognized tool name NormalizeLidar.', whitebox-tools-app/src/main.rs:72:21 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
The help function ?wbt.normalize_lidar does indeed show the documentation, but print(wbt.tool_help("normalize_lidar")) shows the same thread main panicked at etc. error as listed above with calling the function itself. Additionally, normalize_lidar does not appear when listing the wbt tools with the "normalize" keyword:
print(wbt.list_tools(['normalize']).keys())
I have confirmed I am setting the whitebox directory to the location of the binary file and the working directory to where my data is.

Hello, can I clarify are you using WhiteboxTools or Whitebox Workflows? If this is in fact an issue with Whitebox Workflows, then I believe that I have probably resolved this issue in the latest version.

Hello! I'm using WhiteboxTools and the issue is within WhiteboxTools only. I have experimented with the NormalizeLidar tool with Whitebox Workflows (only to test it) and I didn't have any issues there.

Hello @ithaca-oyler
I just successfully ran the NormalizeLidar Tool using whiteboxTools v2.3 without any errors. I was using the WhiteboxRunner front end.

Are you interacting with the tools using a front end or command line/python?

I am using the command line/python

Hi @Afrancioni. Interesting... I'm still getting the same errors in the command line and in my jupyter notebook. Just to confirm, was your version of the package downloaded with pip install?

I'm not sure if this is helpful at all, but I decided to dig into the stack trace, error messages, and explore the repo a little bit more and found that I have the same issue with all of the tools in whitebox-plugins in https://github.com/jblindsay/whitebox-tools/tree/5a82f513e77cf1c74778995b5d6304dd9d9f372f/whitebox-plugins. I'm not sure if this is an installation issue with conda-forge on my end or what. Feel free to ignore this comment if it ends up being unhelpful or totally unrelated!

Hi @ithaca-oyler
I am using v 2.3 of WhiteboxTools downloaded from the Whitebox Geospatial website (https://www.whiteboxgeo.com/download-whiteboxtools/). I did not pip install or use conda. I am assuming you did? Would you be able to try downloading directly from our website and test if you can run the tools from command line? I am just trying to figure out where exactly your issue is.

I would like to add I am experiencing the same issue running Conditional Evaluation through a python script. Let me know if I can provide more information or if I should start a new thread.
whitebox 2.3.1 from conda-forge.
Error
thread 'main' panicked at 'Unrecognized tool name ConditionalEvaluation.', whitebox-tools-app\src\main.rs:72:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Code snip
from whitebox import WhiteboxTools
wbt = WhiteboxTools()

wbt.conditional_evaluation(
                i=input_raster,
                output=output_raster,
                statement="value == 0",
                true=1,
                false=None,
            )

@Afrancioni I downloaded v2.3 from the Whitebox Geospatial website and I was able to install the Rust compiler and clone the whitebox_tools repo, but I still received the same "Unrecognized tool name" error message for NormalizeLidar in both my jupyter notebook and the command line. I am able to use other lidar and raster tools, however (also both in the command line and in a jupyter notebook).

@ithaca-oyler Can you please paste your command line call?

This is the command line call I'm using:
.\whitebox_tools.exe -r=NormalizeLidar --wd=<path to my data> -i=input.las -o=output.las --dtm=dtm.tif

@ithaca-oyler are you able to see the name of the tool in the tool list when you call --list_tool? Id be curious if you can run the tool using WhiteboxRunner?

@Afrancioni It does not show up when --list_tool is called. It also does not appear in the list of tools available to run in the WhiteboxRunner.

@ithaca-oyler That is very strange. I just downloaded the WBT binary from our site here https://www.whiteboxgeo.com/download-whiteboxtools/ and all tools including the NormalizeLidar tool appear in WhiteboxRunner and when I call --list_tool. I know you have downloaded WBT through conda but I am not sure how that puts WBT together.

@Afrancioni Thank you for your patience during the delay in my response. I uninstalled rust and whitebox_tools and tried the download again with no success in using the normalize_lidar tool or having it show up in the WhiteboxRunner. I've attached the log from cargo build --release. Do you see anything unusual here? Unfortunately, I don't know anything about Rust.
whiteboxtools_cargo_build_log.txt


Update org.springframework:spring-core to 5.3.20

Description
Fixes CVE-2022-22970 found in org.springframework:spring-core:5.3.19
Issues Resolved

Resolves #1840

Check List

[ ] ~New functionality includes testing~
[ ] ~New functionality has been documented~
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

LGTM!

Codecov Report

Merging #1850 (f0475d5) into main (25eda95) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1850      +/-   ##
============================================
- Coverage     60.86%   60.82%   -0.05%
+ Complexity     3213     3212       -1
============================================
  Files           256      256
  Lines         18006    18005       -1
  Branches       3209     3209
============================================
- Hits          10960    10951       -9
- Misses         5465     5474       +9
+ Partials       1581     1580       -1

Impacted Files
Coverage Δ

...org/opensearch/security/rest/TenantInfoAction.java
77.94% <0.00%> (-10.30%)
:arrow_down:

...iance/ComplianceIndexingOperationListenerImpl.java
60.86% <0.00%> (-1.45%)
:arrow_down:

...ecurity/ssl/rest/SecuritySSLReloadCertsAction.java
84.78% <0.00%> (-0.33%)
:arrow_down:

Continue to review full report at Codecov.

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


when creating assets: move ledger related calls to a unique module

This PR is required to solve the #10 issue.
All calls to the ledger to create assets are located in utilities modules of the ledger serializer modules.
It leads to a lot of duplicated code, make the code hard to maintain (serializers should be responsible only for serializing and deserializing objects). The current implementation does not allow to easily apply a common strategy to interact with the ledger in case of asset creation.
This PR improves code maintainability by moving all these functions to a dedicated module.

Nice refacto. It's cleaner now and easier to update !


Adds CommonFinders.bySubtype<T extends Widget>() finder.

This finder is like byType, but also matches subtypes, and allows you to write the type as a type argument.
That avoids having to go through hoops to create a Type object for, say, PopupMenuButton<Something>, which isn't currently a Dart type literal.
It also allows us to restrict the type to T extends Widget, which a Type object argument doesn't, so the function is slightly more type-safe than byType.
Fixes #91298
Pre-launch Checklist

[ x I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

Hey @lrhn, are you still planning on merging this one?

Looks like the checks are not happy on this one, though. Can you take a look?

@lrhn could you fix the analyzer issues and maybe address the doc nit so we can get this merged?

Gold has detected about 46 new digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/91415

Gold has detected about 50 new digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/91415

Gold has detected about 46 new digest(s) on patchset 4.
View them at https://flutter-gold.skia.org/cl/github/91415

Thanks for coming back to this! Since the branch is pretty old, you probably have to rebase it to the latest master to make the checks happy.

Sorry for the delay. The error message were slightly intimidating too.


Footer Ad position

Just a note, now the advertisment strip at the bottom is a bit annoying :)  taking 33px height: calc(100% - 33px); , I don't mind ads as long as they don't take too much room. It's maybe possible to put it elsewhere, if not it doesn't matter

If you're a paying user and supporting jsbin's costs, then you don't see the ad. But also, all the spots you've pointed at have variable width, so they're no good. I'm pretty comfortable with loosing 33pixels from a potential several hundred. Thanks for the feedback though.


If STAR reference is transcriptome rule should remove soft-clipping and gaps for use with e.g. RSEM

Possibly add STAR-specific option

See https://github.com/lindenb/jvarkit/wiki/Biostar84452


setuptools.sandbox.SandboxViolation: SandboxViolation: open('_configtest.c', 'w') {} only on Python 3.8

When adding Python 3.8 to pyca/cryptography's CI, we're seeing a baffling error message... but only under Python 3.8:

  File "c:\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
    yield
  File "c:\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
    _execfile(setup_script, ns)
  File "c:\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
    exec(code, globals, locals)
  File "C:\Users\CONTAI~1\AppData\Local\Temp\easy_install-z0ti_pg_\cffi-1.13.0\setup.py", line 127, in <module>
    elif (is_short_option(argv[i]) and
  File "C:\Users\CONTAI~1\AppData\Local\Temp\easy_install-z0ti_pg_\cffi-1.13.0\setup.py", line 105, in uses_msvc
    '--url',
  File "c:\python38\lib\distutils\command\config.py", line 225, in try_compile
    self._compile(body, headers, include_dirs, lang)
  File "c:\python38\lib\distutils\command\config.py", line 127, in _compile
    src = self._gen_temp_sourcefile(body, headers, lang)
  File "c:\python38\lib\distutils\command\config.py", line 109, in _gen_temp_sourcefile
    with open(filename, "w") as file:
  File "c:\python38\lib\site-packages\setuptools\sandbox.py", line 418, in _open
    self._violation("open", path, mode, *args, **kw)
  File "c:\python38\lib\site-packages\setuptools\sandbox.py", line 407, in _violation
    raise SandboxViolation(operation, args, kw)
setuptools.sandbox.SandboxViolation: SandboxViolation: open('_configtest.c', 'w') {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

I assume this is a bad intersection between something, but for the life of me I don't know what.
https://dev.azure.com/pyca/cryptography/_build/results?buildId=1062&view=logs&jobId=d500edf6-0b6e-504d-2304-06892ff28e12

This is indeed quite baffling. The main thing that I can see that changed with regards to that _configtest.c file is that it was switched over to using a context manager about 10 months ago. Not sure if that was backported to 3.7, but I don't think it would explain the issue. Possibly the issue is that something about that specific VM or something that changed in 3.8's Windows support is causing that file to be created in a temporary directory outside the sandbox.
I can't be sure, but I think that this would be solved if easy_install were never invoked? It's still a bit murky to me why easy_install is being invoked at all, I wouldn't expect it to happen while building an sdist for cryptography, and I would expect cffi to be installed from a wheel. Possibly some combination of environment and version is making it so that the cffi dependency can't be satisfied from a wheel and it's falling back to easy_install because it's not a PEP 517/518 build.
I suspect that you can solve the immediate issue by adding isolated_build = True in your tox.ini configuration, which will use pip to install cffi and its dependencies in an isolated build environment (looks like the whole dependency tree is pycparser, which is pure python). Assuming this doesn't cause you other problems, if that works then this issue will probably go away for the most part when we merge @benoit-pierre's changes removing/deprecating easy_install (#1830 and its children).

I think(?) @cgohlke may have found the fundamental reason for the issue at https://github.com/numpy/numpy/issues/14873#issuecomment-552362203.


RPG( JS ) Step 41 - Issue with checking

Describe the Issue
The regex used for checking this step does not have a check for ;.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-basic-javascript-by-building-a-role-playing-game/step-41
Your code
function goCave() {
  console.log("Going to cave.")
}

Expected behavior
It should give a hint if the ; is missing, and not accept the answer.
Screenshots

System

Device: Laptop
OS: Fedora 39
Browser: Firefox
Version:

Additional context
The fix is to change the current regex /console.log\(('|")Going to cave\.\1\)/ to this one /console\.log\(('|")Going to cave\.\1\);/
I also found the same issue on Step - 42. There might be more of these issues later in the course, as I have not reached that far into it.

Thank you for reporting this issue.
Whether it can be discussed if it's good idea to omit semicolons in JavaScript, it's not required to always add them by hand. What's more JavaScript can add them automatically if needed. Because of that both versions are valid.
If you think we're wrong in closing this issue, please request for it to be reopened and add further clarification. Thank you and happy coding.


Not working on Fresh install -  tested on 2 different systems.

Describe the bug
Not working on fresh installed, steps followed from README.md
To Reproduce
Steps to reproduce the behavior:

git clone
Chang ollama url to http://host.docker.internal:11434 as mentioned in the readme. Its my local ollama, both ollama and perpliexica is on same laptop.
docker compose up .... starts throwing error
On entering on query on localhost:3000 does nothing.

Expected behavior
After docker compose up all should work fine, when entering a query it should ping my local ollama server and prepare and show the results.
Additional context
Here are full logs:
perplexica-docker-compose-up.txt

Seems like Perplexica is not being able to connect to Ollama. What OS are you using?

Seems like Perplexica is not being able to connect to Ollama. What OS are you using?

I am using arch Linux. http://localhost:11434 is saying Ollama is running. I don't think os is the issue, I've downloaded other open source stuff like continue extension in vscode, that works just fine with my local ollama.

You need to follow the Ollama connection error guide in the readme below
the installation.
On Mon, 24 Jun 2024, 15:58 Rishik Mourya, @.***> wrote:

Seems like Perplexica is not being able to connect to Ollama. What OS are
you using?
I am using arch Linux. http://localhost:11434 is saying Ollama is
running. I don't think os is the issue, I've downloaded other open source
stuff like continue extension in vscode, that works just fine with my local
ollama.
—
Reply to this email directly, view it on GitHub
https://github.com/ItzCrazyKns/Perplexica/issues/220#issuecomment-2186215954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWY35HP3D76MB6V6QSP6LRTZI7YDLAVCNFSM6AAAAABJZKNIIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGIYTKOJVGQ
.
You are receiving this because you commented.Message ID:
@.***>

I've tried not. here's what I did.

$ ip addr show # copied the inet value from wlan0`
Changed ollama to this OLLAMA = "http://<my_machine_ip>:11434"
$ sudo ufw allow 11434/tcp
Stopped Ollama and restarted it with $ OLLAMA_HOST=<IP_ADDRESS> ollama serve

Still not working
perplexica-backend-1   | error: Error loading Ollama models: TypeError: fetch failed
perplexica-backend-1   | error: Error loading Ollama embeddings: TypeError: fetch failed
perplexica-backend-1   | error: undefined
perplexica-backend-1   | error: Error loading Ollama models: TypeError: fetch failed
perplexica-backend-1   | error: Error loading Ollama embeddings: TypeError: fetch failed
perplexica-backend-1   | error: undefined

Try sending a curl request to the same URL

All is good with the ollama url.

Oh wait, I needed to change the settings and select ollama manually. Got it working now!

@braindotai I'm hitting the same issue but can't change the chat model provider.


Keyboard doesn't work on dialogs

When I close Atom, it presents me a dialog asking me to save the file. Pressing 'S', 'C' or 'N' on the keyboard does nothing. I'm using Windows 7.

I can confirm this on Windows 7 (x64) and Atom 1.0.0.

Debian KDE, N key not selecting "Don't save".

Also discussed here #2928

Closing in favor of #2928 - feel free to subscribe there for updates.


[W6.1e][T09-A1] Koh Yee Ru

Add JUnit tests for isAnyNull.

Accepting this PR with minimal review.


8569 Ability to easily extract email attachments

Pull request for feature request https://issues.apache.org/jira/browse/CAMEL-8569
Ability to easily extract email attachments
The existing support for splitting an email by it's attachments (org.apache.camel.component.mail.SplitAttachmentsExpression) is limiting that the attachments are still mime encoded, and cannot be easily used by the next stage in a route.
e.g.
from("pop3://james@mymailserver.com?...
.split(new SplitAttachmentsExpression())
.to("file:///myAttachmentsFolder")

doesn't work
An improved splitter that decodes the mime parts into byte arrays would be more useful
Added an alternative to SplitAttachmentsExpression called ExtractAttachmentsExpression
which will split a (multipart) mime encoded email into new camel messages where the body of each message is the email attachment as a byte array, with a header "CamelSplitAttachmentName" containing the attachment name.

Thanks for this PR. The code has been merged. Do you mind closing this ticket?


[Snyk] Fix for 1 vulnerabilities

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/api-docs/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Cross-site Scripting (XSS) SNYK-JS-DOMPURIFY-8184974
  188

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

🎉 Snyk hasn't found any issues so far.
✅ security/snyk check is completed. No issues were found. (View Details)
✅ license/snyk check is completed. No issues were found. (View Details)


Multiple configuration option for the same checker

Multiple configuration options are given for the same checker:
https://github.com/Ericsson/codechecker/blob/53c1d55dae1600d5290f369129b1ade37e02c47e/config/config.json#L21
https://github.com/Ericsson/codechecker/blob/53c1d55dae1600d5290f369129b1ade37e02c47e/config/config.json#L31
One of them has to be removed.
By the way, ESLint can recognize duplicated keys: https://eslint.org/docs/rules/no-dupe-keys
Can we enable it in Codacy?

It is enabled in codacy and it finds the problems.


Are "Alert Words" case sensitive?

Currently I can create a set of alert words that are identical, save for capitalization. Is this expected behavior? From a user perspective, I hope/expect my alert words to match any case.

Good question!  @benneyman do you have time to look into this?

Sure @timabott, l have a look at this.


GC Member list being rounded incorrectly

Visual:

I've found a way to fix it, should I make a pull request or do you want the code to implement yourselves?

Pull request opened for it #134


Dialog 4: Define alternative behaviors to smoking

Description:

Let the user think about alternative behaviors to smoking
Let the user make a list of alternative behaviors they want to actually implement

To do:

[ ] Add relevant resources
[ ] Check dialog against base requirements

Looks interesting!


Homebrew package upgrade doesn't take revision into account

When using action :upgrade on a Homebrew formula which has revisions chef Homebrew package resource tries to upgrade the package even though the latest version is installed.
$ chef-apply -e 'Chef::Resource::HomebrewPackage.provides :package, os: "darwin"; package "elinks" do action :upgrade end'
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * homebrew_package[elinks] action upgrade
    - upgrade package elinks from uninstalled to 0.11.7
$ chef-apply -e 'Chef::Resource::HomebrewPackage.provides :package, os: "darwin"; package "elinks" do action :upgrade end'
Recipe: (chef-apply cookbook)::(chef-apply recipe)
  * homebrew_package[elinks] action upgrade

    ================================================================================
    Error executing action `upgrade` on resource 'homebrew_package[elinks]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of brew upgrade  elinks ----
    STDOUT:
    STDERR: Error: elinks 0.11.7_2 already installed
    ---- End output of brew upgrade  elinks ----
    Ran brew upgrade  elinks returned 1

    Resource Declaration:
    ---------------------
    # In /tmp/recipe-temporary-file20150410-30570-1i2ytjg

      1: Chef::Resource::HomebrewPackage.provides :package, os: "darwin"; package "elinks" do action :upgrade end

    Compiled Resource:
    ------------------
    # Declared in /tmp/recipe-temporary-file20150410-30570-1i2ytjg:1:in `run_chef_recipe'

    homebrew_package("elinks") do
      action [:upgrade]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      package_name "elinks"
      version "0.11.7"
      timeout 900
      declared_type :package
      cookbook_name "(chef-apply cookbook)"
      recipe_name "(chef-apply recipe)"
    end

[2015-04-10T22:38:30+02:00] FATAL: Stacktrace dumped to /Users/simmel/.chef/cache/chef-stacktrace.out
[2015-04-10T22:38:30+02:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: homebrew_package[elinks] ((chef-apply cookbook)::(chef-apply recipe) line 1) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of brew upgrade  elinks ----
STDOUT:
STDERR: Error: elinks 0.11.7_2 already installed
---- End output of brew upgrade  elinks ----
Ran brew upgrade  elinks returned 1
$ cat /Users/simmel/.chef/cache/chef-stacktrace.out
Generated at 2015-04-10 22:38:30 +0200
Mixlib::ShellOut::ShellCommandFailed: homebrew_package[elinks] ((chef-apply cookbook)::(chef-apply recipe) line 1) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of brew upgrade  elinks ----
STDOUT:
STDERR: Error: elinks 0.11.7_2 already installed
---- End output of brew upgrade  elinks ----
Ran brew upgrade  elinks returned 1
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:278:in `invalid!'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:265:in `error!'
/opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:56:in `shell_out!'
/opt/chef/embedded/apps/chef/lib/chef/provider/package/homebrew.rb:129:in `get_response_from_command'
/opt/chef/embedded/apps/chef/lib/chef/provider/package/homebrew.rb:76:in `brew'
/opt/chef/embedded/apps/chef/lib/chef/provider/package/homebrew.rb:59:in `upgrade_package'
/opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:114:in `block in action_upgrade'
/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call'
/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/chef/embedded/apps/chef/lib/chef/provider.rb:180:in `converge_by'
/opt/chef/embedded/apps/chef/lib/chef/provider/package.rb:113:in `action_upgrade'
/opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/resource.rb:561:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in `block in execute_each_resource'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in `execute_each_resource'
/opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/apps/chef/lib/chef/application/apply.rb:166:in `run_chef_recipe'
/opt/chef/embedded/apps/chef/lib/chef/application/apply.rb:175:in `run_application'
/opt/chef/embedded/apps/chef/lib/chef/application/apply.rb:188:in `run'
/opt/chef/embedded/apps/chef/bin/chef-apply:25:in `<top (required)>'
/usr/bin/chef-apply:51:in `load'
/usr/bin/chef-apply:51:in `'
$ EDITOR=cat brew edit elinks
require 'formula'

class Elinks < Formula
  homepage 'http://elinks.or.cz/'
  url 'http://elinks.or.cz/download/elinks-0.11.7.tar.bz2'
  sha1 'd13edc1477d0ab32cafe7d3c1f3a23ae1c0a5c54'
  revision 2

  bottle do
    revision 1
    sha1 "97954464d63684d343152aa3dbb7bd5384d8e56d" => :mavericks
    sha1 "882e21d742e1f373b9403ef932bddc855430948e" => :mountain_lion
    sha1 "ce8f6c3521d89ed3c0e3f09813934154ec6b4bcb" => :lion
  end

  devel do
    url 'http://elinks.cz/download/elinks-0.12pre6.tar.bz2'
    version '0.12pre6'
    sha1 '3517795e8a390cb36ca249a5be6514b9784520a5'
  end

  head do
    url 'http://elinks.cz/elinks.git'

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  depends_on "openssl"

  def install
    ENV.deparallelize
    ENV.delete('LD')
    system "./autogen.sh" if build.head?
    system "./configure", "--prefix=#{prefix}", "--without-spidermonkey",
                          "--enable-256-colors"
    system "make install"
  end

  test do
    (testpath/"test.html").write <<-EOS.undent
      <!DOCTYPE html>
      <title>elinks test</title>
      Hello world!

one

two

    EOS
    assert_match /^\s*Hello world!\n+ *1. one\n *2. two\s*$/,
                 shell_output("elinks test.html")
  end
end
$ brew info --json=v1 elinks | python -mjson.tool
[
    {
        "caveats": null,
        "conflicts_with": [],
        "dependencies": [
            "openssl"
        ],
        "homepage": "http://elinks.or.cz/",
        "installed": [
            {
                "built_as_bottle": null,
                "poured_from_bottle": true,
                "used_options": [],
                "version": "0.11.7_2"
            }
        ],
        "keg_only": null,
        "linked_keg": "0.11.7_2",
        "name": "elinks",
        "options": [],
        "revision": 2,
        "versions": {
            "bottle": true,
            "devel": "0.12pre6",
            "head": "HEAD",
            "stable": "0.11.7"
        }
    }
]

Note that the formula version is 0.11.7 but the actual installed version is 0.11.7_2.
I can do the change, but I want to discuss the best solution. One is to use candidate_version instead of current_resource.version here https://github.com/chef/chef/blob/3ac9ac602f837a1a38d320f453fa50488f670f60/lib/chef/provider/package/homebrew.rb#L54
Thoughts?

I would expect to see an idempotency check between candidate_version (what we think we should install after resolving the new_resource.version that the user requested -- which should be 0.11.7_2) and current_resource.version (which should be what is installed -- 0.11.7_2)


Pages on favorites broken

Furaffinity changed how pagination on favorites works.  It now tracks which pages to go to next using favorite ids rather than explicit page numbers.  Will possibly need a breaking API change for this.

Hey, I just encountered this issue, is there a possible workaround?

Would need a code change to work, I'll get to it eventually.  If you want to have a go at it yourself I do accept pull requests.

This has been fixed in 9ad0485078469b8d9e8ee249cefd45f9de9cdef9, check out http://faexport.boothale.net/docs#get-user-name-folder for details on how to access more pages


long64 vs long

I ran into an issue where a pythraned function was declared as
pythran export myFunc(int)

But was called from python with a numpy int which by default is an int64 whereas the default python int is a regular int. Is there a way to fix that automatically without having to either:

transform the input param upon calling: int(value)
declare the function as pythran export myFunc(int or int64)

This is especially problematic when you have lots of input, in which case the int or int64 option is not very good (because it creates too much code).

I'm puzzled, int (in pythran signature) defaults to a native long, which
can be int32 or int64 depending on the plaform.
Why don't you just force int64 in the pythran export? It should work for
python int and numpy int.

I hadn't thought of that! I tried it, but that breaks something else in pythran.
error: no matching function for call to object of type '(anonymous namespace)::pythonic::numpy::functor::empty'     typedef typename pythonic::assignable<decltype(std::declval<__type44>()(std::declval<__type51>(), std::declval<__type52>()))>::type __type53;                                                    ^~~~~~~~~~~~~~~~~~~~~~~~ /var/folders/j6/7t8sg1vj4q97zhh9z5cdmxbm4rz935/T/tmp8JnYFU.cpp:599:82: note: in instantiation of function template specialization '__pythran_rotation::timeScaleSnippet::operator()<(anonymous namespace)::pythonic::types::ndarray<double, 2> &, long long &, long long &, long long &, long long &, long long &, long long &, (anonymous namespace)::pythonic::types::ndarray<double, 2> &, (anonymous namespace)::pythonic::types::ndarray<double, 2> &, long long &, double &>' requested here                                 auto res = __pythran_rotation::timeScaleSnippet()(inputSignal, inLeft, inRight, outLeft, outRight, windowLen, fftSize, window, outputSignal, applyRenorm, maxNormFreq);
i haven't tried to isolate where the error occurs (always difficult)...

If you can provide me with the full.py that's ok :-)

up

Let me close this, I don't think it's relevant any longer


to_gtf 1 based coordinates

I have been working with GTF files using the pr.read_gtf(file)
Pyranges uses 0-based coordinates and GTF files are 1-based. I would have expected on import for pyranges to do start-1.
I am trying to get introns from exons using gtf_gr.features.introns(by='gene') but because its doing a 0-based operation on 1-based coordinates I think the results are strange:
Chromosome    Start      End Strand gene_name  Count  Source Feature Score
3          1  3466587  3466687      +    Gm1992    1.0  havana    exon     .
4          1  3466687  3513405      +    Gm1992    NaN  havana  intron     .
5          1  3513405  3513553      +    Gm1992    1.0  havana    exon     .

I would expect in a 1-based coordintes system for the intron coordinates to be:
Chromosome    Start      End Strand gene_name  Count  Source Feature Score
3          1  3466587  3466687      +    Gm1992    1.0  havana    exon     .
4          1  3466688  3513404      +    Gm1992    NaN  havana  intron     .
5          1  3513405  3513553      +    Gm1992    1.0  havana    exon     .

In a 0-based it would be:
Chromosome    Start      End Strand gene_name  Count  Source Feature Score
3          1  3466586  3466687      +    Gm1992    1.0  havana    exon     .
4          1  3466687  3513404      +    Gm1992    NaN  havana  intron     .
5          1  3513404  3513553      +    Gm1992    1.0  havana    exon     .

I've been trying to get my head around this, sorry if I am misunderstanding something. To get the correct result should I just do start+1 and end-1 for the introns?

Sorry, just noticed you fixed this already. I updated to the newest version. Thank you!

Nothing to apologize for! I appreciate all feedback :)


Fix CI workflow for Windows

rasterio is currently pinned to 1.1.8 since versions >= 1.2 result in a "PROJ: proj_create_from_database: Cannot find proj.db" error

closed in #94


Use CMake's CMP0077 policy if available

Description
Using the project as an add_subdirectory (and setting options with set before doing so) produces an warning regarding policy CMP0077.
This happens because the behavior of using set  on variables which will be cached (by option) has changed in CMake 3.12. Before, the value set would be unset, and now the value set is honored.
The project should have CMP0077 set to NEW to ensure it understands this change (the old behaviour is deprecated and may be removed in the future). Doing this outside doctest tree (i.e. the tree that performs add_subdirectory on it) has no effect.
GitHub Issues
Didn't find it necessary. The change is minimal and any necessary discussion can take place in the PR.

Thanks!


adds mutation filtering to Vuex tab

I guess this feature has been requested several times already  (#134, #112 ), so went ahead and implemented it. It allows to use both simple string search and RegExes. Appropriate error is displayed if RegEx can't be compiled.

Unfortunately I couldn't get tests to start, so I did not write any. I'll try to do that but any help would be appreciated.

Nice! I tested locally and it's working great. But ideally we still want tests. What errors are you getting from npm test?

Actually none... It hangs on 'Running:  vue-devtools e2e tests'. Sometimes it doesn't open browser, sometimes it does but with url 'data:;' and sometimes it opens actuall dev server but tests are not running. It deleted and re-installed whole package several times with no luck. Later I'll try to purge Java on my machine.

hmm... ok, I'll merge and add tests later, thanks!

@bartlomieju thanks!


Adding type annotations to curried functions

From what I can see in core/curry.py, there's no way to specify type annotations on-the-fly in a meaningful way. However, instead of recommending against usage, is it worth providing a @functools.wraps decorator over the called function so some notion of annotation and docstring is preserved?
It trusts that the user knows what they're doing, of course :)

Thanks for the suggestion. I will try to fix it using wraps.


Fix onion skinning

This is mainly for fixing #27819, but it also fixes a few more or less related minor issues.

Thanks!

Cherry-picked for 3.1.2.


mail/rspamd+redis: Use Unix socket-based Rspamd→Redis connection

Since 20090ccdb98877aac00c4687571a395753d40ead Postfix is using a Unix socket connection for talking to Rspamd's proxy worker (thanks a lot for merging!) in order to fix duplicate messages.
I mentioned in #2133 that it would make sense to use a Unix socket connection for the rspamd -> redis communication as well.
Strictly speaking this does not seem necessary, because the TCP-connection appears to work, but it may be prettier from a design standpoint to use Unix sockets for everything  postfix/ rspamd releated.
(There is a user mentioning Redis connection issues #2177, but of course not sure if Unix sockets may help.)
At #2133 I mentioned that the permissions for /var/run/redis/redis.sock could either be set to 777 or 770.
I went for the more sophisticated 770 variant. ~Of course there is not benefit in there at the moment, but it would allow us to lock down the Redis database a bit more in the future.~ I have allowed to use the '0' port number in the Redis settings to disable TCP-Listeners completely.

@fabianfrz I believe you are the maintainer of both affected components.
What do you think about this solution?
If you do not think that this is needed or helpful, I may close this pull request.

I am not sure if I would like to disable the TCP port entirely. Maybe another application we are not aware of may be using it.
It would however make sense if we would support TCP and unix domain sockets on the redis side (but make it possible to disable TCP) and then use the unix socket from rspamd to redis.


Automatic cypress check

Summary
It implements cypress automatic testing with github actions everytime a PR is merged
Tasks

[ ] Create a github action
[ ] Find cypress runner
[ ] Implement

The PR was closed, and no cypress testing it planned for frontend development.


Update the project setup process in README & add .env.example files #31

Current behavior
Now, README consists of proper commands for setup & also .env.example files are present in both client and server folders.
Proposed changes
In README.md: npm run dev is replaced with npm start.
Remove the .env file from the root folder.
Add .env.example files in server and client folders.
/resolve #31
Checks

[x] All commits in this Pull Request are signed and Verified by Github.

Hey @Sunny-unik  Thank you for the contribution you can create more issues in the Elective hub and also On Technode official site ✨

give @Sunny-unik   100 points


Creating Storybook stories in combination with slots

In the example story there is a section about slots that I don't quite understand:
export const Slots = setupComposition(
  `<slot's />`,
  () => h`
  ${['Slot eins', 'Slot dva'].map((slot) => h`${Story.tplComposition({ slot })}<br>`)}
`,
);

I've played around with it but I don't seem to be able to get it working. The first parameter is supposed to be the name of slot you want to use? Any elaboration would be greatly appreciated.
My component:
<Host
  onClick={this.handleClick}
>
  <TagType
    {...attributes}
    class={this.buttonClasses}
    disabled={disabled}
    onFocus={this.onFocus}
    onBlur={this.onBlur}
    {...inheritedAttributes}
  >
    <slot name="left" />
    <slot name="label">
      {label}
    </slot>
    <slot name="right" />
  </TagType>
</Host>

What would I have to pass to setupComposition in order to render some lit-html in the left slot?

well :D its hard with lithtml between.
Story.tplComposition({ slot })} slot needs a string or a h`` wrapped when there is reactive stuff inside.
and your slot value should be:
const slot = '
left

right
'
cheers

@dutscher This was exactly what I needed! Now I can finally document my slots in peace.
My stories generated by setupComposition are not configured to handle controls. Is there a way to get this working or is that expected behavior?
Thanks for the help!


clarify docs about conditions when withRouter updates

The docs make it sound like withRouter updates its wrapped component on every router transition (e.g. via listening to history).

withRouter will re-render its component every time the route changes

Update clarifies that rerenders are only triggered by parent rerenders.
see this issue.

Thanks!


How get Arcade, Computer, Console folders?

Hi
I been using Pocket updater with Mac and all my FPGA systems are at same list. It just shows all. I am missing those Arcade, Computer, Console etc folders. I been watching Analogue videos at YouTube and others have those. I wonder how I would get those sub folders for different systems?

Settings > Analogue OS > Group openFPGA


Update docker role to include docker desktop

Update the existing ansible docker role to include the docker-desktop

Installation of docker desktop is not straight forward and requires a lot of adaptations on the existing docker role, i will suspend this ticket for the near future


Code Action doesn't return correct document version

Add import fs from 'fs'; in  a <script> tag
Trigger code actions on that line and select Delete all unused imports

Volar doesn't return matching document version in the codeAction/resolve response.
[Trace - 11:01:42] Sending notification 'textDocument/didChange'.
Params: {
    "textDocument": {
        "uri": "file:///usr/local/workspace/file.vue",
        "version": 2
    },
    "contentChanges": [
        {
            "range": {
                "start": {
                    "line": 86,
                    "character": 0
                },
                "end": {
                    "line": 86,
                    "character": 0
                }
            },
            "rangeLength": 0,
            "text": "import fs from 'fs';"
        }
    ]
}

[Trace - 11:01:48] Received response 'codeAction/resolve - (25)' in 7ms.
Result: {
    "title": "Delete all unused imports",
    "data": {
        "uri": "file:///usr/local/workspace/file.vue.ts",
        "type": "fixAll",
        "fileName": "/usr/local/workspace/file.vue.ts",
        "fixIds": [
            "unusedIdentifier_deleteImports"
        ]
    },
    "kind": "",
    "diagnostics": [
        {
            "range": {
                "start": {
                    "line": 6,
                    "character": 0
                },
                "end": {
                    "line": 6,
                    "character": 20
                }
            },
            "message": "'fs' is declared but its value is never read.",
            "data": {
                "uri": "file:///usr/local/workspace/file.vue",
                "version": 4,
                "type": "service",
                "serviceOrRuleId": "typescript",
                "isFormat": false,
                "original": {},
                "ruleFixIndex": 0,
                "documentUri": "file:///usr/local/workspace/file.vue.ts"
            },
            "code": 6133,
            "severity": 4,
            "tags": [
                1
            ],
            "source": "ts"
        }
    ],
    "edit": {
        "documentChanges": [
            {
                "textDocument": {
                    "uri": "file:///usr/local/workspace/file.vue",
                    "version": 4
                },
                "edits": [
                    {
                        "newText": "",
                        "range": {
                            "start": {
                                "line": 86,
                                "character": 0
                            },
                            "end": {
                                "line": 87,
                                "character": 0
                            }
                        }
                    }
                ]
            }
        ]
    }
}

As can be seen here, Volar specified version 4 in the code action while the document is at version 2 right now.
It appears that VSCode doesn't really care about version and still applies the edit but in case of Sublime Text the edit is ignored.

Shall we report it to volar.js?

Yep. Created https://github.com/volarjs/services/issues/50


fix permissions

What

Permissions were not sync'ed from controllers because paths in the controller-gen command was limited to apis. Controllers have kubebuilder:rbac directives and they were being omitted.
Remove unneeded permissions

Operatorframework does not allow permissions to create CRDs (only allowed for super or meta operators) https://github.com/k8s-operatorhub/community-operators/pull/2762#issuecomment-1549781908

Ok, tried the user guides and work as expected


Make use of MarkLogic aggregation facilities for reductions

Take advantage of the various cts:* apis for reductions in order to take advantage of indexes.
Should we fallback to the current impl if no index is defined? Or just error with information on which indexes the user should define?
SQL's "Group By" the MarkLogic way looks like a good place to start.

Yes – fallback if no index is defined. We shouldn’t ever error if we don’t have to. I’m working on finally weaving warnings through, so we’ll be able to message non-fatal stuff, like lack of indices.

Some effort to identify which types of aggregations we can optimize will be required, straightforward field aggregations should be easiest, I'm not yet sure if aggregations of/over computed values can benefit from the aggregation facilities.


Allow svgs in walkthroughs to be clickable

We previously talked about how it would be great if our SVGs could leverage links to open commands (like opening the extension marketplace) as the extension images in the walkthroughs look clickable:

Thanks for adding this @JacksonKearl! I was trying to update our svgs to start using this via:
<a xlink:href="command:extension.open?%5Bms-python.python%5D">
	<g filter="url(#filter1_d)">
		<rect x="236" y="316" width="48" height="48" rx="4" fill="white"/>
		<rect x="240" y="320" width="40" height="40" fill="url(#pattern1)"/>
	</g>
</a>

The command was provided by @sandy081 but it sounds like the extensionId argument is not being passed when debuggedL:

@JacksonKearl do you know why that would be? Other commands work fine but the ones with arguments don't

@misolori I believe you want "command:extension.open?%22__ms-python.python%22__"

Aha! Thank you! Looks like this command opens the extension in the extension detail view. Do we have a command to open this in the extensions view like:

This works 🥳🎉
https://user-images.githubusercontent.com/35271042/125700621-814c9660-79b6-4673-b8d3-6d89d790607e.mp4


Use variables of Webpack definePlugin or 'NUXT_ENV_ ' in scss ?

I'm using Nuxt 2.0
Is there a way to use variables of Webpack definePlugin or 'NUXT_ENV_ ' in scss ?
such like $color : COLOR
Thanks ...

This question is available on Nuxt community (#c8470)

Your question is available at https://cmty.app/nuxt/nuxt.js/issues/c8470.

suspicious link


V2 3256 remove rectangle

Fixes

Fixes #_____

Proposed Changes/Todos

[ ] Todo 1

Pull Request checklist:

[ ] I've named my PR in the form of "Fixes #issue. Terse description."
[ ] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[ ] My code follows the Terminal.Gui library design guidelines
[ ] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[ ] My changes generate no new warnings
[ ] I have checked my code and corrected any poor grammar or misspellings
[ ] I conducted basic QA to assure all features are working

This was just a sandbox test. Closing.


Remove version: IvanG.Clipnest version 1.3.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/aloneguid/clipnest/releases/download/1.3.0/clipnest-installer-1.3.0.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 881)

Hi @Exorcism0666,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 880.)

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

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

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

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

URL: https://github.com/aloneguid/clipnest/releases/download/1.3.0/clipnest-installer-1.3.0.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 880)


Allow specifying the port (or nic) for Spring Boot Actuator

WebOperationService is currently always bound to Server's all ports. It'd be nice if there's a way to limit/disable WebOperationService for other ports than a specific port/remoteAddr/NIC.
Armeria currently is not capable of binding a service to a specific port only, but we could simply respond with 404 if the request came from a wrong port. Internally this could be implemented as a generic decorator that works for any HttpService.
As a workaround, a user can specify a custom route decorator:
@Bean
public ArmeriaServerConfigurator secureActuator() {
    return builder -> {
		builder.routeDecorator()
               .pathPrefix("/internal")
               .build((delegate, ctx, req) -> {
                   final InetSocketAddress laddr = ctx.localAddress();
                   if (laddr.getPort() != INTERNAL_PORT) {
                       return HttpResponse.of(404);
                   } else {
                       return delegate.serve(ctx, req);
                   }
               });
    };
}

In spring boot actuator, the base path of the provided actuator is /actuator.
In addition, is there a need to include internal/docs, internal/metrics and internal/healthcheck in armeria?

@heowc Yes. It'd be nice to provide this feature as a part of the core, too.


cachelib fails to build

Describe the bug
This is a follow-on of Issue #275.
(build.sh: error: failed to build cachelib)
Environment :
[root@fb-yv3-s1-n1 /]# uname -a
Linux fb-yv3-s1-n1 5.12.0-0_fbk2_3390_g7ecb4ac46d7f https://github.com/facebook/CacheLib/pull/1 SMP Tue Dec 14 10:55:56 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@fb-yv3-s1-n1 /]# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
To Reproduce
Steps to reproduce the behavior:
Commands :
git clone https://github.com/facebook/CacheLib.git
./contrib/build.sh -j
Fails with :
[ 82%] Building CXX object allocator/CMakeFiles/cachelib_allocator.dir/PoolRebalancer.cpp.o
/tmp/ccyAQXIu.s: Assembler messages:
/tmp/ccyAQXIu.s:5: Warning: setting incorrect section attributes for .rodata.thrift.data
/tmp/ccojqa91.s: Assembler messages:
/tmp/ccojqa91.s:5: Warning: setting incorrect section attributes for .rodata.thrift.data
/tmp/ccOLUSsf.s: Assembler messages:
/tmp/ccOLUSsf.s:5: Warning: setting incorrect section attributes for .rodata.thrift.data
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [allocator/CMakeFiles/cachelib_allocator.dir/build.make:397: allocator/CMakeFiles/cachelib_allocator.dir/CacheAllocator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:532: allocator/CMakeFiles/cachelib_allocator.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
build-package.sh: error: make failed
build.sh: error: failed to build cachelib
Then I tried using the link you gave in Issue #275 with this command :
git clone https://github.com/facebook/CacheLib/blob/main/.github/workflows/build-cachelib-centos-8-1.yml
And it failed with :
[root@fb-yv3-s1-n1 /]# git clone https://github.com/facebook/CacheLib/blob/main/.github/workflows/build-cachelib-centos-8-1.yml
Cloning into 'build-cachelib-centos-8-1.yml'...
fatal: repository 'https://github.com/facebook/CacheLib/blob/main/.github/workflows/build-cachelib-centos-8-1.yml/' not found
Expected behavior
successful build

Hi @george-reilly-wdc,
To clarify, build-cachelib-centos-8-1.yml mentioned in #275 is not a repo. It is just a file in CacheLib repo which is basically a script to build CacheLib on docker container of Centos 8.1.
For the build issue, what is the version of the gcc? I think this might be the same known issue on older version of OS including Ubuntu 18; e.g., build.
Hopefully, this will be resolved by reinstalling/updating tool chain following build-cachelib-centos-8-1.yml?

Hi Jaesoo-fb,
[root@fb-yv3-s1-n3 ~]# gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)

Hi @george-reilly-wdc
Are you still experiencing this issue? I had a chance to repro this and confirmed that the build works with gcc-11 at least. Something like below worked for me.
$ dnf install -y gcc-toolset-11-gcc gcc-toolset-11-gcc-c++
$ update-alternatives --install /usr/bin/gcc gcc /opt/rh/gcc-toolset-11/root/usr/bin/gcc 110 --slave /usr/bin/g++ g++ /opt/rh/gcc-toolset-11/root/usr/bin/g++ --slave /usr/bin/gcov gcov /opt/rh/gcc-toolset-11/root/usr/bin/gcov --slave /usr/bin/gcc-ar gcc-ar /opt/rh/gcc-toolset-11/root/usr/bin/gcc-ar --slave /usr/bin/gcc-ranlib gcc-ranlib /opt/rh/gcc-toolset-11/root/usr/bin/gcc-ranlib  --slave /usr/bin/cpp cpp /opt/rh/gcc-toolset-11/root/usr/bin/cpp

I think you might first need to uninstall gcc if you already installed.


AutoParams default setting to something manageable

Right now AutoParams will by default process an impossibly large parameter space. Better make it something that will run on a machine with 8gb of ram in the init phase without problems.

This is now handled and default value for params per label is 4.


No. of Users rating a page

Number of Users Rated this Page Feature
With the details of the Overall page rating, it would be great if we could mention the number of users who rated the same page.
Describe the solution you'd like
Specifically, what I have in mind is to show a number below/beside the overall page rating which tells about the total number of people who have rated a webpage.
Additional context
The rating system looks trustworthy when we can see how many people gave the ratings.

could you plz assigned it to me

Hi, I'd like to work on this. Please assign me.

Let us know about your approach. Keep sharing the updates or doubts if you may have any. Go ahead @swetha3456


ReferenceError: Can't find variable: createMaterialTopTabNavigator....

Description
ReferenceError: Can't find variable: createMaterialTopTabNavigator
ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Version
"expo": "~47.0.8",     "react": "18.1.0",     "react-native": "0.70.5"
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19044
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 638.82 MB / 3.89 GB
Binaries:
Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\node_modules\yarn\bin\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29, 30, 31
Build Tools: 23.0.1, 25.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2, 31.0.0
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 11.0.8-internal - C:\Program Files\OpenJDK\jdk-<IP_ADDRESS>-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
...
Snack, code example, screenshot, or link to a repository
...

Hi,
Thanks for reporting this issue.
It seems like this issue is actually unrelated to React Native core but it's related to React Navigation: https://reactnavigation.org/docs/material-top-tab-navigator/
I'll be closing this but feel free to reopen if the other repo points back to us as a issue in the core of React Native.


csi plugins receiving invalid/incorrect authority header

Environmental Info:
K3s Version: present in all known versions

Node(s) CPU architecture, OS, and Version: NA

Cluster Configuration: NA

Describe the bug:

grpc-go in certain circumstances sends the path to the uds as the host/authority header. This is seemingly non-compliant and many http2 servers outright reject the request.
I've created a project here to circumvent the issue: https://github.com/democratic-csi/csi-grpc-proxy
Further discussion here: https://github.com/democratic-csi/democratic-csi/issues/164
Steps To Reproduce:

Installed K3s:

helm repo add democratic-csi https://democratic-csi.github.io/charts/
helm repo update

helm upgrade --install \
--create-namespace \
--namespace democratic-csi \
--version 0.11.1 \
-f local-hostpath.yaml \
local-hostpath democratic-csi/democratic-csi

## local-hostpath.yaml
# driver only works with 1.16+
csiDriver:
  # should be globally unique for a given cluster
  name: "org.democratic-csi.local-hostpath"
  storageCapacity: true
  fsGroupPolicy: File

storageClasses:
- name: local-hostpath
  defaultClass: false
  reclaimPolicy: Delete
  volumeBindingMode: WaitForFirstConsumer
  # distributed support is not yet ready
  allowVolumeExpansion: false
  parameters:

  mountOptions: []
  secrets:
    provisioner-secret:
    controller-publish-secret:
    node-stage-secret:
    node-publish-secret:
    controller-expand-secret:

# if your cluster supports snapshots you may enable below
volumeSnapshotClasses: []
#- name: nfs-client
#  secrets:
#    snapshotter-secret:

controller:
  enabled: true
  strategy: node

  externalProvisioner:
    extraArgs:
    - --leader-election=false
    - --node-deployment=true
    - --node-deployment-immediate-binding=false
    - --feature-gates=Topology=true
    - --strict-topology=true
    - --enable-capacity=true
    - --capacity-ownerref-level=1

  # distributed support is not yet ready
  externalResizer:
    enabled: false

  externalSnapshotter:
    enabled: true
    extraArgs:
    - --leader-election=false
    - --node-deployment=true

node:
  driver:
    #image: democraticcsi/democratic-csi:latest
    #image: democraticcsi/democratic-csi:next
    image: democraticcsi/democratic-csi:v1.6.1
    imagePullPolicy: Always
    logLevel: debug

    extraVolumeMounts:
    - name: local-storage
      mountPath: /var/lib/csi-local-hostpath
      mountPropagation: Bidirectional

  extraVolumes:
  - name: local-storage
    hostPath:
      path: /var/lib/csi-local-hostpath
      type: DirectoryOrCreate

driver:
  config:
    #driver:
    # rest of per-driver config data/syntax
    driver: local-hostpath
    instance_id:
    local-hostpath:
      # generally shareBasePath and controllerBasePath should be the same for this
      # driver, this path should be mounted into the csi-driver container
      shareBasePath:      "/var/lib/csi-local-hostpath"
      controllerBasePath: "/var/lib/csi-local-hostpath"
      dirPermissionsMode: "0777"
      dirPermissionsUser: root
      dirPermissionsGroup: root

# change to true to deploy the workaround
csiProxy:
  enabled: false

Expected behavior:

Driver comes up healthy and is properly registered with kubelet etc.
Actual behavior:

kubelet fails to register the driver. Error looks something like this:
I0321 14:55:30.133080       1 main.go:120] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR,}
E0321 14:55:30.133106       1 main.go:122] Registration process failed with error: RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: PROTOCOL_ERROR, restarting registration container.

Additional context / logs:

Backporting

[X] Needs backporting to older releases

I'm confused, is this a K3s specific issue, or did you report it here because that's where you reproduced it? This seems like something that should have an issue reported to the grpc, kubernetes, or democratic-csi projects.

@brandond the problem was supposedly resolved in grpc-go version ~1.31. I'm unclear why the behavior is still exhibited even when the client is newer. The fix will indeed be something like this: https://github.com/hashicorp/nomad/pull/12359

Yeah, HTTP over Unix sockets is weird for sure. With the unix:// URI scheme there isn't a host (authority) portion of the URL, so it's unclear what it should be set to, and it seems like not all libraries agree on that or handle it properly.

From what I've seen the common consensus seems to be setting the value to localhost for uds connections. I don't know if that is technically right/wrong but seems to be what several of the clients do.


Synchronize README.md and doc.go

As I was submitting PRs for some README.md enhancements, I noticed that doc.go has drifted in numerous spots. I'm more than happy to update doc.go, so it matches README.md more closely. This would give me an opportunity to learn about godoc as I'm new to Go.
Ideally, it would be great if one could be derived from the other, but I'm not familiar with the documentation tools available in Go-land yet. Is there a best practice with this regards?

Ideally, it would be great if one could be derived from the other, but I'm not familiar with the documentation tools available in Go-land yet. Is there a best practice with this regards?

I have no idea to be honest. I haven't look into this.
I agree It would be better thank having to manually keep the 2 (godoc and readme) in sync by hand.

I'm working on this now and will have something to show by end of the weekend.

Submitted #72 to address this issue.


Enable Ibutsu reportig on pr_checks

Description
Enable Ibutsu reports for pr_check
Type of change

New feature (non-breaking change which adds functionality)

Codecov Report
Base: 64.72% // Head: 64.72% // No change to project coverage :thumbsup:

Coverage data is based on head (5ad390f) compared to base (421bb74).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #302   +/-   ##
=======================================
  Coverage   64.72%   64.72%
=======================================
  Files          11       11
  Lines        1066     1066
=======================================
  Hits          690      690
  Misses        355      355
  Partials       21       21

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

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


Add Maxemail marketing software

Detect different scripts used to send data to Maxemail.
Example sites:

https://www.cartridgepeople.com/
https://www.cartridgeshop.co.uk/
https://www.printerbasics.com/
https://www.pearsonschoolsandfecolleges.co.uk/
https://www.scribbler.com/
https://www.skyparksecure.com/
https://uk.lizearle.com/category/Skincare
https://www.danddlondon.com/

Thanks!