Adding a new entity within Viewer/Scene causes the entire scene to re-render.

I want to dynamically add / remove entities from a scene but doing so causes the entire scene to re-render.
On pure cesium, calling viewer.entities.add does not have the same effect. Is this possible to achieve with Resium as well?
In the notional example below I have added a button that switches an Entity containing a point graphic with an identical one. Upon clicking the button, the whole scene reloads:
export default function Test() {
  const [swapped, setSwapped] = React.useState(false);

return (
    <>
      <div
        onClick={() => {
          setSwapped(!swapped);
        }}
        style={{ position: "absolute", top: 25, left: 25, zIndex: 2 }}
      >
        swap pins
      </div>
      <Resium.Viewer
        full
        style={{
          zIndex: 1,
        }}
      >
        <Resium.Scene debugShowFramesPerSecond={true}>
          {swapped ? (
             <Resium.Entity
              point={{ pixelSize: 10 }}
              position={Cartesian3.fromDegrees(
                longitude,
                latitude,
                altitude
             )} />
          ) : (
            <Resium.Entity
              point={{ pixelSize: 10 }}
              position={Cartesian3.fromDegrees(
                longitude,
                latitude,
                altitude
             )} />
          )}
        </Resium.Scene>
      </Resium.Viewer>
    </>
}

To add to this, I know I can keep a viewerRef and call add on the entity collection, but that defeats the purpose of having a react wrapper around Cesium.
I would expect to have an EntityCollection component inside of which I could add / remote Entity components without causing the entire scene to reload.

I am also looking for the entityCollection component to dynamically edit entities avoiding the scene to rerender. @rot1024 any hint? Thank you


Ionic 3 app showing additional area below status bar iOS 11.0 beta

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Ionic 3 App on iOS 11.0 beta (version 15A5278f) (simulator) shows additional unneccesary white area under status bar:

This can be fixed by adding "viewport-fit=cover" to the viewport meta tag, but introduces new problem at bottom of screen:

Expected behavior:
Look the same as in iOS 9 and iOS 10
Steps to reproduce:
Run Ionic 3 app in iOS 11 simulator using xCode 9 beta

Hey there! So we're going to keep all the ios 11 issues in a related issue (#12020) in order to better track any issue that comes up during the betas. I've added your issue and information there. Please follow #12020 for any updates.

this issue has been resolved as of ios 11 beta 5

@hofimax I’m using iOS 11 beta 9 but this problem still appear

@abbazer not for me, but we are using the WKWebView

Solved by adding

Just tested on iOS 11 beta 10 with WKWebView and it works reliably. We are NOT using viewport-fit=cover

If I don't add viewport-fit=cover then the header doesn't go under the status bar and the status bar just has a white background. If I add viewport-fit=cover then the header goes under the status bar like it should, but it's as if the whole app moves up, instead of stretching to fill the screen, and the white background that was under the status bar is now under the footer of the app.
I'm not sure if I'm explaining it clearly, let me know if you need me to clarify anything.

Problem still exists in iOS 11 Golden Master. This is NOT a beta only problem and will NOT go away when iOS 11 is released in the next few days.

We're working with the cordova team to address this. Please keep an eye out on this.
https://github.com/apache/cordova-plugin-statusbar/pull/85

For what it's worth I see it as well in ionic1, assuming because it's related to cordova-plugin-statusbar.

In my case, when I added viewport-fit=cover my whole app just shows a blank white screen and nothing else. So it makes things every worse for me. Anyone experiencing similar behaviour?

@dimitri320 can you open a new issue instead and provide a minimal demo in a github repo? Have not seen that before

@mhartington I've started a new issue at https://github.com/ionic-team/ionic/issues/13208. I've setup a brand new project, and it works just fine, so couldn't really replicate a new github repo as an example, as a new project works ok, but my old one (I started it about 7-8 months ago with Ionic 2) doesn't. Anything else I can provide to help the search?
Many thanks!

Any news here ?

@glemiere the issue has been solved. Please review the thread and make any updates. If there’s is still an issue after that, please open a new issue.

@mhartington adding "viewport-fit=cover" to my index.html worked for me ;-)

White bottom bar only appears on ios11 when using cordova-plugin-wkwebview-engine and latest cordova-plugin-statusbar

@lovelyelfpop did you try using adding this to your index.html ?

@glemiere viewport-fit=cover is the default behavior for cordova-plugin-wkwebview-engine

