New dell-csi-operator [community-operators]

Signed-off-by: Kumar Prashant<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[x] Does your operator have nested directory structure?
[x] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

I don't seem to have permissions to select the Project Community Operator Submissions for this PR
Can someone with permissions please do so?

/test CVP

@mvalahtv I don't see any output in the failed linting check. Is the failed metadata lint check because of this failure reported by ci-robot -
No presubmit jobs available for operator-framework/community-operators@master

/retest

@mvalahtv Is there any change required on my front to get these tests/checks to pass?

/test CVP

@kumarrprashant2005 I am retesting it now. It was empty log. So probably problem on our side. I have my eyes on it. :)

@mvalahtv I still see the same failure. Is there any way I can help in resolving any of these issues? Any way to speed up the process?

@mvalahtv Can we get some eyes on this failure? We are stuck with the same failure for more than a week now. If there is something which has to be fixed on my end, please let me know. Any way to speed things up?

/test CVP

@kumarrprashant2005 sorry for delay. Running tests again

Can you have a look to this error?
Error: Value volumesnapshotclasses.snapshot.storage.k8s.io: owned CRD \"volumesnapshotclasses.snapshot.storage.k8s.io\" is present in bundle \"dell-csi-operator.v1.0.0\" but not defined in CSV"

Also:
E0708 22:42:24.601143       1 queueinformer_operator.go:290] sync {"update" "test-operator/install-sh4g2"} failed: error updating CRD: volumesnapshotclasses.snapshot.storage.k8s.io: CustomResourceDefinition.apiextensions.k8s.io "volumesnapshotclasses.snapshot.storage.k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1beta1": must appear in spec.versions

Also:
E0708 22:42:24.601143       1 queueinformer_operator.go:290] sync {"update" "test-operator/install-sh4g2"} failed: error updating CRD: volumesnapshotclasses.snapshot.storage.k8s.io: CustomResourceDefinition.apiextensions.k8s.io "volumesnapshotclasses.snapshot.storage.k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1beta1": must appear in spec.versions

Sure! Will look into this and update the PR

Can you have a look to this error?
Error: Value volumesnapshotclasses.snapshot.storage.k8s.io: owned CRD \"volumesnapshotclasses.snapshot.storage.k8s.io\" is present in bundle \"dell-csi-operator.v1.0.0\" but not defined in CSV"

A quick question here - This particular CRD is not one of the CRDs created by the Operator. But we require this to be installed in the cluster. A previous version of this operator (csi-operator - it was removed recently [#1919]  because of the rename), followed the same approach by adding the CRD in the bundle. There were no errors reported for the older operator earlier by any checks.
I would expect the operator-sdk to add any CRD present in the bundle to the CSV. But it appears that it didnt work for this particular CRD.
Should I add this CRD manually under the list of owned CRDs? Or my only option is to remove it from the bundle altogether?

@mvalahtv @J0zi Can you merge this as all the checks have passed now?

@mvalahtv @J0zi Can this be merged today as all the checks already passed last Friday?


how would I login to the server?

I tried to login into the digitalocean through ssh root@ip, but showing Permission denied (publickey).
I have the publickey shared in both two places.
Any ideas ?

Give this a shot:
ssh -i <digital-ocean-ssh-key> core@<vpn-droplet-ip>

where do i find the ssh key if i used the web gui?


Add notice of relocation of the repo

utACK

ACK b46508b06d222dddb2f214ee755f3620fe84b924
I checked the rendered version and the links are good.

published release, the notice is visible also on crates https://crates.io/crates/bitcoind


Dismembering match component

:tada: This PR is included in version 2.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keymap: Accept on  not working

Hello!
Was testing out the plugin, with next config:
return {
  "saghen/blink.cmp",
  lazy = false, -- lazy loading handled internally
  -- optional: provides snippets for the snippet source
  dependencies = "rafamadriz/friendly-snippets",

  -- use a release tag to download pre-built binaries
  version = "v0.*",
  -- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
  -- build = 'cargo build --release',

  opts = {
    highlight = {
      -- sets the fallback highlight groups to nvim-cmp's highlight groups
      -- useful for when your theme doesn't support blink.cmp
      -- will be removed in a future release, assuming themes add support
      use_nvim_cmp_as_default = true,
    },
    -- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
    -- adjusts spacing to ensure icons are aligned
    nerd_font_variant = "normal",
    keymap = {
      accept = "<cr>",
    },

    -- experimental auto-brackets support
    -- accept = { auto_brackets = { enabled = true } }

    -- experimental signature help support
    -- trigger = { signature_help = { enabled = true } }
  },
}

the accept for completion is not triggered on .
When I update accept = <c-y>, then it is working, but still on enter is not.
Thanks!

Duplicate of #20


I think the use of std::string as a container for data is wrong

Everywhere in the library a std::string is used to store data as some kind of buffer, e.g service data, remote characteristic values, manufacturer data, etc. I believe that this data is binary, and so may include bytes of 0x00. But if a std::string is created with a zero somewhere in the middle, it is truncated at this zero as demonstrated by below sketch:
#include <string>

void setup() {
  Serial.begin(115200);
  Serial.println("\n\nStarted");

  std::string demonstrate("\x35\x34\x33\x32\x31\x00\x31\x32\x33\x34\x35");
  Serial.printf("The length of the string is %u, it's size is %u and it's value is '%s'\n", demonstrate.length(), demonstrate.size(), demonstrate.c_str());
}

void loop() {
  // put your main code here, to run repeatedly:

}

The output of this small program is:
Started
The length of the string is 5, it's size is 5 and it's value is '54321'

It is fully logical that length() == 5. If size() would be 11, then the underlying data could be fully retrieved. But since this is also 5, the zero byte and the 5 bytes following the zero will be truncated, if such data was sent by a device.
I think there are two options:

Use a uint8_t buffer[] everywhere. Also return a (const) uint8_t * pointer for e.g. the readValue() functions. Pro: easy, con: memory mgt is needed
Use a vector<uint8_t> everywhere. Also return a (const)  vector<uint8_t> & for e.g. readValue(). Pro: no memory mgt is needed, the getSize() functions can be removed because the vector::size() can be used. Con: a STL container is used instead of a plain array.
Both options will break @h2zero's strategy to remain compatible with the original BLE library. But if I am right I think this is needed!

While std:string isn't ideal for this, it is easy to use. If you wanted to send that data that way you could just specify the length, the only thing that wouldn't work is the c_str(), but if you're working with binary data you probably won't be printing it as a string.

you could just specify the length

I wasn't aware of that feature of std::string, but I checked it and you are right. Luckily! I'll change PR #44.


Apoorva2

I apologise for the minor error in my previous commit in the euclidean algorithm. I have now fixed and added the extended euclidean algorithm as well.

Hi @apoorva-mk. Please see my comments under #230.


Creation of a Select Element

This creates a Select element based off from the SeleniumHQ Java code. This is in response to  #141

Any updates on this? :)


Deployment

#DEPLOYMENT
##User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
#Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

Deployment completed through GitHub Pages


Display art after hover delay

Not sure if this is interesting to you or not, but it would be cool if you could have a setting where the art would only appear after X seconds instead of immediately. Double bonus points if it were configurable separately by individual clients and not a global setting set by the Gamemaster.
Regardless, super awesome plugin - thanks for putting it out here! I love it!

I'm not going to pretend like I know what I'm doing, since I've never created a module myself, but two seconds after creating this issue I came across this other 46 line module that sets up something with settings which are configurable per player, so maybe it could be a good reference for implementing something like my suggestion?
https://github.com/mrkwnzl/disable-mouse-wheel-sliders-foundryvtt

+1 to this good suggestion, if you find yourself mucking with this module again this would be a great enhancement.

Hi all,
This is a new feature in v2.0.1 of Image hover, you will need to update to v9 Foundry though for compatibility.


add flow-types

add flow types to package

good idea. it's important to be strict about types. would you like to do a pr?

add flow types to package

good idea. it's important to be strict about types. would you like to do a pr?

it's important to be strict about types. I just submitted a pr.


MegaDetectorV6 release

Search before asking

[X] I have searched the Pytorch-Wildlife issues and found no similar bug report.

Question
Hello, do you have an approximate release date for MegaDetectorV6?
Additional
No response

Hello @Gasp34, thank you very much for asking! Currently, we are still tuning MegaDetectorV6 ensuring its performance and compatibility. Our current plan for the initial release is some time in the next two to three weeks, mid-May at latest. If we end up being later than mid-May, we will make an announcement for it. Please keep an eye on our repo or join our Discord for update news! Thank you again!

Thank you very much for your reply @zhmiao! I'm really looking forward to testing MegaDetector with a lighter model size :)

Hello @Gasp34, we are very sorry for the delay, but we have some news for MegaDetectorV6 and announced it in our readme. We are starting a beta testing for the model and if you are interested in participating, please let us know! Thanks!

Hello @zhmiao, no worries about the delay, I would be glad to help with beta testing! I do not have access to bounding boxes but what I usually do is that I evaluate the pipeline detector+classifier and see if there is an improvement with the new detector.

Hello @Gasp34 , we have finalized the code for MegaDetectorV6 beta testing. To access the code, you will need to switch to the "MDv6_beta" branch. You can either "pip install -e ." to install the beta package from the source code or directly use the source code. Please dm me or find me on discord for MegaDetectorV6 weights.
Currently we do not have direct url loading for limited access. To test the model, you can use the demo script in this branch "demo/image_demo.py" and change the path to your downloaded weights in this line: https://github.com/microsoft/CameraTraps/blob/4392cae5088cc98bbd40b2209bcdda1f6f7be01b/demo/image_demo.py#L24
You will see that now, the use of MegaDetector is further simplified. You only need to give the detection function a path to your image or data folders, rather than define datasets and dataloaders.
Please feel free to test the model however you want. The current code is not fully optimized for large datasets, so we are particularly interested in how the current code works on large datasets and the speed. Also, because the beta weights are from yolov9-compact, so you will also find the detection confidence is lower than MegaDetectorV5, which can be a good thing as it is kinda more calibrated. And the model size is only 1/6 of the V5 model. From our other testers, the speed of V6 is also at least 4 times faster.
Happy testing and let me know if you have any questions!

Hi, Thanks for the code and model weights.
I try to use MegadetectorV6 and I have a problem
 LooseVersion = distutils.version.LooseVersion
AttributeError: module 'distutils' has no attribute 'version'
How can I fix it?

Closing this issue as we have just released MegaDetectorV6. Thanks for being patient!


Fiat price for dispensers

like in the API v1

done here https://github.com/CounterpartyXCP/counterparty-core/pull/2086


Sqlite store and cache

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

144 of 308 (46.75%)  changed or added relevant lines in 13 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.3%) to 47.633%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/core/options.rs
0
1
0.0%

src/error.rs
3
4
75.0%

src/server/model/query.rs
0
1
0.0%

src/core/models.rs
0
2
0.0%

src/server/model/mutation.rs
0
2
0.0%

src/exporter/beancount.rs
0
3
0.0%

src/importer/wechat.rs
0
3
0.0%

src/main.rs
0
3
0.0%

src/server/mod.rs
0
6
0.0%

src/cli.rs
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/server/mod.rs
1
0%

src/cli.rs
1
0%

src/core/ledger.rs
2
64.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
1107

Relevant Lines:
2324

💛  - Coveralls


[Doc Issue][Update what's new]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/whats-new.md
87
45
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit f2c0a35:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


feat: add thread-safe strtok implementation

This commit adds the support for a custom strtok implementation,
which is reentrant. On some systems strtok_r is available, however
since this is an extension it's difficult to control if it
will be available on every supported system.
Closes #3525

CI: https://ci.nodejs.org/job/libuv-test-commit/2239/

I'm guessing it's a flake. https://ci.nodejs.org/job/libuv-test-commit/2240/ passed.

Hello @vtjnash, I've fixed all the problems that you pointed out.
I'm sorry for my lack os attention towards the libuv style.
Please, let me know if this version is good enough.
Thank you very much.


chore(master): release 1.0.3

:robot: I have created a release beep boop
1.0.3 (2024-02-02)
Bug Fixes

filter broken on windows (#26) (116f6c3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/abemedia/esbuild-plugin-react-virtualized/releases/tag/v1.0.3 :sunflower:


Documentation

Hi,
Is there any documentation on how to use this? For instance can this be used to generate deterministic keys for Bitcoin and Ethereum? I had a look at cashuwallet to see if I could separate it from android and use it as an offline wallet but the lack of documentation makes this tricky.
Thanks,
Niall

Hi Niall, thanks for your interest!
Unfortunately there is no documentation at the moment. But I could try to help you.
Here is a full working example of how to perform HD key derivation using crypto-java:
import com.raugfer.crypto.hdwallet;
import com.raugfer.crypto.mnemonic;
import com.raugfer.crypto.wallet;

import java.math.BigInteger;

public class main {

    public static void main(String[] args) {
        String phrase = "primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary fetch primary foster";
        String password = "12345";

        String coin = "bitcoin";
        boolean testnet = false;
        int purpose = 44;
        int account = 0;
        int address_index = 0;
        boolean change = false;
        boolean compressed = true;

        String path = hdwallet.path(address_index, change, account, purpose, coin, testnet);
        String account_path = hdwallet.path(-1, false, account, purpose, coin, testnet);
        String privatekey_subpath = "k/" + (change ? 1 : 0) + "/" + address_index;
        String publickey_subpath = "K/" + (change ? 1 : 0) + "/" + address_index;

        BigInteger seed = mnemonic.seed(phrase, password);
        String xprivatekeymaster = hdwallet.xprivatekey_master(seed, coin, testnet);

        String xprivatekeyaccount = hdwallet.xprivatekey_from_xprivatekey(xprivatekeymaster, account_path, coin, testnet);
        String xpublickeyaccount = hdwallet.xpublickey_from_xprivatekey(xprivatekeyaccount, coin, testnet);

        String xprivatekey = hdwallet.xprivatekey_from_xprivatekey(xprivatekeyaccount, privatekey_subpath, coin, testnet);
        String privatekey = hdwallet.privatekey_from_xprivatekey(xprivatekey, compressed, coin, testnet);

        String xpublickey = hdwallet.xpublickey_from_xpublickey(xpublickeyaccount, publickey_subpath, coin, testnet);
        String publickey = hdwallet.publickey_from_xpublickey(xpublickey, compressed, coin, testnet);
        String address = wallet.address_from_publickey(publickey, coin, testnet);

        System.out.println("coin               = " + coin);
        System.out.println("testnet            = " + testnet);

        System.out.println("path               = " + path);
        System.out.println("account_path       = " + account_path);
        System.out.println("privatekey_subpath = " + privatekey_subpath);
        System.out.println("publickey_subpath  = " + publickey_subpath);

        System.out.println("xprivatekeymaster  = " + xprivatekeymaster);
        System.out.println("xpublickeyaccount  = " + xpublickeyaccount);

        System.out.println("xprivatekeyaccount = " + xprivatekeyaccount);
        System.out.println("xprivatekey        = " + xprivatekey);
        System.out.println("privatekey         = " + privatekey);

        System.out.println("xpublickey         = " + xpublickey);
        System.out.println("publickey          = " + publickey);
        System.out.println("address            = " + address);
    }

}

It should print the following:
coin               = bitcoin
testnet            = false
path               = m/44'/0'/0'/0/0
account_path       = m/44'/0'/0'
privatekey_subpath = k/0/0
publickey_subpath  = K/0/0
xprivatekeymaster  = xprv9s21ZrQH143K2WgfRbRp6ZnZoCX7MaruzjjsGathevJrrDXBebZe5fZnmwztNK1eNcpptMiRgNWayr2UTNVUFVHvUL2pKwQzeRZunp4aws4
xpublickeyaccount  = xpub6C6ucWZMxB8FicQ3Q75Gy7BKuzpTjC5eby8ELQqBLsrnaYvbHcTLhRxjVs2T6CoY9KLuCHkEsFEYm8w77oZRpuC6313W6QGn83Z3Y6gRmoM
xprivatekeyaccount = xprv9y7ZD12U7oZxW8KaJ5YGbyEbMxyyKjMoEkCdY2RZnYKohkbSk5969deFeaFJRhmzUM563drpi8iSkrPyAyALtvpN21tUJWNEQ9Th4VfsRgZ
xprivatekey        = xprvA4EhUVUFCrtUMGf3HsSKM2yZRp7jMb6gpGn1v22QCitSqDRatoUWuYpnSenwquogAPaVJ7nBtEiSpSegLyprAbERVvUHHBMJQSo85aFWA1f
privatekey         = L1hhcFeqY1rZYp9irtZiZxPzUtmEciNkCGVwft2cAdkxJaztvGCu
xpublickey         = xpub6HE3t1193ESmZkjWPtyKiAvHyqxDm3pYBVhciQS1m4RRi1kjSLnmTM9GHwY1xoW15yza3TGPDE5U3qoDk3GHZU8Eo6vFSzEpVZNTDkpqsLs
publickey          = 03673b7cade32841a95ae103cc4571768ce6f61b6392034c83f64563f6c0198e2d
address            = 1PAVYiiDJ8UGNEibppg34fryVjK5wrfGdw

You can verify it using this tool: https://iancoleman.io/bip39/

Hi,
Thanks for the reply, I am going to have a play around with this and see how it works for me. I like the implementation, it can be difficult to find a straight forward library for this kind of thing.
Cheers,
Niall

Cool. Let me know if you run into issues or have suggestions. I have to get around my time limitations to improve this work, which unfortunately has been difficult.


Error: waiting failed: timeout 0ms exceeded

hi,
The error is given by the following code:
await frame.waitForSelector('.selector', {timeout:0});
But the documentation mention that it's possible to do it:

timeout  maximum time to wait for in milliseconds. Defaults to 30000 (30 seconds). Pass 0 to disable timeout.

(node:39582) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: waiting failed: timeout 0ms exceeded
(node:39582) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

This was added in abb05e0 and hasn't been released yet; it will be part of a new version 1.3.0. We'll release it on April, 12.

How can I do this in the meanwhile?
I'm uploading huge files, and it's usual to wait more then 10 minutes before the promise is 'returned'.
Should I just use a big number?

@Swiffers yes, any huge number would work. Note though: too big numbers, e.g. Number.MAX_VALUE or Infinity won't do, so I'd pass in something sane, e.g. 1000 * 60 * 60 * 24 (1 day).

@aslushnikov Sure, thanks


✨ POC - Export data from Log Analytics to Azure Blob Storage for dev env

Cc: @jimmidier @divgul @matt-goldman @piers-sinclair @adamcogan @william-liebenberg

Prerequisite:

#668

Pain

Investigate how easy to Export data from Log Analytics to Azure Blob Storage. If it's easy, we will directly build Power BI reports from Azure Blob Storage (We were planing to build reports from App Insights)
Tasks
### Tasks
- [x] Request access to Log Analytic workspace
- [x] Implement
- [x] Investigate what fields are queried in Workbooks reports

Acceptance Criteria

[x] Meets Definition of Done
[x] Can see the custom matrix in Azure Blob Storage
[x] Know what fields to query in Power BI reports

More Information

Doc: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-data-export?tabs=portal
Thanks!

✅ Done - Exported Dev App Insights to the Azure Blob Storage. Data is stored in am-appevents.
Also did some investigation on current Workbooks reports. This can give us some reference on which fields to query for building Power BI reports.

Usage by Query
Usage by User

The data source comes from customEvents with name equals LuisResult.
The detailed fields are listed below (The fields in brackets are corresponding fields in Blob Storage):

timestamp (TimeGenerated)
name (Name)
customDimensions.intent (Properties.intent)
user_AccountId (UserAccountId)

Note: SSWSophieBotDev App Insights is moved to log-sswsophiebot workspace.


Add Frozen Flame

Adds Frozen Flame dedicated server
The documentation on the settings is a bit ... sparse, so some of the descriptions might need improvement. Not clear either whether the last setting is actually a number or a boolean.

Strange that they use False/True in other areas, but knowing the game I believe it would be a boolean.
Here is also an example of how it's used on G-Portal.

Makes sense. I will get it updated. Any other feedback welcome too. AMP server logs for user joins, leaves and chats would be helpful to complete the regex

I don't own the game to test if the server is saving properly on close. But I noticed two things about it.

On Linux it gives the following error after a lot of lines about exiting: Exiting abnormally (error code: 130)
On Windows it gives no feedback when stopping.

Do you know if that works properly?

I can confirm that it works properly, and the game is playable. It does (appear to) save and pick up where the character left off when leaving/joining or restarting the server.

Perfect. Just what I expected but wanted to verify. It's not the first game server to behave that way unfortunately.


[GSSOC'23] Item Lister

Describe the project you want to add with tech stack
The projects aims to create, search and delete items.
The tech stack being used is HTML, CSS, Javascript
Expected behavior
The user can create task, also search the task which has been created, and lastly once the task is completed, the user can delete the task
Screenshots (optional)

Additional context (optional )
I am a GSSOC'23 contributer, so kindly assign me this issue

please assign me this issue


Enable rootless docker run for openlane

Hi Team,
To run docker, you need to have root access on the machine that you are running on.
We have updated the make file to let it work in case you are using rootless docker setup.

Sorry, can you please rebase?

Stale, locked.


Dashboard not showing data

Environment

OS: Ubuntu 16.04.3 LTS
Erlang/OTP: emqttd-ubuntu16.04-v2.3-beta.4_amd64.deb
EMQ: emqttd-ubuntu16.04-v2.3-beta.4_amd64.deb

Description
I've deployed a 3 node cluster of emqttd using the new beta.4. No data is being shown in the dashboard.

Cluster status shows all three nodes.
# emqttd_ctl cluster status
Cluster status: [{running_nodes,['emq<EMAIL_ADDRESS><EMAIL_ADDRESS>
Contents of error.log
2017-09-19 17:46:53.561 [error] <0.1351.0>@emqttd:shutdown:175 EMQ shutdown for join
2017-09-19 17:46:53.561 [error] <0.1351.0>@emqttd_plugins:stop_app:201 Plugin emq_recon is not started
2017-09-19 17:46:53.561 [error] <0.1351.0>@emqttd_plugins:stop_app:201 Plugin emq_modules is not started
2017-09-19 17:46:53.561 [error] <0.1351.0>@emqttd_plugins:stop_app:201 Plugin emq_retainer is not started
2017-09-19 17:46:53.561 [error] <0.1351.0>@emqttd_plugins:stop_app:201 Plugin emq_dashboard is not started
2017-09-19 18:12:30.090 [error] emulator Error in process <0.1809.0> on node<EMAIL_ADDRESS>with exit value:
{{badmatch,["staging.mqtt.mydomain.com"]},[{emqttd_http,handle_request,2,[{file,"src/emqttd_http.erl"},{line,58}]},{mochiweb_http,headers,5,[{file,"src/mochiweb_http.erl"},{line,75}]}]}
2017-09-19 18:12:30.091 [error] <0.1609.0> Supervisor 'esockd_connection_sup - <0.1609.0>' had child connection started with mochiweb_http:start_link({emq_dashboard,handle_request,[{state,"/usr/lib/emqttd/lib/emq_dashboard-2.3/priv/www",#Fun<emq_das..>}]}) at <0.1809.0> exit with reason no match of right hand value ["staging.mqtt.mydomain.com"] in emqttd_http:handle_request/2 line 58 in context connection_crashed

@Linuturk The issue has been fixed in 2.3-rc.1 release.


[cmake] Use custom command for copying files

The CMake file(COPY will only copy files during the initial
configuration, so changes in the headers of CF will not be propagated to
the build directory and will make for confussing compilation errors.
Using custom commands should keep the dependencies between files
correctly updated and Ninja should copy the modified headers during each
build if necessary.
@compnerd: There might be something about file(COPY that I was misunderstanding, but I found that the headers weren't updated with my changes, and I needed to do this change for #2397 to work.

@swift-ci please test Linux platform


How to transplant netopeer2 to ARM?I have finished the cross complie of netopeer2.

I am a novice.Can you show the detailed steps?For example, how to package the directory structure。Thank you so much.

Use a tool such as buildroot, or Yocto. Don't try to reinvent the wheel.

Use a tool such as buildroot, or Yocto. Don't try to reinvent the wheel. Also, please do not ask for detailed steps in unrelated issue reports.

Hi,jktjkt
Thank you for your help.Thank you so much.


Fix/secrets rc

Hey!
I've created some integration test infra for helm-secrets testing as a prerequisite to fix secrets ordering in helmfile. Secrets ordering is broken since #790

Moved integration provisioning to Makefile to reuse some code
Added Vagrantfile to be able to run integration tests locally in similar environment
Made some fixes to make integration tests reusable
Added some simple secrets handling tests
Fixed issue when helmfile ignored secrets decrypting errors

Note: this includes #1721

Resolved conflict with #1721


mmcore install specific release

Hello everybody,
I'm having problems using the --release input for mmcore install:

Not sure what the release should look like and the error message seems to be truncated.

I also think this doesn't really work. There is no "_win" in the folder name for me. Setting environment variable works however, so not urgent.
https://github.com/pymmcore-plus/pymmcore-plus/blob/78585577b50d12d30c9ae33c53e4fe447df651e6/src/pymmcore_plus/_util.py#L107C1-L116C58
    # then look for an installation in this folder (from `pymmcore_plus.install`)
    sfx = "_win" if os.name == "nt" else "_mac"
    local_install = [
        p for p in PYMMCORE_PLUS_PATH.glob(f"**/Micro-Manager*{sfx}") if p.is_dir()
    ]
    if local_install:
        if return_first:
            logger.debug("using MM path from local install: %s", local_install[0])
            return str(local_install[0])
        full_list.extend([str(x) for x in local_install])

That second if clause is more or less obsolete at this point (it used to install directly into the pymmcore plus folder, and made a _win folder at that time.  Now it installs into proper user space.  Sorry about the useless error message, will check later today and get back to you.  You should also be able to manually download and install it into the user folder, and if you use mmcore list (and if you have at least one other install) it will show you that folder.  I also think it’s in the readme or docs somewhere.

ok, the error above is a windows specific issue with the available_versions parsing here:
https://github.com/pymmcore-plus/pymmcore-plus/blob/78585577b50d12d30c9ae33c53e4fe447df651e6/src/pymmcore_plus/install.py#L153
will try to post a fix later today

fixed by #301 ... but one note @wl-stepp, if you have multiple versions installed, there still isn't a good way to tell mmcore plus which one to select (short of using the environment variable).  We need to save a current selection somewhere, and add something like a mmcore use command to select


update to 1.21.0

Jira: https://anaconda.atlassian.net/browse/DSNC-4930
Repo: https://github.com/pygobject/pycairo/
https://github.com/pygobject/pycairo/blob/v1.21.0/meson.build
https://github.com/pygobject/pycairo/blob/v1.21.0/meson_options.txt
Changes:

Update version to 1.21.0
Update meta data
Change build to meson
Fix windows install due to our old meson verison
Add pkgconfig tests.

TODO: remove conda_build_config.yaml before merging.

Now linux-ppc64le stopped building on prefect while it still builds on concourse. From the logs, something is pulling libxcb implicitly. libxcb is used instead of the cdt version. However libxcb pc file points to xau and the build cannot find the xau .pc file.


Update MD file on new branch 2017-39-17_05-12-40

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


db CopyFrom/CopyTo Support similar to go pg

I see go pg has support for CopyFrom CopyTo commands. Any plans to add support for this in IDB interface?

This should be added to pgdriver package. IDB is a common interface for SQLite, Postgres, and MySQL and thus can't have it.

+1 I wish we get this at some point!

+1 We really need this

Should be available in v1.0.18 - see https://bun.uptrace.dev/postgres/copy-data.html


Use npm update

IMHO, using update over install has some advantages:

Installs packages as it did before
Updates packages the next time

👍


SSH with Authorized keys support

It seems that connecting using authorized keys is currently not supported.

Hasn’t been updated for latest OS
Sent from my iPhone

On Dec 14, 2019, at 3:11 PM, dzid26<EMAIL_ADDRESS>wrote:

It seems that connecting using authorized keys is currently not supported.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Use highest matching minor version from go.mod

The go directive in go.mod files is of the format major.minor. This
commit will allow the highest installed version of go with the same
major component to be selected. The previous behaviour was to use the
highest installed version with the same major and minor components,
but I don't think this was strictly necessary. It is valid to use go
1.16 to build a project whose go.mod declares "go 1.14", for example.
For packages within the module, the compiler should reject use of
language features introduced after the version specified by the go
directive.
I think this adheres more closely to the expected behaviour of programs
that parse go.mod, and asdf users who need to pin a particular minor
or patch version of go can use .tool-versions or .go-version.
Source: https://golang.org/ref/mod#go-mod-file-go

@kennyp what do you think of this?

@craigfurman Thanks! I think it totally makes sense and aligns with the meaning as intended in the go.mod docs. I do think we would add something to the README.md and perhaps emit a message to the user around Falling back to "go.mod" and using latest N.x version. Maybe even linking back to the README and/or go docs.

Hey @kennyp, thanks for reviewing. I added something to the readme, but had trouble emitting a message from get_legacy_version() (just using echo). It might be that asdf is suppressing the output somehow, but I haven't looked deeply into it.

Whoops, no I didn't! I guess I forgot to stage the change, on an absent-minded Sunday morning 😉
I'll commit that when I get back to the machine that has this change.

OK, now I really have committed the documentation. What do you think @kennyp? Is that similar to what you had in mind?

@craigfurman Thanks!
I think if you did something like:
printf "Falling back to 'go.mod' and using latest ${version} version" >&2

it should get to stderr and the end user can see it.

@kennyp ah, stderr does the trick, thanks. I've tried this out locally, and it causes the message to be printed every time go is invoked, which personally I find very annoying.
If bin/parse-legacy-file is invoked by asdf every time a shimmed executable is invoked, then I'm not sure if there's anything we can do here to print a diagnostic message once only, and I'd rather not add it for every invocation. What do you think?

You're right... I totally forgot it was called for every invocation.


Deactivation cleanup

Remove hound from repo and org when user deactivate repo.

@arunagw, what happens when Hound is enabled for multiple repos in an organization? Should Hound only be removed from an organization if no other repos are being reviewed?

Thoughts on not removing the "Services" team? What is the benefit of removing it?

@gylaz @salbertson please have a look again.
cc/ @samphippen

This PR is in WIP again. Will ping back once ready to review

@gylaz I think we should not remove team "Services" as user or any other services might have added something to it and we don't want to mess with that.
Remove repo and user from that team seems fine.

Few comments, and fixed a few of them. But besides that, LGTM

This one looks good to merge?
What we are doing here is in case of org repo.

Removing repo from "Services" team.
Removing Hound User from team if no more repo in "Services" team

Left a few comments/suggestions. Looks good to me. Merge at your discretion.


Check service=parking_aisle  is not a error in nodeendingnearhighways -minor

https://www.openstreetmap.org/way/329344426/history

Solution should be noexit=yes  http://wiki.openstreetmap.org/wiki/Key:noexit


white screen on the browser with chrome link

the browser have a white screen and a a chrome link

dont work

Try following this guide:
https://www.solsticegamestudios.com/forums/threads/cinema-media-system-black-screens-videos-not-working.60/


integration of Artifactory with Bintray

in Artif v 4.12.2, configuring Distribution page, on the Rules page, if I create a new Generic rule and save the page, and then go back to look at it, the rule disappears. Generic rules do not get saved for some reason.

That's strange. I can't seem to reproduce this, generic rules save fine for me ... does anything weird show up in your artifactory.log file?
Just for future reference, this may not be the most optimal place to ask questions like this. This place is more for questions or bug reports regarding user plugins.


Customize configmap with configuration file from values.yml

Customize express-gateway chart in order to set configmap with configuration file from values.yml

/assign @scottrigby


format/pktline: fix readPayloadLen err handling

The underlying error was being omitted

Current coverage is 75.05% (diff: 100%)

Merging #148 into master will decrease coverage by 0.81%

@@             master       #148   diff @@
==========================================
  Files            77         77
  Lines          5004       5004
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           3797       3756    -41
- Misses          772        821    +49
+ Partials        435        427     -8

Powered by Codecov. Last update 634b6f0...17eeef0


Defining health check within docker-compose

Hey there, (ref: rancher/rancher/issues/1916)
is there a way to define "Health Check" within docker-compose.yml
I've only seen it in rancher/ui. Couldn't find it in docker-compose neither.

I've just added how to add it into the rancher-compose.yml that can be used with rancher-compose.
http://docs.rancher.com/rancher/rancher-compose/rancher-services/#health-check-for-services
Also, please note that if you ever see something in the UI and are not sure how to make it into docker-compose.yml and rancher-compose.yml files, you can always click on the stack and click on this logo to get the related files.  From the dropdown of the stack, you can also "export configuration" to download the files.


Running ./bench-routes or make run should open the default browser with localhost port on its own.

Currently, after running bench routes via any of the methods, either the executable ./bench-routes or make run, we have to enter the URL in a browser of our choice to see the application running.
Expected behavior
To run either of the commands above and have the application open up in our default browser of choice.
We must then allow for opening our preferred browser for execution, via passing as command line arguments. Then, upon executing the above commands, the preferred browser should open up on its own with the localhost URL.

I would like to take up this issue if allowed.

Hi, @ParthGala2k I was also working on this capability, I've added one in my pull request, Please feel free to suggest any improvement.

#433


NthValueAgg returns 1 physical expression, but needs 2 when being constructed with create_aggregate_expr

Describe the bug
NthValueAgg returns one expression here (which is used when encoding a plan to a protobuf): https://github.com/apache/arrow-datafusion/blob/ed2453901949101556c0c89b9acf442873c06ce8/datafusion/physical-expr/src/aggregate/nth_value.rs#L119-L121
But create_aggregate_expr expects two input expressions (which is used when decoding a protobuf to a plan): https://github.com/apache/arrow-datafusion/blob/ed2453901949101556c0c89b9acf442873c06ce8/datafusion/physical-expr/src/aggregate/build_in.rs#L375-L396
A workaround could be downcasting and manually adding in an expression on either the encode or decode side, but that does feel like a hack.
To Reproduce
I've added an additional test case in this pr which hits the issue: https://github.com/apache/arrow-datafusion/pull/9027/files#diff-f5f4ff60a3b2f61388e01e1ebda773642ab5d86b5acee785c902f24e3b9dad70R340-R348
Expected behavior
I expect that expression returns the proper number of expressions needed to recreate an aggregate expression in create_aggregate_expr.
Additional context
I'm trying to make sure all the aggregates can be properly encoded and decoded into protobufs, and hit this issue.

I can work on this bug @scsmithr if you are not already working on a fix?.


Error trying to relay a transaction and pay a light-weight network fee using a bit asset

blockchain_api.cpp blockchain_broadcast_transaction is getting a null feed_price for BitUSD:
auto feed_price = _chain_db->get_active_feed_price(fee.asset_id);
fee.asset_id 22
feed_price null

I may not have trades or any market activity in the node, but the min number of feed prices were published and the market is live.  I noticed that this is inconsistent with the same node's current_feed_price in market status which is how I was able to calculate the fee to send to the collector:
default (unlocked) >>> blockchain_market_status USD XTS
{
  "quote_id": 22,
  "base_id": 0,
  "current_feed_price": 0.01,
  "last_valid_feed_price": 0.01,
  "last_error": null
}

error: "Do I look like some kind of charity?

Did you wait a block after your feed was published?  Can you create a regression_test to reproduce this?

Is there a good way to change config.json settings on a test?  This happens only if you have a collector and a light_weight fee configured.

After some re-starts I do see the active feed price now..  I still see a bug related to fee collectors though.  I have to pay a fee that is 10 times higher that what is required to get a transaction to go through.

What exactly is the issue here? chain_database is giving back bad data? I'd prefer to let someone who's still familiar with that code fix that one.
If blockchain_broadcast_transaction is miscalculating the fee based on good data, we have an issue, but this has worked in my testing.

The issue is that I did not set the fee correctly in the config.json.


Made the checks for null data more sane.

Changed !raster to =geojson
ensured the null/undefined tests are more clearly referring to
the data.

Coverage increased (+0.1%) to 94.556% when pulling f2e7a2b60858b7e3759ed45e4184ee935a2dab8f on theduckylittle:bug/fix-insane-data-test into ec3373801d63742346a0676e3599223584d299e6 on boundlessgeo:ultimateredux.


fix(@vtmn/svelte): fix events accessibility VtmnListItem

With the last version of VtmnListItem we have found some issues with accessibility.
This PR fixed all issue due to keypress / click / stop propagation on children.
For example :

<li> click action are not possible with keyboard, only mouse.

No breaking changes.

This PR seems to bring some fix to allow nested interactive elements. We should take extra care with this kind of decision since it could confuse assistive technologies and hurt accessibility.
See https://dequeuniversity.com/rules/axe/4.5/nested-interactive or https://adrianroselli.com/2016/12/be-wary-of-nesting-roles.html for instance.
@manglard @gaspard-mathon what are your opinion about that ?


Spell check pass on code comments and docs for 2.4

Overview
Follow up to https://github.com/microsoft/MixedRealityToolkit-Unity/pull/7973, spell checking our code comments and summaries.
Used this VS spell checker extension.

/azp run


Return the serialized form of the real error when a remote error occurs

If you merge multiple schemas, the GraphQL error object looks slightly different.
import { mergeSchemas } from 'graphql-tools';

mergeSchemas({ schemas: [localSchema, remoteSchema] });

This PR address this issue.

Can we do this without adding Lodash as a dep?

Mhh I just added the get function "lodash.get": "^4.4.2". If you don't want this dependency we have to write code like errors && errors[0] && errors[0].originalError.
In my opinion the better readability outweighs the disadvantages. But this is your call

But I found another bug. If you have a query like this
{
  SystemInformation {
    UpdatePolicy {
      isAutoUpdateEnabled
    }
    OperatingSystem {
      name
      version
    }
  }
}

and you throw in the UpdatePolicy resolver an apollo-error the response is not formatted like expected.
{
  "data": {
    "SystemInformation": {
      "UpdatePolicy": null,
      "OperatingSystem": {
        "name": "Edobian",
        "version": "17.5.0"
      }
    }
  },
  "errors": [
    {
      "message": "You do not have the necessary permissions",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "path": [
        "SystemInformation",
        "UpdatePolicy"
      ]
    }
  ]
}

Yep it looks like it's not properly serializing.  But yeah, I'd prefer not to include any more deps if possible

Any updates here?

Closing this as there hasn't been any activity.  Feel free to re-open it when you have time


Import NMR data from vendor files

Import NMR data from vendor saved files.

[X] Bruker (raw)
[ ] Bruker (processed data)
[x] Tecmag
[ ] JEOL

Possibly use nmrglue to import the data and then convert the data to a CSDM object using csdmpy.
Example for converting NumPy data to CSDM object.

@mccarthy677 Is this issue relevant now that the nmrglue is the link between the vendor files and mrsimulator?

JEOL isn't covered by nmrglue, but Bruker and Tecmag can now be loaded into mrsimulator

If I recall, nmrglue can read the Bruker processed data. Is the processed data also converted to CSDM objects?

Mentioning duplicate #200 issue and closing the duplicate.

@deepanshs @pjgrandinetti If I recall, JOEL now supports CSDM export. Two related questions:

Is this issue still relevant?
Should a new issue be opened for adding import examples to the documentation?

I understand mrsimulator itself does not perform the imports, but users may find it helpful to have references grouped together.


Module Request - Kopia

Project description
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.
Existing Nix package - https://search.nixos.org/packages?query=kopia
Would be nice to have a declarative service around like restic has.
Metadata

homepage URL: https://kopia.io/
source URL: https://github.com/kopia/kopia/
license:  Apache-2.0 License
platforms: linux, darwin

I'm quite interested in this backup tool, although it gave me some headache with its poor deduplication algorithm, but it is the best cli ux for the backup tools I've tested.
I have some packages in my backlog for me to package, but I'm more than open to write this module later.

@edrex @AtilaSaraiva I'm currently working on hacking up a Kopia module for my NixOS server. I've got a few things sorted out, but could do with help with a few bits (see https://github.com/NixOS/nixpkgs/issues/163024). Please get in touch if you're interested in helping this along.

Randomly stumbled upon this implementation - https://github.com/xddxdd/nixos-config/blob/8eeba4e85b70a6ccf0830d8fb743c34a12d6239e/nixos/server-components/backup.nix which might be useful if someone wants to tackle this.

@tecosaur were you able to get your kopia module to work? I am looking for backup solutions and kopia seems like a fine candidate.

@tecosaur did you have any progress on the module? I'm considering the same, so we might cooperate on it. Shouldn't be too hard to do it incrementally, start with basic functionality and extend later.

Randomly stumbled upon this implementation - https://github.com/xddxdd/nixos-config/blob/8eeba4e85b70a6ccf0830d8fb743c34a12d6239e/nixos/server-components/backup.nix which might be useful if someone wants to tackle this.

This could sure give some inspiration, though I'd probably structure the settings a bit differently to make it more suitable for a nixos module and to have clearer mappings of the repo, snapshot and sources abstractions.

@bhankas + @ppenguin: I've managed to get a few bits/pieces together, but it's not working overall. This is what I have so far:
{ config, lib, options, pkgs, ... }:

with lib;

let
  cfg = config.services.kopia;
in
{
  options = {
    services.kopia = {
      enable = mkOption {
        default = false;
        type = types.bool;
        description = lib.mdDoc "Enable Kopia backups.";
      };

      user = mkOption {
        type = types.str;
        default = "kopia";
        description = lib.mdDoc "User account under which backups are performed.";
      };

      configTokenFile = mkOption {
        type = types.nullOr types.path;
        default = null;
        description = lib.mdDoc "Path to a file containing a Kopia quick-connect
        token generated by `kopia repository status -t -s`.";
      };

      schedule = mkOption {
        type = types.str;
        default = "daily";
        description = lib.mdDoc "Systemd OnCalendar schedule to run Kopia backups at.";
      };
    };
  };

  system.activationScripts.kopia-activation-script = {
    deps = [ "etc" ];
    text = ''
${pkgs.kopia}/bin/kopia --config-file=${TBD} repository disconnect
KOPIA_CONFIG_TOKEN=$(cat ${cfg.configTokenFile})
${pkgs.kopia}/bin/kopia --config-file=${TBD} repository connect from-config --token "$KOPIA_CONFIG_TOKEN"
  '';
  };

  systemd.services.kopia = {
    description = "Kopia automated backup";
    serviceConfig = {
      Type = "oneshot";
      User = cfg.user;
      WorkingDirectory = cfg.backupDir;
      ExecStart = "${pkgs.kopia}/bin/kopia --config-file=${cfg.configFile} snapshot create";
    };
  };

  systemd.timers.kopia = {
    wantedBy = [ "timers.target" ];
    partOf = [ "kopia.service" ];
    timerConfig = {
      Unit = "kopia.service";
      OnCalendar = [ "${cfg.schedule}" ];
      # RandomizedDelaySec = "${cfg.timerRandomDelay}"; # maybe?
    };
  };

  systemd.tmpfiles.rules = [
    "L+ ${cfg.stateDir}/repository.config - - - - ${cfg.repositoryConfig}"
  ];

  users.users = mkIf (cfg.user == "kopia") {
    kopia = {
      createHome = true;
      home = cfg.stateDir;
      useDefaultShell = true;
      group = "kopia";
      isSystemUser = true;
    };
  };
}

Currently, the .kopiaginore file cannot be a symlink, so there's an issue with managing it declaratively as part of a home-manager config, for example. https://github.com/kopia/kopia/issues/2037

Currently, the .kopiaginore file cannot be a symlink, so there's an issue with managing it declaratively as part of a home-manager config, for example. kopia/kopia#2037

While obviously the upstream solution would be preferred, on HM I'm using the following trick to get actual files (outside the nix store) in any location as the correct user:
  systemd.user.services.sops2homedots =
    lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
      Unit = {
        Description = "write dotfiles from sops secrets";
        Requires = "sops-nix.service";
        After = "sops-nix.service";
      };
      Service = {
        Type = "oneshot";
        Environment = "PATH=$PATH:${lib.makeBinPath [ pkgs.coreutils ]}";
        ExecStart = (pkgs.writeShellApplication {
          name = "sops2dots";
          text = ''
            cp -f "$XDG_RUNTIME_DIR/secrets/${
              config.sops.secrets."homedots/.netrc".name
            }" "${homeDirectory}/"
          '';
        }) + "/bin/sops2dots";
      };
      Install.WantedBy = [ "default.target" ];
    };

@bhankas + @ppenguin: I've managed to get a few bits/pieces together, but it's not working overall. This is what I have so far:
{ config, lib, options, pkgs, ... }:

with lib;

let
  cfg = config.services.kopia;
in
{
  options = {
    services.kopia = {
      enable = mkOption {
        default = false;
        type = types.bool;
        description = lib.mdDoc "Enable Kopia backups.";
      };

      user = mkOption {
        type = types.str;
        default = "kopia";
        description = lib.mdDoc "User account under which backups are performed.";
      };

      configTokenFile = mkOption {
        type = types.nullOr types.path;
        default = null;
        description = lib.mdDoc "Path to a file containing a Kopia quick-connect
        token generated by `kopia repository status -t -s`.";
      };

      schedule = mkOption {
        type = types.str;
        default = "daily";
        description = lib.mdDoc "Systemd OnCalendar schedule to run Kopia backups at.";
      };
    };
  };

  system.activationScripts.kopia-activation-script = {
    deps = [ "etc" ];
    text = ''
${pkgs.kopia}/bin/kopia --config-file=${TBD} repository disconnect
KOPIA_CONFIG_TOKEN=$(cat ${cfg.configTokenFile})
${pkgs.kopia}/bin/kopia --config-file=${TBD} repository connect from-config --token "$KOPIA_CONFIG_TOKEN"
  '';
  };

  systemd.services.kopia = {
    description = "Kopia automated backup";
    serviceConfig = {
      Type = "oneshot";
      User = cfg.user;
      WorkingDirectory = cfg.backupDir;
      ExecStart = "${pkgs.kopia}/bin/kopia --config-file=${cfg.configFile} snapshot create";
    };
  };

  systemd.timers.kopia = {
    wantedBy = [ "timers.target" ];
    partOf = [ "kopia.service" ];
    timerConfig = {
      Unit = "kopia.service";
      OnCalendar = [ "${cfg.schedule}" ];
      # RandomizedDelaySec = "${cfg.timerRandomDelay}"; # maybe?
    };
  };

  systemd.tmpfiles.rules = [
    "L+ ${cfg.stateDir}/repository.config - - - - ${cfg.repositoryConfig}"
  ];

  users.users = mkIf (cfg.user == "kopia") {
    kopia = {
      createHome = true;
      home = cfg.stateDir;
      useDefaultShell = true;
      group = "kopia";
      isSystemUser = true;
    };
  };
}

What wasn't working about this?
If it is mostly working aside from the .kopiaignore file, then it might be fine to just PR this and upstream any fixes later.

It's been long enough that I forget what exactly isn't working there. What I really want to enable though is something that looks a bit more like this:
services.kopia.instances.main = {
  enable = true;
  repository.b2 = { # or "filesystem" or "s3" or "gcs", etc.
    bucket = "my-kopia-backup";
    accountFile = config.age.secrets."kopia/b2/account".path;
    keyFile = config.age.secrets."kopia/b2/key".path;
  };
  policy = { # the global policy, using json + `kopia policy import`
    retention = {
      keepDaily = 7;
      keepWeekly = 5;
      keepMonthly = 12;
    };
  };
  paths = [
    "${config.users.users.me.home}/.config"
    "${config.users.users.me.home}/.local/share"
    "${config.users.users.me.home}/.local/state"
    "${config.users.users.me.home}/Documents"
  ];
  autoRestore = true; # Whether we should restore from backups when the paths do not exist
  schedule = "daily";
};

Now that https://github.com/kopia/kopia/issues/2432 has been merged (and with https://github.com/kopia/kopia/pull/4190 hopefully around the corner), I think we might actually be able to realise this!

Sure, though I don't have much time at the moment so not sure how much I'll be able to do

@blenderfreaky + @purepani + @ppenguin: would any of you be interested in working together on this?

For me it's the same: in principle interested, but I'm currently too swamped with other work.

https://github.com/kopia/kopia/pull/4190 has been merged (the .Kopia ignore symlink thingy) :tada:

Brilliant, I think that's the last piece!


2.1 Test Plan

[ ] Create a new 2.1 branch at https://github.com/ctaggart/sourcelink-test
[x] vs2015-csharp-framework: net46 with a default library project
[x] vs2015-fsharp-framework: net46
[ ] vs2017-csharp-core: multitarget: netstandard1.4, net46
[ ] vs2017-fsharp-core: multitarget: netstandard1.4, net46

test as appropriate with either:
msbuild /t:restore
msbuild /t:build
dotnet restore
dotnet build

[ ] See if dotnet sourcelink can run for each project
[ ] Verify each pdb has json
[ ] Verify each pdb has documents
[ ] Verify each pdb passes dotnet sourcelink test

Nothing new was discovered. Both F#s work with the SourceLink.Create.CommandLine. You vs2017-fsharp-core still requires msbuild /t:restore & msbuild /t:rebuild rather than dotnet because it is behind.


Dropdown inside hidden element when initiated doesn't display properly

It appears that if I have a dropdown that I have initiated inside of a hidden section of my form, that gets displayed when I select a corresponding checkbox, the resulting dropdown gets partially hidden under following elements. It looks like it is a problem with the z-index possibly. If it is not hidden upon the form loading it works fine.

Please create a test case there is a js fiddle you can form in the readme

Sorry for the delay: here is the test case of a mock up form: http://jsfiddle.net/gf96hf5n/
If the dropdown is hidden on page load, and then is displayed via a checkbox, the menu items get hidden underneath any content that follows. If the dropdown is visible on page load and not hidden, then there is no issue.

I'm also experiencing the same issue.  I have the dropdowns initialized inside a collapsed accordion, inside a sidebar.  The selection dropdowns, when expanded, sit underneath (instead of over top) labels and checkboxes below the dropdown.

@jlukic this appears to be a legitimate issue, and it is reproducible in the jsFiddle @joshbodine21 created.  I'm experiencing the same issue in my app, as described in my previous comment.  Would you please consider re-opening the issue and investigating?  Thanks.

Didn't notice test case in the closed issue. I'll check again.

I upgraded to the newly released Semantic UI 2.0 and the issue is resolved in the latest version.  Thanks!


Appstudio update test-component-pac-imsz

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-imsz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
9 seconds
init

✅ Succeeded
25 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
25 seconds
sbom-json-check

✅ Succeeded
9 seconds
optional-label-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-imsz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
9 seconds
init

✅ Succeeded
25 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
21 seconds
deprecated-base-image-check

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
25 seconds
sbom-json-check

✅ Succeeded
9 seconds
optional-label-check

✅ Succeeded
8 seconds
label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-imsz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
18 seconds
clone-repository

✅ Succeeded
24 seconds
build-container

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
23 seconds
sbom-json-check

✅ Succeeded
8 seconds
optional-label-check

✅ Succeeded
7 seconds
label-check

✅ Succeeded
6 seconds
show-summary


GKE ingress IP not visible in pane

if you are lucky enough it's visible in the events for a moment

I think this is not just GKE specific bug. We are probably missing IP on every environment that is configured like GKE.


Inconsistent DataFrame.query results

Having seen some inconsistent results from processing DataFrames - literally, running scripts over static data would generate different outcomes - we were able to boil down the following example:
def compare(df):
    df1 = df.query('x < 2000')
    df2 = df.query('x < 2000')
    return df1.equals(df2)

If I understand correctly, calling compare should never return false and yet it does, randomly:
>>> df = pd.DataFrame({'x': range(100000), 'y': range(100000)})
>>> for i in xrange(1000):
...     if not compare(df):
...         print ('failed at iteration', i)
...
failed at iteration 10
failed at iteration 66
failed at iteration 80
failed at iteration 141
failed at iteration 149
            ...
failed at iteration 878
failed at iteration 999

This seems like a defect in query?
Relevant versions:
>python --version
Python 2.7.11 :: Anaconda 2.4.0 (64-bit)
>systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
OS Name:                   Microsoft Windows 8.1 Pro
OS Version:                6.3.9600 N/A Build 9600
System Type:               x64-based PC

duplicate of this
install numexpr=>2.4.6 and all will be well

Thanks!
Sorry to waste your time, I did search but didn't stumble on the other duplicates.
Always nice to see an issue resolved and closed in less time than it took to write! :)

hah, yeah have seen this one a number of times. Not much we can do until Anaconda updates the version. To be more insidious, this is ONLY on windows.


No longer loads as of today; only get a loading spinner

As of today, I am no longer able to get the dissenter plugin for Firefox to actually load on any webpage. When I click the toolbar button or open the sidebar, all I get is a white page with the green loading spinner in the middle.
Screenshot:
https://imgur.com/a/TiafB1B
I've done the following to try and get this working again, none of which have worked:

Reinstall the extension
Clear all Gab and Dissenter cookies & local storage
Test the extension on a completely fresh Firefox profile
Install an older version of the extension

Any assistance with this would be appreciated. I'm using Dissenter extension 0.1.3 on Firefox 65

Aaaaaand all of a sudden it's working again. Haven't changed anything since filing this, but that works for me


Added Vyper Section

🛠 Fixes Issue
Closes #108

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Added Vyper Section

Please approve these changes, they are just merged so the website doesn't count this one @FrancescoXX


Doesn't play nicely with RiiTag-RPC (missing RPC features?)

I use a Raspberry OS (64-bit) on my Raspberry Pi 4 Model B (8 GB RAM), and on it I use https://github.com/RiiConnect24/RiiTag-RPC.
Instead of emulating the Discord client (linux x64), I thought it would be better to run a more native instance (https://github.com/ArmCord/ArmCord, which uses arRPC), but it appears that doing so causes issues with freezing and exiting for RiiTag-RPC.
From what I understand, it's because of a lack of support for newer features in rich presence?

We've narrowed the issue down to pypresence which hangs when clearing the presence. Is arRPC maybe not sending or receiving some data that pypresence expects? It functions perfectly fine on the official client.
Relevant code: https://github.com/qwertyquerty/pypresence/blob/master/pypresence/presence.py#L37-L39


raised STORAGE_ERROR : s-intman.adb:136 explicit raise

I put a 1.5 MB large file into the files subdirectory of a port specification. Buildsheet was successfully created, but when running ravenadm test PORT it raises the exception. Probably there is a limitation on the file size, but it should be denied earlier during build sheet generation.

what is the file?  Not binary hopefully.
Typically a file that big would be downloaded (patches can be downloaded).
I don't think it's a file size limitation though.  storage_error often means running out of heap space.

did any log get created?

That file was binary :). I wanted to copy the libstdc++.so.9 that way.

I think this has been solved.  buildsheets are no longer slurped but read line-by-line.
We hit this on very large buildsheets later.

For what it's worth, this is happening to me as of today:
# dotnet ~bob/net9.0/Rwv37.FreeBSD.VestertopianPortsBuilder.Cli.dll act build
Scanning existing packages.
These are the ports that would be built ([N]ew, [R]ebuild, [U]pgrade):
  N => devel/php82-sysvsem
  N => security/php82-sodium
  N => www/nextcloud@php82
  N => www/nextcloud-calendar@php82
  N => www/nextcloud-contacts@php82
  N => www/nextcloud-tasks@php82
Total packages that would be built: 6
The complete build list can also be found at:
/var/synth/synth_status_results.txt
Scanning existing packages.

raised STORAGE_ERROR : s-intman.adb:136 explicit raise
#

The dotnet command I'm running there is more or less just a convenience wrapper for synth status and synth just-build (and has been working fine for the months and months since I started using it). The synth status (which works fine) is specifically this:
synth status archivers/7-zip archivers/php82-bz2 archivers/php82-zlib databases/mysql-connector-j databases/mysql84-server databases/php82-mysqli databases/php82-pdo_mysql devel/ccache4 devel/checkbashisms devel/git@default devel/hs-ShellCheck devel/jsonnet devel/maven devel/nexus2-oss devel/pecl-APCu@php82 devel/py-pip@py311 devel/readline devel/subversion devel/viewvc-devel@py311 dns/nsd dns/unbound dns/void-zones-tools editors/neovim filesystems/sshfs games/cowsay graphics/netpbm graphics/pecl-imagick@php82 graphics/zbar java/openjdk22 lang/dotnet lang/go lang/ruby33 mail/msmtp mail/neomutt math/php82-bcmath math/php82-gmp misc/findutils misc/terminfo-db net/gitup net/php82-ldap net/rclone net/rsync net/samba419 ports-mgmt/pkg ports-mgmt/pkg_tree ports-mgmt/portconfig ports-mgmt/synth print/ghostscript10 print/tex-dvipsk security/doas security/gnupg security/portacl-rc security/py-certbot@py311 security/py-ssh-audit@py311 security/step-certificates security/step-cli security/vault shells/bash shells/bash-completion sysutils/coreutils sysutils/moreutils sysutils/rest-server sysutils/restic sysutils/smartmontools sysutils/stow sysutils/tmux textproc/diffutils textproc/groff textproc/jq textproc/php82-xmlreader textproc/php82-xsl textproc/ripgrep textproc/ripgrep-all www/mod_dav_svn www/nextcloud-calendar@php82 www/nextcloud-contacts@php82 www/nextcloud-tasks@php82 www/nextcloud@php82 www/php82-opcache www/tt-rss@php82 www/xcaddy

And the synth just-build, which is what fails with the "STORAGE ERROR" (immediately after it too says it's "Scanning existing packages"):
synth just-build archivers/7-zip archivers/php82-bz2 archivers/php82-zlib databases/mysql-connector-j databases/mysql84-server databases/php82-mysqli databases/php82-pdo_mysql devel/ccache4 devel/checkbashisms devel/git@default devel/hs-ShellCheck devel/jsonnet devel/maven devel/nexus2-oss devel/pecl-APCu@php82 devel/py-pip@py311 devel/readline devel/subversion devel/viewvc-devel@py311 dns/nsd dns/unbound dns/void-zones-tools editors/neovim filesystems/sshfs games/cowsay graphics/netpbm graphics/pecl-imagick@php82 graphics/zbar java/openjdk22 lang/dotnet lang/go lang/ruby33 mail/msmtp mail/neomutt math/php82-bcmath math/php82-gmp misc/findutils misc/terminfo-db net/gitup net/php82-ldap net/rclone net/rsync net/samba419 ports-mgmt/pkg ports-mgmt/pkg_tree ports-mgmt/portconfig ports-mgmt/synth print/ghostscript10 print/tex-dvipsk security/doas security/gnupg security/portacl-rc security/py-certbot@py311 security/py-ssh-audit@py311 security/step-certificates security/step-cli security/vault shells/bash shells/bash-completion sysutils/coreutils sysutils/moreutils sysutils/rest-server sysutils/restic sysutils/smartmontools sysutils/stow sysutils/tmux textproc/diffutils textproc/groff textproc/jq textproc/php82-xmlreader textproc/php82-xsl textproc/ripgrep textproc/ripgrep-all www/mod_dav_svn www/nextcloud-calendar@php82 www/nextcloud-contacts@php82 www/nextcloud-tasks@php82 www/nextcloud@php82 www/php82-opcache www/tt-rss@php82 www/xcaddy

The only nonempty log file that is created is 00_last_results.log:
-=>  Chronology of last build  <=-
Started: Tuesday, 3 DEC 2024 at 01:02:32 UTC
Ports to build: 529

Purging any ignored/broken ports first ...
00:00:15 Sanity check complete. Ports remaining to build: 6

I've seen various things online regarding this and memory issues; I've only briefly looked at them and so don't fully understand them, but I can say that my machine has plenty of memory, both RAM and swap, and plenty of both is unused.
One thing I'm guessing might be related: Yesterday I upgraded FreeBSD from 14.1-RELEASE-p6 to 14.2-RELEASE. Generally speaking my machine seems to still be working fine after having done that - I haven't noticed any issues other than this one. Also, after having upgraded, my cron job for this sort of thing ran successfully (i.e. did not give this "STORAGE_ERROR", nor fail in any other way), but it should be noted that it determined it had no packages to build at that time.
I'm going to first try just using synth to build the six packages that synth status talks about one at a time. If that doesn't help or reveal any interesting information, I'll try uninstalling everything (including synth), getting rid of the whole repository, and rebuilding everything.

I'm going to first try just using synth to build the six packages that synth status talks about one at a time.

If I try either of the PHP libraries alone, it fails in the same manner. Trying any of the other packages would require trying those PHP libraries, so I can't do that.

Oh no, I just noticed I put this in the wrong GitHub project - I saw a Google hit from a jrmarino GitHub project that had the exact same error message which I'm getting, and it didn't even occur to me to check whether or not the repository was for synth or not. I have to get some sleep now, but I'll reopen this in the correct project when I get a chance. Sorry!

you know what would be interesting?  To try the fully enabled synth built by ravenports (as opposed to FreeBSD ports collection).
see wiki (Give me a few minutes to update it, we don't use ravensw anymore).
we've already seen problems with synth built by FPC that don't exist when built by ravenports (different toolchain is the most likely reason)

I'm going to close this.
I haven't seen this error in ravenadm in a while - save for earlier this week when the spec sheet caused infinite recursion.
If it comes up again, we'll open a new issue.


"Boroaia" is listed in the drop-down menu

Description:
""Boroaia" is listed in the drop-down menu" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Boroaia" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Boroaia, SUCEAVA".


SCT-626 Treat elastic conflict exceptions as non-fatal

They're not great in that they mean the code isn't handling indexing
correctly in some cases, but shutting the worker down and leaving events
in a stuck state is worse.
This doesn't fix the root cause of the problem but means there's no
known errors that cause a worker shutdown where the worker continuing
does no further harm.
Unfortunately reliably testing elastic conflicts is going to be very difficult (at least I can't think of a simple way to do it) so we'll have to test in CI.

Confirmed working in CI


docker command fails

Hi,
I'm getting error when building using docker command, with given message:
 sudo ./driverkit docker -c config.yaml
INFO[0000] using config file                             file=config.yaml
INFO[0000] driver building, it will take a few seconds to complete  processor=docker
FATA[0000] exiting                                       error="Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39"

Is there kind of workarround?
Tnx

Hello @dsever can you post the output of docker version ?
In the meantime I workaround could be to export theDOCKER_API_VERSION env variable.
export DOCKER_API_VERSION="1.39"

Hi,
I would say this is strange:
Client:
 Version:           18.09.7
 API version:       1.39
 Go version:        go1.10.1
 Git commit:        2d0083d
 Built:             Fri Aug 16 14:20:06 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.7
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.1
  Git commit:       2d0083d
  Built:            Wed Aug 14 19:41:23 2019
  OS/Arch:          linux/amd64
  Experimental:     false

So driverkit has newer client, not supported by my API server?

After docker upgrade to 19.03.6 it looks ok, i was able to build modules.
Thanks


Remove print statement that fails when stdout is closed.

When using the http api in a daemon, we get a I/O operation on closed fileexception.
This removes it.
This will also fix https://github.com/BrightcoveOS/Diamond/issues/723

Any chance we can see this little tweak soon!?

This is addressed in https://github.com/bkjones/pyrabbit/pull/41 which I just merged. Thanks!


Kirkstone fixes

Update two patches and fix a few license-related QA warnings (mostly about LICENSE = "BSD") for noetic and humble.

Amazing! Thank you :+1:

Hi Rob, and thanks for the review! I've double checked and addressed all your suggestions.
In fact, I have accumulated some more fixes along the same lines since this PR was submitted. I plan to make a separate PR for them, if you do not object.

Creating a separate PR sounds good.  I have merged this one into kirkstone-next.


Import error

Hi Team,
I am trying pdfplumber for parsing data from pdf. When I tried importing pdfplumber I got below error:
"ImportError: cannot import name 'PDFStackT' from 'pdfminer.pdfinterp' (C:\Users\reema\anaconda3\Lib\site-packages\pdfminer\pdfinterp.py)"
I also upgraded to pdfminer.six & my python version is Python 3.10.6.
Can you please assist on resolving this issue?
Thanks
Reema Jain

You probably have multiple versions of pdfminer (the original) and pdfminer.six installed. Make sure that only pdfminer.six is installed in your python environment.


Implement the project manager based on database

Coverage increased (+0.1%) to 55.456% when pulling b4c172b7545b57ceda35a494516dd68c1cb5afeb on ywk253100:170503_pms_db into 13d9b05dcb837ff8db299637542ff7e6057882bf on vmware:master.


add canonical link support

Add Canonical Link field seo create & edit modals.
What is a Canonical URL?

When You Repost Existing Content
If you have a website that is a part of a franchise or national organization, then you may share statements, press releases, and even blog content originally published on the main national website. Instead of merely linking to the original content and hoping site visitors click through, you may publish the content on your own site. This is duplicate content that needs a canonical tag. You can use a canonical URL to direct search crawlers to the original post so that it doesn’t look like you are copying the page.

this still needs a way to prevent "Undefined index: canonical_link" when trying to edit a post created before this field existed.

need help validating lang files, i only speak spanis and enlish, google translated the rest.

Canonical_link is stored in the json 'meta' column, alongside og and twitter, so a migration is not required.
I can just @if() @endif the canonical tag to avoid "Undefined index: canonical_link".
And now that i think about it, this needs to be added anyways because there should not be an empty canonical href, that could be bad for the seo.

Ah you're right, didn't see that it was bundled with the meta. Nice work on that.
Go ahead and push up any more changes and I'll take another look.

Sure, i'll and the @if

Hi @austintoddj,
I think that's it.
I just dont know if the translations are good enough.


Create Modal, this will be used for all dialogue interactions. E.g. Would you like to create a gallery?

[ ] Must extend from the base component
[ ] Must be able to append elements to the modal.

Example: new Modal({
title: "",
body: [],
footer : []
});


margo autocompletion doesn't work with dep

Works fine with std, like fmt and encoding.hex, but not things in vendor/

changed source to true


Genome Overview: in host name pie chart, some number doesn't match with genome list

Example: https://www.beta.patricbrc.org/view/Taxonomy/780#view_tab=overview
The pie slice for "Tick" indicates 3 genome, but the genome list shows 25.

because you have several various ticks.

But the two numbers need to be the same

If you click on the pie chart which indicates 3 genomes, then the resulting genome list should show only 3 genome, not 25.

Actually, this is what we designed for partial matching and there is no way to restrict the exact match.


[I + D] - Using inno setup or similar for make the Windows builds

Inno Setup contains info about a possible candidate for generating the Windows target build.
Another alternatives are welcome, while they are integrated with Github Actions.
This issue will serve as a discusse before including it.

This docs contains info about the Windows images that already contains inno setup

https://github.com/freenet/wininstaller-innosetup/actions/runs/351671849/workflow


chore(master): release 0.49.0-alpha

:robot: I have created a release beep boop
0.49.0-alpha (2024-02-23)
Features

new (a9fedb7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.49.0-alpha :sunflower:


Tag Markup Includes Dashes

Why are there errant dashes in the tag output. e.g.: {%- -%}
As far as I know liquid tags should be formatted like this: {% %}

Looks like this was added in a recent commit referencing "whitespace control". I don't know about all that—but I don't want these dashes in my tags.

If you're using a lot of liquid looping or conditional logic you'll notice a lot of white space in the generated HTML.
The {%- -%} removes these the unnecessary white space... Doesn't change anything regarding how liquid/Jekyll work... So I don't see an issue here.


Improve tjson package

[ ] Port and sync tests from fjson package.
[ ] Fix schema comparison.
[ ] Add support for null values.
[ ] Add support for all scalar values.
[ ] Add support for arrays (how? or omit for now?).
[ ] Add package documentation for mapping.

Support for null values

[] Add support for null values for the Tigris handler.  Cases to cover:

[] Insert, upsert, update
[] Queries:

[] Add tests. Try to reuse existing null-related tests and shared data.

This is how null values work in Tigris:

Primary key fields can't be set as null.
Any other field can be explicitly set as null in the JSON payload.
If the field is set as null it will be stored as null.
If the field is not set in the JSON payload, it is not stored in Tigris.

Support arrays

[ ] Add tests to work with arrays. Try to reuse existing array-related tests and shared data. Cases to cover:

[ ] Insert, upsert, update
[ ] Queries - array operations

[ ] Based on the failed tests, add support for arrays for the Tigris handler.

In Tigris arrays are defined according to the schema. All values of the array have the same type defined in the scema.

Enable fuzzing to cover more Tigris cases

fjson and tjson

[ ] Move fjson data type's test cases to a directory that could be share between fjson and tjson.
[ ] Extend fjson data type's test cases to support both fjson and tjson - add a new field that would contain expected serialized result for tjson.
[ ] Reuse fjson's testing approach - test, fuzz, benchmark in tjson. Probably, with some interfaces. Ideally, reuse common logic (same interface, different implementation for fjson and tjson).

Fix schema comparison

Tigris: Add support for all scalar values

Tigris: Add package documentation for mapping

@AlekSi all the subtasks are created as issues. Please take another look to check that all the necessary things are covered.


Inconsistent capitalization of Boolean/boolean types

Lowercase example:
https://github.com/cdisc-org/DDF-RA/blob/0f93c12bcc16564939eb57b57d4b67d641caecc1/Deliverables/UML/dataDictionary.MD?plain=1#L8
Uppercase example:
https://github.com/cdisc-org/DDF-RA/blob/0f93c12bcc16564939eb57b57d4b67d641caecc1/Deliverables/UML/dataDictionary.MD?plain=1#L71
This can probably be fixed in the xmi

@BSnoeijerCD Here's the updated summary for 2.8:

Data Type
Count

Boolean
17

Date
1

Float
26

Map
2

String
742

No issues remaining. Thanks.


Fails on osx El Capital, you cannot depend on mono being in the path is system protection is enabled.

Any info on how this can be fixed? I have the same issue (mono not found if running build.sh on osx El Capital). Disabling system integrity protection doesn't help.


Notebook: Logical Agents - 3e

I have made the doc till TT-Entail. I wanted to know if I am doing it correct, because next comes the major part of the notebook. Should I proceed doing ? #445

Please give me a go-go signal to start ?

When you make a commit, please make sure that whatever you are writing is grammatically correct and contains no spelling mistakes.

So far, looking good.


Tooltip action to disable specific problems/linting rules

Google's Software Engineering Book puts it well in their static analysis chapter:

… warnings that are technically correct but unimportant in the grand scheme of things provoke the same reaction. We call the user-perceived false-positive rate the “effective false positive” rate. An issue is an “effective false positive” if developers did not take some positive action after seeing the issue.

Their critique tools lets send a signal for those rules (Not useful):

Related, I followed a similar discussion about PyLint that criticized the many linting notices it adds. Even the expert users in the group didn't see a quick way to fix/ignore them – they tried to ignore the rules. They kept distracting from finding the actual issue with the code.
As a built-in example, the CSS linter tooltip could offer to change the accompanying setting (on a user or workspace level):

Extensions could also handle to ignore specific rules. They could prompt for what to change them to, and on which level. Some might want to write them to a project-specific config file (like .tslint).

Somehow related to https://github.com/microsoft/vscode/issues/54272, e.g with MD support this could be achieved via a custom tweak. Tho, we might want to steer towards a unified experience and either have configure-commands or setting names that can come with a diagnostics


Meta.index_together to Meta.indexes on CronJobLog model.

Minimal fix for Django 5.1 compatibility. Meta.index_together is deprecated in this version, so it is replaced for Meta.indexes on the CronJobLog model.

This repo has been abandoned.
Feel free to use my fork https://github.com/jorenham/django-cron that already works with django 5.1


Tags and Categories pages

I have added a post and an About page. However the Tags and Categories pages are not generated. How do I get them to be generated?

Hello, do you have a copy of your website source somewhere that I could check? With only this question I wouldn't really know where to start to help you.


Run tests in CI

Some GitHub actioning, a tox setup, some minor packaging things, a LICENSE, and pre-commit, which is highly useful (though yeah let me know if you don't want/like any of the above and obviously can drop it, this is just essentially a "standard" setup I have generated for anything I've got).
This will undoubtedly conflict with #19 but should be somewhat easy to rebase (happy to do that too of course).

(And this will undoubtedly fail, even when I get the kinks out, given #18, but yeah will see...)

OK these are failing for real reasons I think now. (Though yeah some likely affected by #19) -- the first one being subclassing something in trio (which generally doesn't like things subclassing it), which fails during import, so tests haven't started running yet even.

Uh, whoops, I didn't notice #12 either, which this would close, but hopefully @jasonrute you'll forgive me for preempting your attempt to understand how said stuff works better :D

Julian, I for one would be more than happy for you to take over CI (#12).  I did some initial research on it, and then got caught up on other things.

@Julian If this is going to auto format, I'd prefer to put it in after my massive refactor.

But other than that, my only question is if it also runs mypy.  I've found mypy very helpful for this project with all the type stuff and it would be good for it to be run in CI.

But other than that, my only question is if it also runs mypy. I've found mypy very helpful for this project with all the type stuff and it would be good for it to be run in CI.

I didn't add it, but I'm happy to.

@Julian If this is going to auto format, I'd prefer to put it in after my massive refactor.

Want me to split that piece off and just do the CI first for a first PR? Or just wait on all of it? Either way seems fine with me.

Want me to split that piece off and just do the CI first for a first PR? Or just wait on all of it? Either way seems fine with me.

If we can get the other one in soon, let's wait.  If not, then let's break it up and push the CI in without all the formatting changes.


IPC error when attaching multiple drivers

This bug arose while I was testing cluster.py and restarting the workers multiple times.
To reproduce this error. In build, start a scheduler
./scheduler <IP_ADDRESS>:10001

In build, start an object store
./objstore <IP_ADDRESS>:10001 <IP_ADDRESS>:20001

Start a Python shell and do
>>> import ray
>>> ray.connect("<IP_ADDRESS>:10001", "<IP_ADDRESS>:20001", "<IP_ADDRESS>:30001", is_driver=True)
>>> exit()

Then start another Python shell and do
>>> import ray
>>> ray.connect("<IP_ADDRESS>:10001", "<IP_ADDRESS>:20001", "<IP_ADDRESS>:30002", is_driver=True)

The only difference is that I incremented the shell port number to avoid reusing the same address. This fails with
fatal error occured: Check failed at line 71 in /Users/rkn/Workspace/ray/src/ipc.cc: false with message boost::interprocess exception: No such file or directory

Note that if we omit the exit() command the first time, then this error does not happen.

Within the second call to ray.connect (in worker.py) the error occurs in the line
worker.handle = ray.lib.create_worker(worker.scheduler_address, worker.objstore_address, worker.worker_address, is_driver)

Within create_worker in raylib.cc, it happens in the line
worker->register_worker(std::string(worker_addr), std::string(objstore_addr), is_driver);

Within register_worker in worker.cc, the error occurs in the line
RAY_CHECK(request_obj_queue_.connect(std::string("queue:") + objstore_address + std::string(":obj"), false), "error connecting request_obj_queue_");

Within connect in ipc.cc, the error occurs in the line
queue_ = std::unique_ptr<bip::message_queue>(new bip::message_queue(bip::open_only, name_.c_str()));

The problem goes away when we comment out the message_queue::remove from the destructor like this.
MessageQueue<>::~MessageQueue() {
  if (!name_.empty()) {
    // bip::message_queue::remove(name_.c_str());
  }
}

Addressed by #260.


Fixed a ValidationError misspelling

Coverage remained the same at 96.029% when pulling 3ae8d01370e86763056086fac30660f0fb00ce57 on luyuqing:fix_UNEXPECTED_SIGNED_ELEMENT into 01166a135ac5c50806c57ce9d1819ee1d187b689 on onelogin:master.


Horizontal Scroll Bar Persisting and Covering Content

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.572]
Your Distribution version: Ubuntu 20.04 LTS
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.4.0-19041-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #488-Microsoft Mon Sep 01 13:43:00 PST 2020

Steps to reproduce
Open Ubuntu from task bar, snap Ubuntu/WSL to right side so it covers half of screen (issue seems less prevalent when snapped to left side, and it doesn't seem to matter if there is a window covering the other half or if it's clear to desktop). Open vim or emacs from the command line. Resize WSL window by dragging the center edge. Greyed out uninteractable horizontal scroll bar should appear and persist for the rest of the session, covering part of the displayed content in the window.

WSL logs:
It appears this is done via Feedback Hub (?). Will complete after posting issue so GitHub issue link can be included with Feedback report.
Expected behavior
Horizontal scroll bar appears and is interactable only when really needed (which seems like never in my experience) and does not cover content at bottom of window. If it does appear, it will disappear when it is no longer needed (window is fullscreened, etc.).

Actual behavior
Uninteractable\greyed out horizontal scrollbar appears and covers content at bottom of screen, even when no scrollbar is needed. Scrollbar persists even when window is resized or fullscreened. In general, this wouldn't but such a big deal, but it covers the Emacs minibuffer almost completely.

Accidentally filed under WSL, when it should be in terminal. It has migrated.


Allow External Plugins to use StandaloneRestTestPlugin gradle plugin

Is your feature request related to a problem? Please describe.
For the k-NN plugin, I wanted to clean up our build.gradle a little bit and pull BWC tests out into a separate subproject. For this, I would like to apply the StandaloneRestTestPlugin or StandaloneTestPlugin as is done for OpenSearch.
However, I am unable to apply the plugin because it adds a project dependency on test-framework, which external plugins do not have access to.
I am wondering if it is possible to modify this so that external plugins can use this gradle plugin? External plugins are able to add dependencies like this:
testImplementation "org.opensearch.test:framework:${opensearch_version}"

Describe the solution you'd like
StandaloneRestTestPlugin can be applied to external plugin build scripts.
Describe alternatives you've considered
Currently, in https://github.com/opensearch-project/k-NN/pull/359, I apply the opensearch build plugin and disable several tasks it adds.

Specifically, I was thinking something like this: https://github.com/jmazanec15/OpenSearch/commit/ba391b1c8bf629223b8f77078e6eed29befeeed6. Going to try it out locally to see if it works for my use case.

Im wondering if something like this would make sense:
// For internal projects, using the project test framework dependency. Otherwise, use the opensearch test
// framework one
if (project.rootProject.name == "OpenSearch" && project.project(':test:framework') != null) {
    project.dependencies.add('testImplementation', project.project(':test:framework'))
    EclipseModel eclipse = project.extensions.getByType(EclipseModel)
    eclipse.classpath.sourceSets = [testSourceSet]
    eclipse.classpath.plusConfigurations = [project.configurations.getByName(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME)]

    IdeaModel idea = project.extensions.getByType(IdeaModel)
    idea.module.testSourceDirs += testSourceSet.java.srcDirs
    idea.module.scopes.put('TEST', [plus: [project.configurations.getByName(JavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAME)]] as Map<String, Collection<Configuration>>)
}

https://github.com/jmazanec15/OpenSearch/commit/ba391b1c8bf629223b8f77078e6eed29befeeed6 fails because the plugins don't have the Idea/Eclipse Models. In addition, the above snippet removes the auto addition of the dependency so that external projects can configure it to whatever version they want.
This would then require plugins to add their own dependency on test-framework. This seems okay to me, but want to get feedback from team on this.

IS this blocking your team? @jmazanec15

@minalsha Not blocked but would be nice to have.


Make consultation list automatically sorted by time

I think this is supposed to be linked to #132. Closing.


How to run a asp.net core api/mvc in a packaged web app like JSBrowser ?

At first,  is there  somewhere a project in GitHub where we can ask questions about the Web Hosted Apps (Project Westminster) ?
My question. I want to run in the same package of the JSBrowser,  a local asp.net core API/MVC
and the browser to navigate to the API localhost/port.
I don't know how to package the solution and boostrap the API before I enable the browser.
This is a common scenario for self-hosted API applications with MVC support.
Can you answer me or to guide me where to ask about ?
thanks

Another issue. I  tried to add a universal windows C# library  (and portable later) but the JsBrowser project blocks the reference as unsupported. My problem is that I was able to render html/js local content,
using the prefix ms-appx-web:/// . Then as I can't host an asp.net core API, I  am trying  to get the data, creating  an object  like the NativeListener KeyHandler. and calling its methods from the  js scripts.
But the reference of universal windows C# library  is unsupported .
I don't know how to create a meaningful application.Any help?


Bunny Name Generator

Closes #170
This cog contains two commands: '.bunnyname' and '.bunnifyme'.
.bunnyname
Simply picks a random bunny name from a JSON file of pre-generated names and returns the name as plain text.
.bunnifyme
This one is a bit more complex. The command uses regular expressions to match the user's display name against several different patterns.
First the display name is searched for separators and whitespace. If it contains either of these, one of the words in the name will be replaced with a bunny-related word. E.g. "Operative Loren" could become "Operative Cotton" or "Cotton Loren".
If the display name contains no spaces or separators, it will search for vowels in the name. If the display name contains a vowel and the letter y, it will replace the part between those two characters with something cutesy. For instance, "Volcyy" should become "Voofy". This could result in some odd names, but we'll just have to see how it turns out!
Finally, if the display name doesn't match either of those patterns, then by default a suffix will be added to the end of it. For example "lemon" could become "lemontail".
I'm rather new to Python, but I tried to make my code as Pythonic as I could. Hopefully it's not too spaghetti...

Ah, I just realised there are linting errors in my code. Do I just close this pull request and create a new one?


Update vmware shared folder location

Related https://github.com/kubernetes/minikube/issues/6013
When using the vmware driver  for minikube the shared folder will be in /mnt/hgfs instead of directly on root /.

Signed the CLA

/joke

/assign @jimangel


fix previous error from syncing

I left out one conflict from before 😣

Sorry, this was my mistake. I didn't notice it the first time.