flag.Lookup methods abnormal

What version of Go are you using (go version)?

$ go version
go version go1.17.1 darwin/arm64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="arm64"
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOOS="darwin"
GOVERSION="go1.17.1"

What did you do?
https://play.golang.org/p/Zhy7UyXYEru
What did you expect to see?
According to the comment of the Lookup function, it should return nil.
What did you see instead?
I saw the flag.Lookup("test") the return value is as follows, But I did not specify the test parameters:
&{test test 2 2}

Is my wrong, flag.Lookup is used to judge whether the -test definition


Cannot launch docker on Windows 7

I followed the installation instructions at https://docs.docker.com/installation/#installation and installed Docker via docker-install.exe.  When I launch docker, I get this:
initializing...
error in run: Failed to initialize machine "boot2docker-vm": exec: "C:\Program
Files\Oracle\VirtualBox\VBoxManage.exe": file does not exist
starting...
error in run: Failed to get machine "boot2docker-vm": exec: "C:\Program Files\
Oracle\VirtualBox\VBoxManage.exe": file does not exist
connecting...
error in run: Failed to get machine "boot2docker-vm": exec: "C:\Program Files\
Oracle\VirtualBox\VBoxManage.exe": file does not exist
[Hit a key to exit]

Deleting the folder C:\Users\${username}\VirtualBox VMs\boot2docker-vm worked for me, too.

Hi all..i installed docker on windows,but when i m clicking Boot2Docker .its opening in notepad instead of running.please help me regarding this

I used 'boot2docker ssh' in win7. think that was from a dos command window...

I just installed Docker in my Windows 7 PC and same problem:
initializing...
error in run: Failed to initialize machine "boot2docker-vm": exec: "C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe": file does not exist

C:\Program Files\Boot2Docker for Windows>

I do not have that folder mentioned above; do not have Virtual Box installed.  The installation seems to have completed successfully and, in fact, it did prompt me for permissions to installed Oracle components, which I OK.

https://forums.virtualbox.org/viewtopic.php?f=6&t=61785 solved my problem!

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


Upgrade Screens Mac to 3.6.9b4770

Thank you for the contribution. It was merged directly as 5ea5dc4dbf55f3b11c1e3b34da877c39f10c3c88 to keep commit history cleaner. Your contribution is still credited to you.


[5.5] Add a function to remove empty entries from an array

This Pull Request adds a function to recrusively remove empty entries from an array.
:octocat:

I feel like clean is a bit too general for this? Could we think of a better name? Otherwise, 👍

No plans to add to core right now.


Open node from tree root is not possible

Hello,
i wanted to open the node using the jsTree instance with treeInstance.open_node(nodeFromEvent), where the nodeFromEvent is a node that it is passed by node_selected event. Unfortunately i saw in the jsTree sourceCode that if the obj.id === $.jstree.root, the opening of the nodes is skipped. But its what i want to use, since i want to control what happens if nodes are selected and then, reuse the e.g. before_open events to do my own calculations for each children. Could you clarify the design decision of this event, and maybe give a hint how can i propagate opening events for the children and their children without big interference in jsTree code?

I am afraid you are doing something wrong - the jstree.root is not what you think it is.
It is not a root node that you can see - it is an "invisible" parent over your root nodes. As such - it has no UI, can't be opened and can't be selected.
If you provide a demo of what you are trying to do I may be able to help you debug.


KYLIN-5052 Clean up unused and out-of-date source code/config

remove unused maven module, include core-dictionary and datasource-sdk
remove out-of-date UTs
all source code are not deleted but commented, should deleted them later

Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

Test Evidence
UT & IT

mvn clean test -DskipRunIt=false

mvn clean test -Pspark3 -DskipRunIt=false

Manual test

Codecov Report

:exclamation: No coverage uploaded for pull request base (kylin-on-parquet-v2@9f7e531). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                   @@
##             kylin-on-parquet-v2    #1702   +/-   ##
======================================================
  Coverage                       ?   24.63%
  Complexity                     ?     4451
======================================================
  Files                          ?     1092
  Lines                          ?    61876
  Branches                       ?     8888
======================================================
  Hits                           ?    15241
  Misses                         ?    45027
  Partials                       ?     1608

Continue to review full report at Codecov.

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


deno: 1.32.3 -> 1.32.4

Description of changes

Things done

Built on platform(s)

[ ] 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

[ ] 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
[ ] 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

[ ] Fits CONTRIBUTING.md.

aarch64 build fail
https://hydra.nixos.org/build/216127367

Upstream issue
https://github.com/littledivy/fastwebsockets/issues/2
https://github.com/denoland/deno/pull/18684

https://github.com/denoland/deno/releases/tag/v1.32.5


fix: script type unknown

Proposing this as a change to handle when the output script type is unknown. It currently errors in btc-signer lib when we try to display the output address in the UI.

Build is here to test: https://github.com/leather-wallet/extension/actions/runs/6052120932


Suricata rules with "flowbits:noalert" are blocked (false positive) (resurface with 21.1)

Here was the original issue that was fixed. #3386
It appears the change to using policies in 21.1 took out the bugfix that changed ignored changing flowbits:noalert rules.  I also do not see a way to add a policy to skip those.
I have emerging-current_events.rules and emerging-trojan.rules set to change all rules to drop.  I am getting false drops from SIDs 2020573 and 2022317 both which have flowbits:noalert set.
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"ET CURRENT_EVENTS INFO .exe download with no referer (noalert)"; flow:established,to_server; content:".exe"; http_uri; fast_pattern; content:!"Referer|3a|"; http_header; flowbits:set,exe.no.referer; flowbits:noalert; classtype:bad-unknown; sid:2020573; rev:3; metadata:created_at 2015_02_26, updated_at 2020_09_29;)
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"ET TROJAN Zbot download config - SET"; flow:established,to_server; content:"GET"; http_method; content:".dat"; http_uri; content:!"Content-Type|3a|"; http_header; content:!"Referer"; http_header; pcre:"/.dat$/U"; flowbits:set,ET.zbot.dat; flowbits:noalert; classtype:trojan-activity; sid:2022317; rev:2; metadata:created_at 2015_12_30, updated_at 2020_06_17;)
--

a bit too late for 21.1.1 which is scheduled for tomorrow, but https://github.com/opnsense/core/commit/f79c311abfd21ab22a708dd5f6a17b62bf017325 excludes the flowbits:noalertagain, totally missed that one while refactoring the rule updater.


Valgrind report memory leaks on Aws::Utils::Crypto::Sha256OpenSSLImpl::Calculate

