The server mode SSL must use a certificate with the associated private key

如果出现这错误，可以尝试修改使用X509Certificate2

我在mac电脑上运行官网默认的mvc案例也会出现这个问题。
只要浏览器一但访问 https://localhost:5001/ 控制台就会出现下面的错误信息，而网站也根本访问不了
fail: Microsoft.AspNetCore.Server.Kestrel[0]
Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()
Microsoft.AspNetCore.Server.Kestrel:Error: Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()
fail: Microsoft.AspNetCore.Server.Kestrel[0]
Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()
Microsoft.AspNetCore.Server.Kestrel:Error: Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()
fail: Microsoft.AspNetCore.Server.Kestrel[0]
Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()
Microsoft.AspNetCore.Server.Kestrel:Error: Uncaught exception from the OnConnectionAsync method of an IConnectionAdapter.
System.NotSupportedException: The server mode SSL must use a certificate with the associated private key.
at System.Net.Security.SecureChannel.AcquireServerCredentials(Byte[]& thumbPrint, Byte[] clientHello)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslState.ThrowIfExceptional()
at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__51_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionAdapter.InnerOnConnectionAsync(ConnectionAdapterContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ApplyConnectionAdaptersAsync()


Rewrite test to use describe.each instead of Array.prototype.forEach

Groups menu links tests inside a describe function.
Output before
External links
    ✓ is possible to click the link for Main Repository (385 ms)
    ✓ is possible to click the link for npm (299 ms)
    ✓ is possible to click the link for Packagist (265 ms)
    ✓ is possible to click the link for jsDelivr (Content Delivery Network) (267 ms)
    ✓ is possible to click the link for UNPKG (Content Delivery Network) (283 ms)
    ✓ is possible to click the link for Open Collective (268 ms)
    ✓ is possible to click the link for Legal Disclaimer (282 ms)
    ✓ is possible to click the link for Github repository (270 ms)

Output after
  External links
    ✓ is possible to click the link for Github repository (372 ms)
    is possible to click menu links
      ✓ is possible to click the link for Main Repository (398 ms)
      ✓ is possible to click the link for npm (282 ms)
      ✓ is possible to click the link for Packagist (301 ms)
      ✓ is possible to click the link for jsDelivr (Content Delivery Network) (282 ms)
      ✓ is possible to click the link for UNPKG (Content Delivery Network) (282 ms)
      ✓ is possible to click the link for Open Collective (267 ms)
      ✓ is possible to click the link for Legal Disclaimer (499 ms)

Sure. There are other places I think that this refactoring can be applied. Something for later.


The framework will have a tars in the client of low version 1.5.0_ client.log Log is the log file must be typed?

It is found that only the client is used, and this log file is not available online. What is the general question?

This is the client log controller added in last year's version. Only the client will automatically output a separate log controller.

这是去年的版本添加的客户端日志控制器，只有客户端会自动输出单独的日志控制器。


Revert "PIC-4019: Libra hearings use c_id instead of case_id, so this changes…"

Reverts ministryofjustice/court-case-matcher#637

Please release to production


fix(listing): Actually re-build go money

Review Checklist

[x] Merge this PR automatically (uncheck this if you want to opt-out of automerging)
[ ] Commit is correct:

Title is 60 chars and has a component prefix if needed
Commit summary clearly tells the core impact of the commit
Rest of commit message is wrapped at 72 characters
If applicable, GH issue is mentioned in the commit message
If other members of the company need to know about whatever is changed by this commit, Release-notes section is included

[ ] Pull request is correct:

If applicable, GH issue is linked to Pull Request
If there is a UI change a screenshot, GIF, or screen recording is included in the Pull Request

[ ] Meets all functional requirements:

The code is expected to do what the commits state it’s supposed to do
The code covers all edge cases
If there is a UI change the user experience is consistent with the rest of the system, easy to use, looks good, and reasonably future-proof

[ ] Meets all readability and design requirements:

All code is spelled correctly (i before e except after c)
Everything (Classes, Variables, Functions, Parameters, etc) is named to clearly describe their purpose with type declarations for function parameters and returns
Comments should be used describe why something is happening unless the function name doesn't capture the intent, or if there is an especially complex/confusing section of code
Code is broken into appropriate components for effective re-use, readability, and to allow for easily swapping in/out different layers of the implementation

[ ] Meets all testing requirements:

If the code can be tested with a reasonable amount of effort
If the code can’t be tested effectively, determine if a beta release is appropriate


Is there a way to use a variable instead of a string message?

Hi, I'm trying to use a variable instead of string, is there a way to do that?
in the following example deleteMsg it's a public string variable.
<button class="btn" [swal]="{text: deleteMsg, showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel'}" (confirm)="delete(user)">
Thanks

This is supported by Angular, yes, but deleteMsg has to be an instance property.
@Component({ ... })
export class MyComponent {
    public deleteMsg = "Delete!";
}

(Closing the issue immediately since this is an Angular-specific question.)

Thanks for your quick answer but my question is regarding the HTML?
I mean,  I agree about your implementation on the component, but what about the html? how can i escape the variable because the variable is not recognized.
@Component({ ... })
export class MyComponent {
    public deleteMsg = "Delete!";
}

and
<button class="btn btn-clear" [swal]="{text: deleteMsg,
              showCancelButton: true, confirmButtonText: 'Yes', cancelButtonText: 'Cancel'}"
                      (confirm)="delete(user)">
                <i class="fa fa-times"></i>
              </button>

The sweet alert is showed without Text.

Strange. Can't test that right now but I don't see what could possibly go bad with a variable.
What your instance variable contains exactly?

I'm so sorry that was my fault, my apologies. it was an issue on my code. I'm using a translation service  (for multi-language ) and the error was there.
Sorry for make you to spend time on this.  and thank you so much for your help

It was likely to be something like that (that's why I've closed the issue so quickly).
No problem, have a good day :)


Limit unread_msgs data structure to only some unread messages

Some users may have as many as 1M unread messages but still be caught up, because these other unread messages are in muted or even unsubscribed streams/topics.
We'll want to probably eliminate the situation of unread messages on muted streams, but for the case of muting, as well as users who just are really far behind, we should limit the unread_msgs API's number of messages to look at to something sane like 25K.  Anyone with more unread messages than that probably is in a weird state, and also probably doesn't care about the really old ones.
See https://chat.zulip.org/#narrow/stream/backend/subject/unread.20data/near/259338 for some details on a specific case of this issue.

We did this a long time ago; I believe we're currently using 50K for this.


Feature/apvs 672/upload file functionality

Apvs 672 - upload file functionality

Upload function using multer
File upload domain
Test for domain
Validation for upload and domain
Tests for validation
Document check to create directories if they do not exist
Config updates for configurable values
DB call to insert Claim Document
Integration helper update
Integration tests

Checklist

[x] Unit tests
[ ] End-to-End tests
[x] Code coverage checked
[x] Coding standards
[x] Error Handling
[ ] Security/performance considered?
[ ] Deployment changes considered?
[ ] README updated

update migration to set DocumentStatus to length 20

merge dev in and add csurf logic


Add install script to use hub more easily in github actions

This script is directly inspired by https://github.com/helm/helm/blob/master/scripts/get
You can use it to install hub in command line easily using the following command:
curl -qs https://raw.githubusercontent.com/vibou/hub/master/install.sh | env DESIRED_VERSION=2.12.3 bash -
If no version is specified the latest is used
curl -qs https://raw.githubusercontent.com/vibou/hub/master/install.sh | bash -
The script automatically detects the OS and the ARCH to download the correct release asset.

deno has made a dedicated repository recently for this kind of scripts https://github.com/denoland/deno_install WDYT? 🤔

@vibou Thank you for the script!
I have a sense that the script might be a bit too long for the purpose of just making hub available in the current environment, usually Actions. Since hub in CI is only used in one-off jobs, I don't think it makes sense to install it system-wide. Instead, downloading just the bin/hub executable would do.
What do you think of an approach like in https://github.com/github/hub/issues/2249#issuecomment-548008147?

See also https://github.com/github/hub/pull/1585


GSoC idea

I've been thinking that a fast 2D signal browser would be nice to have. Would it be OK to add a project to our GSoC ideas? Here's a draft, let me know what you think:
6. Write high-performance 2D visualization for browsing signals
Difficulty
Medium (requires experience with GUI toolkits such as Qt/PyQt)
Possible mentors
Clemens Brunner
Goal
MNE-Python currently offers a Matplotlib-based signal browser to visualize EEG/MEG time courses (raw.plot()). Although this browser gets the job done, it is rather slow (smooth scrolling is not possible) and uses custom (i.e. non-standard) GUI elements. The goal of this project is to implement an alternative signal browser that solves these issues, i.e. it should support smooth scrolling through the data and use standard GUI elements. The browser should also support working with annotations. If possible, Qt-based solutions should be preferred, and of course the result should be written in pure Python and work across platforms. Therefore, potential solutions include using PyQtGraph or writing custom Qt widgets.
In the long run, we plan to create a high-level plotting API which supports multiple backends. This project will eventually be used as a specific high-performance backend.
Subgoals

Determine optimal toolkit/package to implement a high-performance browser
Implement signal browser
Write CI tests

I've been thinking about this too. I would start by something in a
satellite repo of mne-python
which is also easier for new comers that do not start from a huge legacy
code base

Yes, this can be a relatively independent project, and once it's ready it can be easily integrated. But do you agree that it should still be part of MNE-Python GSoC? A satellite repository wouldn't qualify for GSoC I think.

This fits with our discussion last week at office hours about moving UI controls out of the brain viewer figure window and into the toolbar.  I agree with movement in that direction for 2D plots as well.  My only hesitation is that I think getting the raw/epochs/ICA data browsers to be properly interactive in a notebook is an equally high (or maybe higher) priority...  so in a perfect world I would want whatever solution gets implemented here to be compatible with a solution to the notebook embedding problem.

Yes, I haven't thought about notebooks at all. Personally, I don't use them and I don't think it's worth supporting interactive data exploration in a notebook, but maybe that's just me. In any case, I guess this would invalidate all Qt-based solutions I know and it's probably better to look into web-based viz tools.

Personally, I don't use them and I don't think it's worth supporting interactive data exploration in a notebook, but maybe that's just me.

I don't use them often either, but it seems a lot of users do.  I think we need to support both.  There are also users trying to embed raw data browser into other applications (e.g., https://github.com/mne-tools/mne-python/issues/8142).  What I'm envisioning is a design where we have some kind of data object with an "upper" API for taking input from qt widgets, ipywidgets, or whatever, and a "lower" API for the backend canvas (matplotlib, pyqtgraph, whatever).  I'm hoping that it's possible to build out a PyQtGraph-based solution for a fast desktop data browser that gets us part of the way toward that goal / makes interactive (if slow) data browsers in the notebook (or embedded in other apps) easier to achieve later.

This sounds like a good idea. So I'd focus on a specific backend in this project then. I have a basic concept working with PyQtGraph, and I've also started to implement something using base Qt. I think the latter will be much more customizable to do what we really want, but of course more work.

I've updated the project description, feel free to edit @drammock.

I've edited the last paragraph. Thanks @cbrnr

Thanks @drammock, I'll add that to the wiki.

10 sec of 376 channels scrolls pretty smoothly on my machine using VTK using this gist (after applying the necessary fix from a related VTK issue), which we've gotten to embed pretty nicely lately in notebooks and Qt (here Qt):
https://user-images.githubusercontent.com/2365790/108407187-6629bb00-71f1-11eb-9eee-c493b5b51678.mp4

Sorry that was actually only 2 sec of data, at 10 sec it is a little bit slower:
https://user-images.githubusercontent.com/2365790/108407536-d9333180-71f1-11eb-83ba-695a6869209c.mp4
But still I think performance is good enough already here, and I haven't tried to optimize the data upload/replacement or anything.

This looks promising, but the key issue will be how to display a large data set at various scales. I guess these issues are independent from the frontends (VTK, Qt), but important for smooth visualization. I haven't played around yet, but I'd start with keeping only the visible segment in memory and loading subsequent segments on demand from disk. Of course this gets trickier with large time scales, where 1 pixel corresponds to e.g. 1000 samples or more. I guess downsampling will be necessary, but we'd have to test if this if fast enough on demand.

I haven't played around yet, but I'd start with keeping only the visible segment in memory and loading subsequent segments on demand from disk.

Based on trying to optimize our matplotlib backend a lot (@drammock let me know if you agree) the drawing is the biggest bottleneck. Our raw data reads are not (currently at least) an appreciable problem relative to the draw time. So to me the fact that VTK can display over 2 million data points smoothly above suggests that it will alleviate our biggest bottleneck.
To test if anything other than drawing will be a bottleneck, you can take our raw plotting code and comment out any draw calls. Then try interacting and see if it's snappy enough. My guess is that for most use cases it will be.

Are you sure it's drawing all data points?  In my naive tests with Qt, drawing got slower and slower the larger the data was, even though the same amount of points were visible at a time.

Are you sure it's drawing all data points?  In my naive tests with Qt, drawing got slower and slower the larger the data was, even though the same amount of points were visible at a time.

I'm not quite sure what you have in mind here, but I'm pretty sure it would just redraw all shown data points every refresh (no caching / blitting / etc.). In the code I actually delete the data table and recreate it from scratch based on the time slice needed for each draw, so VTK wouldn't know if the data was the same or not without doing something like a hash, and even in that case I'm not replacing with identical values (only some rows are the same, but they are even shifted) so their logic would have to be insanely complicated to know what they do and don't need to draw and how to blend them properly.
But just to make absolutely sure it's drawing all 2.2m points of the displayed data slice on each draw I now update the data to be shown with a rand()-scaled version of it, and it draws at the same speed as before:
https://user-images.githubusercontent.com/2365790/108414387-2adfba00-71fa-11eb-8d56-e7d686f2b4ab.mp4

OK, so you're just giving it the data that's currently visible? I think it might be the way I'm currently doing it with QGraphicsView, I put all data into the scene and put the view on the currently visible part. Strangely, more data in the scene slows down drawing of the view. I might just be doing it wrong though, need to look into it but currently I don't have a lot of time.
Can you modify your demo to scroll with the arrow keys instead of automatically?

No this is just POC territory for me but you're welcome to try it

New lib on the block: https://datoviz.org/ (successor to VisPy)

AFAIK Vulkan is cutting-edge viz, I'm not sure how well supported it will be even in the next couple of years. The warning "but with up-to-date graphics drivers" is an important one.
There is also https://github.com/pygfx/wgpu-py based on https://github.com/gfx-rs/wgpu which could be another way forward. It abstracts over Vulkan/Metal/GL which should greatly help compatibility, and is somehow related to Mozilla (probably has some nice backing).
You could try mocking something in either or both of these to see how difficult it is to get working, see if picking and zooming and axis labeling works, etc.

AFAIK Vulkan is cutting-edge viz, I'm not sure how well supported it will be even in the next couple of years. The warning "but with up-to-date graphics drivers" is an important one.

Yes, although I was always under the impression that OpenGL is so old that "up-to-date graphics drivers" should apply to any reasonably modern computer including my 2014 MacBook Pro (which many people would call old).
WebGPU looks nice indeed. It would be nice to have some minimal PoC in both frameworks, but it seems like WebGPU has a much lower entry barrier because it's pip installable (whereas everything needs to be built for Datoviz at the moment).
I don't know, I guess I'll try optimizing what I have with PyQt before trying out other stuff. At least PyQt has been around for years and is likely to stick around for many years to come.

I don't know, I guess I'll try optimizing what I have with PyQt before trying out other stuff. At least PyQt has been around for years and is likely to stick around for many years to come.

This is part of why VTK appeals to me. It's not going anywhere and is reasonably well supported. We're also already using VTK for 3D viz so we're not really adding any maintenance overhead if we start using it for other things -- we're already tied to it for some stuff.


The Greaseweazle name

I have to ask how you came up with the name for this project,  I've googled it but no obvious answers,  sorry if it's been mentioned before but I've seen nothing that explains it.

I always used to want a Catweasel floppy controller, and so this is partly a tribute to that. A greased weasel is an amusing term and has a nice assonance, and Catweazle was a dodgy 70s UK TV series. So I sort of put that all together to get the weird memorable name!

Ah yes, Catweasel.  I remember watching the series when I was a young lad in the late 60s when living in NL at the time.  We moved there for my father's work for a year or so.  Bud Tingwell (the father in series) was an AU actor probably better known later for the movie The Castle. :)


.spelling Should Be Sorted

.spelling should be sorted. It's kind of awkward searching existing terms and adding new terms. I think it should be sorted "alphabetically".

Yes, that makes sense!


Removing SoundCloud logic from this branch

Good eye :) I'll work on merging this in this weekend, but haven't been working much on this project atm.


PHPC-410: object_to_bson() behavior for non-stdClass and unsupported types

https://jira.mongodb.org/browse/PHPC-410
Based on #102

LGTM

@bjori suggested removing DateTime from the new tests, so I'll make that change.

@derickr: I revised the PR to conform to your serialization spec change.
There may be one point where we differ. I'm throwing if the user attempts to serialize a Type instance (other than Serializable) as a root document, while the spec only says to throw "if an object (root or embedded) of an unknown class implementing the MongoDB\BSON\Type interface." I think this is reasonable behavior, since an ObjectId or UTCDateTime is really unfit for a top-level document -- and the result would be empty anyway, since our types don't have public properties.


OCPBUGS-11654: [release-4.12] Create new EC2 client for AWS identity provider health check

What this PR does / why we need it:
The health check will incorrectly report a healthy condition for the
AWSIdentityProvider when reusing the same client. This change fixes that
by creating a new client every time the health check is executed.
Checklist

[x] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/jira cherrypick OCPBUGS-10227

/area control-plane-operator

/jira refresh


PulidFluxInsightFaceLoader FaceAnalysis.init() got an unexpected keyword argument 'providers' .help me！！

got prompt
!!! Exception during processing !!! FaceAnalysis.init() got an unexpected keyword argument 'providers'
Traceback (most recent call last):
File "/comfyui/execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/comfyui/execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "/comfyui/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/comfyui/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/comfyui/custom_nodes/ComfyUI-PuLID-Flux/pulidflux.py", line 196, in load_insightface
model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l
TypeError: FaceAnalysis.init() got an unexpected keyword argument 'providers'

Hi, @xiewci
Maybe your insightface package is too old, see here: https://github.com/nosiu/comfyui-instantId-faceswap/issues/6
I use: insightface==0.7.3 (my env is Python 3.11)
Let me know if updating helped (and please mention the current version that you have now, to help other users that encounter the same issue)


Workshop: Booleans in Cairo

Level: Easy
As Cairo doesn't have a native boolean type, it is not uncommon to see developers using 0 and 1 as a replacement.
E.g.
if (result == 0):
    //Do Something

However, for readability purposes we prefer to utilize the FALSE and TRUE constants from the common cairo-lang library:
https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/cairo/common/bool.cairo
In the following file 1 is still used instead of the TRUE constant.
https://github.com/sayajin-labs/kakarot/blob/f519876a3acb67507ccea05e1f87d82f36093142/src/utils/utils.cairo#L257-L260
To fix this import the relevant cairo-lang library and replace 1 with the TRUE constant.

Hello! Can I take this?

Sure, go ahead :)


feat: add 404 page to artwork

This PR resolves ONYX-678
Description
This PR adds a 404 page when an artwork screen fails at loading.
Note: This PR makes me think, do we really need to do this only here? maybe our error boundary can be improved to always show recently viewed artworks.
https://github.com/artsy/eigen/assets/11945712/de3ffc8c-da77-443c-b8bf-9305aabb77ea

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

add 404 page to artwork screen - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (add 404 page to artwork screen - mounir)

  Generated by :no_entry_sign: dangerJS against 8aceac6271c5bca18f18ffbf8f392e49fe25e35d

That's a nice idea @gkartalis - I can look into custom error pages per screen :)


Create build instructions

Success Criteria
Given:
a reader has a public Internet connected development environment with the necessary software installed:
    Docker
    Java
    Maven
    Coherence <IP_ADDRESS> jar installed in local maven repo
the operator source code is checked out onto that development environment.

The reader can go to a single docs/building.md file that describes:
how to build the operator, without running any tests.
how to locally "install" the produced artifacts so that the operator can be trialed.
    Docker images
    Helm charts
how to validate that the build was successful

After successfully building using the instructions, the reader must be able to successfully execute the instructions in docs/quickstart.md and docs/user-guide.md.

See RELEASE.md and Jenkinsfile.


guix: backport build user takeover commits

Things done
guix has recently announced a security vulnerability that allows local users to
gain priveleges of build users, and further manipulate output of any build
(including with setguid).
This commit fixes the issue by backporting the remediation commits pushed to
guix main to 1.4.0 as a patch.
Users will still have to reboot and follow other remediation steps as described
in the guix blogpost.
This also formats the guix package with the RFC style, for easier reviewing,
consider reviewing each commit individually to make diffs more digestible.

guix: format with rfc-style
guix: build user takeover patch

see:

https://guix.gnu.org/en/blog/2024/build-user-takeover-vulnerability/

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

@ofborg test guix


Prevent translation out of pinch-zoom

It's currently possible to completely pan the content of pinch-zoom out of view. It would be nice to have a setting that prevents the bounds of the content from being moved within the bounds of pinch-zoom.
In other words, if the content is not zoomed out, then boundaries of pinch-zoom should be equal to or contained within the boundaries of the content.

Same

Same here

        // Correct for x
		/*
        if (topLeft.x > thisBounds.width) {
            x += thisBounds.width - topLeft.x;
        }
        else if (bottomRight.x < 0) {
            x += -bottomRight.x;
        }
		*/
		if (bottomRight.x < thisBounds.width*0.8) {
			x += thisBounds.width*0.8 - bottomRight.x;
		} else if (topLeft.x > thisBounds.width*0.2) {
			x = thisBounds.width*0.2;
		}
        // Correct for y
		/*
        if (topLeft.y > thisBounds.height) {
            y += thisBounds.height - topLeft.y;
        }
        else if (bottomRight.y < 0) {
            y += -bottomRight.y;
        }
		*/
		if (bottomRight.y < thisBounds.height*0.8) {
			y += thisBounds.height*0.8 - bottomRight.y;
		} else if (topLeft.y > thisBounds.height*0.2) {
			y = thisBounds.height*0.2;
		}


Handling post requests(server side scripting)

Great project !Would love to see an small example (possibly in the documentation) for handling server side scripting :)

sorry .. overlooked the fact that you pointed to an example .. closing issue


Ransack doesn't like :through relationships (through a polymorphic at least..)

Firstly.. fantastic gem. It's really helping me out!
I have one problem though.

class Management < ActiveRecord::Base

  has_many :instructor_owners, :as => :owner
  has_many :instructors, :through => :instructor_owners, :dependent => :destroy

...

In a controller when I try to access
@management.instructors.search(params[:q])

It blows up with:
undefined method `table_aliases' for #<ActiveRecord::Associations::JoinDependency:0x007fb3c78f1510>

This seems to be an issue with :through associations... I having success with any other kind of association.
 Has anyone found any work arounds? Thanks in advance.

I thought I was having this problem, but it was just a messed up context in the view form.  Once I got the context right, it all worked.
If you are still getting this problem, try the search through your instructor_owners association like this (I'm guessing your naming):
f.collection_select(:instructor_owners_instructor_id_eq, Instructor.all, :id, :name)
But, the :through associations are working fine for search as long as you have your context setup right.
So, this should work also (again without more info, I'm guessing on your naming):
f.collection_select(:instructors_id_eq, Instructor.all, :id, :name)

For others.. I got around this issue by:
@q = Site.joins(:site_management).where('site_managements.management_id' => @owner.id).search(params[:q])
@sites = @q.result(:distinct => true).paginate(:page => params[:page]).order('id').all

Basically applying my join condition first and then using ransack on the desired model. Might be fair enough to assume ransack is not used on join models so you need to resolve the join query yourself first and then query the resulting relation

@spovich: mine blows up in the controller before any view code is hit, because I'm doing some extracurricular things that Ransack's association support can't handle (limiting results based on some instance vars and I'm slipping some SQL aggegation into the output -- maybe there's a better way to do this).
@morgz tying this back to your original example, instead of this:

the workaround would be to use:

I tried something similar and it seemed to work, thanks! I still think it's a bug that the original example does not work.

Is this still an issue?


Fix flytekit setup

TL;DR

fixes some plugin unit tests
updates linting make target to report all mypy errors
adds plugin test suite to the github actions CI
updates the contributing docs with more instructions on development environment setup

Type

[X] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/lyft/flyte/issues/
Follow-up issue
NA
OR
https://github.com/lyft/flyte/issues/

Codecov Report

Merging #407 (f2be549) into master (3643635) will decrease coverage by 37.76%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           master     #407       +/-   ##
===========================================
- Coverage   96.00%   58.23%   -37.77%
===========================================
  Files           2      149      +147
  Lines          75    11152    +11077
  Branches        8     1169     +1161
===========================================
+ Hits           72     6494     +6422
- Misses          1     4447     +4446
- Partials        2      211      +209

Impacted Files
Coverage Δ

flytekit/common/nodes.py
41.23% <0.00%> (ø)

flytekit/common/translator.py
52.06% <ø> (ø)

flytekit/core/dynamic_workflow_task.py
100.00% <ø> (ø)

flytekit/core/resources.py
100.00% <ø> (ø)

.../kftensorflow/flytekitplugins/kftensorflow/task.py
100.00% <ø> (ø)

plugins/tests/pod/test_pod.py
96.29% <ø> (ø)

flytekit/core/task.py
74.35% <100.00%> (ø)

plugins/pandera/flytekitplugins/pandera/schema.py
84.61% <100.00%> (ø)

tests/scripts/test_flytekit_sagemaker_runner.py

scripts/flytekit_sagemaker_runner.py

... and 149 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 3643635...f2be549. Read the comment docs.


Update 067-pong.md

Community Contribution
Link to live project, video, or image:
https://editor.p5js.org/JamesW/sketches/1dTQC21fd
Sharing

[x ] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

lovely ❤


Progress bar update

Indeterminate mode is still correct – it’s missing the secondary bar animation. Could try to use a pseudo-element for that.
Had to use a pseudo element for the track so that we can adjust the opacity. The new specs say it should be 6% opacity, but that seems incorrect when looking at the screenshots. The current 16% is chosen visually, which looks close enough.

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

vaadin-progress-bar.html, line 89 at r1 (raw file):

      }

      /* Error color */

BTW We’d probably want to use the error color in the <vaadin-upload-file> at some point. That would require some changes to the actual implementation though.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

vaadin-progress-bar.html, line 89 at r1 (raw file):
Previously, platosha (Anton Platonov) wrote…
BTW We’d probably want to use the error color in the <vaadin-upload-file> at some point. That would require some changes to the actual implementation though.

Okay.

Comments from Reviewable


Fix Issue 16413 - multiSort doesn't work with @system comparison function

Title says it all, I think

The CircleCi failure is unrelated (see #4748 for a fix).
@John-Colvin

Would you be so kind to add a unittest for both cases to prevent regressions?
Can you quickly file an issue, s.t. the dlang-bot recognizes this and shows it in the bugfix changelog?

Otherwise LGTM, of course.

done

Auto-merge toggled on

Can you quickly file an issue, s.t. the dlang-bot recognizes this and shows it in the bugfix changelog?

For the future: the commit message needs to contain the reference to the issue, the title is not parsed at the moment.

@John-Colvin The autotester doesn't like this PR. The unittest added in the second commit does not compile. Can you have a look at this again?

I think that is caused by https://issues.dlang.org/show_bug.cgi?id=16179

I can't get phobos to pass tests even without this pull...

I think that is caused by https://issues.dlang.org/show_bug.cgi?id=16179

I see. @wilzbach can you have a look?

I can't get phobos to pass tests even without this pull...

And... that's strange...

Ok so make -f posix.mak unittest works but make -f posix.mak std/algorithm.test or make -f posix.mak std/algorithm/sorting.test fails at std/algorithm/sorting(2265). This is without this pull though, so looks like it's an unrelated bug.

Ok so make -f posix.mak unittest works but make -f posix.mak std/algorithm.test or make -f posix.mak std/algorithm/sorting.test fails at std/algorithm/sorting(2265). This is without this pull though.

Yep that's a well known issue, even though I can only find the older issue with std.numeric at the moment:
https://issues.dlang.org/show_bug.cgi?id=16227
(it fails due to some weird behavior/compiler bug of the entropy function)

I think that is caused by https://issues.dlang.org/show_bug.cgi?id=16179

@John-Colvin the fix is in master, could you please rebase? :)

Current coverage is 88.79% (diff: 100%)

Merging #4737 into master will increase coverage by <.01%

@@             master      #4737   diff @@
==========================================
  Files           121        121
  Lines         74169      74169
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          65860      65861     +1
+ Misses         8309       8308     -1
  Partials          0          0

Powered by Codecov. Last update 9abe256...7c7af21

https://github.com/dlang/phobos/issues/4740 fixed the bug, this is just the test now. Should be good to go.

#4740 fixed the bug, this is just the test now. Should be good to go.

It has already been on auto-merge on, so it will be merged soon ;-)


[FEATURE REQUEST]  Setting up and disabling automatic convertation

Thank you for your project, amazing job!
Please add:

the ability to disable automatic convert and add certain directory  to exceptions
the ability to disable automatic image conversion completely and add certain folders to exceptions
ability to add some types of files to exceptions. For example, so that gif files can be optimized, but not converted to webp or another format

It would be nice if we could exclude specific files and/or file types from being converted.
In some cases, a .png, containing lots of text or a uniform background, is smaller in size than a .webp.
Thanks for your consideration.

I would appreciate a toggle (pause) for image conversion via Obsidian command palette as well.

Thank you for your project, amazing job!
Please add:

the ability to disable automatic convert and add certain directory  to exceptions
the ability to disable automatic image conversion completely and add certain folders to exceptions
ability to add some types of files to exceptions. For example, so that gif files can be optimized, but not converted to webp or another format

Sorry for the delay, and if you still use Obsidian please update to the latest version to test it all out 🙌

[x] Pause conversion -> CMD+P -> Pause/Resume Image converter
[x] Option to skip certain files from processing. Available in both when converting whole vault and images in current note.
[ ] Skip certain folders from processing. If there will be more demand, I will look into it.


Force HTTPS

http://blokada.org/ isn't forcing connections to HTTPS.
Cloudflare Crypto section:

I think this is resolved and should be closed


Quitting the DAO

Partial implementation of #41
Has updated binaries. For changes, please see previous commits where the new binaries would not have been committed yet.

Currently this doesn't make any changes to policies (nor any kind of cleanup) when a user quits.
Quitting is considered a direct wasm function that a user can call, alongside add_proposal and act_proposal.

Closed because the main merge was split in two different merges (in the first one I branched-out during a merge, and that cause the merge to interrupt). Unifying into a single merge.


Node version updates breaking native deps

I began encountering the following error at about 21:00 UTC on January 20:
2020-01-21T19:22:08.670Z	undefined	ERROR	Error: The module '/var/task/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:807:18)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/var/task/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/var/task/routes/users.js:1:16)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
Duration: 454.54 ms  Billed Duration: 500 ms  Memory Size: 3008 MB  Max Memory Used: 52 MB

A simple redeployment of the repository solved the problem, but in the time between each request was throwing errors. I don't know if this is the right repo for this but changes to the serverless execution environment should trigger an auto-rebuild instead of silently failing (like above).
Thanks

Indeed, we'll make sure too invalidate the cache on the next Node.js version bump, thanks!


allow specifying an IAM role for each worker group

PR o'clock
Description
-resolves #136
-added iam_role_id to the worker group config
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/eks_test_fixture directories (look in CI for an example)
[ ] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[x] Docs have been updated using terraform-docs per README.md instructions
[x] I've added my change to CHANGELOG.md
[x] Any breaking changes are highlighted above

@max-rocket-internet I think this is good to review - moved to the "allow specifying IAM roles in worker group config" model

@max-rocket-internet I think I've fixed everything - let me know if there's anything else to do!

Hi guys,
found this PR while digging through repo issues related to my usecase.
See here:
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/200
Would be very grateful if you could provide an example on how to attach this policy required by alb-ingress-controller to a worker group.
Thanks i advance! :)

Also,
what does this do exactly:
  default_iam_role_id      = "${element(concat(aws_iam_role.workers.*.id, list("")), 0)}"
?
Taken from here:
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/local.tf
Concatenates roles from all workers, separated by "" and then takes the element 0?
What's the logic behind this?

Responded to the first comment in #200
The second is answered by the PR it was introduced in: https://github.com/terraform-aws-modules/terraform-aws-eks/pull/147


Standalone map: menu and status bar

This is the fella:
All icons can come from fontawesome for now.

It is NOT draggable.
Mock ups: https://docs.google.com/presentation/d/17Yg4Kz00pW6wbNo3bK0DpQjW4cVEzrq0VQ75pw1xZNc/edit#slide=id.g1c88f1f301b_0_0

This doesn't exist in the SAM.


Several fixes for English and Russian translations

Mostly typos for English, mostly "Russification" for Russian (prefer more common words to jargon).
Also, fix typos in string identifiers (sources).

OK, apparently mentaljam/sailfish-ytplayer is the new upstream.

Sorry, I forgot to mention that I've pulled your commits.

No worries, I've noticed corresponding entry in package changelog on openrepos.


Adding Maintenance RP .NET SDK, ARM Swagger PR https://github.com/Azure/azure-rest-api-specs/pull/6469

Adding Maintenance RP .NET SDK
Approved by ARM

Hi @abkmr, the SDK should be placed in /sdk/{moduleinlowercase}. I also notice that you missed the metadata file. Maybe you didn't follow these steps when generating? 🤔

Hi @abkmr, the SDK should be placed in /sdk/{moduleinlowercase}. I also notice that you missed the metadata file. Maybe you didn't follow these steps when generating? 🤔
Besides, could you share the link to swagger review PR(s), thank

I had followed that but did not remember to add metadata file. PR for swagger is https://github.com/Azure/azure-rest-api-specs/pull/6469. Updated the casing for rp. thanks

Hi @abkmr , please

check in AssemblyInfo.cs
write tests for SDK code

and please see my other inline comments. Thanks!

Added tests and AssemblyInfo.cs


Update SharpYaml package to 1.6.4 to enable support for .net standard…

Update SharpYaml package to 1.6.4 to enable support for .net standard 2.0

Hi @ArchanaKasi Thanks for the PR.  Could you help me understand why we would want to do this?  We currently support .Net Standard 1.6 and therefore any library that wants to target .net Standard 2.0 can consume this library.  Unless we actually use features in .net Standard that are not in 1.6, I don't see a reason for limiting the platforms that can use us.

Thanks Darrel. Makes sense.


Manage Google IdP from nova

Local list of g suite accounts with relationships to users
Same table for "normal" account links
Add flags for excluding accounts from group sync to be added by request

Assigned to me because I started an implementation of this a while ago.

Closing as this has largely moved to Keycloak


association vs nested resources

I don't understand the information given in the wiki about it ...  ( maybe I missed a point ...°
portfolio  has_many  projects      project has_many  payments    ( association, not nested resources in routes)
writing this ability raises an error : ( no nested  resource in routes)
can :read, Payment, :project  => { :id => portfolio.projects.map{|p| p[:id] }  }
but writing that,  is OK ...
can :read, Payment, :project_id  => portfolio.projects.map{|p| p[:id]}
is that correct ?

What's the relation with gmaps4rails?

sorry , this is the second time I post into ryanb/cancan and my post  is redirected to Google-Maps-for-Rails....  weird !


bug: formnovalidate still blocks submit if form invalid

[x] Before posting an issue, read the FAQ at https://superforms.rocks/faq and search the previous issues.

Description
A clear and concise description of what the bug is, and, unless obvious, what you expected instead.
Problem: in the following code snippet, clicking the "noval" button works fine, but the val button fails if an invalid email is in the form input. You are allowed to click on either one any number of times, and the formnovalidate one still works even after the val button has been clicked during an invalid state.
Sveltekit Superforms does not let buttons with formnovalidate submit if the form has an invalid state. The buttons correctly do not trigger validation, but after the state has been tainted, buttons with formnovalidate no longer work.
<form on:submit={() => console.log('submit')}>
	<input type="email" />

	<button formnovalidate type="submit">noval</button>
	<button type="submit"> val</button>
</form>

Solution is to see if the submit button clicked has formnovalidate attribute, and if so, ignore the form's invalid state.
MRE
https://stackblitz.com/edit/sveltekit-superforms-1-testing-fnbfto?file=src%2Froutes%2F%2Bpage.svelte

In the next release, client-side validation won't be triggered if formnovalidate (buttons) or novalidate (form) is set.

Fixed now with 1.11.0, just released.

Works beautifully! Thanks for your effort :)


PDI-13789 - Intermittent ConcurrentModificationException in Database.getValueFromSQLType

PDI-13789 - Intermittent ConcurrentModificationException in Database.getValueFromSQLType - Fix ConcurrentModificationException by moving valueMetaPluginClasses initialization to static initializer per suggestion in previous [PR comment] (https://github.com/pentaho/pentaho-kettle/pull/1274#issuecomment-110572241). Tested locally and on server with test cases attached to PDI-13789.
Related to PDI-12194. I have not addressed registeredDrivers initialization mentioned in PDI-12194. This is currently protected by a synchronized block. Possible improvement is to use concurrentHashMap for registeredDrivers?

Thanks for the commit!


If a task currently has no subtasks, make the expand/collapse button look different

Maybe like a a "plus" button.
This tells the user that there is currently no subtasks, so the user doesn't need to expand every single task to see if there are subtasks

Even better, maybe make the "plus" invisible unless hovered. Then once it has subtasks, switch to the arrow which is always showing


Implement new api for Dashboard CRUD

The dashboard module was created with the following functions:

creating the new dashboard;

updating the dashboard;

deleting the dashboard.

https://github.com/bulktrade/SMSC/tree/features/dashboard/modules/admin/src/app/dashboard

The dashboard box module was created with the following functions:

creating the new dashboard box;

updating the dashboard box;

deleting the dashboard box.

https://github.com/bulktrade/SMSC/tree/features/dashboard/modules/admin/src/app/dashboard/dashboard-box

The dashboard box type module was created with the following functions:

creating the new dashboard box type;

updating the dashboard box type;

deleting the dashboard box type.

https://github.com/bulktrade/SMSC/tree/features/dashboard/modules/admin/src/app/dashboard/dashboard-box-type


Class not found error

After a fresh install, I get this error when I try to access any ticketit-admin pages

this only happens with v1.0 and laravel 5.1 .. I have not found any problem for v1.0 with laravel 5.2 as well as v0.2 with laravel 5.1 and 5.2

I'm taking a look at what might cause this. I know the reflexion exception errors are often related to a name spacing issue. Did you notice this before or after updating to the psr-4?

The problem is somewhere in this commit d3c38f5a0a2c6acb81576af312c26d6df8dd117b

I originally had issues with the 'web' class in the laravelhelpers file. It could be there. I'll try that next.

Yah my issue goes away if I set it to at line 87:
public static function authMiddleware()
{
return ['auth'];
}

Laravel 5.2 uses web middleware instead of auth, so this solves 5.1 problem but makes another problem with authentication and session handling in 5.2

May be something like function below would solve it, I tried it with both 5.1 and 5.2
public static function authMiddleware()
    {
        if (static::min('5.2') && app(Router::class)->resolveMiddlewareClassName('web') != 'web') {
            return ['web', 'auth'];
        } else {
            return ['auth'];
        }
    }

That works for me also. Which I'm on Laravel version 5.2.10 currently.

That is perfect :+1:


Request for Permission to Use Your Work in an Article

Dear Tonkeeper developers,
I trust this message finds you well. I'm Mehdi Baneshi, currently working on an article titled "Managing Gas in a Contract" for the TON community. The article aims to assist Func developers in writing more efficient code.
During my research, I came across the recent update in your project, specifically the transition from wallet version 4 to version 5. I find this update exceptionally valuable, especially considering the reduction in size and gas fees. I believe it would significantly enhance the quality and depth of my article.
Before proceeding, I would like to request your permission to include excerpts or references to this version update in my article. I am dedicated to providing clear attribution and ensuring that my use aligns with your intentions.
Thank you for considering my request. I eagerly await your response.
Best regards,
Mehdi Baneshi
Article Discussion page

Hi, sure, you can use it

Thank you


update copyright on all *.java

So that we don't have to keep editing things all the time.

Jenkins: test this please


Not being able to teleport onto an InteractableObject

My original message to StoneFox:
"Hey I have an issue that I am not sure if it is a bug or I am misinterpreting what the buttons mean.
I have the floor of my level made up of intractable tiles. I have it so on my (right hand) simplePointer I can click and it does the desired action to build something. But on my lefthand I have the Bezier pointer for my teleport.
The pic below is the properties of my tile where my class clickableTile just extends you InteractableObject. http://imgur.com/a/jv3o1
I have the tile set to "Allow controller to use" as "right only" but when I try to teleport to a tile it will 'Use' the tile and construct something there(where the script then deletes the tile). Once the tile is gone I can teleport there.
tl;dr I cant teleport onto an interactable object. I think this might be a bug.
If not a bug how can I teleport onto an interactable object? Thanks."
As per TheStoneFox:
"It's not a bug, it's expected. If you have the "Pointer Activates Use Action" ticked on the object then the pointer will activate the use action it will prevent you from teleporting to it otherwise when you activated use with a pointer you'd teleport to that location all the time.
However, maybe it's better to always teleport you to that area and just disable the teleport action on the pointer if you don't want teleporting enabled.
It's worth raising issues like this on the github issues page as well: https://github.com/thestonefox/SteamVR_Unity_Toolkit/issues
Then you'll have more people looking over the problem :)"
Another possible solution:
Have another dropdown menu for the pointers style something like
Use Only, Teleport only, Use and Teleport
Another possible solution:
I dont know of anyone that uses the bezier pointer for "using" interactable objects.  It is almost exclusively used for teleport. Could we make a seperate subclass of worldPointer that still uses Bezier, but only teleports but will not use interactable objects.

Also possible bug in the picture above my interactable object is set to right only, but both controllers are able to 'use' the tile.

I have the tile set to "Allow controller to use" as "right only" but when I try to teleport to a tile it will 'Use' the tile and construct something there(where the script then deletes the tile). Once the tile is gone I can teleport there.

I think this is where the bug lies. I think you're right if you don't have "use" on the controller then it shouldn't attempt to use it with the pointer. That's where I'll fix it :)

Resolved with https://github.com/thestonefox/SteamVR_Unity_Toolkit/pull/454

I checked and this does allow me to teleport onto my interactableObject tiles. So all is not as it is expected.
Thanks

Did you try the version in the pull request?

Stupid fingers...it should say all is NOW as it is expected. Its all good in the hood.

Cool, I'll merge that pr into the master branch then :)


[Dockerfile] Add XDebug extension

Add the support of xdebug php extension into the Dockerfile in order to debug the rss-bridge easily.
Kudos goes to: https://gist.github.com/chadrien/c90927ec2d160ffea9c4

Isn’t the docker image designed for production use? IMHO a development extension belongs to a separate dockerfile (or behind a build flag). Not only does xdebug make PHP slower, it also opens a can of security issues.

@em92 No to this. Close pls :)

@em92: This PR can be closed.


drivers: sam: entropy: implement get_entropy_isr

The commit contributes the implementation of
get_entropy_isr API function for the SAM entropy
driver. The implementation is similar to get_entropy,
with the difference that it does not invoke k_yield()
when called with the ENTROPY_BUSYWAIT options flag set.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>Fixes #13935

@dleach02 could you review this bug-fix PR?

I get that this change is trying to have the underlying support for entropy_get_entropy() and entropy_get_entropy_isr() use a common function but I believe the entropy_get_entropy_isr() function with blocking flag set to 0 is supposed to return what ever data is available without having to wait on the hardware. Now I'm not sure how the sam hardware works in this regard so maybe this is okay. The Nordic implementation appears to want to avoid waiting on the hardware so their code will grab what ever is available and return the count retrieved.

@dleach02 thanks a lot for your comments.
Right, so this PR extends the driver API for SAM SOCs, so entropy can be safely returned from an ISR without involving kernel APIs. All the PRs does is, effectively, to not call k_yield() when the get-entropy function is invoked by ISR.
Regarding your concern: here is what I see documented in the generic entropy API:
/**
 * @brief Fills a buffer with entropy in a non-blocking or busy-wait manner.
 * 	  Callable from ISRs.
 *
 * @param dev Pointer to the device structure.
 * @param buffer Buffer to fill with entropy.
 * @param length Buffer length.
 * @param flags Flags to modify the behavior of the call.
 * @retval number of bytes filled with entropy or -error.
 */

The way I have interpreted this is that entropy_get_entropy_isr() is allowed to busy-wait inside the ISR. What it is not allowed, is to invoke kernel functions, when the kernel is not initialized, and that's why I 've basically, just removed k_yield().
I understand that the implementation of entropy_get_entropy_isr() may be SOC-specific, and I agree we should try to have some consistence between the SOC families (as much as the hardware differences allow, at least).
Would you like to me to file an issue, to start a discussion to unify the get_entropy_ISR API implementations?

Well this version of the entropy_get_entropy_isr() will still get the whole request unless there is a timeout. I still believe the initial intent of the function was to avoid blocking on the underlying hardware. The changes here do avoid the yield() call so in that sense it meets what was in the description but I still think the implementation is counter to the original intent of entropy_get_entropy_isr() so that should be considered.

Reviewing the history of the API I agree the intended behavior of entropy_get_entropy_isr() without ENTROPY_BUSY_WAIT was to return what's available without waiting.
I also agree there's a pre-existing race condition in the implementation.
I don't have hardware to test this, but by inspection I believe it should work and solve the referenced issue.

Thanks, @pabigot . I was also convinced by  @dleach02 on this.
I have run the affected test on sam_e70_xplained and it now passes.


Followers/Following User Name

Hi @sbertix :)
In api followings and followers endpoints returns nil for user name.
Can you check it please?
Thanks,
Maria

Hey @MariaJsn,
Are you sure? 🤔
I haven't been able to replicate this using Endpoint.Friendship.following(_:) and Endpoint.Friendship.followed(by:)…
The username property is still there in the response and it's correctly captured by the Wrapper and, therefore, User.
Do you have more info on what's going wrong on your side? 😊

I got the point so sorry it is my mistake


feedback on -d

Can we get -d to accept/allow wildcards?  like -d INTEL_*  or -d 837

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

ID: e9e0abf1-d0b9-d886-c106-ae056daa47ec
Version Independent ID: 7534d5aa-8270-49e5-21d6-e9456969a60e
Content: az iot hub
Content Source: latest/docs-ref-autogen/ext/azure-cli-iot-ext/iot/hub.yml
Service: iot-hub
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Can you give an example on how to do this when we have an IoT hub set up with custom routes (going to event hubs and no messages ending up in $Default)?
I get no events at all with az iot hub monitor-events -n nameofhub. Been trying to set --consumer-group but then az terminates.

@SteveDevOps - this should be enabled as of 0.7.0:

iot

As @c-ryan-k mentioned, wildcards in the device id/ -d argument are supported as of 0.7.0.
Then regarding monitor-events, there is a limitation where only the default eventhub endpoint can be monitored. This limitation is well known and on our radar. As a workaround, you could still keep a route to the default endpoint as each message is routed to all endpoints whose routing queries it matches. In other words, a message can be routed to multiple endpoints - reference.
There has been a significant number of updates since this thread. I would recommend installing the latest and seeing if you run into the same "unknown" termination issue or issue setting a consumer group. Feel free to add a new issue to the IoT extension repo.


Providing specific examples and clearing up the script docs

Providing guidance on when the PSF can help with app compat issues
Clearing up the scripts docs as they moved to msdn
Clarifying how to get the PSF binaries from NuGet.org

Looks good.  Added one comment on how to make the list look like a list.
Can you please change the PR target to the develop branch?  There should not be any MErge conflicts because you are changing the README.md file.


BUG: Aligning the Free E-Book title

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
the heading "Free E-books" is not center aligned which doesnt look visually appealing

i would like to fix this issue, please assign me this issue under GSSOC'24
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108  @huamanraj  please assign me this issue under GSSOC'24

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!


Updatd validations.py script

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py using the
.isalpha method, that returns true if that char or string is in the alphabet.
Fixes #<issue_number_goes_here>

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

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

@googlebot I signed it!

@googlebot I signed it


feat(#12): added :checkhealth freeze command

Now we can :checkhealth or :checkhealth freeze when the plugin is loaded to get the information about dependencies for the plugin.
All required dependencies installed:

Missing required dependency freeze:

[x] checkhealth command
[x] autoload checkhealth
[x] plugin folder for requirements, it can be modified to alert if NeoVim version is lower than the APIs that we use, I think v0.8.0 is fine, but lower I think some are deprecated or not functioning.

Since this is checking for the existence of other tools (such as xclip), this is blocked by #7.


add-user-jenkins and install ansible via pip

for opsctl there has to be real user as we use it in many places for temp directories
{"caller":"github.com/giantswarm/opsctl/command/update/mayu/command.go:113","level":"error","message":"user: unknown userid 113","stack":"[{/go/src/github.com/giantswarm/opsctl/command/update/mayu/command.go:146: } {/go/src/github.com/giantswarm/opsctl/service/installation/installation.go:121: } {/go/src/github.com/giantswarm/opsctl/service/installation/repo/repo.go:123: } {user: unknown userid 113}]","time":"2018-10-23T13:59:50.914897+00:00","verbosity":0}

Id  is taken from  debug output in conveyor

add ansible binary

@calvix can you also remove ansible installation from giantnetes-terraform in favor your change?
https://github.com/giantswarm/giantnetes-terraform/blob/master/misc/e2e-aws.sh#L68
https://github.com/giantswarm/giantnetes-terraform/blob/master/misc/e2e-azure.sh#L68

Oh, never noticed we do this. will do


How can I merge or concatenate remote repositories instead of overriding in spring cloud config server

I am using spring cloud gateway as a client for spring cloud config server. I want to put routes specific to a microservice into a specific repo. So that each microservice can have independent git repo for routes. but doing so override one route over another when gateway fetch the configuration from config server. How can I solve this issue. I am using composite property to combine the repos.

It's not possible

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

Hi, We have solved this problem.
The idea was to add different prefix in each git repo routes to  avoid overriding.
e.g.
Repo1
first:
routes:
- id: abc
uri: http://localhost:8081/
predicates:
-Path= /my/api
Repo2
second:
routes:
- id: def
uri: http://localhost:8082/
predicates:
-Path= /api/data
To allow gateway use these routes we looked into GatewayProperties class and PropertiesRouteDefinitionLocator class.
We created our own Properties class same as GatewayProperties class with same content but we removed @ConfigurationProperties(prefix = "spring.cloud.gateway") annotation from it. Then we extended Properties class for different prefixes like @ConfigurationProperties(prefix = "first") and @ConfigurationProperties(prefix = "second").
Then we used MyRouteDefinitionLocator class same as PropertiesRouteDefinitionLocator class for using the routes of all extended classes.
Here are the classes:
Properties.class
public class Properties {
private final Log logger = LogFactory.getLog(getClass());
private List<RouteDefinition> routes = new ArrayList<>();
private List<FilterDefinition> defaultFilters = new ArrayList<>();
public List<RouteDefinition> getRoutes() {
    return routes;
}

public void setRoutes(List<RouteDefinition> routes) {
    System.out.println("in service properties");
    this.routes = routes;
    if (routes != null && routes.size() > 0 && logger.isDebugEnabled()) {
        logger.debug("Routes supplied from Gateway Properties: " + routes);
    }
}

public List<FilterDefinition> getDefaultFilters() {
    return defaultFilters;
}

public void setDefaultFilters(List<FilterDefinition> defaultFilters) {
    System.out.println("in service properties");
    this.defaultFilters = defaultFilters;
}

@Override
public String toString() {
    return new ToStringCreator(this).append("routes", routes)
            .append("defaultFilters", defaultFilters)
            .toString();

}

}
Extended Classes
@Configuration
@ConfigurationProperties(prefix="first")
public class FirstProperties extends Properties{
}
@Configuration
@ConfigurationProperties(prefix="second")
public class SecondProperties extends Properties{
}
MyRouteDefinitionLocator
@Component
public class MyRouteDefinitionLocator implements RouteDefinitionLocator {
private List<Properties> propertiesList;

@Autowired
public void setPropertiesList(List<Properties> propertiesList){
    this.propertiesList = propertiesList;
}

@Override
public Flux<RouteDefinition> getRouteDefinitions() {

    List<RouteDefinition> routes = new ArrayList<>();
    for(Properties properties: propertiesList){
        routes.addAll(properties.getRoutes());
    }
    return Flux.fromIterable(routes);
}

}


Virus found in the Terraformer spec folder

https://www.virustotal.com/#/file/6cd0e50f0dad42bf4b9ffc53e74ee89125ca257f95f42bb8818cdefc34ff9c02/relations
The spec folder has 3 javascript files.

Terraformer itself is a JavaScript project. why is it considered a virus to include .js files with our tests?

https://md5file.com/calculator returns the same SHA-256 for v1.0.8/spec/spatialReferenceSpec.js
SHA-256 | ff5fd6eb02b63688ba5b5cf837f3d7628979bd15cae4c7dd3911cd362148e0c6

i could publish another release on npm without a spec folder, but i'd need to understand why the report in virustotal.com isn't a false-positive first.


refactor: removes zeroize from hd_keys library

This PR removes zeroize from the HD key library.
Commit 00b9023 comments out the tests, while commit c009b8 removes them. If we want to rather keep them, we can revert commit 00b9023. Happy to proceed either way
This PR closes #118


Error: File size limit exceeded (1 MB)

I have this problem, does anyone know how to solve it?
> Deploying ~/meteor under<EMAIL_ADDRESS>> [debug] Detected `deploymentType` = `npm`
> [debug] Detected `deploymentName` = "centric"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/.gitignore"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/lib/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/server-lib/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/build/programs/server/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/include/node/config.gypi"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/build/programs/server/npm/node_modules"
> [debug] locating files /mnt/ext/home/dsilva/meteor: 53.537ms
> [debug] Getting files: 56.181ms
> [debug] Computing hashes: 665.781ms
> [debug] get files ready for deployment: 21.850ms
> [debug] v3/now/deployments: 1830.479ms
> Your deployment's code and logs will be publicly accessible because you are subscribed to the OSS plan.
> NOTE: You can use `now --public` or upgrade your plan (https://zeit.co/account/plan) to skip this prompt
> [debug] Detected `deploymentType` = `npm`
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/.gitignore"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/lib/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/server-lib/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/build/programs/server/node_modules"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/dev_bundle/include/node/config.gypi"
> [debug] ignoring "/mnt/ext/home/dsilva/meteor/.meteor/local/build/programs/server/npm/node_modules"
> [debug] locating files /mnt/ext/home/dsilva/meteor: 67.201ms
> [debug] Getting files: 70.449ms
> [debug] Computing hashes: 619.374ms
> [debug] get files ready for deployment: 31.001ms
> [debug] v3/now/deployments: 5527.077ms
> [debug] total files 1458, 16 changed.
> [debug] Will upload 16 files
> [debug] v2/now/files #1 /mnt/ext/home/dsilva/meteor/.meteor/local/bundler-cache/linker/c3610265850dca5bf90fd76c70a3194776908e2f_1a538b81a8fad71a4749d68e22abda10fe1b8221.cache: 3660.293ms
> [debug] bailing on creating due to 400
> Error! Upload failed
> Error! An unexpected error occurred!
  Error: File size limit exceeded (1 MB)
    at responseError (/snapshot/now-cli/dist/now.js:199:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) Error: File size limit exceeded (1 MB)
    at responseError (/snapshot/now-cli/dist/now.js:199:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

@srdavidsilva
Based on https://zeit.co/pricing, since you're on the OSS plan the maximum file size is 1MB.

Guys, I enjoy your service a lot, but could you provide a more detailed error message about this file size:
Which file exactly was too big?

This is duplicate to #1111


Bump minor versions in preperation for release

Since this includes dropping hawcular jar (a breaking change), this seems reasonable.

Well scratch that. We reference master for the cct_module in develop.


Character Creator not displaying assets and preview avatar

trying to make the character creator page using gpt-4o and it's kinda a nightmare...
it keeps wanting to change my previous code to basic elements that I don't need or have already modified rather than updating what I already have and doesn't seem to care if I reference existing files.
that said, I managed to get the preview character container to display frame 1 by default.
I have the basic layout for the create character section that should be displaying all the available assets as listed in my sprite sheet, but:

the sprite sheet is not displaying at all
the tabs per asset category is not displaying either
I cannot check if the selected assets are updating my preview character
and if it's not, I have to figure out why my script.js is not updating the preview character selection.

I'll then need to work on the "clear" and "confirm" buttons as well as account abstracted login so the avatar saves to the smart wallet. Can't do this until I have the creator images displaying correctly...

create character section display is fixed!
on to getting the proper previews setup...

managed to get the selections displayed in the preview container, but they either aren't stacking in the correct z-position or the default frame 0 sprite is not disappearing after selections are made. researching...

ditched the clothing array and just separated the clothes into their own sub categories. now updating the preview sheet to debug the clothing displays specifically.

ughhh! reopening issue...
after deploying to vercel, the create character page no longer displays the assets and previews correctly...
will have to check the source directories and files to make sure they are all pointing to the correct files etc...

yes!! after 20 hours of debugging, AI prompts, and manual research, I found that I needed to force deploy by clearing vercel's cache using the following:
vercel deploy --force
wth. but it worked!
closing issue!!!


Start puppet timeout

https://github.com/wechaty/wechaty/blob/b3589083e00895d1de9b5e2ecb6f2b5631bc158a/src/wechaty-mixins/puppet-mixin.ts#L81-L109
As we talked before, we should use a bot-level retry method to handle situations when puppet-server is not ready yet. However since the start() procedure will not be interrupted by the timeout error. As I understood, the padlocal issue has been closed, this special handler for timeout should be removed.

Of course, after I read the comment I think I have remembered something.
Let's confirm the fix has been published by the padlocal module, then we can go ahead to improve this workaround.

Any progress on this issue?

I think we need to solve

https://github.com/wechaty/puppet-padlocal/issues/116

Before continue solving this issue.

Er, but that project is still using wechaty 0.x (main branch)

Yes. But we can use a gateway to convert it to a v1.x puppet service.
Our Friday BOT is running with it for the past months.


Fix sheet-styled  not being dismissable by gesture on iOS 13

Summary
On iOS 13 there was a new Action Sheet concept introduced, page and form sheets. By setting the property isModalInPresentation, the gesture can be enabled (NO) or disabled (YES).
This will allow the native side to be able to dismiss the Modal and callback to onRequestClose (before only required on Android and tvOS) when the View has been dismissed.
Changelog
[IOS] [Added] - Also implement callback onRequestClose for iOS
[IOS] [Added] - Set property modalInPresentation to either YES or NO, depending on current modal presentation style.
Test Plan
Before:

After:

@mrousavy  It's a duplicate for https://github.com/facebook/react-native/pull/29249, no?

@luco yes, it is the same approach, although you export that property to be set by the user in React and I set it automatically internally. Is there any reason to give the user control over this property?
I could see binding to it as a way of disabling the gesture when there is e.g. unsaved work in the View, but that does seem like a misuse of this prop

@mrousavy I don't think it's a misuse of the prop. We just let it to be controlled via prop. There are certain scenarios that we should control this and not be set internally.


R.toString should show non-numeric array properties

> /x/.exec('xyz')
[ 'x', index: 0, input: 'xyz' ]
> R.toString(/x/.exec('xyz'))
'["x"]'

eval(R.toString(/x/.exec('xyz'))) is currently not equivalent to /x/.exec('xyz'), which breaks the contract.
I believe R.toString(/x/.exec('xyz')) should evaluate to '["x", "index": 0, "input": "xyz"]'. The non-numeric properties would appear, alphabetically ordered, after the values of the numeric properties.

I don't know.  Should we choose the Node.js output over the console output from Chrome/FF, which both report ["x"] ?  IE console reports
    x {
        0 : "x",
        input : "xyz",
        index : 0
    }

These environmental differences seem likely to make enforcing that invariant fairly tricky.

The R.compose(eval, R.toString) ≍ R.identity invariant is broken in the case of /x/.exec('xyz'), but my suggested fix is not a fix at all: ["x", "index": 0, "input": "xyz"] is not syntactically valid. Oops!
We can't satisfy the invariant in this case, so the question is whether it's more important to return a syntactically valid string or to prevent values which are not equivalent (e.g. ['x'] and the result of evaluating /x/.exec('xyz')) from sharing a string representation.


Catalog onboarding pipeline configuration

Description
Addition of catalog config file to enable catalog pipeline
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Feature: Enable catalog pipeline
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline


FYI: kernel dies when opening a new Python [conda root] notebook on windows 10 linux subsystem

Hi,
Got myself to try some ML lessons (http://course.fast.ai/index.html) and I thought it would be handy to do the setup (http://course.fast.ai/lessons/aws.html) of jupyter not on aws but on my windows10 linux subsystem as part of anaconda2 distribution.
After I've opened a new python [conda root] notebook, kernel dies. See the attached screenshot.

Using Anaconda2-4.2.0-Linux-x86_64.sh

It looks like you're using the Ubuntu-on-Windows layer. There have been some issues with that; see jupyter/notebook#1331.


Warn users when producing an image with an unknown distro

Problem: Today, when apko builds an image, if none of the packages it adds to the image include an /etc/os-release file, the image will end up with an /etc/os-release file that gets created on-the-fly, which looks like this:
ID=unknown
NAME="apko-generated image"
PRETTY_NAME="apko-generated image"
VERSION_ID=unknown
HOME_URL="https://github.com/chainguard-dev/apko"

This can be problematic. In particular, if someone runs a vulnerability scanner on the image, the scanner will not be able to correctly identify the distro, and thus the scanner won't be able to locate the appropriate advisory/fix data source to use during the scan — which means the scan results will be invalid.
In most cases, apko users probably don't intend to have an unidentified distro like this. It's more likely that they just didn't realize how to add a proper distro /etc/os-release file, which today is done by including a package in the config file that contains an /etc/os-release file.
Therefore, apko should check to see if any package has added an /etc/os-release file and ensure the user sees a warning about the fact that the distro won't be identifiable and how that can lead to problems.

i'm curious to why would a package want to do that?

Hi @luhring, seems to be a good issue to begin with contribution to apko, can I pick this? I

Thanks for the PR @mritunjaysharma394! Hopefully we can get that merged soon 🤞


Chat Streaming does not work.

Describe the bug
Send message "Count to 100, with a comma between each number and no newlines. E.g., 1, 2, 3, ...";
As result you receive
1  ,  ,  4  5  ,  ,  ,  ,  ,  ,  ,     ,  ,  ,  ,  ,  19        ,     ,  ,  ,  ,  ,  29  30              ,        ,  ,  ,     ,           ,,, ,,,,,,,,,, ,,,,,,,,,,, ,,,,,,,,,,,,,,60,,,,,,,,63,,64,,,,,,,,,,,,,,,,,,,,,,,72,,73,,,,,75,,76,, ,,,,,,,,,,,,,,82,,,,,,,,85,,86,,,,,,,,89,,,,,,,,,,,,,,,,,,,,96,,,,,,,,,,,100
Expected result :
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100
To Reproduce

take code from
https://www.nuget.org/packages/Rystem.OpenAi#chat-streaming
Send message "Count to 100, with a comma between each number and no newlines. E.g., 1, 2, 3, ...";
As result you receive
1  ,  ,  4  5  ,  ,  ,  ,  ,  ,  ,     ,  ,  ,  ,  ,  19        ,     ,  ,  ,  ,  ,  29  30              ,        ,  ,  ,     ,           ,,, ,,,,,,,,,, ,,,,,,,,,,, ,,,,,,,,,,,,,,60,,,,,,,,63,,64,,,,,,,,,,,,,,,,,,,,,,,72,,73,,,,,75,,76,, ,,,,,,,,,,,,,,82,,,,,,,,85,,86,,,,,,,,89,,,,,,,,,,,,,,,,,,,,96,,,,,,,,,,,100

Expected result :
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100
Code snippets
message = "Count to 100, with a comma between each number and no newlines. E.g., 1, 2, 3, ...";
	var results = new List<StreamingChatResult>();

await foreach (var x in openAiApi.Chat
    .Request(new ChatMessage { Role = ChatRole.User, Content = message })
    .WithModel(ChatModelType.Gpt35Turbo)
    .WithTemperature(0.7)
    .SetMaxTokens(1000)
    .ExecuteAsStreamAsync())
{
    results.Add(x);

    MainThread.BeginInvokeOnMainThread(() =>
    {
        this.mainViewModel.OutputText += x.LastChunk?.Choices?.FirstOrDefault()?.Delta.Content;
    });
}

OS
windows
.Net version
.net 7
Library version
3.3.11

Now it works


docker compose up failed

Thanks for your question.
Please provide more detailed information. For example, what operating system is used? What is the docker version?

You can try docker compose pull to update the latest image.

Thanks for your question. Please provide more detailed information. For example, what operating system is used? What is the docker version?

ArchLinux, kernel version 5.18.1-arch-1
docker version 20.10.16

You can try docker compose pull to update the latest image.

thank, pull success after then launch

Thanks for confirming the issue was resolved. Closing it.


Update CONTRIBUTORS.md

I work for AMD, request to contribute. Thank you!

This is not how it works. When you make a first PR, you can update the contributor list to have your name.
I'm responsible for reviewing rocm related PRs. Looking forward to your contributions!


MonikAI does not react to anything

I'm using windows 8.1 and Chrome. No matter what program/game or website i'm launching, MonikAI sits quietly in peace.

Do you get any text at all (ex. Startup and idle text)? Or are only the actual reactions not working?

I get some greetings text and talking about being alone on a disc. But nothing else

Have you started her with administrator rights?

Yes

Merged with #25


right view of bt

Related Issue

Mention issue for which this pull request is a part of (please mention issue number # )

Proposed Changes

added code file for the right of binary tree
changed readme file of tree traversal folder

Additional Info

Any additional information or context

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

added code file for the right of binary tree
changed readme file of tree traversal folder
implemented this using cpp

-Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.

https://github.com/Lakhankumawat/LearnCPP/issues/1524

The problem can be solved using simple recursive traversal. We can keep track of the level of a node by passing a parameter to all recursive calls. The idea is to keep track of the maximum level also. And traverse the tree in a manner that the right subtree is visited before the left subtree. Whenever we see a node whose level is more than the maximum level so far, we print the node because this is the last node in its level (Note that we traverse the right subtree before the left subtree)

-visual studio code platform is used

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots

Screenshot #1
Screenshot #2

Output
Code

I

|

review my PR @Lakhankumawat


feat: use onGlobalEventsClose instead of hook

React 17 definitely made global event handling different and ref changed slightly as well it seems.
Actionmenu: https://pluralsight.slack.com/archives/C70HPSJPP/p1613085725106500
Dropdown: https://github.com/pluralsight/design-system/issues/1598 https://codesandbox.io/s/2ruxy?module=/example.tsx
So the useCloseOnDocumentEvents hook needs to be configured differently for dropdown and actionmenu. Drodpwon needs to track ref and reapply effect on re-render. Actionmenu does not and it actually throws a bug as seen in the slack thread above.
It's easier to just use the onGlobalEventsClose helper and add a useEffect hook. What do you think?

@EdwardIrby i'm trying to catch up here. seems like there are two issues:

in the Dropdown, onChange isn't firing when the items are clicked
in ActionMenu, the menu is accidentally closed when clicking inside the menu

^ is that correct?
I think both of the issues are fixed. I am wondering if the Dropdown should close when clicking outside the menu - it does not do that for me.

Bump this

I noticed another issue probably related to this.
When a new handler is passed to the onClose prop, the  will still call the old one instead of the new one.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename the endpoint functions

The current endpoint function names are designed only for Identity-based Cryptography, but since other features are under construction, we should consider renaming the endpoints.
Requirements:

Make the new name flexible enough for more different "features" under the same domain
Support multiple scheme implementation of the same "feature" (multiple IBE implementation for example"

@battila7 @bombifighter this will affect the interoperability and possibly the JS API layers too.

Investigated the issue. The following refactor required on the native-side.

Create naming conventions for the feature algorithms and feature structures.
Create unique public parameters and ciphertext and signature structures for every scheme, since most of them are not similar. (This might result in code redundancy, need to be discussed).
Move HashFunction to util.
SecurityLevel is a global parameter in my opinion in Elliptic-curve Cryptography, so it needs to be moved too.

As labelled, this change would completely break our public interface. Thus, a major version bump will be required.
Changes in clients that we control (CryptID.js for now) will be further discussed.

Also, I suggest to use this issue as an opportunity to reorder/rename function parameters for ease of use. If we have to break the public API, then we are free to do what we want (sort of) :)

Kinda overlaps with #41, please specify more precisely @BeardOfDoom

The lower level function names scheme is module_camelCase as specified in issue #41. But for the endpoint functions I propose the cryptid_feature_camelCase scheme.
Example:
cryptid_bfibe_setup
@battila7 Opinion?

That's nice, but I would go for an even more granular approach, like
cryptid_ibe_bf_setup
In my opinion this would support IBE schemes other than BF better.

Closing as #55 is merged.