Resizing window in Vulkan causes crash

SharpVulkan exception "Error Device Lost" happens on submission after resizing the game window. Likely due to an event where buffers are trying to be resized.

SharpVulkan.dll!SharpVulkan.Queue.Submit(uint submitCount, SharpVulkan.SubmitInfo* submits, SharpVulkan.Fence fence) Line 1608	C#
Xenko.Graphics.dll!Xenko.Graphics.GraphicsDevice.ExecuteCommandLists(int count, Xenko.Graphics.CompiledCommandList[] commandLists) Line 242	C#
Xenko.Rendering.dll!Xenko.Rendering.RenderSystem.Draw(Xenko.Rendering.RenderDrawContext renderDrawContext, Xenko.Rendering.RenderView renderView, Xenko.Rendering.RenderStage renderStage) Line 402	C#
Xenko.Rendering.dll!Xenko.Rendering.Shadows.ShadowMapRenderer.Draw(Xenko.Rendering.RenderDrawContext drawContext) Line 175	C#
Xenko.Engine.dll!Xenko.Rendering.Compositing.ForwardRenderer.DrawCore(Xenko.Rendering.RenderContext context, Xenko.Rendering.RenderDrawContext drawContext) Line 620	C#
Xenko.Rendering.dll!Xenko.Rendering.Compositing.SceneRendererBase.Draw(Xenko.Rendering.RenderDrawContext context) Line 39	C#
Xenko.Rendering.dll!Xenko.Rendering.Compositing.SceneRendererCollection.DrawCore(Xenko.Rendering.RenderContext context, Xenko.Rendering.RenderDrawContext drawContext) Line 28	C#
Xenko.Rendering.dll!Xenko.Rendering.Compositing.SceneRendererBase.Draw(Xenko.Rendering.RenderDrawContext context) Line 39	C#

