"No such file or directory" error with long paths

Windows 7, 64 bit.
Using minghc-7.10.2-x86_64
vty branch: https://github.com/coreyoconnor/vty/tree/issue-1-windows-console

I encountered the error below compiling the vty tests. On the surface the error is "Not such file or directory". Further digging indicates the issue is due to the long paths.I was able to work around the errors by reducing the size of the test suite names.
This looks to be a known bug:

https://mail.haskell.org/pipermail/haskell-cafe/2013-February/106436.html

I was unable to find an existing issue for this. Seems appropriate to file here for historical record / search.
I expected mingw to behave the same as cygwin here. However, cygwin appears to handle the long paths without issue. Using cygwin is not suitable for the goals.
PS X:\> stack build --test
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
vty-5.5.0: build (test)
Preprocessing library vty-5.5.0...
In-place registering vty-5.5.0...
Preprocessing test suite 'verify-attribute-ops' for vty-5.5.0...
[1 of 3] Compiling Verify           ( test\Verify.hs, .stack-work\dist\x86_64-wi
ndows\Cabal-<IP_ADDRESS>\build\Verify.o )
[2 of 3] Compiling Verify.Graphics.Vty.Attributes ( test\Verify\Graphics\Vty\Att
ributes.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics
\Vty\Attributes.o )
In-place registering verify-attribute-ops-5.5.0...
[1 of 1] Compiling Main             ( .stack-work\dist\x86_64-windows\Cabal-1.22
.4.0\build\verify-attribute-opsStub\verify-attribute-opsStub-tmp\verify-attribut
e-opsStub.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\verify-attrib
ute-opsStub\verify-attribute-opsStub-tmp\Main.o )
Linking .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\verify-attribute-op
sStub\verify-attribute-opsStub.exe ...
Preprocessing test suite 'verify-config' for vty-5.5.0...
Preprocessing test suite 'verify-crop-span-generation' for vty-5.5.0...
[1 of 7] Compiling Verify           ( test\Verify.hs, .stack-work\dist\x86_64-wi
ndows\Cabal-<IP_ADDRESS>\build\Verify.o )
[3 of 7] Compiling Verify.Graphics.Vty.Attributes ( test\Verify\Graphics\Vty\Att
ributes.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics
\Vty\Attributes.o )
In-place registering verify-crop-span-generation-5.5.0...
[1 of 1] Compiling Main             ( .stack-work\dist\x86_64-windows\Cabal-1.22
.4.0\build\verify-crop-span-generationStub\verify-crop-span-generationStub-tmp\v
erify-crop-span-generationStub.hs, .stack-work\dist\x86_64-windows\Cabal-1.22.4.
0\build\verify-crop-span-generationStub\verify-crop-span-generationStub-tmp\Main
.o )
.stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\verify-crop-span-generation
Stub\verify-crop-span-generationStub-tmp\.stack-work\dist\x86_64-windows\Cabal-1
.22.4.0\build\verify-crop-span-generationStub\verify-crop-span-generationStub-tm
p\verify-crop-span-generationStub.dump-hi: openFile: does not exist (No such fil
e or directory)
ghc: warning: _tzset from msvcrt is linked instead of __imp__tzset

--  While building package vty-5.5.0 using:
      C:\\Users\\coconnor\\AppData\\Local\\Programs\\minghc-7.10.2-x86_64\\ghc-7
.10.2\\bin\\runhaskell.exe -package=Cabal-<IP_ADDRESS> -clear-package-db -global-pac
kage-db -package-db=C:\Users\coconnor\AppData\Roaming\stack\snapshots\x86_64-win
dows\nightly-2015-08-17\7.10.2\pkgdb\ C:\Users\coconnor\AppData\Local\Temp\stack
9836\Setup.hs --builddir=.stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\ build t
est:verify-attribute-ops test:verify-config test:verify-crop-span-generation tes
t:verify-display-attributes test:verify-empty-image-props test:verify-eval-termi
nfo-caps test:verify-image-ops test:verify-image-trans test:verify-inline test:v
erify-layers-span-generation test:verify-parse-terminfo-caps test:verify-simple-
span-generation test:verify-terminal test:verify-using-mock-input test:verify-us
ing-mock-terminal test:verify-utf8-width --ghc-options -hpcdir .stack-work\dist\
x86_64-windows\Cabal-<IP_ADDRESS>\hpc\.hpc\ -ddump-hi -ddump-to-file
    Process exited with code: ExitFailure 1
PS X:\>

Removing the "verify-" from the front of the test names results in a successful compile:
Preprocessing test suite 'crop-span-generation' for vty-5.5.0...
[1 of 7] Compiling Verify           ( test\Verify.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify.o )
[2 of 7] Compiling Verify.Graphics.Vty.Prelude ( test\Verify\Graphics\Vty\Prelude.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics\Vty\Prelude.o )
[3 of 7] Compiling Verify.Graphics.Vty.Attributes ( test\Verify\Graphics\Vty\Attributes.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics\Vty\Attributes.o )
[4 of 7] Compiling Verify.Graphics.Vty.Image ( test\Verify\Graphics\Vty\Image.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics\Vty\Image.o )
[5 of 7] Compiling Verify.Graphics.Vty.Picture ( test\Verify\Graphics\Vty\Picture.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics\Vty\Picture.o )
[6 of 7] Compiling Verify.Graphics.Vty.Span ( test\Verify\Graphics\Vty\Span.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\Verify\Graphics\Vty\Span.o )
[7 of 7] Compiling VerifyCropSpanGeneration ( test\VerifyCropSpanGeneration.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\VerifyCropSpanGeneration.o )
In-place registering crop-span-generation-5.5.0...
[1 of 1] Compiling Main             ( .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\crop-span-generationStub\crop-span-generationStub-tmp\crop-span-generationStub.hs, .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\crop-span-generationStub\crop-span-generationStub-tmp\Main.o )
Linking .stack-work\dist\x86_64-windows\Cabal-<IP_ADDRESS>\build\crop-span-generationStub\crop-span-generationStub.exe ...
Preprocessing test suite 'display-attributes' for vty-5.5.0...

Cabal-<IP_ADDRESS>

I believe you're running into this bug, which is fixed in Cabal-1.22.6. D'oh.

Yep. Looks like the same bug!
Though I'm a confused by one aspect:The issue report implies the minghc 7.10.2 distro contains Cabal-1.22.6. I'm currently using the minghc from here:

https://github.com/fpco/minghc

Which includes Cabal <IP_ADDRESS> not Cabal <IP_ADDRESS>. I verified the installer contains Cabal <IP_ADDRESS> just to be sure.
I tried the installer from the latest release page:

https://github.com/fpco/minghc/releases/tag/2015-08-13

Which also includes Cabal <IP_ADDRESS>.
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS X:\> stack exec ghc-pkg -- list Cabal
Setting codepage to UTF-8 (65001) to ensure correct output from GHC
C:\Users\coconnor\AppData\Local\Programs\minghc-7.10.2-x86_64\ghc-7.10.2\lib\pac
kage.conf.d:
    Cabal-<IP_ADDRESS>

C:\Users\coconnor\AppData\Roaming\stack\snapshots\x86_64-windows\nightly-2015-08
-17\7.10.2\pkgdb:
    (no packages)
X:\.stack-work\install\x86_64-windows\nightly-2015-08-17\7.10.2\pkgdb:
    (no packages)
PS X:\>

According to stack upgrade I'm using the latest version of stack. stack upgrade --git also does not pull down Cabal <IP_ADDRESS>.
How can I upgrade stack to use Cabal <IP_ADDRESS>?

Does MinGHC still put cabal on the path? If so, I believe cabal update && cabal install cabal-install should take care of it. If everything just goes through stack now, I'm honestly not sure -- haven't switched yet myself.

This is my first attempt at using Windows for haskell dev. So I'm not sure about a lot of this. haha
Looks like Cabal <IP_ADDRESS> is not out yet. The latest on hackage is <IP_ADDRESS>.
I'll re-attempt once I have <IP_ADDRESS> install.

Cabal the library is at
1.22.4, cabal-install the
commandline tool is 1.22.6. Yes, it's pointlessly confusing. :)
On Sat, Aug 29, 2015 at 10:00 PM, coreyoconnor<EMAIL_ADDRESS>wrote:

This is my first attempt at using Windows for haskell dev. So I'm not sure
about a lot of this. haha
Looks like Cabal <IP_ADDRESS> is not out yet. The latest on hackage is
<IP_ADDRESS>.
I'll re-attempt once I have <IP_ADDRESS> install.
—
Reply to this email directly or view it on GitHub
https://github.com/fpco/minghc/issues/84#issuecomment-136072294.

Cabal the library is at
1.22.4, cabal-install the
commandline tool is 1.22.6. Yes, it's pointlessly confusing. :)

Ah! I understand. :) I was using stack.
Updated cabal-install. Compiled with cabal-install 1.22.6 without issues.

This blog post may be relevant then:
https://www.fpcomplete.com/blog/2015/08/stack-ghc-windows#workaround--shorter-paths


PlatformNotSupportedException thrown from PubSub encryption algorithm

A customer is experiencing an issue with several Windows machines.  He is using Google.Apis.Pubsub.v1 <IP_ADDRESS>1.  The Windows machines a configured as pull subscribers.  What version of .NET is required to use PubSub?
Also, clarification regarding what the supported platforms are for the above library on the Nuget page would be greatly appreciated.  Specifically, the statement regarding .NET Framework 4 and 4.5 being supported is confusing.  Does the library work with a limited subset of functionality on .NET 4 and requires 4.5 for full feature-set support?

We're doing our best to force .NET 4.5 and higher (It's not so easy getting restaurant owners to buy a new machine for their POS software). Some of the POS's run on Windows XP, and that's where we're getting the error. What does Windows XP lack that Google API's require, cryptographically speaking?

Exactly which version of XP?
It's possible that some versions of XP don't support RSACryptoServiceProvider, which would lead to the PlatformNotSupportedException. I can't find any very clear documentation, but this RSACryptoServiceProvider Constructor doc suggests only XP SP3 and XP SP2 x64 are supported.
Do you have a stack-trace you can let me see?

Have you considered creating your own library?   I haven't actually used the official client library for a number of years  I also need to support .net 3.5.    In a lot of instances its actually easier there is a lot of stuff in the official library that you don't actually need.

Closing as stale. Please re-open with more information if required.

This has cropped up again.
It's on windows xp pro 5.1 sp3
The stack trace:
System.PlatformNotSupportedException: The specified cryptographic algorithm is not supported on this platform.
at Google.Apis.Requests.ClientServiceRequest`1.Execute() in C:\Users\mdril\Documents\GitHub\google-api-dotnet-client\Src\GoogleApis\Apis\Requests\ClientServiceRequest.cs:line 96
at ToGoTechnologies.... (The rest is our stuff)


Considering return-await rule

I'd like some input regarding the possible inclusion of the return-await rule, please. I've also asked upstream.

I feel like a decision should be made and the reported debugging benefits of always outweigh potential micro-optimization concerns of it.


BasicVSR++ Denoise Train Error

Prerequisite

[X] I have searched the existing and past issues but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

🐞 Describe the bug
When I try to run the training for denoising using the suggested script and configuration file, I get "ValueError: The input sequence is not long enough to support the current choice of [interval] or [num_input_frames]" at BasicVSR_PlusPlus/mmedit/datasets/pipelines/augmentations.py, line 1053. I investigated the code a bit and it seems that the problem is with the way data is loaded. It looks like there is a variable at some point of loading the data which is called sequence_length and it is always zero because it calculates number of png images. However, DAVIS dataset only consists of jpg images, so that's why the sequence_length is zero. I assume the data is preprocessed for denoising task in some way and saved in png format in the end. The data preprocessing step is unfortunately missing in this repo, so I am wondering could it be the reason for my error? Or there is no preprocessing when training for denoising? I am trying to run the training with the DAVIS dataset.
Curious if you have any clue why my error is occurring.
Thank you!
Environment
The bug is not related to the environment because the inference is running well.
Additional information
No response

We set filename template to load datasets, like BasicVSR_PlusPlus/mmedit/datasets/pipelines/augmentations.py, line 1074. I think you can set this parameter to meet your need, like filename_tmpl='{:08d}.jpg'


Outdated

Hello there and sorry about the title ... but it's the case.
I'm learning this new technology for me and I followed the blog post here :
https://halcyon-labs.github.io/blog/2016/07/13/eagle-has-landed/
and had a look on that one too inspired by the first one :
https://medium.com/fuzz/the-electric-feathersjs-and-apollo-server-the-start-f338a744b34b
... and the cli started to ask me more question than exposed on the blog post, or is partially different. I managed this; but just after, the tutorial asks to call the generate service command where it is said to chose the generate option (which no more exists) and I have replaced by chosing "A custom service". But after it is said to edit file :
src/services/graphql/index.js
and nothing longer here, I have a src/services/index.js that list the existing services and instead I have a graphql.class.js which is completely different than the showed file in tutorial (class now in it, ES2015 synthax).
I'm some kind of "blocked" now and a lot sad.
Would someone be ready to give an update to this tutorial ?
Thanks anyway.

@3kynox I understand your concern. This project has not been a focus for me, and it is quite outdated at this point. I would recommend checking out the Apollo server and feathers documentation. They are both excellent and should help.


subtitlecomposer: ffmpeg_6 as dependency

The package wasn't building with the current version of ffmpeg due to API changes. The ffmpeg dependency was fixed to ffmpeg_6, and now it builds and runs correctly.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 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.

Add a :+1: reaction to pull requests you find important.

This PR would close #358765.


How is vgbua_res101_precomputed generated?

I have a question about how the vgbua_res101_precomputed is generated. Is it generated by ground truth regions and you run the Fast R-CNN to convert the regions to vectors (features)? Thanks.

@lmd1993 No. It is generated by running inference of pre-trained Faster RCNN (provided on this repo)  on COCO images. Both boxes and features are obtained by the Faster RCNN, while ground-truth regions are not utilized.


Need a list of all required permissions to build and manage Azure AD DS

Please add a list of minimal  required  to build and manage Azure AD DS.
RBAC in Azure AD
RBAC in Azure IaaS
RBAC  in Azure AD DS object in Azure IaaS

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

ID: 8a91a6cd-5871-d2a0-4da9-19b611c353de
Version Independent ID: 0f38ffd2-d32c-77af-ca06-a32899ce9fbb
Content: Azure Active Directory Domain Services: Deployment scenarios
Content Source: articles/active-directory-domain-services/scenarios.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@noendscripting Thank you for your feedback . We will investigate and update further .

@iainfoulds Could you please have this reviewed with engineering and see if the article updated as needed.

Thanks for the suggestion, @noendscripting. I've created a backlog work item to provide a doc update, which should be completed by the end of August.
#in-progress

@noendscripting After discussing this with the product group, can you provide a little more context as to what issues you're running into that requires specific role assignments? Azure AD DS itself doesn't inherently use and support RBAC on the root resource, and supporting resources that are created such as the virtual NICs, VMs, load balancer, etc. are all managed by the platform as part of the managed service. You shouldn't be manually editing those resources and need RBAC permissions on those managed resources.
To create the an Azure AD DS instance you must be a global administrator in your Azure AD directory, as noted in the getting started guide. That's not necessarily an RBAC role though. If you can clarify what you're looking for, we can see what doc changes may be required.

Hi Ian
I’m not sure this is 100% accurate.  Global Administrator role does not grant access to Azure IaaS subscription and creation on VNET and Subnet is one of the requirements. Then the DC instances running on the background need to attach themselves to the VNET which is another set of permissions not part of Global Administrator’s access and last but not the list , IP addresses for the DC instances need to be added as custom DNS into VNET.
Most organizations today practice separation of duties and a “minimum required privilege” , typically people who  manage AAD do not manage Azure IaaS  and people who manage Azure IaaS are not Global Administrators, I think I reformulate my questions as following
What Azure RBAC permissions Global Administrators would need to successfully complete AADS deployment?
Feel free to reach to out if you want to chat about this.
Michael Resnick | Premier Field Engineer - US PFE - East Region
michael.resnick<EMAIL_ADDRESS>(o)<PHONE_NUMBER>  (c)<PHONE_NUMBER>
Premier Support: 1.800.936.3100 | Premier Online: https://premier.microsoft.comhttps://premier.microsoft.com/
<EMAIL_ADDRESS>If you have any feedback about my work, please let either myself or my manager, Daryl Tutton  (Daryl.Tutton<EMAIL_ADDRESS>From: Iain Foulds<EMAIL_ADDRESS>Sent: Thursday, August 8, 2019 4:45 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Mike Resnick (PFE<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Need a list of all required permissions to build and manage Azure AD DS (#35349)
@noendscriptinghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnoendscripting&data=02|01|Michael.Resnick%40microsoft.com|f6ac13de18c34bec3fb708d71c414783|72f988bf86f141af91ab2d7cd011db47|1|0|637008939006455854&sdata=mFRE3WxBFqKRN93y%2F7yUwqymtbGAkx0u9flTmtPc3pQ%3D&reserved=0 After discussing this with the product group, can you provide a little more context as to what issues you're running into that requires specific role assignments? Azure AD DS itself doesn't inherently use and support RBAC on the root resource, and supporting resources that are created such as the virtual NICs, VMs, load balancer, etc. are all managed by the platform as part of the managed service. You shouldn't be manually editing those resources and need RBAC permissions on those managed resources.
To create the an Azure AD DS instance you must be a global administrator in your Azure AD directory, as noted in the getting started guide. That's not necessarily an RBAC role though. If you can clarify what you're looking for, we can see what doc changes may be required.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F35349%3Femail_source%3Dnotifications%26email_token%3DAGNHKNI2VR6YFMIQCJXQCYTQDSAUXA5CNFSM4IEUVLHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD343FBQ%23issuecomment-519680646&data=02|01|Michael.Resnick%40microsoft.com|f6ac13de18c34bec3fb708d71c414783|72f988bf86f141af91ab2d7cd011db47|1|0|637008939006465843&sdata=WzqNfnhtqZXC1wsJaJGtS29B5mRC4VoZ5IJAoiBvQCE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGNHKNKTY7VHUPIVZIB5JQTQDSAUXANCNFSM4IEUVLHA&data=02|01|Michael.Resnick%40microsoft.com|f6ac13de18c34bec3fb708d71c414783|72f988bf86f141af91ab2d7cd011db47|1|0|637008939006465843&sdata=C7tfIB%2FNgSbGKZlgzholPOXOtSiNc6jqvYLZlwldtow%3D&reserved=0.

Adding @MikeStephens-MS and @eringreenlee from the product team to try and help narrow it down. The guidance had been pretty broad - global admin with write perms across the subscription.

Thank you Iain
If this is what the guidance is we should document it, and save hours of research and failure for our customers.  In my experience , as long as  as they can go back and point out to an official document rather than word of mouth, they are willing to fulfill all requirements.
Sounds like we should add following rights are required:
Azure AD – Global Administrator
Azure IaaS – Contributor on Subscription level.
Michael Resnick | Premier Field Engineer - US PFE - East Region
michael.resnick<EMAIL_ADDRESS>(o)<PHONE_NUMBER>  (c)<PHONE_NUMBER>
Premier Support: 1.800.936.3100 | Premier Online: https://premier.microsoft.comhttps://premier.microsoft.com/
<EMAIL_ADDRESS>If you have any feedback about my work, please let either myself or my manager, Daryl Tutton  (Daryl.Tutton<EMAIL_ADDRESS>From: Iain Foulds<EMAIL_ADDRESS>Sent: Friday, August 9, 2019 11:35 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Mike Resnick (PFE<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Need a list of all required permissions to build and manage Azure AD DS (#35349)
Adding @MikeStephens-MShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMikeStephens-MS&data=02|01|Michael.Resnick%40microsoft.com|10252a7c865848afbe6008d71cdf1d26|72f988bf86f141af91ab2d7cd011db47|1|0|637009616900372381&sdata=sED3MBKtTdboST1n7YnJumJLSSymnSE7oW5gxqj%2FAsI%3D&reserved=0 and @eringreenleehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feringreenlee&data=02|01|Michael.Resnick%40microsoft.com|10252a7c865848afbe6008d71cdf1d26|72f988bf86f141af91ab2d7cd011db47|1|0|637009616900382374&sdata=hbwrmAIfD%2FZhMLB3Y7sEO%2BFJvCrwp%2FR3bIjYD3rYec8%3D&reserved=0 from the product team to try and help narrow it down. The guidance had been pretty broad - global admin with write perms across the subscription.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F35349%3Femail_source%3Dnotifications%26email_token%3DAGNHKNLK57XWGY6RNZLEJMDQDWFBRA5CNFSM4IEUVLHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD37ANYQ%23issuecomment-519964386&data=02|01|Michael.Resnick%40microsoft.com|10252a7c865848afbe6008d71cdf1d26|72f988bf86f141af91ab2d7cd011db47|1|0|637009616900382374&sdata=5FKP8BtLblQKi2hqvNtAU%2Bc9iGSqcByqRd14DS%2B4UPY%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGNHKNJGQ7Q2R65IXD4BNJ3QDWFBRANCNFSM4IEUVLHA&data=02|01|Michael.Resnick%40microsoft.com|10252a7c865848afbe6008d71cdf1d26|72f988bf86f141af91ab2d7cd011db47|1|0|637009616900392368&sdata=tL7A21a125oME1oOMA4qKFFZGvvNomZo8JSqTBxp7%2FE%3D&reserved=0.

We actually have an updated set of docs ready to replace https://docs.microsoft.com/azure/active-directory-domain-services/create-instance. Those updates should publish next week. I'll add the requirement to be a contributor at the subscription level into those updates now, since the new tutorials will become the canonical reference for creating an Azure AD DS managed domain.
For now, #please-close


Add styling for block quotes

Fixes https://github.com/snide/sphinx_rtd_theme/issues/317

Can you give an example of what this displays as before and after your patch?

Going to style this a little differently and use a branch in this repo.


Changed validation.py to validate the first character doesn't start with

either of the forbidden dcharacters.
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Question: inference time

Really nice work! Thank you for releasing the code.
I wonder how large is the network in total, and how long does it take for inference?

These numbers depend on the batch size and the hardware you are running inference with. I can give you these for my personal workstation for example:
GPU: NVIDIA Titan XP
Batch Size: 2
Max GPU Memory Consumption: 7712 MB
Avg. Iteration Speed: 1.82 it/s
Total Time for KITTI Val Inference: 17 min, 15 seconds

Feel free to run this yourself and see what kind of performance you get.

It's very odd. My GPU is NVIDIA RTX3090, but it took 10s for every image.

Hi @rockywind,
Are you using torch==1.4.0? If you are using a newer torch version, the inference will take a very long time.
If you want to keep your current environment with a newer torch version, you can change this line
from:
            batch_dict[key] = kornia.image_to_tensor(val).float().cuda()

to:
            batch_dict[key] = kornia.image_to_tensor(val).float().cuda().contiguous()<br class="Apple-interchange-newline">

I am working on changing this in the repo, but you can make this quick fix for now.

Thanks a lot for your help. It's work.

Great glad I can help

really help me, thks. #

Hi @rockywind,
Are you using torch==1.4.0? If you are using a newer torch version, the inference will take a very long time. If you want to keep your current environment with a newer torch version, you can change this line from:
            batch_dict[key] = kornia.image_to_tensor(val).float().cuda()

to:
            batch_dict[key] = kornia.image_to_tensor(val).float().cuda().contiguous()

I am working on changing this in the repo, but you can make this quick fix for now.


Import utilities from hextof-processor

Some utilities which could be ported from hextof processor:
from src/processor/utilities/calibration.py

[ ] filterCircleDLDPos: a geometric filtering tool (could be expanded)
[ ] correctOpticalPath: might be already in momentum/energy calibration
[ ] gen_sector_correction: parameter generation method for  dld_sector_correction

from src/processor/utilities/diagnostics.py

[ ] channel_statistics: statistical info from all, or selected columns in the dataframe
[ ] binned_array_size: preview of the byte size of the binned data
[ ] #270

from src/processor/utilities/io.py

[ ] update units in config.py
[ ] save binned results as tiff
[ ] save binned results as hdf5

from src/processor/utilities/misc.py:
I am not sure if these are then too specific for SED, and if they should be extenalized in a different repo. Open to suggestions!

[ ] fluence and absorbed_energy_density
[ ] effective_gaussian_area
[ ] gaussian2D, lorentzian2D etc...

from src/processor/utilities/vis.py:

[ ] Orthoslices3D and 4D: visualization tools for 3 and 4 dimensional xarray.DataArrays.

Some of these might already be implemented, and if so, please do tick them as complete, and mention the function name in the comments.
Some might not belong to this repo, but are rather evaluations post binning. We can discuss if these should be included in SED or if we should make a separate repo/project for that.

correctOpticalPath: might be already in momentum/energy calibration
If this is what I think it is, then this is implemented in the energy correction workflow.
save binned results as tif
save binned results as hdf5
these exist as the save function. Do we need anything else?


Print the import transformer status

:notebook_with_decorative_cover: Description
We didn't request a status message from the import transformer so far. This fixes that oversight.

This turned into a bit of a refactoring of the status handlers now. I originally hoped to manage this with less code, but at least it should now be easier to write handlers that retrieve additional data from child components.

Rebased on top of 84140ffec526bb035685bb01d4d6675b60385bfa now.


[ENH] add interactive figures

remove unused images

use plotly to create interactive HTML figures in the impact page rather than static png ones.

replaces the old mermaid base BEP gantt chart with a plotly based one.

HTML figures are not commited and saved in a tmp folder in the root of the repo.

dump figures and other content that can be updated into external files that are injected into markdown files using snippets

--8<-- "tmp/bids_timeline.html"

separate code that collects data from that plots figure. The latter is called via makefile during the build of the doc

It was automatically generated from the content of the citation.cff so I think we should try to improve the content of the citation.cff and let the code do the rest.

It was automatically generated from the content of the citation.cff so I think we should try to improve the content of the citation.cff and let the code do the rest.

I'm shocked that something might be wonky with a cff file, especially one of ours.

It was automatically generated from the content of the citation.cff so I think we should try to improve the content of the citation.cff and let the code do the rest.

I'm shocked that something might be wonky with a cff file, especially one of ours.

Hahaha.
It is still dependent on:

the quality of the affiliations contributors have put in it
how that interacts with the library that's trying to locate the affiliation


Issue with TextField Line Spacing and Cursor Height in Flutter

Steps to reproduce
Hello,
I am currently working on a Flutter project and trying to implement line spacing in a TextField by adjusting the height property in TextStyle. However, I've encountered an issue where, after setting the height, the cursor's height becomes abnormal.
Additionally, when I attempt to specify the cursorHeight to correct this, the cursor does not appear centered within the line.
I've been unable to find a solution that addresses both the line spacing and cursor height simultaneously. Any suggestions or workarounds to resolve this issue would be greatly appreciated.
Thank you.
Expected results
My expected result is for the cursor to display normally.
Actual results

cursor's height becomes abnormal
cursor not centered

Code sample
Code sample
TextField(
      style: TextStyle(
          fontSize: 20,
          textBaseline: TextBaseline.alphabetic,
          height: 3.5
      ),
      //cursorHeight: 20,
      decoration: InputDecoration(
          hintText: "Hello",
          filled: true,
          fillColor: Colors.yellow,
          // border: const OutlineInputBorder(borderSide: BorderSide.none),
          isCollapsed: true,
          isDense: true,
          counterText: '',
          contentPadding: EdgeInsets.all(0)
      ),
  )

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Flutter (Channel [user-branch], 3.13.1-0.0.pre.531, on macOS 14.1.1 23B81
    darwin-arm64, locale zh-Hans-CN)

Hi @tummyhuang
I checked this issue on Android using your sample code above but don't see the issue in your demo.

I'm on the latest Flutter stable channel 3.19.3. I see you are using an old Flutter version. So please try upgrading your Flutter version and re-check this.

There is still a problem.
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.19.0-5.0.pre.45, on macOS 14.1.1 23B81
darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[!] Android Studio (version unknown)
✗ Unable to determine Android Studio version.
✗ Unable to find bundled Java version.
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
[✓] VS Code (version 1.87.0)
[✓] Connected device (3 available)
[✓] Network resources
! Doctor found issues in 2 categories.
test code (only android):
hellotextfield2.zip

When I enable cursorHeight, I can see the issue. Meanwhile, it doesn't occur on Web:

Web
Android

This reminds me of a similar issue at https://github.com/flutter/flutter/issues/143480. I will close this in favor of that one. So please follow it for updates. Thanks!


Add Antenna table info from FHD once FHD starts saving it

This is now saved in FHD, so we can add it to pyuvdata. Eventually we could consider making the antenna locations required parameters.


Double/Float casting and comparisons, push floats as 64bit to stack

Casting should use BuildSIToFP not FPCast.  Unsigned ints still TODO.  Also when pushing floats to the stack push as LLVM.Double for both float and double.  This fixes comparison of doubles and floats combinations
Fixes #5778
This is my first PR, ever, so any criticism gratefully received.  I expect @morganbr is best placed to review this.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: yowl sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for working through what turned out to be a tricky issue, @yowl! Can I interest you in picking up any other wasm issues? You also did a great job of finding this one and I'm sure we have other ones lurking if you like bug hunting.

@morganbr thanks to your input the change was actually small.  I can pick up something else.  I did look at the up for grabs, and there's also this output from double.ToString():
_S_P_CoreLib_System_NotSupportedException___ctor@http://localhost:6931/HelloWasm.js:694558:1
_S_P_CoreLib_System_ByReference_1_Char____ctor@http://localhost:6931/HelloWasm.js:1163408:1
_S_P_CoreLib_System_Span_1_Char____ctor_1@http://localhost:6931/HelloWasm.js:1091374:1
_S_P_CoreLib_System_Number__FormatDouble@http://localhost:6931/HelloWasm.js:736008:1
_Double__ToString@http://localhost:6931/HelloWasm.js:734227:1

ldind_ref looks implemented so guess this is a case of the default ByReference in S.P.CoreLib\src\System being used when it shouldn't be.  Anyway if you've any suggestions I'm open.

If you're interested in double.ToString, go for it. I've filed #5819 for discussion on it.


Put the warning map value into process dictionary (Fix OTP 18 test failures)

The sync_error_logger file looks up the message level with which to tag a message from a process dictionary entry named `warning_map'. When it is unset, it uses a default mapping which is fine for OTP 17 and before, but in OTP 18 and 19 the value changed from this default.
Now we put the current error logger warning mapping value into the process dictionary regardless of what OTP release tests are running under so that the messages do not cause failed tests if the default mismatches the OTP release default.
Addresses #275

@macintux I have added comments and updating the binding names like we discussed.

:+1:


Update tests to use default local queue created in given namespace

Description

Update tests to use default local queue created in given namespace to skip local-queue usage in raycluster configuration function.
Depends on : https://github.com/project-codeflare/codeflare-common/pull/59
How Has This Been Tested?

Skipped providing local-queue parameter in raycluster configuration function to create a raycluster with default kueue label

Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

This change is included in https://github.com/opendatahub-io/distributed-workloads/pull/197


Simple question on Express

Hi all,
I used the app generator to help me set up a basic Express environment, and got the code below called app.js. I did so using the following instructions: http://expressjs.com/en/starter/generator.html
I have some very basic questions about this code. Being a front end I am used to a Head/body format with scripts and stylesheets loaded at the top,

this app.js file... is this some kind of "master" file that controls all proceedings on each page that I create?
What is happening here? app.use(express.static(path.join(__dirname, 'public')));
I found in the express docs that .use "Mounts the specified middleware function or functions at the specified path: the middleware function is executed when the base of the requested path matches path "
Does this mean that, if a user goes to a specific URL (that is defined in the second parameter) a function of your choosing gets called?

I hope somebody can help me with these questions :)
Many thanks
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

var index = require('./routes/index');
var users = require('./routes/users');

var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'pug');

// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));

app.use('/', index);
app.use('/users', users);

// catch 404 and forward to error handler
app.use(function(req, res, next) {
  var err = new Error('Not Found');
  err.status = 404;
  next(err);
});

