Support for Javascript + "tape"

Tape is a minimalistic test runner for Javascript:
https://github.com/substack/tape
As you can see from the above link, it also supports many formatters/reporters. From what I understand of vim-test so far, it looks like you could take your pick from one of those as long as core support for tape is added.

This seems like a reasonably popular JS test runner, so it makes sense to include it in vim-test. The only non-trivial part is figuring out how to correctly support formatters, since each one seems to be used a bit differently. I will try to get on it tomorrow.

I haven't found time for integrating tape, but it would be great if someone from tape users could write an integration. I will close this then, as it is not a feature that I have time to implement.

it would be great if someone from tape users could write an integration

Isn't that the point of this ticket? I recommend you keep tickets like this open so that people that want to contribute can have a reference.

It is fairly easy to implement tape support, and I've already did it. I even allowed a #reporter config to specify one of the custom reporters if needed.
However, it is impossible to differentiate between the different javascript frameworks using just the #test_file methods. Both Mocha and Tape can have js files under 'test/tests' directory, and the current design of a mere file pattern check is insufficient to differentiate between the two. I had to check whether node_modules/.bin/mocah vs node_modules/.bin/tape existed along with the file pattern in order to differentiate between which one to use. For example:
function! test#javascript#mocha#test_file(file) abort
  return filereadable('node_modules/.bin/mocha') && a:file =~# g:test#javascript#mocha#file_pattern
endfunction

and
function! test#javascript#tape#test_file(file) abort
  return filereadable('node_modules/.bin/tape') && a:file =~# g:test#javascript#tape#file_pattern
endfunction

Checking these local binaries is the only way to differentiate between them, otherwise one of them will always take precedence.

Thank you for the investigation. Yes, that's why I made #test_file functions, so that in addition to pattern matching you can also inspect the environment for whatever you can find.
I like most your first proposed apporach, where you check for the executables in node_modules. It's great that you also thought of reporters, do you think that you could make the #reporter variable accept an array, which allows you to pipe multiple reporters at the end? I saw somewhere that this can be done and is useful. In that case it should probably be named #reporters.

@bugeats kindly test the PR with your test files.

Added in #119!


lodash missing from dependencies

Looks like lodash is missing from package.json deps

added lodash to dependency in v 0.1.9


Fix issue with AddMaxMinTemporalIndicesTask and improve example

PR that:

improves the handling of NaNs in AddMaxMinTemporalIndicesTask
changes interpolation task in example so that running times are acceptable

Codecov Report

Merging #159 into develop will decrease coverage by 0.06%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #159      +/-   ##
===========================================
- Coverage    78.61%   78.54%   -0.07%
===========================================
  Files           42       42
  Lines         4507     4503       -4
===========================================
- Hits          3543     3537       -6
- Misses         964      966       +2

Impacted Files
Coverage Δ

features/eolearn/features/temporal_features.py
94.59% <100%> (-2.85%)
:arrow_down:

Continue to review full report at Codecov.

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


Minimal canvas example panics on Windows with debug assertions enabled

When I configure Pathfinder to check GL errors based on debug_assertions as per #182, I've found that the latest master panics when running the minimal canvas example.  However, disabling the debug assertions causes everything to work fine.
I thought this might be relevant to #178, in that perhaps getting the minimal canvas example to run without panicking in debug mode might also fix whatever is at the root of #178, which could be easier than building the Unity plugin and stepping through it.
Anyways, here's the stack trace when running the minimal canvas example:
thread 'main' panicked at 'GL error: 0x501 (INVALID_VALUE)', gl\src\lib.rs:928:13
stack backtrace:
   0: std::sys::windows::backtrace::set_frames
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\sys\windows\backtrace\mod.rs:94
   1: std::sys::windows::backtrace::unwind_backtrace
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\sys\windows\backtrace\mod.rs:81
   2: std::sys_common::backtrace::_print
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\sys_common\backtrace.rs:70
   3: std::sys_common::backtrace::print
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\sys_common\backtrace.rs:58
   4: std::panicking::default_hook::{{closure}}
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:200
   5: std::panicking::default_hook
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:215
   6: std::panicking::rust_panic_with_hook
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:478
   7: std::panicking::continue_panic_fmt
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:385
   8: std::panicking::begin_panic_fmt
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:340
   9: pathfinder_gl::ck
             at C:\Users\Atul\Documents\explorations\pathfinder-c-api-fun\pathfinder\gl\src\lib.rs:928
  10: pathfinder_gl::{{impl}}::configure_vertex_attr
             at C:\Users\Atul\Documents\explorations\pathfinder-c-api-fun\pathfinder\gl\src\lib.rs:350
  11: pathfinder_renderer::gpu::renderer::AlphaTileVertexArray<pathfinder_gl::GLDevice>::new<pathfinder_gl::GLDevice>
             at C:\Users\Atul\Documents\explorations\pathfinder-c-api-fun\pathfinder\renderer\src\gpu\renderer.rs:1077
  12: pathfinder_renderer::gpu::renderer::Renderer<pathfinder_gl::GLDevice>::new<pathfinder_gl::GLDevice>
             at C:\Users\Atul\Documents\explorations\pathfinder-c-api-fun\pathfinder\renderer\src\gpu\renderer.rs:158
  13: canvas_minimal::main
             at .\src\main.rs:49
  14: std::rt::lang_start::{{closure}}<()>
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\src\libstd\rt.rs:64
  15: std::rt::lang_start_internal::{{closure}}
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\rt.rs:49
  16: std::panicking::try::do_call<closure,i32>
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:297
  17: panic_unwind::__rust_maybe_catch_panic
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libpanic_unwind\lib.rs:87
  18: std::panicking::try
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panicking.rs:276
  19: std::panic::catch_unwind
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\panic.rs:388
  20: std::rt::lang_start_internal
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\/src\libstd\rt.rs:48
  21: std::rt::lang_start<()>
             at /rustc/91856ed52c58aa5ba66a015354d1cc69e9779bdf\src\libstd\rt.rs:64
  22: main
  23: invoke_main
             at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:64
  24: __scrt_common_main_seh
             at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:259
  25: BaseThreadInitThunk
  26: RtlUserThreadStart
error: process didn't exit successfully: `C:\Users\Atul\Documents\explorations\pathfinder-c-api-fun\pathfinder\target\debug\canvas_minimal.exe` (exit code: 101)

@pcwalton want me to look into fixing this? I might be way over my head because I don't have a lot of experience with OpenGL (in fact I've only really used WebGL) but it could be a nice way to learn more.  Don't want to step on any toes, though.

Sure, feel free to take a look!
On Fri, Jun 7, 2019, 3:13 PM Atul Varma<EMAIL_ADDRESS>wrote:

@pcwalton https://github.com/pcwalton want me to look into fixing this?
I might be way over my head because I don't have a lot of experience with
OpenGL (in fact I've only really used WebGL) but it could be a nice way to
learn more. Don't want to step on any toes, though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/servo/pathfinder/issues/183?email_source=notifications&email_token=AABGRSLKQXVMAUYLN2GOXRDPZLMRNA5CNFSM4HTWM462YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHD5TY#issuecomment-500055759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABGRSPOLFH2PC6HJISB2VTPZLMRNANCNFSM4HTWM46Q
.

I've just run this through with RenderDoc - it reports that we're exceeding the maximum number of vertex attributes:

I suspect this isn't a Windows issue but a driver compatibility issue, I'm running with Nvidia's drivers.
We are ending up with a bogus value for color_tex_coord_attr in AlphaTileVertexArray::new() - 0xFFFFFFFF. The OpenGL docs indicate If the named attribute variable is not an active attribute in the specified program object or if name starts with the reserved prefix "gl_", a value of -1 is returned.

Oh awesome, thanks for looking into this @benpye!  For now I've just issued #193 to at least make these sorts of problems easier to diagnose.  And thanks for the tip about RenderDoc, I bet it will help for the Unity crash.

Ok, this is fixed as of the latest master, I think because of dbf02fb742c6b673bb2f48188fbd054517dc02ed.  Thanks @pcwalton!  Closing now.


Mod compatibility bug with JourneyMap waypoints

Not sure how the GUI is built together behind the scenes, but the JourneyMap mod uses a waypoint system, and its display breaks the UltraCraft HUD when any waypoints are being rendered.
I took a video to showcase what exactly happens. Just thought I'd let you know about this.
https://github.com/absolutelyaya/ultracraft/assets/41254732/72640519-66e8-488d-b4c8-1692b39bbf5c
Keep up the amazing work on the mod, I love it to bits. :]

its alright, just informing you ^_^


feature request: allow specifying an "expression" to render as a command-line argument

I have a model designed in cadquery that is made up of multiple 3d-printed parts, each defined in their own python function. I'd like an easy way to export each of these individual parts as stl files.
I want to do something like this:
# model.py

def part1():
  return cq.Workplane("XY")...

def part2():
  return cq.Workplane("XY")...

def part3():
  return cq.Workplane("XY")...

# export just part1
cq-cli --codec stl --infile model.py --outfile part1.stl --expr "part1()"

# export all parts
for part in part1 part2 part3; do
  cq-cli --codec stl --infile model.py --outfile "$part.stl" --expr "$part()"
done

I have been considering adding something like an entrypoint argument to handle situations like this. I think the challenge is in getting this to work with CQGI. I may have to monkey-patch methods that don't call show_object, or I'll have to write a shim that imports the module somehow, involves the method,  and then calls show_object on the result. All the ways I've thought of to do it are pretty messy.
@justbuchanan cq-cli should be installable via pip using git now, but I haven't updated the readme with the information. This allows cq-cli to integrate better with a Python environment.

Great, glad to hear this is something you've considered :). And thanks for the info on cqgi difficulties - if I have time, I may take a look at that and see what I can figure out.
Thanks for the tip on pip-installability.

