Akka serialization configuration?

This project looks very interesting but I'm wondering where and how to configure deserialization of the persisted events. The examples all seem to assume that all events have been serialized with Java Serielization but in real life that doesn't (or shouldn't) happen very much.
We use a custom serializer to persist PersistentRepr and its payloads while some people use the default serializer for PersistentRepr but with a custom serializer for the payloads. In both cases I'd like to know how to configure the analytics code to use the correct (de)serializers.

Yes, the examples actually use Java serialization. Here's a description how you can customize (de)serialization. For batch-processing from Cassandra

you can customize PersistentRepr payload (de)serialization as described in the akka-persistence docs. Default is Java serialization.
The PersistentRepr wrapper by default is serialized with protobuf by akka-persistence. You can customize that by overriding the serializer settings in the akka-persistence config.

The configuration is the same for plain akka-persistence applications as well as akka-analytics applications. For stream-processing from Kafka, the situation is currently a bit more involved (which will be enhanced in later versions, as described below). The akka-persistence-kafka plugin stores events twofold:

once internally, for PersistentActors to write and read messages. Here (de)serialization can be customized as described for Cassandra above. However, this is currently not where akka-analytics reads messages from.
akka-analytics reads messages from separate user-defined topics. The akka-persistence-kafka plugin writes messages to user-defined topics in addition to journal topics.

For writing to and reading from user-defined topics, akka-persistence-kafka by default uses DefaultEventEncoder and DefaultEventDecoder, respectively.

On the producer side, you can provide your own encoder by setting the kafka-journal.event.producer.serializer.class configuration key (see akka-persistence-kafka docs for details).
On the consumer side (i.e akka-analytics), you specify a corresponding decoder as type parameter in eventStreamWithDecoder which I just committed. So far, this was hard-coded to be a DefaultEventDecoder.

With these configuration options you should be able to fully customize (de)serialization when reading from both Cassandra and Kafka.
Upcoming implementations of DefaultEventEncoder and DefaultEventDecoder will delegate to Akka serialization by default. Then you just need to configure a single payload de(serializer) which will be used for both journal and user-defined topics.
Separate user-defined topics will be optional in the future. One reason that they exist is that a deterministic (re-)consumption from several journal topics alone is not possible.
Hope this clarifies things a bit. Thanks for having brought this topic up. Of course, pull requests are always welcome :)
Cheers,
Martin

Thanks Martin, that clarifies things.

Keep up the (ridiculously high output of) good work ;)
Age

@agemooij I just released 0.3 with full custom serializer support. Serializers can now be configured in the same way as in akka-persistence.

Nice! Thanks!


Compliments to alexa

