Unable to run on termux

I built it using go build.  Binary is created but running it only gives
./cf: line 1: syntax error near unexpected token newline' ./cf: line 1: !'

haha, this is an sdk for golang, so you cant build it directly and run. you should create an golang project, and add this lib as a dependency, then in your project, you can call the cloudflare speed test function.


Add custom certificate CA support for object store

Is your proposal related to a problem?
Currently, the implementation of connecting with object store is short of tls configuration.
https://github.com/thanos-io/thanos/blob/2695ecd69c4464914ad4b4480b5e924ebfcd919d/pkg/objstore/s3/s3.go#L150
for my case, I would need the ability to set a custom CA somewhere so that I can connect the external object store. for a workaround, i have to disable tls verification by
type: S3
config:
  bucket: ""
  endpoint: ""
  access_key: ""
  insecure: false
  signature_version2: false
  encrypt_sse: false
  secret_key: ""
  http_config:
    insecure_skip_verify: true

(Write your answer here.)
Describe the solution you'd like
Support configuring certificate CA in http_config

(Describe your proposed solution here.)
Describe alternatives you've considered

(Write your answer here.)
Additional context

(Write your answer here.)

/assign @clyang82

List the tasks for this issue:

[ ] Support custom CA for S3
[ ] Support custom CA for Azure
[ ] Support custom CA for GCS
[ ] Update e2e test to enable secure access to MinIO with TLS
[ ] Update kube-thanos to support mount CA certs by secret

@clyang82  I got the update, Azure storage account doesn't support client key access - https://docs.microsoft.com/en-us/answers/questions/807958/where-to-find-the-client-ca-and-key.html.
So I don't think Azure storage can be accessed by customized CA. I saw your update here , GCS is using an inline a Service Account, I think Azure storage has a similar situation, it's using a storage account. Thanks.


Feature: allows custom data in the batch

As discussed. However, it currently does not allow for a custom collate function (now just uses np.stack, which assumes identical array sizes across batch elements).
I also added batch_custom_data.py example file under examples/
Adding custom collate should be simple enough, but I am worried it might complicate the API.
For example, we could have extras be a Dict[str, Tuple[Callable, Callable]] (the second callable is custom collate), or have another extras_collate_fns (but this might require the user to double-check its dictionary keys and might create a lot of boilerplate). We can leave it for now, or if you have any thoughts we can work on it.
Let me know of any needed changes.

Closing this for now, will discuss more internally before merging it here. Thanks!


It needs to support retrieving status codes in gRPC client versions prior to v1.40.

In the file /bpf/google.golang.org/grpc/client/bpf/probe.bpf.c, the uprobe_ClientConn_Invoke_Returns method reads the return value from the Error.s.s.Code field as the status code.
However, the structure of google.golang.org/grpc/internal/status.Error varies across different versions:
For v1.30.0 - v1.39.1 (link):
type Error struct {
    e *spb.Status
}

For v1.29.0 - v1.29.1 (link):
type Error spb.Status

The structure spb.Status is defined in google.golang.org/genproto/googleapis/rpc/status.Status.
For v1.8.0 - v1.28.1, the returned Error is actually the struct google.golang.org/grpc/status.statusError same as v1.29.0 - v1.29.1 (link):
type statusError spb.Status

Therefore, the logic to read the status code should be implemented according to the different structures.
In offset_results.json, add offset definitions for google.golang.org/grpc/internal/status.Error:
google.golang.org/grpc/internal/status.Error.e
google.golang.org/grpc/internal/status.Error.Code
And for google.golang.org/grpc/status.statusError:
google.golang.org/grpc/status.statusError.Code
In the uprobe_ClientConn_Invoke_Returns method, retrieve the corresponding status code by checking for non-null addresses in Error.s, Error.e, and Error.Code.

otel-go-instrumentation can not work
[nb@localhost tmp]$ sudo OTEL_GO_AUTO_TARGET_EXE=/home/nb/tmp/grpc7-v1.36.0-go-1.21-static OTEL_SERVICE_NAME=grpc_service OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 ./otel-go-instrumentation
{"time":"2024-10-30T09:17:54.85644044+08:00","level":"INFO","source":{"function":"main.main","file":"/app/cli/main.go","line":103},"msg":"building OpenTelemetry Go instrumentation ...","globalImpl":false,"version":{"Release":"v0.16.0-alpha","Revision":"unknown","Go":{"Version":"go1.23.2","OS":"linux","Arch":"amd64"}}}
{"time":"2024-10-30T09:17:56.859616982+08:00","level":"INFO","source":{"function":"go.opentelemetry.io/auto/internal/pkg/process.(*Analyzer).DiscoverProcessID","file":"/app/internal/pkg/process/discover.go","line":64},"msg":"found process","pid":2475}
{"time":"2024-10-30T09:17:56.869017373+08:00","level":"INFO","source":{"function":"go.opentelemetry.io/auto/internal/pkg/process.remoteAllocate.func1","file":"/app/internal/pkg/process/allocate.go","line":70},"msg":"Detaching from process","pid":2475}
{"time":"2024-10-30T09:17:56.869067996+08:00","level":"INFO","source":{"function":"go.opentelemetry.io/auto.NewInstrumentation","file":"/app/instrumentation.go","line":113},"msg":"target process analysis completed","pid":2475,"go_version":"1.21.13","dependencies":{"github.com/golang/protobuf":"1.4.2","golang.org/x/net":"0.0.0-20190311183353-d8887717615a","golang.org/x/sys":"0.0.0-20190215142949-d0b11bdaac8a","golang.org/x/text":"0.3.0","google.golang.org/genproto":"0.0.0-20200526211855-cb27e3aa2013","google.golang.org/grpc":"1.27.0","google.golang.org/protobuf":"1.25.0","std":"1.21.13"},"total_functions_found":8}
{"time":"2024-10-30T09:17:56.869134972+08:00","level":"INFO","source":{"function":"main.main","file":"/app/cli/main.go","line":134},"msg":"starting instrumentation..."}
{"time":"2024-10-30T09:17:56.86935077+08:00","level":"INFO","source":{"function":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load","file":"/app/internal/pkg/instrumentation/manager.go","line":324},"msg":"loading probe","name":{"SpanKind":3,"InstrumentedPkg":"net/http"}}
{"time":"2024-10-30T09:17:56.976383446+08:00","level":"INFO","source":{"function":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load","file":"/app/internal/pkg/instrumentation/manager.go","line":324},"msg":"loading probe","name":{"SpanKind":3,"InstrumentedPkg":"google.golang.org/grpc"}}
{"time":"2024-10-30T09:17:56.97755516+08:00","level":"ERROR","source":{"function":"go.opentelemetry.io/auto/internal/pkg/instrumentation.(*Manager).load","file":"/app/internal/pkg/instrumentation/manager.go","line":327},"msg":"error while loading probes, cleaning up","error":"invalid offset for the field in version: google.golang.org/grpc/internal/status.Error:s (1.27.0)\ninvalid offset for the field in version: google.golang.org/grpc/internal/status.Status:s (1.27.0)","name":{"SpanKind":3,"InstrumentedPkg":"google.golang.org/grpc"}}
{"time":"2024-10-30T09:17:57.12838706+08:00","level":"ERROR","source":{"function":"main.main","file":"/app/cli/main.go","line":136},"msg":"instrumentation crashed","error":"invalid offset for the field in version: google.golang.org/grpc/internal/status.Error:s (1.27.0)\ninvalid offset for the field in version: google.golang.org/grpc/internal/status.Status:s (1.27.0)"}

You can obtain the test program from flyserver/grpc7:grpc7-v1.39.0-go-1.21-static:
$ docker run --rm --name grpc7-container flyserver/grpc7:grpc7-v1.39.0-go-1.21-static &
$ docker cp grpc7-container:/usr/bin/grpc7-v1.39.0-go-1.21-static /tmp/grpc7-v1.39.0-go-1.21-static
$ docker stop grpc7-container

Then, start the test program with /tmp/grpc7-v1.39.0-go-1.21-static and use curl to access it:
/tmp/grpc7-v1.39.0-go-1.21-static &
curl -v http://<IP_ADDRESS>:3000/grpc

Thanks for the detailed response and reproducer @bittercookie, I'm working on a fix for this


MatTabs: How to move all visible tabs at once

Hi.
I am using the <mat-tab-group> with mat-tab element and I can navigate through my list of tabs using the arrows. Is there a way to move all the visible tabs on a single arrow click?
For example: If there are 5 tabs fitting on my available space, starting with tabs 1 to 5, clicking once the 'next arrow' should show the tabs from 6 to 10, hitting twice should show tabs from 11 to 15.
The current behaviour is that on a single click on the arrow, the tabs are moving by one. Can this be configurable?
Thank you!

We currently have it hardcoded to move 1/3 of the header width on each button press, but we should be able to make it configurable. I'm not totally sure what the API would look like though.

That sounds very good. I saw that when I increased the width, there was a bigger part moving, indeed. Also, is there any way to swipe the labels using the mouse pointer (not touch)? I think nowadays people would try this being accommodated with touch-screen devices that are everywhere. I see myself doing that sometimes in carousels :)


Unexpected labels cause failure

If an unexpected label is encountered it causes the fetcher application to crash. This results in no configuration file written at all.
This could cause an outage across all services if the label configuration in just one service is incorrect,
The fetcher should skip a service upon unexpected labels, and should still continue to iterate the remaining services and output the configuration for all the services with good label configuration.

Here is the error message that happens when there are any unexpected labels such as Traefik v1 labels. Reproducible by running server.exe manually on the cluster.
panic: runtime error: index out of range [2] with length 2
time="2022-03-15T12:58:08Z" level=info msg="Fetching state from cluster"
panic: runtime error: index out of range [2] with length 2
goroutine 5 [running]:
github.com/dariopb/serviceFabricDiscoveryService/pkg/discovery.(*Provider).getKVItemsFromLabels(0xc00006a000, 0xc000143590, 0x5, 0xc0001bf1a0, 0x25)
C:/projects/sf_stuff/serviceFabricDiscoveryService/pkg/discovery/discoveryworker.go:514 +0x1625
github.com/dariopb/serviceFabricDiscoveryService/pkg/discovery.(*Provider).generateConfiguration(0xc00006a000, 0xc000310000, 0x9, 0x11, 0x0)
C:/projects/sf_stuff/serviceFabricDiscoveryService/pkg/discovery/discoveryworker.go:430 +0x171
github.com/dariopb/serviceFabricDiscoveryService/pkg/discovery.(*Provider).loadConfiguration(0xc00006a000, 0x676018, 0xc0000503c0, 0xc000057d40)
C:/projects/sf_stuff/serviceFabricDiscoveryService/pkg/discovery/discoveryworker.go:149 +0x19f
github.com/dariopb/serviceFabricDiscoveryService/pkg/discovery.(*Provider).Provide.func1(0xc00006a000, 0x676018, 0xc0000503c0, 0xc000057d40)
C:/projects/sf_stuff/serviceFabricDiscoveryService/pkg/discovery/discoveryworker.go:124 +0x50
created by github.com/dariopb/serviceFabricDiscoveryService/pkg/discovery.(*Provider).Provide
C:/projects/sf_stuff/serviceFabricDiscoveryService/pkg/discovery/discoveryworker.go:123 +0x99

We cannot consider all scenarios now such as certain invalid v2 labels. This will not cause the fetcher process to crash but will not construct the traefik dynamic config file. This is being logged so can see what component in the label is causing this to fail.
These invalid v2 labels include when adding an invalid Traefik config option, e.g adding invalid sticky session config “traefik.http.PingerEndpoint0.service.sticky.name", where “cookie” name is missing.
At the moment we only do initial checks to make sure it looks like a valid v2 label (length of label is >= 3, first component contains “traefik”, has the endpoint been enabled to be discovered, second component contains “http” or “tcp”, fourth component contains either “service”, “middlewares”, or “service”, etc. More details can be found in discoveryworker.go
We are leveraging traefik kv way to parse rules (https://github.com/traefik/paerser), so you should be able to use any of the route/middleware, and service rules. After we convert the labels to a tree of nodes the parser handles adding the appropriate metadata and checks against (https://github.com/traefik/genconf) to make sure its an appropriate traefik config. If it is not then the traefik dynamic config file is not constructed.
Let me know what you think and if you have any suggestions.

This should now be handled by v1.0.0 release (https://github.com/microsoft/service-fabric-traefik/pull/17). As mentioned in the comment above, "To handle skipping all invalid v2 labels the fetcher would have to handle the validation to skip the labels. We don't plan to change this behavior and we can revisit this at a later time". If this is needed and causing issues please create a new issue to track this. This new behavior will be treated as an enhancement.


ts-rest fastify integration code crashes server on invalid JSON body

I have identified an issue where if invalid JSON body is passed to a request, it crashes the node server which is contrary to how Fastify behaves by defaults without ts-rest (Ref: https://fastify.dev/docs/latest/Reference/Errors/#catching-uncaught-errors-in-fastify)
The issue comes from here: ts-rest/ts-rest/libs/ts-rest/fastify/src/lib/ts-rest-fastify.ts line 180
const requestValidationErrorHandler = (
  handler: RegisterRouterOptions['requestValidationErrorHandler'] = 'combined'
) => {
  return (
    err: unknown,
    request: fastify.FastifyRequest,
    reply: fastify.FastifyReply
  ) => {
    if (err instanceof RequestValidationError) {
      if (handler === 'combined') {
        return reply.status(400).send({
          pathParameterErrors: err.pathParams,
          headerErrors: err.headers,
          queryParameterErrors: err.query,
          bodyErrors: err.body,
        });
      } else {
        return handler(err, request, reply);
      }
    } else {
      throw err; // The error here is not caught by Fastify's default error handler and crashes the server
    }
  };
};

Possible fixes:

Remove requestValidationErrorHandler completely and let the error naturally fall to Fastify's handler, I tried this, it works fine, so maybe it can be an option in the configuration of the plugin so as to not break this for people who are already hacked around this.
Make changes such that instead of throw is passed to the Fastify's error handler so the default functionality of an uncaught error is maintained.

Just fixed the issue using patch-package till the dev gets around to this.
<EMAIL_ADDRESS>line 81  replaced throw err with return handler(err, request, reply);

Then passed my own handler to handle the crash case.
void fastify.register(s.plugin(router), {
  requestValidationErrorHandler(err, request, reply) {
    fastify.errorHandler(err, request, reply);
  },
});

Works correctly now...

I solved my issue using patch-package till the dev gets around to looking at this.
I changed throw err; to return handler(err, request, reply); in<EMAIL_ADDRESS>And put this code in the register function
void fastify.register(s.plugin(router), {
  requestValidationErrorHandler(err, request, reply) {
    if (err instanceof RequestValidationError) {
      void reply.status(400).send({
        pathParameterErrors: err.pathParams,
        headerErrors: err.headers,
        queryParameterErrors: err.query,
        bodyErrors: err.body,
      });
    } else {
      fastify.errorHandler(err, request, reply);
    }
  },
});

Works as intended after these changes, server no longer crashes.


http.request not handling relative paths

If window.location.href is http://localhost:8000/app/#/, one would expect a GET to ./ping to be a request to http://localhost:8000/app/ping. At least, that's how XMLHttpRequest behaves.
But instead it looks like http.request sends the request to http://localhost:8000./ping, which is not a valid URL...

Fixed in<EMAIL_ADDRESS>


Check rancher status

Add a Ready  status (harvester and rancher  are both Ready) to prompt the correct time to log in
Related issue
rancher/harvester#597

Updated


allowFontScaling false changing lineHeight

allowFontScaling false was still changing lineHeight as if it were true

fixes #2783

@facebook-github-bot shipit


Update resource file app(s) -> application(s)

A pull request about the language use we talked about in #240
I have some notes about the changes, we can discuss:

I am not sure if we should use the word "app" or "application", there are already requests in the pipeline to support stuff like fonts, my opinion is that it should be packages.
The above not withstanding, I think it should be "application" over "app", my two main reasons being that "application" translates better to other languages, and "app" I think infers something I would get from the Store exclusively.
I've stayed true to the original text, but I think SourceArgumentDescription should probably be "applications", the source of your repository can still result in multiple results. (I think ExactArgumentDescription should stay singular as that parameter will result in one exact result), but maybe both of them shouldn't talk about applications at all, but results, which would be in line with the rest of parameters.

If we change consensus, I can update the pull request accordingly.
Microsoft Reviewers: Open in CodeFlow

@denelon , @KevinLaMS
I had originally used application (as is quite evident in the type names throughout) as the generic term for what we are managing.  Should we switch the documentation to use the term package?  I can guess your responses, but this way you will be on record 😄

I have had plenty of discussion with others on the topic of "package" vs. "App" vs. "Application" etc.
I would lean in the direction of the generic "package" as the largest set of things the client can install.

Yes, agree, 'Package' is so more generic and a bit more future proof. It;s a 'Package Manager', 'Packages of items' should be what it handles. The term App  or even Application muddies the waters

The change to use the term packages everywhere was released as part of https://github.com/microsoft/winget-cli/releases/tag/v0.1.42101-preview
Closing out this PR, thanks for the feedback.


701 upgrade cmake to 3.17

cherry-picked from https://github.com/CppMicroServices/CppMicroServices/pull/655 / https://github.com/CppMicroServices/CppMicroServices/commit/166c6eecf323840196ac404cc32f570df3d632b0

coverage builds fail with
['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
['verbose'] The error stack is: Error: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
I don't really know what to do with that, looks like some CI-internal issue.

Codecov Report

Merging #730 (caaa032) into c++14-compliant (53227b7) will decrease coverage by 0.89%.
The diff coverage is n/a.

Additional details and impacted files

@@                 Coverage Diff                 @@
##           c++14-compliant     #730      +/-   ##
===================================================
- Coverage            90.58%   89.68%   -0.90%
===================================================
  Files                  250      133     -117
  Lines                13432     8573    -4859
===================================================
- Hits                 12167     7689    -4478
+ Misses                1265      884     -381

Impacted Files
Coverage Δ

compendium/LogService/src/LogService.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/src/bundle/BundleRegistry.cpp
80.32% <0.00%> (-11.25%)
:arrow_down:

...mework/src/service/ServiceReferenceBasePrivate.cpp
87.55% <0.00%> (-5.40%)
:arrow_down:

framework/src/service/ServiceListeners.cpp
95.37% <0.00%> (-4.63%)
:arrow_down:

framework/src/service/ServiceRegistry.cpp
90.67% <0.00%> (-2.60%)
:arrow_down:

framework/src/service/ServiceRegistrationBase.cpp
80.82% <0.00%> (-1.83%)
:arrow_down:

framework/src/service/ServiceReferenceBase.cpp
96.02% <0.00%> (-1.33%)
:arrow_down:

framework/src/bundle/BundleResourceContainer.cpp
93.06% <0.00%> (-1.16%)
:arrow_down:

framework/src/bundle/BundlePrivate.cpp
82.37% <0.00%> (-1.07%)
:arrow_down:

framework/src/util/FrameworkPrivate.cpp
75.70% <0.00%> (-0.94%)
:arrow_down:

... and 120 more

coverage builds fail with
['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')} ['verbose'] The error stack is: Error: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 404 - {'detail': ErrorDetail(string='Unable to locate build via Github Actions API. Please upload with the Codecov repository upload token to resolve issue.', code='not_found')}
I don't really know what to do with that, looks like some CI-internal issue.

I don't know if there is anything we can do to fix it on our end. I'm re-running the failed builds to see if the error is sporadic. Considering the nature of this change, I'm not concerned with codecov failing to upload reports.


simplescreenrecorder: Make available on more platforms

Description of changes
Only thing that seems to have kept this from working on aarch64-linux was glinject:
building
build flags: -j2
[1/83] Building C object glinject/CMakeFiles/ssr-glinject.dir/elfhacks.c.o
FAILED: glinject/CMakeFiles/ssr-glinject.dir/elfhacks.c.o
/nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/gcc -Dssr_glinject_EXPORTS  -O3 -DNDEBUG -fPIC -MD -MT glinject/CMakeFiles/ssr-glinject.dir/elfhacks.c.o -MF glinject/CMakeFiles/ssr-glinject.dir/elfhacks.c.o.d -o glinject/CMakeFiles/ssr-glinject.dir/elfhacks.c.o -c /build/source/glinject/elfhacks.c
In file included from /build/source/glinject/elfhacks.c:20:
/build/source/glinject/elfhacks.h:67:3: error: #error neither __elf32 nor __elf64 is defined
   67 | # error neither __elf32 nor __elf64 is defined
      |   ^~~~~
/build/source/glinject/elfhacks.c:34:37: error: unknown type name 'ElfW_Sword'; did you mean 'Elf64_Sword'?
   34 | int eh_find_next_dyn(eh_obj_t *obj, ElfW_Sword tag, int i, ElfW(Dyn) **next);
      |                                     ^~~~~~~~~~
      |                                     Elf64_Sword
/build/source/glinject/elfhacks.c:422:37: error: unknown type name 'ElfW_Sword'; did you mean 'Elf64_Sword'?
  422 | int eh_find_next_dyn(eh_obj_t *obj, ElfW_Sword tag, int i, ElfW(Dyn) **next)
      |                                     ^~~~~~~~~~
      |                                     Elf64_Sword
/build/source/glinject/elfhacks.c: In function 'eh_set_rela_plt':
/build/source/glinject/elfhacks.c:456:6: warning: implicit declaration of function 'eh_find_next_dyn' [-Wimplicit-function-declaration]
  456 |  if (eh_find_next_dyn(obj, DT_PLTRELSZ, p, &relasize))
      |      ^~~~~~~~~~~~~~~~
/build/source/glinject/elfhacks.c:460:20: warning: implicit declaration of function 'ELFW_R_SYM'; did you mean 'ELF64_R_SYM'? [-Wimplicit-function-declaration]
  460 |   if (!obj->symtab[ELFW_R_SYM(rela[i].r_info)].st_name)
      |                    ^~~~~~~~~~
      |                    ELF64_R_SYM
[2/83] Building CXX object glinject/CMakeFiles/ssr-glinject.dir/GLInject.cpp.o
ninja: build stopped: subcommand failed.

This isn't a crucial functionality and can be disabled with a CMake option, so doing just that on non-x86 (which mirrors what upstream's simpple-build-and-install script does). The platform restriction to just x86_64-linux specifically seemed abit too harsh to me, instead of adding aarch64-linux to that I've opted for platforms.linux instead.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage

[x] Tested basic functionality of all binary files (usually in ./result/bin/)
https://user-images.githubusercontent.com/23431373/208311064-ac2f063a-7409-468c-aab8-6b13d39f96b3.mp4

23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1636


analysis_server: Invalid file path (-32003)

Using packages for Debian.
Tried with Dart stable 2.5.2, 2.6.1, dev 2.7.0
Fails with 2.6.1 and 2.7.0
Works with 2.5.2
Using analysis_server with coc.nvim as described in wiki.
I tested with stagehand server-shelf and stagehand console-full with same behavior.
On completion I get Request failed: Invalid file path (-32003). console.dart.cocinfo.log

@Urfoex Sorry for the delay in responding to this. I checked the log and the issue looks to be because you had onlyAnalyzeProjectsWithOpenFiles: true in initializationOptions but there was never a request for textDocument/didOpen. This means no paths are being analyzed, and therefore no paths are valid.

This crash hasn't been reported since Dart 2.5.2. Please re-open if you see this crash again.

I just had  a similar crash. The output of the swagger_dart_code_generator package crashes my analyzer in a reproducible way.
Changing the generated code even the slightest bit, e.g. deleting a random method instantly fixes the issue.
I've tried copying the generated files to another project so I can share them separately, but it doesn't crash anymore.
Managed to capture the following logs:
[Error - 12:29:02 AM] Request textDocument/codeAction failed.
  Message: An error occurred while handling textDocument/codeAction request
  Code: -32001
[Error - 12:29:02 AM] An error occurred while handling textDocument/codeAction request: Bad state: Expected existing element: root::package:projectname_mobile/presentation/web/swagger_generated_code/reporting.enums.swagger.dart::@unit::package:projectname_mobile/presentation/web/swagger_generated_code/reporting.enums.swagger.dart::@getter::$UsersUserIdPlansAggregatedGetAggregationTypeMap
#0      LinkedElementFactory.elementOfReference (package:analyzer/src/summary2/linked_element_factory.dart:143:7)
#1      LinkedElementFactory.buildExportNamespace (package:analyzer/src/summary2/linked_element_factory.dart:49:21)
#2      LibraryElementImpl.exportNamespace (package:analyzer/src/dart/element/element.dart:3823:42)
#3      TopLevelDeclarations.addElement.addSingle (package:analysis_server/src/services/correction/fix/dart/top_level_declarations.dart:59:36)
#4      TopLevelDeclarations.addElement (package:analysis_server/src/services/correction/fix/dart/top_level_declarations.dart:68:5)
#5      TopLevelDeclarations.withName (package:analysis_server/src/services/correction/fix/dart/top_level_declarations.dart:47:7)
<asynchronous suspension>
#6      ImportLibrary._importLibraryForElement (package:analysis_server/src/services/correction/dart/import_library.dart:272:33)
<asynchronous suspension>

Flutter:
Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.22000.493], locale en-US)

@dJani97 there's another open issue about that specific error here:
https://github.com/dart-lang/sdk/issues/48082
If you're able to get a repro you can share, please do post it on that issue. Thanks!


(fix) Remove async defer attributes from Google maps API link

Trello card URL:
https://trello.com/c/zS86O5L4/503-bug-copying-a-job-listing-link-doesnt-change-clipboard
Changes in this PR:
The async defer attributes were causing the Google maps API to be included in the page multiple times. See https://stackoverflow.com/questions/33115375/prevent-google-maps-js-executing-multiple-times-caused-by-rails-turbolinks

 Bug: copying a job listing link doesn't change clipboard


Add Admin UI and server the same from __admin_ui

Sorry for such a delay, I should have created this PR earlier as we already had all the prerequisites merged for this.
This PR adds the Admin UI and servers it from /__admin_ui/. Looking forward to your feedback. There are not tests for the UI (couldn't find enough time for it) and we can add them incrementally if you are fine with that approach.

Thanks Dip.  I checked this branch out a few months back, and it looked nice.  I haven't looked at it again now, but looked through the PR.
Should the vendor JS files be the minified versions to reduce size, or is there benefit in the full source versions?

The lack of tests is a dealbreaker for me I'm afraid.
The reason is that as soon as I merge this (or any change for that matter) I become the primary maintainer. Two things I know from painful experience are that tests rarely get added afterwards and that having to manually regression test a UI on every release inevitably leads to a loss of productivity, quality or both.

How about this: rather than making this a core feature of WireMock (which I've always been a bit ambivalent about TBH), how about spinning it out into its own project?
This would mean you'd retain ownership of it and be able to evolve it at a pace that suited you. I'd happily promote it from wiremock.org.
Making it its own project would have a number of advantages such as making it usable as an embeddable component on another site/app. I've seen several teams build their own UIs for WireMock and embed them into mini testing sites. Having a pre-made component to drop in might be very useful in this instance.

I completely understand your apprehension due to the lack of tests. Spinning this off as a separate project makes sense and if you can mention that in wiremock.org, even better.
The easiest way which comes to my mind is having a Node.js express app serving the UI and proxying the wiremock admin requests to the actual server. Can you think of any other way it can be dropped in as a component while running wiremock?

If I add CORS headers to the __admin range of URLs, then it should be possible for the UI to call it without any proxying required. CORS support is very good these days, just older versions of IE that can't cope with it.

Hah, in fact there was a PR to do this a while back so it's already there!


VSCode locks internet connection on ubuntu

When i'm closing down VSCode on latest ubuntu (16.4 - not the 17.10) there are many process remains in the background, especially the Microsoft one blocks my internet connection. (after killing the process, i'm able to browse the net again on chrome)
I have a wifi connection, which not that stable. Ubuntu has problems with connection handling, but i think VSCode hasn't implemented some sort of "pending" state feature.

Please use the process explorer (as described here https://github.com/Microsoft/vscode/wiki/Performance-Issues#visual-studio-code-is-consuming-a-lot-of-cpu) to know what processes are leaking

It would take some time to recreate, but i will do, if it happens.

Ok, it'll be helpful for us.


LSC Works, but only with Cloud!

Hey and thanks for your work!
is maybe a chance to get the lokal_key without Cloud ? Iám a little bit afraid about the cloud....
Thanks!

Hi @n1kozor  - what do you mean by "LSC"?
As to getting local keys, we would LOVE to find a way to do that in an easier way.  Currently, the Tuya Cloud method (instruction and other tutorials) seems to be the fastest and most straightforward way.  I'm not aware of any alternative way that doesn't require cracking into the mobile app via an Android emulator to snag the local key.  A google search for finding Tuya local keys and you will see videos like this.
If you find anything better or have suggestions, please let us know!

Thank you @jasonacox
LSC is a SmartHome System.. i bought it in Germany.

Even if you do get the local key, a lot of devices such as the LSC-Bell 8S (#161) do not work in local-only mode without significant hacks.  They really don't like avoiding the cloud.


Can't find, how to change the default keyboard layout

Hi folks,
I'm new to coreos and can't find a way to change the default keyboard layout. Google search doesn't find anything either.

That's right it doesn't work!
I use the localectl command and it prints:
System Locale: n/a
VC Keymap: fr
X11 Layout: fr
X11 Model: pc105
X11 Options: terminate:ctrl_alt_bksp
I must run my coreOS 557.0.0 on virtualBox with $vm_gui=true because there is a connection timeout via vagrant

Does not work here either. Ended my CoreOS trial in short as I can't type some characters like = with sv keyboard.

As was mentioned above, we don't ship most locales in CoreOS. Your best bet is to SSH into the machine and allow your host terminal to handle locales.

I also come across this problem. Is there no way to add keymaps without having access to external terminals? Not all keyboards have the US layout which makes working on container linux extremely hard.
A guideline into how to add other country's keymaps would be incredibly useful.

Independently of whether we want to ship locales, we should start shipping keymap data.  It doesn't require much space, and folks with non-US keyboards might plausibly want to type at the console.

The OS change actually belongs in coreos/bugs, not here, so I've opened https://github.com/coreos/bugs/issues/2116.
We should have better documentation too, so I'll leave this open.

So that no unecessary bytes are bundled in the container image, why not make a guide on how to add custom keyboard layout?
Give the user to ability to opt-in to that. I do not know what that would entail, it's merely a suggestion.

@pedro93 Thanks for the suggestion.  We currently ship neither the layouts nor the tools required to activate them, so the image will need changes in any case.

Thank you for reporting this issue. Unfortunately, we don't think we'll end up addressing it in Container Linux.
We're now working on Fedora CoreOS, the successor to Container Linux, and we expect most major development to occur there instead. Meanwhile, Container Linux will be fully maintained into 2020 but won't see many new features. We appreciate your taking the time to report this issue and we're sorry that we won't be able to address it.


Add configuration for tab character width

Add configuration for tab char width
When looking at xml-files, or some other hierarchical text context that uses tabs, having each tab rendered as 8 spaces quickly becomes unwieldy.
When looking at source code or diffs that align code with tabs, 8 is very rarely used as the size of tabs.
It would be nice to be able to have a configuration for how Windows Terminal renders tabs.

Don't mean to be rude, but doesn't Vim has this?

Most (all?) unix terminals has this with the tabs command.

I’m a bit confused. Are you sure “tabs” is provided by the terminal instead of shells?
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: Staffan Gustafsson<EMAIL_ADDRESS>发送时间: Friday, February 19, 2021 7:10:16 PM
收件人: microsoft/terminal<EMAIL_ADDRESS>抄送: Chester Liu<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>主题: Re: [microsoft/terminal] Add configuration for tab character width (#9219)
Most (all?) unix terminals has this with the tabs command.
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/issues/9219#issuecomment-782007246, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABD6BLYO5AGO4XYLRDZU5ETS7ZBJRANCNFSM4X4EDY6Q.

Yea I mean, tabs should already work in the Terminal. It sounds like it's using escape sequences that we've supported for a while now, TBC and HTS. That just sets the tab stops to new positions. Does tabs (in WSL) not already work for you?

I’ve tried this in WSL and it works as expected.
This is educational. I didn’t know about the existence of “tabs” before.
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: Mike Griese<EMAIL_ADDRESS>发送时间: Friday, February 19, 2021 8:22:36 PM
收件人: microsoft/terminal<EMAIL_ADDRESS>抄送: Chester Liu<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>主题: Re: [microsoft/terminal] Add configuration for tab character width (#9219)
Yea I mean, tabshttps://linux.die.net/man/1/tabs should already work in the Terminal. It sounds like it's using escape sequences that we've supported for a while now, TBC and HTS. That just sets the tab stops to new positions. Does tabs (in WSL) not already work for you?
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/terminal/issues/9219#issuecomment-782042216, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABD6BL2LZTHWXRD5YUARTODS7ZJYZANCNFSM4X4EDY6Q.

It works in WSL.
How can it be configured for cmd and pwsh on windows then?

That really depends on what application you're seeing the tabs in. Where are you seeing the tabs that you want to configure the width of? Like, which application/scenario specifically? I'm not sure that cmd.exe itself actually uses tabs for anything. PowerShell might - I'm not as familiar with PS.

I am not talking about the WT tabs for running different shells.
I'm talking about how \t is rendered.
For example,
is the output of an application containing a tab character, like:
"Label:\tText"

rendered as (tab size: 4)
Label:    Text

or as (tab size: 8)
Label:        Text

Basically, how do we set the tab stops?

Maybe we should use the terminology tab stops since the use of Tab is overloaded in this context.
And tab stops don't necessarily need to be set at even intervals.

Sure okay, my point still remains. Who's displaying text that's making use of the tab stops? Like, are you just type-ing a file to the console/terminal? Are you using vim.exe? Are you like, entering a multiline command in powershell? (again, not super familiar with PS so that might not make sense). The scenario definitely matters here.
I'm not sure that there's a built-in command that will set the tabstops to different positions (like tabs would). You could theoretically write one, but if you called it from cmd.exe, cmd would toggle VT processing back off, resetting the stops to the vintage console positions.  They were always 8 characters apart for the vintage console, so that's not really configurable for vintage apps. It's only VT-aware apps that can actually make use of changing the positions of the tab stops.
If you're the author of the thing that's emitting the text with the tab characters, then you could certainly just emit the HTS sequences yourself at startup to change the positions of the tab stops.

The case I ran into today was looking at diffs with git, running from pwsh.
The source code was formatted for a certain tab width, lining up source code using tabs.
With the default of 8, it was really hard to read, as the coder had used a tab width of 4 to make the alignment.

Not to start a holy war, but this is why people should use spaces 😄 </holy-war>
Looks a bit like you're hitting this: https://stackoverflow.com/a/10584237 ?
I'm not sure if there's a good way of configuring the output of a git diff that doesn't use the pager.

This is one of those times where the vintage console behavior is simply unpleasant, without a good solution. I'd _love_ to not have `cmd.exe` toggle VT off after each child process, but we _really really_ can't change `cmd.exe`, and we know for a fact that we can't do specifically that. Last time we tried that ~an oil rig exploded~ I think it caused all Windows builds to by 10% longer (which is measurable in hours).
\

... cmd would toggle VT processing back off, resetting the stops to the vintage console positions.

Wasn't that behavior changed a while back ... so that toggling VT output processing no longer resets tab stops?  Here, CMD is quite happy with tab stops at 1, 5, 9, ...

The case I ran into today was looking at diffs with git, running from pwsh.

Git diff won't use the terminals tab stop settings when displaying tab characters in a file, so it would be pointless trying to change them. But you should be able to configure the tab stop width in git config. See https://stackoverflow.com/questions/10581093/setting-tabwidth-to-4-in-git-show-git-diff

However, if you're just outputting a file with type, it looks like the terminal tab stop widths are actually used. So if you really want to change them, you can do so from the cmd prompt with commands like this:
rem Clear all existing tab stops
echo ^[[3g

rem Set a tab stop in column 25
echo ^[[25G^[H

Note that ^[ is Ctrl+[.
The equivalent commands in PowerShell are:
echo `e[3g

echo `e[25G`eH

Wasn't that behavior changed a while back ... so that toggling VT output processing no longer resets tab stops? Here, CMD is quite happy with tab stops at 1, 5, 9, ...

You know, I could be wrong about that. I'm definitely wrong about that:

Y'all are just fixing bugs faster than I can keep up with 😅
I think this discussion has run it's course, so I'm gonna close this. Thanks everyone!


Identity Feb 2024 Release Prep

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

Making this draft so it doesn't merge on accident. @g2vinay will ship this Monday after the issues with eventhubs and servicebus are fixed. cc: @alzimmermsft @anuchandy

Closing this as this was done in another PR


consider mounting the podresources directory, not socket

In order to be more robust with respect crashes/restarts, especially in complex scenario involving kubelet/application restart loops, we should evaluate if mounting the directory (vs the socket) gives us more guarantees and is more reliable.
xref: https://forums.developer.nvidia.com/t/refresh-docker-mount-for-tmp-argus-socket/214682/6

now part of kube docs: https://github.com/kubernetes/website/pull/42339/commits/e803bbe840551520a024b0c665c82517ebfb1668

deployer solved this issue, so to fix on the operator side a prerequisite is to consume deployer >= 0.14.0 (need to check the precise version)

solved by #750


Countries in the network page are not shown in an Alphabetical order

It's looks like they are, but they have a different logic behind it. Sorting this will be great.

Referring to this page - https://okfn.org/network/


Editing the quantity of a line item in a draft order does not trigger the order_updated plugin method

What I'm trying to achieve
There doesn't appear to be any methods in the BasePlugin class that can be triggered by editing a draft order's line item's quantity. As far as I can tell this is the only element of an order that can be changed without triggering at least one of the built in plug in methods. I'm not sure if this is by design or just an oversight. I would expect to see a plugin method called in the save method of the OrderLineUpdate mutation class. Either the generic order_updated method, or a specific method for line item quantity would seem appropriate.
Saleor version:

[ ] dev (current master)
[x] 3.0
[ ] 2.11
[ ] 2.10

Yes, there seems to be an oversight - draft order doesn't trigger any webhooks when it is created or edited, except for setting the shipping method, which triggers order_updated. Thanks for reporting, I'll put the but to the backlog so that the core team can fix it.


i18n(fr): Update recipes/i18n.mdx from #8645

Description (required)
Update recipes/i18n.mdx from #8645

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
recipes/i18n.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Users couldn't remove network components

Describe the bug
Only network owners, but not users could remove componets from a network

User: aligoth / homelessbum
Issue: I was messing with networks with homelessbum, I added them to my network, gave them the sorting chest, and the filter wand to show them how it works...they placed it, learned how it works, and then tried to break the chest to give it back. They couldn't because it said they weren't part of the network. I again, did /net user add HomelessBum, and it told me they are already part of the network, and still wouldn't let them break the chest
Originally posted by @Nacholebraa in MinecraftCitiesNetwork/Bugs#13 (comment)


3D model display issue - Stuck above

Hi,
I am using the base code to display a 3D model but I have a problem. The 3D model is still stuck on top.

I tried with all versions of A-FRAME (1.2.0, 1.1.0...) but the problem is still there.
I reduced the size, changed the model.
`

    vr-mode-ui="enabled: false"
	embedded
    arjs='sourceType: webcam; sourceWidth:1280; sourceHeight:960; displayWidth: 1280; displayHeight: 960; debugUIEnabled: false;'>

<a-entity gltf-model="assets/dragonite/scene.gltf" rotation="0 180 0" scale="0.08 0.08 0.08" gps-entity-place="longitude: *.*****; latitude: **.******;" animation-mixer/>

    <a-camera gps-camera rotation-reader></a-camera>
</a-scene>`

I tried with several smartphones/tablet (galaxy A10, huawey... )and browsers (brave, firefox, chrome, opera) but still the same
I also tried the latest version  Location Based Example:
https://ar-js-org.github.io/AR.js-Docs/
it is displayed very slightly better the model no longer animates :

`

<a-scene
  vr-mode-ui="enabled: false"
  arjs="sourceType: webcam; videoTexture: true; debugUIEnabled: false;"
>

  	<a-entity gltf-model="assets/dragonite/scene.gltf" rotation="0 180 0" scale="0.08 0.08 0.08" gps-entity-place="longitude: *.*******; latitude: **.*****;" animation-mixer/>

  <a-camera gps-camera rotation-reader> </a-camera>
</a-scene>`

Do you know how I can fix the problem?
Thank you very much.
Nice day.

Hola... estimo que es el valor del (eje y) que deberias modificar. Aqui un ejemplo sobre una caja amarilla:

Saludos Gabriel
PD. paso bastanmte tiempo, jeje, pero recien estoy entrando en estos temas, muy interesantes.

Hello, I also have the same problem, in addition to the fact that the pokemon does not stay fixed wherever I move my camera, it leaves without having to touch it. I want it to stay as fixed as possible at the point of the coordinate that I set, how can I do that? I am new at this.

Hello,
I have already tried to modify the coordinates but it does not change anything. The 3d model is sometimes even outside the screen (left or right).
I also tried to use the version with GPS coordinates so that the 3d model appears at a specific location but it still appears, even if we are not at that location. It's strange.


Update crontab and deploy

Make the bot actually run on the server. Upgrade scripts to F30 if necessary

Wide Tim is up and running. To fix the EXDEV error, I had to transplant the node_modules from my computer into the server


fixing a link to design milestone 1.2

On the Milestone 1.2 page the design milestone link goes to milestone 1.1 instead of 1.2.

@GBKS Do you know why Github doesn't automatically create a preview, like in the design guide repo?

Yep, there are no previews because the site is hosted directly via GitHub Pages, and not Netlify like the guide.
Can you please remove the .DS_Store and Gemfile.lock file changes from this PR?

@GBKS should be reverted now


multi-session support

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
Right now there can only be one active session. If I open more tabs/pages, the interactions just got mixed up in the conversation. This also prevent it being deployable as a service.
Wondering if there is plan to support this. If there is no plan but you can show me the best place to add this I'm happy to contribute too.
✔ Solution
Support multi-session.
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

Correct, this is currently not supported. I welcome a PR but won't be able to dedicate the time to develop it.


Typescript takeover won't detect tsconfig in subdirectory.

I have a git repo/folder containing multiple Nuxt modules. When I use Volar takeover mode, it can't resolve modules. I don't think Volar picks up the tsconfig.json files in the subfolders.
Resolution with VSCode's typescript service.

With Volar takeover:

My team is experiencing this as well. We had to revert to an older version of volar temporarily.

Can you share a repro case?


New mode

added the ability to run tests based on the created testrun in testrail

@gridivit can you explain in more detail what this PR does please

@dubner we can use exists testrun in testrail, and run tests with only the necessary status
Example:
--testrail 2 --tr-testrun-id 72 --tr-skip-passed-tests   - will run all tests from testrun_id 72 that do not have the status passed

ok, you merged https://github.com/dubner/pytest-testrail/pull/25, my pool requests not actual


Expand AAD support for national clouds

Need to support Azure Monitor AAD in National clouds.
See also:

Azure.Identity's AzureAuthorityHosts

Audience & Scope
The audience is the url portion: https://monitor.azure.com.
The scope is the audience + the permission: https://monitor.azure.com//.default.
As of today, our SDK has a single handcoded scope:
https://github.com/microsoft/ApplicationInsights-dotnet/blob/f1ebc65b27b0347d7fbd9a0627e4736ec17b60ec/BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/AuthConstants.cs#L14
This prevents our SDK from acquiring a token in any cloud other than Public Azure.
Solution
Our teams are currently evaluating 3 possible solutions. There is a precedent for each of these options in the Azure SDKs.

Manual Configuration. A user can manually configure the audience for the specific cloud they're trying to connect to.
A POC is available for this here: #2623

Automatic. The SDK would perform an Auth Challenge with our ingestion service to acquire the correct audience.

Register a single audience in every cloud.
Although there is precedent for this in other Azure services, this is discouraged by policy.

Our teams have proposed a 4th solution:

Add "Audience" as an optional field to the ConnectionString.
For Public clouds, this is not needed and will be omitted from the Connection String. SDK will use the default audience already hardcoded.
For National clouds, SDK will use the Audience value provided in the ConnectionString.
A POC is available for this here: #2657

Testing
We obviously can't E2E test this until all services are updated in every cloud.
But we can test this using PowerShell:

Install-Module -Name Az.Accounts

Get-AzEnvironment
This command provides the names of the Azure Environments used in the following command.
Name              Resource Manager Url                  ActiveDirectory Authority          Type
----              --------------------                  -------------------------          ----
AzureGermanCloud  https://management.microsoftazure.de/ https://login.microsoftonline.de/  Built-in
AzureChinaCloud   https://management.chinacloudapi.cn/  https://login.chinacloudapi.cn/    Built-in
AzureUSGovernment https://management.usgovcloudapi.net/ https://login.microsoftonline.us/  Built-in
AzureCloud        https://management.azure.com/         https://login.microsoftonline.com/ Built-in

Connect-AzAccount -Environment AzureChinaCloud
This will launch a login prompt in the browser and requires a test account in that specific cloud.

Get-AzAccessToken -ResourceUrl "https://monitor.azure.com"
This fails with the following error. This is the same error the SDK gets:

Get-AzAccessToken: SharedTokenCacheCredential authentication failed: AADSTS500011:
The resource principal named https://monitor.azure.com was not found in the tenant named MC.DevOps.
This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant.
You might have sent your authentication request to the wrong tenant.

Get-AzAccessToken -ResourceUrl "https://monitor.azure.cn"
This works.

Our teams met today (2022-08-09) to discuss options.
A 4th option was proposed: adding the Audience to the Connection String.
Everyone in attendance was in favor of this option.
I'm writing an email to follow up with everyone else.

@TimothyMothra in the meantime this "hack" can be used until its fixed in the SDK:
private static void FixAADAudience(TelemetryConfiguration telemetryConfiguration)
{
    if (telemetryConfiguration.ConnectionString != null)
    {
        string? aadAudience = telemetryConfiguration.ConnectionString.Split(';')
            .Select(x => x.Split('='))
            .Where(x => x.Count() == 2 && x[0] == "AADAudience")
            .Select(x => x[1])
            .FirstOrDefault();
        if (!string.IsNullOrEmpty(aadAudience))
        {
            var credentialEnvelope = telemetryConfiguration.GetType().GetProperty("CredentialEnvelope", BindingFlags.Instance | BindingFlags.NonPublic)!.GetValue(telemetryConfiguration);
            if (credentialEnvelope != null)
            {
                var tokenRequestContext = credentialEnvelope.GetType().GetField("tokenRequestContext", BindingFlags.Instance | BindingFlags.NonPublic)!.GetValue(credentialEnvelope)!;
                var scopes = (string[])tokenRequestContext.GetType().GetProperty("Scopes", BindingFlags.Instance | BindingFlags.Public)!.GetValue(tokenRequestContext)!;
                if (!aadAudience.EndsWith('/'))
                {
                    aadAudience += "/";
                }
                scopes[0] = aadAudience + ".default";
            }
        }
    }
}

And use it like this:
options.SetAzureTokenCredential(tokenCredential);
FixAADAudience(options);

Still it does not seems to work, at least on Azure China Cloud. I successfully get the token with the correct audience, but the ingestion endpoint answers the API requests with Http 500 : Processing error. Maybe this is an additional sub-issue correlated to this one.

no stale

@TimothyMothra
It seems like the AAD Support is still not there for the national clouds, just like it has been pointed out above.
E.g., the AzureMonitorScope constant that is used to get the tokens has the value "https://monitor.azure.com//.default", regardless of what is specified in the AADAudience key in the Connection String. That is, for China Cloud, the AADAudience has the correct value of https://monitor.azure.cn/, but that's disregarded.
Could this be fixed any time soon? It does not seem difficult to parse the connection string and set the correct audience.


Nested Tables

So for your random tables you have the syntax as follows, what would be cool is if you can add {selectable} to the Tables.
{element1}  does {element2}

## Element1
value 1
value 2

## Element2
Something 1
Something 2

Example
{element1}  does {element2}

## Element1
value 1
value 2

## Element2
Something {fun}
Something {fun}

## Fun
Playing golf
Playing Football

Added in 0.3.13!
There are lots of caveats with such feature though, but for simple usage 0.3.13 should work.


xPlat SQL Support

The Module already is capable of running xPlat when SQL databases are used (MDB and EDB are not supported on non-Windows).
However, the use of RequiredAssemblies for Microsoft.Isam.Esent.Interop in the module manifest makes it impossible to import on Linux / Mac.
To fix this, the module needs another way of importing this assembly (Windows only) and make it clear to a non-Windows user that MDB and EDB are not available

This should work
[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.Isam.Esent.Interop')


bitsPerSecond not working for canvas recording

In my web app, a canvas, which has the size of the full screen browser, is captures for around 90 seconds:
recorder = RecordRTC(canvas, {
              type: 'canvas',
});
recorder.startRecording();

After the recording, I upload it to my server. I've noticed that the file is bigger when the user was on a higher resolution screen. Makes sense, of course. But that means at 4K displays, the file gets big and the upload takes long, which isn't user friendly in my case.
So I'm looking for a way to cap the video, so that it's always around 16MB.
I've tried adding:
     canvas: {
         width: 128,
         height: 72
     }

in the hope it would record at a smaller resolution, but that didn't do anything.
Also, adding:
bitsPerSecond: 100
doesn't seem to do anything. The video is always the same in size, even when I make it real small.
So my question is: can it be done?
Update: tried frameRate: didn't do a thing too...

I noticed disableLogs: true doesn't disable console logs too... Am I doing something wrong here when passing the option parameters?:
      function recordCanvasUsingRecordRTC(canvas) {
          recorder = RecordRTC(canvas, {
              type: 'canvas',
              disableLogs: true
          });

          recorder.startRecording();

Any input regarding this issue? Is it solvable? Thanks a lot!


SaaS: Snippets are not loading

Description:
When going to the snippets in the admin (de-DE) and then go to page 12 I get a 500 error. Sometimes I can load page 12 but the the error occurs at page 13, 14 or 15.
Environment:
SaaS
Steps to reproduce:

Go to the snippets in the admin (de-DE) and then go to page 12. Sometimes it only appears after page 13, 14 or 15.

Expected result:

Snippets are loaded

Actual result:
Uncaught PHP Exception Shopware\Core\Framework\DataAbstractionLayer\InvalidCriteriaIdsException: \"Invalid ids provided in criteria. Ids should not be empty. Ids: Array ( ) .\" at /var/www/html/vendor/shopware/platform/src/Core/Framework/DataAbstractionLayer/DataAbstractionLayerException.php line 77

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-31343.
[created from NEXT-31343, comment 487333]


Spelling in docs

Just some typos I noticed while reading the docs.

Coverage decreased (-0.04%) to 91.07% when pulling f22c21b422d5b287d1a1ac183a379ee02eebf54f on musoke:doc_spelling into ff5d1a753d85a777c6bec69b49d17e836f887a46 on kbknapp:master.

Coverage decreased (-0.04%) to 91.07% when pulling f22c21b422d5b287d1a1ac183a379ee02eebf54f on musoke:doc_spelling into ff5d1a753d85a777c6bec69b49d17e836f887a46 on kbknapp:master.

Thanks for catching these! @homu r+

:pushpin: Commit f22c21b has been approved by kbknapp

:hourglass: Testing commit f22c21b with merge 274afb1...

:sunny: Test successful - status


pretraining on own dataset

Hi,
I followed the instructions at https://github.com/pytorch/fairseq/blob/master/examples/roberta/README.pretraining.md
But I am running into this error:

I am using the wikitext-103-raw. Do you think it would be because of different PyTorch or TensorFlow versions?
I am using this configuration: 4x NVIDIA Tesla V100 GPUs with 16 GiB of memory.
Thanks, again!
Originally posted by @vr25 in https://github.com/VinAIResearch/PhoBERT/issues/3#issuecomment-605117835

"Do you think it would be because of different PyTorch or TensorFlow versions?"
=>> I dont think so.
It's strange that you have only 17 training samples and using a max-sentences hyper-parameter of 2.
I am not sure I am the right person to response your issue. You might want to post your issue to fairseq.


PUBAPI-1146 Divorce wanted between *_KEY_ID env vars and keyId actually sent to server

This change divorces the *_KEY_ID environment vars (and thus the input keyIds to smartdc-auth functions) from the keyId actually sent to the server, in order to handle compatibility with newer OpenSSH versions in a simple way.
The *_KEY_ID variables will henceforth be used only to identify which key it is that the user wishes to use for authentication, and will support any known key fingerprint format. Then, the keyId actually sent to the server is generated based only on the key itself.
See also https://smartos.org/bugview/PUBAPI-1146
This change also prepares smartdc-auth to be used by not just smartdc but also manta and sdc-clients by merging the changes in the 3 separate copy-pasted versions of this code back into this library. These changes include the Manta-originated signature and key cache, and some minor API compatibility changes from sdc-clients.
It also introduces a new commandline tool sdc-curl which can be used to generate signed curl requests for testing and development purposes.
The patch makes use of sshpk's support for loading the public half of a private key file so that we no longer require the presence of a matching .pub file next to a given key in $HOME/.ssh. And makes some error messages a little more actionable for users, hopefully.
And finally, it re-enables the (now no longer broken) DSA key support, and paves the way for ECDSA support in future.

Merged as e6604c9a474f839d51917d8288f43fb91bdca7ae


Creating Pull Request File - Pull.md

Setting up a Pull Request File.

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Resolves issue #690


Question: is this based on rule-set ?

You can be more specific?

How does particle-life simulator work ?
My assumption is that there is a rule runner running rules that renders the view.

Yes. Look at the video for a full description:
https://youtu.be/0Kx4Y9TVMGg
The code is also very readable and clear


Display global ContentScopeIndicator if redirects are scoped globally

Description
Display global ContentScopeIndicator if redirects are scoped globally
Previously, an empty ContentScopeIndicator was displayed if no scopeParts were passed to createRedirectsPage.
Screenshots/screencasts

Before
After

Changeset

[x] I have verified if my change requires a changeset

Could this be something that the ContentScopeIndicator component should do by default? Or would this be too much magic?

I'd keep it explicit. Passing an empty object as scope could also be a sign of a mistake


The addition of otRadioCoexMetrics

Hello everybody,
I was wondering what is the reason behind adding this new structure otRadioCoexMetrics and what is it used in?
maybe you can support on this @zhanglongxia @jwhui
Thanks,

@testter2 , otRadioCoexMetrics is intended for radio drivers that implement radio coexistence mechanisms - for example, Wi-Fi + Thread coexistence. The metrics help provide visibility into the frequency of various coex events. If the radio driver does not implement radio coexistence, you can ignore this.
Does that help answer your question?

Sure, thanks.


Extend channels settings with per channel AI context

Allow to make different context (profile) of the bot on individual channels.

Fixed in 176c6de


add terms & conditions screen

Release checklist
after splash screen and just before sign up we need a terms & conditions screen just like this one

added on the backend,


Refactor compute_col_gas!

Refactor compute_col_gas!

[x] I have read and checked the items on the review checklist.

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try


feat: bump gotrue-js to v2.10.1

Btw I think the failing test is related to https://github.com/supabase/gotrue-js/issues/597

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
84

Relevant Lines:
111

💛  - Coveralls


embedded bots: Add database config storage.

This PR comes with two caveats:

The mypy annotations do not completely reflect reality yet.
 I included them here to make the tests work. (Adding this PR on top of #6927 seemed wrong, they cover too different subjects).

This replaces #6131.

For create_test_bot, why not just have it use the API rather than calling do_create_user directly?  That would make for better testing.  We can fix that in a follow-up change.

I merged the first 2 commits.  @derAnfaenger for the last commit, I'm somewhat skeptical of the need for a new ConfigDataField Django field type.
We should have a longer discussion about this, but I think it's quite likely that the .ini format isn't what we want for this.

Updated, basically rewrote the database config storage commit.

I wonder why the migration is named so cryptically?

@derAnfaenger this seems to have gained conflicts with the other stuff I just merged...

With migrations, unless the thing it is doing is super simple, you need to rename it manually.

Posted a few comments; otherwise this looks good!

Updated. Resolved the merge and migration conflicts, changed the size limit model to use total size.

Nice, merged, thanks @derAnfaenger!


Add logout feature for OIDC login

Quarkus and Micronaut samples have this feature.

💯 I was demoing this app the other day, and it's a little too basic, I love a good hello world app, but this one needs a bit more  to it, possibly a simplified version of this: https://github.com/okta/samples-java-spring/tree/master/okta-hosted-login
(with the logout configured)

This is complete.


event emitter error

On npm run http,
browser opens with blank window with error on firebug
TypeError: EventEmitter is not a constructor
$.extend(Globals, new EventEmitter());

Did you follow the steps in the README?
https://github.com/readium/readium-js-viewer/blob/develop/README.md
(it sound like you missed the 'npm run prepare' stage)

I did that, here is the error log,
Not getting what is missing
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\pravid\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'prepare' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prepare' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
7 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\pravid\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\inetpub\wwwroot\reader\readium-js-viewer\node_modules.bin;C:\Users\pravid\AppData\Roaming\npm;C:\Program Files\nodejs;C:\ProgramData\Oracle\Java\javapath;C:\Ruby22\bin;C:\RailsInstaller\Git\cmd;C:\RailsInstaller\Ruby1.9.3\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\Heroku\bin;C:\Program Files\git\cmd;C:\Program Files\Microsoft SDKs\TypeScript\1.0;C:\Program Files\nodejs;C:\Users\pravid\AppData\Roaming\npm
8 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\inetpub\wwwroot\reader\readium-js-viewer
9 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c',
9 silly lifecycle   'npm run prepare:submodule && npm run prepare:local' ]
10 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
11 info lifecycle<EMAIL_ADDRESS>Failed to exec prepare script
12 verbose stack Error<EMAIL_ADDRESS>prepare: npm run prepare:submodule && npm run prepare:local
12 verbose stack Exit status 1
12 verbose stack     at EventEmitter. (C:\Users\pravid\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:232:16)
12 verbose stack     at emitTwo (events.js:87:13)
12 verbose stack     at EventEmitter.emit (events.js:172:7)
12 verbose stack     at ChildProcess. (C:\Users\pravid\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
12 verbose stack     at emitTwo (events.js:87:13)
12 verbose stack     at ChildProcess.emit (events.js:172:7)
12 verbose stack     at maybeClose (internal/child_process.js:817:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
13 verbose pkgid<EMAIL_ADDRESS>14 verbose cwd C:\inetpub\wwwroot\reader\readium-js-viewer
15 error Windows_NT 6.1.7601
16 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\pravid\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "prepare"
17 error node v4.0.0
18 error npm  v3.5.2
19 error code ELIFECYCLE
20 error<EMAIL_ADDRESS>prepare: npm run prepare:submodule && npm run prepare:local
20 error Exit status 1
21 error Failed at the<EMAIL_ADDRESS>prepare script 'npm run prepare:submodule && npm run prepare:local'.
21 error Make sure you have the latest version of node.js and npm installed.
21 error If you do, this is most likely a problem with the readium-js-viewer package,
21 error not with npm itself.
21 error Tell the author that this fails on your system:
21 error     npm run prepare:submodule && npm run prepare:local
21 error You can get information on how to open an issue for this project with:
21 error     npm bugs readium-js-viewer
21 error Or if that isn't available, you can get their info via:
21 error     npm owner ls readium-js-viewer
21 error There is likely additional logging output above.
22 verbose exit [ 1, true ]

As per the README "prerequisites" section, you need NPM v2 (not v3), which ships with the NodeJS v4 installer (NodeJS v5 comes with NPM v3). It looks like you have got a hybrid setup NodeJS v4 + NPM v3

Okay, thanks. Will install NPM v2 and test.

Tried with npm 2, Still the same error
Here is the debug log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'prepare' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prepare' ]
5 info prepare<EMAIL_ADDRESS>6 verbose unsafe-perm in lifecycle true
7 info<EMAIL_ADDRESS>Failed to exec prepare script
8 verbose stack Error<EMAIL_ADDRESS>prepare: npm run prepare:submodule && npm run prepare:local && npm run prepare:patch
8 verbose stack Exit status 1
8 verbose stack     at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
8 verbose stack     at emitTwo (events.js:87:13)
8 verbose stack     at EventEmitter.emit (events.js:172:7)
8 verbose stack     at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
8 verbose stack     at emitTwo (events.js:87:13)
8 verbose stack     at ChildProcess.emit (events.js:172:7)
8 verbose stack     at maybeClose (internal/child_process.js:817:16)
8 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
9 verbose pkgid<EMAIL_ADDRESS>10 verbose cwd C:\inetpub\wwwroot\reader2\readium-js-viewer\readium-js\readium-shared-js
11 error Windows_NT 6.1.7601
12 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "prepare"
13 error node v4.0.0
14 error npm  v2.15.9
15 error code ELIFECYCLE
16 error<EMAIL_ADDRESS>prepare: npm run prepare:submodule && npm run prepare:local && npm run prepare:patch
16 error Exit status 1
17 error Failed at the<EMAIL_ADDRESS>prepare script 'npm run prepare:submodule && npm run prepare:local && npm run prepare:patch'.
17 error This is most likely a problem with the readium-shared-js package,
17 error not with npm itself.
17 error Tell the author that this fails on your system:
17 error     npm run prepare:submodule && npm run prepare:local && npm run prepare:patch
17 error You can get information on how to open an issue for this project with:
17 error     npm bugs readium-shared-js
17 error Or if that isn't available, you can get their info via:
17 error
17 error     npm owner ls readium-shared-js
17 error There is likely additional logging output above.
18 verbose exit [ 1, true ]

I suspect the global and local node_modules folders have to be removed and recreated from switching from v4 to v5 (or vice versa).
Can you please try? See first comment in https://github.com/readium/readium-js-viewer/issues/453

NodeJS 4 is the minimum requirement, and NodeJS 6 (LTS) is now supported too.
https://nodejs.org
When switching from one major NPM version to another, the node_modules folders in each Readium repository / submodule, as well as the node_modules folder of the NodeJS installation itself, should be deleted (and subsequently re-created). Readium's Node dependencies are re-created by using the npm run prepare command (which automatically navigates inside each submodule repository). NodeJS's own default global modules are installed by the NodeJS installer.


Vuepack dev mode serves index.html instead of client.js

Index.html loads fine, but browser request for client.js also returns index.html and the page displays nothing. No errors. Probably just need to proxy request properly?

Hmm, it loads client.js correctly for me


Should Qubit type be lowercase qubit?

to match other "builtins" int, float, bool, list, linst etc.

Pros:

More pythonic
Reinforces that qubit is a built in thing to guppy

Cons:

Syntax highlighting is a bit worse. E.g.:

f(q : Qubit) # Highlighted like a type
f(q : qubit) # Plain


ES - command to load a new application, commands to load/unload/reload libraries

Is your feature request related to a problem? Please describe.
Currently ES can be commanded to unload or reload an existing application. Commands should be added to load an application not currently loaded. Similarly, there's no commands to load/unload/reload libraries--these commands should be added.
Describe the solution you'd like
Addl. commands.
Describe alternatives you've considered
SBN currently directly loads libraries, if the library is not already resident. With this change, SBN should command ES to load those libraries. SBN also reloads libraries when the SBN configuration table is changed, this should also translate to ES commands.
Requester Info
<EMAIL_ADDRESS>

Concur that the fact there is no command or API to [re-]load a library seems like a glaring omission in ES, if we support it for apps, we should support it for libs too.  The only reason I can think of is that it is hard to ensure that a library is not in use - one would have to first stop all apps that use the library, then unload the library, then reload it.  At that point maybe a processor restart would've gotten the job done much faster?

I seem to recall this has been a topic in the past... and the consensus was it's safer to restart since unloading could break things.

@acudmore @jwilmot - any background?

I seem to recall this has been a topic in the past... and the consensus was it's safer to restart since unloading could break things.

Personally, if "load" is unsafe, then so is "unload" and "reload". Either we should support all three in ES or none (and have ES perform the loads privately.) Similar for libraries--while they don't have an associated task, they still have symbols in the symbol table that unloading/reloading could corrupt.
Let's discuss at the CCB today?

Yes lets!  I realize I didn't provide enough context around my comment.  It was with respect to unloading libraries.

CCB 2020-07-29, More discussion needed schedule a splinter with architects and other stakeholders

I wasn't able to make it to today's CCB, but please include me in this splinter. I've spent a good amount of time diving into the details of this type of dynamic loading.

@dmknutsen - until we get requirements to load/unload/reload libraries, it is not supported.  This has been an ongoing debate for a while, and a general implementation (from ES) is difficult to make "safe".  Leaving this to apps to manage for now.

@dmknutsen - until we get requirements to load/unload/reload libraries, it is not supported.  This has been an ongoing debate for a while, and a general implementation (from ES) is difficult to make "safe".  Leaving this to apps to manage for now.


[#1060] Added matcher for Iterator

Closes #1060
Added a matcher for Iterator that checks value of hasNext() to determine if the iterator is empty or not.

@Kerooker updated. Let me know if you have any more comments or see potential improvements!
Also, do we want a matcher for Iterable too? or is the one for Iterator enough to cover the necessary use cases?

Seems good to me!
Thanks for your contribution!


LIBUSB_ERROR_TIMEOUT

Hi,
I would like to use the Thermal Seek Compact Pro with maverick on a Raspberry Pi 3 B but vision_seek stopped working after a few seconds. I hope you can help me.
maverick version is 1.1.6 flashed with Etcher
[dev] [mav@maverick-raspberry ~]$ maverick log vision_seek
Maverick - UAV Companion Computer System - Version 1.1.6
Displaying service log: vision_seek
-- Logs begin at Thu 2016-11-03 17:16:42 GMT. --
May 30 12:01:00 maverick-raspberry systemd[1]: Started Maverick - Seek Thermal Vision.
May 30 12:01:00 maverick-raspberry vision_seek.sh[2542]: /srv/maverick/software/libseek-thermal/
bin/seek_viewer --fps=7 --scale=1.0 --colormap=2 --rotate=90 --camtype=seekpro -o /srv/maverick/
data/vision/vision_seek/seek.avi
May 30 12:01:05 maverick-raspberry vision_seek.sh[2542]: Video stream created, dimension: 240x32
0, fps:7
May 30 12:01:28 maverick-raspberry vision_seek.sh[2542]: Error: bulk transfer failed: LIBUSB_ERR
OR_TIMEOUT
May 30 12:01:28 maverick-raspberry vision_seek.sh[2542]: Error: frame acquisition failed

Hi @Merkensen this is down to usb timing (raspberry is known to be poor with usb).  You can try unplugging and replugging, or rebooting the raspberry.  If it persists, suggest you raise an issue with the project that deals with the actual communication with the seek:
https://github.com/maartenvds/libseek-thermal/issues


Enable the no-new-symbol and require-yield ESLint rules

Given that we use both Symbols and generator functions in the code-base enabling these rules cannot hurt (and there's no existing failures). Please find additional information at:

https://eslint.org/docs/latest/rules/no-new-symbol
https://eslint.org/docs/latest/rules/require-yield

Good idea; thanks!


build: add dask[dataframe] for test deps

As per https://github.com/dask-contrib/dask-awkward/pull/483#issuecomment-1994730138

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.01%. Comparing base (8cb8994) to head (09f09e7).
Report is 46 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #485      +/-   ##
==========================================
- Coverage   93.06%   93.01%   -0.06%
==========================================
  Files          23       23
  Lines        3290     3322      +32
==========================================
+ Hits         3062     3090      +28
- Misses        228      232       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Prom make telegraf compatible 2

Re-opened PR. For description please see #193. Only difference is that testing is added for prometheus.FilterMetaTags().

please ignore, I was able to squash the previous PR


Plugin Failure - Unexpected token is not valid JSON

Trying to load the plugin on macOS Sequoia I see:
app.js:1 Plugin failure: various-complements SyntaxError: Unexpected token '<', "<<<<<<< Up"... is not valid JSON
    at JSON.parse (<anonymous>)
    at AppHelper.loadJson (plugin:various-complements:2452:17)
    at async _AutoCompleteSuggest.refreshIntelligentSuggestionPrioritization (plugin:various-complements:4365:9)
    at async _AutoCompleteSuggest.new (plugin:various-complements:3954:5)
    at async VariousComponents.onload (plugin:various-complements:7803:22)

I am on Obsidian Version 1.7.4.

@Borillion
Based on the error message, I suspect that the file specified in the "history file path" setting for "Intelligent suggestion prioritization" might be corrupted. Could it be that the file is managed by Git and has conflicts?

heh! I had not considered that could be the issue. I removed and added the plugin back in today and was able to fix the issue that way.

I’m glad to hear that!


[Youtube Media push] scheduled for 2020

using this link
Lets push via MP media channels the call to action to check out the video recordings from past & present MP hangouts.
Recommended Scheduled:  twice per month
Msg should be something with core goals: Onboarding new contributors who are currently looking for a healthy OSS project:

wondering about MP & its friendly welcoming community
listen to the video/voice conversations 100 % discussed via MP youtube channel since its creation
100% of MP decisions are made in its bi-monthly hangouts, all found HERE.

@aeiras ( wanted to included a woman on this one but is it too much with the nails? )
Did you miss the @MicroProfileIO Live bi-monthly hangouts, where 100% of MP decisions are made? Don't worry you can catch up on all hangouts here on the #MicroProfile Youtube Channel > https://bit.ly/2zbWXQy
#opensourece #oss #MPcollaboration

with youtube logo

can do two...

Love it Ryan!
Can the two designs be scheduled once per month? 💛
Ideally we run them when no other stuff is going out. Wknds work 🔓🔍

@aeiras all set for 2020


Allow omission of version with supply of upgradeCallback;

Split test:local
It's handy for testing where you need to check what the latest version is, rather than open a particular version.

Nice PR! I will review remaining later, having a lot of work ...


/project/devel/lib/mapviz/mapviz': realloc(): invalid pointer:

Any Ideas why I'm getting invalid pointer??
Any help would be appreciated.
~/project$ roslaunch mapviz mapviz.launch
... logging to /home/sam/.ros/log/3faa8890-2770-11e6-9179-3ca9f4125674/roslaunch-lap-014687-15595.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://lap-014687:40154/
SUMMARY
PARAMETERS

/initialize_origin/local_xy_frame: /far_field
/initialize_origin/local_xy_origin: swri
/initialize_origin/local_xy_origins: [{'latitude': 29....
/rosdistro: indigo
/rosversion: 1.11.19

NODES
/
initialize_origin (swri_transform_util/initialize_origin.py)
mapviz_lap_014687_15595_1675689820302726453 (mapviz/mapviz)
swri_transform (tf/static_transform_publisher)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[mapviz_lap_014687_15595_1675689820302726453-1]: started with pid [15613]
process[initialize_origin-2]: started with pid [15614]
process[swri_transform-3]: started with pid [15615]
*** Error in `/home/sam/project/devel/lib/mapviz/mapviz': realloc(): invalid pointer: 0x00007f144f55f840 ***

Hmm, I haven't seen that before... here's a few things to check:

What's your OS?  Ubuntu 14.04?
Do you have an old config file at $HOME/.mapviz_config?  If so, does removing it fix the problem?
Does it still crash if you start a roscore separately and then run rosrun mapviz mapviz with no other nodes?

If it's still crashing, could you try to use gdb to get a stack trace and post that?

I actually found the issue. It had something to do with RVIZ and openCV  being built with Qt5 support. This caused the camera display to crash. I rebuilt OPenCV without QT support and now it is working.
Thank you very much for your prompt response.

Hello, I have encountered the same problem. How did you solve it? Can you provide detailed steps


refactor(types): remove spans cast, fix JSDoc

This PR improves comments and types after the spans merge

This PR is included in version 3.6.1.


Markdown Preview Window Shrink on Zoom

VSCode Version: 1.9.0
OS Version: MacOS 10.12.1

Steps to Reproduce:

Open Markdown file
Open Preview to side
Press Cmd + to zoom in
Available text space on preview is crammed into smaller window with scroll bars

Also happens on Windows.
Thanks.

Thanks. This is a duplicate of #5745


10k ohm resistor part number

Hi,
I am trying to build a lumberjack and going off the BOM the part number for the 10k ohm resistor of CCF6010K0FKE36 appears to be a larger 8-10mm resistor that doesn't fit on the board design. Is there another part number for the smaller size resistor that will fit? This is the data sheet for the resistors I got from mouser based on the part number https://www.mouser.com/datasheet/2/427/VISH_S_A0001810520_1-2567648.pdf

Oh good spot, sorry about that. You need the regular 6mm resistors, so something like CMF5510K000BEBF https://www.mouser.com/ProductDetail/?qs=Ymhh3MYumTmqMFwWXOXsVg%3D%3D (or https://www.aliexpress.com/item/32952657927.html if you want bulk from China).
I've updated the BOM on Octopart for all the resistors.

Awesome thanks, ordered some so I can get this build done =] can't wait!


Performance issues npm run dev hot-reloading

Hi!
First of all, this is a great library which solved my problem ellegantly.
However, using the latest packages with NextJS, I have severe performance issues when having a couple of images required to be resized from 1024px on the longest edge to lower resolution images (simple jpg to jpg).
Steps to reproduce

Have a couple of requires images (like for a <picture> element)
Save any file, like a js file in /components/ directory
The library seems to re-generate all images and this freezes the browser?
It seems to me the watcher might be or the watcher is also parsing files it is not supposed to, like the favicon.ico files (which throws errors)
It takes 10 seconds, rendering hot-reloading and dev mode pretty much useless.

Please let me know if you need more information. Happy to chip in if you give me some pointers.

+1. I am seeing this issue too. It seems to be trying to parse every file in the public/ directory. For e.g., here is the output I am getting using next dev after a hot reload:
[ warn ]  ./public/prism/prism-line-numbers.css?webp
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages/_app.js.
Read more: https://err.sh/next.js/css-global

./public/prism/prism-line-numbers.css?trace
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages/_app.js.
Read more: https://err.sh/next.js/css-global

./public/prism/prism.css?webp
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages/_app.js.
Read more: https://err.sh/next.js/css-global

./public/prism/prism.css?trace
Global CSS cannot be imported from files other than your Custom <App>. Please move all global CSS imports to pages/_app.js.
Read more: https://err.sh/next.js/css-global

./public/zeit.svg?trace
Error: Could not find MIME for Buffer <null>

./public/prism/prism-line-numbers.css?webp
Module build failed: Error: Final loader (./node_modules/next/dist/build/webpack/loaders/error-loader.js) didn't return a Buffer or String

./public/prism/prism-line-numbers.css?trace
Module build failed: Error: Final loader (./node_modules/next/dist/build/webpack/loaders/error-loader.js) didn't return a Buffer or String

./public/prism/prism.css?webp
Module build failed: Error: Final loader (./node_modules/next/dist/build/webpack/loaders/error-loader.js) didn't return a Buffer or String

./public/prism/prism.css?trace
Module build failed: Error: Final loader (./node_modules/next/dist/build/webpack/loaders/error-loader.js) didn't return a Buffer or String

./public/config.yml?webp 4:14
Module parse failed: The keyword 'public' is reserved (4:14)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   name: git-gateway
|   branch: master
> media_folder: public/img
| public_folder: /img

./public/config.yml?trace 4:14
Module parse failed: The keyword 'public' is reserved (4:14)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   name: git-gateway
|   branch: master
> media_folder: public/img
| public_folder: /img

./public/local_config.yml?webp 4:14
Module parse failed: The keyword 'public' is reserved (4:14)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   name: git-gateway
|   branch: master
> media_folder: public/img
| public_folder: /img

./public/local_config.yml?trace 4:14
Module parse failed: The keyword 'public' is reserved (4:14)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   name: git-gateway
|   branch: master
> media_folder: public/img
| public_folder: /img

./public/favicon.ico?webp 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

./public/favicon.ico?trace 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

./public/sitemap.xml?webp 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <?xml version="1.0" encoding="UTF-8"?>
|     <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|         <url>

./public/sitemap.xml?trace 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <?xml version="1.0" encoding="UTF-8"?>
|     <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|         <url>
[ info ]  ready on http://localhost:3000

I moved my images to a folder that contains just images, as in the example, and looks like it's resolved.


No SAMM interface after import SAMM folder into 3D Slicer

Hi, I follow the instruction, but there is no interface after I import samm folder into 3d slicer.

It seems you imported the root folder. Import the SammBase folder instead.


Valid state inconsistent

Hi there,
I have just realized with my polkadot validator that it shows invalid state, however I believe there's no problem with my validator.
https://polkadot.w3f.community/candidate/1123RekaPHgWaPL5v9qfsikRemeZdYC4tvKXYuLXwhfT3NKy
    "valid": false, <-- Why is that false if all validity check are true?
    "validity": [
        {
            "valid": true,
            "type": "UNCLAIMED_REWARDS",
            "details": "",
            "updated":<PHONE_NUMBER>071,
            "_id": "6309ebf1be5b2187af29383a"
        },
        {
            "valid": true,
            "type": "REWARD_DESTINATION",
            "details": "",
            "updated":<PHONE_NUMBER>278,
            "_id": "63ee57aac2b10432a000bbf9"
        },
        {
            "valid": true,
            "type": "KUSAMA_RANK",
            "details": "",
            "updated":<PHONE_NUMBER>401,
            "_id": "65c1f062d46b4ed708b2bf15"
        },
        {
            "valid": true,
            "type": "VALIDATE_INTENTION",
            "details": "",
            "updated":<PHONE_NUMBER>020,
            "_id": "65c21e60616b865e0d488d98"
        },
        {
            "valid": true,
            "type": "CLIENT_UPGRADE",
            "details": "",
            "updated":<PHONE_NUMBER>032,
            "_id": "65c21e60616b865e0d488dc2"
        },
        {
            "valid": true,
            "type": "CONNECTION_TIME",
            "details": "",
            "updated":<PHONE_NUMBER>044,
            "_id": "65c21e60616b865e0d488de9"
        },
        {
            "valid": true,
            "type": "IDENTITY",
            "details": "",
            "updated":<PHONE_NUMBER>226,
            "_id": "65c21e60616b865e0d488e50"
        },
        {
            "valid": true,
            "type": "ACCUMULATED_OFFLINE_TIME",
            "details": "",
            "updated":<PHONE_NUMBER>249,
            "_id": "65c21e60616b865e0d488e74"
        },
        {
            "valid": true,
            "type": "COMMISION",
            "details": "",
            "updated":<PHONE_NUMBER>485,
            "_id": "65c21e62616b865e0d489025"
        },
        {
            "valid": true,
            "type": "SELF_STAKE",
            "details": "",
            "updated":<PHONE_NUMBER>598,
            "_id": "65c21e62616b865e0d48907e"
        },
        {
            "valid": true,
            "type": "BLOCKED",
            "details": "",
            "updated":<PHONE_NUMBER>651,
            "_id": "65c21e62616b865e0d4890b5"
        },
        {
            "valid": true,
            "type": "PROVIDER",
            "details": "",
            "updated":<PHONE_NUMBER>849,
            "_id": "65c21e62616b865e0d4890f3"
        },
        {
            "valid": true,
            "type": "BEEFY",
            "details": "",
            "updated":<PHONE_NUMBER>870,
            "_id": "65c21e62616b865e0d48911d"
        },
        {
            "valid": true,
            "type": "ONLINE",
            "details": "",
            "updated":<PHONE_NUMBER>475,
            "_id": "65c21f8c6d3271ba6db931ca"
        }
    ],

If I check the valid canditates ( https://polkadot.w3f.community/candidates/valid ) I can find my validator as "valid": true
Thanks for your fix.
Cheers

One more comment here. This inconsistency is not constant. Sometimes it takes hours and sometimes just minutes and go back to normal.

The backend API endpoints have some caching to help with performance to the db - this sometimes unfortunately results in states that are returned that might be a bit old (although the actual state of them in the backend/db is consistent, the endpoints would return some data that is cached for a little bit). In the next release it should decrease the caching time so that things are more consistent.


Allows overriding of default formatters and plugins

This PR allows for the default plugins and formatters to be overridden, so that users can include their own solutions for these.

Reference: https://github.com/guardian/scribe/pull/360

@rrees Here's the updated PR. The issue with the last one was that I wrongly assumed the same behavior across multiple browsers when the default plugins were disabled. I've updated the tests to contain no browser assumptions.

Running the tests locally I am still getting consistent failures on Firefox. I can load the AMD example page though so I'm a bit confused about what is the problem here. Are you able to run the Firefox tests locally (I think I might need to merge a change to scribe-test-harness)?

Ah, I think that might be it. We ran into some problems of our own and upgrading fixed for us. Firefox isn't running at all for me locally.

Okay let me merge and release that other change and see what happens. I'll ping you with an update.

If you merge master and npm install and then run BROWSER_NAME=firefox ./run-tests.sh
I'm hoping that you will get Firefox running and have some tests failing

Getting the failing tests now. Let me see if I can fix those. Will update soon.

Hrm, so the failing tests have begun to work for me out of seemingly nowhere. I've had 3 successful runs in a row now after constant failures.
I'm working on a clean branch (scribe-override-default-plugins) that has been rebased with master. Is there a race condition that I am missing? Could you check Firefox on your end again also?

Okay, can reproduce the fails. If I give focus to another window while the tests are running on Firefox, the tests will fail. Let me see if I can come up with a solution.

Sorry for getting back to this so late. So it looks like the Firefox tests are working. Are you getting the same thing?

Firefox is failing for me completely on this local branch now. I suspect that is probably due to something in my setup as it failing on master as well.
I'm going to merge and see how the Travis build goes.

Victory! I'll do the release now

Great! :+1: