Creating a Simple Real-Time Chat App using React and Socket.io with E2E Encryption

…2E Encryption
Article uploaded
Article checklist
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

This solves #1749

thanks, @WanjaMIKE. will review it tonight.

@ephnjor2021 Please go through the suggestions and ping me when you are done.

@zolomohan The requested changes have been made.
Thank you

@ephnjor2021 Please go through the suggestions and ping me when you are done.

@zolomohan The requested changes have been made.
Thank you.

👋 Good afternoon - upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
@ephnjor2021
Creating a Simple Real-Time Chat App using React and Socket.io with E2E Encryption #2020.pdf

@ephnjor2021 Please go through the attached document and try to reduce the overlap. Ping me when you are done.

@zolomohan The article overlap has been done and plagiarism reduced as possible.
Thank you.

@zolomohan The minor issue with css has been fixed.
Thank you

OVerall good work @ephnjor2021
please review my final edits as there were some issue and some parts that were difficult to read along.
Please review to help avoid in future articles - also be sure to check our resources page for more tips.
cc @zolomohan


fix connection-name-prefix documentation

Fixes documentation to reflect the actual connection-name-prefix property

@glowingSpark Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@glowingSpark Thank you for signing the Contributor License Agreement!


Improve update process for NK Start

Add improvements from the #48 case.
Tasks:

[ ] document potential issues when using Docker
[ ] discuss Pip installation alternatives, e.g. using single Python bundled binary, or pipenv, or venv, etc.
[ ] ask users to rerun the update process if the bootloader cannot be found
[ ] document OpenOCD flashing on Arch Linux (see #48 last comments)

This could also potentially happen if trying to update/interact with Nitrokey devices from Crostini (Linux apps) on a Chromebook. You don't get direct access to the device as there is a "broker" process that you have to grant explicit permission to redirect the USB device into the Linux apps, and I have noticed in the past when trying to "switch identities" that nitropy fails because the device isn't immediately available until the user allows it again, and the "soft reset" that nitropy tries to do doesn't appear to have any effect from the Crostini environment.


Impeller Degraded Scroll Performance with Blur, again (3.19.5)

Steps to reproduce
Upgrading from 3.19.2 -> 3.19.5 reintroduced degraded scroll performance with Impeller on iOS.
Setup:
Scrollview with Cupertino Elementes (Tabbar/Navbar) or Blurred Elements in general
Step 1:
Start Scrolling
Expected results
Smooth Scrolling of the Scrollview with Impeller.
Actual results
On Flutter 3.19.5  with Impeller-> jagged scrolling experience ... "stuttering"
On Flutter 3.19.5  with Skia-> Smooth Scrolling 120 fps
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @d83,
Does the issue only occur on high FPS devices? Also, could you share a minimal sample code to reproduce this?
I checked this on my device iPhone 7, iOS 15.8 which has 60Hz Refresh rate, using the sample code below, on Flutter master channel 3.22.0 but couldn't seem to see the issue.

Sample code
import 'package:flutter/cupertino.dart';

/// Flutter code sample for [CupertinoNavigationBar].

void main() => runApp(const NavBarApp());

class NavBarApp extends StatelessWidget {
  const NavBarApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const CupertinoApp(
      theme: CupertinoThemeData(brightness: Brightness.light),
      home: NavBarExample(),
    );
  }
}

class NavBarExample extends StatefulWidget {
  const NavBarExample({super.key});

  @override
  State<NavBarExample> createState() => _NavBarExampleState();
}

class _NavBarExampleState extends State<NavBarExample> {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      navigationBar: CupertinoNavigationBar(
        // Try removing opacity to observe the lack of a blur effect and of sliding content.
        backgroundColor: CupertinoColors.systemGrey.withOpacity(0.5),
        middle: const Text('CupertinoNavigationBar Sample'),
      ),
      child: ListView.builder(
        itemBuilder: (context, index) {
          return Container(
            color: Color((index * 0x12345678).hashCode),
            child: Text('Item $index'),
          );
        },
        itemCount: 100,
      ),
    );
  }
}

Hey @huycozy ,
I've only tested it on high-refresh-rate devices (iPhone 13 Pro & 14 Pro). I'll post a minimal setup to trigger it the commit days. It doesn't happen with Skia, so our current solution is to use Skia.
It seems to be worse once there are at least 3 elements on the screen. In our setup, we have a CustomSliverNavBar with blurring (Sigma 10), a CupertinoTabBar, and SliverPersistentHeader for sticky section headers in front of grouped lists.
On screens with that setup, scrolling on the mentioned devices is causing noticeable "stuttering" with Impeller. The simulator seems to be working just fine. Switching to Skia however, resolves the stuttering on the devices.
For these tests, I've been running it in release mode (flutter run --release --no-enable-impeller)

I have the same issue with a list of 3 blurred items, had to rollback to Skia for now.

I checked this on my device iPhone 7, iOS 15.8 which has 60Hz Refresh rate, using the sample code below, on Flutter master channel 3.22.0 but couldn't seem to see the issue.

I am reproducing it on the stable channel 3.19.5 and 3.19.6, have not tried the master

@Tom3652 Do you also experience the issue on high-refresh-rate devices as mentioned above? Could you share a minimal sample code so we can check it?

Yes sure @huycozy, i have actually changed a bit your sample code to make it lag :
import 'dart:ui';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() => runApp(const NavBarApp());

class NavBarApp extends StatelessWidget {
  const NavBarApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const CupertinoApp(
      theme: CupertinoThemeData(brightness: Brightness.light),
      home: NavBarExample(),
    );
  }
}

class NavBarExample extends StatefulWidget {
  const NavBarExample({super.key});

  @override
  State<NavBarExample> createState() => _NavBarExampleState();
}

class _NavBarExampleState extends State<NavBarExample> {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
      child: ListView.builder(
        itemBuilder: (context, index) {
          return Column(
            children: [
              Text("No blurred $index"),
              const SizedBox(
                height: 50,
              ),
              ClipRect(
                child: Stack(children: [
                  Align(
                    alignment: Alignment.centerLeft,
                    child: Text(
                      "Index $index",
                      style: const TextStyle(
                          color: Colors.black,
                          fontWeight: FontWeight.bold,
                          fontSize: 20),
                    ),
                  ),
                  BackdropFilter(
                    filter: ImageFilter.blur(sigmaY: 5, sigmaX: 5),
                    child: Container(color: Colors.transparent),
                  )
                ]),
              ),
            ],
          );
        },
        itemCount: 100,
      ),
    );
  }
}

This is very laggy on every iPhone i have (from iPhone 8 to iPhone 14 Pro max).
I even got an OOM while debugging on the iPhone XS Max if i let more items in the screen (50) while scrolling.
To see the difference, you can comment the blurred part and scroll with the "non-blurred" text in 60fps easily, then uncomment back the "blurred" Stack and see the drop to 30 fps if not less.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.88.0)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Thank @Tom3652. I can reproduce this issue with your sample code on my device iPhone 7, iOS 15.8. With Impeller, average FPS is ~38 while it's ~60 on Skia.

Impeller:

Skia:

Timeline trace JSON file (Impeller): dart_devtools_2024-04-23_10_31_47.090.json

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (31 hours ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 123.0.6312.124

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-15.0.pre.15, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.0-15.0.pre.15 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 89a4ffaad5 (56 minutes ago), 2024-04-22 22:16:42 -0400
    • Engine revision f8e373da52
    • Dart version 3.5.0 (build 3.5.0-86.0.dev)
    • DevTools version 2.35.0-dev.8
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 124.0.6367.62

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This regressed because the performance improvement had some bugs and so we needed to revert it in the 3.19.* branch. This has relanded in the 3.22 beta and upcoming stable.


Kaskara issues on coreutils/gnubug_26545

Using darjeeling i.e. pipenv run darjeeling repair bugs/vulnloc/coreutils/gnubug_26545/repair.darjeeling.yml from git@github.com:squaresLab/security-repair-benchmarks.git
Looks like clang analyzer is failing to generate a statements.json file. No other information is provided in stderr output.
58417 /workspace/source/src/shred.c:1220:31: warning: missing field 'n_iterations' initializer [-Wmissing-field-initializers      ]
58418   struct Options flags = { 0, };
58419                               ^
58420 visiting file: /workspace/source/src/shred.c
58421 /opt/kaskara/scripts/kaskara-statement-finder: line 5:    58 Segmentation fault      (core dumped) /opt/kaskara/bin/kaskara-statement-finder "$@"
58422 Error: No such container:path: 75841137dfa6d0bccee13a40964d4a9e37f19b8ff651f6a82b99b8ac285a69c7:/workspace/source/statements.json
58423 Traceback (most recent call last):
58424   File "/home/pdreiter/.local/share/virtualenvs/secrepben-_P0VbZEL/lib/python3.9/site-packages/dockerblade/files.py",       line 128, in copy_to_host
58425     subprocess.check_call(cmd, shell=True)
58426   File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
58427     raise CalledProcessError(retcode, cmd)
58428 subprocess.CalledProcessError: Command 'docker cp -L 75841137dfa6d0bccee13a40964d4a9e37f19b8ff651f6a82b99b8ac285a69c7:/workspace/source/statements.json /tmp/tmpzjn0fp__/contents' returned non-zero exit status 1.
58429

other bugs: libtiff/bugzilla_2611

Hey. Is there a particular reason why you're using security-repair-benchmarks rather than butrs-red-team-evaluation? (And pipenv run scripts/repair coreutils gnubug_26545.)
I also see a seg fault (and lots more debugging output + log files) while populating the database when I invoke the bug scenario via the Red Team Evaluation infrastructure:
DEBUG: StatementDatabase: adding statement...
DEBUG: obtained statement location: /workspace/source/src/dd.c@278:14::278:36
DEBUG: obtained source for statement: sizeof LONGEST_SYMBOL]
/opt/kaskara/scripts/kaskara-statement-finder: line 5:    56 Segmentation fault      (core dumped) /opt/kaskara/bin/kaskara-statement-finder "$@"
Error: No such container:path: 2a36269c5fc7c07bcf31c76d3aeadff52ecbb023c4ecf5d7816723ed345f25c4:/workspace/source/statements.json
Traceback (most recent call last):
  File "/usr0/home/chris/tools/butrs-evaluation/tools/dockerblade/src/dockerblade/files.py", line 128, in copy_to_host
    subprocess.check_call(cmd, shell=True)
  File "/home/chris/.pyenv/versions/3.9.6/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'docker cp -L 2a36269c5fc7c07bcf31c76d3aeadff52ecbb023c4ecf5d7816723ed345f25c4:/workspace/source/statements.json /tmp/tmpwpiwn12q/contents' returned non-zero exit status 1.DEBUG: StatementDatabase: adding statement...
DEBUG: obtained statement location: /workspace/source/src/dd.c@278:14::278:36
DEBUG: obtained source for statement: sizeof LONGEST_SYMBOL]
/opt/kaskara/scripts/kaskara-statement-finder: line 5:    56 Segmentation fault      (core dumped) /opt/kaskara/bin/kaskara-statement-finder "$@"
Error: No such container:path: 2a36269c5fc7c07bcf31c76d3aeadff52ecbb023c4ecf5d7816723ed345f25c4:/workspace/source/statements.json
Traceback (most recent call last):
  File "/usr0/home/chris/tools/butrs-evaluation/tools/dockerblade/src/dockerblade/files.py", line 128, in copy_to_host
    subprocess.check_call(cmd, shell=True)
  File "/home/chris/.pyenv/versions/3.9.6/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'docker cp -L 2a36269c5fc7c07bcf31c76d3aeadff52ecbb023c4ecf5d7816723ed345f25c4:/workspace/source/statements.json /tmp/tmpwpiwn12q/contents' returned non-zero exit status 1.

hey @ChrisTimperley - this is from 2022 :) I don't remember the details!


Speedup LRO in playback

I wish I had a better solution but this should help out with test playback times that sometimes are >1m.
cc @bquantump

Don't have time to finish this right now.


obsidian-livesync-webclip for firefox

Is there an obsidian-livesync-webclip for firefox?

Any current plans for Firefox extension? That would be really great.  One reason I am personally stuck to Joplin is that its webclipper is so good. I  use Obsidian side by side because of the web clipper it has .

Please!


Prepare for release v3.6.4

Coverage remained the same at 99.132% when pulling 8055be9f5c27806cf433d208d671f47078d9e14e on isaacbrodsky:bump-3.6.4 into 8f8589658ee48ae60f9318888e2e9af397b4e8d6 on uber:master.


CV Language

Hi,
How can I change the CV language to Turkish?
When I changed as \RequirePackage[turkish,english,french]{babel} , overleaf can not compile.
Thank you.

Could you give me more input about the error you get ?

After testing on my computer, I think is more an issue with overleaf


The issue of  vocoder  in Inference progress

Hi Sir,
Thank you for your sharing firstly.
Now I meet a issure about the inference as below:
raceback (most recent call last):
File "convert.py", line 201, in
convert(config)
File "convert.py", line 194, in convert
subprocess.call(cmd)
File "/home/tts/xxxx/softWare/miniConda/miniconda3/envs/ft_tts/lib/python3.6/subprocess.py", line 287, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/tts/xxxx/softWare/miniConda/miniconda3/envs/ft_tts/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/home/tts/xxxx/softWare/miniConda/miniconda3/envs/ft_tts/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'parallel-wavegan-decode'
What can I do to solve this problem？ The pretrain vocoder I have been put in the vocoder dir.
(tts) [xxxx@training VQMIVC]$ ll vocoder/
总用量 4
lrwxrwxrwx 1 xxxx xxxx 53 6月  25 10:50 checkpoint-3000000steps.pkl -> ../pretrain_model/vocoder/checkpoint-3000000steps.pkl
lrwxrwxrwx 1 xxxx xxxx 36 6月  25 10:50 config.yml -> ../pretrain_model/vocoder/config.yml
-rw-r--r-- 1 xxxx xxxx 39 6月  24 17:53 README.md
lrwxrwxrwx 1 xxxx xxxx 34 6月  25 10:50 stats.h5 -> ../pretrain_model/vocoder/stats.h5

Hi, did you install ParallelWaveGAN? Installing it should fix your issue, I wiil add this point to README.

Hi, did you install ParallelWaveGAN? Installing it should fix your issue, I wiil add this point to README.

ok, thanks, I will try it.

Like you said, I can run it now. the voice conversion is work.
But there is  an another problem about synthesis results. we can see it together:
the vocoder reproduce the src_wav (p225_022.wav) to src_gen(p225_038_ref_gen.wav), the effect is bad.
the effect of other wavs reproduced  from the vocoder model is bad as p225_038_ref_gen.wav.
I'm curious if there are some operation steps of mine  is wrong.
Have you encountered the same problem?
p225_022_gen.wav

p225_022.wav

p225_022_src_gen.wav

p225_022_ref_gen.wav

Do you mean you feed the original mel-spectrograms into ParallelWaveGAN to generate waveform? Have you normalized the mel-spectrograms (mean-variance normalization) before the feeding?

yes.
I just run your convert.py to get all the results.
I see the normalization progrecess at the method extract_logmel.
Didn't you encounter the same problem while performing the convert.py?

I haven't encountered this issue before, could you mind uploading some audios for listening?

of courese.
demo.zip

I think this issue is funny.
can  you upload some audios reprodcuing from the open convert.py and pretrain_model?
I would love to know how our results are different.

I'm afraid the problem lies in the usage of statistical values of mean/variance for mel-spectrograms. I can obtain your results by using inaccurate mean/variance. I have uploaded my mean/variance in 'mel_stats', and one example to perform VC, i.e., convert_example.py, you can have a try, my converted results are attached FYI.
converted.zip

great discovery！
your converted results is good.
I'll try to convert the results with the ‘mel_stats’ you provided.
one last question, how did you generate this 'mel_stats' ？   Is this file the same file as the mel_stats.npy extracted during doing preprocess.py ?

Hi,
Thank you for sharing this work.
I tried your convert_examply.py with your pretrained model and audio inside test gets converted. But when I pass a different audio wav file I get following error saying buffer has wrong number of dimensions. Please help.
PS C:\Users\Saurav\Desktop\cap\VQMIVC> python convert_example.py -s test_wavs/aayush.wav -r test_wavs/didi.wav -c converted -m checkpoints/useCSMITrue_useCPMITrue_usePSMITrue_useAmpTrue/VQMIVC-model.ckpt-500.pt                                                                                Traceback (most recent call last):
File "convert_example.py", line 121, in
convert(args)
File "convert_example.py", line 92, in convert
ref_mel, _ = extract_logmel(ref_wav_path, mean, std)
File "convert_example.py", line 49, in extract_logmel
f0, timeaxis = pw.dio(wav.astype('float64'), fs, frame_period=frame_period)
File "pyworld/pyworld.pyx", line 93, in pyworld.pyworld.dio                                                                                ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

great discovery！
your converted results is good.
I'll try to convert the results with the ‘mel_stats’ you provided.
one last question, how did you generate this 'mel_stats' ？ Is this file the same file as the mel_stats.npy extracted during doing preprocess.py ?

No, the 'mel_stats' is the one used to train Parallel WaveGAN, it is the same as 'stats.h5' inside 'vocoder' directory of pre-trained models. Besides, I experimented several times by using the 'mel_stats' produced by 'preprocessing.py' to generate wavs, it also worked well for me. Maybe you can compare your 'mel_stats' with the provided 'mel_stats' to see if your results are correct.

Hi,
Thank you for sharing this work.
I tried your convert_examply.py with your pretrained model and audio inside test gets converted. But when I pass a different audio wav file I get following error saying buffer has wrong number of dimensions. Please help.
PS C:\Users\Saurav\Desktop\cap\VQMIVC> python convert_example.py -s test_wavs/aayush.wav -r test_wavs/didi.wav -c converted -m checkpoints/useCSMITrue_useCPMITrue_usePSMITrue_useAmpTrue/VQMIVC-model.ckpt-500.pt Traceback (most recent call last):
File "convert_example.py", line 121, in
convert(args)
File "convert_example.py", line 92, in convert
ref_mel, _ = extract_logmel(ref_wav_path, mean, std)
File "convert_example.py", line 49, in extract_logmel
f0, timeaxis = pw.dio(wav.astype('float64'), fs, frame_period=frame_period)
File "pyworld/pyworld.pyx", line 93, in pyworld.pyworld.dio ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

It seems your 'wav' has two channels, 'pw.dio' can only process the data of single channel, using the data of single channel as input of 'pw.dio' should fix your issue.

great discovery！
your converted results is good.
I'll try to convert the results with the ‘mel_stats’ you provided.
one last question, how did you generate this 'mel_stats' ？ Is this file the same file as the mel_stats.npy extracted during doing preprocess.py ?

No, the 'mel_stats' is the one used to train Parallel WaveGAN, it is the same as 'stats.h5' inside 'vocoder' directory of pre-trained models. Besides, I experimented several times by using the 'mel_stats' produced by 'preprocessing.py' to generate wavs, it also worked well for me. Maybe you can compare your 'mel_stats' with the provided 'mel_stats' to see if your results are correct.

Excellent！！！
You are right. The key to the problem is the mean and scale.
The reason for the difference between the two of us is that the mel_stats.npy I used is inconsistent with your training vocoder. I used the mel_stats.npy generated by the vctk datasets I processed.
Thank you very much for your guidance！


feat: git https credentials for template leak into final repo

Is your feature request related to a problem? Please describe.
Currently, copier does not support Git HTTPS template URLs with included credentials. At least not without leaking these credentials into the .copier-answers.yml file of the target repo.
I.e., commands like this are not a great idea, but there exists no workaround:
copier copy<EMAIL_ADDRESS>.

Describe the solution you'd like
It would be great if credentials for cloning the template could be passed during runtime to copier (i.e. through env variables, cli arguments or separate secret files). For example with a command like:
copier copy \
    --template-clone-username myuser
    --template-clone-password secretpw
    https://myrepos.com/repo.git .

These credentials should then not be saved in the target repo - but instead a future user running copier update must supply his own credentials again.

Although the issue is valid, currently I just clone private templates by ssh, and I'm happy with it. Proper docs about this would be enough to fix the issue ?

mmh - maybe I need to clarify a bit more:
I don't think the fact that you need to put username/password into the URL when using copier is a problem in and itself - as you mentioned, @Yajo , this is probably just a matter of documenting it more clearly.
The main issue I see though, is that these credentials will end up in the .copier-answers.yml of the target repo. And we all know, that you never want to commit credentials to Git 😈
Just as an example, if I use a copier command like this:
copier copy<EMAIL_ADDRESS>.

the username and password will end up in the .copier-answers.yml file like this:
# Changes here will be overwritten by Copier
_ssrc_path<EMAIL_ADDRESS>[...]

Yes, don't worry, I understood you perfectly. But if you use SSH, authentication is automatic and you don't need a password in git URL.

ok 😂 then this ticket is basically about allowing something similar to the SSH usecase, but when SSH is not an option.
This may happen in many cases, such as:

Git can't be used over SSH because the port is not accessible (i.e. from a corporate network that only allows outgoing HTTP traffic via a proxy)
When using machine authentication (for example GitLab personal access tokens or group deploy tokens), those mechanisms often only provider a username/token for HTTPS authentication

Additional use case: our Renovate setup accesses Bitbucket through HTTPS, so we have to use HTTPS with copier as well.
(Or manually exchange _source_path for local operations, meh.)
FWIW, at least copier update does prompt the user for HTTPS credentials -- multiple times. 😅

Interesting solutions. see also these docs:

https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage#_credential_caching
https://git-scm.com/docs/gitcredentials


Allow selecting preferred servants/ces in Friend Selection Mode

Preparation

[X] No one has asked for this feature before in other issues (even the closed ones)

Describe the feature
Since JP has up to 3 support lists now, using a friend support has a chance of not getting the preferred servant you actually want to use.

I think we should we just have a single Preferred mode which allows setting friends, servants and CEs.


API Server: HTTPS://  valid for Open Source Server?

I read that https:// will not work, no way, no how with OSS.
Is the script for OSS or Pro Server?
I've checked as far as I could.  I can access http://rustdesk.mydomain.com:8000
The script setup ID/Relay server to use https://rustdesk.mydomain.com
I tried with HTTP, still no -go
Key is confirmed, but "Remote Desktop is Offline"
By the way, maybe I missed it, but did not see in documentation where to find the password....for :8000

There's no API server.
The password would have shown up at the end of the install and is in the gohttp systemd service as well


V1.2b show a friend

Implemented command to view a specific friend page (barebones UI)

Main points to take note of!:

added an additional parameter isShowFriendCommand to CommandResult, so that the GUI will switch to the expandedPersonCard view when the isShowFriend is true
currently whenever isShowFriend is true, the expandedPersonCard will be called to the front. Otherwise, normal person list will be shown on the GUI.

fixes #52

Codecov Report

Merging #119 (9a59433) into master (80a72fa) will decrease coverage by 0.96%.
The diff coverage is 37.17%.

@@             Coverage Diff              @@
##             master     #119      +/-   ##
============================================
- Coverage     63.42%   62.45%   -0.97%
- Complexity      538      551      +13
============================================
  Files            95       99       +4
  Lines          2023     2099      +76
  Branches        275      286      +11
============================================
+ Hits           1283     1311      +28
- Misses          646      693      +47
- Partials         94       95       +1

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
77.27% <0.00%> (-3.68%)
:arrow_down:

...main/java/seedu/address/ui/ExpandedPersonCard.java
0.00% <0.00%> (ø)

...java/seedu/address/ui/ExpandedPersonListPanel.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/ui/PersonListPanel.java
0.00% <ø> (ø)

.../address/logic/parser/ShowFriendCommandParser.java
87.50% <87.50%> (ø)

...va/seedu/address/logic/commands/CommandResult.java
88.57% <90.90%> (+0.57%)
:arrow_up:

...eedu/address/logic/commands/ShowFriendCommand.java
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


ignore spare core gard and deconfig records

spare cores replaces faulty cores and faulty cores are guarded or deconfigured with error type spare.
As spare cores are replacing faulty cores do not capture them in faultlog
Change-Id: Ic4ba540b58ff9b33424aa250598671ffce748beb

looks like we need to add spare gard records in the json file but should not notify by doing callhome, will work on a different commit


fix: pin ts-jest to 24.0.0

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Final Merge for Submission!

We did it!

noticed a mistake in font for the footer, fixing and then re-opening PR


FIx the failing CI / CD test-connection.yml

Currently the CI/CD is failing for the .github/workflows/test-connection.yml
We need to fix it.

i will help you fixing the issue . do assign me thank you


Teeny tiny typo in troubleshooting guide

I hit this error and went to the docs, and noticed the small typo

good catch :) Thanks @AndrewRayCode


CHEBI:9492 mixup

The InChi key and formulae are from the nitrate, the names are from the hydrochloride, the parent is a base.

Thanks, Now corrected.


bump path-to-regexp via openapi-generator-cli

Addresses https://github.com/svix/svix-webhooks/security/dependabot/128 by bumping @openapitools/openapi-generator-cli to transitively bump path-to-regexp.

@svix-lucho The generator version and the cli version are two different things. The generator version should still be pinned to 5.2.x (via the version field in the openapitools.json file).
Ref: https://github.com/svix/svix-webhooks/blob/e794bdf4f4b7a921f74397ee768d58c928b558a5/openapitools.json#L5


How to visualize .npy files?

Hello,
Thanks for sharing such a nice code in advance :-)
I trained SqueezeNet model using lidar_2d data and evaluated it and saved pred_....npy files like demo.py
but I don't know how to visualize it. I just got a lot of .npy files on my computer.
In your YouTube Video, there is visualizing tool which can visualize KITTI dataset and your .npy dataset at the same time. but I don't think https://github.com/MarkMuth/QtKittiVisualizer will work for me.

will you plan to share this visualization tool in the future?
Thank you

I got a cool reference
https://github.com/Durant35/SqueezeSeg

Hi, the link you've shared - it's only applicable if using Rviz, is that true? Was wondering if there is a similar solution using only Python scripts.

#36


Implement rename!()

In-place renaming of columns while protecting Index columns. Also, the requested names argument should not already have a column named Index.

Addressed in new PR #41 , merged from the rename branch.


View Microchip Number

On Cat View, we need to see Microchip number.

Can a cat have a microchip number if it's not microchip registered?
Should the status of microchip registration be displayed on the cat view too?


pyqt5 woes

Hi,
I'm using pyqt5 rolled back to 5.14.2, previously tried 5.15.19 which seems to have only partially installed so I removed it and installed the rolled back version.  What version do you recommend?
here's what I ran, and the error message:
$ python3 GroundSystem.py
GroundSystem.py:45: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead
class GroundSystem(QMainWindow, UiMainWindow):
cFS-GroundSystem DEVELOPMENT BUILD
equuleus-rc1+dev2
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb
linux:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
python:
$ python -V
Python 3.8.10

googled the error message,
ttps://github.com/NVlabs/instant-ngp/discussions/300
the console needs this command:
export QT_QPA_PLATFORM=offscreen


Adding Invoice OverDue Reminder Mail Template.

Issue Reference
Adding Invoice OverDue Reminder Mail Template.

@amit-webkul
Please check this PR, there are some conflicts, please resolve them.

@amit-webkul
As Checked and found that the invoice reminder mails are not appearing, please check  the PR again and fix this.


Fix some lint error to reach 5.0 on Code Quality

Fixe the error reported on the forge that was causing a 4.8 grade and
not a 5.0. The error were :

Double quoted string containing no variables - 1 occurrence.
Indentation of => is not properly aligned - 11 occurrences

Thanks!


Bottom Bar Time is Not Show and Popup is Cut

First issue
When config player view with layout_marginHorizontal 20 dp, the dialog is cut and not showed fully. How to handle this issue?
why dialog can not be adjusted itself to make sure show completely?
    <com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
     android:layout_width="0dp"
     android:layout_height="@dimen/adapt_y188"
     android:layout_marginHorizontal="20dp"
     app:autoPlay="false"
     app:enableAutomaticInitialization="false"
     app:layout_constraintLeft_toLeftOf="parent"
     app:layout_constraintRight_toRightOf="parent"
     app:layout_constraintTop_toBottomOf="@id/item_magazine_section_img_caption"
     app:layout_goneMarginTop="@dimen/adapt_y8"/>

Second issue
Time and duration can not be show except full screen with landscape. How to make sure time and duration showed in portrait orientation and keep youtube controller icon (click to show dialog in first issue)at the same time.

Please help me out, thanks.

I don't think the sample app has these problems? I think your player is too small. The library does not control the UI rendered in the player.

the player width and height is not big enough to ensure to show those elements.  is it possible to show those element when player is not in full screen, which is designer requirement?

Like make font size smaller or icon smaller, or hide text after mute icon. Can you give some tips where can i adjust it?

text

Like make font size smaller or icon smaller, or hide text after mute icon. Can you give some tips where can i adjust it?

小伙子,@PierfrancescoSoffritti 说了,他说他不认为这个库有问题,因为这个库不控制UI.我给你一个建议是 自定义实现UI,可以参考库的demo,加油小伙子

@billdizl 谢谢你的提议，custom ui 的可以保留youtube icon 么？我看了demo没有这个属性view配置。但是我不是小伙子啊🤣

可以,我都已经实现了 ,只是我实现的比较简单而已,主要我是用在recyclyview列表播放的,类似中国的淘宝,京东,今日头条列表播放视频的

注意下 这个youtube lib库存在内存泄漏问题,非常严重

但是经过本宝的修改已经修复了这个问题,目前在我的项目中运行良好

@billdizl 谢谢你的提议，custom ui 的可以保留youtube icon 么？我看了demo没有这个属性view配置。但是我不是小伙子啊🤣

可以,我都已经实现了 ,只是我实现的比较简单而已,主要我是用在recyclyview列表播放的,类似中国的淘宝,京东,今日头条列表播放视频的

可以上传demo file 参考下么？谢谢

谢谢

仓库中已经有demo 可以参考 只是不全,样式很丑,需要自己改,其实这个仓库就是个webview加载的youtube链接,通过js调用来实现的,有时间可以研究下

I don't speak Chinese, can this issue be closed?

@yingjinWong 解决了吗,解决了 就可以关闭此问题了~嗷嗷叫~

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.


Defaults should be distributed across multiple files

We should leverage our nested folder structure and allow placing defaults.yaml in each folder. These should be automatically loaded given a pipeline path. No --defaults parameter should be necessary then. Defaults should be merged from top to bottom, i.e., the up-most level is used as a baseline and child defaults are merged afterwards. This means that conflicting keys defined in more specific locations override keys in more general locations.

with pipeline path do you mean KPOPS_PIPELINE_BASE_DIR or KPOPS_PIPELINE_PATH?
What do you mean by this?

our nested folder structure

If I understand correctly, your idea is to allow defaults to be set at all levels between the 2 paths mentioned above and to resolve conflicts based on location. This should apply to both environment-specific and general defaults, right?
Do you also want to allow defaults in subdirectories of KPOPS_PIPELINE_PATH? If yes, then --defaults would still be needed at least in config.yaml or as a flag in the cli.
To me, it seems like this would be cool to implement for config.yaml and even maybe pipeline.yaml?

@sujuka99 I mean KPOPS_PIPELINE_PATH.
There should not be any defaults in sub folders of the path so I think the --defaults param can be removed. I would not change anything about config.yaml and pipeline.yaml for now

I wonder how this function should work in the future
https://github.com/bakdata/kpops/blob/6121514ac255d435627cc418fedf7651bf74f984/kpops/components/base_components/base_defaults_component.py#L131-L135
should it take a list of defaults.yaml paths?

I guess passing a list of default is fine. The list of defaults is determined by the pipeline path. The environment defaults are then also just part of that list


Suggestion : New Port?

Is it possible to have a new bidirectional port (that we can import, or export items into/out of) ? I have 2 reasons for this:
1: With ender io conduits, you can import/export with the same conduit.
2: When using separate ports, I still get waste (cyanite) in the import side, which for the sake of my OCD ... is very annoying :(

I'm not sure I understand this request. Access ports are already bidirectional. You can insert fuel into one slot and remove waste from the other.

Then the problem is a misunderstanding: the port set to input should not output (its already an "issue"), and the output should not input. Make an option to be bi directional, and you no loger see "reactor outputs to the input" issues.

Ports set to "input" only receive output when the output port is too full. I don't see a logical reason why "output" ports shouldn't accept input. Also, the ports will operate bidirectionally if you only have one type of port on the reactor.

I have a new reactor running with only 1 port. I have an ender io item conduit set to in/out, and it is not pulling the cyanite out. I get what you are saying when there are two ports, but in the case of having only 1, it still isn't functioning correctly. It defeats the purpose of using conduits if it doesn't work both ways as you are indicating. If I have to use buses to get it to push/pull items in and out, I may as well just use 2 ports. Thoughts?


Could you add description/purposes for these lines?

Hi,
Is there any change that you could add a description to each of those lines? That would be much more informative for us. E.g. when smtp.office365.com TCP: 587 is really needed? Currently when looking for my Outlook's connection statuses it shows only "HTTP".

But still you have marked that port as "Allow required"?
Could you please be a bit helpful and share that information for us.

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@Petri-X I will pass your suggestion to the product team. Currently, the automated process that creates these tables does not include this information.


Error "Enum does not contain value x" after uninstalling an extension

Describe the bug

I have a 'Core' app with an enum / interface and a default implementation (value 'Navitrans 365 API (Azure)').
In a setup table, the required enum can be configured.
I have a second app 'OnPrem' extending the enum, implementing the interface, adding the enum value 'Itext'
In the install codeunit of the second app, I update the setup table to refer to the new extended enum (value 'IText' is set in the Setup table)
All works fine

However, when uninstalling the second app ('OnPrem'), I've no option to reset the enum value in the setup table back to the default value.
When navigating to the setup page, I get an error 'Enum does not contain value 1', since the setup field still contains an enum value, that is no longer supported, since the extension implementing the enum has been uninstalled in the meanwhile.

Expected behavior

How can we avoid the technical / cryptical error message for end users?
How can we restore / reset a value upon uninstalling an extension, to avoid invalid references to non-existing enums?

5. Versions:

Business Central: ersion: W1 17.1 (Platform 17.0.18204.18458)

We have this in our backlog and we are aiming to deliver functionality to improve this story. We will update this thread when we have more information.


Task 10 11 12

@muthyasravani
Task -10
Code verified.
Task -11
Code verified.
Task -12
Code verified.
Task -14
Code verified.
Task -15
Code verified. Use write range workbook for print values in Excel


Scalability and Soak Test Experiments: serve_hostname

I am creating this issue so we can track the results of the soak and scalability experiments I am doing with the soak test that I wrote in PR #5750.
For this batch of resulted I created a 50 node GCE cluster.
First I run serve_hostnames with 1 pod per node and 1,000 queries. This worked fine with each pod (on each node) returning a decent number of queries (i.e. well balanced).
Then when I ran the experiment again with 30 pods per node and 10,000 queries I noticed that for the 17th node an attempt to create the 25th pod failed. You can see the complete log at this Gist: https://gist.github.com/satnam6502/ec4f5afb3b5df6819fa1 and also the output of the working first case.
@davidopp @roberthbailey @piosz @wojtek-t
$ ./serve_hostnames --per_node=30 --queries=10000 --up_to=100 2>&1 | tee hostnames-1.log
...
I0321 21:37:22.915744   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-5 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:24.392571   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-6 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:24.832058   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-7 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:25.653823   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-8 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:27.863089   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-9 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:30.712703   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-10 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:31.109360   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-11 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:32.092721   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-12 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:33.221556   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-13 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:35.612905   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-14 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:38.408803   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-15 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:39.837127   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-16 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:41.694377   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-17 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:42.221357   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-18 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:44.901134   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-19 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:48.700996   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-20 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:51.066495   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-21 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:53.249759   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-22 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:54.612782   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-23 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
I0321 21:37:57.354708   22897 serve_hostnames.go:123] Creating pod serve-hostnames-3537/serve-hostname-16-24 on node kubernetes-minion-95vc.c.kubernetes-scale.internal
W0321 21:37:58.509195   22897 serve_hostnames.go:143] Failed to create pod serve-hostname-16-24
I0321 21:37:58.509235   22897 serve_hostnames.go:111] Cleaning up service

Attempting to manually delete pods gave an etcd error. @dchen1107
$ kubectl delete pods -l name=serve-hostname --namespace=serve-hostnames-3537
serve-hostname-0-0
serve-hostname-0-1
serve-hostname-0-10
serve-hostname-0-11
serve-hostname-0-12
serve-hostname-0-13
serve-hostname-0-14
serve-hostname-0-15
serve-hostname-0-16
serve-hostname-0-17
serve-hostname-0-18
serve-hostname-0-19
serve-hostname-0-2
serve-hostname-0-20
serve-hostname-0-21
serve-hostname-0-22
serve-hostname-0-23
serve-hostname-0-24
serve-hostname-0-25
serve-hostname-0-26
serve-hostname-0-27
serve-hostname-0-28
F0321 14:59:20.332937   15004 delete.go:67] Client error processing command: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]

And again:
$ kubectl delete pods -l name=serve-hostname --namespace=serve-hostnames-3537
serve-hostname-0-29
serve-hostname-0-3
serve-hostname-0-4
serve-hostname-0-5
serve-hostname-0-6
serve-hostname-0-7
serve-hostname-0-8
serve-hostname-0-9
serve-hostname-1-0
serve-hostname-1-1
serve-hostname-1-10
serve-hostname-1-11
serve-hostname-1-12
serve-hostname-1-13
serve-hostname-1-14
serve-hostname-1-15
serve-hostname-1-16
serve-hostname-1-17
serve-hostname-1-18
serve-hostname-1-19
serve-hostname-1-2
serve-hostname-1-20
serve-hostname-1-21
serve-hostname-1-22
serve-hostname-1-23
serve-hostname-1-24
serve-hostname-1-25
serve-hostname-1-26
serve-hostname-1-27
serve-hostname-1-28
serve-hostname-1-29
serve-hostname-1-3
serve-hostname-1-4
serve-hostname-1-5
serve-hostname-1-6
serve-hostname-1-7
serve-hostname-1-8
serve-hostname-1-9
serve-hostname-10-0
serve-hostname-10-1
serve-hostname-10-10
serve-hostname-10-11
serve-hostname-10-12
serve-hostname-10-13
serve-hostname-10-14
serve-hostname-10-15
serve-hostname-10-16
serve-hostname-10-17
serve-hostname-10-18
serve-hostname-10-19
F0321 15:05:34.554136   15222 delete.go:67] Client error processing command: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]

For an experiment where I try and place 20 pods per node on the 50 node cluster I noticed that at first pod creation is quick but then it slows down drastically -- look at the timestamps of the last few lines of this output (the job has not finished yet since it needs to get to serve-hostnames-49-19).
I0321 22:29:04.465392   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-6 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:29:21.374412   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-7 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:29:32.005122   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-8 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:29:41.865012   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-9 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:29:46.557722   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-10 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:29:55.533075   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-11 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:09.625559   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-12 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:18.549903   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-13 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:27.001570   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-14 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:31.837245   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-15 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:46.044928   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-16 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:30:54.866556   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-17 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:31:01.307770   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-18 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:31:06.047507   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-19-19 on node kubernetes-minion-adgb.c.kubernetes-scale.internal
I0321 22:31:11.663765   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-0 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:31:18.075049   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-1 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:31:26.394317   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-2 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:31:55.088501   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-3 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:32:07.008342   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-4 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:32:14.023582   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-5 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:32:28.215409   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-6 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:32:40.234981   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-7 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:32:54.572064   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-8 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:04.929559   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-9 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:13.098019   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-10 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:17.928389   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-11 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:30.717713   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-12 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:38.688141   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-13 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:33:55.108057   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-14 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:34:10.696052   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-15 on node kubernetes-minion-af1x.c.kubernetes-scale.internal
I0321 22:34:50.151833   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-20-16 on node kubernetes-minion-af1x.c.kubernetes-scale.internal

For 20 pods on a 50 node cluster creation of a pod 19 on node 23 failed.
I0321 22:42:33.244265   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-22-17 on node kubernetes-minion-bmy8.c.kubernetes-scale.internal
I0321 22:42:35.789854   30585 serve_hostnames.go:123] Creating pod serve-hostnames-5099/serve-hostname-22-18 on node kubernetes-minion-bmy8.c.kubernetes-scale.internal
W0321 22:42:36.123472   30585 serve_hostnames.go:143] Failed to create pod serve-hostname-22-18
I0321 22:42:36.123501   30585 serve_hostnames.go:111] Cleaning up service

Even 10 pods per node is not reliably achievable right now. We have a lot of work ahead of us.
I0322 01:16:09.228668   31922 serve_hostnames.go:175] serve-hostnames-3474/serve-hostname-2-9 is running
I0322 01:16:09.737427   31922 serve_hostnames.go:164] Get pod serve-hostnames-3474/serve-hostname-3-0 failed, ignoring for 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]: 5m0s
I0322 01:18:28.738320   31922 serve_hostnames.go:164] Get pod serve-hostnames-3474/serve-hostname-3-0 failed, ignoring for 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]: 5m0s
W0322 01:21:12.988530   31922 serve_hostnames.go:172] Gave up waiting on pod serve-hostnames-3474/serve-hostname-3-0 to be running (saw Unknown)
I0322 01:21:12.988629   31922 serve_hostnames.go:150] Cleaning up pods
W0322 01:30:08.955897   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-12-7: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
W0322 01:31:37.089023   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-15-0: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]

Thanks for investigating, Satnam. Please remember to tag these kinds of issues with "misc/perf-1.0" (I see you did area/performance, which is also good.)

I thought about that. I did not tag that way because I don't understand if we want to make a distinction between:

Having a single lucky instance when we can instantiate N pods on a node and make some measurements and declare success in some Bush aircraft carrier way, or
Reliably create N pods on a cluster (in these experiments I make 50 attempts to create N pods on a node) and determine what works.

The answers to these two questions are very different. I don't understand in such terms what our 1.0 objectives are. Do we want to be able to support N pods per node reliably or just when the user is willing to make N repeated attempts and hopes she gets lucky at some point?

5 pods per node also fails on the 50th node.

Second attempt at 5 pods per node also failed and as before the deletion of pods was also not reliable.
$ tail hostnames-4.log
I0322 01:16:09.737427   31922 serve_hostnames.go:164] Get pod serve-hostnames-3474/serve-hostname-3-0 failed, ignoring for 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]: 5m0s
I0322 01:18:28.738320   31922 serve_hostnames.go:164] Get pod serve-hostnames-3474/serve-hostname-3-0 failed, ignoring for 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]: 5m0s
W0322 01:21:12.988530   31922 serve_hostnames.go:172] Gave up waiting on pod serve-hostnames-3474/serve-hostname-3-0 to be running (saw Unknown)
I0322 01:21:12.988629   31922 serve_hostnames.go:150] Cleaning up pods
W0322 01:30:08.955897   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-12-7: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
W0322 01:31:37.089023   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-15-0: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
W0322 01:32:07.920456   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-15-7: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
W0322 01:32:31.032725   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-16-6: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
W0322 01:34:47.373989   31922 serve_hostnames.go:153] Failed to delete pod serve-hostname-22-3: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
I0322 01:41:35.258657   31922 serve_hostnames.go:111] Cleaning up service
$ kubectl get pods --namespace=serve-hostnames-3474
POD                   IP                  CONTAINER(S)        IMAGE(S)                        HOST                                                  LABELS                STATUS              CREATED
serve-hostname-12-7   <IP_ADDRESS>        serve-hostname      kubernetes/serve_hostname:1.1   kubernetes-minion-6q3q.c.kubernetes-scale.internal/   name=serve-hostname   Unknown             14 hours
serve-hostname-15-0   <IP_ADDRESS>        serve-hostname      kubernetes/serve_hostname:1.1   kubernetes-minion-8kpq.c.kubernetes-scale.internal/   name=serve-hostname   Unknown             14 hours
serve-hostname-15-7   <IP_ADDRESS>        serve-hostname      kubernetes/serve_hostname:1.1   kubernetes-minion-8kpq.c.kubernetes-scale.internal/   name=serve-hostname   Unknown             14 hours
serve-hostname-16-6   <IP_ADDRESS>        serve-hostname      kubernetes/serve_hostname:1.1   kubernetes-minion-95vc.c.kubernetes-scale.internal/   name=serve-hostname   Unknown             14 hours
serve-hostname-22-3   <IP_ADDRESS>        serve-hostname      kubernetes/serve_hostname:1.1   kubernetes-minion-bmy8.c.kubernetes-scale.internal/   name=serve-hostname   Unknown             14 hours
$ kubectl delte pods,pods --namespace=serve-hostnames-3474

cc @gmarek

I am re-running some of these experiments with the test program built with the latest go-etcd and etcd client for v2.0.5 but the master still running etcd v.2.0.0.

@satnam6502 On what machine are you running master? standard-1 or something bigger? I'm asking because I don't know if we have already decided on target configuration.

The default choice i.e. n1-standard-1. In my previous experiments I noticed that using even a high CPU or high memory master did not make any difference when it come to etcd errors.

OK. I believe that we should move to more multithreaded master. Lot of things have been recently moved to separate goroutines. I found that master is more stable when it have more resources available.

Using the latest go-etcd is not giving better error messages. Let's see what happens when we upgrade the master to use etcd v2.0.5

@gmarek I think we should make recommendations for the master size based on the number of nodes in the cluster and perhaps also on the anticipated number of pods (or activity). It is in the customer's interest to use the smallest possible resource that can do the job -- esp. for something like the master which is in some sense "overhead".

That I agree, but you're running 50 nodes right now, which is noticeable amount. I guess 4 thread master, which is 1 master thread per 12 nodes should be acceptable. Reason why I'm suggesting this, is 1.0 milestone, that 99%-ile of API calls should return in <1 sec (#4521), which I think would be really hard for cluster composed of 50 minions and 1 single threaded master (and we're far from it right now).
@bgrant0607 @thockin @brendanburns - what do you think of assuming assuming single threaded minions (1 thread per 10 nodes)?

I need to check again, but our scaling limit is not the size of the master -- it is etcd. In the experiments I did before I had large clusters and I varied the size of the master (CPU and memory) and I did not notice it making much (if any) difference. I think the API response time is mostly governed by etcd performance?

I have an impression that etcd is running on masters machine.
I don't know how much time is spent in master itself, and how much in etcd though...

@gmarek Sorry, but I don't understand your question. What do you mean by "minion"? What threading model are you proposing, exactly?
Some people have claimed to have observed being cpu-bound in the apiserver due to decoding/encoding, but I don't know that anyone has reproduced that.

Minion is Node, and I meant "physical" threads, as sold on GCE machines. The question is how expensive master we need to handle X nodes to keep 1 sec slo for v1.0
I think it was overwritten by Wojtek and Filip with some other much more aggressive number.

We should measure that. GKE could select the master size (cpu and memory) based on the cluster size. We could even do that in the OSS scripts. We should at least document it.

This issue is outdated.


Empty elements are no longer removed when deserializing a BoM file

Closes #545
Standardizes the options used when deserializing a BoM from a file and from a string. Previously, keep_empty=True was only specified when reading a BoM from string, which caused a weird asymmetry in some situations.
This PR removes this duplication, and adds some tests that check deserializing and round-tripping a BoM with an empty element works both via a file and via text.

Looks about right to me, no idea why I didnt make it trim empty elements in all cases... I had it in mind that somewhere we actually needed the other behaviour but I can't remember where or why

The new behavior is the converse, we keep empty elements in all cases, so as to be compliant with the schema.


fix: Numeric generics with impls error

Related issue(s)

Resolves #
Description
In aztec3-packages we get this error on the vec type in the Noir contracts:
error: Integer cannot be used with type error
   ┌─ /Users/aztec/Documents/GitHub/aztec3-packages/yarn-project/noir-contracts/src/contracts/zk_token_contract/../noir-aztec3/src/types/vec.nr:18:19
   │
18 │         constrain self.len as u64 < MaxLen as u64;
   │                   -------------------------------

error: aborting due to 1 previous errors

This was due to a mismatched ordering when reporting errors in the type rules. I added a regression test in the numeric_generics test under the nargo_cli.
Summary of changes

Dependency additions / changes

Test additions / changes

Checklist

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt with default settings.
[ ] I have linked this PR to the issue(s) that it resolves.
[x] I have reviewed the changes on GitHub, line by line.
[x] I have ensured all changes are covered in the description.

Documentation needs

[ ] This PR requires documentation updates when merged.

Additional context

This fixed worked for me when trying to compile the BoundedVec type in the aztec 3 contracts


Upload source from jar file

Download the source jar for both the client and server, and then re-upload all the Java source files as plain text files.

Is in this way what you wanted?


Add support for Python 3.10

The main fix is to upgrade cython to a version that supports Python 3.10. Package classifier metadata is also updated.
Also add recent versions of GDAL and PROJ in the CI matrix.
Appyveyor (Windows) is not updated here, as it appears to have generally lagged without Python 3.9 support yet.
Closes #1043

I think you'll need to update pyproject.toml as well?
https://github.com/Toblerity/Fiona/blob/c30bb067da91d7c9f71654bc0fd4761ad066ff0a/pyproject.toml#L2

I think you'll need to update pyproject.toml as well?

Thanks, yes, I've already staged that change. I'm just waiting to see if any other changes are needed...

@mwtoews some months ago I tried to bump gdal in the CI to 3.3, but I never finished it. I think drvsupport.py needs to be updated to
 supported_drivers: ... ("PCIDSK", "raw"),
driver_mode_mingdal
....
'a': {...
          'PCIDSK': (3, 3, 0),
          ...
}

All of requirements-dev.txt was upgraded to versions that appear to be stable (via manual looking at PyPI). Some of these needed to be upgraded for Python 3.10, e.g., attrs, boto and pytest were too old.
Thanks for identifying the GDAL 3.3.0 fix @rbuffat !

Are there plans to backport this to a maintenance branch / release this?

Good question, I'm often puzzled by backports here as I see a maint-1.9 branch with support for Python 2, but there are no 1.9.x releases.

Yeah, I branched 1.9 too soon and it's complicated things quite a bit.


A-1205697604693694

:speech_balloon: Description
Add the Mintlayer library so you can generate keys and addresses from your Mintlayer wallet
More

Update manifest.json to let wasm work
Update dependencies: @testing-library/jest-dom, @testing-library/react, @testing-library/user-event

:camera: Screenshots

:clipboard: Checklist:

[x] I have named my branch as A-[id of Asana task]
[x] I have set the title of my PR as A-[id of Asana task]: [short description]
[x] My changes passed successfully by prettier check
[x] My changes passed successfully by lint check
[x] My changes kept the previous test coverage rate
[x] I have added enough tests for my new feature/bugfix
[x] I have set at least one person to review this PR
[x] I have set myself as the assignee of this PR
[x] I have set at least one label to this PR

It looks okay to me in general but I'd appreciate @anyxem having a look for a better review of the js itself


Feature request | Simple to install zip file in release and/or adding it to the community plugins list in Obsidian

Hi! Adding a zip file in the release to more easily extract the contents directly into the correct place would be great.
Even better would be if the plugin was in the community plugins list in Obsidian!

I have submitted the plugin. Hopefully it will be approved here shortly.
This plugin can also be very easily installed with the BRAT plugin.

Interesting! I have never heard of "BRAT. I will check it out asap :)


Use an AZ CLI command to get the default subscription

When there are too many subscriptions, this command is quite handy to know which subscription is active

@nickdala good question. I would say no because of the filter ?isDefault. But if you don't have a default subscription, would azd up work ?


No documentation?

Hey,
I'm trying to add some animations to the active title but i don't know where to start. Is there any doc?

No, there isnt, Thanks.
I write to README.


Tests for MLPerf inference submission generation

Hi @arjunsuresh , these are the identified tests which could help us cover various possibilities for bugs in submission generation through CM for non-CM based benchmarking method. Please feel free to add more, delete or modify them:

[ ]  Case-1: model_maping.json in SUT folder

[ ]  Case-2: model_mapping.json in individual folder

[ ]  Case-3: model_mapping.json not present but model name is matching with the official one in submission checker

[ ]  Case-4: model_mapping.json is not present but model name is mapped to official model name in submission checker. Example: resnet50 to resnet

[ ]  Case-5: Case-1 to Case-4 is not satisfied. The gh action will be successfull if the submission generation fails.

[ ]  Case-6: Case-2 but model_mapping.json is not present in any of the folders. The gh action will be successful if the submission generation fails.

[ ]  Case-7: sut_info.json is not completely filled but the SUT folder name is in required format(hardware_name-implementation-device-framework-run_config)

Nice @anandhu-eng . Cases 1-6 are for open division and so case 7 is the most important one. We use cm-sut-info.json and sut-info.json?

I believe we are only using cm-sut-info.json in our code. Let me confirm it and update the code otherwise

@anandhu-eng We not have cm test script --tags=... working and can specify test inputs like this. The tests are automatically triggered when the corresponding script meta file is changed.

Hi @anandhu-eng are these completed now?

Hi @arjunsuresh , case 3 and case 4 are the same. Also do we need case 6 to be in github actions? Rest all are added to inference repo.

yes, I think case-6 is useful to have.


fix(undefined data): undefined issue in normalizeData member function

Problem:
An issue of reading undefined by toString.
Cause:
The level parameter in data object is not checked for possibility of undefined.
Solution:
Check on the level content availability in the object, so it can be converted into string.

any update on it how can it be solved?


frontier runtime impl

This PR will have wrokspace and frontier node/runtime impl.
So far everything is EVM.
Maybe should use substrate account as system base.

This one is no longer needed


meshgraphnet: deforming plate dataset

I have postprocessed the "deforming plate" dataset and visualized a couple of examples which are significantly less visually appealing than the movies posted with the paper. I wanted to confirm if the movies have been post processed (e.g. using normal vectors, which are not provided in the dataset).
Here is a link to a couple of visualization
https://drive.google.com/file/d/10QVJheNBs4bNEUCg_LOaxxWbShISqDPJ/view?usp=sharing
Here is the snipet I used to post process the data.
import meshio
from dataset import load_dataset

data = load_dataset("deforming_plate", "test")
keys = data.output_classes.keys()
processed_data = {k: [] for k in keys}
for key in keys:
   for d in data:
       processed_data[key].append(d[key].numpy())

n = 0  # data instance
t_idx = 100   # timestep
points = np.array(processed_data["mesh_pos"][n])[0]
cells = np.array(processed_data["cells"][n])[0]
cells = [("quad", cells )]
point_data={"stress": processed_data["stress"][n][t_idx, :, 0],
           "node_type": processed_data["node_type"][n][t_idx, :, 0]}
mesh = meshio.Mesh(points, cells, point_data=point_data)
mesh.write("data.vtk")

update:
if you change "quad" to "tetra" in the code snippet, then the visualizations are correct.

hello,
how did u use this dataset without the hyperelastic model. since it is not created. or is it
could you also share with me how to use the code to use deforming plate dataset

I don't quite undertand your question. If you are wondering how I downloaded the data, I followed the instruction provided. I used the tag deforming_plate as instructed.


zh-trans: add kubeadm/generated/kubeadm_alpha_phase_certs_renew_all.md

zh-trans: add kubeadm/generated/kubeadm_alpha_phase_certs_renew_all.md

@AdamDang  @xichengliudui and @zgfh also translate files in the current directory. I suggest you check our PR to see if it has been translated, so as not to waste time.
zgfh
xichengliudui
thanks

@xichengliudui @zgfh
OK, Please update the issue status before translating. I  just checking the issue status (pending) and the target directory (translated file not exist).

I'm sorry if it bothers you.

@AdamDang Please check if the translation of "renew" is consistent across the page.

/lgtm

Alpha certificates


Remove quote block around list of features.

Feature list was indented which caused it to be a quote in Markdown.

@danieljurek Can you merge this fix for the overview page?

#sign-off

@markjulmar Changes here will be overwritten on the next release of the package if the corresponding page in the SDK repo (I think it's this one: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/websites/Azure.ResourceManager.AppService/README.md) is not also updated.
I'll approve this and merge it but we'll need another PR in the SDK source repo.


Fixes #233. Upgrade SB and also remove those from the list that iocan…

…el says is not needed.

[merge]


Sort submitters

@emanuelschuetze Everything should be fixed now. Does isort work on your computer? Isort does not work on my machine... Can jou tell me, what diff you have, if you run isort --recursive openslides?

Looks good now but wait with merge.

Ok, please rebase.

@emanuelschuetze Rebased.

Ok, all done. Thanks.


Add entry in cookiecutter project README

There's a section for Data Science in the cookiecutter project's README. We should add a link to this project there.
Great to see folks on the mailing list finding the widget-cookiecutter helpful.

Another project than cookiecutter itself?

@SylvainCorlay I would suggest adding it here https://github.com/audreyr/cookiecutter/blob/master/README.rst#data-science
or create an IPython/Jupyter section.

Gotcha, I am :+1: on this!

Hi 👋
Looks like this can be closed. Thanks again for the PR @willingc 😁

Hi hi @hackebrot. Closing here :-)


field in array format should show text in admin dashboard

field in array format should show text instead of integer in admin dashboard

done in #94


Cannot connect to WSL after waking computer from sleep

Version
Microsoft Windows [Version 10.0.19045.2251]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
After waking the PC from sleep (and that's something I always do) WSL won't start and shows a message error.
I also cannot access WSL with \wsl$\Ubuntu-22.04
Expected Behavior
I expected WSL to start normally.
Actual Behavior
I get this message:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Diagnostic Logs
No response

I think this is related to https://github.com/microsoft/WSL/issues/8696 and it happens to me as well, hopefully someone will find a solution soon enough.

After two days of tries, the only solution I found is to downgrade the bugged distro to WSL1 and then re-upgrade it to WSL2.
Although it appeared to be working, well wasn't able to reopen it's own path (\$wsl) and I had to download the windows terminal app to restore it.
The conclusion is that now it works but fixing has taken me too much efforts.

After two days of tries, the only solution I found is to downgrade the bugged distro to WSL1 and then re-upgrade it to WSL2.
Although it appeared to be working, well wasn't able to reopen it's own path (\wsl$) and I had to download the windows terminal app to restore it.
The conclusion is that now it works but fixing has taken me too much efforts.

/dump

WslLogs-2022-11-16_00-20-47.zip
Here it is but as I said before i have fixed the problem in some way.
I hope this will be useful though.

Experience the same issue these days after waking up from sleep. WSL cannot be connected, and running wsl --shutdown in powershell also gets stuck forever.
My system is Win 11 22H2, build 22621.819, and WSL 2 is Ubuntu 20.04 and 22.04

Is there anything being done about this incredible annoying issue? I'm seriously thinking about switching to another OS if this ridiculous bug keeps destroying my productivity

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.
Thanks for your report!

Is there anything being done about this incredibly annoying issue? I'm seriously thinking about switching to another OS if this ridiculous bug keeps destroying my productivity

I am experiencing the same issue. For security purposes, my computer is locked and put to sleep if there's no activity for a couple of minutes. After waking up, WSL (Ubuntu 20.04 & 22.04) stops working and I cannot shut it down.
The only fix is to restart the entire machine, which is a little bit annoying...

Any fix? This is too annoying

https://github.com/gardengim/keepwsl
add a service to keeping wsl awake when windows sleep may help.


cargo-pgrx: Call cargo pgrx instead of cargo-pgrx.

Description of changes
The new version check in pgrx 0.11.3 depends on the 'CARGO' environment variable which is not set unless 'cargo pgrx' is called.  I'm asking to backport so I can submit another change for timescaledb_toolkit to use pgrx 0.11.3 to fix a build failure on aarch64-linux.
I've tested with the package I'm working with on aarch64-linux and it built successfully, but an attempt to run this change with nixpkgs-review on an x86 machine ran it out of memory.
#ZurichZHF
Things done

Built on platform(s)

[ ] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

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

Ofborg passes for x86, so looks good. Thank you !


runtime: emit better errors from checkptr

Currently, checkptr checks for four different kinds of mistakes; two of them concerning alignment, two of them concerning pointer arithmetic. However, it only emits two different kinds of errors, one per class of mistakes. It would be helpful to know which specific kind of mistake I made. Did I ignore alignment, or did I straddle multiple objects?
Furthermore, the errors themselves can be confusing. unsafe pointer conversion will point to a line of code that uses unsafe.Pointer conversion; it is not immediately obvious that these two uses of the word "unsafe" mean different things – checkptr really complains about potentially broken pointer conversions.

@mdempsky

All good points. I'm open to improving the error messages.
Some suggestions:
checkptr: misaligned pointer conversion
checkptr: converted pointer straddles multiple allocations
checkptr: pointer arithmetic computed bad pointer value
checkptr: pointer arithmetic result points to invalid allocation

I'm also wondering if "checkptr:" should change to "unsafe:" for consistency with warnings about packages runtime and sync, or if it should stay "checkptr" to make the compiler flag connection clearer.

Related to #37298.

I'm torn between the two prefixes, both have their advantage; I'm slightly leaning towards "checkptr:", because then people might not wonder as much why unsafe reports errors when using the race detector and not otherwise. Definitely makes it easier to google for "checkptr".
Your suggestions definitely improve upon the current messages, and we'll have a whole cycle to bikeshed them to death :-)


Cherry pick #14209 and #14292 to 6.5

What is changed and how it works?

Issue Number: close tikv/tikv#14254, close tikv/tikv#14291
What's Changed:

#14209 stop paging when the result set is drained. But when supporting agg paging,
the executors will also return drained when there is enough data returned.
This PR label the drain reasons and stop following paging when the resultset is really drained.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

TPCC prepare success.

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
copr: reduce latency and resource usage of the paging protocol by early stop.

/merge


zkSync Lite

i send to eth zksync lite network..its a mistake.actualy i want to send it to zksync era network. how can i get back tranferble ammount back from zksync lite

Use the lite bridge to send funds back to mainnet and then bridge to zksync era using txbridge. Official links are on their website. Alternatively send the funds to an centralized exchange that accepts zklite deposits


There is no region field in Configuration spec

Describe the bug
In VelaUX, users could set the region in target, and the application with cloud service could be deployed to the region defined in every target.
spec:
  components:
  - name: mysql-rds
    properties:
      account_name: yueda
      allocate_public_connection: true
      database_name: yueda
      deleteResource: true
      instance_name: yueda
      password: yueda123
      privilege: ReadWrite
      vswitch_id: ""
    type: alibaba-rds
  policies:
  - name: env-bindings-default
    properties:
      envs:
      - name: default
        patch:
          components:
          - name: mysql-rds
            properties:
              providerRef:
                name: aliyun-yueda
              region: cn-beijing
              writeConnectionSecretToRef:
                name: mysql-rds-default
                namespace: default
            type: alibaba-rds
        placement:
          clusterSelector:
            name: local
          namespaceSelector:
            name: default
    type: env-binding

Currently, the region field in component properties does not take effect. Others, we can not get the region from the Configuration.
Expected behavior
Support set the region in component properties and could get the region from the Configuration.
Screenshots

KubeVela Version
1.3.4

Use customRegion please due to the issue https://github.com/kubevela/kubevela/pull/3503.

spec:
  components:
  - name: mysql-rds
    properties:
      customRegion: xx
      ...
    type: alibaba-rds

=> region align with provider by default, you can also set it in properties.customRegion,  it should be reported in status.region
kind: Configuration
spec:
   ...
status:
  region: xxx

Fixes by kubevela/velaux#538


Feature - Allow Pattern matching for controller functions

Please allow pattern matching for controller functions.
@httpPost
Future doAction1(@HTTPPath("action", match: "action1")) {}
// Do action will call when the path variable is action 1
@httpPost
Future doAction2(@HTTPPath("action", match: "action2")) {}
Add Comment

:+1: yeah, I support this. We chatted about it in Slack a few weeks ago. Would like to make it general purpose for all HTTP parameters (path, query, header) and would like to potentially allow for more powerful matching once closures can be constant.


Dockerize app

What type of Pull Request is this?
Delete all options except for the one that applies

Feature

What is the current behavior?

Issue Number: #50
What is the new behavior?

An image is built for the app
The image was provided to the docker-compose
the app is dependent on the db

Other information

I would like to hear your feedback if everything is okay before moving on to add this section to the CONTRIBUTING file

Let's focus on a production build version of the svelte app and put it in a separate docker-compose file docker-compose.prod.yml. This file should only have the app service and not the db service.
I've added a node adapter for the svelte build. I'll add some comments on your PR on how you can target the production build in the Dockerfile
I'll not that the setup for using docker in development will be a bit different, but lets do that in a separate PR after we have the production one setup.

There are several changes I need you to make, so lets just focus on the production Dockerfile and docker-compose.prod.yml for now.
Remove docker-compose.dev.yml and .dockerignore, we will add these in a future PR where we can discuss the development container specifically.
Dockerfile:

Should run the command npm run build
Should copy files from the generated folder called build instead of the whole app
Should expose port 3000
Should run the command node build

docker-compose.prod.yml:

Remove depends_on: - db - the production container will connect to a remote DB
Every environment variable listed in the .env.example file should be listed under environment

Remove current changes to the docker-compose.yml file

@w3cj sorry for being late, was busy lately.
i did all the changes mentioned here:

There are several changes I need you to make, so lets just focus on the production Dockerfile and docker-compose.prod.yml for now.

but regarding this part:

Every environment variable listed in the .env.example file should be listed under environment

couldn't we just do this:
 env_file:
    - .env

Thanks for this. Looks good, but the original docker-compose.yml file got deleted. Be sure to leave the original as well as the new one you created.

I think we want to avoid doing this, because the production container likely won't have a .env file. The variables will already be loaded in the system or specified when launching the container.

@w3cj Done, could you check?


Can't activate Color Picker

Microsoft PowerToys version
0.57.2
Running as admin

[ ] Yes

Area(s) with issue?
ColorPicker
Steps to reproduce
Pressing the Color Picker shortcut keys: Windows Key + Shift + C.
I have tried running PowerToys as Admin and that does not fix the issue. I don't remember when this issue started occurring, but it was prior to v0.57.
PowerToysReport_2022-04-09-10-23-21.zip
✔ Expected Behavior
Launch Color Picker.
❌ Actual Behavior
Nothing happens. Color Picker is not activated — I can't use my mouse to select colors.
Other Software
No response

This is an interesting tidbit from the logs:
WARNING: 10:00:37.9473006
    [Method]: SetWindowPosition [Class]: ChangeWindowPositionBehavior
    Failed to get monitor bounds for mouse position-1,1

That's a weird mouse position to have. What sort of input devices do you have that might manipulate mouse coordinates?

Does changing activation behavior to "Open Editor" help here?

Does trying to activate it from the "Welcome to PowerToys" window work? /needinfo

My mouse is a Logitech Wireless Mouse M510. I'm not aware of anything on my computer that's out of the ordinary that would affect the mouse in some undesirable way.
Changing the 'Activation behavior' had no effect. I tried all three options.
Yes, in the 'Welcome to PowerToys' window, clicking the 'Launch Color Picker' button does launch Color Picker.
I have also tried changing the Color Picker keyboard shortcut, but that didn't fix the issue.

Could you please open through the "Lauch Color Picker" button a bunch again and then send a new /bugreport?
Let's see if we can spot some differences.

Here's another bug report. Prior to running the bug report, I clicked the 'Launch Color Picker' button to successfully launch the Color Picker.
PowerToysReport_2022-04-11-14-31-35.zip

Hi @brianjsn ,
Not sure what's going on and can't reproduce it locally, but we can try to see if we can fix it given the error we see in the logs.
Could you please try a debug build with the fix so we can validate it on your configuration? (It's an unsigned build , by the way)
https://github.com/jaimecbernardo/PowerToys/releases/tag/0.0.1-test-fix-issue-17636
Please uninstall your current PowerToys installation, then install this debug build.
Replicate the bug, to see if it's still there or if the behavior is better.
Thank you, in advance.
/needinfo

The debug build didn't fix the issue, but I figured out the problem. There was an app installed on my PC causing the issue. Here's a summary of what I did...
I uninstalled PowerToys and installed the debug build. I then restarted my computer and the Color Picker keyboard shortcut worked. However, a short time after the restart the issue came back... the shortcut stopped working.
I did some investigating and discovered an app named Smart Share that I had installed on my PC auto-starts — prior to the app starting the Color Picker shortcut works; after it starts the Color Picker shortcut does not work. Smart Share is DLNA server software from LG that enables media on my PC to be viewed on my TV.
I uninstalled Smart Share and the issue is resolved.
On a side note, that warning in the log is still occurring... but the cause of the warning doesn't appear to be screwing up the functionality of the Color Picker.
WARNING: 16:47:42.5772956
    [Method]: SetWindowPosition [Class]: ChangeWindowPositionBehavior
    Failed to get monitor bounds for mouse position-1,1

Here's a new bug report if you're interested in taking a look.
PowerToysReport_2022-04-12-17-06-29.zip
@jaimecbernardo Thanks for your help. Let me know if you have any questions.

Thanks for the feedback. This was an unknown incompatibility (and to be honest, not sure why it is happening 😅  Going to leave this open for later investigation.

Hi @brianjsn , Is this fixed for you in the latest 0.64.1 release? /needinfo

I no longer have the LG Smart Share app that was causing the issue installed on my computer. I don't use the app anymore, but if it's something you would like me to install to see if it still conflicts with the Color Picker, let me know.

/needinfo


Fix heapster deployment

Remove deprecated parameters from heapster deployments that prevent pods from starting successfully.
More at: https://github.com/kubernetes/kubernetes/commit/63ccedcfa7a34ba4bed8b697a07eab9e1e14896d

This change is

@malekpour,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@malekpour This was updated as part of #1076

LGTM


Window not centered on steam deck gaming mode

When opening the app on Steam Decks gaming mode the window starts at the top but doesn’t draw all the way to the bottom and doesn’t center itself on the screen.
I don’t know how to fix this myself but enabling fullscreen did not fix it, neither did enabling a custom resolution.

I haven't actually figured out what causes that to happen myself. On my Steam deck at one point it wasn't centered, but now it is. In either case, using the darker background setting should work just fine in terms of immersion, especially on the OLED.

Agreed, it’s completely playable! Desktop mode has the same issue suddenly, even in a browser. So I guess it could just be a bit random.

It seems that there's going to be a centered option added to the game soon, so regardless of what caused the issue, this one will be resolved :P


Allow adding objects to ToMany objects from unattached objects

Allow adding objects to ToMany objects that are getting inserted into the database when main object gets inserted. Currently its only possible to add objects to the ToMany object, when the main object is not attached to the database, but this is never the case when you load the objects from an rest call and attaching the child objects to the ToMany object. In this case the new added objects that are inside the ToMany object should be added when the main object that contains the ToMany object is added to the database.

Because the object that holds the childs is not attached to the database.

Currently its only possible to add objects to the ToMany object, when the main object is already attached to the database,
For me this is not true. I tried it ( see #103 )
first create the object ClassA classA = new ClassA()
then add classA.classBs.add(new Class B())
and then put it to the database box.put(classA)  also puts the instances of ClassB

That was an type, i corrected it.

Can be closed.