feat(@schematics/angular): add environments generation schematic

A schematic has been added that will allow the generation of environment files for all existing build configurations within a project. The fileReplacements option will also be setup to allow the replacement of the appropriate environment file. Environment files themselves do not provide any special behavior beyond that of other application TypeScript files and rely on the fileReplacements option for build-time behavior. The schematic will skip generating environment files for configurations that already have an appropriately named environment file. The fileReplacements option addition will also be skipped if an appropriate entry is already present.
Example usage: ng generate environments
Closes #24381

Description updated with an example usage.

A schematic has been added that will allow the generation of environment files for all existing build configurations within a project. The fileReplacements option will also be setup to allow the replacement of the appropriate environment file. Environment files themselves do not provide any special behavior beyond that of other application TypeScript files and rely on the fileReplacements option for build-time behavior. The schematic will skip generating environment files for configurations that already have an appropriately named environment file. The fileReplacements option addition will also be skipped if an appropriate entry is already present. Example usage: ng generate environments
Closes #24381

Your example does not work. "ng generate environments"

@clydin Great job … For simpler apps environment.ts and *.prod.ts was a good & simple solution to provide global vars like api url, … thanks a lot 👍

Somewhere along the line whole environments thing stopped working. In angular 8 I used to have one for development, staging and production. And had corresponding fileReplacements in angular.json. Doing ng build --configuration=staging would copy the environment.staging.ts into the dist/environments/environment.ts file. That no longer works in Angular 14. How do I accomplish the same thing with Angular 14?


TFWidget performance issue

Summary:

TFWidget takes too much time gathering information of a color map.
Take a look at TFWidget in the DVR.

Specifics:

For a 256^3 data set, at each paint cycle, gathering the color map takes ~30% time, while the rest of the rendering routines take ~70% time.
For a 512^3 data, this ratio becomes ~20% and 80%.
For a 64^3 data, this ratio becomes ~60% and 40%.
Given the workload difference, gathering a color map shouldn't take that much time.

John commented that it's the makeLut() step taking much time. As a result, John suggested to add a comparison method for a MapperFunction, so for the same MapperFunction, there's no need to makeLut() again.

makeLut() doesn't seem to impose a big performance hit in practice, thus I'm closing it.


When publishing to GKE, if Kubectl is not installed, the info on the dialog window that appears is wrong.

The command that appears on the dialog window is wrong because it says gcloud components install Kubectl with a capital K and it fails, it should say gcloud components install kubectl with lower case k.

Fixed in #942


OpenFGA command to run health checks (useful for docker compose)

Discussed in https://github.com/orgs/openfga/discussions/109

Originally posted by rhamzeh February  8, 2023
Suggested by: @MidasLamb on Discord
Summary: Currently, there is no way to do a healthcheck of openfga in docker compose from within the image itself
Possible Solutions:

Bundle curl into the docker image