I've added an array of compliments and a list of utterances relevant to the project.
There's one more thing to edit before this project is complete - that I am aware of - that I'm not sure how to - everywhere "SpaceGeek" appears, it should really say "ComplimentBot" instead. However, SpaceGeek is a child of AlexaSkill.
I'm not sure what the relationship to SpaceGeek (and AlexaSkill) is and how it's used in generating and saying space facts. (I.E. from my perception of the code, we could take out all instances of SpaceGeek and the app should still work - I literally don't know what it does and why we need it.) Therefore, I'm not in a position to edit this.

I agree with you about SpaceGeek. Seems like we should be able to globally search & replace that for ComplimentBot and be fine because it's simply a class name. I'll give it a shot and then test it online.


Rename repo + plugin

In order to publish to NPM a new name is needed: json-datasource? Not sure if its worth to rename the repo, too but it would make the difference clear.

I've used json-datasource in the readme updates.


<EMAIL_ADDRESS>is incompatable with node import ecmascript modules

Reproduction
# example.mjs
import ion from 'ion-js'

$ node example.mjs
(node:2254388) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
node_modules/ion-js/dist/es6/es6/Ion.js:15
import IntSize from "./IntSize";
^^^^^^
SyntaxError: Cannot use import statement outside a module
Node.js v18.16.0

This error is not thrown from example.mjs, nor is it fixed by setting "type": "module" in the package.json.
The root cause is that ion-js uses node's conditional exports to declare that ./dist/es6/es6/Ion.js should be loaded when imported and /dist/commonjs/es6/Ion.js should be loaded when requireed (package.json). But Ion's dist/es6/es6 does not follow node's requirements for ECMAScript modules

imports must use file extensions
Modules must be written in .mjs files, or in a package with "type": "module"

I'm applying this patch to remove the import conditional export. Node will use the compatible cjs distribution. If I was using a bundler I may add "module": "./dist/es6/es6/Ion.js" if I wanted the bundler to import es6. I haven't sent this as a pull request because I'm not sure if that would break anyone that's relying on the exports.
diff --git a/node_modules/ion-js/package.json b/node_modules/ion-js/package.json
index 352cfee..6755113 100644
--- a/node_modules/ion-js/package.json
+++ b/node_modules/ion-js/package.json
@@ -5,8 +5,7 @@
   "main": "dist/commonjs/es6/Ion.js",
   "types": "dist/commonjs/es6/Ion.d.ts",
   "exports": {
-    "import": "./dist/es6/es6/Ion.js",
-    "require": "./dist/commonjs/es6/Ion.js"
+    ".": "./dist/commonjs/es6/Ion.js"
   },
   "scripts": {
     "commit": "git-cz",


Azure Storage General Purpose V2 doesnt work with Data Factory Data Flow

Hello,
It appears that the Data Flow task in Azure data factory does not work when trying to use a General purpose v2 storage as the source. I am not able to preview data, and when I run the data flow is fails. However there are no validation errors.
When I change the source to a general purpose v1 container with the same data, it works great.
Thank you.

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

ID: 607b235f-468f-0494-3e7e-5f1e53e745f4
Version Independent ID: bbed8d23-b22a-d50c-22fb-e656f4cfebd2
Content: Mapping data flows in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/concepts-data-flow-overview.md
Service: data-factory
GitHub Login: @kromerm
Microsoft Alias: makromer

Hi @knaidoo33 - Thank you for your feedback. Since this channel is more for driving improvements towards MS Docs, could you provide us with a URL of the documentation that your feedback is most applicable to? That way, we're able to locate the right team that's better suited to address your feedback.

I would say this is the most relevant documentation I have found.
https://docs.microsoft.com/en-us/azure/data-factory/concepts-data-flow-overview

Thanks @knaidoo33! We'll review this further and update as appropriate.

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

@knaidoo33 Mapping Data Flow follows an extract, load, transform (ELT) approach and works with staging datasets that are all in Azure. Currently the following datasets can be used in a source transformation:

Azure Blob Storage (JSON, Avro, Text, Parquet)
Azure Data Lake Storage Gen1 (JSON, Avro, Text, Parquet)
Azure Data Lake Storage Gen2 (JSON, Avro, Text, Parquet)
Azure Synapse Analytics
Azure SQL Database
Azure CosmosDB

Reference: Source transformation in mapping data flow.
Hope this helps.


IAsyncStreamReader.MoveNext() in bidirectional stream can not be cancelled by a CancellationToken

in receive thread:
IAsyncStreamReader<ServerMsg> responseStream;
CancellationToken cancelToken; // cancelToken = source.Token
try {
   while (await responseStream.MoveNext(cancelToken)) {
      ...
   }
} catch(Exception e) {
   ...
}

in other thread
CancellationTokenSource source;
source.Cancel();

after call Cancel(), the receive thread should get an exception and quit the while loop. But actually nothing happened.

Hi @lumieru ,
thanks for submitting the ticket. I added additional code to allow testing this case https://github.com/doctorseus/grpc-dotnet-unity/commit/e7a5cacf872c2b58d871ae59d7b9594ad8142aa6. However, here in both cases, so server streaming and bi-directional streams, the call gets cancelled immediately from what I can tell. It would be great if you could provide some additional information when this happens, or even better, if you would be able to reproduce the issue with the example code shipping with the project, then I could take another look.

You are right. It can be cancelled by a CancellationToken. I used it in a wrong way.


Search popup is never removed from DOM

I use many Search inputs, in different views.
I didn't found any way in current version to set which modal should be open (if you could add an option to reuse modals to have multiple inputs, it would be awesome, ...maybe wrong).
But when the view containing the input is destroyed, the ion-autocomplete modal is never removed from DOM. After some time using my application, i have plenty of modals in DOM.

Hi Rémi,
thanks for reporting this issue! I will have a look at it as soon as I have the time. If you need it urgently then maybe a pull request from your side would be really appreciated ;) as currently I do not have that much time, and there are some other issues I need to check first.
Thanks and regards,
Guy

Hi Rémi,
after the upgrade to Ionic 1.1.0 and Angular 1.4.3 and the change to the bindToController I realized that  we need to use a modal per autocomplete component, as if not, the model bindings don't work properly and we just compile the template once. But I added a fix to it that multiple modals can be opened.
What do you mean with the view is destroyed? Ionic caches them and therefore you have all the elements in the DOM somehow. Can you maybe elaborate more on this? If there is a callback then we could remove it from the DOM.
I will close this now as I cannot fix it.
Thanks and regards,
Guy


Added command to replace _source.py with static version

This is automatic using 'build' and 'sdist', is useful for deploying with git.

I pushed a branch named "cmd-static-version" with an updated form of this command (cmdclass.py was rearranged a lot since you wrote this patch). Could you give it a spin and see if it meets your needs? I left out the .gitignore changes. I'd also like to add a test before we land it, and maybe rename the command to something more active sounding like "set-static-version" or "write-static-version", or give it a docstring or something, so that setup.py --help-commands makes it clear what will happen if you use it.

Closing this stale PR. (We can reconsider an update or if there is still a need)


updated Safari bug description for team review

Per team discussion, this PR updates the message presented to Safari users to communicate more clearly that this is an issue with Webkit that Safari uses for websockets, not an issue with the NDT test itself.

Does onebox disable the scaling just for Safari, or for all browsers?
On Thu, Apr 22, 2021 at 11:12 AM robertodauria @.***>
wrote:

@.**** commented on this pull request.
In app/measure/measure.html
https://github.com/m-lab/mlab-speedtest/pull/45#discussion_r618493195:

@@ -1,8 +1,11 @@

-    We're sorry, the Safari browser is not compatible with the NDT
-    test. Please use a different browser such as Chrome or Firefox instead.
+    We're sorry, but M-Lab has identified bugs with Safari's websockets implementation that
+    results in innacurate results when using the browser to run the NDT test
+    (both ndt7 and ndt5 versions). Please use a different browser such as Chrome
+    or Firefox instead. For more information, please see this issue.
The download test is slow I believe due to a lot of garbage collection
happening while receiving data, I don't think it can be mitigated. Nothing
like that happens on other browser engines.
The upload test bug, which causes the client to crash after reporting an
insanely high upload rate for the first 1-2 measurements (0.5s), can be
mitigated by disabling message size scaling and reducing desiredBuffer,
which is what the OneBox client does.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/m-lab/mlab-speedtest/pull/45#discussion_r618493195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE7SM6S225JTKBIH3J4Y5YDTKA4GRANCNFSM43K6M5IA
.

--
Greg Russell / Measurement-Lab
https://memegen.googleplex.com/4558349824688128

@laiyi-ohlsen Would you have a moment to look at this text change? If so we can get it approved and push out a new release.

@gfr thanks for your review. If we could move the discussion about how OneBox deals with Safari over to Slack or a new issue, that will help us focus here on updating the messaging for our site users about Safari.

I believe this PR is now superseded by https://github.com/m-lab/mlab-speedtest/pull/46, which enables Safari again.


validates order param

:red_circle: Acceptance.
Passing ?order= thows an SQL error. I think we are missing a present? check somewhere and it doesn't pick up the default in this case. It tries to do ORDER by visualizations. (which is incorrect).

Upss, good catch. Just added the check, also for the page and per_page parameters.


Fix set-default-repositories-type-to-sources on project views

Closes #5940
Test URLs
https://github.com/users/janpio/projects/3/views/1
Screenshot

Description
The error was produces by a selector trying to find an item that doesn't exists in the page.
Changes
The method was doing reference to the user's profile dropdown using the :last-child selector, looks like later a new item was added turning the user's profile item in the second last item. This PR change the selector to select the profile dropdown again.

Thank you for the PR! Doesn't this break it on every other page where the current selector works?

I think it doesn't need a per-page selector. We can fix it by using a different selector that doesn't involve nth-child.

Let me check how it works, I'll try with the observer, also I was checking other options, looks like the item we are looking for have this unique mix of clases .position-relative.Header-item.mr-0 at it works perfectly, but let me try the observer

Sure. Once you get it working, you can refer to how it's generally used. For example:

it should accept a {signal} parameter (see how that works in other features the use selector-observer.ts)
it should not use onetime in the definition (which it currently does)

We could add some pre-commits here 😅

Linting and testing is slow, post-commits are better in this case. 😜 You wouldn't want to run the whole suite every time you make a single commit

Thank you for your contribution!

Thank you indeed!


ADDITION: TVHeadend

What this PR does / why we need it:
This PR adds TVHeadend as an installable service via Ansible and Docker. TVHeadend is a streaming and recording server for television broadcasting and can be used with different backends, like IPTV, DVB tuner cards and so on.
Which issue (if any) this PR fixes:
#325
Any other useful info:
Though I think the PR is ready as it is (and tested locally), there are still some thoughts I have:

I added a new directory / share for recordings, because I think the "tv" folder does not quite fit the needs of TVHeadend which not only records series. I'm open for other opinions here.
DVB drivers / firmware: I wasn't sure whether to include tasks for installing DVB drivers and firmware. For my personal hardware (WinTV Quad HD), I would need, for example, the Hauppauge ppa and the Linux media tree (see https://hauppauge.com/pages/support/support_linux.html#ppa). As this is very specific to the users hardware, I currently see this out of scope for ansible-nas.

I went on and tested it on my 'test' server. I don't know what caused it but when I complete the 'Quick setup', I end up locked out of the TVHeadend interface with a password prompt. I tried the 'admin' and 'user' password specified during the quick setup but nothing seems to work.
Here's my configuration:
tvheadend_enabled: true
tvheadend_network_mode: host

I had to put 'tvheadend_network_mode: host' for the discovery of my HDHomeRun.

I went on and tested it on my 'test' server. I don't know what caused it but when I complete the 'Quick setup', I end up locked out of the TVHeadend interface with a password prompt. I tried the 'admin' and 'user' password specified during the quick setup but nothing seems to work.
Here's my configuration:
tvheadend_enabled: true
tvheadend_network_mode: host

I had to put 'tvheadend_network_mode: host' for the discovery of my HDHomeRun.

Closing due to no activity, and I don't have the hardware to test it.


fix(parser): fix duplicated comments during parser rewind

closes #2592

Merge activity

Mar 4, 1:07 AM EST: @Boshen merged this pull request with Graphite.


Expand variables ahead of time

Note: If you use the fuzzy expressions such as 'can't use/no effect/problem/error', but don't give any relevant auxiliary information according to the template below, this issue will be not replied.

Describe the bug
The code like "io.writefile("set.h","$(buildir)")" didn't run correctly,the content of set.h shows $(build).From the result,xmake didn't seem to expand variable ahead of time.
Expected behavior
I expect that  content of this file is absolute path of current building directory.
Related Environment
Please provide compiling and running environment information:

xmake version:2.5.1
os:windows
target platform: mingw

import("core.project.config")
io.writefile("set.h", config.buildir())

import("core.project.config")
io.writefile("set.h", config.buildir())

it's not absolute path

it's not absolute path

io.writefile("set.h", path.absolute(config.buildir()))

io.writefile("set.h", path.absolute(config.buildir()))


added inertial_sense_ros to melodic distribution.yaml

I did this once before and got a comment from @tfoote for licensing, but I was to slow to fix it. I added licensing to the README and added license.txt
Hope that covers all the bases!

Thanks for the updates, looks better now.


iterate runMode when pressing Page + Mode

Current behaviour:
Pressing Page + Mode jumps from FORWARD directly to RANDOM WALK
Desired behaviour:
Pressing Page + Mode iterating through all RunModes available
I wasn't able to figure out where to look in the code, if you could point me in the right direction I'd happily test it and make a PR

I just noticed that not only the ´RunModes´ are affected, but all sequence settings

I think you don't understand the UI here. When you press PAGE + MODE you see a bunch of LEDs light up (S1-S6) with the red one being the currently selected mode. Press those buttons to select the new mode.
But it seems there is also a hidden bug because pressing PAGE + MODE and then MODE again should actually do nothing, because it's not one of the assigned buttons to select modes.


Build failed: Print: Entry, ":CFBundleIdentifier", Does Not Exist

🐛 Bug Report
Trying to init a new project, getting build failed error.
I see there's #199, #174 and possibly others, but didn't find any fix in the comments that'd fix it for me.
WriteAuxiliaryFile /Users/brunolemos/Projects/del/macos/macos/build/Build/Intermediates.noindex/React.build/Debug/double-conversion.build/Objects-normal/x86_64/double-conversion.LinkFileList (in target: double-conversion)
    cd /Users/brunolemos/Projects/del/macos/node_modules/react-native-macos/React
    write-file /Users/brunolemos/Projects/del/macos/macos/build/Build/Intermediates.noindex/React.build/Debug/double-conversion.build/Objects-normal/x86_64/double-conversion.LinkFileList

** BUILD FAILED **

The following commands produced analyzer issues:
	Analyze /Users/brunolemos/Projects/del/macos/node_modules/react-native-macos/ReactCommon/yoga/yoga/Yoga.cpp normal x86_64
(1 command with analyzer issues)

The following build commands failed:
	CompileC /Users/brunolemos/Projects/del/macos/macos/build/Build/Intermediates.noindex/React.build/Debug/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/brunolemos/Projects/del/macos/node_modules/react-native-macos/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/brunolemos/Projects/del/macos/macos/build/Build/Intermediates.noindex/React.build/Debug/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/brunolemos/Projects/del/macos/node_modules/react-native-macos/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
	CompileC /Users/brunolemos/Projects/del/macos/macos/build/Build/Intermediates.noindex/React.build/Debug/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/brunolemos/Projects/del/macos/node_modules/react-native-macos/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(3 failures)
Launching build/Build/Products/Debug/macos.app
The application cannot be opened because it has an incorrect executable format.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug/macos.app/Contents/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

To Reproduce
Steps to reproduce the behavior:

npm i -g react-native-macos
react-native-macos init macos && cd macos && react-native-macos run-macos

Expected Behavior
Run project.
Environment

macOS v10.14.4
react-native-macos v0.19.3

@brunolemos Workaround Steps as follow:

Close your Xcode.
Open Terminal, go to your project's root folder and exec:

  cd node_modules/react-native/third-party/glog-{X}.{X}.{X}/

Run the configure script:

./configure

That does fix this build error, thanks! :)
cd node_modules/react-native-macos/third-party/glog-0.3.4/
./configure

But we shouldn't need to do this, something need to be fixed.


build: add direnv support

As promised, this PR adds support for direnv to work together with asdf seamlessly.
To make use of it, direnv and asdf-direnv should be set up.

What also might be interesting in advance is, that we could easily integrate direnv with .env (dotenv) files by using dotenv_if_exists
Recently, I also stumbled upon https://github.com/jdxcode/rtx which look quite promising to me, but afaik it handles env-specific vars differently and preferably would not be used alongside with direnv. So this might be sth to consider for improvements in the future ;)

What also might be interesting in advance is, that we could easily integrate direnv with .env (dotenv) files by using dotenv_if_exists

I think for an app this might be good, but for an open source project, there's no actually many environment variables, though I'm prototyping environment support this week for Bud 😄

Let's give this a shot either way. Thanks @wheinze!

Hmm... just tried it. Getting:
direnv: loading ~/dev/src/github.com/livebud/bud/.envrc
direnv: using asdf
/bin/bash:1033: use_asdf: command not found

I'd like this to support the following scenarios, basically:

no direnv, no problem
no asdf, no problem
direnv, no asdf, no problem
asdf, no direnv, no problem

Where asdf & direnv are progressive enhancements. Reverting for now, sorry.


m2m-oauth-server: allow to manage API access tokens

@coderabbitai generate a description for this pullrequest about the managing m2m-oauth-server tokens feature targeting to not plgd developers.


Command palette now handles empty keybinds

The border is now hidden when there are no keybinds.
Fixed the keybinds not matching the model for each row.

Codecov Report

Merging #158 (2b4930b) into main (bf5f340) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
- Coverage   40.05%   39.95%   -0.11%
==========================================
  Files          78       78
  Lines        3882     3892      +10
  Branches      483      485       +2
==========================================
  Hits         1555     1555
- Misses       2247     2257      +10
  Partials       80       80

Impacted Files
Coverage Δ

src/Whim.CommandPalette/PaletteRow.xaml.cs
0.00% <0.00%> (ø)

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 bf5f340...2b4930b. Read the comment docs.


⚠ Bofrost.fr has degraded performance

In a0aa59b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1346 ms

Resolved: Bofrost.fr performance has improved in a4ba7b1.


Can WebUI print out command for training index as well as inference?

If you click the button that goes through all the steps, it prints out what command it's executing.
Step 1: Processing data
python3 trainset_preprocess_pipeline_print.py...
step2a:正在提取音高
python3 extract_f0_rmvpe.py...
python3 extract_f0_rmvpe.py...
Step 2b: Extracting features
python3 extract_feature_print.py...
Step 3a: Model training started
python3 train_nsf_sim_cache_sid_load_pretrain.py...
training index
adding index
...
All processes have been completed!

However, it doesn't print out the command for training index.
Same thing, it does not print out the command for inferencing.
Can we have those commands to be printed in both terminal as well as in WebUI?
I haven't checked ckpt processing tab, but it will be great if they print out the commands as well if they don't already.
It's extremely useful to be able to get those commands and run without WebUI.

I just separate code for train index in new script (my forked repo). And use it in Kaggle notebook without web-ui. May be some later I will make pull request to original repo.
So you can try to reuse my script:
https://github.com/elcolex777/Retrieval-based-Voice-Conversion-WebUI/blob/main/train_index_print.py
I have also upload my kaggle notebook which I use. It’s worked, I think)
https://github.com/elcolex777/Retrieval-based-Voice-Conversion-WebUI/blob/main/Retrieval_based_Voice_Conversion_WebUI_v2_kaggle.ipynb

inference: refer to
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/infer_batch_rvc.py
or
https://huggingface.co/lj1995/VoiceConversionWebUI/blob/main/myinfer-v2-0528.py (you may need to modify something)
train the index: refer to
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/blob/main/infer-web.py#L1023
they don't use commands so... maybe you need to learn python or find someone to help you write the command line version

I just made the change for new vc models (works also for olders but not really adapted) I submitted the contribution to hugging face here is the file :
# runtime\python.exe myinfer.py 0 "C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\INPUTS_VOCAL\vocal.wav" "C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\logs\Hagrid.index" harvest "C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\INPUTS_VOCAL\test.wav" "C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\weights\HagridFR.pth" 0.6 cuda:0 True 5 44100 44100 1.0 1.0 True

import os,sys,pdb,torch
now_dir = os.getcwd()
sys.path.append(now_dir)
import argparse
import glob
import sys
import torch
from multiprocessing import cpu_count
class Config:
    def __init__(self,device,is_half):
        self.device = device
        self.is_half = is_half
        self.n_cpu = 0
        self.gpu_name = None
        self.gpu_mem = None
        self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()

    def device_config(self) -> tuple:
        if torch.cuda.is_available():
            i_device = int(self.device.split(":")[-1])
            self.gpu_name = torch.cuda.get_device_name(i_device)
            if (
                ("16" in self.gpu_name and "V100" not in self.gpu_name.upper())
                or "P40" in self.gpu_name.upper()
                or "1060" in self.gpu_name
                or "1070" in self.gpu_name
                or "1080" in self.gpu_name
            ):
                print("16系/10系显卡和P40强制单精度")
                self.is_half = False
                for config_file in ["32k.json", "40k.json", "48k.json"]:
                    with open(f"configs/{config_file}", "r") as f:
                        strr = f.read().replace("true", "false")
                    with open(f"configs/{config_file}", "w") as f:
                        f.write(strr)
                with open("trainset_preprocess_pipeline_print.py", "r") as f:
                    strr = f.read().replace("3.7", "3.0")
                with open("trainset_preprocess_pipeline_print.py", "w") as f:
                    f.write(strr)
            else:
                self.gpu_name = None
            self.gpu_mem = int(
                torch.cuda.get_device_properties(i_device).total_memory
                / 1024
                / 1024
                / 1024
                + 0.4
            )
            if self.gpu_mem <= 4:
                with open("trainset_preprocess_pipeline_print.py", "r") as f:
                    strr = f.read().replace("3.7", "3.0")
                with open("trainset_preprocess_pipeline_print.py", "w") as f:
                    f.write(strr)
        elif torch.backends.mps.is_available():
            print("没有发现支持的N卡, 使用MPS进行推理")
            self.device = "mps"
        else:
            print("没有发现支持的N卡, 使用CPU进行推理")
            self.device = "cpu"
            self.is_half = True

        if self.n_cpu == 0:
            self.n_cpu = cpu_count()

        if self.is_half:
            # 6G显存配置
            x_pad = 3
            x_query = 10
            x_center = 60
            x_max = 65
        else:
            # 5G显存配置
            x_pad = 1
            x_query = 6
            x_center = 38
            x_max = 41

        if self.gpu_mem != None and self.gpu_mem <= 4:
            x_pad = 1
            x_query = 5
            x_center = 30
            x_max = 32

        return x_pad, x_query, x_center, x_max

f0up_key=sys.argv[1]
input_path = sys.argv[2]
index_path = sys.argv[3]
f0method = sys.argv[4]
opt_path = sys.argv[5]
model_path = sys.argv[6]
index_rate = float(sys.argv[7])
device = sys.argv[8]
is_half = bool(sys.argv[9])
filter_radius = int(sys.argv[10])
tgt_sr = int(sys.argv[11])
resample_sr = int(sys.argv[12])
rms_mix_rate = float(sys.argv[13])
version = sys.argv[14]
protect = sys.argv[15].lower() == 'false'

print(sys.argv)
config=Config(device,is_half)
now_dir=os.getcwd()
sys.path.append(now_dir)
from vc_infer_pipeline import VC
from lib.infer_pack.models import SynthesizerTrnMs768NSFsid, SynthesizerTrnMs768NSFsid_nono
from lib.audio import load_audio
from fairseq import checkpoint_utils
from scipy.io import wavfile

hubert_model=None
def load_hubert():
    global hubert_model
    models, saved_cfg, task = checkpoint_utils.load_model_ensemble_and_task(["hubert_base.pt"],suffix="",)
    hubert_model = models[0]
    hubert_model = hubert_model.to(device)
    if(is_half):hubert_model = hubert_model.half()
    else:hubert_model = hubert_model.float()
    hubert_model.eval()

def vc_single(sid, input_audio, f0_up_key, f0_file, f0_method, file_index, index_rate, filter_radius, tgt_sr, resample_sr, rms_mix_rate, version, protect):
    global net_g, vc, hubert_model
    if input_audio is None:return "You need to upload an audio", None
    f0_up_key = int(f0_up_key)
    audio=load_audio(input_audio,16000)
    times = [0, 0, 0]
    if(hubert_model==None):load_hubert()
    if_f0 = cpt.get("f0", 1)
    # audio_opt=vc.pipeline(hubert_model,net_g,sid,audio,times,f0_up_key,f0_method,file_index,file_big_npy,index_rate,if_f0,f0_file=f0_file)
    audio_opt = vc.pipeline(hubert_model, net_g, sid, audio, input_path, times, f0_up_key, f0_method, index_path, index_rate, if_f0, filter_radius, tgt_sr, resample_sr, rms_mix_rate, version, protect, f0_file=f0_file)
    print(times)
    return audio_opt

def get_vc(model_path):
    global n_spk,tgt_sr,net_g,vc,cpt,device,is_half
    print("loading pth %s"%model_path)
    cpt = torch.load(model_path, map_location="cpu")
    tgt_sr = cpt["config"][-1]
    cpt["config"][-3]=cpt["weight"]["emb_g.weight"].shape[0]#n_spk
    if_f0=cpt.get("f0",1)
    if(if_f0==1):
        net_g = SynthesizerTrnMs768NSFsid(*cpt["config"], is_half=is_half)
    else:
        net_g = SynthesizerTrnMs768NSFsid_nono(*cpt["config"])
    del net_g.enc_q
    print(net_g.load_state_dict(cpt["weight"], strict=False))  # 不加这一行清不干净，真奇葩
    net_g.eval().to(device)
    if (is_half):net_g = net_g.half()
    else:net_g = net_g.float()
    vc = VC(tgt_sr, config)
    n_spk=cpt["config"][-3]
    # return {"visible": True,"maximum": n_spk, "__type__": "update"}

get_vc(model_path)
wav_opt = vc_single(0, input_path, f0up_key, None, f0method, index_path, index_rate, filter_radius, tgt_sr, resample_sr, rms_mix_rate, version, protect)
wavfile.write(opt_path, tgt_sr, wav_opt)

And here an update of the README.md english to use the file :
## Using the script without a graphical interface (via command line)

For users who prefer a non-GUI approach, you can directly execute the script via the command line.

 **Target voice number**: `0` (in this example)
2. **Path to the input audio file**: `"C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\INPUTS_VOCAL\vocal.wav"`
3. **Path to the index file**: `"C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\logs\Hagrid.index"`
4. **Method for pitch (F0) extraction**: `harvest` (in this example)
5. **Output path for the processed audio file**: `"C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\INPUTS_VOCAL\test.wav"`
6. **Path to the model**: `"C:\ YOUR PATH FOR THE ROOT (RVC0813Nvidia)\weights\HagridFR.pth"`
7. **Index rate**: `0.6` (in this example)
8. **Device for execution (GPU/CPU)**: `cuda:0` for an NVIDIA card, for example.
9. **Copyright protection (True/False)**.
10. **Filter radius**: `5` (in this example)
11. **Target sampling rate**: `44100` (in this example)
12. **Resampling rate**: `44100` (in this example)
13. **RMS mixing rate**: `1.0` (in this example)
14. **Version**: `1.0` (in this example)
15. **Protection**: `True` (in this example)