Hello,
Valgrind is reporting a memory leak on the C++ SDK when I use the documentation examples from the aws-doc-sdk-examples repository.
Here I am using the SQS client, but I was able to reproduce the same issue with the SNS client and analogous functions. Please find the logs below:
$ valgrind --leak-check=full --track-origins=yes ./send_message "<queue_url>" "message"
==8878== Memcheck, a memory error detector
==8878== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==8878== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==8878== Command: ./send_message <queue_url> message
==8878==
Successfully sent message to <queue_url>
==8878==
==8878== HEAP SUMMARY:
==8878==     in use at exit: 73,296 bytes in 17 blocks
==8878==   total heap usage: 8,764 allocs, 8,747 frees, 1,080,092 bytes allocated
==8878==
==8878== 144 bytes in 3 blocks are definitely lost in loss record 11 of 13
==8878==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8878==    by 0x6502DB2: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==8878==    by 0x658DEA6: EVP_MD_CTX_create (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==8878==    by 0x543BEE1: Aws::Utils::Crypto::Sha256OpenSSLImpl::Calculate(std::istream&) (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x542526E: Aws::Utils::Crypto::Sha256::Calculate(std::istream&) (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x54065AF: Aws::Client::AWSAuthV4Signer::ComputePayloadHash(Aws::Http::HttpRequest&) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x54046AC: Aws::Client::AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest&, bool) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x54128BB: Aws::Client::AWSClient::AttemptOneRequest(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x541173D: Aws::Client::AWSClient::AttemptExhaustively(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x541539E: Aws::Client::AWSXMLClient::MakeRequest(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x4F46589: Aws::SQS::SQSClient::SendMessage(Aws::SQS::Model::SendMessageRequest const&) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-sqs/libaws-cpp-sdk-sqs.so)
==8878==    by 0x40EE9B: main (in /home/aviggiano/aws-test/aws-doc-sdk-examples/cpp/build/send_message)
==8878==
==8878== 144 bytes in 3 blocks are definitely lost in loss record 12 of 13
==8878==    at 0x4C2AB80: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==8878==    by 0x6502DB2: CRYPTO_malloc (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==8878==    by 0x658DEA6: EVP_MD_CTX_create (in /lib/x86_64-linux-gnu/libcrypto.so.1.0.0)
==8878==    by 0x543BDE5: Aws::Utils::Crypto::Sha256OpenSSLImpl::Calculate(std::basic_string<char, std::char_traits<char>, Aws::Allocator<char> > const&) (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x542522C: Aws::Utils::Crypto::Sha256::Calculate(std::basic_string<char, std::char_traits<char>, Aws::Allocator<char> > const&) (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x5404E17: Aws::Client::AWSAuthV4Signer::SignRequest(Aws::Http::HttpRequest&, bool) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x54128BB: Aws::Client::AWSClient::AttemptOneRequest(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x541173D: Aws::Client::AWSClient::AttemptExhaustively(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x541539E: Aws::Client::AWSXMLClient::MakeRequest(Aws::Http::URI const&, Aws::AmazonWebServiceRequest const&, Aws::Http::HttpMethod) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-core/libaws-cpp-sdk-core.so)
==8878==    by 0x4F46589: Aws::SQS::SQSClient::SendMessage(Aws::SQS::Model::SendMessageRequest const&) const (in /home/aviggiano/aws/deps/aws-sdk-cpp/build/aws-cpp-sdk-sqs/libaws-cpp-sdk-sqs.so)
==8878==    by 0x40EE9B: main (in /home/aviggiano/aws-test/aws-doc-sdk-examples/cpp/build/send_message)
==8878==
==8878== LEAK SUMMARY:
==8878==    definitely lost: 288 bytes in 6 blocks
==8878==    indirectly lost: 0 bytes in 0 blocks
==8878==      possibly lost: 0 bytes in 0 blocks
==8878==    still reachable: 73,008 bytes in 11 blocks
==8878==         suppressed: 0 bytes in 0 blocks
==8878== Reachable blocks (those to which a pointer was found) are not shown.
==8878== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==8878==
==8878== For counts of detected and suppressed errors, rerun with: -v
==8878== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)

I also opened an issue there since I am not sure whether the problem is with the lib or with the example.

Thank you for reporting this to us, it's a bug.

Fixed, will push out soon


⚠ Jenkins Plugins Artifactory has degraded performance

In e397026, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1301 ms

Resolved: Jenkins Plugins Artifactory performance has improved in cde41be after 12 minutes.


Warning css

I want warnings to stand out more, so why not give them their own CSS?
I'm not quite sure what this looks like when there's no font that handles the warning sign character, but as long as it's not terrible, it should be fine? It's mostly there for decoration. cc @alercah for having a Linux box that has said lack of font.

Rebased.


WIP: Add docstrings for all commands

This is part of @tkelman's declared request for moar docs noted in JuliaLang/METADATA.jl#5589.

Coverage remained the same at 45.161% when pulling 44ac4e687fd62d23cb9e95abb0d813e69a40dd36 on aa/docstrings into 4b7a327424e302c3f31c87f831429b54210a8f17 on master.

Coverage decreased (-0.9%) to 44.262% when pulling 44ac4e687fd62d23cb9e95abb0d813e69a40dd36 on aa/docstrings into 4b7a327424e302c3f31c87f831429b54210a8f17 on master.

great, thank you! is the wip that you plan on adding more or ?

Yes, WIP because I plan to document all the things.

I think I finished getting all of the docstrings in there. Is there any other kind of documentation that would be nice to have here, be it in this PR or in general?

Coverage decreased (-0.9%) to 44.262% when pulling cefe25c3c35f7f2ccecade107a976d8ba76232bc on aa/docstrings into 4b7a327424e302c3f31c87f831429b54210a8f17 on master.

This is perfect. If Documenter.jl is a quick thing to set up for populating api docs into the readme then I should figure out how to use it at some point, but this package is probably not complicated or important enough to be worth a lot of effort there.

Ah yeah, I don't know how to use Documenter either. I should also figure it out because I think there's some stuff around that still uses Docile, as well as things that could generally use some nice docs.
Is documentation here the only thing that's holding up JuliaLang/METADATA.jl#5589?

Coverage decreased (-0.9%) to 44.262% when pulling fd9a3fdfdf66be06b67afd7be211416514b51bca on aa/docstrings into 4b7a327424e302c3f31c87f831429b54210a8f17 on master.

I was just waiting the customary 24 hour feedback period for new package registrations. Docs can be a future tag.


Automated cherry pick of #2146: climc: add --output-format support

Cherry pick of #2146 on release/2.10.0.
#2146: climc: add --output-format support

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@f35a358). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release/2.10.0   #2168   +/-   ##
================================================
  Coverage                  ?   7.56%
================================================
  Files                     ?     410
  Lines                     ?   63545
  Branches                  ?       0
================================================
  Hits                      ?    4809
  Misses                    ?   58324
  Partials                  ?     412

Flag
Coverage Δ

#aFlag
7.56% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm

/approve

/lgtm

/approve


migrate CI to GH actions

I noticed you still have a .travis.yml file. I believe free CI on travis-ci.org has been canceled since about June. Also, travis-ci recently had a nasty bug (and a not great response to said bug).
Almost all of the other georust projects are running on GH actions, would you be interested in migrating?
I could help with this if you have questions or lack the time.

Thank you! Help is welcomed. We'd better use same setup for github actions across georust projects.


Update 2008-Fbcloner.PY

Txx

🤣🤣🤣🤣

Done.
On Sat, 31 Dec, 2022, 10:28 pm Sabbir00173, @.***>
wrote:

🤣🤣🤣🤣
—
Reply to this email directly, view it on GitHub
https://github.com/akashblackhat/2008-Fbcloner.PY/pull/1#issuecomment-1368252302,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVB7XVCWASGXQLBE6XS4OKTWQBQ4TANCNFSM6AAAAAATLPRTWQ
.
You are receiving this because you commented.Message ID:
@.***>


abyss_test linking: undefined symbol

Describe the bug
Reaching the end of build process this message pop out
[100%] Linking CXX executable abyss_test
mold: error: undefined symbol: absl::lts_20220623::container_internal::ConvertDeletedToEmptyAndFullToDeleted(absl::lts_20220623::container_internal::ctrl_t*, unsigned long)
>>> referenced by inifile.cpp

Would be great to skip the tests with an appropriate flag using cmake, for example launching:
cmake ../abyss-sources \
    -DBUILD_TESTING=off \

Thanks for your amazing efforts, I follow this project since the early days.
Additional note:
mold (referenced in the log) is a drop-in replacement for gold (the GNU linker). same issue also with gold anyway
Workaround
For now I'm using this workaround
# temporary workaround to disable tests
  pacman -S gtest
  rm -rf tests/*
  touch tests/CMakeLists.txt

Thanks for the report! We will look into this issue and get back as soon as we can.


Support for multiple fine-tuned concepts & classes on one model with Dreambooth

Is your feature request related to a problem? Please describe.
I'd like to add multiple people and/or objects to a single model and finetune my model for that. For example, I'd like to add an entire family, together with their pets and their car, and this with as little degradation of my overall model as humanly possible.
Describe the solution you'd like
I'd like to add multiple people and/or objects to a model and finetune my model with a minimal amount of degradation.
Describe alternatives you've considered
I've been tinkering around with different classes and concepts, but thusfar any attempt to use a different class or concept thusfar always lead to extreme degradation.
Additional context
Apparently someone already forked JoePenna/Dreambooth-Stable-Diffusion at kanewallmann/Dreambooth-Stable-Diffusion to add support for multiple concepts & classes on one model. However, that version of Dreambooth SD requires at least 24GB VRAM, which means I can't run it on either my machine or a free Google Colab, which is what I've been using so far.
Related :

https://github.com/JoePenna/Dreambooth-Stable-Diffusion/issues/51
https://github.com/huggingface/diffusers/issues/752

@jslegers Yeah nice suggestion, I was also looking into it, Just haven't done enough testing yet to see how well it works.
Or I might just update it with an option first so that people can try it atleast without ruining the current results.

@ShivamShrirao if you do add it, please make it use the caption for each image from a .txt with the same name, since it's a lot of easier creating that with automatic's blip captioning, rather than manually naming each image.

@IdiotSandwichTheThird It has been added now. 351f3b6206f0453706346fd34a337cdf6ac6ef07
Yes, it makes use of a json to get names and class.


If date ranges allowed but if a minimum day of 1 is allowed allow apply dates button to be active

Is your feature request related to a problem? Please describe.
If date ranges are allowed but a user can also select just 1 day the user has to click twice on the 1 day to confirm the 1 day being selected. We though we could use autoApply: false to get around this but in that scenario they still have to click the 1 day twice as the apply button remains disabled.
Describe the solution you'd like
Apply button becomes active if one day clicked?

Perhaps your issue related to #52
I think in your case, you can do something like this:
https://jsfiddle.net/ouk763xn/


Question about the integration

Hi there
Thank you for this package. Tinify now provides image conversion including to WebP. Does the package support/provide that?
Thanks
Tarik.

Hi,unfortunately the conversion to WebP is not supported yet, however it will be taken in mind for the next version.

Thanks @alfonso-jimenez-evelyn that would be awesome!


Port to netstandard2.0

Using System.Drawing.Common for System.Drawing namespace.
Using System.Runtime.CompilerServices.Unsafe to replace Windows APIs (Buffer.MemoryCopy for memcpy, Unsafe.InitBlock for memset) on .NET Standard.
Move all informations from Package.nuspec to csproj.
Build one nuget package for both .NET Framework (using original Windows APIs) and .NET Standard, therefore users can always get the most suitable dll (When you build projects for .NET fx, you probably don't want any .NET Standard references).

I didn't touch the Test project so the tests still run on the .NET fx version dll. I've tested the .NET Standard version on Bash on Windows (to be specific, Pengwin).
Nuget package on myget for testing:
https://www.myget.org/feed/monarchsolutions/package/nuget/FastBitmapLib

Looks good! Could you please point the merge towards the develop branch? I'm gonna make some tweaks to the test project before merging to master.

Sure. I will open a new PR.


[Bug]: ERROR: Invalid API-key provided.  Please set LLM API-Key in 'User Setting -> Model Providers -> API-Key'

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
369400c483ee74addb3ef45a5cd539f2c3e69e5d
Other environment information
Demo Web Page

Actual behavior
When I try to make any request to chat in the web demo appear that error
ERROR: Invalid API-key provided.  Please set LLM API-Key in 'User Setting -> Model Providers -> API-Key'
Im using qwen chat models
Expected behavior
No response
Steps to reproduce
Setup a chat in the web demo with any qwen model selected

Additional information
No response

Please add your own api key that LLM factory provides in setting at the right top corner of the web page.


[iOS] allowFontScaling doesn't reset lineHeight

The allowFontScaling property only resets the font scaling but not line height.

You can see clearly the difference here. First image has larger text on, second off. Both of them have allowFontScaling to false, but line height is different.

Same as #2783.

Fixed via https://github.com/facebook/react-native/commit/b3cfc598ced7b3e11cec1bf277159685411ac561


[DPE-3702] Add snap aliases for MySQL server / Router

Issue
Missing snap aliases (ie using  instead of charmed-msql.) for better tool usability inside VM.
Solution
Heavily inspired by ticket DPE-2090.
Testing
Since it is my first PR, here's how I went about testing my changes. Any feedback is appreciated!
# building local charm
tox run -e build-wrapper && mv requirements-last-build.txt requirements.txt && charmcraft pack

# deploy local charm
juju deploy ./mysql_ubuntu-22.04-amd64.charm

# ssh into VM
juju ssh mysql/0 bash

# seeing snap aliases
snap aliases

With output:
Command                    Alias        Notes
charmed-mysql.mysql        mysql        manual
charmed-mysql.mysqlrouter  mysqlrouter  manual
charmed-mysql.mysqlsh      mysqlsh      manual
charmed-mysql.xbcloud      xbcloud      manual
charmed-mysql.xbstream     xbstream     manual
charmed-mysql.xtrabackup   xtrabackup   manual
lxd.lxc                    lxc          -

I see the check libraries test failing in every commit, including in other PRs. Is this expected?

I think it's expected, since there are other outdated charm libraries.

I think I'll go ahead and merge it, then. Thanks everyone!


Give the user more information

We need to tell the user where to find the information they need to set up and account. For example we provide:
azurectl setup account configure
--name my_account
--management-pem-file /path/to/pem/file
--management-url http://url.endpoint
--subscription-id 00000000-0000-0000-0000-000000000000
--region region
--storage-account-name storage_account_name
--container-name container_name
as an example command to set up the configuration for azurectl, but we do not tell the user where to find the information needed. Given that the Azure web console is a freaking mess we should at least make an attempt to provide the user with some guidance as to where to find the the storage account name, container name and other information.

In version 2.0.0 an account can be setup by:

publish-settings file
management-pem-file, management-url and subscription-id

The first and still preferred method needs the following azurectl call
$ azurectl setup account configure --name=bob --publish-settings-file=filename

Information where to find or download the publishsettings file is documented here
https://github.com/SUSE/azurectl#publish-settings
Information about regions and storage accounts can be listed right after the account setup with
$ azurectl compute vm regions
$ azurectl storage account list

The information about containers inside of a storage account requires the name of the storage account. Given you know the name you can list its containers with
azurectl --storage-account suseazurerd storage container list

With all that information at hand you should be able to add a region setup to the config with
azurectl setup account region add --region=<region_name> --storage-account-name=<storagename> --container-name=<containername>

All this if you work with publish settings files

If you use the non publish settings based form you need information about

management-pem-file /path/to/pem/file \
management-url http://url.endpoint \
subscription-id 00000000-0000-0000-0000-000000000000

I don't know what else we should write in the documentation other than this is information the Azure provider gives to you when you create an account
But maybe James has an idea how to be more informative here

Well obviously we know everything that needs to be done. Thus the question remanins, why are we not documenting this, i.e. provide more information to the user, in a more accessible format. Either in the README file or in a separate document that covers setup. I consider the configuration a very critical part of getting people to use the tool. We need to provide explanations about the setup of azurectl in the most detail possible.

I'm fine with extending the README


Group Anagrams

Please assign this to me in python 👍

@lakhanjindam Assigned in Python

Please assign this to me in Java

Please assign this to me in C++.

@piyushsharma220699 Please assign this to me in C++.

@Anuradha0501 @vartikavr I'll assign this to you in Java and C++, but now this repo has been excluded from Hacktoberfest 2021, please read the pinned issue of this repo to know more


vimqq: lucas integration and tool calling

To allow for more complex changes, we can integrate with lucas.
We'll send index and do multi-turn communication. We'll still be able to do it from within vim as it'd be nice to add extra content.
It will not be a chat.
What's a little hard is that there's no built-in tool calling in llama.cpp server. So we'll have to either

fork and add it
manually construct it for model we care about (e.g. llama70, qwen)

It will be a separate command, something like ":QQFix implement this ... ".
It should show a history somewhere, even if it's not a chat.

If it works, we can keep index in the context already (auto-prefetch).

First, would be just do complete inference loop in vim natively.
Indexing itself would be still external.
We need a

loop implementation
modification to the clients to support tool calling
tool implementations itself
handling updates to the codebase.


Feature: Add device with serial number (no qr scan)

Would be nice to have a screen that allows an add by serial number and not a QR code.

The QR code contains a JWT signed by the devices private key, proving physical ownership of the device. So I don't see a secure way to do this differently.

Because the private key is generated by the device itself and stored on the /persist partition. It should never leave the device.


how to not keep keys separate when using multiple database connections?

I recently converted one of my projects that was using a single database to using multiple databases. However this is not because of multi-tenancy it's more of an organizational preference
I read this
*Multiple Database Connections*
Thanks to @dtvmedia for suggestion this feature. This is actually a more robust solution than cache-prefixes.

Keeping keys separate for multiple database connections is automatically handled. This is especially important for multi-tenant applications, and of course any application using multiple database connections.

which I think is causing me a problem. Not sure what to make of it. I have relationships that cross database connections. For example one DB has a users table and that user has relationships with models in other databases. Ever since moving to multiple databases, the cache is no longer cleared when I insert new items, previously it was working fine
I tried adding a single shared prefix on my "CachedModel" class that all my models except my User model extend
protected $cachePrefix = 'ns-api';

But that didn't resolve my issue.
Would appreciate some guidance on how to make this work. Thanks!

Hi @vesper8, sorry for the delay in my response (I have been tied up in other projects).
I think this could be an issue with how the keys are generated. I will double-check that the relationships also include the database information.

thank you, please let me know what you find out, in the meantime I've had to disable the package but I would really like to use it again

@vesper8 Still thinking about how to implement this. This is not actually a bug, but intended functionality, but I see how this could break things. Basically what we would need to do is have a switch that eliminates the database from being tracked in the cache keys. I'll try to add this in a way that works with the default functionality, but lets you override it if needed.

great! I understand that it's an edge case.. not many people are in my situation dealing with a single project that uses 5 different databases. Would be great if you could make it work without breaking anything : ) thanks!

@vesper8 Give 0.6.1 a try and let me know how it goes.


What is the way to view the current pages stack?

Version
Tell us which versions you are using:

react-native-router-flux v4.0.0-beta.31
react v16.3.2
react-native v0.53.0

Expected behaviour
for example : where I open page A、page B、page C, the  pages navigation stack Is :A->B->C .
What is the way to view the current pages stack?

Actions.state


Add documentation for ASN1_INTEGER_new() and ASN1_INTEGER_free()

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

@richsalz @beldmit fix commited

Please run the following when doing any document updates.
>make doc-nits

@slontis fix commited

fix commited

can you restart a failed job?

Done

can you restart a failed job?

This pull request is ready to merge

Merged. Thanks!


Tag versions using git

Hey, I saw you take good care of updating versions in Cargo.toml, may I ask you to also tag them using git?
It should be as easy as running git tag 0.2.2 and git push --tags on the commit where you bumped the version.
If you use PGP, I can also tell you how to provide signatures, if not - nevermind, it's not a big deal 🙂
I simply cannot resist packaging this awesome tool for Arch Linux, more people should be able to discover it, and having git tags would allow me to make the package easier, and once it gains more popularity, later move from AUR to community repo.
Many thanks 🙂 I'll update you with the link to the package, so you can also put it in README if you like.

Thanks! I will be adding tags to the past versions ASAP, signatures included.
I am excited about and flattered by your plans about packaging, and I will be sure to include the link in the README. (:

Haha cool, thanks 🙂 To be honest just the latest version would be enough 😉
For the signatures, here's what I usually recommend:

For transparency, put in README your key ID, something like below would be enough (it's my key in the example below):

Releases are signed with the following PGP key: `8053EB88879A68CB4873D32B011FDC52DA839335`

For packagers, signature of the .tar.gz file that Github generates is enough. This archive is reproducible and can be generated using the following git command:

git archive -o "teehee-<version>.tar.gz" --format tar.gz --prefix "teehee-<version>/" "<tag>"

For example:
git archive -o "teehee-0.2.2.tar.gz" --format tar.gz --prefix "teehee-0.2.2/" "v0.2.2"

This will make you a .tar.gz file, which you then sign with gpg --detach-sign and upload this signature alone to your github release.
Let me know if you need any help! 🙂

Hi, thanks for your advice! I've now created a tag and a GH release for the latest released version. If there's anything else I should take care of, let me know here.

Awesome! Could you please upload your public key to http://keys.gnupg.net/ ? It will then propagate to different servers, and gpg will be able to pull your key by its ID.
Also, for the signature, a conventional way is to also preserve the file extension before the signature, i.e. name the signature teehee-v0.2.2.tar.gz.sig instead of teehee-v0.2.2.sig 🙂

Thanks, I've uploaded my public key to http://keys.gnupg.net/, and I've also fixed the signature filename on the GitHub release.
It is my first time using the keyserver. I was able to download back my public key from it using gpg from the command line, but the key didn't appear on the web interface when I searched for it using the hash.

It's perfect now! If you want to make an "Installation" section in README, you can put something like this:
The package for Arch Linux is available on [AUR](https://aur.archlinux.org/packages/teehee/)

Many thanks for your collaboration on this 😉

Awesome! No problem and thank you too.

Hi @Gskartwii, I noticed that signature of 0.2.3 didn't match and after looking into it I saw that it's because when you generated the archive, even though the tag name starts with v, inside the archive you should not use v - in other words, the command should be like this to match what Github is doing:
git archive -o "teehee-v0.2.3.tar.gz" --format tar.gz --prefix "teehee-0.2.3/" "v0.2.3"

Would you be able to reupload the archive and signature please?
Thanks for the new release, by the way 😉

Hi @maximbaz, good catch! I've updated the tarball and its signature on the GitHub release to match that command.
 I hope the undo functionality will be useful to you, and feel free to report any bugs that you might come across.


Latest Version Breaks Simply Swords

The latest version of TooManyOrigins, beta 13, breaks Simply Swords. If you hold a 2-handed sword with an item in your offhand, that item is deleted.

I've just moved this issue over to Apugli, as it should not be TooManyOrigins that's causing it.

The problematic code seems to be on their end, as they're setting an item to be empty every tick somewhere in their code.


2 broken links

In this section here both links return 404.

Next steps
For more information please see: Get started with Azure DNS and Delegate Domain to Azure DNS

https://azure.microsoft.com/en-gb/documentation/articles/web-sites-custom-domain-name/

@snobu Thank you very much for letting us know about this document issue.  I'll notify a member of our team to get it fixed.

@snobu These have been fixed and they're live.  Thanks again for the heads up!  Closing this issue.


AI System Status is showing disconnected every time after rebooting Home Assistant

What trouble are you having?
AI System Status (binary_sensor.ai_system_status) is showing disconnected every time after rebooting Home Assistant. I will need to restart the ai-trigger container to bring the status back to "connected"
Have you tried with the sample files?
No
Have you tried the steps in the troubleshooting guide?
https://github.com/danecreekphotography/node-deepstackai-trigger/wiki/Troubleshooting
Ye
Log entries
Please copy and paste all the log messages from the Docker output
Installation details

OS: [e.g. Mac, Windows 10]
Debian
Docker setup [e.g. sample docker-compose.yaml, Portainer, UnRAID, etc]
Portainer with docker-compose.yaml

Additional context
Add any other context about the problem here.

Do you have retain set to true in the MQTT section of your settings file?

No. I didn't have that set but I have now set it and that seems to fix the issue.
Thank you very much.

Thinking about this a bit more I don't think this is a real fix. The system should be sending "online" MQTT messages periodically, more frequently than the LWT message. I'll think about this a bit more.

Agreed, the 'retain' is not a good fix.  I've had lingering trigger events in MQTT ( BlueIris/admin ) with 'retain' that cause BI to crash during start-up.  Took me a good long while to find that issue.

Notes to myself:
Currently online is published here:
https://github.com/danecreekphotography/node-deepstackai-trigger/blob/d1a11baa957f1956279d1afe154b78132fd34307/src/main.ts#L122
This should probably move inside MqttManager and just be done inside a timer that keeps firing every whatever seconds. If I wanted to get fancy the interval could get specified in the settings file.

Ok I have a build for you to try @reesion. Change your Docker config so instead of pulling latest it pulls issue423. Then use some sort of MQTT tool (if you are on Windows the MQTT Explorer app from Windows Store is amazing) to clear out the retained status message.
Then fire up everything. You should see a new "online" message pop in every 60 seconds. If you kill HA and restart it will pick up the proper online status at the next health message arrival (within 60 seconds).

Have just tested this and it works.

Noice!!! Thanks. I'll get this released as v5.8.0 later today and let you know when it's out so you can flip back to latest.

This is now deployed. You can switch your docker tag back to latest @reesion .

Thank you


MessagePack support

MessagePack is a binary data interchange/serialization format, similar to something like JSON (which Godot already supports), except (as its website claims) it's fast and small - at the cost of human-readibility when encoded (as, again, it's a binary format).
I'm no expert on the subject (and I'd gladly appreciate opinions of people who are more educated in that regard), I do think that something like this could be a useful addition to the engine, especially with regards to networking and compiled code (ie. when working with C++/C#/GDNative).
While I am trying to implement this myself (over here) using the MPack C implementation (as all the C++ implementations seem to require C++11 and/or Boost, which IIRC are less than ideal for Godot, and the reference C implementation seems a bit bulky and isn't suited towards embedding, or at least isn't advertised as such, unlike MPack), I'd appreciate others' thoughts on this (and perhaps some help with the module work, I'm...uh, not very good at it) - maybe there actually isn't a need/desire for this and I'm just doing it for nothing.

@RiverMesa definitely a good desire.
crystal lang, for example has https://github.com/crystal-community/msgpack-crystal msg bindings. also: crystal works pretty nice with godot (very easy to setup to communicate messages over TCP). especially since godot sends the unsigned bit prefixed  before the string. which makes it super easy to read from crystal's read_bytes(Int32) method.
also, msgpack has binding for ton of server-side languages as well (nodejs, etc). so the game developer from godot can choose whatever server side language they want, and if msgpack was supported by godot, it would pair beautifully.

Has there been any more talks about this? Would be super handy!

I was wondering about the same thing.
Godot already has a binary serialization format: https://docs.godotengine.org/en/3.1/tutorials/misc/binary_serialization_api.html
So are non-godot servers reimplementing the Godot packet format? I can't find much info about this topic.

@benoit9 non-godot servers usually don't use tge high level multiplayer api and implement their own SerDe on both client and server.

@jonbonazza I see. That makes sense, thank you.
So this issue is still relevant: a MsgPack module for Godot would be useful. It doesn't look like it (or something similar) exists yet.

I was also hoping to find support for msgpack in the core. I think integrating things like neovim in the editor would require it, but it would make linking workflow from other tools possible with python plugins(blender, gimp). I'm looking at putting msgpack blobs into an in-memory sqlite db. Also looking at using msgpack to define tasks for a task queue. Anyone making games that need custom net protocols would benifit.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Defect: Wrong number in about_basics

The suggested example, 0xFF (255), in octal is equivalent to 0377, not 0777.
0377 = 255 = 0xFF
0777 = 511 = 0x1FF

Thanks for catching this, much appreciated!


Crash: java.lang.NullPointerException: Cannot read the array length because "" is null

Steps to Reproduce (as best as you can)
Run the gamer command and wait
Expected Behavior
Does not crash
Actual Behavior (What lead to the bot getting permanently stuck)
Crashes. Place of error.
Error: java.lang.NullPointerException: Cannot read the array length because "<local2>" is null
Crashlogs and Screenshots (if applicable)
(you may drag + drop text logs and images here, thanks GitHub)
log.txt

Should be fixed by https://github.com/gaucho-matrero/altoclef/commit/8a62ab3ae41657cb8fd573bfa103a0e62cffd512


Wrong caret position on clearable masked input

Environment

Tech
Version

material-ui-pickers
1.0.0-rc.4

material-ui
1.0.0-beta.38

React
16.0.0

Browser
Chrome

Conditions
Datepicker should be clearable and with mask
Steps to reproduce

Clear value
Set valid value

Expected behavior
Cursor stays after text
Actual behavior
Cursor moves inside text
Live example

Reproducable on Demo-Page (Keyboard Input):

As I have tried to reproduce that - got this feature is really minor and would be more effort to fix this issue then do nothing.
If somebody also stacking out of that - please let me know and I`ll fix it


ARROW-6992: [C++]: Undefined Behavior sanitizer build option fails with GCC

The GCC '-fno-sanitize' option does not support the 'function' flag.
Furthermore, GCC v5.1 is required for the 'vptr' and 'alignment' flags
and the '-fno-sanitize-recover' option.
To make things simple, GCC v5.1 or greater is required for the
undefined behavior sanitizer build option.

please run cmake format, there's a python script for it
Ok, I realized I had to use cmake-format v0.5.5 instead of the latest version (v0.6.0) to avoid changing every cmake file.


#1 integrateH5P

I want to integrate H5P to it.

I can do it

Great.
On Sat, Apr 27, 2024 at 4:47 AM SunRise-11 @.***> wrote:

I can do it
—
Reply to this email directly, view it on GitHub
https://github.com/janus-dev87/react-calculator/issues/1#issuecomment-2080419632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF56JX44KA66Y5AIEFSKCRLY7NQY5AVCNFSM6AAAAABG35PBOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGQYTSNRTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


2.2.5 is not available

Execution failed for task ':app:dataBindingMergeDependencyArtifactsInternalProd'.
> Could not resolve all files for configuration ':app:internalProdCompileClasspath'.
   > Could not find com.google.maps.android:android-maps-utils-v3:2.2.5.
     Required by:
         project :app

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

while my gradle is
implementation 'com.google.maps.android:android-maps-utils-v3:2.2.5'
Do i miss something?

@dkati Thanks for reporting this.
@arriolac Looks like 2.2.5 hasn't posted to Maven Central yet:

https://search.maven.org/artifact/com.google.maps.android/android-maps-utils-v3
https://search.maven.org/artifact/com.google.maps.android/android-maps-utils

Could you take a look?

Odd... I'm positive I pushed this out yesterday. Will have another look and update you

Looks like version is still set at 2.2.4. Probably an issue with the .releaserc config change in #921


Add -debug-diagnostic-names frontend flag

This flag adds diagnostic names to the end of their messages, e.g. error: cannot convert value of type '[Any]' to specified type '[Int]' [cannot_convert_initializer_value]. It's intended to be used for debugging purposes when working on the compiler.
Resolves SR-11239
I ended up calling this -debug-diagnostic-names instead of debug-diagnostic-ids because 'Diagnostic ID' is kind of an overloaded term within the compiler. I don't feel too strongly either way about the naming though.
cc @brentdax (great idea by the way, I used to rely on a script to map messages back to diags, this is far nicer!)

Hi @harlanhaskins , do you mind starting a test run for this? Thanks!

Yes!
@swift-ci please test

:boat:
Thanks, @owenv!

@owenv What is the intended audience for this mode?

@xedin This is meant to be used by compiler developers. It's just an easy way to get an internal diagnostic name that can be searched for in the codebase.

I'm just wondering is what is the advantage vs. setting a breakpoint on TypeChecker::diagnose for example? I'm asking because this is not free to hold this list from the compiler perspective.

It's a little more convenient to use when working with release builds, there aren't many advantages other than that. I wouldn't be entirely opposed to removing it if it doesn't seem worth keeping

I'm genuinely curious what is the workflow. Is it to find all of the breakpoint spots for the (future) debug build?

Yeah, that's how I use it. I keep the flag enabled whenever I'm working on the compiler, and if I find a message I want to investigate I can grep for it in the codebase and quickly find all the potential emission points.

I use it that way too, and it's been very useful. Often it's not enough to just put a breakpoint in TypeChecker::diagnose() because a) the diagnostic may have come from a different thing, i.e. directly on the diagnostic engine, and b) I'd really rather just be able to search rather than opening in a debugger

@xedin Finding the places to set breakpoints in a debug build is one possible use. The workflow I intended for this is something like:

Notice that a diagnostic is incorrect.
Use -debug-diagnostic-names to get the diagnostic ID.
Search the compiler codebase for uses of that ID to see where the diagnostic might have been produced.
Set a breakpoint at those sites, or visually inspect the code in that area, or whatever else you want to do.

To some extent this is about beginner-friendly workflows—it allows you to match a diagnostic to its creation sites without needing to learn how to build a debug compiler, translate a driver invocation to a frontend invocation, launch that frontend invocation in lldb, or set a breakpoint in DiagnosticEngine::diagnose(). But it also helps if:

You don't normally build debug compilers because they take too much time or space. (We have a few contributors who usually use release builds; I've actually been trending in that direction myself.)
You're investigating a bug in a branch you're not currently on (e.g. swift-5.1-branch when you're working on master).

You haven't fully reduced the bug yet, so there are several diagnostics being emitted.

Suffice it to say, both my own workflows and workflows we suggest to beginners often had an awkward "search the compiler for a fragment of the diagnostic string, fiddling with it until you find something because it's hard to know exactly how it's written in the .def files" step. This change allowed me to replace that step with "re-run your reproducer with -debug-diagnostic-names", which is way more reliable.

@brentdax I'm just playing devil's advocate here. What doesn't really connect is the fact that knowing how/where given diagnostic is produced doesn't really give you much for fixing the problem. From my experience working on expression type-checker diagnostics, one would still need to build a debug compiler and perform other steps you have described to figure out what is wrong or to be able to address the problem. For expression type-checker diagnostics beginners can reply on -debug-constraints for example but even then it would be really hard to find out what/where the problem without some debugging just based on the diagnostic message itself...

Expression type checker diagnostics are much harder to pin down than much-simpler decl checker diagnostics...

Alright, sounds good!


Extracting frames of a gif file when encoding of each frame use previous one

What are you trying to achieve?
I make a tool to convert gif files to a single image with each frames, goal is to use them in a World of Warcraft addon that can play animations, the game require width/height to be a power of 2, and TGA format (striped it in the example)
My solution may not be optimal but is mostly working, but i have an issue with gif generated from mp4 where each frame as a transparent background, like the kekw.gif
Is there a parameter i am missing to make the gif decoding use previous frame for each image?
Or should i use composite() between each frames ?
Have you searched for similar questions? yes no success
Are you able to provide a minimal, standalone code sample that demonstrates this question?
Are you able to provide a sample image that helps explain the question?
sample code and images in this file gif2tga.zip
kekw.gif is the example i have issue with, most gif i can find made from movies have same issue
monkey.gif is working like i want
the 2 png files included are the output

If you need to overlay multiple frames/pages of an animated image then the use of composite() would be a good approach, as you suggest.

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


feat:add rotate feat when file log is bigger than MACRO FLAG_max_file…

…_num

i signed it！
2018-05-28 11:10 GMT+08:00 googlebot<EMAIL_ADDRESS>
We found a Contributor License Agreement for you (the sender of this pull
request), but were unable to find agreements for all the commit author(s)
or Co-authors. If you authored these, maybe you used a different email
address in the git commits than was used to sign the CLA (login here
https://cla.developers.google.com/ to double check)? If these were
authored by someone else, then they will need to sign a CLA as well, and
confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and have the pull
request author add another comment and the bot will run again. If the bot
doesn't comment, it means it doesn't think anything has changed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/glog/pull/320#issuecomment-392407799, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHqQQztP83Uw9N0ZCA57rsWw-shPNxMVks5t22qygaJpZM4UPkdJ
.


Screenshot hotkey, Console ignores repeated commands

Till now, the screenshot button was hard-coded as F12 in MenuControlSystem. This commit changes that and makes it customizable, just like all other hotkeys, giving it it's own binding.
Further, the console now ignores empty and repeated commands when adding them to it's list (Refer to issue #2813 ).

Can one of the admins please verify this patch?

Checking this out - thanks for the PR @vampcat and for reviewing @bhi5hmaraj :-)
Triggering our bot:
@GooeyHub: ok to test

Hooray Jenkins reported success with all tests good!

All changes done :D

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Merged! And added to credits. Thanks! :-)

Oh by the way - @vampcat do you have a forum account yet for intro, badges, etc?


Python LSP language server

          hi all! i'm not sure this is the right place, please let me know if not ;)

I'm using a language server whenever i can, and for python the best (only?) is https://github.com/python-lsp/python-lsp-server
This comes with its own choice for linter/formatter etc. I really recommend using an LSP to catch errors and find docs!
Originally posted by @jiskattema in https://github.com/NLeSC/guide/issues/302#issuecomment-1795160001

By default the lsp server uses: rope, pyflakes, pycodestyle, autopep8/yapf, flake8, pylint.

LSP is a great protocol, but it's a bit too implementation-detail-specific to be useful in a guide on research software engineering. I think it's enough for engineers to know that they linting is very helpful. What tool they use exactly is up to them, as long as it is a good editor with support for things like this.


testing connection to crazyflie

How do I test if the connection between the running services and Crazyflie (2.0) was successfull?
Steps I did:
1.) roslaunch crazyflie_server.launch
2.) roslaunch crazyflie_add.launch
I also cannot find the
"crazyflie_driver/AddCrazyflie.h" and "crazyflie_driver/UpdateParams.h"
which are included i.e. in the crazyflie_server.cpp.
-ROS: Jade
-Ubuntu: 14.04
Thanks for the support.

The package is designed to reduce the latency for possible reconnections. As such, it does not have the connected/disconnected events as the cfclient. It simply re-sends packets as fast as possible. That allows to have faster controller loops for the position controller.
The easiest way to test is to use a joystick and the launch files in the crazyflie_demo package (e.g. "roslaunch crazyflie_demo teleop_xbox360.launch". Furthermore, the LED on the Crazyradio blinks green if everything is working fine (and red if there are packet drops). I could add some kind of status message containing statistics about packet drop rate if that is of interest.
The header files you are looking for are generated during catkin_make from the message files. You can find them in your workspace folder under devel/include/crazyflie_driver/.

Thank you for your quick reply.
Am 01.08.2015 um 19:20 schrieb whoenig:

The package is designed to reduce the latency for possible
reconnections. As such, it does not have the connected/disconnected
events as the cfclient. It simply re-sends packets as fast as
possible. That allows to have faster controller loops for the position
controller.
The easiest way to test is to use a joystick and the launch files in
the crazyflie_demo package (e.g. "roslaunch crazyflie_demo
teleop_xbox360.launch". Furthermore, the LED on the Crazyradio blinks
green if everything is working fine (and red if there are packet
drops). I could add some kind of status message containing statistics
about packet drop rate if that is of interest.
The header files you are looking for are generated during catkin_make
from the message files. You can find them in your workspace folder
under devel/include/crazyflie_driver/.
—
Reply to this email directly or view it on GitHub
https://github.com/whoenig/crazyflie_ros/issues/9#issuecomment-126938509.


example for onActivityResult incorrect

readme.md has an example for onActivityResult  in
"4. Handle payment result"
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == 2 && data != null) {
// Handle the response here
}
}
At the end the example reads
int resultCode = getIntent().getExtras().getInt(SumUpAPI.Response.RESULT_CODE);
where it would usually be
final int code = data.getExtras().getInt(SumUpAPI.Response.RESULT_CODE);

Thanks for your input. Will be considered.


WIP: [JENKINS-53108] Add staging directory feature

https://issues.jenkins-ci.org/browse/JENKINS-53108
This change allows users to specify cloud storage buckets to upload local sources.
This enables us to configure more restrict IAM for the serviceaccount for Jenkins.

[x] Add the feature
[ ] Add tests

Hi ikedam,
Would uploading your source using the google-storage-plugin and then using the Google Cloud Storage source option work for your use case? I would prefer keeping the source options for this plugin simple, rather than having to support and maintain this plugin as (effectively) a second Cloud Storage plugin.
Cheers,
Brad

Ok, I can do that with zip pipeline step.
I’ll try that. Thanks!


Customer feedback | az containerapp job | Warning about behavior of job start #

Describe the bug
This GitHub issue is being moved from MicrosoftDocs/azure-docs-cli GitHub issue #4456.

Type of issue
Missing information
Feedback
The documentation should be enhanced by including a cautionary note regarding the start of a new job and overridden configuration. In particular, based on my examinations:
Emphasize that options such as --command, --args, --env-vars, etc., are functional only when used in conjunction with --image
Referring to the documentation, note that "When overriding the configuration, the job's entire template configuration is replaced with the new configuration. Ensure that the new configuration includes all required settings.". Therefore, the statement "Empty string to clear existing values" on certain parameters may be misleading, as in my assessments, the environment variables specified by the container are cleared even in the absence of the --env-vars parameter.
Page URL
https://learn.microsoft.com/en-us/cli/azure/containerapp/job?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/containerapp/job.yml

Related command
az containerapp job
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
n/a
Additional context
n/a

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


Upstream Merge

Merge from Upstream.

There are a lot of minor changes, I resolved the conflicts between our changes and their changes, I will be testing this and making a new release if it tests good.


ScrollController not attached to any scroll views.

I am getting this exception by schedule library, when i am building dynamic ListView.
here we are building a ListView dynamically. Since we never declared this ListView before, the scrollController does not have anything to bind to.

@AkshayKaneriya
Please provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue.
Also, check out this link and see if it helps.

@AkshayKaneriya
Please provide flutter doctor -v and a minimal complete reproducible code sample that shows the issue.
Also, check out this link and see if it helps.

this link solve my issue, thank you very much, and sorry for the late response. :)


Fix error loading LUT files with Turkish locale

In file parsing there are tests like Lower(x) == "spilut". However this was
using the locale dependent std::tolower, which for Turkish does not change
I to i.
Instead this implements a custom Lower() function which is not affected by
locale and so can be used for file parsing.
For more background on this problem see for example:
https://docs.microsoft.com/en-us/previous-versions/dotnet/articles/ms973919(v=msdn.10)?redirectedfrom=MSDN#the-motivation-the-turkish-i-problem
Signed-off-by: Brecht Van Lommel<EMAIL_ADDRESS>

Thanks @brechtvl for contributing to the project.

The localization is a challenging topic as the software languages originate from US english speaking people so the add of other languages always faces huge challenges.
Having a clear way to understand which strings are to be localized and which are not is also something complex to put in place and maintain on long term. In OCIO, the distinction does not exist. The StringUtils::Lower & StringUtils::Upper are used everywhere from description field to file path.

Because of its locale support the method std::tolower seems 'good enough' in both use cases (even if no perfect). So, totally disabling the locale support (by implementing custom lower & upper methods based on US_ENG centric letters only) does not help the localization and only partially help the 'not localized' strings. For example the Windows filesystem accepts any letters such as "C:\Économie.ÇaVÂ" (french letters where lower must be "c:\économie.çavâ") so std::tolower should work if locale is fr_CA (but fails if locale is en_US which is fine). But it always fails with the proposed customized methods. Note: I noticed that the macos filesystem also accepts french letters.
Not being an expert I would suggest to first check for the locale and only customize the methods if the Turkish locale is enabled. But I still do not see how to correctly support the two use cases in OCIO.
That's an interesting subject that OCIO does not address so any locales (letters, numerics, etc) are badly supported. It would be interesting to have your feedback on the topic.

StringUtils appears to only be designed to handle "byte strings" (in Python terminology). All of the functions assume a character is stored in one byte and do not handle Unicode.
The current implementation can not correctly lowercase C:\Économie.ÇaVÂ, nor does it matter since it does that for testing the file extensions which have no Unicode characters.
For parsing file headers/tokens I think using byte strings is the correct solution. Even if you did support Unicode (e.g. for colorspace names) you don't want the interpretation of an OCIO config file or LUT to ever depend on the locale. User interface display of text might be affected by locale, but the color space transforms should not be.
I did the initial implementation of Unicode string support in OSL, OIIO and Arnold. In my experience it's best to use all UTF-8 strings in the API and internally since that's what Linux and macOS  will already give you. Then for Windows you need to add code for every Windows API function that deals with filepaths, program arguments to convert between the native encoding and UTF-8.
I think it would be good to improve OpenColorIO to do the same, but in my opinion that's actually solving a different problem.

Thanks for the information. Let me read a little bit...

StringUtils appears to only be designed to handle "byte strings" (in Python terminology). All of the functions assume a character is stored in one byte and do not handle Unicode.
The existing implementation can not correctly lowercase C:\Économie.ÇaVÂ, nor does it matter since it does that for testing the file extensions which have no Unicode characters.

OCIO supports UTF-8 encoding. Some existing unit tests validate the point:

tests/cpu/Config_tests.cpp starting at line 2948
tests/cpu/FileRules_tests.cpp starting at line 254

Yes, I think OCIO supports UTF-8 encoding to the extent that is automatically provided by UTF-8 backwards compatibility with ASCII. Which is enough when using ASCII keywords and delimiters and passing along or comparing any other strings unmodified.
But for operations like lowercasing É to é it's not enough, the existing and proposed code only works for ASCII characters. I would argue that OpenColorIO should not be doing any such locale or encoding dependent string operations and stay clear from that minefield.

Hey Brecht, thanks for your work on this.  There are a number of locale related issues logged here on GitHub, so it's great to have someone with your expertise participating.
The main concern I have with your proposal is that Lower is used in a lot of places and your change may have unanticipated consequences for OCIO behavior.  For example it is used by parseColorSpaceFromString, so it will affect how ColorSpace names are located within file paths.  It will also impact the new FileRules.  It is also used in various Role and ColorSpace name comparisons.
For situations where we are comparing to known tokens in OCIO (such as supported file extensions), these are all ASCII so your change will work.  For cases where we are working with ColorSpace names, I think the behavior needs to be validated a bit wider within the community that may not be actively tracking these issues.
I would summarize your proposal as follows: when comparing strings such as ColorSpace names and paths, comparisons on ASCII characters will be non-case-sensitive but other characters will be case-sensitive.  Is the community OK with that?
My own take is that I agree with you that we do not want locale differences to change the way a config works, so I'm happy with your fix.  However, I'm also not in the practice of using non-ASCII characters, hence I think the proposal needs to be validated.  I will post on Slack to try to get some more people to take a look.
If others could weigh in here, I'm interested more broadly in opinions on whether we even want to offer the courtesy of non-case-sensitive behavior.  It seems like the potential bugs it introduces may outweigh the convenience of not requiring people to be precise with case.  (And I'm referring here specifically to things like ColorSpace names rather than things like file extensions which are already ASCII and which will remain non-case-sensitive.)  There are a number of v2 features that currently use Lower() that we may want to change based on the community opinion.

I would summarize your proposal as follows: when comparing strings such as ColorSpace names and paths, comparisons on ASCII characters will be non-case-sensitive but other characters will be case-sensitive.

It's not so much that I'm proposing this, it's what OpenColorIO is already doing. What I'm proposing is a conservative fix for the Turkish locale case, that as far as I can tell changes nothing for C or English locales. Non-ASCII characters are already and would continue to be unchanged by Lower().
Removing case-insensitive behavior from file parsing in OpenColorIO entirely seems like a good solution too. I guess that would be done selectively in some places and Lower() would still need to be fixed.

Yes, agreed your fix is no change if the locale is already English but the use-case I had in mind was people in non-English countries that would have a non-English locale and might be using non-ASCII characters in their configs.  It might be a change in behavior for them.
Again, I'm not opposed to your fix, I just wanted to encourage others to take a look at it since it is potentially a change in behavior beyond the immediate issue of file extensions.

@brechtvl I tried hard to reproduce the problem on my macos machine by changing the locale (to tr_TR.UTF-8 on the command line, in the main or in a unit test). But I only succeed to have the . vs. , problematic and not the Turkish I vs. i one. Do you have a way to reproduce the problem?
Note: To test I've added OCIO_CHECK_ASSERT(FormatNameFoundByExtension("SPI1d", "spi1d")); here hoping a test failure if the locale is Turkish.
On the other hand, looking at the file extension detection code in the library I wanted to narrow the code down to the file extension check only (to avoid changing a code impacting too many features) and I found that only one method could be updated (i.e. FormatRegistry::getFileFormatForExtension() here) to help the locale agnostic comparison for the file extensions.
Below is the code change:
void FormatRegistry::getFileFormatForExtension(const std::string & extension,
                                               FileFormatVector & possibleFormats) const
{
    const std::locale loc("en_US.UTF-8");

    std::string lowerStr = extension;
    std::transform(lowerStr.begin(), lowerStr.end(), lowerStr.begin(),
                    [loc](char ch) -> char
                        {
                            return std::tolower(ch, loc);
                        }
                    );

    FileFormatVectorMap::const_iterator iter = m_formatsByExtension.find(lowerStr);
    if(iter != m_formatsByExtension.end())
        possibleFormats = iter->second;
}

With a way to reproduce the problem, I should be able to test the change or you can test it in your environment.

We discussed this PR during our TSC meeting today.  (Also, I had previously posted on Slack to try and get others to take a look at the PR.) There was support in the TSC for the notion that we want to reduce the possibilities for locale differences to cause unexpected changes of behavior in OCIO, even if that means effectively imposing an English locale.  Based on that, I'm approving the PR.
@brechtvl , if you get any more spare time, there is also a localization issue around number parsing (e.g. #297, and #379) that could use some help!   ;)


SystemParam QueryRecursive for safe recursive iteration.

Objective
Recursive iterating through the hierarchy while keeping a reference to parent requires unsafe, as seen in propagate_transform in bevy_transform. This PR alleviates this issue by generalizing recursive iteration into a safe interface.
Solution
Added QueryRecursive that contains 2 queries from 5 generic parameters.
root: Query<(Shared, Root), RootFilter>
child: Query<(Shared, Child), ChildFilter>

QueryData Shared gets passed from parent to children as a reference during iteration.
Additionally we support passing evaluation results from parent to children in iter_mut_with.
Example: transform pipeline (naive implementation)
fn propagate_transforms(mut query: QueryRecursive<
    (&Transform, &mut GlobalTransform),
    (),
    (),
    Without<Parent>,
    ()
>) {
    query.for_each_mut(
        |(transform, global_transform), ()|
            **global_transform = (**transform).into(),
        |(_, parent), (transform, global_transform), ()|
            **global_transform = parent.mul_transform(**transform),
    );
}

Testing
Added some tests.

Changelog
Added QueryRecursive.

Aside from the API being IMO a bit rough & needing more design the issue with this is it's a stopgap that can be done via third party. Specifically:

I already have safe wrappers for this in aery
Aery also has hierarchy compatibility

So the question then is what additional value would there be to providing this stopgap as a first party? Bare in mind this is already a kind of niche scenario simply due to the fact that hierarchy right now is very limited.

Aside from the API being IMO a bit rough & needing more design the issue with this is it's a stopgap that can be done via third party.

I think this PR is very important since

Third party unsafe code is has less scrutiny and therefore less trust worthy, especially if the author failed to account for changes in new bevy releases.

This feature is used in bevy itself, for instance the transform pipeline and visibility pipeline can be rewritten using this PR if proven safe. In the future if we upstream bevy_mod_billboard or add styling inheritance this can be useful as well.

This PR is not the full picture. A filter method for DFS and/or parallel iteration can be added to compliment QueryRecursive.


[Request-for-external] Codeunit 7312 Create Pick - CalcPickQtyAssigned

Hi, would it be possible to modify the procedure CalcPickQtyAssigned in codeunit 7312 from local to external ?
Thanks

This function use TempWhseActivLine, which is global variable. Than means external call of this function can give unpredictable results. Are you sure?

This procedure use global variable, we cannot expose it.


docs: update README with git-changelog-command-line

Description
Updating README with reference to my command line tool.
Motivation and Context

How Has This Been Tested?

Screenshots / Logs (if applicable)
Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation (no code change)
[ ] Refactor (refactoring production code)
[ ] Other

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[ ] I have formatted the code with rustfmt.
[ ] I checked the lints with clippy.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

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

Project coverage is 41.27%. Comparing base (69abe95) to head (d018207).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #589   +/-   ##
=======================================
  Coverage   41.27%   41.27%
=======================================
  Files          15       15
  Lines        1071     1071
=======================================
  Hits          442      442
  Misses        629      629

Flag
Coverage Δ

unit-tests
41.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Only allow PRs to be merged if the PR branch is up to date with main

This is configurable in the github settings for the repository. It would prevent merged PRs from breaking main by being incompatible with changes that have gone in since the branch was taken.
Acceptance Criteria

The github UI prevents merging for a branch that does not extend from head of main.

I agree with it, lets just do it

Here's the relevant option, can also require various checks to have passed before allowing a merge: should I enable this and enforce that testing on the latest version of python has passed?

Yh, I think we can require that testing on all versions of python passed. Some of the other tests, like codecov, are potentially more flaky/controversial but the tests should all pass at least

Complete, PRs now require being up to date with main and also that the test action (which is the matrix of testing on all python versions) has passed.


WebDriverException when using deep link with iOS application (Edition007_Deep_Linking)

I've build ipa file of TheApp and executing both ios tests from Edition007_Deep_Linking class.
First (slow with step by step method) passing without issues, but second throw an WebDriverException with An unknown server-side error occurred while processing the command error message.
Server logs: https://gist.github.com/ochubey/ebb6a551aaf52778e26bc9bfac640ea5
Client logs: https://gist.github.com/ochubey/61c7fe62f92018c0060aba5c840df0db
UPD: trying openning theapp://login/alice/mypassword from Safari on real device - it's navegote to login page ... sometimes ... but never enter login/password.

@jlipps any thought on this?

Does it work on a simulator, first of all?


Added files and changes for the issue

Closes #2 added timer.svg for notification icon and used zenity for making prompt before starting the timer

@proffapt  Done changes


[WIP] Improve release workflow

Reviewer: @shakyShane
Asana: https://app.asana.com/0/0/1202798237943039/f
Description
Improve the release workflow by creating PRs on all client repos, then updating the tasks to include the PR urls.
Steps to test
I've tested both the workflow and the scripts on a personal private repos. Other than that, we'll have to test after merging, unfortunately.

@GioSensation Thanks for this!
There are so many moving parts here, that I think you need to go ahead and merge it - let's find what breaks or what's wrong with some real-world runs.
We can then aim to add tests when/where we find issues (especially for things like parsing custom file formats, I can imagine those becoming something that we'd want to unit-test if it proves tricky in the real world runs).
To reactively add tests, we could just do this: in the instances where some tasks directly write their 'result' to stdout we'll just make that task return structured data instead and then move the console.logs into the the promise chain (adding a .then() before the catches etc). This has the nice side-effect of co-locating side effects too 😍
eg
before
function run() {
    // ✂snip
    // The log is needed to read the value from the bash context
    console.log(jsonString) // <-- ☢ side effect
}

run()
    .catch((e) => {
        console.error(e.value?.errors || e)
        process.exit(1) // <-- ☢ side effect
    })

after
function run() {
    // ✂snip
    // The log is needed to read the value from the bash context
    return { stdout: jsonString }
}

run()
    .then((result) => {
        console.log(result.stdout) // <-- ☢ side effect
    })
    .catch((e) => {
        console.error(e.value?.errors || e)
        process.exit(1) // <-- ☢ side effect
    })

I want to be pragmatic with time, so I'm approving this without pouring over each individual script. Given this code is not for the user facing product, let's run it and find what needs improving through real-world failures :)
ps: I do think there's room for a handful of tests regardless, especially for the situations where you're parsing files or adding Regular Expressions - but let's add those once you've proved out the flow 💪🏻


Sync removed packages

Some packages was removed by npm and response 404 status
https://registry.npmjs.com/@ktrace/web

https://github.com/cnpm/cnpmcore/pull/135


LCAM-1610|Use latest schemas and rest client jar

What
Link to story
Updated Orchestration service to use the latest common schemas. Updated the spring boot version to address the security vulnerability raised by snyk.
Checklist
Before you ask people to review this PR:

[ ] Tests should be passing: ./gradlew test
[ ] Github should not be reporting conflicts; you should have recently run git rebase main.
[ ] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[ ] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[ ] You should have checked that the commit messages say why the change was made.

Additional checks

Don’t forget to run the MAAT functional test suite after deploying your changes to the DEV or TEST environments to ensure your changes haven’t broken any of the functional tests.

The story point estimate on this one was a 3 - just wondering if there is anything missing here or if the estimate was wrong to begin with? I think it's also worth calling out that this PR changes a number of log.info calls to be log.debug calls.


update phpunit to v7 to fix ReflectionType error

seems lowest dep install on php 7.3 and 7.4 can be removed.

the failure only in php 7.3 lowest dep ...

the last proxymanager that support php 7.1 only in version 2.1.1. seems need to remove DEPS=lowest for php 7.3.


Fix documentation for Docker API filters

Fixes the error in the documentation found during #10081

Closing/re-opening to trigger CI

If you like I can just amend the last commit and re-push to trigger the CI again, if that would help.


<EMAIL_ADDRESS>Main process exited, code=killed, status=11/SEGV

Home Assistant release with the issue:

0.69.0
Last working Home Assistant release (if known):
0.69.0
Operating environment (Hass.io/Docker/Windows/etc.):

Debian 9 Runing Hass On Venv
Component/platform:

Description of problem:
<EMAIL_ADDRESS>Main process exited, code=killed, status=11/SEGV
<EMAIL_ADDRESS>Unit entered failed state.
<EMAIL_ADDRESS>Failed with result 'signal'.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Duplicate of #13696

This is not a Raspberry Pi it’s a full Debian running Hass on Venv

Did you actually read the content of #13696 rather than just looking at the title? It was originally reported as an issue on the new RPi3 Model B+, but the error has popped up on other platforms too (including on my original RPi3). In that issue, I reported the exact same error message as you, and so did other users.
Besides, guess what I'm running on my RPi3? A full Debian Stretch install with Home Assistant inside a virtualenv...

Hey @fanaticDavid sorry you are right didn't read the whole thread, same problem here.

Closing as duplicate of #13696.


Wikidata schema: aliases are marked as "overriding" when schema is restored

To Reproduce
Steps to reproduce the behavior:

First, create a Wikidata schema that adds an alias to an item
Then, leave the project (go back to the home page)
Finally, reopen the project

Current Results
The added alias is marked as "overriding" (the box is ticked)
Expected Behavior
There should be no "override" tick box for aliases (just like there isn't one when we first add the alias)
Versions

OpenRefine: 3.4-beta2

Additional context
Reported on the mailing list: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/openrefine/frz0No2IkCc/waikZ1TWAwAJ

I confirm this is still the case.
Moreover, does it ever make sense to "override alliases"?


EF Core 1.1 has introduced a new ArgumentException bug

I saw today that EF Core 1.1 has been released.  I made a new branch and upgraded from 1.0.  Now several of our integration tests are failing with the below error.  I'm not going to attempt to give you the full code base that raises this error; our codebase is massive.  Rather I will just paste the line of code that throws the error along with the stack trace and hope this will be helpful to you.  In the meantime I'm abandoning my attempt to upgrade until I hear back that this bug has been repaired.
The line of code that raises the exception:
                            var result = pagedResult
                                .Select(bt => new LibraryManagerSubShelf
                                {
                                    TitleStartingLetter = bt.titleStartingLetter.ToUpper()
                                })
                                .ToList();

where pagedResult is an IQueryable<> that has had a .Skip().Take() applied to it.  I verified that if the skip+take is removed, the exception is not thrown.
Stack trace:
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryModelExtensions.QueryModelMappingPopulatingVisitor.VisitSubQuery(SubQueryExpression expression)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ExpressionVisitorBase.Visit(Expression node)
   at System.Linq.Expressions.ExpressionVisitor.VisitAndConvert[T](ReadOnlyCollection`1 nodes, String callerName)
   at Remotion.Linq.Parsing.RelinqExpressionVisitor.VisitNew(NewExpression expression)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ExpressionVisitorBase.Visit(Expression node)
   at Remotion.Linq.Clauses.SelectClause.TransformExpressions(Func`2 transformation)
   at Remotion.Linq.QueryModel.TransformExpressions(Func`2 transformation)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryModelExtensions.QueryModelMappingPopulatingVisitor.VisitSubQuery(SubQueryExpression expression)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ExpressionVisitorBase.Visit(Expression node)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryModelExtensions.PopulateQueryModelMapping(QueryModel queryModel, Dictionary`2 mapping)
   at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.LiftSubQuery(IQuerySource querySource, Expression itemsExpression, Expression expression)
   at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitMainFromClause(MainFromClause fromClause, QueryModel queryModel)
   at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.Internal.SqlServerQueryModelVisitor.VisitQueryModel(QueryModel queryModel)
   at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.CreateQueryExecutor[TResult](QueryModel queryModel)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](Expression query, INodeTypeProvider nodeTypeProvider, IDatabase database, ILogger logger, Type contextType)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass19_0`1.<CompileQuery>b__0()
   at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func`1 compiler)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
   at Remotion.Linq.QueryableBase`1.GetEnumerator()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at MyCode.MyRepository.<>c__DisplayClass1_0.<GetDistinctLibraryManagerShelves>b__0(MyDbContext db) in C:\src\MyCode\MyRepository.cs:line 63

@maumar - Did you investigate this?

In QueryModelMappingPopulatingVisitor before adding model to the dictionary we should check if it's already been added. This should be safe to do, but will do some more testing to make sure.

While having defensive add to dictionary is safe to do, we should also investigate the reason for it to arise and evaluate if we want to preserve the first value or last value. Also if such cases should be impossible (but happening due to bug somewhere else) then defensive check would make it harder for us to catch the issue.

@shaulbehr are there other operations applied on the pagedResult (filters, orderbys etc) or is it just entities.Skip(..).Take(...)?

standalone repro:
    class Program
    {
        static void Main(string[] args)
        {
            using (var ctx = new MyContext())
            {
                ctx.Database.EnsureCreated();

                var innerQuery = from c in ctx.Customers
                            let customers = ctx.Customers.Select(cc => cc)
                            where customers.Any()
                            select customers;

                var outerQuery = ctx.Customers.Where(c => innerQuery.Any()).ToList();
            }
        }
    }

    public class MyContext : DbContext
    {
        public DbSet<Customer> Customers { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer(@"Server=.;Database=Repro7944;Trusted_Connection=True;MultipleActiveResultSets=true");
        }
    }

    public class Customer
    {
        public int Id { get; set; }
    }

Fixed in 0594995d21b3706821107b84cf35dfe372210add

Justification to include this in 1.1.2 release:
Impact: Medium. This is a regression introduced by patch 1.1.1 and was reported by a customer. However the scenario affected is quite complex - it requires a subquery nested within another subquery.
Risk: Low. Fix is very local - basically we are adding defensive check when trying to add an item to a dictionary. They only scenarios that could possibly be affected by the fix are currently broken due to this bug.

This patch fix is approved. Please follow the normal code review / pull request process and make sure you make the change in the correct branch.

Preview builds of this patch fix should be available on the following feeds:

https://dotnet.myget.org/gallery/aspnet-1-0-5-may2017-patch-public (for fixes in the 1.0.x release)

Feed URL to add to NuGet.config: https://dotnet.myget.org/F/aspnet-1-0-5-may2017-patch-public/api/v3/index.json

https://dotnet.myget.org/gallery/aspnet-1-1-2-may2017-patch-public (for fixes in the 1.1.x release)

Feed URL to add to NuGet.config: https://dotnet.myget.org/F/aspnet-1-1-2-may2017-patch-public/api/v3/index.json

If you have a chance, please try out these preview builds and let us know if you have any feedback!

@shaulbehr Could you please check that this issue is fixed for you using the feed posted above? It would be really great to confirm that the issue is fixed in a real-world scenario and that it doesn't regress functionality in some other way. It would be greatly appreciated.

@ajcvickers : For our actual production code we decided only to use release code (not previews).  But for the sake of this exercise I branched off and upgraded to preview 24623 (which was latest available at this time of writing).  Regrettably I couldn't get past my integration test setup because of some other changes that appear to be broken by the way I'm declaring my relationships:
public class UserGroupOrganization
{
    // obviously there's other schema info here...
    public virtual ICollection<UserGroupOrganizationCrossReference> ParentOrganizations { get; set; }
    public virtual ICollection<UserGroupOrganizationCrossReference> ChildOrganizations { get; set; }
}

public class UserGroupOrganizationCrossReference
{
    // other stuff
    public Guid ChildUserGroupOrganizationId { get; set; }
    public Guid ParentUserGroupOrganizationId { get; set; }

    public virtual UserGroupOrganization ChildOrganization { get; set; }
    public virtual UserGroupOrganization ParentOrganization { get; set; }
}

// and inside OnModelCreating():
	modelBuilder.Entity<UserGroupOrganization>(entity =>
	{
		// other stuff
		entity.HasMany(o => o.ParentOrganizations)
			  .WithOne(p => p.ChildOrganization)
			  .HasForeignKey(p => p.ChildUserGroupOrganizationId);
		entity.HasMany(o => o.ChildOrganizations)
			  .WithOne(c => c.ParentOrganization)
			  .HasForeignKey(c => c.ParentUserGroupOrganizationId);
	});

	modelBuilder.Entity<UserGroupOrganizationCrossReference>(entity =>
	{
		// other stuff
		entity.HasOne(x => x.ParentOrganization)
			  .WithMany(o => o.ChildOrganizations)
			  .HasForeignKey(x => x.ParentUserGroupOrganizationId);

		entity.HasOne(x => x.ChildOrganization)
			  .WithMany(o => o.ParentOrganizations)
			  .HasForeignKey(x => x.ChildUserGroupOrganizationId);
	});

Firstly, I know I shouldn't have to declare those relationships in both entities, but I've tried all combinations.  And I still get the following error:

System.InvalidOperationException : Unable to determine the relationship represented by navigation property 'UserGroupOrganization.ParentOrganizations' of type 'ICollection'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

Should I log a new bug for this?

@shaulbehr Thanks for trying it. Yes, please file an issue for the new bug. We will investigate.

@shaulbehr How are the primary keys defined on those two entity types?

@AndriySvyryd Can you investigate this as a possible regression from 1.1.1 to 1.1.2?

@shaulbehr Did you test this with the latest nightly build, or with the 1.1.2 preview feed posted in the comments above?

@shaulbehr I wasn't able to repro the new issue using the 1.1.2 nightly. Please provide a complete code listing when filing a new issue for this.

@ajcvickers It was the daily build.  I'll try again with the 1.1.2 preview.

OK, so I got it working locally; looks like the patch worked.
Still have a problem on the build bot, though.  I added the feed to the NuGet command line:
"C:\Program Files (x86)\NuGet\nuget.exe" restore "${bamboo.build.working.directory}\src\MyProj.sln" -source "https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/;https://api.nuget.org/v3;https://www.myget.org/F/aspnetcidev;https://www.postsharp.net/nuget/package;https://dotnet.myget.org/gallery/aspnet-1-0-5-may2017-patch-publics"

... but alas, it blows up with a bunch of errors like this:
Error downloading 'WindowsAzure.Storage.8.0.1' from 'https://dotnet.myget.org/gallery/aspnet-1-0-5-may2017-patch-publics'.
'doctype' is an unexpected token. The expected token is 'DOCTYPE'. Line 1, position 3.

What am I missing?

You made a typo, I think.
https://dotnet.myget.org/gallery/aspnet-1-0-5-may2017-patch-publics

Should be:
https://dotnet.myget.org/F/aspnet-1-0-5-may2017-patch-public/api/v3/index.json

(and public, not publics)

@ErikEJ I deleted my previous comment - was my bad.

Confirmed: patch has fixed my problem.  Thanks!

@shaulbehr Thanks for checking! Much appreciated. Can you still file the issue for what you are seeing on dev?

@ajcvickers Done
https://github.com/aspnet/EntityFramework/issues/8302

Verified fixed in 1.1.2 candidate build.


Akka remote configuration settings ignored

Setting of actor ref provider and enabled transports can be overridden because the load order of all reference.conf on the classpath is not defined. Eventuate applications must set these explicitly in application.conf.

This must be added to the Eventuate documentation


Add GitHub action "Register Package"

This file is generated by PkgTemplates.jl.
This action can make releasing a new version very easy:

Just click "Run Workflow", type your new version and click confirm, done! A new version will be registered on Julia's General registry.

Thanks a lot.

Will this action automatically bump version in project.toml?

Yes, it will.

Thanks, it's really helpful.


feat: impl Eq on ConfigFileJson

I might be refactoring how deno/didChangeDenoConfiguration works so it's more sensible, needs this.

Currently we just do it on file changes, that behaviour is fine. I just noticed this was a missing impl considering it's a basic wrapper of serde's Value, and you'd have to serialize it to a string to compare. It's on ConfigFileJson rather than ConfigFile so there's no confusion.

Ah ok