OTLPTraceExporter doesn't export spans when using auto instrumentations for multiple applications

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.27.0
What version of Node are you using?
14.18.2
Please provide the code you used to setup the OpenTelemetry SDK
URL - is the URL to the Dynatrace API endpoint
export const getInstrumentationsArray = (addAutoInstrumentations?: boolean | InstrumentationEnum[]) => {
    let instrumentations: any = [];

    if (addAutoInstrumentations) {
        if (addAutoInstrumentations === true) {
            instrumentations = [ getNodeAutoInstrumentations() ]
        } else {
            const instrConfigs = {};
            for (const instrumentation of Object.values(InstrumentationEnum)) {
                instrConfigs[instrumentation] = { enabled: addAutoInstrumentations.includes(instrumentation) }
            }
            instrumentations = [ getNodeAutoInstrumentations(instrConfigs) ]
        }
    }

    return instrumentations;
}

    const sdk = new NodeSDK({
        metricInterval,
        sampler: new AlwaysOnSampler(),
        traceExporter: new OTLPTraceExporter({
            url: url + "/v2/otlp/v1/traces",
            headers: { Authorization: "Api-Token " + APIToken }
        }),
        // @ts-ignore
        metricExporter: new DynatraceMetricExporter({
            url: url + "/v2/metrics/ingest",
            APIToken,
            maxRetries: MAX_RETRIES,
            defaultDimensions: getCustomTags()
        }) as MetricExporter,
        instrumentations: getInstrumentationsArray(addAutoInstrumentations),
        resource: new Resource({
            [SemanticResourceAttributes.SERVICE_NAME]: application_name,
            [SemanticResourceAttributes.SERVICE_VERSION]: application_version,
            [SemanticResourceAttributes.SERVICE_INSTANCE_ID]: v4(),
            [SemanticResourceAttributes.SERVICE_NAMESPACE]: `${ organization_name }${ space_name }`
        })
    });

    await sdk.start();

    process.on("SIGTERM", () => {
        sdk
            .shutdown()
            .then(
                () => console.log("SDK shut down successfully"),
                (err) => console.log("Error shutting down SDK", err)
            )
            .finally(() => process.exit(0));
    });

What did you do?
I tried to use the auto instrumentation feature with dynatrace.
What did you expect to see?
Multiple instrumentations of multiple applications
What did you see instead?
We deployed two applications that initialized the Node SDK with.

Only 1 of them was seen in the ingested traces section in dynatrace, both have the exact same code as shown above
The ingested traces included only the applications service.name resource, although we also specified the service.namespaces, service.version and service.instance.id resources - all of them were omitted
Not all instrumentations were seen - there're only traces regarding dns.lookup and ioredis connection - no http/express instrumentations at all

Additional context

Is this working with other exporters/backends? Trying to determine if this is an issue with the sdk, the exporter, or dynatrace

(1) If the entire code including package versions matches exactly then maybe your settings or environment variables (URL, API token, the permissions for that token) don't match. Did you inspect the log output?
(2) Do they not show up at all or just as "Value not stored"?
(2)+(3) Did you try setting up a different exporter (like the logging exporter or Jaeger) to check if you can see them there?

3. no http/express instrumentations at all

Is it ensured that http/express is imported after SDK was started?

@dyladan - it's two different backends, one is working the other is not
@arminru the environment variables for each application is the same. Both application also export metrics with the Dyntarace metric exporter and we see it from both. Regarding the resources - they are shown as "Value not stored". I didn't try a different exporter, that's a good idea, I'll try another one and let you know.
@Flarna yes, even if I specify no parameters to the getNodeAutoInstrumentation method (which should import all supported instrumentations), I don't see the traces of http in the ingested traces section

Regarding the resources - they are shown as "Value not stored".

Depending on your compliance and privacy settings you need to add the respective attribute keys to an allow/capture list. There should be a link to configure the allow lists for spans and resources right below the attributes screen in the trace viewer or you can find it under Server-side service monitoring on your settings page.

@RubyKozel this sounds like it is most likely a configuration issue with your Dynatrace environment. I would suggest you open a support case and report back here if that turns out not to be the problem.

It's here https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/metapackages/auto-instrumentations-node/src/utils.ts#L23


Remove: WestWind.MarkdownMonster version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

See https://github.com/RickStrahl/MarkdownMonsterReleases/issues/1


nano, enter-chroot flashing

Please paste the output of the following command here: sudo edit-chroot -all
____________________________________________________________________________
name: manifest
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/manifest...
crouton: version 1-20170901092920~master:0216f9d1
release: xenial
architecture: armhf
xmethod: xorg
targets: xfce
host: version 9460.60.0 (Official Build) stable-channel peach_pi
kernel: Linux localhost 3.8.11 #1 SMP Mon Jun 5 16:51:44 PDT 2017 armv7l armv7l armv7l GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/manifest...
_____________________________________________________________________________

Please describe your issue
I use xfce4 with the "enter-chroot" command, once in, I run nano but the whole terminal starts
flashing, but not all at once, it's like some sort of segmented flashing where parts of the terminal screen/text will flash out of sync of other parts of the terminal/text.
Thanks for taking the time to read this.
If known, describe the steps to reproduce the issue:
shell
sudo enter-chroot -n manifest
sudo apt-get install nano
nano *

I also have an issue with firefox crashing immediately recently, if this is related.

Compiling ncurses from source should fix this issue.

it seems to have been fixed


Add support for full-fit-in

Add support for full-fit-in method that allows to resize image on the smallest side

Just released a 1.1.1 with your pull request.


Demo examples including updates

@s1061123 I went ahead and added your demo files into a ./examples/demo directory -- but, I also went ahead and updated them so that they match the spec section that looks like:
metadata:
  name: flannel-conf
spec:
  config: '{
            "cniVersion": "0.3.0",

E.g. now the plugin: top level element is gone, and the "type":  element is under spec.config.
Tomo, feel free to commit to this branch to show the changes, or, we can later delete this branch if you want to do it another way.
note Don't merge this yet, just for discussion of the demo examples for now, can merge later if we keep this branch, or close out the PR if we don't need it.

Feng mentioned that we should rename 'demo' to 'demo1' or some for another demo and I agree with him.
I will rename it.

Sounds like a good idea
On Tue, May 8, 2018, 10:03 AM Tomofumi Hayashi<EMAIL_ADDRESS>wrote:

Feng mentioned that we should rename 'demo' to 'demo1' or some for another
demo and I agree with him.
I will rename it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Intel-Corp/multus-cni/pull/72#issuecomment-387413245,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFN_vRVthZLKYxgcGIrJQI9Y1LFL2jSkks5twaWmgaJpZM4TxoPb
.

Now it is ready, so removing 'WIP' tag.
Could you please take a look into it?

@s1061123 @dougbtv I will look into it..

I've rebased and make it as one commit.


MultiSelect: Icon shifted too far

Describe the bug
The clear icon of the multiselect component used to look like this:

But in 9.4.0 it is not aligned correctly anymore:

Reproducer
https://codesandbox.io/s/primereact-test-forked-j9mtn0?file=/src/index.js
PrimeReact version
9.4.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Microsoft Edge Version 113.0.1774.42
Steps to reproduce the behavior

Create a multiselect component with the showClear property set to true.
Select one or more items from the multiselect
Look at the alignment of the clear icon

Expected behavior
The clear icon should be aligned properly.

It looks like its right: 3rem when i make it right: 1.2rem it looks much better


add uber 10k dataset

corresponding llama-datasets PR: https://github.com/run-llama/llama-datasets/pull/33

merging this.


pm: Remove CURRENT_CPU macro

Just use _current_cpu that works with/without multicore.

For the record, crash #69807 just filed was bisected to this commit.


⚠ Roblox Devhub has degraded performance

