Get indentation configuration from editorconfig/visualstudio

Hi,
I was thinking about a way to remove some duplicate settings in my solution and thought it would be nice to not have to specify the indentation settings twice: once in the editorconfig and once in the stylecop.json.
Would it be possible to use Roslyn’s Microsoft.CodeAnalysis.Formatting.FormattingOptions as a fallback?
If it is possible, could it be used for other rules as well, like naming rules?

Any update on this?

I assume https://github.com/dotnet/roslyn/issues/18217 is what needs to be implemented to allow this to happen

@flcdrg Yes, that's currently in progress. 😄

dotnet/roslyn#18217 is now done, but it looks like it is part of a larger effort for .editorconfig validation that is still unreleased. Am I reading that correctly?

@HolisticDeveloper The APIs are now available, and would should be able to implement them as part of the existing light-up layer.

@sharwell See my question in #3045 comment:

are there plans to make the code from Analyzer.Utilities.Options from the roslyn analyzers available to 3rd party analyzers like StyleCop and NUnitAnalyzers?

@manfred-brands I'm not aware of any such plans. For this project, .editorconfig would only work in cases where the compiler is new enough to provide the feature directly.


Added function OnFieldClick

Implemented isue #45 OnClick event.
Just added code for JQuery sample, not for CoffeeScript.
Changed pivot.js and added sample mps_prepop_onClick.html.
I hope it helps.

pivot.coffee:439 Uncaught ReferenceError: data is not defined
I can't quite figure out what "data" is supposed to be on line 439, any clues on how to get this working?

Equivalent functionality has hit master in 87c2e3da58b60c672bee8fe612a8b63a3a217c47


HHH-14055 - Add UUID support for fields annotated with @RevisionNumber

Add fallback check if the field type is of type java.util.UUID
Update corresponding MappingException message

@RevisionNumber explicitly says that "values of this property should form a strictly-increasing sequence of numbers".  A UUID obviously does not fit that description.
@Naros you are much better versed in envers than I... what do you think?

@RevisionNumber explicitly says that "values of this property should form a strictly-increasing sequence of numbers". A UUID obviously does not fit that description.
@Naros you are much better versed in envers than I... what do you think?

Actually this is one of the main reasons to ask for this feature - need unpredictable id sequence for revisions. On the other hand fits better in distributed environment.

When a contract explicitly says "should do X" and something explicitly
breaks that contract... I like to have an expert explain the ramifications.
Whether using a UUID would work better in distributed environment, it is
irrelevant if the code-base truly expects sequentiality.  So let's just
wait to hear from Chris
On Tue, Jun 2, 2020 at 8:13 AM Borislav Banchev<EMAIL_ADDRESS>wrote:

@RevisionNumber explicitly says that "values of this property should form
a strictly-increasing sequence of numbers". A UUID obviously does not fit
that description.
@Naros https://github.com/Naros you are much better versed in envers
than I... what do you think?
Actually this is one of the main reasons to ask for this feature - need
unpredictable id sequence for revisions. On the other hand fits better in
distributed environment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/3425#issuecomment-637533629,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABZIE354XZZVZ7PQRFHIIDRUT3H3ANCNFSM4NQWXYEQ
.


Migrate flipX() and flipY() from image-js

These two functions seem pretty easy and could be migrated quickly.
https://github.com/image-js/image-js/blob/8bfbcc524daafc35c35df62f5d18e7679deae7ee/src/image/filter/flipX.js

We could implement
flip(options={})
options:

axis: 'horizontal' (default) | 'vertical' | 'both'
out


Fix dashboard init trying to ask for confirmation when overwriting existing db

Fix dashboard init trying to ask for confirmation when overwriting existing db (don't overwrite)
Fixes crowdsecurity/helm-charts#86

From a quick test it does not seem to work as intended?
podman run -v /tmp/:/tmp/ busybox sleep 2 && wget --no-check-certificate "https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/metabase_sqlite.zip" && unzip metabase_sqlite.zip -nd /tmp/
--2023-12-03 09:57:24--  https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/metabase_sqlite.zip
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving crowdsec-statics-assets.s3-eu-west-1.amazonaws.com (crowdsec-statics-assets.s3-eu-west-1.amazonaws.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to crowdsec-statics-assets.s3-eu-west-1.amazonaws.com (crowdsec-statics-assets.s3-eu-west-1.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Archive:  metabase_sqlite.zip
caution: filename not matched:  -nd
caution: filename not matched:  /tmp/

Checking /tmp/ has no metabase files even on an empty directory?

@LaurenceJJones did you run this in the busybox image provided in the chart ?
This fix definitely did the trick in multiple environments.

Yes, they both use docker.io busybox container. Did you test for when the directory is empty EG on the first deployment?

Sure !

Hi @bmalynovytch,
I think this PR needs to be rebased on main to get the lastest update on your other PR we merged recently.

/kind fix
/area local-api


Can Array accept null value for JSON-like formats ?

These are valid in standard JSON https://www.json.org/
{"friends":[]}
{"friends":null}

the datatype is Array(String), it will get exceptions when consuming
CREATE TABLE IF NOT EXISTS event(
  friends Array(String)
) ENGINE = Kafka('localhost:9092', 'topic', 'group', 'JSONEachRow');

it's better if null can be deserialized as empty Array
Thank you.

It can be implemented by adding various format options.
Possible options can be null_as_default.
We also have demand for similar options in CSV, like empty_as_default.
This is also loosely related to #1130

Now we have empty_as_default but still don't have null_as_default.


Update Connect-MicrosoftTeams.md

Add a warning that basic auth is needed to run legacy *-Cs cmdlets. Related to https://github.com/MicrosoftDocs/office-docs-powershell/issues/7518 and https://github.com/MicrosoftDocs/office-docs-powershell/issues/7464 and https://github.com/MicrosoftDocs/office-docs-powershell/issues/7824

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

File
Status
Preview URL
Details

teams/teams-ps/teams/Connect-MicrosoftTeams.md
:white_check_mark:Succeeded
View (teams-ps)

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

Hi alexdale0,
I do not think this is a basic auth issue. It works fine as with user creds. This error presents when using an app registration.
Can you get this working? If so, how?

Hi @mark3grahams -  that's what this warning added to the docs is also saying. You must use basic auth/user creds, as authentication with Application ID+Certificate is not supported currently.

So, it is flat-out broken? That's what I thought. Is there an ETA as to when this will be fixed? Or is there some other method whereby a script can run without a user account?

So, it is flat-out broken? That's what I thought. Is there an ETA as to when this will be fixed? Or is there some other method whereby a script can run without a user account?

Unfortunately I don't have an ETA at this time. Will be sure to get these docs updated further when that changes though.

@tseward

Hi @dariomws - I did, as it has some good info related to the warning message. If that's not a good practice let me know and I can see if I can find a reference somewhere else though.

@tiburd Please merge this PR. Thanks

Docs Build status updates of commit 3eafd45:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Connect-MicrosoftTeams.md
:white_check_mark:Succeeded
View (teams-ps)

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


CI: bump Rust to 1.72.0

coverage: 59.776%. remained the same when pulling f45da7ce040db66f072e7a00bcf87ad5af3743de on feature/ci-bump-rust into b42eedefa9c39ea4b8f0359637d0600a05bbf43a on master.


Question on the Madds of MobileNet-V3

Thank you for your code! It is really very helpful for our project.
But I have a little question. When testing the Madds of mobilenetv3_large with Op_counter, we got 239M instead of 217M reported in the repo (Searching for MobileNetV3). Are there some differences in structures between the mobilenetv3 in this repo and the original one? Or it is due to the way to calculate Madds?

How do you calculate FLOPs?

Thank you for your reply. I use a convenient tool called OpCounter (https://github.com/Lyken17/pytorch-OpCounter).

refer to my answer in https://github.com/d-li14/HBONet/issues/4

Thanks. I'll try it with torchsummaryX:)


Enable TypeScript Rules Requiring Type Checking

The goal of this PR is to evaluate rules used in typescript-requiring-type-checking.js.
To test locally, you can add the dependencies to a project with the instructions in the current published README as it uses the latest dependency versions.
Note: The dependency versions have changed since the last PR so make sure you are up to date.
Download the zip for the build artifact (see below) and extract the contents (ie the single tgz file). Note: you do not need to extract the tgz file itself. With the tgz file on disk run the following command:
npm install -D <path_to_tgz_file>
This PR also makes the following changes to review:

Updates to the README.md

Build Artifacts:

Initial PR

NOTE: due to a mistake of deleting the source branch of this PR this PR will not be merged and instead the following branch will be in a follow-up PR: https://github.com/rajsite/javascript-styleguide/tree/enable-requires-typechecking-complete

This PR was closed in favor of #37


Rock-Paper-Scissors

Simple Python Projects

Thanks for your Contribution @Malavi1 !
Keep Contributing!
Give a Star to this project if you like this!
Happy Hacktober!


Default OS vhd size reduction

It appears that VHDs are getting created with a default size of 30GB. Do we need 30GB? Can this be set to lower size?
RHEL distros recommend minimum 5GB of disk. Can we do with 5GB for all distros?

If the VM is created from marketplace image, we cannot change its size. If the VM is created from custom VHD, we can decide the size of the VHD.

Okay, it appears we already using the optimally sized VMs from marketplace. Thank you.


readme_update

🛠 Fixes Issue
#7
👨💻 Changes proposed

Updated readme for some more resources for developers
✔ Check List (Check all the applicable boxes)

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

📄 Note to reviewers

Can you Guide more , what more things we  can add in  readme.md
📷 Screenshots

ReadME is the heart of open source
Thanks for this :)


Detected multiple Kotlin daemon sessions at build\kotlin\sessions

I installed the library and when I am trying to run yarn android it throws me an error
`Task :app:mergeDebugNativeLibs FAILED
w: Detected multiple Kotlin daemon sessions at build\kotlin\sessions
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
389 actionable tasks: 378 executed, 11 up-to-date
3 warnings
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.

More than one file was found with OS independent path 'lib/x86/libc++_shared.so'`

Versions
"react-native": "0.63.4",
"react-native-vlc-media-player": "^1.0.40"

same error

Same error for me ...


HTTP client: Simplify HTTP file uploads and submitting forms

This library should provide better support for HTTP file uploads and submitting forms. Right now, both are supported just fine, but require manually constructing the outgoing HTTP request body. This is relatively easy for simple forms (see https://github.com/reactphp/http#post), but more challenging for forms with file uploads.
Handling file uploads is already supported on the server side (see #252, #220, #226 and others), so adding better support for this also on the client side makes a lot of sense. Implementing this is non-trivial, but doable. The major challenge right now would be evaluating possible API options and once settled, sponsoring/funding for this feature.
On top of this, we would have to consider possible API options for adding file uploads. In particular, non-blocking filesystem access remains challenging (fstat + fopen + fread), see also experimental reactphp/filesystem.
We welcome contributions, reach out if you want to support this project :+1:

For the reference, submitting forms currently works like this (see also https://github.com/reactphp/http#post):
// currently: form data without file uploads (application/x-www-form-urlencoded)
// arguably good enough for most simple cases
$http->post($url, ['Content-Type' => 'application/x-www-form-urlencoded'], http_build_query(['name' => 'Alice']));

// currently: form data without file uploads (multipart/form-data)
// reasonable, but non-trivial even for simple cases
$boundary = 'foo';
$body = "--$boundary\r\nContent-Disposition: form-data; name=\"name\"\r\n\r\nAlice\r\n--$boundary--\r\n";
$http->post($url, ['Content-Type' => 'multipart/form-data; boundary=' . $boundary], $body);

// currently: form data with file uploads (multipart/form-data)
// this should be easier: same idea as above, but much harder to construct streaming request body
// major challenge: need to make sure not the entire file is kept in memory at once
// bonus challenge: non-blocking filesystem access (fstat + fopen + fread)
$body = new ThroughStream();
$size = $sizeOfAllMultipartBoundaries + $sizeOfAllFiles;
$http->post($url, ['Content-Type' => 'multipart/form-data; boundary=' . $boundary, 'Content-Length' => "$size"], $body);

Here are some possible options what this could look like in the future (brainstorming here, any input is welcome!):
// suggestion 1: accept body as array and assume form data?
// challenge: always assume form data, what about JSON?
// bonus: similar to curl
$http->post($url, [], ['name' => 'Alice', 'avatar' => $file]);

// suggestion 2: new `withFormData()` method to prefill request body
// challenge: post accepts `$body` as string, should this overwrite body?
// bonus: future `withJson()` possible
$http->withFormData(['name' => 'Alice', 'avatar' => $file])->post($url);

// suggestion 3: pass `FormData` object as request body
// challenge: post accepts `$body` as string type, should this be Stringable?
// bonus: similar to JavaScript: https://developer.mozilla.org/en-US/docs/Web/API/FormData
$http->post($url, [], new FormData(['name' => 'Alice', 'avatar' => $file]));

On top of this, file uploads need some kind of API to reference files from the filesystem (or elsewhere/external). See note above, as non-blocking filesystem access remains challenging (fstat + fopen + fread). Here are some possible options what this could look like in the future (brainstorming here, any input is welcome!):
// suggestion 1: use native stream resources
// challenge: error handling via PHP warnings, low-level access, blocking operations
// challenge: filename can be derived from resource, but what about file content-type?
$file = fopen('avater.png', 'r');

// suggestion 2: reuse SplFileObject
// challenge: slightly better error handling, but still blocking operations
// challenge: filename can be derived from object, but what about file content-type?
$file = new \SplFileObject('avatar.png', 'r');

// suggestion 3: reuse PSR-7 `UploadedFileInterface`, add public method or constructor?
// challenge: designed for server side, so slightly different semantics on client side
// bonus: already supports explicit file content-type, allows wrapping low-level filesystem access
$file = UploadedFile::open('avatar.png');

Any input is welcome!

that would be great!
I use React\Http in many project and i'm not sure how to properly stream a file in a POST request,
so today i use reactphp/child-process to do it with curl

so I wrote this wrapper to simplify this task and send multipart form data requests like this:
$client = (new Browser())->withTimeout(false);

return $client->postFormData(
    $url,
    new MultipartFormData([
        'chat_id' => $chatId,
        'photo' => __DIR__ . '/../assets/images/backside.jpeg',
    ])
);

It's dumb and not async, but it works.
<?php

declare(strict_types=1);

namespace Mystaro\Bot;

use Psr\Http\Message\ResponseInterface;
use React\Http\Browser as ReactBrowser;
use React\Promise\PromiseInterface;

class Browser extends ReactBrowser
{
    /**
     * Sends an HTTP Multipart Form Data POST request
     *
     * @param string $url
     * @param MultipartFormData $formData
     * @param array<string, string> $headers
     *
     * @return PromiseInterface<ResponseInterface>
     */
    public function postFormData(
        string $url,
        MultipartFormData $formData,
        array $headers = []
    ) {
        return $this->post(
            url: $url,
            headers: array_merge(
                $headers,
                $formData->getHeaders(),
            ),
            body: $formData->getBody()
        );
    }
}

<?php

declare(strict_types=1);

namespace Mystaro\Bot;

readonly class FormField
{
    public string $bodyContent;

    public function __construct(
        string $content,
        ?int $contentLength = null,
        ?string $contentType = null,
        ?string $filename = null,
    )
    {
        $data = '';

        if ($filename !== null) {
            $data .= "; filename=\"{$filename}\"";
        }

        $data .= "\r\n";

        if ($contentType !== null) {
            $data .= "Content-Type: {$contentType}\r\n";
        }

        if ($contentLength !== null) {
            $data .= "Content-Length: {$contentLength}\r\n";
        }

        $data .= "\r\n";
        $data .= $content;

        $this->bodyContent = $data;
    }
}

<?php

declare(strict_types=1);

namespace Mystaro\Bot;

use HttpException;

class MultipartFormData
{
    /** @var FormField[] */
    private array $fields = [];

    private string $boundary;

    private string $body;

    private int $size;

    public function __construct(
        array $fields = [],
        ?string $boundary = null
    )
    {
        try {
            $this->boundary = $boundary ?? \bin2hex(\random_bytes(16));
        } catch (\Exception $exception) {
            throw new HttpException('Failed to obtain random boundary', 0, $exception);
        }

        foreach ($fields as $name => $field) {
            if ($field instanceof FormField) {
                $this->fields[$name] = $field;
            } elseif (is_file($field)) {
                $this->addFile($name, $field);
            } else {
                $this->addField($name, $field);
            }
        }
    }

    public function addField(
        string $name,
        string $content,
        ?int $contentLength = null,
        ?string $contentType = null,
        ?string $filename = null,
    ): void
    {
        if (isset($this->body)) {
            unset($this->body);
        }

        if (isset($this->size)) {
            unset($this->size);
        }

        $this->fields[$name] = new FormField(
            content: $content,
            contentLength: $contentLength,
            contentType: $contentType,
            filename: $filename,
        );
    }

    public function addFile(string $name, string $path, ?string $contentType = null): void
    {
        if (!\is_file($path)) {
            throw new HttpException("File not found: {$path}");
        }

        $file = \fopen($path, 'r');
        if ($file === false) {
            throw new HttpException("Failed to open file: {$path}");
        }

        try {
            $info = \fstat($file);
            $content = \fread($file, $info['size']);
            $contentType = $contentType ?? (\mime_content_type($file) ?: null) ?? 'application/octet-stream';
        } catch (\Throwable $exception) {
            throw new HttpException("Failed to read file: {$path}", 0, $exception);
        } finally {
            \fclose($file);
        }

        $this->addField(
            name: $name,
            content: $content,
            contentLength: $info['size'],
            contentType: $contentType,
            filename: \basename($path),
        );
    }

    public function getBody(): string
    {
        if (!isset($this->body)) {
            $body = '';

            foreach ($this->fields as $name => $field) {
                $body .= <<<BODY
                    --{$this->boundary}\r
                    Content-Disposition: form-data; name="{$name}"{$field->bodyContent}\r

                    BODY;
            }

            $body .= "--{$this->boundary}--\r\n";

            $this->body = $body;
        }

        return $this->body;
    }

    private function getSize(): int
    {
        if (!isset($this->size)) {
            $this->size = \strlen($this->getBody());
        }

        return $this->size;
    }

    public function getHeaders(): array
    {
        return [
            'Content-Type'   => "multipart/form-data; boundary={$this->boundary}",
            'Content-Length' => $this->getSize(),
        ];
    }
}


Access denied error appears after clicking the Open lookup screeen button for the PickerField

Environment
Browser: Firefox 75.0
Description of the bug or enhancement

Click on the All Components
Scroll to the PickerFiald groupbox
Open lookup screen to select a related entity

A.R. Access denied error message occurs.
Error appears for all Pickerfield in the PickerField groupbox that have "Open lookup screen" button

Also, Bug reproduce for LookupPickerField

It is a normal behaviour. In this application, such functionality is not provided, since the application is needed to show the appearance of the components and not their functionality.


callmebot did not reply my text after multiple retries.

Hi,
unfortunately I cannot recreate your problem. Do you have registred your Phonenumber on the Callmebot-Page?
callmebot.com
The given title is not very meaningful.
I need a little more information of the problem, for example: a ScreenShot from your node...

Had the same problem. I missed the "me" in the registration. After copy and paste "I allow callmebot to send me messages" it works fine.


Adds container.user configuration

Towards #1029, this PR adds the possibility to sets the username or UID which the process in the container should run as.
For security reason, we prefer to start a tomcat container with non-root user. We have a generic base image with this (in our private registry) :
RUN addgroup -S tomcat && adduser -S -G tomcat tomcat && chown -R tomcat:tomcat /usr/local

Thanks for the contribution! We'll take a look at this soon. For the future, we'd recommend commenting on the issue thread with the design/solution you will be implementing before starting work to help save time potentially changing large portions of the implementation.

Ok I understand. It was very easy to implement.
If you want I can close this PR.

We can definitely work with most of this :) It's mostly that we need to decide what we would support for the user configuration. Currently, as proposed in https://github.com/GoogleContainerTools/jib/issues/1029#issuecomment-426405346, we are intending only to support user id and group id and not username, but we might decide to allow username as well. @GoogleContainerTools/java-tools

Yeah, looks like we can work on this. There are a few things to think about though.
And thinking about it for a while, it might be possible to accept any string as the parameter value, not just numbers, if what we end up doing is to just set the value in the container config metadata. In that case, we may always be able to build an image (needs to check), which may error at runtime due to non-existing username. However, on the other hand, this may result in a Dockerfile  that is not buildable.

However, on the other hand, this may result in a Dockerfile  that is not buildable.

Never mind. I think it is always buildable. Now I think there is no problem supporting usernames and it is the user's responsibility to use the base image that has the right user database. Same for usual Docker build.

If we set the wrong username, we have this error at runtime :
docker: Error response from daemon: linux spec user: unable to find user tomcat2: no matching entries in passwd file.
ERRO[0000] error waiting for container: context canceled

If we set the wrong username, we have this error at runtime

Yeah, it's the same story for Dockerfile, so perhaps we should say it's WAI. The big difference is, however, you can easily do adduser or addgroup with Dockerfile to make it work. But with Jib, it's a bit cumbersome in that you need to prepare a base image with the user or have /etc/passwd and /etc/group under /src/main/jib.

Looks good to me. Updating some wordings, and I think we're good to go.

Great. I've rebased on master and fixed wordings.


force ssr build when VITE_RUBY_SSR_BUILD_ENABLED=true

Description 📖
This pull request fixes #483
Background 📜
This was happening because you need to force ssr build
The Fix 🔨
By changing
ViteRuby.commands.build_from_task('--ssr') if ViteRuby.config.ssr_build_enabled
to
ViteRuby.commands.build_from_task('--ssr', '--force') if ViteRuby.config.ssr_build_enabled

Hi Luca!
The SSR build uses a different file to track whether the last build is stale or not.
Forcing the build would defeat the purpose of caching.

Hi Luca!
The SSR build uses a different file to track whether the last build is stale or not.
Forcing the build would defeat the purpose of caching.

Are you sure? Cause I tried my change locally and it works with --force


Typo in az network vnet peering create command

Describe the bug
The --remote-vnet property is a required property and not optional.
Documentation link : https://learn.microsoft.com/en-US/cli/azure/network/vnet/peering?view=azure-cli-latest#az-network-vnet-peering-create

Related command

Errors
--
Issue script & Debug output

Expected behavior

Environment Summary

Additional context
No response

Thank you for opening this issue, we will look into it.


GC guard

The job holded terminal may be GC collected. For example, below's command crash in some time.
vim --clean -g +'term which ls' +'wincmd p'

Oh, I posted the same patch here: https://groups.google.com/d/msg/vim_dev/E22Iyetctvw/dZZH0kZ7AAAJ

Okay, dup.


chore(main): release 1.3.3

:robot: I have created a release beep boop
1.3.3 (2024-10-06)
Miscellaneous Chores

release 1.3.3 (abef528)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.3.3
:sunflower:


When setting log level to error, adapter restarts in loop

As mentiond in the subject, as soon as I set the log level to ERROR the adapter goes into a restart loop. Log below:
2024-04-05 09:28:12.169  - info: roomba.0 (9252) starting. Version 1.2.2 in /opt/iobroker/node_modules/iobroker.roomba, node: v18.20.1, js-controller: 5.0.19
2024-04-05 09:28:12.191  - info: roomba.0 (9252) Connecting to Roomba (<IP_ADDRESS>)..
2024-04-05 09:28:12.284  - info: roomba.0 (9252) Restored last mission (#2505).
2024-04-05 09:28:15.529  - info: roomba.0 (9252) Roomba online. Connection established.
2024-04-05 09:28:15.531  - info: roomba.0 (9252) State value to set for "roomba.0.states._connected" has to be type "string" but received type "boolean"
2024-04-05 09:28:16.330  - info: roomba.0 (9252) Roomba has resumed a previous mission (#2505).
2024-04-05 09:28:16.335  - error: roomba.0 (9252) uncaught exception: Cannot read properties of undefined (reading 'theta')
2024-04-05 09:28:16.336  - error: roomba.0 (9252) TypeError: Cannot read properties of undefined (reading 'theta')
at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:720:51)
at MqttClient. (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:363:6)
at MqttClient.emit (node:events:517:28)
at Timeout._onTimeout (/opt/iobroker/node_modules/@karlvr/dorita980/lib/v2/local.js:48:16)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)
2024-04-05 09:28:16.336  - error: roomba.0 (9252) Cannot read properties of undefined (reading 'theta')
2024-04-05 09:28:16.337  - info: roomba.0 (9252) Adapter stopped und unloaded.
2024-04-05 09:28:16.338  - info: roomba.0 (9252) terminating
2024-04-05 09:28:16.339  - warn: roomba.0 (9252) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-04-05 09:28:16.340  - info: roomba.0 (9252) State value to set for "roomba.0.states._connected" has to be type "string" but received type "boolean"
2024-04-05 09:28:16.840  - info: roomba.0 (9252) terminating
2024-04-05 09:28:16.909  - error: host.iobroker instance system.adapter.roomba.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-04-05 09:28:16.909  - warn: host.iobroker Do not restart adapter system.adapter.roomba.0 because restart loop detected

Please add release version information to every problem reported:

version of adapter:
version of js-controller:
nodeJS version installed:
Operation system type / version:

Hi,
as requested:
version of adapter: 1.2.2
version of js-controller: 5.0.19
nodeJS version installed: 18.20.1
Operation system type / version: Raspberry pi 5 with Debian GNU/Linux 12 (bookworm)


Page still shows Azure Resources (Preview)

PIM for Azure resources is in GA now, but the page still shows that it is in the preview. This creates confusion. Please correct it.

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

ID: 64acb2bc-6c41-34a2-1822-53e0fedc0d3b
Version Independent ID: 5709c4d7-7fc0-0e32-cb99-35d24acd63c6
Content: Configure Azure AD Privileged Identity Management
Content Source: articles/active-directory/privileged-identity-management/pim-configure.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

@aryapankaj Thanks for reporting! I have assigned the issue to the content author to investigate and update the screenshots in the document.

Hi @aryapankay
Thanks for your feedback. It'll take some time, but we will be working to make updates to these docs.
thanks

#in-progress

I've scrubbed preview references on this page and in the PIM docs. I've updated some of the screenshots. I'll be working to make more updates.
Thanks for your feedback.

@MicrosoftDocs/azure-cxp-triage
#please-close

@aryapankaj We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[BUG] It's possible to start the game without placing all the ships

This bug is easily reproducible by placing all but one ship and the activating the MouseListener without placing the last one.
The culprit is the cose inside ShipPlanner  line 159 :
if (comboBoxItemCount == 1) {                                 buttonOk.setEnabled(true);                             }

This sounds like a very fun project, I would like to help you with your bug and maybe some of your enhancements. Can you assign this to me?

@sstanham Hi!
We are glad you want to contribute to this project.
I'm going to assign you this issue, let me know if you need anything, have fun.

Thank you! I'm going through the code to get it running first. Just to make sure, where do I run the project from? I assume its the Application.java file?

I assume its the Application.java file?

Exactly, that's the entry point of the program.
Currently I'm working on integrating Maven, for an easier and IDE-independent approach, so the project structure will change if everything works correctly.😄

Hi, I'm trying to run the project from the Application.java file and I keep running into this error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "javax.swing.JButton.addActionListener(java.awt.event.ActionListener)" because "this.b_exit" is null         at com.battleship.GUI.Window.initUI(Window.java:48)         at com.battleship.GUI.Window.<init>(Window.java:36)         at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)         at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)         at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)         at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)         at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)         at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)         at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)         at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)         at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)         at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)         at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)         at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)`
Is there a dependency that I may be missing, or something else I'm missing? My IDE is VScode, if that makes a difference.

Yeah, I know about this problem, sorry about that.
I'm currently working on a fix by integrating Maven as I said above.
The culprit is that we used IntelliJ GUI builder for the .form files and it's currently creating binary files instead of Java sources.
As a immediate workaround you can use IntelliJ as your IDE or wait for the fix ( should be fast, at maximum a couple days hopefully)
Let me know

Will do, I'll give IntelliJ a shot and keep you updated. Thank you!

Sorry for the additional questions, but I was wondering if there was a way to playtest a game in IntelliJ. I've gotten the project downloaded and set-up, I just wanted to see how the project currently comes together.

Don't worry!
As of now you should set your source and resources directories by going to:
File > Project Structure > Modules > BattleShip  and then marking the right directories
src -> "Sources"
resources -> Resources
Then you should go to "Run/Debug Configurations" ( you can find it in the top right corner just next to the run button) and set
com.battleship.Application as your main-class and setting the JRE at least to the 14 version.
Let me know if this is enough to start the project.
Right now I think my experimental maven set-up it's working so I might push an experimental branch soon.

Perfect, got it all up and running now. Thank you for the guide, I was unfamiliar with the IntelliJ environment.

Wonderful!
If you want to check it out I've also pushed the experimental branch with maven.
That should be IDE-independent and should also be more straightforward to import the project and run it right away 😁

Hi @sstanham !
Do you still plan to work on this issue?
We made a lot of changes, so let me know if you need something.

Ah yes, sorry for not updating you on my progress, school work has been picking up. I wish to keep on this issue and will work on it as soon as I can. I'll make sure to grab the most recent branch when I get back to work on it.

school work has been picking up.
I feel you 😅

Don't worry and take your time, I was just checking since we got reached by new people.
If you need help hit me up!

My plan is to work on this tomorrow, but I have done plenty of investigating and I believe I know how to fix this. I'll keep you posted

Good!
If you've not already I suggest to look into the contributing file (currently on the develop branch), it may clear some common question for you, if you need it, and help you integrate the contributions better.
Good luck and thank you for your interest

I found a way to fix the bug, just let me download the most recent version of the code, I'll modify it and send a push with an explanation

#34 Just sent the pull request. I wrote the reasoning there. In short, I added an extra check for a click position, to check if it's valid. That way, if you click an invalid place as the last placement, it won't count it. Let me know what you think!

Good, thank you!
I've made a comment on your pull request let me know if everything it's okay

Ah perfect, I completely forgot to look for the conventions. I'll conform my changes when I return to my computer and I'll resend the request asap

Thank you for the help!

Thank you! Its a very fun project, so I'll take a look at the other bugs in the issue list and see if I can fix those too

I just closed the request and submitted an updated version. Please let me know if I got the formatting right, and thank you for being patient with me!


Refactor MapLayers UI

remove unecessary WidgetControl
have UiProviders register ui for both (ui-1.0 & 2.0)

Publishing as I'd like these changes in 3.1. This PR removes a new widget control that was added to master since 3.0. Widget controls are a deprecated ui-1.0 concept, and I don't want to be publishing any new "deprecated" features/components.


Create 0791-custom-sort-string.py

File(s) Modified: 0791-custom-sort-string.py.
Language(s) Used: python
Submission URL: _https://leetcode.com/problems/custom-sort-string/submissions/1200621721/_

@sahasourav17 Thanks for your contribution 👍


Edit NuGet description to indicate supported frameworks

When I go to NuGet and search for ScottPlot, it is not obvious which is for .NET Core and which is for .NET Framework. Can the description be made clearer?

The package supports both! I'll add this to the description

Done! Thanks for the tip. I also gave this topic its own section header on the main page:
https://github.com/swharden/ScottPlot#supported-platforms

spaces in the description make it display poorly in narrow browser windows. It also has funny indentation. note to self: fix this before next release
https://www.nuget.org/packages/ScottPlot/


Update to Django 1.9. for Python 2.7, 3.4 and 3.5

Coverage remained the same at 98.101% when pulling 7c56767955c6be67a6071ab6151fed4aa7e70f5b on features/django-1.9 into 0a83d7c8bf320805fab8b371118da80cbc56783b on master.


Fix Sphinx build errors

Description
Resolves #17329

Fixed warnings about VisIt_ style links in gui_manual/Contributing/index.rst
Added Silo_ style links everywhere Silo was used.
Changed VisIt_ link to use llnl alias (visit.llnl.gov) as that is more generic than the github site link
Fixed some problems in gui_manual/MakingItPretty/Annotations.rst

Type of change

[ ] Bug fix
[ ] New feature
[x] Documentation update
[ ] Other

How Has This Been Tested?

Checklist:

[x] I have followed the style guidelines of this project.~~
[x] I have performed a self-review of my own code.~~
[ ] I have commented my code where applicable.
[ ] I have updated the release notes.
[x] I have made corresponding changes to the documentation.~~
[ ] I have added debugging support to my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.
[ ] I have added new baselines for any new tests to the repo.
[x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~
[x] I have assigned reviewers (see VisIt's PR procedures for more information).~~

@biagas I found one other issue in the docs I'd like to fix in this PR. Ok with you?

@biagas ok, finished that last file.


404 errors in GitHub section

In your GitHub section:  Last activities from Github there are a couple of 404 errors

movielister
cakrazemlak
hackintosh-msi-ge60
cakrazemlak-cms

This is probably because you make the repos private, or they are gone.
Other suggestions:

I also recommend making the box clickable and not only the title. (it was hard to me to figure out how to open them).
You have a typo in "Last developed projetcs" section. it should be projects

Hi, thank you for identifying the errors and creating this issue. I have resolved the problems mentioned in commit 10e4d5d. Since there hasn't been a new build for a long time, as you mentioned, private or deleted repositories were still visible. It might be necessary to remove those parts from the SSG.
Thanks again!


Switch Nodejs to bun

Bun is faster so just switch it. It can make us use less time in github actions workflow file. Installing it is easy and its backwards compatible with nodejs. Scripts can be ran with bun run dev instead of npm run dev. Installation packages would be bun install. https://bun.sh/
Benchmarks for installing the package.json:
Bun: 4.68s bun install --verbose
Npm: 39s npm ci

Based on what I am seeing anecdotally, Bun is newer and isn't necessarily as stable as NodeJS. A lot of developers are encountering bugs with it when switching to Bun from NodeJS in their codebase. Additionally, their claim of speedup compared to NodeJS seems
to only be comparing basic code (Hello World) rather than something on the production level. (the 35 second speedup that you observed seems convincing tho). However, that might not be too much of a concern since we're not working on any heavy infrastructure or production code so the switch might be fine as long as it works on your own development environment and GitHub. Just afraid of problems that may arise in the future once we start hooking up the stacks together.
Some other things to note would be if Bun works on all devices. There might be no issues on your end but it may break on other hardware.

Useful benchmarks before I delete the fork and test if render.com works


Private Signed Transaction fails with latest Tessera config

We have deployed a private contract using quorum.js using the latest tessera configuration as mentioned below
https://github.com/jpmorganchase/tessera/wiki/Tessera-v0.9-sample-settings
We have signed and submitted the transaction using quorum.js as described by the documentation. The transaction in question goes through without any problem as we can see from the nonce being increased. But for some reason we aren´t able to get values when we call a constant/view method of this particular contract
{
    "useWhiteList": false,
    "jdbc": {
        "username": "sa",
        "password": "",
        "url": "jdbc:h2:.//priv/db;MODE=Oracle;TRACE_LEVEL_SYSTEM_OUT=0",
        "autoCreateTables": true
    },
    "serverConfigs": [{
        "app": "P2P",
        "enabled": true,
        "serverSocket": {
            "type": "INET",
            "port": 10000,
            "hostName": "http://<IP_ADDRESS>"
        },
        "sslConfig": {
            "tls": "OFF",
            "generateKeyStoreIfNotExisted": true,
            "serverKeyStore": "/priv/server0-keystore",
            "serverKeyStorePassword": "quorum",
            "serverTrustStore": "/priv/server-truststore",
            "serverTrustStorePassword": "quorum",
            "serverTrustMode": "TOFU",
            "knownClientsFile": "/priv/knownClients",
            "clientKeyStore": "/priv/client0-keystore",
            "clientKeyStorePassword": "quorum",
            "clientTrustStore": "/priv/client-truststore",
            "clientTrustStorePassword": "quorum",
            "clientTrustMode": "TOFU",
            "knownServersFile": "/priv/knownServers"
        },
        "communicationType": "REST"
    }, {
        "app": "Q2T",
        "enabled": true,
        "serverSocket": {
            "type": "UNIX",
            "path": "/priv/tm.ipc"
        },
        "communicationType": "UNIX_SOCKET"
    }],
    "peer": [{
        "url": "http://<IP_ADDRESS>:10001/"
    }, {
        "url": "http://<IP_ADDRESS>:10002/"
    }, {
        "url": "http://<IP_ADDRESS>:10003/"
    }, {
        "url": "http://<IP_ADDRESS>:10004/"
    }],
    "keys": {
        "passwords": [],
        "keyData": [{
            "privateKeyPath": "/priv/tm.key",
            "publicKeyPath": "/priv/tm.pub"
        }]
    },
    "alwaysSendTo": [],
    "unixSocketFile": "/priv/tm.ipc"
}

Thanks for noticing. They are just meant to be samples, not entire working configurations. The reason this one doesn't allow private signed transactions is because there is no "Third Party" server included like the 0.8 version. I'll expand the sample and include a new wiki page for all the various server types.

Oh no, it is there. I'll take a look.

Third time lucky :) In the sample config is the "Third Party" server, which you haven't included in yours above, hence the endpoints are a not accessible.

Thanks, Peter for addressing. We tried using this option as well. See below...
{
    "useWhiteList": false,
    "jdbc": {
        "username": "sa",
        "password": "",
        "url": "jdbc:h2:.//priv/db;MODE=Oracle;TRACE_LEVEL_SYSTEM_OUT=0",
        "autoCreateTables": true
    },
    "serverConfigs": [{
        "app": "P2P",
        "enabled": true,
        "serverSocket": {
            "type": "INET",
            "port": 10000,
            "hostName": "http://<IP_ADDRESS>"
        },
        "sslConfig": {
            "tls": "OFF",
            "generateKeyStoreIfNotExisted": true,
            "serverKeyStore": "/priv/server0-keystore",
            "serverKeyStorePassword": "quorum",
            "serverTrustStore": "/priv/server-truststore",
            "serverTrustStorePassword": "quorum",
            "serverTrustMode": "TOFU",
            "knownClientsFile": "/priv/knownClients",
            "clientKeyStore": "/priv/client0-keystore",
            "clientKeyStorePassword": "quorum",
            "clientTrustStore": "/priv/client-truststore",
            "clientTrustStorePassword": "quorum",
            "clientTrustMode": "TOFU",
            "knownServersFile": "/priv/knownServers"
        },
        "communicationType": "REST"
    }, {
        "app": "Q2T",
        "enabled": true,
        "serverSocket": {
            "type": "UNIX",
            "path": "/priv/tm.ipc"
        },
        "communicationType": "UNIX_SOCKET"
    }, {
        "app": "ThirdParty",
        "enabled": true,
        "serverSocket": {
            "type": "INET",
            "port": 10100,
            "hostName": "http://<IP_ADDRESS>"
        },
        "communicationType": "REST"
    }],
    "peer": [{
        "url": "http://<IP_ADDRESS>:10001/"
    }, {
        "url": "http://<IP_ADDRESS>:10002/"
    }, {
        "url": "http://<IP_ADDRESS>:10003/"
    }, {
        "url": "http://<IP_ADDRESS>:10004/"
    }],
    "keys": {
        "passwords": [],
        "keyData": [{
            "privateKeyPath": "/priv/tm.key",
            "publicKeyPath": "/priv/tm.pub"
        }]
    },
    "alwaysSendTo": [],
    "unixSocketFile": "/priv/tm.ipc"
}

The testcode that we are using...
const Web3       = require('web3')
const EthereumTx = require('ethereumjs-tx');
const ethUtil    = require('ethereumjs-util');
const quorumjs   = require("quorum-js");

const h1 = "http://localhost:8545";
const h2 = "http://localhost:8546";
const h3 = "http://localhost:8547";

const tURL1 = "http://localhost:10000”; //Tessera URL of Node1
const tURL2 = "http://localhost:10001”; //Tessera URL of Node2
const tTP = "http://localhost:10100”; //ThirdParty URL of Node1

const w1 = new Web3(new Web3.providers.HttpProvider(h1));
const w2 = new Web3(new Web3.providers.HttpProvider(h2));
const w3 = new Web3(new Web3.providers.HttpProvider(h3));

const privateKey = [
    "1b3f00565daea44668f70c4fa3938588a980e69d4f5fda9d2617848b3e06d804",
    "8d6149179469b8fabfeb6e076495bcf1cb47d5bf8b5f18947fa2fae1f74ad63b",
    "16591c680a3fff2bd0eb01bc28f899aa1c42d718a11333e3c32db1409c76441b"
];
var pk1  = "+Q0/+iy6EPfqUkQVY/QcIKiQemLeBiGvWy2MnL7fIlI=";
var pk2 = "rUsBt+b+lPFJjiq2EmEjEnx2TlS6uCQ3GzJW8kkC2lA=";
const password = "asdnak";

const fromAccountAddress = '0x' + ethUtil.privateToAddress("0x" + privateKey[0]).toString('hex');
const abi = [{ "constant": true, "inputs": [], "name": "storedData", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "type": "function" }, { "constant": false, "inputs": [{ "name": "x", "type": "uint256" }], "name": "set", "outputs": [], "payable": false, "type": "function" }, { "constant": true, "inputs": [], "name": "get", "outputs": [{ "name": "retVal", "type": "uint256" }], "payable": false, "type": "function" }, { "inputs": [{ "name": "initVal", "type": "uint256" }], "payable": false, "type": "constructor" }];
const contractBytecode = "0x6060604052341561000f57600080fd5b604051602080610149833981016040528080519060200190919050505b806000819055505b505b610104806100456000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680632a1afcd914605157806360fe47b11460775780636d4ce63c146097575b600080fd5b3415605b57600080fd5b606160bd565b6040518082815260200191505060405180910390f35b3415608157600080fd5b6095600480803590602001909190505060c3565b005b341560a157600080fd5b60a760ce565b6040518082815260200191505060405180910390f35b60005481565b806000819055505b50565b6000805490505b905600a165627a7a72305820d5851baab720bba574474de3d09dbeaabc674a15f4dd93b974908476542c23f00029";
var toContractAddress, value
let contract     = new w1.eth.Contract(abi);
const methodData = contract.deploy({
    data: contractBytecode,
    arguments: [42]
}).encodeABI();

function get(addr) {
    const c1 = new w1.eth.Contract(abi, addr);
    const c2 = new w2.eth.Contract(abi, addr);
    const c3 = new w3.eth.Contract(abi, addr);

    c1.methods.get().call().then(console.log).catch((err) => { console.log("err 1") });
    c2.methods.get().call().then(console.log).catch((err) => { console.log("err 2") });
    c3.methods.get().call().then(console.log).catch((err) => { console.log("err 3") });

}

function oldRawTx() {
    const rawTransactionManager = quorumjs.RawTransactionManager(w1, {
        publicUrl: h1,
        privateUrl: tURL1
    });
    const txnParams = {
        gasPrice:<PHONE_NUMBER>,
        gasLimit: 4300000,
        to: "",
        value: 0,
        data: methodData,
        from: {
            privateKey: '0x' + privateKey[0]
        },
        privateFrom: pk1,
        privateFor: [pk2,pk1],
        nonce: 0
    };

    w1.eth.getTransactionCount(fromAccountAddress, 'pending', (err, nonce) => {
        txnParams.nonce = nonce;
        console.log("Nonce :", nonce);
        const newTx = rawTransactionManager.sendRawTransactionViaSendAPI(txnParams);
        newTx.then(function (tx){
                console.log("Contract address: ", tx.contractAddress);

                //Value retrieval over here!!!!
                get(tx.contractAddress);
        }).catch(function (err) {
            console.log("error");
            console.log(err);
        });
    });
}

oldRawTx();

We are still not able to retrieve the value from the desired node.

@prd-fox Could you respond to the query please?

Sorry, let me take another look then.

Ok, I managed to get this working. Here are the changes I made:

In the txnParams, add the property isPrivate: true as indicated here, although the README doesn't have that, which I will edit.

Removed pk1 from the privateFor array, as the sender key should be never be listed as a recipient (it is implied).

Updated the RawTransactionManager to be initialised with the socket file, like so:

    const rawTransactionManager = quorumjs.RawTransactionManager(w1, {
        privateUrl: tTP,
        ipcPath: "/Users/peter/IdeaProjects/quorum-examples/examples/7nodes/qdata/c1/tm.ipc",
    });

If using the sendRawTransactionViaSendAPI method, then you need to specify the ipcPath. If you are using the sendRawTransaction method then that will take the privateUrl which is the Third Party Tessera server URL.
After doing the above, I was able to send the transaction and get the value out using the script you provided (except for node 3, but that is expected).
Hope this helps, drop me another if there are other issues.

Updated README doc here:
https://github.com/jpmorganchase/quorum.js/pull/8

Hope this has helped. Please re-open or create another issue if there is still a problem.


FW pos control: Perform climbout if user requests more than 85% pitch up

@tumbili Please add this to your test. It might solve the manual flight issues in the climb out modes and also might help a bunch with takeoff already.

Also note this: TECS params are documented here:
http://www.pixhawk.org/firmware/parameters#fixed_wing_tecs
Look for FW_T_SPDWEIGHT and play with it on your next flight to improve the altitude tracking.

@LorenzMeier This is the log http://dash.oznet.ch/view/ghMdD6TXJBA83Hx5TayLrF
I will take some time tomorrow to analyse this through. The climbout option seems to work but we have to talk about the situation when it stalls. There was a lot of wind which allowed me to also test POSCTRL.

TECS does ensure to not stall. Please share logs / plots where you think its stalling.

@LorenzMeier Is the desired airspeed from TECS logged?

AsSP


ENG-8175 check if started and exit start() if so. fix unit tests

Check if the SDK is already started(). If so, exit immediately. This will stop the starting of multiple data manager queues that might be occurring right now if start() is called twice in a row without stopping.

yeah good idea. will add a startAlreadyStarted() test.


tone: fix build

Description of changes
closes #229297
fix https://hydra.nixos.org/build/218099597

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229434 run on x86_64-linux 1

2 packages built:

audiobookshelf
tone

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2167


What is the Huawei login about

I'd like to know why it's there and what difference it has to the regular login method, is it only for devices that don't have GMS or is it recommended for me to use even if I have the official GMS pre-installed

The only difference is that you can log in without errors. If normal access is giving you trouble, use this.

Okay, but if I have GMS already I shouldn't have any issue?

Okay, but if I have GMS already I shouldn't have any issue?

I don't know, let's try it (uninstall previous version before).

Okay, but if I have GMS already I shouldn't have any issue?

I don't know, let's try it (uninstall previous version before).

Hey sempai @Oizaro it seems that the new update doesn't work anymore.
I tried resetting my phone and now without GMS.. i tried adding an account on but its seem that the error persist,

@Oizaro it seems that the latest version is not working for me but when I downloaded Vanced MicroG v0.2.12. It worked like charm.


Unable to use environment variables in uaa.yml

What version of UAA are you running?
4.10.0
How are you deploying the UAA?
I am deploying the UAA locally using ./gradlew run
What did you do?
I am trying to use environment variables to define user_ids, passwords, client_ids, client_secrets, etc. externally instead of hard-coding them in plaintext in the uaa.yml file.
What did you expect to see? What goal are you trying to achieve with the UAA?
I expected the environment variables to be resolved in the uaa.yml file correctly instead of being interpreted literally as a string representation of the variable name.
What did you see instead?
The environment variables were not resolved and instead were interpreted literally as a string of the  variable name instead. For example, here I am trying to set user_id and password using environment variables...
scim:
  users:
    - ${UAA_USER_ID}|${UAA_USER_PASSWORD}

Above creates a user with credentials as strings ${UAA_USER_ID} and ${UAA_USER_PASSWORD}
However, environment variables work correctly when configuring the Postgres database in uaa.yml
spring_profiles: postgresql,default

database:
  driverClassName: org.postgresql.Driver
  url: jdbc:postgresql://postgres:5432/uaa
  username: ${POSTGRES_USER}
  password: ${POSTGRES_PASSWORD}

In the above, both ${POSTGRES_USER} and ${POSTGRES_PASSWORD} are resolved correctly
Additional Comments
I have noticed two other issues related to a similar problem (#337 & #483). However, it seems that there is still no straightforward way to define variables externally that you don't want to be hard-coded in plaintext in uaa.yml. If there is an easy way to accomplish this, please let me know!

Hi ,
I m having similar issue. Not able to use use environment variables inside uaa.yml as i need to pass client secret values via environment variables.

Workaround for those who try to run UAA with use of Docker:

Declare a placeholder in uaa.yml file:

oauth:
  clients:
    admin:
      redirect-uri: #{REDIRECT_URI}

Create a Dockerfile with ARG that will be passed during the build. Also, before starting Tomcat execute sed command that will replace the placeholder in YAML file with the argument mentioned before:

FROM tomcat:8.5

ARG REDIRECT_URI

ENV UAA_CONFIG_PATH=/usr/local/tomcat/webapps

WORKDIR /usr/local/tomcat/webapps
RUN wget -O uaa.war "https://repo1.maven.org/maven2/org/cloudfoundry/identity/cloudfoundry-identity-uaa/4.30.0/\
cloudfoundry-identity-uaa-4.30.0.war"

COPY config/uaa.yml ${UAA_CONFIG_PATH}/uaa.yml

CMD sed -i "s|#{REDIRECT_URI}|${REDIRECT_URI}|g" ${UAA_CONFIG_PATH}/uaa.yml && \
/usr/local/tomcat/bin/catalina.sh run

EXPOSE 8080

If you are using Docker Compose, pass the argument value in environment section:

version: '3'

services:
  authorization-server:
    build:
      context: ./
    environment:
      REDIRECT_URI: http://my-url.com
    ports:
      - 8080:8080

Hi @elijah-pl ,
Thanks for sharing.  Since we are using docker we fallowed same.
- docker build -t uaa --build-arg TEST_SEC_MASK=${TEST_SEC_MASK}
We set TEST_SEC_MASK value in gitlab ci cd pipeline variables.


Remove outdated note

This issue was fixed in 2.5.0-BETA.2.

@trask : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Uncaught SyntaxError: JSON.parse errors

🐞 Describe the bug
BUG 1
After deploying a fresh instance of Ackee onto a Vercel instance, on login I get logged back out periodically with the following error:

JSON.parse: unexpected character at line 1 column 1 of the JSON data up/</<@https://my-site-url/index.js:80:80220

BUG 2
Also when attempting to integrate the Ackee tracker into my Svelte-based site (via the embedded JS script method) I get the following error in my browser console when visiting my site:

Uncaught SyntaxError: JSON.parse: expected double-quoted property name at line 1 column 29 of the JSON data

This appears to prevents the tracker from sending any tracking information to my Ackee server as I am getting no data even though I have explicitly disabled the prevention of tracking by setting the options to:

'{ "ignoreLocalhost": false, ignoreOwnVisits: false }'

Confirmed both of the above behaviours in Firefox as well as Chrome.
📚 To Reproduce

Deploy a new instance via steps: https://github.com/electerious/Ackee/blob/master/docs/Get started.md#with-vercel
Once configured correctly, attempt to log in.
After login the page logs out periodically with the following error. Appears to only happen on the index page.

🖼 Screenshots

⚙ Environment

Installation: Vercel
Ackee version: 3.2.0

Similar issue here, my login fails with JSON.parse: unexpected character at line 1 column 1 of the JSON data. It's also a fresh Vercel deployment on Ackee version 3.2.0.

It would be interesting to know what the server responds with. Could you take a look at the network inspector of the browser? It should contain a request to /api with a non JSON response.
Another helpful indicator is the serverless function log in Vercel. It should tell us more about the error.

Closing this issue, because I need the serverless function log.


Github refresh times out

Github & also the sourcerer-app refresh times out. Tried it few more times ,still no luck

same

facing the same issue

Same issue too.

Same issue...


Live Queries

I haven't used Cayley much but I've used Neo4j extensively and love using graph databases. I'm building a new programming language that compiles to JS that allows you to bind templates to database queries using http://rethinkdb.com/blog/1.16-release/. I think efficient live querying is a fantastic new data access model that could fit really well with a graph database like Cayley.
Would love to hear some thoughts about potentially supporting this. If GH issues is not the correct place to post this please let me know and I'll delete it and start a discussion in another place.

(GH issues is fine, btw)
I think I understand what you're getting at, but it's not what I'd call a new data access model. Triggers have existed in databases for quite a long time; yes, maybe not as web triggers or live queries or whatever, but as a general notion, update-a-query-(or-view)-on-write is fairly well-known.
So then, as it applies to graphs. You're right, it is an access model that is actually really cool; I've seen prototypes in this general direction on graphs before. (A public example of which in the old days was mwdeathbot -- triggered on /people/person/deceased_person type triples)
It's a thing I'd love to support in Cayley.
The question then comes on how to get there. There are a couple steps:

Add support for replication -- for three reasons:

This tends to be more server-taxing, so replicas are a good thing.
It will probably force the abstraction of AddDelta() into its own interface.
You now have a separate replica stream (update stream -- you can see the connection).

Write a "triple responder" store.

This need not be a pluggable store; total storage is minimal, possibly even ephemeral.
This would be aided by cursors/iterator-serialization, but is not required for v0.
This could be prototyped with (and benefit from) Cayley-as-a-library (#64, #208), as a separate binary which reads the replication stream and updates all listening queries.
The API for which is also interesting, when it comes to accepting queries. Sure, they need to be valid Cayley queries, but you might also want server limits on how complicated of a query, etc.

This is a really interesting bit of code with a bit of a difficulty factor. You have to be able to take an iterator tree, find which quads it could possibly respond to ((,,,) at worst) and the points in the query that those correspond to, and on event, rewrite the iterator tree with the new information (likely:u sing  and iterators and fixed iterators) and rerun the (now simpler) query. The back-of-envelope upper bound on response time per write is the time it took to run the initial query, often much better.
But it's nicely separable, in the sense that, again, it could just be a binary listening on the replica stream. This binary, incidentally, can also become the basis of a graph cache as it gets more intricate.

Once that gets working, combine all the code, and add the appropriate HTTP endpoint directly into Cayley. (You'll notice the "event" I mentioned is once again the AddDelta() interface, exposed through the replica stream)

That's my rough sketch anyway. I'm thinking of taking a run at replication in the next few days.
I'd love the help if you've got some spare cycles. It's also nice in that the bulk can be written in a more-or-less brand-new-module/directory way. As you can tell, I've thought a lot about this, so I'm totally up for being literally on-call for questions if you're free.

Wow, thanks for such a detailed answer. Unfortunately, right now I don't have any spare cycles, as NoSql dbs are in higher demand so we have to focus on that now(even though I'm more excited by graph dbs). If we end up hiring more devs though, this would be something we'd love to try to contribute to. Regardless, I'll definitely stay in the loop and see how it progresses.

This is an awesome discussion, but hasn't yet yielded specific implementations -- so moving it over to feature requests: https://discourse.cayley.io/t/live-queries/230


Menu not work

When we add images in background submenu not in front and dont appear

This is not related to Butter Knife which knows nothing about menus.


Two identical syncronized  components don't align

Describe the bug
I have two ScrollViever components side by side, each containing a StackPanel with the same number of elements all of the same size. The two ScrollView components are synchronized through the ViewChanged event.
When one ScrollViewer is scrolled all the way to the bottom, the two ScrollViewer components are misaligned by one or two pixels. Scrolling the last pixel in the ScrollViewer I am scrolling does not trigger the ViewChanged event.
 When you try to scroll them all the wqy to the bottom you will see that one is misaligned by one or two pixels.
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.6 Experimental 2: 1.6.240701003-experimental2
Windows version
No response
Additional context
My WIndows Version is 23H2

Does it repro with display scaling set to 100%?

@kmgallahan - no, it doesn't. At Display scaling 100% they align perfectly ...

That means layout rounding is used when the UI is scaled, and the positioning logic is different when handling input vs values set via code.

@kmgallahan  - ok, thanks ...
Does that mean it is "works as designed", or that a fix will be created?

Most 'off by a pixel' stuff is related to scaling, so I just wanted to check if that was the case here.
Otherwise, I'm not an MS employee so no idea how they are allocating funding to resolve misc. aesthetic issues.

@kmgallahan - ok, thanks Kevin :)


Add missing import of GithubException.

Fixes:
NameError: name 'GithubException' is not defined

when user cannot be found.

Wow how did I miss this for so long!
Turns out I usually use this to interact with my own repos or repos
where the origin URL in .git/config already points to github.
Great catch; thank you!


docs: add usage examples to every method

Forgive me I was late on reviewing the initial docs PR - Here are my suggestions that I think it improves them a bit.
I understand that those were initial docs, to have something better than a placeholder, so I agree that maybe this PR should be closed instead and this will be addressed when working on the final docs. But in case they might help, here they are.
Addresses two main points:

I didn't fully like adding keywords that people might not be familiar with. Specifically shared and replayable. So I rephrased that.
Some of the operators had the actual implementation in them. Although I can see how this is useful to get the point across (e.g. distinctShareReplay), I felt like in some places it was redundant (if people want to see the how it's implemented it's just 2 clicks away), and it would be of more helpful to show a usage example instead.

I didn't fully like adding keywords that people might not be familiar with. Specifically shared and replayable. So I rephrased that.

I actually disagree here. I think using RX terminology is far more precise and easier to understand. We could add links to these terms when we use them.

I didn't fully like adding keywords that people might not be familiar with. Specifically shared and replayable. So I rephrased that.

I actually disagree here. I think using RX terminology is far more precise and easier to understand. We could add links to these terms when we use them.

My point is that, even for people familiar to RX, I think it's unclear what shared and replayable mean. shared actually has many different ways that behave slightly different to each other.
I think replayable observable is also a term we used to define this but it's not exactly something used widely in rxjs circles. There are many replay operators, but again, each one behaves slightly different.
I would see another alternative by using the operator name shareReplay, but explaining how our operator is different from that one, but I think it's more straight-forward to just describe what it does.
I think it's important at least to describe exactly how this shared and replayable actually work, as otherwise there are many assumptions to be made when working with this connectObservable (how are subscriptions cleaned up? does it unsubscribe and resubscribe? how many items does it replay?).

@all-contributors please add @voliva for docs
@all-contributors please add @bhavesh-desai-scratch for docs
@all-contributors please add @josepot for docs

@all-contributors please add @voliva for docs

@all-contributors please add @bhavesh-desai-scratch for docs

@all-contributors please add @josepot for docs

@all-contributors please add @josepot for docs


Update installation.md

Description & motivation
Minor documentation fix for dbt Cloud on-prem installation

Thanks @hashkanna for the contribution!


HI

i am not able to unblock fubo.tv
netflix mtv fox sports and hulu is working fine
do i have to enable the ipv6 for that

Has you added fubo.tv domain and tested it resolves to your proxy?

no it's not working yet
i am trying again

its working now but the videos are not coming

Fubo, like BBC iPlayer, use HTTP/2 protocol on their media/API endpoints, so this solution won't work unfortunately with default settings. (see  n5)
To make it work, you'll have to work out which Fubo hosts are different machines/clusters and pin them each to a different public IP.  However, since you are limited to the number your VPS provider will allow you to assign, this approach might not be practical.
The remaining and arguably easiest way is to use a VPN. You can try unzoner.com, which works with fubo.tv or any other VPN provider (best to as them first before you hand over the money).


My Bot is running Locally with APp id and password but when host in azure

Getting always retry in dev framework test web chat
and issues are there https status code
There was an error sending this message to your bot: HTTP status code NotFound
Please help me regarding the same

Duplicate of https://github.com/Microsoft/BotBuilder/issues/2985


Fix grpc server

Use grpc.Serve, not http.ListenAndServe.

Hmm, appears the grpc server hangs on shutdown. Will look into it.

Hmm, appears the grpc server hangs on shutdown. Will look into it.

Josh the reason was: even if you stop grpc server it returns nil from Serve(...) and then goroutines block on write to errCh. I added bufferization and now it works.
P.S. Still not sure about ErrServerStopped though - in grpc source code it's said that // Serve called after Stop or GracefulStop. for this error.

Thanks! I replaced the check for http.ErrServerStopped with err != nil and made the channel unbuffered. Mind taking another look real quick?


Thoughts, Opinions and Ideas.

I will split this into two parts, my love for this port to the TI-84 and then some questions I have regarding its capability.
I absolutely love the way this is built. I love being able to mess around with the basic features of Minecraft and still have most the essential gameplay. I have already come really close to filling a full flat world with structures and stuff. However, now I have some questions regarding potential added capabilities that could be added.
Would it be theoretically possible to create an update that allows for angle changes?
I like the way that roller coaster tycoon classic solves this issue on the phone version. They allow you to click a little arrow to change/rotate the world screen by 90 degrees. So four rotations allows for a full "360" turning. I was wondering if such a future could be added to the calculator port by using the parentheses buttons "(" and ")" to turn left and right. I think that adding this future would allow for more building options as currently everything I build has to be open ended and also work to not over shadow the other things I build. While I am not sure that this would directly solve the problem, I do think it would help especially with getting the most out of the available space given. I know that the amount of code and spacing is limited, but I was thinking this might be a small enough change to be implemented.
I would also want to know if deleting or overriding save files is or could be implemented?
I have a world currently that is a standard file but I realized there is no current way to remove or restart a world. This would be a very nice future that would allow me to remove old files and start fresh.
Also, how would I be able to access the source code?
I am really interested in being able to see the way this was developed and how everything is built.
Is there a community forum for this project that already exists that I am unaware of?
I was looking for one but I couldn't find anything.
Thanks for your help!

I would also want to know if deleting or overriding save files is or could be implemented?
I have a world currently that is a standard file but I realized there is no current way to remove or restart a world. This would be a very nice future that would allow me to remove old files and start fresh.

Save files are stored in appvars, which you can delete from the calculators memory menu (2nd+mem, 2, alpha+B)

Also, how would I be able to access the source code?
I am really interested in being able to see the way this was developed and how everything is built.

It's in this repo; you can access it from the "Code" tab.

I'm glad you're enjoying the project!

Would it be theoretically possible to create an update that allows for angle changes?

I've gotten this one a lot. Theoretically yes, but it would require the entire tri-grid to be refreshed and the whole screen to be redrawn. Not impossible, but it would be a little slow. Plus, things like shadows and block textures wouldn't rotate accurately without some adjustments. I may experiment with this at some point, but it's not a high priority.

I would also want to know if deleting or overriding save files is or could be implemented?

Forgot to mention this one in the README. You can delete worlds by putting the cursor over them in the world select menu and pressing the delete key.


Add command to remove assignment

It may be sometimes useful when participant is wrongly assigned to a backup computer.

I would like to polish this up. Can You give me access to your repo @Igifigi?

Add some error handling logic
Improve help string


Question on SSIM calculation

Thank you for the nice paper.
Could you provide details on how you calculated the SSIM scores?
0.75 seems incredibly high for EEG-based image generation, which I'm having difficulties reproducing.
Most fMRI-based methodologies produce around 0.35 and other EEG based papers have around 0.2~0.3.
Thank you!

We have found that our script for calculating SSIM has something wrong. It may probably because the pre-processing (for high-level evaluation) parts in our code, and the actual SSIM should in the range 0.26~0.28.

Considering we do not have any low-level design, we delete this script and replaced SSIM by FID.

We have found that our script for calculating SSIM has something wrong. It may probably because the pre-processing (for high-level evaluation) parts in our code. Considering we do not have any low-level design, we delete this script and replaced SSIM by FID.


Factor out server launch to enable "lazy" initialization of LocalSeleniumGrid hub and node objects

To enable "target platform" support for driver types, I could definitely benefit from the availability of the "personality" values provided by SeleniumGrid. However, launching the local grid servers for this purpose makes no sense. To expand the utility of the "personalities" collection. the servers attached to local grid hub and node objects shouldn't be launched until we actually need a driver session.
It may be beneficial to revise the DriverPlugin interface to revise the output of getPersonalities() to return a map that associates personalities with plug-ins rather than capabilties.

This issue is resolved by the aforementioned PR. It appears that compound resolution statements aren't supported.


Attach remote kuzu database design

Attach remote database design
Design goal: Allow user to execute read-only queries on a remote kuzu database which can be stored on S3 and accessed via https. We are not going to allow users to attach multiple kuzu instances at a time, and users are not allowed to query the original local kuzu database after attaching. The reason why we set this restriction is to keep the feature simple and straightforward.
Prerequisite
The httpfs extension should be installed and loaded beforehand using:
INSTALL httpfs;
LOAD EXTENSION httpfs;

Feature:
1.  User can attach/detach a remote database using attach/detach statement as follows:
Attach:
ATTACH 'S3://kuzu_data/db' as uw (type kuzu)
Detach:
DETACH uw
a. After attaching a remote database, users can no longer query/access the original local kuzu database.
b. Users can only query the original local kuzu database after issuing the detach statement.
c. Only one remote database can be attached at a time. meaning:
ATTACH 'S3://kuzu_data/db' AS uw (type kuzu)
ATTACH 'S3://kuzu_data/db1' AS uw1 (type kuzu)

The second attach statement will cause an exception.
d. The Kuzu database will be attached in read-only mode, meaning write queries will be rejected. If the database path is an invalid Kuzu path, an exception will also be raised.
Implementation

Attach: After the user issues the attach statement, we reconstruct the fields in the database class using the provided remote file path.
Detach: After the user issues the detach statement, we reconstruct the fields in the database class using the original file path (the one provided on startup).

2.  Querying
We allow users to attach a remote kuzu database and query it the same way as they would a local kuzu database.
Example:
// Assume person is a valid table in uw database
ATTACH 'S3://kuzu_data/db' AS uw (type kuzu)
MATCH (p:person) RETURN p.*

[!NOTE]
Write queries are not allowed.

3. Benchmark Result
Sequential read CSV result: (measured in seconds)
File: LDBC100 comments.csv table, 21GB

Block size
http file system read time (sec)
local file system read time (sec)

4KB
145
5

64KB
86
3

256KB
87
3

512KB
105
3

1MB
86
3

4MB
32
3

I am adding this comment here to brainstorm with people who wanted a feature to be able to query databases that is on s3.
In particular I want to understand 2 questions:

Download Locally Option: Are you in a position to download the Kuzu database directory on s3 to the local machine and then just query the database from your local machine as many times as possible? If not, why not? What limits this option, e.g., does your environment have a limitation about using a local disk?

The reason I'm questioning this is that in general using Kuzu to query s3 databases as if those databases are local sets Kuzu up for very poor performance. I'm sure there are many optimizations to do but we don't do them yet. For example there are chances that we'll make many s3 range calls to scan many 4KB pages (though s3 is likely to optimizing these calls). Therefore if you're going to query the s3 database many times, it may just pay off to download the database files to a temporary local machine, query it many times from there and then throw the directory away. In fact, we can consider implementing a Kuzu extension that does this on users' behalf, so from your perspective you still attach to a remote database in a read-only mode, and then query it. At the background while you do the attachment, we can just download the database directory s3 into a temporary directory. So nothing changes on user's behalf but if you'll issue many queries, it may just pay off.

As a follow up question to 1 and my note above, if Download Locally Option is an option for your setting, would you prefer it over directly querying s3?

It would be good to get feedback on these. We have a s3-and-kuzu channel in Discord where people can comment.


Link to embassy-usb

On Sun, May 22, 2022 at 02:10:51AM -0700, Ryan Summers wrote:

It would be good to explicitly note that embassy-usb is an async variant.

Acknowledge

Async isn't widely available on stable Rust at the moment due to GATs.

Euh, what is a GAT?
Groeten
Geert Stappers
Silence is hard to parse

FWIW
--- a/README.md
+++ b/README.md
@@ -40,4 +40,4 @@ Others
 ------

 Other implementations for USB in Rust
-* [embassy-usb](https://github.com/embassy-rs/embassy/blob/master/embassy-usb/src/driver.rs)
+* [embassy-usb](https://github.com/embassy-rs/embassy/blob/master/embassy-usb/src/driver.rs), an async variant.

is been pushed.

Euh, what is a GAT? Groeten Geert Stappers -- Silence is hard to parse

Generic Associated Types = GAT, and are not yet stabilized. They're generally used for defining async trait variants


[gtest] Fix missing debug information

Patch a CMake file in gtest not to override the /Z7 compiler option that embeds debug info in the .lib with /Zi that places it in a .pdb. This fixes linker warning LNK4099 when linking with gmock.lib:
gmock.lib(gtest-all.cc.obj) : warning LNK4099: PDB 'gmock.pdb' was not found with 'gmock.lib(gtest-all.cc.obj)' or at '...\gmock.pdb'; linking object as if no debug info

Without this change, the following message appears in the build log:
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'

If there's a better way to do this, without patching gtest, I'd be glad to hear about it.

I think this is the right change. Thanks for the PR!


Dataset Metadata Link Not Working

The hyperlink under the "Dataset Metadata" section of the ReadMe does not redirect to an existing webpage.

Thanks for reporting. It should now be fixed.


hurt note skins

What feature do you want to get added on the base engine?
would be like normal note skins and note splash skins but would be for hurt notes.
To test your sight, and reliability, please select the option of what should NOT be requested.


feat: add in termination check for nodes without machines

Fixes https://github.com/aws/karpenter/issues/3562
Description
Adds in a termination check to see if the underlying instance is not found. If not found, Karpenter will delete the node and remove the finalizer.
How was this change tested?

make presubmit

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 7 (71.43%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 81.289%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/termination/controller.go
5
7
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
6582

Relevant Lines:
8097

💛  - Coveralls


Backpropagation

How would I calculate the backpropagation through the loss layer i.e. the derivative of the loss w.r.t. the embeddings, A and B? I am trying to implement this in MatConvNet, which requires me to code the backward pass.

The loss is simple cross entropy: https://github.com/haeusser/learning_by_association/blob/master/semisup/backend.py#L179
I personally would suggest to use a scalable framework with auto-differentiation such as PyTorch, Caffe2, Torch, Theano, younameit.


Provide a convenience function that would patch the gulp.src

import plumber from 'gulp-plumber';

export default (gulp, plumberOptions = {}) => {
    let gulpSrc;

    gulpSrc = gulp.src;

    return (...args) => {
        return gulpSrc
            .apply(gulp, args)
            .pipe(plumber(plumberOptions))
    };
};

Then user can simply do:
import gulp from 'gulp';
import {
    patchGulpSrc
} from 'gulp-plumber';

gulp.src = patchSrc(gulp);

Combining streams to handle errors is possible workaround for this. I strongly believe that gulp should handle this internally.


Unknown error occurred

After installing this I keep getting the following error
I'm logged out on every mobile device that used the petkit account before,
This error originated from a custom integration.

Logger: aiohttp.server
Source: custom_components/petkit/util.py:28
Integration: PetKit (documentation, issues)
First occurred: 14:04:24 (2 occurrences)
Last logged: 14:07:00

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 145, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 253, in async_configure
    result = await self._async_handle_step(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 335, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/petkit/config_flow.py", line 90, in async_step_user
    await async_validate_api(self.hass, email, password)
  File "/config/custom_components/petkit/util.py", line 28, in async_validate_api
    devices_query = await client.get_device_roster()
  File "/usr/local/lib/python3.10/site-packages/petkitaio/petkit_client.py", line 143, in get_device_roster
    device_roster = await self._post(url, header, data)
  File "/usr/local/lib/python3.10/site-packages/petkitaio/petkit_client.py", line 345, in _post
    async with self._session.post(url, headers=headers, data=data, timeout=self.timeout) as resp:
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 557, in _request
    resp = await req.send(conn)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 669, in send
    await writer.write_headers(status_line, self.headers)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 130, in write_headers
    buf = _serialize_headers(status_line, headers)
  File "aiohttp/_http_writer.pyx", line 132, in aiohttp._http_writer._serialize_headers
  File "aiohttp/_http_writer.pyx", line 109, in aiohttp._http_writer.to_str
TypeError: Cannot serialize non-str key None

Error resolved:
tz environmental variable is needed for Home Assistant docker installs.

Hi Robert. I am still getting this 'Unknown error occured' even after I set the TZ environment variable in Home Assistant Docker. I have never had this issue in the past but it seems it won't go away after this HA update. Can you help please?

Go to Settings --> System --> General and make sure you have a timezone set.
Also, go to your user profile and make sure timezone is set there.

Looks like you have some conflicting timezone issues on the OS that you're running the container on.
What did you set the TZ environment variable to for the Home Assistant Docker container?
Also, please post the output from running ls -l /etc/localtime in your terminal on the machine that is hosting the docker container (not within the Home Assistant container itself).

I set it to Europe/Bucharest when I installed HA. I used this command:
docker run -d
--name homeassistant
--privileged
--restart=unless-stopped
-e TZ=Europe/Bucharest
-v /home/petrutghita/Documents:/config
--network=host
ghcr.io/home-assistant/home-assistant:stable
This is what ls -l /etc/localtime gets:
pi@raspberrypi:~ $ ls -l /etc/localtime
lrwxrwxrwx 1 root root 36 Jul 10 18:54 /etc/localtime -> /usr/share/zoneinfo/Europe/Bucharest
Both Profile and System time zones within HA are set to Europe/Bucharest. I even get the correct time when i run 'date' in docker. I have no idea where /Africa/Lusaka comes from or how I can get rid of it.

Run sudo timedatectl set-timezone Europe/Bucharest on your raspberry pi.
After that run cat /etc/timezone. It should now output Europe/Bucharest. Restart your Pi after making that change. Let me know if the integration works after doing all of that.

I ran those commands and it shows correct timezone Europe/Bucharest, however it still won't let me login and I get the same error.
This error originated from a custom integration.
Logger: aiohttp.server
Source: custom_components/petkit/util.py:19
Integration: PetKit (documentation, issues)
First occurred: 10:32:17 PM (1 occurrences)
Last logged: 10:32:17 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 181, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 297, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 393, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/petkit/config_flow.py", line 110, in async_step_user
await async_validate_api(self.hass, email, password, asia_account)
File "/config/custom_components/petkit/util.py", line 19, in async_validate_api
client = PetKitClient(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/petkitaio/petkit_client.py", line 75, in init
self.tz: str = get_localzone_name()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tzlocal/unix.py", line 208, in get_localzone_name
_cache_tz_name = _get_localzone_name()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/tzlocal/unix.py", line 158, in _get_localzone_name
raise zoneinfo.ZoneInfoNotFoundError(message)
zoneinfo._common.ZoneInfoNotFoundError: 'Multiple conflicting time zone configurations found:\n/etc/timezone: Africa/Lusaka\n/etc/localtime is a symlink to: Europe/Bucharest\nFix the configuration, or set the time zone in a TZ environment variable.\n'

In that case it looks to be an issue within the Home Assistant docker container. You'll need to get into the Home Assistant container shell and execute the cat /etc/timezone command.

To get into your container, run the following command docker exec -it homeassistant /bin/bash. Once inside of the container run, cd .. to get to the root. After that you can run the cat /etc/timezone command.

Ok did that and I got Africa/Lusaka. How do I change it? sudo timedatectl set-timezone Europe/Bucharest doesn't seem to work

You can use an editor to directly edit the /etc/timezone file.
I don't believe HA comes with the nano editor, but vi works. So, you'd run sudo vi /etc/timezone. Remove Africa/Lusaka replace it with Europe/Bucharest, save + close the file. Restart the container.

Well that solved it. Thank you very much especially for the quick responses. Your integration is flawless and you're awesome to say the least!

Glad I could help! Appreciate the kind words.


Adds the Scale Generator exercise.

@camilopayan are you interested in completing this work? There have been some breaking changes in the directory structure and the continuous integration tests that would need some work to update.

@neenjaw unless @camilopayan would like to finish this PR themself, I would be happy dust off this PR and bring it up to standards.

Sounds good to me.  Let's give @camilopayan a few days to respond, after that I think it's fair game.
It might be easier to copy the code to a new branch based on the current main branch to make it easier.  Make sure to credit camilopayan as a co-author. :)

@0x647262, if you want to finish this exercise I think @camilopayan has had a fair chance to response. please feel free to continue this work.
Like above, I think probably best to copy this work to a new branch that you control.  Will close this PR once you've done that

Fulfulled by #386


edit README to reference Gio dependencies for Linux

Add a link to the Gio dependencies for building godcr on Linux. MacOS and FreeBSD do not have dependencies.

The link is: https://gioui.org/doc/install/linux


Not able to add custom row for Filtering columns data

The below link what I expect to achieve, same kind of filtering option as one row after the table header.
http://ng-table.com/#/

Closing this one since One thread is already going on https://github.com/hjalmers/angular-generic-table/issues/99


table is not there ingame

the table is there in unity but not in game

Images? console errors? Saying doesn't show in game doesn't tell us anything.
I will however say that make sure you are using the prefab from the VRCBillards folder and not the one in prefab components. If it still doesn't show in game, try purging your content cache and restart VRChat as you are probably using a cached version of your world.


⚠ Heritage of Faith Christian Church - Gold Coast has degraded performance

In 763f142, Heritage of Faith Christian Church - Gold Coast (https://heritageoffaith.com.au) experienced degraded performance:

HTTP code: 200
Response time: 9549 ms

Resolved: Heritage of Faith Christian Church - Gold Coast performance has improved in f6ed01a.


Changes for travis-enterprise

I wanted to test the changes we did for travis-enterprise on staging.org and staging.com.
I create a commit and checked the logs and the heroku console and the web interface.
On staging.com evertything  works fine. But on staging.org the worker does not seem to process the jobs.
In the rabbit queue dashboard I can't see any docker.builds even through there should be one.

Is there a problem with org staging?

@BanzaiMan Thanks for looking at that. Org staging was broken but its already fixed :+1:

@BanzaiMan can you review this when you have a moment