fix priority admission conflict

when we set priorityclass koord-xxx with preemptionPolicy=Never, priority admission refuse to create pod with error like this:
pods "test" is forbidden: the string value of PreemptionPolicy (Never)
must not be provided in pod spec; priority admission controller computed
PreemptLowerPriority from the given PriorityClass name

we overwrite PriorityClassName/Priority in cluster_colocation_profile, so as well PreemptionPolicy.
see
https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/admission/priority/admission.go#L188
Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[x] All checks passed in make test

We change priorityclass preemptionPolicy from PreemptLowerPriority to Never for some reason, then new pod refused by priority admission.
priority admission check if priority and preemptionPolicy is corresponding to priorityClass link
while koordinator only overwrite PriorityClassName and Priority in cluster colocation profile link, preemptionPolicy overwrite is also needed.


chore(v2): prepare v2.0.0-beta.11 release

chore(v2): prepare v2.0.0-beta.11 release

The CLA bot is not well today 🙈

😅 can't merge

@slorber maybe release before merging this?

Already released 😉

@slorber released version is not playing nice :(
$ npm i @docusaurus/core@latest @docusaurus/preset-classic@latest
npm WARN ERESOLVE overriding peer dependency
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/xxxx/.npm/_logs/2021-12-10T11_06_00_381Z-debug.log

Yep, have the same error as well, mixed with:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@slorber
looks like npm is broken? The release was incomplete

This is weird 😅

Just tried once more - it went fine. So either you fixed it, or it was just a delay on the npm server.

Just tried once more, and still the same error:
[md:~/Documents/Code/JS/md]$ npm install --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/xx/.npm/_logs/2021-12-10T12_39_41_525Z-debug.log

@slorber Can you just re-run npm publish in those package directories? If the version isn't in the registry it will get published.

🤷♂

I'll try to release a beta.12 and see

Hahaha

Same error on new beta file.
 npm install --legacy-peer-deps
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@MateuszDabrowski There still are some packages not published. No idea what's going on with npm.

should be fixed now
https://status.npmjs.org/incidents/n4s34mwsdsp2

Fix confirmed! :)


Problem with custom view styles and Calligraphy?

I'm having a hard time getting custom views (classes extending TextView) with styles working correctly with Calligraphy. The problem is that Calligraphy seems to ignore fontPath set in style definitions for these views.
A brief look at Android (API level 21) and Calligraphy (2.0.0) source code indicates that CalligraphyLayoutInflater may not apply the font if the view class is not in one of the following packages: android.widget, android.webkit and android.view. Is this correct?

@abergenw that is incorrect. CustomView's do work.
They are routed slighlty differently, I actually wrote about the complexities of the LayoutInflater here.
Check the fontPath you have defined in the style has no namespace. The example works for you does it not? My personal project heavily uses custom views (and we exclusively apply attributes from styles).

@chrisjenx thanks for the quick reply. I had a closer look at this now and I see what you mean.
However, I am still not able to get this working correctly and I am not sure why. Any help would be most appreciated. Here is what I have:

A theme which is set for my activity
A style extending the default style for EditText, providing (among other things) the fontPath
A reference attribute which in my theme points to the style
A custom view subclassing EditText, using the reference attribute as its style attribute (passing it to the parent constructor)
A Fragment inflating a layout in its onCreateView(), the layout contains the custom view

What happens here is that all other style attributes (such as padding etc.) get set correctly from the custom style but not fontPath. Instead the default fontPath I have set when initing Calligraphy is used. If I don't use the custom view and use EditText directly, pointing android:editTextStyle in my theme to the custom style, then fontPath is applied correctly.
Another thing worth mentioning is that if I use my custom view and explicitly set the style in XML, then it works like expected.

Ahh you are setting the style on the theme.
Can you post an excerpt of your styles. XML?
On Wed, 4 Feb 2015 20:51 abergenw<EMAIL_ADDRESS>wrote:

@chrisjenx https://github.com/chrisjenx thanks for the quick reply. I
had a closer look at this now and I see what you mean.
However, I am still not able to get this working correctly and I am not
sure why. Any help would be most appreciated. Here is what I have:

A theme which is set for my activity
A style extending the default style for EditText, providing (among
other things) the fontPath
A reference attribute which in my theme points to the style
A custom view subclassing EditText, using the reference attribute as
its style attribute (passing it to the parent constructor)
A Fragment inflating a layout in its onCreateView(), the layout
contains the custom view

What happens here is that all other style attributes (such as padding
etc.) get set correctly from the custom style but not fontPath. Instead the
default fontPath I have set when initing Calligraphy is used. If I don't
use the custom view and use EditText directly, pointing
android:editTextStyle in my theme to the custom style, then fontPath is
applied correctly.
Another thing worth mentioning is that if I use my custom view and
explicitly set the style in XML, then it works like expected.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/130#issuecomment-72936326
.

The layout XML doesn't contain anything special:
<com.my.package.TextField
      android:id="@+id/email"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_marginBottom="10dp"
      android:gravity="center"
      android:hint="@string/welcome_email_hint"
      android:inputType="textEmailAddress"
      android:imeOptions="actionGo" />

The reference attribute is declared as:
<attr name="textFieldStyle"
    format="reference" />

The theme is declared as:
<style name="ApplicationTheme"
    parent="android:Theme.Black.NoTitleBar">
    <item name="textFieldStyle">@style/TextField</item>
    ...
</style>

And then finally the style as:
<style name="TextField"
    parent="android:Widget.EditText">
    <item name="fontPath">@string/font_path_bold</item>
    <item name="android:textColor">@color/textfield_text_color</item>
    <item name="android:background">@drawable/textfield</item>

    <item name="android:paddingLeft">5dp</item>
    <item name="android:paddingTop">5dp</item>
    <item name="android:paddingRight">5dp</item>
    <item name="android:paddingBottom">5dp</item>
  </style>

I'm not sure what <item name="textFieldStyle">@style/TextField</item> is.
It should be android:textViewStyle.

Setting <item name="android:textViewStyle">@style/TextField</item> is different from what I am trying to achieve. The TextField class I have (extending EditText) is set to use textFieldStyle as its default style attribute. This is why I link this reference attribute with the style definition, and as I want every instance of TextField to use a bold font I'm trying to set the fontPath in the style definition - without success.

Ok @abergenw, I'm not sure how styles are being applied to your TextFields.
But Calligraphy will only be able to pick up theme styles from the android:textViewStyle.
E.g. <item name="android:textViewStyle">@style/TextViewV3</item>
Are you able to try using the built in attribute just to confirm?

@abergenw I think I understand what you are doing now. You pass the style attr reference inside your TextField class. So that your TextField looks up against textFieldStyle for its default.
Doing that will not work. We pull the parent styles based on what we know. See https://github.com/chrisjenx/Calligraphy/blob/master/calligraphy/src/main/java/uk/co/chrisjenx/calligraphy/CalligraphyFactory.java#L28-L40.
We look up the direct fontPath on the View, then look for the Class type of that View. For you that would be EditText.class = android.R.attr.editTextStyle. For textFieldStyle as you're parent style we would need to inject put(TextField.class, R.attr.textFieldStyle); into that Map for style look ups.
If you still need this as a solution let me know and I can expand the calligraphy builder to take custom style attributes.

@chrisjenx Yes this is what I'm doing. I thought that Calligraphy was somehow able to automatically find the style attributes used by views. I realize now that this is not how it works and probably View doesn't store the style attribute passed to its constructor so this would be impossible?
Anyhow, I think being able to pass custom View / style attribute mappings to CalligraphyConfig would be a nice-to-have feature. For my particular case it is ok to just set the font manually in the constructor of my custom views.

OK I'll change it to a TODO then! :)
On Tue Feb 24 2015 at 7:01:16 PM abergenw<EMAIL_ADDRESS>wrote:

@chrisjenx https://github.com/chrisjenx Yes this is what I'm doing. I
thought that Calligraphy was somehow able to automatically find the style
attributes used by views. I realize now that this is not how it works and
probably View doesn't store the style attribute passed to its constructor
so this would be impossible?
Anyhow, I think being able to pass custom View / style attribute mappings
to CalligraphyConfig would be a nice-to-have feature. For my particular
case it is ok to just set the font manually in the constructor of my custom
views.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/130#issuecomment-75822002
.

Hey, do we have any update on this? I'm facing exactly the same issue and wondering what's the estimated time of implementing this?

@mgrzechocinski not yet, I'll hopefully do it today.

Cool! I'd appreciate :)

I just pushed out a snapshot that should solve your problems. (2.1.0-SNAPSHOT).
Use as @abergenw above is. Add your custom class to the builder like:
builder.addCustomStyle(TextField.class, R.attr.textFieldStyle)
//--

See the example in the PR too.

Great. Will give it a try! :)

Hi guys,
I'm having exactly the same problem as @abergenw, with a small difference: I'm not using a custom view, I'm using a Button. Things work as expected on Android 5.1 but on 4.3 the fontPath attribute is completely ignored. I'm using the latest version of Calligraphy (2.0.2). This issue did not happen on 1.2.0.
It's also relevant to point out that adding<EMAIL_ADDRESS>to the button fixes the issue.
my_layout.xml
<Button
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:layout_margin="@dimen/view_margin"
        android:textAllCaps="true"
        android:text="@string/button_text"/>

themes.xml
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item<EMAIL_ADDRESS></style>

styles.xml
<style
    name="Widget.MyApp.Button"
    parent="android:Widget.Button">

    <item name="android:minHeight">36dip</item>
    <item name="android:minWidth">64dip</item>
    <item name="android:paddingLeft">8dip</item>
    <item name="android:paddingRight">8dip</item>
    <item name="android:textColor">@color/btn_text</item>
    <item name="android:textSize">24sp</item>
    <item name="android:textAllCaps">true</item>
    <item name="fontPath">@string/the_hand_extra_black</item>
    <item name="android:background">@drawable/btn_primary</item>
</style>

My layout file is being inflated into an Activity using setContentView(int resId).
I'm not providing alternative resources for different Android versions, so I guess it's related to the library.
Thanks,
Flávio Faria

@flavioarfaria hard to say without showing how you instantiate Calligraphy into you project. It sounds like a platform bug if it works fine on 5.1 but not on 4.3. Also worth noting, are you using multidex as that was breaking loads of libraries.

Thank you for your response @chrisjenx. Here is how I do it:
final CalligraphyConfig config = new CalligraphyConfig.Builder()
            .setDefaultFontPath(defaultFontPath)
            .setFontAttrId(R.attr.fontPath)
            .build();

At first, I had the attribute fontPathdeclared in my attrs.xml (it was required in v1.x, if I'm not mistaken) and I thought it could be conflicting with the one currently included in the lib, but I removed my own attribute and it didn't help.
Regarding multidex, no, I'm not using it.

You you shouldn't need your own R.attr.fontPath use the included ones
(unless you want to use a different name).
I am then assuming you are setting that using CalligraphyConfig. initDefault()?
On Thu, 16 Apr 2015 at 20:09 Flávio Faria<EMAIL_ADDRESS>wrote:

Thank you for your response @chrisjenx https://github.com/chrisjenx.
Here is how I do it:
final CalligraphyConfig config = new CalligraphyConfig.Builder()
.setDefaultFontPath(defaultFontPath)
.setFontAttrId(R.attr.fontPath)
.build();
At first, I had the attribute fontPathdeclared in my attrs.xml (it was
required in v1.x, if I'm not mistaken) and I thought it could be
conflicting with the one currently included in the lib, but I removed my
own attribute and it didn't help.
Regarding multidex, no, I'm not using it.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/130#issuecomment-93817649
.

Yes, I am. Now I'm debugging into the lib to check what can be going on. My button is being inflated as a TintButton. I guess that the appcompat layout factory may be messing things up.

I guess I found the problem. CalligraphyFactory, line 60:
styleIds[0] = sStyles.containsKey(view.getClass())
                    ? sStyles.get(view.getClass())
                    : android.R.attr.textAppearance;

Since my button is a TintButton, this code won't find an entry for it in the HashMap and it will pick the textAppearance attribute.
You should consider adding to the HashMap an entry for every tint view provided in the support library. All of them use the theme attributes of their parents, so that will be easy. :)

I was right, I just added the following entry to the map:
put(TintButton.class, android.R.attr.buttonStyle);

Now it works as expected.

Yeah that's cool you can add it manually using the builder whist I work on
adding them.
On Thu, 16 Apr 2015 21:43 Flávio Faria<EMAIL_ADDRESS>wrote:

Yes, I am. Now I'm debugging into the lib to check what can be going on.
My button is being inflated as a TintButton. I guess that the appcompat
layout factory may be messing things up.
—
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/130#issuecomment-93835465
.

With #191 I think both issues raised here are now fixed (custom style attributes are available in 2.1) there is a 2.1.1 snapshot If you'd like to check @flavioarfaria

Yep, that indeed fixes it. Thanks @paul-turner!

@flavioarfaria thanks for confirming, now closing.


Can you release the NFNets family models like Resnet examples in pytorch ?

Yeah, the nf-nets and nf-resnets should be up in a day or two. Sorry about the delay.

I've added the ResNet family of models, although you can use the replace_conv method to replace the convolutions in any model/model families. The models will go into the next release soon.


Show unconfirmed / confirmed balanced in home screen

Currently the WalletCard just displays the confirmed balance.

I should also show the unconfirmed balance.
The best option (in my opinion) would be to remove outflows (i.e. sending to someone) from the balance immediately and show inflows as a extra number in braces
e.g.
1,000,000 sat (+20,000)

add via (+/- <amount)


Internel Server Error Unknown Failed to Fetch

This seems to be fixed by refreshing the page but it happens every time I open the page.
I'm using localhost:6969 btw
Oh, and vercel deployment doesn't work, it doesn't give a html file, only index.js

the hosted port should be working, if it isnt idk what to really tell ya, as for vercel could you share the settings you used to deploy it to vercel?


Updated Microsoft.CodeAnalysis packages to 4.1.

Current version (3.11) conflicts with asp.net core 6 razor runtime config package:
 X -> Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation 6.0.12 -> Microsoft.CodeAnalysis.Razor 6.0.12 -> Microsoft.CodeAnalysis.Common (>= 4.0.0)
 X -> SvSoft.Analyzers.ClosedTypeHierarchyDiagnosticSuppression 1.1.0 -> Microsoft.CodeAnalysis.CSharp.Workspaces 3.11.0 -> Microsoft.CodeAnalysis.Common (= 3.11.0).

I have not been able to update to the latest versions (4.4.0), because in 4.2.0 half of the test breaks. I'll look into that next time.

Hi Michal,
thanks for bringing this to my attention.
The solution will probably be to have the analyzer package contain two versions: one targeting roslyn 3.11 and one targeting roslyn 4.0.
The tests breaking in Visual Studio do not have to mean anything because VS uses the .NET Framework Build of MSBuild which in turn uses a different compiler, i. e. roslyn version than the dotnet CLI build.
I believe that MS added binding redirects in one of the 5.x or 6.x SDKs so that analyzers compiled against 3.11 will work with 4.0.
But at some point this "let's use a different major version at runtime and hope for the best" approach has to break down.
I will take a closer look soon and see if my above feeling is correct.

Interestingly, the tests work for me in both VS (17.4.4) and dotnet CLI.
What error messages are getting?

Ok, that's weird, when I update it to 4.2.0, the tests fail for me in both VS and dotnet CLI. I have VS 17.4.4 and .net sdk 6.0.403. The only difference could be that I'm running on Arm64?
Failed When_switching_with_recursive_non_restrictive_pattern_Then_suppress [16 ms]
  Error Message:
     Expected: not <empty>
  But was:  <empty>

  Stack Trace:
     at ClosedTypeHierarchyDiagnosticSuppressor.Tests.DiagnosticSuppressorAnalyer.EnsureSuppressed(DiagnosticSuppressor suppressor, IEnumerable`1 suppressionDescriptors, String testCode, NullableContextOptions nullableContextOptions, ValueTuple`2[] additionalAnalyzerOptions) in Y:\ClosedTypeHierarchyDiagnosticSuppressor\ClosedTypeHierarchyDiagnosticSuppressor.Tests\DiagnosticSuppressorAnalyer.cs:line 73
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

Failed!  - Failed:    21, Passed:    33, Skipped:     0, Total:    54, Duration: 2 s - ClosedTypeHierarchyDiagnosticSuppressor.Tests.dll (net6.0)

Sorry, my bad. I just checked out your PR and ran the tests.
When I update to 4.2, the tests fail for me too.

Hi Michal,
sorry for taking so long, but I just had another look.
To my surprise there is a package dependency defined on the analyzer package.
That is already wrong.
I did not notice this all this time :-o
There should be no package dependencies on an analyzer package.
Analyzers have to make sure themselves that all their dependency assemblies are available at runtime because there will be no package resolution.
In this case the necessary assemblies are supposed to be provided by the Roslyn environment itself.
Thus, the package dependency can just be removed from the analyzer package without doing anything else.
I will publish a package 1.1.1 that has the package dependency removed.
Please check if this was just about the package conflict or if there are any other issues.

@mvacha
Since I have not heard from you, I will close this issue as done tomorrow.


An issue on orientation.isFlat

When device changes its orientation from orientation.isPortrait / orientation.isLandcape to orientation.isFlat there should not be any changes:
@objc private func rotationDidChange() {
if orientation.isFlat {
print("orientation.isFlat - Do not change anything")
return
}
let layout = self.collectionView.collectionViewLayout as! SIKUCarouselFlowLayout
let direction: UICollectionViewScrollDirection = orientation.isPortrait ? .horizontal : .vertical
layout.scrollDirection = direction
if currentPage > 0 {
let indexPath = IndexPath(item: currentPage, section: 0)
let scrollPosition: UICollectionViewScrollPosition = UIDeviceOrientationIsPortrait(orientation) ? .centeredHorizontally : .centeredVertically
self.collectionView.scrollToItem(at: indexPath, at: scrollPosition, animated: false)
}
}

Thanks for your feedback.
It's not very important since it's only in the demo app, but I added it anyway: https://github.com/ink-spot/UPCarouselFlowLayout/commit/74415478403e88dc56acfa9c8d59e2b8825fd16c


[RFC]: add array/base/mskunary4d

Description
This RFC proposes adding a new package to the array/base/* namespace: @stdlib/array/base/mskunary4d.
This package is the 4d equivalent of @stdlib/array/base/mskunary2d.
To see an example of a similar package, see @stdlib/array/base/mskunary3d.
While the package proposed in this RFC will not match the implementations found in the above packages, those packages should provide a conceptual idea of what is desired. Do not simply copy-paste the code found in those packages.
Notes

If you are interested in contributing a PR which addresses this RFC and are a first-time contributor or not yet familiar with our project conventions, please do not submit LLM-generated code. Please consult our contributing guidelines and the associated development guide. Failure to respect project conventions will result in your PR being rejected without review. Thank you for understanding!

Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with [RFC]:.

Hey, I am having trouble with eslint-plugin-stdlib could you help me with it

@kgryte sure np!


CRC openshift local marketplace pods Failed to pull image failed to verify certificate: x509

Hello
While deploying local on laptop Apple M1 pro with crc (latest version):
crc delete
crc cleanup
crc setup
crc start
crc status
CRC VM:          Running
OpenShift:       Running (v4.15.10)
RAM Usage:       6.574GB of 22.5GB
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     187.9GB
Cache Directory: /Users/dfollereau/.crc/cache
crc version
CRC version: 2.35.0+3956e8
OpenShift version: 4.15.10
Podman version: 4.4.4
I am having marketplace 8 PODs in failed state with this error message:
namespace : openshift-marketplace
openshift-marketplace                                certified-operators-8sp8h                                       0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      10m
openshift-marketplace                                certified-operators-l8fnj                                       0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      2m3s
openshift-marketplace                                community-operators-g4btn                                       0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      90s
openshift-marketplace                                community-operators-pcr5g                                       0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      10m
openshift-marketplace                                redhat-marketplace-b59j9                                        0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      11m
openshift-marketplace                                redhat-marketplace-wsm6z                                        0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      11m
openshift-marketplace                                redhat-operators-djxv8                                          0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>        crc      11m
openshift-marketplace                                redhat-operators-r5mpn                                          0/1      Init:ImagePullBackOff               0 <IP_ADDRESS>
Logs:
Normal   Pulling         11m (x4 over 12m)     kubelet            Pulling image "registry.redhat.io/redhat/certified-operator-index:v4.15"
Warning  Failed          11m (x4 over 12m)     kubelet            Failed to pull image "registry.redhat.io/redhat/certified-operator-index:v4.15": pinging container registry registry.redhat.io: Get "http │
│ s://registry.redhat.io/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
Do you know how to fix this?
is there a way to set --tls-verify=false ?
Thanks a lot for your support
Denis

This looks like dup to https://github.com/crc-org/crc/issues/4109 one? can you tell which version of crc  you are running and does https://github.com/crc-org/crc/issues/4109#issuecomment-2042497411 resolve for you?

Closing as dup and already fixed in latest version. Please reopen if it is not the case


Hide NMessengerViewController inputBarView

I can hide the input bar but there is still a white space. I can't figure out how to get the white bar to disappear as well. Any help is greatly appreciated.

This made the inputBarView be hidden and not show a white space where it was previously.


hotspot: init at 1.0.0

Motivation for this change
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

I need to revise this due to commit f3ce85235 which removed makeQtWrapper (apparently it is no longer needed) (I cannot find why it is no longer needed though, maybe you can enlighten me @ttuegel).

 Please take another look.

Builds and runs. Applied to master (a37f3a3573bfd39b00ece2ec3f00661b020ad14c, 35e912793ac5b4c6e808dc23e61d755d473580ed). Thanks!


Why is the Columns(1).Count equal to 1?

If I examine Range("A:A") I see that the returned object has a count of 1048576 and I'm able to iterate over the returned range with a FOR EACH loop.  But, if I try the same thing with Columns(1) the count is 1, and I get an error.  If Columns(1) doesn't return the range for the first column, how do I get it using numeric references (not A1 style references).

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

ID: 3ce20ed6-bcb9-e6d9-864c-b761cc96c13c
Version Independent ID: 7a083252-932b-e5a4-1ae4-100e204c688b
Content: Worksheet.Columns property (Excel)
Content Source: api/Excel.Worksheet.Columns.md
Product: excel
GitHub Login: @o365devx
Microsoft Alias: o365devx

@sysfrank Thanks for your feedback. We use Github issues for documentation bugs, not for developer support. Please try the VBA developer community on Stack Overflow (https://stackoverflow.com/questions/tagged/vba) where you can get help from actual developers. If you find a bug in our documentation, please let us know! Thanks!


ReferenceError: fs is not defined

Hello i am try back do discord.js and try learn V14
I npm install discord.js fs dotenv.
I catch error on start: fs is not defined
if i change:
import fs from 'fs';
as
import {fs} from 'fs';
i get error:
SyntaxError: The requested module 'fs' does not provide an export named 'fs'
How to fix this? Can you help me?

There is nothing wrong with the import in the Bot.js file, so changing that isn't the way to go. Instead, I simply forgot to import the fs module when porting my interactionCreate event handler from my other bot.
To fix the issue, you simply have to put
import fs from 'fs';

at the top of the interactionCreate.js file. Aswell, you don't need to install fs as node already ships with it, so you can do
npm uninstall fs

as that one is the wrong module.
I fixed this and two other small issues in the latest release, so make sure to grab the latest release or to pull the latest version of the bot and run
npm i

as I updated the discord.js dependency.
By the way,
import { fs } from 'fs';

doesn't work as this imports an export named fs from the fs lib, but there is none. Instead, you want to import the entire module and store it in the fs variable, hence the syntax described prior.

ok i think i understand this now
import { fs } from 'fs'; → load exported fs part
So this lines is same?:
import fs from 'fs';
import * as fs from 'fs';

I am fist time use npm i   🤩 i always seperate write npm install for all package. This option is so useful.

Yes, these two lines do the same thing


fix: Update vulnerable dependencies

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

src/bin/git-events-runner.rs
0.00%
4 Missing :warning:

Files with missing lines
Coverage Δ

src/bin/git-events-runner.rs
0.00% <0.00%> (ø)


[BUG]

Due to the new Instagram update, the highlighted part did not work, please fix it

@Alinush124578 show your code, traceback, examples

code :
`from instagrapi import Client
cl = Client()
s_id = '' #Session_id
def main():
link = 'https://www.instagram.com/s/aGlnaGxpZ2h0OjE3OTQ0MjM4NDczODQwNDA4?story_media_id=2783500379422796645_2012240260&utm_medium=copy_link'
cl.login_by_sessionid(s_id)
pk = cl.highlight_pk_from_url(link)
info = str(cl.highlight_info(pk))
print(info)
main()`
trace back :
Traceback (most recent call last):   File "d:\python\insta bot\new_15.py", line 15, in <module>     main()   File "d:\python\insta bot\new_15.py", line 12, in main     pk = cl.highlight_pk_from_url(link)   File "C:\Users\Bestsenator\AppData\Local\Programs\Python\Python310\lib\site-packages\instagrapi\mixins\highlight.py", line 35, in highlight_pk_from_url     assert '/highlights/' in url, 'URL must contain "/highlights/"' AssertionError: URL must contain "/highlights/"
examples :
https://www.instagram.com/s/aGlnaGxpZ2h0OjE3OTQ0MjM4NDczODQwNDA4?story_media_id=2783500379422796645_2012240260&utm_medium=copy_link

@Alinush124578 you are not specifying a highlight link, but a share link!
Follow your link and you will see the highlight link
The share link can contain not only a highlight, but also a post
https://github.com/adw0rd/instagrapi/blob/master/instagrapi/mixins/share.py

how to use it ??

@Alinush124578 read the docstring!
cl.share_info_by_url(URL)

tnx so much
Is it possible to help me with another problem ???
I want to take the time interval between two dates as a list of dates.
For example, from 22/11/17 to 22/11/30
Which I want to be a list as follows:
18/11/22, 19/11/22, 20/11/22, .......


Add release notes for v19.2.0-rc.1

Fixes #5611.

This change is

releases/v19.2.0-rc.1.md, line 41 at r1 (raw file):

### SQL language changes

- `INTERVAL(6)` is now supported as an alias for [`INTERVAL`](../v19.2/interval.html), for compatibility with third-party tools. [#41447][#41447]

@jordanlewis, are you ok with the way I've rewritten these sql change release notes?

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/267c92e200f07844994a723b0924df67925ffcb8/
Edited pages:

releases/v19.2.0-rc.1.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/163fe4095162533d727611c8f96da51f05305387/
Edited pages:

releases/v19.2.0-rc.1.md

@jordanlewis, please review the third commit, too.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9e7fffead0942adb14da6449a62b2dd8d985af1a/
Edited pages:

releases/v19.2.0-rc.1.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9ade9d202c182644ad8f88c31161e1653b1df1a9/
Edited pages:

releases/v19.2.0-rc.1.md


Fix bug with elimination of duplicate certificates

This bug prevented syncing of certificates when the same certificate appeared twice in the dependency tree - candidate_certificates incorrectly claimed to be the set of processed certificates, when it was in fact the set of certificates that have been scheduled to be processed.
The failure case here was:
Suppose we have the following dependencies among certs A, B, C, D:
A -> [C, B]
B -> [C]
C -> []
We visit A, push C, push B, visit B. Now:
stack: [A, C, B]
candidate_certs: [A, C, B]
We pop B, refuse to push C again because it is in candidate_certs, and now we are unable to ever finish processing B.

We should add tests, but it's a bit tricky to replicate this bug in a test - I added one test that exercises the syncing code a bit more, but unfortunately it doesn't trigger the original bug.


Fix Bad error message for invalid type

Fix https://github.com/facebook/presto/issues/2402

@electrum thank you. Comment addressed

Merged. Thanks!


nnoremap { {zz seem not work

nnoremap { {zz seem not work

look at :nn { :
x  zz          * <Cmd>call <SNR>4_reveal('center', 0)<CR>
n  zz          * <Cmd>call <SNR>4_reveal('center', 0)<CR>

it is currently mapped to a workaround, though I think it might not be necessary these days, since win_viewport ? https://github.com/vscode-neovim/vscode-neovim/pull/649
related?: https://github.com/vscode-neovim/vscode-neovim/pull/919

@justinmk  i see, thank you for the reply


Error: No available formula with the name "autoreconf"

brew install cmake autoreconf libtool pkg-config => doesn't work for me :( There's no available formula with the name autoreconf.
EDIT: This leads to the following error when installing iohook, using sudo npm i iohook:
info CMD BUILD
info RUN cmake --build "/Users/stef/Documents/dev/lolhelper/node_modules/iohook/build" --config Release
./bootstrap.sh: line 7: autoreconf: command not found
make[2]: *** [CMakeFiles/prepare_iuhook] Error 127
make[1]: *** [CMakeFiles/prepare_iuhook.dir/all] Error 2
make: *** [all] Error 2
ERR! OMG Process terminated: 2

I solved this by installing brew automake. You might want to inform developers about this in your readme! :)
$ brew install automake

Thank you for feedback. I update readme, some later I update it in npm package.
Also, please give me any feedback if you will use this module. I just want to understand how it simple/difficult for developers or what is problems they have with using this module.


circular import error

when I am trying to 'import pyct' following error is showing:
Python 3.9.12, fftw-2.1.5, CurveLab-2.1.3 and swing 4.0.2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/zareef/software/PyCurvelab/pyct/__init__.py", line 23, in <module>
    from .fdct2 import fdct2
  File "/home/zareef/software/PyCurvelab/pyct/fdct2.py", line 9, in <module>
    from .fdct2_wrapper import *
  File "/home/zareef/software/PyCurvelab/pyct/fdct2_wrapper.py", line 13, in <module>
    from . import _fdct2_wrapper
ImportError: cannot import name '_fdct2_wrapper' from partially initialized module 'pyct' (most likely due to a circular import) (/home/zareef/software/PyCurvelab/pyct/__init__.py)

Hello. How did you fixed this? I'm having the same issue


installed cocorico, login link doesn't work

| Q |
So I followed the windows installation step by step. i ended up downloading and installing cocorico directly in symfony. i set up a virtual host via WAMP (different folder from symfony).
but when i try to login to the administrator dashboard to actually access and use the platform using the links provided at the end of the tutorial (www.cocorico.dev or www.cocorico.local) none work. They all lead me to the same "This site can't be reached" message. Is Cocorico down or was I supposed to install Cocorico INSIDE the virtualhost? im new at this. thanks!

you will need to check your hosts file to see if the domains you have chosen to install are pointing to <IP_ADDRESS>.
Also, did you copy the virtualhosts file to the wamp's configuration file? Please paste the contents here if possible..

@rkhyd
the domain i chose- cocorico.local - is in my hosts file pointing towards <IP_ADDRESS> In internet explorer, cocorico.local points towards the symfony directory folder in which everything is installed. In google chrome, i have to write "cocorico.local.localhost" but then it still takes me to the same site - the symfony root folder where all the documents live. You can open all the documents but none are rendering.
This is my vhosts file for wamp:
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local

<VirtualHost <IP_ADDRESS>:80>
ServerName cocorico.local
ServerAlias cocorico.local
DocumentRoot "C:/wamp64/www/cocorico_dev"

The cocorico github repository was downloaded and installed in the folder mentioned document root above, in a subfolder named "symfony." So that the files live in the following path:
C: > wamp64 > www > cocorico_dev > symfony
and when I try cocorico.local in my browser, that takes me to the symfony directory where all the files live but cocorico.local/admin/dashboard (internet explorer) and cocorico.local.localhost/admin/dashboard (chrome) both pull up a page that says:
"Not Found
The requested URL /admin/dashboard was not found on this server."

@rkhyd i should also mention that none of the files seem to work in a browser... even though they all work (i can open and read them and edit them) in my computer with a text editor.
for example, the script config.php with the path:
cocorico.local/config.php
returns "The requested URL /config.php was not found on this server." even though the file exists in that root directory

Hi @moscolb,
Did you do this : https://github.com/Cocolabs-SAS/cocorico/blob/master/doc/installation-application.md#configure-project


[HELP] Running paralell Browserstack tests?

We would like to add parallel Browserstack tests to our current project, but I am somewhat lost on how I would fit the json setup as suggested by the Browserstack wiki into the .properties file
  "environments": [{
    "browser": "chrome"
  },{
    "browser": "firefox"
  },{
    "browser": "safari"
  },{
    "browser": "internet explorer"
  }]

Is there a way to cleanly implement this in the webdriver.properties file?

Hi @WemansG90, apologies for late reply.
The following may help you with your problem:
https://github.com/Cognifide/bobcat/wiki/Working-with-multiple-threads
https://github.com/Cognifide/bobcat/issues/207
You might want to create separate profiles for each browser (with dedicated webdriver.properties) and then execute given test suite with the selected profile.
When you will point multiple executions to a Selenium Grid (that is used under the hood by cloud providers like Browsertack), their infrastructure will simply handle it on their own.


[bug]: NameError: name 'gc' is not defined

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
8GB
What happened?
This issue arises when using the high res optimization to generate an image. It successfully makes both passes on the low res and higher res versions of the image, and at the end an error is printed to the console NameError: name 'gc' is not defined and does not reveal the finished image.
Screenshots
No response
Additional context
Traceback (most recent call last):
  File "C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\backend\invoke_ai_web_server.py", line 1125, in generate_images
    self.generate.prompt2image(
  File "C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\ldm\generate.py", line 492, in prompt2image
    results = generator.generate(
  File "C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\ldm\invoke\generator\base.py", line 98, in generate
    image = make_image(x_T)
  File "C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\ldm\invoke\generator\txt2img2img.py", line 106, in make_image
    gc.collect()
NameError: name 'gc' is not defined

Contact Details
No response

The issue was fixed by #1939 last week. Try to update your InvokeAI.
Alternatively, you can also fix it without updating InvokeAI by adding import gc statement into txt2img2img.py file at your InvokeAI installation. The file is located at (based on your stack trace log): C:\Users\artis\Documents\invokeai\.venv\lib\site-packages\ldm\invoke\generator\txt2img2img.py . You can insert import gc among import statements in the beginning of txt2img2img.py file.


Log spam of bad entity nbt getting

https://github.com/TheIllusiveC4/Curios/issues/194

According to the API dev you need to update how entity handling is done on this mod.

Thanks for the report. I've uploaded a patch that fixes the issue


Housekeeping for deployWorkspaceProject

Organized files into new folders:

settings/
internal/

Wrapped existing settings logic under new V1 names (logic hasn't been changed at all).  Some of this logic will eventually be revisited/removed once we migrate to V2.

Eventual schema changes outlined here.

I'm asking because if we get rid of dwpSettingsUtilsV1 at some point, it'll look really weird 🤣
😂😂 I think we'll have to keep some concept of V1 and V2 so we'll probably be able to avoid that scenario


Scraping of BGP metrics on FortiOS < 7.0 emits errors in log

Jul 10 23:49:33 debian fortigate_exporter[80164]: 2021/07/10 23:49:33 Error: Response code was 404, expected 200 (path: "api/v2/monitor/router/bgp/neighbors")
Jul 10 23:49:33 debian fortigate_exporter[80164]: 2021/07/10 23:49:33 Error: Response code was 404, expected 200 (path: "api/v2/monitor/router/bgp/neighbors6")
Jul 10 23:49:33 debian fortigate_exporter[80164]: 2021/07/10 23:49:33 Probe of "https://xxx" failed, took 0.597 seconds

We should probably just ignore the metrics that are not supported. Maybe deal with 404 differently?

:tada: This issue has been resolved in version 1.6.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

🎉 此问题已在 1.6.2 版本中解决 🎉
该版本可在GitHub上获取
你的**语义发布**机器人📦🚀

Sorry, the problem still exists in my version
Fortigate_exporter Version: 1.23.2
Fortigate Version: v7.0.12
prometheus Version:v2.47.0
This causes Fortigate data to be discontinuous and intermittent.😒
systemctl --no-pager  status fortigate-exporter.service
● fortigate-exporter.service - fortigate-exporter
     Loaded: loaded (/etc/systemd/system/fortigate-exporter.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-01-02 15:10:47 CST; 34min ago
   Main PID: 4025680 (fortigate-expor)
      Tasks: 11 (limit: 19119)
     Memory: 11.2M
     CGroup: /system.slice/fortigate-exporter.service
             └─4025680 /usr/local/bin/fortigate-exporter -insecure --auth-file /data/prometheus/fortigate-key.yaml

1月 02 15:42:55 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:42:55 Warning: Response code was 404, expected 200 (path: "api/v2/monitor/system/sensor-info")
1月 02 15:42:55 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:42:55 Probe of "https://<IP_ADDRESS>:10443" failed, took 5.667 seconds
1月 02 15:43:20 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:43:20 Warning: Response code was 404, expected 200 (path: "api/v2/monitor/system/sensor-info")
1月 02 15:43:20 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:43:20 Probe of "https://<IP_ADDRESS>:10443" failed, took 0.641 seconds
1月 02 15:43:55 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:43:55 Warning: Response code was 404, expected 200 (path: "api/v2/monitor/system/sensor-info")
1月 02 15:43:57 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:43:57 Probe of "https://<IP_ADDRESS>:10443" failed, took 7.315 seconds
1月 02 15:44:25 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:44:25 Warning: Response code was 404, expected 200 (path: "api/v2/monitor/system/sensor-info")
1月 02 15:44:25 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:44:25 Probe of "https://<IP_ADDRESS>:10443" failed, took 5.636 seconds
1月 02 15:44:50 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:44:50 Warning: Response code was 404, expected 200 (path: "api/v2/monitor/system/sensor-info")
1月 02 15:44:50 prometheus-server fortigate-exporter[4025680]: 2024/01/02 15:44:50 Probe of "https://<IP_ADDRESS>:10443" failed, took 0.641 seconds


New markdown -> AST parser engine

Not super happy with the current one, so very likely going to whip up a new one using jison or something of the like. It'll be a major semver change, but with it will we be able to natively handle real HTML, so :tada: (block and inline.)
Please comment here if any flavors beyond GFM are important to you.

@alansouzati I believe you're the only dependent right now of this with Grommet - is GFM the extent of what you need right now?

I don't have any additional need apart from what is present today. This library is being used as the default markdown parser engine for Grommet as it is now allowing for custom components and properties.
As long as this feature remains in the library I'm all for investigating jison as a new parser for your library.
I guess you are planning to release v3.0.0 ? Let me know how I can help

@alansouzati Yes exactly, and I have my full test suite to maintain feature parity. Just switching out the AST engine under the hood so we can do more in the future.


Allow send specific messages that will be available in test report

What is your Test Scenario?
While running a test it will be useful to be able to write messages that will be available in the test report. Right now the only way to write a message is using an expect sentence that fails.
What are you suggesting?
To have some method to write message to the test report
What alternatives have you considered?
Right now I'm writing output to a text file and filter it after execution.

@fmancardi
Hello,
Thank you for your request. We will consider your suggestion in the context of this thread: https://github.com/DevExpress/testcafe/issues/3584.

@Farfurix, I apologize for not having searched for duplicates.
Thanks a lot

@fmancardi
No worries, you are welcome.


Skip assigning the ID property a unique value

Please describe the feature that you want to propose
The user doesn't need to specify a unique ID value in multiple-flow conditions after this PR.

This doesn't work for SSR. We will change this with the next major release where we will only support React18 so we can use useId.


Implemented Array#sort() (#24)

Also has the optional comparator

@JamesBlandford Thank you James! Merged :rocket:


icons: Implement Icon Deprecation indication

Is your feature request related to a problem? Please describe.
As an Auro Contributor
I want to have a clear indicator as to whether an icon is deprecated or not
so that I can clearly communicate to Auro Users which Icons they should use
Describe the solution you'd like
Initial early idea is to use some sort of HTML or Data flag to indicate an icon is deprecated within the JSON file.
Describe alternatives you've considered
No response
Additional context
#210 Is what has spurred us to take on this improvement
Exit criteria
I know I'm done when:

Icons can be indicated in some way as being deprecated
Icons are also indicated as deprecated in Figma Documentation

I haven't looked too much into this, but it seems like there may be a deprecation strategy already in place. This will need some more investigation.


Auth component does not work in dev mode (Live)

Auth component not working with sst dev
Issue
When running an sst.aws.Auth component in dev mode, the API returns "sst dev is not running". The auth handler works fine when dev: false is set, but fails without it.
Reproduction
I have a basic email/password auth setup using the following handler:
import { AuthHandler } from "sst/auth";
import { createSessionBuilder } from "sst/auth";
import { Hono } from "hono";
import crypto from "crypto";
import type { Adapter } from "sst/auth/adapter";
import { handle } from "hono/aws-lambda";

const users = new Map<
  string,
  { id: string; email: string; password: string }
>();

function hashPassword(password: string): string {
  return crypto.createHash("sha256").update(password).digest("hex");
}

const randomFourDigits = (): string =>
  Math.floor(1000 + Math.random() * 9000).toString();

const EmailPasswordAdapter = (): Adapter<{ email: string }> => {
  return (router: Hono) => {
    router.post("/auth", async (c) => {
      const body = await c.req.json();
      const { action, email, password } = body;

      if (action === "signup") {
        if (users.has(email)) {
          return c.json({ error: "User already exists" }, 400);
        }
        const hashedPassword = hashPassword(password);
        const id = randomFourDigits();
        users.set(email, { id, email, password: hashedPassword });
        return c.json({ claims: { id, email } });
      }

      if (action === "signin") {
        const user = users.get(email);
        if (!user) {
          return c.json({ error: "User not found" }, 404);
        }
        const hashedPassword = hashPassword(password);
        if (hashedPassword !== user.password) {
          return c.json({ error: "Invalid password" }, 401);
        }
        return c.json({ claims: { id: user.id, email } });
      }

      return c.json({ error: "Invalid action" }, 400);
    });
  };
};

export const session = createSessionBuilder<{
  user: {
    email: string;
  };
}>();

const auth = AuthHandler({
  providers: {
    emailPassword: EmailPasswordAdapter(),
  },
  callbacks: {
    auth: {
      async allowClient() {
        return true;
      },
      async success(ctx, input) {
        return ctx.session({
          type: "user",
          properties: {
            email: input.email,
          },
        });
      },
    },
  },
});

export const handler = handle(auth);

Not Working Config
export default $config({
  app(input) {
    return {
      name: "sst-auth",
      removal: input?.stage === "production" ? "retain" : "remove",
      home: "aws",
    };
  },
  async run() {
    const auth = new sst.aws.Auth("Auth", {
      authenticator: {
        handler: "./src/auth.handler",
        // dev: false,
        url: true,
      },
    });
    return {
      auth: auth.authenticator.url,
    };
  },
});

Working Config
export default $config({
  app(input) {
    return {
      name: "sst-auth",
      removal: input?.stage === "production" ? "retain" : "remove",
      home: "aws",
    };
  },
  async run() {
    const auth = new sst.aws.Auth("Auth", {
      authenticator: {
        handler: "./src/auth.handler",
        dev: false,  // This fixes it
        url: true,
      },
    });
    return {
      auth: auth.authenticator.url,
    };
  },
});

Expected Behavior
The auth component should work in dev mode without requiring dev: false.
Actual Behavior
API returns "sst dev is not running" when dev: false is not set.

Problem is actually version 3.3.x, roll back to 3.2.76 will work around it. 3.3.x introduced a new appsync bridge and that seems likely where the problem lies.

potential fix in v3.3.11

Updating to v3.3.11 seemed to fix the issue, thanks!

I had a similar issue with Live Lambda Dev not working on 3.3.x, probably for the same reason. Was about to file my own issue but I tried again with 3.3.11 and that fixed it — thank you Dax!

@pbalenzuela @thdxr I'm on "sst": "3.3.27" but seem to be experiencing the same issue, has this potentially broken again?
const nsgApiGateway = new sst.aws.ApiGatewayV2("nsgApiGateway");
// ...
// working
nsgApiGateway.route("GET /hello", {
  handler: "packages/nsg-functions/src/hello-handler.handler",
  dev: false,
});

// not working
nsgApiGateway.route("GET /hello", {
  handler: "packages/nsg-functions/src/hello-handler.handler",
});

Just to save anyone else the embarrassment of the day I spent dealing with trying to figure out this issue:
Make sure your shell is using the correct Node version (node -v).

Finally got it working on the following versions:
sst 3.3.21
node v22.12.0
My issue was I was running an older version of node 16.20.0. Thanks @solomonduncan  for the tip!


[AutoDiff] NFC: Use consistent headers for IndexSubset.{h,cpp}.

Left-align headers. Use consistent message. Use accurate year in copyright.

@swift-ci Please smoke test and merge


EventListener support for the resize event?

I'd like to capture the window resize event using the EventListener component to help with creating a responsive app layout. To do this I've added the EventListener to my layout:
EventListener(id="event-listener", events=[{"event": "resize", "props": []}])

This does not trigger any callbacks, which I'm assuming is because this event does not bubble? Is there a possible workaround here?

Potentially related to #255

I have added support in the latest 1.0.11 release. Could you test if it works as intended?


Parse failure for link text broken over line

E.g.
[Word
docx](https://en.wikipedia.org/wiki/Office_Open_XML)

Same for emphasis
*this is
strong*

_this is
emph_

And verbatim:
`verb
atim`

Thank you.
A bit confusing about the verbatim, because in the syntax description it says verbatim is closed at newline, but in the live playground it does parse as verbatim as you point out.

It doesn't say that verbatim is closed at newline. It says

If the text to be parsed as inline ends before a closing backtick string is encountered, the verbatim text extends to the end.

But "the text ends" here means that EOF is encountered (not EOL).

But "the text ends" here means that EOF is encountered (not EOL).

I think the key is "as inline", so "end of paragraph" should close the varbatim as well.
I'll need to think of how to do this though.

I think the key is "as inline", so "end of paragraph" should close the varbatim as well.

Yes, that's correct, what I said wasn't right.  But the main point is that newlines inside paragraphs don't end verbatim.


fix TLS classification version tests

What does this PR do?

Correctly sets up the docker openssl servers to use the intended TLS version, by capturing the loop variable (fix on both Go 1.21 and 1.22)
Fixes TLS version comparison by converting from network to host byte order.

Motivation

Go 1.22 exposed that this test loop suffers from the "for loop gotcha". Go 1.21 was using TLS 1.3 for all version tests, rather than the desired versions.
Once above was fixed, TLS 1.0 and TLS 1.1 tests were still failing which was traced to the TLS version bug.

Additional Notes
From TLS spec:

This byte ordering for multi-byte values is the commonplace network byte order or big endian format

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Change "Do not add" to "Cancel" - [Date/Time selection in alerting feature]

@sylviamclaughlin
HC has requested we change "Do not add" button to "Cancel"

For french it will be "Annuler"

Merge request has been created https://github.com/cds-snc/covid-alert-portal/pull/664

This has been approved and merged to stage.


Introduce GitHub Workflow for testing

Introduces GitHub workflow for testing
Removes .travis.yml
Introduce ISSUE_TEMPLATE.md and SUPPORT.md. Uses the standard templates that other Terraform providers use.

Very cool!


Demo of Sample

Can a video or a gif of the sample be put in the Readme section?
It will help in understanding the actual output of the example and helps in deciding it's relevance.

Thanks. We will consider it for a future update.


Pass folder path to initialize Tensorboard object

Changed tb_summarywriter from torch.utils.tensorboard.SummaryWriter to str because we used to initialize the object in config.py but can't do this in config.yaml. Initialization now happens inside Spec2Pep if a folder path is passed.

Feel free to merge when ready! 🎉
Also, please make sure to use "Squash and Merge"


Create a new pull request by comparing

Pull Request Test Coverage Report for Build 582093851

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 94.679%

Totals

Change from base Build 574071530:
0.03%

Covered Lines:
1904

Relevant Lines:
1967

💛  - Coveralls


XiaoMi Smart Door Lock M20 Pro Configuration Not Effect

{
    # XiaoMi Lock M20 Pro
    # https://home.miot-spec.com/spec/loock.lock.r2
    12183: ["Xiaomi", "Door Lock M20 Pro", "loock.lock.r2"],
    "spec": [
        MiBeacon,  # backward support old firmwares
        # sensor action
        EventConv("action", "sensor", mi="2.e.1020"),
        MapConv("position", mi="2.p.1", map={
            1: "indoor", 2: "outdoor", 3: "not tell indoor or outdoor"
        }),
        Converter("method_id", mi="2.p.2"),
        MapConv("method", mi="2.p.2", map={
            1: "mobile", 2: "fingerprint", 3: "password", 4: "nfc", 5: "face", 8: "key",
            9: "one_time_password", 10: "periodic_password", 12: "coerce", 15: "manual",
            16: "auto"
        }),
        Converter("action_id", mi="2.p.3"),
        MapConv("action", mi="2.p.3", map={
            1: "lock", 2: "unlock", 3: "lock_outside", 4: "lock_inside",
            5: "unlock_inside", 6: "enable_child_lock", 7: "disable_child_lock",
            8: "enable_away", 9: "disable_away"
        }),
        Converter("key_id", mi="2.p.4"),
        Converter("timestamp", mi="2.p.5"),  # lock timestamp

        # doorbell
        EventConv("action", mi="5.e.1006", value="doorbell"),
        Converter("timestamp", mi="5.p.1"),  # doorbell timestamp

        # doorbell sensor
        Converter("doorbell", "sensor", mi="5.p.1"),
        # contact binary_sensor
        MapConv("contact", "binary_sensor", mi="2.p.3", map={1: False, 2: True}),
        # lock binary_sensor
        MapConv("lock", "binary_sensor", mi="2.p.3", map={1: False, 2: True}),
        # battery sensor
        Converter("battery", "sensor", mi="4.p.1003"),
    ],
    "ttl": "25h"
}

I tried to add the Xiaomi Smart Door Lock M20 Pro following the standards outlined in https://home.miot-spec.com/spec/loock.lock.r2. Why does it show that this entity is disabled? I enabled the entity, but it still shows as unavailable.
Furthermore, I added 11971 and 5741, they took effect, and I hope you can incorporate them into the new version.Thank you.
{
    # https://home.miot-spec.com/spec/shhf.light.slcwb3
    11971: ["shhf", "Mesh Light", "shhf.light.slcwb3"],
    "spec": [
        Converter("light", "light", mi="2.p.1"),
        BrightnessConv("brightness", mi="2.p.2", parent="light", max=100),
        ColorTempKelvin("color_temp", mi="2.p.3", parent="light", mink=3000, maxk=6400),
        MapConv("mode", "select", mi="2.p.4", map={
            0: "None", 1: "Day", 2: "Night", 3: "Warmth", 4: "Reading", 5: "Tv",
            6: "Computer"
        }),
        BoolConv("flex_switch", "switch", mi="2.p.5"),
        MapConv("power_on_state", "select", mi="2.p.6", map={0: "Default", 1: "On", 2: "Off"}),
        BoolConv("wake_up_mode", "switch", mi="2.p.7"),
        BoolConv("sleep_aid_mode", "switch", mi="2.p.8"),
        MapConv("flow", "select", mi="2.p.9", map={0: "Auto", 1: "Immediately"}),
    ]
},{
    # https://home.miot-spec.com/spec/yeelink.light.spot2
    5741: ["yeelink", "Mesh Light", "yeelink.light.spot2"],
    "spec": [
        Converter("light", "light", mi="2.p.1"),
        BrightnessConv("brightness", mi="2.p.2", parent="light", max=100),
        ColorTempKelvin("color_temp", mi="2.p.3", parent="light", mink=2700, maxk=6500),
        MapConv("power_on_state", "select", mi="2.p.4", map={0: "Off", 1: "On", 2: "Default"}),
        MapConv("mode", "select", mi="2.p.5", map={
            0: "Dummy", 1: "Lighting", 2: "Night Light", 3: "Tv", 4: "Reading", 5: "Hospitality",
            6: "Warmth"
        }),
        BoolConv("flex_switch", "switch", mi="2.p.6"),
        MathConv("light_off_gradient_time", "number", mi="2.p.7",multiply=0.5, min=0, max=10),
        MathConv("light_on_gradient_time", "number", mi="2.p.8",multiply=0.5, min=0, max=10),
    ]
}

Thanks! I don't know about lock. You should collect debug logs

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.0


[Security] Workflow cache.yml is using vulnerable action jiro4989/setup-nim-action

The workflow cache.yml is referencing action jiro4989/setup-nim-action using references v1.3.4. However this reference is missing the commit 50fd5aacd77e300dc122c5cb626403817fb466c7 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Thanks for the heads up!


Not working with Blender 2.9.3

It says to upgrade to blender 2.8x, but it doesn't work with Blender 2.80 up to 2.93

De developer stopped working in this one. Is a shame but is true

I got this to work by downloading blender 2.79
Unfortunately the EDM format seems to have also changed so i cannot import my DCS models.

try this one
https://github.com/madwax/Blender_ioEDM/pull/8

Wasted some time here, note to others - just download the branch https://github.com/DartShinigami/Blender_ioEDM/tree/patch-3, and not the broken master with extra comments and fields in https://github.com/DartShinigami/Blender_ioEDM/blob/master/io_EDM/rna.py#L15
Thanks for the patch!

Seems like the addon isn't showing up. Downloaded patch3, Blender says it installed the addon but it is nowhere to be found. Tried 2.92, 2.93 and 3.0.0. Any ideas?

f

Works with blender 2.78

Seems like the addon isn't showing up. Downloaded patch3, Blender says it installed the addon but it is nowhere to be found. Tried 2.92, 2.93 and 3.0.0. Any ideas?

Works with blender 2.78

Though most of the meshes gives a error when you try to import it.


Brew install not working

When installing using the $ brew install jawshooah/pyenv/pyenv-default-packages command from the readme, the install fails with
==> Installing pyenv-default-packages from jawshooah/pyenv ==> Downloading https://github.com/jawshooah/pyenv-default-packages/archive/0.3.1.tar.gz ==> Downloading from https://codeload.github.com/jawshooah/pyenv-default-packages/tar.gz/0.3.1 ##O#- # Error: SHA256 mismatch Expected: cb3f5f5e3e4fd55e0623b21db623c64b57bb7dcd896497ee982c08e43bd3f40a   Actual: b7a77308643b97f327b32f24e9a937c03b04923a17217227a9931cb38f6bb062
Installing the dev version works fine.

I ran into this issue as well. Seems the author may be inactive. https://github.com/jawshooah/homebrew-pyenv/issues/1

Still an issue :'(

DISCLAIMER: THIS IS NOT ADVISABLE.
With that out of the way, if you're lazy, impatient, and careless like I am (and you don't want to take the more sensible option of just using the dev branch) then you can manually change the SHA hash and fix the mismatch that's causing the install to fail.
Again, this is not a very smart thing to do as you're bypassing a security check and allowing potentially malicious code to execute with the same permissions brew has. But the process to commit these mistakes is:

Copy the actual hash from your error message (b7a77308643b97f327b32f24e9a937c03b04923a17217227a9931cb38f6bb062 as of 2022-08-18)
Run brew edit jawshooah/pyenv/pyenv-default-packages
Go to the line that starts sha: and replace the hash with the one you copied

alternatively, if you're feeling especially reckless you can comment the line out entirely. I don't know if this is actually worse but it feels like it is.

Save and exit the editor (Esc then :x with vim)
Rerun brew install jawshooah/pyenv/pyenv-default-packages and enjoy not knowing if the package has been compromised until it's too late.
Reconsider your priorities

In case I didn't make this clear earlier: DON'T DO THIS. YOU'RE BETTER THAN THIS. But if you're still considering this then you're at least as lazy, if not lazier, than I am and you should probably feel bad about that.

I've decided to maintain a functioning fork for my own use.

I ended up creating my own tap as my PR on his brew tap has not been merged either. Not using this anymore so I'm going to close the PR and unsubscribe.


webpack.definePlugin definitions and garbage collection leak

Bug report

What is the current behavior?
When the definitions by webpack.definePlugin are being used in any module, It's not accessing the definitions from the reference but importing and duplicating them for each module.  Also, increasing garbage collection load cumulatively according to definition size. (Assume that, a big json file used for global definition)
If the current behavior is a bug, please provide the steps to reproduce.
I created a minimum reproducible repo. You can check the output -main.js- and it's content. Clearly visible that, the settings object is duplicated.
https://github.com/tugayilik/webpack-defineplugin

What is the expected behavior?
Not to duplicate values for each module and decreasing the garbage collection load.

Other relevant information:
webpack version:  5.31.2
Node.js version: 15.13.0
Operating System: macOS
Additional tools: -

That's working as intended. The DefinePlugin inlines source code into modules. If you want to have a shared settings object, use a module and import it everywhere (or use the ProvidePlugin).

I see. But what is the plus of this intend, why it inlines instead of referencing it like other modules?


Running flutter run -d windows doesn't work

When running the example project from https://github.com/superlistapp/super_native_extensions/tree/main/super_drag_and_drop/example with flutter run -d windows, files can not be dragged over from the explorer to the application.
But when running the EXE from flutter build windows directly, it works as intended.
https://github.com/superlistapp/super_native_extensions/assets/67712335/d80b7b35-351f-41b8-ba3c-f98aa0555eee

This usually happens when applications are running with different privilege levels. Are you running the command prompt as administrator?

Yes, I do

Is there a reason why? It doesn't seem like a good idea. In any case, drag & drop not working in Windows in this case is by design and there's nothing super_native_extensions can do about it. You can only drag & drop between applications running with same privilege level.


[RFC]: add C implementation for @stdlib/math/base/special/gamma-lanczos-sum-expg-scaled

Description
This RFC proposes adding C implementation for @stdlib/math/base/special/gamma-lanczos-sum-expg-scaled.
Related Issues
Related issues #649.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

I would like to work on this one.


fix: envvar defaults and node23 fix

#50  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jakim929 and the rest of your teammates on  Graphite


Renames?

On page two of  @ongardie's paper the names of the components in the diagram are StateMachine, Log, ConsensusModule, and Server.
Roughly:

Current Impl
Paper

StateMachine
StateMachine

Store
Log

Replica
Consensus

Server
Server

Client
Client

Should we do any renaming? Would this improve clarity? Are they appropriate?

My sense is this could be helpful in allowing people most easily compare/contrast your implementation with [others]  (https://raftconsensus.github.io/) out there---but I can also do a quick pass to see if those others are being consistent!

@ycoady We're on that list, too!

Yes yes I know, and the only Rust one (go figure!)

I'm in support of renaming Store to Log.  I'm also in support of renaming Replica since I don't think it's very descriptive, but I don't think ConsensusModule is much better (mostly I object to 'Module' since it's meaningless and could be confused with Rust's concept of modules).  It looks like logcabin's equivalent is RaftConsensus, etcd's is raft, and Hashicorp's is Raft.  I think of the bunch RaftConsensus or just Consensus is the best, but there's almost certainly a better name out there.  Rust (standard library) does have a tradition of not including the same identifier in module and type names (so for instance the same name in the module and type name, so for instance raft::RaftConsensus would be discouraged in favor of raft::Consensus.

I'll make a PR once #67 is closed.

I agree with @danburkert . The "Consensus Module" name isn't very good, but just calling it Consensus or Raft should help people find it.
LogCabin was initially meant to implement Paxos, btw. There was an interface named Consensus that RaftConsensus and PaxosConsensus were supposed to implement. PaxosConsensus never materialized into something worthy of committing, then RaftConsensus did, the Paxos attempt was abandoned, and Consensus was just merged into RaftConsensus.

I noted log as a module would conflict, so I used persistent_log.


Enable AvroSchemaManager to read schema from Kafka schema registry

Enable AvroSchemaManager to read schema from Kafka schema registry if the Uri scheme is http(s) or fall back to HDFS

@pcadabam Please review

Coverage decreased (-0.09%) to 45.815% when pulling ef57b0a15212919133f86fea235acd5140b9d4e4 on abti:master into 9924f75d31a4fb8d5035a14fb39db6615112ec05 on linkedin:master.

LGTM


Filter out gRPC generated code when adding implements ValidatingBuilder

This PR fixes filtering source sets that are output of gRPC compiler. ImplementValidatingBuilder action does not apply to these sources and fail with an exception when a Java file could not be found.
Previously, the code of ImplementValidatingBuilder action relied on the call to SourceFileSet.hasJavaFiles, which checks for the presence of a Java file in the set. gRPC Protobuf compiler does produce Java files, but the output placed under the grpc directory does not contain message files participating in gRPC calls. They are placed under java directory. Because of this it is not possible to find a source code file matching a message in the source file set with the grpc output directory.
Now, we call SourceFileSet.hasJavaOutput, which checks the target directory and that solves the filtering issue.

@alexander-yevsyukov LGTM, but please see my comment.
Also, I don't understand how this PR addresses filtering out the gRPC-generated sources. I am sure it works :) But let's discuss how :)

It's indeed not obvious. I've. updated the description of the PR.


I have an issue with the 'gligen_checkpoints' directory.

I cannot find that directory in Git, and I am unable to run the code due to a missing .pth file in that directory. Can you please guide me on how to resolve this issue with the code?

I have the same problem. Did you solve it?

the downloaded file will be in .bin format. You can change the path of the ckpoint with absolute path to avoid errors.
eg:
    dict(
        ckpt ="<HOME_PATH>/gligen_checkpoints//diffusion_pytorch_model.bin",
        prompt = captions[ind],
        depth = '<HOME_PATH>/predicted_depth/test/dpt0'+str(i)+'.jpg',
        alpha_type = [0.7, 0, 0.3],
        save_folder_name="depth"
    ),]

I've noticed that many tasks share the same checkpoint, 'diffusion_pytorch_model.bin,' such as Box+Text, Keypoint, and Semantic map. Can I use this single checkpoint for all of these tasks?

Hi @HappyYiru,
The authors have released a suite of 10 specialized checkpoints, each tailored for a distinct image generation task. For your specific needs, please download the checkpoints corresponding to Box+Text, Keypoint, and Semantic Map generation tasks, respectively. These are designed to handle these particular types of input effectively.

I've noticed that many tasks share the same checkpoint, 'diffusion_pytorch_model.bin,' such as Box+Text, Keypoint, and Semantic map. Can I use this single checkpoint for all of these tasks?

Hi @HappyYiru,
The authors have released a suite of 10 specialized checkpoints, each tailored for a distinct image generation task. For your specific needs, please download the checkpoints corresponding to Box+Text, Keypoint, and Semantic Map generation tasks, respectively. These are designed to handle these particular types of input effectively.


Classifier

modified model and added train to models.py

Hello @akhilsinghal1234! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file docs/conf.py:

Line 6:80: E501 line too long (80 > 79 characters)
Line 18:80: E501 line too long (80 > 79 characters)
Line 35:80: E501 line too long (89 > 79 characters)
Line 40:38: W291 trailing whitespace
Line 52:1: E265 block comment should start with '# '
Line 100:1: E265 block comment should start with '# '
Line 105:1: E265 block comment should start with '# '
Line 116:1: E265 block comment should start with '# '
Line 120:1: E265 block comment should start with '# '
Line 125:1: E265 block comment should start with '# '
Line 129:1: E265 block comment should start with '# '
Line 142:80: E501 line too long (80 > 79 characters)
Line 171:80: E501 line too long (88 > 79 characters)
Line 178:80: E501 line too long (80 > 79 characters)

In the file mirapy/__init__.py:

Line 15:1: E302 expected 2 blank lines, found 1
Line 18:1: E305 expected 2 blank lines after class or function definition, found 1
Line 18:80: E501 line too long (89 > 79 characters)
Line 19:80: E501 line too long (106 > 79 characters)

In the file mirapy/fitting/models.py:

Line 56:80: E501 line too long (86 > 79 characters)

In the file setup.py:

Line 4:80: E501 line too long (82 > 79 characters)
Line 20:80: E501 line too long (93 > 79 characters)
Line 29:80: E501 line too long (89 > 79 characters)
Line 30:80: E501 line too long (102 > 79 characters)
Line 35:1: E402 module level import not at top of file
Line 36:1: E402 module level import not at top of file
Line 38:1: E402 module level import not at top of file
Line 41:1: E402 module level import not at top of file
Line 43:1: E402 module level import not at top of file
Line 44:1: E402 module level import not at top of file
Line 139:80: E501 line too long (99 > 79 characters)
Line 151:1: E124 closing bracket does not match visual indentation

@akhilsinghal1234 LGTM. I'll merge it after Travis build passes.


devfs modify existing file on local file system failing on OS X

Steps to Reproduce
./dev/bots/test.sh

Logs
00:25 +45 -1: devfs modify existing file on local file system
  Expected: true
    Actual: <false>

  package:test                                       expect
  test/devfs_test.dart 46:7                          main.<fn>.<fn>.<async>
  dart:async                                         _SyncCompleter.complete
  package:flutter_tools/src/devfs.dart 456:3         DevFS.update.<async>
  dart:async                                         _SyncCompleter.complete
  package:flutter_tools/src/devfs.dart 578:5         DevFS._scanDirectory.<async>
  ===== asynchronous gap ===========================
  dart:async                                         _Completer.completeError
  test/devfs_test.dart 47:6                          main.<fn>.<fn>.<async>
  dart:async                                         _SyncCompleter.complete
  package:flutter_tools/src/devfs.dart 456:3         DevFS.update.<async>
  dart:async                                         _SyncCompleter.complete
  package:flutter_tools/src/devfs.dart 578:5         DevFS._scanDirectory.<async>
  ===== asynchronous gap ===========================
  dart:async                                         _asyncThenWrapperHelper
  test/devfs_test.dart                               main.<fn>.<fn>
  package:flutter_tools/src/base/context.dart 75:26  AppContext._run.<async>
  ===== asynchronous gap ===========================
  dart:async                                         Future.Future.microtask
  package:flutter_tools/src/base/context.dart        AppContext._run
  package:flutter_tools/src/base/context.dart 66:13  AppContext.runInZone.<fn>
  dart:async                                         runZoned
  package:flutter_tools/src/base/context.dart 65:12  AppContext.runInZone
  test/src/context.dart 80:32                        testUsingContext.<fn>.<async>
  ===== asynchronous gap ===========================
  dart:async                                         Future.Future.microtask
  test/src/context.dart                              testUsingContext.<fn>

Flutter Doctor
lukechurch-macbookpro:flutter lukechurch$ ./bin/flutter doctor
[✓] Flutter (on Mac OS, channel unknown)
    • Flutter at /Users/lukechurch/GitRepos/flutter
    • Framework revision 39872e7df1 (63 minutes ago), 2016-11-21 11:49:35
    • Engine revision cea5ed2b9b
    • Tools Dart version 1.21.0-dev.6.0

[✓] Android toolchain - develop for Android devices (Android SDK 23.0.2)
    • Android SDK at /Users/lukechurch/Library/Android/sdk
    • Platform android-23, build-tools 23.0.2
    • Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.1, Build version 8B62

[✓] IntelliJ IDEA Ultimate Edition (version 2016.2.5)
    • Dart plugin installed
    • Flutter plugin installed

[✓] Connected devices
    • None

Pretty sure this is fixed.


How to delete mcu scanline?

Hi,
Can you add delete mcu scanline and cropt height width function?

Hi @DRCRecoveryData .
Example?

Hi,
It's here:
https://www.jpegmedic.com/tools/jpegmedic/help/repairing-jpeg-image/repair-window/repair-window-menu/

Hi @DRCRecoveryData .
???

Hi @DRCRecoveryData .
???

When select the first mcu block of first scanline it's will remove the mcu row example row 1 and crop the height of jpeg file


API agents shows only users' profiles

agents API returns users' profiles, not agents as we developed into schema.  I also didn't get any models. Currently I need to get models, not users

This works correctly. You should add the changes that were in the commit: 9e43a7f


Sync eng/common directory with azure-sdk-tools for PR 1848

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1848  See eng/common workflow

Failures are not related to the changed files. Going to override the PR.

/check-enforcer override


Strict Aliasing Rule Option

In order to optimize resolve method in Klee we can restrict number of possibly created forks by adding option like -strict-aliasing to klee. Helpful option for C++, as Strict Aliasing violation leads to UB.
Also it is a good option to limit number of states, which can be generated after resolve. E.g. if problem is not in casting pointers, we will force klee to skip some useless states by adding this option.

Can't be resolved without Clang type info


SchematicContext.addTask add task with reversed order

🐞 Bug report

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
I don't know.
Description
I'm coding a custom Schematic, when I try to add multiple tasks with SchematicContext.addTask, they executed with reversed order. I think that it should be executed at natural order.
Execute the next schematic at blank Angular project.

import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
import { RunSchematicTask } from '@angular-devkit/schematics/tasks';

// You don't have to export the function as default. You can also have more than one rule factory
// per file.
export function base(_options: any): Rule {
  return (tree: Tree, _context: SchematicContext) => {

      _context.addTask(new RunSchematicTask('@angular/material', 'ng-add', {
          ..._options,
      theme: "custom",
      typography: true,
      animations: true
    }));
    _context.addTask(new RunSchematicTask('example', _options));

    return tree;
  };
}

🌍 Your Environment

Angular CLI: 10.1.0
Node: 12.18.3
OS: win32 x64

Angular: undefined
...
Ivy Workspace: Yes

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1001.0 (cli-only)
@angular-devkit/core         10.1.0
@angular-devkit/schematics   10.1.0
@angular/cdk                 10.2.2
@schematics/angular          10.1.0
@schematics/update           0.1001.0 (cli-only)
rxjs                         6.6.2
typescript                   4.0.2

Task execution order is indeterminate if the task has no dependencies.  The tasks can also potentially be executed in parallel as well.  For tasks that have the have a defined order of execution, dependencies should be passed when addTask is called.
For an example, please see the Angular ng-new schematic where the git initialization is dependent on the package manager task(s): https://github.com/angular/angular-cli/blob/c6aeb60f4d6c393d101612b017c780d634bf591f/packages/schematics/angular/ng-new/index.ts#L79-L105

Closing as answered in the above comment.


Tabs don't snap back to resize

When a bunch of terminal tabs close, the tabs should automatically grow back to normal size, like Web browser tabs.
Workaround: Jig the window around a bit, such as tiling.

Does it not snap back when you move the mouse off the tab bar? The tabs don't move while you're closing them so as to not move UI elements that are likely under the cursor.


feat: make overlays from JSON definition in package.json file

Background
Writing Nix expressions for non-Nix folks can be overwhelming. For example, developers from product teams can bump and update Node.js packages quite often, and sometimes they have to deal with Nix expressions like this:
self: super: {
  "<EMAIL_ADDRESS>= super."<EMAIL_ADDRESS>{
    doChecks = false; };
<EMAIL_ADDRESS>=<EMAIL_ADDRESS>    # Add peer dependency
    (x: { modules = x.modules ++ [ (self."<EMAIL_ADDRESS>]; });
<EMAIL_ADDRESS>=<EMAIL_ADDRESS>{
    patches = [
      ./patches/0001_yargs_cve.patch
    ]; };
<EMAIL_ADDRESS>=<EMAIL_ADDRESS>{
    src = ./vendor/left-pad; };
}

which is pretty natural for folks who are aware of how to write Nix but for those who are not familiar it can be challenging. Also, I found that the complexity of Nix and its ecosystem is the main barrier when people question if we should adopt Nix more, which I believe shouldn't even be asked.
That is, the main point of this PR is to reduce this burden and let non-Nix folks apply overlays defined in package.json files instead of writing Nix expressions in the Nix language.
The solution
The introduced mechanism is very similar to additional sections of package.json file that different package managers from Node.js ecosystem support. For example, Yarn supports the resolutions section, PNPM supports pnpm.overrides (and more), and so on.
For example, instead of creating an overlay function as a Nix expression as above, the same can be done in package.json file now:
{
  "js2nix": {
    "overlay": {
      "@jest/globals": {
        "doCheck": false
      },
      "babel-jest": {
        "addDependencies": [
          "@babel/core"
        ]
      },
      "yargs": {
        "patches": [
          "./patches/0001_yargs_cve.patch"
        ]
      },
      "left-pad": {
        "src": "./vendor/left-pad"
      }
    }
  }
}

In this PR
This PR required many things to be moved around to make it work and a couple of those are naturally aligned with the point of this PR, here are the technical pieces of the changeset:

The js2nix section inf package.json file, and an overlay function generation, see ./overlay.nix file.
The __meta__ section in the resulting generated Nix expression, to make the overlay generation logic work. Otherwise it won't be possible because it's not possible to inspect the whole resulting attrset from within an overlay, it will reach infinite recursion.
Short package aliases. It's possible to get packages from the closure by their name without version or version range, as it was before. That is before it was only possible to get a package from closure<EMAIL_ADDRESS>
It can be gotten by:tree."yargs"

(js2nix will abort the evaluation phase if there is a name clash)
Re-formatting of the lib.nix file, which is the cause of a huge diff
The check phase implementation for every buildable package (i.e. if it's not hosted). Now every package that exports either index.js file in the package root folder or the main field in package.json file will be checked by default if it can be required in Node.js context, like require('yargs'). Can be disabled by overriding.
The buildEnv function as the main API entry point to reduce cognitive overloading and make use of js2nix simpler. For example, it's only single function invocation nowlet
  env = js2nix.buildEnv {
    package-json = ./pacakge.json;
    yarn-lock = ./yarn.lock;
  };
in env.pkgs.jest # or env.nodeModules

See the documentation's addition, for more details.

is this a breaking change btw?

No, it's not a breaking change, everything will continue working as it was before.

@pathway27, I will rebase on https://github.com/canva-public/js2nix/pull/7 after it's merged so we can see any regression if any.


add demos and details for aida code gen

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65dfd2cf125a3193ba823362--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65dfd311fb35cc8cd4bf0bad--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65dfd59bfb35cc8df3bf0be2--harness-developer.netlify.app


Lockscreen reveals desktop after wake

Hi,
I am using betterlockscreen with systemd's sleep/suspend service. While it gets triggered 100% of the time, there's one thing that really bothers me. To be precise, right after my system wakes up from sleep and before lock screen is shown, I can clearly see all the applications currently running on my desktop (not blurred or anything).
Is there any way to prevent this behavior, since this is pretty concerning issue from security standpoint?
Thanks!

I don't know why, but my systemd service file did not have a couple of vital lines (Before and ExecStartPost). I used the standard AUR package.
Now that I added these manually, there's a delay between the locking and suspending, which solves the issue.
Closed.


Update openapi-circe-yaml, openapi-model to 0.6.2

About this PR
📦 Updates

com.softwaremill.sttp.apispec:openapi-circe-yaml
com.softwaremill.sttp.apispec:openapi-model

from 0.4.0 to 0.6.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.apispec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.apispec" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #375.


Add 'update' alias for 'upgrade' command

Adds an additonal alias update to the upgrade command, for ease of use.

/lgtm


Add support for signing and renewing client certificates

Current version supported only server certificates, this patch adds possibility to sign also client certificates.

Are DNS names supposed to be included? I thought the common name should be the email address.


Feature/mc 9563 DOI profile - Submission UI

WIP of the new DOI profile submission UI.
First step is to refactor the existing default/other/profiles views embedded in every domain type view component - replication of code is causing issues with adding the new features required for DOI.

Ported ProfileBaseComponent to a new shared component called mdm-profile-data-view.
Shared component does the same job as before - displaying correct profile view, edits, etc - but does not require every domain type view to integrate so tightly, can now act as a child component.

Currently only the DataModelComponent view has been modified to display this new shared profile view as a test case to prove it works.

PR is now updated with all parts, hoping that backend endpoints are completed.


View code not showing twig file

It seems to be searching for a mustache file.
The Twig tab in the code drawer shows the following:
404 Not Found

Not Found
The requested URL /patterns/00-atoms-01-global-00-colors/00-atoms-01-global-00-colors.mustache was not found on this server.

Apache/2.4.7 (Ubuntu) Server at [url] Port 80

Yeah, the "code panel" Javascript is set to get a re-write here this week. I also need it more flexible to allow plug-ins to create their own panels. Thanks for the heads up on this particular issue though.

I've fixed this specific issue. Please run:
composer update pattern-lab/styleguidekit-assets-default

Let me know if it's working for you and then I'll close this out. Thanks.

Yep, this works.
Thanks!


Fix deep store directory structure

Description
This PR is the fix for the issue described in #6966. Basically it reverts the changes recently made to deep store directory structure.
Testing Done
Deployed locally and verified that segments are created in tableName/segmentName directory structure instead of the current problematic directory structure tableName_OFFLINE/segmentName. Also segmentDownloadUrl in segment ZKMetadata points to the desired directory.
Before:
"segment.offline.download.url": "http://<IP_ADDRESS>:9000/segments/baseballStats_OFFLINE/baseballStats_OFFLINE_0"
After:
"segment.offline.download.url": "http://<IP_ADDRESS>:9000/segments/baseballStats/baseballStats_OFFLINE_0"
The tests were done with an offline table and also a hybrid table to validated both realtime and offline segments. The query execution is also fine for both offline and realtime scenarios.

Codecov Report

Merging #6976 (97f0598) into master (0185482) will decrease coverage by 7.90%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##             master    #6976      +/-   ##
============================================
- Coverage     73.23%   65.33%   -7.91%
  Complexity       12       12
============================================
  Files          1439     1439
  Lines         71333    71333
  Branches      10334    10334
============================================
- Hits          52243    46602    -5641
- Misses        15578    21357    +5779
+ Partials       3512     3374     -138

Flag
Coverage Δ

integration
?

unittests
65.33% <25.00%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ces/PinotSegmentUploadDownloadRestletResource.java
10.04% <0.00%> (-44.98%)
:arrow_down:

.../controller/helix/ControllerRequestURLBuilder.java
59.16% <100.00%> (-5.00%)
:arrow_down:

...a/org/apache/pinot/minion/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/minion/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pache/pinot/common/utils/grpc/GrpcQueryClient.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pinot/minion/exception/TaskCancelledException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/core/startree/plan/StarTreeDocIdSetPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../core/startree/plan/StarTreeTransformPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...core/startree/plan/StarTreeProjectionPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 336 more

Continue to review full report at Codecov.

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

Thanks for the timely action, @chenboat

Marking this with backward-incompat and release-notes labels in case the @chenboat 's commit made it to the prior release. @chenboat  please remove the labels if your commit did not make it to a release yet.


docs: Fixing main README.md broken link for flutterfire_ui

Description
Removed reference to flutterfire_ui directory, and added list of UI related packages  (per comment).
Related Issues
This pull request resolves #10459
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Hi @russellwheatley, I saw your comment on this stale PR . I tried addressing your comment . If you could please review this change and let me know if there are any additional ui packages you would want me to reference.


api timeout is not handled properly

This seem to be due to the error object not containing error.response. When this happens, the UI button is frozen and no UI notification of something going wrong is displayed.

I'm having exactly the same issue.

On the miannet it shows that there have been no transactions out of the dapp. It shows there's crypto in there, but nothing is moving.

Netowkr Error connecting to backend.matic.static:3000. Backend server might be down.

The backend crashed while I was on vacation, I restarted it yesterday, sorry for the service interruption


Added more model for training the dataset

Fixes #41 . Added the xgboost , lightgbm and xgboost model for training the dataset
Discod id: PAyush#3770

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

I will see it later.


fix(deps): update dependency @dcos/ui-kit to v3.75.0

This PR contains the following updates:

Package
Type
Update
Change

@dcos/ui-kit
dependencies
minor
3.73.0 -> 3.75.0

Release Notes

dcos-labs/ui-kit
v3.75.0
Compare Source
Features

adds a prop to open button links in a new tab (7b60b9e)

v3.74.0
Compare Source
Features

icons: adds CI/CD product icon (a47b7d5)

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 3.0.51 :tada:
The release is available on:

v3.0.51
GitHub release

Your semantic-release bot :package::rocket: