Tests for warnings

@colszowka , regarding #451, I found a partial solution. It seems Ruby warnings are issued without consistency:

From Ruby code, using Kernel#warn
From C code, using rb_warn()
Printing to $stderr directly in some cases

If warnings are issued within an example block, this PR will detect and fail the test. As  bonus, it will not fail tests if warnings were issued by code at some dependency outside the project.
Warnings issued outside example blocks, for example with a require, will not be detected though. The solution, would be to use the same technique, but inside the Rakefile perhaps.
Anyway, partial solution is better than nothing :-D

It failed again with 1.8.7... I can fix again, but does it make any sense to keep supporting a version that has been obsoleted in June 2013?

@fornellas I have some code you can just dump in there and take credit :) https://github.com/metricfu/metric_fu/blob/master/spec/capture_warnings.rb

@bf4, your solution uses temporary files, which is slower than RSpec's implementation that uses StringIO. Other than that, it uses abut the same basic logic: process lines and fetch the ones relevant to project's code.
I recommend you pay attention to temporary files and dirs. It is usually recommended to prefer the block form:
Tempfile.create('foo', '/home/temp') do |f|
   ... do something with f ...
end

because it ensures the file will be cleaned up, even if the block raises an exception. The same applies to $stderr.reopen. You should use a capture block, to ensure it is always restored to its original value (which you should also save). Example:
require 'tempfile'
Tempfile.create('stderr') do |stderr_file|
  original_stderr = STDERR.clone
  begin
      STDERR.reopen(stderr_file)
      STDERR.puts "Example!!"
  ensure
    STDERR.reopen(original_stderr)
  end
  stderr_file.close
  puts "Captured via stderr file:"
  puts File.open(stderr_file.path).read
end

Ruby 1.8.7 isn't "really" supported only so far as that projects don't crash with it. It's the explicit goal of the project to remove that compatibility. Although I feel the pain ;) One might just skip the warning checks for ruby 1.8.7 or replace keep_if which might be rather easy.

Hi there,
thank you for the PR. I've replaced it with #556 that took the code Benjamin suggested and fiddled with it some.
Main reason being, that I didn't feel comfortable replacing Kernel before every spec and then restoring it after keeping the local variable in scope. The other solution is also more general and able to catch a wider range of errors (as you noted they come from more than one source).
On the note of performance, constantly replacing Kernel.warn makes it slower (at least in my testing) than using a Tempfil, I switched it over to StringIO nonetheless :)
About your $stderr concern, afaik STDERR is its original value so it's fine. Resetting it/using Tempfile in block form is quite a bit harder as it executes in a different scope/is called upon during rspec execution.
If you wanna review the PR I made, I'd be happy.
Thanks + cheers,
Tobi


Fail on duplicate interface name and test ovs-bridge + ovs-interface with same name

Signed-off-by: Quique Llorente<EMAIL_ADDRESS>

Coverage increased (+2.4%) to 76.021% when pulling ed1701c08e75a7f7a166726596a48e4dc0c96cce on qinqon:ovs_bridge_interface_same_name into 33c7e0fc9065f0299c57639e55c54623fa1f87b3 on nmstate:master.

Please clarify the intentions and fix the exception.

Does this relate to an inline comment or something else?

Please clarify the intentions and fix the exception.

Does this relate to an inline comment or something else?

It relates to the inline comments.

The validation of the iface name duplication is extracted to separate PR.
The xfail test that points out that we cannot have an ovs-bridge with the same name as the ovs-interface is left and adjusted to expect the validation failure.
Having the ovs bridge with the same name as one of its internal interfaces is a valid OVS configuration that some users are actually using, therefore, it makes sense to resolve this issue one way or the other. The test just reflects that this is not possible in the current implementation.

This PR now depends on #771


AudioSwitcher ignores service keys

I suggest to automatically block assigning some common shortcuts used in Windows and popular browsers. As well, Audio switching should be disabled when typing in TextAreas in browsers, or generally typing a text in a Text Editor or similar program, while listening to a sound played by another program or browser tab.
For example, when typing in forum textfields in Firefox, while listening to a Youtube music in another tab, AudioSwitcher frequently changes speakers when some letters are entered, despite they don't match shortcuts. For example, while I type "D3" on this board or even "3", audio switcher changed to speaker assigned to Alt+3 combo. Typing in textareas should not result in switching speakers, or disregarding Control or Alt keys. May be switching should only work, when textarea field is inactive?

That's entirely unmanageable, there's no way to create a list of shortcut keys that browsers or other applications use.
Users can change any of those.
If a hotkey conflicts from Audio Switcher, then I suggest changing the hotkey in Audio Switcher to something else.

I'm just going to test the alt modifier and see if it is ignoring it.

Looks like it's doing something weird with the alt key modifier, can be re-produced fairly easily.


fix(LockModal): Cannot unlock

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@jiaowoxiaobala  可以解锁屏幕呀，只是重构了下这块吗？

@jiaowoxiaobala 可以解锁屏幕呀，只是重构了下这块吗？

解锁有2种方式，登录密码和锁屏密码。目前是锁屏密码解锁出问题了

@jiaowoxiaobala 可以解锁屏幕呀，只是重构了下这块吗？

@wangjue666 锁屏密码解锁bug

@jiaowoxiaobala  ok


make.js script and Node 16 capability #3438

Task name: none
Description:
To be able to update make.js script to use node 16 we need to upgrade common packages on ts 4.0.2 otherwise it will be
types conflict because when we are using ts version 2 we using our own types, and for ts version 4 we installing packages, so when we compiling
shared packages there is a problem that ts finding not only types from shared packages(common-npm-packages) but also from root node_modules folder,
so that's why the following changes were made:

Deleted docker-common common package because it's not using in any other tasks
Migrated from azure-pipelines-tasks-azure-arm-rest to azure-pipelines-tasks-azure-arm-rest-v2 in JenkinsDownloadArtifacts
Deleted azure-pipelines-tasks-azure-arm-rest because it's not using in any other tasks
Added capability to be able to run tests and builds tasks under node16
Upgraded ts and types to use it with node 6, 10 and 16 in the roots package.json
remove typed.s for mocha, semver, q, not etc. in some tests because we don't need it after upgrade make.js to ts 4
Removed utility-common and migrated all tasks which using it on utility-common-v2 because they are basically the same

Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Checklist:

[x] Task version was bumped - Yes for JenkinsDownloadArtifacts
[x] Checked that applied changes work as expected

/azp run

Closing the PR.
The PR will be separated into 2 different PRs to reduce file count.

to remove common packages wich are not using
to migrate make.js to Node16


[retirements] Wrap retirement details

Lengthy retirement details break page layout spacing.
Wrapping the text should fix this but curious how the page would look 🤔
Questions:

What string length validation do we have on beneficiaryName

Retirement to validate changes against:
https://www.klimadao.finance/retirements/carboncar.klima/1

Might no longer be an issue with https://github.com/KlimaDAO/klimadao/pull/834


Colormap: Add GetImage() to compliment GetSKBitmap()

This is present
https://github.com/ScottPlot/ScottPlot/blob/2e2c9e3aec6dc72e36add56c1ff56a6194fd9851/src/ScottPlot5/ScottPlot5/Interfaces/IColormap.cs#L23-L38
However it would be nice to have a similar method that returned a ScottPlot.Image
This may be as simple as a one-liner, because I think an Image can be constructed form a GetSKBitmap

While you're in there, make the "height" an argument that can be customized

This is working for now
public static ScottPlot.Image GetImage(this IColormap colormap, int height = 1, int width = 256)
{
    using SKBitmap bmp = new(width, height);
    using SKCanvas canvas = new(bmp);
    using SKPaint paint = new() { IsStroke = true, IsAntialias = false, StrokeWidth = 1 };

    for (int x = 0; x < width; x++)
    {
        double frac = (double)x / (width - 1);
        ScottPlot.Color color = colormap.GetColor(frac);
        paint.Color = color.ToSKColor();
        canvas.DrawLine(x, 0, x, height, paint);
    }

    return new ScottPlot.Image(bmp);
}


Add all path redirect to GiT

Trello card
Trello-4793
Context
Add wildcard redirect FROM https://adviser-getintoteaching.education.gov.uk/ TO https://getintoteaching.education.gov.uk/teacher-training-adviser/sign_up/identity (once there are no people left in the middle of the funnel on the adviser site)
Changes proposed in this pull request
Guidance to review

@plisovin I've tested this as best I could, by adding page slugs to the review app link - seems to work fine and redirects to the start of the funnel on GIT

@plisovin - Do you think route spec or a test for the redirect is a good idea here ? This is to safeguard against any regression.

Good point! Added a test in this commit


⚠ Bofrost.at has degraded performance

In 3bad336, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 922 ms

Resolved: Bofrost.at performance has improved in 6092a71 after 6 minutes.


postInstall and postUpdate script when having a shared vendor folder

I can see that the postInstall and postUpdate scripts to copy the two files are based on the relative path of the Vendors folder.
But in my project this folder is shared, so the scripts are failing.
Could you maybe provide a solution for this or update the scripts to it's based on the root of the project maybe?

Hi,
Sure, I didn't consider this case.
Will check the Composer API to find a solution tomorrow night.
Cheers

@ninsuo awesome, thanks !

This wasnt't that easy but I found a way.
The point is that the "baseDir" stored in composer configuration is a private property without getter... So I need to use extras parameters to let you write an optional destination path for the view and the asset.
Will finish tomorrow.

Hi @ninsuo, any update on this ?

Hello @picks44 and sorry for the delay.
I'm working abroad right now and will come back next week.
Thanks for your patience,

No worries! :)

@ninsuo doas the new version solve this issue?

Hey picks44,
No I didn't fix this issue yet, sorry about that... I'm working on many projects and prioritize on the ones that gather money.
Can you try to provide a workaround and create a PR?
I'll try to find some time working on it but those days are tough.

Alright I'll try, but I'm no specialist :/ but I'll try ;)


Added Q.firstiResolved(promisesArray) method.

Returns a promise fulfilled with the value of the first resolved promise in promisesArray. If all promises in promisesArray are rejected, the returned promise is rejected with an array with the reasons of all rejected promises.

@kriskowal
I thought this method could be useful.

For what it’s worth, this shows most of the of effort necessary to add a feature to Q in terms of code, documentation, and tests. However, this is very similar to the existing Q.race, and combined with Q.allSettled, provides the same capabilities. I’m inclined not to add this method to the interface. In the next major version, I am rather looking to reduce rather than grow Q.

How would you implement the same capability using Q.race? I thought about it and couldn't come up with something.
The problem with Q.race is that it rejects with the first rejected promise, and it's not possible to resolve with the value of a promise resolved later.
If you use Q.allSettled, then you have to wait for all promises to come out of pending to finally resolve, even though you could have been done much earlier.
My implementation is the fastest way to resolve with the first resolved promise, and only if everything rejects, then wait for all promises to be done and reject.
I would be happy to work more on improving the documentation or the tests, with help of your feedback.

The following pattern seems fitting.
return Q.race(promises)
.then(function onFulfilled(first) {
    // ...
}, function onRejected(firstError) {
    return Q.allSettled(promises)
    .then(function (resolutions) {
        // ...
    });
});

I think that will not do: if the first promise to become not pending with race happens to be rejected, you will have to wait for all promises to become not pending to find the first one that was fulfilled using allSettled. Ideally I would like to finish as soon as I have a resolved promise. Here is a use case: let's say you want to get some data which is the same or similar from many different sources. You would like to finish as soon as you get the first promise resolving with the data you need. If attempts to get the data from other sources fail, just ignore those rejected promises.

Is this what you are describing? https://esdiscuss.org/topic/promise-any

Yes, exactly that. So, what do you think?

I would accept a PR for the any as described by @tobie. It is the sensible dual to all and distinct from race. This is not quite ready and I will note where.


[Duplicate] Bool type support in function signature encoding

Thank's for this incredible sharp swiss-army knife. I wonder if it's still being maintained. Straight to the issue.
The function arguments encoding doesn't support bool types. As we can see in  EncodeArguments function.
As the result ceth exits with unsupported argument type { bool false}. Case for tuple is not implemented either but I haven't dig into it.
Example
Command: ceth contract call --debug --account=key1 "setApprovalForAll(address,bool)" $operator false // or 0/0x00
Output: Error: unsupported argument type { () false}

Double submission. Please delete.


Could not load file or assembly 'System.Collections.Immutable' after upgrading ASP.NET to 1.1

I've upgraded to ASP.NET Core 1.1 (packages, SDK, VS ASP.NET tools), and now I'm getting the following exception when processing a page:

System.IO.FileLoadException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Could not load file or assembly 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Collections.Immutable, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Some stack trace:

at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorReferenceManager..ctor(ApplicationPartManager partManager, IOptions`1 optionsAccessor)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitClosedIEnumerable(ClosedIEnumerableCallSite closedIEnumerableCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass16_0.b__0(ServiceProvider provider)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.AspNetCore.Mvc.ViewResult.d__26.MoveNext()

The runtime used is full .Net Framework. Here is the dependencies list:
 "dependencies": {
    "Microsoft.AspNetCore.Authentication.Cookies": "1.1.0",
    "Microsoft.AspNetCore.Authentication.OpenIdConnect": "1.1.0",
    "Microsoft.AspNetCore.Diagnostics": "1.1.0",
    "Microsoft.AspNetCore.Mvc": "1.1.0",
    "Microsoft.AspNetCore.Razor.Tools": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Routing": "1.1.0",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
    "Microsoft.AspNetCore.StaticFiles": "1.1.0",
    "Microsoft.Azure.ActiveDirectory.GraphClient": "2.1.1",
    "Microsoft.Azure.Search": "1.1.3",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
    "Microsoft.Extensions.Configuration.Json": "1.1.0",
    "Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
    "Microsoft.Extensions.Logging": "1.1.0",
    "Microsoft.Extensions.Logging.Console": "1.1.0",
    "Microsoft.Extensions.Logging.Debug": "1.1.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
    "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0",
     <Non-MS project packages>
  }

I just cleaned the bin/ folders then this error disappeared.

@RemyBoyer  In my case that wasn't enough. I had to delete  'System.Collections.Immutable' package of version <IP_ADDRESS> from the NuGet cache to make all working. That means I'm not sure if this issue won't reappear if the package of that version gets in the cache again.

@pranavkm @ericstj any ideas on this?

Most likely a bad app.config. Deleting the bin directory should work. I'm not entirely sure why "Clean" doesn't help here though.'  Similar issue here - https://github.com/aspnet/Home/issues/1826

@pranavkm I don't have app.config.

The CLI typically produces an app.config for projects targeting desktop (net4x). These don't seem to get removed as part of clean and are usually the cause of these sort of issues. Perhaps forcing the restore (by removing the package from the global install directory) caused it to rebuild the config which fixed the issue. I'm not entirely sure why the file in the .nuget directory would be incorrect. You could try wiping all your nuget caches (http://docs.nuget.org/ndocs/tools/nuget.exe-cli-reference#locals) to be certain this isn't caused by bad caching.

@pranavkm If you're talking about an autogenerated app.config (which is produced in the bin folder and is not present in the project tree), then you're right, I have one. Here's what it has after the cleanups I did:
<dependentAssembly>
        <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
        <bindingRedirect oldVersion="<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>

As I managed to get it working and we have an explanation of a possible cause, I'm closing this issue, thanks to everyone 👍

We are experiencing this issue on Azure.
How do you force Azure to clear the Nuget cache?

I was having a similar problem, I initially tried flushing the nuget cache with
nuget locals all -clear

But this didn't seem to solve anything
then I deleted the contents of the bin directory and this seemed to sort things out


TVFocusGuideView prevents any onPress

Description
I want to make my app compatible with mouse incase some users want to use them on their TV, but trying to do so with TVFocusGuideView does not work. It seems TVFocusGuideView covers the child component that has onPress on it and so the event does not get fired.
Version
0.71.11-0
Output of npx react-native info
System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
    Memory: 13.76 GB / 31.84 GB
  Binaries:
    Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK:
      API Levels: 23, 29, 30, 31, 32, 33
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 33.0.0
      System Images: android-28 | Android TV Intel x86 Atom, android-29 | Android TV Intel x86 Atom, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-31 | Android TV Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64, android-33 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: AI-212.5712.43.2112.8609683
    Visual Studio: 17.6.33723.286 (Visual Studio Community 2022), 16.11.31729.503 (Visual Studio Community 2019)
  Languages:
    Java: 19.0.2 - C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: Not Found
    react-native-tvos:  0.71.11-0
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
Wrap a TouchableOpacity with onPress in a TVFocusGuideView and try to click it with a mouse.
Snack, code example, screenshot, or link to a repository
    <TVFocusGuideView autoFocus>
      <TouchableOpacity
        onPress={() => console.log("pressed")}>
            <Text>Press</Text>
      </TouchableOpacity>
    </TVFocusGuideView>

@DevineDecrypter is this Apple TV or Android TV?

@douglowder The problem persists in both platforms.

@DevineDecrypter what type of mouse did you use to connect to an Apple TV? As far as I am aware, there is no mouse support in tvOS. See this response from Apple: https://developer.apple.com/forums/thread/710522

@douglowder I tested the mouse in emulator for tvOS, and for AndroidTV i tested with variety of Devices and emulator.
Mouse support in tvOS is not AS important in AndroidTV so if it can not be supported it is fine.
The importance of conflict between TVFocusGuideView and Mouse clicks is due to some Android Boxes not supporting the onFocus and onBlur events.
Some Android Devices are labled with "AndroidTV" as their operating systems, but they are really just Android wrapped as an Android Box, so onFocus and onBlur events do not get fired for the code to assign them their stylings, and so the navigating experience becomes a nightmare.
For this cause I want to use TVFocusGuideView for a better navigation, but it prevents the mouse support for said Android devices.

@DevineDecrypter thanks very much for the extra detail, this helps a lot!

It seems like I had an absolute full width & height in my app.tsx and it prevented any focus, there were no problems with TVFocusguideView.
My apologies for my mistake that took your valuable time.

@DevineDecrypter We really appreciate you letting us know -- this will be useful for other developers in future who may run into similar issues!


Fails on Azure German Cloud

The WebJob is failing on Azure German Cloud. Is it trying to contact the general Azure portal instead of portal.microsoftazure.de?
ERROR: Encountered exception: Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS90038: Confidential Client is not supported in Cross Cloud request.

Could you provide the full log?

Interesting, it looks like I need to add support for some more parameters:
https://github.com/sjkp/letsencrypt-siteextension/issues/64
https://github.com/sjkp/letsencrypt-siteextension/wiki/Azure-Germany,-US-or-China
I will try and get to it as soon as I can.

I had the same problem today. Do you have an update on the progress to support the German Azure Cloud?
Thanks!

@berhir I'm hoping to add it tomorrow, if not then probably next week. Of course I will accept a PR too :)

Just released 0.8.5 with this feature.


Encoding not working because of volume argument on FFmpeg command

I was always getting an empty session when encoding, without getting any errors.
I manually tried the command used to encode and got this:
Unrecognized option 'vol'.
Error splitting the argument list: Option not found

So i checked the arguments the package is sending (encode.go):
// Launch ffmpeg with a variety of different fruits and goodies mixed togheter
	args := []string{
		"-stats",
		"-i", inFile,
		"-reconnect", "1",
		"-reconnect_at_eof", "1",
		"-reconnect_streamed", "1",
		"-reconnect_delay_max", "2",
		"-map", "0:a",
		"-acodec", "libopus",
		"-f", "ogg",
		"-vbr", vbrStr,
		"-compression_level", strconv.Itoa(e.options.CompressionLevel),
		"-vol", strconv.Itoa(e.options.Volume),
		"-ar", strconv.Itoa(e.options.FrameRate),
		"-ac", strconv.Itoa(e.options.Channels),
		"-b:a", strconv.Itoa(e.options.Bitrate * 1000),
		"-application", string(e.options.Application),
		"-frame_duration", strconv.Itoa(e.options.FrameDuration),
		"-packet_loss", strconv.Itoa(e.options.PacketLoss),
		"-threads", strconv.Itoa(e.options.Threads),
		"-ss", strconv.Itoa(e.options.StartTime),
	}

I dont know if this was working for an older version of FFmpeg, or it's just a Windows problem, but vol does not exists as an argument.
Removing it correctly encodes the file.

so exactly which ffmpeg versions are compatible? whenever necessary, changing the dependencies source kinda sounds absurd to me

I linked the pull request https://github.com/jogramming/dca/pull/32 with the correct volume setting, instead of just removing the line.

which ffmpeg versions are compatible?

I assume old versions had that argument as valid, since now it doesn't exist in their documentation. I'm not sure when it changed.
Unfortunately I'm using windows for this project, so the version I'm printing is something weird, like ffmpeg version 2023-07-16-git-c541ecf0dc-full_build-www.gyan.dev.


Collaboration

Hi Meandmax, you are a genius! lory is awesome.
I'm Andrea a Developer from Italy :-)
Can i use lory in my new front-end framework? take a look: https://github.com/afmarchetti/alux
It would be great to add a slider as lory, obviously with the credits and the license you want.
Thank you for your great job,
have a nice day.
Andrea.

As I said! Of course you can :+1: its open source ;)


unrealistic friction

See https://codepen.io/anon/pen/xjXGBE.
The box will slide really really slowly down the hill. In real world the static friction would have kicked in much earlier and stopped the object from moving. How can we simulate that?

I think this could be caused by #612 (which should be re-opened).

I have the same problem, and we can even see in the Friction demo, where you can spawn a box with maximum friction and static friction and the object still slides. Even applying Infinity doesn't help.


Confirm property value change on focus loss (as opposed to hitting return/enter)

It would be great if you could confirm a value change by just click away from the property value text-box instead of hitting enter. I remember reading a forum post suggesting this feature a while back. I downloaded Godot v1.1.beta1 to see if the feature was added, but it seemed to be the same as 1.0.release. Or maybe it's implemented hidden in settings somewhere. I know it's not a high-priority feature, but since i couldn't find this request on github, i decided to make one.

this is  1.2 material, which will focus on usability enhacements..  do you think you could add it to the google group doc with the usability enhacements planend for 1.2?

That's indeed a must have for 2.0 in my opinion, I've got used to the "press entern to confirm" behaviour in the end, but at first I found it really frustrating, and I've seen in video tutorials that others do too.


Timeout callback can occur in the middle of a digest cycle in Firefox

It appears that, in Firefox only, certain actions cause it to process the timeout queue on top of the current call stack.  If the current call is in a digest cycle, and a $timeout with invokeApply=true gets triggered, this results in a $apply already in progress error.
See http://plnkr.co/edit/9V1jQSaszbjrt9F5ACjk?p=preview for a repro that uses window.open to trigger timeout processing.  If you click on the button you'll see the following sequence in the console:
"before window open" script.js:6
"timeout" script.js:5
"Error: [$rootScope:inprog] $apply already in progress
http://errors.angularjs.org/1.3.1/$rootScope/inprog?p0=%24apply
minErr/<@http://code.angularjs.org/1.3.1/angular.js:80:12
beginPhase@http://code.angularjs.org/1.3.1/angular.js:14463:1
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://code.angularjs.org/1.3.1/angular.js:14207:11
timeout/timeoutId<@http://code.angularjs.org/1.3.1/angular.js:15945:25
completeOutstandingRequest@http://code.angularjs.org/1.3.1/angular.js:4842:7
Browser/self.defer/timeoutId<@http://code.angularjs.org/1.3.1/angular.js:5215:7
$scope.click@http://run.plnkr.co/AFImpHzuwgSHuYUW/script.js:7:5
$parseFunctionCall@http://code.angularjs.org/1.3.1/angular.js:12114:15
ngEventHandler/</callback@http://code.angularjs.org/1.3.1/angular.js:22548:17
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://code.angularjs.org/1.3.1/angular.js:14110:16
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://code.angularjs.org/1.3.1/angular.js:14208:18
ngEventHandler/<@http://code.angularjs.org/1.3.1/angular.js:22553:17
createEventHandler/eventHandler@http://code.angularjs.org/1.3.1/angular.js:2979:9
" angular.js:11339

"after window open"

Tested on Firefox 33.1.1 in Windows 7 and OS X with Angular 1.3.1, but I've observed the same thing on older versions of both Firefox and Angular so it's not a regression.  I used window.open to trigger timeout processing for the repro but I have reason to believe that other operations can do it too.  I haven't seen this happen in Chrome or any other browser.
I don't know the formal spec of setTimeout well enough to guess whether this is a bug in Firefox or not, but in either case it seems like something that's worth guarding against in Angular.

This is affecting our application.
We are receiving a bursty flow of messages over a web socket, and handing them to a web worker for (reasonably expensive) processing immediately. Now the general advice is to run anything that comes in to the application in a $rootScope.$apply, but we want to avoid trying to digest 50+ times a second. So when the worker postMessages back to the window with the result, we run some service code outside of $rootScope.$apply and then call a throttled version of $rootScope.$apply to limit our digest rate.
We are seeing in Firefox, that if the throttled function (underscore.js, which uses setTimeout) is scheduled to run but the main thread is busy in a digest at the time, Firefox tries to run the $rootScope.$apply on top of the current call stack - causing the error seen above.

@rwilliams-scottlogic - I think you might benefit in your use case from using $scope.applyAsync. See http://blog.thoughtram.io/angularjs/2015/01/14/exploring-angular-1.3-speed-up-with-applyAsync.html

@petebacondarwin It looks like $applyAsync still uses setTimeout (based on the linked article), so it would remain susceptible to this bug.  In my app, I ended up monkeypatching $digest and $apply to skip the digest if it was already in progress.  I hate messing with deep infrastructure like that but so far it seems to be holding up...

How about $evalAsync (which is kind of a "safe $apply") ?

If multiple threads are executed on the same context, then other things on
top of digest can go wrong. Is there a bug report at Firefox?

I found a 2006 "resolved incomplete" bug for "Functions registered with setTimeout may be executed in the same stack on MacOS X".
I've opened a new issue for what we are now seeing: https://bugzilla.mozilla.org/show_bug.cgi?id=1127236.
It also appears that "message" event handlers attached to web workers can be run on top of the current call stack, if the main thread is busy when the worker posts a message to the window.

On further investigation, it appears that my "running on top of stack when main thread busy" only happens if the "long running script" warning is triggered. Once it appears, we're in trouble regardless of what the user chooses.

I move this out of a release until the FF team respond to the bug report

I've updated the BugZilla issue - I don't believe that setTimeout causes an issue unless you're experimenting with breakpoints. The worker onmessage case is an issue, so I renamed that issue's title.

(Info from the duplicate issue I filed):
It can definitely cause issues without using breakpoints.  All you need is a $timeout to occur when an alert or confirm popup is open.  Then you get the $apply already in progress error when closing the popup.
Use this to reproduce the issue: http://plnkr.co/edit/gPe7tQyZzC9eCCpsNcqw?p=preview

I see that the BugZilla issue hasn't made any progress, but this problem still exists.
The problem does not seem to be limited to popups and alerts. As an example, installing Avira anti virus which injects code into the dom causes this error to occur. The error is random and cannot be replicated accurately, but it is an error none the less.

As I mentionned on the Bugzilla of Firefox :
We are running into this issue on Firefox 41 and 40, on Windows and Linux. This generates tons of errors on our production app, only in Firefox. All other browsers work nicely.
This is clearly linked only to Firefox, in which we have digest errors triggered more or less randomly in the app, but reading this topic, pretty much all of them are linked to usages of $timeout...
Is there a workaround or a monkey patch that could be used in Firefox while we wait for a bug fix ?

Here's the patch I use, which makes $digest and $apply re-entrant.  I doubt the Angular folks will view it favorably but it does fix the problem in the interim.
.config(function($provide) {
  // Workaround for https://github.com/angular/angular.js/issues/10083
  $provide.decorator('$rootScope', ['$delegate', '$exceptionHandler',
    function($delegate, $exceptionHandler) {
      var proto = Object.getPrototypeOf($delegate);
      var originalDigest = proto.$digest, originalApply = proto.$apply;
      proto.$digest = function() {
        if ($delegate.$$phase === '$digest' || $delegate.$$phase === '$apply') return;
        originalDigest.call(this);
      };
      proto.$apply = function(fn) {
        if ($delegate.$$phase === '$digest' || $delegate.$$phase === '$apply') {
          try {
            this.$eval(fn);
          } catch(e) {
            $exceptionHandler(e);
          }
        } else {
          originalApply.call(this, fn);
        }
      };
      return $delegate;
    }
  ]);
})

Ok, yes I see that you use the safeApply approach to mitigate the bug. I was wondering if there was any other solution. But your decorator way is pretty neat.
Wouldn't it be better to apply this monkey patch, ONLY in Firefox though ?
Thx for the code !

You could certainly restrict it to just Firefox -- I decided in favor of having all my clients running as similar code as possible.

Fair enough. For now, I'll start by trying it out only on FF to see if the mountain of related bug reports we have goes away, and then I'll see to extending it.
Thx !

Spent a couple hours tonight tracking down a "$apply already in progress" error tonight, and discovered I was being bit by this issue. Somewhat amazingly, I have a consistent reproduction, but unfortunately it is on a local dev build.
This is an especially hard-to-track bug because Firefox mangles the call stack, making it appear as though the error was caused by a synchronous call to the $interval/tick() function, when in fact tick() is the top of the stack. Obviously this is not Angular's problem, but that's a taste of the insanity encountered in tracking this down.
Short of using a workaround like @pkaminski provided, is there a recommended solution? It doesn't seem any progress is being made on the Bugzilla issues, but I'm at a point now where I can't even develop my Angular app in Firefox because of this issue.

Unfortunately, this is still an issue in Firefox 46. Being reproducible without Angular though, this is a Firefox bug, that we can't do much about.
I'll close this since there is already a bug report for Firefox.


ARROW-1948: [Java] Load ListVector validity buffer with BitVectorHelper to handle all non-null

Need to properly set the ListVector validity buffer for the case when the field has all non-nulls.  This is done already in BitVectorHelper.loadValidityBuffer, so just need to build the buffer with a call to that function.

ping @siddharthteotia @icexelloss .  I checked all other implementations of loadFieldBuffers and they all look ok, but if one of you could double check that would be great.

+1 LGTM

Thanks @siddharthteotia!  The travis failure seems unrelated and Java tests passed so I'll try to merge


Support Zeebe 1.1

Adds support for:

bpmn:SendTask
bpmn:ScriptTask
bpmn:BusinessRuleTask

Related to camunda/camunda-modeler#2296
Related to camunda/camunda-modeler#2297
Related to camunda/camunda-modeler#2298

I find it odd that coverage is not reported here.

I believe we can release this one, right? Or is there more stuff we're waiting for?

Not from my side. I will release it today.

Actually there is one thing I'm following up with: https://github.com/camunda/camunda-modeler/issues/2267.


update e2e test

What this PR does / why we need it:
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Codecov Report

Merging #1061 (afe4f68) into main (3f8bec5) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main    #1061   +/-   ##
=======================================
  Coverage   42.36%   42.36%
=======================================
  Files          24       24
  Lines        1584     1584
=======================================
  Hits          671      671
  Misses        842      842
  Partials       71       71

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove reboot test case for unity quick sanity.

Description
Unity quick integration test is further streamlined, but removing the 'reboot' test cases.
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

#22

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?
Run internal Jenkins job to run tests against unity; was able to complete successfully.

@ameer-jabbar: Thank you for submitting your pull request!
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>


Auth returning 406 Status

Bug report
Describe the bug
Hello im not sure if i should open this issue here or on the actual Supabase Repo but When i attempt to authorize on my website using it returns the following errors:
New User

Failed to load resource: the server responded with a status of 406 ()

Existing User

GET https://zmsbaentcljnuhzjasbw.supabase.co/rest/v1/profiles?select=id%2Cusername%2Cavatar_url%2Cdisplay_name%2Cbio&id=eq.cf44bcb5-e511-4471-9de3-58a36408cf75 406 This error also return some additional info i will attach a screenshot below.

To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Click on 'Login'
Choose a provider
Wait for loading
See error

Expected behavior
Upon login it should fetch info from the Supabase database such as username etc but for some reason it returns a 406 (For new users) or the error shown in the screenshot if the user already exists (Not their first time authorizing)
Screenshots
New User:
Existing User:
System information

OS: Windows
Browser: chrome
Version of supabase-js: ^1.28.5
Version of Node.js: ^16.13.0

Additional context
I do have the Database configured and all the tables added but im thinking maybe i chose the incorrect column type is that possible to be the cause in this case? otherwise im not sure what the issue is here. Please let me know whatever info you need id be happy to provide it
This error is preventing the auth from being completed so any assistance in resolving it is greatly appreciated 😅

Hey @TheRealToxicDev, doesn't setUser just set the state? this seems like a problem with your useLocalStorage hook
It might be worth posting your question in the github discussions as well since this doesn't seem like an error with the client library. Will be closing this issue for now.


Have the todo issue's body update with edits in future commits

Is your feature request related to a problem? Please describe.
I would like to be able to update the body of an issue, for example to check off something in a task list. Example -
Initial commit:
 [//]: # TODO Testing in markdown
 [//]: # BODY Here's a description
 [//]: # BODY
 [//]: # BODY - [ ] Unchecked item 1
 [//]: # BODY
 [//]: # BODY - [ ] Unchecked item 2

Updated commit:
 [//]: # TODO Testing in markdown
 [//]: # BODY Here's a description
 [//]: # BODY
 [//]: # BODY - [x] This is now checked
 [//]: # BODY
 [//]: # BODY - [ ] Unchecked item 2
 [//]: # BODY
 [//]: # BODY - [ ] This is a new item

Describe the solution you'd like
I would like it to update the body.
Describe alternatives you've considered
N/A
Additional context
Please see this repo for tests https://github.com/Pawper/Testing-Workflow/issues

Oooh this would be really cool. It's fairly straightforward too, we'd have to search for the issue and, if it exists, update it rather than do nothing (which we already handle). Thanks for this suggestion @Pawper ❤ If you're up for it, a PR would be great - happy to help point you in the right direction!

Haha OK. I cloned the repo, and I think I am supposed to be looking at check-for-body.js (or check-for-body.test.js). But I've no idea what to do next. I'll take a closer look after work.

@JasonEtco I'm sorry to say, I think it may be beyond my decade-rusty beginner JavaScript. Is this where I should be looking?
// Prevent duplicates
    const existingIssue = await checkForDuplicateIssue(context, title)
    if (existingIssue) {
      if (typeof existingIssue === 'string') return
      context.log(`Duplicate issue found with title [${title}]`)
      return reopenClosed({ context, config, issue: existingIssue }, { keyword, sha, filename })
    }

I think what I am seeing is if existingIssue is a string it returns nothing, which it would be a string if counted in search results & defined by this in check-for-duplicate-issue.js:
  if (search.data.total_count !== 0) {
    const existingIssue = search.data.items.find(issue => issue.title === title)
    return existingIssue
  }

So I guess the logic would be, if it is an existing issue we need to check if the body has changed, and if it has, we need to update the body.

No worries at all @Pawper! I was serious when I offered to help, I'm not in a rush to have this figured out so I'm all for pointing you in the right direction as your JS becomes less-rusty 😁
You're definitely on the right track - checkForDuplicateIssue will return the existing issue that we care about:
https://github.com/JasonEtco/todo/blob/4f399561f4717bb87faab07a687c0ca64d8cd966/lib/utils/check-for-duplicate-issue.js#L17
It returning a string should be better commented - in one "run" of todo, as it parses a diff, it will keep track of repeat TODOs in an array. Upon seeing a repeated comment, checkForDuplicateIssue will return that soon-to-be-issue's title - telling the loop for creating issues not to create a duplicate. It's a bit of a mess of race conditions, but this ensures some reliability 😅
We'll probably want to add functionality very similar to reopenIfClosed - after finding an existing issue, it says "is it closed? Should we reopen it?" - we'd want to now say "let's edit it!"
https://github.com/JasonEtco/todo/blob/4f399561f4717bb87faab07a687c0ca64d8cd966/lib/push-handler.js#L37
Probably something along the lines of this, after where we declare the body:
if (existingIssue && existingIssue.state === 'open') {
  return editIssue({ context, issue: existingIssue, body })
}

And editIssue will do something like:
async function editIssue ({ context, issue, body }) {
  return context.github.issues.update(context.repo({ number: issue.number, body }))
}

Alright, I tried to drop that code in where you indicated - however now I'm having trouble sending a pull request, haha. I'm flying a bit blind here.
Is it because I am on the master branch in my clone of the repo? or am I supposed to target a specific branch? I'm not sure, haha. I need to do some research.
Here's my changes, in the green

I think the problem may be that I cloned instead of forking. I gotta eat, but I'll poke more after.

There we go ! https://github.com/JasonEtco/todo/pull/204


Regression: can't make fine-tuning work with AlexNet

Tried to fine-tune from pre-trained alexnet and standard regression prototxt, but it doesn't work.
Successfully upgraded file specified using deprecated V1LayerParameter
Check failed: ShapeEquals(proto) shape mismatch (reshape not set)

might depend of #10


Add advancement for shattering Excavation Block

Since the mechanic of brushing Excavation Blocks is not communicated good enough, leading to many players think that mod is bugged or that they are unlucky that nothing is dropping, the advancement that would show up after unsuccessful excavation could point players in right direction

I should also add note in the advancement description that difficulty of brushing can be altered in config, since some players seem to have difficulties moving mouse enough that leads to understandable frustration


feat(auto_parking): automated valet parking implementation

Description
This PR contains the initial implementation for the avp module.
The auto_parking module is made as a separate node under planning. The avp consists of two phases, 1) setting a goal to the nearest parking lot, driving to parking lot and 2) searching for a free parking space once inside the parking lot. The module publishes appropriate goal poses during the different phases. The following nodes are required to be running for auto_parking_node:

freespace_planner
goal_planner and start_planner
scenario_selector

and related modules. The scenario_selector directs either freespace_planner  or goal_planner and start_planner to generate trajectory based on goal pose published by auto_parking.
Phase 1:
Depending on initial pose when the auto_parking feature is engaged, a goal pose is set at the exit of the parking lot. This pose is first found by getting nearest parking lot, parking spaces inside and lanelets inside the parking lot from the lanelet map. By ordering the lanelets based on routing distance from current position, the exit lanelet is found. Ideally the auto_parking feature should be engaged from outside parking lot so the ordering is proper. The ego vehicle then drives to parking lot exit lanelet, passing through the parking lot. This driving can be in LANEDRIVING or PARKING scenario depending on whether start pose is already inside a parking lot.
Phase 2:
Once inside the parking lot, while driving to exit lanelet goal, the algorithm searches for a free parking space using the astar. Once a free space is found a new goal is set and trajectory is generated by the freespace_planner as scenario is PARKING.
Auto Park Node Configurations
th_arrived_distance_m: 1.0 // threshold for arrival at goal
th_parking_space_distance_m: 10.0 // search parking spaces within this radius from ego
update_rate: 5.0 // AutoParking node timer rate per second
vehicle_shape_margin_m: 0.2 // Vehicle shape margin for astar search

# fpa configs
.
.
.

The auto_parking node is also integrated with rviz allowing you to trigger auto parking from the simulator interface. ENABLE activates the auto parking, clicking the STOP button disables it.

Demo:

Multiple obstacles in parking space

target.webm

Costmap only sees one obstacle in the beginning

target2.webm

Dynamic avoidance when introducing sudden obstacles and re-planning

target3.webm
Related links
Related launch PR: https://github.com/autowarefoundation/autoware_launch/pull/949/files
This PR requires the updated astar implementation, related PR's include:

https://github.com/autowarefoundation/autoware.universe/pull/6526
https://github.com/autowarefoundation/autoware_launch/pull/911
https://github.com/autowarefoundation/autoware.universe/pull/6562
https://github.com/autowarefoundation/autoware.universe/pull/6623

The implementation working is also described here:

https://tier4.atlassian.net/wiki/spaces/~117245171/pages/3072525734/Automated+Parking+Implementation+using+improved+free-space+planner

Tests performed
Tested on multiple start pose cases inside and outside parking lot. Multiple patterns of obstacles also tested. The rviz panel also accounts for when start pose is not initialized and shows right state after finishing autoparking.
Notes for reviewers
All PR's in related links are pre-requisites for this PR +
launch PR: https://github.com/autowarefoundation/autoware_launch/pull/949/files
Interface changes
New services, topics added for auto_parking. tier4_state_rviz_plugin modified.
Effects on system behavior
Allows automated parking from a valid start pose.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@takayuki5168 @mkquda hello,
@NorahXiong from AutoCore will take over this task, do you have anything to share on this PR?

@takayuki5168 @mkquda hello,
@NorahXiong from AutoCore will take over this task, do you have anything to share on this PR?

@xmfcx
Its great to have someone work on this feature, I'm curious is the intention to continue on the work done in this PR, or use it as reference point?
I think ideally it would be better to use this PR as reference for coming up with a well defined set of requirements and specifications for the AVP feature.
You can also refer to these previous discussions about AVP which can give some insight:

https://github.com/orgs/autowarefoundation/discussions/5220
https://github.com/orgs/autowarefoundation/discussions/5273

I was wondering if this could be revived with a small effort and got merged. But I see that this is a large scale project to enable AVP and we don't have an urgent need for this feature.
Along with the other parking related PRs, I thought this was a simple addition.
I think we can close this PR and just tag it as a reference under the discussions above.
cc. @mitsudome-r @NorahXiong @mkquda


Download folder?

Can't seem to get this to point to a shared drive with folders and download everything... Is this possible?

did you ever find a way to download an entire shared folder?

Yes, downloading a whole folder would be so great


GUI: Dockerize the app

Use twxplore/app/geo (/Dockerfile and /gui/Dockerfile) and twxplore/docker-compose.yml as guides.

We got this more or less for free by adapting the twxplore code.


fix: Remove workflow controller as unused

Replaces #6140

/lgtm

@mrageh there is a merge conflict?

/lgtm

/lgtm


Babashka / sci support

Hi,
Your project looks nice and while I do have some inheritted resistance to putting tests in the same file as code I also see the benefits.
I am writing libraries and pieces of code that also target babashka - since I use some of them for scripting.
I would like to know if this works with sci/babashka .
If I use this in libraries - would they work with babashka ?
If you have not considered babashka before, this issue is just for that :).
Thanks,

RCF doesn't force you to put tests in the same file as your source, you can put them anywhere you think they belong.
We didn't considered Babashka yet.  Contributions are welcome 👍
Thank you for creating this issue, we will use it to track Babashka compatibility.

It seems to work:
https://www.reddit.com/r/Clojure/comments/txnqv6/rcf_is_now_stable_replfirst_test_macro_for/i3oqyda/?utm_source=reddit&utm_medium=web2x&context=3

While the versions linked by @borkdude work, it doesn't work with master, analyzer.clj throws an error
: Could not resolve symbol: clojure.core/in-ns user

Interesting behavior from bb repl
user> `in-ns
;; => clojure.core/in-ns
user> #'clojure.core/in-ns
: Could not resolve symbol: clojure.core/in-ns user
user> clojure.core/in-ns
: Could not resolve symbol: clojure.core/in-ns user *cider-repl git/fluent-platform:localhost:1667(clj)*:1:1

Of course there might be more gotchas along the way.

@xificurC When I posted the last comment it still worked. You may want to bisect from there to see what caused it. I think currently in-ns is treated more as a special form than a macro/var in SCI.

@borkdude maybe this should be fixed in sci then? in-ns is just a function
https://github.com/clojure/clojure/blob/c01f10bd8c68bd16c657fe352b206573f9306168/src/jvm/clojure/lang/RT.java#L240

Made an issue here now: https://github.com/babashka/sci/issues/790.

Hmm yes. Can you post a SCI issue? Currently afk.
On Fri, 19 Aug 2022 at 13:21, Peter Nagy @.***> wrote:

@borkdude https://github.com/borkdude maybe this should be fixed in sci
then? in-ns is just a function
https://github.com/clojure/clojure/blob/c01f10bd8c68bd16c657fe352b206573f9306168/src/jvm/clojure/lang/RT.java#L240
—
Reply to this email directly, view it on GitHub
https://github.com/hyperfiddle/rcf/issues/35#issuecomment-1220556682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACFSBU7MWRUPCWUDODZFHTVZ5U4TANCNFSM5HDSPYVQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
https://www.michielborkent.nl
https://www.eetvoorjeleven.nu


how to built plugin for archi

I have source code from https://github.com/nik-ponomarev/archimate2alloy, how to make that to plugin so i can run in archi ? thank u

Again, this is the wrong GitHub repository to ask this.
Here is the link:
https://github.com/nik-ponomarev/archimate2alloy/issues


V1.1.0 Update to SU 2022 :)