This is likely the validation line where the problem is occurring:
Error:  [ VUID-VkFramebufferCreateInfo-pAttachments-00882 ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateFramebuffer(): VkFramebufferCreateInfo attachment #1 mip level 0 has dimensions smaller than the corresponding framebuffer dimensions. Here are the respective dimensions for attachment #1, framebuffer:
width: 1280, 1398
height: 720, 825
layerCount: 1, 1
The Vulkan spec states: Each element of pAttachments must have dimensions at least as large as the corresponding framebuffer dimension (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkFramebufferCreateInfo-pAttachments-00882) ([0] Validation)

In CommandList.cs, I don't think the new resized backbuffers are getting passed in ClearState().. I think the old backbuffers are being passed, which causes Vulkan to get lost. When newly resized buffers are created in ResizeBackBuffers() in Vulkan Swapchain, it needs to report back to CommandList or GraphicsDevice.Presenter the new backbuffer(s)... (theory)

Vulkan Swapchain needs a "        public override Texture BackBuffer => backBuffer;" kinda thing?

BackBuffer is already implemented. Backbuffers are getting passed to ClearState(). Still unsure of the root cause of this problem. Device is still "getting lost" shortly after buffers are resized.

Fixed with https://github.com/phr00t/xenko/commit/a8e750a9c89247ef9c0dd9dd43b2e7eb9caa602b


API: bot.findBlock fallback?

This is not really an issue but I noticed that a lot of examples use a simple function to find blocks around the player and I think it's a common requirement for bots, however Mineflayer has no built-in method for that.
Darthfett/mineflayer-blockFinder basically does the same thing and it's probably more flexible and efficient, but wouldn't it be better if there was a fallback method?
It would be really simple to implement and it would be used the same way, so it can be easily overridden by the blockFinder plugin without changing any code if the user wants a more efficient version of the same method, this would be specified in the documentation.
This would also simplify some of the examples by removing some duplicate code.
I've already made a method that behaves like that for one of my bots, so if it is a good idea I could submit a pull request.

Mineflayer should be the lowest API necessary to implement higher-level stuff. A block finder is fairly high-level and can be implemented without too much trouble with the methods mineflayer exposes. As such, it shouldn't be added in. If a user needs a blockFinder, he should use a mineflayer plugin to do it (or re-invent the wheel, which is what the examples do ^^).

I agree with @roblabla but maybe we should have one example (with its own package.json) including all the official mineflayer plugins and showing how to use them.

:+1: for having a complete example with tons of plugins. Make sure it has a thorough documentation so people understand the additional functions come from plugins :D

That's a good idea, just one more thing to consider though, are you sure there isn't a case when it would be useful to know the presence of a block nearby before/after performing certain actions?
I'm thinking of something like when you try to use a bed and there are mobs nearby and the client doesn't let you do that, of course mobs are entities and not blocks but you see what I mean..
In that case a reusable function would be useful, and we might as well expose it as part of the API

So in the end I added @Pietro210's simple findBlock function to blocks.js.
I agree we should not put too many things in mineflayer, but adding this function makes examples not repeat code again and again and it's only a few lines of code in blocks.js. I added a notice in the doc ( https://github.com/andrewrk/mineflayer/blob/master/doc/api.md#botfindblockoptions ) to prefer mineflayer-blockfinder plugin for more complicated uses.


Add PHP syntax highlighting for easier reading.

I've added the php directive to specify that it should be parsed as PHP. I think this would make it easier for people to read. I know it would for me.

thanks!

No problem. 😄


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2223 ms

Resolved: Bofrost.at performance has improved in 94a99cc.


Can't get stats from outside of the EC2

The image runs just great and the deployment is very easy.
But I couldn't succeed to get stats from outside of the EC2 I'm running the docker's on.
I tried to reconfigure statsd graphiteHost to <IP_ADDRESS> but it didn't help.
All the ports are open as they should, and the stats are working just fine when they arrive from the same EC2.
Any idea what could be wrong?
Thanks.

how are you doing the port mapping when starting your container? IIRC there are both private and public IP addresses in EC2, maybe you the container ports are only bound to the private IPs?

This is the docker run command I use to run the container:
docker run -d -v $(pwd)/logs:/var/log/supervisor -p 80:80 -p 8125:8125/udp -p 8126:8126 --name $CONTAINER_NAME kamon/grafana_graphite
I tried to use both the private and public IP.
I succeeded to communicate in and out of docker containers before, so I don't believe the IP or the security group is the issue here.
Perhaps I don't expose correctly the 8125 port in the docker command?
Thanks.

Ok fixed it.
Just for the record and for others:
To fix the issue I did the following:
I opened the ports in firewalld of the EC2 graphite host.
I opened the ports in the Inbound rules of the relevant Security groups.
I used the Private IP of the EC2, Public/Elastic IP didn't work.
And no need to play with any configurations of the repo.
Thanks!

awesome @edanshalom, thanks for sharing your solution!


Add 'getFieldOr' helper

Hi,
Thanks for this nice library!
I took the liberty of putting a small patch together. Let me know your thoughts.

This small helper is meant to handle the case where there's
a sensible default value for a potentially missing key.
Resolves #10

Codecov Report

Merging #14 (ca65967) into main (86b0e2c) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   57.72%   57.78%   +0.06%
==========================================
  Files           6        6
  Lines         693      694       +1
  Branches       19       19
==========================================
+ Hits          400      401       +1
  Misses        287      287
  Partials        6        6

Impacted Files
Coverage Δ

src/TOML/Decode.hs
50.25% <100.00%> (+0.25%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.

@rvarago can you fix formatting per ci?

Can you also update the changelog?

@brandonchinn178
Oops. I forgot to run fourmolu just before pushing the patch :see_no_evil:, sorry!
Sure. It's done, both.

Can you change the markdown bullet point back? I don't want to introduce a bad merge conflict for the other PR

Can you change the markdown bullet point back? I don't want to introduce a bad merge conflict for the other PR

Absolutely. It shouldn't be there in the first place, my editor might've re-written it and I didn't pre-review the patch properly before pushing it.
Done.

Thanks a ton!


[SPARK-33261][K8S] Add a developer API for custom feature steps

What changes were proposed in this pull request?
Add a developer API for custom driver & executor feature steps.
Why are the changes needed?
While we allow templates for the basis of pod creation, some deployments need more flexibility in how the pods are configured. This adds a developer API for custom deployments.
Does this PR introduce any user-facing change?
New developer API.
How was this patch tested?
Extended tests to verify custom step is applied when configured.

Test build #130463 has started for PR 30206 at commit 4838f42.

Test build #130463 has finished for PR 30206 at commit 4838f42.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait KubernetesFeatureConfigStep

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130463/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35069/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35069/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35069/
Test PASSed.

That's a great suggestion @dongjoon-hyun , I'll try and get that done today :)

Test build #130477 has started for PR 30206 at commit 09febce.

Test build #130477 has finished for PR 30206 at commit 09febce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130477/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35081/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35081/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35081/
Test PASSed.

a few other things is that SparkPod is private[spark] as well.
This I think opens it up for user to do anything with the Pod, correct me if I'm wrong, which is good and possibly bad.  Are there any security concerns here? Like seeing secrets they shouldn't be able to.  I can't think of any in the Spark ones directly but wanted to ask more expert in the k8s area.
I'm curious,  what sort of thing can't be done via templates?

So since we allow the user to specify templates anyways I don't see this as opening any additional security concerns. As for why templates are not enough, for some deployments I believe people want to be able to customize the pod at the end of the feature steps rather than at the start. I think also there are situations where we need to generate stuff based on pod name.

Let's open up SparkPod to an Experimental dev API. WDYT @tgravescs ?

yeah that seems fine to me to make SparkPod developer api

Since we have an agreement, could you resolve the conflict to proceed further, @holdenk ?

Thank you so much for your update, @holdenk !

is this targeted for 3.1?

@tgravescs . I believe so because this is a part of K8s GA in Apache Spark 3.1.

Please let us know if you have any concerns on this. We can postpone it to Apache Spark 3.2 if you want to do so.

Test build #132510 has started for PR 30206 at commit a66c00f.

Test build #132510 has finished for PR 30206 at commit a66c00f.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132510/

I think this could be part of 3.2 I don't think we need to block 3.1 on this. Although I'm ok with doing this in 3.1 too.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37112/

Test build #132511 has started for PR 30206 at commit af7061f.

Test build #132511 has finished for PR 30206 at commit af7061f.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

If you think so, no problem. Since the PR has been updated already with .version("3.2.0"), let's finalize it 3.2.0 then.

I think this could be part of 3.2 I don't think we need to block 3.1 on this. Although I'm ok with doing this in 3.1 too.

I moved SPARK-33261 out from the K8s GA umbrella issue.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132511/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37114/

Test build #132515 has started for PR 30206 at commit 874c091.

Test build #132515 has finished for PR 30206 at commit 874c091.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132515/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37117/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37117/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37117/

Seems fine otherwise

Test build #132537 has started for PR 30206 at commit c4e0316.

Test build #132537 has finished for PR 30206 at commit c4e0316.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132537/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37141/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37141/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37141/

Test build #132587 has started for PR 30206 at commit a87ad92.

Test build #132587 has finished for PR 30206 at commit a87ad92.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132587/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37192/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37192/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37192/

Test build #132592 has started for PR 30206 at commit 6f29448.

Test build #132592 has finished for PR 30206 at commit 6f29448.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132592/

Test build #132595 has started for PR 30206 at commit 743dedb.

Test build #132595 has finished for PR 30206 at commit 743dedb.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132595/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37200/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37197/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37200/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37200/

Test build #132632 has started for PR 30206 at commit 57a0822.

Test build #132632 has finished for PR 30206 at commit 57a0822.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132632/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37234/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37234/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37234/

Test build #132675 has started for PR 30206 at commit 963b786.

Test build #132675 has finished for PR 30206 at commit 963b786.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132675/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37278/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37278/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37278/

Test build #132679 has started for PR 30206 at commit e990f33.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37282/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37282/

Test build #132684 has started for PR 30206 at commit cfe5bc1.

Test build #132684 has finished for PR 30206 at commit cfe5bc1.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TestStepTwo extends KubernetesFeatureConfigStep

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132684/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37287/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37287/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37287/

Merging to the current dev branch for 3.2.


Implement additional query filter for joins

Depends on go-rel/rel#234

Should be ready to review now


Request was denied for security (net::ERR_INSECURE_RESPONSE)

Hi fellas.
I’m having a hard time to generate a functional .apk of my Ionic app. When Crosswalk is enabled I get this toast (Request was denied for security) and a error on all https calls (net::ERR_INSECURE_RESPONSE). Could somebody give me a hand here? Thanks, guys!
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="xxx.yyy" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>XXX.YYY</name>
    <description>xxx.yyy</description>
    <author email="xxx.yyy" href="xxx.yyy">xxx.yyy</author>
    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="mailto:*" />
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />
    <allow-navigation href="tel:*" />
    <allow-navigation href="mailto:*" />
    <platform name="android">
        <allow-intent href="market:*" />
		...
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
		...
	</platform>
    <preference name="orientation" value="default" />
    <preference name="ScrollEnabled" value="false" />
    <preference name="StatusBarStyle" value="default" />
    <preference name="android-minSdkVersion" value="16" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="FadeSplashScreenDuration" value="300" />
    <preference name="ShowSplashScreenSpinner" value="false" />
    <preference name="AutoHideSplashScreen" value="false" />
    <preference name="SplashScreenDelay" value="3000" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <engine name="android" spec="^6.2.3" />
    <engine name="ios" spec="^4.5.3" />
    <plugin name="cordova-plugin-device" spec="^1.1.6" />
    <plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
    <plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
    <plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
    <plugin name="cordova-plugin-ionic-webview" spec="^1.1.15" />
    <plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.2" />
    <plugin name="cordova-plugin-app-version" spec="^0.1.9" />
    <plugin name="mx.ferreyra.callnumber" spec="~0.0.2" />
    <plugin name="cordova-plugin-email-composer" spec="^0.8.11" />
    <plugin name="cordova-plugin-crosswalk-webview" spec="^2.3.0">
        <variable name="XWALK_VERSION" value="23+" />
        <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
        <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
        <variable name="XWALK_MODE" value="embedded" />
        <variable name="XWALK_MULTIPLEAPK" value="true" />
        <variable name="XWALK_HOSTS" value="http://*/,https://*/" />
    </plugin>
</widget>

package.json
{
  "name": "xxx.yyy",
  "version": "0.0.1",
  "description": "xxx.yyy",
  "scripts": {
	...
  },
  "dependencies": {
    "@angular/common": "5.0.0",
    "@angular/compiler": "5.0.0",
    "@angular/compiler-cli": "5.0.0",
    "@angular/core": "5.0.0",
    "@angular/forms": "5.0.0",
    "@angular/http": "5.0.0",
    "@angular/platform-browser": "5.0.0",
    "@angular/platform-browser-dynamic": "5.0.0",
    "@ionic-native/app-version": "^4.4.2",
    "@ionic-native/call-number": "^4.4.2",
    "@ionic-native/core": "^4.3.1",
    "@ionic-native/email-composer": "^4.4.2",
    "@ionic-native/in-app-browser": "^4.3.1",
    "@ionic-native/splash-screen": "^4.3.1",
    "@ionic-native/status-bar": "^4.3.1",
    "@ionic/storage": "2.1.3",
    "call-number": "^1.0.1",
    "chart.js": "^2.7.1",
    "cordova-android": "^6.2.3",
    "cordova-ios": "^4.5.3",
    "cordova-plugin-app-version": "^0.1.9",
    "cordova-plugin-crosswalk-webview": "^2.3.0",
    "cordova-plugin-device": "^1.1.6",
    "cordova-plugin-email-composer": "^0.8.11",
    "cordova-plugin-inappbrowser": "^1.7.1",
    "cordova-plugin-ionic-keyboard": "^2.0.2",
    "cordova-plugin-ionic-webview": "^1.1.15",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-statusbar": "^2.2.3",
    "cordova-plugin-whitelist": "^1.3.2",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "mx.ferreyra.callnumber": "~0.0.2",
    "ngx-pipes": "^2.0.5",
    "rxjs": "5.5.2",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.1.5",
    "typescript": "~2.4.2"
  },
  "config": {
    "ionic_aot_write_to_disk": true,
    "ionic_source_map": "source-map",
    "ionic_webpack": "./webpack.config.js"
  },
  "cordova": {
    "platforms": [
      "android",
      "ios"
    ],
    "plugins": {
      "cordova-plugin-device": {},
      "cordova-plugin-inappbrowser": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-app-version": {},
      "mx.ferreyra.callnumber": {},
      "cordova-plugin-email-composer": {},
      "cordova-plugin-crosswalk-webview": {
        "XWALK_VERSION": "23+",
        "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
        "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
        "XWALK_MODE": "embedded",
        "XWALK_MULTIPLEAPK": "true",
        "XWALK_HOSTS": [
          "http://*/",
          "https://*/"
        ]
      }
    }
  }
}

Same issue, I'll try to clone the v18 branch and modify the CertRequest code to make it work with cordova-plugin-crosswalk-certificate

I had an issue where Crosswalk threw net::ERR_INSECURE_RESPONSE for specific HTTPS resources. It did not do it for all of them, though - https://www.google.com worked fine, for instance.
When I pointed https://www.ssllabs.com/ssltest/analyze.html at the failing server, I learned that we were publishing an incomplete certificate chain. The cert validated fine in browsers and most other user agents, but not in Crosswalk (or my install of HTTPie).
Judging by Bluefox's comments in this Crosswalk issue, I'm not the first person to have this issue with Let's Encrypt certificates.
Our sysadmin fixed the issue by putting the full certificate chain in place, and now everything's working fine.
There are a host of ways HTTPS cert validation can fail, but in practice if you see this issue I'd suggest:

Check whether major certs work in your app (e.g. www.google.com)
using a validation tool on domains that are failing to see why they might be getting rejected.

This may not be the issue others in this thread have encountered, but I thought it was worth sharing the knowledge in case it helps someone else.

I've solved the issue by replacing the certificate I was pointing to. The foloowing tool helped me to see that the problem was probably within the certificate.
https://www.digicert.com/help/


discord doc & UA property for CloudFlare

Discord has support of slack webhooks on path {WEBHOOK_URL}/slack, but plugin got error because user-agent  like Java/* rejects by CloudFlare (discord frontend).
This PR sets UA for request and extends doc for Discord usage.

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

No plans to support Discord at the moment, but will take this into consideration for the next major release.


Add Motion Detection / Line Crossing Detection for Hikvision

Is your feature request related to a problem? Please describe:
Hikvision Cameras have a HTTP CGI interface that streams human readable information from the camera. This includes Motion Detection and Line Crossing Events. Getting these into Homebridge and this plugin is currently quite difficult.
Describe the solution you'd like:
The plugin should make a long-lived http connection to /ISAPI/Event/notification/alertStream on the camera and string pattern match for a configurable string (default "linedetection") then trigger the plugin's motion detection accessory.
Describe alternatives you've considered:
Currently using hikvision-to-mqtt and mqttthing but it's very circuitous and requires some customisation.
Additional context:
This would be a much cleaner way for supported cameras than the current motion detection workaround.

It’s a neat feature, hope it can be merged

no appetite for this? or just no developers


Add Ask block for portal pages

Adds a series of blocks that can be used to pull content directly from Ask answers when building out main sections (The basics, Key terms, Common issues, Know your rights, How to guides) on Consumer Tools portal pages.
Additions

Ask block on sublanding page
Components of Ask block, including AskLinkItem, AskTextItem, LinkItem, and TextItem blocks
Customized version of HeadingLevelBlock, as AskHeadingLevelBlock
Simplified version of HeadingBlock, as AskHeadingBlock
Templates for Ask block, LinkItem, and TextItem

Testing

Check out branch and run migration
Add a new sublanding page
Add an Ask block to new sublanding page's Content section
Test using the three Ask block column types to replicate sections of the Auto Loans portal page
Use the Ask text column to replicate the first 2 items in The Basics section:

The text item option can be used for the first link in the section, which is to a non-Ask page.
The ask item option can be used for the second link, which is to an Ask question. If a valid id for an Ask question is entered in the answer id field, the heading value will automatically be pulled from the Ask question's statement field (this field is probably currently blank). The heading can be overridden by entering content in the optional heading field.

Use the Ask link column to replicate the Common issuessection:

Use the Ask item option to replicate the first link in this section. If a valid Ask answer id is entered, the statement field on the Ask answer will supply the link text value. It can be overridden by entering a value in the optional link text field
Add a new test link using the link item option

Use the Info unit column to replicate the Submit a complaint section

Screenshots
Ask block on sublanding page

Ask block

Ask link column

Ask item and link item in Ask link column

Ask text column

Ask item in Ask text column

Text item in Ask text column

Info unit column

Notes

The original request was for a simplified page type that could be used to replicate the existing Consumer Tools portal pages by users without extensive Wagtail experience & for a way to pull content directly from fields on Ask answers into sections (The basics, Common issues, etc) on the portal pages. In order to maintain the flexibility of the existing portal pages, this solution adds a simplified Ask block to the sublanding page type that can be used to build the relevant page sections and that pulls content automatically from the statement field on Ask answers.
Some of the features in the Ask block are intended to support the Student Loans portal page, which repeats each of the Ask-focused sections (The basics, Common issues, etc) once for Getting student loans and again for Repaying student loans.

The intro field makes a second block-level heading possible in an Ask block
The anchor link field enables linking to an Ask block
The Text item block's Heading level options include bold for situations where there are already H2, H3, and H4 section-level headings

Todos

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[ ] iOS Safari
[ ] Chrome for Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

Would you mind generating some screenshots of what the blocks look like when rendered?
Is there any design documentation, issues, etc. (internal or otherwise) related to this change?

@chosak We're temporarily putting a hold on this, but I'll add more background & output screenshots when/if the hold is removed. Thanks!


add CWE-770 experimental query for detection of DoS

Following the @xcorail message , please find this PR that adds an experimental and incomplete query for detecting a specific kind of denial of service.
Regards,
@sim4n6

@Sim4n6 Thanks!
@pwntester Could you have a look at this regarding the file names?
I think the files and should generally not just be named DoS, but maybe LoopDoS (or if anyone has a better name 😁 ) and the query id then githubsecuritylab/loop-dos respectively. Additionally, the example files (if we want to keep them) should best be prefixed with the name of the query. So maybe LoopDoS-good.rb. ?

hey @p-,
Thanks well noticed regarding the naming convention (DoS is definitely wrong). What else could have been improved, please?
regards
@Sim4n6

@Sim4n6 I've saw that you made one change in the QHelp file, have you also seen this comment? - just asking in case you didn't 🙈

Sorry I forget about this one, I'm gonna fix that today

I get this error when I try to run the tests ...
Executing 1 tests in 1 directories.
Extracting test database in /CodeQL-Community-Packs/ruby/test/security/CWE-770.
Compiling queries in /CodeQL-Community-Packs/ruby/test/security/CWE-770.

ERROR: Pack<EMAIL_ADDRESS>was not found in the pack download cache. Run 'codeql pack install' to download the dependencies. (/CodeQL-Community-Packs/ruby/src/qlpack.yml:1,1-1)

ERROR: No valid pack solution found:
Because 'githubsecuritylab/codeql-ruby-queries' depends on 'codeql/ruby-all@*', but pack 'codeql/ruby-all' was not found, version solving failed.

running codeql pack install yield Already installed ? any help on this one ?

@p-  keep me posted on this one ;-)

Done 👍🏾

Now we have these failed tests:
Executing tests in /home/runner/work/CodeQL-Community-Packs/CodeQL-Community-Packs/ruby/test/security/CWE-770.
--- expected
+++ actual
@@ -1,9 +1,9 @@
 edges
-| UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | UserControlledMaxIterations__bad.rb:11:7:11:11 | limit |
-| UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | UserControlledMaxIterations__bad.rb:16:7:16:11 | limit |
-| UserControlledMaxIterations__bad.rb:3:15:3:20 | call to params | UserControlledMaxIterations__bad.rb:3:15:3:28 | ...[...] |
-| UserControlledMaxIterations__bad.rb:3:15:3:28 | ...[...] | UserControlledMaxIterations__bad.rb:3:15:3:[33](https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/actions/runs/9368391526/job/25790465997#step:7:34) | call to to_i |
-| UserControlledMaxIterations__bad.rb:3:15:3:33 | call to to_i | UserControlledMaxIterations__bad.rb:3:7:3:11 | limit |
+| UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | UserControlledMaxIterations__bad.rb:11:7:11:11 | limit | provenance |  |
+| UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | UserControlledMaxIterations__bad.rb:16:7:16:11 | limit | provenance |  |
+| UserControlledMaxIterations__bad.rb:3:15:3:20 | call to params | UserControlledMaxIterations__bad.rb:3:15:3:28 | ...[...] | provenance |  |
+| UserControlledMaxIterations__bad.rb:3:15:3:28 | ...[...] | UserControlledMaxIterations__bad.rb:3:15:3:33 | call to to_i | provenance |  |
+| UserControlledMaxIterations__bad.rb:3:15:3:33 | call to to_i | UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | provenance |  |
 nodes
 | UserControlledMaxIterations__bad.rb:3:7:3:11 | limit | semmle.label | limit |
 | UserControlledMaxIterations__bad.rb:3:15:3:20 | call to params | semmle.label | call to params |
[1/1 comp 1m17s eval 2.3s] FAILED(RESULT) /home/runner/work/CodeQL-Community-Packs/CodeQL-Community-Packs/ruby/test/security/CWE-770/UserControlledMaxIterations.qlref
Completed in 1m22s (extract 2.3s comp 1m17s eval 2.3s).
0 tests passed; 1 tests failed:
  FAILED: /home/runner/work/CodeQL-Community-Packs/CodeQL-Community-Packs/ruby/test/security/CWE-770/UserControlledMaxIterations.qlref

Is it possible that you ran these with an older CodeQL version? (Probably easiest to replace the old edges lines with the new ones and run again.

A strange behavior, I updated Codeql cli from 1.17.1 to 1.17.4. The fix is manually added in the commit https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/55/commits/757cf0512bf1bb00b965e6d98013467c606745d0


Refactor

Got some quick code reviews after having finished the level parsing in this weekly Rust thread on Reddit. Try to implement some of this and use slices, ditch the Cursor and the ghetto function with a Reader trait (?) that I made.

Started writing some of this on the refactor branch.
Was mostly smooth sailing, until I got to the crypt_top10 function, where after asking for help in #rust-beginners I realized I'd have to use as_mut_slice() throughout the whole parse method. Which is now giving me trouble in the foor loop for the pictures, as I can't use split_at_mut() inside it. I think? Now in hindsight, it might be worthwhile to make the crypt_top10 function not mutate the actual raw binary data like I'm doing now, and instead leave it in place and do something like to_vec() on it and just return a Vec, or a slice from that... Seeing as the raw field will be overwritten after making any edits to a level and saving it anyway, there is no value to having the decrypted data there.Ugh who knows.

Fixed with #3


Ping container versions

Fixes #116.

@nandotess Can you please code review this changeset and validate the fix?

This functioned correctly for both me and Dipesh.


Could you provide a tutorial for manually downloading the BLIP models?

he two model boxes in the node cannot be freely selected; only Salesforce/blip-image-captioning-base and another Salesforce/blip-vqa-base are available. Due to network issues, the HUG download always fails. Could you provide a tutorial for manually downloading the BLIP models? Which directory should I download these two models to?

HF uses cache objects at the location, so I am not sure if it's possible. And since you can't download with HF you also probably would fail to clone the repos, so not sure how to help you. The repos exist like:

So you could if you really wanted to download every file one at a time from the site and put in folder named accordingly in the same folder structure of the repo.


Only fire the dropdown after search

I'm attempting to use this to mimic more of a typeahead component and was wondering if there's a way to delay the opening of the dropdown until two characters have been searched for. If not, understood--I can use another plugin. Thanks.

Not right now. Could be possible with v3, once it ships...

Enhancement?


Workflow for auto releasing on GH

Continuing on #283 I suggest to add a workflow for auto releasing on GitHub. This can be done by using the action gh-release. One can configure it, so that it auto generates the release notes as well (Same outcome as using the button from the web GUI).
I marked this as draft for two reasons:

Need to discuss if combine this into the existing workflow .github/workflows/deploy.yml
The job in this PR filters the tag, as linopy uses v*.*.* as the tag for releases and you don't want to make a release for every tag. Need to discuss if adding this filter to the .github/workflows/deploy.yml as well.

Checks failed due to codecov, same problem as in #290


Support new CMake build system

Summary of changes:

Update RBM to latest version (adb7dcabb13b4345d2c4a9a1ef229105cf0215b9)
Update CMake from 3.15.3 -> 3.16.0 (Later versions willl not work)
Added patch for CMake's FindOpenSSL module to fix flawed behaviour on i386
windows builds
Added patch for CMake's windres selection, as it did not respect the
toolchain prefix (such as, i686-w64-mingw32-)
Update container image config to allow release info change since the
repository in use has changed from stable -> old-stable
GCC now exports CC and CXX env vars
macosx-toolchain exports OSX_(CXX|AR|RANLIB). These cannot be exported as
(CXX|AR|RANLIB) as it interferes with the build of protoc... somehow
Update OpenSSL to 1.1.1l
Update Proto(c|buf) to 3.19.1.
Protobuf now builds with cmake to work with tego's new CMake build system
Added patch for QT's detection of OpenGL frameworks on OS X. Note, this
patch completely remove's QT adding OpenGL flags at compile time, which
works in our case but may fall apart in the event we need to build another
project that relies on OpenGL on OS X, but this seems unlikely.
Update tego to use CMake build system

NB: This won't build until https://github.com/blueprint-freespeech/ricochet-refresh/pull/135 is merged

Squashed and pushed to master as 1b374662c44bbdb06de547cb4df4796ccfacd028


Fixed day label cells generation on calendar header

Day labels in calendar header now respect moment dow locale setting.
Updated default moment settings accordingly, weekdaysMin array should always start with Sunday.

You can test the wrong behavior using a locale different than "en" with a dow setting different than "0".
Below is an attached screenshot using Italian locale for reference:

You can notice that 06/04/2017 is wrongly reported as Wednesday ("me") instead of Thursday ("gi").

@dubert Any feedback? Can you merge this?

@abarani this was caused by another problem (not setting the locale properly). I just fixed it and will be pushing a new release shortly. In order to get your desired outcome simply pass these props:
<Kronos
    {...props}
    options={ locale: {
          lang: 'it',
          settings: {
            week: { dow: 0 },
          },
        }
    }
/>

it is bad solution.
The weekdaysMin parameter in the moment must begin with "Sunday"
You break moment.
@abarani is right.


feat: create Azure flavor

Description of the change
Create a flavor of the image that contains the azcli. This will be useful for stacks that want to use ansible and need Azure credentials - i.e. connecting to AKS with kubelogin requires the Azure CLI.
Type of change

[ ] Bug fix (non-breaking change that fixes an issue);
[X] New feature (non-breaking change that adds functionality);
[ ] Breaking change (fix or feature that would cause existing functionality not to work as expected);
[ ] Other (miscellaneous, GitHub workflow changes, changes to the PR template);

Checklists
Development

[ ] Parts of this pull request impacting core (user-facing, documented) product functionality have test coverage;

Code review

[x] This pull request has a descriptive title and sufficient context for a reviewer. There may be a screenshot or screencast attached;
[x] This pull request is no longer a draft;
[x] You have reviewed this Pull Request yourself;

Closing in favor of #21
@gustavlasko Can you try it with one of the following images, and let us know if it works for you?
public.ecr.aws/spacelift/runner-ansible:10-azure
# You can also use a tag pointing to a minor version if you want better control
public.ecr.aws/spacelift/runner-ansible:10.1-azure

Also, bear in mind that this is still a work in progress, so please do not use this image for production yet 🙏🏻

Thanks, we're rolling now with the Azure/Ansible image that you released.


QWeb library import fails on Ubuntu (20.04.5 LTS) due to Pynput

Describe the bug
Python (3.8.12) import of QWeb (2.0.4) fails on Ubuntu (20.04.5 LTS)
To Reproduce
Steps to reproduce the behavior:

On Ubuntu (20.04.5 LTS) open terminal and start python console
Import QWeb
See below error

[ WARN ] Cannot import pynput.keyboard, no display detected
| [ ERROR ] Error in file '/workdir/resources/UI_Common.resource' on line 2: Importing library 'QWeb' failed: ImportError: this platform is not supported: ('failed to acquire X connection: Bad display name ""', DisplayNameError(''))
  |
  | Try one of the following resolutions:
  |
  | * Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
  | Traceback (most recent call last):
  | File "/usr/local/lib/python3.8/site-packages/QWeb/init.py", line 26, in
  | from QWeb.keywords import (alert, browser, window, frame, element, text, checkbox, input_,
  | File "/usr/local/lib/python3.8/site-packages/QWeb/keywords/text.py", line 27, in
  | from pynput.keyboard import Controller
  | File "/usr/local/lib/python3.8/site-packages/pynput/init.py", line 40, in
  | from . import keyboard
  | File "/usr/local/lib/python3.8/site-packages/pynput/keyboard/init.py", line 31, in
  | backend = backend(name)
  | File "/usr/local/lib/python3.8/site-packages/pynput/_util/init.py", line 76, in backend
  | raise ImportError('this platform is not supported: {}'.format(
  | PYTHONPATH:
  | /workdir
  | /usr/local/lib/python38.zip
  | /usr/local/lib/python3.8
  | /usr/local/lib/python3.8/lib-dynload
  | /usr/local/lib/python3.8/site-packages
Expected behavior
Python should be able to import QWeb module
Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Browser chrome (headless) 106.0.5249.61/chromedriver_linux64/chromedriver
Version - 20.04.5 LTS

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Python: 3.8.12

Additional context
The exception is caused by Pynput module on Ubuntu

hi, thanks for the bug report. We do have linux in our acceptance tests. They used to be run on Ubuntu 20.04 but currently it's using 22.04 already. In any case we have not seen this. Can you tell a bit more about your environment / configuration? The "no display detected" message is interesting and probably meaningful.

X server needs to be running and it seems like it's not. If you look at our headless acceptance tests, you will find we do something like this for example:
DISPLAY: :88
...
sudo apt-get install matchbox scrot
Xvfb $DISPLAY -screen 0 1920x1080x24 & sleep 1
matchbox-window-manager -use_titlebar no &

Thanks @tkoukkari. Steps in your last comment fixed the issue for me.

Great!
Tuomas


Add support to extract links and symlinks

This solves the chroot problem of not being able to chroot to the inspected image and also adds chroot-ing to that image for extra security. LGTM :+1:


How can I create a static PVs?

What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.]
This yaml file create pv but not lv on my disk
apiVersion: v1
kind: PersistentVolume
metadata:
  name: test-pv
spec:
  capacity:
    storage: 5Gi
  volumeMode: Filesystem
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: openebs-lvmpv
  csi:
    driver: local.csi.openebs.io
    volumeHandle: test-pv

What did you expect to happen:
$ sudo lvscan
ACTIVE  'dev/vg01/test-pv' [5.00 Gib] inherit

Environment:

LVM Driver version: I don't know, maybe lastest.
Kubernetes version (use kubectl version): 1.26.3
Kubernetes installer & version: microk8s 1.26
OS (e.g. from /etc/os-release): ubuntu server 22.04.02

@cdevacc1 Thanks for reporting the issue. Did LVMVolume object got created? Can you share lvm volume controller log for this?

Hello,
Im have the same issue. I'm trying to create a PV, but whatever I do, the controller ignore it, and does not create matching LVMVolume objet.
I tried to replicate a PV generated by the controller from a PVC like this:
apiVersion: v1
kind: PersistentVolume
metadata:
  name: test-pv
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 5Gi
  csi:
    driver: local.csi.openebs.io
    fsType: ext4
    volumeAttributes:
      openebs.io/cas-type: localpv-lvm
      openebs.io/volgroup: localpv
    volumeHandle: test-pv
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: openebs.io/nodename
          operator: In
          values:
          - worker-2.cluster
  persistentVolumeReclaimPolicy: Delete
  storageClassName: localpv-delete
  volumeMode: Filesystem

When creating the PV, I only get this log from the controller:
I0331 14:39:28.757229       1 controller.go:1151] handleProtectionFinalizer Volume : &PersistentVolume{ObjectMeta:{test-pv    62065ecd-4ba4-4be7-a949-f21c49b2f30d 330330598 0 2024-03-31 14:39:28 +0000 UTC <nil> <nil> map[] map[] [] [kubernetes.io/pv-protection] [{kubectl Apply v1 2024-03-31 14:39:28 +0000 UTC FieldsV1 {"f:spec":{"f:accessModes":{},"f:capacity":{"f:storage":{}},"f:csi":{"f:driver":{},"f:fsType":{},"f:volumeAttributes":{"f:openebs.io/cas-type":{},"f:openebs.io/volgroup":{}},"f:volumeHandle":{}},"f:nodeAffinity":{"f:required":{}},"f:persistentVolumeReclaimPolicy":{},"f:storageClassName":{},"f:volumeMode":{}}} }]},Spec:PersistentVolumeSpec{Capacity:ResourceList{storage: {{5368709120 0} {<nil>} 5Gi BinarySI},},PersistentVolumeSource:PersistentVolumeSource{GCEPersistentDisk:nil,AWSElasticBlockStore:nil,HostPath:nil,Glusterfs:nil,NFS:nil,RBD:nil,ISCSI:nil,Cinder:nil,CephFS:nil,FC:nil,Flocker:nil,FlexVolume:nil,AzureFile:nil,VsphereVolume:nil,Quobyte:nil,AzureDisk:nil,PhotonPersistentDisk:nil,PortworxVolume:nil,ScaleIO:nil,Local:nil,StorageOS:nil,CSI:&CSIPersistentVolumeSource{Driver:local.csi.openebs.io,VolumeHandle:test-pv,ReadOnly:false,FSType:ext4,VolumeAttributes:map[string]string{openebs.io/cas-type: localpv-lvm,openebs.io/volgroup: localpv,},ControllerPublishSecretRef:nil,NodeStageSecretRef:nil,NodePublishSecretRef:nil,ControllerExpandSecretRef:nil,NodeExpandSecretRef:nil,},},AccessModes:[ReadWriteOnce],ClaimRef:nil,PersistentVolumeReclaimPolicy:Delete,StorageClassName:localpv-delete,MountOptions:[],VolumeMode:*Filesystem,NodeAffinity:&VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[]NodeSelectorTerm{NodeSelectorTerm{MatchExpressions:[]NodeSelectorRequirement{NodeSelectorRequirement{Key:openebs.io/nodename,Operator:In,Values:[worker-2.cluster],},},MatchFields:[]NodeSelectorRequirement{},},},},},},Status:PersistentVolumeStatus{Phase:Pending,Message:,Reason:,},}
I0331 14:39:28.766192       1 controller.go:1151] handleProtectionFinalizer Volume : &PersistentVolume{ObjectMeta:{test-pv    62065ecd-4ba4-4be7-a949-f21c49b2f30d 330330600 0 2024-03-31 14:39:28 +0000 UTC <nil> <nil> map[] map[] [] [kubernetes.io/pv-protection] [{kubectl Apply v1 2024-03-31 14:39:28 +0000 UTC FieldsV1 {"f:spec":{"f:accessModes":{},"f:capacity":{"f:storage":{}},"f:csi":{"f:driver":{},"f:fsType":{},"f:volumeAttributes":{"f:openebs.io/cas-type":{},"f:openebs.io/volgroup":{}},"f:volumeHandle":{}},"f:nodeAffinity":{"f:required":{}},"f:persistentVolumeReclaimPolicy":{},"f:storageClassName":{},"f:volumeMode":{}}} } {kube-controller-manager Update v1 2024-03-31 14:39:28 +0000 UTC FieldsV1 {"f:status":{"f:phase":{}}} status}]},Spec:PersistentVolumeSpec{Capacity:ResourceList{storage: {{5368709120 0} {<nil>} 5Gi BinarySI},},PersistentVolumeSource:PersistentVolumeSource{GCEPersistentDisk:nil,AWSElasticBlockStore:nil,HostPath:nil,Glusterfs:nil,NFS:nil,RBD:nil,ISCSI:nil,Cinder:nil,CephFS:nil,FC:nil,Flocker:nil,FlexVolume:nil,AzureFile:nil,VsphereVolume:nil,Quobyte:nil,AzureDisk:nil,PhotonPersistentDisk:nil,PortworxVolume:nil,ScaleIO:nil,Local:nil,StorageOS:nil,CSI:&CSIPersistentVolumeSource{Driver:local.csi.openebs.io,VolumeHandle:test-pv,ReadOnly:false,FSType:ext4,VolumeAttributes:map[string]string{openebs.io/cas-type: localpv-lvm,openebs.io/volgroup: localpv,},ControllerPublishSecretRef:nil,NodeStageSecretRef:nil,NodePublishSecretRef:nil,ControllerExpandSecretRef:nil,NodeExpandSecretRef:nil,},},AccessModes:[ReadWriteOnce],ClaimRef:nil,PersistentVolumeReclaimPolicy:Delete,StorageClassName:localpv-delete,MountOptions:[],VolumeMode:*Filesystem,NodeAffinity:&VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[]NodeSelectorTerm{NodeSelectorTerm{MatchExpressions:[]NodeSelectorRequirement{NodeSelectorRequirement{Key:openebs.io/nodename,Operator:In,Values:[worker-2.cluster],},},MatchFields:[]NodeSelectorRequirement{},},},},},},Status:PersistentVolumeStatus{Phase:Available,Message:,Reason:,},}

After reading the CSI spec, I now understand this is not how it is supposed to work.
The CSI CreateVolume API is only invoked for PVC, and Static PV expects that the underlying storage (the LVM volume in the host in that case) is manually provisioned.

We've just coded the LVM Dynamic auto-provisioning feature for Mayatsor, and enabled it as an experimental feature.
That code now auto-provisioning all LVM entities (PV, VG and LVM) and the Filesystem.  - There is no need for manual provisioning.
The code is currently being tested as part of Mayastor as an evolution of our DiskGroup. You can now have SPDK or LVM backend managed storage.
Now that we have all that auto-provisioning logic coded, our plan is to roll that out to the LVM-LocalPV Data-Engine also.
Our user experience strategy is that the user will never need to manually interact with LVM at all.
note: The current code doesn't allow RAIDed LV's yet. That's definitely
coming next. (we're also enable it the same Dynamic auto-provisioning for ZFS-LocalPV too.
Hope this helps.

As mentioned in earlier comment rom Jean, the LVM localPV provisioner is a dynamic provisioner. This means that the PV creation is executed as part of PVC creation and binding. The resulting PV may be immediately created or upon first consumer/application trying to use the PVC, depending upon volume binding policy.
I am closing this issue, please let us know if any further questions w.r.t this.


Added free_text field

Hi Jannis,
First thank you for the django-robots.
I have added one more field free_text for non-standard rules. This allows me to add host key to my robots.txt as Yandex.ru suggests.
If you consider it useful please review and accept my changes.

Please, put a example :D :+1:

@SalahAdDin here is an example of non-standard directives
User-agent: Yandex
Allow: /
Crawl-delay: 10.0
Clean-param: sessionid /
host: example.com

Wow, awesome :D

I'm sorry but this is a non-standard feature and I can't support it. I think you could overwrite the model used by the app right now this is a no-go in the form of the PR.


how to switch all media and SKU

Hi,
 Please help me in switch sku with all media.

Thanks.

@HanuGupta That's not possible with this extension, and is not in the scope of the extension.


Unnecessary requires emitted in ES6 mode for React components

For the following Rescript file:
let rootRefContext: React.Context.t(React.ref(Js.Nullable.t(Dom.element))) =
  React.createContext(React.{current: Js.Nullable.null});

module GlobalPortal = {
<EMAIL_ADDRESS>  let make = (~children: React.element) => {
    let rootRef = React.useContext(rootRefContext);
    switch (rootRef.current->Js.Nullable.toOption) {
    | None => React.null
    | Some(rootRef) => ReactDOM.createPortal(children, rootRef)
    };
  };
};

<EMAIL_ADDRESS>"GlobalPortal"]
let globalPortal = GlobalPortal.make;

The generated typescript is as follows
/* TypeScript file generated from LayerContext.re by genType. */
/* eslint-disable import/first */

import * as React from 'react';

// tslint:disable-next-line:no-var-requires
const LayerContextBS = require('./LayerContext.bs');

// tslint:disable-next-line:interface-over-type-literal
export type GlobalPortal_Props = { readonly children: React.ReactNode };

export const GlobalPortal: React.ComponentType<{ readonly children: React.ReactNode }> = LayerContextBS.globalPortal;

It seems like the usage of require is unnecessary in this case.

It seems like an issue with typescript. It can be also observed here:
https://github.com/rescript-association/genType/blob/71ff3c0030b7314c0de84527501332787982b749/examples/typescript-react-re-example/src/EmitModuleIfNoConversion.gen.tsx#L8
Generated flow files seem correct.

The logic is here and I cannot understand why it's the case.
https://github.com/rescript-association/genType/blob/7ce3ff130dd56a57b61ce3f1fda83642b935d079/src/EmitType.re#L681


API cleanup: ViewportController folded into DeckGL

Closing based on feedback. Better keep ViewportController as deprecated and focus on integrating new controllers.


fix typo and remove unintentional(?) word

Description:
Fix typo and remove description:  as it does not match the format of the surrounding text
Related issue:
N/A
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

Hi, @CyberFlameGO 👋 Thanks for the PR, I fixed another one typo in the README.md file and pushed it into the PR branch.

I swear to go if you don't stop sending me emails I'll get  lawyer.  I've unsubscibed more times than I can count
On Wed, Jul 26, 2023, 7:16 PM CyberFlame @.***> wrote:

Description:
Fix typo and remove description: as it does not match the format of the
surrounding text
Related issue:
N/A
Check list:

Mark if documentation changes are required.
Mark if tests were added or updated to cover the changes.

You can view, comment on, or merge this pull request online at:
https://github.com/actions/setup-java/pull/518
Commit Summary

1857c05
https://github.com/actions/setup-java/pull/518/commits/1857c056154c89668d659faede05f9478537cc8a
fix typo and remove unintentional(?) word

File Changes
(1 file https://github.com/actions/setup-java/pull/518/files)

M README.md
https://github.com/actions/setup-java/pull/518/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(6)

Patch Links:

https://github.com/actions/setup-java/pull/518.patch
https://github.com/actions/setup-java/pull/518.diff

—
Reply to this email directly, view it on GitHub
https://github.com/actions/setup-java/pull/518, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKWXJL27PL4QAANYEV4HVLTXSHFPNANCNFSM6AAAAAA2ZMZ7LU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Bookmarks don't draw

Godot version
4.1 dev4
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
https://github.com/godotengine/godot/assets/2223172/fe382ae2-04bb-4efa-b666-9e94ebb56a9c
Steps to reproduce
1. Go to Script Editor
2. Toggle bookmark (Go To -> Toggle Bookmark)
3. It's not visible
Minimal reproduction project
N/A

From #66763 or unrelated?

🤦♂
Bookmarks don't draw by default and that PR removed a code that enables the gutter.

That's what I assumed, was trying to dig into if it was by default


Web api

Trying to make a websocket endpoint.

Audio is played back all at once. We need client-side buffers!

Everything works. Multiple websockets also work thanks to fastapi ig. Need to figure out how to do the wait call.

Also need to figure out chunk sizes and sample rate etc.

How do I wait tho? Something sent back from the client? Time it out?

Runs on ngrok pretty fine. Probably needs refactoring. Next steps would be to improve the web ui and packaging the client-side code.


Identify the key requirements of our app to test E2E

Requirements, user stories, flows, functional requirements, whatever you wanna call it. List all of them.
Rule of thumb: if we make sure those requirements are met, the users of the app should be able to fully do all of the 5 features that we listed
Artifacts:

A list of requirements

Here is a list of user stories and their sub-stories that could be translated into meaningful E2E tests
Audio listening

Ability to look through the podcasts and their episodes
Ability to listen the episode without pausing when leaving the page
Ability to scrub the audio, pause, go 10 seconds back and forward in time, increase and decrease the audio speed
Ability to read the audio transcript

Authentication

Ability to Log In using GitHub
Synchronisation of listening history and episode likes with the account, so the data is persistent on different users' devices
Ability to Log Out

Audio download and offline listening

Ability to download the episodes when online
Ability to listen to downloaded episodes when offline

Episode likes

Ability to like an episode and see it in the personal gallery
Ability to remove the like from an episode
Liked episodes are persistent in users' browser if they are not authorized

Keeping the list of recently played podcasts

Podcasts listened recently are persistent in users' browser if they are not authorized
Only {amount} of recently listened podcast are stored


Ignoring checks should be on a per-check basis

I'm concerned that use of tfsec:ignore may accidentally mask multiple checks. Would be good if the specific check could be provided to ignore to ensure other checks are still run.

Good catch! Thanks for this and for your time creating all of the other check idea issues, much appreciated.


Redo the creation of the root node doesn't updates the scene tree

Tested on Godot 2.1, Windows 10 64 bits
When I delete the root node, then undo, then redo, the node is created again but not shown in the hierarchy. Adding a second node shows the tree again.
Repro:

Create empty scene
Add a root node
Undo
Redo: notice the node doesn't appears

I have also been experiencing this bug on Linux Mint 18, using Godot Engine 2.1 64-bit Stable.


Cursor changing its position with scrolling fix

This PR fixes #1300
Summary: This PR adds 'scroll' event listener on dot and changes its position with scrolling
Files Changed: assets\js\cursor.js
Testing Instruction: Scroll Page other than index.html
Before Applying pull request:

After applying pull request:

Please review this pull request


Duplicated Results?

I was looking at the results and I noticed that both the "Construction" and "Callback" results are exactly the same:

That seems like an extreme coincidence :). Is that correct?

Posting results is still mostly manual, so it's definitely more likely that this was a copy/paste error rather than a BDN bug

Fixed as of 01211ce


[Forwardport] Max bucket timeout

This is issue is just to do a sanity check on the max bucket timeout added for this issue in 2.5.9:
https://github.com/rancher/rancher/issues/31999

https://github.com/rancher/lasso/pull/7

rancher/rancher:v2.6-head 6c14c33
We just did a quick sanity check on the max bucket timeout added.
Notes from the previous issue:
We performed a smoke test to validate the behavior of the fix on a smaller scale, and the user's upgrade was successful using v2.5.9-rc3
In v2.5.8:

Create 300-600 custom clusters (with no nodes backing)
Some clusters would get stuck in a pending provisioning state with no status message: Waiting for etcd, controlplane and worker nodes to be registered
After a few minutes these would continue to the correct state (but takes longer with more clusters)

In v2.6-head

Created 450 custom clusters (with no nodes)
All clusters correctly went into the correct state within 10-15 seconds of being created


plugins/nvim-cmp: refactor

Refactoring of the nvim-cmp plugin.
It now doesn't suffer from the new toLuaObject behavior.
I also made sure that all of the options were correct regarding upstream.

Could we have some tests so that we don't break things going forwards ?

Yes, I plan to write several tests in the following days.

Wow, I found so many errors when writing the test !


Test coverage 0 when only one test file

🐛 Bug Report
My project testing part is working great, but if I want coverage I need to have multiple testing files, if I have only one it's not working.
I can make the coverage work with the --watch parameter but not in the first place, I need to update a file or press the 'a' key to relaunch all the test files for jest to run the coverage properly.
Link to repl or repo (highly encouraged)
I can't provide a repo as this is a work project, but here are some config info :
"jest": "24.9.0", "jest-environment-happy-dom": "0.0.41",
"jest --config jest.config.json --coverage --runInBand
//jest.config,json {   "preset": "jest-preset-angular",   "coverageDirectory": "../../report/coverage",   "collectCoverageFrom": ["src/webcomponent/**.ts"],   "testEnvironment": "jest-environment-happy-dom",   "moduleFileExtensions": ["ts", "css", "js"],   "rootDir": "./",   "transformIgnorePatterns": ["^.+\\.js$"] }
I saw that some peoples have coverage problems with jest 24 when they use --watch, but I have this problem even without it. I wonder if it could come with the jest-environment-happy-dom.

Same issue here

Same issue here


Simplisafe error

Home Assistant release (hass --0.37.1):
Python release (python3 --version 3.5.2 running in Virtual Env. Main server running 2.7.12):
Component/platform: simplisafe
Description of problem: I am getting an error output in the logs, which I think point down to the Simplisafe website not responding with anything and the blank response is causing the error. My best guess. The outcome is that, when this occurs, the state of the alarm is reported incorrectly in the system.
**Expected: See if you can help me figure out the cause of this error please and thanks! **
Problem-relevant configuration.yaml entries and steps to reproduce:
alarm_control_panel:
  platform: simplisafe
  username: !secret simplisafe_username
  password: !secret simplisafe_password

Add simplisafe to configuration.yaml
Wait until error messages appear in log
I can provide anything else about my configuration, if need be. I am going to work on getting the whole config uploaded to github asap anyways.

Traceback (if applicable):

Additional info:
See attached log file. I believe there is also an error there on the chromecast, but the alarm issue is more important to me, unless they are linked somehow?
home-assistant.log.txt

Do you see this every time? Or does it work for some amount of time and then break? I am working on some updates on the simplisafe library and I am going to try to cache some things that aren't currently cached. This should prevent hitting simplisafe's API so often which I am thinking could be the issue you are seeing.

Hi w1ll1am23, sorry for the long response time, it has been a hell of a week of my family suffering from the flu.
It will sometimes run for hours until I see the first log of this error, other times it happens within a few minutes or each other.
For frequency example, my last reboot was 17-02-09 14:57:10 EST. Since then, I have this error logged 10 times.
Not sure how often you are calling their API, but you may be on to something that they do not like all the connections and simply drop the request, giving back an empty response.
Thanks for looking into it and for all your hard work on this component!

It currently logs in and out every minute. Probably way to often. I am working on a complete re-write of the library at the moment. I am going to see how long it will stay logged in if I issue a login only once. We may get lucky and it might stay logged in forever (as long as Home-Assistant is running) if not I will try to create a background thread that logs in and out every 30 minutes or something. I'll also be adding some new features once this library is released, sensors that are reported via their API. List is below.
Temp, Fire, Flood, CO, alarm, and last event. Not sure how all of these report, I don't have a system my father does and I don't think he has any of the sensors that report these states.

Hi have fire, co, glass break, door contacts, motion (currently not
installed, but can be), so if there is anything I can do to help, let me
know.
On Feb 11, 2017 3:48 PM, "William Scanlon"<EMAIL_ADDRESS>wrote:

It currently logs in and out every minute. Probably way to often. I am
working on a complete re-write of the library at the moment. I am going to
see how long it will stay logged in if I issue a login only once. We may
get lucky and it might stay logged in forever (as long as Home-Assistant is
running) if not I will try to create a background thread that logs in and
out every 30 minutes or something. I'll also be adding some new features
once this library is released, sensors that are reported via their API.
List is below.
Temp, Fire, Flood, CO, alarm, and last event. Not sure how all of these
report, I don't have a system my father does and I don't think he has any
of the sensors that report these states.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/5788#issuecomment-279174620,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXxUsLc40wvx3H-oSwhb4fV7POdYLIGfks5rbh6EgaJpZM4L5jj_
.

I am only able to get things that report to the mobile app. So that means the motion and door contacts wont report. The list I gave above is the complete list of "sensors" that are returned to from the mobile endpoints. I'll try to get these changes added in the next release.

Sorry, wasn't reading closely enough. Hopefully one day they release an actual real API.
Until then, if your father does not have some of the sensors that the mobile app does report on, and you would like to see example responses from their servers, I'm sure I can figure out how to get this done and over to you.
I am not a developer, per se, but I am a systems engineer and also contract for a software development company. This gives me enough development background to be dangerous.
On that note, time to go upgrade to version 0.38.3 :)

