Convert SHOW TAG KEYS to distributed query

Is the issue fixed? I test it ok .

@li-ang this issue applies only to clusters. The query is known to work on single node systems, but there are some cluster-specific features yet to be completed.

I mean I test is ok on 0.9.4 influxdb cluster with three node and the replication of the retention policy is 3.

@li-ang A fully replicated cluster is effectively the same as a single instance for queries. Every node has all the data and can answer any query independently. In a non-fully replicated cluster, nodes have to ask other nodes for data, which is what this issue covers.

@beckettsean Got it! Thank you very!

Hello, is that issue supposed to be fixed ?
I am currently running with v0.9.5-rc1 with a 8 nodes cluster.
SHOW TAG KEYS FROM ... generates the following error:
Server returned error: write message type: write tcp [::1]:45760->[::1]:8098: use of closed network connection
It is interesting that the SHOW TAG VALUES FROM "measurement_name" WITH KEY = "tag_key" works fine.
Could the issue with the SHOW TAG KEYS be similar to the SHOW MEASUREMENT issue from #4927 and #4833.
BTW SHOW MEASUREMENTS seems fixed and runs almost properly since I applied commit: f8040269d96c1faff47d73ca9a2cc872bf948165.
(I still run into an issue where I get Server returned error: read message type: read tcp [::1]:57346->[::1]:8093: i/o timeout with a database of ~2700 series with ~40000 datapoint each)

@Styx13 the issue is not closed, so it is not fixed. This is a cluster-specific issue, which is why @li-ang did not hit it when testing on a single node.

please refer to PR: https://github.com/influxdb/influxdb/pull/5101

Closing this out because it's no longer applicable.


The template doesn't work with the newest version of the cli

Hi thanks for the good work, however please be informed that the template fails with the newest version of the cli 1.4
WE tested it instead wit previous versions and it works fine
Regards
Diego

Thank you for your message. I will look into the problem.

That's a regression issue with Angular CLI, it's described at https://github.com/angular/angular-cli/issues/7686
The new version of the template takes into account that change. Please update to the version 1.0.7.

Many thanks then


Support async search API

With this commit we introduce support for Elasticsearch's async_search
API. We introduce three new runners for that:

submit-async-search
get-async-search
delete-async-search

We restrict these runners to the scope of a composite operation
because we need to guarantee that they are executed by a single client
and the operations are able to share context (in that case the async
search id).
Closes #1114

@dliappis thanks for the review. I've addressed your comments. Can you please have another look?


[test][NFC] Change from nose to pytest (web library)

Continuation of #3931 and #3926.
For your convenience, I split this patch up into several parts -- in light of the previous patches, the first two commits shouldn't offer anything new.
edit: As a note, pytest doesn't support package level setup/teardown, only class level. Packages where only a single class is present, these are equivalent. This is why the 2nd commit isn't particularly exciting. :)
The 3rd one needs a little explanation:

web/tes/funtional/authentication/:

This test creates a temporary server. Previously, this was done for the entire directory -- create a server, run all tests within the directory, and then close it. Since per-package level setup/teardown isn't a thing in pytest, I changed this to per-class. However, it turns out that we didn't tear down the temporary server properly. The server is created by spawning a multiprocessing thread that listens to an event. If the event is set, the thread (and the CodeChecker server inside it) will be terminated, however, that event needs to be cleared -- otherwise it will still be set by the time the server would be reopened, and as a result, would immediately close.
The tests depended one another, and messed with each other, as indicated by my comments. These being separated is just a 100% win.

The others don't stand out. They all connect to a CodeChecker server shared across all tests. Previously, per-package, in the setup, they created a product, and in the teardown, they removed that product. Now that this has to be done per-class, we stumbled across a bug -- if a product is removed, the endline wouldn't be freed up for it. As a result, we can't just create and remove the same product over and over again, and need to create a new product for each class in the package.

The 4th one is something I still need some fixing on. The only reason I haven't quite done it yet, because I didn't break it, it was broken already, so it feels appropriate to address it in a separate patch :)

One note, It seems that the pr contains another commit, [ldlogger] Recognize linux_spawn alongside exec* calls, please rebase before merging.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:41: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:41: missing_description: The recipe is missing a description
ERROR: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:41: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_88t4qyse06/clone/recipe/meta.yaml:41: missing_dev_url: The recipe is missing a dev_url
Errors were found


pc files with multiple libraries and include paths

I will eventually migrate my work of writing cps files for ubuntu into some integration tests here.
Here is a cps file I wrote from the below pc file. https://github.com/tylerjw/ubuntu-jammy-cps/blob/main/lib/cps/nss.cps
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include/nss

Name: NSS
Description: Mozilla Network Security Services
Version: 3.68.2
Requires: nspr
Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3
Cflags: -I${includedir}

Here is the output of scanning that file using cps-config. You'll note that the include directory is specified every time.
./build/cps-config --print-errors --prefix-variable /usr --cflags --libs nss
-I/usr/include/nss -I/usr/include/nss -I/usr/include/nss -I/usr/include/nss -l/usr/lib/x86_64-linux-gnu/libnss3.so -l/usr/lib/x86_64-linux-gnu/libnssutil3.so -l/usr/lib/x86_64-linux-gnu/libsmime3.so -l/usr/lib/x86_64-linux-gnu/libssl3.so

Should I specify include paths only in the top-level library and make the other components dependencies of that top-level one, or should I do something else?

Here is the cps file with them split as components:
{
    "name": "NSS",
    "cps_version": "0.10.0",
    "version": "3.68.2",
    "description": "Mozilla Network Security Services",
    "default_components": ["nss3", "nssutil3", "smime3", "ssl3"],
    "components": {
        "nss3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "location": "<EMAIL_ADDRESS>        },
        "nssutil3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "location": "<EMAIL_ADDRESS>        },
        "smime3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "location": "<EMAIL_ADDRESS>        },
        "ssl3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "location": "<EMAIL_ADDRESS>        },
    }
}

Here is the file with them merged into a single component using link-libraries:
{
    "name": "NSS",
    "cps_version": "0.10.0",
    "version": "3.68.2",
    "description": "Mozilla Network Security Services",
    "default_components": ["nss3"],
    "components": {
        "nss3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "location": "<EMAIL_ADDRESS>            "link-libraries": [
                "<EMAIL_ADDRESS>                "<EMAIL_ADDRESS>                "<EMAIL_ADDRESS>            ],
        },
    }
}

Here is a version that doesn't have a location (not standards compliant as the standard requires a location for dylib, maybe it shouldn't?)
{
    "name": "NSS",
    "cps_version": "0.10.0",
    "version": "3.68.2",
    "description": "Mozilla Network Security Services",
    "default_components": ["nss3"],
    "components": {
        "nss3": {
            "type": "dylib",
            "includes": {"c": ["@prefix@/include/nss"]},
            "link-libraries": [
                "<EMAIL_ADDRESS>                "<EMAIL_ADDRESS>                "<EMAIL_ADDRESS>                "<EMAIL_ADDRESS>            ],
        },
    }
}

Closing for now, the below file is what we came to on slack that works well and seems to be what we'd like to encourage:
{
    "name": "NSPR",
    "cps_version": "0.10.0",
    "version": "4.32.0",
    "description": "The Netscape Portable Runtime",
    "default_components": ["nspr4"],
    "components": {
        "nspr4": {
            "type": "archive",
            "includes": {"*": ["@prefix@/include/nspr"]},
            "location": "<EMAIL_ADDRESS>            "requires": [":plc4", ":plds4"],
        },
        "plc4": {
            "type": "archive",
            "location": "<EMAIL_ADDRESS>        },
        "plds4": {
            "type": "archive",
            "location": "<EMAIL_ADDRESS>        }
    }
}


Cargo does not pass --target to rustdoc --test for the host target

Problem
cargo test --doc --target x86_64-unknown-linux-gnu does not pass a --target flag to rustdoc if the host target is x86_64-unknown-linux-gnu. This is inconsistent with cargo doc/check/build. It caused trouble for bootstrap in https://github.com/rust-lang/rust/pull/95993.
Steps

cargo new --lib example
cd example
cargo test --doc --target x86_64-unknown-linux-gnu -v

Observe that no --target argument is passed to rustdoc.
Possible Solution(s)
Pass --target to rustdoc.
Notes
No response
Version
cargo 1.61.0-nightly (109bfbd 2022-03-17)
release: 1.61.0-nightly
commit-hash: 109bfbd055325ef87a6e7f63d67da7e838f8300b
commit-date: 2022-03-17
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/1.1.1m)
os: Pop!_OS 20.04 (focal) [64-bit]

Hmm… I believe the feature -Zdoctest-xcompile is still unstable. As far as I know, it waits for rustdoc --enable-per-target-ignores and --runtool|--runtool-arg to be stabilized.
Closing in favor of the tracking issues https://github.com/rust-lang/rust/issues/64245 and https://github.com/rust-lang/cargo/issues/7040. Thanks!

@weihanglo no, this does not depend on -Zdoctest-xcompile, it works on stable.

Also, this is about cargo doc, not cargo test --doc.

Sorry. Did you mean Cargo should pass --target to rustdoc for the host target only?

Yes, exactly. That matches the behavior of cargo build and cargo doc.


Allow mockFlags to take an unmodified string

Problem
When passing a string to mockFlags, it converts the string using lodash.kebabcase and lodash.camelcase, but does not also store the original string:
https://github.com/launchdarkly-labs/jest-launchdarkly-mock/blob/4a9f50510c6057f43a54cb1677f99f1b0fe402bf/src/index.ts#L44-L53
This causes issues where if the flag is not a "valid" kebab-case string or camelCase string, it is not included in the flags set.  For example, the flag Client-MyCoolFlag gets converted to client-my-cool-flag and clientMyCoolFlag, neither of which are the original flag.
Recommendation
Also store the original string in the flags set to allow flags that don't conform exactly to camel or kebab casing to be mocked properly.

Reviewing a similar issue, it would appear #7 solves this issue.

#7 has been merged and will be released shortly. Apologies for the long wait.


Increase retry count on npm install step for real service tests

Description
A recent test-service-clients run failed on this step despite the single retry. Given we know why that happens and it should resolve itself on the order of minutes, this bumps the retry count for the install step to 5.

I think the other two places with increased retry count on npm i aren't necessary to bump: they just install the aria-logger package, which shouldn't have transitive deps on extremely recent versions of FF.


Not working with react 0.14

I was trying to install material-ui on an app under with "react": "^0.14.0-beta3". However the package.json in master and  alarmingly also in the v0.11 branch seem to have "react": ">=0.13" as a peerDependency.
npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ~0.12.x
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
Is there any way around this ? Or are we not going to be able to combine Material-UI and React 0.14 apps for a few months to come ?

Duplication of https://github.com/callemall/material-ui/issues/1030

react 0.14 support merged to master. Can you close this issue please?

I still got the same error


pull request for e2e test at 01/25/2017 15:45:07

:white_check_mark: Validation status: passed
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.


G2p repo tests

Kinda depends on #1345

+1 needs following

+1 all nosetest pass. needs the following patch for travis
diff --git a/scripts/build_test_data.py b/scripts/build_test_data.py
index 1372ef7..bdd78c2 100644
--- a/scripts/build_test_data.py
+++ b/scripts/build_test_data.py
@@ -65,7 +65,8 @@ def buildTestData(dataDirectory='tests/data', relativePaths=False):
     for dataFile in glob.glob(pattern):
         # coordinate featureset name and g2p name
         name = dataFile.split("/")[-1]
-        run("add-g2p", repoFile, dataFile, datasetName, "-n {}".format(name))
+        run("add-phenotypeassociationset",
+            repoFile, datasetName, dataFile, "-n {}".format(name))
         run(
             "add-featureset", repoFile, datasetName, useRelativePath,
             dataFile, "-R NCBI37",  "-O", sequenceOntologyName,

@bwalsh I'll fix it after #1345 is merged


Question: How to erase subtree

Hi,
Thanks for your awesome library! I use it in my primecount project.
I would like to erase a subelement/subtree, e.g. in the example below I would like to erase ["S2_hard"]["thread1"]. Note that "thread1" may also exist in other subtrees e.g. ["S2_easy"]["thread1"] which should not be erased.
{
    "S2_hard": {
        "low": 16007169,
        "percent": 6.32297670017418,
        "s2_hard": "41872228438534",
        "seconds": 1.66252099978738,
        "segment_size": 131072,
        "segments": 24,
        "thread0": {
            "low": 9715713,
            "segment_size": 131072,
            "segments": 24
        },
        "thread1": {
            "low": 12861441,
            "segment_size": 131072,
            "segments": 24
        },
        "x": "100000000000000000",
        "y": 10990372,
        "z":<PHONE_NUMBER>
    }
}

How can I achieve this?

The erase function can do this:
#include "json.hpp"

using json = nlohmann::json;

int main()
{
    json j = R"({
        "S2_hard": {
            "low": 16007169,
            "percent": 6.32297670017418,
            "s2_hard": "41872228438534",
            "seconds": 1.66252099978738,
            "segment_size": 131072,
            "segments": 24,
            "thread0": {
                "low": 9715713,
                "segment_size": 131072,
                "segments": 24
            },
            "thread1": {
                "low": 12861441,
                "segment_size": 131072,
                "segments": 24
            },
            "x": "100000000000000000",
            "y": 10990372,
            "z":<PHONE_NUMBER>
        }
    })"_json;

    // remove key "thread1"
    j["S2_hard"].erase("thread1");

    std::cout << std::setw(2) << j << std::endl;
}

Thanks!


FIX Handle double underscored PR titles in changelog

Issue https://github.com/silverstripeltd/product-issues/issues/844
There was a __CLASS__  in one of the PR titles. The new markdown linter didn't like this

There are also other options, such as having CI on PRs check commit messages and fail if the message has markdown that will render poorly.
Maybe open a card and we can discuss options.

A better solution is desirable, though needs to be prioritized and there's no guarantee of that.  This is still better than nothing and fixes an immediate problem. We can still merge this in the meantime and replace it later with a better solution.

Have updated PR to test commit message for markdown, if it's markdown then surrond the whole message with backticks


chore: add inlined class name as comment

When classes are inlined it is not that easy to get the original class name, e.g. if you want to compare it in a different decompiler or if you need the class name for a different purpose like an Xposed module or a Frida script.
Therefore I changed the code generator to add a comment line containing the full class name of the inlined class.

@jpstotz please fix TestAnonymousClass14 test. It expects that inner class name not appear in decompiled code. Just made a more strict check, like this:
assertThat(code, containsString("use(new Thread(this) {"));
assertThat(code, not(containsString("class AnonymousClass1 extends Thread {")));


Give the user a warning if no statements are found for an activity

If a user is running an activity with tag filters which select zero statements, a warning should be issued. It should not be flagged as an error, due to some integration requirements with other testing harnesses.
Originally filed as https://github.com/engineblock/engineblock/issues/167

This works as described in the current code.


Configurable delay for autoraise and autofocus

It would be nice to have focus_follows_mouse_delay in milliseconds for excluding unexpected windows switching.
Expected behaviour:

Not activating window under pointer while mouse pointer moving;
After mouse pointer stopped activate window after focus_follows_mouse_delay;
If focus_follows_mouse_delay = 0 do it instantly (like current behaviour).

Is it possible?

what is the rationale behind it? can you give a concrete example ? what this is trying to solve?
could it be related to https://github.com/koekeishiya/yabai/issues/483 ?

This would require some structural changes for it to work, but yes, it is possible to do this.
I agree with the above comment; can you describe the problem you are trying to solve?
I appreciate that people suggest solutions, but I would like to be able to assess the problem at hand myself, and only then can I properly evaluate the tradeoffs off said solution, and whether or not I think it is appropriate.

I agree with the above comment; can you describe the problem you are trying to solve?

There is no problem )
It just my personal preference - to have a little delay before 'focus follow mouse' would be executed.
Right now I use AutoRaise app for this behaviour.
Anyway, thanks a lot for great app!🍺

I don't think that I am interested in adding this, sorry.

Hmmm, this is a pretty important feature for those that use focus follows mouse.  I wonder if there's another work around that other use?    The issues is this, occasionally it's necessary to drag the pointer across a field without losing focus.  For example, navigating to a hover popup window, or navigating to the menu bar when another window is in the way; if we lose focus, the popup will close, or the menu bar context will switch.  Sometimes this can break functionality in apps.  I provided an example of how setting focus_follows_mouse to autofocus will break functionality in the UI for Zoom
I also demonstrate how it's not possible to access the menu bar when you stack windows.  I have my terminal app and Firefox arranged in tiles; I can't get to the menu for kitty.
I really love that yabai has focus follows mouse, it's something that I've been missing on macOS for years.  AutoRaise app does work well, but it's much cooler to have it built into yabai.
https://user-images.githubusercontent.com/7843563/137838632-913e49da-7c3e-4a38-863f-28da079a596f.mov
https://user-images.githubusercontent.com/7843563/137838648-1bdb88c5-717b-4be3-8436-e6cb0a949abb.mov

The problem here is that I have one screen above the other, then when I simply move the cursor from my top screen to the bottom screen, it activates the menu bar items of the bottom screen.
https://user-images.githubusercontent.com/10601241/148644895-f1ffdfab-a4a6-4ff6-b357-70bdca83d340.mov


Product Health Metric: Number of exceptions in the pipeline that aren’t last mile problems

User Story
As a stakeholder, I want Metabase queries to surface product health metrics, so that I can gauge how well the product is performing its jobs.
Description/Use Case
We need a metric that measures the following: Number of exceptions in the pipeline that aren’t last mile problems (so excluding auth issues, or a STLT endpoint being down)
Exceptions logged within the pipeline can indicate an issue that requires an engineer's attention. This metric aims to show how many such exceptions exist.
It is expected that this metric tracks all exceptions regardless of which pipeline is being used.
Dev Notes
These notes were left by Jim Duff:
First pass done.
Todo: Put these in an Azure dashboard somewhere. IMO it would be useful to group by type of failure - typically we see patterns of failure.
Count of number of Exceptions in the last 7 days
Detailed List of Exceptions in the last 7 days
Caveat: 'last 7 days' means from 7 days ago until now --- not "last week"
Acceptance Criteria

[ ] Metabase (or other) queries exist to get this data
[ ] The queries have been integrated into the Product KPIs Dashboard

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @brick-green @jack-h-wang @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @thetaurean


Hide file text

Reverts some CSS that caused the file input to be shown
Reverts some updates to the rate spread content

Hi, any word on when the calculator will be up and running again? The link to the calculator below is returning a 404 not found error.
https://cfpb.github.io/hmda-platform-tools/rate-spread/

Thanks, @hathor777. It's back up and running. You may notice some missing images, we're working on that now, but the tool itself is working.

@hathor777 - no problem with the multiple comments.
In the future, if you see anything wrong with the tools this is the best repository to post any questions/issues.
https://github.com/cfpb/hmda-platform-tools/issues
Thanks again for letting us know there was an issue!


passpie init hangs forever on Ubuntu 14.04