// error handler
app.use(function(err, req, res, next) {
  // set locals, only providing error in development
  res.locals.message = err.message;
  res.locals.error = req.app.get('env') === 'development' ? err : {};

  // render the error page
  res.status(err.status || 500);
  res.render('error');
});

module.exports = app;

this app.js file... is this some kind of "master" file that controls all proceedings on each page that I create?

This is the main file (entry point) you run with node and which requires the other modules of your app.

What is happening here? app.use(express.static(path.join(__dirname, 'public')));

In this specific line a standard path module is used for joining a path, the joined path is passed to the .static method which, in its turn, return a middleware. This middleware is added into the array of middlewares using the .use method. In this case the middleware is intended for serving static files.
Read the documentation. 🙂

Thank you so much for taking time to help. And yes you are right I will thoroughly inspect documentation before asking further questions. Greets

@WAINGOR you are welcome.
A small correction to my answer, app.js maybe be not the entry point and requires by the bin/www which is the entry point. If you run the app using npm start command, look at the scripts section of the package.json file, there must be the path to the main file being run.

Can someone close this?


CI for Node

Initializes with two players

https://stackoverflow.com/questions/54301678/npm-test-fails-although-tests-are-successful-reactjs-app-created-with-create


Specifying podman socket with podman cli.

I noticed that now we have podman api socket.
Does/will it support something like this?
podman system service -t 0 tcp://<IP_ADDRESS>:5192

podman -H tcp://<IP_ADDRESS>:5192 ps

I'll defer to @rhatdan here, but I believe the answer is no - we're reluctant to add support for that as it will require us to provide authentication for the socket.
Instead, we're focusing on tunneling requests to the unix socket over SSH.

Yes, we will not listen on random ports.  The idea is to setup ssh connections to the host, that way we can rely on ssh to provide crypto/authentication/authorization and Podman does not need to do it.
That being said.   I am not sure if what you specified will not work.
@jwhonce @baude WDYT?

I've already tried podman-remote through varlink with ssh.
Then I found this that varlink is going to be deprecated, so i assumed no ssh client in podman which is not necessarily bad news to me. Because that means I have an option to use tcp directly or set up ssh tcp forwarding with openssh.
https://github.com/containers/libpod/blob/master/docs/source/markdown/podman-system-service.1.md

We're definitely integrating SSH tunnelling into the remote Podman client, and I believe the Go bindings for the HTTP API as well (@jwhonce can confirm whether I'm right about that).

yup

Also varklink is deprecated.  Not going away for a while.

I think this is adequately answered, so I'm going to close - if there are further questions, please open a fresh issue.


[New CPU Lightmapper] Dynamic objects lose lighting when leaving and re-entering BakedLightmap extents

Godot version:

v3.2.4.beta6.official
OS/device including version:

Windows 10 (10.0.19042 Build 19042)
AMD Ryzen 7 3800XT
NVIDIA GeForce RTX 2080 (running GLES3)
Issue description:

In beta 5, if a dynamic (not baked) mesh instance leaves the bounds of the BakedLightmap node it loses lighting information while out of the bounds and regains that lighting as soon as it re-enters.
https://user-images.githubusercontent.com/1929107/104855681-f313e880-58c2-11eb-9678-23f420b0d617.mp4
However, on beta 6 with the new lightmapper, the mesh instance does not regain lighting until the scene is reloaded in the editor.
I'm still trying to capture a video of this, I will update the ticket when I successfully get a lightmap to bake
Steps to reproduce:

Create a scene and bake a lightmap.
Add a MeshInstance and assign the default sphere mesh to it.
Find an area in the scene that does not get direct light and move the mesh there.  It should still show lighting due to bounced light.
Drag the mesh out of the lightmap's bounds.  It should turn black.
Move the mesh back into the lightmap's bounds.  Note that it doesn't regain its bounced lighting.

Minimal reproduction project:

TestGridmapLightmap.zip

This may actually be a result of the BVH/pairing changes. If so, it is likely already fixed by https://github.com/godotengine/godot/pull/45251

This may actually be a result of the BVH/pairing changes. If so, it is likely already fixed by https://github.com/godotengine/godot/pull/45251

694e51d210b1a376418c9d067aa9d763689b5770 does indeed appear to fix the issue.  Closing this ticket since it has been fixed in the 3.2 branch, but feel free to re-open if you'd like.

694e51d210b1a376418c9d067aa9d763689b5770 does indeed appear to fix the issue.  Closing this ticket since it has been fixed in the 3.2 branch, but feel free to re-open if you'd like.


CancelTransfer transaction

Acceptance Criteria defined in the EPIC https://github.com/vegaprotocol/frontend-monorepo/issues/2082

Waiting on https://github.com/vegaprotocol/vega/issues/7462

Now waiting for https://github.com/vegaprotocol/vega/issues/7461#issuecomment-1413664443. A cancel transfer is just an id of a transfer, so until we can fetch one by ID there's nothing worth displaying that isn't already shown in the default view.

THat Core chaneg is now merged so this shoul dcome into sprint.


fix(draggableselect): prevent context menu on right click

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cannot rearrange items when the title of an Inventory Setup contains a colon

For example I have an inventory setup titled "Iron Medium Clues: Imps", and I was unable to rearrange the items until I replaced the colon with a comma. There may be other characters that can cause the same problem.

Thank you for reporting this bug; this was driving me nuts! Maybe this has something to do with filenames, since Windows filenames can't contain colons (something about file streams?)

it's probably because colons are a special character in the saved layouts and since colons are not allowed in bank tag names I didn't bother escaping them.

Should be fixed in 1.4.11.


Epic launcher game is still running

Short description of the issue
After creating a shortcut to epic launcher once it's loaded and closed out of the system it thinks that it's still running even though it's completely closed and not running in the background.
So the Lauhdutin launcher will not re-open as it's hidden because of the fact it thinks a game is running.
Lauhdutin version
3.0.1
Rainmeter version
4.2.0 beta r3029 64-bit (Feb  8 2018)
Windows version
Windows 10 Pro 64-bit (build 16299)
Error messages
DBUG (23:11:52.963) : Monitoring process    EpicGamesLauncher.exe
DBUG (23:11:53.301) : Animations.resetSlots
DBUG (23:12:03.965) : Updating game process status
DBUG (23:12:03.975) : Game is still running
DBUG (23:12:05.548) : Updating game process status
DBUG (23:12:05.556) : Game is still running
DBUG (23:12:07.240) : Updating game process status
DBUG (23:12:07.249) : Game is still running
DBUG (23:12:08.827) : Updating game process status
DBUG (23:12:08.836) : Game is still running
DBUG (23:12:10.388) : Updating game process status
DBUG (23:12:10.397) : Game is still running
DBUG (23:12:11.963) : Updating game process status
DBUG (23:12:11.972) : Game is still running
DBUG (23:12:13.552) : Updating game process status
DBUG (23:12:13.560) : Game is still running
DBUG (23:12:15.114) : Updating game process status
DBUG (23:12:15.123) : Game is still running
DBUG (23:12:16.699) : Updating game process status
DBUG (23:12:16.708) : Game is still running
DBUG (23:12:18.266) : Updating game process status
DBUG (23:12:18.274) : Game is still running
DBUG (23:12:19.837) : Updating game process status
DBUG (23:12:19.846) : Game is still running
DBUG (23:12:21.424) : Updating game process status
DBUG (23:12:21.433) : Game is still running
DBUG (23:12:22.993) : Updating game process status
DBUG (23:12:23.002) : Game is still running
DBUG (23:12:24.574) : Updating game process status
DBUG (23:12:24.582) : Game is still running
DBUG (23:12:26.140) : Updating game process status
DBUG (23:12:26.149) : Game is still running
DBUG (23:12:27.717) : Updating game process status
DBUG (23:12:27.726) : Game is still running
DBUG (23:12:29.299) : Updating game process status
DBUG (23:12:29.308) : Game is still running
DBUG (23:12:30.865) : Updating game process status
DBUG (23:12:30.874) : Game is still running
DBUG (23:12:32.453) : Updating game process status
DBUG (23:12:32.462) : Game is still running
DBUG (23:12:34.014) : Updating game process status
DBUG (23:12:34.023) : Game is still running
DBUG (23:12:35.587) : Updating game process status
DBUG (23:12:35.596) : Game is still running
DBUG (23:12:37.178) : Updating game process status
DBUG (23:12:37.187) : Game is still running
DBUG (23:12:38.740) : Updating game process status
DBUG (23:12:38.749) : Game is still running
DBUG (23:12:40.324) : Updating game process status
DBUG (23:12:40.333) : Game is still running
And continues onward
Steps to reproduce the issue
Creating a shortcut to the epic launcher and running a game and closing the game and also closing the launcher but it still thinks the game is running.

Just for adding, could your check in taskmanager if epic launcher still has a process? I'm saying this because I had the same problem and the issue was that even closing the launcher the process is still open.

So I did that, I added a new process in there for Fornite launcher. Yet after I close Fortnite, after I close the Epic launcher that's when the Lauhdutin launcher comes back up. But it's a hit or miss, there's a lot of Fortnite processes in the background, maybe it's freaking out? It opens up 3 of them

One of them is for anti-cheats, other for the launcher and other for the game itself. I'm using "FortniteClient-Win64-Shipping.exe" (game itself process), but I only play the game 2 times, so I can't assure you it works properly all the times.

So I should add FortniteClient-Win64-Shipping.exe to the process portion as Kapiainen suggested?

That's correct.

I think it got fixed, now that I did that. Thanks again :)


'map_pose_offset' in Motion Dataset

Hi!
Upon reviewing the Motion lidar tfrecord data, I noticed the absence of the 'map_pose_offset' parameter. This omission could potentially lead to inaccuracies when transforming lidar points to their corresponding map coordinates. However, the discrepancies may be minor (less than 0.05 meters according to observations in perception dataset).

Hi,
For the motion dataset, the corrections are already included in the data such that the motion data is already consistent with the map.


[Octoprint] Error: Invalid value for '--port': tcp://<IP_ADDRESS>:80 is not a valid integer

Details
Helm chart name and version: Octoprint 6.0.0

Container name and tag: "octoprint/octoprint:1.6.1"

What steps did you take and what happened: Deployed with nearly default values.yaml

Relevant Helm values:
env:
  TZ: UTC
  ENABLE_MJPG_STREAMER: "true"
  MJPG_STREAMER_INPUT:  # "-y -n -r 640x480"
  CAMERA_DEV:  # /dev/video0

ingress:
  main:
    enabled: true
    annotations:
      cert-manager.io/cluster-issuer: vault-issuer
    hosts:
    - host: octoprint.dc
      paths:
      - path: /
        pathType: Prefix
    tls:
    - secretName: octoprint-tls
      hosts:
      - octoprint.dc

securityContext:
  privileged: true

persistence:
  data:
    enabled: true
    mountPath: /octoprint
    storageClass: local-path
    accessMode: ReadWriteOnce
    size: 1Gi
  printer:
    enabled: true
    type: hostPath
    hostPath: /dev/ttyACM0

What did you expect to happen: Start Octoprint
Anything else you would like to add:
It's clear that he just expects the port number, but i couldn't figure out where it is set & why he is using the service / cluster] IP.

Additional Information:
Full Error output:
Error: Invalid value for '--port': tcp://<IP_ADDRESS>:80 is not a valid integer
Usage: octoprint [OPTIONS] COMMAND [ARGS]...
Try 'octoprint --help' for help.

Also it seems to be missing live/readiness probes.

I have the same issue. Looks like port is passed into binary if service is configured within values.yaml file.
service:
  main:
    enabled: true
    ports:
      http:
        port: 80
        targetPort: 8080

@Nold360 I have just placed your values in a helm template . --debug run, and I can see the liveness/readiness probes showing up:
---
# Source: octoprint/templates/common.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: RELEASE-NAME-octoprint
  labels:
    helm.sh/chart: octoprint-6.0.0
    app.kubernetes.io/name: octoprint
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/version: "1.6.1"
    app.kubernetes.io/managed-by: Helm
spec:
  revisionHistoryLimit: 3
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app.kubernetes.io/name: octoprint
      app.kubernetes.io/instance: RELEASE-NAME
  template:
    metadata:
      labels:
        app.kubernetes.io/name: octoprint
        app.kubernetes.io/instance: RELEASE-NAME
    spec:

      serviceAccountName: default
      dnsPolicy: ClusterFirst
      enableServiceLinks: true
      containers:
        - name: RELEASE-NAME-octoprint
          image: "octoprint/octoprint:1.6.1"
          imagePullPolicy: IfNotPresent
          securityContext:
            privileged: true
          env:
            - name: "ENABLE_MJPG_STREAMER"
              value: "true"
            - name: "TZ"
              value: "UTC"
          ports:
            - name: http
              containerPort: 80
              protocol: TCP
          volumeMounts:
            - name: data
              mountPath: /octoprint
            - name: printer
              mountPath: /dev/ttyACM0
          livenessProbe:
            tcpSocket:
              port: 80
            initialDelaySeconds: 0
            failureThreshold: 3
            timeoutSeconds: 1
            periodSeconds: 10
          readinessProbe:
            tcpSocket:
              port: 80
            initialDelaySeconds: 0
            failureThreshold: 3
            timeoutSeconds: 1
            periodSeconds: 10
          startupProbe:
            tcpSocket:
              port: 80
            initialDelaySeconds: 0
            failureThreshold: 30
            timeoutSeconds: 1
            periodSeconds: 5
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: RELEASE-NAME-octoprint-data
        - name: printer
          hostPath:
            path: /dev/ttyACM0

I have figured out what the cause of your issue is, and it seems to be caused by running an image that was not desgned for Kubernetes in a Kubernetes cluster. The root cause is what is described in the note over here. The Octoprint image looks at the OCTOPRINT_PORT env var and decides to pass that along the command line.
This can be solved in a number of ways:

Specify a manual value for the OCTOPRINT_PORT with the correct value
Set enableServiceLinks to false

@yoonst

With default values, there is no liveness/readiness probe.

As you can see in the comment above, this is incorrect

There are haproxy and s6supervise running on the pod as well.

That is because this application image contains them.

Looks like overriding service values, it generates livenessProbe and readinessProbe on the Pod which seems to be preventing the pod to boot up.

See the previous comment for a more detailed explanation.

I don't understand the project maintainer's design decision on how service values would change deployment values.

That is a bold statement to make, since there is no design decision actively being made in this chart. It just stems from running apps that are not designed for Kubernetes in a Kubernetes cluster. Sometimes you get bitten by things like this.