If you could test #6034 that would be awesome. I would be interested to see what comes back in your response for the fields shown in the image attached to #6034


Server js

The server.js file is used to run the node server locally. However, there are conflicts with two existing configurations within this file. Use only one, with https for protocol and localhost with given port.

Hi @bpatra, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi Benoît,
sorry for the delay with this one. First of all we would need you to sign the contribution agreement (CLA) from https://cla.microsoft.com. Second thing which we need to fix is targeting the PRs to dev branch from where they will be then moved to master branch with monthly releases.
We'll close this one now and wait for new submission when the CLA is closed. Thx for your contributions.
@SharePointing


fix: invalid end of code block in PowerPoint.Slide

Docs Build status updates of commit 46ba7e1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/PowerPoint.Slide.md
:bulb:Suggestion
View
Details

api/PowerPoint.Slide.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@ksyx Awesomesauce, thanks so much for this fix!


Increment version for hybridconnectivity releases

Increment package version after release of Azure.ResourceManager.HybridConnectivity

API change check
API changes are not detected in this pull request.

/check-enforcer override


added flappy_bird game

PR Description 📜
Added a new game "Flappy Bird" which brings you never ending fun and thrill with Simple and intuitive controls, Dynamic obstacle generation, Score tracking, Sound effects and music too.
Fixes #384

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @aysal04 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

we already have this game request and it is under review once it is on GameZone do enhancement !!
Thank you @aysal04 !!

Thank you  @aysal04 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


[WIP] Selfmanaged etcd cluster

I feel more comfortable managing the cluster state separately from kube-aws. I do not expect this PR to be merged due to code quality :laughing: but it does work for my use case and may serve as inspiration for discussion.
There's several reasons for wanting a selfmanaged etcd cluster:

etcd is arguably the most fragile part of a kubernetes cluster wrt nodes dying
kube-aws's setup of the etcd cluster comes with significant caveats
this enables users to take responsibility for management of etcd themselves

Additionally, as etcd nodes are "outside" of the kube cluster it is more difficult to add logging/monitoring daemons, increasing the risk of catastrophic failure as the nodes themselves are not properly monitored. Yes, i've been hurt before ;-)
(this PR is based on @colhom's cluster-upgrades branch)
Please discuss! :)

No discussion happened! i still feel this is a really important component of kube-aws deployments. New work on this has been done in https://github.com/pieterlange/kube-aws/tree/feature/external-etcd. If anyone finds this later, please also refer https://github.com/coreos/kube-aws/issues/9


Reproducible build assertion

Resolves #507
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

From what I have been able to gather from some limited surveying there is differences in the __pycache__ that are causing issues with at least the poetry build. I will need some time to dive in on all of these though.


#3282 - Detect Assessment Offering Dates Change (Part 1): DB Migrations

As a part of this PR, the following was completed:

Created new columns on the sims.student_assessments table: previous_date_changed_reported_assessment_id and reported_date columns.
Added the columns to the student-assessment.model.ts file.

Nice work. Added few minor comments @sh16011993


[REQUEST] FlashAttention support for LLM inference

Is there any plan to support FlashAttention for LLM inference?

FlashAttention optimizes  the calculation of attention score (whose shape is seq_len * seq_len).  while inference‘s shape is always 1*pre_seq_len , there is no mean to use FlashAttention

FlashAttention can be used for context calculation. Some frameworks have use flash attention to improve inference performance, like FasterTransformer, lightllm, e.g.

For inference, in the generation step, there's also flash decoding https://crfm.stanford.edu/2023/10/12/flashdecoding.html


 I can't debug in my environment.

The filter process only impact by two filter class. could you add some print function to DBFilterByDifficulty and DBFilterByMinNumPoint? I can't debug in my environment.

I trained the net with filted objection,but all predicted annos are in range x>0,in lidar Coordinate
do you filterd the predicted annos in range x<0?

Kindly suggest how to detect objects for X<0.. Kindly help


TypeScript types

Hi,
I would like to ask you, if you could add TypeScript declaration files? It really helps IDE.
Thanks a lot

Hi @lukeeno , thanks for your reporting. Please, feel free to send a PR with type definitions 👍

For anyone looking for an updated solution I forked it and already upgraded to Fastify 5.0
https://github.com/semoal/fastify-totp


Long animation leaves 4 colored places at 0, 90, 180 and 270 angles

Thank you for the great widget! One small issue:
On android 4.4.2, While the circle is animated for more than 5 cycles it starts painting the 4 places. These are the points where the bound box touches the circle.
If I set the Paint to be aliased then it doesn't happen.

Have you confirmed this on a real device? I had this issue but wasn't able
to duplicate it outside of the emulator.
On Sat, Mar 21, 2015 at 7:57 AM, priceinjector<EMAIL_ADDRESS>wrote:

While the circle is animated for more than 5 cycles it starts painting the
4 places. These are the points where the bound box touches the circle.
If I set the Paint to be aliased then it doesn't happen.
[image: progress_issue]
https://cloud.githubusercontent.com/assets/11571147/6765109/78a980c2-cfda-11e4-82bf-be72bee7d9dd.png
—
Reply to this email directly or view it on GitHub
https://github.com/rahatarmanahmed/CircularProgressView/issues/4.

Yes, this image from samsung galaxy s4 with 4.4.2

Alright, can you send a PR with the fix, then?

The fix is just a workaround...I have removed the anti aliased flag on the Paint() constructor

Oh you removed the flag. Okay let me look into it.
On Sat, Mar 21, 2015 at 11:48 AM, priceinjector<EMAIL_ADDRESS>wrote:

The fix is just a workaround...I have removed the anti aliased flag on the
Paint() constructor
—
Reply to this email directly or view it on GitHub
https://github.com/rahatarmanahmed/CircularProgressView/issues/4#issuecomment-84389212
.

It looks less smooth when looking very close to it however :)

@priceinjector can you test this change to confirm it fixes the issue? It makes the arc smaller so it doesn't paint outside its bounds, which I believe is why it doesn't repaint those marks.

Works like a charm! Thank you


script with constant current harmonic load

next, make IPE figure

this example, with figure is now integrated in the latest draft

didn't end up using this for the paper so we can just drop this.


refactor: add schema column to the scripts table

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
#665 Scripts table should be created for each database/schema

To fix this issue, we decided to add schema column to scripts table. Then all scripts can insert to  scripts table and use schema column to specify which schema the script belongs to.

Currently, I still put scripts table in the default catalog. We will create another issue for supporting show scripts  sql command and support http access, this is a proper time to move the `scripts table to system catalog. If I move scripts table to the system catalog in this issue, the scripts isn't visible to users.

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
#665

The rustfmt and coverage checks are failed, could you fix them?

OK

I finish adjusting the order of the arguments and fix conflicts.


Lit 2 version

Please create a version 2.0.0(.pre1?) that uses Lit 2 (currently 2.0.0.pre1)

Reopening as this is not yet fixed, we haven't published the 2.0.0 release. We are in the process of preparing a 2.0.0-rc release while we await the official lit 2.0.0 release, but are working through some github action issues...

Version 2.0.0-rc.4 is now published....we'll publish an official 2.0.0 when lit does.


WIP: Refactor/test hierarchy

First try at refactoring the folder structure.
I have used 00/10 etc. so that we have space to slot new folders/files in the middle if need be.
The placeholder files are there just to be able to track the new (otherwise empty) folders.

Sorry Luca, I should have told you before. I think the folder 50_Billing it's not necessary because billing will be tested inside 40_Metrics

You can merge it like this and I'll remove the 50__Billing folder when I add my tests

I have used the folders @vasukulkarni proposed in the Jira issue. Regardless, I think it could make sense to split metrics from billing, there will likely be some metrics (i.e. internal ones for SREs) that won't impact billing, right?


'display-value-changed' event is not emitted and displayValue does not notify

Hi,
Expected behavior and actual behavior:
'display-value-changed' event is not emitted and displayValue does not notify
Environment (component version number, Browser (including version), operating system, hardware, etc):
"version": "4.0.16",
operating system: Windows 7,
browser: Chrome Version 62.0.3202.62 (Official Build) (64-bit)

Works as expected, this property is the placeholder text. You're probably looking for selected or selectedItems: https://www.predix-ui.com/#/elements/px-dropdown


[Question] Do we have a solution for overriding any properties this with stylex.createTheme?

To customize themes, the customer can configure any variables (color, font, size...) in the Settings feature and save it to the local storage and init when app start. Do we have a solution for overriding properties with stylex.createTheme?
Currently it will throw err if we use fn: theme.stylex.ts: Only static values are allowed inside of a stylex.create() call
const getOverrideColors = () => {
  // Get from localStorage or api on app init
  return {
    //
  };
};

const overrideColors = getOverrideColors();

export const darkTheme = stylex.createTheme(colors, {
  ...colorRepos,
  ...overrideColors,
});

You need to set dynamic values for variables. Please use stylex.create and dynamic styles to achieve this.
Also, please don't define themes in the .stylex.ts file. That file is only for defineVars calls.
import * as stylex from '@stylexjs/stylex';
import {darkTheme} from './themes';

function Root({children}) {
  const {color, font, size} = useOverrideColors();

  return <div {...stylex.props(
    // The default theme values
    // the default values passed to `defineVars` might be sufficient
    // and you may not need this at all.
    darkTheme,
    // The user-defined overrides.
    color && styles.color(color),
    font && styles.font(font),
    size && styles.size(size),
  )}>
    {children}
  </div>
}

const styles = stylex.create({
  color: (color: string) => ({color}),
  font: (fontFamily: string) => ({fontFamily}),
  size: (fontSize: number | string) => ({fontFamily}),
});

@nmn,  When we use color: (color: string) => ({color}) it will make text content color by the input color.
In my case, I want to override an value in colors (create by defineVars).
Example: colors.primary: blue, then we can override colors.primary: newColor by createTheme.
Finally, we use the dynamic color in localStorage to override the value by createTheme. It will change all component that use the colors.primary to dynamic color.

You can use stylex.create to override variables.
color: (color: string) => ({[colors.primary]: color})

@nmn This code color: (color: string) => ({[colors.primary]: color}) will override only one property but didn't work to override multiples properties.
const overrideStyles = stylex.create({
  colors: (
    newColors: {
      primary: string;
      secondary: string;
    }
  ) => ({
    // This trick is worked
    [colors.primary.replace('var(', '').replace(')', '')]: newColors.primary,
    [colors.secondary.replace('var(', '').replace(')', '')]: newColors.secondary,
    // It would be convenient if this syntax worked too
    // [colors.primary]: newColors.primary,
    // [colors.secondary]: newColors.secondary,
  }),
});

// It would be convenient if this syntax worked too
// [colors.primary]: newColors.primary,
// [colors.secondary]: newColors.secondary,

This should work. It's a bug if it's not. Reopened issue will investigate.

Seeing the same issue when attemping to set a token inside a dynamic style
const styles = stylex.create({
  dragging: (position) => ({
    [tokens.position]: `${position}px`,
  }),
});

I see the following eslint error

Computed key cannot be resolved.eslint(@stylexjs/valid-styles)

The generated style attribute looks like:
style="--var\(--x3b528y\): 21.9375px;"

which I think is why the .replace('--var(', '').replace(')', '') hack was suggested.
I'm using @^0.5.0-alpha.3

Thanks for the specific example to verify. Will fix.

#376 should fix this.

Fixed in 0.5.0


Updated whoogle + jackett + other stuff

Whoogle is now better configurable.
Jackett fixed errors in the new config folder (https://github.com/alexbelgium/hassio-addons/issues/135) and streamlined the version
Made some cosmetic changes to the files
Added default github files, hopefully changing the EOL for good
Added gitignore
Fixed mulitple SC2163 and SC2068
imgbot did his work and made all the images around 70% smaller while keeping the right quality.

Argh I see it also merged the main branch. Will close this: https://github.com/alexbelgium/hassio-addons/pull/136 and keep this as main pull request.

Argh I see it also merged the main branch. Will close this: https://github.com/alexbelgium/hassio-addons/pull/136 and keep this as main pull request.

Is this ready should I merge it? Thanks!

Is this ready should I merge it? Thanks!

Wait 1 sec, made a small error.

Wait 1 sec, made a small error.

@alexbelgium save to merge!

@alexbelgium save to merge!

fixed sorry @alexbelgium

fixed sorry @alexbelgium

Hi, I don't know if you received a notification as they were above your last comment, but there were too last questions above. The main one is relative to the code structure to export a variable as ENV, I thought the initial code was valid (and at least it worked) and wanted to double check your proposal with you. Thanks!

Hi, I don't know if you received a notification as they were above your last comment, but there were too last questions above. The main one is relative to the code structure to export a variable as ENV, I thought the initial code was valid (and at least it worked) and wanted to double check your proposal with you. Thanks!

I cannot find those comments. :( as far as I am awair this can be merged now.

I cannot find those comments. :( as far as I am awair this can be merged now.

The review comments appear above in the thread on my Web browser : I opened a review on the files modified and those comments are marked as pending

hassio-addons/zzz_templates/automatic_packages.sh
Sorry this needs to be bash too - this is the script called by 00-dockerfile_backup to install bashio (lines 157+)
/00-global_var.sh
Are you sure that it is export line and not $line?
As the actual content of $line is something like VARIABLE=value, si I think we need to expand the variable line for the true variable VARIABLE to be exported. Do you see, what I mean?

again thanks very much for the additions and improvments!

Fixed the bin bash stuff.
About the export line you can read more on this here:
https://github.com/koalaman/shellcheck/wiki/SC2163

Fixed the bin bash stuff. About the export line you can read more on this here: https://github.com/koalaman/shellcheck/wiki/SC2163

Hi, but this is my point : I do not want to export the variable line, but the variable that is in text inside.
line contains "VAR=value", so once $line is expanded, what the bash code sees is export VAR=value
Example:
line="VAR=key"
export $line is therefore equivalent to export VAR=key
Do you see the rational?

Ah I see! I'm not home ATM so I will do this later tonight.

BTW you changed also the 00-global_var.sh script from bashio to bash but that one was correct :) as bashio is called within the script (bashio::config.false)

Actually there is only two scirpts that can't accept the bashio shebang : 00_dockerfile-something, that is used to install elements when the dockerfile install failed for supervised installs, and the automatic_packages.sh that is the only that actually installs bashio :) it can be a bit confusing but that is the way I standardized the addons logic :)

Ah yes pretty new to the whole basshio. So what you suggest to change for the merge ?

Ah yes pretty new to the whole basshio. So what you suggest to change for the merge ?

I think everything is fine except for export $line and to revert to binbash for global var :) I'm not at home but that's the only remaing things I was seeing :)

Ah check I've already reverted the bash stuff in my last commits. Can you check them? I only have to change the line variable.

Looks great!

I've corrected the last few bashio and $line, let's merge!
Thanks again for all the proposals and improvements!

Awesome thanks for the commits :)


RCTBridge crashes if invalidated before JSLoader completes

-[RCTJavaScriptLoader loadBundleAtURL:] should check if the bridge is valid in its URLSession handler. What seems to be possible is:

RCTBridge is created and starts loading the JS
RCTBridge is invalidated, which nils out _modulesByName
Response arrives and RCTJavaScriptLoader's handler runs RCTSourceCode *sourceCodeModule = _bridge.modules[RCTBridgeModuleNameForClass([RCTSourceCode class])]; which fires an assert since _modulesByName is nil

Thanks, that has already been fixed. There was actually a big refactoring on the bridge, should be out on the next sync.


Fix #460 Arrumando onPress do card

Nesse pull request foi feito:
Issue #460

Pull Request Test Coverage Report for Build 1374

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.826%

Totals

Change from base Build 1373:
0.0%

Covered Lines:
244

Relevant Lines:
267

💛  - Coveralls


When given an HDUList provide option to open all image extensions

see #170
This could be a little tricky. The ds9 viewer already has a hook for opening up all fits MEF extensions with load_mef_as_multi, as well as one for cubes load_mef_as_cube. For the ginga HTML5 viewer, I think I'd need to run a separate server and multiple tabs or windows, one for each extension. I don't believe there's a way to split the single viewer. It might be easier in this case to create separate control objects, each one connected to a different ginga html5 viewer. The user could loop this themselves already.

It's probably water under the bridge, but as a novice user, API wise I would have found it cleaner if load_fits() had kwargs for loading all extensions of a multi extension fits. I simply looked past load_mef_as_cube and load_mef_as_multi when looking for this functionality as in my mind fits files are almost always multi extension anyway :)

Good feedback. I think I original had those names as they correspond to the DS9 functions whch are named similar, and require sending different calls. It's a function not supported by ginga, but perhaps changing the names and considering the API again before the 1.0 is a good idea.

are named similar, and require sending different calls

Oh, indeed, yet it was the abbreviation that tricked me (while it's trivial now, after the fact).
But before you consider any name/API change it would be probably a good exercise to check on this question with more users. (e.g. task them at a workshop to open up a multi extension fits/HDUList given the current API)

certainly. My plan is to get the python 3 version out first. Then do a serious look at the package and new possible viewers and see if the API should change in away. This will of course rely on some input from users :)


relative module when resused by other plugins

Environment

Operating System: Darwin
Node Version:     v18.10.0
Nuxt Version:     3.9.3
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, site, linkChecker, css, turnstile, robots, app, routeRules, sourcemap, devServer, devtools, htmlValidator, image, ogImage, runtimeConfig, schemaOrg, nitro, appConfig, ignore, hooks, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Hi it seems with some plugins doing something simliar in this case a mix of nuxt content and nuxt storybook i get this error.
 [nitro 5:52:23 PM]  ERROR  Error: Could not load file:///Users/jean-pierre/Projects/site-main/.nuxt/mdc-imports.mjs (imported by node_modules/@nuxtjs/mdc/dist/runtime/parser/index.mjs): ENOENT: no such file or directory, open 'file:///Users/jean-pierre/Projects/site-main/.nuxt/mdc-imports.mjs'
caused by this line

is there a way we can change
the path below into a relative path instead to that it doesn't crash when other modules reuse the same one?
moduleOptions = await import(
      "#mdc-imports"
      /* @vite-ignore */
    ).catch(() => ({}));

Describe the bug
in this case its a build error when trying to run storybook with nuxt-content
Additional context
No response
Logs
No response

This is probably an issue with @storybook-vue - and if not, with https://github.com/nuxt-modules/mdc - rather than Nuxt - would you open an issue there? 🙏
Probably the module adds an alias that isn't present in the storybook build for whatever reason.


Work properly with parent structure in ScoreItemSelection

items are flashcards but only terms have parents

resolved by adding parenets for flashcard
fdb6bcc2a0996cc4aba631043e7729b2f8a079ef


GitHub rate limits when building

I didn't fill out the issue template because this isn't really related to the build specifically.
One issue I ran into whilst running builds for testing, was hitting the unauthenticated API request limit for GitHub.
---> Error occurred when trying to fetch releases from Github
	 Reason: API rate limit exceeded for [MY IP ADDRESS]. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

This is trivial to work around with a personal authentication token, like this:
--- a/lib/util/erts_url_fetcher.ex
+++ b/lib/util/erts_url_fetcher.ex
@@ -79,7 +79,10 @@ defmodule Burrito.Util.ERTSUrlFetcher do
   defp get_gh_pages(url, page \\ 1, acc \\ []) do
     # page through all the asset results until we have no more
     # then return the full list of them
-    case Req.get!(url <> "&page=#{page}") do
+    headers = [
+      {"authorization", "token [MY PERSONAL API TOKEN]"}
+    ]
+    case Req.get!(url <> "&page=#{page}", headers: headers) do
       %Req.Response{status: 200, body: []} ->
         {:ok, acc}

I'm happy to open a PR to add this, maybe as an environment variable that we use if specified. Something like GITHUB_API_TOKEN?
If we wanted to point a user in the right direction, we could modify the Req result match to look for API rate limit exceeded  in the error message and prompt them to set this environment variable.

I had this pop up for me this morning as well


ClearingOperationsTools.tbx has no tool help

There are three tools in this toolbox. None of the tools have any tool help for them. They should have tool help. I have inserted a single screenshot from one parameter on the number features tool, but all parameters on all three tools are missing tool help. Included a second screenshot to show that this is also an issue in Pro

@lfunkhouser @nfeuerstein

a good guideline on properly fleshing out good releasable tools can be found here
https://github.com/ArcGIS/Solutions-Resources/blob/master/Python/Style/SolutionsGuideToCreatingGeoprocessingTools.md#testing-geoprocessing-tools
a topic specifically addressing tool help is found with in this document
https://github.com/ArcGIS/Solutions-Resources/blob/master/Python/Style/SolutionsGuideToCreatingGeoprocessingTools.md#tool-documentation

follow up to this... the tools that are currently in the repo do have tool help, but somewhere along the line with moving tools around and combining them, the ones used in the packaging of the solutions for both ClearingOperations.mxd and CompoundMap.mxd do not

This has been fixed by the following pull request: https://github.com/Esri/solutions-geoprocessing-toolbox/pull/577#pullrequestreview-58499213
Please verify @dfoll. I have also verified this will review of the pull request, but I think you might want to see the changes as well.

Fixed.


sf-search-bar component

Related issue
https://github.com/DivanteLtd/storefront-ui/issues/17
Scope of work
Created Search Bar Component with test and styling. Component includes two different modifiers - with color and with opposite icon and text position.
Screenshots of visual changes

Checklist

[x ] I followed composition rules for my component
[x ] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)

Also please resolve conflicts ;)


_CDB_Add_Indexes is becoming a common Import Error

ERROR: CDB(_CDB_Add_Indexes:23502:column "cartodb_id" contains null values):
We haven't been seeing this error message, and now it is happening frequently (twice in one day).
Steps to reproduce:
Import a dataset that has been exported from CartoDB from a "create table from query" in which the cartodb_id column contains null values.
Dataset will not import, import logs will show the ERROR: CDB(_CDB_Add_Indexes:23502:column "cartodb_id" contains null values):

Some more spotted this morning

this is fixed in extension repo. closing it