Update ai-gateway.yaml

update ai gateway changelog
-openrouter as new provider
-small capitalization mistake
Summary

Screenshots (optional)

Documentation checklist

[ ] The documentation style guide has been adhered to.
[ ] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
[ ] Files which have changed name or location have been allocated redirects.

can you also add this entry in the changelog:
  - publish_date: "2024-12-13"
    title: Bug Fixes
    description: |-
      * **Bug Fixes**: Fixed Anthropic errors being cached.
      * **Bug Fixes**: Fixed `env.AI.run()` requests using authenticated gateways returning authentication error.


zerocrat ussie

@sergeykutsko/z I'm not managing this repo, remove the webhook or contact me in Slack, as explained in §11; I'm not managing first-bits/test GitHub repository, you have to contact me in Slack first, see §11 /cc @yegor256/z

There is an unrecoverable failure on my side. Please, submit it here:
PID: 13110@ip-172-31-12-121, thread: pool-46-thread-1
com.zerocracy.radars.github.ThrottledComments[74] java.lang.IllegalStateException: Can't post an identical message to first-bits/test#1: @sergeykutsko[/z](https://www.0crat.com/u/sergeykutsko) I'm not managing this repo, remove the [webh

0.30.7: Issue: first-bits/test#1, Action: opened

@zerocratsubs status

@zerocratsubs status


Handle non-blocking write failure correctly for stdout

More correct solution for interactive shell write issue (supersedes https://github.com/modal-labs/modal-client/pull/190).
It turns out that stdout was already non-blocking (because we set stdin to non-blocking using fcntl). However, writing to stdout using the BufferedIO wrappers doesn't correctly raise BlockingIOError (it does when writing to stdout.buffer directly, but then in that case it never reports partial writes). Using os.write on the fd directly fixes it.
Also printing exceptions caught in the logs loop instead of failing silently. Would have helped fix this issue faster.

 Fixing.


Populate right fly-out with selected tracker

Added 'enhancement' label, since we can populate the right fly-out, but we don't really have additional data to show which cannot be shown in the popup.


Add -d:noSignalHandler

I see that step4 already has that option but I changed it to be consistent with other 3 :)

Looks good, thank you for the PR!


XML documentation generated from docs should not contain docs-relative URLs

Describe the bug
When looking at the XML documentation for an API that seems to have been generated from .Net API reference, such as netstandard.xml, I can see docs-relative URLs such as ~/docs/standard/base-types/regular-expression-options.md, while I think it should point to the live URL for the article: https://docs.microsoft.com/dotnet/standard/base-types/regular-expression-options.
Specifically, netstandard.xml (from version 2.0.3 of the NETStandard.Library package) contains (reformatted):
<member name="F:System.Text.RegularExpressions.RegexOptions.Singleline">
  <summary>
    Specifies single-line mode. Changes the meaning of the dot (.) so it matches every
    character (instead of every character except \n). For more information, see the
    "Single-line Mode" section in the
    <see cref="~/docs/standard/base-types/regular-expression-options.md">
      Regular Expression Options</see> topic.</summary>
  <returns></returns>
</member>

Notice how the <see cref> contains a URL that does not make sense outside of the docs repo.
This content seems to come from this line in dotnet/dotnet-api-docs.
Expected behavior
XML documentation contains links to live versions of linked articles.
Note that while there doesn't seem to be spec-approved way provide HTTP links in XML documentation, ReSharper/Rider seems to accept <a href>, and there is a proposal to adopt <see href>: https://github.com/dotnet/csharplang/issues/1764, which is also used by Sandcastle.
Screenshots
This is how the XML documentation is currently presented in Rider, where the link is not very useful:

@dend Can you take a look at this suggestion?

@svick Your issue is transferred to .Net team. They will help you there.

I'll check if this still repros on the latest builds but this is not a content issue but an engineering issue. So this is the correct repo for this if it's still an issue.


unused parameters error

Hi~, Sorry to bother you again, when I run your code, I could get the following error sometimes if I turn the find_unused_parameters=False in the DDP follow the other works, and I find that you turn the find_unused_parameters=True to avoid this problem in your code. I would like to ask if this error indicates that there is a problem with the code implementation. Is that the factor that affects the result of the final reproduction?
"RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that
were not used in producing loss. You can enable unused parameter detection by passing the keyword argument find_unused_parameters=True to torch.nn.parallel .DistributedDataParallel, and by
making sure all forward function outputs participate in calculating loss.
If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's f orward function. Please include the loss function and the structure of the return value of forward of your module when reporting this issue (e.g. list, dic
t, iterable). "

check 你的 init() 方法中是否存在参数，在 forward 中没有使用的，注释掉即可。这只是最基础的实现，还有很多工作要做，希望您不要介意，祝好。

我仔细研究了一下，发现是MLP有一部分没能送入优化器，我会尝试解决一下，请您耐心等待

Hi~,I have just solved the bug,and it will not influence the result,I will still work on it

Ok, thank you a lot for your patience to solve this problem. Your code is very excellent, which is very helpful for me to learn how to use MMdetection and reproduce DAB-DETR. Thanks again!


Fix restart peer test

This test was failing. Until I fixed it.
integration::restart_peer::restarted_peer_should_have_the_same_asset_amount


Adding the Calculator functionality

Hey @TechSpiritSS .
I've tried adding a calculator functionality to it.
Note :- It can only perform operation on 2 numbers at a time.
It will take 2 numbers as input and then ask which type of operation to be performed.
It can perform operations such as addition, subtraction, subtraction, division, multiplication, modulo, AND, OR on the two given numbers.
I hope it helps.
P.S :- Please go thoroughly through the script.js file because I've made significant changes in it.
Thanks :)

Sure mate go for it 👍

Hey @TechSpiritSS . I've made a calculator for this terminal. But I'm not able to create the pull request. This message is being showed "Can’t automatically merge. Don’t worry, you can still create the pull request". And also I've done significant changes in your code. And I'm sure that it may conflict with other commits. Hence I would like to request you to please create a NEW BRANCH and then I'll make a pull request to that branch , if you are comfortable with it. Because I've done significant enough changes to it, and I don't want you to get confused in your project  due to the changes made by me.
Also If you want to see the calculator, Here's the link to my forked repo:
https://github.com/KanishkDadhich/Terminal-Portfolio
Thanks: :)

Sure. I'll look into this

Hey @TechSpiritSS I would like to try Implement this feature.
Im thinking Ill use the inbuild Javascript Eval() function instead of the method @KanishkDadhich used.

Sure go for it 🚀
but create a seperate JS file as main file is getting a little messy now.


Disambiguate swift method call

Test pass locally for iOS on Swift 4.0 and 4.2. Not sure how this didn't show up earlier – possibly due to my use of Xcode 10 beta vs release.

After more research, not only does this issue only occur in the latest Beta Xcode 10.2 (10P82s), but the fix actually breaks non-beta Xcode 10.1 (10B61)!
Not sure what to do here, but it should not be merged just yet...

It would be helpful if you could open an issue for this so that anyone searching for it can more easily find it. I spent quite a bit of time coming to the same fix and only stumbled upon your branch by accident.

After more research, not only does this issue only occur in the latest Beta Xcode 10.2 (10P82s), but the fix actually breaks non-beta Xcode 10.1 (10B61)!
Not sure what to do here, but it should not be merged just yet...

I've been working on updating this library to 4.2 + Xcode 10.2, and 5.0 + Xcode 10.2. The answer is to conditionally compile the new code:
#if swift(>=4.2.2)
        return String(cString: UnsafePointer<UInt8>(strerror(errno)))
#else
        return String(cString: UnsafePointer(strerror(errno)))
#endif

This works because the new version of Swift 4.2 in Xcode 10.2 is 4.2.2.

@alanzeino That's a good catch 👍.

I've been working on updating this library to 4.2 + Xcode 10.2, and 5.0 + Xcode 10.2.

I can assume we can expect a PR soon then with the update 😅 ?

Hello,
I actually opened an issue for this because I didn't find this PR (thanks @Vkt0r for referencing). In order to fix this you can simply remove the
UnsafePointer. You can see the discussion at the Apple Forum

@alanzeino That's a good catch 👍.

I've been working on updating this library to 4.2 + Xcode 10.2, and 5.0 + Xcode 10.2.

I can assume we can expect a draft PR soon then with the update 😅 ?

I'm close, just got one issue to solve and I can PR it.

In Xcode 10.2b4 this change isn't needed anymore.

Closing this in favor of #370.


Adds session support

Also:

Fixes "Population" showing up in dropdown field
Refactors app_config.py to modularize settings (like we do for identity); support populating settings from dotenv files.

This doesn't actually do any redis integration or configuring of the sessions at the moment; it only sets up a local filesystem cache, which may or may not work for our dev server. Do not be surprised if the session issue still persists; this is just setting up some scaffolding.

Responding to your doc:
In the description above I noted:

Do not be surprised if the session issue still persists; this is just setting up some scaffolding.

As for the gray hover, I would assume it's intended, since the existing directory offers the same behavior.


Fix issue with links to already translated ko documents

Closes #25990
This PR fixes the en links for the following translated ko documents:

[x] content/ko/docs/concepts/architecture/control-plane-node-communication.md
[x] content/ko/docs/concepts/cluster-administration/_index.md
[x] content/ko/docs/concepts/policy/resource-quotas.md
[x] content/ko/docs/concepts/scheduling-eviction/kube-scheduler.md
[x] content/ko/docs/concepts/services-networking/connect-applications-service.md
[x] content/ko/docs/concepts/workloads/pods/pod-topology-spread-constraints.md
[x] content/ko/docs/reference/_index.md
[x] content/ko/docs/reference/command-line-tools-reference/feature-gates.md
[x] content/ko/docs/reference/glossary/kube-proxy.md
[x] content/ko/docs/reference/kubectl/cheatsheet.md
[x] content/ko/docs/reference/kubectl/overview.md
[x] content/ko/docs/setup/production-environment/tools/kubeadm/self-hosting.md
[x] content/ko/docs/setup/production-environment/tools/kubespray.md
[x] content/ko/docs/setup/production-environment/windows/intro-windows-in-kubernetes.md
[x] content/ko/docs/tasks/access-application-cluster/configure-access-multiple-clusters.md
[x] content/ko/docs/tasks/administer-cluster/access-cluster-api.md
[x] content/ko/docs/tasks/extend-kubectl/kubectl-plugins.md
[x] content/ko/docs/tasks/tools/install-kubectl.md
[x] content/ko/docs/tutorials/stateful-application/basic-stateful-set.md
[x] content/ko/docs/tutorials/stateful-application/zookeeper.md