*** To use MSPhysics in SU2022, you have to install SU2019 on your computer.  Otherwise, the plugin may not run in SU2022 ***
[ I don't know why .... ]
Please follow these steps:

go to Extension Manager,
install ams_Lib_v3.6.0h.rbz (newest version 3.7.1)
install MSPhysics_v1.0.3.rbz
Exit SketchUp

Get the files from
https://github.com/AntonSynytsia/MSPhysics/tree/anton-ver110
unzip and copy all files & folders to replace the old versions:
C:\Users\user\AppData\Roaming\SketchUp\SketchUp 2022\SketchUp\Plugins
then you can find it works again!
=============
Thanks to AntonSynytsia, MSPhysics is amazing, I love it :)

其实并不需要额外安装2019版本的sketchup。因为早在之前我就发现是因为2020版本以及以上sketchup安装文件缺少了一个dl导致的错误，就是找个libogg-0.dll，
只需要把他移动到高版本2020以上就可以运行，再高的版本我没有测试，
但是我仍然发现会有bug的存在
当然我在就发现运行库的安装ams_Lib_v3.6.0h版本才好用，（最新版本3.7.1的配合会存在bug）
你的MSPhysics在高版本的右击的选项可以用吗
动力学.zip
我的并不起作用
In fact, you do not need to install the 2019 version of sketchup. Because I found earlier that an error was caused by the lack of a dl in the sketchup installation files of 2020 and above, namely, finding a libogg-0.dll,
You just need to move it to a higher version than 2020 to run it. I have not tested the higher version,
But I still find that there are bugs
Of course, I found the runtime installation of AMS_ Lib_ The v3.6.0h version is easy to use. (There are bugs in the latest version 3.7.1.)
Can you use the right-click option of your MSPhysics in the higher version
Mine doesn't work

谢谢，我试一下卸载SU2019，然后新装2022再加载这个测试下。

其实并不需要额外安装2019版本的sketchup。因为早在之前我就发现是因为2020版本以及以上sketchup安装文件缺少了一个dl导致的错误，就是找个libogg-0.dll， 只需要把他移动到高版本2020以上就可以运行，再高的版本我没有测试， 但是我仍然发现会有bug的存在 当然我在就发现运行库的安装ams_Lib_v3.6.0h版本才好用，（最新版本3.7.1的配合会存在bug） 你的MSPhysics在高版本的右击的选项可以用吗 动力学.zip
我的并不起作用 In fact, you do not need to install the 2019 version of sketchup. Because I found earlier that an error was caused by the lack of a dl in the sketchup installation files of 2020 and above, namely, finding a libogg-0.dll, You just need to move it to a higher version than 2020 to run it. I have not tested the higher version, But I still find that there are bugs Of course, I found the runtime installation of AMS_ Lib_ The v3.6.0h version is easy to use. (There are bugs in the latest version 3.7.1.) Can you use the right-click option of your MSPhysics in the higher version Mine doesn't work

确实，把您提供的 libogg-0.dll 复制到 SU 2022软件文件夹，启动SU的时候，MSPhysics不再报错了。
右击选项指什么？是右击在组件上现实的MSPhysics菜单吗？有显示。