In db820b8, Roblox Devhub (https://developer.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 2329 ms

Resolved: Roblox Devhub performance has improved in 3b9c22c.


Linux framework smoke tests flaking on MemoryAllocations checkValidWeakTarget

examples

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8781354777818865009/+/u/Framework_test/test:_Framework_test/stdout
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8781438844905436273/+/u/Framework_test/test:_Framework_test/stdout

log
10:10 +9876 ~81: /b/s/w/ir/cache/flutter/packages/flutter/test/material/about_test.dart: ListView of license entries is primary (variant: TargetPlatform.windows)
══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
The following ArgumentError was thrown MemoryAllocations while dispatching notifications for
PictureLayer:
Invalid argument (object): Cannot be a string, number, boolean, record, null, Pointer, Struct or
Union: 126605017

When the exception was thrown, this was the stack:
#0      checkValidWeakTarget (dart:_internal-patch/internal_patch.dart:220:5)
#1      Expando.[] (dart:core-patch/expando_patch.dart:31:5)
#2      FinalizerBase.detach (dart:_internal-patch/internal_patch.dart:335:32)
#3      ObjectTracker._checkForDuplicate (package:leak_tracker/src/leak_tracking/_object_tracker.dart:219:16)
#4      ObjectTracker.startTracking (package:leak_tracker/src/leak_tracking/_object_tracker.dart:51:9)
#5      dispatchObjectEvent (package:leak_tracker/src/leak_tracking/_dispatcher.dart:40:19)
#6      dispatchObjectEvent.<anonymous closure> (package:leak_tracker/src/leak_tracking/leak_tracker.dart:91:16)
#7      dispatchObjectEvent (package:leak_tracker/src/leak_tracking/leak_tracker.dart:94:4)
#8      _withFlutterLeakTracking.flutterEventToLeakTracker (file:///b/s/w/ir/cache/flutter/packages/flutter/test/foundation/leak_tracking.dart:109:12)
#9      MemoryAllocations.dispatchObjectEvent (package:flutter/src/foundation/memory_allocations.dart:238:23)
#10     MemoryAllocations.dispatchObjectCreated (package:flutter/src/foundation/memory_allocations.dart:272:5)
#11     new Layer (package:flutter/src/rendering/layer.dart:143:34)
#12     new PictureLayer (package:flutter/src/rendering/layer.dart)
#13     PaintingContext._startRecording (package:flutter/src/rendering/object.dart:336:21)
#14     PaintingContext.canvas (package:flutter/src/rendering/object.dart:328:7)
#15     RenderCustomPaint.paint (package:flutter/src/rendering/custom_paint.dart:620:33)
#16     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#17     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#18     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#19     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#20     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#21     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#22     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#23     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#24     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#25     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#26     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#27     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#28     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#29     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#30     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#31     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#32     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#33     RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:146:15)
#34     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#35     PaintingContext.paintChild (package:flutter/src/rendering/object.dart:253:13)
#36     RenderView.paint (package:flutter/src/rendering/view.dart:213:15)
#37     RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3059:7)
#38     PaintingContext._repaintCompositedChild (package:flutter/src/rendering/object.dart:169:11)
#39     PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:112:5)
#40     PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1147:31)
#41     AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1400:27)
#42     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358:5)
#43     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1290:15)
#44     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1220:9)
#45     AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1244:9)
#48     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#49     AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1230:27)
#50     WidgetTester._pumpWidget (package:flutter_test/src/widget_tester.dart:585:20)
#51     WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:570:14)
#54     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#55     WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:569:27)
#56     main.<anonymous closure> (file:///b/s/w/ir/cache/flutter/packages/flutter/test/material/about_test.dart:929:18)
#57     testWidgetsWithLeakTracking.wrappedCallback.<anonymous closure> (file:///b/s/w/ir/cache/flutter/packages/flutter/test/foundation/leak_tracking.dart:58:27)
#58     withLeakTracking (package:leak_tracker/src/leak_tracking/orchestration.dart:88:19)
#59     _withFlutterLeakTracking.<anonymous closure> (file:///b/s/w/ir/cache/flutter/packages/flutter/test/foundation/leak_tracking.dart:117:27)
#62     TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#63     _withFlutterLeakTracking (file:///b/s/w/ir/cache/flutter/packages/flutter/test/foundation/leak_tracking.dart:112:25)
#64     testWidgetsWithLeakTracking.wrappedCallback (file:///b/s/w/ir/cache/flutter/packages/flutter/test/foundation/leak_tracking.dart:57:11)
#65     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:163:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 7 frames from dart:async and package:stack_trace)

The PictureLayer sending notification was:
  PictureLayer#bd6d9 DETACHED
════════════════════════════════════════════════════════════════════════════════════════════════════

10:10 +9876 ~81 -1: /b/s/w/ir/cache/flutter/packages/flutter/test/material/about_test.dart: ListView of license entries is primary (variant: TargetPlatform.windows) [E]
  Test failed. See exception logs above.
  The test description was: ListView of license entries is primary (variant: TargetPlatform.windows)

To run this test again: /b/s/w/ir/cache/flutter/bin/cache/dart-sdk/bin/dart test /b/s/w/ir/cache/flutter/packages/flutter/test/material/about_test.dart -p vm --plain-name 'ListView of license entries is primary (variant: TargetPlatform.windows)'

closing as duplicate of https://github.com/flutter/flutter/issues/126259


Fetch server

Remote builds need a way to fetch local files. In earlier prototypes, this was done via a 'fetchserver' that listens on a unix socket, this takes requests for shasums and streams content into the sandbox.
For remote builds we used an ssh unix socket tunnel to forward the fetch server.
During 'package collection' when a local file is referenced, we take note of its path and checksum. For efficiency if the build file specifies the checksum we do not need to rehash the local file.
It should also be possible to cache inode -> checksum too. These checksums are verified on both ends.

A key bonus of this design, is the remote package store proxies requests, so has an opportunity to provide a local content cache/cloud cache of open source tarballs etc.

Implemented.


ciao-cli tenant list returns an error if there are more than two projects

This doesn't look correct to me.  I don't understand why I'm getting an error here.  Why should I need to specify a tenant when listing tenants?
ciao-cli tenant list
Available projects for admin:
     Project[1]: admin (3e4fb4bc72fc470ebf3d09becebb9992)
     Project[2]: service (5aec402434c74089b0caefc907435817)
F0928 16:59:48.650099   17356 main.go:121] ciao-cli FATAL: Please specify a project to use with -tenant-name or -tenant-id
goroutine 1 [running]:
github.com/01org/ciao/vendor/github.com/golang/glog.stacks(0x8f6b00, 0xc400000000, 0x7b, 0xac)
    /home/markus/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:769 +0xa5
github.com/01org/ciao/vendor/github.com/golang/glog.(*loggingT).output(0x8da7a0, 0xc400000003, 0xc4202bcd80, 0x8b53c5, 0x7, 0x79, 0x0)
    /home/markus/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:720 +0x357
github.com/01org/ciao/vendor/github.com/golang/glog.(*loggingT).printf(0x8da7a0, 0xc400000003, 0xc42038a4b0, 0x4f, 0x0, 0x0, 0x0)
    /home/markus/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:655 +0x14c
github.com/01org/ciao/vendor/github.com/golang/glog.Fatalf(0xc42038a4b0, 0x4f, 0x0, 0x0, 0x0)
    /home/markus/go/src/github.com/01org/ciao/vendor/github.com/golang/glog/glog.go:1148 +0x67
main.fatalf(0xc420310480, 0x3f, 0x0, 0x0, 0x0)
    /home/markus/go/src/github.com/01org/ciao/ciao-cli/main.go:121 +0x94
main.main()
    /home/markus/go/src/github.com/01org/ciao/ciao-cli/main.go:346 +0x5d7

different tenants could have different permissions, for example the admin user on the admin tenant should be able to list all of the projects in existence.
But a demo user from demo tenant should not be aware of other tenants he doesn't belong to.

I guess I should have clarified, but when I encountered this error I had set
CIAO_USERNAME=admin
From your comments, I don't think I should see this error when I'm an admin. Do you agree?

'admin' is just an username, which needs a password and a tenant to be authenticated.
I will review whats the behaviour in openstack when the tenant is not specified.

It would be worth checking to see if this error is occurring due to how the keystone service is setup with ansible, or if the problem occurs on our existing test clusters. Also, the ciao api was moved around last week - perhaps this is a casualty of that effort.

Please note that this error was encountered on a 4 node cluster set up with the ansible scripts.

This won't happen now as that code has been removed by #1410


How to avoid 429 on whole block of ipv6 proxies?

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.01.01
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

I have about 4 000 request per day to Youtube.com and to avoid 429 I used to ipv4 proxies but it's too expensive so that I bought 100 ipv6 proxies and after 20 minutes of using it all 100 ipv6 proxy were banned with error "429 too many requests". When I use it to connect to youtube via browser it asks for captcha(not image but "click to verify that you are not a robot"). I completed this captcha, copied cookies then I passed cookies in youtube-dl and it worked but only for 10 minutes. How can I avoid ban of my ipv6 proxies by youtube? Maybe there some cookie generators?
P.S. If you close my issue as duplicate please give me solved issue otherwise do not close it we may find new solution of this problem

There is no solution you must either solve captcha and pass authenticated cookies or use sleep interval. Neither of these are guaranteed to work.

solve captcha and pass authenticated cookies
I passed cookies but it ban whole block of ipv6 in 20 minutes again

I've seen some ipv6 proxies it works with no problem. when I create my own ipv6 proxy it got detects the whole subnet and bans. Even if I refresh the ipv6 ips the ban remains.. Any idea how the purchased ipv6 proxies solved this issue ?


Generate fake attendance events within correct school year

Currently the generation of fake student data includes generation of attendance events (absences and tardies). These events are generated randomly across 5 years (from 2010) but the records are created with the current school year as the school year for ALL attendance events regardless of date.
demo_data/fake_student.rb

@jhilde Good catch!  👍
Feel free to ping me or @alexsoble if you want to pair on fixing this up, or a hand reviewing anything.

I can dive into this next.

This issue isn't relevant any more because we dropped the school_years and student_school_years tables in June: #938.


sc remove-gcp-broker should delete the service account with Broker Operator role

sc add-gcp-broker creates a service account and grants Broker Operator role. But, sc remove-gcp-broker does not revert this operation.
Sometimes, sc add-gcp-broker leads to a broken state, and then there's no way to fix it. What we can do is to make sc remove-gcp-broker clean it up.

Creating a service account per GKE cluster. Then:
add-gcp-broker will create a service account with IAM role and private key.
remove-gcp-broker will delete the service account.

Talked to @maqiuyujoyce offline.
remove-gcp-broker will delete all private keys and IAM roles of the service account, but keeping the service account.
add-gcp-broker will create a service account if not exists. Then, add it adds IAM role and creates a private key.

GKE cluster name can't be used directly as the service account name:

GCP service account name: "Service account name must be between 6 and 30 characters (inclusive), must begin with a lowercase letter, and consist of lowercase alphanumeric characters that can be separated by hyphens." (max = 30 chars)

GKE cluster name: "It must be unique within the project and the zone."
So GKE clusters are identified by the combination of cluster name (up to 40 chars) and zone (the longest zone name is currently "northamerica-northeast1-a", which is 25 chars). (max = 65 chars)

That's why in #129, the generated service account name is non-readable and non-recognizable (by cluster owner).

I mentioned a possible bug in #129 , but repeating here to keep this issue open:
Please test this scenario:
(1) sc add-gcp-broker
(2) users delete the service acccount
(3) sc add-gcp-broker again

In this case, SetIamPolicy would apply to the deleted service account, which is not expected behavior.
We should remove the IAM role followed by adding the IAM role.

Another scenario:
(1) sc add-gcp-broker
(2) sc add-gcp-broker many times

Is sc add-gcp-broker idempotent? I guess we keep creating a private key, and it will eventually fail? Failing is okay, but we could output the error message that "Warning: please run sc uninstall before running sc install".

A workaround for the first scenario is: in sc add-gcp-broker, deleting the broker operator role right before adding it to the SA.
For the second scenario, the concern should have been addressed by #133.


Multi-sample Variables (vector inputs)

Addresses #91 in part.
This PR makes several changes:
Optimizers are Samplers
Internally, the Optimizer base class now inherits from the Sampler base class.  Externally, no difference is seen to the user.  This resulted in significant reorganization of the Sampler base class, for increased clarity to developers.
Samplers, Optimizer use InputParams
Samplers and Optimizers are now using the InputParams instead of reading the XML directly.
Multivalue Input Variables
All samplers (including optimizers) now have syntax by which they can sample vector inputs instead of just scalars.  The desired shape of data is given in the <variable> block, in a node called <shape> that takes a comma-separated list of integers (as in numpy shapes).
For now, by default anything inheriting from the base Sampler will simply expand the sampled value of a variable to fill the size and shape of the variable requested.  For instance, if a shape of (2,3) is requested for variable "y" and Grid samples a value of 0.6 for "y", then the resulting values set in the sampler's new input are a two-by-three matrix, each entry of which is equal to 0.6.
In the future, specific implementations for specific samplers can be grown by overloading the "_expandVectorVariables" method.
Vector Optimization
The Optimizer can now optimize vector variables!  For now, the optimizer will expand the initial values given into the requested shape (which, for the record, must only be a vector; matrices or higher aren't supported yet, but shouldn't be too difficult to expand when the time comes).  After expanding the initial values, each entry in a vector is treated as if it were an independent scalar variable internally, while remaining a vector in all user-facing interactions.
As a result, the TargetEvaluation for a vector sampling should be a DataSet, not a PointSet or HistorySet, otherwise only the first point will show up in the CSV.  This doesn't change anything internally for the optimizer, as it only takes the Output based on the Prefix from the TargetEvaluation, but if the user looks at that CSV there will be a lot of information missing.
Future Work
Additional work will be needed to allow a vector (say, from a data object) to serve as an initial set of values for the Optimizer for any particular trajectory.

I also meant to note, when comparing a vector and scalar identical test side-by-side, the vector was a little bit faster, but not a huge difference.


question on adaptors

Hi
At the http://docs.ractivejs.org/latest/writing-adaptor-plugins, the documentation on adaptor.set(...) says:
// The `set()` method is called when you do `ractive.set()`, if the keypath
// is _downstream_ of the wrapped object. (...)

Trying to come up with a custom adaptor, I can have, let's say
//...
data: function() {
   return {
      state: adaptorState;
  }
}

Then:

if I do ractive.set('state.list', newItem) then this gets filtered by adaptor
if I do ractive.set('state.list[itemId]', newVal), ractive.data does not get updated but this set is filtered by adaptor, then ractive.data can get updated from adaptor.
if I do ractive.set('state.list.itemId, newVal), ractive.data does get updated but it is not filtered by adaptor. So, set method in adaptor is not run.

Did I misunderstand the documentation regarding the downstream concept or is there any limit on the downstream level?
Cheers!!

Actually I think this might be a case of bad documentation – the set() method is only called when you set a property directly on the adapted object. We should probably clarify exactly what the rules are regarding downstream changes on adaptors and enforce them with tests – I suspect we might need to change this method such that adaptors are created for new branches.
Could you spell out what you're trying to do and what the expected results are please? Would help with coming up with a sensible test. Thanks

Gonna move this over to #2512.


Allow using a Type without any RecordAttribute

Sometimes you can't edit an existing type to add the necessary attributes (DelimitedRecordAttribute or FixedLengthRecordAttribute) and this information could be specified through parameters.
If the type doesn't have any attribute, you could use a default value, if this information is not specified through a parameter.
I've been annoyed when I wanted to proceed to a quick dump of data to a csv file without wanting to create a new object & copy data in order to be able to use the API.
I tried all possible engines and all of them seem to require those attributes.
Even when it doesn't seem logical : CommonEngine.RecordsToDataTable() only works when the record type has those attributes. It's not logical because I don't think it need those attributes here.
It would also allow the use of anonymous types with the engines, like :
var itemList = data.GroupBy(item => new { item.NomApporteur }).Select(g => new { g.Key.NomApporteur, Somme = g.Sum(o => o.Montant) });
if (itemList.Count() > 0)
{
    var engine = new DelimitedFileEngine(itemList.First().GetType());
    engine.Options.Delimiter = ";";
    engine.WriteFile("", itemList);
}

Today, it seems that I have to write my own RecordsToDataTable() in order to bypass this limitation.

This would be absolutely out standing!  Do you know when this might have a chance to happen?   I'm on deadline at the moment so I don't have time to do it myself, but I might have some time starting in January and would be happy to contribute back since I've used your library a couple times now.


Properly close connections and implemented client pooling

fix #14 (see d67b7bf).
fix #15 (new ClientFactory interface with ClientPool).

@levidurfee: Could you please help to test this branch and see if it fixes your issue? Thanks.

Yes, I would love to test it! Thank you :) I'll give you some feedback tomorrow.

@levidurfee Any luck?

Sorry, I forgot :)
Just tried it out and it is fixed! Thank you!

@levidurfee No need to sorry.
Thank you very much for testing :-)


Missing curl task on fresh install

Do I have to enable in a config option? I see legacy search options but no Curl Analyzer

Curl should be further down in that list. If you type "curl" into the box it should filter down to it. Can you send a list of everything you see in that list if you scroll through it?
Thanks

Face palm. Didn't see the scroll bar. Thx.

No problem!


Major documentation update

This pull request substantially updates the readthedocs documentation in OpenFAST. Major updates include

Menu reorganization into meaningful categories and sequential order
Initial module documentation for

AeroDyn
BeamDyn

Improved and updated support for compiling on Windows
Description of testing frameworks
Guidelines for community development including Git/GitHub workflow

A live version can be viewed at http://mas-openfast-fork.readthedocs.io/en/latest/index.html

Here are the regression test results for this pull request:
rmudafor@~/Development/openfast/build: ctest -L openfast -j 8
Test project /Users/rmudafor/Development/openfast/build
      Start  6: AOC_WSt
      Start  1: AWT_YFix_WSt
      Start  2: AWT_WSt_StartUp_HighSpShutDown
      Start  3: AWT_YFree_WSt
      Start  4: AWT_YFree_WTurb
      Start  5: AWT_WSt_StartUpShutDown
      Start  7: AOC_YFree_WTurb
      Start  8: AOC_YFix_WSt
 1/26 Test  #1: AWT_YFix_WSt .............................   Passed   34.11 sec
      Start  9: UAE_Dnwind_YRamp_WSt
 2/26 Test  #6: AOC_WSt ..................................   Passed   51.08 sec
      Start 10: UAE_Upwind_Rigid_WRamp_PwrCurve
 3/26 Test  #2: AWT_WSt_StartUp_HighSpShutDown ...........   Passed   64.99 sec
      Start 11: WP_VSP_WTurb_PitchFail
 4/26 Test  #3: AWT_YFree_WSt ............................   Passed   75.50 sec
      Start 12: WP_VSP_ECD
 5/26 Test  #8: AOC_YFix_WSt .............................   Passed   78.35 sec
      Start 13: WP_VSP_WTurb
 6/26 Test  #5: AWT_WSt_StartUpShutDown ..................   Passed   99.12 sec
      Start 14: WP_Stationary_Linear
 7/26 Test #14: WP_Stationary_Linear .....................   Passed    4.80 sec
      Start 15: SWRT_YFree_VS_EDG01
 8/26 Test #11: WP_VSP_WTurb_PitchFail ...................   Passed   63.55 sec
      Start 16: SWRT_YFree_VS_EDC01
 9/26 Test #12: WP_VSP_ECD ...............................   Passed   69.35 sec
      Start 17: SWRT_YFree_VS_WTurb
10/26 Test #10: UAE_Upwind_Rigid_WRamp_PwrCurve ..........   Passed  141.41 sec
      Start 18: 5MW_Land_DLL_WTurb
11/26 Test  #9: UAE_Dnwind_YRamp_WSt .....................   Passed  250.50 sec
      Start 19: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr
12/26 Test  #4: AWT_YFree_WTurb ..........................   Passed  297.46 sec
      Start 20: 5MW_OC3Trpd_DLL_WSt_WavesReg
13/26 Test #13: WP_VSP_WTurb .............................   Passed  221.97 sec
      Start 21: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
14/26 Test  #7: AOC_YFree_WTurb ..........................   Passed  325.04 sec
      Start 22: 5MW_ITIBarge_DLL_WTurb_WavesIrr
15/26 Test #22: 5MW_ITIBarge_DLL_WTurb_WavesIrr ..........   Passed  126.16 sec
      Start 23: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti
16/26 Test #16: SWRT_YFree_VS_EDC01 ......................   Passed  329.35 sec
      Start 24: 5MW_OC3Spar_DLL_WTurb_WavesIrr
17/26 Test #18: 5MW_Land_DLL_WTurb .......................   Passed  338.01 sec
      Start 25: 5MW_OC4Semi_WSt_WavesWN
18/26 Test #15: SWRT_YFree_VS_EDG01 ......................   Passed  527.96 sec
      Start 26: 5MW_Land_BD_DLL_WTurb
19/26 Test #24: 5MW_OC3Spar_DLL_WTurb_WavesIrr ...........   Passed  223.36 sec
20/26 Test #23: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti ....   Passed  234.01 sec
21/26 Test #25: 5MW_OC4Semi_WSt_WavesWN ..................   Passed  418.38 sec
22/26 Test #19: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr ...........   Passed  698.45 sec
23/26 Test #17: SWRT_YFree_VS_WTurb ......................   Passed  913.59 sec
24/26 Test #26: 5MW_Land_BD_DLL_WTurb ....................   Passed  791.96 sec
25/26 Test #20: 5MW_OC3Trpd_DLL_WSt_WavesReg .............   Passed  1707.53 sec
26/26 Test #21: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth ...   Passed  3096.17 sec

100% tests passed, 0 tests failed out of 26

I didn't go too far in depth with reading anything, but I browsed around the documentation for a bit and it looks like there is plenty of it, and I could find my way around, and it looks good. 👌

Thanks for the feedback, @gantech
Random sentences appear in bold. For instance in the "Unsteady Airfoil Aerodynamics Options" section.
Confirmed by @michaelasprague, these are intentional
Could we turn off the section numbering beyond a certain level. We have sections that are numbered as "<IP_ADDRESS>.4. Unsteady Airfoil Aerodynamics Options".
Noted, lets discuss this again for the next iteration of documentation updates
All figures seem to be missing.
This was a conflict with an ad blocker installed in @gantech's browser


Please tell

Please tell me the time of release of the stable version?

The targeted date for the release of the stable version (1.0.0) is the 12th of May 2022.


Update IncTrainer for new transformers version compatibility

In this PR, we update our IncTrainer for it to be compatible with transformers version > 4.20

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Optimize branch

The last section of a branch (abc|def|last) does not need a recursive call. Minor speed up.

@User4martin You need 'pull' as I removed old comments.


ValidationSummary Not Displaying

Hi,
I am having an issue using the library where attributes that are validated client-side are causing the ValidationSummary to not display. The ValidationMesssage displays correctly, but the summary does not.
I've narrowed down the scenario that causes it to happen, I think. If you have an attribute that causes an error, such as email and you do something like the following, it will not display the summary:
@using (Html.BeginForm)
{

    @Html.ValidationSummary("Please correct the errors below")

@Html.TextBoxFor(m => m.Email)
@Html.ValidationMessageFor(m => m.Email)

    <input type="submit />

}

Basically, if you put the validation message inside any block level element, such as div, p, etc. before ValidationMessage, the ValidationMessage will display, but the ValidationSummary will not.
If you add a 'Required' attribute, the built-in .Net attribute will trigger the summary, but if you type something to violate the email validation, that does not trigger the summary.
Any suggestions on how I can get around this issue?
I appreciate all the work on the library. It has saved us a ton of time on a project that we are working on.
Thanks in advance for your help.

Try doing @Html.ValidationSummary(false, "Please correct the error below")
I think you need to pass false because by default the validation summary doesn't show property-level errors like those that are showing up for the ValidationMessage.
Hope this helps,
Scott
[http://msdn.microsoft.com/en-us/library/ee839474.aspx]


.then being called on 400 response

I'm returning 400 from my api but the then is still being called instead of the catch handler. Anybody else experience this before?

I'm having the same issue.
Using the CDN version.

Could you provide more context (axios version, environment, etc.) and a code snippet that shows your problem?

I ran into the issue with axios 0.8.7. Using Laravel 5.4 + VueJS 2.2.4.
Seems like the latest axios (0.16.0) has solved the problem for me. Thanks.

@rubennorte can we please reopen this. I upgrade to the latest 0.16.1 and I am still experiencing this issue.
Code Snippet
signPip ({commit}, payload) {

      const {pip_id} = payload

      return axios
        .post(`/pip/${pip_id}/sign`, payload)
        .then( res => {
          commit('setPip', {pip: res.data})
          return res.data
        })
    }

Headers: https://ipfs.io/ipfs/QmRMuQP32EJc94VYCPQ7p39ADrX9gHFQL2B9mUv4D1EbEG
This is being used in my Vuejs project. My axios is a newly created instance with some configuration changes as follows.
import axios from 'axios'
import debug from 'debug'

import store from '~store'
import router from '~router'

debug('bambee:nuxt')('axios plugin')

let options = {}

if (process.SERVER_BUILD) {
  options.baseURL = `http://localhost:3000/api`
} else {
  options.baseURL = `/api`
}

let apiHandler = axios.create(options)

apiHandler.interceptors.response.use( response => {
  return response
}, error => {
  if ( error.response.status == 401) {
    alert('You have been logged out')
    return store.dispatch('logout').then( res => {
      router.push('/login')
    })
  }
})

export default apiHandler

Basically, it contains a baseUrl override and also an error handler that listens on status of 401.

For those stumbling across this: you're probably using a response interceptor that is swallowing the error. Unless your interceptor is ending with Promise.reject(error) or a throw you're swallowing it


合并新模块

Added time processing functions, but not fully implemented yet.

Added time processing functions, but not fully implemented yet.


New Reply/Canned Responses library for replying to messages

Adding a new library, "Reply", which allows apps to prompt the user to either select from a set of canned responses or to compose a reply if a textinput keyboard app is installed. The library handles constructing the reply object for Gadgetbridge and can optionally send this via Bluetooth.println or handle the reply directly, if they wish to use it for other purposes
It can be used by calling:
require("reply").reply(options).then(...
from an app.
Canned responses can be set from the App Loader - though using emojis seems to break the created JSON and I haven't looked at re-encoding the text first before writing yet.

After it merges, I might go ahead and add it to the default messages app - I've been testing it personally for the past week or so and can reply to messages directly from my Bangle, which is a nice feature to have!

Thanks, looking forward to seeing it see some action!

great job
i cant see reply function when massage arrived .i installed your app.what can be problem .thanks in advance

great work thanks i cant see reply function when massage arrived .i installed your app.what can be problem .thanks in advance

I still need to open a second PR to use the library from inside the Messages app - I've been testing it myself but haven't had a chance to publish it yet!


Stats value names cannot start with a number

I noticed that if you have a stats value that's named something like "35_type" (where the name is a string but it starts with a number), then the whole thing breaks. Maybe we can either fix that or add to the docs saying you can't name a stats starting with a number.

It looks like this is a requirement of the expr-eval package we use for stat calculations static side. Because of this I'd say we should look at adding this to the docs unless @connor-makowski has any other input here.


ELB target group retrieval issue

I'm using the the script for an on-demand to spot conversion with the invocation
./ec2-spot-converter --stop-instance --review-conversion-result --instance-id <id> --update-cw-alarms --check-targetgroups * --wait-for-tg-states

Output:
[INFO] 2021-02-28 06:07:19,059 ec2-spot-converter - [STEP 1/26] Read DynamoDB state table...
[INFO] 2021-02-28 06:07:19,116 ec2-spot-converter -   => SUCCESS. Record '<id>' read succesfully.
[INFO] 2021-02-28 06:07:19,142 ec2-spot-converter - [STEP 2/26] Discover instance state...
[ERROR] 2021-02-28 06:07:19,631 ec2-spot-converter - Failed to list target groups: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: 'ec2-spot-converter' is not a valid target group ARN.
[ERROR] 2021-02-28 06:07:19,631 ec2-spot-converter - Failed to perform step 'DiscoverInstanceState'! Reason=Failed to retrieve ELB target groups!

I've used the latest policy.json attached as an IAM role.
Not sure if it needs the * to be in quotes?
Update: The load balancer in use is an application load balancer

Okay so I got it working by individually specifying ARNs of all the target groups to which the instance was registered

v0.11.0 released!


Fix issue #310 but also autocommit when no OpenAI key present

OpenAI API requires there be a api_key field although Ollama's API doesn't require it
Fixed _autocommit_warning to warn when there's no client for config.autocommit_model instead of hardcoded "gpt-4o-mini" string and updated warning message accordingly
#310

@MadcowD could you merge this? #310 just got bumped again


Website updates

Changes for the d2d-perspective and maps-views-projections webpages

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


Missing something simple here, SimpleString StringFrom( const std::bitset<32>& value )

Hi everyone,
When I create a test with CHEK_EQUAL() with parameters std::bistset<24> in this case, and function SimpleString StringFrom( const std::bitset<32>& value ) { ... } IAR complains that "no instance of overladed function "StringFrom"  matches ... "
What am I missing here?
Regards,
H.

Try something like:
std:bitset<24> foo;
// ...
UNSIGNED_LONGS_EQUAL(0x1234, foo.to_ulong());

Thanks this is closed now.


[FEATURE] Enforce useful NATS connection names for wasmcloud system processes, providers and components.

Affected project(s)

[ ] documentation
[ ] examples
[X] wasmCloud host
[X] wasmCloud CLI (wash)
[X] wasmCloud dashboard UI (washboard)
[X] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Is your feature request related to a problem? Please describe.
Make all connections that wasmcloud system processes, providers and components (through provider sdks and component sdks) make to nats identify themselves with usable and friendly names (when available).
This should make it easier to identify components, debug and understand your system.
Describe the solution you'd like
The attached image list a few connections to a NATS server. Only two of these are easily identifiable:

The leafnode connection
The nats-messaging provider.

In this list there are also a:

wadm host connection
a wasmcloud rpc connection
a wasmcloud ctl connection
a provider rpc connection
a component rpc connection

To identify what is what you'll have to look at the subscriptions to figure out what is what. This will become not impossible but almost at scale.

Describe alternatives you've considered
No response
Additional context
Screenshots are from Synadia Control Plane, but the challenge would be the same using the nats cli tooling.

Hello, I think I will have some time to look at this one. Please could assign it to me? Thanks

Thanks for taking a look at this @nitame ! Assigned :) Let us know if you want/need any help!


Connection Error

Hi, I'm trying to run the notebook with my own model but I keep getting the following error when running the inference function:
ConnectionError: HTTPConnectionPool(host='ny1.ptopenlab.com', port=80): Max retries exceeded with url: /powerai-vision-ny/api/dlapis/00b984d5-489d-413e-9e47-c8824eba77ca (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000268B34A09B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
Does anybody have any idea about how i can solve it?
Thanks a lot

I also get the same error message like @FranciscoSola  :

Anyone here who can help? (Probably no one at IBM cares about this ... I must say that IBM's support is tremendously bad, same issue support like IBM Watson).

I think the link doesn't work:
# Set this URL to the API endpoint of your deployed model. POWER_AI_VISION_API_URL = "https://ny1.ptopenlab.com/powerai-vision-ny/api/dlapis/your-guide-here"
btw, I'm on Python 3.7.6

The prerequisite for this lab is an installed instance of a PowerAI Vision server that you can connect to (and train the source dataset so that you can deploy the model (with an appropriate API).  The "ny1.ptopenlab.com" server is just an example.

@tvotan @FranciscoSola You will need to update the POWER_AI_VISION_API_URL with the deployed model URL.
It should look something like this: https://vision-poc1.aus.stglabs.ibm.com/visual-insights-v120-prod/api/dlapis/71e4aadc-36-487d-8182-3e67e8e6c
You need a trial version of Maximo Visual Insights to do this. To get a trial version of Maximo Visual Insights, go here: https://www.ibm.com/support/pages/ibm-maximo-visual-inspection
Scroll down to Give it a try.
Hopefully, this helps. Feel free to open the issue back up if this does not resolve it.


[WIP] Cpw copy current services combined

Got a few flake8 errors going on here. Let me know when this is uptodate and I'll review.

@samuelhwilliams All done for now, comment away!


Language based on browser settings.

Take cue from browser settings to pick default language of the app.

I'm about to start making two video tutorials for vnzla and mexico. If theres any chance this can be prioritized so I can used the spanish versions as a base for the tutorials ping me.

@paulamlb if you can find someone that can help us finishing the translation that would be great.
https://github.com/DemocracyEarth/sovereign/blob/master/i18n/es.i18n.json

@santisiri that list looks complete. is there another link?

yes, here's the complete version: https://github.com/DemocracyEarth/sovereign/blob/master/i18n/en.i18n.json
the idea is to precisely complete the one in spanish.

I've had these translations ready in excel format for the past two weeks but cant get them in json. Asked two coders already that could not figure out properly and I couldn't figure out atom editor on my own to do it. If someone wants to do it, [here it is].(https://docs.google.com/spreadsheets/d/1jDyNQipU9R6dsnbt5wUaXOESs5i6_RX5dWhK0JWKr_8/edit?usp=sharing).

@paulamlb let's figure out how to use translate.comunes.org it's user interface for technical translations. Here is the link for spanish : https://translate.comunes.org/projects/democracy-earth/sovereign/es/
Happy to give you a hand, here is some docs on how to use it : https://docs.weblate.org/en/weblate-2.9/index.html


Vision bonnet blocks GPIO pins 14 & 15. How can I connect to these?

I was thinking about soldering wires to the back side of the pins on the bonnet but would that cause any issues? They appear to be unused: https://pinout.xyz/pinout/aiy_vision_bonnet
There's also the possibility of creating another UART interface using the expansion GPIO pins, but that seems really tricky: https://raspberrypi.stackexchange.com/questions/24019/can-the-gpios-pins-be-used-as-another-rx-and-tx/24039
Hopefully the maintainers can figure out a solution or the product people can provide access in future versions of the hardware. Thanks!

Is there a specific requirement of soldering the wires on the back side of Bonnet ? You can solder on the back side of the PI too right ?

That's correct, the only current way to use 'unused' GPIOs is to solder on either Pi or Bonnet side.


Does not work for Outlook "Office Add-in Task Pane project supporting single sign-on"

It says all the right things, but Outlook does not open and no sideloading happens... so basically it just "stops without doing anything" at the end.
Type of issue
Bug
My environment

OS version/details: Windows 10 64-bit
Node version: v14.17.3
npm version: 6.14.13
Version of yo : 4.3.0

Expected behavior
Opens Outlook with my demo add-in sideloaded for me
Current behavior
Does not open anything
Steps to reproduce the behavior
yo office
Command line output
Microsoft Windows [Version 10.0.19043.1165]
(c) Microsoft Corporation. All rights reserved.

C:\Users\wm_pu\OneDrive\RN5>yo office

     _-----_     ������������������������������������������������������������������������������������
    |       |    ���   Welcome to the Office  ���
    |--(o)--|    ���   Add-in generator, by   ���
   `---------��   ��� @OfficeDev! Let's create ���
    ( _��U`_ )    ���    a project together!   ���
    /___A___\   /������������������������������������������������������������������������������������
     |  ~  |
   __'.___.'__
 ��   `  |�� �� Y `

? Choose a project type: Office Add-in Task Pane project supporting single sign-on
? Choose a script type: JavaScript
? What do you want to name your add-in? ssotest
? Which Office client application would you like to support? Outlook

----------------------------------------------------------------------------------

      Creating ssotest add-in for Outlook using JavaScript and Single-sign-on at C:\Users\wm_pu\OneDrive\RN5\ssotest

----------------------------------------------------------------------------------

I'm all done. Running npm install for you to install the required dependencies. If this fails, try running the command yourself.

><EMAIL_ADDRESS>postinstall C:\Users\wm_pu\OneDrive\RN5\ssotest\node_modules\@babel\polyfill\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

><EMAIL_ADDRESS>postinstall C:\Users\wm_pu\OneDrive\RN5\ssotest\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1242 packages from 614 contributors and audited 1255 packages in 71.192s

93 packages are looking for funding
  run `npm fund` for details

found 4 moderate severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
----------------------------------------------------------------------------------------------------------

      Congratulations! Your add-in has been created! Your next steps:

      1. Go the directory where your project was created:

         cd C:\Users\wm_pu\OneDrive\RN5\ssotest

      2. Configure your SSO taskpane add-in:

         npm run configure-sso

      3. Start the local web server and sideload the add-in:

         npm start

      4. Open the project in VS Code:

         code .

         For more information, visit http://code.visualstudio.com.

      Please visit https://docs.microsoft.com/office/dev/add-ins for more information about Office Add-ins.

----------------------------------------------------------------------------------------------------------

C:\Users\wm_pu\OneDrive\RN5>notepad.exe ssotest\built.txt

C:\Users\wm_pu\OneDrive\RN5>cd ssotest\

C:\Users\wm_pu\OneDrive\RN5\ssotest>npm run configure-sso

><EMAIL_ADDRESS>configure-sso C:\Users\wm_pu\OneDrive\RN5\ssotest
> office-addin-sso configure manifest.xml

Opening browser for authentication to Azure. Enter valid Azure credentials
Login was successful!
Registering new application in Azure
Application was successfully registered with Azure
Setting identifierUri
    Attempt 1
Itendifier Set
Setting signin audience
    Attempt 1
Sign In Audience Set
Setting application secret
App secret is **redacted**
Adding application secret for ssotest to Windows Credential Store
Updating source files with application ID and port
Logging out of Azure now
Application with id 3509cbcb-f226-4593-9ad5-6684db4bb976 successfully registered in Azure.  Go to https://ms.portal.azure.com/#home and search for 'App Registrations' to see your application

C:\Users\wm_pu\OneDrive\RN5\ssotest>npm start

><EMAIL_ADDRESS>start C:\Users\wm_pu\OneDrive\RN5\ssotest
> npm run build:dev && concurrently "npm run start:server"

><EMAIL_ADDRESS>build:dev C:\Users\wm_pu\OneDrive\RN5\ssotest
> webpack --mode development --https false

Hash: 2b9f6f1c23554033f4d6
Version: webpack 4.46.0
Time: 6857ms
Built at: 08/14/2021 8:37:48 PM
                    Asset       Size              Chunks                   Chunk Names
   assets/logo-filled.png     22 KiB                      [emitted]
            commands.html  473 bytes                      [emitted]
              commands.js   5.95 KiB            commands  [emitted]        commands
          commands.js.map   6.27 KiB            commands  [emitted] [dev]  commands
  fallbackauthdialog.html  801 bytes                      [emitted]
    fallbackauthdialog.js    387 KiB  fallbackauthdialog  [emitted]        fallbackauthdialog
fallbackauthdialog.js.map    374 KiB  fallbackauthdialog  [emitted] [dev]  fallbackauthdialog
         manifest.dev.xml    4.4 KiB                      [emitted]
              polyfill.js    648 KiB            polyfill  [emitted]        polyfill
          polyfill.js.map    550 KiB            polyfill  [emitted] [dev]  polyfill
             taskpane.css    1.7 KiB                      [emitted]
            taskpane.html   3.83 KiB                      [emitted]
              taskpane.js    566 KiB            taskpane  [emitted]        taskpane
          taskpane.js.map    689 KiB            taskpane  [emitted] [dev]  taskpane
Entrypoint polyfill = polyfill.js polyfill.js.map
Entrypoint taskpane = taskpane.js taskpane.js.map
Entrypoint commands = commands.js commands.js.map
Entrypoint fallbackauthdialog = fallbackauthdialog.js fallbackauthdialog.js.map
[0] multi core-js/stable regenerator-runtime/runtime 40 bytes {polyfill} [built]
[1] util (ignored) 15 bytes {taskpane} [built]
[2] util (ignored) 15 bytes {taskpane} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {polyfill} {taskpane} {commands} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {taskpane} [built]
[./src/commands/commands.js] 1.03 KiB {commands} [built]
[./src/helpers/documentHelper.js] 3.46 KiB {taskpane} [built]
[./src/helpers/fallbackAuthHelper.js] 3.29 KiB {taskpane} [built]
[./src/helpers/fallbackauthdialog.js] 2.55 KiB {fallbackauthdialog} [built]
[./src/helpers/ssoauthhelper.js] 4.1 KiB {taskpane} [built]
[./src/taskpane/taskpane.js] 435 bytes {taskpane} [built]
    + 469 hidden modules
Child HtmlWebpackCompiler:
                     Asset    Size  Chunks             Chunk Names
    assets/logo-filled.png  22 KiB          [emitted]
     + 3 hidden assets
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
    Entrypoint HtmlWebpackPlugin_2 = __child-HtmlWebpackPlugin_2
    [./assets/logo-filled.png] 68 bytes {HtmlWebpackPlugin_0} [built]
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/commands/commands.html] 450 bytes {HtmlWebpackPlugin_1} [built]
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/helpers/fallbackauthdialog.html] 779 bytes {HtmlWebpackPlugin_2} [built]
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/taskpane/taskpane.html] 3.98 KiB {HtmlWebpackPlugin_0} [built]
[0]
[0] ><EMAIL_ADDRESS>start:server C:\Users\wm_pu\OneDrive\RN5\ssotest
[0] > office-addin-sso start manifest.xml
[0]
[0] You already have trusted access to https://localhost.
[0] Certificate: C:\Users\wm_pu\.office-addin-dev-certs\localhost.crt
[0] Key: C:\Users\wm_pu\.office-addin-dev-certs\localhost.key
[0] Server running on 3000

#(nothing happens at this point - no windows open etc, and opening oultook manually does not show my addin)

Hej, the Yeoman team is not in charge of this Yeoman generator.
You probably will get help, if you to open this issue over here:
https://github.com/OfficeDev/Office-Addin-Taskpane-SSO
Cheers, Michael


magenta lib

I watched a Magenta project on flutter so it is possible to use all Magenta tools with flutter

I don't know the exact intent of the question. What are you going to do?

Hello! WonyJeong would like to know whether the training part of the model can be integrated into a package with this project, so that we can download the corresponding model for our own training


Fix CI in Travis

CI fails in Java because Java Installation during ZooKeeper installation:
https://travis-ci.org/idealista/solrcloud-role/jobs/453844457#L784
fatal: [zookeeper.vm]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886", "failed": true, "msg": "Error fetching key EEA14886 from keyserver: hkp://keyserver.ubuntu.com:80", "rc": 2, "stderr": "Warning: apt-key output should not be parsed (stdout is not a terminal)\ngpg: key 8F9293A1EEA14886: public key \"Totally Legit Signing Key<EMAIL_ADDRESS>imported\ngpg: cannot open '/dev/tty': No such device or address\n", "stderr_lines": ["Warning: apt-key output should not be parsed (stdout is not a terminal)", "gpg: key 8F9293A1EEA14886: public key \"Totally Legit Signing Key<EMAIL_ADDRESS>imported", "gpg: cannot open '/dev/tty': No such device or address"], "stdout": "Executing: /tmp/apt-key-gpghome.QXesoDqadE/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886\n", "stdout_lines": ["Executing: /tmp/apt-key-gpghome.QXesoDqadE/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv EEA14886"]}

Once CI in java role is fixed and role upgraded I have to fix idempotence in ZooKeeper role:
--> Action: 'idempotence'
ERROR: Idempotence test failed because of the following tasks:
* [zookeeper] => zookeeper : ZOOKEEPER | Untar zookeeper
* [zookeeper] => zookeeper : ZOOKEEPER | Update the log4j
* [zookeeper] => zookeeper : ZOOKEEPER | Configuring service

Feelings right now:


Tabular editable data

Is there any way to edit tabular data with autoform?

Not that I'm aware of, but you can put your inputs inside a table within the autoForm, or do something similar to here: http://autoform.meteor.com/update-each


unix, win: make uv_loop_init return on error

Makes uv_loop_init return an error code instead of aborting.
Currently uv_loop_init aborts if there are insufficient resources
available. As a user I want to be able to check the return code from
uv_loop_init and decide how I respond rather than having my process die.

Thanks for working on this @willemt! L

Thanks for your comments @saghul! I've made the changes.
I'm mimicking the goto fail_* I spotted in https://github.com/libuv/libuv/blob/60e515d9e6f3d86c0eedad583805201f32ea3aed/src/unix/fsevents.c#L573. I also added an error check to uv_signal_init.

Hi @saghul, I've now changed it so that we call uv__signal_loop_cleanup instead. This closes all signals and is at least the way uv__loop_close is cleaning up signals

LGTM. Sadly it's hard to write a test for this :-S
@bnoordhuis can you take a quick look?
Also, FWIW, all locking functions abort() themselves, so we don't gain that much here, but we can slowly do better!

Hi @bnoordhuis just wanted to please ask if you've had a chance to look at this, thanks!

Style nits and a suggestion but basically LGTM.

Thanks @bnoordhuis, I've applied the changes

Thanks Willem, landed in 2a51b61.


feat: Support latest image

The server did not display the container which image does not contain :<tag>.
For example:
    spec:
      containers:
      - name: busybox
        image: busybox
        command:
          - "sh"
          - "-c"
          - "sleep 3600"

Thanks, that's very helpul!


Better Download Links

This is not very user-friendly:

I wonder if there's a way to give users more clear download buttons like "Window" and "macOS" rather than expecting them to know which of these files is the correct one for their OS.
Maybe we could have generic download links on the Readme? The hard part would be updating them with each release. Maybe we could do that via a GitHub action. Or maybe we need a product page on gis.utah.gov that dynamically queries the electron updates endpoint and presents the latest link to the user.
Or maybe we could get rid of the version numbers in the release assets and link to them like this.

I think our website product page solves this.


Note on Raspberry Pi 3 Bluetooth Audio

A few months ago, I tried to run Picroft in a machine that I could control via a bluetooth headset.
After multiple frustrating attempts, I stumbled upon the reason why no configuration or OS permitted me to do that : the Raspi 3's bluetooth drivers do not support audio input.
Just thought a note of this could be made here : https://github.com/mycroftai/docs-rewrite/blob/master/_pages/picroft-audio.md to avoid haing other people try the same thing I did #

I've added a warning to the Picroft page and linked to a more recent Forum thread on the topic.
TLDR; not currently supported, please contribute if you have a magic answer :)


Readme. Min Memory in "Using Eclipse" section

Hi,
In the readme in the "Using Eclipse section it says:

Make sure Xmx in eclipse.ini is at least 1280M, and it's using Java 8

Shouldn't it read 128M? 1280M seem like an odd number for min memory to me.

no. eclipse wont even start with xmx 128m

Right. 128M is the minimum memory of the JDK on Windows, I remember. Still, how do you arrive at 1280M? I'm used to power of 2.


Format of x509

Hello,
I need PEM formatted X.509 certificate to share with my backend server.
I using function heimdall.publicKeyDataX509() and then convert result data, to base64 using .base64EncodedString(). But I'm not able to tell what format of certificate it is. Because even when I add Begin/End Certificate Im not able to validate it.
How can I obtain valid x509 pem format certificate?

I found answer by myself. Heimdall is creating only rsa keys, so export is made as "pem: public key". So format is like below (but without begin/end sections) and could be verified with various pages or openssl.
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnD6sFeCJf9bR7PH/YisP
wCePMUltELq/hp/Dm409XU/yEbgBTI/wMUnH+2juOTYeCirOB10bc/QrFVhaLV3g
HWyvSL+Wv0ufdWeZiLXAnICNddiJCQvOU+5seNUoPw4QKvFAQgZLogsjWm2uajJS
nSGskVCt48gaWVrIiO4OQZVkSTxXrUNknenXJ9b2bXam/Bt1ya1E1t1/b/ITZ/03
WQjfGwXgctqYytvAHC3v541s9o53J2uWn/pOBJc2058Ad5WyzqPRHzA1gbl+XinK
s85X5U5PAwJiVCsSyCFkNGwJmmuCPtrHipwZi5ax5jfrb71Plilj2VOXdrR2zU7F
OQIDAQAB
-----END PUBLIC KEY-----


Align config class name with file name

Mrsk::Configuration::Assessory -> Mrsk::Configuration::Accessory thus aligning with the name of the file.

Good catch 👌

Wonder if we should get Zeitwerk check in CI to catch these sorts of issues going forward?

Haven't added Zeitwerk to MRSK yet. Happy to take a PR that does that.


In IE9, IE10, IE11 browsers, jqLite method after() causes exception when "parent" is null

This is a bug report for Angular 1.4.x/1.5.x on Internet Explorer 9+ browsers.
Under certain circumstances, the "after" method will be called where the first argument ("element") will have a "null" parentNode value in IE9+ browsers.
When this happens, the following call will cause an exception as "parent" is a null value:
parent.insertBefore(node, index.nextSibling);
I will be putting together a sample on jsfiddle tomorrow which should reproduce this behavior.
The expected behavior is for this method to check that "parent" is not null prior to executing the "insertBefore" function.
When this exception occurs, the JavaScript engine is broken so no further code will execute until the browser is refreshed.
This behavior does not manifest in Google Chrome or Mozilla Firefox.
Simply determining if "parent" is not null before proceeding with the rest of the function would resolve this issue.
after: function(element, newElement) {
    var index = element, parent = element.parentNode;
    if (parent != null){
        newElement = new JQLite(newElement);
        ...
    }
},

Again, I will be posting a link to a jsfiddle tomorrow which should display the error.

This seems to be the same error as https://github.com/chinmaymk/angular-charts/issues/210

Still waiting for dat jsfiddle :)

I'm going to close this issue because we have no reproduction of the issue. Feel free to reopen this issue if you can provide a reproduction (ideally a runnable demo in a https://plnkr.co or similar).

IMO, the proposed solution should be implemented (checking whether parent is defined or not to avoid uncatched exception). It shouldn't cause harm to check if the parent is defined or not before processing.
We are encountering the same issue on our side, in IE11.

@Vadorequest, adding potentially unnecessary code in order to fix ghost bugs that we can't reproduce does harm. It increases the code size and especially hurt maintenability, which is a big deal for projects of this size.
Since you ran into this yourself, maybe you could provide a reproduction, so we have something tangible to work on.


Split endpoints

@Ninjeneer @ClaudeROSSI Could you review this PR?

Tested with OK on IOS 12.5 (Simulation) with local tenant DALI

@rmangin-fr Your PR is in Requested Change pipeline !!!


Show lspsaga winbar symbols after 0.8 upgrade

Instead of showing the context the current way, show the current context (symbols) in the neovim 0.8 winbar feature.

No idea; closing.


remove deprecated np.int in slice converter (pytorch)

By numpy, usage of np.int has been deprecated in 1.20.
This patch fixes from np.int to int in pytorch slice converter, makes it compatible with brand-new numpy.

@jhlee525 Thank you for your PR!
Please fix the lint error https://ci.tlcpack.ai/blue/organizations/jenkins/tvm-lint/detail/PR-16221/1/pipeline
Any other comments? @jikechao @vvchernov

@mshr-h Thank you.  I fixed it


Remove plugin leaflet-echarts

leaflet-echarts isn't an open source project and is impossible to act as a plugin, as the repo only provides minified source, which packed all echarts, leaflet and some others stuffs we don't know.

Isn't this plugin?
https://github.com/wandergis/leaflet-echarts/blob/master/src/leaflet-echarts.js


I just hung up the node

const wsProvider = new WsProvider('wss://kusama-rpc.polkadot.io/');     const api = await ApiPromise.create({provider: wsProvider});     await api.isReady;     let transfer = api.tx.balances.transfer(       'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',       '120000000000000000000000000000000000000',     );     const data = await api.rpc.payment.queryInfo(transfer.toHex());
I didn't mean to

That is a known bug currently, but we are working on it.
Nevertheless, ty.


geometry_area_perimeter limitations not documented

The geometry_area_perimeter method documented https://pyproj4.github.io/pyproj/stable/api/geod.html#pyproj.Geod.geometry_area_perimeter - doesn't list its limitations. These include, but may not be limited to:

Only working for areas up to half the size of the globe
Returning negative numbers for certain large polygons

Reference: https://github.com/pyproj4/pyproj/issues/1074#issuecomment-1124461148


chore: release main

:robot: I have created a release beep boop
renderer: 1.0.5
1.0.5 (2023-12-23)
Bug Fixes

package.json module property (3384d6e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/pavophilip/react-shader-fiber/releases/tag/renderer-v1.0.5 :sunflower:


Add pyyaml dependency to cmake-format hook, required if .cmake-format.yaml is present

resolves #12

I don't know this one - what does it do/enable?


Applied contiguous in decode_* ops

Description:

Applied contiguous on decoded output tensor in decode_jpeg and decode_png ops
Updated tests and docs

Related to #4880
Performance improvement on following transforms, see https://github.com/pytorch/vision/issues/4880#issuecomment-964981658

@NicolasHug Do you think it's worth adding perf in the list of high-level labels?

I would just add enhancement + perf

This was here on purpose for speed improvements on the reading (avoids copy).
I would revert this PR, and work on improving the performance on the transforms instead so that they better handle channel_last format


Improve test coverage for JsonSerDe and ConfigurationService & Refactor ConfigurationService

Add unit tests to improve test coverage for JsonSerDe and ConfigurationService
Refactor ConfigurationService to promote common string variables to public string constants.
Fix ConfigurationService can't be instantiated in unit test issue.

Current coverage is 70.12%

Merging #250 into master will increase coverage by +1.28% as of 4da113d

@@            master    #250   diff @@
======================================
  Files           40      40
  Stmts         3926    3926
  Branches       348     346     -2
  Methods
======================================
+ Hit           2703    2753    +50
+ Partial        143     142     -1
+ Missed        1080    1031    -49

Review entire Coverage Diff as of 4da113d

Powered by Codecov. Updated on successful CI builds.

close and reopen to retrigger CI check.


Refactoring: namespace

Most of the functions and variables in wpb.sh should not be called by user.
How about adding prefix them to tell them as "private" and used in wpb.
Proposals

public variables: $WPB_ID
private variables: $_WPB_PIPE
public functions: wpbcopy()
(No prefix. Also need to consider #11 )
private functions: __wpb::spin()

They are referred from zplug.

I second it!


WIP: A11ydoc - copyedits

This is still too long... I'm concerned that developers who need to learn about accessibility (but maybe don't share our passion for the topic) won't have the patience to read a 30-page document.
@AlmeroSteyn -- I did a quick copyedit to make the tone a little more dry so it matches the other cookbooks, and to try to keep it more tightly focused to just the essentials. I cut the length by about a third, but I'm worried that it's still quite long.
@wardbell have a look and see if you can tighten it up further?

This PR is outdated and should be closed for preference of https://github.com/angular/angular.io/pull/1625


Store labels as array in root object data

Closing because this actually doesn't make sense. Labels are static values, so it would be inappropriate to store them in the local host object data. It may however be worth storing them in a static object data in the future.


Add Token Standard XIP draft

I know you are still working on this draft @l2dy, it would be interesting to consider a new standard that we don't yet have on the XDC Network like: https://eips.ethereum.org/EIPS/eip-4626

@WalterBlueu I'm aware that XRC20 tokens are live on XDC Network, but IMHO, official standard and documentation for them are very much needed. It just doesn't feel right when you search for XRC20 and could only find blockchain explorers and third-party blog posts.

@l2dy this is fair feedback


Update log4j to 2.17 to address CVE-2021-45105.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45105

Codecov Report

Merging #113 (2bd04cd) into main (0840d34) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #113   +/-   ##
=========================================
  Coverage     65.10%   65.10%
  Complexity      193      193
=========================================
  Files            17       17
  Lines           854      854
  Branches        132      132
=========================================
  Hits            556      556
  Misses          229      229
  Partials         69       69

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 0840d34...2bd04cd. Read the comment docs.


Pass provision credentials to the deprovision playbook even if APB is not bindable

Feature:
Not sure if this is a feature or a bug, but putting it under feature at the moment.
As part of a provision or binding, we create certain resources within the application (think a realm and user in keycloak for example)
We have a usecase that developers may not want to provision a new instance of a service like keycloak every time. So we allow developers to specify using an existing keycloak as part of the provision. In this case the playbook will not create new pods etc but instead just create the new realm and user and drop the details into the credentials.
When deprovisioning, we need to access these credentials so that we can tear down the resources we created within the service as in this case the original keycloak server will remain running.
Solution
Pass through the any extracted credentials created at provision time to the deprovision action.
I happy to provide a PR for this.

When we save fileds for binding/unbind
asb_encode_binding:
  fields:
    name: "<some-name>"
    resource: "some-resource"
    uri: "<some-url>"

We want also save fields in provision phase and pass them to deprovision as _apb_provision_creds.PARAM_NAME
Currently _apb_provision_creds is undefined when its used in deprovision phase

This can be assigned to me

I am still hitting this issue with the canary broker image. I am reopening this issue to track. I can also confirm that folks on the Cloudforms team have tested with canary as well and are unable to access _apb_provision_creds.

This is actually due to the fact that the broker does not pass these credentials to the broker unless you make bindable True in apb.yml. We should be passing in the provision creds at all times so I am going to change this issue to reflect it.

I would expect the broker to always run the GetExtractedCredentials function (Or maybe GetBind?) and if it doesn't find credentials, simply pass an empty object for _apb_provision_creds to deprovision.

I will take a look at this

This seems reasonable to pass an empty value but always pass the arg. 👀

Although it does raise the question of whether this should be the case for all arguments. As in we will always pass a certain set of arguments even if there is no value for them

Perhaps something like
// EnsureDefaults returns the default set of parameters with default values
func (p Parameters) EnsureDefaults() {
	if _, ok := p[ProvisionCredentialsKey]; !ok {
		p[ProvisionCredentialsKey] = nil
	}
}

https://github.com/dymurray/depro-creds-apb
Made a functioning example of using a configmap to pass this data between provision/deprovision as a workaround.


Add a link to create or edit work order from the dashboard

Perhaps wrap in a feature flag?

Because of urgency probably more trouble than its worth


Show Calendar Day popup when user clicks anywhere on the day box

Is your feature request related to a problem? Please describe.
To see a calendar's day event, it is pretty unintuitive. You have to click very specifically on the number denoting a day. That is the only way for the popup to be shown. For days that overflow, this becomes a necessary issue as the user can no longer see all the events on a single calendar day.
Describe the solution you'd like
I would suggest that in addition to the date number click opening the popup, the "+x more event(s)" text should also be a button that opens the popup instead of just plaintext.
Describe alternatives you've considered
On the other hand, an even more intuitive solution, albeit slightly more complex, is to have the entire calendar day box link to the popup so that the user can see this option when they hover over the calendar day.
Additional context

Pushing for this to be fixed bc it's getting pretty ridiculous


Fix: substring index is wrong

left range of VAT number is wrong, it cuts the first digit
VAT number is

country code 2 letters
11 digits

with the substring 3-13 the first digit will be lost.

@Fjordo merged the PR, thanks - can you please submit the update for the test since it's failing the automated test? ref. https://github.com/italia/spid-keycloak-provider/actions/runs/10178944631/job/28153637049


Support for elastalert plugin

Describe the feature:
Add elastalert plugin via helm.

Describe a specific use case for the feature:

Please read: https://github.com/elastic/helm-charts/tree/master/elasticsearch#how-to-install-plugins

The recommended way to install plugins into our Docker images is to create a custom Docker image.


Editing previously selected school picker values can cause previously selected field to be cleared

When using a key board
Replication:

Select edit with keyboard controls
Tab through fields
A previously selected school is cleared

https://user-images.githubusercontent.com/102532470/235100072-cb6f6a4e-e8e9-4123-a45b-b83e01d26a8f.mov
Acceptance Criteria:

See if we can make this not happen

moved to notion

moved to notion


Accuracy issue

having low accuracy when input value is less than 0.25. Is this expected

I'm not able to reproduce any accuracy issue with numbers less than 0.25. Here is a sample run of the tester program that is supplied with the code:
dan@pal log2fix % ./tester  100    log(100.000000) = 4.605170 logfix(100.000000) = 4.605148    log2(100.000000) = 6.643856 log2fix(100.000000) = 6.643845    log10(100.000000) = 2.000000 log10fix(100.000000) = 1.999985 10    log(10.000000) = 2.302585 logfix(10.000000) = 2.302567    log2(10.000000) = 3.321928 log2fix(10.000000) = 3.321915    log10(10.000000) = 1.000000 log10fix(10.000000) = 0.999985 1    log(1.000000) = 0.000000 logfix(1.000000) = 0.000000    log2(1.000000) = 0.000000 log2fix(1.000000) = 0.000000    log10(1.000000) = 0.000000 log10fix(1.000000) = 0.000000 0.1    log(0.100000) = -2.302585 logfix(0.100000) = -2.302704    log2(0.100000) = -3.321928 log2fix(0.100000) = -3.322083    log10(0.100000) = -1.000000 log10fix(0.100000) = -1.000061 0.01    log(0.010000) = -4.605170 logfix(0.010000) = -4.605743    log2(0.010000) = -6.643856 log2fix(0.010000) = -6.644669    log10(0.010000) = -2.000000 log10fix(0.010000) = -2.000259 0.001    log(0.001000) = -6.907755 logfix(0.001000) = -6.915985    log2(0.001000) = -9.965784 log2fix(0.001000) = -9.977646    log10(0.001000) = -3.000000 log10fix(0.001000) = -3.003586 ^C

It was my mistake sorry


[OpenVINO] Update to 2024.1.0

If you confirm the repair is complete, click "ready for review".

All features passed with following triplets:
x86-windows
x64-windows
x64-windows-static

@jimwang118, is there anything else we need to do to merge these changes?

x64_osx build failed with a few instances of this error:

pwsh(93825) MallocStackLogging: can't turn off malloc stack logging because it was not enabled.

But it seems to be an issue related to powershell, not this PR. Please correct me if I'm wrong.

/azp run

@JavierMatosD , may I ask you to have another look?


vim .swp files prevent debugging from starting - error: Vim(new):E325 -

When vim has .swp files, it generates an error that prevents vdebug from opening the file at the first line (or anywhere with a bad file). The error I get is "error: Vim(new):E325", preceded by a python stack trace.
This can be tested by killing the vim processing during debugging or editing a file. If that file needs to be opened to show the current line of execution, the status line shows:
Waiting for a connection (Ctrl-C to cancel, this message will self-destruct in  20  seconds...)
And as soon as you connect, the message persists, but the cursor appears at the end of the line. Normally the cursor is not visible while waiting for a connection. In actuality, the connection has been established and vdebug is trying to open the first file. Pressing enter will show the error message above. This can be resolved manually by exiting vim and removing the .swp files (several of which vdebug appears to make), or by opening them in vim manually and choosing how to resolve the .swp issue.

I've had a good look at this, and I'm pretty sure there's not a decent solution until I can introduce version 2, which uses non-blocking listening. It looks like Vim's UI doesn't recover well after the "Waiting for a connection" phase, and sometimes output gets lost.
I've tagged it with version 2's milestone, and will tackle it then - hopefully it will be a simpler fix then.

:+1:

I am not sure whether I am seeing the same problem or a related one.  Are you talking about swap files for the code you are editing or for the debugger windows?
I notice that swap files like .DebuggerWatch.swp cause problems when something kills vim.  (Typically the battery on my laptop runs out or something:  not the fault of vim nor vdebug!)  There are already lines
    def create(self):
        """ create window """
        vim.command('silent ' + self.open_cmd + ' ' + self.name)
        vim.command("setlocal buftype=nofile modifiable "+ \
                "winfixheight winfixwidth")

in python/vdebug/ui/vimui.py.  You might think that would be enough to prevent the swap files from being created, but if you read the docs carefully (and test) you will see (under :help 'buftype')
	"nofile" and "nowrite" buffers are similar:
...
	both:		A swap file is only created when using too much memory

The problem is that setting buftype=nofile after the buffer has been created is too late:  the swap file is already there, and it is not deleted.  The solution is to add the :noswapfile modifier:
    def create(self):
        """ create window """
        vim.command('silent noswapfile ' + self.open_cmd + ' ' + self.name)
        vim.command("setlocal buftype=nofile modifiable "+ \
                "winfixheight winfixwidth")

I need to test this further, but so far I think it is an improvement.

Thanks @benjifisher for looking into this, that's really helpful! I'll have a play around with it when I can.

+1 I am also encountering this behaviour.

@mmikitka :  Did you try the fix I suggested?  I can create a PR if you like, but it is just a matter of changing 'silent ' to 'silent noswapfile ' (note the trailing spaces).

@benjifisher you could create a PR anyway because the Vdebug windows do not need swapfiles

@benjifisher I applied your patch, and swap files are not generated for the Debugger* buffers, however I do not receive swap file notifications for files opened by VDebug during the debugging process (I may or may not be editing these files). The two solutions to this problem are: (1) manually check and delete buffers after a crash; (2) when VDebug starts, load all net-new buffers with noswapfile (i.e., files that were not open before starting the debugger).
Nonetheless, merging this patch is still desirable, in my opinion.
Note, however, that I do receive swap file warnings in gvim; only in console vim do I not see the notifications.
And, for those wanting to reproduce the problem, send a "kill -9" signal to the vim process to ensure that vim does not invoke the swap file cleanup routines.

This fix is added in the v2-integration branch, thanks

@BlackIkeEagle Thanks for working on this.  I apologize for not following up and submitting a PR.


[Plugin] add com.apollographql.apollo-kotlin and com.apollographql.apollo-java

Having separate plugins simplifies onboarding and allows to add apollo-android by just adding:
plugins {
    id("com.apollographql.apollo-kotlin").version("2.2.2")
}

This snippet will ~add apollo-runtime-kotlin to the list of dependencies automatically and also~ set generateKotlinModels=true.
PS: Sorry for the +12k lines diff, most of it is the schema.json for tests. If git works as I think it does, it shouldn't make the size of the repo grow since the git object will be stored only once.

This snippet will add apollo-runtime-kotlin to the list of dependencies automatically

Not really sure that this is good idea, we have burned in the past to be too opinionated about Apollo as all in or nothing. Some folks might want to use Apollo for code generation only

Not really sure that this is good idea, we have burned in the past to be too opinionated about Apollo as all in or nothing. Some folks might want to use Apollo for code generation only

There was a apollo.addRuntimeDependency option to opt-out runtime support but I can see how keeping it opt-in is more consistent and makes it explicit what is included in the build. The main inspiration for this was SQLDelight but they don't have the same modularity.
Now, the benefit of having com.apollographql.apollo-kotlin is to skip the apollo.generateKotlinModels.set(true). It might be a bit overkill to add new pluginIds just for that. On the other hand, it feels a bit weird, having to opt-in Kotlin support.

Now, the benefit of having a separatate plugin ID com.apollographql.apollo-kotlin is mainly to skip the apollo.generateKotlinModels.set(true).

Is it possible to infer this by looking into applied plugins for user's project?
For instance if we see that kotlin plugin is applied and generateKotlinModels is not set (we give option for user to override default behaviour) we set it to true by default.

Yes! That'd be a breaking change but I guess there aren't that many users using java models with the kotlin pluginOn Jun 30, 2020 7:37 PM, Ivan Savytskyi<EMAIL_ADDRESS>wrote:
Now, the benefit of having a separatate plugin ID com.apollographql.apollo-kotlin is mainly to skip the apollo.generateKotlinModels.set(true).
Is it possible to infer this by looking into applied plugins for user's project?
For instance if we see that kotlin plugin is applied and generateKotlinModels is not set (we give option for user to override default behaviour) we set it to true by default.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Closed in favor of https://github.com/apollographql/apollo-android/pull/2424/files


Keybindings SuggestWidgetFocus /or/ contextual Enter to select

VSCode Version: I'm on 1.4 but I would suppose any
OS Version: Win 10, OSX

Steps to Reproduce:

Turn on QuickSuggestions
Try with vs. without acceptSelectedSuggestionOnEnter

To preface... I had to turn off acceptSelectedSuggestionOnEnter (by setting "editor.acceptSuggestionOnEnter": false, in my settings.json file) because my fingers are trained to type enter regardless of what is on the screen, apparently they figure the computer is reading my mind, or some such (yep personifying fingers). Anyways, Sometimes I would hit enter because I wanted to use the suggested option, sometimes I wanted a new line and to ignore the option. IDEALLY my behavior is to mouse down and press enter.
"editor.acceptSuggestionOnEnter": false

[tab]
[down] .... => [tab]
[down] ..... => [up]...-1 => [tab]

"editor.acceptSuggestionOnEnter": true

[enter]
[ideal]
[down] .... => [tab]
[down] .... => [enter]
[down] ..... => [up]...-1 => [tab]
[down] ..... => [up]...-1 => [enter]

IDEAL

[tab](rather - as it is now ,where it is configurable via keybindings.json)
[down] .... => [tab]
[down] .... => [enter]
[down] ..... => [up]...-1 => [tab]
[down] ..... => [up]...-1 => [enter]

I tried doing this via keybindings.json using:
{
    "key": "down enter",
    "command": "acceptSelectedSuggestion",
    "when": "editorTextFocus && suggestWidgetVisible"
}

But that only works for the first entry, afterwards it is pointless and it ruins any other downwards movement. Without a way to know that I am presently in the context or focus of the suggestion dropdown, there is no way for me to know that Enter is a valid submission key.  Ideally if there was a SuggestWidgetFocus I could do this with a simple
{
    "key": "enter",
    "command": "acceptSelectedSuggestion",
    "when": "SuggestWidgetFocus"
}

or maybe if necessary?
{
    "key": "down",
    "command": "SuggestWidgetFocus",
    "when": "suggestWidgetVisible"
},{
    "key": "enter",
    "command": "acceptSelectedSuggestion",
    "when": "SuggestWidgetFocus"
}

To me this would be useful. If others think so - and the workload is not incredible to do, I would GREATLY appreciate this , as always!  Thank you!

@erichiller In short, once you have interacted with the suggest widget using the up/down arrow keys you want enter to insert the selected suggestion, otherwise enter should insert a newline?
Iff so my proposal would be to add a new context key ala suggestWidgetInteractedWith

@jrieken - yes - absolutely dead on!

@erichiller Closing this because we have made the following change: When IntelliSense shows automatically because of typing (24x7) and when the (auto)selected suggestion doesn't make a text edit, Enter inserts a new line. Otherwise it accepts the suggestion. When IntelliSense was triggered manually, Enter always accepts the selected suggestion.

dupe of https://github.com/Microsoft/vscode/issues/15702

@jrieken: The setting "editor.acceptSuggestionOnEnter": "smart" only solves the issue about autocompleting already complete words.
I would still love to have a way to make 'enter' only accept the suggestion if I actually selected it from the list. So when there was no Cursor-up/-down before Enter is hit, it would just add a newline or close the suggestionsWidget. (Pretty much the way it is in Visual Studio)


[Chore]fix magicnumber with thread sleep.

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

I think sleep can pull out a common variable uniformly


Update list of Flux pushdowns

Related to #1042

[x] Tests pass (no build errors)
[x] Rebased/mergeable

These are relative links in the context of the v2 documentation. Here are the full, absolute links:

https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/count/
https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/aggregates/sum/
https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/selectors/first/
https://v2.docs.influxdata.com/v2.0/reference/flux/stdlib/built-in/transformations/selectors/last/


expo-permissions:compileDebugKotlin FAILED

Description
On Friday I left the project running perfectly, but today I'm back and the application won't run.
Version
~0.63.4
Output of npx react-native info
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Memory: 1.95 GB / 15.94 GB
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.18 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 8.10.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-211.7628.21.2111.8309675
Visual Studio: Not Found
Languages:
Java: <IP_ADDRESS> - C:\Program Files\OpenJDK\openjdk-<IP_ADDRESS>_1\bin\javac.EXE
Python: 3.10.4 - C:\Python310\python.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

run command npx react-native run-android
not works

Snack, code example, screenshot, or link to a repository

The error occurred because of this https://github.com/facebook/react-native/issues/35210 and was fixed by upgrading the version from 0.63.4 to 0.63.5

Hi @eesttiwar I have same issue when run Project today, Anyone know how to fix this error. Thanks.


getPrice() should accept bigint

The getPrice() api should accept a bigint to allow getting prices for transactions larger than 2GB.
https://github.com/ArweaveTeam/arweave-js/blob/1aa25edddbdb9b659979d48c7f5f5c857fb9235e/src/common/transactions.ts#L44

Nevermind. Numbers in JS are 8 bytes by default which should be plenty enough already.


Feature/example dataset

closes #66

Codecov Report

Merging #68 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #68      +/-   ##
=========================================
+ Coverage   98.77%   98.8%   +0.02%
=========================================
  Files          18      18
  Lines        1229    1250      +21
=========================================
+ Hits         1214    1235      +21
  Misses         15      15

Impacted Files
Coverage Δ

regionmask/test/test_utils.py
100% <100%> (ø)
:arrow_up:

regionmask/core/utils.py
100% <100%> (ø)
:arrow_up:

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 047055d...d1fe7a8. Read the comment docs.


pressing 'enter' in searchbar refresh page

Hello,
when using the searchbar the "enter" key refreshes the page which isn't what I need to do.
After investigating a little it appears the problem is in this line:
<form v-if="searchEnabled" role="search">
'enter' Keypress submits the form so the page is refreshed so I suggest a preventDefault on the submit.
Please if there is a workaround i'm all ears.
Thank you.

Ah! This was due to a recent accessibility update. Will fix!

Ah! This was due to a recent accessibility update. Will fix!

Great, Thank you.

Great, Thank you.


Use ExchangeRateProvider in NextHopPacketMapper

Currently, we're using JavaMoney directly in DefaultNextHopPacketMapper.determineNextAmount, but this logic should be centralized, likely inside of ExchangeRateProvider....?
The main thing here is rate caching. Currently, the CryptoCompare API is engaged for FX rates for crypto (e.g., for XRP, so we should just double-check to make sure we're not hitting that API everytime determineNextAmount is called.

As part of this work, we should determine why the following WARN is emitted when JavaMoney is engaged:
2019-07-30 12:10:38.101  WARN 28556 --- [onPool-worker-4] c.DefaultMonetaryConversionsSingletonSpi : Ignoring non existing default provider: CC

For what it's worth, I started looking at the Ignoring non existing default provider: CC message when running the TwoConnectorMixedAssetCodeTestIT, and I'm not seeing that message in the logs anymore and I am seeing CryptoCompareRateProvider being triggered. Not sure if things are just being bootstrapped differently in the test or if the problem just went away due to other changes, but it at least appears to be the case that things are configured correctly.