How it helps: It would allow calling our http endpoint for healthcheck requests
Cons: increased size and attack vector due to more bundled tooling

  healthcheck:
    test: ["CMD", "curl", "-X", "GET", "-d", "'{\"service\":\"openfga.v1.OpenFGAService\"}'" http://localhost:8080/healthz"]
    interval: 10s
    timeout: 20s
    retries: 5

Bundle grpc tooling into the docker image

How it helps: It would allow calling our grpc endpoint for healthcheck requests, it would be consistent with other CNCF projects that utilize grpc
Cons: increased size and attack vector due to more bundled tooling

  healthcheck:
    test: ["CMD", "grpcurl", "-plaintext", "-d", "'{\"service\":\"openfga.v1.OpenFGAService\"}'" localhost:8081 grpc.health.v1.Health/Check"]
    interval: 10s
    timeout: 20s
    retries: 5

Expose a command line (like run, for example is-healthy or check-health)

How it helps: it would re-use the plumbing we have for the grpc/http endpoint, it wouldn't need additional tools to be installed
Cons: Why when standard tooling is available?

  healthcheck:
    test: ["CMD", "openfga", "is-healthy"]
    interval: 10s
    timeout: 20s
    retries: 5

What we care about?

Not re-inventing the wheel
Following conventions established by other projects in the CNCF and the OSS world
Reducing security and maintenance impact
Satisfying the use-case

Let's have a discussion on the best way forward here and start an issue once we reach a decision so that we can move forward

In the upcoming v0.3.5 release of OpenFGA we'll be bundling the grpc-health-probe in the OpenFGA container. The grpc-health-probe is the defacto standard tooling for gRPC based Health Checks, and it follows along with the official gRPC Health Check Protocol.
An example of using the bundled grpc-health-probe can be found in the docker-compose.yaml file.

Done after https://github.com/openfga/openfga/pull/543


Add Migrating-to-SvelteKit-v2 repo as svelte-kit subfolder

feat(codemods): Add SvelteKit v2 Migration Codemods
This PR introduces a collection of codemods designed to assist in migrating projects to SvelteKit v2. These codemods target specific areas of code that need updating, ensuring a smoother and more efficient migration process for developers upgrading to SvelteKit v2.
Available Codemods

Add Cookie Path to All Methods (add-cookie-path-to-all-methods):
Adds { path: '/' } to all cookies method calls (set, delete, serialize) to ensure consistent cookie handling across environments.

Add Multipart Enctype to Forms with File Input (add-multipart-enctype-to-forms-with-file-input):
Automatically adds enctype="multipart/form-data" to <form> elements containing <input type="file"> to ensure file uploads work correctly.

Add Status to Error Handling (add-status-to-error-handling):
Enhances error handling by adding appropriate status codes to errors, improving clarity and HTTP response correctness.

Dynamic to Static Env Transformer (DynamicToStaticEnvTransformer):
Converts dynamic environment variables to their static equivalents, aiding in the transition to the new environment variable handling in SvelteKit v2.

Goto to Location Href (goto-to-location-href):
Replaces uses of goto() with location.href to align with updated navigation practices in SvelteKit v2.

Replace Throw Statements with Direct Function Calls (replace-throw-redirect-with-error-call):
Simplifies error handling and redirects by replacing throw error() and throw redirect() statements with direct calls to error() and redirect().

SvelteKit Import and Path Simplification (sveltekit-import-and-path-simplification):
Simplifies import statements and path resolution by replacing resolvePath and base concatenations with resolveRoute from $app/paths.

SvelteKit Vite Preprocess Migration (sveltekit-vitePreprocess-migration):
Updates the preprocessing setup to use vitePreprocess, aligning with SvelteKit v2's recommended practices.

Usage
To use any of these codemods, navigate into the desired codemod's directory and run the codemod locally using npx. Make sure to install the necessary dependencies and configure your project to apply the codemods.
Example command to run a codemod:
cd add-cookie-path-to-all-methods
npx<EMAIL_ADDRESS>add-cookie-path-to-all-methods

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

really impressive work @Priyanshuthapliyal2005
considering that you already did all the right things, this PR is not needed here.
you already created the codemod, put it in your own repo, and published it to the registry! all is good.
https://github.com/Priyanshuthapliyal2005/Migrating-to-SvelteKit-v2
ill be in touch with you via slack to see how else we can help you or amplify these codemods... keep it up.

Thank you for the feedback, @alexbit-codemod! I appreciate your recognition of the work done so far. I'll keep working on refining the codemods and will stay in touch via Slack for any further collaboration. Looking forward to exploring more ways we can improve and amplify these tools. Thanks again for your support!


Disable unnecessary warnings to surface the important ones

Some warnings are very noisy and people get distracted by those. We want people to see the actual warnings, so that they can diagnose the real issue. To avoid these situations can we disable these kind of warnings, if we are not planning to fix it in near future?
I see AllOfWhenYouMeantRef, SchemaMissingType and CheckDuplicateSchemas warnings a lot. If we hide these, then people can concentrate on the actual issue.

Created issue here: https://github.com/Azure/autorest/issues/3593

Accidently created this issue here. Moved it here - https://github.com/Azure/autorest/issues/3593

Accidentally created this issue here. Moved it here - Azure/autorest#3593


Failed to initialize GLEW on AGX

I am trying to run suma++ on NVIDIA AGX development toolkit. I am getting the following error when I try to run the visualizer:
QEGLPlatformContext: Failed to create context: 3009
OpenGL Context Version 2.0 compatibility profile
Missing GL version
terminate called after throwing an instance of 'std::runtime_error'
what():  Failed to initialize GLEW.
Aborted (core dumped)
GLEW is not initialized, could you provide a solution? I am new to using OpenGL.

We rely on features from OpenGL Core Profile 4.0 and above. We currently do no provide support for OpenGL Compatibility Profile or OpenGL ES.

this is the terminal output when i query OpenGL version.
glxinfo | grep "version"
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.6.0 NVIDIA 32.3.1
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 32.3.1
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 32.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,

The problem might be related to:
https://stackoverflow.com/questions/47415198/missing-gl-version-from-glewinit-using-egl/54668271#54668271
In the second answer the final solution was: Try to "Link against libOpenGL.so instead of libGL.so" by modifying the CMakefile.txt. (you have to replace ${OpenGL_LIBRARIES}with just OpenGL.  I don't know if this works, since I could not test it right now.
Unfortunately, we cannot really provide support for AGX.

I am now facing linking error.
[semantic_suma:make] [100%] Linking CXX executable [semantic_suma:make] /home/anavs/catkin_ws/src/semantic_suma/bin/visualizer  /catkin_ws/devel/.private/semantic_suma/lib/libsuma.so: undefined reference to gluErrorString'                                                                              [semantic_suma:make] collect2: error: ld returned 1 exit status                                                                                [semantic_suma:make] CMakeFiles/visualizer.dir/build.make:417: recipe for target '/home/anavs/catkin_ws/src/semantic_suma/bin/visualizer' failed                                                             [semantic_suma:make] make[2]: *** [/home/anavs/catkin_ws/src/semantic_suma/bin/visualizer] Error 1                                                                                [semantic_suma:make] CMakeFiles/Makefile2:329: recipe for target 'CMakeFiles/visualizer.dir/all' failed                                                                                [semantic_suma:make] make[1]: *** [CMakeFiles/visualizer.dir/all] Error 2                                                                                [semantic_suma:make] Makefile:157: recipe for target 'all' failed                                                                                [semantic_suma:make] make: *** [all] Error 2
What is your hardware platform on which you could run this visualization code?

Just normal Ubuntu 18.04 and Ubuntu 16.04. Normal PCs with Nvidia GPUs (1080s, 960, 2070, Quadro P6000, ...).

Hey @NagarajDesai1, I'm sorry that current our code only works on certain hardware platforms since we mainly focus on semantic SLAM approach research and cannot provide much help in the hardware developing side.
I'll therefore close this issue. Please feel free to ask me to reopen it if needed.


SSH-Key creation

Hi,
This plugin is my dream but it does not work.
I can not create an ssh key in the Keys tab
After pressing save, the key does not appear in the list
My Opnsense version in 19.7-amd64 and freeBSD is 11.2-RELEASE-p11-HBSD
I attach a capture of the ssh key generation window

Hi @Ajowan84 - sorry to hear you are having a hard time, I don't be able to get myself in front of a n environment to check this out for a few days - are you able to provide any logs or other hints in the short term?  N

there is nothing in the log file.

Hi,
No suggestion ?
thank,

I have the same issue.  Pity the plugin is flagged as (orphaned).  I'd like to use "authpf", however this is the closest option we have for OPNsense.

Hi, very long time between updates on this
Please check #3 up-to-date packages for OPNsense 21.1 through to the latest 22.7 are available


Using custom sinks (golang sdk), the program fails to start

Describe the bug
I am using the latest branch of project main.
After making the image yourself, use the packaged numaflow image.
The use case of 0-isbsvc-jetstream.yaml and the introduction of custom sinks (golang sdk).
To Reproduce
Steps to reproduce the behavior:

Latest branch of main
Make your own image
Yes https://raw.githubusercontent.com/numaproj/numaflow/main/config/install.yaml Modify the image
Run the 0-isbsvc-jetstream.yaml case
Introduce custom sinks (golang sdk)
Expected behavior
Expected custom sinks to print logs like cat links, but fail to start
Screenshots

pod error
{"level":"error","ts":"2024-11-03T04:50:22.091085715Z","logger":"numaflow.Sink-processor","caller":"jetstream/kv_store.go:170","msg":"Failed to stop","pipeline":"simple-pipeline","vertex":"out","kvName":"default-simple-pipeline-cat-out_OT","watcher":"default-simple-pipeline-cat-out_OT","error":"nats: connection closed","stacktrace":"github.com/numaproj/numaflow/pkg/shared/kvs/jetstream.(*jetStreamStore).Watch.func1\n\t/mnt/e/project/go/demo/numaflow/pkg/shared/kvs/jetstream/kv_store.go:170"}
panic: failed to create sdk client, failed to receive handshake response: rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: NO_ERROR, debug data: "graceful_stop"
goroutine 1 [running]:
github.com/numaproj/numaflow/cmd/commands.Execute(...)
/mnt/e/project/go/demo/numaflow/cmd/commands/root.go:33
main.main()
/mnt/e/project/go/demo/numaflow/cmd/main.go:24 +0x3c
Environment (please complete the following information):

Kubernetes: [e.g. v1.24.4-tke.3]
Numaflow: [e.g. main]

Hello @qianbeibuzui
Could you let us know what version of the Golang SDK are you using for your custom sink?

你好@qianbeibuzui 您能告诉我们您在自定义接收器中使用哪个版本的 Golang SDK 吗？

@qianbeibuzui this is a known issue. numaflow main is not compatible with numaflow-go 0.8.1. Could you try either numaflow main with numaflow-go main or numaflow 1.3.3 with numaflow-go 0.8.1? Thanks!

@qianbeibuzui this is a known issue. numaflow main is not compatible with numaflow-go 0.8.1. Could you try either numaflow main with numaflow-go main or numaflow 1.3.3 with numaflow-go 0.8.1? Thanks!

I tried using the main branch of numaflow go and customizing the sink.
A new problem has arisen.
{"level":"error","ts":"2024-11-05T07:48:17.526042529Z","logger":"numaflow.Sink-processor","caller":"sinker/client.go:177","msg":"Received EOT message before all responses are received, we will wait indefinitely for the remaining responses","pipeline":"simple-pipeline","vertex":"out1","received":1,"expected":100,"stacktrace":"github.com/numaproj/numaflow/pkg/sdkclient/sinker.(*client).SinkFn\n\t/mnt/e/project/go/demo/numaflow/pkg/sdkclient/sinker/client.go:177\ngithub.com/numaproj/numaflow/pkg/sinks/udsink.(*UDSgRPCBasedUDSink).ApplySink\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/udsink/udsink_grpc.go:94\ngithub.com/numaproj/numaflow/pkg/sinks/udsink.(*UserDefinedSink).Write\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/udsink/sink.go:79\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).writeToSink.func1\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:390\nk8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext\n\t/root/go/pkg/mod/k8s.io/apimachinery@v0.31.0/pkg/util/wait/wait.go:154\nk8s.io/apimachinery/pkg/util/wait.ExponentialBackoffWithContext\n\t/root/go/pkg/mod/k8s.io/apimachinery@v0.31.0/pkg/util/wait/backoff.go:485\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).writeToSink\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:385\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).forwardAChunk\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:264\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).Start.func1\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:140"}

@qianbeibuzui this is a known issue. numaflow main is not compatible with numaflow-go 0.8.1. Could you try either numaflow main with numaflow-go main or numaflow 1.3.3 with numaflow-go 0.8.1? Thanks!

I tried using the main branch of numaflow go and customizing the sink. A new problem has arisen.
{"level":"error","ts":"2024-11-05T07:48:17.526042529Z","logger":"numaflow.Sink-processor","caller":"sinker/client.go:177","msg":"Received EOT message before all responses are received, we will wait indefinitely for the remaining responses","pipeline":"simple-pipeline","vertex":"out1","received":1,"expected":100,"stacktrace":"github.com/numaproj/numaflow/pkg/sdkclient/sinker.(*client).SinkFn\n\t/mnt/e/project/go/demo/numaflow/pkg/sdkclient/sinker/client.go:177\ngithub.com/numaproj/numaflow/pkg/sinks/udsink.(*UDSgRPCBasedUDSink).ApplySink\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/udsink/udsink_grpc.go:94\ngithub.com/numaproj/numaflow/pkg/sinks/udsink.(*UserDefinedSink).Write\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/udsink/sink.go:79\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).writeToSink.func1\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:390\nk8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext\n\t/root/go/pkg/mod/k8s.io/apimachinery@v0.31.0/pkg/util/wait/wait.go:154\nk8s.io/apimachinery/pkg/util/wait.ExponentialBackoffWithContext\n\t/root/go/pkg/mod/k8s.io/apimachinery@v0.31.0/pkg/util/wait/backoff.go:485\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).writeToSink\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:385\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).forwardAChunk\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:264\ngithub.com/numaproj/numaflow/pkg/sinks/forward.(*DataForward).Start.func1\n\t/mnt/e/project/go/demo/numaflow/pkg/sinks/forward/forward.go:140"}

I tried updating numaflow to the latest version of the main branch and fixing the issue.

Thank you @qianbeibuzui for fixing the issue. Please let us know if you have more questions.


Unit Test for DHCP

Description
This Pr adds 100% coverage for DHCP Unit Test
Test Steps
cmake -S test/unit-test -B test/unit-test/build/ -DCMAKE_BUILD_TYPE=Debug
make -C test/unit-test/build/ all

Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run uncrustify


spotify-player: 0.20.1 -> 0.20.3

Simple bump of the version using nix-update.
The biggest thing about updating the spotify-player version is that this will fix it to now work with the new Spotify API changes.
Changelog: https://github.com/aome510/spotify-player/releases/tag/v0.20.3
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This should probably also be backported to 24.11, since without this fix, the client will be pretty much useless on the stable release.

@NixOS/nixpkgs-merge-bot merge


P9 1198 authenticated subscriptions

See https://github.com/idexio/idex-sdk-js/pull/22

PR seems to be outdated and resolved by work already pushed to master. @dileepfrog reopen if you find part of this PR is still needed


fix CloudTTY labels being removed

What type of PR is this?
/kind bug
What this PR does / why we need it:
Labels specified when creating CloudTTY will be deleted by the controller.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm

@flpanbin /cc


Classpath is incomplete from 0.6.4

With 0.6.0 I was using ide-java with no issues (other than the auto complete bug #10 and taking 4 minutes for JDT to start up) with a big maven project.
0.6.1-3 didn't work due to #30
0.6.4-5 give me the "Classpath is incomplete" dialog
I guess the change from Eclipse JDT 0.3 to 0.5 has broken something?
There are no errors in the dev console. Tried with Atom 1.21 and 1.22.

I have same problem tough I open a folder containing a pom.xml.

I read the page, but that does not help as the project has a pom.xml file in the root just as @n00dl3 commented above.
Also, as mentioned, it works fine with ide-java 0.6.0. just downgrading the package with apm and restarting atom makes it work again.
Anything else I can try?

Had the same issue, is there any way to enable verbose logging? As mentioned nothing is logged to the atom console so I'm not even sure where to start troubleshooting short of cleaning & reinstalling.
Same though with downgrading to v0.6.0, that seems to work.

Same issue but downgrading to v0.6.0 give me "Uncaught Error: Header must provide a Content-Length property."

I've been researching this one as well because I haven't gotten a single Gradle project to work. From what I'm finding, you should always get incomplete classpath for all Maven and Gradle projects.
The offending commit in ide-java being the upgrade of the Eclipse JDT. Though technically, this is really an issue of mismatching LSP usage between atom-languageclient and the Eclipse JDT LS.
Issue

The language server protocol defines both a rootUri and rootPath that can be passed in during initialize. As of LSP 3.0 rootPath is deprecated in favor of rootUri.
The Eclipse JDT Server uses rootUri (and currently ignores rootPath) to determine your project's root, which is where it scans for the presence of build.gradle or pom.xml to support Gradle and Maven projects.
atom-languageclient has an InitializeParams type which only supports a rootPath.

As a result, JDT never sees the root of your project and just sets up a barebones Java project.
Proposed Solutions
Both of these changes should probably happen, but either one would fix ide-java (once ide-java upgrades to the new versions of these dependencies).

atom-languageclient should pass both rootPath and rootUri (as vscode-languageclient does)
Eclipse JDT should check both rootPath and rootUri (only using rootPath, if rootUri is null)

I'll open issues for both of these and hopefully one or both will be resolved.
Research
JDT LS Log
from %TEMP%\atom-java-<encoded project path>\.metadata\.log
!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-22 12:05:40.176
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-22 12:05:40.178
!MESSAGE Initializing Java Language Server <IP_ADDRESS>709251422

!ENTRY org.eclipse.jdt.ls.core 1 0 2017-10-22 12:05:40.178
!MESSAGE No root uri was defined. Falling back on C:\Users\andre\AppData\Local\Temp\atom-java-C%3A%5Cusers%5Candre%5Cprojects%5Creckon%5C

Key message being no root uri was defined
atom-languageclient
Enabling core.debugLSP in Atom config gives messages showing the communication between Atom and the language server as console logs in developer tools.
Java (Eclipse JDT) rps.sendRequest initialize sending
Object
  ...
  rootPath: "C:\users\andre\projects\reckon\"
  ...

atom-languageclient sends this intialization message itself by default (ide-java has not overriden this) in getInitializeParams. The InitializeParams type, also part of atom-languageclient, specifies only the rootPath as an option.
Eclipse JDT
In the 0.5.0 JDT currently being used, that no root uri message occurs here. Above that line you can see it checking InitializeParams#getRootUri() to determine the root URI.
Notably, Atom is sending rootPath and JDT is checking rootUri. This JDT commit changed logic in 0.1.0 that used to check both rootPath and rootUri. This behavior is still true in master of JDT.
Between 0.6.0 and 0.6.1 of ide-java, The JDT dependency went from an old not final 0.1.0 (from April) to 0.3.0 (and has since moved beyond that version).
LSP4J
IntializeParams is part of LSP4J.
Currently LSP4J 0.3.0 is being used by JDT. InitializeParams shows both a rootUri and a rootPath (`rootPath being deprecated). That deprecation was introduced in a commit targeting compatilbility with LSP 3.0.
Language Server Protocol
LSP 3.0 indicates that rootDir has been deprecated in favor of rootUri and that if both are defined, rootUri wins.

Thanks for researching this!
I was trying to hold off LSP 3.0 support and there wasn't any indication the new language server was breaking 2.0 support.
I can add support for passing both as a subset of 3.0 support for now.

Fixed in 0.6.6!  Sorry for the delay.


Convert sample_names to tube_ids in prep-file output

If a study in Qiita has tube-ids, generate a map of those tube-ids to sample_names (qiita version, w/out leading zeroes) and pass that data to GenPrepFileJob.
GenPrepFileJob will take the optional parameter and perform the conversion on the fly before tarballing the prep-files as normal.
This also makes it easier to test this functionality, since unit-tests are not connecting to Qiita.

I am going to write this in a function as part of the qp-klp project instead.


react-scripts 3.4 has backwards incompatible changes and fails

Describe the bug
Upgrading react-scripts from 3.2 to either 3.3 or 3.4 causes the build to fail.
Error:
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "webpack": "4.42.0"

npm ls webpack output:
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ └──<EMAIL_ADDRESS>deduped
│ │ └──<EMAIL_ADDRESS>deduped
│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
Did you try recovering your dependencies?
yes
Which terms did you search for in User Guide?
webpack
webpack version
"a different version of webpack was detected "
etc
Steps to reproduce
Upgrade react-scripts when having @storybook in v5.2.5
Expected behavior
No failures. Quoting SemVer:
MINOR version when you add functionality in a backwards compatible manner, and

Actual behavior
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "webpack": "4.42.0"

Additional information

Using yarn is not an option
Using SKIP_PREFLIGHT_CHECK=true seems to be a nasty workaround, and it doesn't help the fact that semver was broken
Using eject is not an option for me

High            Denial of Service
Package         http-proxy
Patched in      No patch available
Dependency of   react-scripts [dev]
Path            react-scripts > webpack-dev-server > http-proxy-middleware >
http-proxy
More info       https://nodesecurity.io/advisories/1486

Hi @TeoTN,
thanks for the report. The change itself is backwards compatible, but @storybook shipping with different version of webpack is causing the warning. As stated in the error message, there are multiple ways to solve the said issue (including SKIP_PREFLIGHT_CHECK) but one easy way is to force the resolution of webpack to use the same module version for Storybook too:

Delete package-lock.json / yarn.lock
Add the following to your package.json:

  "resolutions": {
    "webpack": "4.42.0"
  },

Run yarn / npm install

Ensure that only webpack: 4.42.0 was on installed and the warning should disappear.
If the issue persist, there might be another webpack lower in the root of the project

@petetnt Please kindly reopen the issue as the problem is not solved.
Firstly, my problem is with updating react-scripts, as I have not touched storybook. Clearly specifying fixed version of webpack is a bug in react-scripts, as it assumes the enterprise grade projects won't have other dependencies with webpack included, this is clearly an erroneous assumption.
Please notice, that in my original issue I'm clearly stating that use of yarn is not possible in my case. package resolutions are not supported by npm.
Using SKIP_PREFLIGHT_CHECK would disable a valuable feature, as it does not affect only webpack. It'd be also useful, if the webpack version wasn't fixed, to check if there's a truly incompatible webpack version included.
Finally, disabling preflight check, or even fixing the webpack version and moving the burden of managing properly the version on me, is a regression on update and hence create react app introduces backwards incompatible change with the release.

@TeoTN did you try deleting the package-lock.json file (and possibly node_modules, and then running npm install again?

@TeoTN did you try deleting the package-lock.json file (and possibly node_modules, and then running npm install again?

Yes - the conflict is caused, to my understanding, by CRA specifying exact webpack version, so if any dependency has a different, incompatible one (not very unlikely), it'll clash.
I think basically a platform such as CRA should be a bit more elastic, otherwise updating it will force everyone to chase which (version of) dependency has what version of webpack. And in some cases, you'll run into the case when your dependency (e.g. Storybook) was only released with incompatible versions. Which I think, is making CRA violate SemVer by design - every time CRA updates webpack version they depend on, it'll break for some environments.

  "resolutions": {
    "webpack": "4.42.0"
  },

using "resolutions" is unfortunately not a viable solution when using npm


Question : dialogData and userData

Hi,
If a user is in a conversation with a Bot, and a pro-active message is sent, will it invalidate the dialogData/userData and the botState of the current conversation
Thanks

Sorry for the delay... It depends on how you send it.  If you use session.send() then no, everything is preserved.  If you use session.beginDialog() then any current dialog stack will be ended and a new conversation started. The userData property is never impacted by a proactive message.

@agnellodcosta if this does not address your issue, please let us know.


darwin.text_cmds,inetutils: fix build with clang 16

Description of changes
Fixes build failures in staging-next #263535.

darwin.text_cmds: https://hydra.nixos.org/build/239554497
inetutils: https://hydra.nixos.org/build/239485276

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 266068 run on aarch64-darwin 1

6 packages marked as broken and skipped:

python311Packages.homeassistant-stubs
python311Packages.homeassistant-stubs.dist
qemu_xen
qemu_xen-light
qemu_xen_4_15
qemu_xen_4_15-light

4 packages failed to build:

python310Packages.gpaw
python310Packages.gpaw.dist
python311Packages.gpaw
python311Packages.gpaw.dist

21 packages built:

bozohttpd
bozohttpd-minimal
calc
darwin.text_cmds
dnstwist
dnstwist.dist
git-extras
hub
inetutils
inetutils.apparmor
jimtcl
msfpc
ocsinventory-agent
ocsinventory-agent.devdoc
openocd
python310Packages.whois
python310Packages.whois.dist
python311Packages.whois
python311Packages.whois.dist
quilt
tinygo


Question regarding lifecycles

In FAQ you mention that I can call permisoInstance.setActivity(this) so that I wouldn't have to extend PermisoActivity.
What about unregistering this activity? There doesn't seem to be a method for that. How come? Is it already handled by Permiso?

Hi! If you want to "deregister" the activity, you can simply call setActivity(null). However, Permiso only holds a weak reference to the activity, so it'll never prevent your activity from being garbage collected, so practically you should never really have to do that. That's why the param is marked @NonNull - I figured it'd help keep people out of trouble. Of course it's just an annotation and won't keep you from compiling, so feel free to ignore it :)


Added Pie Chart display values threshold

Added a new PieDataSet option to not draw pie chart slice text if percent value is less than a configurable threshold (threshold defaults to 0.0% so text is normally always drawn).
Merging into andromeda-0.2 branch since it is based on the v3.0.2 release contour.

Merging this one in based on review feedback on my previous PR - all the same changes just changed the target branch for this merge.


python37: remove references to openssl-dev

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @joachifm
This will need a bit more testing. I would imagine certain packages that provide extension modules to check for these files.

Thank you for this.
For future reference, this is what I gathered from the config module:
$ grep -r /nix/store .
./Makefile:INSTALL=     /nix/store/p7amxbz98hxq3siip059qivnincn1mm3-coreutils-8.30/bin/install -c
./Makefile:MKDIR_P=     /nix/store/p7amxbz98hxq3siip059qivnincn1mm3-coreutils-8.30/bin/mkdir -p
./Makefile:prefix=              /nix/store/y78kh4c49qz3m8al5mmxqxanncfs4x0h-python3-3.7.1
./Makefile:CONFIG_ARGS=  '--prefix=/nix/store/y78kh4c49qz3m8al5mmxqxanncfs4x0h-python3-3.7.1' '--enable-shared' '--with-threads' '--without-ensurepip' '--with-system-expat' '--with-system-ffi' '--with-openssl=/nix/store/w70ksa7qjl493p30gnwl03jkambn2gcn-openssl-1.0.2p-dev' 'CC=gcc' 'LDFLAGS=         ' 'LIBS=-lcrypt -lncurses' 'CPPFLAGS=

which seems safe to nuke.
The _sysconfig_data module is similar, with stuff like
 'CONFIG_ARGS': "'--prefix=/nix/store/y78kh4c49qz3m8al5mmxqxanncfs4x0h-python3-3.7.1' "
                "'--enable-shared' '--with-threads' '--without-ensurepip' "
                "'--with-system-expat' '--with-system-ffi' "
                "'--with-openssl=/nix/store/w70ksa7qjl493p30gnwl03jkambn2gcn-openssl-1.0.2p-dev' "

but it also contains stuff pertaining to the python install which maybe shouldn't be nuked, such as
 'CONFINCLUDEDIR': '/nix/store/y78kh4c49qz3m8al5mmxqxanncfs4x0h-python3-3.7.1/include',
 'BINDIR': '/nix/store/y78kh4c49qz3m8al5mmxqxanncfs4x0h-python3-3.7.1/bin',

Then again I'm not too familiar with how this stuff is actually being used elsewhere.

conflicts with https://github.com/NixOS/nixpkgs/pull/51775

Pushed 2526f9f157465cfc66385ea3213ed833a3944c43 to staging.


docs: update version history

Description: Update version history. A follow up to https://github.com/envoyproxy/envoy-mobile/pull/2528.
Risk Level: None
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Rafal Augustyniak<EMAIL_ADDRESS>

/retest

/retest

/retest

/retest


Problem implementing in RStudio

I am using RStudio and would love to add this plugin to my reveal.js presentations.
I have installed the reveal.js and followed your instructions to install it manually.
I created a folder called plugins/menu and included the repository in there.
Now, I do not know for sure where to place the following:

Any help is much appreciated
ps. I should say that I am working off this repo: https://github.com/rstudio/revealjs

I’m not familiar enough with RStudio but the repo you’re working from has the menu plugin included (albeit an old version). I would expect that there is no need to install the menu plugin yourself, just follow the instructions (https://github.com/rstudio/revealjs#reveal-plugins) in that repo.
If you’re adding the menu plugin to the HTML output then the instructions above are fine. I usually put the script tags at the end of the body element. For example, see the source for the demo page (https://github.com/denehyg/reveal.js-menu/blob/gh-pages/index.html).
Note that there’s a typo in the menu plugin readme where you got this. If you’ve put menu plugin in the plugins (with an ‘s’) folder then the script tag needs to point that folder. The example you’ve copied above points to the plugin (without an ‘s’) folder. I’ll have to fix the docs.

Thanks a lot for the quick response. I was trying to avoid using the old version. My dilemma is that I want to use markdown to create my slides since it is less time consuming for me. The way I understand, every time I knit (render) the file, the HTML is rebuilt.
So, adding the script to the HTML is not an option, at least as I understand it. I wish there was a workaround for it.

If you’re up for it you might be able to fork the rstudio/revealjs repo and update the libraries in the inst folder. Just note that to use the current version of revealjs-menu you’ll also need to update revealjs to v4.


Add label choices (Wishlist, finished, etc.)

Hi, thanks for writing vndbtime. The code's short but it's pretty simple and fun.
I added a few lines of code to include labels (wishlist, finished, dropped, etc.) as requested by this commenter on your Reddit post: https://www.reddit.com/r/visualnovels/comments/15bj8v1/comment/ked3xyq
(I did not attempt to improve the code quality however.)

Thanks! Looks good.


Create empty secret without google_secret_manager_secret_version

Hello and thank you for using my Secret Manager Terraform module. Please complete
this form to share your ideas. If you already have a proposed solution, open a
pull request for review and link it to this issue where prompted.
Describe the feature
The module creates the version all the time, what will happen if we want to create an empty secret without google_secret_manager_secret_version.
Acceptance criteria
Try to create a empty secret passing empty string to the var.secret but leads to validation check ( at least 1 character ), so why not have a count in the resource with a flag into variable empty secret.
variables secret_versioning {
  default = true
}

resource "google_secret_manager_secret_version" "secret" {
  count       = var.secret_versioning ? 1 : 0
  secret      = google_secret_manager_secret.secret.id
  secret_data = var.secret
}

Use case: FOR EXAMPLE
module "gcp-secret" {
  source  = "memes/secret-manager/google"

  project_id = "testing"
  id            =  "${var.id}"
  secret     = ""
  secret_versioning = false
}

Hello @yoelmacia, thanks for opening the issue.
Yeah, the existing constraint on secret_data is because the GCP API will not allow creating a version with an empty secret and I was not thinking of the use-case where someone wants to create a Secret Manager "slot" with possible IAM assignments, but manage/add versions separately from this module. That's an interesting case.
In that case, I think the more idiomatic change will be to allow an empty/null secret_data and skip version creation if it is empty. The change will be minor, I just need to make sure it handles the case where a version is managed outside the module.

Postponing this to version 2.0.0; can't use a simple check for null/empty as it breaks the random module and any option changes should be in next major version. Will be working on that shortly now testing framework is in place.


Numeric emoji symbols (0⃣,1⃣,..) are not converted to twitter emoji

There is an issue on iOS that does not display numeric emoji. (https://github.com/flutter/flutter/issues/67723)
But, if you do text.replaceAll('\u{fe0f}', ''), the emoji comes out properly.
However, it is not displayed in the form of Twitter emoji. It just shows the device's default emoji.
Is there any solution?

text.replaceAll('\u{fe0f}', '') does this  works on all emojis ?

I used text.replaceAll('\u{fe0f}', '') because of the numeric emoji encoding format on iOS.
https://emojipedia.org/keycap-digit-one/
If U+FE0F is erased, numeric emoji (1⃣,2⃣,3⃣,..) are printed well.
There is no problem with other emojis. ex. 😊,🍎,..
ex. \u{0031}\u{20e3} → 1⃣, \u{0031}\u{fe0f}\u{20e3} → 1□ (BUG ony iOS)

any update on this?

fixed v0.4.3


Android CI and testing

[ ] Setup android CI
[ ] Run android testing

The structgen step for Android is currently broken in CI. Disabling it in #82.


Add search by github handle to API persons endpoint

Would it be possible to add the functionality to search for people using their github handle through the API? i.e. https://amy.software-carpentry.org/api/v1/persons/?github=fmichonneau

Hello @fmichonneau. It's possible to add another filter to this endpoint, but with #1273 I was going to remove unused parts of API. I thought /persons/ was unused.
Let's make this issue in current release (v1.12), and let's postpone #1273 to the next release.

It might not be used within AMY, but I'd like to be able to use it in other external tools/services. Thanks for implementing it!


Hugo API: Nominations

This adds a new database user & schema + an express.js server for accepting Hugo nomination data. The table of nominations is append-only with automatic timestamps, with the most recent nomination for each nominator+category determining the current/final state.

Merging, to make productization easier. More review would still be nice.


Upgrade PyTorch

At 0.4.1, the PytTorch version in the Anaconda environment .yml's is far behind the current stable PyTorch version 1.7.1.

Have you tried to use rlkit with the current PyTorch version, would it work? @xanderdunn

Yes, it did run for me when I upgraded to latest pytorch

Hi, did you modify other parts of the .yml file? For example the python version? It seems that python=3.5.2 doesn't work.


Any Subspec supporting RxSwift?

Hope Reusable to be better

We don't have an Rx subspec yet but I'd love to. Don't hesitate to propose a PR 😉
I'm a user of RxSwift but never used it with tableviews (i.e. never used RxDataSource in my projects so far) so I'm not sure how Rx applied to Reusable would look like. Would be curious to see a solution 👍

@AliSoftware  New to RxSwift,  but most demo projects are massive used of RxDataSource .Could you tell us why don't you use RxDataSource in projects ?

Nothing wrong with using RxDataSources. But it's just a matter of preferences and the type of projets I've been working on lately. I simply prefer using the Adapter pattern on TableViews, extracting my UITableViewDataSource & UITableViewDelegate implementations away in dedicated objects and being able to compose them (works especially best with TableViews whose section have different type of contents)

Hi, you can try this https://github.com/pikciu/RxCells

Thank you~

Hope Reusable be better


Allow optional parameters to be used in TaggedEnum

Closes #1556

Ah you beat me to it https://github.com/Effect-TS/effect/pull/1558
Which one do you prefer?

Ah you beat me to it #1558
Which one do you prefer?

I think I prefer this one as it is slightly more complete, i.e. it makes Args and Constructor behave the same


DLP error

Hi, I'm getting the following error trying to run the Inspection app. Help pls
It looks like this app isn't compliant with the latest data loss prevention policies.
Your organization’s governance reference material: https://aka.ms/MSPowerPlatformWiki
Your organization’s governance contact: aka.ms/frontdesk
Policy name: CSEO UltraLow (All New Environments)
Connector: shared_commondataservice cannot be used since it is blocked by your company's admin.
Connector action: ListMyPlansV2 within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: ListTasksV3 within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: ListTasks within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: ListMyTasks within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: ListBucketsV3 within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: CreateBucketV2 within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: CreateTaskV3 within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: UpdateTaskDetails within connector: shared_planner cannot be used since it is blocked by your company's admin.
Connector action: PostMessageToChannelV3 within connector: shared_teams cannot be used since it is blocked by your company's admin.
Connector action: SearchUser within connector: shared_office365users cannot be used since it is blocked by your company's admin.
Connector action: UserProfileV2 within connector: shared_office365users cannot be used since it is blocked by your company's admin.
Connector action: UserPhotoV2 within connector: shared_office365users cannot be used since it is blocked by your company's admin.

Hi, I have been searching for a solution to this and found this:
https://microsoft.sharepoint.com/teams/FrontDesk/SitePages/May-4%2C-2022-Alert--Power-Platform-Blocked-Connectors.aspx

Hi @ShuoChen-MS , I work for MS as well and this app will really help me and my team. If you could help here we would really appreciate it. You can contact me janbotha @ microsoft . com
Cheers


We shouldn't implement codec-specific methods for VaapiBackend

We currently implement quite a few methods for VaapiBackend<(), M> in stateless/h264/vaapi.rs. This pollutes the namespace, as a structure used for all backends now contain methods that only work for a given codec without any extra generic parameters to hide them away or otherwise preclude them from being used elsewhere.

I checked this and apparently all VA code is now using free functions. We should close.


Declare a variable using "var " or not ?

This made me think
https://twitter.com/madzadev/status/1524853069258932227?t=9Re3W6-rfeLh0n1HGk-fnQ&s=19
Should we use var , const or let ?

javascript var let const
https://www.google.com/search?q=javascript+var+let+const&oq=javascript+var+&aqs=chrome.3.69i57j0i512l8.10675j0j7&client=ms-android-transsion-tecno-rev1&sourceid=chrome-mobile&ie=UTF-8#sbfbu=1&pi=javascript var let const
https://www.freecodecamp.org/news/var-let-and-const-whats-the-difference/amp/
https://www.geeksforgeeks.org/difference-between-var-let-and-const-keywords-in-javascript/amp/


How do I enable document symbols from headings?

I see in the list of features that document symbols from headings are implemented. Yet, I can't get them to work with NeoVim. Even though marksman client is attached to the buffer, invoking Telescope lsp_document_symbols yields No results from textDocument/documentSymbol. Looked through config options, couldn't find anything relevant either.
P.S. I'm on Arch Linux, marksman version 20230605-1.

Hi @Galicarnax! Thanks for reporting this. I see another arch-specific report in #227 . Could you try an earlier version from the 'Releases' page.
If no dice, please configure marksman to run with verbosity marksman server -v=5 and share your LSP logs here.

I've been using marksman for few months already, and this feature did work in earlier versions, but stopped working after one of the latest updates.  I formulated the issue without mentioning that because I thought it is configuration-specific. But, given another report here, it looks like a bug.

@Galicarnax I've cut a new release that should fix the problem: https://github.com/artempyanykh/marksman/releases/tag/2023-07-01
Feel free to reopen the issue if something's still not working.


Google Safe Browsing Database URL Instructions give 404 error

For the URL: wget http://sb.google.com/safebrowsing/update?client=api&apikey=KEY&version=goog-malware-hash:1:-1
where KEY is my API KEY.

Hi @inetbiz,
Do you mind to share where did you get this url from ?

@zimmerle https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#secgsblookupdb

Hi @inetbiz,
Thanks. Site updated.


requirements

install instructions could be a bit more detailed. what are the requirements on Macos e.g.? for me install fails because I don't have gpg installed.

installed gpg. trying to run with cargo build and get
error: failed to run custom build command for `pyo3 v0.8.5`

Caused by:
  process didn't exit successfully: `/Users/ben/dev/blake2b-py/target/debug/build/pyo3-9f2111f552de6f6c/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Error: pyo3 requires a nightly or dev version of Rust.', /Users/ben/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.8.5/build.rs:542:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


[ISSUE] Incorrectly set config.is_aws flag when host has trailing "/"

Description
When running databricks sdk on azure workspaces using databricks cli authentication. The config.is_aws flag is set to True.
This occurs when the databricks profile host doesn't have https://  in the beginning and a trailing "/" at the end for a azure workspace
Reproduction
Create a databricks profile like below:
azure workspace url
host = adb-/
auth_type = databricks-cli
run code :
ws = WorkspaceClient(auth_type = "databricks-cli", profile="PROFILE_NAME")
assert ws.config.is_azure
Expected behaviour
ws.config.is_azure should be set to True and ws.config.is_aws should be set to False
Is it a regression?
Dont know
Other Information

OS: [e.g. macOS]
Version: [e.g. 0.28.0]

Additional context
Add any other context about the problem here.
related ucx issue
https://github.com/databrickslabs/ucx/issues/1757

confirmed working and closing.


Update README.md

fixed some typos and update link to play filters web page

Thanks for the update. See my comment. Please do the same with the master branch if required.

ok thank you :)
2017-11-17 8:53 GMT+01:00 LELEU Jérôme<EMAIL_ADDRESS>
Thanks for the update. See my comment. Please do the same with the master
branch if required.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pac4j/play-pac4j/pull/211#issuecomment-345170955, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABepUCK2yGQ6X2cEL30HeUB5wT9TzPZwks5s3TuXgaJpZM4Qg0jT
.

--

Fabio Fumarola Ph.D.
Math and IT Research @ Unicredit R&D
https://www.linkedin.com/pub/fabio-fumarola/7/540/605
mailto:f fumarola<EMAIL_ADDRESS><EMAIL_ADDRESS>

In fact, I directly made the changes on the 3.1.x and master branches. Thanks


Reconnect to broker on k8s context switch from meshery

Description
Currently we support connecting to one broker at a time. After the multi context PR, we can switch between contexts but there is not logic currently to switch between corresponding brokers.
This PR adds a small in memory tracker of currenly connected k8s context such that anytime the context is switched, a delta is detected and a reconnection to broker is established. This time with the broker that is present in the cluster of newly connected context. This will allow to get data from multiple brokers.
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #5471 (9e202e0) into master (8a6411b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5471   +/-   ##
=======================================
  Coverage   17.46%   17.46%
=======================================
  Files         107      107
  Lines        9961     9961
=======================================
  Hits         1740     1740
  Misses       7798     7798
  Partials      423      423

Flag
Coverage Δ

gointegrationtests
6.03% <ø> (ø)

unittests
13.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

@leecalcote  I think this one is good to go.

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x]  Yes, I signed my commits.

Can you add some details about the issue that you are trying to solve?

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x]  Yes, I signed my commits.

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x]   Yes, I signed my commits.

Can you add some details about the issue that you are trying to solve?

Done

@leecalcote  creating another PR with proper changes. Closing this one.


Spike: Kyma Companion UI Implementation in Kyma Dashboard

Description
The Kyma Companion UI aims to enhance user interaction within the Kyma Dashboard by integrating a chat interface that provides context-sensitive help and general assistance. Leveraging design recommendations from a Figma file, this spike seeks to explore the feasibility, challenges, and optimal architecture for implementing the UI, ensuring seamless integration with backend services using the OPEN AI API format.
Goal

Assess the practicality of implementing the Kyma Companion UI as per Figma design specifications.
Identify challenges in UI development and interaction with the backend.
Determine the best architecture for backend communication, focusing on compatibility with the OPEN AI API format.
Prototype context-sensitive and menu-triggered chat interface functionalities.

Scope
Included

Analysis of the Figma design file for UI requirements.
Evaluation of frontend technologies for implementing the chat interface.
Investigation into backend communication strategies, emphasizing the OPEN AI API format.
Prototyping key components of the UI, including contextual triggering and markdown support in chat messages.

Excluded

Full-scale development of the Kyma Companion UI.
Integration with other systems outside the Kyma ecosystem.
Detailed user experience (UX) beyond the scope of the initial design recommendations.

Acceptance Criteria

Demonstration of a viable prototype that aligns with the Figma design recommendations.
Identification of major challenges in UI development and backend integration.
A proposed architecture for communicating with the backend using the OPEN AI API format.
A set of recommendations for addressing identified challenges and proceeding with development.

Time-box
This spike is allocated 4 weeks, allowing for thorough investigation and prototyping.
Expected Outcome

A prototype of the Kyma Companion UI demonstrating feasibility and design alignment.
The prototype runs on Kyma AI Force Cluster and connects with the Kyma Companion Module
A comprehensive report detailing:

The feasibility of the UI implementation.
Identified challenges and potential solutions.
Recommended architecture for backend communication.
Suggestions for next steps in development based on the spike findings.

Suggested Diagram for communications with Kyma Companion Module
sequenceDiagram
    participant U as User
    participant KCF as Kyma Companion Frontend
    participant KCM as Kyma Companion Module

    Note over U,KCF: User is viewing specific cluster resources
    U->>+KCF: Opens Kyma Companion App
    KCF->>+KCM: GET /initial-questions {context}
    Note over KCM: Context is current user view/resources
    KCM-->>-KCF: Returns initial questions based on context
    U->>+KCF: Selects a question
    Note over KCF: User interaction triggers query
    KCF->>+KCM: POST /chat {selected question}
    KCM-->>-KCF: Responds to user's query
    Note over KCF,KCM: Immediate follow-up action
    KCF->>+KCM: GET /follow-up-questions
    Note over KCM: Suggests next possible questions
    KCM-->>-KCF: Provides follow-up questions

Links

Figma Desings

[ ] error handling on first prompt should give the option to retry
[ ] initial-suggestions-API-calls should depend on current pageType, namespace, nodeName
[ ] close assistant on URL-/pageType changes
[ ] further markdown formatting of responses ?
[ ] adjust dark-mode and other themes
[ ] use inner-cluster-API endpoints


Revert "Update keydb to 6.3.4 (#7118)"

Motivation and context

That KeyDB version turned out rather unstable in practice, with multiple crashes and freezes observed in production.
This reverts commit 118cc720ca6da62ffdf8048d2d150b8a44ba48bf.
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

We have also been experiencing crashes and segfaults with KeyDB 6.3.4, thanks for the PR!


Reuse the Tokio Runtime

Which issue does this PR close?
Closes #340
Rationale for this change
Currently, we create a new Tokio Runtime and associated threads often which is not good for performance. This PR uses a module level attribute to create this once and reuse it.
Are there any user-facing changes?
No.

Thanks @kylebrooks-8451. Can you share any info on how much difference this makes to performance? I am wondering if we should delay the 23.0.0 release to get this merged in?

I wanted to get some numbers on this but I didn't have a great way to benchmark it. I know it is significant for our use case which is running an Arrow Flight Server using Datafusion as as engine but I don't have any hard numbers. Is there an easy way to benchmark the Python bindings? I see a benchmark suite for Datafusion proper.

I'm mostly testing with TPC-H using code here:
https://github.com/sql-benchmarks/sqlbench-runners/tree/main/datafusion-python
I doubt it will impact this benchmark all that much though.
This PR is fixing an ugly hack, so I think we should go ahead and merge this.
cc @jdye64

@andygrove - I ran that benchmark you linked on my MacBook Pro 6 Core i7 2.6 GHz. Using the TPCH Parquet Data with a Scale Factor of 1.0 and the sqlbench-h SF=1 queries, I got a 245% or 2.45x speedup with the PR using release wheel builds. I'm glad this made it into the 23 release!

Before
After

setup
246.6
26.7

q1
639.2
322.3

q2
616.3
198.2

q3
539.7
150.7

q4
408.1
107.5

q5
702.5
198.6

q6
125.3
50.7

q7
897.8
413.3

q8
868.4
237.5

q9
1265.6
348.2

q10
683.7
256.5

q11
245.4
105.1

q12
318.4
133

q13
1390.9
591

q14
195.8
88.7

q15
296.9
133.4

q16
269.4
106

q17
3291.9
1555

q18
2970.2
1060.1

q19
262.4
156.1

q20
668.9
370.5

q21
1018
624.7

total
17674.9
7207.1

Speedup

2.452


Travis uses 3.7 instead of 3.7-dev

It requires xenial for support per
https://docs.travis-ci.com/user/languages/python/
I tried specifying 3.8-dev in allow_failures, but it was not
picked up.

Thank you!
I hadn't realized travis had 3.7 without hack; This is really useful.


awk error in prompt

Running latest version of bash-it. I am getting an awk error each time I press enter. This error is printing only when I am in directories that are NOT git repositories.
`2019-12-11 10:31:27 ⌚  bos-lpve1 in ~/w/foo
⌛ |: ✗| → cd ~/Desktop/
awk: line 27: illegal reference to array change_array
2019-12-11 10:32:29 ⌚  bos-lpve1 in ~/Desktop
⌛ |: ✗| →
`

Closing the issue, found the problem
The awk error was referring to a line in themes/p4helpers.theme.bash
I just happen to have a '.perforce. file in my home directory unknowingly which was causing the p4 theme helper to print this error.


Automated Rook version update 1.11.0

Automated changes by the cron-rook-update GitHub action
Adds [Rook add-on](https://kurl.sh/docs/add-ons/rook) verison 1.11.0.

This is a minor upgrade so this is why all the tests are failing.

Closed by https://github.com/replicatedhq/kURL/pull/4264


Calculate the Convolution layer Parameters

Hi @awai54st
How did you calculate the convolution layers parameters in main.cpp file in each folder?
/PYNQ-Classification/hw/graphic_design_flow/CIFAR-10/SCIG_1/main.cpp
/PYNQ-Classification/hw/graphic_design_flow/CIFAR-10/SCIG_2/main.cpp
/PYNQ-Classification/hw/graphic_design_flow/CIFAR-10/SCIG_3/main.cpp
     **const unsigned int batch_size = 1;
const unsigned int Ker_DIM = 5;
const unsigned int In_DIM = 28;
const unsigned int In_CH = 1;
const unsigned int Out_DIM = 24;
const unsigned int Out_CH = 20;
const unsigned int PadDim = 0;**

这是来自QQ邮箱的假期自动回复邮件。


[Suggestion] Option to disable Charms while in Inventory

Not sure it exists, couldn't seem to figure out a means of making it work. But I love the Potion Charms and effects, but I think it would be cool if they could be enabled only while set in a charm slot for curios. Or if there was a config option to disable their functionality while in the base inventory. To avoid charms stacking an such from a balance perspective.

Is this fix available in 1.18.2?

don't believe so

Dang. No worries! Thank you for the response! We'll update one day for sure! Can't wait.


Upgrade Kafka version to <IP_ADDRESS> (scala 2.11)

Minor changes to update the kafka version to <IP_ADDRESS> (scala 2.11)

LGTM

Closing in favor of #17.


Datagrid design review: Column customization

Design review

Component epic #1607 #2499
Designers/reviewers: Virginia Nicholson
Links: PAL guidance / Storybook

Standards

[ ] All pattern updates/changes/iterations have been discussed with the
component developer
[ ] Patterns have been approved by either DSAG or another approving entity

Pattern and behavior

[ ] The component behaves according to the guidelines set by the pattern
maintainer
[ ] The component’s UI matches the pattern specifications set by the pattern
maintainer
[ ] The component’s motion matches the specifications set by the pattern
maintainer(s)
[ ] The UI produced is responsive, cross-browser, and responds to the
currently set Carbon theme.
[ ] Colors, themes, sizes and additional props are true and correct, aligning
with Carbon set tokens (unless otherwise specified by the pattern)
[ ] Paddings/margins/spacings are true and correct, in both desktop and mobile
views

Storybook

[ ] A functioning component renders in Storybook
[ ] The Storybook displays multiple scenarios that show how the component can
be used
[ ] Changing props in the Storybook updates the component

Should also discuss this design for #2465

Issue has already been opened to change modal to Tearsheet #2290.
Search icon alignment in customize modal/tearsheet
“Column name” should be bolded
Spacing after drag icon ~16px; spacing between checkbox and text should be ~12px for better balance between elements
Modal/tearsheet description width should use 75% max-width

While dragging item back to original location, icons sometimes become stacked:


Minor Change to Trigger CI

Small change to trigger CI after change to public.

🚀 [bumpr] Bumped! New version:v0.0.29 Changes:v0.0.28...v0.0.29


An extra UPDATE is triggered when using records

Thanks. It's much better. I'll check it out tonight.

Likewise

The problem comes from the areEqual method which finds different internal Map types.

Is this problem from hypersistence-utils?

Yes, but you can overcome it if you use a JsonNode or a POJO instead.
I will see how to accommodate a fix when I will get some time.

Hi @vladmihalcea ,
Do we have any updates with this issue?
Regards,
Dy

@dyleph This is a very complex issue, and you are better off using JsonNode or type-safe POJOs on the entity attribute that maps the JSON if you want to avoid it.
I'm not sure when I'll have time to fix it since the problem is caused by records that can be contained on any hierarchical level in a Map of Map structure you're now using.
But, as long as you have some workarounds, you should those instead.


SQLite-vec

Any possibility to look at  SQLite-vec bindings perhaps?

Unless I misunderstand your comment that sounds outside the scope of this project.


Firebase integration - authentication (log in, sign up) and firestore database

Looks great. Only thing is for the sign up, when verifying the password, the user should be notified if the password does not meet the required criteria (example: password needs to be 6 figures)

ok boss will do inshallah


Component displayName not found

After i use branch.
In react console i see  component.
How can i fix it?

Hello @LestaD, are you using the v2 or the current released version of baobab-react?

Hello @Yomguithereal,  i use 0.1.1

@LestaD, can you show me some of the incriminated code. I can't find any usage of displayName in the 0.1.1 version.


Spectrum Connect rebranding texts left outs

change error messages with SCBE to Spectrum Connect

This change is

Coverage remained the same at 54.731% when pulling bfe8ac586cf3694a47a324506b9a6034b90294f4 on spectrum_connect_rebranding_leftouts into 40a83dc9a056cd0dafa7001b4d5eadbebfc47c2e on dev.

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[Fabric] - Lava vision effect name

Describe the bug
The name for the lava vision effect shows up as effect.netherite_plus.lava_vision
Expected behavior
The effect should be shown as Lava Vision
Screenshots

Yep. Will be fixed in the next release

Yep. Will be fixed in the next release

Alright, thanks!


read /dev/ptmx: input/output error

It's doesn't exist  /dev/ptmx but /dev/pts/ptmx
so I can make a soft link?
or change the path hardcode in pty_linux.go?

@paulzhol @keithpitt
I can reproduce this issue with the README example and the Docker golang container:
$ tree
.
├── Dockerfile
└── example.go

0 directories, 2 files

Dockerfile:
FROM golang:onbuild

example.go (same as example, but printing the error from io.Copy):
package main

import (
	"fmt"
	"io"
	"os"
	"os/exec"

	"github.com/kr/pty"
)

func main() {
	c := exec.Command("grep", "--color=auto", "bar")
	f, err := pty.Start(c)
	if err != nil {
		panic(err)
	}

	go func() {
		f.Write([]byte("foo\n"))
		f.Write([]byte("bar\n"))
		f.Write([]byte("baz\n"))
		f.Write([]byte{4}) // EOT
	}()
	_, err = io.Copy(os.Stdout, f)
	fmt.Println(err)
}

Building and running:
$ docker build -t repro .
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM golang:onbuild
# Executing 3 build triggers
Trigger 0, COPY . /go/src/app
Step 0 : COPY . /go/src/app
 ---> Using cache
Trigger 1, RUN go-wrapper download
Step 0 : RUN go-wrapper download
 ---> Using cache
Trigger 2, RUN go-wrapper install
Step 0 : RUN go-wrapper install
 ---> Using cache
 ---> dd1f1a9f24a7
Successfully built dd1f1a9f24a7

$ docker run repro
+ exec app
foo
bar
baz
bar
read /dev/ptmx: input/output error

It looks like the problem is that when the subcommand exits, reading from the pty file returns an I/O error rather than EOF.

I think the Linux kernel is returning EIO when attempting to read from a master pseudo terminal which  no longer has an open slave.
https://github.com/torvalds/linux/blob/master/drivers/tty/tty_io.c#L1049
https://github.com/torvalds/linux/blob/master/drivers/tty/n_tty.c#L2194

I just hit this issue on Fedora 23. The issue is that /dev/ptmx doesn't exist. On fedora it's called /dev/pts/ptmx so we need to detect for the OS and switch accordingly.

@purpleidea Do you know if your kernel has this patch https://lwn.net/Articles/689539 ?

All mounts of the devpts filesystem now create a /dev/pts/ptmx node
with permissions 0000.

If so, can you try to create the /dev/ptmx device mknod /dev/ptmx c 5 2?

To retain backwards compatibility the a ptmx device node (aka any node
created with "mknod name c 5 2") when opened will look for an instance
of devpts under the name "pts" in the same directory as the ptmx device
node.

See devpts

On closer inspection:
$ ll /dev/ptmx
crw-rw-rw-. 1 root 5, 2 Jun  8 04:37 /dev/ptmx
$ ll /dev/pts/ptmx
c---------. 1 root 5, 2 May 29 05:57 /dev/pts/ptmx

Weird, did a device get created when I wasn't looking? Gah...

the same question on centos
ll /dev/ptmx get crw-rw-rw- 1 root tty 5, 2 May 25 20:27 /dev/ptmx

Recent https://github.com/unchartedsoftware/witch upgraded from 1.1.2 to 1.1.7 and I am now seeing this problem.
The environment is the latest Golang 1.2-alpine container. I can also see that /dev/ptmx exists in the container.

Would you have a sample code / dockerfile to reproduce the issue by anychance? Afk atm, but will take a look asap.

@creack I've pushed sample docker-compose files to reproduce this. See https://github.com/F21/ptytest

@F21 Thank you so much for the docker sample, it is very helpful.
Unfortunately, it seems like it is an "issue" with witch and not pty. I don't have enough time to dig too much in-depth, but consider the following dockerfile:
FROM golang:1.12-alpine

RUN apk --no-cache --no-progress add git

RUN go get -u github.com/golang/dep/cmd/dep
RUN go get github.com/unchartedsoftware/witch
WORKDIR /go/src/github.com/unchartedsoftware/witch

# Master fails, but this commit works, using the same pty lib version.
RUN git checkout 33a995176f45a86ef9c4a2a02664650c80f5d231 && sed -i -e 's|kr/pty|creack/pty|' main.go
RUN dep ensure && dep status

RUN go install

CMD witch --cmd="echo hello" --watch="*.mod,**/*.go"

Using the working commit from witch you provided and patching it to use creack/pty v1.1.7, it does work as expected.
Note that the error is actually not an issue, it could (and should) be ignored. The child's side of the pty being closed when the child dies, the subsequent read on ptmx is expected to fail. It could be worked around by setting the pty only on the parent and passing a system pipe to the child (not 100% sure, would need to test), but seems like a big overhead for not much. Just like http.ListenAndServe always returns an error, you can consider that the ptmx read will also always return an error. If using a system pipe, then the pipe read would fail too.

Thank you so much for looking into this @creack and sorry for the noise. I'll point the maintainers of witch to your comment.

I just ran into this issue with Ubuntu 19.10. Does anyone have a fix for this? Thanks!

So to confirm, it sounds like read /dev/ptmx: input/output error is an expected error we can ignore?
I also sometimes see error read /dev/ptmx: file already closed, and I'm not sure if I'm doing something incorrect there to get this error.
Here's a relatively simple example on Go1.14. Ubuntu 18.04, and and Docker containers (Docker Desktop on my Mac and within Ubuntu linux) seem to have this output. I can't reproduce it on Mac Catalina.

The following assumes a run.sh script exists in CWD and does some stuff that takes a few second and has output. In my case, I run composer install for a faux-php project.

package main

import (
	"bufio"
	"fmt"
	"io"
	"os/exec"

	"github.com/creack/pty"
)

func main() {
	cmd := exec.Command("/bin/bash", "run.sh")
	tty, err := pty.Start(cmd)

	if err != nil {
		panic(err)
	}

	defer tty.Close()

	var bytes []byte

	go func() {
		buf := bufio.NewReader(tty)

		for {
			byte, err := buf.ReadByte()
			bytes = append(bytes, byte)

			if err == io.EOF {
				fmt.Printf("io.EOF error: Bytes in this cycle: '%s'\n", string(byte))
				break
			}

			if err != nil {
				fmt.Printf("We have an error: %v\n", err)
			}
		}
	}()

	res := cmd.Wait()

	fmt.Printf("Result: '%v'\n", res)
	fmt.Printf("%s", string(bytes))
}

The errors and order of output isn't consistent so I assume it's based on the timing of when Go is doing certain operations?

Seems there are actually multiple different issues here, some which have been fixed. I'm going to close as the ticket as been going on since 2014 and is mainly outdated noise at this point.
If anyone still has the issue, please open a new ticket and we'll make sure to get it fixed.
cc @rbUUbr I didn't spend too much time on this but couldn't reproduce the issue.
cc @fideloper sorry for the delayed answer, if you are still facing the issue, please open a new issue.


netcdf-c-4.8.1.tar.gz not on ftp site...

4.8.1 was released but the distribution needs to be copied to the ftp site...

The ftp site has been removed, but it remains available via http(s) download.  Tagging @ddirks and @oxelson for this conversation so that they can weigh in; they've been putting in quite a bit of work on the web backend!

OK, good to know!
There's some data files available via ftp used in netcdf testing. Will those be available somewhere, somehow? Will the ftp commands still work, or do they need to be changed to something else for a script to download a test data file?

Those data files that our testing uses are for testing HDF4.
When the removal of the ftp site was raised some time ago,
I raised this issues, but never got any answers.b

Hi @DennisHeimbigner, I'm happy to answer any questions you may have.

The files needed for hdf4 testing are in

ftp://ftp.unidata.ucar.edu/pub/netcdf/sample_data/hdf4/*

I see that this url is still working, but I assume it will disappear soon.
Can we put these files in someplace like google drive or gihub
and download them via a bash script?

The files needed for hdf4 testing are in

ftp://ftp.unidata.ucar.edu/pub/netcdf/sample_data/hdf4/*

I see that this url is still working, but I assume it will disappear soon.
Can we put these files in someplace like google drive or gihub
and download them via a bash script?

Hi Dennis, let's stash them with the rest of the netCDF downloads out on the artifacts/downloads server.  They will be publicly available for your scripts (and anyone ) to access.  I'll follow up with you tomorrow about this.

What should be the canonical site for downloading releases:

https://www.unidata.ucar.edu/downloads/netcdf/
https://github.com/Unidata/netcdf-c/archive/refs/tags/

I can update the spack package to point to either of these, but would like it to be the one you recommend.

Does the https://www.unidata.ucar.edu/downloads/netcdf/ site contain past releases, or only the current?  I tried to download a previous version using the url pattern for 4.8.1 and it couldn't find it...

I would recommend the GitHub release site, since that's where releases
happen. The website is only updated after the release at some point, I
believe...
On Tue, Sep 28, 2021 at 10:44 AM Greg Sjaardema @.***>
wrote:

Does the https://www.unidata.ucar.edu/downloads/netcdf/ site contain past
releases, or only the current? I tried to download a previous version using
the url pattern for 4.8.1 and it couldn't find it...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Unidata/netcdf-c/issues/2110#issuecomment-929398696,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCSXXGETHL7WDRBIBLI243UEHWFTANCNFSM5EE3UYBQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


About multi step inner loop update

Hi, thanks for your great work!
Could you please tell me how to do the multi-step gradient descent during the inner loop update?

Hi! Thanks for the kind words, and sorry for the late reply.
The MAML example in this repo is meant to be a simple example, so this is limited to a single inner loop update. If you want to have multiple gradient steps for the inner loop with Torchmeta, I suggest you to take a look at https://github.com/tristandeleu/pytorch-maml, which is a better tested implementation of MAML, and more specifically here for how to do multiple inner loop updates.


Fix comment in workflow id cache config

What changed?
Comment fixed in workflow ID cache config

Why?
It was an error made while changing the flags

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018da804-0a6c-4359-b260-bf972155cff8
Details

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

Files with Coverage Reduction
New Missed Lines
%

common/membership/hashring.go
2
84.05%

common/task/fifo_task_scheduler.go
2
85.57%

service/history/execution/mutable_state_util.go
2
37.63%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
59.55%

service/history/task/transfer_standby_task_executor.go
4
86.6%

service/history/task/fetcher.go
5
85.57%

service/history/task/cross_cluster_task_processor.go
8
80.79%

service/history/execution/mutable_state_task_refresher.go
14
63.61%

common/persistence/nosql/nosqlplugin/cassandra/workflow_parsing_utils.go
20
83.06%

common/persistence/sql/workflowStateMaps.go
20
83.62%

Totals

Change from base Build 018da5f3-3627-4ce7-a640-1301a5169ce8:
0.02%

Covered Lines:
92613

Relevant Lines:
147503

💛  - Coveralls


how to create a flex project  from the source code?

Hi,man
I have a problem when creating a flex project from the source code with my Flex IDE(Flash Builder4.5 under Windows),It seems the classpath can't be multiple file under the src file.I think you might use Maven rather then Ant to build  the project. Please see flexmojos: http://flexmojos.sonatype.org/   .  you can use flexmojos:flexbuilder goal to configure environment files for flashbuilder. May be it can be userful to encourage others to participate in.

I have no intention to use Maven (I think it sucks, in particular with Flexmojos which was riddled with bugs and missing features last time I tried it). Apart from that I also don't use FlashBuilder, as I think that it is (by far) the weakest AS3 IDE, compared to FDT and IDEA, so I'm not going to introduce any changes just tailored for FlashBuilder.
For sure FB can deal with multiple source folders. Just open the project properties, change main source folder from src to src/main and add src/test as an additional source folder, then add the libs folder to the classpath (as a SWC folder) and everything compiles.

Thanks !
It works for me ,you really did a great job !
In fact ,I am just a chinese student， I think the parsely is very helpful for me to bulid Flex/JavaEE application.
But in China  ,most of developers still use cairngorm2 .But I think the architecture of parsely is more graceful ,so ,I hope parsely be better and stable.
~Sorry for my poor english.


mkbuildinf: Strip fdebug-prefix-map from saved CFLAGS

The saved CFLAGS may contain the -fdebug-prefix-map= which is used
to strip the build path from the debug info. If this information remains
recorded then the binary is no longer reproducible if the build
directory changes.
Replace the recorded CFLAG parameter -fdebug-prefix-map=$OLD=$NEW with
-fdebug-prefix-map=<REPRODUCIBLE>.
Signed-off-by: Sebastian Andrzej Siewior<EMAIL_ADDRESS>Checklist

[x] documentation is added or updated

ping

@kroeckx

A gentle ping.

You'll want to update this to also handle -fmacro-prefix-map and -ffile-prefix-map (which is a combination of -fdebug-prefix-map and -fmacro-prefix-map). Since Debian's bullseye release, -ffile-prefix-map has been in the defaults that builds using dpkg-buildflags will use.

@sebastianas This seems to be waiting for changes from  you

This PR is waiting for the creator to make requested changes but it has not been updated for 30 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).

What would be the scenario for this to be useful? That would probably make it easier to decide.
I can't think of one so I didn't think that it is worth preserving.

This option breaks debuggers.  I think that that is a very bad thing to do by default.
I know that debuggers can be told the correct source address but I'm confident that a lot of folks wouldn't know how to do this.  By making this an enableable (but disabled by default) option, the user is making the choice to break their debugger.  Likewise, by not enabling this in debug builds, it's less invasive.

This PR is waiting for the creator to make requested changes but it has not been updated for 30 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).

This PR is waiting for the creator to make requested changes but it has not been updated for 61 days.  If you have made changes or commented to the reviewer please make sure you re-request a review (see icon in the 'reviewers' section).

This PR has been closed.  It was waiting for the creator to make requested changes but it has not been updated for 90 days.


Support 360° panoramic renders

As originally noticed on the community forum, 360 degree panoramic renders don't work well with tilesets, even after the recent multiple view frustrum changes.
Panoramic renders aren't a part of Unreal Engine by default but can be achieved using Unreal's Panoramic Capture plugin or other third party 360 camera tools. Supporting 360 degree rendering is a great idea for a ton of reasons.
As for the actual issues with rendering:
Even with Frustrum Culling turned off, it looks like tiles away from the forward camera view are loaded at significantly lower detail. The forum user reported the following tileset settings and computer hardware:

Max screen space error: 16
Preload ancestors: yes
Preload siblings: yes
Max simultaneous tile loads: 2000
Loading Descendent Limit: 1000
Frustrum culling: off
Fog culling: off
RTX3090 cards (24MB VRAM) on a decent computer.

This could be a problem with the view frustrums - both plugins linked above use SceneCapture2D components for the other views, which should be supported, so that feature may be missing something. Or, it might be a problem with Frustrum culling/tile loading. Frustrum culling sometimes will cause background tiles to load in significantly slower, and: https://github.com/CesiumGS/cesium-unreal/issues/375. So possibly the issue could be solved by fixing #375.