This can be worked around in a number of ways:
* Specify a manual value for the `OCTOPRINT_PORT` env var with the correct value (this is how I do it in [my cluster](https://github.com/bjw-s/k8s-gitops/blob/main/cluster/apps/home-automation/octoprint/helmrelease.yaml#L26))

* Set `enableServiceLinks` to `false`

I tried this, octoprint is starting now & everything seems fine but the readiness probe fails :/
Current values can be found here: https://git.nold.in/nold/heqet/src/branch/hive/values.d/octoprint.yaml

There are haproxy and s6supervise running on the pod as well.

That is because this application image contains them.

This is why i really dislike the linuxserver images and i might put together another chart using a vanilla octoprint- & mjpg-streamer-image. I guess haproxy could be easily replaced by ingress.

That's something i really dislike about images and i might put together another chart using a "clean" octoprint- & mjpg-streamer-image. I guess haproxy could be easily replaced by ingress.

100% Agreed! This is the "official" image, so that is why we went with that. But it is definitely an anti-pattern, so if you would be willing to create a PR for this, that would be very much appreciated 👍

Hi,
did some work on this. So far i integrated the octoprint/octoprint:minimal image and an initContainer which basically installs octoprint, because the volume path /octoprint is the same path where octoprint has been installed into during the creation of the image.. so i made a quick initContainer & digged a little bit deeper into your library chart.
You can find the current WIP here: https://github.com/Nold360/k8s-at-home-charts/tree/feature/octoprint/charts/stable/octoprint
Since i already had that initContainer i made it also install some plugins automatically. Next up is mjpg-streamer or something similar. I tried ustreamer but it used a lot of CPU on my system, so i might fallback to mjpg-streamer, but currently i have no camera that's working as it seems...


Steps towards GPU MaterializeEncoding

Expanding from my discord comment at https://discord.com/channels/@me/1179902637974491239/1262476900929110090 :

Get familiar with the existing e2e tests for tensor.pack aroundhere. For the tests we'll write here, we may want to keep it simpler with inline constants and not so much abstraction, like we have in most other tests such as here.
Pick and study a data-tiled kernel from my playground, for example this one with template parameters MS=8, NS=8, and understand the tile sizes (returned by methods {M,N,K}_tile()) and the tile layouts (returned by methods {A,B,C}_tile_layout). The only thing that matters here is the layouts, we are not going to be actually doing GPU codegen here, just set the stage with GPU data layouts while still on CPU.
Write e2e tests modifying the ones seen at step 1 to have multiple tensor.pack and maybe transpose ops achieving the same GPU layout as in step 2  (for the A, B and C matrix separately, so total 3 tests), even though you're still running this on CPU.

Important: This will require early-materialization to work properly. Early-materialization is currently the default, so you may not have to do anything about it, but just a heads-up that this would be a place where we're entrenching a reliance on early-materialization, which is only OK here because we are doing this as a stepping stone, not as the end state.

Modify CPUMaterializeEncoding so that a set_encoding op lowers to the pack/transpose ops from step 3, even though you're still running this on CPU. We want to make this merge-able, so this shouldn't modify the default behavior of MaterializeEncoding on CPU. Instead, condition this on the presence of some attribute, I would say make that part of target attributes (alongside cpu_features). A dummy "CPU feature" expressing "pretend that this is a MI300 GPU, for the purposes of MaterializeEncoding".
Now do the same as steps 3-4 above with unset_encoding lowering to transpose and multiple tensor.unpack, doing the converse work of the "matrix C" part of steps 3-4.
Now do the same as steps 3-4-5 with matmul with operands with the same encoding attributes, lowering to a linalg.generic equivalent to the GPU kernel looked at at step 2.
Now do a full e2e matmul test: the source is now just a linalg.matmul with no encodings, so that should lower to the combination of all what was done above at steps 3-4-5-6.

By the end of this sequence of steps, we have a good model for a GPU data-tiled matmul while still working in the CPU backend (just with the dummy target attribute introduced at step 3). At that point is a good join point with @qedawkins 's work on the new GPU codegen pipeline that would set the stage for creating a GPUMaterializeEncoding pass and jumpstarting it with the logic prototyped above on CPU.

This plan is retired. The new plan is https://gist.github.com/bjacob/137e848512d83adcc02e995d816831ec


US76123 - Dropdown search

Eyyy, first follow-up PR to #116. For this, I broke out and modified the search bar that already existed, and used it in the dropdowns. Unfortunately, the existing search has a lot of complexity and "custom-ness" about it (mainly the live, drop-down search results stuff), so replacing that with the broken out component would have greatly increased the complexity of the broken out component. What I'm thinking is that, if we change this to update the entire tile view with the search results, then we may possibly be able to forego the dropdown, and instead just display search results (live or not) as course tiles. (At the very least, we do want to update the course tile view to be the full search results when you hit Enter - next thing I'm working on.)
Currently this is locked to a specific version of d2l-search-widget on purpose, as it hasn't hit 1.0.0 yet, and won't until I evaluate the above w.r.t. replacing the other search bar with it as well (meaning it may have to at least support live search).

:+1:

So initial set of things to fix from testings:

[ ] Clear search when switching tabs
[ ] Some sort of paging in the dropdown so I can access all my Semesters/Departments
[ ] Remove this from mobile until the mobile work is done (mobile not good right now with this)

@trevorjonesd2l Done! :)

Are tests needed for any of this stuff?

Hm... maybe? Most of this would be a super pain to write tests for, but I'll see if some of the more behavioural things fit the bill (whereas most is UI-y stuff).

(Not for this PR) This Dropdown stuff seems like it should eventually be moved to it's own component

@jstefaniuk-d2l Which dropdown stuff? (I do plan on reducing the custom-ness of the dropdowns, but that'll be part of #127 as it's mostly related to A11y-ness)

Possibly the whole search area? All-courses seems to be getting kinda bloated
I'm not saying this needs to be done, just thinking aloud (err... with keystrokes)

Ah, yeah no I get you. Once I use the existing d2l-menu stuff it should cut it down pretty significantly, so I'll re-evaluate once that's in.

[ ] Fix iE

Phew - it was just a small bug in d2l-search-widget that was breaking IE. Phew.
(Explanation: the observer that observes the search URL being used by the widget was being called when it was initially created (as Polymer do), which other browsers didn't seem to mind, but IE did... For the first time in my life, it seems like IE was doing the expected thing?)

There are problems with the dropdown in general on Safari and iPad (a11y story should fix Safari, iPad another story). Search works and scrolls and stuff LGTM

🙌 🙌 🙌


[AIRFLOW-491] Add cache parameter in BigQuery query method - with 'api_resource_configs'

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-491
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Added "useQueryCache" from job BQ configuration https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

maybe make sense add use_query_cache=False for check operators

Hi @xnuinside Please add src_fmt_configs param to run_query method and the Operator.
https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/operators/bigquery_operator.py#L463
This would allow to add such parameters in future without having to add a new parameter each time.

@kaxil , how do you  think need I to remove other params relative to "query" like use_legacy? and just described what they can be set up using src_fmt_configs?

Don't remove any previous parameters, just add support to add new ones

Codecov Report

Merging #3733 into master will decrease coverage by 60%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #3733       +/-   ##
===========================================
- Coverage   77.67%   17.67%   -60.01%
===========================================
  Files         204      204
  Lines       15846    15849        +3
===========================================
- Hits        12309     2801     -9508
- Misses       3537    13048     +9511

Impacted Files
Coverage Δ

airflow/example_dags/example_http_operator.py
0% <0%> (-100%)
:arrow_down:

...rflow/api/common/experimental/get_dag_run_state.py
0% <0%> (-100%)
:arrow_down:

airflow/www/forms.py
0% <0%> (-100%)
:arrow_down:

airflow/example_dags/example_docker_operator.py
0% <0%> (-100%)
:arrow_down:

airflow/operators/sensors.py
0% <0%> (-100%)
:arrow_down:

...w/example_dags/example_latest_only_with_trigger.py
0% <0%> (-100%)
:arrow_down:

airflow/operators/s3_to_redshift_operator.py
0% <0%> (-100%)
:arrow_down:

airflow/api/common/experimental/get_task.py
0% <0%> (-100%)
:arrow_down:

airflow/sensors/time_sensor.py
0% <0%> (-100%)
:arrow_down:

airflow/operators/email_operator.py
0% <0%> (-100%)
:arrow_down:

... and 162 more

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 4822932...26adf0f. Read the comment docs.

strange results of Codecov

Codecov is sometimes confused if you're branching from an old master.

@kaxil, pls review

I just realized that src_fmt_configs is a name that is common across other BigQuery operators. I still think it's a terrible name and not at all clear that it can be used for any configuration on the job resource.

@tswast, I agree. For me, it was be more clearly if name of variable was smth like ‘api_params’ or smth else. But this var was offered upper, and it was seems for me like universal name that was taken before. Anyway, I can rename param and describe - 5 sec. but need to agree about naming, because it could be used in other operators also.

In pandas-gbq we use a generic "configuration" dictionary, but I could see that being confusing here where there isn't as much direct context as to what that configuration means.
"api_params" implies URL query parameters to me, so I think "api_resource" would be better.

Agree that the name could have been better but changing it now will break the DAGs for current users. @fenglu-g thoughts?

@tswast @xnuinside Sorry guys, after reviewing the src_fmt_configs in other BigQuery operators I noticed that it is actually used to add configs related to data source i.e. the configs for CSV, AVRO.
So, I think for this PR, src_fmt_configs doesn't matter as we are going to query data. @xnuinside Can you please name it to api_resource_configs or extra_api_configs.
What name sounds better to you guys @tswast @fenglu-g ?
https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/bigquery_hook.py#L414-L454

I prefer api_resource_configs but would be fine with either.

@kaxil, no problem) I will make changes today

@ashb , hi Ash, sorry for what I'm pulling you, but I know what only you can help me this travis :) I got a strange error and already had re-triggered Travis once (got 2 checks with the same error). Thank you in advance!

@kaxil and @tswast , pls check

@ashb , yeap.. thx.. I'm trying to understand how I broke it)

@kaxil, check pls. And thanks in advance!

Thanks @xnuinside for this great work.

@kaxil , thank you for review!

I'm not familar with BQ so need some help here. #3838 (AIRFLOW-2997) is marked as targeting (or wanting to target) 1.10.1, but it seems to depend upon changes introduced in this PR.
Is this PR safe to include in 1.10.1, without any breaking change of behaviour?


manifest: Require unpackers to create a config.json from the referenced config

The image-tools framework has attempted this since #114, but we didn't specify whether the translation was required or what the output of the translation should be.  That means downstream consumers of an unpacked image couldn't be sure if they'd find a config.json or (if they found one) which runtime-spec versions it would be compatible with.  With this commit, the config output becomes specified, so consumers can post-process their config.json and/or invoke a runtime-spec 1.0.0-rc2-compatible runtime on it without worrying about the presence or version of the unpacked config.json.
I've picked 1.0.0-rc2 as the most recent runtime-spec commit.  As the runtime-spec moves forward with more RCs, I expect we'll want to bump this to keep up.  Once runtime-spec hits 1.0, we can probably freeze the target, since post 1.0 releases in runtime-spec's 1.x line are unlikely to make translation from the config format easier, and any 1.x-compatible runtime will be able to handle 1.0 configs.

I don't think this is right; some implementations of image-spec might not care about runtime-spec at all. What about something like "Implementations that are generating a runtime-spec compliant config.json SHOULD use the parameters from this configuration as a basis" or similar?

...some implementations of image-spec might not care about runtime-spec at all.

So they'd unpack application/vnd.oci.image.config.v1+json to whatever they like?  I guess I'd be ok with that if we provided a standard unpacker API so you could require the runtime-caller output.  Otherwise we have standard formats on both sides but no standard way to get between them.  And it seems like portable images would be difficult if the mapping was implementation-defined ("oh, you unpacked that config with umoci?  I was expecting the image-tools translation").

Yeah, part of the problem here is terminology (c.f. #467). But if we accepted your wording, a strict reading of the spec would preclude implementations that just e.g. manipulate images without caring about generating runtime versions.

But if we accepted your wording, a strict reading of the spec would preclude implementations that just e.g. manipulate images...

As it stands, this PR only constrains implementations that are "unpacking" manifests.  So I don't see a problem, but I'm fine waiting on #467 and a formal definition for unpacking.

Rejected.
Why would we so tightly couple unpacking and conversion? In practice, there are two components to an image, a config and the root filesystem. From an image spec perspective, its only role is to provide a root filsystem and an unprocessed configuration.
If we force the unpacker to understand the runtime spec, we prevent compliant implementations from leveraging intermediate formats. We also prevent image-spec complaint unpackers from working with non-oci runtimes. There are many details reqiured in generating a runtime config that we don't want the image processing components to have to understand.

On Wed, Dec 07, 2016 at 11:36:47AM -0800, Stephen Day wrote:

From an image spec perspective, its only role is to provide a root
filsystem and an unprocessed configuration.

Offloading the image↔runtime config translation to an external
spec/tooling is fine (and I actually like that approach better 1).
But I'm not aware of any out-of-image-spec plans to specify the
translation, the current reference implementation for translation is
in image-tools 2, and there are plans to land a backing spec for
that translation in image-spec (#479).  I don't really care which
repos the spec / tooling for the translation live in, but I think
we'll have interop issues if we don't specify the translation
somewhere.

There are many details reqiured in generating a runtime config that
we don't want the image processing components to have to understand.

Agreed (and what I was trying to address in #451).  But without #451
or some other way to ask for “just copy this opaque config blob into
the target directory” 3, I don't think there's a way to avoid this.
Somebody in the chain is going to have to understand how to
translate configs.  Callers need a well-defined way to get a
particular version of runtime-spec config in the bundle before they
call the runtime.  There could be well-defined ways to get to other
output formats too (the runtime-spec translation doesn't have to be
exclusive), but you can't skip the runtime-spec translation entirely.

closing in favor of #492


unable to use PinView

I added the PinView classinto my project  and custom View PinView into my main xml file.When I tried to run the code it gives me following error:Attempt to invoke virtual method 'void com.mypackagename.PinView.setImage(com.davemorrissey.labs.subscaleview.ImageSource)' on a null object reference.
I am not using fragmentactivity. I need to load the image and pin in the main activity.

This is a problem in your code, not the library. Please ask questions like this on stackoverflow.


Fix submission generation by base64 encode

li a0 '\n' interprets as two separate line because echo disclose \n into newline.

Thanks!


Add an option for a trailing comma in where clauses

I generally prefer to use trailing commas whenever they are possible for elements appearing on separate lines. I was surprised that this isn't the default here, nor does it even appear to be an option.

Yeah, should be an option


React v15 compatibility

fixed React v15 warnings (by not passing unneeded props to the svg tag)
added babel stage-0 preset
updated react versions in peerDependencies
re-built the package

Thanks a lot!


Typo in the LICENSE file name

Cool project!
Just wanted to let you know of a typo in the filename of the license.
If you fix it, Github will automatically pick it up and display the license nicely.

I have fixed it. Thank you for letting me know!


Update LICENSE file and copyright holder

Updating / consolidating the LICENSE files:

Removes the second LICENSE file originally from pygeos
Reformats the existing LICENSE a bit (copied plain text from https://choosealicense.com/licenses/bsd-3-clause/, this matches also better with https://opensource.org/licenses/BSD-3-Clause, eg using 1, 2, 3). Note this is purely some formatting changes, not actual text changes, but this should help with github (and other tools) to better recognize the license (eg right now github's UI doesn't recognize it as "BSD-3-Clause license")
Updated the copyright holder to include "Shapely Contributors" for now, but similar question as in https://github.com/shapely/shapely/pull/1376#discussion_r862481338 about what exactly we want to put here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.325%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2141

Relevant Lines:
2539

💛  - Coveralls

So for the copyright holder (currently "Copyright (c) 2007, Sean C. Gillies"), some notes/questions:

Can we include the "Copyright (c) 2019, Casper van der Wel" somewhere? (from pygeos, in the removed LICENSE file)

Looking at other projects, I think it is a general practice that if a package includes some vendored code, it also includes a copy of the license or some note about that. Although in this case it is not really vendoring. In Apache software projects this is called a "code donation", and checking in the Arrow repo, in such a case we don't include the original license.
Could also add this to the current license file as a separate copyright line (instead of a separate license file somewhere in the code base).

Comparison with some other projects: NumPy uses "2005-2022, NumPy Developers" (geopandas uses the same pattern). Pandas kept an original copyright for the first years, and then added a similar general author for later years. Scipy also does the same. So that is basically what I did here right now with "Copyright (c) 2007, Sean C. Gillies. 2007-2022, Shapely Contributors."

Personally I don't care too much about the exact copyright notice, but we need to pick something (and then update docs/conf.py to match it). But so would like to hear from @sgillies (and @caspervdw) what your preference is.


Add servername and min tls version to tls config

This change sets the TLS server name to the url host and it also sets the minimum TLS version to use. This keeps the compatibility with go-redis url parsing and how it handles TLS configs
I added a unit test to assert that the server name is set correctly in the TLS config. The existing unit test on line 12 should cover the fact that 'redis://' urls are not affected by this change

LGTM. Thanks @kevinxmorales


VM createOrUpdate does not work.

I'm facing a critical problem in Java SDK 0.9.3.
For example, I'm changing vm size, I got a exception and following message.

com.microsoft.windowsazure.exception.ServiceException: InvalidRequestContent: The request content was invalid and could not be deserialized: 'Could not find member 'resources' on object of type 'ResourceDefinition'. Path 'resources', line 1, position 1834.'.

And example code.
VirtualMachine vm = client.getVirtualMachinesOperations().get(rg, vmName)).getVirtualMachine();
vm.getHardwareProfile().setVirtualMachineSize("Standard_A3");
client.getVirtualMachinesOperations().createOrUpdate(rg, vm);

The Extensions property is read-only.
Call vm.setExtensions(null) before calling createOrUpdate should resolve the problem.
Thanks.

Thank you for your great information.
I tried this workaround and I could change the VM size!
But, I did not change my Java programs, and I suddenly got the exception.
Were there any change API in a few weeks ago?

ARM compute in the master branch has not been updated for a while. It looks like a server-side reinforcement.
@xindzhan Do you know if this is expected? I personally feel like createOrUpdate() should accept the result from get().

Hi @jianghaolu
This workaround is a little bit difficult for those who do not know.
Do you have any plan to change the SDK about this problem?
Ex)

Extension property don't ouput to JSON in createOrupdate
If Extensions is not NULL, raise exception.

@mahthi

Yes, I'll implement something similar to https://github.com/Azure/autorest/blob/master/ClientRuntimes/CSharp/Microsoft.Rest.ClientRuntime/Serialization/ReadOnlyJsonContractResolver.cs.
@xindzhan, looks like this is actually more common than I expect:

A nice thing to do if you choose this option would be to send back a 200 (OK) with the actual updated entity in the response, so that clients can clearly see that the read-only fields were not updated.
There are certainly some people who think the other way - that it should be an error to attempt to update a read-only portion of a resource. There is some justification for this, primarily on the basis that you would definitely return an error if the entire resource was read-only and the user tried to update it. It definitely goes against the robustness principle, but you might consider it to be more "self-documenting" for users of your API.

(from http://programmers.stackexchange.com/questions/208271/how-should-a-rest-api-handle-put-requests-to-partially-modifiable-resources)

Thank you, I expect the SDK will be fixed ASAP!!
BTW, I may have misunderstood it. The VM might don't have extensions. So it look like working properly. But the VM is already removed, I cannot confirm :<


Cannot Configure Device (ikea ON/OFF button)

This seems to be an issue with the ikea steering devices. They work but print this message in the log:

The device will sometimes be unresponsive to input for a few clicks as homebridge-zigbee-nt remounts the device

The unresponsiveness does seem to be fixed after a re-pair. But the error message persists.

Same here with same device. After first device pairing, everything works fine. I can assign single press/long press of both buttons. But after some time, I get message again, that button was just configured again. And from now, only one button is working, and not stable/not all the time.
Any idea why device is trying to configure again and again ?

I know that device goes in a sort of sleep mode after a bit, and sometime I have to click it two three times before awake it and make it work again. I am still investigating

This should be fixed now. The remaining problem is to avoid the button to go in sleep mode...


Question: Autostart

Hi,
I got the portable linux release running on debian/gnome3. It seems like to provide it with a path to a directory of images, it's only possible through the GUI config. Is it possible to launch superpaper and use the profile I created on startup without having to start the GUI every boot?
Thanks!

Hi,
Currently a profile can be active only if the tray application is running. However it should be possible to run the tray application at startup without opening the configuration GUI; this should be the default behavior if the help dialog at application startup is disabled.


Detect commits needing builds on startup and do it

When we have projects configured with manual triggers, we should find any commits that need to be built on startup and enqueue them.

[x] Do the work (pr: https://github.com/fastlane/ci/pull/218)
[ ] Document business logic around why we are doing what we are doing

This is done, right? just docs missing?


Composer installation error

/var/www$ composer create-project --prefer-dist --stability=dev yiisoft/app app
Creating a "yiisoft/app" project at "./app"
Installing yiisoft/app (1.0.x-dev 9b4ba451eb7a4d2ea1b0d17cc53849b66920b3da)

Downloading yiisoft/app (dev-master 9b4ba45)
Installing yiisoft/app (dev-master 9b4ba45): Extracting archive
Created project in /var/www/app
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires yiisoft/files ^1.0 -> satisfiable by yiisoft/files[1.0.0].
- yiisoft/yii-view dev-master requires yiisoft/csrf ^1.0 -> satisfiable by yiisoft/csrf[1.0.0, 1.0.1, 1.0.2].
- yiisoft/csrf[1.0.0, ..., 1.0.2] require yiisoft/security ^1.0 -> satisfiable by yiisoft/security[1.0.0].
- yiisoft/security 1.0.0 requires yiisoft/strings ^1.0 -> satisfiable by yiisoft/strings[1.0.0, 1.0.1, 1.1.0, 1.2.0].
- You can only install one version of a package, so only one of these can be installed: yiisoft/strings[1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.0.0].
- yiisoft/yii-view 3.0.x-dev is an alias of yiisoft/yii-view dev-master and thus requires it to be installed too.
- yiisoft/files 1.0.0 requires yiisoft/strings ^2.0 -> satisfiable by yiisoft/strings[2.0.0].
- Root composer.json requires yiisoft/yii-view ^3.0@dev -> satisfiable by yiisoft/yii-view[3.0.x-dev (alias of dev-master)].

Likely you were trying to update during big config adjustments. This is done by now. I've tried your command and it works now.

@huguoliang I had the same problem while using Alibaba's packagist mirror. It works after switching back to packagist.


Update Item Details

This is a python script to update item details on ArcGIS Online based on the set query.

Python Scripts for Arcpy.sharing and Python API for ArcGIS


Choose a database

Likely SQLite will suffice for this job, but I want to at least document my findings before making the decision.
Acceptance Criteria
The database tooling is selected with a corresponding Decision Document.

SQLite should do just fine since this application will run on one computer and everything can be local. The benefits include the following:
•	Simple Setup: No need to install or configure a database server. SQLite databases are stored in a single file.
•	Lightweight: Ideal for smaller applications or local development.
•	No Server Required: SQLite runs within the application, eliminating the need for database server maintenance.
•	Cross-Platform: SQLite works on any platform where Python runs, making it portable.


crash in nsd ec8d14f8aa32903e894033c678a7268091002a92

#0  0x000055ccdaa1457b in rbtree_next (node=0x74656e0369746c61) at rbtree.c:522
522		if (node->right != RBTREE_NULL) {
Missing separate debuginfos, use: dnf debuginfo-install fstrm-0.4.0-3.fc30.x86_64 glibc-2.29-15.fc30.x86_64 libevent-2.1.8-5.fc30.x86_64 libgcc-9.1.1-1.fc30.x86_64 openssl-libs-1.1.1c-2.fc30.x86_64 protobuf-c-1.3.1-2.fc30.x86_64 zlib-1.2.11-15.fc30.x86_64
(gdb) bt
#0  0x000055ccdaa1457b in rbtree_next (node=0x74656e0369746c61) at rbtree.c:522
#1  0x000055ccdaa088cd in hash_tree_clear (tree=0x55cce8b12740) at namedb.c:301
#2  0x000055ccdaa0a8b9 in nsec3_clear_precompile (db=db@entry=0x55ccdd29c5d0, zone=zone@entry=0x55cce8af3f00) at nsec3.c:406
#3  0x000055ccdaa38b16 in apply_ixfr (softfail=0x7fff8a0f5e60, bytes=<synthetic pointer>, patname=0x7fff8a0f5ea0 "_implicit_svanheule.net", zone_res=<synthetic pointer>,
    udbz=0x0, rr_count=<synthetic pointer>, delete_mode=<synthetic pointer>, is_axfr=<synthetic pointer>, seq_total=1, seq_nr=0, opt=0x55ccdca7c6d0, serialno=2018111243,
    zone=0x7fff8a0f66a0 "svanheule.net.", in=0x55cce34c1ef0, db=<optimized out>) at difffile.c:1141
#4  apply_ixfr_for_zone (nsd=nsd@entry=0x55ccdaacac00 <nsd>, zonedb=zonedb@entry=0x55cce8af3f00, in=in@entry=0x55cce34c1ef0, opt=0x55ccdca7c6d0,
    taskudb=taskudb@entry=0x55ccdd276560, last_task=last_task@entry=0x7fff8a0f87e0, xfrfilenr=2324) at difffile.c:1357
#5  0x000055ccdaa39a26 in task_process_apply_xfr (task=0x7fff8a0f8800, task=0x7fff8a0f8800, last_task=0x7fff8a0f87e0, udb=0x55ccdd276560, nsd=0x55ccdaacac00 <nsd>)
    at difffile.c:2028
#6  task_process_in_reload (nsd=nsd@entry=0x55ccdaacac00 <nsd>, udb=udb@entry=0x55ccdd276560, last_task=last_task@entry=0x7fff8a0f87e0, task=task@entry=0x7fff8a0f8800)
    at difffile.c:2082
#7  0x000055ccdaa413e7 in reload_process_tasks (cmdsocket=26, last_task=0x7fff8a0f87e0, nsd=0x55ccdaacac00 <nsd>) at server.c:1869
#8  server_reload (nsd=nsd@entry=0x55ccdaacac00 <nsd>, server_region=server_region@entry=0x55cce1807d40, netio=netio@entry=0x55cceb6c5360, cmdsocket=26) at server.c:1962
#9  0x000055ccdaa42099 in server_main (nsd=0x55ccdaacac00 <nsd>) at server.c:2281
#10 0x000055ccdaa0013a in main (argc=<optimized out>, argv=<optimized out>) at nsd.c:1147
(gdb) print node
$1 = (rbnode_type *) 0x74656e0369746c61
(gdb) print *node
Cannot access memory at address 0x74656e0369746c61
(gdb) up
#1  0x000055ccdaa088cd in hash_tree_clear (tree=0x55cce8b12740) at namedb.c:301
301			n->key = NULL;
(gdb) print tree
$2 = (rbtree_type *) 0x55cce8b12740
(gdb) print *tree
$3 = {region = 0x55ccdd2682a0, root = 0x55cce8b128f8, count = 38, _node = 0x0, cmp = 0x55ccdaa09570 <cmp_hash_tree>}
(gdb) up
#2  0x000055ccdaa0a8b9 in nsec3_clear_precompile (db=db@entry=0x55ccdd29c5d0, zone=zone@entry=0x55cce8af3f00) at nsec3.c:406
406		hash_tree_clear(zone->hashtree);
(gdb) print *zone
$4 = {node = 0x55cce8af3f88, apex = 0x55cce0259fb0, soa_rrset = 0x55cce8af4070, soa_nx_rrset = 0x55cce8af9dc8, ns_rrset = 0x55cce8afaf78, nsec3_param = 0x55cce8afb358,
  nsec3_last = 0x55cce8b0efc8, nsec3tree = 0x55cce8b11758, hashtree = 0x55cce8b12740, wchashtree = 0x55cce8b12768, dshashtree = 0x55cce8b130a0, opts = 0x55ccdd128348,
  filename = 0x55cce8b116c8 "/etc/nsd/secondaries/svanheule.net", logstr = 0x0, mtime = {tv_sec =<PHONE_NUMBER>, tv_nsec = 159757247}, zonestatid = 0, is_secure = 1,
  is_ok = 0, is_changed = 0}
(gdb) up
#3  0x000055ccdaa38b16 in apply_ixfr (softfail=0x7fff8a0f5e60, bytes=<synthetic pointer>, patname=0x7fff8a0f5ea0 "_implicit_svanheule.net", zone_res=<synthetic pointer>,
    udbz=0x0, rr_count=<synthetic pointer>, delete_mode=<synthetic pointer>, is_axfr=<synthetic pointer>, seq_total=1, seq_nr=0, opt=0x55ccdca7c6d0, serialno=2018111243,
    zone=0x7fff8a0f66a0 "svanheule.net.", in=0x55cce34c1ef0, db=<optimized out>) at difffile.c:1141
1141				nsec3_clear_precompile(db, zone_db);
(gdb) print db
$5 = <optimized out>
(gdb) print zone_db
$6 = (zone_type *) 0x55cce8af3f00
(gdb) print *zone_db
$7 = {node = 0x55cce8af3f88, apex = 0x55cce0259fb0, soa_rrset = 0x55cce8af4070, soa_nx_rrset = 0x55cce8af9dc8, ns_rrset = 0x55cce8afaf78, nsec3_param = 0x55cce8afb358,
  nsec3_last = 0x55cce8b0efc8, nsec3tree = 0x55cce8b11758, hashtree = 0x55cce8b12740, wchashtree = 0x55cce8b12768, dshashtree = 0x55cce8b130a0, opts = 0x55ccdd128348,
  filename = 0x55cce8b116c8 "/etc/nsd/secondaries/svanheule.net", logstr = 0x0, mtime = {tv_sec =<PHONE_NUMBER>, tv_nsec = 159757247}, zonestatid = 0, is_secure = 1,
  is_ok = 0, is_changed = 0}
(gdb) up
#4  apply_ixfr_for_zone (nsd=nsd@entry=0x55ccdaacac00 <nsd>, zonedb=zonedb@entry=0x55cce8af3f00, in=in@entry=0x55cce34c1ef0, opt=0x55ccdca7c6d0,
    taskudb=taskudb@entry=0x55ccdd276560, last_task=last_task@entry=0x7fff8a0f87e0, xfrfilenr=2324) at difffile.c:1357
1357				ret = apply_ixfr(nsd->db, in, zone_buf, new_serial, opt,
(gdb) print nsd->db
$8 = (struct namedb *) 0x55ccdd29c5d0
(gdb) print *in
$9 = {_flags = -72539000, _IO_read_ptr = 0x55cce34c520f "",
  _IO_read_end = 0x55cce34c5260 "\374\066\064\t\"\373\266bb\037=M\202[\321&\277C\267\346ъ\027\066C\265\215l\\we\221\nG\345Q\255\326\213\267)\337\026%\375\373\070\314\302\001\001",
  _IO_read_base = 0x55cce34c4460 "\343\bc\374Xx>\210\217[K\370\256ݲ幓\254j\367\302E\271\271\250\330\376\221\244\"䍨\316l,\277-\307G&L\273\002\261\002$\374\023\261\177\026\071Jo8\304cK.\270zf\333o鄾\355\266\263\205\210ΏX\260\242cŇ$\355}\220\263f\300",
  _IO_write_base = 0x55cce34c4460 "\343\bc\374Xx>\210\217[K\370\256ݲ幓\254j\367\302E\271\271\250\330\376\221\244\"䍨\316l,\277-\307G&L\273\002\261\002$\374\023\261\177\026\071Jo8\304cK.\270zf\333o鄾\355\266\263\205\210ΏX\260\242cŇ$\355}\220\263f\300",
  _IO_write_ptr = 0x55cce34c4460 "\343\bc\374Xx>\210\217[K\370\256ݲ幓\254j\367\302E\271\271\250\330\376\221\244\"䍨\316l,\277-\307G&L\273\002\261\002$\374\023\261\177\026\071Jo8\304cK.\270zf\333o鄾\355\266\263\205\210ΏX\260\242cŇ$\355}\220\263f\300",
  _IO_write_end = 0x55cce34c4460 "\343\bc\374Xx>\210\217[K\370\256ݲ幓\254j\367\302E\271\271\250\330\376\221\244\"䍨\316l,\277-\307G&L\273\002\261\002$\374\023\261\177\026\071Jo8\304cK.\270zf\333o鄾\355\266\263\205\210ΏX\260\242cŇ$\355}\220\263f\300",
  _IO_buf_base = 0x55cce34c4460 "\343\bc\374Xx>\210\217[K\370\256ݲ幓\254j\367\302E\271\271\250\330\376\221\244\"䍨\316l,\277-\307G&L\273\002\261\002$\374\023\261\177\026\071Jo8\304cK.\270zf\333o鄾\355\266\263\205\210ΏX\260\242cŇ$\355}\220\263f\300", _IO_buf_end = 0x55cce34c5460 "\020\020", _IO_save_base = 0x0, _IO_backup_base = 0x0,
  _IO_save_end = 0x0, _markers = 0x0, _chain = 0x55ccdd276880, _fileno = 25, _flags2 = 0, _old_offset = -8478963733504460626, _cur_column = 0, _vtable_offset = 116 't',
  _shortbuf = "m", _lock = 0x55cce34c1fd0, _offset = -1, _codecvt = 0x3a041bf52372e1d8, _wide_data = 0x55cce34c1fe0, _freeres_list = 0x0, _freeres_buf = 0x8bbcfa86592fb5cd,
  __pad5 =<PHONE_NUMBER>3877570558, _mode = -1, _unused2 = "\242\220\326:۔I\260O\201\324!\022\231\230\376\264\251\215Z"}

Are you using the latest version?  There are recent fixes in this area, so it may already have been fixed (if you are using an older version).  What version are you using?

Version is that git commit in issue name.

Thanks! Did not see that.  This is very recent.  Bug looks like it happened in the AXFR of your zone svanheule.net.  During the clean of the NSEC3 tree by hash.  The tree looks like it contains eg. deleted values.
From the config it looks like you have a database file enabled, this is the default, but we recommend database: "" and then it writes to text files once in a while.  I do not think that makes a difference for the bug in question.
I see that the zone is expired, from the SOA record that must mean it has no updates in 4 weeks.  And the old version updated with the new version gives the problem.  Is the problem reproducible by loading the old zone file (from text file, or from the database (can be exported with 'make udb-inspect', ./udb-inspect -l -vv  > some_file and editing to get svanheule.net ) , then after loading it getting a fresh download over that?  It would be nice to reproduce.

The stack trace indicates that your zone contents is from 'Mon 12 Nov 2018 04:30:31 PM CET'
It must have failed to update all this time.  Also DNSSEC signatures I guess are expired in that version by now.
Another way to get the zone file is to move away (for analysis) the zonefile /etc/nsd/secondaries/svanheule.net (to `svanheule.net.bak' or something) and then nsd-control write svanheule.net

Do you want the files for debug purposes?

Yes, I am hoping to reproduce the crash by loading the old file (and perhaps also by triggering an AXFR transfer, it does not really seem to get into the contents of that new zone when the crash happens).  You can also see if it does that if the crash happens again if you load the old zone file again.
If it does not do that, ehm. Something must be wrong, somehow. Some other debug would be needed.

Moving the zone file away seems to have mitigate this.  It's still an odd crash.


Re: Cyborg theme not working

The cyborg theme is not working.its icons are not being displayed
The screenshot:

You may need to change the folder they accessed from. Or check their file permissions.

I checked the permissions and i also tried changing the directory.That did not work for me

ok, I'll have a look when I get a chance to examine what's going on. Is it just the Cyborg theme? Have you tried the others?

not yet

I have same problem, icons not displayed for all themes

I have same problem, icons not displayed for all themes

same. there should be an import or load of the icons somewhere.


Repeat blocks/components do not render unless their repeated items change

https://jsbin.com/zamana/edit?js,console,output
In this scenario, I have something to repeat and inside the repeat block, I use other data from the view to properly render each item. However, updating this data does not cause the repeat block to re-render. I've deduced that only changes to the object being repeated will cause a re-render of the repeat block/component.
Is there a way to bind the repeat block to this additional data?

I'm able to force an update with this snippet:
    view.bindings.forEach(function (b) {
      if (!b.component) return;
      b.component._children.forEach(function (c) {
        c.bind(c.context);
      });
    });

Do I need to construct my own "bound" repeat component that adds this snippet as a watcher?

Doesn't look like there's a nested repeat block. Do you have an updated example?

This issue doesn't deal with nesting.

Got it, thanks for clarifying. This is a bug.
The attributes in the <repeat /> component never change, and so Repeat.update() never gets fired. The solution to this is to update() each component whenever view.set(...) gets called, just like your approach above. This also lines up nicely with 3.x stuff since I plan to remove a lot of the state that goes on within paperclip.
I'll patch this up and push to the 2.x branch here in a bit.

Must merged 3.x into master which has fewer moving parts. This should be fixed now.


Add clarifying documentation around "file-like" objects

Hi! This crate is great, but I think the documentation needs to be more explicit in some areas. Specifically, if I didn't know better, I would expect to be able to use this crate on regular (disk backed) files. Unfortunately, non-blocking mode for regular files does (next to) nothing in that reads and writes never block, but they do put the thread do sleep.
I think documentation should be added clarifying that users should not use this crate for regular files - if they do, reads / writes will put their threads to sleep for longer than they may expect, which is likely the opposite behavior people are going for when using futures.

Thanks!  I have noted this in the docs.


Add try_compile and try_expand

As a build script the default mode is to just panic on error, but sometimes that is not appropriate. Add try_compile and try_expand methods that return a Result with a new enum type for the possible errors cases.
It probably makes sense to have the new error types descriptionmethod return the current panic messages, and change the existingtry_compile, try_expandmethods to simplypanic!("{}", e.description())`.
This may require some internal refactoring to convert internal panics into Results.

Hi, is this appropriate for someone new to rust to work on? I've finished reading through the second book, and would like to further improve my skills.

@marco9999 sure! This'd mostly involve adding a custom error type, changing all panics to returning an error, and then propagating that result outwards to the API boundaries. We'd then rejigger the top-level APIs to have compile and expand panic while the try_* variants would return an error.
If you've got any questions just let me know!

Great, I'll give it a go. Thanks!

Does the try_compile set any cargo flags?
I'm interested in testing whether certain compiler features or flags are supported, such as OpenMP (-fopenmp) or Intel-compiler-specific optimization settings. In old school configure scripts that's done by using a minimal file like int main(void){} and checking whether it compiles with the flags.
I would try to do the same with gcc-rs, but if try_compile implicitly prints instructions for Cargo, then I'm afraid I'd end up linking the actual Rust product with garbage from test files.

@pornel I think a recent addition of flag_if_supported would suffice for that?

Yes, it's perfect!

Fixed in https://github.com/alexcrichton/gcc-rs/pull/222