Ensure you replace paths with the ones relevant to your setup and adjust other parameters as per your requirements.


Color picker popup enhancement to optionally display caret icon.

The new 'showCaret' prop will allow the display of the up/down caret icon depending on state of Popup panel.

@mergifyio backport release/2.11.0

@mergifyio backport release/2.11.0

@Mergifyio backport release/2.11.x

@Mergifyio backport release/2.11.x


General Information?

Evaluate need to potentially add general information section under notes

all necessary information fit under existing topics


Added double BR for take note in UG

Codecov Report

Merging #303 (264512e) into master (49eb90e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #303   +/-   ##
=========================================
  Coverage     68.26%   68.26%
  Complexity      771      771
=========================================
  Files           107      107
  Lines          2641     2641
  Branches        319      319
=========================================
  Hits           1803     1803
  Misses          755      755
  Partials         83       83

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 49eb90e...264512e. Read the comment docs.


PDPTW with Start/End Nodes Crashes

Hi all,
I am experiencing an issue in which my simple PDPTW setup crashes for the starts and ends arrays below.
timeMatrix =
[[0, 0, 2, 3]
[0, 0, 2, 3]
[2, 0, 0, 5]
[3, 0, 5, 0]]
pickupsDeliveries = [[2, 3]]
timeWindows =
[[26097540, 26097840]
[26097540, 26097840]
[26097540, 26097780]
[26097840, 26098140]]
vehicleNumber = 1
starts = [0]
ends = [1]
I understand that nodes to be visited cannot be part of starts and ends arrays. I have 4 nodes (0, 1, 2, 3) where the pickup-delivery pair is 2->3. My start node is 0 and end node is 1. With this setup, the program crashes with "SIGSEGV" error. However, when both starts = [0] and ends = [0], it works. I'm not using the node 1 as part of any pickup-delivery pair. Why would having node 1 as the end node crash the program in this case? I appreciate any inputs.
@Mizux any idea?
PDPTW-Java-crash.txt
What version of OR-tools and what language are you using?
Version: 7.8.7959.
Language: /Java/Python/C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Routing Solver
What operating system (Linux, Windows, ...) and version?
Ubuntu 20.04
What did you do?
Setup the problem with the datamodel having the data:
timeMatrix =
[[0, 0, 2, 3]
[0, 0, 2, 3]
[2, 0, 0, 5]
[3, 0, 5, 0]]
pickupsDeliveries = [[2, 3]]
timeWindows =
[[26097540, 26097840]
[26097540, 26097840]
[26097540, 26097780]
[26097840, 26098140]]
vehicleNumber = 1
starts = [0]
ends = [1]
What did you expect to see
An assignment 0-->2-->3-->1
What did you see instead?
The program crashed with:
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV

duplicate of #2091

side note: You can't use start or end node as node of a Pickup and Delivery pair (implementation limitation).
You can try to duplicate the end node instead...

I'm sorry if things weren't clear enough, but I don't think this issue is a duplicate of #2091.
Neither start (0) or end node (1) is part of the pickup-delivery pair (2->3).  Things only work when start and end nodes are the same. If they're different, I experience the crash.

ok, my bad, did you try using master and compiling from source ?

Yes, I used the maven dependency from https://github.com/panavis/google-or-tools-maven. The sample examples from documentation all work fine.
See the code I ran:
`import com.google.ortools.Loader;
import com.google.ortools.constraintsolver.Assignment;
import com.google.ortools.constraintsolver.FirstSolutionStrategy;
import com.google.ortools.constraintsolver.LocalSearchMetaheuristic;
import com.google.ortools.constraintsolver.IntVar;
import com.google.ortools.constraintsolver.RoutingDimension;
import com.google.ortools.constraintsolver.RoutingIndexManager;
import com.google.ortools.constraintsolver.RoutingModel;
import com.google.ortools.constraintsolver.RoutingSearchParameters;
import com.google.ortools.constraintsolver.Solver;
import com.google.ortools.constraintsolver.main;
import com.google.protobuf.Duration;
import java.util.logging.Logger;
/** Minimal Pickup & Delivery Problem (PDPTW).*/
public class VrpPickupDelivery {
static {
Loader.loadNativeLibraries();
}
private static final Logger logger = Logger.getLogger(VrpPickupDelivery.class.getName());
static class DataModel {
public final long[][] timeMatrix = {
{0, 0, 2, 3},
{0, 0, 2, 3},
{2, 0, 0, 5},
{3, 0, 5, 0},
};
public final int[][] pickupsDeliveries = {
{2, 3},
};
public final long[][] timeWindows = {
{26097540, 26097840},
{26097540, 26097840},
{26097540, 26097780},
{26097840, 26098140},
};
public final int vehicleNumber = 1;
public final int[] starts = {0};
public final int[] ends = {0};
}
/// @brief Print the solution.
static void printSolution(
DataModel data, RoutingModel routing, RoutingIndexManager manager, Assignment solution) {
// Inspect solution.
RoutingDimension timeDimension = routing.getMutableDimension("Time");
long totalTime = 0;
for (int i = 0; i < data.vehicleNumber; ++i) {
long index = routing.start(i);
logger.info("Route for Vehicle " + i + ":");
String route = "";
while (!routing.isEnd(index)) {
IntVar timeVar = timeDimension.cumulVar(index);
route += manager.indexToNode(index) + " Time(" + solution.min(timeVar) + ","
+ solution.max(timeVar) + ") -> ";
index = solution.value(routing.nextVar(index));
}
IntVar timeVar = timeDimension.cumulVar(index);
route += manager.indexToNode(index) + " Time(" + solution.min(timeVar) + ","
+ solution.max(timeVar) + ")";
logger.info(route);
logger.info("Time of the route: " + solution.min(timeVar) + "min");
totalTime += solution.min(timeVar);
}
logger.info("Total time of all routes: " + totalTime + "min");
}
public static void main(String[] args) throws Exception {
// Instantiate the data problem.
final DataModel data = new DataModel();
// Create Routing Index Manager
RoutingIndexManager manager = new RoutingIndexManager(data.timeMatrix.length, data.vehicleNumber, data.starts, data.ends);

// Create Routing Model.
RoutingModel routing = new RoutingModel(manager);

// Create and register a transit callback.
final int transitCallbackIndex =
    routing.registerTransitCallback((long fromIndex, long toIndex) -> {
      // Convert from routing variable Index to user NodeIndex.
      int fromNode = manager.indexToNode(fromIndex);
      int toNode = manager.indexToNode(toIndex);
      return data.timeMatrix[fromNode][toNode];
    });

// Define cost of each arc.
routing.setArcCostEvaluatorOfAllVehicles(transitCallbackIndex);

// Add Time dimension.
routing.addDimension(transitCallbackIndex, // transit/ total time function callback callback
    5, // allow waiting time
    Long.MAX_VALUE, // the maximum value for time
    false, // start cumul to zero
    "Time");

RoutingDimension timeDimension = routing.getMutableDimension("Time");

// Add time window constraints at each node (location as well as vehicles)
for (int i = 0; i < data.timeWindows.length; ++i) {
    long index = manager.nodeToIndex(i);
    timeDimension.cumulVar(index).setRange(data.timeWindows[i][0], data.timeWindows[i][1]);
}

// Instantiate route start and end times to produce feasible times.
for (int i = 0; i < data.vehicleNumber; ++i) {
    routing.addVariableMinimizedByFinalizer(timeDimension.cumulVar(routing.start(i)));
    routing.addVariableMinimizedByFinalizer(timeDimension.cumulVar(routing.end(i)));
}

// Define Transportation Requests.
Solver solver = routing.solver();
for (int[] request : data.pickupsDeliveries) {
    long pickupIndex = manager.nodeToIndex(request[0]);
    long deliveryIndex = manager.nodeToIndex(request[1]);
    routing.addPickupAndDelivery(pickupIndex, deliveryIndex);
    solver.addConstraint(solver.makeEquality(routing.vehicleVar(pickupIndex), routing.vehicleVar(deliveryIndex)));
    solver.addConstraint(solver.makeLessOrEqual(timeDimension.cumulVar(pickupIndex), timeDimension.cumulVar(deliveryIndex)));
}

// Allow to drop nodes.
long penalty = 1000;
for (int i = 1; i < data.timeMatrix.length; ++i) {
  routing.addDisjunction(new long[] {manager.nodeToIndex(i)}, penalty);
}

// Setting first solution heuristic.
RoutingSearchParameters searchParameters = main.defaultRoutingSearchParameters()
		.toBuilder()
		.setFirstSolutionStrategy(FirstSolutionStrategy.Value.PARALLEL_CHEAPEST_INSERTION)
		.setLocalSearchMetaheuristic(LocalSearchMetaheuristic.Value.GUIDED_LOCAL_SEARCH)
		.setTimeLimit(Duration.newBuilder().setSeconds(30).build())
        .build();

// Solve the problem.
Assignment solution = routing.solveWithParameters(searchParameters);

// Print solution on console.
printSolution(data, routing, manager, solution);

}
}`
Am I doing something wrong especially here when adding time window constraints at each node?

@Mizux , did you get a chance of running this?

I can reproduce it using the pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project
  xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.google.ortools</groupId>
<artifactId>Tsp</artifactId>
<version>8.0</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
<description>Google OR-Tools Java project.</description>
<url>https://github.com/google/or-tools</url>

<licenses>
  <license>
    <name>The Apache License, Version 2.0</name>
    <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  </license>
</licenses>

<developers>
  <developer>
    <name>Corentin "Mizux" Le Molgat</name>
<EMAIL_ADDRESS>    <organization>Google LLC</organization>
    <organizationUrl>http://www.google.com</organizationUrl>
  </developer>
  <developer>
    <name>Laurent Perron</name>
<EMAIL_ADDRESS>    <organization>Google LLC</organization>
    <organizationUrl>http://www.google.com</organizationUrl>
  </developer>
</developers>

<scm>
  <connection>scm:git:git://github.com/google/or-tools.git</connection>
  <developerConnection>scm:git:ssh://github.com:google/or-tools.git</developerConnection>
  <url>http://github.com/google/or-tools/tree/master</url>
  <tag>HEAD</tag>
</scm>

<issueManagement>
  <system>GitHub Issues</system>
  <url>http://github.com/google/or-tools/issues</url>
</issueManagement>

<properties>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  <exec.mainClass>VrpPickupDelivery</exec.mainClass>
  <maven.compiler.source>1.8</maven.compiler.source>
  <maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
  <dependency>
    <groupId>com.google.ortools</groupId>
    <artifactId>ortools-java</artifactId>
    <version>[8.0,)</version>
    <type>jar</type>
    <scope>compile</scope>
  </dependency>
</dependencies>

<build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-source-plugin</artifactId>
      <version>3.2.0</version>
      <executions>
        <execution>
          <id>attach-sources</id>
          <goals>
            <goal>jar-no-fork</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-javadoc-plugin</artifactId>
      <version>3.2.0</version>
      <executions>
        <execution>
          <id>attach-javadocs</id>
          <goals>
            <goal>jar</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>
</project>

I'll try to find the issue...

trace:
$ cat hs_err_pidXXXX.log
...
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.google.ortools.constraintsolver.mainJNI.IntExpr_setRange(JLcom/google/ortools/constraintsolver/IntExpr;JJ)V+0
j  com.google.ortools.constraintsolver.IntExpr.setRange(JJ)V+7
j  VrpPickupDelivery.main([Ljava/lang/String;)V+129
j  java.lang.invoke.LambdaForm$DMH.invokeStaticInit(Ljava/lang/Object;Ljava/lang/Object;)V+10<EMAIL_ADDRESS>j  java.lang.invoke.LambdaForm$MH.invoke_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V+18<EMAIL_ADDRESS>j  org.codehaus.mojo.exec.ExecJavaMojo$1.run()V+85
j  java.lang.Thread.run()V+11<EMAIL_ADDRESS>v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x000000000000003d

ok found, few errors

You can't use nodeToIndex() for start and end so please rewrite it like this:

    // Add time window constraints at each node (only for locations)
    for (int i = 2; i < data.timeWindows.length; ++i) {
      long index = manager.nodeToIndex(i);
      timeDimension.cumulVar(index).setRange(data.timeWindows[i][0], data.timeWindows[i][1]);
    }
    for (int i = 0; i < data.vehicleNumber; ++i) {
      long start_index = manager.getStartIndex(i);
      timeDimension.cumulVar(start_index).setRange(data.timeWindows[0][0], data.timeWindows[0][1]);
      long end_index = manager.getEndIndex(i);
      timeDimension.cumulVar(end_index).setRange(data.timeWindows[1][0], data.timeWindows[1][1]);
    }

note: notice the first loop start from 2 since 0 and 1 are start and end nodes respectively....

Same for disjunction, you can add start/end node to a disjunction:

    for (int i = 2; i < data.timeMatrix.length; ++i) {
      routing.addDisjunction(new long[] {manager.nodeToIndex(i)}, penalty);
    }

You should offset your values

   public final long[][] timeWindows = {
      {7540, 7840},
      {7540, 7840},
      {7540, 7780},
      {7840, 8140},
    };
...
    routing.addDimension(transitCallbackIndex, // transit/ total time function callback callback
        5, // allow waiting time
        50000, // the maximum value for time

You problem is currently infeasible

    // Print solution on console.
    if (solution == null) {
      printSolution(data, routing, manager, solution);
    } else {
      logger.info("No solution found !");
    }

note, if using:
   routing.addDimension(transitCallbackIndex, // transit/ total time function callback callback
        50, // allow waiting time

output is:
Oct 06, 2020 11:02:53 AM VrpPickupDelivery printSolution
INFO: Route for Vehicle 0:
Oct 06, 2020 11:02:53 AM VrpPickupDelivery printSolution
INFO: 0 Time(7540,7540) -> 1 Time(7540,7540)
Oct 06, 2020 11:02:53 AM VrpPickupDelivery printSolution
INFO: Time of the route: 7540min
Oct 06, 2020 11:02:53 AM VrpPickupDelivery printSolution
INFO: Total time of all routes: 7540min


Would it be able to feed in the audio itself for classifier_skid.compute_similarity function instead of giving the audio's path?

classifier_skid = wespeaker.load_model('english')

Of course it can, welcome to contribute!

Done. check https://github.com/wenet-e2e/wespeaker/pull/361


Multiline search results sometimes shows second line

VSCode Version: 1.29 Insiders
OS Version: Windows 10

Found while testing https://github.com/Microsoft/vscode/issues/62102
Steps to Reproduce:

Try (---\n# ) in vscode-docs repo

If you select the first search result to open in the editor and then the second, the correct first line result is shown.

#62186


Testing azure websub hub locally

Description:
$subject
Related issue - https://github.com/ballerina-platform/ballerina-standard-library/issues/4514

This task is completed. Results can be seen in the sheet in the related issue.


jaeger 1.25 Unexpected end of JSON input

Describe the bug
jaeger 1.25 Unexpected end of JSON input
To Reproduce
Steps to reproduce the behavior:
go run main.go --query.static-files=/Users/xxx/GolandProjects/jaeger/jaeger-ui/packages/jaeger-ui/build/

http://<IP_ADDRESS>:16686/trace/af899a3500540bb781a68b98b36ec2e2

Screenshots

Version (please complete the following information):

OS: mac
Jaeger version: 1.25
clickhouse version : <IP_ADDRESS>

What troubleshooting steps did you try?
Try to follow https://www.jaegertracing.io/docs/latest/troubleshooting/ and describe how far you were able to progress and/or which steps did not work.
Additional context
Add any other context about the problem here.

https://github.com/bobrik/jaeger/tree/ivan/clickhouse/plugin/storage/clickhouse

Could you please the trace data that are submitted to Jaeger?

请问提交给Jaeger的trace数据好吗？

I found the problem because the head of the returned span list accidentally carried nil, like this [nil,span,span,spam]


chore: bump versions

Hello,
Could you please publish a release with the latest fixes ?
Thanks :+1:

Sorry didn't see this PR and pushed the version straight to master.
This patch had been released on 13.0.2


Update version-history.md for ReadOnly parameter

This fix updates the docs/api/version-history.md for ReadOnly parameter, which is now available in POST /services/create and POST /services/(id or name)/update.
This fix is a follow up to #30162.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>/cc @vieux

thanks! LGTM


PR: Add coverage files and Notepad++ backups to gitignore

Just as it says on the tin, a rather trivial pull request to add all code coverage files (coverage.MACHINENAME.####.####) to the .gitignore list, along with Notepad++ auto-backup directories, the former per consultation with @ccordoba12  and the latter mostly for convenience (if not desired, I'm fine with omitting it).

For some reason, the cancelled AppVeyor build for the closed accidental duplicate PR (against a different branch, with a different name, tags and the like) got linked to this PR instead of the actual AppVeyor build for this one. However, once the real one passed, looks like it fixed itself.


Propagate deployment labels to workload

This PR add labels propagation from the edgedeployment CR to the
workload swagger specification.
The labels will be used to create the podman pod and so the pod could be
customized by specifing labels in the edgedeployment CR.
Issue: https://issues.redhat.com/browse/ECOPROJECT-281
For example if user want to create a pod with containers that has auto-update policy, he would create the edgedeployment as follows:
apiVersion: management.project-flotta.io/v1alpha1
kind: EdgeDeployment
metadata:
  name: nginx
  labels:
    io.containers.autoupdate: registry
spec:
  type: pod
  pod:
    spec:
      containers:
        - name: nginx
          image: quay.io/bitnami/nginx:latest

This will create a pod with label io.containers.autoupdate: registry and also all containers in the pod with such a label.

@machacekondra how are the labels passed from the edgedeployment to the workload?

@machacekondra how are the labels passed from the edgedeployment to the workload?

Here: https://github.com/project-flotta/flotta-operator/pull/137/files#diff-ef2e06de9376c57c9524d086563a9579009a3251daf879c752093a91b34e883fR451

@machacekondra how are the labels passed from the edgedeployment to the workload?

so the entire list of labels is passed from EdgeDeployment to the workload, without any filtering on its content.
also, no prefix to figure out if a special trait needs to be passed on.
while this api simplifies things, it also passes more information than needed to the workload.
I prefer to add a prefix to the label which indicates it is relevant for the workload only.
In addition, the auto-update feature has also the option to specify auth-file by label io.containers.autoupdate.authfile.
Is there anything we can do from operator side to verify the required information is provided?
Any need to mount a file? Check the completeness of the EdgeDeployment CR based on this?

so the entire list of labels is passed from EdgeDeployment to the workload, without any filtering on its content. also, no prefix to figure out if a special trait needs to be passed on. while this api simplifies things, it also passes more information than needed to the workload.
I prefer to add a prefix to the label which indicates it is relevant for the workload only.

No problem to add prefix. Which do you suggest? For example io.containers.*? I was thinking about exposing a parameter in Edgedeployment CR, like
auto-update:
   type: registry

but in the end I thought propagating the labels would be generic and will work also with potential other label features. So maybe adding the filter io.containers.* would make sense here, if you agree.

In addition, the auto-update feature has also the option to specify auth-file by label io.containers.autoupdate.authfile. Is there anything we can do from operator side to verify the required information is provided? Any need to mount a file? Check the completeness of the EdgeDeployment CR based on this?

Not sure if we should do any validation if authfile is correct. Should we do validation just for existance, but not for a real validity? Or both?

but in the end I thought propagating the labels would be generic and will work also with potential other label features. So maybe adding the filter io.containers.* would make sense here, if you agree.

I thought of podman/ as the prefix for any label that will be directed passed on to the workload.
e.g. podman/io.containers.autoupdate=registry
or any other label that the user might want to specify.

Not sure if we should do any validation if authfile is correct. Should we do validation just for existance, but not for a real validity? Or both?

I wanted to verify only its existence. How does podman behave if the label is specified and file is missing?
I'd expect it to fail. If this isn't the case, maybe a bug needs to be reported to podman.

Since it is going to be part of the API, pls describe it in a doc under https://github.com/project-flotta/flotta-operator/tree/main/docs/user-guide
Not sure if this one should go into deploying-workloads.md or image-registries-auth.md

Overall, LGTM

How does that work with
https://github.com/project-flotta/flotta-operator/blob/e00a492ce456d2b68e157a2f0ce064e961d6c874/internal/yggdrasil/yggdrasil.go#L465
current support for custom authfile?

That's a good question. Both work independently. Now question is should it? I can't think of a reason, where user would like to have two different autfiles, one for normal images and second for updates images, but I could be wrong.
So in general we could reuse authfile from custom authfile for podman autoupdates. We would need to just create volume for user, currently he is responsible. And we need to document it well, because the behavior will be different from podman and we won't be consistent.

I think we should stick to one way of passing authfiles to the edgedevices in all use cases. Preferrably one that would be easier for the user.

I think we should stick to one way of passing authfiles to the edgedevices in all use cases. Preferrably one that would be easier for the user.

Ok, I will rework it.


[Not For Merge]: Plugins API for @excalidraw/excalidraw

(This might not be the PR you are looking for.  #5349 duplicates #3915, and #5429 provides an actual @excalidraw/plugins stub package.)
#5349 is a rollup subset of #2993.  (#2993 contributes three features: an initial @excalidraw/plugins package; custom ExcalidrawElement subtype extensions; and MathJax support as a plugin.)
Overview of #5349
This PR is to start the creation of a plugins API for @excalidraw/excalidraw.  The description of #3915 provides an overview of the first commit here (essentially the second feature of #2993).  The first commit provides a mechanism to decouple custom extensions of ExcalidrawElement from the Excalidraw codebase.  This mechanism is used in the MathJax plugin of #2993, and can also be used for Kroki, Mermaid, and the like.
cc @dwelle @ad1992

This is not the PR you are looking for; see #2993 instead.


update error messages for localization

Codecov Report

Merging #452 into dev will increase coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #452      +/-   ##
============================================
+ Coverage     46.24%   46.32%   +0.08%
- Complexity     2195     2200       +5
============================================
  Files           108      108
  Lines         25212    25212
  Branches       4165     4165
============================================
+ Hits          11659    11680      +21
+ Misses        11533    11510      -23
- Partials       2020     2022       +2

Flag
Coverage Δ
Complexity Δ

#JDBC41
46.21% <ø> (+0.14%)
2194 <ø> (+9)
:arrow_up:

#JDBC42
46.15% <ø> (-0.02%)
2192 <ø> (-1)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SQLServerResource.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...n/java/com/microsoft/sqlserver/jdbc/Parameter.java
63.73% <0%> (-0.22%)
62% <0%> (-1%)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.54% <0%> (-0.07%)
239% <0%> (ø)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
33.06% <0%> (+0.2%)
244% <0%> (+2%)
:arrow_up:

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
42.42% <0%> (+0.21%)
46% <0%> (ø)
:arrow_down:

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
53.92% <0%> (+0.26%)
0% <0%> (ø)
:arrow_down:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
44.71% <0%> (+0.44%)
105% <0%> (+1%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
52.59% <0%> (+1.48%)
12% <0%> (+1%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
47.19% <0%> (+5.61%)
16% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #452 into dev will increase coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #452      +/-   ##
============================================
+ Coverage     46.24%   46.32%   +0.08%
- Complexity     2195     2200       +5
============================================
  Files           108      108
  Lines         25212    25212
  Branches       4165     4165
============================================
+ Hits          11659    11680      +21
+ Misses        11533    11510      -23
- Partials       2020     2022       +2

Flag
Coverage Δ
Complexity Δ

#JDBC41
46.21% <ø> (+0.14%)
2194 <ø> (+9)
:arrow_up:

#JDBC42
46.15% <ø> (-0.02%)
2192 <ø> (-1)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SQLServerResource.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...n/java/com/microsoft/sqlserver/jdbc/Parameter.java
63.73% <0%> (-0.22%)
62% <0%> (-1%)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.54% <0%> (-0.07%)
239% <0%> (ø)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
33.06% <0%> (+0.2%)
244% <0%> (+2%)
:arrow_up:

...ncurrentlinkedhashmap/ConcurrentLinkedHashMap.java
42.42% <0%> (+0.21%)
46% <0%> (ø)
:arrow_down:

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
53.92% <0%> (+0.26%)
0% <0%> (ø)
:arrow_down:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
44.71% <0%> (+0.44%)
105% <0%> (+1%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
52.59% <0%> (+1.48%)
12% <0%> (+1%)
:arrow_up:

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
47.19% <0%> (+5.61%)
16% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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

309: {"R_AKVURLInvalid", "Invalid url specified: {0}." }, to {"R_AKVURLInvalid", "Invalid URL specified: {0}." },
292: Not sure what ack is. Is this acceptable?
391: {"R_invalidStringValue", "SQL_VARIANT does not support string values more than 8000 length."}, to SQL_VARIANT does not support string values of length > 8000 maybe?

389: SQL_VARIANT is not supported in versions of SQL Server before 2008 maybe?

392: Use of TVPs containing null sql_variant columns is not supported. ?

225: can not to cannot

263: Please remove the extra space between encryption key and :

367: Please remove 2 spaces between must be specified, and if

375: Please remove the space after {"R_TVPnotWorkWithSetObjectResultSet"


Typescript support

Are there plans to also support typescript?

Yes, someday I will definitely add typescript support.  Unfortunately, I can't give an estimate right now.  Any help on this matter is welcome 😄

I have made progress on this. I switched the svelte packages to use svelte-package instead of rollup. I think this is a straight upgrade (as far as svelte support) from rollup, following svelte's/sveltekit's near-full migration to vite. In common, I have added some jsdoc and generated ambient types as well as manually created types for Resource, Options, Duration, Plugin and others. I tried to leave the internals mostly alone, but I made a few small changes like removing the assign utility function, for example (wasn't working nicely with typing). I also added a simple demo site for the svelte component.
I originally was planning on just forking and maintaining my own publication, so I have made some other changes like using pnpm with workspaces, removing rollup/publishing from the top level, adding a GitHub workflow, and adding a linter/formatter. However, I found I didn't really want to mess with the internals (common), so I ended up just doing as much jsdoc as I could on top of your source thinking maybe merging would be possible. I hope at least you can find some use in the typing that I have added if merging seems like a problem. Let me know if you would like me to make a pr. I took out the scripts for versioning and publishing because I wanted to do that with changesets but never got around to it (or changing it back).
I'd like to look into styling in the components instead of importing the scss stylesheet in Calendar. I think another improvement would be to migrate docs (especially the Options object) into jsdoc and generate from there.
Thank you for creating this package! You can see my fork here: https://github.com/LeagueBrain/calendar

@ksmoore17 Thanks for starting this change. I looked at the result and it's impressive. I see value for the upstream repository in the types you defined here.
I would not like to use jsdoc as an intermediate solution, but go straight to typescript. And I would not want to accept all your changes, because there are so many of them. Maybe the right way is a smooth transition to typescript by rewriting individual functions and components? So that no more than a few files get into the pull request at a time and for them it is possible to carefully do a code review?

GitHub workflow - If it works as well as the current tool, then why not. Although it's not difficult for me to npm run publish when a new release is ready.
Workspaces - I'm not sure I understand what it's about. Can you explain?
svelte-package - It's from SvelteKit, right? I don't really see much point in using SvelteKit to develop the library. Maybe I don't know about some advantages that SvelteKit provides when working on a library, and not on a website. What will be the benefit?

More thoughts on typescript. Perhaps I was in a hurry with the fact that the entire project needs to be rewritten in typescript. After all, Svelte and SvelteKit projects that will use the Event Calendar will use the source files of the library. And if the project does not use typescript? It turns out an extra dependency that can limit the use of the library. I would like to avoid such a situation.

Don't overthink this.

If you rewrite in typescript it doesn't force consumers of your lib to use it (the conversion to pure js will be done as part of your build/publish steps).
If you don't want to rewrite in TS simply supply the .d.ts files with your code

Option 2 is probably harder to maintain long term.
Great project! I hope you add ts sport soon.

Don't overthink this.

Yeah, my concern was about Svelte/SvelteKit projects that use the library's source code. But after some research, I realized that it is possible to get pure JS Svelte source files as a result of compiling Typescript source code.

Any updates on this?

Unfortunately, nothing was done on this task.

I'm sorry.. the fullcalendar model with the options object ended up not working for me, so I lost interest.

Is there an update on this? I am quite interested in using this

See also issue #254, some users are exploring solutions for this issue but we can bring the conversation back here.
If anyone's interested in doing some early testing try putting this file (rename from .d.ts.txt to .d.ts) in your project and let me know if any of the type descriptions seem erroneous.

The community-supported type info is merged into the @types NPM repo and has been published, your IDE might auto-discover them or you may need to install them explicitly as dev dependencies.  For example in my project I added these as deps:
  "devDependencies": {
  ... snip ...
    "@types/event-calendar__core": "^3.4.0",
    "@types/event-calendar__interaction": "^3.4.0",
    "@types/event-calendar__resource-time-grid": "^3.4.0",
    "@types/event-calendar__time-grid": "^3.4.0",
  ... snip ...

If you spot any issues with the type info let me know or open a PR against the code at the @types repo and it should automatically ping me for review.

@syncsynchalt Thank you very much for the work done. This is really impressive!

FYI: I've added type hints for the two new 3.5+ features (filterEventsWithResources and Resource.extendedProps) in an additional PR to the community-maintained @types/event-channel package: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70792
Anyone can approve that PR if they're interested, but it won't be merged until someone on the typescript team looks.
If anyone would like to be a co-maintainer of the @types package let me know, that will allow us to mutually approve/review our changes without waiting for the TypeScript team to take a look.

If anyone would like to be a co-maintainer of the @types package let me know

Please add me as a co-maintainer. Thank you.

It seems like the "@types/event-calendar__core" lib does not export support for using calendar with svelte (and ts).
Is anyone having the same issue ?

It seems like the "@types/event-calendar__core" lib does not include support for using calendar with svelte (and ts). Is anyone having the same issue ?

That'll be for me to look into, I'll learn some Svelte and dig into this in the coming week.
I suspect I'll have to define Calendar as having props/methods similar to those listed here, but I'll know better once I have a working (type-broken) example to play with.

@Flymeth I'm unable to reproduce the error you're seeing, but I also had to add plugins= and options= attributes to <Calendar /> (per the EC readme) for it to render successfully.  options can be an empty object, but plugins must be an array of one or more plugins.
My test project is here, let me know if you can reproduce your error there or if you can give a sample project of your own and I'll take a look.

I just cloned your repo, and the typing issue is still here.
Apparently it's just a typing issue because i've no problem at build/dev time and the calendar is working on the web page.
I'll try to edit the package in node_modules to find out where the problem is coming from

I just understood where the problem comes from (at least I hope) :

In your code you instanciate the SvelteComponent without any props (to be able to construct the calendar as a svelte component or as a class). But behind
To type that it's very difficult (maybe impossible idk), so my solution was to better type the component and passing "options" as 'any'

The problem doing that is that I lost the "options" type when wanting to instanciate the calendar using the class.
I'll try to fin da solution tomorrow

Due to the appearance of the @types repo , I think I can close this ticket. Please open a new one if necessary.


Ignore exceptions thrown by running ldconfig during linking

Pull Request Description
Fixes erroneous behaviour when missing ldconfig would cause foreign function linking failure. If executing ldconfig results in an exception, it is ignored.
Important Notes
Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[ ] The code conforms to the Luna Style Guide.
[ ] The code has been tested where possible.

is this connected with https://github.com/luna/Dataframes/issues/94 ?


added LogAction stored procedure

added LogAction stored procedure

Looks good. I am curious why we're selecting the most recent log in this procedure?

that's just to return the new row as a sort of confirmation that it was added. it also allows the caller to get the ID back of the new row, in case that's needed


Tentative vim support.

I recently created vim-dyon which provides basic syntax highlighting and uses vim's smartindent for auto indentation. I am not particularly familiar with dyon or Vimscript so it probably isn't too polished. Not sure if you consider it polished enough to be included in the "editor plugins" section. If you want to though, feel free.

Thank you! Added: https://github.com/PistonDevelopers/dyon/blob/master/README.md

Closing.


Wrong Logic Kokiri Forest (Green Rupee and Blue Rupee And Recovery Heart)

https://imgur.com/a/KbCcy2i
The green rupee and the blue rupee and the recovery heart are only available when you are a child and not an adult

Same as the boulder maze. Adult had no rules in place


Bump version ranges for OpenGL, OpenGLRaw and linear

linear-opengl imposes quite restrictive version bounds on OpenGL, OpenGLRaw and linear. Newer versions are available for all of those packages.

Fixed and released as <IP_ADDRESS>. Thanks for the report!


Implemented /sync and deprecated /initialSync

This fixes #17 and #30
I've removed some of the v1 API of ye olden days and replaced it with the new API, there shouldn't be any breaking changes for client users.
Also, this should be more sensible when dealing with interruptions (by either backing off or throwing depending on if we can recover) which should help users getting issues running their bots longterm.

LGTM


Respect perfdata property.

When perfdata is deactivated on a object, we do not need to try to
generate graphs.

@sargon thank you.


Quota error

I am getting an error when I try to run the
az deployment group create -g rg-iaas -f infra-as-code/bicep/main.bicep -p location............................................................

"message":"Operation could not be completed as it results in exceeding approved Total Regional Cores quota.
Additional details - Deployment Model: Resource Manager, Location: FranceCentral, Current Limit: 10,
Current Usage: 0, Additional Required: 18, (Minimum) New Limit Required: 18.

Whis is supporting this and who can help? Thanks in advance
Originally posted by @eliassal in https://github.com/mspnp/cloud-design-patterns/issues/117#issuecomment-1935528526

Looks like you are out of Quota, @eliassal. The deployment requires 18 cores but you only have 10 available in FranceCentral in your subscription. You'll need to 1) modify the template to use less cores or 2) increase your quota in that subscription for that region or 3) choose another region that has enough quota.

Hi, I ran the
./sample-1-azure-setup.sh uniqname
(I changed the location to francecentral) It created some resources as follows

Then I get an error as follows

"details":[{"code":"QuotaExceeded",
"message":"Operation could not be completed as it results in exceeding approved Total Regional Cores quota.
Additional details - Deployment Model: Resource Manager, Location: FranceCentral, Current Limit: 10,
Current Usage: 0, Additional Required: 18, (Minimum) New Limit Required: 18.

Which does not allow to create the VMSS
I modified the template with VMs with 2 cores instead the VMs in the templates which have 4 cores but still getting the same error. I moved to use West Europe instead of FranceCentral, same thing is happening
Thanks for your help to let me know how I can make it go through with my free subscription

Should be impossible to get the exact same error as the "Additional Required: 18" would have needed to change if you changed SKUs.  Since there are six VMs, and a quota of 10 on your subscription, you would need to choose a single core VM, because 6 x 2 = 12 which is > 10 still.

Hi @ckittel I did changed to 1 core, 1st run failed for an issue of outloadbalancer (a lot of items were created PIP, log space, app gateway). I deleted the RG and then rerun the deploy command but it stops after creating log-francecentral with the following error 👍

{"status":"Failed","error":
{"code":"DeploymentFailed","target":"/subscriptions/f151ee3f-4725-460d-8e3b-82512dfda843/resourceGroups/rg-iaas/providers/Microsoft.Resources/deployments/main",
"message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/f151ee3f-4725-460d-8e3b-82512dfda843/resourceGroups/rg-iaas/providers/Microsoft.Resources/deployments/monitoringDeploy",
"message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.",
"details":[{"code":"DeploymentFailed","target":"/subscriptions/f151ee3f-4725-460d-8e3b-82512dfda843/resourceGroups/rg-iaas/providers/Microsoft.Resources/deployments/monitoringDeploy",
"message":"At least one resource deployment operation failed.
Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details":[{"code":"InvalidPayload",
"message":"Data collection rule is invalid",
"details":[{"code":"InvalidOutputTable","target":"properties.dataFlows[0]","message":"Table for output stream 'Custom-WindowsLogsTable_CL' is not available for destination 'log-francecentral'."}]},
{"code":"InvalidPayload","message":"Data collection rule is invalid","details":[{"code":"InvalidOutputTable","target":"properties.dataFlows[0]",
"message":"Table for output stream 'Microsoft-ConfigurationChange' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[0]","message":"Table for output stream 'Microsoft-ConfigurationChangeV2' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[0]","message":"Table for output stream 'Microsoft-ConfigurationData' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[1]","message":"Table for output stream 'Microsoft-InsightsMetrics' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[2]","message":"Table for output stream 'Microsoft-Event' is not available for destination 'log-francecentral'."}]},
{"code":"InvalidPayload","message":"Data collection rule is invalid","details":[{"code":"InvalidOutputTable","target":"properties.dataFlows[0]",
"message":"Table for output stream 'Microsoft-ConfigurationChange' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[0]","message":"Table for output stream 'Microsoft-ConfigurationChangeV2' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[0]","message":"Table for output stream 'Microsoft-ConfigurationData' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[1]","message":"Table for output stream 'Microsoft-InsightsMetrics' is not available for destination 'log-francecentral'."},
{"code":"InvalidOutputTable","target":"properties.dataFlows[3]","message":"Table for output stream 'Microsoft-Syslog' is not available for destination 'log-francecentral'."}]}]}]}]}}


lock does not work because swaylock is called with non-exising command line parameters by default

Hi there,
thanks for your great work, really appreciate it!
problem description
I noticed that the default value for $locking calls swaylock with a bunch of parameters that swaylock does not support.
Here is the default $locking command string from /etc/sway/definitions :
set $locking swaylock --daemonize --color "$selection-color" --inside-color "$selection-color" --inside-clear-color "$text-color" --ring-color "$color2" --ring-clear-color "$color11" --ring-ver-color "$color13" --show-failed-attempts  --grace 2 --effect-vignette 0.5:0.5 --effect-blur 7x5 --ignore-empty-password --screenshots --clock

It uses the following parameters that swaylock -h doesn't list:

fade-in
grace
effect-vignette
effect-blur
screenshots
clock

Consequently, when calling lock by windows+shift+e and then "l" for lock, nothing happens.
workaround
A workaround is to override $locking in .config/sway/definitions.d/lockfix.conf like this:
set $locking swaylock --daemonize --color "$selection-color" --inside-color "$selection-color" --inside-clear-color "$text-color" --ring-color "$color2" --ring-clear-color "$color11" --ring-ver-color "$color13" --show-failed-attempts  --ignore-empty-password

There I have simply stripped off all the unsupported command line params.
But this also means there is no blurred screenshot like I know from manjaro i3 version.
expected behaviour
I wish swaylock would work with out of the box with the default sway config + a nice visual appearance with a blurred desktop screenshot :-)
I hope this report helps to improve manjaro sway edition.
Felix

I am using swaylock on a daily basis, are you using the version from our repos (swaylock-effects).

I installed  manjaro sway from (I think) the official manjaro sway iso.
swaylock --version
swaylock version 1.6

But I don't have a swaylock-effects package installed
pacman -Qs swaylock
local/swaylock 1.6-2
    Screen locker for Wayland

I think I did not change anything after installing manjaro sway from the iso.
Maybe the manjaro sway iso comes with swaylock (without -effects) but with a config that needs swaylock-effects.

hi @felixniemeyer, did you download the minimal image? If so, in 20/30 minutes there should be a new release to try.

Hi @boredland
I have replaced swaylock with swaylock-effects via pacman.
Now everything works fine and looks good!
I don't want to try reinstalling my system right now, if this is, what youre asking me to do^^ but the line that adds swaylock-effects to the requirements looks good.
I hope me reporting this was helpful in the sense that others who install manjaro sway form the minimal image get a working lock out of the box.
Thank you!

ah, you're right. that would be rather complicated. great to hear things work on your end now!


Development Planning Meeting, Thursday, Nov 16, 8:30 pm, Discord

Topics

[ ] Go over Vnv issues.
[ ] Assign development works
[ ] Plan development time line.

Attendance

[x] @qstommyshu
[x] @yex33
[x] @marischan888
[x] @jiaoa3
[ ] @KehaoHuang

Conclusions

Start resolving issues and revise documents after VnV feedback releases.
Combine and organize feedback from both peers and TA. Responsible for the portion of work you have done.
Do research on your own on client-server communication through WebRTC.
Research on adding annotations on local video streams (local webcam).


[FLINK-29869][ResourceManager] make ResourceAllocator declarative.

What is the purpose of the change
This pull request makes ResourceAllocator declarative in order to reduce the coupling between the SlotManager and the ResourceManager
Brief change log

Introduce declareResourceNeeded into ResourceAllocator. ActiveResourceManager will allocate/release workers to meet the declared resources.
SlotManager use declareResourceNeeded instead of allocate/releaseResource to reduce the coupling between the SlotManager and the ResourceManager

Verifying this change
This change added tests and can be verified as follows:

Added tests that validates that ResourceManager will allocate/release workers to meet the declared resources.
Update the tests for SlotManager to use the declarative api.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes, ResourceManager/SlotManager)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

https://docs.google.com/document/d/1lcmf3MKmcmf9tsPc1whaZHMYKurGoGtqOXEep9ngP2k/edit

@xintongsong Could you please help review this PR in your free time?

@flinkbot run azure

Thanks for your comment, @xintongsong, I made the changes

delete UnwantedWorker and UnwantedWorkerWithResourceProfile. Make the unwanted workers as hint.
add totalWorkerCounter to maintian the count of all workers which have resource spec(include recovered workers)
remove the delayed check of declarationResource, since its cost is not very heavy.

@xintongsong thanks for the review. problems are addressed. In addition, ARM#requestWorkerIfRequired has been replaced by checkResourceDeclarations at this PR.

I have manually verified these tests below, with DeclarativeSlotManager and DeclarativeSlotManager

job with 2 parallism, flink cluster with 2 TaskManagers, each have 1 slot.
TaskManager could released when idle timeoued.
TaskManager could released when registered slots more than max.
New JobManager/RM will use the previous TM when JobManager failover.
New TaskManager will be requested when TaskManager terminated.

registered taskmanager terminated
allocated not registered taskmanager terminated
released by RM because of reaching resourcemanager.taskmanager-registration.timeout

Thanks, @xintongsong, comments are addressed except the XXXWithDely, we can address this in another PR.
I force pushed the new commits since it is not easy to avoid conflict while move TestingResourceAllocator.java#declareResourceNeededConsumer to the previous commit.


Add edit command

Allows editing of secrets using the default EDITOR.

Codecov Report

Merging #9 into master will increase coverage by 0.34%.
The diff coverage is 97.82%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   91.78%   92.13%   +0.34%
==========================================
  Files           7        7
  Lines         694      737      +43
==========================================
+ Hits          637      679      +42
- Misses         57       58       +1

Impacted Files
Coverage Δ

src/passthesalt/core.py
100% <100%> (ø)
:arrow_up:

src/passthesalt/cli.py
81.16% <97.56%> (+2.35%)
:arrow_up:

Continue to review full report at Codecov.

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


Output Cache 1.9 and Authenticated Requests

I was just testing out authenticated output caching, and noticed something that effectively breaks this feature for us.
We have unique content on the website based on two things:

User Account (Welcome [username] message)
User Role

Widgets that display different content depending on role
Navigation that displays different menu items depending on role

I've noticed that with caching authenticated requests enabled (testing on my local dev environment), the unique content will be cached and served up to a different user.
i.e. If I'm logged in as User2 and the page I'm visiting was cached by User1, the welcome message would say Welcome User1.  The same applies to all other content.
I'm not sure how many people this would affect, and caching authenticated content would be great (if we could implement it or split it up by module and role).  Don't cache this, do cache this for all role members of role [x]...etc.  Not sure the best way to go about this or if this is even feasible, but perhaps a cache key which include role may be sufficient.
Thoughts?

Yeah, I have seen this happen too. I think the behavior is wrong, i think the cache key needs the user Id in it.

If that's the case, an ideal scenario would also include longer cache TTL for authenticated requests (or at least a different TTL).  I would love to be able to cache some layouts or shapes specifically though - for example: the welcome message.  No need to hit the DB every time to get the User first and last names (that is what we are displaying in our case, not the username).
On a side note, we could just store that in a cookie instead...with the Claims token, including what roles the user has (this is updated on login and pulled from the database every page load).  If roles are updated in the middle of a session, we would want to expire the cache for that user.

@DanielStolt whats your take on this? you are the caching man :)

Per user cache may also increase memory requirements severely.  Maybe requiring something like Redis Cache would be the way to go in this case...not sure.
Looking forward to hearing from @DanielStolt - also hope he's feeling better.

I think having the userid as cache might at best be optional. Otherwise this is an intended behavior, your are not supposed to use it if the content varies by user. You are instead supposed to use client based calls (ajax) to render these elements.
But as explained, we could easily allow a userid or role key dependency. We must have talked about it already, so Daniel will be able to answer quite easily.

Hey guys, sorry I'm late to the discussion here - for some reason I didn't think about enabling notifications for the Github repo...
Anyway, my take on this: I added this feature to accommodate scenarios/sites where the rendered markup does not change based on the user's identity or role memberships. If your site is such that you render role/user specific content, then this feature should not be disabled. It was not intended for such scenarios.
I always saw this as just a first step - it is on my TODO list to also add an option to vary by role membership, essentially by adding the IDs of all the user's roles to the cache key in a deterministic order. I think this would solve a large number of scenarios.
Varying the cache key by user ID I think would consume too much memory for many sites. But I don't see a problem with adding this as an option also. If you have a lot of RAM or externalized caching or a small number of users, you can enable it.
Additionally on my TODO list is making the cache key generation provider based, so that custom code can contribute cache keys for the current request. This would enable you to do pretty much anything that makes sense for your site, or even for different parts of your site as it would be per-request.
Finally, I think the configuration structure for output cache settings needs to be a lot more flexible. Currently most settings are only configurable for the whole tenant, while a select few of them can also be configured per route. But think we need more flexibility here, such as being able to configure all output cache settings by route, layer rules, content type, etc.

What about donut caching? We can cache part of the views.

Regarding donut caching, IDeliverable.Widgets can be used to enable ajax loading of any widget, effectively enabling donut caching. https://github.com/IDeliverable/IDeliverable.Widgets

Nice solution @DanielStolt!, thanks for sharing.


Crashing on Expo 50

After upgrading to Expo 50, we started getting the following errors when building our application when using the expo-barcode-generator:
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGCircle, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGClipPath, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGDefs, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGEllipse, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGForeignObject, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGGroup, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGImage, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGLine, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGLinearGradient, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGMarker, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGMask, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGPath, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGPattern, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGRadialGradient, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGRect, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGSvgView, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGSvgViewAndroid, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGSymbol, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGText, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGTextPath, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGTSpan, js engine: hermes
ERROR  Invariant Violation: Tried to register two views with the same name RNSVGUse, js engine: hermes

This issue only appears on native platforms, web appears to be unaffected.
I suspect this might be a version clash between the React Native SVG library Expo 50 and this package uses.
This package uses "react-native-svg": "^13.4.0" where Expo 50 recommends "react-native-svg": "14.1.0",.
Perhaps this library should update it's  "react-native-svg" version, or switch to using it as a peer dependency.

This issue should be fixed in version 2.0.0.


268 add mpi support for benchmarking

Adds out-of-the-box support for multi-processing using MPI.jl for the following functions:

generate_counterfactual
evaluate
benchmark

Additionally,

Adds tests and documentation.
Using conditional loading for MPI (package extension).
Also removed RCall and PythonCall dependencies and instead now working with extension (related to #269).

Codecov Report

Merging #270 (9010843) into main (60946b5) will decrease coverage by 5.87%.
The diff coverage is 69.44%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #270      +/-   ##
==========================================
- Coverage   83.66%   77.79%   -5.87%
==========================================
  Files          71       71
  Lines        1683     1680       -3
==========================================
- Hits         1408     1307     -101
- Misses        275      373      +98

Files Changed
Coverage Δ

ext/RCallExt/generators.jl
0.00% <0.00%> (ø)

ext/RCallExt/models.jl
0.00% <0.00%> (ø)

ext/RCallExt/utils.jl
0.00% <0.00%> (ø)

src/counterfactuals/visualization/printing.jl
0.00% <0.00%> (ø)

src/data_preprocessing/utils.jl
51.66% <ø> (-20.92%)
:arrow_down:

src/generators/gradient_based/loss.jl
44.00% <ø> (-31.76%)
:arrow_down:

src/models/Models.jl
71.42% <ø> (-3.58%)
:arrow_down:

src/models/utils.jl
44.73% <ø> (-16.24%)
:arrow_down:

src/parallelization/utils.jl
40.00% <40.00%> (ø)

src/traits.jl
66.66% <66.66%> (ø)

... and 4 more

... and 32 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

closes #268

closes #269


zathura: man pages updated

Note
The man pages had to be updated. So no recompilation is needed. I have in mind in that case
the version should not be changed. But, if I understand right, if somebody has already installed zathura,
the man pages won't be updated. Can you confirm ?
Existing package

[x] I am the maintainer of this package.

if somebody has already installed zathura, the man pages won't be updated

This is correct

The updated man page contains a new option to copy an url the the clipboard (shortcut c).  In this case, it can be very useful.
Between a new compilation which is not so long and this intersting option, I think it's better to recompile
zathura and update the man pages.
I have also updated the version of zathura.

@Vouivre please update the checksums accordingly.

I thought: easy change.... and I forgot the checksums.... thanks!
https://github.com/kiss-community/community/pull/741


Error when using dart2js trust types & primitives

If I run dart2js with commandLineOptions: ['--trust-type-annotations', '--trust-primitives']
I get the following error:
Uncaught Error: NoSuchMethodError: method not found: 'toHslColor$0' (color.toHslColor$0 is not a function)

Closing as this does not occur any longer when using the latest version of the package.


BandagedBD Installer is cropped out a bit?

Okay, so my BandagedBD installer is slightly cropped out?

I have no idea why it is like this, and it is really annoying since I need to repair Better Discord. (It's stuck on loading, but that information doesn't really seem that important) I've tried using the tab key and pressing enter to try and blindly do it, but it doesn't seem to work. The monitor connected to my laptop is 1366x768, and my laptop screen is 1920x1080 (laptop screen broke). I've tried on those two resolutions, and it didn't fix anything. Can someone please help me? Thanks.

read this https://www.wikihow.com/Zoom-Out-on-a-PC