Here's steps to install MSPhysics for SU2022:
go to Extension Manager,
install ams_Lib_v3.6.0h.rbz (newest version 3.7.1)
install MSPhysics_v1.0.3.rbz
copy libogg-0.dll to SketchUp 2022's installation folder
Get the files from
https://github.com/AntonSynytsia/MSPhysics/tree/anton-ver110
unzip and copy all files & folders in (MSPhysics-anton-ver110/RubyExtension/.) to replace the old versions:
C:\Users\user\AppData\Roaming\SketchUp\SketchUp 2022\SketchUp\Plugins

frozen冻结无效

高版本可以上3.7.1，你自己试试看，反正我记得frozen这个效果设置好像是无效的

我用来放置一堆物件的，用到state=static，和frozen有什么区别没研究过。

was anyone able to get set_slider_value function to work?

copy libogg-0.dll to SketchUp 2022's installation folder

copy libogg-0.dll to SketchUp 2022's installation folder
Where can this file be downloaded from?

copy libogg-0.dll to SketchUp 2022's installation folder

copy libogg-0.dll to SketchUp 2022's installation folder
Where can this file be downloaded from?

SU2019 has this file in its installed folder.

copy libogg-0.dll to SketchUp 2022's installation folder

copy libogg-0.dll to SketchUp 2022's installation folder
Where can this file be downloaded from?

SU2019 has this file in its installed folder.

I figured it out, thank you very much, it works

(I've closed my #20 in favor of this)

C:\Users\61466\3D Objects\The Super Magnetic Motor 3.skp

Hi All,
I think I've followed all the directions but I'm getting this new error and I can't figure out how to fix it. I'd appreciate any help I can get.
Thanks,
Ron
Error Loading File C:/Users/Ron A Goldberg/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/MSPhysics/main_entry.rb
Error: #<NameError: undefined local variable or method null' for main:Object> C:/Users/Ron A Goldberg/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/MSPhysics/main_entry.rb:1:in <top (required)>'
C:/Program Files/SketchUp/SketchUp 2022/Tools/extensions.rb:197:in require' C:/Program Files/SketchUp/SketchUp 2022/Tools/extensions.rb:197:in load'
C:/Users/Ron A Goldberg/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/MSPhysics.rb:23:in register_extension' C:/Users/Ron A Goldberg/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/MSPhysics.rb:23:in module:MSPhysics'
C:/Users/Ron A Goldberg/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/MSPhysics.rb:6:in `<top (required)>'

Where to download the ams_Lib_v3.6.0h.rbz file?
On Sketchucation I can only see the current 3.7.1 file and in the Sketchup extension warehouse, they have Version 3.5.2.

I managed to answer one of my questions myself. Here is how to download a zip of the code:

I still need help locating the ams_Lib_v3.6.0h.rbz file

GitHub - RBCGroup/ams_lib: A set of utilities for interacting with SketchUp window and geometry.
AMS Library releases are available at Extension Warehouse or SketchUcation Extension Store.
@.***
From: SwissmountainVA
Date: 2023-08-23 07:26
To: AntonSynytsia/MSPhysics
CC: Leo Zhang; Author
Subject: Re: [AntonSynytsia/MSPhysics] V1.1.0 Update to SU 2022 :) (Issue #28)
I managed to answer one of my questions myself. Here is how to download a zip of the code:
I still need help locating the ams_Lib_v3.6.0h.rbz file
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thank you nhafeng, I can't find "ams_Lib_v3.6.0h.rbz" on either the extension warehouse or at Sketchucation, and installed the current version 3.7.1 from Sketchucation.
I tried following the steps without installing Sketchup Pro version 2019 and got an error message upon Sketchup 2022 startup.
I then installed SKPpro 2019 and simply copied  libogg-0.dll from that installation folder to the 2022 installation folder.
This worked and I now have the plugin showing up in my SKPpro2022.
I hope it works and am very excited to have MSphysics back if it does.
I would totally pay to have this plugin in an updated form.
Thank you to everyone contributing to make this plugin work again.

MSPhysics v1.1 Beta
Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points.

I tried to install the new file "MSPhysics v1.1 Beta.rbz" in SU 22 and 23 through the extension manager and it doesn't load. I don't get any errors. It's like nothing happened at all.

MSPhysics v1.1 Beta Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points. Had to edit and ams_lib check so if you previously installed it, uninstall before using this. It is packed within the rbz.
Disclaimer: All credit goes to the original authors for these amazing plugins, MSPhysics and ams_lib.

The "MSPhysics v1.1 Beta" folder is in the plugins folder for both versions of SU but it doesn't appear as installed in the extension manager.

MSPhysics v1.1 Beta Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points. Had to edit and ams_lib check so if you previously installed it, uninstall before using this. It is packed within the rbz.
Disclaimer: All credit goes to the original authors for these amazing plugins, MSPhysics and ams_lib.

I figured it out.
Thanks for making this update!

MSPhysics v1.1 Beta Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points. Had to edit and ams_lib check so if you previously installed it, uninstall before using this. It is packed within the rbz.
Disclaimer: All credit goes to the original authors for these amazing plugins, MSPhysics and ams_lib.

I figured it out.
Thanks for making this update!

MSPhysics v1.1 Beta Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points. Had to edit and ams_lib check so if you previously installed it, uninstall before using this. It is packed within the rbz.
Disclaimer: All credit goes to the original authors for these amazing plugins, MSPhysics and ams_lib.

Can you tell me how you managed it?
I copied the content from the rbz into my plugins folder. I could start MSPhysics but the pyhsics is not working all objects are stationary.

Just copy the contents within the folder to sketchup plugins directory. Not the actual folder. I messed it when zipping. Sorry for the confusion.

I figured it out.
Thanks for making this update!

MSPhysics v1.1 Beta Here is a repack which works with most cases and loads in SU 22 and 23. I just edited it to make it load. Other things are original code and might cause some errors at some points. Had to edit and ams_lib check so if you previously installed it, uninstall before using this. It is packed within the rbz.
Disclaimer: All credit goes to the original authors for these amazing plugins, MSPhysics and ams_lib.

Can you tell me how you managed it? I copied the content from the rbz into my plugins folder. I could start MSPhysics but the pyhsics is not working all objects are stationary.

Object states might be static. Check that if the toolbars load then it should work.


QUESTION PLEASE REPLY ASAP

hello is this really working? I need your help I forgot the bit locker password in my computer I'm just on hurry

@ChaCode19  This is a GUI wrapper for bitlocker.
At that time ; there was no GUI to relock a unlocked drive. So this is a wrapper to do that. This internally uses manage-bde.exe
This can't decrypt your drive without password. Don't you have recovery keys?


Service Instance comes to a dead end when it is in the "deleted failed" status

Hi, colleagues,
I have been troubled by an issue for a long time. It occurs when DevOps deletes (sometimes by mistake) a service instance with active subscriptions, causing it to become a 'deleted failed' status. Then, we can do nothing but a complete unsub and purge.
Considering the error message shows the deletion has failed, the operation is blocked by active subscriptions, which means the deletion is not exec. So is it possible that a new update operation on the instance could reset the status and make the service instance back to active and usable again? Just the same as the "update failed" status does.
In some cases, we just do not want to have a purging but recovering.

Hi @madgrape
Kubernetes doesn’t support an undo function for actions.
To prevent similar cases in the future, you can add the annotation "services.cloud.sap.com/preventDeletion".
documentation here.
Regards,
Naama

Great, it is a preventative solution that works, thanks Naama. :)


near "ON": syntax error insertAllOnConflictUpdate method

I want use insertAllOnConflictUpdate method. But upon using this method I am getting error
E/SQLiteLog(32688): (1) near "ON": syntax error
E/flutter (32688): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: DatabaseException(near "ON": syntax error (code 1 SQLITE_ERROR): , while compiling: INSERT INTO command_groups_table (group_id, make_id, car_company, `group`) VALUES (?, ?, ?, ?)  ON CONFLICT(make_id) DO UPDATE SET group_id = ?, make_id = ?, car_company = ?, `group` = ?' args [6, 6, {"id":6,"name":"BMW"}, {"id":6,"name":"BMW"}, 6, 6, {"id":6,"name":"BMW"}, {"id":6,"name":"BMW"}]}
E/flutter ( 6416): #0      wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 6416): <asynchronous suspension>
E/flutter ( 6416): #1      SqfliteDatabaseFactoryImpl.wrapDatabaseException (package:sqflite/src/factory_impl.dart:78:7)
E/flutter ( 6416): #2      SqfliteDatabaseMixin.safeInvokeMethod (package:sqflite_common/src/database_mixin.dart:211:15)
E/flutter ( 6416): #3      SqfliteDatabaseMixin.txnApplyBatch.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:438:17)
E/flutter ( 6416): #4      SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:321:26)
E/flutter ( 6416): #5      SqfliteDatabaseMixin.txnWriteSynchronized (package:sqflite_common/src/database_mixin.dart:354:7)
E/flutter ( 6416): #6      SqfliteDatabaseMixin.txnApplyBatch (package:sqflite_common/src/database_mixin.dart:428:12)
E/flutter ( 6416): #7      SqfliteTransactionBatch.commit (package:sqflite_common/src/batch.dart:149:33)
E/flutter ( 6416): #8      _SqfliteExecutor.runBatched (package:moor_flutter/moor_flutter.dart:130:17)
E/flutter ( 6416): #9      _ExecutorWithQueryDelegate.runBatched.<anonymous closure> (package:moor/src/runtime/executor/helpers/engines.dart:90:19)
E/flutter ( 6416): #10     _ExecutorWithQueryDelegate._synchronized (package:moor/src/runtime/executor/helpers/engines.dart:25:26)
E/flutter ( 6416): #11     _ExecutorWithQueryDelegate.runBatched (package:moor/src/runtime/executor/helpers/engines.dart:86:12)
E/flutter ( 6416): #12     Batch._runWith (package:moor/src/runtime/api/batch.dart:196:10)
E/flutter ( 6416): #13     Batch._commit (package:moor/src/runtime/api/batch.dart:180:15)
E/flutter ( 6416): <asynchronous suspension>
E/flutter ( 6416): #14     QueryEngine.batch (package:moor/src/runtime/api/query_engine.dart:395:20)
E/flutter ( 6416): #15     AppDatabase.insertCommandGroups (package:garage_pro_flutter/Database/moor_database.dart:343:11)
E/flutter ( 6416): #16     _FullScanPickModuleScreenState.fetchCommandGroup (package:garage_pro_flutter/Screens/FullScanPickModule.dart:120:14)
E/flutter ( 6416): <asynchronous suspension>
E/flutter ( 6416): #17     _FullScanPickModuleScreenState.fetchCommandInInit (package:garage_pro_flutter/Screens/FullScanPickModule.dart:62:11)
E/flutter ( 6416): #18     _FullScanPickModuleScreenState.initState (package:garage_pro_flutter/Screens/FullScanPickModule.dart:49:5)
E/flutter ( 6416): #19     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4765:58)
E/flutter ( 6416): #20     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
E/flutter ( 6416): #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter ( 6416): #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter ( 6416): #23     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter ( 6416): #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter ( 6416): #25     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter ( 6416): #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4652:16)
E/flutter ( 6416): #27     Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
E/flutter ( 6416): #28     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4606:5)
E/flutter ( 6416): #29     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4601:5)
E/flutter ( 6416): #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter ( 6416): #31     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter ( 6416): #32     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6118:14)
E/flutter ( 6416): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3569:14)
E/flutter ( 6416): #34     Element.updateChild (package:flutter/src/widgets/framework.dart:3327:18)
E/flutter ( 6416): #35     SingleChildRenderObjectEleme

My usage of insertAllOnConflictUpdate method is like
Future insertCommandGroups(List<CommandGroupTable> commandGroups) async {
    await batch((batch) {
      batch.insertAllOnConflictUpdate(commandGroupsTable, commandGroups);
    });
  }

Packages I'm using are
sqlite3_flutter_libs : "0.3.0"
moor_flutter : "3.1.0"
sqflite: "1.3.2+4"

Flutter doctor-v details are mentioned below
Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
    • Flutter version 1.22.6
    • Framework revision 9b2d32b605 (6 months ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.1

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

You need sqlite 3.35.0+ I believe, you should update sqlite3_flutter_libs to at least 0.4.3.
Not sure how that works together with your old moor version.

For upgrading sqlite3_flutter_libs to 0.4.3 it requires to update dart SDK to 2.12 and currently I am using 2.10.5.
I also tried upgrading  sqlite3_flutter_libs to 0.4.0+1 but still the same issue.
Also, at the time I started integrating moor in my project, official documentation recommended using moor_flutter and  when I recently went through the documentation it recommends using moor/ffi.
Is it advisable to migrate to moor/ffi or this can be resolved by keeping with moor_flutter? I have my iOS app in production and Android is yet to release.

@vaibhiarora03 moor_flutter is based on sqflite, which always uses the sqlite3 version that comes with the operating system. Most devices have an older sqlite3 version that does not yet support upserts.
An advantage of moor/ffi is that you control the sqlite3 version used, so you can use the latest features on all devices. The documentation describes how to migrate here. I think it's worth migrating if you want to use recent sqlite features. The only downside of moor/ffi that I'm aware of is that it's synchronous. So expensive queries might cause UI lag. If this turns out to be a problem for you, you can make moor run on a background isolate.
I don't think there's a prebuilt way to use sqflite (and thus, moor_flutter) with the sqlite3 version from sqlite3_flutter_libs. It should be possible in theory by changing the Java/ObjC code accessing sqlite3 in the plugin implementation. But I'm not aware of anyone actually doing that.


[Feature] some external function

How do I move to the next item on trouble but my current buffer is not in trouble? If i use quick fix i can do that.
I want display the total error warning and hint in my custom statusline for filetype. Can you expose some function to get that data.
Thank you.

You want to go to the location of the next/previous trouble item?
You can do this by first advancing the current item and then triggering a jump, like this:
:lua require("trouble").action("next"); require("trouble").action("jump")

The best way to get diagnostic counts is to use the built-in vim.lsp.diagnostic.get_count API, or use vim.lsp.diagnostic.get_all and count the things you need.

:lua require("trouble").action("next"); require("trouble").action("jump")
It work but if It jump to a fold . It will close fold too.
I only want to jump to a next todo :)
How about to display the todo total item.

I just added this. Please refer to the documentation to use it


[Bug]: SVG files cannot be used as images

Is there an existing issue for this?

[X] I have searched for an existing issue

Describe the bug
PNG files work fine, but not SVG
Steps To Reproduce
create an presentation with an image like
![image](./somefile.svg)
Expected Behavior
image is shown
Actual Behavior
image is not loaded
Examples, Code Samples, or Screenshots
No response
Environment

OS: Ubuntu 22.04
ownCloud Web: ownCloud Web UI 10.2.0
oCIS: Infinite Scale 6.4.0

What browsers are you seeing the problem on?
Firefox

ocis-web doesn't support .svg file to be opened by image viewer. That's why the extension is also not building the required url for .svg files. It's because the svg mimetype is not included in the mimetypes list.
We should be able to fix it for the extension by just adding the required svg mimetype.


add test for boundingRatio

Create snapshots for x86 and aarach64 for 23.3 and 23.8 as well as for state functions.

@vzakaznikov I have finally created snapshots for both aarch64 (asked Myroslav for machine) and x86 and double-checked that everything is green.


Wrong contextual value in logs with Spring Cloud Stream

I have set up propagation and logging for a custom field as outlined in https://github.com/spring-cloud/spring-cloud-sleuth/issues/1539. When using this with Spring Cloud Stream and the Kafka binder, however, I encounter a problem.
@StreamListener("my-input-channel")
public void handleMessage(Message message) {
    ExtraFieldPropagation.set("my-key", message.getValue());
    log.info("Test");
    // Do stuff ...
}

With the above, I see a log message with the following context info:

INFO [my-app, my-value] Test

That's great, it works. However, consider what happens when another message arrives with a new value. I expect the log to contain the new value for the context field, i.e. my-value-2, however, the log still contains my-value from before. Only when an exception is thrown by Spring later on in my code do I see the correct context value in the log:

ERROR [my-app, my-value-2] 73 ---<EMAIL_ADDRESS>o.s.i.h.LoggingHandler:182 : org.springframework.messaging.MessagingException ...

Any ideas what's going on here? I was under the impression that once I set the value for a log context field using ExtraFieldPropagation that this would be reflected immediately in the logs, given that the log message is produced from a new log context (new invocation of the @StreamListener method).

I've tested this against a HTTP controller and I see the same issue. The output of a few log statements that are called after I have set the values for the extra propagation fields are missing the fields. At some point, say four or five log statements latter, the output starts to include the extra propagation fields. If I make a second request to the controller the first few log statements include the extra propagations values from the previous request for again a few log statements. Is there a race condition here?

I haven't noticed such issues. Can you create a sample that replicates this?

@marcingrzejszczak I've pushed a simple Sleuth app here: https://github.com/boonware/sleuth-1543. Make a GET request to localhost:8080/{propagationValue} where propagationValue should be the value to be printed in the log context (and propagated). Weirdly enough, I can only get this to work if I send the extra propagation key as a HTTP header. Just using ExtraFieldPropagation.set in the controller method does not work. Any idea what I did wrong in the case?

Can you try setting the probability sampling to 1.0 ?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@marcingrzejszczak Setting the sampling rate to 1.0 did not fix the simple example I have here: https://github.com/boonware/sleuth-1543

@marcingrzejszczak do you perhaps have a working example of logging extra/custom field in SLF4J?
I have a requirement where I need to include an HTTP header value as part of logging info.
example:
[x-service,5e4cb494c41c51df7bccbff915c21f71,7bccbff915c21f71,FOO,false]
I have not been able to get this to work for about 3 days, I have:

Used logback settings aslogback-spring.xml

set spring.sleuth.log.slf4j.whitelisted-mdc-keys

set baggage-keys

set ExtraFieldPropagation.set("x-b3-Request-ID", "Foo");

But no extra /custom field is logged.
Will appreciate your response.

There you go

commit modifying the logging https://github.com/spring-cloud-samples/sleuth-documentation-apps/commit/9c55edb3596e96e776dc35a052267f20b8483bcc
e.g. where the baggage is set https://github.com/spring-cloud-samples/sleuth-documentation-apps/blob/2.2.x/service1/src/main/java/io/spring/cloud/sleuth/docs/service1/Service2Client.java#L52

@boonware  I took your example and modified it a bit
.App
package com.sleuth.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
public class App {

    public static void main(final String[] args) { // NOSONAR
        SpringApplication.run(App.class, args);
    }

    @Bean
    RestTemplate restTemplate() {
        return new RestTemplate();
    }
}

.Controller
package com.sleuth.test;

import brave.Tracer;
import brave.propagation.ExtraFieldPropagation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.context.request.async.DeferredResult;

@RestController
public class Controller {

	private static final Logger log = LoggerFactory.getLogger(Controller.class);

	private final Tracer tracer;
	private final RestTemplate restTemplate;

    public Controller(Tracer tracer, RestTemplate restTemplate) {
        this.tracer = tracer;
        this.restTemplate = restTemplate;
    }

    @RequestMapping(value = "/{propagationValue}", method = RequestMethod.GET)
	public DeferredResult<ResponseEntity> sleuthTest(@PathVariable(value = "propagationValue") String propagationValue) {
		DeferredResult<ResponseEntity> result = new DeferredResult<>();
		log.info("Hello [{}]", tracer.currentSpan().context().traceIdString());
		log.info("GET request for propagation value: {}", ExtraFieldPropagation.get("x-b3-foo"));
		for (int i = 0; i < 10; i++) {
			log.info(String.valueOf(i));
		}
        log.info("Response from httpbin [{}]", restTemplate.getForObject("https://httpbin.org/headers", String.class));
		result.setResult(new ResponseEntity<>("Sleuth test complete", HttpStatus.OK));
		return result;
	}

}

After running the app and sending a request, I got such response
➜  1543 git:(master) ✗ http :8080/asd x-b3-foo:bar
HTTP/1.1 200
Connection: keep-alive
Content-Length: 20
Content-Type: text/plain;charset=UTF-8
Date: Thu, 20 Feb 2020 08:35:38 GMT
Keep-Alive: timeout=60

Sleuth test complete

and in the logs I got
2020-02-20 09:35:38.094  INFO [sleuth-test,bar] 25886 --- [http-nio-8080-exec-2]  c.s.test.Controller:38 : Response from httpbin [{
  "headers": {
    "Accept": "text/plain, application/json, application/*+json, */*",
    "Host": "httpbin.org",
    "User-Agent": "Java/11.0.4",
    "X-Amzn-Trace-Id": "Root=1-5e4e44d9-cf80425dff6304afe5fc55df",
    "X-B3-Foo": "bar",
    "X-B3-Parentspanid": "6affed90ea138d19",
    "X-B3-Sampled": "0",
    "X-B3-Spanid": "09a6abf83b917a55",
    "X-B3-Traceid": "6affed90ea138d19"
  }
}
]

You can see that the field is there in the logs and in the headers that got sent to httpbin.


Help CLBlast (The tuned OpenCL BLAS library) by tuning for more AMD chips

CLBlast ( https://github.com/CNugteren/CLBlast ) is a lightweight, performant, and tunable OpenCL BLAS library.
It is used in, among many other projects, whisper.cpp , a very popular high-performance inference of OpenAI's Whisper.
Unfortunately CLBlast's the list of already tuned-for devices is lacking and there are actually more Nvidia GPUs (which have a better alternative in cuBLAS) than AMD's.
It would be nice to drastically improve the situation. I did my part by sending the tuning results of my AMD card. But that's where my power ends. This current post is the only other avenue I could come up with to help with the efforts.
I kindly implore:

If there are people with non-tuned GPUs reading my message, I hope that you decide to make a personal contribution and help the project by tuning it to your GPU.
I hope that people from the ROCM project understand the importance of CLBlast and how much AMD/ROCM/AI can be helped by expanding the list of tuned AMD GPUs. You have access to all the GPUs and it would be a trivial small side-project to tune all of them at the same time. If this issue is not up to ROCM people's valley of responsibilities, I hope you will forward my request to other AMD people who can make it happen (be it the marketing or engineering side).

Tuning and submitting the results is very easy:

Download https://github.com/CNugteren/CLBlast
Tune the entire library for your device by running the following commands (starting from the root of the CLBlast folder):

mkdir build
cd build
cmake -DTUNERS=ON ..
make
make alltuners
python ../scripts/database/database.py . ..
make

The process will take a couple of hours.
3. Collect all the created .json files in the build directory, pack them into the .zip file, and send your tuning results into this post.

Have you seen our BLAS libraries?
https://rocm.docs.amd.com/en/latest/reference/gpu_libraries/linear_algebra.html
They are already tuned for many GPUs.

I think this is still a good PSA (or something for AMD to submit any missing models officially) since many projects are using CLBLast. For example, llama.cpp's main way of getting AMD GPUs to work atm is with CLBlast.
@mikkovedru is there a list somewhere of already tuned models? I have a Radeon VII (gfx906) that I can submit if it hasn't been done yet.

@mikkovedru Is this ticket still relevant? If not, please close ticket. Thanks!


fix(proxy): prevent process crash on invalid headers being sent

When invalid headers are set, http.request method is raising a
TypeError, crashing the process. This fix catch errors raised on request
creation to prevent it.

I have merged this fix in my fork as well as adding GCP provider

corrected in 4.0.0
but thanks for your contribution


Support no default config for a linter

When no custom config for linter has been specified,
Hound will send a default config of "{}".
In that case, we don't to write a config file,
and let the linter use its defaults.

This looks good to me

👍 :statue_of_liberty:


[BUG] If default FORWARD policy is DROP, vm use vlan 1 network (vid=1) can't access other host

Describe the bug

To Reproduce
Steps to reproduce the behavior:

make sure ip_forward is disabled
install docker (docker will enable ip_forward and change FORWARD policy to DROP)
setup up k8s cluster and harvester

Expected behavior

if FORWARD policy is DROP, vm use vlan 1 can access other host
workaround
iptables -A FORWARD -i harvester-br0 -j ACCEPT
iptables -A FORWARD -o harvester-br0 -j ACCEPT

Support bundle

Environment:

Harvester ISO version:  NO ISO, appmode
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.
https://github.com/moby/moby/pull/28257
https://github.com/moby/moby/issues/14041
https://github.com/moby/libnetwork/blob/b5dc37037049d9b9ef68a3c4611e5eb1b35dd2af/drivers/bridge/setup_ip_forwarding.go#L32

Does not appear this is fixed. Here's what I did in my vagrant 3-node Harvester cluster.

Create two VMs, one on Harvester node 1 and the other on node 2. Both with the second NIC using VLAN 1 network.
Login to the first VM and make sure it is able to ping the the second VM via the VLAN IP.
Login to node 1 and execute command iptables -S FORWARD and noticing that the policies for harvester-br0 does not exist.

harvester-node-1:~ # iptables -S FORWARD
-P FORWARD ACCEPT
-A FORWARD -m comment --comment "cali:wUHhoiAYhphO9Mso" -j cali-FORWARD
-A FORWARD -m comment --comment "kubernetes forwarding rules" -j KUBE-FORWARD
-A FORWARD -m conntrack --ctstate NEW -m comment --comment "kubernetes service portals" -j KUBE-SERVICES
-A FORWARD -m conntrack --ctstate NEW -m comment --comment "kubernetes externally-visible service portals" -j KUBE-EXTERNAL-SERVICES
-A FORWARD -s <IP_ADDRESS>/16 -j ACCEPT
-A FORWARD -d <IP_ADDRESS>/16 -j ACCEPT

Execute command iptables -S FORWARD and verified that VMs are no longer pingable between each other.
Execute commands

iptables -A FORWARD -i harvester-br0 -j ACCEPT
iptables -A FORWARD -o harvester-br0 -j ACCEPT

Verify that the VMs are no pingable between each other.

@futuretea Why are we setting up the iptables rules in this way? I saw the label dev-mode so are there any special requirements regarding this issue?

@yasker  Just want to ensure that the cluster installed through Docker also works properly. Docker will change the default FORWARD policy to DROP, so we need to add these iptables rules to make sure the packet forward always work in harvester-br0.


change website to email

change website to email
fixed https://github.com/alibaba/druid/issues/2992

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

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


Support to remove the given languages

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
After publishing the app on the mac app store, it seems it supports all possible languages. But we want to define the languages that we can support.
I think we need an environment variable that we can define the languages which we want. It would be nice if we have this feature in electron-packager. In the meantime, I'll achieve this by writing a script which is gonna work after the packing process and remove the not given languages. If this is wanted by @malept and the others also, I may add this support to electron-packager.

I think this would be better off being a plugin for Electron Packager, similar to how electron-packager-plugin-non-proprietary-codecs-ffmpeg uses the afterExtract hook. I would be happy to link to the node module once it's published.
My concerns about adding it to the core are the number of people who will use the feature vs. its complexity and its maintenance cost. How would the API option look? How would the CLI argument work?

That feature as a plugin sounds not bad. But then, the projects which are using electron-packager via CLI would need to change their approaches. That could be my concern here.
I guess I can't say anything about the number. But in my opinion, developers who are developing MacOS application and using electron-packager should be aware of the languages and should be able to manage them. They may have i18n support in their applications, but not for all languages probably. Its maintenance cost shouldn't be that much. Those language file/folders are not frequently changing. I think once we develop the feature, it would go for a long while if there is nothing wrong. For CLI argument, we may accept inline comma separated string or a .json file. So it may look like one of these;

electron-packager . Sample --languages=en,en_GB,de
electron-packager . Sample --languages=./languages.json

Then languages.json would look like; ["en", en_GB", "de"].
Anyway, I need this and would prepare a solution. Would you like to see that plugin in README here if I develop it?

I'm OK with having this be effectively an API-only feature. It's the same if you need to change ffmpeg or use native modules. (Although, if you use Electron Forge, I think you don't need to use its JavaScript config with these kinds of packager hooks.)
I would gladly link to the plugin in the readme.

Hello again @malept, I've created a plugin to meet this need. Here is the repository URL and the NPM package. What is gonna happen to this issue is up to you. :)
If there is anything missing that you see, let me know.


⚠ File access has degraded performance

In be036c2, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 4112 ms

Resolved: File access performance has improved in f5a2c72 after 8 minutes.