About the bottom space when using wkwebview, here is a workaround:
Add some code in cordova-plugin-wkwebview-engine\src\ios\CDVWKWebViewEngine.m,
// re-create WKWebView, since we need to update configuration
WKWebView* wkWebView = [[WKWebView alloc] initWithFrame:self.engineWebView.frame configuration:configuration];
//add begin
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000
if (@available(iOS 11.0, *)) {
  [wkWebView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
}
#endif
//add end
wkWebView.UIDelegate = self.uiDelegate;
self.engineWebView = wkWebView;

The code above came from cordova-plugin-ionic-webview

simply adding the cordova-plugin-ionic-webview fixed it for me!


[TASK]: Add the required files

Task Summary
Need to add some files for project. Mention below:

[ ] CONTRIBUTION.md
[ ] CODE_OF_CONDUCT.md
[ ] docker-compose (for mongo / Dev container)

Added the docs in

b957071d8d3e105802f752ee6b76270f4c4a654b
f2518c5de06589b6cf16c1c309aa224e2273dba4
c91a869b169e9eb61e2aca0a6f7ce93e3e2fd3ad


[Feature Request] Port of ColorPicker to .NET Maui

I am irked that the WINUI 3 ColorPicker is so complex and not easy to use in C# code.
I would much prefer a more straightforward implementation such as provided by this project, although I do realize that a new implementation would require creating a Handler rather than a custom Renderer.
One desirable feature enhancement would be to allow specification of, and the display of,a hex value, e.g. #rrggbbaa
with alpha, or #rrggbb without alpha (would default to 100%)

Porting to Maui is on my list, but it will take time.
Implementing additional controls for hex and RGB numeric values is an easy task. Will include it in the next release.

I can help. Preview 11 now exposes the hwnd on the Microsoft.UI.XAML.Window used to host the MAUI controls. I'm using it to successfully access the FileOpenPicker and FileSavePicker. I also have WIN32 experience. If you have any tasks that I could perform in advance of your port, let me know.

Cool.
Any contributions are welcome.
Please contact me, my email is in profile.

Hey, this project is what im searching for my app development. Are there any news on the MAUI port?

In progress...

I am working on it with Victor. It is very much a work-in-progress as we are moving to using Maui.Graphics to do the drawing. My current guess is that it may be available in the .NET 7 timeframe, but YMMV.
Regards,
Gary
From: JayBeAl @.>
Sent: Monday, July 11, 2022 4:51 AM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Author @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Hey, this project is what im searching for my app development. Are there any news on the MAUI port?

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvpapenko%2FColorPicker%2Fissues%2F59%23issuecomment-1180313890&data=05|01||152ab782b67a4e9d2cee08da63339aa0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637931370533166796|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=qMC6Y7es5N8EUFsECPqFsyPrK9p246u3ZpNCVSvyq68%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADFAH7B4WZEX3WS5HBR4LY3VTQDBXANCNFSM5KO2WQ5A&data=05|01||152ab782b67a4e9d2cee08da63339aa0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637931370533166796|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=d%2FaL5oup7yD1JLBozq3nqy%2FbqNwQpFPXVzcodPy4O38%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Thanks a lot for the news! Good work btw!

Hey there, any news on this?

Hi Tobias,
I was working on this, with Victor, when I got sick and was out of commission for over 8 months. I'm back at it,  but haven't resumed working on the project just yet and expect to do so by the mid-July. I'm planning on having working code in the .NET 8.0 timeframe.
Regards,
Gary
From: Tobias Hoppenthaler @.>
Sent: Tuesday, May 30, 2023 12:59 AM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Author @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Hey there, any news on this?

Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-1567951223, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7GS2BKDBZ67AXWAOR3XIWSF5ANCNFSM5KO2WQ5A.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Thank you for the update Gary, sorry to hear you were sick, but great to hear that you are back in the saddle. All the best, Tobias

Any update?

Not right now. I've been fighting .net 8.0 and it's been slow going; lots of regressions.
I haven't been working on the project for a while BUT I'm almost at the end
of the one I've been working on and should get back to it within a week or so.
l ping you when I do. How are you and Microsoft getting along?
Regards,
Gary
From: Matt Alanskas @.>
Sent: Wednesday, September 20, 2023 1:39 PM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Author @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Any update?

Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-1728395076, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7CD5FDQIRQQZS55V2DX3NH7ZANCNFSM5KO2WQ5A.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Any update on this?

Hey, just checking if this is still under development?

Yes, but slowly because of illnesses and moves.

From: TheresasAccount @.>
Sent: Monday, January 15, 2024 11:26 AM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Author @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Hey, just checking if this is still under development?
—
Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-1892676585, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7AOGYR5X32OECRRHULYOV7ERAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBZGI3DONRVHA2Q.
You are receiving this because you authored the thread.

Likely not until at least June.

From: Christopher Stephan @.>
Sent: Tuesday, January 23, 2024 6:24 AM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Mention @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
@IndianaGaryhttps://github.com/IndianaGary When do you think it'll be done? Just asking for planning purposes. 😄
—
Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-1906163259, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7E6LILODET6M7M6AUDYP7BYNAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJQGYYTMMZSGU4Q.
You are receiving this because you were mentioned.Message ID: @.***>

hi, any news or plan?
thanks!

Hi.
Unfortunately I have no time to work on this project.
I would like to come back but no exact plans for now.
On Tue, Jun 11, 2024, 01:27 TheSundayDev @.***> wrote:

hi, any news or plan?
thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2159479531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZM77QGX5QFT2YFQH37CP3ZGYY7LAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJVHE2DOOJVGMYQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Hi Victor,
I've finally completed my  2000 mile move and am getting set up again. Not sure when I will get back to this project but will try soon.
Regards,
Gary
From: Victor Papenko @.>
Sent: Monday, June 24, 2024 4:42 PM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Mention @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Hi.
Unfortunately I have no time to work on this project.
I would like to come back but no exact plans for now.
On Tue, Jun 11, 2024, 01:27 TheSundayDev<EMAIL_ADDRESS>wrote:

hi, any news or plan?
thanks!

Reply to this email directly, view it on GitHub
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2159479531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZM77QGX5QFT2YFQH37CP3ZGYY7LAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJVHE2DOOJVGMYQ
.
You are receiving this because you were assigned.Message ID:
<EMAIL_ADDRESS>

Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2187367711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7B7R54UYS4UDBR4STDZJCABRAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYG4ZTMNZXGEYQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi, Gary. Glad to hear you!
2000 miles, wow. Where are you now?
Hope you filling well, last time we spoke you was ill.
From my side nothing new. Work in MS take all my time and energy. It's ok,
but sad that I can't work on my side projects.
On Tue, Jun 25, 2024, 18:08 Gary Lewis @.***> wrote:

Hi Victor,
I've finally completed my 2000 mile move and am getting set up again. Not
sure when I will get back to this project but will try soon.
Regards,
Gary
From: Victor Papenko @.>
Sent: Monday, June 24, 2024 4:42 PM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Mention @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker
to .NET Maui (Issue #59)
Hi.
Unfortunately I have no time to work on this project.
I would like to come back but no exact plans for now.
On Tue, Jun 11, 2024, 01:27 TheSundayDev<EMAIL_ADDRESS>wrote:

hi, any news or plan?
thanks!

Reply to this email directly, view it on GitHub
<
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2159479531
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABZM77QGX5QFT2YFQH37CP3ZGYY7LAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJVHE2DOOJVGMYQ
.
You are receiving this because you were assigned.Message ID:
<EMAIL_ADDRESS>

Reply to this email directly, view it on GitHub<
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2187367711>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ADFAH7B7R54UYS4UDBR4STDZJCABRAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYG4ZTMNZXGEYQ

.
You are receiving this because you were mentioned.Message ID:
<EMAIL_ADDRESS>
—
Reply to this email directly, view it on GitHub
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2189367240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZM77UWIYHNTTA45WYBFVTZJGIXPAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYHEZTMNZSGQYA
.
You are receiving this because you were assigned.Message ID:
@.***>

I moved from Nevada to Indiana, about 1,860 miles. I'm feeling much better after being down off and on for about a year. Maui is much more stable now. I may try a straight port from Xamarin to Maui given the improvements and only alter the architecture where necessary (Behavior vs. Effect, for example). I'll keep you posted.
Regards
Gary
Get Outlook for Androidhttps://aka.ms/ghei36

From: Victor Papenko @.>
Sent: Tuesday, July 2, 2024 7:27:12 AM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Mention @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker to .NET Maui (Issue #59)
Hi, Gary. Glad to hear you!
2000 miles, wow. Where are you now?
Hope you filling well, last time we spoke you was ill.
From my side nothing new. Work in MS take all my time and energy. It's ok,
but sad that I can't work on my side projects.
On Tue, Jun 25, 2024, 18:08 Gary Lewis @.***> wrote:

Hi Victor,
I've finally completed my 2000 mile move and am getting set up again. Not
sure when I will get back to this project but will try soon.
Regards,
Gary
From: Victor Papenko @.>
Sent: Monday, June 24, 2024 4:42 PM
To: vpapenko/ColorPicker @.>
Cc: Gary Lewis @.>; Mention @.>
Subject: Re: [vpapenko/ColorPicker] [Feature Request] Port of ColorPicker
to .NET Maui (Issue #59)
Hi.
Unfortunately I have no time to work on this project.
I would like to come back but no exact plans for now.
On Tue, Jun 11, 2024, 01:27 TheSundayDev<EMAIL_ADDRESS>wrote:

hi, any news or plan?
thanks!

Reply to this email directly, view it on GitHub
<
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2159479531
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABZM77QGX5QFT2YFQH37CP3ZGYY7LAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJVHE2DOOJVGMYQ
.
You are receiving this because you were assigned.Message ID:
<EMAIL_ADDRESS>

Reply to this email directly, view it on GitHub<
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2187367711>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ADFAH7B7R54UYS4UDBR4STDZJCABRAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYG4ZTMNZXGEYQ

.
You are receiving this because you were mentioned.Message ID:
<EMAIL_ADDRESS>
—
Reply to this email directly, view it on GitHub
https://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2189367240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZM77UWIYHNTTA45WYBFVTZJGIXPAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJYHEZTMNZSGQYA
.
You are receiving this because you were assigned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/vpapenko/ColorPicker/issues/59#issuecomment-2202860189, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFAH7CMSL44K42ICVR3EWLZKKFBBAVCNFSM5KO2WQ5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMRQGI4DMMBRHA4Q.
You are receiving this because you were mentioned.Message ID: @.***>


I’d love to see an HSLUV color format

hsluv.org it offers another way to manage colors, I think it could complete the color format selection.

HSLUV is a really interesting format, but isn't a great candidate for inclusion in our tool. OddContrast is focused on the spaces and formats that have native browser support and are in the CSS spec. Thanks for the suggestion!


feat: convert into terraform module

As discussed in #5, this makes it usable as a module. Major changes include:

SSH key is generated in the module (hcloud only allows unique ssh keys)
Table in README is created by terraform-docs via pre-commit
New variable "name" is used to create unique names for resources
All important other values are exposed via variables
Some renaming of files and resources

Sure those are a lot of changes at once. Let me know what you think about it.

I added more features in single commits.

Awesome work! I have some small points:

Could you add a working example?
What's necessary to start developing on this repository (some instruction about installing precommit, python etc would be nice)? You can put it in a CONTRIBUTNG.md file.
It should be possible to pass a custom SSH key. This feature was implemented before.
You have upgraded the hetzner controller and k3s. Did you test it well?

I'll do all that tomorrow.

[x] Could you add a working example?

I added an example folder with things

[x]  What's necessary to start developing on this repository (some instruction about installing precommit, python etc would be nice)? You can put it in a CONTRIBUTNG.md file.

I created a very basic one

[ ]  It should be possible to pass a custom SSH key. This feature was implemented before.

still TODO

[x]  You have upgraded the hetzner controller and k3s. Did you test it well?

Well… so far I tested the example, but I'll try out more complex things soon.

[x]  If you don't mind you could also create the MIT license file.

I created one with your name

[x]  Please output the generated K3S token. This token is useful when restoring the cluster from a backup.

Also added some output to the example

What do you think about enforcing https://www.conventionalcommits.org/en/v1.0.0/#summary from now on in this repository? I personally like it, because one can also autogenerate semantic versions and an okay changelog from them.

What do you think about enforcing conventionalcommits.org/en/v1.0.0/#summary from now on in this repository? I personally like it, because one can also autogenerate semantic versions and an okay changelog from them.

I like it too as long as it's automated and ensured. The repo has very low activity, not sure if it is worth it.

Jeah, let's leave that for the future.
I think I'm done with the tasks. Everything which was possible in the past is supported. Some parts are even easier (no need for own ssh key). It's a nice base I'll experiment more on. But for the first refactor I think this is a good start.

One thing I noticed: replacing servers is not working because of name collision. It's maybe better to add random IDs.

One thing I noticed: replacing servers is not working because of name collision. It's maybe better to add random IDs.

Good point. Let's do it.

It might even make sense to have a variable where you disable the initial bootstrap control plane and add "normal" agents which join the others. Because the cloud-init of the first one makes sense only once I guess.
But I have to read a bit more about how the HA k3s control plane works/recovers.

One small point left: Add kubeconfig-*.yaml` to gitignore apart from that 👍

One small point left: Add kubeconfig-*.yaml to gitignore apart from that 👍

There is https://github.com/toabi/k-andy/blob/feature/modularize/example/.gitignore#L3 - and in the main module it's not necessary because the config will be written where the module is used. It's not necessary anymore to checkout this repository, it can be just in any terraform project as:
module "some_cluster" {
  source = "git::https://github.com/toabi/k-andy.git?ref=feature/modularize"
  hcloud_token = "ABC"
  name = "demo"
  server_locations = ["nbg1", "fsn1"]
  agent_server_type = "cx11"
  agent_server_count = 3
  server_additional_packages = ["open-iscsi"]
}

I didn't see it, thanks.


Mouse middle button click should rotate the camera 180

Description
Mouse middle button click should rotate the camera 180 as in the official game.
Tasks

[x] Mouse middle button click should rotate the camera 180

It was done here: https://github.com/ko4life-net/ko/pull/176


Update and rename GitVersionConfig.yaml to GitVersion.yml

fixes #16

@asbjornu another one for you to merge :-)

Hmm maybe its because I did this all through github.. I can try.


[Bug] Drop label renders on top of file list if element isn't visible on initialization and using compact layout

Is there an existing issue for this?

[X] I have searched the existing issues

Have you updated FilePond and its plugins?

[x] I have updated FilePond and its plugins

Describe the bug
If the FilePond element isn't visible (within a display: none element) when it initalizes, the UI does not render correctly. Specifically the drop label element does not get hidden. When using the compact panel layout this causes the drop label to appear on top of the files list, which prevents you from clicking the remove button.
I think this might be the same problem as mentioned in this closed issue: https://github.com/pqina/filepond/issues/574
Reproduction
I have created a CodePen that demonstrates this issue: https://codepen.io/jacksleight/pen/wvpoqpw
Let the page load, then click the button to reveal the hidden element. The revealed FilePond instance has the drop label on top, and the remove button can't be clicked:

Environment
- Device: MacBook
- OS: macOS 12.1
- Browser: Chrome 99

FilePond is constantly determining its size, if it's set to display none it has zero size and sometimes it doesn't know how to deal with that.
I'd advise to use visibility: hidden and height: 0 instead for now.

  <input type="file" id="filepond2">

<button type="button" onclick="document.getElementById('hidden').style.visibility = 'visible'; height: auto;">Reveal Hidden Instance</button>

I tried this solution but it seems to be randomly rendering as it wants. Sometimes the filepond browse button works and sometimes it doesn't. Is there any solution to this? It's so frustrating.
This is my markup
<ons-row class="dboyScorePanel">
  <ons-col class=" dboyScorePanelCol" vertical-align="top">

      <select class="dboyScoreCategorySelect">
        <option class="textCentered" value="1">Blah 1</option>
        <option class="textCentered" value="2">Blah 2</option>
        <option class="textCentered" value="3">Blah 3</option>
      </select>

      <textarea rows='1' class="descriptionInput" placeholder="Detalles" rows="6" autocomplete="off" minlength="20" maxlength="140"></textarea>
      <input class="dboyIncidences" type="file" />
      <ons-button class="confirmScoreButton button">Confirmar</ons-button>

  </ons-col>
</ons-row>

Where is-visible is the css class added for showing the item inside the accordion
And this is my js
        FilePond.registerPlugin(FilePondPluginFileRename);
        FilePond.setOptions({
          fileRenameFunction: (file) => {
            return 'inc_' + username + '_' + Math.random().toString(36).substring(5) + file.extension;
          }
        });
        // Create Input
        self.pond = FilePond.create(self.ui.dboyIncidences[0], {
          allowMultiple: true,
          allowBrowse: true,
          maxFiles: 4,
          allowDrop: true,
          labelIdle: 'Arrastra los archivos acá ó  Buscá en la pc ',
          labelTapToUndo: null,
          labelFileProcessing: 'Subiendo archivo ...',
          labelFileProcessingComplete: 'Archivo subido con éxito',
          labelFileProcessingAborted: 'Subida cancelada',
          labelFileProcessingError: 'Error con el archivo',
          labelTapToCancel: 'Click para cancelar',
          labelTapToRetry: 'Click para reintentar',
          instantUpload: false,
          allowProcess: false,
          server: {
            process: app.appConfig.baseURL + 'dboy/uploadScoreFiles',
            fetch: null,
            revert: null,
            restore: null,
            load: null,
            withCredentials: true,
            headers: {
              'Authorization': 'Bearer ' + authToken
            }
          }
        });

This is the random result
Expected:

Bug:

@jgauna If it's rendered for the first time it should have a display size. It's unclear if that is the case, and/or if the  is-visible class affects the display or visibility CSS property.

I had this issue in a Vue app when I was conditionally showing a filepond instance in compact mode. Solution was to use v-if instead of v-show i.e. re-rendering rather than hiding/showing using CSS.


MEMIT and PMET  torch.linalg.solve stuck

Im trying to run knowledge editing using MEMIT and PMET , but the run always get stuck, after debugging I found out that the reason is :
        adj_k = torch.linalg.solve(             hparams.mom2_update_weight * cov + layer_ks @ layer_ks.T,             layer_ks,         )
layer_ks and cov was calculated in double precision, I turned it into float, still didnt help.
Am I the only one that is affected by this issue?

I can't seem to reproduce your issue. Could you provide your hyperparameters? Also, may I know what machine you are using? I'm able to run it successfully on an A800

Those are my hyperparameters:
alg_name: "MEMIT" model_name: "meta-llama/Meta-Llama-3-8B" stats_dir: "./data/stats" device: 0 layers: [ 5, 6, 7, 8] clamp_norm_factor: 4 layer_selection: "all" fact_token: "subject_last" v_num_grad_steps: 20 v_lr: 5e-1 v_loss_layer: 20 v_weight_decay: 1e-3 kl_factor: 0.0625 mom2_adjustment: true mom2_update_weight: 1500 rewrite_module_tmp: "model.layers.{}.mlp.down_proj" layer_module_tmp: "model.layers.{}" mlp_module_tmp: "model.layers.{}.mlp" attn_module_tmp: "model.layers.{}.self_attn" ln_f_module: "model.norm" lm_head_module: "lm_head" mom2_dataset: "wikipedia" mom2_n_samples: 1000 mom2_dtype: "float16" model_parallel: false

In our local tests, this issue does indeed occur, and the speed of MEMIT suddenly slows down. I believe there is room for optimization here, but this is not a bug. I will try some optimization algorithms soon to speed it up, but it may take some time to optimize.

Hi, do you have any further issues?


LUTECE-2025 : Use PBKDF2WithHmacSHA512 to store BO passwords

This algorithm is supported since Java 1.8, and is more resistant to
attacks than PBKDF2WithHmacSHA1.
Downgrade PBKDF2WithHmacSHA1 to legacy status, but keep support for reading them.

Merged, Thanks !

OpenJDK8 doesn't support PBKDF2WithHmacSHA512 algorithm yet.
03/11/16 17:35:48 ERROR [http-nio-8080-exec-6] lutece.error - java.security.NoSuchAlgorithmException: PBKDF2WITHHMACSHA512 MessageDigest not available
java.lang.IllegalArgumentException: java.security.NoSuchAlgorithmException: PBKDF2WITHHMACSHA512 MessageDigest not available

Another algotithm should be used if PBKDF2WithHmacSHA512 isn't found for keeping Lutece compatible with OpenJDK.

It seems the problem is with openjdk8 as used as part of NetBean.


Bash script for starting all required services

Getting Started
To get started with SuperAgent, follow these steps:

Clone the SuperAgent repository into a public GitHub repository or fork it from https://github.com/homanp/superagent/fork. If you plan to distribute the code, keep the source code public.

git clone https://github.com/homanp/superagent.git

Set up your .env file.
cp .env.example .env

Configure the environment variables according to your requirements.

To run the script, simply execute it using:
bash setup.sh

You can save the script in a file, e.g., setup.sh,
#!/bin/bash

# Create and activate the virtual environment
virtualenv venv
source venv/bin/activate

# Install dependencies using Poetry
poetry install

# Run Prisma migration
poetry run prisma migrate dev

# Start the application with auto-reload
uvicorn app.main:app --reload

This script streamlines the setup process by creating the virtual environment, installing dependencies, performing the Prisma migration, and starting the application with auto-reload. It helps ensure a consistent and efficient development environment for Python web applications.

@thesushilsharma great idea. Please add a PR with the bash script. Perhaps it should contain exports of the env variables as well.

I could include that, however, doing so would throw an error in the data migration procedure.

I could include that, however, doing so would throw an error in the data migration procedure.

Environment variables can be explicitly added by users before the script is launched.

Add the DATABASE_MIGRATION_URL env variable

Getting Started
To get started with SuperAgent, follow these steps:

Clone the SuperAgent repository into a public GitHub repository or fork it from https://github.com/homanp/superagent/fork. If you plan to distribute the code, keep the source code public.
git clone https://github.com/homanp/superagent.git

Set up your .env file.
cp .env.example .env

Configure the environment variables according to your requirements.

To run the script, simply execute it using:
bash setup.sh

You can save the script in a file, e.g., setup.sh,
#!/bin/bash

# Create and activate the virtual environment
virtualenv venv
source venv/bin/activate

# .env file into current shell session
source .env

# Install dependencies using Poetry
poetry install

# Run Prisma migration
poetry run prisma migrate dev

# Start the application with auto-reload
uvicorn app.main:app --reload

I can create PR for this script

PR would be welcome!


Don't load script when use optimization.splitChunks

Hi.
Versions

nuxt: 2.14.11
node: v14.15.3 and

When i use optimization.splitChunks - scripts in client don't work.
My nuxt.config.js:
import i18n from './configs/i18n';
import buildConfig from './configs/build-config';
import plugins from './configs/plugins';
import modules from './configs/modules';
import createAxiosUrl from './configs/axios';

const isDev = process.env.NODE_ENV === 'develop';

export default {
  telemetry: true,
  mode: 'universal',
  ...(!isDev && {
    modern: 'client',
  }),
  env: {
    ENV_STAGE: process.env.ENV_STAGE,
  },
  /*
  ** Headers of the page
  ** process.env.npm_package_name
  */
  head: {
    title: process.env.npm_package_name || '',
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: process.env.npm_package_description || '' },
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: 'https://ssfront.s3.eu-west-1.amazonaws.com/bdTjXGyv26XVOUClDHSsctIfPMHghTUN.vnd.microsoft.icon' },
    ],
  },
  /*
  ** Customize the progress-bar color
  */
  loading: { color: '#fff' },
  /*
  ** Global CSS
  */
  css: [
    '~/style/font-awesome.scss',
    '~/style/global.scss',
    'swiper/dist/css/swiper.css',
  ],
  /*
  ** Plugins to load before mounting the App
  */
  plugins: [
    { src: '~/plugins/axios.js' },
    { src: '~/plugins/vue-notifications.js', ssr: false },
    { src: '~/plugins/swiper.js', ssr: false },
    { src: '~/plugins/vee-validate.js', ssr: false },
    { src: '~/plugins/vue-lazy-load.js', ssr: false },
    { src: '~/plugins/router.js', ssr: false },
    { src: '~/plugins/i18n.js' },
    { src: '~/plugins/link-images.js', ssr: true },
    { src: '~/plugins/vue-datepicker.js', ssr: false },
  ],
  /*
  ** Nuxt.js dev-modules
  */
  buildModules: [
    // Doc: https://github.com/nuxt-community/eslint-module
    '@nuxtjs/eslint-module',
  ],
  /*
  ** Nuxt.js modules
  */
  modules: [
    'bootstrap-vue/nuxt',
    '@nuxtjs/axios',
    '@nuxtjs/pwa',
    '@nuxtjs/device',
    'cookie-universal-nuxt',
    ['nuxt-gmaps', {
      key: 'AIzaSyD1oiXaz7oErI7gcjcdSN4ejuPhoFaKlFA',
    }],
    'nuxt-i18n',
    '@nuxtjs/sentry',
  ],
  sentry: {
    dsn<EMAIL_ADDRESS>    disabled: isDev,
  },
  i18n: {
    locales: [
      {
        name: 'English',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/uk.png',
        iso: 'en-GB',
        code: 'en',
        countryCode: 'GB',
        currency: 'gbp',
      },
      {
        name: 'German',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/de.png',
        iso: 'de-DE',
        code: 'de',
        countryCode: 'DE',
        currency: 'eur',
      },
      {
        name: '中国 (Chinese)',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/cn.png',
        iso: 'zh-CN',
        code: 'cn',
        countryCode: 'CN',
        currency: 'cny',
      },
      {
        name: 'Canadian',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/ca.png',
        iso: 'en-CA',
        code: 'ca',
        countryCode: 'CA',
        currency: 'cad',
      },
      {
        name: 'Australian',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/au.png',
        iso: 'en-AU',
        code: 'au',
        countryCode: 'AU',
        currency: 'aud',
      },
      {
        name: 'Espanol',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/es.png',
        iso: 'es-ES',
        code: 'es',
        countryCode: 'ES',
        currency: 'eur',
      },
      {
        name: 'American',
        icon: 'https://d9qzjwuieyamt.cloudfront.net/res/images/_png/flags/us.png',
        iso: 'en-US',
        code: 'us',
        countryCode: 'US',
        currency: 'usd',
      },
    ],
    defaultLocale: 'en',
    loadLanguagesAsync: true,
    strategy: 'prefix_except_default',
    detectBrowserLanguage: {
      useCookie: true,
      cookieKey: 'lang',
      fallbackLocale: 'en',
    },
    vueI18n: {
      fallbackLocale: false,
    },
    vuex: {
      moduleName: 'i18n',
      syncLocale: true,
      syncMessages: false,
      syncRouteParams: true,
    },
  },
  publicRuntimeConfig: {
    axios: {
      browserBaseURL: createAxiosUrl(isDev, process.env.ENV_STAGE),
    },
  },
  privateRuntimeConfig: {
    axios: {
      baseURL: createAxiosUrl(isDev, process.env.ENV_STAGE),
    },
  },
  /*
  ** Build configuration
  */
  build: {
    optimizeCss: true,
    minimize: true,
    // analyze: true,
    cssSourceMap: true,
    ...(!isDev && {
      extractCSS: true,
    }),
    ...(!isDev && {
      vendor: [
        'bootstrap-vue/nuxt',
        '@nuxtjs/axios',
        '@nuxtjs/pwa',
        '@nuxtjs/device',
        'cookie-universal-nuxt',
        'nuxt-i18n',
        'nuxt-gmaps',
      ],
    }),
    ...(!isDev && {
      html: {
        minify: {
          collapseBooleanAttributes: true,
          decodeEntities: true,
          minifyCSS: true,
          minifyJS: true,
          processConditionalComments: true,
          removeEmptyAttributes: true,
          removeRedundantAttributes: true,
          trimCustomFragments: true,
          useShortDoctype: true,
        },
      },
    }),
    ...(!isDev && {
      vendor: [
        'bootstrap-vue/nuxt',
        '@nuxtjs/axios',
        '@nuxtjs/pwa',
        '@nuxtjs/device',
        'cookie-universal-nuxt',
        'nuxt-i18n',
        'nuxt-gmaps',
      ],
    }),
    transpile: ['vee-validate/dist/rules'],
    filenames: {
      app: ({ isDev }) => (isDev ? '[name].js' : '[name].[contenthash].js'),
      chunk: ({ isDev }) => (isDev ? '[name].js' : '[name].[contenthash].js'),
      css: ({ isDev }) => (isDev ? '[name].css' : '[name].[contenthash].css'),
    },
    ...(!isDev && {
      optimization: {
        runtimeChunk: 'single',
        splitChunks: {
          chunks: 'all',
          automaticNameDelimiter: '.',
          name: true,
          maxSize: 256000,
        },
      },
    }),
  },
  render: {
    bundleRenderer: {
      shouldPreload: (file, type) => ['script', 'style', 'font'].includes(type),
    },
  },
  router: {
    linkActiveClass: 'active-link',
    mode: 'history',
    middleware: ['user'],
  },
};

for see result you can go to - https://ssfront-dev.ssyii.com/ , in my local have same problem.

@danielroe Hi, yes, but if you see to slider and other scripts int's dont work, just load script file but don't init this. Slider, bootstrap toggle menu, vue-router, etc. If you click to menu link you have full reload page, but i use .

@lwswnnscrm Could you prepare a reproduction at https://template.nuxtjs.org?

@danielroe I'm sorry for the delay, https://codesandbox.io/s/sharp-sanderson-dm6zo?file=/middleware/user.js:70-101 - but i can't build this project and github project - https://github.com/lwswnnscrm/split-chuncks-nuxt

@danielroe all ok or i need do something else?

@danielroe https://codesandbox.io/s/nifty-glitter-6rhed - delete vue-notification plugin, delete my castom plugin, remove all error, same problem. If you comment optimization block you have work project, if use this code scripts don't init.

@danielroe updated https://codesandbox.io/s/nifty-glitter-6rhed?file=/nuxt.config.js

@danielroe updated https://codesandbox.io/s/nifty-glitter-6rhed?file=/nuxt.config.js

@danielroe can you look?

@danielroe can you look?

@danielroe All ok with https://codesandbox.io/s/nifty-glitter-6rhed?file=/nuxt.config.js?

@danielroe All ok with https://codesandbox.io/s/nifty-glitter-6rhed?file=/nuxt.config.js?

Guys, can you help me?

Guys, can you help me?

@danielroe update, splitchuck don't work only if i use modern: 'client' if i set false or server all work ok.

@danielroe update, splitchuck don't work only if i use modern: 'client' if i set false or server all work ok.

Hi @lwswnnscrm
We've come across what feels like the same issue.  If you downgrade Nuxt to 2.14.7, does this solve the problem?

@ajrowland Hi, i have 2.15.1 nuxt and its still don't work for me. I mean modern mode with split chunk. It's work for you?

@danielroe its work for me now thanks.

Hi @danielroe,
i'm having a similar issue to what @lwswnnscrm has reported. when i use the modern property to generate my website in static target, none of my toggles or modals work when i deploy it statically but it's ok in SPA version.
i did what you've mentioned and removed optimization.splitChunks.maxSize from my nuxt.config and it solved the issue but now i get a big chunk of javascript file. as theer is no more maxSize logic, i get 2 big chunk of .js files rather than having 20 or so.
is there any other way to fix this issue and still keep the optimization.splitChunks.maxSize. do you think the number of size makes any difference. mean using a bigger or smaller size?

I believe this is a limitation in how the Nuxt 2 modern build was created and is likely not fixable, though I would certainly welcome investigation and a PR fixing it if possible.

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


GKE Specific Allow Configurable Enable/Disable of BasicAuth and Certificate Auth

Follow on to #643
GKE uses gcloud to build the same items.
Building secondary users (non admin) needs a little research first.
Also, it looks like GKE allows basicauth no matter what (?).  If you do not supply a password to the deployment, GKE generates one for you and populates you .kubeconfig.

So TL;DR  it is currently not possible to turn off basic auth on the master in GKE..
https://stackoverflow.com/questions/41091729/kubernetes-is-it-possible-to-turn-off-basic-auth-for-the-gke-master
However, supposedly it is possible using GCE instead.

Moving to blocked and putting in backlog.


feat: add ability to coerce datatypes in the state object on a Delta update

... by adding a new metadata parameter "converter"
Provides a basis to resolve https://github.com/AutoResearch/autora/issues/231

superseded by #32


Unable to connect  AL - Upgraded DB from 2015 to Business Central

Hi ,
I cannot able to connect Business Central on Premises from AL using Upgraded DB from 2015
Please help !!
Note:
But Normal Default Cronus DB  I can able to connect  Business Central on Premises from AL.
Regards,
Muthu

Please contact support. We can't troubleshoot specific upgrade issues through this forum.
Make sure to read the upgrade documentation and follow all the required steps: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/converting-a-database
You can open Support Request to CSS through PartnerSource portal or contact your Service Account Manager (SAM) in the local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also step by step direct you how to open a support request or how to get credentials if this is the first time for you / your company

https://saurav-nav.blogspot.com/2018/10/msdyn365bc-data-upgrade-to-microsoft.html
Step 11 ???

Hi IvoMol No not this one I already did migration with out any issue and can able to connect RTC and Web Client also but my issue is after  migration I using VS Code cannot able to connect !!Please help

It is not very proper while going to implement  Microsoft dynamics 365 business central

supply chain management system
supply chain management software
supply chain management solution
supply chain management
ERP Software
ERP Solution
ERP Software Solution


Interpolate or duplicate missing data values

AFAIK currently there's no way to draw lines on missing data on line charts, only points are drawn.
https://codepen.io/anon/pen/WaxKdp
This doesn't look alright when there's many missing data

Although one can fill that data by specifying interpolated values or repeating former value it would be nice to have an option to just have an Apex charts option on how these null values should be handled.
And there's no way to set a different stroke for such "filled" line segments.
I would suggest the following:
options:
  nullValues: {
    fill: false | 'interpolate' | 'repeat',
    stroke: {
      width: 2,
      dashSpacing: 5,
    }
  }

Alternative option title could be seriesNulls or seriesEmptyValueHandling

+1, you can still pre-process data to drop null value, but that's definitely a required feature

Replacing null values with the former values while drawing seems like an appropriate way to handle it. I will research more on what are other options and see the possibilities of adding this feature.

Check python pandas interpolate documentation if you want to see more options ;-)
Le 12 mars 2019 09:09:43 GMT+01:00, Juned Chhipa<EMAIL_ADDRESS>a écrit :

Replacing null values with the former values while drawing seems like
an appropriate way to handle it. I will research more on what are other
options and see the possibilities of adding this feature.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/apexcharts/apexcharts.js/issues/146#issuecomment-471897530

--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

+1

+1
This would be very helpful!

Similar to #747 with more details on how this feature would look like.

@junedchhipa any update on this issue?

+1.

Is there any plans to add a feature improvement for this?
It seems this issue links to #747, and vice versa, with no clear resolution or intention.
 There's now a way to do this with the connectNulls prop which is passed to Line

Just came to this now. There's now a way to do this with the connectNulls prop which is passed to Line

Oh wow, really? That's nice!

Just came to this now. There's now a way to do this with the connectNulls prop which is passed to Line

i dont this is true? are you confusing this with echarts?


Windows_Package %%%%ERRORLEVEL%%%% on EXE Installs

Hello - I was having a consistent issue when trying to install EXE packages in chef using the Windows_Package with the :Custom installer_type.  All installs are reporting back as failed.  What I noticed is that the command is attempting to run in this format:
start "" /wait "C:\Installer.exe" /Q & exit %%%%ERRORLEVEL%%%%
What stands out to me is the use of the 4 %'s on each side of ERRORLEVEL.  This is not going to return a straight 0 which is what is desired to determine success.
We're running test kitchen with Chef 12.14.77 on a Server 2016 VM.
I believe the file in question is here, on line 64:  https://github.com/chef/chef/blob/master/lib/chef/provider/package/windows/exe.rb . Note the hardcoded 4 %'s on each side vs the standard %ERRORLEVEL% usage in batch.
I've been able to run this same cmd manually with %ERRORLEVEL% and it does complete successfully so I know the install cmd is valid.
For reference, here's a picture of the cmd being ran on the node:

And here's my kitchen output as well:
-----> Starting Kitchen (v1.15.0)
-----> Converging ...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 5.6.4...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Chef Omnibus installation detected (install only if missing)
Transferring files to
Starting Chef Client, version 12.14.77
resolving cookbooks for run list: ["ms_sql::default"]
Synchronizing Cookbooks:
- ms_sql (0.1.0)
- windows (3.0.4)
- ohai (5.0.2)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 2 resources
Recipe: ms_sql::default
* template[C:/Windows/Temp/SQL_Configuration.ini] action create (up to date)
* windows_package[SQL] action install
       ================================================================================
       Error executing action `install` on resource 'windows_package[SQL]'
       ================================================================================

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0], but received '-2022834173'
       ---- Begin output of start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% ----
       STDOUT:
       STDERR:
       ---- End output of start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% ----
       Ran start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% returned -2022834173

       Resource Declaration:
       ---------------------
       # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/ms_sql/recipes/default.rb

        22: windows_package 'SQL' do
        23:   action :install
        24:   source 'C:/Kitchen-Vagrant-Files/SQL 2016 x64/setup.exe'
        25:   options '/ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini'
        26:   installer_type :custom
        27: end
        28: =begin

       Compiled Resource:
       ------------------
       # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/ms_sql/recipes/default.rb:22:in `from_file'

       windows_package("SQL") do
         package_name "SQL"
         action [:install]
         retries 0
         retry_delay 2
         default_guard_interpreter :default
         declared_type :windows_package
         cookbook_name "ms_sql"
         recipe_name "default"
         source "c:\\kitchen-vagrant-files\\sql 2016 x64\\setup.exe"
         options "/ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini"
         installer_type :custom
         returns [0]
       end

       Platform:
       ---------
       x64-mingw32

   Running handlers:
   [2017-04-05T15:23:06-05:00] ERROR: Running exception handlers
   Running handlers complete
   [2017-04-05T15:23:06-05:00] ERROR: Exception handlers complete
   Chef Client failed. 0 resources updated in 11 seconds
   [2017-04-05T15:23:06-05:00] FATAL: Stacktrace dumped to C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
   [2017-04-05T15:23:06-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
   [2017-04-05T15:23:06-05:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: windows_package[SQL] (ms_sql::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '-2022834173'
   ---- Begin output of start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% ----
   STDOUT:
   STDERR:
   ---- End output of start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% ----
   Ran start "" /wait "c:\kitchen-vagrant-files\sql 2016 x64\setup.exe"   /ConfigurationFile=C:/Windows/Temp/SQL_Configuration.ini & exit %%%%ERRORLEVEL%%%% returned -2022834173

------Exception-------
Class: Kitchen::ActionFailed
Message: 1 actions failed.
Converge failed on instance .  Please see .kitchen/logs/default-ourcompany-server2016.log for more details
Please see .kitchen/logs/kitchen.log for more details
Also try running kitchen diagnose --all for configuration

You should use elavated shell in TK. This is not chef-client bug.

As noted by @jugatsu, you cannot install sql server over WinRM without some sort of delegation in place (which is unsupported in test-kitchen).  You can use the elevated: true setting on the transport in test-kitchen to get around that.


Stop use Scheme to describe qualified types

Having Scheme be a separate type from Type was making it hard to nested qualified types within other types.  This PR aims to avoid this difficulty by adding .type_params as a property on types that can be qualified.

Codecov Report

Merging #275 (dd0daa2) into main (5b84409) will decrease coverage by 0.16%.
The diff coverage is 85.99%.

@@            Coverage Diff             @@
##             main     #275      +/-   ##
==========================================
- Coverage   89.94%   89.78%   -0.17%
==========================================
  Files          32       32
  Lines        4445     4522      +77
==========================================
+ Hits         3998     4060      +62
- Misses        447      462      +15

Impacted Files
Coverage Δ

crates/crochet_infer/src/lib.rs
99.13% <ø> (ø)

crates/crochet_types/src/obj.rs
43.47% <25.00%> (-11.70%)
:arrow_down:

crates/crochet_types/src/type.rs
73.52% <40.00%> (-6.48%)
:arrow_down:

crates/crochet_types/src/lam.rs
62.06% <50.00%> (-9.36%)
:arrow_down:

crates/crochet_dts/src/parse_dts.rs
79.68% <74.07%> (+1.33%)
:arrow_up:

crates/crochet_infer/src/substitutable.rs
91.73% <85.71%> (-3.60%)
:arrow_down:

crates/crochet_infer/src/util.rs
95.02% <92.18%> (-2.71%)
:arrow_down:

crates/crochet_codegen/src/d_ts.rs
74.50% <100.00%> (ø)

crates/crochet_infer/src/infer.rs
97.67% <100.00%> (+0.37%)
:arrow_up:

crates/crochet_infer/src/infer_expr.rs
94.17% <100.00%> (+0.08%)
:arrow_up:

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Fix for enabling strict_variables

This missing variable is causing failures in our spec tests, since we've recently enabled strict_variables  - https://docs.puppet.com/puppet/latest/lang_variables.html#unassigned-variables-and-strict-mode
The change ensures the variable is explicitly set to undef if the source parameter is not set.
This will have no negative affect on existing implementations.

Other than Changelog missing looks ok , simple change :) @madAndroid

@calebhailey - any chance we can get a merge here? It's a really small change to address failures when strict_variables config option is enabled - but I don't think the spec tests in travis currently cover that.


Improve / extend hashing utilities

I find one of the biggest sticking points with learning or using a web3 library is getting hashes to match. It would be good to add some docs on how to generate a few types of hashes and maybe extend the API a bit.
Here's what generating a create2 address and an EIP712 signature currently looks like in ethers-rs (at least, as far as I have been able to figure out):
use ethers::{
    abi,
    abi::Token,
    prelude::{Bytes, U256},
    types::Address,
    utils,
    utils::{keccak256, parse_ether},
};

const UNISWAP_V2_USDC_ETH_PAIR: &'static str = "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc";
const UNISWAP_V3_USDC_ETH_PAIR: &'static str = "0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640";
const UNISWAP_V3_POOL_INIT_CODE: &'static str = "{REALLY_BIG_HEX_STRING}";

#[allow(dead_code)]
fn get_uniswap_v3_pair(factory: Address, token0: Address, token1: Address, fee: u32) -> Address {
    let input = abi::encode(&vec![
        Token::Address(token0),
        Token::Address(token1),
        Token::Uint(U256::from(fee)),
    ]);
    let salt = keccak256(&input);
    let code = Bytes::from(hex::decode(UNISWAP_V3_POOL_INIT_CODE).unwrap());

    utils::get_create2_address(factory, salt.to_vec(), code)
}

#[allow(dead_code)]
fn get_uniswap_v2_permit_hash(
    owner: Address,
    spender: Address,
    value: U256,
    nonce: U256,
    deadline: U256,
) -> [u8; 32] {
    let verifying_contract: Address = UNISWAP_V2_USDC_ETH_PAIR.parse().unwrap();
    let name = "Uniswap V2";
    let version = "1";
    let chainid = 1;
    let permit_typehash = utils::keccak256(
        "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)",
    );
    let domain_typehash = keccak256(
        "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)",
    );

    // abi.encode
    let domain_separator_input = abi::encode(&vec![
        Token::Uint(U256::from(domain_typehash)),
        Token::Uint(U256::from(keccak256(&name))),
        Token::Uint(U256::from(keccak256(&version))),
        Token::Uint(U256::from(chainid)),
        Token::Address(verifying_contract),
    ]);
    let domain_separator = keccak256(&domain_separator_input);

    // abi.encode
    let struct_input = abi::encode(&vec![
        Token::Uint(U256::from(permit_typehash)),
        Token::Address(owner),
        Token::Address(spender),
        Token::Uint(value),
        Token::Uint(nonce),
        Token::Uint(deadline),
    ]);
    let struct_hash = keccak256(&struct_input);

    // abi.encodePacked
    let digest_input = [
        &[0x19, 0x01],
        domain_separator.as_ref(),
        struct_hash.as_ref(),
    ]
    .concat();

    keccak256(&digest_input)
}

For comparison, here's the same thing in ethers.js:
function get_uniswap_v3_pair(factory: string, token0: string, token1: string, fee: BigNumber): string {
  const salt = utils.keccak256(
    utils.defaultAbiCoder.encode(
      [ "address", "address", "uint24" ],
      [ token0, token1, fee ]
    )
  );

  return utils.getCreate2Address(factory, salt, UNISWAP_V3_POOL_INIT_CODE_HASH);
}

function get_uniswap_v2_permit_hash(owner: string, spender: string, value: BigNumber, nonce: BigNumber, deadline: BigNumber): string {
  const domain = {
   name: "Uniswap V2",
   version: "1",
   chainId: 1,
   verifyingContract: UNISWAP_V2_USDC_ETH_PAIR
  };
  const types = {
     Permit: [
          {name: "owner", type: "address"},
          {name: "spender", type: "address"},
          {name: "value", type: "uint256"},
          {name: "nonce", type: "uint256"},
          {name: "deadline", type: "uint256"},
      ],
  };
  const values = {
      owner: owner,
      spender: spender,
      value: value,
      nonce: nonce,
      deadline: deadline
  };

  return ethers.utils._TypedDataEncoder.hash(domain, types, values);
}

And web3.py:
def get_uniswap_v3_pair(factory, token0, token1, fee):
    salt_input = encode_abi(
        [ 'address', 'address', 'uint256'],
        [ web3.toChecksumAddress(token0), web3.toChecksumAddress(token1), fee ]
    )
    salt = web3.keccak(salt_input)
    create2_hash = web3.solidityKeccak(
        [ 'bytes1', 'address', 'bytes32', 'bytes32' ],
        [ "0xff", factory, salt, UNISWAP_V3_POOL_INIT_CODE_HASH ]
    )
    return web3.toChecksumAddress(create2_hash[12:].hex())

# from https://github.com/yearn/yearn-vaults/blob/95a87334762e5ed68a031a63a69c8cfc6ec03a07/tests/conftest.py#L92
def get_uniswap_v2_permit_hash(verifying_addr, owner, spender, value, nonce, deadline):
    name = "Uniswap V2"
    version = "1"
    chainid = 1
    data = {
        "types": {
            "EIP712Domain": [
                {"name": "name", "type": "string"},
                {"name": "version", "type": "string"},
                {"name": "chainId", "type": "uint256"},
                {"name": "verifyingContract", "type": "address"},
            ],
            "Permit": [
                {"name": "owner", "type": "address"},
                {"name": "spender", "type": "address"},
                {"name": "value", "type": "uint256"},
                {"name": "nonce", "type": "uint256"},
                {"name": "deadline", "type": "uint256"},
            ],
        },
        "domain": {
            "name": name,
            "version": version,
            "chainId": chainid,
            "verifyingContract": verifying_addr,
        },
        "primaryType": "Permit",
        "message": {
            "owner": owner,
            "spender": spender,
            "value": value,
            "nonce": nonce,
            "deadline": deadline,
        },
    }

    msg = encode_structured_data(data)
    digest = web3.keccak(b'\x19\x01' + msg.header + msg.body)
    return digest

The full examples for all three libraries are here.
Features
I'd say there's not that huge of a usability difference between the three. Just adding some examples to the docs would go a long way.
Some other possibilities:

An alternative version of get_create2_address() that takes a code hash instead of the entire init code. This way you don't need to worry about the entire bytecode if you have something like a uniswap pool whose init code hash is not going to change.
A typed hashing / signing helper for EIP712
Maybe some cheat methods for common use cases (e.g. uniswap pools). I think these are probably better off just added to the docs, though.

Are there any other pain points matching hashes with current libraries? Or better ways to do the above in ethers-rs?

The discussion on EIP712 support is in #16. Other than that, I'm out of feature requests.
I think we can either close this or leave it open for future hashing-related discussion.


Milestone: v0.11.3

[ ] Investigate a memory exhausting bug.
[ ] fix neovim configuration
[ ] autocompletion improvement

[ ] fix possibly wrong cursor offset from autocompletion request.
[ ] autocomplete even if no word boundary occurs after cursor (possibly same root cause as the first issue).
[x] complete the named arguments with a colon with an extra space and may also PR the improvement to typst-ide.
[x] #144

document color provider

I am suffering the memory/cpu exhausting bug...
My typst project has 50+ .typ file, organized into the final document using #include file-path.
.
├── info.typ           # <-- this file declares the `papers` function.
│                      # The `paper` function is used to include `papers/*.typ` into the final document
├── papers
│   ├── asplos16-hajj.typ
│   ├── ...
│   └── sosp23-wu.typ
├── reading-list.bib   # <-- bib file
├── reading-list.typ   # <-- the final document
├── README.md
├── requirements.typ   # <-- this file will be imported by `papers/*.typ` on necessity, providing dependencies
└── template.typ

Citing labels across files is very common in the project. When I open the info.typ, tinymist occupies 100% CPU for about 1~2 minutes and consumpts several GBs RAM (5+ ~ 15+ GB sometimes).
I am enchanted by typst and tinymist, but this bug is now so annoying me... I do some simple investigation on tinymist's cpu/memory usage, and the perf graph & dhat-json file are as follows. As I am not familiar with typst & tinymist source code, I cannot find out what is actually happening behind the exhaustion.
When I look into this issues, I find you, tinymist's author, are also investigating something like this. Hope my information can be helpful for your investigation.

perf.tar.gz
dhat-heap.json

Hi, I have read the dhat-heap and figure out the reason: there are too many cache holding for big typst projects. This bad case could be mitigated by reduce cache by smaller steps, but may slow down the lsp.
https://github.com/Myriad-Dreamin/tinymist/blob/1c5c6bd9292478443e26bcb035c9b47bed419860/crates/tinymist/src/actor/typ_server.rs#L375
If you would like to do, you can explore the following operations to help me debug your the big project:

turn on/off inlay hints and then open the info.typ.
As I find that inlay hints could trigger the compilation many times.

ctrl + shift + p and run the vscode command: Typst Clear Cache.

after you opening the info.typ.
keystroke a single word in the document and rerun the clear cache command.
keystroke two or more single word in the document and rerun the clear cache command.

Current the cold cache are totally evicted only if behind your 30 keystrokes, which is not good for running big projects.

The memory consumption statistics of these operations could help me find a good balance.
Also could you send me the channel log related to the slow loading the project?

The above operations to explore and the following are not requests but optional. Could you also send me the papers and the information, which can help me do optimization on analysis on function calls, which is likely to be memory consuming.

The way to turn off inlay hint globally, that is in your user setting:

turn on/off inlay hints and then open the info.typ.
As I find that inlay hints could trigger the compilation many times.

I turned off the inlay hints just now, but the exhaustion seems not to be mitigated.
EDIT: Oh, sorry, the exhaustion is almost solved by turning off the inlay hints.

The cost to inlay hints is not a problem on most projects, and so please turn off it only in your the big project, and not for other projects (and please note that it will also turn off the inlay hints for other languages).
I will also let you know after I believing it not a problem to big projects.


CORS bad request while uploading NFT

Getting this error mentioned in the image when i select the image for NFT

and this error when i approve the sale of the NFT from the metamask which is related to the error mentioned above. I guess the image is not being uploaded to IPFS properly

can someone help fix this? thanks

Talk to a Dev on the Live support page so that your issue can be looked into. CLICK HERE

Error has been fixed, project is up and running!
Thanks.

Error has been fixed, project is up and running! Thanks.

Hello bro, how can you fixed this? Can u tell me. Thanks in advance

Error has been fixed, project is up and running! Thanks.

Hello bro, how can you fixed this? Can u tell me. Thanks in advance

Check this PR if it helps, you have to make changes to create-nft page. Check the files changed section of the PR.


chore(deps): remove read-pkg-up

Refs #3941.
Note:
Opening this for feedback. I have tried to make this foolproof, but it might not be 100% the same, for example you might not want to throw an error if JSON.parse fails here, so, I'll let you decide. :)
PS. I haven't checked if there's similar code in other parts of the codebase. If so, it's probably best abstracting this, using it everywhere and testing it properly.

If this lands, the same should be made in the remaining 2 production packages that depend on read-pkg-up:
C:\Users\xmr\Desktop\cli>npm ls read-pkg-up
<EMAIL_ADDRESS>C:\Users\xmr\Desktop\cli
+--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>

🎉 Thanks for submitting a pull request! 🎉
Summary
Fixes #<replace_with_issue_number>

For us to review and ship your PR efficiently, please perform the following steps:

[ ] Open a bug/issue before writing your code 🧑💻. This ensures we can discuss the changes and get feedback from everyone that should be involved.
[ ] Read the contribution guidelines 📖. This ensures your code follows our style guide and
passes our tests.
[ ] Update or add tests (if any source code was changed or added) 🧪
[ ] Update or add documentation (if features were changed or added) 📝
[ ] Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

Thanks @XhmikosR, I'm not sure we'd like to inline this dependency.
read-pkg-up is small, well maintained, comes with tests and types.
Also it uses read-pkg that has other benefits like data normalization, see https://github.com/sindresorhus/read-pkg#why
Closing this for now. Please comment if you think I got this wrong.


replace timestamp information for value only functions

small details I missed, these should be correct now

And, does a zero timestamp no longer have a zero value because an error is returned?

Change of thought here. Deleted my first response as it was way off. So the "value only" functions return an error message if the timestamp is zero, meaning the feed does not exist? Is the error message in the value?

yes it reverts with that message


Pinch Zoom on SVG Image Overlay is too slow

How to reproduce
Using the last version of Leaflet or 1.03, pinch zoom on mobile is extremely slow.
I'm using an image overlay pointing to any SVG file.
To reproduce open the URL below on Chrome of your smartphone:
https://leafletsvgexample.appspot.com/
Minimal example reproducing the issue

[X] this example is as simple as possible
[X] this example does not rely on any third party code

Hi, and thanks for reporting. Also, nice car!
I took the liberty to convert this into a playground example, to make it easier to edit and to load the correct CSS, which looks like it's missing from your example: http://playground-leaflet.rhcloud.com/mevon/edit?html,output
It looks like this stems from the fact that an animated zoom uses a CSS scale tranform to transition the image from one size to another, while the pinch zoom repeatedly calls ImageOverlay's _reset method, which in turn alters the image's width and height through its style attributes. It looks as if the later does not perform very well.
Potentially, _reset could use a scale transform as well (if available in the browser), but this is not something I have tested, and might have consequences I haven't thought of. Also, your use case (highly detailed SVG image) is pretty specific, so this will not end up on the top of our todo list.
If you would like to submit a PR to improve this, it would be very welcome!

Hi Per Liedman,
First, many thanks for your answer.
I coded different approaches following your suggestion. None has given a great performance. Please take a look at my code at: http://playground-leaflet.rhcloud.com/naru/edit?html,output
Did I go correctly to the way you mentioned?
Thanks again!

Hm, yes that is sort of what I had in mind.
I don't know enough about how browsers work to tell if there is some special optimized path they use for implementing a CSS transitioned scale compared to setting it yourself repeatedly, but it certainly looks so from this result.
I don't have any immediate advice to give here. I don't know you particular use case, but from the looks of it, perhaps Leaflet isn't the best match for what you want to do? You might want to look into WebGL libraries, that generally perform better for really complex vector graphics. On the other hand, they often also mean a lot more complexity.

I see... When you gave "scale" suggestion I thought it would give a better performance because it is hardware accelerated, which uses GPU. But against what I was thinking neither scale, scaleX, scale3d, zoom... has given a better performance.
My team is drawing custom maps for touristic spots and we really would like to use SVG because when zooming it does not loose quality.
Our last option will be transforming this SVG file in JPG or PNG in which pinch zoom works great.
Also, to let you guys know I found out some other who reported the same problem:
https://gis.stackexchange.com/questions/238445/leaflet-map-more-performance-with-a-svg-image

Yes, I was thinking the same, but obviously things are not as simple.
I would love to dive into this and try to figure out how to improve, but I'm afraid my time for this limited, at least not something I can promise.
If you want to put energy into this, I would try to profile performance with Chrome devtools or similar. Also, profiling with a much simpler test, where you just have an SVG image and transform it, without involving Leaflet, is probably a good to start to see what is possible, and later incorporate the best technique into Leaflet.
I you want to workaround, Leaflet's tile layer is the de facto standard to accomplish what you want: render from vector data to raster/bitmaps on preset zoom levels, the perceived effect is that you never lose detail. The downside is that you have to set up the pipeline to render the tiles, and not just slap an SVG on a page.

Yep...
It seems it is not a Leaflet issue.
I did what you suggested and it is slow in any approach.
http://playground-leaflet.rhcloud.com/seho/edit?html,output
If you agree, we can close this issue even though it would be awesome if Leaflet could make this kind of thing.
I'll try to look at a good approach to do this...
Thanks for your help Per Liedman!

Ok, good to know! I'm closing at least for now, please keep us posted if discover some method to improve performance, and we'll see if we can integrate it int Leaflet.
Thanks for providing very useful feedback as well as quick proof of concepts!

Are SVGs in Leaflet still causing major performance lags? I'm trying to use SVGs to denote the Status of the entites I am marking. And Considering that I'm marking about 1000 images in the map, leaflet is lagging enormously. Is this because SVG overlay is not meant to be used this way?


Implement rendering line annotations without appearance stream

Fixes another part of #6810.

/botio-linux preview

/botio test

/botio makeref


False is not applied in targets files

I'm trying to work with TypeScript in Visual Studio. I'm not working with Angular, nor any other JavaScript libraries. We have our own libraries in our company. And we're porting them to TypeScript, so that we can manage them easier.
We don't use Visual Studio Code. We use Visual Studio 2019.
And when you add a TypeScript file to VS, it says that you have to include a NuGet package called Microsoft.TypeScript.MSBuild.
And we don't want to map files either. So we have to turn it off. The overall footprint of adding TypeScript to each of our projects is this code:
<ItemGroup>
	<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.7.2">
		<PrivateAssets>all</PrivateAssets>
		<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
	</PackageReference>
</ItemGroup>

<PropertyGroup>
	<TypeScriptTarget>ES5</TypeScriptTarget>
	<TypeScriptJSXEmit>React</TypeScriptJSXEmit>
	<TypeScriptModuleKind />
	<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
	<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
	<TypeScriptRemoveComments>False</TypeScriptRemoveComments>
	<TypeScriptOutFile />
	<TypeScriptOutDir />
	<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations>
	<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
	<TypeScriptSourceMap>False</TypeScriptSourceMap>
	<TypeScriptMapRoot />
	<TypeScriptSourceRoot />
</PropertyGroup>

So far so good. But we have a lot of project files. And I mean more than 500 .csproj files that need to be configured like this.
Microsoft's way of DRYing MSBuild configuration files is to use .targets or .props. So we've created a targets file called TypeScript.targets and we're importing it in every project as <Import Project='$(ProjectsRoot)\Framework\TypeScript.targets' />.
The problem is, we still get those map files and Visual Studio completely ignores the configuration of TypeScript in that targets file.
What should we do?

This really is a Visual Studio question, not a TypeScript question. I don’t know the answer and I didn’t get a response that anyone else on the team did either. You’ll have better luck going through VS support channels or asking on StackOverflow.


Update to babel 7

This pull request, done in collaboration with @henrikhermansen and Eirik Haukedal Daleng, upgrades Babel to version 7. There was a few issues with Babel 7, Jest and monorepos, but they are all sorted out now.

Coverage decreased (-12.8%) to 68.316% when pulling 580ea61c3543cbfc4307c3d714d742acee5a0199 on update-to-babel-7 into 57fd626c6d771c487e07cc95ee1a33165d04cd6a on develop.

Coverage decreased (-12.8%) to 68.316%

Oops - fixed in 402d348

You could mention in your PR description that it fixes #506 to automatically close that, I suppose.

Done! Noticed that this fixes a bunch of Greenkeeper PRs as well, so mentioned them as well.


Bump to a ghc-8.10.3 resolver

Switch stack.yaml to use resolver: nightly-2021-02-06 (ghc-8.10.3).

Thanks Shayne


feat: add dtos

What's new?
Just the package dtos and your classes: AuthorDTO, AuthenticationDTO, RegisterDTO and ResponseDTO.
Added codes:
AuthorDTO Class:

AuthenticantionDTO class:

RegisterDTO class:

ResponseDTO class:

Issue #4

What's new?
Refactored classes to record.
Refactored codes:
AuthorDTO class:

AuthenticantionDTO class:

RegisterDTO class:

ResponseDTO class:

Issue #4


Issued at being used as not before in standard claims

Currently issued at is being used as an equivalent of the not before field. This is against the RFC and any reading of the docs.
https://tools.ietf.org/html/rfc7519#section-4.1.6

The "iat" (issued at) claim identifies the time at which the JWT was
issued.  This claim can be used to determine the age of the JWT.  Its
value MUST be a number containing a NumericDate value.  Use of this
claim is OPTIONAL.

I found this (comment)[https://github.com/dgrijalva/jwt-go/issues/314#issuecomment-481789374] mentioning it is changing in 4.0 but that brings a lot of other api changes and this fix isn't documented in it anyways.
Either way I'd like to propose fixing this in a 3.x release.

Here is the relevant check which I think would just be removed.
https://github.com/dgrijalva/jwt-go/blob/master/claims.go#L44
Issued at isn't supposed to be validated beyond being a valid date if set.


Surround command line tool needs a --version flag

@ScottyB What's wrong with using the version that was used to create the project?


Block quotes (>) and fenced code blocks don't interact nicely

When you try to block-quote a code block, it.. really doesn't work right. The best way of explaining this is with images:
(Apologies for the wide screenshots)

Source for the message:

I expected something more like Pandoc's rendering, where the whole code block is block-quoted:

					foo ::
					Int
					->
					Int

					foo x
					= x
					+
					5

@aero31aero this is a duplicate, right?

I don't think so. Are you thinking of #12446?

Ahh, I think so.  I'm not sure the syntax proposed here makes sense; we might want to use the syntax in #12446 for this purpose.

I can't see the images here anymore, but I think end-quote markers in #13001 would fix this.

It’s not a bug that we don’t support the incorrect syntax where you only quote the first line of the code block, but it is a bug that we don’t support the CommonMark syntax where you quote every line of the code block:
> ```haskell
> foo :: Int -> Int
> foo x = x + 5
> ```

@aero31aero @zardyh is this issue available? I had seen one PR referenced to it, and it had also reviewed but not yet merged.

@shubhamgupta2956 that PR solves this issue.


Youtube video overflows other content

Youtube video overflows other content. I put divider after video embed but it doesnot enough video overflows on text.
You can test on this link: https://istihbarat.club/blog/bahai-lotus-tapinagi/

I solved my problem by adding these lines to code injection.
    .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
        position: relative !important;
    }

    .fluid-width-video-wrapper {
     	padding: 5px !important;
    }

I solved my problem by adding these lines to code injection.
    .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
        position: relative !important;
    }

    .fluid-width-video-wrapper {
     	padding: 5px !important;
    }

Hi,
I am glad you fixed the issue.. I will patch the theme with your fix
Thanks

Hi,
I am glad you fixed the issue.. I will patch the theme with your fix
Thanks


Calculation fails due to floating point math flaw

The calculation fails when Math.sqrt() should receive zero as parameter but the value is less than zero due to floating point math.
var p1 = {x:69, y:0,  r:69, z:0}
var p2 = {x:0,  y:50, r:50, z:0};
var p3 = {x:0,  y:80, r:80, z:0};

[...]

z = Math.sqrt(sqr(p1.r) - sqr(x) - sqr(y));:

sqr(p1.r): 4761
-sqr(x) - sqr(y): -4761.000000000017
sqr(p1.r) - sqr(x) - sqr(y): -0.000000000017
z: Math.sqrt(-0.000000000017)
therefore: z: NaN

See:
http://stackoverflow.com/questions/34056344/3d-trilateration-in-javascript
http://stackoverflow.com/questions/588004/is-floating-point-math-broken

Good morning - I am looking for a good forum to post questions regarding trilateration in python. I am an OSINT student who is learning to apply scripts to perform more advanced analyses. I am have trouble getting the script to work as it is returning large numbers that don't translate to coordinates. Can you tell a forum to get some info?


Add a carousel for adding more organizations

I'm submitting a
(Check one with "x" from given options)

[ ] Bug report
[x] Feature request

Current behavior

Expected behavior

"Who Uses EvalAI" organizations must be in a carousel format to add more organizations easily

Can I start working on this sir ?

Sure @sivakumarpalivela .

Please also check the activities in https://github.com/Cloud-CV/EvalAI-ngx/pull/105 and collaborate.


Add error message for obscure case with parameters.

Prior to this change, if a user omitted the length of an integer parameter and used that parameter as an argument to an operator or function, the compiler with throw an AttributeError instead of providing a useful message.
This is because the check that integer runtime parameters have an explicit size happened later than the function in expression_bounds.py that tried to use the size.
This change moves the check earlier (incidentally spliting check_constraints into check_constraints and
check_early_constraints), and also gives it a better error message.

Taking a look now!


Rocket spell can be used to clip through walls and floors

Hello,
The "Rocket" spell (you mount a rocket and fly a little before exploding) can be used to clip through walls and floors. This is particularly problematic on PvP servers, as players use this spell to enter protected bases.
Could it be possible to make the rocket explode, or the player to be dismounted, as soon as the rocket comes near a block ?
Thank you in advance, we would really need a fix or a workaround for this on our server.

I honestly probably won't get to that anytime soon. If you want to try to do it yourself, feel free, otherwise just disable that spell please.

To be clear, you could try to do it yourself but I suspect the speed of the rocket is going to make it basically impossible to prevent exploits like that. Best to just disable the spell.

Arg, I hopped there would be a way to make the spell detect the proximity of blocks and perform an action based on that, just like you did for the "Horse" spell which allowed players to clip through walls, you created a fix that prevent this spell from being fire when near blocks...
Okay we'll see what we can do on our end then.

You definitely could do that with tick actions and a Sphere + CheckBlock + Cancel, yes
But since the rocket itself and velocity are all vanilla, I honestly don't think you'll be able to guarantee anything, Minecraft physics is pretty crap.

... I mean otherwise you wouldn't have this problem in the first place, lol
But really is this an important spell for your server? I didn't even think it was in a path, it's such a secondary thing IMO, just a goofy and crappier version of fling ... it doesn't seem worth spending much time on, versus just turning it off if it's causing you problems?

We have a heavily modified version of your plugin. I spent over 300 hours modifying, adapting and creating spells derivated from yours, and this one is a new addition that we recently heavily advertised. We could take it back but that would really be a shame considering what we've build around that spell.
We'll rather try to find a fix, even a not perfect one, than removing it.

However even with all that time spent, I'm not very good with creating things from scratch. I really use and modify some bits of another spell to create one.
Would you care to tell me how you would do a "sphere / CheckBlock / Cancel" check in this spell ?

I can surely give it a try myself and see how it goes!

Thanks ! Keep me posted

To be clear- is the problem like with Horse, that they can clip by casting it right near a wall?
Or is it more like once they get to max speed they kind of just shoot straight through walls?

It is neither : it's actually when a player get dismounted near a block, especially near a ceiling, the player clips through it.
So a player that cast the spell inside a room that has a normal ceiling of 1 block, and air above, will pass through the ceiling and get on the outside of the room as soon as he is dismounted.

Theorically if the spell ends and dismounts the player BEFORE it hits the ceiling, the player should not be able to clip through it.

Ok, thanks
I think the main problem here is going to be how to detect that ceiling without it just straight cancelling the spell on cast ... guess need to ignore the ground and only look up?

I thought of that issue too when I suggested that fix. Two main possibilities in my opinion :
1- Make the check sphere center be located one block ABOVE the head of the player. So the check would only detect when a block is above the player, and not make a "false positive" when the player is on ground.
2- Make a very short delay (configurable) when the check and cancel is not applied. So when you would cast the spell, it would not try to detect block proximity at the very begining, for 0.5 second for instance, and then the "checking" would start. So the ground will be ignored.

Trying to reproduce this now- is the more to it than casting while under a ceiling? Do you have to mash shift at the exact right moment or something?

Easiest way to reproduce :
http://www.noelshack.com/2020-27-4-1593643174-2020-07-02-00-39-03.jpg
In that configuration, the player standing on blue block and aiming straight forward at red block will go through the big wall in front of him.
This is because he is dismounted while inside the angle between the wall and ceiling.

Sorry for the delay, I was away for a few days. Thank you for the fix, it works as intended ; of course it also often prevents the spell from working fully when casting it near a wall, but that's a deal I can work with.
Anyway thank you again for your time !


Main branding couldn't be loaded

... for<EMAIL_ADDRESS>Investigate what could've happened.

Related to this

I think a previous error when provisioning has occurred, that's possibly the case main_branding.blob is not set, we may call get_and_store_main_branding to create it again in e.g the dal method?

Closing because brandings are stored on cloudstorage


feat(scene_to_image_projector): init package

Description
Add scene_to_image_projector package
Related issue: https://github.com/autowarefoundation/autoware.universe/issues/2867

Related links

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

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

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

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

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

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

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

The projection of 3D bounding boxes was completed. Projection of the ego vehicle's trajectory will add.


The word 'is' is not a part of locale language files.

Referring to the language-files, some reply's contains the word 'is'.  But 'is' are not to be found in the locale language files.
This means, that 'is' will be a part of any language-file selected.
Eg.
!autostop =  Auto stop stream is disabled ('is' can't be changed, but should only be used in en.json)
!public = Public comands is enabled (Again 'is' - And you have a typo in this as well ... commands, not comands)
/Michael.

Hello Michael,
Looks like I forgot to remove the "is" part when checking the current status of the command.
I will remove that, thanks!

U welcome :)


Typescript type definitions improvements

Unfortunately it appears the current set of typescript definitions for the webpack plugin aren't compatible with webpack 5. I have tested a bunch of updates to the type definitions, but I don't think they're compatible with webpack 4.
With version 5, webpack have moved to bundling their own type definitions with the webpack package. From what I can tell, this means that trying to provide type definitions that support both versions at the same time is an intractable problem.
My personal inclination is that the way to go is to support only the new version, as everyone will need to upgrade eventually. I'm relatively new to this ecosystem however, so I don't know what the expected support timeline is for something like webpack. I'd appreciate the thoughts of the maintainers before I submit a pull request.

@mwgamble can you please share what package / version are you using and what error are you getting? Also, are you using a javascript or a typescript config file?
The webpack plugin typings are nor relying directly on webpack types, but is using a custom one as a Partial - https://github.com/relative-ci/bundle-stats/blob/e0141c411e1af42b2f456ec9a51809bd5fec8b6d/packages/webpack-plugin/typings.d.ts#L2.

I'm talking about my proposed updates to the typescript type definitions, not what is currently there. Sorry if I didn't make that clear in my original message.
I'm using the very latest version of the package (v2.3.0), and configuring webpack using a typescript file. The type definitions provided with this package did not work out of the box for me. The primary issue is the lack of an apply method in the type definition for the plugin class. There are a few secondary issues that I would like to improve upon as well.
I have already updated the relevant type definitions and am using them locally. I would like to share them with the world in the form of a PR to this repository, but they rely on webpack 5 and it isn't particularly feasible to include support for webpack 4. My question to the maintainers is: is support for webpack 4 important moving forward?

The type definitions provided with this package did not work out of the box for me. The primary issue is the lack of an apply method in the type definition for the plugin class. There are a few secondary issues that I would like to improve upon as well.
Yes, we are currently providing type definitions only for the plugin options...

I would like to share them with the world in the form of a PR to this repository, but they rely on webpack 5 and it isn't particularly feasible to include support for webpack 4.
A PR with support for webpack 5 typings will be really appreciated ;)

My question to the maintainers is: is support for webpack 4 important moving forward?
We are going to support both versions for a while, but it makes a lot of sense for the plugin to depend on webpack 5. For the users with webpack 4, we can provide instructions how to ignore the type check and / or release a major version.

Is there some updates? I mean, I have some errors inside typings.d.ts and that would be nice if you can help me to solve them :)

And yes, plugin typings are nor relying directly on webpack types what a little bit confusing.

@zelenkoff didn't manage to look into it yet, my plan is to handle it along with https://github.com/relative-ci/bundle-stats/issues/1029 soon.
Will help a lot if you can provide an example of your webpack.config.ts/tsconfig.json.

already fixed by https://github.com/relative-ci/bundle-stats/pull/1958


Docker image for github-changelog-generator version 1.15.2

Currently the latest docker image is 1.15.0 while the github-changelog-generator project is up to 1.15.2
I am looking forward to use some of the latest improvements/fixes through github actions, but the latest version is not released yet as docker image

Correct! We do have a PR opened by dependabot. Let me have a look at that...

Released the 1.15.2 tag. Docker hub wasn't picking up the latest changes for some reason :)


pull request for e2e test at 12/15/2016 12:26:19

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Bug]: Hidden columns sets to last on changing visible column index in Table widget

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we hide a column and interchange any visible columns index from widget, then the column list resets and push all hidden columns at last automatically?
what should be the expected behavior here.. ?

Steps To Reproduce

Add a table widget onto canvas
Hide a column from property pane
Interchange any columns by dragging a column from widget
Now enable the hidden column
Observe that the column shifts to last of the widget and also on property pane

Public Sample App
No response
Version
Cloud/ Production

Looks like there is an inconsistency. Whenever we re-arrange in the table widget and not via property pane it resets the order. Plus this only matters in edit mode, so keeping this in icebox for now.


pydantic model validator triggers N805: First argument of a method should be named self

Sorry to bother you guys with this again (#769), but there may be a regression here (or I'm too stupid  to find out what I'm doing wrong).
Reproduce:

create a new project with the current version of ruff (0.0.231 at the time of writing)
create a python file with a pydantic model with a validator
run ruff -n --select N805 n805.py

Contents of n805.py (which looks exactly like the test case):
import pydantic

class TestN805(pydantic.BaseModel):
    first: str
    second: str

    @pydantic.validator("first")
    def min_length(cls, value: str) -> str:
        pass

Result:
n805.py:9:20: N805 First argument of a method should be named `self`

No prob! Can you try adding this to your pyproject.toml?
[tool.ruff.pep8-naming]
# Allow Pydantic's `@validator` decorator to trigger class method treatment.
classmethod-decorators = ["classmethod", "pydantic.validator"]

There's an explanation here in the README.

(This tells Ruff that methods annotated with @pydantic.validator (or from pydantic import validator; @validator) should be considered class methods.)

Oh, so I have to tell ruff which methods are considered as class methods!
Thanks a lot for the quick reply! And for this insanely useful tool!

Awesome, glad it's working for you :)

Comming here from https://github.com/PyCQA/pep8-naming/issues/169
Couldn't get it to work with "validator" added to config, but "pydantic.validator", as suggested here, worked.


Must run twice to turn var to const

function() {
    var x = 0;
    return;
}

Running gts fix once gives:
function() {
    let x = 0;
    return;
}

Running gts fix again gives:
function() {
    const x = 0;
    return;
}

Should gts keep on applying tslint until the source file stops changing?

I am guessing that this can be reproduced with tslint alone – i.e. looks like a tslint issue. If so, could you open this upstream?


Epic: Non-disruptive proxy-scram deployments

Motivation
Now deployment are quite disruptive for two reasons:

proxy restart breaks connections
load balancer slowly picks up new pod so deployment causes down time about 2 minutes

with that it is hard to load big amounts of data into neon as that is usually long copy statements.
DoD
proxy deployment do not cause a disconnect
Implementation ideas
There were few ideas: https://neondb.slack.com/archives/C039YKBRZB4/p1673542471778869
@lassizci did some experiments and proved that AWS NLB can keep old connections, so we can use rolling update strategy and keep old proxy instances running for a long time to complete their connections (>=2h in the test).
Also with rolling deployment we'll have several simultaneously running proxy instances. That will be okay for proxy-scram, but proxy-link is blocked on https://github.com/neondatabase/cloud/issues/2573. Hence let's concentrate here on proxy-scram.
Tasks

[ ] Catch SIGTERM in proxy and exit when there are no active connections. Probably we can keep accepting new ones as  it would be up to NLB to stop sending new connections at some point.
[ ] Apply .spec.strategy.rollingUpdate.maxSurge: 3 , terminationGracePeriodSeconds: 60*60*24*7 to the yaml spec in https://github.com/neondatabase/helm-charts/blob/main/charts/neon-proxy/templates/deployment.yaml

Other related tasks and Epics

https://github.com/neondatabase/cloud/issues/2573

spec.strategy.rollingUpdate.maxSurge: 3 , terminationGracePeriodSeconds: 606024*7
surge doesn't actually matter that much. Could be just 100%, because Terminating ones don't count.

Catch SIGTERM in proxy and exit when there are no active connections.

Could perhaps use a different than default SIGTERM. This would avoid unnecessary flakiness e.g in test setups. And we probably want to have both, quick and graceful shutdowns. So maybe SIGQUIT instead.

Probably we can keep accepting new ones as it would be up to NLB to stop sending new connections at some point.

:+1: Thinking about this a bit more, we probably should explicitly keep accepting connections, as especially with kubernetes, there's no guarantee new connections wouldn't be sent to the pod once the signal is sent, due to asynchronous nature.
Also we might want to consider dedicating a signal for soft stop, as

I spent some time today and built a kind of PoC
https://github.com/vadim2404/reuseport

@vadim2404 this is done I think?

yes, it was shipped