Swift language leaks memory when having constant on constraints.

New Issue Checklist

[X] I have looked at the Documentation
[X] I have read the F.A.Q.

Issue Info

Info
Value

Platform
ios

Platform Version
9.0

SnapKit Version
2.0

Integration Method
cocoapods

Issue Description
class PrototypeViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        let v = UIView()
        view.addSubview(v)
        v.snp_makeConstraints { (make) in
            make.center.equalTo(view).inset(12)
        }
    }

}

The above lines of code will cause memory leak. You can examine the leak by using instrument leak tool.

@soapsign thanks for the report, I'll have a look later tonight.

have the same problem, run instrument leak

Memory leak. Me too

@googlb @cherishloveyou @soapsign can any of you post the instruments trace showing the leak? I see a leak but it's not from SnapKit, rather it appears to be from Swift itself.

I am having the same issue, here's what I could get from Instruments so far.
In the first awakeFromNib function, there's just the classic snp_makeConstraints() call with some setup. I am using [weak self] inside the closure, but to no help :(

@nickskull do you have the full instrument screenshot on that? It doesn't reveal much about what is leaking vs what's an allocation/call stack.
Also does it happen in viewDidLoad apposed to awakeFromNib? I've only tested the viewDidLoad as this is what the issue request was opened with.

@robertjpayne What exactly should I take a screenshot of? AFAIK There wasn't really anything relevant in allocations. When looking into code, Instruments show all these if let and else if let as leaking in this code - https://github.com/SnapKit/SnapKit/blob/develop/Source/Constraint.swift#L388 .

@nickskull it looks like you've screenshotted the Details > Call Tree viewer. It'd be useful to also see what the Details > Leaks > Leaks By Backtrace look like.
As far as I can tell from your screenshot the leaks are occurring but not because of SnapKit but rather lower level libraries. swift_slowAlloc is a bit notorious on my radar for leaking lots and has nothing to do with SnapKit in reality.

Digging a bit deeper it looks entirely related around snp_constantForValue  but reviewing my code I'm not really doing anything here it's all value types in that method and from the rest of the backtrace sounds like the Swift runtime/compiler is allocing memory it isn't then cleaning up.

@robertjpayne Oh, I forgot to mention that - I don't think it's (entirely) SnapKit's fault, rather a Swift issue, but there usually is a workaround that makes the leaks go away. :D
Screenshot attached, I didn't attach it before, because there's IMO no value/clue in it.

Just a guess. Will it be related to snp_constantForValue is taking Any? as its parameter?

@soapsign I tried switching to Any in case optionals affected it, but that didn't help. And since it can be ints, floats, even structs like UIEdgeInsets there isn't really any other option than to use Any.

Yea I'm not really sure how far to dig on fixing this, it's probably something we're going to have to wait until Swift 3.0 or something.

I've renamed the issue, I don't want people to get scared that SnapKit is a memory sieve but I also don't want to close this. I'm happy to merge any PR's that resolve this I just personally don't have enough time at the moment to try and work around Swift in this instance.

@robertjpayne Thanks for the info. I will also have a look at SnapKit 0.30.0 (if it can be compiled and run) and see if the issue is occurring there.

At the moment I think 0.30.0 is close but not quite ready to replace 0.20.0, I need to find a spare weekend to finish it up 👍

Memory leak. Me too. When call ".inset()"

@robertjpayne Just verified that 0.30.0 fixes the leak as far as I can see. Tested in multiple places and no leaks occurred anymore.

@nickskull interesting, I'll see what I'm doing differently in 0.30.0 to get the constant values and see if I can backport it.
Saw your comment about a checklist, honestly I need to evaluate the codebase again to confirm what's left!

@robertjpayne I think it can have something to do with the Any? being passed as parameter as opposed to it being a instance variable in version 0.30.0 (haven't checked source of 0.30.0 that much though).  Related code here.

I just pushed 0.30.0.beta1 to Cocoapods, it actually should be quite stable though do expect a bug here or there potentially and the API has changed a bit.

Recently, come across similar type of leak again on my project. And I found that its pretty much related to a Swift Bug related to casting protocol argument to concrete type in function. So I guess the cause of those leaks will be these casting

Does anyone know if this is resolved in Swift 2.3? I know it's fixed in Swift 3.0…

Closing this as it's invalid now I believe, with the advent of Swift 2.3/3.0 we should see this pretty much fade away in due time.

I am having the same issue at Swift 3.0

teamdkjl

I am also having the same issue at Swift3.1.


Configuration cache failure for lambda DefaultScriptCompilationHandler$1

Current Behavior
When running Gradle 8.9 or 8.10.+ this exception is fired:
Gradle runtime: cannot serialize object of type 'org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler$1', a subtype of 'java.lang.ClassLoader', as these are not supported with the configuration cache.

When running Gradle 8.7, there is no issue and build succeed
Expected Behavior
No exception is fired, configuration cache works as expected and the build too
Context (optional)
I'm only facing this issue when running a C.I., on my local machine it seems to work
Self-contained Reproducer Project
I'm work on this OSS project: https://github.com/VincentMasselis/TPMS-advanced
The code running gradle 8.10.1 which fails is accessible on this PR: https://github.com/VincentMasselis/TPMS-advanced/pull/73
A sample of failed github action is visible here: https://github.com/VincentMasselis/TPMS-advanced/actions/runs/10925145018/job/30325939804?pr=73
Build's configuration-cache report is accessible into the artifacts section from the action directly.
You can clone and fetch the repo by yourself, the project works immediately as long you're using Android Studio
Gradle version
8.10.1
Gradle version that used to work
8.7
Build scan URL (optional)
https://gradle.com/s/ekjn4g4ea4gvs
Your Environment (optional)
Failure seems to occur only on Github runners, my local machine works as expected

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

Meanwhile, @VincentMasselis can you please try using 8.10.2-branch-bamboo_cc_release_30498_i-20240913194325+0000 nightly as described here?

@ov7a
Unfortunately, it fails for the same reasons at the same point with the nightly build :(
GH Action job: https://github.com/VincentMasselis/TPMS-advanced/actions/runs/10942892345/job/30380989071
Scan: https://gradle.com/s/nxstdgs7acnzw
Configuration cache report: https://github.com/VincentMasselis/TPMS-advanced/actions/runs/10942892345/artifacts/1953611788

@ov7a
Unfortunately, it fails for the same reason at the same point with the nightly build :(
GH Action job: https://github.com/VincentMasselis/TPMS-advanced/actions/runs/10942892345/job/30380989071
Scan: https://gradle.com/s/nxstdgs7acnzw
Configuration cache report: https://github.com/VincentMasselis/TPMS-advanced/actions/runs/10942892345/artifacts/1953611788

Looks like we're serializing some compilation errors captured by the problems API here:
cannot serialize object of type `org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler$1`, a subtype of `java.lang.ClassLoader`, as these are not supported with the configuration cache.
    - field `classLoader` of `org.codehaus.groovy.control.SourceUnit`
        - bean of type `org.codehaus.groovy.control.SourceUnit`
            - field `source` of `org.codehaus.groovy.control.messages.SyntaxErrorMessage`
                - bean of type `org.codehaus.groovy.control.messages.SyntaxErrorMessage`
                    - field `errors` of `org.codehaus.groovy.control.ErrorCollector`
                        - bean of type `org.codehaus.groovy.control.ErrorCollector`
                            - field `collector` of `org.codehaus.groovy.control.MultipleCompilationErrorsException`
                                - bean of type `org.codehaus.groovy.control.MultipleCompilationErrorsException`
                                    - field `cause` of `org.gradle.groovy.scripts.ScriptCompilationException`
                                        - bean of type `org.gradle.groovy.scripts.ScriptCompilationException`
                                            - bean of type `com.google.common.collect.HashMultimap`
                                                - field `delegate` of `com.google.common.collect.Synchronized$SynchronizedMultimap`
                                                    - bean of type `com.google.common.collect.Synchronized$SynchronizedMultimap`
                                                        - field `problems` of `org.gradle.internal.enterprise.impl.DefaultGradleEnterprisePluginAdapter`
                                                            - bean of type `org.gradle.internal.enterprise.impl.DefaultGradleEnterprisePluginAdapter`
                                                                - Gradle runtime

@VincentMasselis, in the meantime, if you want to work around this, you should stop intercepting the compilation exception there and use some other way to find if the secrets are usable.

A minimized reproducer can be found here: https://github.com/mlopatkin/gradle-issue-reproducers/tree/30606-problem-api-cc-issue

@mlopatkin Your workaround works as expected, I replaced the file loading by a json file parsed during gradle initialization phase. I'm no longer facing any issue with configuration cache now !

Hey @gradle/bt-ide-experience, do you intend to provide a fix for 8.11?

The work that we mentioned will replace the field causing the problem is still in development. It won't happen in Gradle 8.11.

At the same time, the offending field is not yet being used. My understanding is that removing it would resolve the issue and we'll take care of it.

We don't need to add anything to the release notes.


Add Pytest

Add pytest
Some good points to start using pytest:

https://blog.j-labs.pl/2019/02/Pytest-why-its-more-popular-than-unittest
https://www.guru99.com/pytest-tutorial.html#2

I am closing this one because it is not really needed. We can reopen it later if we feel the necessity.


Copilot chat giving error

VS Code Version:
OS Version:
Logs:

Steps to Reproduce:

Started a chat
Got this error: Error on conversation request. Check the log for more details.

Me too...
I installed GitHub Copilot Chat, but it write only:
Error on conversation request. Check the log for more details.
What should I do??

https://github.com/microsoft/vscode-copilot-release/issues/471


If internet connection is lost then the code freezes

Thank you for your code as it works very well.
I am doing some testing and after I do a ping using your code, I then do a download speed check. If I disconnect my internet between the ping and download speed check, the code freezes. Is there anyway to implement a timeout in your code to not allow it to freeze?
Thanks in advance!
Kevin

https://github.com/fopina/pyspeedtest#discontinued :(


really interested in using this :) Have a small problem

Hi,
I am trying to figure out what the contentful_id field does. I believe I am missing something to make this work. This is my index.html page. I have already configured contentful with an article content_type and am referencing that ID in the _config.yml  file along with my production and preview keys. I have 3 entries in there - but i believe the - contentful_id:"home" field is not what I want. I am not worried about localization. I tried to follow all the documentation provided on that and wasn't clear.

the contentful_id as used in the example repo is for i18n. It is used to link the localized versions of index page


[Feature] ESCcardIds tracked in options

Descripción
Se desea trackear en grupos las tarjetas guardadas ESC.
Grupos
{
     "application":{
      "flow_id":"f0d6af83-8cc6-4db6-8526-9346f3057ca8",
      "version":"0.1",
      "platform":"/mobile/android",
      "environment":"staging"
    },
    "events":[
        {
          "timestamp":"1520222853607",
          "type":"screenview",
          "screen_id":"/payment_option",
          "screen_name":"pm",
          "properties":{
          	"options": "visa:credit_card|master:credit_card|amex:credit_card|mercadopago_cc:credit_card|account_money:account_money:account_money|maestro:debit_card:218080339|master:credit_card:140031422:ESC"
        	}
        }
    ]
}

Cómo probarlo

Retornar un Set de cardIds (hardcoded) en getESCCardIds() de MercadoPagoESCImpl.

Codecov Report

Merging #923 into feature/review_and_confirm will increase coverage by 0.02%.
The diff coverage is 4.91%.

@@                      Coverage Diff                       @@
##           feature/review_and_confirm     #923      +/-   ##
==============================================================
+ Coverage                       20.25%   20.28%   +0.02%
==============================================================
  Files                             358      358
  Lines                           17352    17333      -19
  Branches                         1576     1575       -1
==============================================================
+ Hits                             3515     3516       +1
+ Misses                          13362    13343      -19
+ Partials                          475      474       -1

Impacted Files
Coverage Δ

...ain/java/com/mercadopago/PaymentVaultActivity.java
0% <0%> (ø)
:arrow_up:

...ercadopago/providers/PaymentVaultProviderImpl.java
0% <0%> (ø)
:arrow_up:

...ava/com/mercadopago/tracker/TrackingFormatter.java
0% <0%> (ø)
:arrow_up:

...src/main/java/com/mercadopago/tracker/Tracker.java
0% <0%> (ø)
:arrow_up:

.../mercadopago/presenters/PaymentVaultPresenter.java
68.6% <50%> (-0.13%)
:arrow_down:

.../com/mercadopago/presenters/CheckoutPresenter.java
59.08% <0%> (+0.23%)
:arrow_up:

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 da44838...fee729f. Read the comment docs.


[Bug] Microsoft.IdentityModel.Protocols.ConfigurationManager.UpdateCurrentConfiguration blocks the system

Which version of Microsoft.IdentityModel are you using?
8.0.2
Note that to get help, you need to run the latest version.

Where is the issue?

[ ] M.IM.JsonWebTokens
[ ] M.IM.KeyVaultExtensions
[ ] M.IM.Logging
[ ] M.IM.ManagedKeyVaultSecurityKey
[X ] M.IM.Protocols
[ ] M.IM.Protocols.OpenIdConnect
[ ] M.IM.Protocols.SignedHttpRequest
[ ] M.IM.Protocols.WsFederation
[ ] M.IM.TestExtensions
[ ] M.IM.Tokens
[ ] M.IM.Tokens.Saml
[ ] M.IM.Validators
[ ] M.IM.Xml
[ ] S.IM.Tokens.Jwt
Other (please describe)

Is this a new or an existing app?
a. The app is in production and I have upgraded to a new version of Microsoft.IdentityModel.*
We host a web service (CSES) on Azure. After a recent upgrade of the Microsoft.IdentityModel packages, our service became irresponsive when the load is high. The dump shows that most of the thread (more than 3000) are stuck waiting for something. Here is the call stack:
ntdll.dll!NtWaitForMultipleObjects()    Unknown

KERNELBASE.dll!WaitForMultipleObjectsEx()   Unknown
[Managed to Native Transition]
mscorlib.dll!System.Threading.ManualResetEventSlim.Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)  Unknown
mscorlib.dll!System.Threading.Tasks.Task.SpinThenBlockingWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)    Unknown
mscorlib.dll!System.Threading.Tasks.Task.InternalWait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken)    Unknown
mscorlib.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task)  Unknown
[Waiting on Async Operation, double-click or press enter to view Async Call Stacks]
Microsoft.IdentityModel.Protocols.dll!Microsoft.IdentityModel.Protocols.ConfigurationManager<Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfiguration>.UpdateCurrentConfiguration() Line 320  C#
mscorlib.dll!System.Threading.Tasks.Task.Execute()  Unknown
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)   Unknown
mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot)    Unknown
mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown
mscorlib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch()    Unknown
[Native to Managed Transition]
kernel32.dll!BaseThreadInitThunk()  Unknown
ntdll.dll!RtlUserThreadStart()  Unknown

Is this a known issue? Any solutions?
We are running .net framework 4.7.2. The version for Microsoft.IdentityModel.Protocols.dll is 8.0.2.

@jw444 This may have been fixed in 8.1.1. Can you try to repro with the latest 8.2.0?

We are also seeing the issue with metadata refresh.  Please check if this issue is related to #2780 or if its a different issue.
The metadata configuration not seems to be refreshd incase of changes in the JWKS metadata. We are not able to upgrade to 8.0.2 due to this issue. Our tests are also failing when upgrading from 8.0.1 to to 8.0.2 due to this particualr issue. Please suggest what changes we should be applying to get it work again in version 8.0.2 onwards

Thank you @pmaytak. I've upgraded to 8.2.0, and the tests so far seem to show that the issue is indeed fixed.


AttributeError: tuple' object has no attribute 'autoscale_None'"

I tried to have histogram that has the same scale in two plots. Porting different Python examples resulted in the same error
ERROR: PyError (:PyObject_Call) <type 'exceptions.AttributeError'>
AttributeError("'tuple' object has no attribute 'autoscale_None'",).
Any help or resolution is greatly appreciated.
PyPlot.clf()
(fig,axes)=PyPlot.subplots(2,1)
@pyimport mpl_toolkits.axes_grid1 as axgrid

im=axes[1][:hist2d](x,y,100)
im=axes[2][:hist2d](x2,y2,100)

ax = gca()
divider = axgrid.make_axes_locatable(ax)
cax = divider[:append_axes]("right", size="5%", pad=0.05)
colorbar(im, cax=cax)

ERROR: PyError (:PyObject_Call) <type 'exceptions.AttributeError'>
AttributeError("'tuple' object has no attribute 'autoscale_None'",)

According to the hist2d documentation, it returns a tuple (counts, xedges, yedges, Image).  According to the colorbar documentation, the first argument should be "the Image, ContourSet, etc. to which the colorbar applies".
So, colorbar(im, cax=cax) is wrong because you are passing a tuple as the first argument, when you should be just passing the Image (which is the fourth component of the tuple).    If I change it to colorbar(im[4], cax=cax), to pass the Image, it works for me.
(I don't understand how the corresponding code could have worked in Python, either.)

According to the hist2d documentation, it returns a tuple (counts, xedges, yedges, Image). According to the colorbar documentation, the first argument should be "the Image, ContourSet, etc. to which the colorbar applies".
So, colorbar(im, cax=cax) is wrong because you are passing a tuple as the first argument, when you should be just passing the Image (which is the fourth component of the tuple). If I change it to colorbar(im[4], cax=cax), to pass the Image, it works for me.
(I don't understand how the corresponding code could have worked in Python, either.)

To pass 4th element of the tuple (here it is a plot image) one must do im[3] not im[4].


libtorch-bin: 2.0.0 -> 2.2.2

Description of changes
Also fixed the prefetch script, the url seems to have slightly changed Fixes #299311

Things done

Built on platform(s)

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

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

[ ] Fits CONTRIBUTING.md.

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

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

1 package failed to build:

ocamlPackages.torch

3 packages built:

in-formant
libtorch-bin
libtorch-bin.dev

1 package failed to build:
* ocamlPackages.torch

Hm, not sure wahat to do about the ocaml package. @bcdarwin could you take a look?

Could you change cu118 to cu121? Because pytorch's default(pip) is cu121.

done.

1 package failed to build:
* ocamlPackages.torch

Hm, not sure wahat to do about the ocaml package. @bcdarwin could you take a look?

Ocaml-torch hasn't been updated in a year or so, so not surprising it would eventually break. Happy for you to mark broken for now.

Hello @pinpox!
I've tested new version with hash from PR on x86_64 (linux + CPU), so maybe we can mark checkbox as completed:
https://github.com/NixOS/nixpkgs/pull/302184
Also I need to mention that 2.2.2 has support of aarch64 Darwin and it would be great to see it.
@junjihashimoto, it seems that I need to close my PR as a duplicate.

aarch64 added (thanks @npatsakula !). Let me know if something else is missing.

Please squash the commits, and could you look into the aarch64-darwin issue?

Please squash the commits, and could you look into the aarch64-darwin issue?

fixed and squashed

aarch64-darwin is still failing, did you forget to push the change?

aarch64-darwin is still failing, did you forget to push the change?

Hello @pbsds! My bad, looks like I need your help:

I don't understand this error message and I am unable to associate it to particular package test.
I can't reproduce this test on my aarch64-darwin machine, It compiles without errors (I'm using this package from flake).

I'm not familiar with nor have access to darwin, but as I understand the darwin build sandbox is lacking. Perhaps it passes on your machine since the dyld check is able to match with a dylib on your system that the ofborg builders don't have installed?
Comparing the fixupPhase in the full logs: https://logs.ofborg.org/?attempt_id=e65c3bce-5f6e-450f-9be7-f390bfbb6790&key=nixos%2Fnixpkgs.302427
x86_64-darwin:
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libtorch_python.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libbackend_with_compiler.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libtorch.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libtorch_global_deps.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libiomp5.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libtorch_cpu.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libjitbackend_test.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libc10.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libtorchbind_test.dylib: fixing dylib
/nix/store/h7rmvcdf3vlizf0nzjadxy18vh60ngin-libtorch-2.2.2/lib/libshm.dylib: fixing dylib

aarch64-darwin:
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libtorch_python.dylib: fixing dylib
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libtorch.dylib: fixing dylib
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libtorch_global_deps.dylib: fixing dylib
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libtorch_cpu.dylib: fixing dylib
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libc10.dylib: fixing dylib
/nix/store/2cfbhxddvg39fc6ldqk0kk7qs7vgrigz-libtorch-2.2.2/lib/libshm.dylib: fixing dylib

Some seem to be missing

https://github.com/NixOS/nixpkgs/blob/dd25cfdbaf5e12c320b29064d073d70263923099/pkgs/development/libraries/science/math/libtorch/bin.nix#L24
Could you update the code to use stdenv.isDarwin?

builder feilure... I'd love to verify the darwin fix
@ofborg build libtorch-bin

@pinpox @pbsds
Probably platforms should be updated like this PR.
    platforms = with platforms; [
      "aarch64-darwin"
      "x86_64-darwin" "x86_64-linux"
    ];

https://github.com/pinpox/nixpkgs/pull/2/files#diff-3a9f32ef2e590562647c6c78cd8af994c4ef85795f4ef1744e5d43069bdc3155R102-R105

It worked before the push, and now it failed again.
The failure seems to be a lack of libomp.dylib, which i assume is builder dependent.
Pytorch darwin assumes libomp (https://github.com/pytorch/pytorch/issues/20030) which should be provided by llvmPackages.openmp. If the binaries are patched with this we should get a more hermetic runtime closure

Superseded by #308328.


Constrain MeasuredTemplate previews to spell range if possible

Spell range being a string (that might have translated/converted numeric values?) makes this a bit unsafe. Might have to wait for a refactor.
spell-range-no-border.webm

The main concern with usability I see here is planning a turn. Someone for example may click on the place template in their summary, decide where to place it, and then when there turn comes, stride into position then place it there. This prevents that use case. There's also the entire "what are valid placements" thing.
This might need to instead mark if a placement is out of range in some way. Either some floating text or some special rendering in the little icon.

Hm, I see. Maybe holding alt or shift to move the template unconstrained could work? But changing the icon or highlight color when it's out of range instead of constraining the movement would also be an improvement I think.


Bump Hudi 0.11.0

Why are the changes needed?
https://hudi.apache.org/releases/release-0.11.0
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2576 (d2ac055) into master (5b788a1) will decrease coverage by 0.05%.
The diff coverage is n/a.

:exclamation: Current head d2ac055 differs from pull request most recent head ca83957. Consider uploading reports for the commit ca83957 to get more accurate results

@@             Coverage Diff              @@
##             master    #2576      +/-   ##
============================================
- Coverage     63.83%   63.77%   -0.06%
  Complexity       73       73
============================================
  Files           378      377       -1
  Lines         18143    18099      -44
  Branches       2451     2444       -7
============================================
- Hits          11581    11543      -38
+ Misses         5465     5460       -5
+ Partials       1097     1096       -1

Impacted Files
Coverage Δ

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
83.12% <0.00%> (-1.79%)
:arrow_down:

...ache/kyuubi/engine/spark/SparkProcessBuilder.scala
83.60% <0.00%> (-1.64%)
:arrow_down:

.../apache/kyuubi/server/api/v1/BatchesResource.scala
90.19% <0.00%> (-0.88%)
:arrow_down:

...g/apache/kyuubi/session/KyuubiSessionManager.scala
86.48% <0.00%> (-0.86%)
:arrow_down:

...in/scala/org/apache/kyuubi/server/api/v1/dto.scala
73.07% <0.00%> (-0.10%)
:arrow_down:

.../kyuubi/operation/log/SeekableBufferedReader.scala

...ache/kyuubi/engine/flink/FlinkProcessBuilder.scala
95.12% <0.00%> (+0.25%)
:arrow_up:

...rg/apache/kyuubi/engine/flink/FlinkSQLEngine.scala
21.62% <0.00%> (+1.62%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
85.24% <0.00%> (+1.63%)
:arrow_up:

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 5b788a1...ca83957. Read the comment docs.

Thanks, merging to master

seems 10-30% test time increased, since this merged

seems 10-30% test time increased, since this merged

Hudi's test shouldn't take long, let me investigate.

seems 10-30% test time increased, since this merged

After triggering GA N times, I have the following data.
Build  \5ae7c9c\  2022/4/24

Build \5b788a13\ 2022/5/7

Build \cb5f49e3\ Bump Hudi 0.11.0  2022/05/11

Master

The test time after upgrading Hudi version is close to the same as Master.
Then I analyzed the slowest suites that started to rise before 2022/5/7 and the slowest master suites.

This is a rough statistic. I just grabbed the log and calculated the interval between the output times of the two Suites.
Because scalatest-maven-plugin does not support slowpokeParams configuration, otherwise we can find slower UT through configuration.
https://www.scalatest.org/user_guide/using_scalatest_with_sbt
Slowpoke notifications
[SPARK-33674][TEST] Show Slowpoke notifications in SBT tests
https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin

better to separate tpcds tests

cc @pan3793

https://github.com/apache/incubator-kyuubi/issues/2553 would help to reduce the time significantly, @cxzl25 do you interested in it?

#2553 would help to reduce the time significantly, @cxzl25 do you interested in it?

OK, I can refactor the scale type, now it is int and needs to be changed to double.


Question: Can I enable built in customization to manipulate my customUI ribbon?

Hi,
Sorry for posting a question here but I haven’t found a forum for this excellent tool.
I have built ribbon add-ins for word/excel/ppt to my organization. Before distributing them to all I test them on a small group.
One feedback I got was that some user wanted to change the position of the new tab I introduced in the ribbon. They thought they could do this from File/Option/Customize Ribbon. But the new tab is not visible there.
Is there a way to enable the customUI ribbon in the options/customization tool?
As of now I can only see that user can disable the complete add-in for Excel or PowerPoint. For word they need to replace the normal.dotx file.

Hi jasell,
It seems it's as you say for me too. I don't see the custom tabs in the Customize Ribbon section.
The best workaround that occurs to me is to use the insertAfterMso attribute to specify a tab you don't mind moving around, and move that tab instead. For example, in my Excel version, there's a Background Removal that I've never seen, so I wouldn't mind moving it left or right:
<tab id="customTab" label="Contoso" insertAfterMso="TabBackgroundRemoval">

Perhaps there's a way for this to work with custom tabs you create within Office itself (in that same dialog). If so, you could create a dummy custom tab this way but keep it hidden. Hence, it wouldn't matter where you put it, except for your custom UI file, which would be placed relative to it. I am unsure this would work though, as I don't see a way of referencing the name / ID of this custom tab in XML, but it might be worth investigating.

This might be another workaround for you: place the add-in relative to another dummy add-in, so you can distribute your colleagues different dummy add-ins depending on where they want the actual add-in to appear:
https://stackoverflow.com/questions/53009245/excel-customui-ribbon-placement-next-to-another-customui-ribbon-tab

Great work around, I use insertAfterMso="TabBackgroundRemoval" as you suggest, and it exist in the same way for all PTP, Excel, word... so at least it is consistent.

Glad it helped!


Integrate preliminary cpacs pylon definition into our cpacs schema

Ask Jonas Jepsen!

It seems that nothing has to be done. Closing for now


[formrecognizer] Add more tests for get_children methods

Consider adding tests for different usage scenarios and edge cases. Test kwargs configurations.

The get children methods we not added. Pending design.


Can't set versions that use 3 points (4 places)

Trying to specify a version that has a 3 . version fails. For example: the latest release of https://github.com/gobuffalo/buffalo/releases/tag/v<IP_ADDRESS> is <IP_ADDRESS>, yet this can't be set using dep. See the report below for more details.
What version of Go (go version) and dep (git describe --tags) are you using?
$ go version
go version go1.8.3 darwin/amd64

$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/markbates/Dropbox/development/gocode"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/6m/vw2ck7mj32z5f63wpgfw5qk80000gn/T/go-build877526384=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

$ git describe --tags
v0.1.0-215-g911cd22

What dep command did you run?
$ dep ensure -v<EMAIL_ADDRESS><IP_ADDRESS> is not a valid version for the package github.com/gobuffalo/buffalo()

$ dep hash-inputs
-CONSTRAINTS-
github.com/gobuffalo/buffalo
pv-<IP_ADDRESS>
github.com/gobuffalo/envy
b-master
github.com/gobuffalo/packr
b-master
github.com/gobuffalo/suite
b-master
github.com/markbates/pop
svc-^3.25.3
-IMPORTS/REQS-
github.com/gobuffalo/buffalo
github.com/gobuffalo/buffalo/middleware
github.com/gobuffalo/buffalo/middleware/csrf
github.com/gobuffalo/buffalo/middleware/i18n
github.com/gobuffalo/buffalo/render
github.com/gobuffalo/envy
github.com/gobuffalo/packr
github.com/gobuffalo/suite
github.com/markbates/grift/grift
github.com/markbates/pop
-IGNORES-
-OVERRIDES-
-ANALYZER-
dep
1

What did you expect to see?
I expected it to vendor version <IP_ADDRESS> of github.com/gobuffalo/buffalo.
What did you see instead?
<IP_ADDRESS> is not a valid version for the package github.com/gobuffalo/buffalo()

Interesting, our CLI validator is a little overzealous, I guess...
You closed this, did you find a workaround?

I closed it because setting v<IP_ADDRESS>  like this works:
[[constraint]]
  name = "github.com/gobuffalo/buffalo"
  version = "v<IP_ADDRESS>"

I'm going to re-open this as if you do a dep init it will find 0.9.1 and not <IP_ADDRESS>

@markbates interesting. is that coming from a tool converter, or from GOPATH?

Just straight up GOPATH. Not doing anything fancy.
I just created a new Buffalo app buffalo new forsam
Here is the Gopkg.toml:

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
#   name = "github.com/user/project"
#   version = "1.0.0"
#
# [[constraint]]
#   name = "github.com/user/project2"
#   branch = "dev"
#   source = "github.com/myfork/project2"
#
# [[override]]
#  name = "github.com/x/y"
#  version = "2.4.0"

[[constraint]]
  name = "github.com/gobuffalo/buffalo"
  version = "0.9.1"

[[constraint]]
  branch = "master"
  name = "github.com/gobuffalo/envy"

[[constraint]]
  branch = "master"
  name = "github.com/gobuffalo/packr"

[[constraint]]
  branch = "master"
  name = "github.com/gobuffalo/suite"

[[constraint]]
  name = "github.com/markbates/pop"
  version = "3.26.0"

and the Gopkg.lock
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.

[[projects]]
  name = "github.com/ajg/form"
  packages = ["."]
  revision = "cc2954064ec9ea8d93917f0f87456e11d7b881ad"
  version = "v1.5"

[[projects]]
  name = "github.com/davecgh/go-spew"
  packages = ["spew"]
  revision = "346938d642f2ec3594ed81d874461961cd0faa76"
  version = "v1.1.0"

[[projects]]
  branch = "master"
  name = "github.com/daviddengcn/go-colortext"
  packages = ["."]
  revision = "805cee6e0d43c72ba1d4e3275965ff41e0da068a"

[[projects]]
  branch = "master"
  name = "github.com/dustin/go-humanize"
  packages = ["."]
  revision = "259d2a102b871d17f30e3cd9881a642961a1e486"

[[projects]]
  name = "github.com/fatih/color"
  packages = ["."]
  revision = "570b54cabe6b8eb0bc2dfce68d964677d63b5260"
  version = "v1.5.0"

[[projects]]
  name = "github.com/fsnotify/fsnotify"
  packages = ["."]
  revision = "629574ca2a5df945712d3079857300b5e4da0236"
  version = "v1.4.2"

[[projects]]
  name = "github.com/go-sql-driver/mysql"
  packages = ["."]
  revision = "a0583e0143b1624142adab07e0e97fe106d99561"
  version = "v1.3"

[[projects]]
  name = "github.com/gobuffalo/buffalo"
  packages = [".","binding","middleware","middleware/csrf","middleware/i18n","render","worker"]
  revision = "68f254fe1ce43f749b5313a2ae7821e1447248fc"
  version = "v0.9.1"

[[projects]]
  branch = "master"
  name = "github.com/gobuffalo/envy"
  packages = ["."]
  revision = "a901aeb76c2647ce52acf7f3bac64c4def49a899"

[[projects]]
  branch = "master"
  name = "github.com/gobuffalo/packr"
  packages = ["."]
  revision = "9d3b78bfcb56d490ba2cae05965890154f04f6f1"

[[projects]]
  branch = "master"
  name = "github.com/gobuffalo/plush"
  packages = [".","ast","lexer","parser","token"]
  revision = "8ed4c6e772069729c5ce37130912773c600f5d80"

[[projects]]
  branch = "master"
  name = "github.com/gobuffalo/suite"
  packages = ["."]
  revision = "f9e2b82967a3cb7dc69c10bb4156dc80f9a4e77e"

[[projects]]
  branch = "master"
  name = "github.com/gobuffalo/tags"
  packages = [".","form","form/bootstrap"]
  revision = "0f2f31793228e1aa58283271991adf2d27db3b4f"

[[projects]]
  name = "github.com/gorilla/context"
  packages = ["."]
  revision = "1ea25387ff6f684839d82767c1733ff4d4d15d0a"
  version = "v1.1"

[[projects]]
  name = "github.com/gorilla/mux"
  packages = ["."]
  revision = "bcd8bc72b08df0f70df986b97f95590779502d31"
  version = "v1.4.0"

[[projects]]
  name = "github.com/gorilla/securecookie"
  packages = ["."]
  revision = "667fe4e3466a040b780561fe9b51a83a3753eefc"
  version = "v1.1"

[[projects]]
  name = "github.com/gorilla/sessions"
  packages = ["."]
  revision = "ca9ada44574153444b00d3fd9c8559e4cc95f896"
  version = "v1.1"

[[projects]]
  name = "github.com/gorilla/websocket"
  packages = ["."]
  revision = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b"
  version = "v1.2.0"

[[projects]]
  branch = "master"
  name = "github.com/jmoiron/sqlx"
  packages = [".","reflectx"]
  revision = "d9bd385d68c068f1fabb5057e3dedcbcbb039d0f"

[[projects]]
  branch = "master"
  name = "github.com/lib/pq"
  packages = [".","oid"]
  revision = "dd1fe2071026ce53f36a39112e645b4d4f5793a4"

[[projects]]
  branch = "master"
  name = "github.com/markbates/going"
  packages = ["defaults","randx","wait"]
  revision = "0576708c56cea02331f864fe6e157ac7841923e4"

[[projects]]
  branch = "master"
  name = "github.com/markbates/grift"
  packages = ["grift"]
  revision = "8e706d9b1370e074ed48f3e56b5d29c8b01dd635"

[[projects]]
  branch = "master"
  name = "github.com/markbates/hmax"
  packages = ["."]
  revision = "800e180dcd16937a4cc134c6aa8c8407e62ce880"

[[projects]]
  branch = "master"
  name = "github.com/markbates/inflect"
  packages = ["."]
  revision = "6cacb66d100482ef7cc366289ccb156020e57e76"

[[projects]]
  name = "github.com/markbates/pop"
  packages = [".","columns","fizz","fizz/translators","nulls"]
  revision = "a2c66090addd813209a9a5281fd5ed01ceb03104"
  version = "v3.26.0"

[[projects]]
  name = "github.com/markbates/refresh"
  packages = ["refresh","refresh/web"]
  revision = "3b31d64dec02d89d735e1f60c05ed41a43c5207e"
  version = "1.2.0"

[[projects]]
  branch = "master"
  name = "github.com/markbates/validate"
  packages = [".","validators"]
  revision = "5daf258685b62f559ad557ed5ff566ad2b11b575"

[[projects]]
  branch = "master"
  name = "github.com/markbates/willie"
  packages = ["."]
  revision = "d2cdc733fedaffa28ae6584ba16f16832c10f15e"

[[projects]]
  branch = "master"
  name = "github.com/mattn/anko"
  packages = ["ast","builtins","builtins/encoding/json","builtins/errors","builtins/flag","builtins/fmt","builtins/github.com/daviddengcn/go-colortext","builtins/io","builtins/io/ioutil","builtins/math","builtins/math/big","builtins/math/rand","builtins/net","builtins/net/http","builtins/net/url","builtins/os","builtins/os/exec","builtins/os/signal","builtins/path","builtins/path/filepath","builtins/regexp","builtins/runtime","builtins/sort","builtins/strings","builtins/time","parser","vm"]
  revision = "a3969c63681391ec413427cae813d6d59d6031f1"

[[projects]]
  name = "github.com/mattn/go-colorable"
  packages = ["."]
  revision = "941b50ebc6efddf4c41c8e4537a5f68a4e686b24"
  version = "v0.0.8"

[[projects]]
  name = "github.com/mattn/go-isatty"
  packages = ["."]
  revision = "fc9e8d8ef48496124e79ae0df75490096eccf6fe"
  version = "v0.0.2"

[[projects]]
  name = "github.com/mattn/go-sqlite3"
  packages = ["."]
  revision = "ca5e3819723d8eeaf170ad510e7da1d6d2e94a08"
  version = "v1.2.0"

[[projects]]
  branch = "master"
  name = "github.com/microcosm-cc/bluemonday"
  packages = ["."]
  revision = "e79763773ab6222ca1d5a7cbd9d62d83c1f77081"

[[projects]]
  branch = "master"
  name = "github.com/mitchellh/go-homedir"
  packages = ["."]
  revision = "b8bc1bf767474819792c23f32d8286a45736f1c6"

[[projects]]
  name = "github.com/monoculum/formam"
  packages = ["."]
  revision = "99ca9dcbaca6d91e9665f817d0da23af6184ced3"
  version = "v3.0"

[[projects]]
  name = "github.com/nicksnyder/go-i18n"
  packages = ["i18n","i18n/bundle","i18n/language","i18n/translation"]
  revision = "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
  version = "v1.8.1"

[[projects]]
  name = "github.com/pelletier/go-buffruneio"
  packages = ["."]
  revision = "c37440a7cf42ac63b919c752ca73a85067e05992"
  version = "v0.2.0"

[[projects]]
  name = "github.com/pelletier/go-toml"
  packages = ["."]
  revision = "5ccdfb18c776b740aecaf085c4d9a2779199c279"
  version = "v1.0.0"

[[projects]]
  name = "github.com/pkg/errors"
  packages = ["."]
  revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
  version = "v0.8.0"

[[projects]]
  name = "github.com/pmezard/go-difflib"
  packages = ["difflib"]
  revision = "792786c7400a136282c1664665ae0a8db921c6c2"
  version = "v1.0.0"

[[projects]]
  name = "github.com/russross/blackfriday"
  packages = ["."]
  revision = "0b647d0506a698cca42caca173e55559b12a69f2"
  version = "v1.4"

[[projects]]
  name = "github.com/satori/go.uuid"
  packages = ["."]
  revision = "879c5887cd475cd7864858769793b2ceb0d44feb"
  version = "v1.1.0"

[[projects]]
  branch = "master"
  name = "github.com/serenize/snaker"
  packages = ["."]
  revision = "1c7f65329f6524115af8ca01ab604c00cddf5558"

[[projects]]
  branch = "master"
  name = "github.com/sergi/go-diff"
  packages = ["diffmatchpatch"]
  revision = "feef008d51ad2b3778f85d387ccf91735543008d"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/github_flavored_markdown"
  packages = ["."]
  revision = "3c64cb3ce00a3f4feae0c53ce7c2cc2fdacba14b"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/go"
  packages = ["parserutil","printerutil","reflectfind","reflectsource"]
  revision = "5924e6132c2f184e262d4bc779e5745fa297d093"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/go-goon"
  packages = ["."]
  revision = "a0792a0a8f8fa9a233843e67079b051b571e609c"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/highlight_diff"
  packages = ["."]
  revision = "09bb4053de1b1d872a9f25dc21378fa71dca4e4e"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/highlight_go"
  packages = ["."]
  revision = "78fb10f4a5f89e812a5e26ab723b954a51226086"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/octiconssvg"
  packages = ["."]
  revision = "1aed2117d2aa8eed76a052936e468e5354750701"

[[projects]]
  branch = "master"
  name = "github.com/shurcooL/sanitized_anchor_name"
  packages = ["."]
  revision = "541ff5ee47f1dddf6a5281af78307d921524bcb5"

[[projects]]
  name = "github.com/sirupsen/logrus"
  packages = ["."]
  revision = "a3f95b5c423586578a4e099b11a46c2479628cac"
  version = "1.0.2"

[[projects]]
  branch = "master"
  name = "github.com/sourcegraph/annotate"
  packages = ["."]
  revision = "f4cad6c6324d3f584e1743d8b3e0e017a5f3a636"

[[projects]]
  branch = "master"
  name = "github.com/sourcegraph/syntaxhighlight"
  packages = ["."]
  revision = "bd320f5d308e1a3c4314c678d8227a0d72574ae7"

[[projects]]
  name = "github.com/stretchr/testify"
  packages = ["assert","require","suite"]
  revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0"
  version = "v1.1.4"

[[projects]]
  branch = "master"
  name = "golang.org/x/crypto"
  packages = ["bcrypt","blowfish"]
  revision = "7f7c0c2d75ebb4e32a21396ce36e87b6dadc91c9"

[[projects]]
  branch = "master"
  name = "golang.org/x/net"
  packages = ["context","html","html/atom"]
  revision = "b3756b4b77d7b13260a0a2ec658753cf48922eac"

[[projects]]
  branch = "master"
  name = "golang.org/x/sys"
  packages = ["unix"]
  revision = "4cd6d1a821c7175768725b55ca82f14683a29ea4"

[[projects]]
  branch = "v2"
  name = "gopkg.in/yaml.v2"
  packages = ["."]
  revision = "3b4ad1db5b2a649883ff3782f5f9f6fb52be71af"

[solve-meta]
  analyzer-name = "dep"
  analyzer-version = 1
  inputs-digest = "45121ef517fc228b8ae26e998df839668905393ab5e78098ea4fec5024b3406a"
  solver-name = "gps-cdcl"
  solver-version = 1

You can reproduce easily using the Buffalo Docker images:
$ docker run -it gobuffalo/buffalo:v<IP_ADDRESS> /bin/sh

# go get -u github.com/golang/dep/cmd/dep
# buffalo new --skip-webpack forsam
# cd forsam
# dep init
# more Gopkg.toml

i was gonna say "interesting," but then realized that would've been the third consecutive comment i started that way 😛
thanks for all the info - that it works when written into Gopkg.toml, but not on the CLI is pretty suggestive of where we need to look.

lol. Fair enough. I hope it helps. We're releasing v0.9.2 on Friday, for a variety of reasons, one of them being this. Just thought you should know if you're trying to use it for testing.

if we provide you some pointers to the relevant code, do you think you might have time to work on a patch?
I'm sure your legendary improvisation skills will come in handy here, somehow ❤
On July 17, 2017 11:58:11 PM EDT, Mark Bates<EMAIL_ADDRESS>wrote:

Just straight up GOPATH. Not doing anything fancy.
I just created a new Buffalo app buffalo new forsam
Here is the Gopkg.toml:

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX",
"bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
#   name = "github.com/user/project"
#   version = "1.0.0"
#
# [[constraint]]
#   name = "github.com/user/project2"
#   branch = "dev"
#   source = "github.com/myfork/project2"
#
# [[override]]
#  name = "github.com/x/y"
#  version = "2.4.0"

[[constraint]]
 name = "github.com/gobuffalo/buffalo"
 version = "0.9.1"

[[constraint]]
 branch = "master"
 name = "github.com/gobuffalo/envy"

[[constraint]]
 branch = "master"
 name = "github.com/gobuffalo/packr"

[[constraint]]
 branch = "master"
 name = "github.com/gobuffalo/suite"

[[constraint]]
 name = "github.com/markbates/pop"
 version = "3.26.0"

and the Gopkg.lock
# This file is autogenerated, do not edit; changes may be undone by the
next 'dep ensure'.

[[projects]]
 name = "github.com/ajg/form"
 packages = ["."]
 revision = "cc2954064ec9ea8d93917f0f87456e11d7b881ad"
 version = "v1.5"

[[projects]]
 name = "github.com/davecgh/go-spew"
 packages = ["spew"]
 revision = "346938d642f2ec3594ed81d874461961cd0faa76"
 version = "v1.1.0"

[[projects]]
 branch = "master"
 name = "github.com/daviddengcn/go-colortext"
 packages = ["."]
 revision = "805cee6e0d43c72ba1d4e3275965ff41e0da068a"

[[projects]]
 branch = "master"
 name = "github.com/dustin/go-humanize"
 packages = ["."]
 revision = "259d2a102b871d17f30e3cd9881a642961a1e486"

[[projects]]
 name = "github.com/fatih/color"
 packages = ["."]
 revision = "570b54cabe6b8eb0bc2dfce68d964677d63b5260"
 version = "v1.5.0"

[[projects]]
 name = "github.com/fsnotify/fsnotify"
 packages = ["."]
 revision = "629574ca2a5df945712d3079857300b5e4da0236"
 version = "v1.4.2"

[[projects]]
 name = "github.com/go-sql-driver/mysql"
 packages = ["."]
 revision = "a0583e0143b1624142adab07e0e97fe106d99561"
 version = "v1.3"

[[projects]]
 name = "github.com/gobuffalo/buffalo"
packages =
[".","binding","middleware","middleware/csrf","middleware/i18n","render","worker"]
 revision = "68f254fe1ce43f749b5313a2ae7821e1447248fc"
 version = "v0.9.1"

[[projects]]
 branch = "master"
 name = "github.com/gobuffalo/envy"
 packages = ["."]
 revision = "a901aeb76c2647ce52acf7f3bac64c4def49a899"

[[projects]]
 branch = "master"
 name = "github.com/gobuffalo/packr"
 packages = ["."]
 revision = "9d3b78bfcb56d490ba2cae05965890154f04f6f1"

[[projects]]
 branch = "master"
 name = "github.com/gobuffalo/plush"
 packages = [".","ast","lexer","parser","token"]
 revision = "8ed4c6e772069729c5ce37130912773c600f5d80"

[[projects]]
 branch = "master"
 name = "github.com/gobuffalo/suite"
 packages = ["."]
 revision = "f9e2b82967a3cb7dc69c10bb4156dc80f9a4e77e"

[[projects]]
 branch = "master"
 name = "github.com/gobuffalo/tags"
 packages = [".","form","form/bootstrap"]
 revision = "0f2f31793228e1aa58283271991adf2d27db3b4f"

[[projects]]
 name = "github.com/gorilla/context"
 packages = ["."]
 revision = "1ea25387ff6f684839d82767c1733ff4d4d15d0a"
 version = "v1.1"

[[projects]]
 name = "github.com/gorilla/mux"
 packages = ["."]
 revision = "bcd8bc72b08df0f70df986b97f95590779502d31"
 version = "v1.4.0"

[[projects]]
 name = "github.com/gorilla/securecookie"
 packages = ["."]
 revision = "667fe4e3466a040b780561fe9b51a83a3753eefc"
 version = "v1.1"

[[projects]]
 name = "github.com/gorilla/sessions"
 packages = ["."]
 revision = "ca9ada44574153444b00d3fd9c8559e4cc95f896"
 version = "v1.1"

[[projects]]
 name = "github.com/gorilla/websocket"
 packages = ["."]
 revision = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b"
 version = "v1.2.0"

[[projects]]
 branch = "master"
 name = "github.com/jmoiron/sqlx"
 packages = [".","reflectx"]
 revision = "d9bd385d68c068f1fabb5057e3dedcbcbb039d0f"

[[projects]]
 branch = "master"
 name = "github.com/lib/pq"
 packages = [".","oid"]
 revision = "dd1fe2071026ce53f36a39112e645b4d4f5793a4"

[[projects]]
 branch = "master"
 name = "github.com/markbates/going"
 packages = ["defaults","randx","wait"]
 revision = "0576708c56cea02331f864fe6e157ac7841923e4"

[[projects]]
 branch = "master"
 name = "github.com/markbates/grift"
 packages = ["grift"]
 revision = "8e706d9b1370e074ed48f3e56b5d29c8b01dd635"

[[projects]]
 branch = "master"
 name = "github.com/markbates/hmax"
 packages = ["."]
 revision = "800e180dcd16937a4cc134c6aa8c8407e62ce880"

[[projects]]
 branch = "master"
 name = "github.com/markbates/inflect"
 packages = ["."]
 revision = "6cacb66d100482ef7cc366289ccb156020e57e76"

[[projects]]
 name = "github.com/markbates/pop"
 packages = [".","columns","fizz","fizz/translators","nulls"]
 revision = "a2c66090addd813209a9a5281fd5ed01ceb03104"
 version = "v3.26.0"

[[projects]]
 name = "github.com/markbates/refresh"
 packages = ["refresh","refresh/web"]
 revision = "3b31d64dec02d89d735e1f60c05ed41a43c5207e"
 version = "1.2.0"

[[projects]]
 branch = "master"
 name = "github.com/markbates/validate"
 packages = [".","validators"]
 revision = "5daf258685b62f559ad557ed5ff566ad2b11b575"

[[projects]]
 branch = "master"
 name = "github.com/markbates/willie"
 packages = ["."]
 revision = "d2cdc733fedaffa28ae6584ba16f16832c10f15e"

[[projects]]
 branch = "master"
 name = "github.com/mattn/anko"
packages =
["ast","builtins","builtins/encoding/json","builtins/errors","builtins/flag","builtins/fmt","builtins/github.com/daviddengcn/go-colortext","builtins/io","builtins/io/ioutil","builtins/math","builtins/math/big","builtins/math/rand","builtins/net","builtins/net/http","builtins/net/url","builtins/os","builtins/os/exec","builtins/os/signal","builtins/path","builtins/path/filepath","builtins/regexp","builtins/runtime","builtins/sort","builtins/strings","builtins/time","parser","vm"]
 revision = "a3969c63681391ec413427cae813d6d59d6031f1"

[[projects]]
 name = "github.com/mattn/go-colorable"
 packages = ["."]
 revision = "941b50ebc6efddf4c41c8e4537a5f68a4e686b24"
 version = "v0.0.8"

[[projects]]
 name = "github.com/mattn/go-isatty"
 packages = ["."]
 revision = "fc9e8d8ef48496124e79ae0df75490096eccf6fe"
 version = "v0.0.2"

[[projects]]
 name = "github.com/mattn/go-sqlite3"
 packages = ["."]
 revision = "ca5e3819723d8eeaf170ad510e7da1d6d2e94a08"
 version = "v1.2.0"

[[projects]]
 branch = "master"
 name = "github.com/microcosm-cc/bluemonday"
 packages = ["."]
 revision = "e79763773ab6222ca1d5a7cbd9d62d83c1f77081"

[[projects]]
 branch = "master"
 name = "github.com/mitchellh/go-homedir"
 packages = ["."]
 revision = "b8bc1bf767474819792c23f32d8286a45736f1c6"

[[projects]]
 name = "github.com/monoculum/formam"
 packages = ["."]
 revision = "99ca9dcbaca6d91e9665f817d0da23af6184ced3"
 version = "v3.0"

[[projects]]
 name = "github.com/nicksnyder/go-i18n"
 packages = ["i18n","i18n/bundle","i18n/language","i18n/translation"]
 revision = "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
 version = "v1.8.1"

[[projects]]
 name = "github.com/pelletier/go-buffruneio"
 packages = ["."]
 revision = "c37440a7cf42ac63b919c752ca73a85067e05992"
 version = "v0.2.0"

[[projects]]
 name = "github.com/pelletier/go-toml"
 packages = ["."]
 revision = "5ccdfb18c776b740aecaf085c4d9a2779199c279"
 version = "v1.0.0"

[[projects]]
 name = "github.com/pkg/errors"
 packages = ["."]
 revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
 version = "v0.8.0"

[[projects]]
 name = "github.com/pmezard/go-difflib"
 packages = ["difflib"]
 revision = "792786c7400a136282c1664665ae0a8db921c6c2"
 version = "v1.0.0"

[[projects]]
 name = "github.com/russross/blackfriday"
 packages = ["."]
 revision = "0b647d0506a698cca42caca173e55559b12a69f2"
 version = "v1.4"

[[projects]]
 name = "github.com/satori/go.uuid"
 packages = ["."]
 revision = "879c5887cd475cd7864858769793b2ceb0d44feb"
 version = "v1.1.0"

[[projects]]
 branch = "master"
 name = "github.com/serenize/snaker"
 packages = ["."]
 revision = "1c7f65329f6524115af8ca01ab604c00cddf5558"

[[projects]]
 branch = "master"
 name = "github.com/sergi/go-diff"
 packages = ["diffmatchpatch"]
 revision = "feef008d51ad2b3778f85d387ccf91735543008d"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/github_flavored_markdown"
 packages = ["."]
 revision = "3c64cb3ce00a3f4feae0c53ce7c2cc2fdacba14b"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/go"
 packages = ["parserutil","printerutil","reflectfind","reflectsource"]
 revision = "5924e6132c2f184e262d4bc779e5745fa297d093"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/go-goon"
 packages = ["."]
 revision = "a0792a0a8f8fa9a233843e67079b051b571e609c"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/highlight_diff"
 packages = ["."]
 revision = "09bb4053de1b1d872a9f25dc21378fa71dca4e4e"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/highlight_go"
 packages = ["."]
 revision = "78fb10f4a5f89e812a5e26ab723b954a51226086"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/octiconssvg"
 packages = ["."]
 revision = "1aed2117d2aa8eed76a052936e468e5354750701"

[[projects]]
 branch = "master"
 name = "github.com/shurcooL/sanitized_anchor_name"
 packages = ["."]
 revision = "541ff5ee47f1dddf6a5281af78307d921524bcb5"

[[projects]]
 name = "github.com/sirupsen/logrus"
 packages = ["."]
 revision = "a3f95b5c423586578a4e099b11a46c2479628cac"
 version = "1.0.2"

[[projects]]
 branch = "master"
 name = "github.com/sourcegraph/annotate"
 packages = ["."]
 revision = "f4cad6c6324d3f584e1743d8b3e0e017a5f3a636"

[[projects]]
 branch = "master"
 name = "github.com/sourcegraph/syntaxhighlight"
 packages = ["."]
 revision = "bd320f5d308e1a3c4314c678d8227a0d72574ae7"

[[projects]]
 name = "github.com/stretchr/testify"
 packages = ["assert","require","suite"]
 revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0"
 version = "v1.1.4"

[[projects]]
 branch = "master"
 name = "golang.org/x/crypto"
 packages = ["bcrypt","blowfish"]
 revision = "7f7c0c2d75ebb4e32a21396ce36e87b6dadc91c9"

[[projects]]
 branch = "master"
 name = "golang.org/x/net"
 packages = ["context","html","html/atom"]
 revision = "b3756b4b77d7b13260a0a2ec658753cf48922eac"

[[projects]]
 branch = "master"
 name = "golang.org/x/sys"
 packages = ["unix"]
 revision = "4cd6d1a821c7175768725b55ca82f14683a29ea4"

[[projects]]
 branch = "v2"
 name = "gopkg.in/yaml.v2"
 packages = ["."]
 revision = "3b4ad1db5b2a649883ff3782f5f9f6fb52be71af"

[solve-meta]
 analyzer-name = "dep"
 analyzer-version = 1
inputs-digest =
"45121ef517fc228b8ae26e998df839668905393ab5e78098ea4fec5024b3406a"
 solver-name = "gps-cdcl"
 solver-version = 1

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/golang/dep/issues/839#issuecomment-315951384

Show me the way and I'll happily take a look.

@carolynvs CLI input and glide conversions would all be a matter of SourceManager.InferConstraint(), right?

What about 'dep init'? Where is it getting version info from?

@markbates oh right, sorry, i crossed wires - that'd be Ctx.VersionInWorkspace(), i believe.

Cool. I'll take a look today see what I can find. My gut says bad regex, but we'll see.

@sdboyer I tracked down the problem. The github.com/Masterminds/semver package doesn't allow for <IP_ADDRESS> style versions.
Not sure how I should proceed here. "Technically" it's "correct", however, one could argue that it's not unusual to have a release with that type of versioning. Thoughts?

@markbates sorry, i should have noted that earlier - <IP_ADDRESS> is indeed, definitely not semver, and we can't shoehorn it in. that's pretty clear-cut.
however, it's fine for it to operate as a "plain" version (which have really poor properties in dep when compared to semver versions). what's weird here is that, instead of falling back to being a plain version, something's just dropping that fourth element and deciding it IS semver. i suppose that's bad regex in Masterminds/semver?

It's not dropping anything. It says it's not semver and returns an error.
It finds the 0.9.1 release because that is the most recent tag that is semver. It loops through all the tags to find the latest semver release, which in this case is 0.9.1.
It's an interesting little bug/feature.

Mark Bates
On Jul 19, 2017, 11:26 PM -0400, sam boyer<EMAIL_ADDRESS>wrote:

@markbates sorry, i should have noted that earlier - <IP_ADDRESS> is indeed, definitely not semver, and we can't shoehorn it in. that's pretty clear-cut.
however, it's fine for it to operate as a "plain" version (which have really poor properties in dep when compared to semver versions). what's weird here is that, instead of falling back to being a plain version, something's just dropping that fourth element and deciding it IS semver. i suppose that's bad regex in Masterminds/semver?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

ahhhhh. OK. yes, that's the search order the algorithm uses: https://github.com/golang/dep/blob/master/FAQ.md#how-does-dep-decide-what-version-of-a-dependency-to-use
If that func isn't proceeding on past the semver matching to the plain, non-semver version, though, then that's a bug. When you specify from the command line in this way, it should find that exact version and use it.

The tag in the repo is v<IP_ADDRESS>, which isn't semver as you've noted. Semver tags are the only constraints that allows you to either use or not use the v prefix, otherwise you have to use exactly the same branch/tag name. So since it wasn't semver, InferConstraint tried to match the tag name and failed because the tag has a v prefix, but the value specified on the command line didn't.
Can you try running dep ensure<EMAIL_ADDRESS>

@carolynvs that updates the lock file correctly, but the toml still says 0.9.1. definitely confusing.
The problem, from my perspective, is that everyone has been running a old version of the library because dep keeps ignoring the non-semver tag in favor of an older tag.
I'm not saying it's right or wrong, just a little annoying. It's both simultaneously a bug and a feature in my opinion. :) I've been struggling trying to figure out what the outcome of this issue should be. I see it both ways.
On the one hand it's very strict with semver, which is good.
But, at the same time, it's very common for libraries in their pre-1.0 world to use this type of numbering system with a 4th tiny number. It's not uncommon in the post-1.0 world to see a 4th number as well.
So yeah, not sure what to do with all that. :)

In the manifest, when you see version = "0.9.1", dep translates that as a range, 0.9.1 <= X < 1.0.0.
I agree that can be confusing! The reason dep encourages people to not pin to a specific version/revision, and defaults to ranges is so that as more adopt dept, we don't quickly end up with unsolvable dependency graphs.

The problem, from my perspective, is that everyone has been running a old version of the library because dep keeps ignoring the non-semver tag in favor of an older tag.

From the original output, it looks like you actually are currently locked to the latest version, v<IP_ADDRESS>.
$ dep hash-inputs
-CONSTRAINTS-
github.com/gobuffalo/buffalo
pv-<IP_ADDRESS>

If you run dep status, what does it show for the version of buffalo? The Gopkg.lock also has a version field that tells you the currently locked version for each package.

Yeah, if I run the<EMAIL_ADDRESS>it does lock it to that, but if you look at the Gopkg.lock above, you'll see that a straight up dep init gives me this:
[[projects]]
  name = "github.com/gobuffalo/buffalo"
  packages = [".","binding","middleware","middleware/csrf","middleware/i18n","render","worker"]
  revision = "68f254fe1ce43f749b5313a2ae7821e1447248fc"
  version = "v0.9.1"

Which isn't the correct version.

Ah, okay we are talking about two separate things and I got a bit confused. 😊  I was only focusing on dep ensure.

dep init picked the highest semver tag, set the constraint to version = "0.9.1" which is translated as I explained previously, and locked to "v0.9.1". If you'd like to discuss how dep could handle this better during init, let's start a separate issue for that.
You then realized that the dep config isn't what you needed, and after running dep ensure<EMAIL_ADDRESS>Gopkg.lock contained the desired version, `version = "v<IP_ADDRESS>".

So it sounds like dep ensure is working okay but does need to be documented better?


cryptography.x509 backend

I'd like something I can pass a cryptography.x509.Certificate and hostname to.

Totally agreed!  Volunteers? :)

I'll probably provide a PR at some point if someone doesn't beat me to it, have a few other yaks on this particular stack to shave first.

IIRC, all you have to do is to extract the relevant names from the certificate.  Mostly a SMOP.


Auto Attach not working

Issue Type: Bug
Set Auto Attach: Always
Ensure Auto Attach: Always appears in status bar
create node.js module called greet.js
function greet() {
    console.log("hello");
}

greet();

put a breakpoint on line 2.
Run node script in Javascript Debug Terminal via node greet.js
program runs through without debugger attaching.
 It has terminated before the debugger had a chance to attach.

@weinand is there a way to auto attach and wait until the debugger is connected (i.e. node --inspect-brk)?

What version of Node.js are you using? Can you echo the NODE_OPTIONS environment variable in your terminal to see if and what value it has?

v14.16.0 and --max_old_space_size=8196

Okay, I see. It looks like you probably have something in your .bashrc/.zshrc file which is overwriting NODE_OPTIONS, with export NODE_OPTIONS=--max_old_space_size=8196. I suggest changing that to:
export NODE_OPTIONS="$NODE_OPTIONS --max_old_space_size=8196

in order to preserve the options we set that enable auto attach to work.


Add landing page of whole REUNICE project

UC-AN1

User navigates to the main system page.
User is presented with the generic information about the platform and its functionality.
User can see generic information about REUNICE project and its references.

We should have whole project landing page that is editable only by admin account

Raczej wymagane bo UC-AN1, do dopytania Promotora


ORC-557: Fix the issue when orc-tool opens the huge file over 4GB

I have confirmed this patch works on my laptop.
But I don't have enough confidence to this patch.

Thank you for your problem report and fix. I think we need to generalize the fix a little bit to walk through the input buffers for uncompressed streams. I'll upload a revised fix and the corresponding test.

Sorry, I referenced this PR by mistake on the fix for ORC-552. I know this is still open.

@yuokada can you please try out my fix on #439?

@omalley I've tried your PR. It looks good to me.

Ok, this was fixed by 9891eae .


Extend OAuth/OpenID Connect solution to support logout

Background
#3448 focused on supporting user login using OAuth/OpenID Connect. #3780 provided Keptn bridge interface and API contract to implement this.
Logout implemented through #3780 merely focus on ending bridge session. From OpenID Connect perspective, it is desired to see a logout for Authorization Server (aka OpenID Provider - OP)
Considerations
Similar to #3448 , the solution must be vendor neutral. From Keptn bridge point of view, we must only fulfil an API contract, facilitated by a supportive service.
Solution
OIDC RP initiated logout [1] is the most straightforward implementation bridge can easily support. This can be built on top of the OAuth service proposed trough #3448.
Logout interaction can be simplified as below

If OAuth service support logout, it can publish through discovery document (i.e - logout_endpoint )
If logout at OAuth service is available, when bridge perform the logout, bridge can invoke the logout_endpoint.
OAuth service can then generate the logout request for the specific configurations (Note - id_token_hint can be an optional input)
Bridge simply redirect the user agent to the specific logout request

Specification recommends to utilise id_token_hint [1] and for the first iteration we can support this parameter to be stored against user session in bridge. This makes interactions with OAuth service stateless (except for state usage in login flow).
[1] https://openid.net/specs/openid-connect-rpinitiated-1_0.html

This is my proposal for logout API contract.
TLDR : No breaking changes & updated swagger documentation - KeptnOAuthSwaggerV2.txt
OAuth service have the option to expose a logout endpoint, which closely follow OIDC RP-Initiated Logout [1]. Further, similar to OIDC Discovery [2], support for logout is communicated through OAuth service discovery.
Discovery
If OAuth service support RP logout, the discovery response must communicate this.
Keptn bridge looks for the rp_logout key when initialising OAuth middleware. If this is present, keptn bridge will include RP logout flow when user logout.
Given below is a discovery response with rp_logout key,
Get http://oauth-service:8080/discovery

{
 "authorization": "http://oauth-service:8080/authorization",
 "token_decision": "http://oauth-service:8080/token_decision",
 "rp_logout": "http://oauth-service:8080/logout"
}

Logout hint
When OAuth service support RP logout, it has the option to pass a logout hint in token decision response. If present, keptn bridge will include this hint in the RP logout request.
Given below is token decision response including a logout hint,
Post http://oauth-service:8080/token_decision
Content-Type: application/json
{
  "code": "qwert",
  "state": "123"
}

HTTP 200 OK
Content-Type: application/json
{
  "user": "USER_NAME",
   logout_hint": "LOGOUT_HINT"
}

The hint can be anything that require to generate the OIDC RP logout request. For example, this can be the ID Token, which can be linked to id_token_hint parameter consumed by the IDP's end session endpoint.
Logout request
When user logout from Keptn bridge & if OAuth service support logout, bridge will invoke the rp_logout endpoint. Further, this request will include the logout_hint if it was present in the token decision response.
Response to the this request must contain the logout_path. This must be a valid URL & keptn bridge will redirect user agent to this URL.
Given below is a sample request, including logout hint and the response,
Post http://oauth-service:8080/rp_logout
Content-Type: application/json
{
  "logout_hint": "s784Opsf320..."
}

HTTP 200 OK
Content-Type: application/json

{
  "logout_path": "http://idp.com/logout?id_token_hint=s784Opsf320..."
}

[1] https://openid.net/specs/openid-connect-rpinitiated-1_0.html
[2] https://openid.net/specs/openid-connect-discovery-1_0.html


Serve Swagger Spec in YAML format

Description
Currently a JSON representation of the Swagger/OpenAPI spec can be found at /swagger.json. It would be helpful if the YAML format was also available by changing the extension (ie. /swagger.yaml).
Expected behaviour
The configured swagger spec is returned in YAML format from the /swagger.yaml endpoint.
Actual behaviour
HTTP/1.0 404 NOT FOUND
Content-Type: application/problem+json
{"type": "error", "code": "objectNotFound", "message": "The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again."}

I've put up a demo of this behavior, can you take a look @chiefnoah ?
Anyone else have thoughts/feedback on this idea?
My basic assumption was that the yaml should be accessible whenever the json spec is accessible, so I did not add any additional flags to enable/disable it separately.
Also, since the user can override the spec path, the yaml is available at the same path as the json, just with the yaml extension.

@dtkav looks good to me. I agree, it serves the exact same purpose as the swagger.json, so I don't see a reason for it to be configured independent of it.  It looks good to me and behaves as expected, thanks! 😄

Another way to do this would be to just store your spec in a static files folder
You can do this in flask (but I'd recommend doing it with nginx or similar).
@app.app.route('/static/<path:path>')
def send_static(path):
    return send_from_directory('static', path)

I think it's important to at least serve json, as most web clients aren't set up to parse yaml.
I'm not sure if serving yaml is generally desired, or if it's specific to your use case.
While I put up a demo of the implementation, I personally have a weak preference against this feature.
I'm looking for more input on this ticket for the best path to take...
@kornicameister mentioned that they'd prefer to not have this feature
@nmusatti you had a thumbs up on the ticket - any thoughts to add?
@jmcs any thoughts?


Sending direct messages?

Is it possible to send direct messages uusing node-twitter? Do you have an example how to do that?

Yup you can.  You can make any available request documented in the API - https://dev.twitter.com/rest
var Twitter = require('twitter');

var client = new Twitter({
  consumer_key: '',
  consumer_secret: '',
  access_token_key: '',
  access_token_secret: ''
});

var params = {
  screen_name: 'nodejs',
  text: 'Hello World'
};
client.post('direct_messages/new', params, function(error, message, response) {
  if (!error) {
    console.log(message);
  }
});

See: https://dev.twitter.com/rest/reference/post/direct_messages/new

And if that doesn't work? I don't get any errors. Posting tweets and retweets work as expected.

Hey any idea how to do the same with the new direct_messages api: https://dev.twitter.com/rest/reference/post/direct_messages/events/new
What you posted works but with the new api, I keep getting authentication error code 32 (https://dev.twitter.com/overview/api/response-codes)
Here's an article that explains what's happening with a php library, not sure what node-twitter does: https://imbuzu.wordpress.com/2014/05/14/fixing-error-code-32-when-using-the-twitter-api/

Hi @eorroe did you solved this issue ?

Unfortunately not @dfliess Were you able to figure it out?

yes @eorroe with this https://github.com/desmondmorris/node-twitter/pull/230, although we receive an error see my comment.

For the code shown here we receive the error:
[ { code: 220,
message: 'Your credentials do not allow access to this resource.' } ]

something change?
i get this error message:
[ { code: 34, message: 'Sorry, that page does not exist.' } ]

@pedroaf0 were you able to solve this?

@amj4kor I changed the module. I started using twit.
is more up to date. https://github.com/ttezel/twit
I have this can help you: https://gist.github.com/pedroaf0/be121249708800e6c0dc8fd8129e4fff


Update test tooling

Leakdown tester has a lot of functionality to work with different specific sets of inputs.
We can use a simpler test app for some of the work we are doing now, with the following features:

We can capture more candidate info

both accepted and selected
counts and avg. scores
massages and/or causal pathway

We can send multiple requests/async requests and speed up testing
we can make it easier to point to different collections of inputs
With help from the PFP we can test with/without history, preferences and with different performance months
We may be able to piggyback the history generation (create separate issue)
Make it easier to configure which instance we are testing
Give more data and be more flexible in reporting

Don't forget to add really good, really simple instructions (esp. for Google Cloud)!!!

Add readme to bulk_up and reference from the PFP readme
Add selected scores
change report order (s/b cp, messages, measures)
columns in same order (e.g. n, %, score)
Consider additional reporting to be new stories

e.g. average per provider variation
optional? score breakdown (e.g. mi, hist, pref, total_score)


310 Skip build job for branch changeset-release/main

fixes #310

The CI might complain about not having at least an empty changeset...


Added Backstage version to info command

Hey, I just made a Pull Request!
Added Backstage version to yarn backstage-cli info command output:

If there is no backstage.json this will fallback to "N/A"
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thank you @awanlin!

Thanks @benjdlambert (also for that typo fix 😉 )

Ahah! Nice OK! Perfect, thats good to know at least. :pray:

No worries :pray:


Use &self in predicates

Detected by a clippy warning and avoids needing to Clone paths for types that are not Copy (such as including String or IString).

Looks like this triggers a new warning and breaks the build.

This has an impact on the way components use it. So we need v0.3.x for this.

IIRC all clippy warnings should be solved by now


Add helloWorld in ballerina

Related to #1.
This code block is developed in ballerina 0.93.

Added, thank you!


HOL 1 Ex 5 Step 5

add a "." in front of the ""
so it is ".\username" to the screenshot and instruction or some Logins fail

What language? This already exists in the screenshots and the instructions

Already exists in the docs User Name = \l-admin


instance system.adapter.blueconnect.0 terminated with code 0 (NO_ERROR)

Describe the bug
I took my blue connect out and replaced the battery. connection to my phone / app works fine, data coming in. restarted the adapter but only get a termination message:
instance system.adapter.blueconnect.0 terminated with code 0 (NO_ERROR)
I put the adapter to debug mode, get some more messages about redis and so, but nothing concerning.
Versions:

Adapter version: 0.0.1
JS-Controller version:
Node version: v16.19.0
Operating system: Debian Linux

I can't confirm any problems with the API. Working fine here for two pools (one also "reactivated" a few weeks ago).
Maybe it's a battery issue? Have you checked the sensor details in the app?


[wip] CI Fixups to target other runtimes

This PR allows running the CI against non-jenkins clusters. It's still WIP but everyone should try it out and let me know how it doesn't work.
ginkgo now honours environment variables to set the image sources to test with, and has an option to pass the environment to subprocesses.
Relevant config
CILIUM_IMAGE & CILIUM_OPERATOR_IMAGE set the images to use. I recommend using a fully qualified image name with tag here.
Internally, there are also CILIUM_REGISTRY and CILIUM_TAG variables but our helm templating treats any CILIUM_IMAGE with a / in it as a fully image path (which is always the case since it would be cilium/cilium).
-cilium.provision=false stops ginkgo from provisioning the CI VMs.
-cilium.kubeconfig=/my/kube/config will use this kubeconfig. It will honour the selected cluster. It also supports authentication schemes such as aws-authenticator that may be needed
-cilium.passCLIEnvironment=true Passes along the environment when invoking kubectl. This is needed when kubectl invokes other programs to do things, like authentication. This is the case with eks.
Example invocation
ginkgo expects to be run from the cilium/test directory
CILIUM_IMAGE="docker.io/cilium/cilium:latest" CILIUM_OPERATOR_IMAGE="docker.io/cilium/operator:latest" K8S_VERSION=1.15  ginkgo -v --focus="K8sDemosTest*" -noColor -- -cilium.provision=false -cilium.kubeconfig=/Users/ray/.kube/config -cilium.passCLIEnvironment=true
Specific targets
Minikube
1- Start minikube as in https://cilium.readthedocs.io/en/latest/gettingstarted/minikube/. You can skip installing cilium and the connectivity check.
2- [temp until we find a solution] Edit test/helpers/kubectl.go with
diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go
index e18f56d35..30bcba1af 100644
--- a/test/helpers/kubectl.go
+++ b/test/helpers/kubectl.go
@@ -86,3 +86,3 @@ var (
                "global.debug.enabled":          "true",
-               "global.k8s.requireIPv4PodCIDR": "true",
+               "global.k8s.requireIPv4PodCIDR": "false",
                "global.pprof.enabled":          "true",

3- in cilium/test CILIUM_IMAGE="docker.io/cilium/cilium:latest" CILIUM_OPERATOR_IMAGE="docker.io/cilium/operator:latest" K8S_VERSION=1.15  ginkgo -v --focus="K8sDemosTest*" -noColor -- -cilium.provision=false -cilium.kubeconfig=/my/kubeconfig -cilium.passCLIEnvironment=true
EKS
1- Follow our getting started guide at https://cilium.readthedocs.io/en/latest/gettingstarted/k8s-install-eks/ to get your tooling working and scale a cluster up. I've successfully scaled the cluster before installing cilium, which the tests will install anyway. Skip the connectivity check.
2- [temp until I figure out something] Change the coredns manifest with the below diff. Adjust the 1.15 to your k8s version.
diff --git a/test/provision/manifest/1.15/coredns_deployment.yaml b/test/provision/manifest/1.15/coredns_deployment.yaml
index 4b09572e4..3c69e566a 100644
--- a/test/provision/manifest/1.15/coredns_deployment.yaml
+++ b/test/provision/manifest/1.15/coredns_deployment.yaml
@@ -73,7 +73,7 @@ data:
             upstream
             fallthrough in-addr.arpa ip6.arpa
         }
-        proxy cilium.test <IP_ADDRESS>:53 {
+        proxy cilium.test <IP_ADDRESS>:53 {
             fail_timeout 10s
             max_fails 0
         }
@@ -193,7 +193,7 @@ metadata:
 spec:
   selector:
     k8s-app: kube-dns
-  clusterIP: <IP_ADDRESS>
+  clusterIP: <IP_ADDRESS>
   ports:
   - name: dns
     port: 53

The eks clusters come up with a different range and coredns should, ideally just use that.
3- in cilium/test CILIUM_IMAGE="docker.io/cilium/cilium:latest" CILIUM_OPERATOR_IMAGE="docker.io/cilium/operator:latest" K8S_VERSION=1.15  ginkgo -v --focus="K8sDemosTest*" -noColor -- -cilium.provision=false -cilium.kubeconfig=/my/kubeconfig -cilium.passCLIEnvironment=true

This change is

test-me-please

test-missing-k8s

test-nightly

test-me-please


Strange glyph icons appear.

Describe the bug
Following the guide of cloning the repository and opening up neovim, the setup completes, but I see strange glyphs everywhere instead of the intended icons.

To Reproduce
I assume this has to do with the fonts on a system, so not sure how to reproduce.
Desktop

OS: Ubuntu:20.04 LTS
Terminal: zsh

Neovim Version
0.9.1

@joram56 you need to install one of the Nerd fonts: https://www.nerdfonts.com/
There's a huge selection, pick one, install it and then configure your terminal to use it.

Since this is a requirement, can it be added to the "Install External Dependencies" section of the readme?

@joram56 You are right, I opened a PR: https://github.com/nvim-lua/kickstart.nvim/pull/703

Here is a new PR for this issue: https://github.com/nvim-lua/kickstart.nvim/pull/716
Which makes the Nerd Font an optional requirement that can be toggled via a global flag.


duration < 0 when test timer.test.ts

Describe the bug
duration < 0 when test:
https://github.com/vitest-dev/vitest/blob/main/test/core/test/timers.test.ts

Reproduction
git clone git@github.com:vitest-dev/vitest.git
pnpm i

press ⌘+⇧+B to run

npm run dev
npm run test
npm run ui

System Info
System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
    Memory: 55.62 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.15 - ~/.nvm/versions/node/v14.17.3/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
  Browsers:
    Chrome: 98.0.4758.109
    Edge: 98.0.1108.56
    Safari: 13.1.3
  npmPackages:
    vite: ^2.8.4 => 2.8.4
    vitest: workspace:* => 0.5.5

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This happened with me too. To solve, i did
beforeAll(() => {
    vi.useFakeTimers()
})

afterAll(() => {
    vi.useRealTimers
})

inside all scopes that uses fake timers

That been said, we should avoid to display timing which have less than one second.
We can display something "less than 1 ms" which is not totally false.


[BUG] Theme breaks when changing Windows Accent Colour

Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions
[X] This issue is about a bug (if it is not, please use the correct template)

Describe your issue
I use the Dark theme for WingetUI. Whenever Windows' accent colour changes, the theming of WingetUI breaks and goes white, but it is not actually switching to the light theme. Text becomes unreadable as well. Only way to fix it is to go to settings, switch to light mode and then back to dark mode. I'll attach a screenshot of the program in the broken state, as well as a video of it happening in the Screenshots and videos part of this template.
Steps to reproduce the issue
Go to Windows Settings app --> Personalization --> Colours
Change the "Accent colour" to anything other than the currently set colour.
After a few seconds, WingetUI theming breaks and goes white/light.
WingetUI Log
🟢 Using cached lang file
🟡 Using bundled lang file (forced=True)
It took 0.003999471664428711 to load all language files
🟢 checkQueue Thread started!
🟡 System chocolatey used
🔵 Language file up-to-date
🔵 Starting main application...
🔵 Looking for alive instances...
🟡 Found lock file(s), reactivating...
 * Serving Flask app 'WingetUI backend'
 * Debug mode: off
🔵 Loading WingetUI AUMID...
🔵 Starting update check
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://localhost:7058
Press CTRL+C to quit
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🔵 Version URL: https://versions.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🔵 Reactivation signal ignored: RaiseWindow_[1695659653.442675]
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\wingetui.exe
{'sudoFound': True, 'sudoVersion': '', 'WingetFound': False, 'WingetVersion': 'Winget is disabled', 'ScoopFound': False, 'ScoopVersion': 'Scoop is disabled', 'PipFound': False, 'PipVersion': 'Pip is disabled', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', '.NET ToolFound': True, '.NET ToolVersion': '7.0.203\r', 'ChocolateyFound': True, 'ChocolateyVersion': '2.2.2  '}
🔵 Reached main ui load milestone
Can't disconnect
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/installed_masked_white.png
🟢 Discover tab loaded successfully
🟢 Total packages: 0
Can't disconnect
Can't disconnect
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/update_masked_white.png
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
Can't disconnect
Can't disconnect
Can't disconnect
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Uninstall tab loaded successfully
🔵 Starting Chocolatey search for installed packages
🔵 Starting .NET Tool search for installed packages
🟢 Searching for string ""
🔵 Reloading Scoop sources...
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting .NET Tool search for installed packages
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated
Can't disconnect
Can't disconnect
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟢 Settings tab loaded!
🔵 Reloading Scoop sources...
🟢 About tab loaded!
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Main application loaded...
🟢 Searching for string ""
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🟢 Chocolatey search for installed packages finished with 33 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 34
🔵 Starting .NET Tool search for updates
🔵 Starting Chocolatey search for updates
🟢 .NET Tool search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for updates finished with 9 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟡 Can't get custom interval time! (got value was '')
🟢 Total packages: 9
🔵 Starting Chocolatey search for installed packages
🔵 Starting .NET Tool search for installed packages
🟢 Searching for string ""
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting .NET Tool search for installed packages
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated
🟢 .NET Tool search for installed packages finished with 1 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for installed packages finished with 33 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 34
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
🔵 Image URL: https://www.marticliment.com/resources/translate.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
C:/Program Files/WingetUI/resources/installed_masked_black.png
C:/Program Files/WingetUI/resources/update_masked_black.png
C:/Program Files/WingetUI/resources/pin_masked_black.png
C:/Program Files/WingetUI/resources/installed_masked_white.png
C:/Program Files/WingetUI/resources/update_masked_white.png
C:/Program Files/WingetUI/resources/pin_masked_white.png
🔵 Loading WingetUI log...
🔵 Saving log...
🔵 Loading WingetUI log...

Package Managers Logs
Outputs from package managers on the current session:
 -------dotnet
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

-------dotnet
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

---------Chocolatey
Chocolatey v2.2.2
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
Maximum tries of 3 reached. Throwing error.
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-fastanswers.extension <IP_ADDRESS>
chocolateygui 2.1.0
chocolatey-os-dependency.extension 0.0.1
chocolatey-windowsupdate.extension 1.0.5
dotnetfx <IP_ADDRESS>20524
flow-launcher 1.16.0
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
localsend 1.10.0
localsend.portable 1.10.0
mpc-be <IP_ADDRESS>
mpvio 0.36.0
mpvio.install 0.36.0
netfx-4.8 <IP_ADDRESS>20524
nirlauncher 1.30.3
notepadplusplus 8.5.4
notepadplusplus.install 8.5.4
streamlink <IP_ADDRESS>
streamlink-twitch-gui 2.4.1
sysinternals 2023.7.26
thunderbird 115.1.0
vcredist140 14.36.32532
winrar 6.23.0
30 packages installed.
--------dotnet
---------Chocolatey
Chocolatey v2.2.2
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
Maximum tries of 3 reached. Throwing error.
Outdated Packages
Output is package name | current version | available version | pinned?

flow-launcher|1.16.0|1.16.1|false
localsend|1.10.0|1.11.1|false
localsend.portable|1.10.0|1.11.1|false
mpc-be|<IP_ADDRESS>|1.6.9|false
nirlauncher|1.30.3|1.30.5|false
notepadplusplus|8.5.4|8.5.7|false
notepadplusplus.install|8.5.4|8.5.7|false
streamlink|<IP_ADDRESS>|<IP_ADDRESS>|false
thunderbird|115.1.0|115.2.3|false

Chocolatey has determined 9 package(s) are outdated.-------dotnet
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

-------dotnet
Package Id                 Version      Commands
-------------------------------------------------------------
dotnet-tools-outdated      0.6.0        dotnet-tools-outdated

---------Chocolatey
Chocolatey v2.2.2
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\choco.exe.old' is denied.
Maximum tries of 3 reached. Throwing error.
chocolatey 2.2.2
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolatey-fastanswers.extension <IP_ADDRESS>
chocolateygui 2.1.0
chocolatey-os-dependency.extension 0.0.1
chocolatey-windowsupdate.extension 1.0.5
dotnetfx <IP_ADDRESS>20524
flow-launcher 1.16.0
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
localsend 1.10.0
localsend.portable 1.10.0
mpc-be <IP_ADDRESS>
mpvio 0.36.0
mpvio.install 0.36.0
netfx-4.8 <IP_ADDRESS>20524
nirlauncher 1.30.3
notepadplusplus 8.5.4
notepadplusplus.install 8.5.4
streamlink <IP_ADDRESS>
streamlink-twitch-gui 2.4.1
sysinternals 2023.7.26
thunderbird 115.1.0
vcredist140 14.36.32532
winrar 6.23.0
30 packages installed.

Relevant information
I noticed it happening because on Windows, I'm using a wallpaper slideshow, with "Automatic accent colour" enabled. It does however also happen on a manual accent colour change while the wallpaper doesn't change.
Screenshots and videos
https://github.com/marticliment/WingetUI/assets/144808356/b6215187-069b-4857-95c0-f8fa7f86dfd5

Possible same cause as #1411

this happens on my pc too

same thing happens to me, was just actually looking for an existing issue to see if i needed to report it or not myself

The same thing is happening to me. I noticed it ~ two weeks ago. The colour accent is auto, but the bug appears not when changing the colour. The bug occurs after the computer wakes up from sleep mode. The temporary solution is to always switch the application theme.

Same here.

same problem here

Same happens when switching from light to dark mode. I'm running AutoDarkMode and every evening wingetUI looks terrible.

I'm experiencing this as well, but in my case I have my Accent color set to Automatic, and it changed anytime my background changes, which happens daily because I use the Windows spotlight background. I wasn't sure what the cause was with WingetUI until coming here to search, but I can now confirm I see the same behavior as the video in the top post when testing changing the Accent color. So just to add, it also happens when Automatic changes the Accent color.

I'm experiencing this as well, but in my case I have my Accent color set to Automatic, and it changed anytime my background changes, which happens daily because I use the Windows spotlight background. I wasn't sure what the cause was with WingetUI until coming here to search, but I can now confirm I see the same behavior as the video in the top post when testing changing the Accent color. So just to add, it also happens when Automatic changes the Accent color.
edit: I also tried deleting ~/.wingetui and restarting the application and can still confirm the issue exists.

I have almost the same setup as you, and am experiencing the same. 😣

A workaround was made in PR #1524, most probably it will get shipped in next release.

yes, this issue was fixed by that PR

This issue seems to have returned file version <IP_ADDRESS>920 or product version 2.20.

Please install WingetUI 3.0.1


Move to .net Standard 2.0

https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/
The library and all dependencies seem to be .net 2.0 compatible according to ApiPort.
So once 2.0 is out I will switch to target that one

Seems like this is not happening in a while. So closing this

This is scheduled for Spring 2017: https://github.com/dotnet/core/blob/master/roadmap.md

Yep. I would say 6 months is pretty long time and it might get delayed.
Also not planning to be in the first wave.