/assign @kosehy

/assign @kosehy

Thank you ~ !
/approve

Thank you ~ !
/approve


Allow camera distance to be fixed during Animation

The code below produces a nice video file moving from a sagittal view to a front view. However, the interpolation from the starting point to the ending point causes the camera to seemingly zoom in and zoom out. This is different from the zoom feature, but I'm lacking the vocabulary to describe the effect as anything else. My goal is to interpolate from camera_1 to camera_2 while maintaining a fixed camera distance from the focal point.

from brainrender import Scene, Animation
from rich import print
from myterial import orange
from pathlib import Path

print(f"[{orange}]Running example: {Path(__file__).name}")
"""
    This example shows how to create an animated video by specifying
    the camera parameters at a number of key frames
"""
# Set custom camera positions
camera_1 = {
    'pos': (7830, 4296, 36854),
    'viewup': (0, -1, 0),
    'clippingRange': (29305, 60266),
    'focalPoint': (7830, 4296, -5694),
    #'distance':
}

camera_2 = {
     'pos': (-50378, 4296, -5694),
     'viewup': (0, -1, 0),
     'clippingRange': (29305, 60266),
     'focalPoint': (7830, 4296, -5694),
     #'distance':
}

# Create a brainrender scene
scene = Scene(title="brain regions", inset=False)

# Add brain regions
scene.add_brain_region("TH")

anim = Animation(scene, "./examples", "vid4")

# Specify camera position and zoom at some key frames
anim.add_keyframe(0, camera=camera_1 , zoom=1)
anim.add_keyframe(2, camera=camera_2 , zoom=1)

# Make videos
anim.make_video(duration=3, fps=15)

In the above code the focal point, camera_1, and camera_2 all have the same value for the second axis (4296), so for this example axis 2 is constrained and I will ignore it from hereon out. Camera_1 and the focal point are aligned on axis 1, and camera_2 and the focal point are aligned on axis 3. Thus, the distance between the focal point and camera_1 should be exactly the same as the distance between the focal point and camera_2 (see figure below).

In the example code above the distance between the camera and the focal point is continuously changing during the interpolation between camera_1 and camera_2 and appears to be following the path in red. My guess is that this red path is being controlled by the 'interpol' parameter in the add_keyframe function https://github.com/brainglobe/brainrender/blob/a6e92db7135a67944f1e961ce52a8bcaa7d33f10/brainrender/video.py#L203-L212 which by default calls the sigma function https://github.com/brainglobe/brainrender/blob/a6e92db7135a67944f1e961ce52a8bcaa7d33f10/brainrender/video.py#L158-L167
and could be altered by defining a different interpolation function, such as one that locks the distance between the camera and focal point. Am I on the right track?
Is there a way to fix the distance between the camera and focal point during interpolation?

Hey,
You're getting fancy with the animations, I love it!
I think the problems comes from the interpolation between the two camera parameters:
https://github.com/brainglobe/brainrender/blob/a6e92db7135a67944f1e961ce52a8bcaa7d33f10/brainrender/video.py?_pjax=%23js-repo-pjax-container%2C div[itemtype%3D"http%3A%2F%2Fschema.org%2FSoftwareSourceCode"] main%2C [data-pjax-container]#L370
The animation code is essentially doing a linear interpolation between each parameter of the two cameras (e.g. pos). So it should move from camera_1 to camera_2 along a straight line. The sigma interpolation doesn't actually change the trajectory, just the speed at which you move along it: at the start and end of the animation the transition will be slower, creating a smoother animation effect. The interpolation value p is in range [0,1] such that at t=frame_0 it's p=0 and the camera is like the first camera, while at t=frame_1 it's p=1 and the camera is like the second camera. The speed at which p changes defines the speed of the transition, as you can see below the slope of the sigmoid tapers towards t=0 and t=1.
Fancier animation softwares (like blender) allow you to define keyframes that act as control points for a bezier curve, then the bezier curve is the actual trajectory of the parameter (and, on top of that, you can move along it at different speeds).

Anyways, this is besides the point you raised. The thing is, to get the animation you'd like, you need to interpolate between the two cameras differently. Conceptually, instead of sampling points along a line connecting the two camera values you want to sample points along the arc of a circle going through them and centered at the focal point (in 3D space).
If you create a new class that subclasses Animation and define a new _interpolate_cameras method you can try to play around with different ways to interpolate between cameras, makes sense?

as a side note you may leverage the class vedo.Arc to compute points positions on an arc:
from vedo import *
arc = Arc((7830, 4296, -5694), point1=(7830, 4296, 36854), point2=(-50378, 4296, -5694), res=100)
print(arc.points())
show(arc, axes=1)

Beautiful!
I think a great addition to the animation class would be to allow users to specify a path along which the camera should move, instead of interpolating between keyframes position. The path could be given by Arc like in this case or a spline (@marcomusy  is there spline computation in vedo?)
@blogeman I probably won't be adding this yet, since I'm not sure if a lot of people would be using it. But if you do end up making something that could be generally useful please feel free to submit a PR!

is there spline computation in vedo?

yes it's called Spline :)
e.g.: Spline(points, easing="OutCubic")
Check out example : examples/simulations/spline_ease.py

Vedo is the best! It's such a rich library, great job!
@blogeman   perhaps one can use Spline and Arc to define fancy camera movements?

Thanks, this is really useful info! I'm going to spend some time playing around and will let you know if I come up with anything that generally useful for other users.


Rebuilding Android library

I'm trying to fix up a few things but I'm not familiar with Haxe at all, neither with lime or the ecosystem in general.
Rebuilding lime works, but trying to rebuild ndll/Android/liblime-v7.so with, I presume, lime rebuild android -release -armv7 gives the following:
x86 Platform: 16
arm Platform: 16
x86_64 Platform: 21
arm_64 Platform: 21
Frameworks should set the minSdkVersion for each APK to these values.

Compiling group: lime
clang++ -Iinclude -Ilib/cairo/include -Ilib/cairo/include/configs/default/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_HAS_FT_FONT -Ilib/curl/include/ -DLIME_CURL -DCURL_STATICLIB -Ilib/freetype/include -DLIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -DLIBHL_EXPORTS -Ilib/jpeg/ -DLIME_JPEG -Ilib/lzma/src -DLIME_LZMA -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal/include/ -DLIME_OPENAL -DLIME_OPENALSOFT -DAL_LIBTYPE_STATIC=1 -DAL_ALEXT_PROTOTYPES -DLIME_OPENGL -Ilib/png/ -Ilib/zlib/ -DLIME_PNG -Ilib/sdl/include/ -Ilib/sdl/include/configs/default/ -DHAVE_LIBC -DLIME_SDL -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_VORBIS -DLIME_ZLIB --target= -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -I/usr/local/lib/haxe/lib/hxcpp/4,0,64/include -Iinclude -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM= -fvisibility=hidden -ffunction-sections -fstack-protector -fexceptions -c -fpic -Wno-invalid-offsetof -Wno-return-type-c-linkage -Wno-parentheses ... tags=[haxe,static]
 - src/system/ValuePointer.cpp
 - src/math/ColorMatrix.cpp
 - src/ui/TextEvent.cpp
 - src/media/codecs/vorbis/VorbisBindings.cpp
 - src/graphics/cairo/CairoBindings.cpp
 - src/ui/GamepadEvent.cpp
 - src/text/harfbuzz/HarfbuzzBindings.cpp
 - src/media/containers/WAV.cpp
Error: error: unknown target triple 'unknown', please use -triple or -arch
Error: error: unknown target triple 'unknown', please use -triple or -arch

I've dug through the code but I can't find much - it seems that Android building is disabled in CI too. How do I go about this?

I have the same problem. :(
How to fix that? Does anyone has any idea?

Looks like to have to use Android NDK 15c.

This is primarily an issue with HXCPP support of newer Android NDKs
Once HXCPP adds newer NDK support we can fine-tune any changes on the Lime side required for the clang toolchain on Android

Last hxcpp seems being able to deal with NDK >= r20. Unfortunately i could not build lime: there were a lot of errors during openal and pixman compilation. I guess the reason is clang and its toolchain compatibility.

In file included from ./lib/openal/common/alcomplex.c:5:
lib/openal/common/math_defs.h:30:21: error: static declaration of 'log2f' follows non-static declaration
static inline float log2f(float f)
                    ^
C:\Users\user\programs\develop\Android\sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin/../sysroot/usr/local/include\math.h:38:15: note: previous declaration is here
float         log2f(float);

C:\Users\user\AppData\Local\Temp\pixman-arm-neon-asm-47eb7f.s:1609:1: note: while in macro instantiation
generate_composite_function pixman_composite_over_8888_8_0565_asm_neon, 32, 8, 16, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init_need_all_regs, default_cleanup_need_all_regs, pixman_composite_over_8888_8_0565_process_pixblock_head, pixman_composite_over_8888_8_0565_process_pixblock_tail, pixman_composite_over_8888_8_0565_process_pixblock_tail_head, 28, 4, 8, 24
^
<instantiation>:2:11: error: expected absolute expression
    vuzp8 %(basereg+0), %(basereg+1)
          ^
<instantiation>:26:5: note: while in macro instantiation
    pixdeinterleave dst_r_bpp, dst_r_basereg
    ^
lib/pixman/src/pixman-arm-neon-asm.h:885:5: note: while in macro instantiation
    process_trailing_pixels 0, 0, process_pixblock_head, process_pixblock_tail, process_pixblock_tail_head
    ^

When i removed  openal, pixman and cairo flags from build.xml, lime had built but heroku shader demo crashes with lack of dependency methods like
...
08-06 10:14:00.233 11824-11840/org.openfl.samples.herokushaders E/loader: Could not find primitive lime_cairo_pattern_set_filter__prime in 0xae104644
08-06 10:14:00.234 11824-11840/org.openfl.samples.herokushaders E/loader: Could not find primitive lime_cairo_pattern_set_matrix__prime in 0xae104644
08-06 10:14:00.236 11824-11840/org.openfl.samples.herokushaders E/loader: Could not find primitive lime_cairo_surface_flush__prime in 0xae104644

    --------- beginning of crash
08-06 10:14:00.551 11824-11840/org.openfl.samples.herokushaders A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 11840 (SDLThread)

ps: this line seems incompatible, i commented it out
AndroidPlatform.hx:287//		if (armv5) commands.push(["-Dandroid", "-DPLATFORM=android-16"]);

Once again, the pull request should have closed this, except we merged it into 8.2.0-Dev instead of develop. Manually closing instead.


[Feature Request] add support for Kubernetes costs

We manage our infra with a mix of terraform and kubernetes. Would it be possible to add support for kubernetes as well. For example each pod that gets spun up on fargate for each new container created has a cost, the aws-ingress-controller spins up an ALB etc. etc.
Thanks
Note for community
Please 👍 if you'd like to upvote this or receive updates.

Thanks @pgbradbury 🙏 ! We're still heavily focused on terraform, although we have made significant architectural changes that will help enable us to support other tools like k8s in the future. K8s particularly is one we've seen a lot of people using alongside Terraform, we do it ourselves as well for our hosted services and the Ingress and CloudWatch costs are a bit of a mystery.
Are you using Helm to write the k8s config or straight up k8s YAML?
FYI: I've updated the description to add a note for the community to upvote this.

Hi @aliscott. Thanks for the quick response.
We mostly write in straight-up k8s YAML, but there are some external services that we install via helm if we have to.
We try to follow Kubestack framework for GitOps
Thanks

I am the maintainer of Kubestack and just came across this discussion. I find it a really interesting idea, so I thought to share a few thoughts from my perspective.
Kubestack, mainly uses the Kustomization provider that I maintain as part of the framework. Which, unlike the helm provider, tracks every K8s resource individually in Terraform state.
$ terraform state show 'kustomization_resource.from_overlay["apps/Deployment/test-overlay/test"]'

# kustomization_resource.from_overlay["apps/Deployment/test-overlay/test"]:
resource "kustomization_resource" "from_overlay" {
    id       = "fd6518f7-6253-4b10-92f4-cb80f0cc1603"
    manifest = jsonencode(
        {
            apiVersion = "apps/v1"
            kind       = "Deployment"
            metadata   = {
                creationTimestamp = null
                labels            = {
                    app = "test"
                }
                name              = "test"
                namespace         = "test-overlay"
            }
            spec       = {
                replicas = 1
                selector = {
                    matchLabels = {
                        app = "test"
                    }
                }
                strategy = {}
                template = {
                    metadata = {
                        creationTimestamp = null
                        labels            = {
                            app = "test"
                        }
                    }
                    spec     = {
                        containers = [
                            {
                                image     = "nginx"
                                name      = "nginx"
                                resources = {}
                            },
                        ]
                    }
                }
            }
            status     = {}
        }
    )
}

So it's possible to access the JSON string stored in state, to read requests and limits.
There's a few challenges still, like:

requests, limits and replicas (if set) are available, but not particularly meaningful without knowing the node a pod is scheduled on (status is not stored in state currently)
replicas can be null and a HPA controls it dynamically, it may be hard to match some HPA in the state to the correct deployment

The official kubernetes_manifest should make almost all K8s attributes available natively in Terraform. But even then correlation could still have lots of tricky edge cases.

Hello,
I see this conversation ended a year ago. is there an update about supporting k8s helm using infracost?
Thank you

👋 Hey @pgbradbury, @DorKaminsky, @maxime-sourdin, @pgbradbury, @UcoDevel, @jereques, @hesamyavari, @Obsecurus, @kazsKAZAMA, and @alina-anderson I'd like to dig into this problem more to learn more about any challenges you have around K8s cost savings and what shift-left might look like for K8s costs. If you're up for a 30min call this/next week please email me some times that work for you.


[six] initialize pyyaml: cache relevant pyobjects, and use C-extensions

What does this PR do?
This PR does two things primarly:

Ensure we use the C-extensions for the pyyaml dumper and loader, CSafeDumper and CSafeLoader, if available. Using safe_load directly had the side-effect of bringing in the extra 30MB RSS product of the regex in the non-C loader/dumper.
Cache the constantly used PyObjects to the load, dump, loader and dumper pyyaml objects, it makes no sense to grab them over and over again.

Motivation
RSS liposuction 📉
Additional Notes
Since this should be called no matter what, it appeared most sensible to include the initialization in the Two/Three init routines. Please let me know if we don't agree on this. I believe exposing it with the API is pretty useless given that we need to pass no arguments from CGO, and this should always be called on init().
The alternative would be to patch pyyaml to get rid of the regex altogether as proposed here: https://github.com/yaml/pyyaml/pull/124 - the pyyaml maintainers are still not sure about UCS4 implications or performance, so I felt this approach gave us the most control and better understanding over what was going on.
Verified effective with a local install, not currently deployed anywhere, but feel free to validate with the gitlab artifacts :)

LGTM. Are calls to load/dump/safe_load/safe_dump from checks already using those loaders? Is there any other place we might be using the python loader?

@albertvaka we do ensure that all our checks + custom checks, unless explicitly disabled, use the safe loading/dumping facilities with a monkey patch on pyyaml. On top of that, if available (which would be the case for anything that is not a miscellaneous custom build) we will always default to the C-extensions for added performance. So I believe we're well covered in this sense.


Polish language

Need to add an option for Polish as the book will have an official Polish version.

And, done.


More hidden tracking

First of all nice idea, like it, good job.
I just deleted id query, used referer instead. And deleted favicon.png definiton beacuse by default browsers try to load favicon.ico. Much cleaner now.
2019/04/22 01:55:17 IN http://localhost:8080/
2019/04/22 01:55:20 IN http://localhost:8080/
2019/04/22 01:55:23 OUT http://localhost:8080/ 6.012487509s
2019/04/22 01:55:27 OUT http://localhost:8080/ 7.021298637s
2019/04/22 01:55:30 IN http://localhost:8080/
2019/04/22 01:55:33 IN http://localhost:8080/page1
2019/04/22 01:55:37 OUT http://localhost:8080/ 7.014335487s
2019/04/22 01:55:47 OUT http://localhost:8080/page1 14.032877079s

Good idea with the referrer header, thanks!


Remove extra spaces in Markdown-rendered code

Each of the code blocks in the readme (with the exception of the first, which uses HTML instead of Markdown) have two extra spaces at the front of each line. This removes those. I believe GitHub changed its Markdown parser somewhat recently; perhaps this was an artifact of that.
The rendered diff looks like this:

Thanks, Tyson.


Added fade

Fixes #594
Describe the changes you have made in this pr - Added a fade to the notice box this fades after 10 seconds over 600ms
Screenshots of the changes (If any) -

Coverage remained the same at 82.507% when pulling da1e34e5258ebe47d6751971dd3a5ddf04dc8360 on BBroadbent:BBroadbent-patch-2 into 6569232a75d650e5123363c7f51280129df87f9b on CircuitVerse:master.


tools: ignore ./bazel-* in check_repositories.sh

We currently ignore ./bazel-* in the check_format.py script, but not here. Adding it here as an ignored directory as well to prevent lint failures when using envoy as a submodule, such as the following:
  Checking repositories definitions
./bazel-envoy-mobile/external/bazel_tools/tools/build_defs/repo/git.bzl:68:        remote = ctx.attr.remote,
./bazel-envoy-mobile/external/bazel_tools/tools/build_defs/repo/git.bzl:96:    actual_commit = ctx.execute([
Using git repositories is not allowed.
To ensure that all dependencies can be stored offline in distdir, only HTTP repositories are allowed.

Signed-off-by: Michael Rebello<EMAIL_ADDRESS>Risk Level: Low
Testing: Done locally

Closing in favor of https://github.com/envoyproxy/envoy/pull/7245


Install failure via Homebrew: Invalid formula

Architecture: Apple M1
OS: Big Sur 11.6 (20G165)
Hi there. Installing unpoller via Homebrew fails. Any suggestions for getting this to work?
$ brew install --verbose golift/mugs/unpoller
==> Tapping golift/mugs
git clone https://github.com/golift/homebrew-mugs /opt/homebrew/Library/Taps/golift/homebrew-mugs --origin=origin --template=
Cloning into '/opt/homebrew/Library/Taps/golift/homebrew-mugs'...
remote: Enumerating objects: 719, done.
remote: Counting objects: 100% (283/283), done.
remote: Compressing objects: 100% (178/178), done.
remote: Total 719 (delta 151), reused 222 (delta 104), pack-reused 436
Receiving objects: 100% (719/719), 92.08 KiB | 2.25 MiB/s, done.
Resolving deltas: 100% (329/329), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/golift/homebrew-mugs/Formula/notifiarr.rb
invalid attribute for formula 'golift/mugs/notifiarr': version (nil)
Error: Cannot tap golift/mugs: invalid syntax in tap!

$ brew --version
Homebrew 3.3.15
Homebrew/homebrew-core (git revision 90526c109e8; last commit 2022-02-19)
Homebrew/homebrew-cask (git revision f64eb37aec; last commit 2022-02-18)

Any suggestions for getting this to work?

Try again. I deleted the bad formula.

Thanks, @davidnewhall. I tried again and it got further, but failed with Error: upx: no bottle available!. Here's the full output:
$ brew install --verbose golift/mugs/unpoller
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.17.6
Already downloaded: /Users/nick/Library/Caches/Homebrew/downloads/5b57f962d64d554b5b211583da67a210451f1999835fc49dd1fa1b2ff349cb16--go-1.17.6.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:498f7212b386b369965b101a795320eed1f6327d8b51a4e5d6158c4b527c2df1
Already downloaded: /Users/nick/Library/Caches/Homebrew/downloads/8c74e2a1a10df3ee0fa28356737a1ec406b793bfbcabd0e1d38a0dc9243013a8--go--1.17.6.arm64_big_sur.bottle.tar.gz
==> Verifying checksum for '8c74e2a1a10df3ee0fa28356737a1ec406b793bfbcabd0e1d38a0dc9243013a8--go--1.17.6.arm64_big_sur.bottle.tar.gz'
==> Downloading https://ghcr.io/v2/homebrew/core/ucl/manifests/1.03-1
Already downloaded: /Users/nick/Library/Caches/Homebrew/downloads/b3c786216bb9a5957d1f165109fe70c2b7ffb16c04bf0f7d0b216c9c81c1d1e5--ucl-1.03-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/ucl/blobs/sha256:ef63a86669c63e486c3682494a93c9db453a33089a2a71398efb8e5e26cf5e44
Already downloaded: /Users/nick/Library/Caches/Homebrew/downloads/b45a03a3bc0166f5d6c8b799ae20996dc94b0ac38a452612bb58fbbc3a1d05b1--ucl--1.03.arm64_big_sur.bottle.1.tar.gz
==> Verifying checksum for 'b45a03a3bc0166f5d6c8b799ae20996dc94b0ac38a452612bb58fbbc3a1d05b1--ucl--1.03.arm64_big_sur.bottle.1.tar.gz'
Error: upx: no bottle available!
You can try to install from source with:
  brew install --build-from-source upx
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.

Looks like upx got yanked from brew.  The only option for using brew to install this may be to try running the command it gave you: brew install --build-from-source upx.
Other option is to install without brew (manually).

@davidnewhall hm, we could probably do this https://goreleaser.com/customization/homebrew/ and export to golift/homebrew-mugs

@nickhoffman This is fixed now. Home-brew should work, but it's still an old version. @platinummonkey will get the build to push the homebrew formula soon.


Adapt drawer layout for smaller screens

Description
Updated the drawer layout to adapt to smaller screens according to the XD.
Related JIRA Issue(s)
https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-1570
Deployment URL(s)
http://gb-drawer-layout.review.ensembl.org
Views affected
Genome browser -> Drawer

There is now a right hand border in the track panel along with white space. Probably due to reducing the width of the side wrapper?

Not sure I understand the changes in this PR.
Here's a quick mockup of what I thought would be the change. Is my model wrong?

There is now a right hand border in the track panel along with white space. Probably due to reducing the width of the side wrapper?

Also the position of the close button in the drawer does not match that of the XD.
XD:
Review site:

@imransl - these should now be fixed

For the drawer:
close button: 14px right, 15px top
right padding: 30px


How to use ?

Can you provide an example of usage ?

Sorry for the late reply, I'm gonna add one to the README

Oh, wow. I was expecting it to be easy, but I haven't touched the code in a looong while. I remember hacking this together to create my VSCode extension, thats why there are no docs and the code is a total mess. I plan add more featues to the extension, might as well clean this up and provide docs, but that will only happen in September, I'm still in the middle of my tests.
Sorry that this didn't work out.

Sorry to ping an old thread, but is there any news?

Can you @Sceat give me an example of using your forked library?

@Norbiros you can look into my @aresrpg/editor but beside that it's very tricky i don't even know myself, i managed to hack into a "working" version but it is barely usable :/

We figure it out:
https://github.com/FanthStudios/three-mcmodel
You can normally use it in Vue etc.


feat(@angular-devkit/build-optimizer): strip Angular decorators in __…

…decorate call

/cc @danbucholtz

Funny, branches starting with __ don't seem to be updated by github.


Error: foreign key constraint failed when running cargo shuttle delete

I'm getting the following error when trying to run cargo shuttle delete:
❯ cargo shuttle delete
Error: 500 Internal Server Error
message: Persistence failure: Database error: error returned from database: (code: 787) FOREIGN KEY constraint failed

I haven't managed to successfully deploy anything yet (due to #527, I think?) so this might be an invalid command, but the error message could be nicer 🙂

Hey Ben! Yeah, this one's not very kind on the eyes. We've known about this bug but must have forgotten to open an issue for it, so thanks for that!
The delete op does actually work (in that it stops the running deployment), but I believe the root of this bug is that we ignore the error in delete_deployments_by_service_id. This means the delete_service handler will proceed with stopping the deployment despite getting a FK error. When we then try to delete the service we'll get the FK error again, and since we don't ignore it here a 500 error will be returned from the handler (but the service will have already stopped).
For reference, this is the deployer handler called by cargo shuttle delete: https://github.com/shuttle-hq/shuttle/blob/main/deployer/src/handlers/mod.rs#L253

Hey @oddgrd I ran into the same error today trying to stop my deployment. I can confirm that it definitely is still running despite me getting this error.

Ah, thanks! Yes, it does seem there is an issue with stopping deployments as well. We've resolved this in a major refactor of our backend, but it may be a while until it gets merged. In other words, fixing the actual stoppage is out of scope for this issue.
An update on what we want to solve this bug (the FK error): we don't actually want to delete anything, rather we want to stop the service and change the state of the related tables to Stopped. We could also change the name of the cli-command (and associated functions) to stop rather than delete.


Update Windows Logo (Windows 11)

I think I'd like to keep the original icon as a stylistic choice, but feel free to change the file name to os_win_alt.png and I'd be happy to merge!

ok, you'd better put it in the readme


Wrong resolution from deviantart image

The program find this image with the resolution of my screen but he use the preview image from the site which is smaller.
It's write in the comment "Download for 1920x1080 resolution."
It's appening all time from the deviantart images.

Thanks for the report.
In the current build, there is not much that can be done I'm afraid. The search goes by the requirements you specify so if someone posts an image on Reddit with "1920x1080" but the image is not actually that size, it will just be downloaded and applied anyway.
However I will be adding some validation options in a future release so that the image size can be checked to make sure it meets your requirements.

Added wallpaper validation, to be included in the next release.
Will close once live.


added pino logging

Motivation
We want to have the logging in JSON format
What
Use the pino logging library which is the same as the data-sync server and outputs everything in JSON format
Why
So we can consume this later
How
Change Winston for Pino
Verification Steps
run the server :
{"level":40,"time":1532622330134,"msg":"notifier unknown or disabled: postgres","pid":16137,"hostname":"cfoskin.local","v":1}
{"level":30,"time":1532622330204,"msg":"GraphQl server mounted at /graphql","pid":16137,"hostname":"cfoskin.local","v":1}
{"level":30,"time":1532622330269,"msg":"AeroGear Sync UI running on port 8080","pid":16137,"hostname":"cfoskin.local","v":1}

Checklist:

[ ] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Additional Notes

@cfoskin Looks good overall, can we replace the sql logging function here with something like:
 logging: postgresConfig.logSql ? pino.debug : false


Mock & callsTo

This issue was originally filed by<EMAIL_ADDRESS>
What steps will clearly show the issue / need for enhancement?

Write lots of tests using mock library

What is the current output?
Have to use mock.when(callsTo(...)) and mock.getLogs(callsTo(...)) everywhere.
What would you like to see instead?
Something like mock.whenCalled(...) for .when and mock.getCalls(...) for .getLogs
What version of the product are you using? On what operating system?
mock version 0.11.0+1
Please provide any additional information below.
Would like to have shortcut methods because .callsTo is supposed to be the most often used matcher for a mock.

This issue has been moved to dart-lang/mock#6.


WIP: Docs: add general document on how pass phrases are handled

Related to #3531

Ping @dwmw2

So I'd just like to say that the topic of this PR is to document the status quo, what it looks like today and what people can do to deal with it.  While I appreciate all the comments on what can or should be done in the future, I would like to ask that such discussions be conducted elsewhere, for example in #3531 and that this PR stay with the now.

We could also document that the APIs take UTF-8, and that it's up to the applications to convert it to UTF-8. But our own apps currently don't do that.

There are sometimes comments written that I haven't read or that has disappeared.  Please tell me if I missed something.

As far as recommendations section goes there is ambiguity of following character. User would probably think of the moment when password is entered, while recommendations talk about byte sequences that are already so to say in-memory. And ambiguous point is how did it get there. Or more specifically what was the role of input method? To sense the contradiction imagine that user entered Greek password with UTF-8 input method, i.e. in-memory string is UTF-8 encoded, and now question is how would you have to process this string if you know that object was protected with iso-8859-7 string by 1.0.x. Answer if that you'd have to convert UTF-8 to iso-8859-7. But there is no such recommendation! Note that I'm not saying that there should be additional recommendation. Last one in combination with "make sure to use the same encoding again" does cover it. It's just that user who thinks of the moment the password is entered will have to fill the gap between input method and in-memory string and figure out how to arrange things so that phrase from his biological memory ends up as iso-8859-7 byte sequence.

Ok, I'm gonna have a closer look at @dot-asm's comment tomorrow.  Too tired for it for the moment, I only answered the easy pickings now...

I've done a bit of rewriting, mostly fleshing things out.  I hope that will clarify things that were unclear.  Also linked the pass phrase encoding document where it seemed relevant to do so.

Latest stuff fixed up, I hope it's to everyone's satisfaction.  I'm taking this out of WIP, as I'm confident this has taken the form it's supposed to, now we're just working out the kinks...

Reviewing this kind of document is hard. We need to banish everything we know and put ourselves in the position of a new reader, coming to this whole topic for the first time without much background knowledge at all.
So... pretend that you are new to OpenSSL and you're writing an SSL client application for the first time, which needs to allow its users to provide a client cert for authentication. The cert may be in any reasonable form — at least PKCS#1, PKCS#8 or PKCS#12.
You have observed in the PEM_read_bio_PrivateKey() man page that "if both cb and u are NULL then the default callback routine is used which will typically prompt for the passphrase on the current terminal with echoing turned off."
You think you want to use the STORE, because it fixes up all the horridness with having to detect what kind of file you have. You have discovered EVP_read_pw_string(), and your first inclination is to use it. You expect — naïvely, perhaps — that whatever form it returns the password in, is also an acceptable form to hand right back to OpenSSL for decrypting a file.
Now, with that in your head, read the document from scratch. Imagine the hypothetical newbie is going to have users in various locales including ISO8859-2, using keys with pathological passwords generated in all three of the OpenSSL1.0, OpenSSL1.1 and correct forms. Does the document make it hard for them to get things wrong? It really needs to.
Perhaps we should be providing sample code, at least for the common "I just want my user to be able to tell me to load a cert+key by its filename" case.

We need to banish everything we know and put ourselves in the position of a new reader

Yes, it's hard because it takes some degree of pedagogical talent. I for one can't offer much, which is why my remarks are mostly limited to describing how things are or how any given description conflicts with reality.
Trouble is this request grew unmanageable, it takes several attempts to load the page(*), and it needs to be completed. So maybe one more commit and let's aim for further modifications to be carried on in another request...
(*) It seems that they changes some [rendering?] timeout, as large requests used to work smoother.

A good start would be to write that code, as an example which gets everything right. I tried it, in OpenConnect. It made me really sad :)
Starting around http://advogato.p2b.tv/person/dwmw2/diary/205.html and continuing to this day :)

Merged.
8481434439e421d513350a81a01ba2e2a8e61b6e Link in passphrase-encoding(7) in relevant documentation
491c35324c9f4392ec3d59bb260bf9b7e588f881 Docs: add general document on how pass phrases are handled


Show pin button when mouse over list item

Problem description
hi
it's hard to know about invisible button
Potential solutions/workarounds
show pin button when user hover list item
Additional context
thanks for your extension
I use this extension for store my test values

You're probably using a broken theme since we don't touch the icon colors. Here's what it should look like:

i tested this on arch and fedora with gnome 43 default theme


Review documentation intro page

Review and propose changes to the intro_page.md file

Carlos, can you checkout a new branch when making changes, then submit a pull request to development?

Solved when accepting issue 14, this has been merged to development


wails: import & implement i18n

We are adding i18n in wails font-end.

Codecov Report
Patch and project coverage have no change.

Comparison is base (a894360) 42.25% compared to head (6d281cf) 42.25%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #268   +/-   ##
=======================================
  Coverage   42.25%   42.25%
=======================================
  Files          14       14
  Lines         956      956
=======================================
  Hits          404      404
  Misses        516      516
  Partials       36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


don't wr-cbe trans/rcvr's store/send actual rs strength?

I swear it did in 1.7.10
inputting result from runic altar -> comparator -> redstone -> wr-cbe transmitter
redstone shows as 2
if I place a receiver down, set to frequency, output redstone is 15
I placed a rftools trans/receiver down to test and noticed it did the exact same thing.   So, I'm trying to figure out if this is a bug (potentially in 2 mods) or if there's something wierd about 1.12.2 that you can't get around (and neither could mcjty)
WR-CBE-1.12.2-<IP_ADDRESS>-universal
Forge: <IP_ADDRESS>47

so looking at rftools side, noticed if you sneak clicked it, it had a toggle for analog mode which does work correctly.  so it does seem like wr-cbe is working in a on/off mode (digital?).  is there a way to get it to use analog I guess is the question.

@Chicken-Bones?

It is implemented digital, with no analog. There's probably no reason not to make if analog in a rewrite

A specific Receiver for analog signals, sure.


lazy/eager evaluation

store_skip instruction
lazy and eager evaluation works

a = fn() -> bool {
	print "a"
	return true
}

b = fn() -> bool {
	print "b"
	return false
}

print a() && b() # "a" "b" "false"
print b() && a() # "b" "false"
print a() || b() # "a" "true"
print b() || a() # "b" "a" "true"

No need to push a constant bool to the stack; just don't store the temporary variable.


update readme

I don't like the word issue because it is derogative. Disturbances is more accurate and corruptions is what this is specifically trying to detect. I also linked a wikipedia page on EEC.

This is the first time someone wishes to contribute to a project of mine, so I am a bit unsure about the protocols.
I think these changes look mostly fine, but I think the "corruptions" should be changed to "data corruption" to match (my understanding of) English grammar better. Can you change it in this pull request?


All data access and DAIs and DAOS should be properly implemented for NearbyCity user story

All data access and DAIs and DAOS should be properly implemented for NearbyCity user story.
Just need to finish the view side.

Tested data access as well.


telegram broken

Brand new install
Steps followed exact as readme
Appears the telegram current library is no longer compatiable i can send a curl to the link
https://api.telegram.org/bot1880082849:AAEA3upXKroG6PyxToxMWS7eGVFnlaHuH5I/sendMessage?chat_id=-1000234234&text=booooo
it appears in the channel however the bot does not work. maybe revert back? or lock it to a certain python-telegram-bot version

Works just fine for me. Your chat id looks wrong though, might wanna double check that one.


Pi3

Funktioniert das skript auch mit einem Raspberry Pi 3?

Yes, the document states (2.1 point 1) any Raspberry Pi will work. I currently use a Raspberry Pi Zero W with an alternative, yet similar setup.
Good luck.

Yes, the document states (2.1 point 1) any Raspberry Pi will work. I currently use a Raspberry Pi Zero W with an alternative, yet similar setup.
Good luck.

How does the Zero W perform? For example something like plate solving or polar alignment, is that doable?


undefined: Bitset

I have a problem when importing this package to my project. I have followed the following step to install the package :

go get go get github.com/willf/bitset
and then in the code

package database
import (
	"bitset"
         // other package
)

func GetActiveSeller(keyActiveSeller string) uint {
	var b BitSet
	b.Set(10).Set(11)
	if b.Test(1000) {
		b.Clear(1000)
	}
//some other code
}

But I still get undefined BitSet. also I tried to import the package using  import "github.com/willf/bitset". and then go get.
But still the undefined. please help me on this ? Thank you

Try something like this:

import (
	"github.com/willf/bitset"
)

var b bitset.BitSet

@lemire nope it is still doesn't work. is it just me or are you having the same problem?

Many, many people depend on willf/bitset. It is pretty standard.

The following steps on a clean machine worked for me:
~$ go version
go version go1.7.3 linux/amd64
~$ export GOPATH=/home/willf/go
~$ mkdir -p $GOPATH
~$ go get github.com/willf/bitset
~$ cat b.go
package main
import (
	"github.com/willf/bitset"
        "fmt"
)

func main() {
  var b bitset.BitSet
  b.Set(10)
  fmt.Println("Did a bit of work.")
}

$ go run b.go
Did a bit of work.


Proper multiqueue support for tun devices

This change is for Linux only.
Previously, when running with multiple tun.routines, we would only have one file descriptor. This change instead sets IFF_MULTI_QUEUE and opens a file descriptor for each routine. This allows us to process with multiple threads while preventing out of order packet reception issues.
To attempt to distribute the flows across the queues, we try to write to the tun/UDP queue that corresponds with the one we read from. So if we read a packet from tun queue "2", we will write the outgoing encrypted packet to UDP queue "2". Because of the nature of how multi queue works with flows, a given host tunnel will be sticky to a given routine (so if you try to performance benchmark by only using one tunnel between two hosts, you are only going to be using a max of one thread for each direction).
Because this system works much better when we can correlate flows between the tun and udp routines, we are deprecating the undocumented "tun.routines" and "listen.routines" parameters and introducing a new "routines" parameter that sets the value for both. If you use the old undocumented parameters, the max of the values will be used and a warning logged.
Co-author: @nbrownus

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: nbrownus:x: wadeyYou have signed the CLA already but the status is still pending? Let us recheck it.


Add Camel K 1.0.0-RC2 to upstream community operators

Signed-off-by: Nicola Ferraro<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@nicolaferraro, please rename crds:
crd-build.yaml to builds.camel.apache.org.crd.yaml
crd-camel-catalog.yaml to camelcatalogs.camel.apache.org.crd.yaml
crd-integration-kit.yaml to integrationkits.camel.apache.org.crd.yaml
crd-integration-platform.yaml to integrationplatforms.camel.apache.org.crd.yaml
crd-integration.yaml to integrations.camel.apache.org.crd.yaml
there is new naming convention for upstream, metadata.name should comply with .crd.yaml

Thanks @J0zi, does it work if we use the same convention also for the community-operator section from next release?

@nicolaferraro, I think it`s the best way.

@J0zi is this something related to the PR or the CI?

/test CVP

Travis stuck with no output, not all cvp tests triggered

/test CVP

@nicolaferraro, I see that you renamed CRDs. We have the same error
installplans.operators.coreos.com "null" not found
which was many times solved by renaming crds to reflect metadata.name. Some other issue may be blocking us here:(

pipeline issue


input field focus is not move from input field in TVOS

**Describe the bug**
when I move focus from text input to card it shows to traverse on card but whenever I click on it then the keyboard opens it means focus is still present on the input field, this issue is only present on Apple TV and other platforms are working perfectly
To Reproduce
 <Page>
        <DefaultFocus>
          <View style={styles.container}>
          {isLoading && <Loader />}
            <SpatialNavigationVirtualizedGrid
              data={gridData}
              header={
                <View style={styles.searchContainer}>
                  <DefaultFocus>
                    <SearchTextInputs onChange={setSearchQuery} />
                  </DefaultFocus>
                </View>
              }
              headerSize={HEADER_SIZE}
              renderItem={renderItem}
              itemHeight={(theme.sizes.program.portrait.height * 1.1) + 20}
              numberOfColumns={NUMBER_OF_COLUMNS}
              numberOfRenderedRows={NUMBER_OF_RENDERED_ROWS}
              numberOfRowsVisibleOnScreen={NUMBER_OF_ROWS_VISIBLE_ON_SCREEN}
              onEndReachedThresholdRowsNumber={INFINITE_SCROLL_ROW_THRESHOLD}
              rowContainerStyle={styles.rowStyle}
              style={{ backgroundColor: '#111' }}
            />
            {!gridData.length && (
              <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center', paddingTop: 200 }}>
                <Text style={{ color: 'white' }}>This Movie is available!</Text>
              </View>
            )}
          </View>
        </DefaultFocus>
      </Page>
import styled from '@emotion/native';
import { SpatialNavigationNode, DefaultFocus } from 'react-tv-space-navigation';
import { TextInput as RNTextInput } from 'react-native';
import { useRef, useEffect } from 'react';
import { Box } from './Box';
import { Spacer } from './Spacer';
import React from 'react';
import { scaledPixels } from '../helpers/scaledPixels';

/**
 * It works, but it's not perfect.
 * If you press the back button on Android to dismiss the keyboard,
 * focus is in a weird state where we keep listening to remote control arrow movements.
 * Ideally, we'd like to always remove the native focus when the keyboard is dismissed.
 */
export const SearchTextInputs = ({ onChange, value }: { onChange: any, value: any }) => {
  const ref = useRef<RNTextInput>(null);
  const handleSelect = () => {
    // Focus on the input after a short delay
    setTimeout(() => {
      ref?.current?.focus();
    }, 500);
  };

  const handleBlur = () => {
    // Blur the input when the focus is lost
    console.log('oin blur------------------------------',ref?.current)
    ref?.current?.blur();
  };

  return (
    <Box>
      {/* <DefaultFocus> */}
        <SpatialNavigationNode
          isFocusable={true}
          onSelect={handleSelect}
          onBlur={handleBlur}
        >
          {({ isFocused }) =>
            <StyledTextInput ref={ref} value={value}
              onChangeText={onChange}
              placeholder='Search'
              keyboardType='email-address'
              isFocused={isFocused}
            />
          }
        </SpatialNavigationNode>
      {/* </DefaultFocus> */}
      <Spacer direction="vertical" gap="$5" />
    </Box>
  );
};

const StyledTextInput = styled(RNTextInput)<{ isFocused: boolean }>(({ isFocused, theme }) => ({
  borderColor: isFocused ? 'white' : 'gray',
  borderWidth: 2,
  borderRadius: 8,
  color: 'white',
  backgroundColor: theme.colors.background.inputBG,
  paddingHorizontal: 8,
  height: scaledPixels(80),   //40,
  width: scaledPixels(550),
  alignSelf:'center',
  textAlignVertical: 'center',
}));

Expected behavior
need to move focus from textinput field and after click card's event fires rather than input field event
Additional context
working with
"react-tv-space-navigation": "^3.4.0",

@pierpo please look into it.

Hi! I'm sorry but your issue is not understandable at all. I tried the text input on iOS and it seems to work well in this simple example.
https://github.com/user-attachments/assets/038cd96a-ecb0-4155-958c-dbf65456e2b9
And please don't ping random people from the bamlab organization either. You're spamming them and they are absolutely not working on this library.


All-day events limit

There's an arbitrary limit of 5 visible all-day events. Either make this configurable, or make the divider draggable, and remember the size.

1- make it configurable: (in the sense: configuring the max number of events displayed right?): probably doable, by exposing FullCalendar's eventLimit.
2- make the divider draggable (and remember the size): definitely harder while we keep FC as our renderer, but the UX would definitely be smoother imho.
I'll add 1- to my todo and we can experiment if it's good enough for now, I'll update this once I've a working prototype.


PR: Fix tests

It seems that the pwd test is timing out

Please help me to fix the style errors. Just add my remote, checkout my branch and push to it directly.

It seems that the pwd test is timing out

The tests are failing because there's a problem when bower is trying to install its dependencies.

I can see this:
bower promise-polyfill#^6.0.2         mismatch Version declared in the json (2.1.0) is different than the resolved one (6.0.2)
warning: no files found matching '*' under directory 'spyder_terminal/server/static/'

So static files are not installed because bower files to install promise-polyfill

Should I update the version on the bower.json file?

It seems to be a warning, at least according to https://github.com/WickyNilliams/enquire.js/issues/78#issuecomment-25846525
Let me try to run things locally to verify

@andfoy, please don't add more commits here. The problem is in MANIFEST.in and I' about to solve it :-)

@ccordoba12 Thanks a lot!

@andfoy, I fixed installation and tests locally, but tests in Circle are still failing because terminals don't seem to be created there. Please take a look at what's printed in the last run.
I don't know what to do about this, perhaps adding a test that verifies that server is app and running :-/

Maybe this is related to #27

There's a problem installing the bower dependencies

It's only failing for the PyQt 5.8 wheels, so it's a great improvement!

I don't know if I should increase the timeout

You could try it

It still fails on PyQt 5.8

I don't know why is failing, the server is running on that instance

Maybe we should wait some time between command executions?

@ccordoba12 Is this related to Qt5.8 directly?

@ccordoba12 It seems like pytest-qt keyClicks is not working on Qt5.8, also is not possible to get the HTML by the function check_pwd

BTW, the plugin is working on that version

@ccordoba12 Shall we remove the 5.8 tests?

Thanks for taking the time to finish this one. I'm really busy right now :-)


Erros and Passes are being marked as Failures

Maybe it's the regex?
failed_test_marker = re.compile(r"^__.*\s(.*)\s__+")

Thought: since we also use the TestInfo class to tag individual tests with P/F/S, maybe we don't even need to tag lines that we think are passed/failed/skipped tests?


feat(proto): try to use buf

always result:
Failure: too many requests

Please see https://buf.build/docs/bsr/rate-limits for details about BSR rate limiting.


Keep package-lock.json on 'make clean'

Thank you for the PR @thiagodelgado111! ❤
LGTM, will merge.


Move import ColumnOption used only by alter-table feature

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 98.632%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
36922

Relevant Lines:
37434

💛  - Coveralls


Bugfix

textare vertical is middle
and prev request mixed in tab is delete

Please pull latest master into your branch to avoid conflicts.

OK to merge, after removing conflicts (pull master into this branch)

OK, I merged.


Cannot clear DAG with many past instances -- sqlite3.OperationalError: too many SQL variables

I let a DAG with a start_date far in the past run for too long.  It accumulated a lot of past instances.  Unfortunately, I can't reset to a new start_date using a clear (through CLI or UI) because sqlite complains that it is getting too many variables in call.  See below for error message.  I think I can solve this short term by clearing 2 days at a time, but a fix would be useful for others.
related to issue: https://github.com/airbnb/airflow/issues/456
thanks
last airflow call using code from recent master was:
File "/home/user/anaconda3/envs/acda35/lib/python3.5/site-packages/airflow/models.py", line 89, in clear_task_instances
Traceback (most recent call last):
File "/home/user/anaconda3/envs/acda35/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/home/user/anaconda3/envs/acda35/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: too many SQL variables
fuller error:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) too many SQL variables [SQL: 'SELECT dag_run.id AS dag_run_id, dag_run.dag_id AS dag_run_dag_id, dag_run.execution_date AS dag_run_execution_date, dag_run.start_date AS dag_run_start_date, dag_run.end_date AS dag_run_end_date, dag_run.state AS dag_run_state, dag_run.run_id AS dag_run_run_id, dag_run.external_trigger AS dag_run_external_trigger, dag_run.conf AS dag_run_conf \nFROM dag_run \nWHERE dag_run.dag_id IN (?) AND dag_run.execution_date IN (?, ?, ?, ?, ?, ?,..... lots and lots....

@zigeuner
To set a new start date, you should rename your DAG. I use the convention my_dag_v1, my_dag_v2, my_dag_v3. This is documented on https://github.com/airbnb/airflow/wiki/Airflow-Common-Pitfalls
It is not ideal and we are starting to discuss better way to set this dynamically. For now, that is your work-around.
Additionally, as mentioned here, 999 is the limit for SQLite:
http://stackoverflow.com/questions/7106016/too-many-sql-variables-error-in-django-witih-sqlite3/8433514#8433514
SQLite is okay for initially getting your system up, but we recommend using a DB that more closely mimics your production and qa deployments. DBs like mysql, postgresql do not impose limits in the IN-clause, though I am not sure about limits on host parameters. In either case, we leave to SQLAlchemy, our ORM and it's DB driver providers to solve the details of each DB.


Ubuntu 15 renames node to nodejs

Ubuntu 15 renames node to nodejs.
This causes problems with npm install ibapi
Workaround:
cd /usr/bin
ln -s nodejs node

It's the node.js version check at preinstall.sh I will add check for nodejs command as well.

@danbikle Can you type in node -v and tell me the version you see? Is it v0.10.25?

For my own record https://github.com/joyent/node/issues/3911 is the reason. The install fails at node-gyp because of namespace issues in debian. I can't fix this on my end.
Cleanest solution (if one were to install node.js using debian) is to do sudo apt-get install nodejs-legacy it sets proper path for node.js.

dan@ann15:~/nia/examples $
dan@ann15:~/nia/examples $ node --version
v0.10.25
dan@ann15:~/nia/examples $
dan@ann15:~/nia/examples $
dan@ann15:~/nia/examples $ nodejs --version
v0.10.25
dan@ann15:~/nia/examples $
dan@ann15:~/nia/examples $ ll /usr/bin/node*
lrwxrwxrwx 1 root root       6 Apr 30 04:27 /usr/bin/node -> nodejs*
lrwxrwxrwx 1 root root      33 Apr 26  2014 /usr/bin/node-gyp -> ../share/node-gyp/bin/node-gyp.js*
-rwxr-xr-x 1 root root 1462424 Mar 27  2014 /usr/bin/nodejs*
dan@ann15:~/nia/examples $
dan@ann15:~/nia/examples $


Fix select all with large response

Closes #2478

I've tried 2 simples things for the CopyButton position:
Absolute top right:

Float right

As you can see the absolute position is not a good choice, it will hide part of the response...
Using a simple float: right would do the job, but we "loose" some space before the response body.
I will try to find something else...

Hmm, thanks for trying this. Both aren't ideal, one covers text and the other adds a lot of blank space. I'm not quite sure what the best option for this is, yet.

I will try to add an action in the Preview dropdown to copy the response data in the clipboard.

I will try to add an action in the Preview dropdown to copy the response data in the clipboard.

👍
@nijikokun / @erickrico if you have any feedback here that'd be awesome. Some context in #2478. tl;dr is, the ctrl + a select-all action is quite slow with a large response (due to CodeMirror), so an option is to put a copy-to-clipboard button somewhere, but we are unsure on UI placement. There are some options suggested in the issue as well.

I've added an action Copy raw response in the Preview dropdown

The above, inside the dropdown, seems like a good solution for now. That said, I do fear that it might be hidden and a user will encounter the same issue that was originally raised inside of #2478.
My personal opinion (to move it out of the way is to place it in one of these two locations:

Or here:

cc @erickrico

It looks like this when the button in the Response pane header

My two cents:
Placing it in the top header disconnects it from what it relates to. Additionally, the copy button is also quite closely tied to which response viewer is currently shown. If the PDF viewer is shown, the copy button doesn't apply, but it does apply for JSON and raw viewers, for instance.
I don't have high hopes for this, but if it's at all possible to wrap text around the button, should it ever be in a position to overlap, that'd be awesome (see gif here). It will need investigation into CodeMirror to determine whether it is achievable.

My two cents:
Placing it in the top header disconnects it from what it relates to. Additionally, the copy button is also quite closely tied to which response viewer is currently shown. If the PDF viewer is shown, the copy button doesn't apply, but it does apply for JSON and raw viewers, for instance.
I don't have high hopes for this, but if it's at all possible to wrap text around the button, should it ever be in a position to overlap, that'd be awesome (see gif here). It will need investigation into CodeMirror to determine whether it is achievable.

i agree, especially if the copy button disappear one you switch to a different tab (header cookies, timeline) i would suggest to keep it under the "preview dropdown"

I agree with the discussions above, let's keep in the dropdown for now. Given that we are also on an older version of codemirror this might be resolved when we upgrade in the future.


Allow element.evaluate to take functions

Like so:
functions.evaluate = function(element, expression) {
  if (/^function \(/.test(expression)) eval("expression = " + expression);
  return angular.element(element).scope().$eval(expression);
};

What's the use case for this feature? It would be great if you could expand your example to show how you'd like to use this in a test. It seems like you could get this functionality really easily by just doing browser.executeScript.

For me the use case is it to be able to set values on the scope, and I might as well use the protractor wrapper because you've got the element and scope already figured out here.  If element.evaluate is going to call $eval anyway, might as well allow it to take a function, like $eval does.  I can turn this in to a real PR with tests and docs if you like, just got other things to do first so it might be awhile.

You can already do element.evaluate('a=90');, which will set scope.a = 90. Is this not sufficient?

I thought I had tried that, but actually I was doing something more complex:
date = moment().add(16, 'days').format('YYYY-MM-DD')
I could format the date outside the evaluate and then set it, so you are correct, I don't need the feature to solve this particular case.  If I find a situation where I do need it, I'll badger you again.

OK great - I'll close this for now then.


ArrayIndexOutOfBounds when parsing query string with no value

Framework version: 1.5
Implementations: Any

Scenario
When sending a request that contains a query string parameter with no value AwsHttpApiV2ProxyHttpServletRequest throws an ArrayIndexOutOfBoundsException
Expected behavior
Parses the query string correctly and sets a null value for the parameter name
Steps to reproduce
Create an application that receives a query string parameter behind AWS HTTP APIs and send a request with the parameter, the = value separator, and no value:
`curl https://sample-api/params?user=
Full log output
ERROR 1 --- [main] c.a.s.p.internal.LambdaContainerHandler  : Error while handling request
java.lang.ArrayIndexOutOfBoundsException: 1
at com.amazonaws.serverless.proxy.internal.servlet.AwsHttpApiV2ProxyHttpServletRequest.parseRawQueryString(AwsHttpApiV2ProxyHttpServletRequest.java:492)

@sapessi seems that you already raised and fixed the bug I was opening (which I had reported to AWS support a few hour back).
I'll close the one I had raised.
Also, is there any timeline as to when the fixed version will be available for usage?

Yeah @srp321 - I created this because support contacted me. I hope to have a 1.5.1 path release out today - latest tomorrow. I'll update this issue once it's done.

Yeah @srp321 - I created this because support contacted me. I hope to have a 1.5.1 path release out today - latest tomorrow. I'll update this issue once it's done.

that's great news!
Thanks for the prompt fix

Release 1.5.1 is making its way to maven central and should be available later today. 🚀


QR Code Scanning

Description of the new feature / enhancement
I'd like to see either a separate QR code scanning option by using a selection box, or add the QR Code scanning to the text extractor function, then putting the content of the QR code onto the clipboard in a similar manner.
Scenario when this would be used?
Any time you need to scan a QR code from within your browser or in an image file to follow the link or pull up the info on your PC rather than having to scan with your phone and be stuck with the link in a phone browser.
Supporting information
No response

/dup #4859


Problem on running on CLI

When i run the examples of SANSA-Stack nothing happen as shown in the snapshot

Is the path to the jar file correct? (spark submit does not complain if it's incorrect)


VIH-6894 Return a none user role when aad user is not in an AAD group

https://tools.hmcts.net/jira/browse/VIH-6894

/azp run

/azp run


Ubuntu: can't read file or directory names and buttons

Netron app and version: 8.0.7 Desktop
OS and browser version: Ubuntu 24.04.1 LTS

Steps to Reproduce:

Open the app
Try to pick a model

Please attach or link model files to reproduce the issue.

@eademir can you investigate why this is happening and how to reproduce it. Does this reproduce with other Electron apps?

Hi @lutzroeder . There is no problem with other electron apps. In the app, this only happens when I try to select a file. Rest of the content is readable.  I installed it using  snap install netron if this helps. And, arm64 Ubuntu LTS.

@eademir have you tried the same file open dialog in other Electron apps and compared if they are deployed the same way, tried building from source or AppImage. electron-userland/electron-builder#5626 has no Snap support for arm64 so assuming you are running x64 bits using emulation? This will likely require you investigating further and driving fixes upstream.

@lutzroeder sorry, I was trying to write amd64. I'll investigate it. it works correctly when I try to use pop up in VS Code.


Add Customizable Select Component with Options Conversion

Overview:
This PR introduces a new reusable Select component that provides a customizable dropdown with the ability to handle a wide range of data types. The component converts any given array of objects into a standard format with label and value properties, allowing seamless integration with various data sources and use cases.

Key Features

Customizable Display: Accepts optional label and selectClasses for custom styling using Tailwind CSS classes.

Flexible Options Handling: The convertToOptions function allows developers to pass any array of objects and specify which properties should be used as labels and values.

Dynamic Dropdown Positioning: The component dynamically positions the dropdown based on the button’s layout, ensuring a responsive and intuitive user experience.

Easy Integration: Designed to integrate smoothly with existing projects and state management solutions, thanks to simple onSelect callback and selectedValue state handling.

Accessibility Improvements: The dropdown is displayed in a Modal for improved accessibility and focus management.

Technical Details:

Component Props:

label: (optional) Text label displayed above the dropdown.
labelClasses: (optional) Custom CSS classes for the label.
selectClasses: (optional) Custom CSS classes for the dropdown button.
options: Array of any objects, which are internally converted to {label, value} pairs.
onSelect: Callback function triggered upon selecting an option.
selectedValue: The currently selected value.
placeholder: (optional) Placeholder text when no option is selected, defaults to "Select an option".
labelKey: Key of the object property to be used as the option label.
valueKey: Key of the object property to be used as the option value.

Usage
Example usage of the Select component with an array of objects:
const data = [
  { id: 1, name: 'Option 1' },
  { id: 2, name: 'Option 2' },
];

<Select
  label="Choose an option"
  options={data}
  onSelect={(value) => console.log(value)}
  labelKey="name"
  valueKey="id"
/>

Motivation:
This component enhances the existing component library by providing a more flexible, robust solution for dropdown selections, addressing both common and complex use cases without sacrificing simplicity.
Next Steps:

Update mdx image raw image reference to docs ( important! )
Additional unit tests could be added to cover more edge cases.
Consider expanding styling options for more customization.

Thanks for the contribution! Love the details


Expanded Design System

Please see the README in this branch for installation and usage instructions.
Quickstart:

To get started with development, clone this repo:
git clone git@github.com:stencila/style.git
Then install the necessary Node packages:
npm install && npm run bootstrap
Start Storybook and watch for CSS changes inside /packages/*
npm run dev

The approach to writing CSS selectors is to target semantic HTML tags, augmented and refined using WAI-ARIA attributes.
An example of this approach can be seen in the TabList component
The CSS is written using PostCSS and Tailwind
The components are documented using plain HTML and StorybookJS.
@nokome and I discussed about switching the component documentation to use React to make use of some React only Storybook add ons which would help in documentation and providing easier copy/pasting of the components.
However I'm also very interested in seeing if we can use StencilJS as the philosophy very much aligns with our current approach and engineering design philosophy.

which would help in documentation and providing easier copy/pasting of the components....However I'm also very interested in seeing if we can use StencilJS.

While it would be good to have easier copy/pasting etc I think we should make do with storysource (which is used on master BTW). This would keep this front end framework agnostic - and just about HTML + CSS.
I am also interested in StencilJS, but also in lit-element, and think we need to evaluate the choice of front-end framework as a separate exercise.

Closing in favour of https://github.com/stencila/designa/pull/14


feat(Control/Functor): port file

mathlib3 SHA: 71ca477041bcd6d7c745fe555dc49735c12944b7

[x] depends on: #588

Notes:

There is a discrepancy between the Lean 3 and Lean 4 types of has_seq.seq and Seq.seq. I added an ₓ for alignment.
There were one or two places where the existing simp or rw calls didn't succeed, but I'm not entirely sure why.
In Functor.Comp.functor_comp_id and Functor.Comp.functor_id_comp I had to use Id instead of id, because only the former has the Monad instance.
I had to change the imports, but I think what is there now is minimal.

Note: this is a literal duplicate of #612 created in an attempt to circumvent build failures

This PR/issue depends on:

leanprover-community/mathlib4#588
By Dependent Issues (🤖). Happy coding!


fix the issue of not reading too long file.

longer than 65565 bytes content will not be processed.

although a bit offtopic, but i recommend (?m)(?:text = "|[^s]tr\(["'])(.*?)(?:"|["']\)) change to (?m)(?: = "|[^s]tr\(["'])(.*?)(?:"|["']\)) to get custom export variable support.


Add Inky Frame examples and other misc fixes

Good grief you've been busy - and thorough - thank you!


gllvm: init at 2018-02-09

Concurrent version of WLLVM written in go,
more self-contained and faster.

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

This is just the bare tool itself, like the WLLVM package we have,
and needs a wrapper or similar to work in Nix builds.

@GrahamcOfBorg build gllvm

Success on aarch64-linux (full log)
Attempted: gllvm
Partial log (click to expand)
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
shrinking RPATHs of ELF executables and libraries in /nix/store/vgycjiwyysb68pybjlsjhhvsilxi29va-gllvm-2018-02-09
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/vgycjiwyysb68pybjlsjhhvsilxi29va-gllvm-2018-02-09
/nix/store/vgycjiwyysb68pybjlsjhhvsilxi29va-gllvm-2018-02-09/share/go/src/github.com/SRI-CSL/gllvm/.travis/test.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash -x"
checking for references to /build in /nix/store/vgycjiwyysb68pybjlsjhhvsilxi29va-gllvm-2018-02-09...
/nix/store/jpay25kckm4fz7wcq3f1pp4xb654jbbg-gllvm-2018-02-09-bin

Success on x86_64-darwin (full log)
Attempted: gllvm
Partial log (click to expand)
/private/tmp/nix-build-gllvm-2018-02-09.drv-0/go /private/tmp/nix-build-gllvm-2018-02-09.drv-0
/private/tmp/nix-build-gllvm-2018-02-09.drv-0
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin/bin
patching script interpreter paths in /nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/4bn1prc535h9si7p27qcjnmci3q33xil-gllvm-2018-02-09
/nix/store/4bn1prc535h9si7p27qcjnmci3q33xil-gllvm-2018-02-09/share/go/src/github.com/SRI-CSL/gllvm/.travis/test.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash -x"
/nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin

Success on x86_64-linux (full log)
Attempted: gllvm
Partial log (click to expand)
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
shrinking RPATHs of ELF executables and libraries in /nix/store/cvblscllkx2whgs9cbkj2djwjgpb62dz-gllvm-2018-02-09
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/cvblscllkx2whgs9cbkj2djwjgpb62dz-gllvm-2018-02-09
/nix/store/cvblscllkx2whgs9cbkj2djwjgpb62dz-gllvm-2018-02-09/share/go/src/github.com/SRI-CSL/gllvm/.travis/test.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -x"
checking for references to /tmp/nix-build-gllvm-2018-02-09.drv-0 in /nix/store/cvblscllkx2whgs9cbkj2djwjgpb62dz-gllvm-2018-02-09...
/nix/store/mqzrs2zw5zls5jwp6zw0qi3d3gbhisik-gllvm-2018-02-09-bin

Success on aarch64-linux (full log)
Attempted: gllvm
Partial log (click to expand)
/nix/store/jpay25kckm4fz7wcq3f1pp4xb654jbbg-gllvm-2018-02-09-bin

Success on x86_64-linux (full log)
Attempted: gllvm
Partial log (click to expand)
/nix/store/mqzrs2zw5zls5jwp6zw0qi3d3gbhisik-gllvm-2018-02-09-bin

Success on x86_64-darwin (full log)
Attempted: gllvm
Partial log (click to expand)
/private/tmp/nix-build-gllvm-2018-02-09.drv-0/go /private/tmp/nix-build-gllvm-2018-02-09.drv-0
/private/tmp/nix-build-gllvm-2018-02-09.drv-0
post-installation fixup
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin/bin
patching script interpreter paths in /nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/4bn1prc535h9si7p27qcjnmci3q33xil-gllvm-2018-02-09
/nix/store/4bn1prc535h9si7p27qcjnmci3q33xil-gllvm-2018-02-09/share/go/src/github.com/SRI-CSL/gllvm/.travis/test.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash -x"
/nix/store/38qz3azylvmir7jbkni1hvk9w20wvipn-gllvm-2018-02-09-bin


Add better way to upload large external datasets

Currently Clipper is uploading large external datasets and using the API to do this is a pain. We need to come up with a better way. This could include adding files to the Aerie file system directly, or some kind of streaming file input solution.
Related to https://github.com/NASA-AMMOS/aerie/issues/515

@camargo @parkerabercrombie I'm taking a crack at this one now. It seems like adding an extendExternalDataset action is the most straightforward option, so I'm starting there. This will at least make it possible to upload large datasets - if perhaps not in the most efficient way.

So just to be clear extendExternalDataset would allow uploading the dataset in chunks?

So just to be clear extendExternalDataset would allow uploading the dataset in chunks?

Yes, exactly.
Notionally I'm imagining keeping the same shape as addExternalDataset, with the following differences:

Instead of a plan id, provide a dataset id
Do not provide the dataset start time - that would be assumed to be the same as the original dataset

As I'm working through it now, I'm leaving the possibility open to add wholly new profiles as part of addExternalDataset (so, if the profile exists, add the segments to the end - if it doesn't, make a new profile). If that feels like a foot-gun I can restrict extendExternalDataset to only allow appending segments to existing profiles.

Thanks for the effort on this. I was able to get a more realistic dataset from the GNC team. Unfortunately it's a 2.7 GB file for a six week plan. We did some back-of-the-envelope math and found that we can only upload about 60 data points at a time before we hit the hasura payload size limitation, which would mean we we'd need more than 32,000 requests to upload the full file 😬 . I'm asking the GNC folks if this is really what they need to see in Aerie. Hopefully we can do something on the data production side, because I don't think the extendExternalDataset solution will scale to this data size.

@parkerabercrombie In the worst case if all of that data is needed, we could try cranking up the max request size in Merlin as proposed in https://github.com/NASA-AMMOS/aerie/issues/515 so fewer requests are needed. I am assuming that is the data limit you are hitting? Or is there another one in Hasura?

I think it's just the limitation mentioned in #515 (I was mis-remembering when I said hasura).

Unfortunately, it does not look like there's a good way to do client-side compression of mutations (the hasura docs only mention compression of responses, and this issue confirms that).
I'll continue to ponder....


if statement fetch all rows, slowdown

material.frontend.views.list.DataTableMixin.get_data_attr    line 220
please change to something like this:
if hasattr(self, 'object_list') and self.object_list is not None:
https://github.com/viewflow/django-material/blob/615913ea86db35e56e518a772d317dc44f392f2b/material/frontend/views/list.py#L220
https://docs.djangoproject.com/en/4.0/ref/models/querysets/#when-querysets-are-evaluated

Thank you for good point! I wasn't able to spot the problem
Seems this fixes it? https://github.com/viewflow/django-material/commit/55561ac10e40c5e21bbc7fc42dba77a13b20384e


[Hub Generated] Review request for Microsoft.ChangeAnalysis to add version preview/2020-04-01-preview

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@alexaloni
There is lots of CI failure on this PR.  Ping when that is updated and we can sign off on the PR

/azp run automation - sdk

@weidongxu-microsoft   & @KrisBash  , all required checks pass , the system metadata is added. Please review and approve .

@weidongxu-microsoft   & @KrisBash  , all required checks pass , the system metadata is added. Please review and approve .

/azp run automation - sdk

@weidongxu-microsoft  & @KrisBash  all the required checks passed and system data added. Please review and approve!

/azp run automation - sdk

@KrisBash ahh sorry I forgot to commit last change,  it's committed now - please review.

/azp run automation - sdk

/azp run automation - sdk

@KrisBash there is linter error : Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'ConfigurationProfileResource' has extra properties ['systemData'].
But based on the spec : systemData should be top level property:

/azp run automation - sdk

/azp run automation - sdk

@KrisBash there is linter error : Top level properties should be one of name, type, id, location, properties, tags, plan, sku, etag, managedBy, identity, zones. Model definition 'ConfigurationProfileResource' has extra properties ['systemData'].
But based on the spec : systemData should be top level property:

@akning-ms Hi Arthur, do you aware of this updated ARM requirement? Do we have any doc about it? If this is correct, we need to update Lint, as well as client SDK as well.

@akning-ms Arthur Ning FTE Hi Arthur, do you aware of this updated ARM requirement? Do we have any doc about it? If this is correct, we need to update Lint, as well as client SDK as well.

Yes. systemData is one of top properties now which is ARM new added. our new Lint rule to support  this is ready for release soon.

Optionally systemData could be standardized in common-type?
BTW systemData is already defined in common-types which can be ref :
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/common-types/resource-management/v1/types.json#L349

@alexaloni All approved. Let me know when you need to merge.

/azp run automation - sdk

/azp run automation - sdk

/azp run

/azp run automation - sdk


🚀 Feature: expose all schedulers via API (or coreServices)

🔖 Feature description
In the old backend code you could do something like this:
async function makeCreateEnv(config: Config) {
  const pluginSchedulers: ExtendedTaskScheduler[] = [];
  // ...
  return {
    createEnv: (plugin: string): PluginEnvironment => {
       // ...
      pluginSchedulers.push({ name: plugin, scheduler });
      return {
        // ...
      }
    },
    pluginSchedulers:
}

And that way you get hold of each and every scheduler in the system. I could not find a way to do it in the new backend system. The way of how the new backend system isolates each plugin into it's own environment makes it really difficult to trigger other schedules or even fetch information about scheduled tasks.
🎤 Context
DevTools (https://github.com/backstage/backstage/blob/master/plugins/devtools/README.md) would be a natural place for showing what kind of scheduled tasks the system has. Or even better, have a button that triggers given task.
✌ Possible Implementation
Not sure how to approach this keeping scalability (https://backstage.io/docs/deployment/scaling) & architecture in mind. Maybe each plugin should expose 'standard' schedule api that could be queried by other plugins? Each endpoint should be behind authorization / authentication to prevent DOS attacks and such, but the idea itself sounds reasonable.
Other option would be exposing the schedulers via coreServices but I'm not sure how well that works with multiple instances.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

Ping @pjungermann on this one too

@webark can't remember if you are on the new backend system yet, wondering if this impacts you?
@drodil same, didn't you also have something like this? Yeah, you did it was this PR: https://github.com/backstage/backstage/pull/17711

we have yet to move to the new backend system.. :/
I was planning on wrapping the current scheduler in our own service. We do this in the way you can in our current legacy backend implementation. Is the current scheduler a service? I haven't looked at the code yet. If it was, you could overwrite it right? I thought services work kind of like apiFactories in that way.

Yes, you can replace the implementation for a given service ref in a sort of similar way as utility APIs in the frontend. But we've a couple of times now encountered use cases for services and plugins to communicate events outward to others, and this seems to me to fit the bill.

cross linking this to https://github.com/backstage/backstage/pull/22671

export const backendTasksManagerServiceRef = createServiceRef<PluginBackendTasksManager>({
  id: 'backend-tasks-manager.service',
  scope: 'plugin',
  defaultFactory: async service =>
    createServiceFactory({
      service,
      deps: {
        scheduler: coreServices.scheduler,
        rootLogger: coreServices.rootLogger,
        config: coreServices.rootConfig,
        pluginMetadata: coreServices.pluginMetadata,
      },
      async createRootContext({ config, rootLogger }) {
        return BackendTasksManagerService.fromConfig(config, { logger: loggerToWinstonLogger(rootLogger) });
      },
      async factory({ scheduler, pluginMetadata }, backendTasksManager) {
        return backendTasksManager.forPlugin(pluginMetadata.getId(), scheduler);
      },
    }),
});

We are doing this under the new backend to access all schedules from all plugins. as an FYI.
@freben is this what you would expect?

Is this an alternative reimplementation of effectively the entire task manager? I'm not sure what it is I'm looking at, not recognizing the BackendTasksManagerService type etc.
I mean, sure. I've been meaning to look into adding a dependency on coreServices.rootHttpService in the coreServices.scheduler factory, and adding a .backstage/scheduler/v1/tasks route or similar that offers up the node's overview state. But even if I did, that'd only be a piece of the puzzle since we don't have plugin / deployment discovery as a feature yet. That is, even if we can inspect the state of a given node in a sensible way, there's no way yet to enumerate all nodes and unifying their states.

Aight, no it's all good, I was just wondering how it was interacted with - thought there would be an httpRouter dependency or so in there at least. And yeah the problem remains to make it possible to enumerate and reach all backend instances (or at least one instance of each type of deployment, since the state is in their shared database).

There's a separate router that uses the root service to look up the schedules and adds api actions to them. Right now that's a legacy plugin integration still, but will be its own service later.
And each plugin still stores thier tasks in thier own DB, this just, due to the root class being created, can talk between them.
once we start to break up the backed, some could get peeled off from the backend that is serving the UI, but i think you could use the discover service to find all those hosts i believe. Right? This aspect i'm hoping can have a way to get it out of the existing apis, but there might have to be some kind of "hosts" array that we manually define and iterate over. Some backends might not be connected to the ingress network, but if you add that plugin to a backend that is at some level, it should expose the schedules I haven't tested the split deployments, and are still about 3 months out from that.


Update chart versions after ERE release

TODO:

update images
get rid of Spark 2.4.7

We had the following chart versions:

Livy: 0.4.21
Metastore: 0.2.1
Spark HS: 0.4.12
Spark TS: 0.2.2

Than we had to do another ERE release.
And when I was updating charts versions there I decided to create new minor version for the charts specific for that ERE release in order to prevent bugfix number collisions between bugfixes for ERE-5.6.5 and for EZUA fy24-q3.
So the following versions reserved for ERE-5.6.5:

Livy: 0.5.*
Metastore: 0.3.*
Spark HS: 0.5.*
Spark TS: 0.3.*

And the main purpose of this PR is to bump versions for fy24-q3 release to be newer that that for that ERE release.
Also, I've removed mysql-operator and spark-client charts as they are not supported in EZUA as long as mentions of Spark 2.