The detail is intentionally low outside the view frustum by default, but you can change it. In addition to the other settings, set:

EnforceCulledScreenSpaceError = true
CulledScreenSpaceError = 16

Setting CulledScreenSpaceError should fix it when frustum culling is disabled. SceneCaptures are also automatically considered these days in some cases, and you can define custom cameras in blueprints if that doesn't help. So I think we can call this one resolved.


[FR] add support for rss and rss button to xarray blog

Is your feature request related to a problem?
A easy way to subscribe to news from xarray blog
Describe the solution you'd like
A support for publishing news and  button to subscribe to rss from blog (along twitter icon etcera)
Describe alternatives you've considered
No response
Additional context
No response

Thanks for the suggestion.
This issue should be over at https://github.com/xarray-contrib/xarray.dev, but I cannot transfer it.
Maybe you can reopen another issue there?

I copy and pasted this issue on the web repo: https://github.com/xarray-contrib/xarray.dev/issues/550


F# property pages load failed with errors.

Repro steps

Create a new F# .net core/framework project.
Open the project properties.
Some property pages don't display name and load page failed with errors.

Related information
VS build: d15.7/27512.00 (15.7 Preview 1)
dotnet --info:
.NET Command Line Tools (2.1.100)

Product Information:
 Version:            2.1.100
 Commit SHA-1 hash:  b9e74c6520

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.100\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.5
  Build    : 17373eb129b3b05aa18ece963f8795d65ef8ea54

Repro on latest VS build d15.7/27517.00 (15.7 Preview 2).
Not repro on latest VS build d15.7stg/27519.3002 (15.7 Preview 3).

Not repro on latest d15.7 build.

@KevinRansom can you verify that it doesn't repro as per @Xiu-Li's statement here?

Closing as we've had no further report of this

@Xiu-Li saw this again.  @TIHan can you take a look.

I remember seeing this before, then it went away. I'll look at this again.

@cartermp @brettfo @KevinRansom can you see if this is an issue in 15.8 P2 that we might want to fix before that ships?

15.7.2 --> no repro
15.8.1 --> no repro
d15.8 Preview 2 [27723.1.d15.8] --> repro

This should definitely get fixed

Probably related to #4603.

@abelbraaksma sorry for missing that report a while ago. I believe it is the same issue.

Not repro on d15.8/27804.00 and d15.8/27804.01


Permission denied

How To Solve This?
bash: ./boot-img-flasher.sh: Permission denied
Pls Help

Use sudo bash to run in terminal instead of ./, packege tsu is needed to be installed on termux.


How to play/pause song ?

Hi,
In my code
<ReactJkMusicPlayer ref={this.player} {...params} />
then i can use this.player.playxx()/pause this way. How to do that ? Thank you !

Hi ~
please use getAudioInstance api
<ReactJkMusicPlayer
    getAudioInstance = { instance => this.player = instance }
    }
  />

 ...

this.player.play()
this.player.pause()


Add facet to filter nomenclature “Protonym is duplicated”

Feature or enhancement
Show only names with duplicated strings, group by name strings.
With or without citations.
Location
Task - Filter Nomenclature
Screenshot, napkin sketch of interface, or conceptual description
No response
Your role
Curator

In Species File we have a task to Fix duplicate taxon descriptions.

This should be implemented as a an index of soft_validation across the project, not as individual filter, we have many other issues picked by soft_validation, which could be useful for filtering

See: #2546


fix native image failed to load the required native library

fix #682
it run successed in example https://github.com/netty/netty-incubator-codec-http3/tree/main/src/test/java/io/netty/incubator/codec/http3/example

@FoghostCn Thanks for the PR. Don't you mind adding the following change so that we will be able to verify this change with PR build:
diff --git a/testsuite-native-image/pom.xml b/testsuite-native-image/pom.xml
index 461e3b9..af535d9 100644
--- a/testsuite-native-image/pom.xml
+++ b/testsuite-native-image/pom.xml
@@ -121,7 +121,7 @@
             <executions>
               <execution>
                 <id>verify-native-image</id>
-                <phase>verify</phase>
+                <phase>package</phase>
                 <goals>
                   <goal>exec</goal>
                 </goals>
@@ -213,7 +213,7 @@
             <executions>
               <execution>
                 <id>verify-native-image</id>
-                <phase>verify</phase>
+                <phase>package</phase>
                 <goals>
                   <goal>exec</goal>
                 </goals>

the CI run failed caused by native client example run without server side running, are you sure we should run native image in package phase?

@FoghostCn yeah please revert. We checked that the PR is working fine. Once I return from vacation I’ll rework the test.
…
On Mon, 19 Aug 2024 at 6:56, foghost @.> wrote: @FoghostCn https://github.com/FoghostCn Thanks for the PR. Don't you mind adding the following change so that we will be able to verify this change with PR build: diff --git a/testsuite-native-image/pom.xml b/testsuite-native-image/pom.xml index 461e3b9..af535d9 100644 --- a/testsuite-native-image/pom.xml +++ b/testsuite-native-image/pom.xml @@ -121,7 +121,7 @@   verify-native-image - verify + package  exec  @@ -213,7 +213,7 @@   verify-native-image - verify + package  exec  the CI run failed caused by native client example run without server side running, are you sure we should run native image in package phase? — Reply to this email directly, view it on GitHub <#741 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFKCVPJ24RSQ6CWGP5PSLLZSFUITAVCNFSM6AAAAABMNZU2QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGYYTQOJYGY . You are receiving this because you commented.Message ID: @.>

OK

@violetagg please ping me when you were able to review and verify

FYI 0.0.67.Final was released that contains the fix


Global search bar default behaviour

While working on #1089, I also noticed that when a user makes an incipit search using the global search bar, it defaults to a "starts with" operation, unlike the chant search page's keyword option, which defaults to "contains." Is this what we want?

I have a feeling this was by design (there might be an issue about it somewhere?), because people searching incipits in the first place are probably thinking about starting words.  But you're right that it's a bit displeasing to have it work two different ways in different places, so probably good to check in if this is correctly anticipating user behaviour.

It looks like #903 is relevant to this.

possibly I'm thinking of the discussion in #519 about starts-with...

I think this behaviour is also expected because of the prompt to enter an incipit or Cantus ID; if I see "enter an incipit" and write "Aspiciens a longe", I'm probably expecting the ~80 "Aspiciens a longe" responsories (006129), and not the additional ~40 chants that happen to have those words in them but a totally different incipit, like "Doctor bonus et amicus dei" (006484).  If it said "enter words anywhere in chant" then I might expect to default to "contains."

I could definitely see a different approach to the global search bar (that it would be a contains search, possibly with a heavier weighting given to text in the incipit), but agree that the current display (calling it an "incipit" search) suggests that it should be starts_with


🐛 Within Cogs, events are passing bot instance to self instead of the cog instance

Describe the bug
The given example for cog doesn't work as expected:
Traceback (most recent call last):
  File "D:\Pincer\dev\basic_cogs\cogs\on_ready.py", line 11, in on_ready
    f"Started client on {self.client.bot}\n"
AttributeError: 'Bot' object has no attribute 'client'

The method causing the issue:
    @Client.event
    async def on_ready(self):
        print(
            f"Started client on {self.client.bot}\n"
            "Registered commands: " + ", ".join(self.client.chat_commands)
        )

A simple print(type(self) reveals the problem lies in self being the instance of the bot, and not the cog.

This has been resolved and already been pushed.


fixup the operator-sdk bundle

Make sure the bundle is installed in the bpfman namespace rather than the openshift-bpfman namespace.

Update the SCC to be a bit more tight specifically making it run with

runAsUser:
type: MustRunAsNonRoot

Fixup some documentation

Make the operator deploy our custom bpfman-restricted SCC if running in OCP

Hold until I can manually test on OCP, cluster bot is fighting me ATM

Tested on OCP 4.15 👍

is there a need to write specific section in the readme for deploying on OCP cluster ?

It's already there right? https://github.com/bpfman/bpfman-operator#deploy-to-openshift-cluster

Poke @Billy99


Use undefined as default value of versionTagPrefix

By having default value of versionTagPrefix set to undefined we allow setting prefix to empty string "".
closes #281

I updated the commit message to release quickly, thanks a lot for the fix!

You were faster :) Thanks for accepting the PR!


404 when trying to download flight data

When following the link and instructions to download flight data, I get a 404 when I click the Download button.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f345421f-01f3-d49e-24f4-d8e151d2b5d9
Version Independent ID: 6ad56353-e857-523b-4b6b-3ca4db981ee5
Content: Tutorial: Azure Data Lake Storage Gen2, Azure Synapse
Content Source: articles/storage/blobs/data-lake-storage-use-sql.md
Service: storage
Sub-service: data-lake-storage-gen2
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

Which url is giving you a 404?

Which url is giving you a 404?

When on this page: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-use-sql
Follow the instructions in the section Download the flight data. I get the 404 on step 3, which attempts to get the file at the following address: https://transtats.bts.gov/PREZIP/_Reporting_Carrier_On_Time_Performance_1987_present_2021_1.zip

When on this page: https://docs.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-use-sql
Follow the instructions in the section Download the flight data. I get the 404 on step 3, which attempts to get the file at the following address: https://transtats.bts.gov/PREZIP/_Reporting_Carrier_On_Time_Performance_1987_present_2021_1.zip

Thanks for reporting this. I am also seeing this 404 when trying to download the government data. I have assigned the issue to the content author to investigate further and update the document as appropriate.

#reassign: @normesta


Issue with the fromBytes() function

We are developing a language server written in ballerina and we used a network socket to connect the client and the server. It should send the following message.
file4.txt
In order to receive that message, we should convert the string to a json object and remove the “content-length:..” line which is the first line of the received string. In order to remove the "content-length:.." part we used both indexOf() function and regex. It removed not only the first line of the string but also a part in the middle of the string.
The part which got removed in the middle of the string contained whitespaces and CR and LF characters, so we tried to remove them using regex and it removed the CR LF characters but the same issue was encountered in the middle of the string.
The part which got removed is shown below,
"signatureHelp": {
"dynamicRegistration": true,
"signatureInfo{"documentationFormat":["markdown","plaintext"], ….. }
The rest of the characters in “signatureInformation” cannot be seen. This was the same place where the whitespaces were.
This should not happen as indexOf function should only return the first occurrence of the character and regex:replaceFirst is supposed to remove only the first occurrence of the string.

Is it possible to share the code used for the modification and the original JSON object (or string) with the "content-length" part?
Also if you do have the content as a JSON object, isn't removing the entry from the JSON object using https://lib.ballerina.io/ballerina/lang.map/1.1.0/functions#remove an option?

Hi @MaryamZi this is the code i used to modify the string.
main.txt
and this is the original string i get with the "content-length: " line
file2.txt
i cannot use the https://lib.ballerina.io/ballerina/lang.map/1.1.0/functions#remove as an option because i cannot convert the received string to a json object due to the issue i get from the above code

Hi @MaryamZi i tried writing the content i get from the stream into a file and took it as the input. Then the issue did not appear. The issue occurs when i try to get the content directly from the stream.

Related discussion: https://ballerina-platform.slack.com/archives/CAXS256RX/p1627878040003800

Closing this issue since it wasn't an issue in fromBytes().