@justbuchanan Feel free to register your interest on that PR. It wasn't actually a feature I needed, so when the PR discussion lasted longer than expected, I got distracted on other things. I looks like I just need to fix the test coverage to make that PR ready for merge.

Sounds good, would you mind linking the PR you're thinking of?

@justbuchanan Feel free to add your ideas for making this work and/or submit a PR. It's going to be a while before I am able to get back to this.

This feature was implemented in #26 - closing the issue.


Should we stop hardcoding -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE in runtime?

Back in 5.0 timeframe, we had set up the build system so a user building source-build could do something like this:
./build.sh /p:UseSystemLibunwind=true

To force building runtime against the system libunwind. We could also trigger runtime to fallback to its own detection/building by setting this to false explicitly. This worked mostly well because we could pick what we wanted to do at build time and use that configuration explicitly. This approach accommodated system that had a libunwind as well as when it didn't.
With ArPow, we are forcing the system libunwind unconditionally
<InnerBuildArgs>$(InnerBuildArgs) --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</InnerBuildArgs>

This breaks the cases where libunwind isn't available (eg, RHEL 8) or  doesn't work right for .NET (eg, Fedora 34 arm64).
Is there some way to configure ArPow so we can control this using a build-time flag? If not, can we just delete this hardcoded value and let runtime fall back to its own detection?
cc @uweigand

FWIW, I was wrong about auto-detection. CoreCLR defaults to not using the system version of libunwind, not matter what. If it needs to be enabled, that has to be done explicitly.


Docker "unknown flag: --gpus See 'docker run --help’.”

NVIDIA recommends Docker > 19.03, we should check the version.
https://github.com/NVIDIA/nvidia-docker/wiki
Alternatively, provide a CPU-only build.

@mgharbi could you check up on this?

this happens in 19.03!


Option to include left padding in query

It would be great if there was an option to include a number of seconds which pad the left side of the time query (the discrete panel allows this).
This allows people to get events which don't start in the window, but overlap it.

Interesting! I can see the use for that, and shouldn't be too hard to implement 👍


Changing nightly scheduled time

PR Description
Changing it to run 3am AEST time
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.gfukushima seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Support Ubuntu 22.04 / Python 3.10 / ROS2 Humble

This PR aims to expand support to Ubuntu 22.04 / Python 3.10 / ROS2 Humble.
Tasks include:

[x] Separate out the ROS and pure Python module implementations
[x] Separate out the ROS messages into their own package, as is recommended
[x] Fix any deprecations introduced by upgrading Python and ROS2 versions
[x] Split up the ROS vs. pure Python demos
[x] Create Docker image and update CI Pipeline to include Python 3.10 and ROS2 Humble (once https://github.com/sea-bass/pyrobosim/pull/8 is merged)
[x] Update documentation

All 3 tests ran and passed on  "push" for me.
I think we are good with the current workflow for now.
Will need to add more unit tests though.

Regarding the example split into ROS and standalone ,  should the demo.py  be also included in the pyrobosim_ros ?
Since is it not really a ROS example.

Regarding the example split into ROS and standalone , should the demo.py be also included in the pyrobosim_ros ? Since is it not really a ROS example.

The demo.py in the pyrobosim_ros folder actually does start up a ROS node!
The "basic" ROS example right now involves running both:

ros2 run pyrobosim_ros demo.py (which waits for commands)
ros2 run pyrobosim_ros demo_commands.py (which sends the commands to the first node)

Regarding the example split into ROS and standalone , should the demo.py be also included in the pyrobosim_ros ? Since is it not really a ROS example.

The demo.py in the pyrobosim_ros folder actually does start up a ROS node!
The "basic" ROS example right now involves running both:

ros2 run pyrobosim_ros demo.py (which waits for commands)
ros2 run pyrobosim_ros demo_commands.py (which sends the commands to the first node)

My bad, you are right !
Probably looked at the non ros file both times.

@ibrahiminfinite I was able to reproduce the issue with clearing out my build and failing to import the em module. I think the latest changes fixed it so I will go ahead and merge this. Let me know if otherwise!


Question:How to get the response body in hapi-pino logs?

My code is a follows:
'use strict';

const hapi = require('@hapi/hapi')
const HapiPino = require('hapi-pino')

const server = hapi.server({ port: 3000 })

server.route([
  {
    method: 'POST',
    path: '/response',
    handler:(request, h) => {
      return {'test':'Resp Msg'}
    }
  },
]);

function resSerializer(res) {
  return {
      body:res.raw.body
  };
}

(async () => {
  try {
    await server.register({
      plugin: HapiPino,
      options: {
        logPayload: true,
        serializers:{
          res: resSerializer
        },
      }
    })
    await server.start()
    console.log('Server started successfully')
  } catch (err) {
    console.error(err)
  }
})()

Logs are as shown as below:
{"level":30,"time":1598811397374,"pid":15504,"hostname":"IN5CG7192BNG","req":{"id":"1598811397349:IN5CG7192BNG:15504:kehf0ria:10000","method":"post","url":"/response","headers":{"content-type":"application/json","user-agent":"PostmanRuntime/7.6.0","accept":"*/*","host":"localhost:3000","accept-encoding":"gzip, deflate","content-length":"50","connection":"keep-alive"},"remoteAddress":"<IP_ADDRESS>","remotePort":61801},"payload":{"test1":"JVA","test2":"JVA","test3":"JVA"},"req":{"id":"1598811397349:IN5CG7192BNG:15504:kehf0ria:10000","method":"post","url":"/response","headers":{"content-type":"application/json","user-agent":"PostmanRuntime/7.6.0","accept":"*/*","host":"localhost:3000","accept-encoding":"gzip, deflate","content-length":"50","connection":"keep-alive"},"remoteAddress":"<IP_ADDRESS>","remotePort":61801},"res":{},"responseTime":24,"msg":"request completed"}

Response body is showing as "res":{}
How to get the response body value, which is {'test':'Resp Msg'}

The docs say this about the logPayload option:

When enabled, add the request payload as payload to the response event log.

So it seems to be to be intended that only the request payload is logged, not the response.
However I'd also like to be able to log the response payload for troubleshooting purposes.

You can do this with a formatter:
`
import _ from "lodash";
const plugin = {
plugin: require("hapi-pino"),
options: {
formatters: {
log(object: any) {
const body = _.get(object, "req.response.source");
            if (body) {
                return {
                    ...object,
                    body,
                };
            } else {
                return object;
            }
        }
    }
},

};
`
https://getpino.io/#/docs/api?id=formatters-object

You can do this with a formatter:
`
import _ from "lodash";
const plugin = {
plugin: require("hapi-pino"),
options: {
formatters: {
log(object: any) {
const body = _.get(object, "req.response.source");
            if (body) {
                return {
                    ...object,
                    body,
                };
            } else {
                return object;
            }
        }
    }
},

};
`
https://getpino.io/#/docs/api?id=formatters-object

very helpful. Thanks


网络问题

What happen?
用sealer0.9.3，镜像docker.io/sealerio/kubernetes:v1-22-15-sealerio-2创建一个单节点的集群，calico和coredns组件的Pod状态为CrashLoopBackOff, 查看Pod事件，liveness探针失败

calico Pod报错

coredns Pod报错

Relevant log output?
calico Pod报错：

What you expected to happen?
No response
How to reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
What is the version of Sealer you using?
{"gitVersion":"v0.9.3","gitCommit":"a51d0ec","buildDate":"2023-03-31 05:58:58","goVersion":"go1.17.13","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
No response
What is the Kernel version?
No response
Other environment you want to tell us?

Cloud provider or hardware configuration:
Install tools:
Others:

You can look at the result of kubectl logs


WIP: Add ability to create GCP infrastructure object from Flyte's resource controller

TL;DR
Allow Flyte's resource controller to provision GCP's resource via config connector
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

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

Complete description
Flyte is able to create kubernetes resource for each of Flyte's project via Flyte's resource controller. Flyte admin can customise what resource to be created by specifying k8s template file(s) such as the example.
Currently, this feature is limited to provisioning k8s resource recognised by the controller's  decoder (and currently it is able to recognize standard k8s resources). This PR add ability to the controller to be able to provision GCP's infrastructure resource via config connector. This feature is useful for automating Flyte's project creation when it need to create new GCP's resource. An example use case is to create unique Google Service Account for each Flyte's project and use the service account when task execution is using any Google's offering (BQ, GCS, etc)
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMServiceAccount
metadata:
  name: {{ namespace }}-gsa
  namespace: {{ namespace }}
spec:
  displayName: Service account for {{ namespace }}

is there a way to just create the raw json, without decoding the object at all? IIUC, the problem is that the scheme is not standard and hence unknown.
Is it possible to use something like k8s unstructured client ?

is there a way to just create the raw json, without decoding the object at all? IIUC, the problem is that the scheme is not standard and hence unknown. Is it possible to use something like k8s unstructured client ?

I think it is possible to make it similar to kubectl. Let me get better understanding why current approach requires decoding.

While smoke testing, I managed to create IAMServiceAccount resource
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMServiceAccount
metadata:
  annotations:
    cnrm.cloud.google.com/management-conflict-prevention-policy: none
    cnrm.cloud.google.com/project-id: flyteexamples
    cnrm.cloud.google.com/state-into-spec: merge
  creationTimestamp: "2021-11-19T06:06:16Z"
  finalizers:
  - cnrm.cloud.google.com/finalizer
  - cnrm.cloud.google.com/deletion-defender
  generation: 1
  name: flyteexamples-gsa
  namespace: flyteexamples
  resourceVersion: "51426499"
  selfLink: /apis/iam.cnrm.cloud.google.com/v1beta1/namespaces/flyteexamples/iamserviceaccounts/flyteexamples-gsa
  uid: cf2d53a1-08d9-495f-b75d-4d323e36aaa5

But in subsequent sync it causes the resource controller to crashes with following errors. Any idea?
{"json":{"src":"controller.go:522"},"level":"warning","msg":"Failed to create cluster resources for namespace [flyteexamples] with err: iamserviceaccounts.iam.cnrm.cloud.google.com \"flyteexamples-gsa\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update","ts":"2021-11-19T06:44:12Z"}
{"json":{"src":"clusterresource.go:112"},"level":"fatal","msg":"Failed to sync cluster resources [iamserviceaccounts.iam.cnrm.cloud.google.com \"my-project-gsa\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update, iamserviceaccounts.iam.cnrm.cloud.google.com \"flytetester-gsa\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update, iamserviceaccounts.iam.cnrm.cloud.google.com \"flytesnacks-gsa\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update, iamserviceaccounts.iam.cnrm.cloud.google.com \"flyteexamples-gsa\" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update]","ts":"2021-11-19T06:44:12Z"}

does updating a Google Service Account require additional parameters not in the create? are you able to test updating without the cluster resource controller just by applying yaml?

does updating a Google Service Account require additional parameters not in the create? are you able to test updating without the cluster resource controller just by applying yaml?

Yes,  applying them directly using kubectl works fine.
I tried to ensure the update happens using patch (by adding the resource kind into this mapping, but it doesn't seem to work too, likely due to https://github.com/kubernetes/website/pull/10994

@pradithya we should never call and update. We should simply call create. Update needs the resource version of the current object. So perform an update you have to fetch, merge and then update.
https://github.com/kubernetes/apimachinery/blob/7149480564b7d40046f19040efa20171b49059ae/pkg/apis/meta/v1/types.go#L78

@katrogan why do we update? Is
It for secrets

Updated the PR to allow any unknown resource to be created by cluster resource controller.
The issue with update still persists though, I'll need your advise on that @kumare3 @katrogan

@kumare3 we actually use update by default, k8s handles reconciling with the existing resource. we only use strategic merge patch for serviceaccounts because update was actually resulting in creating a new one each time, which quickly overwhelms k8s api server when the number of resources grows large
@pradithya sorry this is extra work, but it looks JSONPatch and JSON merge patch work perhaps you could implement that and we could similarly special-case handle JSONPatch update-types (e.g. CRDs). since i believe the current default behavior to call Update() actually ends up calling http PUT

Latest implementation uses Patch for all resources with following strategy:

Strategic merge patch for known resource
JSON merge patch for custom resource
The implementation heavily follows kubectl apply behaviour to ensure more use cases.
It will also skip the patch if the controller doesn't detect any modification.

Have been testing it in my dev cluster and so far so good, it managed to create new resource (no change in this code path) and sync existing resource for both known and custom resource.
{"json":{"src":"controller.go:343"},"level":"debug","msg":"Attempting to create resource [ServiceAccount] in cluster [] for namespace [flyteexamples]","ts":"2021-11-23T16:07:10Z"}
{"json":{"src":"controller.go:351"},"level":"debug","msg":"Type [ServiceAccount] in namespace [flyteexamples] already exists - attempting update instead","ts":"2021-11-23T16:07:10Z"}
{"json":{"src":"controller.go:383"},"level":"info","msg":"Resource [ServiceAccount] in namespace [flyteexamples] is not modified","ts":"2021-11-23T16:07:10Z"}
{"json":{"src":"controller.go:481"},"level":"debug","msg":"successfully read template config file [ab_project_resource_quota.yaml]","ts":"2021-11-23T16:07:10Z"}
{"json":{"src":"controller.go:343"},"level":"debug","msg":"Attempting to create resource [ResourceQuota] in cluster [] for namespace [flyteexamples]","ts":"2021-11-23T16:07:10Z"}
{"json":{"src":"controller.go:351"},"level":"debug","msg":"Type [ResourceQuota] in namespace [flyteexamples] already exists - attempting update instead","ts":"2021-11-23T16:07:11Z"}
{"json":{"src":"controller.go:398"},"level":"debug","msg":"Successfully updated resource [ResourceQuota] in namespace [flyteexamples]","ts":"2021-11-23T16:07:11Z"}
{"json":{"src":"controller.go:481"},"level":"debug","msg":"successfully read template config file [abb_google_service_account.yaml]","ts":"2021-11-23T16:07:11Z"}
{"json":{"src":"controller.go:343"},"level":"debug","msg":"Attempting to create resource [IAMServiceAccount] in cluster [] for namespace [flyteexamples]","ts":"2021-11-23T16:07:11Z"}
{"json":{"src":"controller.go:351"},"level":"debug","msg":"Type [IAMServiceAccount] in namespace [flyteexamples] already exists - attempting update instead","ts":"2021-11-23T16:07:11Z"}
{"json":{"src":"controller.go:383"},"level":"info","msg":"Resource [IAMServiceAccount] in namespace [flyteexamples] is not modified","ts":"2021-11-23T16:07:11Z"}

@katrogan @kumare3 It can be reviewed again

@pradithya i think you are missing a DCO

Updated the DCO


⚠ Bofrost.be has degraded performance

In a23fdfb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2262 ms

Resolved: Bofrost.be performance has improved in 8be53fc.


Updates for Enums and Card Values

Hey Arlyon,  I've made changes to enums so that they work under more circumstances.  In particular, I make the enums be untagged and not tagged with object.  This is what the OpenAPI expects, but it hasn't come up yet for others I guess.
I've also added code that properly handles credit cards.  I've tested this API myself, so I know it works.  I built the beginnings of a new paradigm for the code generation and made it so it only gets called by the code that handles the "card" keyword.  This way it can coexist in the baseline while we find and work out any bugs, but makes a clear path for stuff in the future.
I wasn't sure what to call this update, but I can make changes if you want them.  Let me know.  Also, your container seemed to break on the last build, not sure what that's about, but everything is building and testing fine on my machine.

Thanks for the PR, CI should be fixed if you'd like to rebase. Looking through the changes atm. I see that this is still WIP but I'll let you know if there is anything that pops up. :tada:


Publish as npm package ?

I'd love to import that into my own project, is it possible ?

MkDown is  a web app not a NPM Package, so you can't import MkDown into your project.


2023-05-23 meeting notes

cc @nodejs/loaders
@isaacs @jlenon7 would you like me to add you to @nodejs/loaders so that you get team pings? That way I won’t have to try to remember to cc you explicitly.
@arcanis Note in here the discussion of renaming registerLoader to just register, as in import { register } from 'node:module', to create precedent for a future import { register } from 'node:fs' and similar for other namespaces.

Sure @GeoffreyBooth

@GeoffreyBooth sure!

Done. If someone would be so kind, this PR needs an approval, as does #144.


[Bug]: Autocomplete does not work for child objects of treeSelect and multiTreeSelect widgets

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Autocomplete suggestions do not show up for child objects of the treeSelect widgets
Steps To Reproduce

Add treeSelect and multiTreeSelect widgets to canvas
Try to access child objects of these widgets and observe no autocomplete suggestions shows up

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

Please add your planning poker estimate with Zenhub @rimildeyjsr


i think line 118 is not right.

Line 118:typeof (aClass.isSubclassof)=="function. Should be self.class .issubclassof

Are you saying aClass specifically should be class? Your writing is not very clear.

local DefaultMixin = {
__tostring   = function(self) return "instance of " .. tostring(self.class) end,
initialize   = function(self, ...) end,
isInstanceOf = function(self, aClass)
return type(self)       == 'table' and
type(self.class) == 'table' and
type(aClass)     == 'table' and
( aClass == self.class or
type(aClass.isSubclassOf) == 'function' and    --type(self.class.isSubclassOf)='function' and
self.class:isSubclassOf(aClass) )
end,
Look the comment. I think that's right!

You're still not being very clear. Also, could you please put backticks around code blocks to make it legible?
Ex:

Turns into:
code

i make a change..

Hi there,
Both instanceOf and subclassOf have evolved from an earlier version of middleclass where they not always were "attached" to instances of objects. As a result, they had to do a lot of extra checks (because you could call them with parameters of any type, like instanceOf(1, "hello") -> and that should return false without failing. As a result, they had to do lots of extra checks like "is this a table?", "is this a class?" etc.
In the new versions of middleclass this is no longer the case. instanceOf is always called from an instance, and subclassOf is always called from a class. This probably means that some of those extra checks might be no longer needed. Line 118 seems to fall into that category.
Let me think about this for a some more days (I am a bit busy right now in real life) and I will get back to you on that.
Thank you for creating an issue in any case!

Hi again,
After meditating about this for a while I have decided to simplify isInstanceOf and isSubclassOf - they now work only on classes and instances, and as such they need far less "checks". One of the checks removed is the one which provoked this issue.
I have also released middleclass 4.1.0 with the change.
Regards!


Theme implementation changes

Provides a way to switch between Different Themes(Belize,HCB,HCW)
Provides a way to save the selected theme preference.

Coverage decreased (-0.9%) to 91.134% when pulling 1f5fe03e602948e0d0ddcf87eaf64081135c38a2 on PravinPushkar:themeImpl into b98d99930f6afa85c72a6296bc148f832545e3ad on cloudfoundry-incubator:master.

Coverage decreased (-0.9%) to 91.171% when pulling 1f5fe03e602948e0d0ddcf87eaf64081135c38a2 on PravinPushkar:themeImpl into b98d99930f6afa85c72a6296bc148f832545e3ad on cloudfoundry-incubator:master.

Coverage increased (+0.1%) to 92.181% when pulling e647a41083f3975ccc797daaa2b0b84dd8ad5646 on PravinPushkar:themeImpl into b98d99930f6afa85c72a6296bc148f832545e3ad on cloudfoundry-incubator:master.


Add OpenAPI task implementation

Implement OpenAPI task.
@mcruzdev Take a look to https://github.com/serverlessworkflow/sdk-java/blob/main/impl/http/src/main/java/io/serverlessworkflow/impl/executors/HttpExecutor.java
There should be a new maven module that follow the same approach for OpenAPI

This one is very interesting, I would like to contribute with.


feat(bullMQOtel): new options object to pass

Closing this PR as it will be handled entirely in bullmq.


Private network, no peer seeing.

Hello,
I am trying to launch my private network using the pre-generated keys. Everything goes well but I do not see any peer appearing :/ The image may help.
Any idea?

It looks like your nodes were working at one point because in the "top" window I notice that, even though the node isn't finalizing any more blocks, it had finalized almost 1,000 blocks. You may want to try purging your node state with ./target/release/node-template purge-chain --base-path /tmp/alice --chain local (and then do the same for Bob) and start again from the beginning.

The issue above is related to this https://www.substrate.io/tutorials/start-a-private-network/v2.0.0-rc2/customchain  part of the tutorial. I have been able to see Bob joining Alice's network.

The command in the top window is for "a Bob node" so you may be mixing commands, then. The "custom chain" part of the tutorial starts from scratch and doesn't involve the Alice and Bob nodes.

@herou - please let us know if you need additional help. Otherwise, please close this issue :pray:


package seedir is missing datafiles without datafile inclusion options

Nuitka version:
$ python -m nuitka --version
0.6.15
Python: 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]
Executable: C:\Users\Administrator\AppData\Local\Programs\Python\Python38\python.exe
OS: Windows
Arch: x86_64

Python version:
$ python --version
Python 3.8.3

Minimal reproducer(needs seedir)
import os
import seedir as sdir
while True:
    usr_input = input(">>")
    if usr_input == 'help':
        print("help")
    elif usr_input == 'treelist':
        sdir.seedir(os.getcwd())
    else:
        print("other")

running the executable results in
C:\Users\Administrator\Desktop\penta.buildd\Penta\minimal_ex.dist>minimal_ex.exe
Traceback (most recent call last):
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\minimal_ex.py", line 2, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\seedir\__init__.py", line 24, in <module seedir>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\seedir\realdir.py", line 15, in <module seedir.realdir>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\seedir\folderstructure.py", line 10, in <module seedir.folderstructure>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\seedir\folderstructurehelpers.py", line 11, in <module seedir.folderstructurehelpers>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\Desktop\PENTA~1.BUI\Penta\MINIMA~1.DIS\seedir\printing.py", line 67, in <module seedir.printing>
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ADMINI~1\\Desktop\\PENTA~1.BUI\\Penta\\MINIMA~1.DIS\\seedir\\words.txt'

i have to manually add a directory called seedir and words.txt ,after which the executable runs fine..

There are datafile inclusion options for that, consider the user manual. This could be made automatic, but I guess I want to defer it. For onefile to work, that would be required even, as there is no file copy.

Since we adding yaml config for data files, I have tried your example and added a small config snippet that makes it work out of the box to factory branch, will be in next release or maybe even hotfix.

https://nuitka.net/doc/factory.html

Let me know if there is more datafiles to add with other reproducers.

Thanks!,and yeah these are the only data files needed for this package.

Part of the current hotfix release.


[interoperator] Dynamic Watches

Setup watches reading a config map
Updated binding and instance controllers
Watches set only on startup
Add sample config map
Populate configmap on startup
Remove use go client-go directly
Use sources template to compute watches
Restart interoperator on change in watch list

Pull Request Test Coverage Report for Build 2882

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

Totals

Change from base Build 2881:
0.02%

Covered Lines:
9104

Relevant Lines:
9772

💛  - Coveralls

Tested On K8s. Few more unit tests need to be added. Working on it. Ready for Review

@amitmalav @subhankarc @jayeshjk Ready for review


feat(rootless): help detection with execv check "is current builder rootless?"

I recently encountered #1098 and propose an iteration on the fix in #890
This patch adds a last minute check that looks up the current builder endpoint. This may be seen as a costly operation however, as mentioned in #889
Here's the output of docker builder inspect on my rootless install:
Name:          rootless
Driver:        docker
Last Activity: 2023-12-03 02:04:14 +0000 UTC

Nodes:
Name:      rootless
Endpoint:  rootless  # <= THIS HERE
Status:    running
Buildkit:  v0.11.7+d3e6c1360f6e
Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/386
Labels:
 org.mobyproject.buildkit.worker.moby.host-gateway-ip: <IP_ADDRESS>

[name=seccomp,profile=builtin name=rootless name=cgroupns]

Alright I'll see about extracting this then, then :)

@Emilgardis here ya go


Documentation: transformation consistency

In the chm documentation for wingElementType, we have:

Mathematically spoken a element is a coordinate system that is translated, rotated and scaled relative to the section coordinate system.

But, as far I understand, and as explained in the image of the documentation bellow, the airfoil profile is described in the global coordinates system, then it is transformed by the wingElementType, then it is transformed by the wingSectionType.
This two definitions does not seems equivalent to me, in particular for rotation.

Best Regards,
Malo

Hi Malo,
I am not sure I share your doubts. The values given in the element transformations are relative transformations with respect to the section coordinate system. If you take the section coordinate system as a reference and then take the transformations described by the element you will end up with the element coordinate system.
Best regards,
Jonas


Show user-friendly message when we timeout new WalletConnect connections

A common problem with WalletConnect occurs when we first try to connect after scanning a QR code. We are stuck in the (sometimes empty) screen with a spinner. When it doesn't work, this can go on for minutes.

So one simple way to improve the UX is to set a timeout (code will take care of this) so after a while, we show the user a user-friendly message:

Note that this pop up can appear in the Wallet tab too, if the user taps the back button before connection is successful or times out.
Something like:
"Connection was not successful. Please generate a fresh QR code"
Could you help with the UI design and re-phrase it? :) (We don't have the details such as the dapp's URL or name)

Thanks @colourfreak !


Hybrid glider - assembling hull and propellers

Working on #247.  Scaling the mesh files to match the physical dimensions has a side effect of not having hybrid glider propellers in correct position on vehicle.

Suggest addressing this by modifying the glider_hybrid_whoi.xacro URDF, but running out of time.
Also suggest testing that propellers still spin when commanded as expected.

https://github.com/Field-Robotics-Lab/dave/pull/246#issuecomment-1091165583


✨ Add bond hash policy

https://github.com/openstack/ironic/blob/master/ironic/tests/unit/drivers/modules/network/json_samples/network_data.json#L31
Adds the bond hash policy feature added to Ironic.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@dtantsur
cloud-init code copies bond_links.
so I want to use it as optional
with this loophole, we use the bond interface as a dummy interface.
links:
- id: bond0
  type: bond
  ethernet_mac_address: ff:ff:ff:ff:ff:ff
  bond_links: []
- id: bond1
  type: bond
  ethernet_mac_address: 11:22:33:44:55:66
  bond_links:
    - eth2
    - eth3
....

@kashifest @Rozzii
please review

@furkatgofurov7
plz review

/assign @furkatgofurov7

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/reopen

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

PTAL @kashifest @mboukhalfa @lentzi90

/cc @mboukhalfa  @lentzi90  @adilGhaffarDev

/test-ubuntu-e2e-features-main
/test-e2e-upgrade-main-from-release-0-5

@kashifest  seems like the test haven't been triggered

/test-ubuntu-e2e-feature-main

/retitle ✨ Add bond hash policy

/test-e2e-upgrade-main-from-release-1-5

/test-ubuntu-e2e-feature-main

/test-e2e-upgrade-main-from-release-1-5

/approve


Can't change font for MPV Chat

I changed font but nothing happened please help me, I changed font because Ğ Ş ı letters not working

Setting font worked for me, so I'd need more details about your set-up. For example, are you trying to set it to a font with a non-ASCII name?
That said, the reason that the Ğ Ş ı letters are not working is probably not due to the font, but due to the fact that in mpv you have to specify precisely which keys are accepted for the input chat. Please modify /syncplay/resources/syncplayintf.lua to add those letters. You can just open the file in a text editor which supports Unicode and add it to the end of the non_us_chars = {} list, e.g. by changing the line which is ≥','≠' to read ≥','≠','Ğ','Ş','ı'. Please let me know if that fixes it, because if it does then I can add that change to the Syncplay code.
If that doesn't work then it is an mpv or OS/library issue and I don't think there is anything we can do from the Syncplay side. However, you should be able to enter those letters within the Syncplay chat window.

Thank you very much It's worked, the code:
non_us_chars = {
'А','а',
'ą','ć','ę','ł','ń','ś','ź','ż','Ą','Ć','Ę','Ł','Ń','Ś','Ź','Ż',
'à','è','ì','ò','ù','À','È','Ì','Ò','Ù',
'á', 'é', 'í', 'ó', 'ú', 'ý', 'Á', 'É', 'Í', 'Ó', 'Ú', 'Ý',
'â', 'ê', 'î', 'ô', 'û', 'Â', 'Ê', 'Î', 'Ô', 'Û',
'ã', 'ñ', 'õ', 'Ã', 'Ñ', 'Õ',
'ä', 'ë', 'ï', 'ö', 'ü', 'ÿ', 'Ä', 'Ë', 'Ï', 'Ö', 'Ü', 'Ÿ',
'å', 'Å','æ','Æ','œ','Œ','ç','Ç','ð','Ð','ø','Ø','¿','¡','ß',
'¤','†','×','÷','‡','±','—','–','¶','§','ˆ','˜','«','»','¦','‰','©','®','™',
'ž','Ž',
'ª','Þ','þ','ƒ','µ','°','º','•','„','“','…','¬','¥','£','€','¢','¹','²','³','½','¼','¾',
'·','Ĉ','ĉ','Ĝ','ĝ','Ĥ','ĥ','Ĵ','ĵ','Ŝ','ŝ','Ŭ','ŭ',
'Б','б','В','в','Г','г','Д','д','Е','е','Ё','ё','Ж','ж','З','з',
'И','и','Й','й','К','к','Л','л','М','м','Н','н','О','о','П','п',
'Р','р','С','с','Т','т','У','у','Ф','ф','Х','х','Ц','ц','Ч','ч',
'Ш','ш','Щ','щ','Ъ','ъ','Ы','ы','Ь','ь','Э','э','Ю','ю','Я','я',
'≥','≠≥','≠','Ğ','Ş','ı','ğ','ş'
}
Btw I don't need to change font now


Submit button not working on publish form

Describe the bug
The submit button remains disabled despite filling in the whole publish form.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://market.oceanprotocol.com/publish'
Fill in the publish form
You'll see that it's not possible to submit the form

Expected behaviour
Submit button should be enabled
Screenshots

/blame me :slightly_smiling_face:
can confirm and can reproduce locally. The !ocean in this line is the problem:
https://github.com/oceanprotocol/market/blob/main/src/components/pages/Publish/FormActions.tsx#L20
Remnant of old way of connecting, now we are not "connecting to ocean" anymore by default but only after publish button is clicked. Will prepare fix PR


Dx9 stuttering.

Dx9 version of Allegiance...ie builds >R4, have introduced stuttering which is most apparent online.  http://www.freeallegiance.org/forums/index.php?showtopic=71818

We don't know if the culprit is Dx9 or something else.
We need more details/tests to fully understand the problem.
Test & Explain more in http://www.freeallegiance.org/forums/index.php?showtopic=71818

standby for now.


ABOR support

Hi,
this seems a basic FTP feature we should support it. Do you agree?
I'm quite busy at the moment however I'll try to work on this in the next weeks/months.
We probably should refactor the handleCommand method to execute the STOR and other commands that can be aborted in a separate goroutine to be able to receive the ABOR command.

I didn't know this command existed. You're becoming quite the FTP expert!
This adds only more madness to the FTP protocol. I find it very strange to interrupt the synchronous flow of commands with asynchronous ones. This means that if a few commands are passed synchronously. Do you know any server that supports this command? I'd like to see how they handle the queuing of synchronous commands.
My goal is to make this library the most featured one, so we might as well support it.
How do you see this?
It seems like the cleanest implementation would be to properly use Context throughout the API but at the same time as the afero.Fs API doesn't support it so he actual use-cases of having something to interrupt are pretty limited.
The way I see it is that we could:

Mark a few commands as being "abortable"
Once any of these commands are run, a context is initialized on the current connection and the command is run on another goroutine
We continue to read commands. If we receive an ABOR, we cancel the context and that shall close the current connection on the current command execution. If we receive something else thanABOR, we can put it in a queue of commands and parse each of them at the end of the main command execution.

Hi,
I think ABOR is supported by many, if not all, FTP servers.
For what I understand from reading the specs FTP commands are generally sequential. But there are some command that require "special actions". These commands are ABOR, STAT, QUIT.
pyftpdlib code should be easier to follow than ProFTPD or Pure-FTPd.
Regarding ABOR handling this is an extract from the specs
This command tells the server to abort the previous FTP
service command and any associated transfer of data.  The
abort command may require "special action", as discussed in
the Section on FTP Commands, to force recognition by the
server.  No action is to be taken if the previous command
has been completed (including data transfer).  The control
connection is not to be closed by the server, but the data
connection must be closed.

There are two cases for the server upon receipt of this
command: (1) the FTP service command was already completed,
or (2) the FTP service command is still in progress.

In the first case, the server closes the data connection
(if it is open) and responds with a 226 reply, indicating
that the abort command was successfully processed.

In the second case, the server aborts the FTP service in
progress and closes the data connection, returning a 426
reply to indicate that the service request terminated
abnormally.  The server then sends a 226 reply,
indicating that the abort command was successfully
processed.

I'll try to implement this feature, but I'm quite busy in this period, it could require some time


table_1_trans - validate table name

Validate the table name whether it already exists or not
Note - Main ticket #584

This issue will be addressed in cQube v5.0.

This is related to cQube v4.1 beta


vaghani05's file

Created a branch, created a file and made a commit, and opened a pull request

@vaghani05 👀 over here :octocat:


[UI] Environments

Desired Behavior

Environments in meshery UI
Implementation

Please assume following paradigms for implementing UI.
GET all environments

API: GET:/api/environments
Response:

{
  "page": 0,
  "page_size": 0,
  "total_count": 0,
  "environments": [
    {
      "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
      "name": "string",
      "description": "string",
      "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
      "owner": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "deleted_at": {
        "time": "2019-08-24T14:15:22Z",
        "valid": true
      }
    }
  ]
}

Query Params: search, order, page, pagesize, orgID (required)

GET environment

API: GET:/api/environments/{environmentId}
Response:

{
  "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
  "name": "string",
  "description": "string",
  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
  "owner": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "deleted_at": {
    "time": "2019-08-24T14:15:22Z",
    "valid": true
  }
}

Path params: environmentId

Delete Environment

API: DELETE:/api/environments/{environmentId}
Path param: environmentId

Update an Environment

API: PUT:/api/environments/{environmentId}
Path param: environmentId
Payload:

{
  "name": "string",
  "description": "string",
  "OrganizationID": "2d34b1c1-8109-40c1-88f9-fdcfb32ea178"
}

Acceptance Tests

Mockups

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

⚠ @senali-d @theBeginner86 the Environments transfer modal is breaking tenancy, displaying environment names from organizations other than the user's current org.

https://github.com/meshery/meshery/pull/9647


Fixes ActiveSupport::XmlMini::IsolatedExecutionState

Background
https://github.com/Jakenberg/binance-ruby/issues/30
Rails issue
https://github.com/rails/rails/issues/43851
TODO

[X] Optional require active_support/isolated_execution_state for active support versions beyond 6
[X] Test

Closed Issues

closes #30

@Jakenberg This is an ugly fix, but haven't worked with gems enough to understand implementation context. Some guidance would be greatly appreciated.

I decided to just import all of activesupport so this won't be an issue as of 1.3.6, which is out now.


Indicate station type (subway, rail, light rail, etc)

Right now we're setting kind=station but not indicating what type of station it is (eg: subway, rail, light rail, etc).
To set a more appropriate icon in the stylesheet, we need to know what transport type(s) serve the station.

Would you prefer:

kind=station, kind=subway_station, kind=light_rail_station, etc...
kind=station, kind=station_subway, kind=station_light_rail, etc...
kind=station an additional tag rail_kind=mainline, rail_kind=subway, rail_kind=light_rail, etc...

Or some other option?
It's important to note that this data is very patchy in OSM (e.g: most of the NYC subway stations I looked at on Manhattan aren't tagged with a sub-type), so it might be of little value when styling.

Dang, that is really sparse.
Is there a 4th option for including station=* when it's in the following list?

subway
light_rail

Sure. Does that mean you want option 3, but with the whitelist on station?

Yes: kind=station with an optional station tag (whitelisted) for subway and light_rail, when present on the input data.
This way we won't see regressions (features already tagged kind=station but also station=subway wouldn't disappear from the map / turn into a generic icon like if we went with options 1 or 2). There is opportunity to make breaking changes in v1.0 later.

Related: we're not indicating that the station type is derived from aerialway instead of railway here:
https://www.openstreetmap.org/way/313300141
And the data doesn't indicate directly that the station in the San Francisco Zoo is on a miniature railway.

With #506 we now have booleans for the different transit types.

Looks good in London, 15/51.5149/-0.0804:


Dynamic Imports with Custom Extensions?

I'm not entirely the best with using the custom extensions but I was wondering if you could do something along the lines:
import ThisImport from "thisimport.js";
and I get an error like "Cannot use import statement outside a module."
Trying to use require("thisimport.js"); and I get "require is not defined" in the console.
edit: not sure if this is the right place to post this and if its not where would I put this? I was brought here by a reddit post

Require is node js so it cannot be used
And since extensions aren't ran as modules they cannot use import my recommendation is to fix up the file you want to import for a non module file mining it give credits and put it in your extensions script.

Nothing technically stops you from using a dynamic import() if for some reason you can't statically include it in the JS, it just won't be accepted here


Drop rustc-serialize dependency

It has been deprecated: announcement.

Sounds good to me! On the next major version bump seems fine to drop support.

is this has beed fixed? if not, i think i can fire a pr to fix this.


Readme consolidation changes

In line with our push for reducing redundant content and making docs a single source of truth, changes to README on open source to be more in line with this philosophy.

Pull Request Test Coverage Report for Build 1050

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 87.859%

Files with Coverage Reduction
New Missed Lines
%

datmo/cli/driver/parser.py
1
86.96%

Totals

Change from base Build 1040:
-0.02%

Covered Lines:
4132

Relevant Lines:
4703

💛  - Coveralls


Marking of Home page

As a user I want to enter that application so that I can see home page.
Mockups:

Home page consists of the next sections:
1.1. Header #352
1.2. Navigation panel #354
1.3. Advertising info of application #355
1.4. Stat info based on habits #356
1.5. Eco news #351
1.6. Eco advices #376
1.7. Receiving eco news #353
1.8. Footer

Assumptions and constraints:

User can scroll up and down home page.
Home page should be responsive

This story is still in progress because we need to add functionality for QR-code and create an ability to add a photo for every eco-news.


[YUNIKORN-766] driver/executor get hang occasionally if the applicati…

…onId is defined
What is this PR for?
The code used to get applicationId is shown below.
// application ID can be defined in labels
for name, value := range pod.Labels {
// application ID can be defined as a label
if name == constants.LabelApplicationID
{ return value, nil }

// if a pod for spark already provided appID, reuse it
if name == constants.SparkLabelAppID { return value, nil }
}

The iteration order is random so it could get application id from 'spark-app-selector' rather than applicationId (even though applicationId is defined by users)
What type of PR is it?

[x] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-766
How should this be tested?
TestGetApplicationIDFromPod
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

I have some minor comments about logs, pls check.
pls fix the lint error as well, thank you!

@yangwwei thanks for quick review. will copy that.

FAIL	github.com/apache/incubator-yunikorn-k8shim/pkg/cache	24.389s
it passes on my local. will rerun this PR


Error running the container MEMORY_TARGET not supported on this system

When running the container, there is an error:
MEMORY_TARGET not supported on this system

and the containers exits.  My info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 257
Server Version: 1.11.1
Storage Driver: devicemapper
 Pool Name: docker-253:1-2495626-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 11.57 GB
 Data Space Total: 107.4 GB
 Data Space Available: 17.74 GB
 Metadata Space Used: 11.38 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.136 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.109 (2015-09-22)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.4.9-300.fc23.x86_64
Operating System: Fedora 23 (Workstation Edition)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.704 GiB
Name: gali7
ID: 5SH4:FMHV:JZ6W:AKLM:QBAS:LU7R:DHNI:KTFW:TZGX:HQBR:5SY4:JNZO
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

How do you run the container? Did you use --shm-size parameter? Oracle AMM requires shared memory to be mounted.

Hi @bofm
Thanks for the quick response, this is the command I've executed:
docker run -d --shm-size 1GB --name oracledb -p 1521:1521 bofm/oracle12c

Is shared memory mounted on the host?
mount|grep shm
If it's not, try this:
mount -t tmpfs tmpfs /dev/shm -o rw,nosuid,nodev

Yes, it is:
$ mount | grep shm
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

Thanks for your help!

Could you please
docker run --rm --shm-size 1GB bofm/oracle12c bash -c mount | grep -E 'shm|tmpfs'

I had a very similar error and just had to increase the size of the shared memory.
Before:
docker run -d --shm-size 1GB --name oracledb -p 1521:1521 bofm/oracle12c
After:
docker run -d --shm-size 4GB --name oracledb -p 1521:1521 bofm/oracle12c

Exactly! Oracle attempts to use 40% of total memory and fails as there is only 1G available. If you are not planning to use more than 1G then just edit create_database script and set memory percentage according to your requirements.

Change memory percentage to 12 worked as charm, thanks for the help!


added md2json package

A helpful package that converts all links to JSON format so they can be used anywhere.

@aborazmeh please can you merge this?

I think this is out of scope and more related to code rather than the list itself. I prefer to keep the data and code separated here. Can't you fetch the list md file and convert it to the format most suitable for your project?

@aborazmeh md file is working fine for me. My plan was to add search functionality but if you say

keep the data and code separated here.

i'll create new repo to convert you md to json. no problem!

Thank you. I had that in mind from the beginning, and in my view, it's more logical to generate the Markdown file from a JSON file, but it's more convenient for non-programmers to edit this file if it was plain Markdown.

Yes, I do agree with you our target audience is non-technical people.

About the donations, I exclusively enlist international humanitarian organizations. I think you can try to find local ones which will help and they're mostly available.


Implement Ctrl-^ to switch to the most recently visible tab.

Implement Ctrl-^ to switch to the most recently visible tab.
Vim's docs claim: Edit the alternate file. Mostly the alternate file is the previously edited file. However, experimentation shows that editing doesn't seem to matter.  The alternate file actually appears to be the previously viewed file.
Writing the feature was easy, but writing the tests has beaten me.  @maxbrunsfeld, would appreciate a little guidance when you get a chance.
When mergeable, this should address https://github.com/atom/vim-mode/issues/719

FWIW, my terrible attempts at writing tests (first by mocking views, second by actually trying to instantiate TextEditors) are here: https://github.com/bronson/vim-mode/commits/tab-motion-bad-tests
Clearly I need help.  :)

I'm lightly reviewing vim-mode PRs and this one strikes me as having too
little to do with vim-mode.

Apologies in advance for this being little more than a :+1:  -- but I'm in the camp that considers CTRL-^ (move to alternate buffer) essential in my vim usage.  Since I don't know much about the goals of this plugin or the best practices for Atom package modularity, I'm wondering if someone could point out:

Why it has too little to do with vim-mode?
If it is, in fact, relevant to this repo -- how can I help contribute to getting this merged?
If it should be a different plugin, in which case I'll do some research on contributing that.

because it's about window/tab navigation, not editing.  You gotta draw the line somewhere.  Editing is reasonably discrete and easy to test and, even then, vim-mode is a beast.

2 & 3. you could turn my tab-motion-bad-tests code above into a plugin.  The switching works great (in Atom 1.0 anyway, in theory it should still be fine).  I got discouraged when I couldn't figure out how to test the code.
Feel free to ask questions.

oops, didn't realize this PR was still open.  closing!


Erasing elements at c: drive level doesn't work

Describe the bug
Erasing elements at c: drive level doesn't work, it only prompts option to erase permanently but nothing happen after confirmation.
To Reproduce
Steps to reproduce the behavior:

Go to c: drive root level.
Right Click on an file/folder
If prompted accept to erase permanently
See error, file is still there

Expected behavior
after process, file/folder is deleted
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS Version: Windows 10 19041 10.0.19041
App version: v1.2.0

Additional context
Log file
debug_fulltrust.txt

@pabloderen do the files require administrator access?

@gave92 I incurred the same situation with Pablo, all actions on C: need admin access doesn't work with Files. I understood there is a separate issue related to this. But it seems in that issue no specific plan mentioned solving this problem.

Merging with #3441


Cannot find builtin plugin ssh-manager for IDE

https://youtrack.jetbrains.com/issue/IDEA-269725

won't fix, described in the origin issue


Fix Cartesian conversion

This PR fixes the Cartesian conversion. The old version assumed the polar angle (latitude) is a measure of inclination (angle from +Z), however the code is setup such that this angle is a measure of elevation (angle from +X). This new version correctly uses the polar angle as a measure of elevation.

This address and should close #1.


PaintingBinding.instance.imageCache.maximumSizeBytes not working

Steps to Reproduce
The title is actually wrong : the setter is working (i have logged it) but the actions that should evict and release images from memory after setting the value are not working.

Run the sample app
Open dev tools on the memory tab and note the current memory usage value
Click on the start button
See the memory increase
Go back to the main page and note the memory usage

Expected results:
In previous version of Flutter ( < 3.0.x), when using PaintingBinding.instance.imageCache.maximumSizeBytes = 1024 * 1024 * 30 it would evict any images from memory cache to maintain the cap at 30MB of memory usage.
In this example, the memory usage of step 5 should be equal at step 2 ideally. But if for any reason it would not be the case, the memory of step 5 should NOT be higher than memory_step2_value + 30MB thanks to the PaintingBinding.instance.imageCache.maximumSizeBytes setter.
Actual results:
The memory usage is much higher.
In my case it's + 140MB :

Against 30MB initially :

This is a real issue because this was my workaround to counter #102140  and #62107 and it's not working anymore.
The real issue is the above one because images are not released from memory or at least in a very bad / long way.

Code sample
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  PaintingBinding.instance.imageCache.maximumSizeBytes = 1024 * 1024 * 30;
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => const MaterialApp(home: Home());
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  Future<void> openGallery(BuildContext context) {
    return Navigator.of(context).push(MaterialPageRoute(builder: (_) => Gallery()));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text("Start"),
          onPressed: () => openGallery(context),
        ),
      ),
    );
  }
}

class Gallery extends StatelessWidget {
  final String imageURL = 'https://picsum.photos/1500?image=';
  final int maxImageID = 75;
  final int columns = 2;
  final ScrollController controller = ScrollController();

  Gallery({Key? key}) : super(key: key);

  void animateToOffset(double offset) {
    if (offset > controller.offset) {
      Future.delayed(const Duration(seconds: 1)).then((_) {
        controller.animateTo(
          offset,
          duration: const Duration(seconds: 1),
          curve: Curves.easeInOut,
        );
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    double imageSize = MediaQuery.of(context).size.width / columns;

    return Scaffold(
      appBar: AppBar(title: const Text("Gallery")),
      body: GridView.builder(
        controller: controller,
        gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: columns),
        itemBuilder: (context, index) {
          return Image.network(
            "$imageURL${index % maxImageID}",
            fit: BoxFit.cover,
            height: imageSize,
            width: imageSize,
            frameBuilder: (context, child, frame, _) {
              if (frame == null) return child;
              animateToOffset(imageSize * (index ~/ columns));
              return child;
            },
          );
        },
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 3.3.0, on macOS 12.5.1 21G83 darwin-x64, locale fr-FR)
    • Flutter version 3.3.0 on channel stable at /Users/foxtom/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (3 days ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/foxtom/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at /Users/foxtom/Desktop/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • Now You See Me (mobile) • 00008020-001204401E78002E • ios            • iOS 15.6.1 19G82
    • macOS (desktop)         • macos                     • darwin-x64     • macOS 12.5.1 21G83 darwin-x64
    • Chrome (web)            • chrome                    • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Thanks for the report @Tom3652
Can we know what's the image resolution is being used ?
Also, can you try by using cacheWidth, cacheHeight inside Image.Network and see if it makes any difference ?

Hi @darshankawar, yes it's in the URL actually 1500x1500.
However this is only to demonstrate the bad behavior that i am using higher resolution images, if you set a lower cacheWidth it will only delay the problem but the OOM is inevitable if you have an infinite list of photos and scrolling down.
In previous versions of flutter (especially 2.10.x), the usage of PaintingBinding.instance.imageCache.maximumSizeBytes in my app allowed me to keep the same memory usage while scrolling this infinite photo list.

Check this comment and issue for your reference : https://github.com/flutter/flutter/issues/110331#issuecomment-1230505200

I have checked the provided link and the comment doesn't help unfortunately.
In my real app, i am display veeery small resolution pictures (thumbnails 15-30kB) each, but after scrolling through hundreds of items, i run into OOM.
The comment you mention is only about delaying the real issue. The real issue is that flutter doesn't release image from memory when they are no longer on the screen.
If it was the case, in my very simple sample code, you would be at 30MB after going back from the ListView with Navigator.pop(), which isn't the case.
Also, the comment you mentioned is not talking about infinite list of items. It's just a reminder to not load an image in 16000x16000 in memory when the phone can only display 1920x1080 for example, which makes perfect sense & it's normal that if users are trying to display nonsense image resolution, the OOM will come with 3 images and lags etc... So i am guessing that no one is doing so because it doesn't make any sense.
Besides, in my example code above, i didn't put high resolution images, 1500px isn't even full HD and is lower than Instagram quality display to take a real-world example.
And Instagram doesn't go in OOM when displaying infinite list of Items with higher resolution than i do.
I simply would like Flutter to do the same.
But to come back to this current issue, there is something changed in the PaintingBinding.instance.imageCache.maximumSizeByte that make it useless now unfortunately, and that was the issue i was pointing out.
There are plenty other issues about OOM in Image widget and i don't want to duplicate, i have already made some myself last year.

Thanks for the feedback @Tom3652. Curious to know if the memory usage is also same in release and profile mode ?
Because, if you are running in debug mode, the memory usage is on higher side as compared to in other modes. Can you try by running in --profile mode and share the observation to see if it is still high ?

Hi @darshankawar !
I have tried in profile mode and i do see the same behavior, with a lower amount of RAM used with lower resolution pictures of 500x500.
Regarding my issue, the PaintingBinding.instance.imageCache.maximumSizeByte has no effect has it should evict everything until keeping 30MB when no images are displayed on the screen anymore.
The images are not cleared from memory while scrolling the ListView.builder either. The images no longer on the screen should be evicted from memory using the above method.
You can see the same behavior by running this sample, click on start button and see the memory in the dev tools only increasing, just wait and see the bad behavior.
You will also see that popping the page will not release the memory :
import 'package:flutter/material.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  PaintingBinding.instance.imageCache.maximumSizeBytes = 1024 * 1024 * 30;
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => const MaterialApp(home: Home());
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  Future<void> openGallery(BuildContext context) {
    return Navigator.of(context).push(MaterialPageRoute(builder: (_) => Gallery()));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: const Text("Start"),
          onPressed: () => openGallery(context),
        ),
      ),
    );
  }
}

class Gallery extends StatelessWidget {
  final String imageURL = 'https://picsum.photos/500?image=';
  final int maxImageID = 75;
  final int columns = 2;
  final ScrollController controller = ScrollController();

  Gallery({Key? key}) : super(key: key);

  void animateToOffset(double offset) {
    if (offset > controller.offset) {
      Future.delayed(const Duration(seconds: 1)).then((_) {
        controller.animateTo(
          offset,
          duration: const Duration(seconds: 1),
          curve: Curves.easeInOut,
        );
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    double imageSize = MediaQuery.of(context).size.width / columns;

    return Scaffold(
      appBar: AppBar(title: const Text("Gallery")),
      body: GridView.builder(
        controller: controller,
        gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: columns),
        itemBuilder: (context, index) {
          return Image.network(
            "$imageURL${index % maxImageID}",
            fit: BoxFit.cover,
            height: imageSize,
            width: imageSize,
            frameBuilder: (context, child, frame, _) {
              if (frame == null) return child;
              animateToOffset(imageSize * (index ~/ columns));
              return child;
            },
          );
        },
      ),
    );
  }
}

Thanks for the update. Running code sample above specially in profile and release mode on iOS, I am getting same behavior as reported.
The images being higher resolution don't seem to release memory which seems to be adding in total memory usage.

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.3.0, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.0 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (29 hours ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 3.4.0-19.0.pre.85, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.4.0-19.0.pre.85 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b5893fbee (49 minutes ago), 2022-09-06 00:14:13 -0400
    • Engine revision 61020e974c
    • Dart version 2.19.0 (build 2.19.0-171.0.dev)
    • DevTools version 2.17.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Maybe similar / related to:
https://github.com/flutter/flutter/issues/110331
https://github.com/flutter/flutter/issues/108928

Thanks for verifying.
The links you provided are with loading high resolution images. I just want to specify that in the example you just run, the images are in 500x500 which is even less than half of the device screen resolution usually.
And i have picked 500x500 photos to show you the behavior faster, but in my real-world app i am loading pictures 200x200 which are only thumbnails and the app crashes eventually at 100% :(

I'm also experiencing this same issue

Same, but on Windows, not ios


issue  #1502 (created a random color generator app )

Random Color Generator
A simple web application that generates random colors and displays them on the screen. This project is a part of GSSoC and Hacktoberfest.
Features

Generates random colors with a click of a button.
Displays the color code in both HEX and RGB formats.
User-friendly interface with responsive design.

Technologies Used

HTML
CSS
JavaScript

add me level1 tag for this creation  of app

fix #1502


Fix exception in FLEx 8 project upgraded to FLEx 9

Due to an internal change in the Send/Receive system, when a FLEx 8 project upgrades to FLEx 9, LfMerge throws an unhandled exception in the Send/Receive process. This should fix that issue by forcing LfMerge to retry the Send/Receive with the FLEx 9 code if that happens.
Fixes #107.

This change is

So I was just browsing through the code and noticed this line which looks like a bug. Should it not say "sentence" ?
LfFieldNameForExampleSentence = "sentence";

Yes, that looks wrong. I'd have to check the Language Forge PHP code to see whether the field name is sentence or example in LF. I'll create a new issue to track this so that I don't forget about it.

Created https://github.com/sillsdev/LfMerge/issues/109 to track the probably-wrong string. I'm currently working on getting LfMerge PRs to build again on Jenkins (last build was 11 months ago), which will probably take me until tomorrow. Once I get a build and can test it, I'll merge this PR into master so it can be deployed.

Discovered that my bugfix so far isn't quite sufficient (see https://github.com/sillsdev/LfMerge/issues/107#issuecomment-850205243 for details). The new commits I just pushed should take care of that, where we'll now correctly extract DB version number 7000072 from a branch named 7500002.7000072.

Note that #114 should be merged at the same time as this one; this one is against master and #114 is against fieldworks-master. Both branches need this bugfix.

Tested and working locally, and all Send/Receive unit tests passing. Merging. Once Jenkins builds the resulting packages, we can push them to QA and run them there for further testing.


Rewrite app based on yurique/frontroute-example

This allows to use basic routing in the app. This is mainly/only used to replace the hard coded team member list with a list provided in the URL.
If the list is not provided the app will show a form field to generate the URL.
The app also makes use of webpack-dev-server and proper bundling now.
I also test-hosted the bundled app on my website to make sure it works.
edit: I did also remove the upload.sh. With this PR you can run
sbt frontendJS/fullLinkJS
yarn run build
scp -r ./dist "$USER@$HOST:/$DST"

(please don't use rsync :see_no_evil: )

This PR also creates a nice performance "boost" :wink:


Saving the Trained models

@maziarraissi
First off, thank you for sharing the code.
I have run the code for Navier Stokes. It took a long time to train and after that there was nothing to show for. So I request you to add a  .save to your PhysicsInformedNN class.

@ankitlohiya212 @maziarraissi
Have you found a way to save a trained PINN model?
I am trying to save variable explorer (.spydata) using anaconda spyder and get this message: ‘"save data: some objects could not be saved: model".
Thank you

@ankitlohiya212 @maziarraissi @guimilhoratti
I am also trying to save the model to call the predict function. Please let me know if any possible solution available.
Thank you


FCREPO needs to be updated because of the ActiveMQ security event

https://github.com/fcrepo/fcrepo/releases/tag/fcrepo-6.4.1
See https://fedora-repository.atlassian.net/browse/FCREPO-3911

Thanks Noah. This release work has been completed and the community has been notified through as many channels as possible. I'm going to close this issue now as It's no longer active


chore(web): Update react router to latest beta

Description

How has this been tested?

 Basically it adds support for the new data loading achitecture in react (Suspense) which makes it possible to delay the navigation to another page.
You trigger the loading of data requirements in B from page A, and the "transition" to page B will not happen until the data is fetched.


Applied flash attention usage

To compare performance, I tried to compare train loss by applying longlora with full fine tuning.
However, when applying longlora as in the paper, performance similar to full fine tuning did not come out (twice the difference in train loss(x2)).
So, in the corresponding configuration(https://github.com/dvlab-research/LongLoRA#fine-tuning), only use_flash_attn was changed to true -> false, so longlora performed similar to full fine tuning(and also time use x2 than not use flash-attn2 haha.). (The model is plotglot-ko 12.8B.)
Could you tell me why?
Did the latest version of flash-attn-2 apply cause a problem?

Hi,
Thanks for your question. It might be caused from the version of Flash-Attention2. What is the version you using?
Regards,
Yukang Chen

Hi,
I'm using Flash-Attention2 (2.3.2)! And the base model is "EleutherAI/polyglot-ko-12.8b", context length = 1024.

Hi,
Is 1024 is the original context length of the base model? What is the target context length for fine-tuning?
Regards,
Yukang Chen

Original context length of the base model is 2048 and I didn't limit target context length for fine-tuning!
The larger context length, the smaller loss diffrence(with flash attention 2/ 1k -> 65k). But above issue remains.

Sorry for the late reply. Because I am not familiar with this base model. It is hard for me to solve this issue. Hope for your understanding.


Nominate Peter Leibiger as Voting Member

I would like to nominate @kuhnroyal to become a MapLibre Voting Member.
Motivation
Peter did a lot of contributions to MapLibre Flutter.
Checklist

[x] The nominee contributed in a non-trivial way or donated funds to the MapLibre Organization.
[x] This PR updates VOTING_MEMBERS.md with the GitHub handle and current employer (when applicable) of the nominee.
[ ] The nominee has approved the pull request to indicate they want to be a Voting Member of MapLibre.
[ ] The nominee has shared their full name and contact e-mail with this form.
[ ] At the voting deadline[^1], more Voting Members have approved this pull request than disapproved this pull request.

More details on the process of nominating Voting Members can be found here.
[^1]: Thursday, Aug 22nd, 2024 at 17:00 CEST

@kuhnroyal, congratulations on being nominated to become a MapLibre Voting Member. As Voting Member you can elect the Governing Board, more on the election see here.
To accept the nomination please do the following two steps until Thursday, Aug 22nd, 2024:

Approve this Pull Request
Share your email and contact details with us with this online form

@wipfli Thanks for the nomination!


State changes is not recorded in the event store

All the state change need to be recorded in the event store, But I don't see any code  recording the order aggregate state change for OrderShippedEvent
https://github.com/eugenp/tutorials/tree/master/axon

@wjqq we use axon-spring-boot-starter and it takes care of all the configuration necessary to properly setup the Event Store. Remember you still need to download and run the server manually.


I made some changes in controller site

Hey @nidhisingh-1 I make  hover animation in header increase padding and fixed the error where tag wasn't close. Please accept my PR for hacktoberfest.


Redundancy of this repository

Just wondering whether we should continue this or start assisting with cuchaz's work: http://www.cuchazinteractive.com/blog/minecraft-1.9-15w31c-mappings
He has finished all the classes and needs methods to be renamed, making the majority of the work here redundant

I intend to continue working on this repository when I get time. I refuse to depend on cuchaz' mappings as they force all dependants to go OSS.

I, personally, never intended for this to be a full project that was actually used. This was just something I started for fun 'cause I was bored. I am not going to take this repository down, anyone who wishes to use or contribute may continue to do so.


Error resolving qualified table names after the JOIN keyword

Example data:
:) create database test
:) create table test.tab (n UInt8) engine=TinyLog
:) insert into test.tab values (1)

If I use a qualified name after join, I get an error:
:) select * from test.tab all inner join test.tab using n

Received exception from server:
Code: 60. DB::Exception: Received from localhost:9000, <IP_ADDRESS>. DB::Exception:
Table default.test.tab doesn't exist.

If I set the current database and use an unqualified name, it works as expected:
:) use test
:) select * from tab all inner join tab using n
┌─n─┐
│ 1 │
└───┘

If I use a subquery it works as well:
:) select * from test.tab all inner join (select * from test.tab) using n
┌─n─┐
│ 1 │
└───┘

+1
This is a bug that should be fixed IMO. It was reported also in the infi.clickhouse_orm project - see https://github.com/Infinidat/infi.clickhouse_orm/issues/37

I'm seeing a probably related error on a much simpler query:
SELECT foo.column FROM foo

Allowing fully-qualified column names would be great for compatibility with tools that generate SQL.

Fully qualified names are on the way.

Great! That would probably be enough for our attempt of using Clickhouse with Mondrian.

We have implemented qualified names in early, minimal way:
https://github.com/yandex/ClickHouse/pull/890/commits/f6be68771723c8676fd8ca7970538abdf2f09327#diff-1613521a0e28c68b97ff10ba032993eb

Any idea when this would be available ?
We are also trying to use Clickhouse with Mondrian - but the generated SQL uses joins with alias which is not supported in Clickhouse

We have supported aliases and qualified names for both sides of JOIN; JOIN ... ON clause and correct behaviour of asterisks.
Please reopen if you have another issues.


(PDB-3611) Rewrite and/or of uniform in/extract to union/intersect

Postgres has a really hard time with queries like this:
  select x from t1
  where x in (select x from t2)
  and x in (select x from t3)

We tend to generate these a lot. But it deals better with
  select x from t1
  where x in (select x from t2
              intersect
              select x from t3)

which is the same. The same goes for or->union. This change does that rewriting.

CLA signed by all contributors.

Test PASSed

Test PASSed

Test PASSed

1 looks good so far as I can tell.

Test FAILed

Test PASSed

Test PASSed

Test PASSed

Test FAILed

Test PASSed

Test PASSed

Test PASSed

Test PASSed

Decided not to take this route; closing.


[Build] Support running tests using ASWF Docker image

What
Craft a process for executing ctest (with all test targets enabled) via a container created from the ASWF CY22 Docker image.
Why
#294 added new dependencies for executing tests (namely, Catch2 and Trompeloeil), which are not available in the Docker image by default.
This means that building the C/C++ test targets is not possible with the default image.
Questions
From our initial brief discussion, we aim to use Conan packages in a similar way to non-Docker builds (local/CI/Vagrant), but only for those libraries that are not already available in the Docker image.
To this end we will need either

A way to tag packages within the existing conanfile.txt (needs some research to see if this is possible), so that users can install only those packages tagged as necessary for the Docker image.
Move from conanfile.txt to conanfile.py, parametrised some way (e.g. environment variables) so that different code paths are taken for Docker vs. other builds.
Multiple conanfile.txt files under an appropriate directory structure, i.e. a reduced conanfile for the Docker container.

With this in place, we then need to decide where the installed packages should go, e.g.

Within the container as part of the build/test one-liner (i.e. docker run ... 'conan install ... && cmake ... && ctest')
On the host system, so the Docker conan install can be a one-shot command and the packages reused for subsequent container invocations.
Baked into the image via a custom Dockerfile, which inherits from the ASWF image.

This was done as part of #735


ValueError: An input parameter is already in use.

Hello,
I try to run the example_control_loop.py, but it always says the variables are in use. (IN_USE).
Have not been able to run it ever. Are there some undocumented requirements?
The record.py example works ! But that does not use any input_variables (input to the UR) so that not failing on 'in use'.
I run it on Windows, with the URSIM UR5 in a Virtual Box.
Clean install, reboot virtual machine, does not seem to help.
netstat shows this: so there are connections to port 30004 but that's directly after restarting so that's normal, i guess.

error:

Any help would be greatly appreciated.
Best Regards,

Clearly Ethernet/IP is enabled - it reserves all int/double GP registers 0-23.
Control loop example needs to be updated to use registers 24 and above instead of 0.
This needs to be done both on the urp program side, and python side.

Python script needs to be started before program on the robot starts.
Alternatively watchdog can be disabled on line 3, however in this case setpoint is set to 0 that will likely collide with base if input int registers 0 is set.

Thanks for the help, i get it now,


Download chat history with remote JID

Form added in front-end
Listener added on backend
Code cleaning (quickly)

The backend function "get_history_chat(...)" is fully inspirated by @Beleren in issue #36

Hello,
Can I have a response about this PR please ?
I can work more on it, but for research project I'm really needing it.
Please feel free to give me feedback, even negative feedback, please.

You can use this while it is not merged: https://github.com/ds300/patch-package

Hi @J4YF7O ,
Thanks for this PR!
I'm still trying to get my head around this project works...
When I tried  to download a chat history (added jid in the frontend form) I got the following error:
[1] Traceback (most recent call last):
[1]   File "/app/backend/whatsapp.py", line 173, in onMessage
[1]     messageDecrypted = self.decrypt_message_content(messageContent);
[1]   File "/app/backend/whatsapp.py", line 230, in decrypt_message_content
[1]     raise ValueError("Hmac mismatch");
[1] ValueError: Hmac mismatch
Before I also spotted the error below:
[1] Traceback (most recent call last):
[1]   File "/app/backend/whatsapp.py", line 193, in onMessage
[1]     self.connInfo["clientToken"] = jsonObj[1]["clientToken"];
[1] KeyError: 'clientToken'
I might be missing something obvious here. Any ideas?

Hi @J4YF7O, I'm sorry about it taking so long to reply.
This is a great PR! What remains to be done on it, or can I merge it directly?

Hello @quad ,
I think that when the PR was pushed it was complete.
More than a year later, I am not so sure that all is still compatible with the whatsapp evolution.
Unfortunately I don't work for the above mentioned project anymore, and I don't have enough time to do the necessary tests to merge it.
If someone wants to take it over, they should check that the get_chat_history (on backend/whatsapp.py) method is still working. (and resolve conflicts...)
Otherwise you can close the MR.


Using and distributing a fixed version of the Windows Webview2 Runtime

Minimal guidance exists, but ...

Step-by-step is needed.
It might be best to create a dedicated article.

https://github.com/BethMassi/PinWebviewRuntime

Metadata:

Physical path: [e.g., /blazor/hybrid/topic-url-segment]
Title: Typical limit is 59 characters + the technology name ("ASP.NET Core Blazor Hybrid")
Author: Author's GH handle
Description: Preferred range 115-145 characters long
Framework version:
UID: Usually, matches the physical path [e.g., blazor/hybrid/topic-url-segment]

The guidance and working sample is here: https://github.com/BethMassi/PinWebviewRuntime
I think we need to add this guidance for MAUI here: https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#details-about-the-fixed-version-runtime-distribution-mode as it only has guidance for WinUI, WinForms and WPF.

Update on my general progress ...
I'm still working down full-stack UI update work on https://github.com/dotnet/AspNetCore.Docs/issues/28161, which will continue for the next few weeks. RC1 will land, and then I have another big round of updates that includes setting up the .NET 8 Blazor snippet sample apps.
I'll try to get back to this as soon as I can to help, but it will take a few more weeks to get free ... well ... free-er-ish 😄. Given what you provided in the README, it doesn't seem like it will take me very long to get the PR set up when I reach this.


Record SharePoint Document Location Creation

Hi,
Is there a way to automatically generate document location when a record is created in current version as a setting? Or does this still need to be done through power automate?
Regards
Jaimie
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 6470aaae-a460-a134-a67a-943d65911430
Version Independent ID: 6063cdd4-8257-0670-275f-ca55a2f304df
Content: Create or edit records for document locations to use SharePoint - Power Platform
Content Source: power-platform/admin/create-edit-document-location-records.md
Service: power-platform
Sub-service: admin
GitHub Login: @Mattp123
Microsoft Alias: matp

Thanks for your comment, @jaimieji. This issue has been assigned to the doc author for review.