Hi,
after installing passpie on Ubuntu 14.04 (0.3.0 from pip and current master tested) passpie init hangs forever after entering the passphrase. This is reproduceable on multiple systems.
Maybe a snipped strace of the moment where he is hanging is helping to figure out the problem:
stat("/home/user/.passpie/.keys", 0x7fff3db49200) = -1 ENOENT (No such file or directory)
pipe([3, 4])                            = 0
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
pipe([5, 6])                            = 0
fcntl(5, F_GETFD)                       = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fcntl(6, F_GETFD)                       = 0
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
pipe([7, 8])                            = 0
fcntl(7, F_GETFD)                       = 0
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
fcntl(8, F_GETFD)                       = 0
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
pipe([9, 10])                           = 0
fcntl(9, F_GETFD)                       = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
fcntl(10, F_GETFD)                      = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fbba9526a10) = 9632
close(10)                               = 0
mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbba5897000
read(9, "", 1048576)                    = 0
mremap(0x7fbba5897000, 1052672, 4096, MREMAP_MAYMOVE) = 0x7fbba5897000
close(3)                                = 0
close(6)                                = 0
close(8)                                = 0
close(9)                                = 0
munmap(0x7fbba5897000, 4096)            = 0
fcntl(4, F_GETFL)                       = 0x1 (flags O_WRONLY)
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbba9550000
lseek(4, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fstat(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
munmap(0x7fbba9550000, 4096)            = 0
fcntl(5, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbba9550000
lseek(5, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
munmap(0x7fbba9550000, 4096)            = 0
fcntl(7, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(7, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbba9550000
lseek(7, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fstat(7, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
munmap(0x7fbba9550000, 4096)            = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fbba5197000
mprotect(0x7fbba5197000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fbba5996fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fbba59979d0, tls=0x7fbba5997700, child_tidptr=0x7fbba59979d0) = 9633
futex(0xf2a390, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0xd6da90, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fbba4996000
mprotect(0x7fbba4996000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fbba5195fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fbba51969d0, tls=0x7fbba5196700, child_tidptr=0x7fbba51969d0) = 9634
futex(0xa2c230, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0xd6da90, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fbba4195000
mprotect(0x7fbba4195000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fbba4994fb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fbba49959d0, tls=0x7fbba4995700, child_tidptr=0x7fbba49959d0) = 9635
futex(0xd6da90, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xd6da90, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xa2c230, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xd6da90, FUTEX_WAKE_PRIVATE, 1)  = 1
futex(0xe8bfe0, FUTEX_WAIT_PRIVATE, 0, NULL^CProcess 9146 detached

Hello @icyground
This hangs a lot because of entropy on the host machine. You can take a look here: https://github.com/marcwebbie/passpie#passpie-init-hangs

Thanks @marcwebbie, that solves the problem - I thought about missing entropy or key generation but on a desktop machine without haveged I left it runiing for 20min without success so I declined this idea.


doc: update documentation to use the --shield west build command arg

Update zephyr-app-commands to generate "west build --shield ..." for west invocations using shields while still generating "cmake .. -DSHIELD=..." if the tool is set to "cmake".
Updated the various shield documentation pages to recommend using "--shields" over "-DSHIELD" to match the results of the corresponding zephyr-app-commands code snippets.
Add proper support to zephyr-app-commands for specifying multiple shields (using a comma-separated list) and fix a few invocations to use this.

Example of rendered snippet: https://builds.zephyrproject.io/zephyr/pr/75311/docs/hardware/porting/shields.html#shield-activation


Adding new target changes

@junliume This is DRAFT (many required changes are mssing)

@muralinr Custom tests can't enabled for the new target. Please refer to #1925 (test/CMakeLists.txt changes) and implement support for GFX940_ENABLED/GFX940_DISABLED. Make is disabled by default. Then we'll gradually enable appropriate custom tests by means of GFX940_ENABLED.

@muralinr Please add [MI300] to the title of this PR, thanks.

@junliume This is DRAFT (many required changes are missing)

Yes Artem. We want to enable public repository for MI300 testing.  These changes would unblock framework and other teams to start MIOPEN using public repository.

@muralinr Custom tests can't enabled for the new target. Please refer to #1925 (test/CMakeLists.txt changes) and implement support for GFX940_ENABLED/GFX940_DISABLED. Make is disabled by default. Then we'll gradually enable appropriate custom tests by means of GFX940_ENABLED.

Hi Artem, Can you please do it as you have done #1925 ?  I will be busy with XO bring up and enabling framework teams for performance testing for next few weeks. I want to merge these changes without test/CMakeLists.txt changes and unblock framework and other teams to start using our MIOPEN public repository. Thanks.

@muralinr

Hi Artem, Can you please do it as you have done #1925 ?

Sure, I will. I am going to enable the same test set as we already have for MI200 (except those that require deprecated solvers, see #2081). Please let me know if this looks good to you.
CC @junliume @JehandadKhan


Debugging ahrs

My ahrs just stopped working. I'm using the RY835AI. It had been working but today the Stratux GPS/ahrs page shows 0 for p alt, pitch, roll and heading. The power light is on on the RY835AI. The wiring looks very secure. Is there anything I can look at to see what the issue could be? Can I snoop the packets to the device?  I'm using Stratux 4r4 but I also tried 5 without change.

Try using the i2c tools.
from the command line:
apt-get update.
apt-get install i2ctools.
etc.
if you don't see any numbers at the imu address, the chip might be fried.
On 11/25/2015 01:02 AM, RobertGary1 wrote:

My ahrs just stopped working. I'm using the RY835AI. It had been
working but today the Stratux GPS/ahrs page shows 0 for p alt, pitch,
roll and heading. The power light is on on the RY835AI. The wiring
looks very secure. Is there anything I can look at to see what the
issue could be? Can I snoop the packets to the device? I'm using
Stratux 4r4 but I also tried 5 without change.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/128.

I'm not sure what good addresses are but here is what I get...
pi@raspberrypi ~ $ sudo i2cget -y 1 0X03
Error: Read failed
-Robert

0x68


Annotation for live screen

Description of the new feature / enhancement
This feature will activate with the activation of snipping tool. It allows users to live edit screen captures ( images and videos ). It will help to mark on screen like add text, draw shapes, etc., for better description in screen captures.
The tool needs shapes(oval, rectangle, arrow, line), pen, blur, and stickers(optional).
Scenario when this would be used?
It is helpful while trying to teach or explain something by marking it live on screen.
This will be very amazing and will attract more users to use default snipping tool in place of Third-Party tools.
Supporting information
No response

Zoomit would be a good tool.

Zoomit would be a good tool.

I just tried that.
Incorporating that in PowerToys with some simplification would be good.
Like instead of remembering shortcut keys, show a bar on screen on screen which is actually not captured in video, and will be visible to user only. It would be such a great feature.

/dup #149. As for simplifying I doubt we would.


Cleaned up the settings page (formatting). Added links to 'companion'…

… applications (such as the Windows Community Toolkit Sample App and Windows Compositions Samples)
Description
Changed the formatting of the About section so it's a bit more clear. Added a section with two (Microsoft Store) hyperlinks to the Windows Community Toolkit sample application and Windows Composition Samples app.
Motivation and Context
Makes the About section a bit more clearer. Companion apps can be useful to discover other apps that leverage the WinUI/UWP/Windows platforms.
How Has This Been Tested?
Please review of the 'Companion apps' sections describes what these apps are.
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Thanks @niels9001 for this cleanup pass! I especially like the companion apps section, and have been thinking about making a more formal "Useful Resources" section somewhere in the app that helps highlight these apps (and docs and more).

Yeah, great idea! I feel it should almost get a dedicated page instead of being tucked away under settings.

Is this page following the Windows 10 settings app Type Styles, or the Windows 10X ones which feels more fluent?

Good question. Closing.


TextureProgress misrendering nineslice textures

Godot version:
3.1beta5, master@146be33
OS/device including version:
Windows 10 64bit, GTX670
Issue description:
TextureProgress canvas items using 9-slice textures seem to render incorrectly at low values

Steps to reproduce:
Using background and fill 9-slice textures, create a TextureProgress canvas item. When value = 0, you should see unexpected results, but it should look ok at higher values.
Minimal reproduction project:
texturerect.zip

I have a fix for this locally. The existing code cuts off the tail of the nine slice fill, I've updated the head of the fill to be similarly truncated:

But I'm not sure if this fix, or the original version are useful. With my sample assets I have 14% of the value range lost to the gutter around the fill to make it fit in the background:

To reclaim the full value range, either the textureprogress should always embed the head and the tail of the nineslice, or the fill has its own offset and nineslice args


Update index.md

We don't want to recommend not using PageModel.

@danroth27  45 second review.

@danroth27  nice.  Minor tweak of your writing + added link to Razor unit testing.

(s)


exposing Schema.TagField constructors

fix for Issue 55

@rnbWarden can please sign the CLA?

@rnbWarden can please sign the CLA?

I've signed the CLA as rnbWarden and killed the PR as "jason.ward". I think we should be good now.


Instruction output for const-strings is weird/wrong.

I am using following function to get smali represantation of a encoded method.
    def get_smali(target_method: EncodedMethod) -> str:
        """
        Get smali represantation of target_method
        """
        smali_str = ""
        for ins in target_method.get_instructions():
            smali_str += f"{ins.get_name()} {ins.get_output()}\n"
        return smali_str

Now for const-string operation I get following outputs for different androguard versions:
v3.3.5 = const-string v14, "wcecvpfgu/ushdaiusyjr"
v3.4.0a1 = const-string v14, 'wcecvpfgu/ushdaiusyjr'
v4.0.1 = const-string v14, "'wcecvpfgu/ushdaiusyjr'"
Is this intented output for version v4.0.1 ?

Extra " comes from here. Introduced in commit. Kind.String is already handled in earlier get_kind function and returns inside of single quotes '{}'
Should I PR the removal of second Kind.String handling ?

hey @eybisi first of all thank you for taking a shot to resolve this, really appreciated.
I took a look as well and it was a tricky situation. The root cause was this commit and specifically this line is causing the issue.
This commit removed the internal mutf8 implementation that was available till that point and used the already existing pip package mutf8. This resulted in the cm.get_string(value) here already returning a string object and then calling repr on that string object. The call of repr on the string creates the double quotes. It seems repr is no longer required there. I will verify that the removal of repr does not create any other issues and commit this.

@eybisi please verify on your side as well that https://github.com/androguard/androguard/tree/977 fixes the issue and I will merge it.

Yes it fixes!

@eybisi  perfect, i will close this then.
Keep up the awesome work you do with your project.


When giving samples please keep them consistent

I 'm trying to understand SignalR client side and it's very hard to follow examples when the client refers to a method on the server that is no where to be found on the server examples.  Its hard enough that the samples provided are for easy applications when mine is a much more complex one I need to understand every piece of information provided.  Just do diligence on the examples please....

@ngreyes Please link to an example.


re: realm: Add jitsi_server_url feature.

Completing the pull request #18455 (to resolve #17914).

I had one question, what should we do here if the server setting of jitsi url is set to None. Do we want to allow to set realm-level url in that case?

Hmm, not sure; I think probably yes, since a default of "disabled" but being able to enable it seems fine.

I pushed back to this PR after a rebase, with a new commit with some manual tweaks.  I see the following issues:

The zulip.yaml changes don't have **Change** entries.
Sahil's comment above I think is not addressed: https://github.com/zulip/zulip/pull/19788#discussion_r717138235
I think we should go with null rather than the empty string for "no URL configured".  This requires various updates that I didn't do.  Though I'm not sure I'm correct here; we need a way to encode "Use default for server" as well as a way to encode "Disable Jitsi" -- I guess the latter is just setting no video call provider?  So yeah, I think null is OK, but if the way to set it in the UI is literally to delete the Jitsi server URL string and hit save, "" would be the right encoding.  Thoughts?
The compose.js logic for detecting whether Jitsi is available only checks the existing value.
We'll need to update various /help/ documentation.

Thanks for working on this @ligmitz!  Let me know when you have this updated.

@ligmitz Hi! Are you still working on finishing this up, or would you perhaps prefer for someone to pick up whatever remains TODO for this PR before it can get merged?

@mateuszmandera Hi there Mateus, I have covered almost all the pending tasks except for the documentation bit. I pinged @timabbott about this before holidays and he said he would take care of it sometime.

Hi @timabbott, can I have a review on this one. I'll fix the merge conflict once we decide to move ahead with this.

@ligmitz do you have time to rebase this? I had a look and it seems good overall. Would be easy to test this manually once it is rebased.

@ligmitz do you have time to rebase this? I had a look and it seems good overall. Would be easy to test this manually once it is rebased.

Hi @sahil839, I don't have much time to re-base this since I don't have the setup of development server on my PC. It would be fine with me if someone else can pick it up from here.

Closing as https://github.com/zulip/zulip/issues/17914 was resolved via a newer PR based on this one.


CFE declaration order will error Filtered bucket does not exist

Using runtime to install tool chain and declarations. I usually do install order of the following:
DO > AS3 > CFE
I usually do service declaration in the following order:
DO > AS3 > CFE
I have found lately that I fail onboarding with 500 errors and bucket problems. I had many issues in the past with CFE and buckets and/or ordering of declarations...similar to past ticket here https://github.com/F5Networks/f5-bigip-runtime-init/issues/34. During this time, there are absolutely NO logs hitting the GCP cloud API...and this tells me that CFE is not even trying to reach out. I have used a known working GDM template to deploy failover BIG-IPs to see the difference in API logs...and my terraform repo with DO > AS3 > CFE declaration order does not produce any API hits for storage/buckets.
Workaround
You must apply the declarations in the following order:
DO > CFE > AS3
As soon as I change the order...instant magic! I ran my terraform job again and 100% success onboarding for both big-ip nodes. I see API hits in the GCP logging for my service account IAM user too and bucket/storage hits.
Errors
Here's sample error...
Wed, 06 Apr 2022 16:40:23 GMT - finest: socket 441 opened
Wed, 06 Apr 2022 16:40:23 GMT - fine: [f5-cloud-failover] HTTP Request - GET /info
Wed, 06 Apr 2022 16:40:23 GMT - fine: [f5-cloud-failover] HTTP Request - POST /trigger
Wed, 06 Apr 2022 16:40:23 GMT - fine: [f5-cloud-failover] Performing failover - initialization
Wed, 06 Apr 2022 16:40:23 GMT - finest: [f5-cloud-failover] Device initialization complete
Wed, 06 Apr 2022 16:40:23 GMT - finest: [f5-cloud-failover] Fetched proxy settings: {"protocol":"http","host":"","port":"8080","username":"","password":""}
Wed, 06 Apr 2022 16:40:24 GMT - fine: [f5-cloud-failover] config: {"class":"Cloud_Failover","environment":"gcp","externalStorage":{"scopingTags":{"f5_cloud_failover_label":"giroux123"}},"failoverAddresses":{"enabled":true,"scopingTags":{"f5_cloud_failover_label":"giroux123"},"requireScopingTags":false},"failoverRoutes":{"enabled":true,"scopingTags":{"f5_cloud_failover_label":"giroux123"},"scopingAddressRanges":[{"range":"<IP_ADDRESS>/24"}],"defaultNextHopAddresses":{"discoveryType":"static","items":["<IP_ADDRESS>","<IP_ADDRESS>"]}},"controls":{"class":"Controls","logLevel":"silly"},"schemaVersion":"1.10.0"}
Wed, 06 Apr 2022 16:40:24 GMT - finest: [f5-cloud-failover] proxySettings: {"protocol":"http","host":"","port":"8080","username":"","password":""}
Wed, 06 Apr 2022 16:40:24 GMT - severe: [f5-cloud-failover] Failover initialization failed: Filtered bucket does not exist:  Error: Filtered bucket does not exist:
    at storage.getBuckets.then.then (/var/config/rest/iapps/f5-cloud-failover/nodejs/providers/gcp/cloud.js:353:43)
    at tryCatcher (/usr/share/rest/node/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/usr/share/rest/node/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/usr/share/rest/node/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:794:20)
    at tryOnImmediate (timers.js:752:5)
    at processImmediate [as _immediateCallback] (timers.js:729:5)
Wed, 06 Apr 2022 16:40:29 GMT - finest: socket 441 closed

Troubleshooting
I have performs TONS of tshooting to narrow this down. I have checked routes, permissions, everything looks good. I can hop on SSH on the BIG-IP and run the manual CLI command to prove the IAM user can see buckets.
{
  "kind": "storage#buckets",
  "items": [
    {
      "kind": "storage#bucket",
      "selfLink": "https://www.googleapis.com/storage/v1/b/girouxf5",
      "id": "girouxf5",
      "name": "girouxf5",
      "projectNumber": "690404916641",
      "metageneration": "1",
      "location": "US-WEST1",
      "storageClass": "STANDARD",
      "etag": "CAE=",
      "defaultEventBasedHold": false,
      "timeCreated": "2022-04-06T16:25:56.991Z",
      "updated": "2022-04-06T16:25:56.991Z",
      "labels": {
        "f5_cloud_failover_label": "giroux123"
      },
      "iamConfiguration": {
        "bucketPolicyOnly": {
          "enabled": true,
          "lockedTime": "2022-07-05T16:25:56.991Z"
        },
        "uniformBucketLevelAccess": {
          "enabled": true,
          "lockedTime": "2022-07-05T16:25:56.991Z"
        },
        "publicAccessPrevention": "inherited"
      },
      "locationType": "region",
      "satisfiesPZS": false
    }
  ]
}

Thanks for reporting and for providing these details. We'll take a look into either fixing the order issue or documenting the order requirement. Tracked with internal ID ESECLDTPLT-3078.

If you ever need to check permissions, you can ssh to BIG-IP and run this locally.
curl -H "Authorization: Bearer $(curl -sf --retry 20 -H 'Metadata-Flavor: Google' http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/token | jq --raw-output '.access_token')" https://storage.googleapis.com/storage/v1/b?project=$(curl -sf --retry 20 -H 'Metadata-Flavor: Google' http://<IP_ADDRESS>/computeMetadata/v1/project/project-id)

i am facing the above issue mentioned by you for one of my GCP cloud deployed vm. Here i am only using CFE but still getting the same error.So order of DO /AS3 is not applicable to my case. Also can you please help me edit below command as per my device data and execute. like which field i need to populate which data and then execute from F5 bash:-
curl -H "Authorization: Bearer $(curl -sf --retry 20 -H 'Metadata-Flavor: Google' http://<IP_ADDRESS>/computeMetadata/v1/instance/service-accounts/default/token | jq --raw-output '.access_token')" https://storage.googleapis.com/storage/v1/b?project=$(curl -sf --retry 20 -H 'Metadata-Flavor: Google' http://<IP_ADDRESS>/computeMetadata/v1/project/project-id)

Closing. A fix for this is not possible due to a race condition on BIG-IP. Please follow the examples in our documentation. They have been tested and work.


Commiting into the moment/locale/guj.js folder

Solving the issue number #6149 and fixing the same.

@levinbaria you need to change the src/locale/gu.js file, not locale/gu.js. Also fix tests. Also I can't really see what the change is, you should provide some proof from CLDR that the changes are warranted.


[WIP] Adding datasets to dependencies

Issue link
RHOAIENG-6475
What changes have been made
When running the training job in the basic_interactive demo notebook the following error is encountered:
ModuleNotFoundError: No module named 'datasets'
This dependency has been added to the pyproject.toml file.
Verification steps

In a jupyter notebook install codeflare SDK from this PR

git clone https://github.com/Fiona-Waters/codeflare-sdk.git -b add-datasets
pip install poetry
poetry install

Restart the kernal and run the basic_interactive demo from start to finish and ensure you do not see the error.

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[X] Manual tests
[ ] Testing is not required for this change

Closing in favour of https://github.com/project-codeflare/codeflare-sdk/pull/545


Provide plist option to defer swizzling until an 'activate' Config AP…

…I response is received and the enable tracking random check succeeds. APTT-664

crashes on device during deferred swizzle setup when the UIWebView class property is accessed off the main thread therefore always set up swizzles on the main thread

Codecov Report

Merging #58 into master will decrease coverage by 0.22%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   88.44%   88.21%   -0.23%
==========================================
  Files          26       26
  Lines        1298     1307       +9
==========================================
+ Hits         1148     1153       +5
- Misses        150      154       +4

Impacted Files
Coverage Δ

...PerformanceTracking/Private/_RPTClassManipulator.m
91.81% <80%> (-3.24%)
:arrow_down:

Continue to review full report at Codecov.

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


[Bug]: API Tokens view filtered by user and not by team

Error Message and Logs
Admin view : Keys and Tokens > API tokens
It is said "Tokens are created with the current team as scope.", however the list of issued tokens only displays those created by the current user. Tokens issued by other users for the same team are not listed.
Steps to Reproduce

create two users, members of the same team
user # 1 creates a new API token
user # 2 creates a new API token
each user can only see the API token he/she created and not the other one

Example Repository URL
No response
Coolify Version
v4.0.0-beta.360
Are you using Coolify Cloud?
Yes (Coolify Cloud)
Operating System and Version (self-hosted)
No response
Additional Information
No response

Yes, having the current team as a scope means that you can only access resources in that team. It is not a token that has access to everything. And also it is normal that you only see your tokens, the other thing would not really be a good thing from a security perspective.

@peaklabs-dev
I completely understand the "team scope".
However, I don't quite get the "a user can only see his/her own tokens" ; where is the security issue for there is no sensitive information displayed?
Listing all team's tokens may give enough information for other team members that certain keys already exist (by their given names) and not (re)generate them... which is what we experienced! :)


Support extensions other than .glsl

Hi,
Is there any particular reason why this plugin only accepts files with .glsl extension?
I'm more used to working with .vert/.frag for my shaders (as those seem to be preferred by the official Khronos tools), while some other people prefer .vs/.fs or many other options (see here for example).
I'm thinking about opening a pull request to whitelist at least these extensions but I'm just wondering whether this plugin should care about extensions in the first place or just allow any file to be processed (based on the include option). What are your thoughts on this?

You are right. I did this to not have to write an include configuration in my project. I have accepted your PR.


Logging bar timestamp, in compliance.

I am trying to log transaction in compliance, but I noticed the timestamp which is being passed .
How we can get actual time of bar/tick.
class IBSimulatedExecutionHandler(AbstractExecutionHandler):

    def execute_order(self, event):
         timestamp = self.price_handler.get_last_timestamp(event.ticker)

In above code we are passing last_timestamp. What is use case of passing get_last_timestamp?

get_last_timestamp is there because the Event passed into the ExecutionHandler does not provide a timestamp -- we must look it up historically. If it weren't for this, none of the events from a backtest would be logged with time.
If you would like to also log the full event that causes a strategy to create a Signal, I would suggest creating your own Compliance module (basically just copy the current one and add one extra method, log_signal()), and have your Strategy call that method with anything extra you would like to log.
Would that roughly achieve what you're looking for? Technically speaking, the ExecutionHandler should not log the time of a tick -- it should log the time that an order was actually executed. In practice this is probably a few ms after the tick, plus network latency. Just be aware that the SignalEvent created by your strategy may not actually be executed, if for example, your RiskManager decides not to allow the suggested position.

I do not want to log the signal time but the trade time, which I think should be very close to signal time.
Looking into timestamp of ExecutionHandler that's not a the time should be logged. As it always gives first bar time of minute data.
#109 should certainly solve the problem.


V2 Auto Multiline Detection - Fix truncation + Clean up logs parser tag handling

What does this PR do?
This PR is a followup to https://github.com/DataDog/datadog-agent/pull/28339 and sets out to cleanup how tags are handled from the parsers/decoder. Along the way I found that truncation wasn't working correctly in the new auto multiline aggregator.

Tag handling for parser/decoder is centralized around ParsingExtra.Tags instead of case by case. As a result supported tailers now get truncated logs tags (docker, socket, file) when enabled.
Fixes a bug in auto mulitline aggregator where truncated logs were not being handled correctly (test cases added)
Adds option logs_config.tag_auto_multi_line_logs for the new auto multiline aggregator. This setting is intentionally undocumented for now as I will be using it for internal testing and validation. We may decide to document this for public use in the future.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

e2e test cover tags in the socket tailer
e2e test cover standard tags on the file tailer

Same QA as https://github.com/DataDog/datadog-agent/pull/28339
Also:

in datadog.yaml

logs_enabled: true
logs_config:
    experimental_auto_multi_line_detection: true
    tag_truncated_logs: true
    tag_auto_multi_line_logs: true
    max_message_size_bytes: 200

Send these logs

2024-05-16 17:07:57,235 - root - ERROR - Got exception on main handler
2024-05-16 17:07:57,235 - root - ERROR - Got exception on main handler
Traceback (most recent call last):
  File "//./main.py", line 34, in <module>
    a()
  File "//./main.py", line 21, in a
    def a(): b()
  File "//./main.py", line 20, in b
    def b(): c()
  File "//./main.py", line 18, in c
    def c(): e()
  File "//./main.py", line 16, in e
    def e(): f()
  File "//./main.py", line 15, in f
    def f(): g()
NameError: name 'g' is not defined
2024-05-16 17:07:57,235 - root - ERROR - Got exception on main handler
2024-05-16 17:07:57,235 - root - ERROR - Got exception on main handler

in the logs explorer - they should be correctly truncated (NOTE: The date ordering is swapped to keep the logs in the order of the file above)

Each log should have the correct tags (auto_multiline and truncated)

/merge

/merge


Homepage design

Contents inside Homepage :

Navbar

register
login

body

divide the body into multiple sections
SECTION1: some text about lazyport and frog 🐸  images
SECTION2: features of lazyport in text or images

footer

simple footer with some links 🔗

Can discuss in /discussion/Ideas for additional design features 😺

The body section I am think of

About us
what we offer
contact

our lazy port doesn't have any social right?
what we need to add?

Can we even add what are the steps to follow to make portfolio using our website?
WDT guys?

Just leave the footer with div for now, well add it later

This is the layout I am thought and designed.
Can you guys share your feedback.
@Blaize15 @surani-hub @MrSilo


Broken link on gather knowledge page

Which part of the repository is your change request related to?
https://github.com/International-Data-Spaces-Association/idsa/blob/main/how-to-build-data-spaces/1-Gather-Knowledge.md
Please describe which content you would expect here and tell us how to solve this request
The last link on the page is broken

@tanguycoenen Thank you very much for noticing this :) The link has been removed and replaced with a link to IDS Lab.


.net

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

@Anas-Mohammed-A2 there is no any info about what issue you have encountered, closing


Can't assign never as object value to conditional type

🔎 Search Terms
"never conditional not assignable"
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about never

⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.4.0-dev.20231128#code/C4TwDgpgBAYg9nAPAFQHxQLxQN4DcCGANgK4QBcUyAvgNwBQokUAQvgE4rpbJQQAewCADsAJgGcoxURABmASyEQRUAPw4CJcpSpQKeIqQrV6dGVIDGwOXCFQARu04AKAJQ46UT1HM2xwKHwU8EhomOoGWgAMUPgSirgQbLQeXj5CflAgFKwcoVj6mhTRsVDxicle3r7+AF7ZjnlQxXEQCWz0VEA
💻 Code
type Foo<T> = {value: T};
type Bar<T> = T extends undefined ? {value: T} : {value: T};

function bar<T>() {
    const x: Foo<T> = {value: 0 as never};
    const y: Bar<T> = {value: 0 as never};
    const z: Bar<T> = 0 as never;
}

🙁 Actual behavior
Type '{ value: never; }' is not assignable to type 'Bar<T>'. on the const y line, despite the fact that Bar should be equivalent to Foo
🙂 Expected behavior
I expect to be able to assign never to everything
Additional information about the issue
No response

Resolving of conditional types involving unbound type arguments is deferred. The compiler doesn't know what type T is, so it can't resolve the conditional type.
This should really be added to the FAQ, given how often this gets reported (a lot).

Duplicate #51488, others


Docs accessibility fixes

IMO we should backport these.
@patrickhlauke: there are probably more color and general accessibility issues, but I try to solve the issues in batches. There's one thing that bugs me:

This form does not contain a submit button, which creates issues for those who cannot submit the form using the keyboard. Submit buttons are INPUT elements with type attribute "submit" or "image", or BUTTON elements with type "submit" or omitted/invalid.

For the search form.

A few more syntax highlighting colors that fail right now:

#0a8 .nc
#099 .cp
#3aa .sr

Any suggestions welcome.

Darkening the colors should be ok, I just did that in 200b0c0e80c70d7da4b686f08cc6d048608381ae

@MartijnCuppens: not quite there yet :P The ratio seems to be 4.49 for .cp and .nc at least.
I personally use the https://squizlabs.github.io/HTML_CodeSniffer/ bookmarklet.

I used Chrome's built-in colorpicker which can behave a little buggy it seems. Changed the values now

I'll go through the pages tomorrow and see what else is left. I'm still not sure how to proceed with the search form.

@patrickhlauke: friendly ping :)

Alright, here's the list of the remaining syntax highlighting related issues:

mf: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.79:1. Recommendation: change text colour to #3e1900.
mh: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.79:1. Recommendation: change text colour to #3e1900.
mi:This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.79:1. Recommendation: change text colour to #3e1900.
nd: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.38:1. Recommendation: change text colour to #00003e.
nf: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 3.98:1. Recommendation: change text colour to #32003e.
nn: This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.8:1. Recommendation: change text colour to #00323e.

They seem a little tricky since they are dark already

Alright, I found a pretty decent tool so I'll go through this tomorrow and use the closest colors.

I think this can be reviewed. We haven't heard from @patrickhlauke, so I guess we'll tackle the remaining stuff later.
@MartijnCuppens I changed the colors you changed, let me know if you agree with the new ones
@mdo @ysds please also have a look at the changes

How do you mean exactly? I think it would be better if we tackled it in a separate PR later, just don't forget about it.
For the time being, I just want another approval from @mdo or @ysds or @patrickhlauke

Ping @mdo for review

This looks good from my tests so far.
We need to double check these though:
.bd-callout-info { @include bs-callout-variant($bd-info); }
.bd-callout-warning { @include bs-callout-variant($bd-warning); }
.bd-callout-danger { @include bs-callout-variant($bd-danger); }

few more bits of low contrast i stumbled across while looking over https://deploy-preview-29208--twbs-bootstrap.netlify.com/ (some of these part of our core BS styles though, so not specifically documentation i guess)

the search form is probably tricky, as it's not really a form as such that you submit, but rather that you type in and get your results right away/supposed to select from the dropdown...bit of a quirky one.
i'd note though that there as well though, contrast starts to get quite low (around 4.3:1)

Yeah this doesn't fix all of the issues. I'll try to tackle the rest in
separate PRs.
On Mon, Sep 16, 2019, 22:27 Patrick H. Lauke<EMAIL_ADDRESS>wrote:

few more bits of low contrast i stumbled across while looking over
https://deploy-preview-29208--twbs-bootstrap.netlify.com/ (some of these
part of our core BS styles though, so not specifically documentation i
guess)
[image: non-text-content-low-contrast]
https://user-images.githubusercontent.com/895831/64986759-a596fe00-d8bf-11e9-9a66-5a486a2efbad.png
[image: 2to1]
https://user-images.githubusercontent.com/895831/64986760-a596fe00-d8bf-11e9-9edc-74676d483be3.png
[image: 3 4to1-4to1]
https://user-images.githubusercontent.com/895831/64986761-a62f9480-d8bf-11e9-9de3-c0a694adaefd.png
[image: 4 4to1]
https://user-images.githubusercontent.com/895831/64986762-a62f9480-d8bf-11e9-9bf1-bc7cf529584e.png
[image: 4 4to1-2]
https://user-images.githubusercontent.com/895831/64986763-a62f9480-d8bf-11e9-81ba-eb91fee4b364.png
[image: 4to1]
https://user-images.githubusercontent.com/895831/64986764-a62f9480-d8bf-11e9-8fc9-6db292b71434.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/29208?email_source=notifications&email_token=AACVLNKIQNJLI6ESWTD2RCLQJ7M3RA5CNFSM4IJLDGOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62HO6Q#issuecomment-531920762,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACVLNPYHBQOJ6TEF2K2LF3QJ7M3RANCNFSM4IJLDGOA
.


config, replica_strategy, filter: add new replication config isolation-level to isolate replicas explicitly and forcibly

Signed-off-by: JmPotato<EMAIL_ADDRESS>What problem does this PR solve?
Add a new replication config named isolation-level according to #2528 #2418
What is changed and how it works?
With the new config isolation-level, SelectStoreToAdd in replica_strategy.go will filter out stores to isolate replicas explicitly and forcibly. For example, a region has 3 replicas in z1, z2 and z3 individually. With IsolationLevel = zone, if the region on z1 is down, we need to filter out z2 and z3 because these two zones already have one of the region's replicas on them. We need to choose a store on z1 or z4 to place the new replica to meet the isolation-level.
Check List
Tests

Unit test
Integration test

Code changes

Has configuration change
Has replica_strategy change
Has filter change

Release note
Add a new replication config named isolation-level to isolate replicas explicitly and forcibly.

/run-all-tests

/run-test

/run-all-tests


Sorry must say this, can we have a version of golang without GC?

Sorry must say this, can we have a version of golang without GC?

A lot of people are migrating to rustlang coz of this. I truly wish not to do so too (very tempted for that extra 14-25% speed improvement and ~15% memory reduction) BUT rust is "overly" complicated and too slow to compile.
I propose a gc-less branch called GoX with the following focus:

The syntax and keywords of the golang programming language remain BUT only without the GC part and we don't have to do it "unsafely".
A well thought of structure so we can migrate / rewrite from current GC version to the GCless one easily / easier.
A plan whereby the GoX can be converted to wasm easily with/without TinyGo.

I've wrote go for 3 years now and ALL my code logic is working fine. However, the speed improvement possibility using rust is overly tempting. (i've sort of stretched the limits of golang performance improvement... sort of extreme but i know rust can do ~15% better CPU efficiency and 15% lesser memory compared to an extreme optimized golang for mid size programs. the more you write, the slower it should get once more memory is used. I've tried running golang using 50GB memory. the "stop the world" spike is definitely there once a while but not a very serious thing so far. It's more of the wasm output which I'm talking about for TinyGo etc., also because of cloud functions, gcless should be "better"). I understand the rationale to defend continual using GC golang and i've hand fine tuned gc problem etc. too so this is not about how to write go code by minimizing gc.
About to move to rust like a lot of people but after reviewing all the past 3 years code I've written, if we can just have a GoX (without GC), I don't need to translate my code to rust.
Please make this a real possibility. I'm sure within 2 years can be achieved. And once so, even if 5% lesser cpu efficiency and 5% lesser memory compared to rust, that'll be extremely good. My problem with golang is nothing but GC, which slows things down and when used with TinyGo conversion to wasm, the GC code bloats the wasm output.
Is this something that the golang community is looking at? I know plenty people write unsafe golang code to do away with the gc issue. Does not matter at all. GoX should be extreme speed efficiency of golang. So means GC must go.
With reference to https://github.com/golang/go/issues/29147, quoted:

Garbage collection: as mentioned before there is no way to avoid this in the Go language, but how this is implemented is an implementation choice and not a language choice.

I don't think so. If the community wants a GCless golang, we can make it happen. It's just a programming language. Simplistic point of view, just "Turn off GC", "remove GC", "let GC run once every 10,000 years"... right?
GoX <- will this be happening in 5 years? Coz I don't want to learn rust or another language more.
If yes in 5 years time, I will not learn anything more but prepare my golang codebase for conversion. If no, then... no choice but rust. What's the feedback? Appreciate the work on golang. It's definitely a great language to work with (for those who know what they are doing).

"Go without GC" wouldn't be Go, it would be a different language. It's fine to want a language without a garbage collector, but this is the Go issue tracker, and the people around here are working on Go, and not a different (hypothetical) language with Go-like syntax and no GC.
I suggest reading the Why do garbage collection? Won't it be too expensive? FAQ to understand the background of this decision.
I'm closing this issue since I don't think it is in scope for the Go issue tracker.

@ALTree That's a rather narrow view. Crystal has garbage collection, but one can disable it and the language is still Crystal. There are legitimate reasons to not have GC, primarily embedded systems. Why wouldn't Go want to offer a solution for these use cases as well?

I suggest reading the Why do garbage collection? Won't it be too expensive? FAQ to understand the background of this decision.

One of the biggest sources of bookkeeping in systems programs is managing the lifetimes of allocated objects.

In languages such as C in which it is done manually, it can consume a significant amount of programmer time and is often the cause of pernicious bugs.

Based on what data you make these assertions?

I suggest reading the Why do garbage collection? Won't it be too expensive? FAQ to understand the background of this decision.

One of the biggest sources of bookkeeping in systems programs is managing the lifetimes of allocated objects.

In languages such as C in which it is done manually, it can consume a significant amount of programmer time and is often the cause of pernicious bugs.

Based on what data you make these assertions?

Please take this discussion to another forum.

Please take this discussion to another forum.


Allow .graphcool file in current folder

 Issue by timsuchanek
Tuesday Sep 05, 2017 at 18:37 GMT
Originally opened as https://github.com/graphcool/cli/issues/153

Makes multi env development easier.

This is especially needed for CI environments, where you don't have a "home" folder.
The CLI searches up from the current working directory and looks for the "next" .graphcool file.
This allows having a streamlined process.
When we understand the processes better, we later can put this information alternatively into environment variables, but they are rather limited.

@timsuchanek This is great, and will definitely open up possibilities for CI :tada:


Mouse scroll wheel doesn't work

Hi there, I just compiled the <IP_ADDRESS> version, up until #0c1c2c commit, and when I try to scroll the launcher settings page, the scroll wheel doesn't scroll, but scrolling through the touchpad (yes I'm a laptop user) works. I also tried with another mouse I had and it still doesn't scroll. Also the console doesn't show any error

Seems like an issue for the runtime (WinUI 3/WindowsAppSDK) instead of the launcher code.
Can you try use this build and see the issue still occur or not?
https://github.com/neon-nyan/CollapseLauncher/releases/tag/CL-v<IP_ADDRESS>-test

I can test it in around 2 hours. I'll let you know for sure (and I apologize for the trouble I'm causing)

Still doesn't work

I'm curious if it's some sort of runtime (WinUI 3) issue for certain build of Windows or not.
Anyway, what windows build do you use?

Windows 11 Home Build 22000.1042

Can you try this test build and see if the issue is still able to be reproduced or not.
https://github.com/neon-nyan/CollapseLauncher/releases/tag/CL-v<IP_ADDRESS>-test

Still able to reproduce the issue (though I like the reworked ui)


Fairly comprehensive .gitIgnore to help less advanced contributors (g…

…enerated via IntelliJ gitIgnore.io)
fixes #33
@samWson I think we are thinking the same thing here.

Overkill perhaps but it doesn't hurt. We can always add or remove later.

Yeah - I think it can be trimmed down. I noticed it when using IntelliJ to help checkin some of the other .md docs (and there were a bunch of distracting misc files).
I didn't want to mess with it too much - I think we need to use it and see and then clean it up.


As a user I can't remove items from the shopping cart

Summary
When I add items to the shopping cart it is impossible to remove it.

Steps to reproduce

Add few items to the basket
Go into shopping cart

Current result: It is impossible to remove any items
A link to a reproduction repository
No response
Output from envinfo
No response

Hi Team,
I hope you're doing well. I noticed the issue #[901] titled "[As a user I can't remove items from the shopping cart]" in your repository, and I'd like to contribute by fixing it. I believe I've identified the problem and have a potential solution in mind.
Here's my plan for addressing this issue:

Understanding the Issue: I'll start by thoroughly understanding the problem described in the issue and examining the codebase related to it.

Proposed Solution: Based on my analysis, I'll propose a solution that should address the issue. This may involve making code changes, writing tests, or updating documentation as needed.

Pull Request: Once I'm confident in my solution, I'll fork the repository, create a new branch, and make the necessary changes. Then, I'll submit a pull request to your repository, referencing this issue.

Testing: I'll ensure that my changes do not introduce new issues and will test the fix against different scenarios or edge cases, if applicable.

Documentation: If necessary, I'll update the documentation to reflect the changes I've made.

Continuous Communication: I'll keep you updated on the progress of the pull request and address any feedback or changes you may suggest promptly.

Please let me know if you have any specific guidelines or coding conventions I should follow while working on this issue. If there are any additional details or context you'd like to provide, I'd greatly appreciate it.
Thank you for maintaining this valuable open-source project, and I look forward to contributing to its improvement.
Best regards,
vivek


How to receive message as OSC Server

Hi
I used OSC Client and it is working great. Now I am trying use my app as OSC Server to receive messages. But when I am sending message nothing gets received. Please help.
I am using the following code
declaration and initialization
var server = OSCServer(address: "<IP_ADDRESS>", port: 9000)
in viewdidload
server.start()
server.delegate =  OSCHandler()
Another class
class OSCHandler: OSCServerDelegate {
func didReceive(_ message: OSCMessage){
print(message)
}
}

Try leaving the server address blank.

On Aug 27, 2018, at 1:04 PM, parul1986<EMAIL_ADDRESS>wrote:
Hi
I used OSC Client and it is working great. Now I am trying use my app as OSC Server to receive messages. But when I am sending message nothing gets received. Please help.
I am using the following code
declaration and initialization
var server = OSCServer(address: "<IP_ADDRESS>", port: 9000)
in viewdidload
server.start()
server.delegate = OSCHandler()
Another class
class OSCHandler: OSCServerDelegate {
func didReceive(_ message: OSCMessage){
print(message)
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yup, got it ... works :)


unify_task.py is not completed

fairseq.data.FairseqDataset, fairseq.data.iterators, math are missed in file unify_task.py.
I use pretrain_data_examples.zip you have provided, follow the description pretraining, and run
cd run_scripts/pretraining
bash pretrain_ofa_base.sh

Error got as follows:
  ...
  File "/workspace/project/OFA/trainer.py", line 664, in get_train_iterator
    disable_iterator_cache=disable_iterator_cache,
  File "/workspace/project/OFA/tasks/pretrain_tasks/unify_task.py", line 172, in get_batch_iterator
    assert isinstance(dataset, FairseqDataset)
NameError: name 'FairseqDataset' is not defined

  ...
  File "/workspace/project/OFA/trainer.py", line 664, in get_train_iterator
    disable_iterator_cache=disable_iterator_cache,
  File "/workspace/project/OFA/tasks/pretrain_tasks/unify_task.py", line 184, in get_batch_iterator
    num_batches = math.ceil(math.ceil(total_row_count / num_shards) / max_sentences)
NameError: name 'math' is not defined

  ...
  File "/workspace/project/OFA/trainer.py", line 664, in get_train_iterator
    disable_iterator_cache=disable_iterator_cache,
  File "/workspace/project/OFA/tasks/pretrain_tasks/unify_task.py", line 190, in get_batch_iterator
    epoch_iter = iterators.EpochBatchIterator(
NameError: name 'iterators' is not defined

@flymark2010 Thanks for your feedback! We forgot to import the corresponding packages in the last update. The latest commit have imported the missing packages, please check out our latest code and have a try.


Typo in /docs/intro/ page

Question
The quote that explains what the acronym "BLoC" means has a typo in the word "Bussines":

IMPORTANT: BLoC is an acronym for Bussines Logic Component.

Expected behavior
The word should be written as "Business".

There are also some other writing issues on this page, I've reported #74 already and I'm planning to open more issues.
However, I'm not sure if that's the best way to proceed, it seems very granular and it'll introduce lots of overhead just to fix a few typos. Would it be better if I submitted a single PR with all the fixes I consider pertinent?

Thanks!


Update "About this site" link to this repo when we go live.

Or we add a fork-me ribbon but perhaps that looks strange to non-technical people.


Add SensorPackage for Kerbalism from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of 3x01, to add SensorPackage for Kerbalism to CKAN.
Mod details:
name = /mod/2145/SensorPackage%20for%20Kerbalism
author = 3x01
abstract = Integrates the Barometer, Thermometer, Geiger Counter, and Gravity experiments into probe cores and pods. Patch made using v2.1.2 of Kerbalism and 1.6.1 of KSP. Do NOT use with 3.0
license = MIT
Homepage =
description =
Please direct questions about this pull request to 3x01.

#rebuild


.NET 6 DateOnly Property Not Deserialized Correctly

Describe the bug
When using container.ReadItemAsync<T>() to fetch an object with a DateOnly property, the property has a value of 01/01/0001. Looking a the document directly in Data Explorer the property is serialized as follow:
"testDateOnly": {
    "year": 2020,
    "month": 5,
    "day": 30,
    "dayOfWeek": 6,
    "dayOfYear": 151,
    "dayNumber": 737574
}

It seems it's unable to deserialize this property correctly when fetching.
To Reproduce
    public class TestClass
    {
        public string Id { get; set; }
        public DateOnly TestDateOnly { get; set; }
    }

    public async Task TestDateOnlyAsync()
    {
        var testClass = new TestClass { Id = "d99ee405c09d46d2bdc68c84f2a47acb", TestDateOnly = new DateOnly(2020, 05, 30) };

        await container.UpsertItemAsync(testClass, new PartitionKey(testClass.Id), new ItemRequestOptions { EnableContentResponseOnWrite = false });

        var fetchedEntity = await container.ReadItemAsync<TestClass>("d99ee405c09d46d2bdc68c84f2a47acb", new PartitionKey("d99ee405c09d46d2bdc68c84f2a47acb"));

        Console.WriteLine(fetchedEntity.Resource.TestDateOnly);
    }

Expected behavior
Expected output: 30/05/2020
Actual behavior
Actual output: 01/01/0001
Environment summary
SDK Version: v3.23.0
OS Version: macOS Monterey

Removing Cosmos from the picture, you'll see the same behavior.
DateOnly expected = new DateOnly(2021, 10, 8);

string json= JsonConvert.SerializeObject(dateOnly);

DateOnly actual = JsonConvert.DeserializeObject<DateOnly>(json);

Ultimately the issue is NewtonSoft isn't properly handling DateOnly. Your best bet is to create your own custom serializer for DateOnly.
https://github.com/JamesNK/Newtonsoft.Json/issues/2521

Yeah, it seems the same issue exists with System.Text.Json and ultimately it's because .NET 6 shipped without serialization support for DateOnly and TimeOnly. I guess this isn't an issue that can be fixed within the Cosmos SDK.
https://github.com/dotnet/runtime/issues/53539#issuecomment-962674409

Closing this issue since this problem is not caused by Cosmos DB SDK.


Extend webservice to support obtaining unoconv version and supported formats

Hi there,
Thanks for this - it works great and saves a lot of hassle ;)
To help with preventing errors, would it be possible to call the webservice and obtain version and support format information?
Thanks,
Eugene.

You're welcome @eugeneventer
I like your idea. I have opened an issue over at https://github.com/zrrrzzt/tfk-api-unoconv/issues/1 (that is the actual webservice)
Could you add a couple of lines in the new thread with some example of how you would like input/output to function.


Noble can permanently stop scanning after a bluetooth adapter state change

Hey @sandeepmistry, I've been racking my brain over this one all morning, and could really use some help. Here's the context:
I'm testing this on a Mac

I call NobleDeviceSubclass.discoverByUuid(...)
While Noble is scanning, before it's found a device, I disable my bluetooth adapter.
I then enable the bluetooth adapter.
My initial discover/scan requests is lost. CoreBluetooth does not restart the scan after the CBCentralManager state has changed. However, the NobleDeviceSubclass emitter still has a listener for the the 'discovery' event.
There's a timeout in my code and I call NobleDeviceSubclass.discoverByUuid(...) again.
Now there are 2 listeners assigned to 'discover'. The condition on line 37 in "util.js" is then false, and noble will not start scanning for this discovery request, or future ones.

Is there a way that we can clean up stale listeners on the 'discovery' event?
Perhaps we can add error parameters to the discovery callbacks. In the event that the Bluetooth adapter changes state, scanning is stopped, callbacks fired with an error, and 'discover' listeners are removed.
Very curious to hear your thoughts.
-Ray

Is there a way that we can clean up stale listeners on the 'discovery' event?

I think we can just remove the listener here: https://github.com/sandeepmistry/noble-device/blob/master/lib/util.js#L44
One is added in the state changes to poweredOn above. The .once would also have to be changed to .on to track the state changes after powered on.

Perhaps we can add error parameters to the discovery callbacks. In the event that the Bluetooth adapter changes state, scanning is stopped, callbacks fired with an error, and 'discover' listeners are removed.

Yes, error aren't handled at all currently. I'm on the fence on this one, the NobleDevice.discover* API's callback parameters have the potential to be called more than once. I was thinking of them more as event callbacks, which usually don't have error parameters.
An alternative would to have an event handler for discover errors, something like:
YourThing.onDiscoverError(function(error) {
  // ...
});

or
YourThing.on('discoverError', function(error) {
  // ...
});

I like the syntax of the second option, but it might be a little more complicated to implement ... thoughts?
Another alternative is to automatically start scanning again, if a discover is pending, after the state returns to powered on. Would that be cleaner?

@sandeepmistry, nice suggestion about automatically restarting the discovery. I'm up for making things simple for the user and having a pending discovery resume when the state returns to powered on.
It seems like there should be a way to have a user request that a discovery attempt should end.   If I call "discoverAll", then I can end this attempt by calling "stopDiscoverAll" with the same listener function.  If I call "discover", "discoverWithFilter", or "discoverByUuid" then I'm unable to cancel these discovery attempts.   Do you agree?
That makes sense about the error parameters. I also prefer of the syntax of the second option.

@raykamp so it sounds like a reasonable fix to this issue is to automatically restarting the discovery. It's nice and simple. Then we probably can defer the error handling stuff for now, thoughts?
Good suggestion on having "stopDiscover*" methods, please open a separate issue to track that one.

Sure thing, @sandeepmistry. I've created a new issue here: https://github.com/sandeepmistry/noble-device/issues/10
I agree in thinking that we can defer the error handling for now.

@raykamp try out https://github.com/sandeepmistry/noble-device/commit/02f5fb9abfbc964d1edd6e97cb08bd746fa332b1 when you get a chance.
A side effect of this change is peripheral's might be discovered multiple time every time a state change of powered on is triggered - I think this is only for discoverAll ...

@sandeepmistry, I tested the commit and it is working well.
Good point about that side effect. Personally, I'm not worried by it, but if a user needed, they could write this process of filtering duplicates in their application.

@raykamp agreed, if the state changes back to powered on, I imagine most users would want to re-connect anyways.


Apppool properties #58

Newer version of the apppool properties https://github.com/opscode-cookbooks/iis/pull/58

updating my fork to upstream then repushing


Run/test METplus container using output from WRF container

Work from #40 is needed before this task can be started.
Describe the Task
Note that this running and testing should be performed on Derecho, as discussed in the I-WRF project meeting on 2/23/24.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the task down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
[ ] Select Milestone as the next official version or Future Versions

Task Checklist

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Working meeting to make progress on this issue schedule for Tuesday, April 16 at 11:00am.

Just a note to update that over a month ago we completed this step for other platforms (Jetstream2, Red Cloud, Windows), but it hasn't been completed yet for Derecho. Before we can close this issue, we'll need to complete #46 to have the WPS/WRF container running fully on Derecho and then write up documentation for all the steps to address #38.


Appbar flyout

Is it possible to use the appbar flyout outside the window and the bottom of the window?

@NicoTravassos sorry, that's not yet possible

@punker76 is there plan for it to be feature.

@di48l069 No plan for such feature. Maybe a way for you, create a custom borderless window that looks like a flyout and set it's location at bottom or where do you want.


Update links and miscellaneous sections to reflect UniNurse

Also to add an intro to describe what the DG does


Take a lookup path from $COOKIEJARS

I want to add a feature where if the env var COOKIEJARS exists (or possibly CC_COOKIEJARS, with less risk of any naming collisions), it's used to look for locally installed cookiecutters. Semantics should be like MANPATH, including that an empty path element represents the default location (i.e. cookiecutters_dir).
Use-case is to point to e.g. git submodule collections that are installed somewhere in the fielsystem and need to be found. Note that these dirs would be never modified by cookiecutter itself, unlike the cookiecutters_dir cache.
Thoughts?

With #825 you can now refer to local templates based on your cookiecutters_dir settings.


Release azure-cli-context 0.1.1b1

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Release of 'azure-cli-context' with version '0.1.1b1' successful. View at https://pypi.python.org/pypi/azure-cli-context/0.1.1b1.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Unable to delete a realm object

I get the following error:
reason: 'Can only delete an object from the Realm it belongs to.'
The following is my code..I am following the docs fine. The top function, I am adding an object to realm and second function, I am deleting. What is wrong?
    if (selectedlib.selected) {

        RLMRealm *realm = [RLMRealm defaultRealm];
        [realm beginWriteTransaction];

        FavoriteLibraries *information = [[FavoriteLibraries alloc] init];
        information.libraryName = selectedlib.name;

        [realm addObject:information];
        [realm commitWriteTransaction];

    } else {

        RLMRealm *realm = [RLMRealm defaultRealm];
        [realm beginWriteTransaction];

        FavoriteLibraries *information = [[FavoriteLibraries alloc] init];
        information.libraryName = selectedlib.name;

        [realm deleteObject:information];
        [realm commitWriteTransaction];

    }

@dudduss Realm can only delete "persisted" objects. To deleting objects, fetch persisted objects first, then pass the objects to deleteObject() or deleteObjects() method.
It seems that you are trying to delete the object that was just made. What is the object you'd like to delete actually?

Hi I did exactly that and it worked. Thanks for the help.

According to the primary key to delete????


Openvino notebook build intermittently fails

Describe the bug
Description of problem:
While testing ISVs on RHODS v1.29 RC 2 I got stuck while building an openvino image in the cluster. I keep getting this error in my cluster:
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
package nodejs-2:14.18.1-1nodesource.x86_64 does not verify: no digest
error: build error: building at STEP "RUN curl -sL https:/...ec-severity=Moderate": while running runtime: exit status 1
Full logs: openvino-notebooks-v2022.3-1-undefined.log
I tried in other clusters without being able to reproduce it, however as I faced it, it could be faced by our customers too.
This issue may be out-of-scope for RHODS, but I think we should investigate and report to Intel if something must be changed
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
Install OpenVINO operator (either marketplace or certified)
deploy OpenVINO notebook with default settings from OCP Console > Operators > Installed Operators > Openvino toolkit > Notebook (ns: redhat-ods-applications)
go to OCP Console > Builds > Builds
check the build status
Actual results:
build fails
Expected results:
build succeeds
Reproducibility (Always/Intermittent/Only Once):
Intermittent
Build Details:
The bug is still relevant on RHODS1.34 with OCP 4.12 FIPS enabled
https://github.com/openvinotoolkit/openvino_notebooks/files/13417038/openvino-notebooks-v2022.3-1-undefined.log
Transfer of https://github.com/openvinotoolkit/openvino_notebooks/issues/1398

The build operation was actually successful but the error was coming from the push to the local registry. Most likely this is related to the cluster issues like insufficient storage or some other problems from registry container.


Code Organization

I want to learn from this project. I can't understand why there are 4 different packages each having its own package.json. Usually, a project has two: one for Web PAck development server and the second for API server.
I am also curious to know about the state of the project. Is it complete, or development is suspended, or the  main contributor is working on any other branch? Can we use the code in a production environment?

Hey @coooolers sorry I've been busy. I'll make time tomorrow morning to tidy up and write a detailed overview.

Thank you. Also pl. mention how to install it locally. I followed these steps but was not successful.
Run the frontend using yr dev from within packages/frontend. In another terminal window, start the server using yr dev from within packages/server.

Can you pl. update the Overview and write the steps to install and run the program.

All set https://github.com/strues/boldr/blob/develop/docs/setup.md

/Project/boldr/project$ yarn seed
yarn run v1.2.0
$ boldr seed
module.js:491
throw err;
^
Error: Cannot find module '../lib/cli.js'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object. (/home/cool/Project/boldr/packages/cli/bin/boldr.js:2:1)

How to handle this error, could you pl. answer?
Thx

Could you pl. help solve this error, it is preventing me to use this package ..
$ boldr seed
module.js:491
throw err;
^
Error: Cannot find module '../lib/cli.js'

Could you pl. help resolve this issue.. Thanks


Fix interoperability issue regarding Event properties

make possible to re-set read-only event properties
use hydrateObj() to set delegateTarget property

Fixes #36207

Thank you, @alecpl, for your PR.
Please take under consideration the need of below change (not sure if is needed) and, it would be great to support your Pr with the proper tests
function hydrateObj(obj, meta) {
  for (const [key, value] of Object.entries(meta || {})) {
    try {
      obj[key] = value
    } catch {
      Object.defineProperty(obj, key, {
       configurable: true,
        get() {
          return value
        }
      })
    }
  }

  return obj
}

@GeoSot I considered the change before, but I'm not sure it's really worth it. As for the tests, I'm afraid I will not be able to do that, as I have no idea about bootstrap's tests nor build system.

I can help you witting the tests, but at least need a codepen that replicates the issue, you are trying to solve here

The main issue is if you have an external library like cash-dom that is handling the same event as Bootstrap (e.g. a click handler on a Tab) and is setting the delegateTarget (in this case, but I can imagine other properties with the same issue). Cash-dom makes the delegateTarget property read-only and Bootstrap can't just do event.delegateTarget = something assignment.
The second part of the patch (configurable: true) makes sure that read-only properties set by Bootstrap can be re-set outside.
Now thinking about this, and considering https://github.com/jquery/jquery/blob/5d5ea015114092c157311c4948f7cc3d8c8e7f8a/src/event.js#L306 we might indeed need the change you suggested. I mean it would be nice to be consistent inside Bootstrap and make all event properties read-only, but it may break compatibility with jQuery. I didn't test that.

I did the change and added some tests to help. Just to note down here, I am not sure if I have understood the real issue on this situation, and if the proposed solution is valid. So if any other js dev have better knowledge, please d not hesitate to write an opinion

@julien-deramond are we going to merge it?


Azure Communication Commands - Access Token, Send SMS, List Phone numbers, Show phone number info

Azure Communication Commands - Access Token, Send SMS, List Phone numbers, Show phone number info

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

Communication

Please fix ci issues first. Thanks.


"Add" and "replace" operation do the same thing in PATCH requests

Hi all, I'm not sure how widespread this is across our API(s), but it seems like the add and replace operations of the PATCH method are both replacing whatever they find. I could be misreading the specification, but it seems like add should be "create if it doesn't exist, append if it does." Replace seems to work as expected, which is "fail if it doesn't exist, replace if it does."
Steps:

Create a role.

PUT _opendistro/_security/api/roles/new-role
{
	"cluster_permissions": [
		"manage_snapshots"
	],
	"index_permissions": [{
		"index_patterns": [
			"*"
		],
		"fls": [],
		"masked_fields": [],
		"allowed_actions": [
			"indices:data/write/index",
			"indices:admin/create"
		]
	}],
	"tenant_permissions": [{
		"tenant_patterns": [
			"new-tenant"
		],
		"allowed_actions": [
			"kibana_all_write"
		]
	}]
}

Patch it with the add operation.

PATCH _opendistro/_security/api/roles/new-role
[
  {
    "op": "add", "path": "/index_permissions/0/allowed_actions", "value": ["indices:admin/create"]
  }
]

Retrieve it.

GET _opendistro/_security/api/roles/new-role

Current behavior: new-role had its index permissions replaced with just indices:admin/create.
Expected behavior: indices:admin/create gets appended to the list of permissions.

Recreate the role.

PUT _opendistro/_security/api/roles/new-role
{
	"cluster_permissions": [
		"manage_snapshots"
	],
	"index_permissions": [{
		"index_patterns": [
			"*"
		],
		"fls": [],
		"masked_fields": [],
		"allowed_actions": [
			"indices:data/write/index",
			"indices:admin/create"
		]
	}],
	"tenant_permissions": [{
		"tenant_patterns": [
			"new-tenant"
		],
		"allowed_actions": [
			"kibana_all_write"
		]
	}]
}

This time, patch it with the "replace" operation.

PATCH _opendistro/_security/api/roles/new-role
[
  {
    "op": "replace", "path": "/index_permissions/0/allowed_actions", "value": ["indices:admin/create"]
  }
]

Note that the outcome is identical. More details here from @JohnMops.

This is causing issues for us as well - any chance it could get triaged and investigated?

We are doing some "spring cleaning in the fall", and to make sure we focus our energies on the right issues and we get a better picture of the state of the repo, we are closing all issues that we are carrying over from the ODFE era (ODFE is no longer supported/maintained, see post here).
If you believe this issue should still be considered for current versions of OpenSearch, apologies! Please let us know by re-opening it.
Thanks!