[Bug]: cds-combo-box Component Fails to Refresh with Lazy Loaded Options in Reactive Form

Detailed description
I’m encountering an issue with the cds-combo-box component when used in a reactive form. Specifically, the problem arises when the available options for the combo box are loaded asynchronously from the backend. Even though the form is patched correctly, the combo box does not refresh to display the selected value once the options are set. Instead, it shows an empty value, which leads to a poor user experience.
Steps to reproduce the issue

Create a reactive form that includes a cds-combo-box component.
Patch the form with initial values before loading the options.
Load the available options for the combo box asynchronously from the backend.
Observe that the combo box does not refresh to display the selected value.

Hi @danielsogl,
Seems like the two components are getting out of sync, you can trigger change detection manually to fix this. You can do this by injecting private changeDetectorRef: ChangeDetectorRef in the component and calling detectChanges as such this.changeDetectorRef.detectChanges();.
The view can be refreshed after step 3 and it should show the value selected.

Hi, sadly this won't help. I already tried fixing it by calling the change detection manually. The combo box remains displayed as empty/unselected.

Any chance you can create a stackblitz demo to help us reproduce this? I'm currently testing in storybook and using ChangeDetectorRef seems to be working correctly.

@Akshat55 looks like the stackblitz template is broken so I created a demo project to reproduce the issue. The combobox won't show the selected item with the id 1 after the list items are set lazy when pressing the button. It will only work, if you are patching the form again and setting the selected value again: https://github.com/danielsogl/carbon-design-combobox-bug

@Akshat55 an update from my side. Looks like the issue is that the selected property is not set when setting the options list but a selected value is already passed to the component. I "resolved" the issue by wrapping the component by myself. The issue itself is still present.


WIP: Update documentation for pipeline of raw data to model results

name: Pull Request
about: Fill out this template before submitting a Pull Request.
title: Pull Request
labels: 'pull request'
assignees: ''

Description

Types of changes

Checklist:

[ ] I have read the documentation on CONTRIBUTING
[ ] My updates require a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Hints to reviewers:

This is still WIP!

I had to reconcile my changes to the README w/ yours. In the process I added a diagram of table relationships.


Adding a proposal for CSS style changes on the warning.

This is a change to the style of the notice about Google's WEI. Changed the colors of the background and text to be less screaming, changed display type to flex, added some padding on the sides of the text and centered it vertically.

LGTM


It is not the first attempt to involve supervised speech tokens into TTS models.

In the Cosyvoice paper (https://arxiv.org/pdf/2407.05407), the authors mentioned that To the best of our knowledge, this is the first attempt to involve supervised speech tokens into TTS models. However, WhisperSpeech (https://github.com/collabora/WhisperSpeech/issues/3) has used tokens quantized by VQ in the Whisper encoder, which is very similar to CosyVoice.

yes, but whisper is more asr related, not used in tts scenario

yes, but whisper is more asr related, not used in tts scenario

WhisperSpeech (https://github.com/collabora/WhisperSpeech/issues/3) initially quantize Whisper encoder embeddings into semantic tokens, and then train the text-to-semantic model and the semantic-to-acoustic model. WhisperSpeech system takes VQ-based semantic tokens as speech tokens in speech generation, which is similar with CosyVoice paper (https://arxiv.org/pdf/2407.05407). So the conclusion ( To the best of our knowledge, this is the first attempt to involve supervised speech tokens into TTS models ) may be corrected. At last, thanks your great work on CosyVoice.


Flutter Doctor -v Android Studio: Unable to find bundled Java version

Steps to Reproduce

open up a terminal
type flutter doctor -v

Logs

Logs

flutter doctor --verbose
[✓] Flutter (Channel stable, 3.3.4, on Linux Mint 21 5.15.0-48-generic, locale pt_BR.UTF-8)
    • Flutter version 3.3.4 on channel stable at /home/mestre/.asdf/installs/flutter/3.3.4-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (3 days ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/mestre/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~22.04-b07)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /home/mestre/Downloads/AppImages/Google-Chrome-Beta.AppImage

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1
    • cmake version 3.24.2
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] Android Studio (version 2022.2)
    • Android Studio at /opt/android-studio-2022.2.1/android-studio
    • Flutter plugin version 70.2.5
    • Dart plugin version 222.4167.21
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio
    • Android Studio at /opt/android-studio
    • 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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux Mint 21 5.15.0-48-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 107.0.5304.18 beta

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

I can't make flutter doctor work without issues. When I run flutter doctor -v, it seems like it can't find JDK installed, but it is installed.
My .bashrc has:
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin

Hello @gab-luz. From your doctor logs, I can't see any issues. can you share the error doctor logs?

Yes that's the right command but the logs you included in https://github.com/flutter/flutter/issues/113161#issue-1401924376 doesn't show any errors in the command.

Yes that's the right command but the logs you included in #113161 (comment) doesn't show any errors in the command.

It's not finding my java install.

I'll close it for now. Thanks bro.


#488 init subcommand

Working on #488 that adds the init subcommand.

Sweet! Let me know when the PR is ready for review.

Hello! It should be good to review, although I did just notice that you wanted to open the editor with the project that was just initialized. Would you want me to add that to this PR?

Great, I'll review it now. I think invoking the editor can be left to a subsequent diff, since there are few decisions there that I'm not sure about, like:

Do we always want to invoke the editor?
Is --edit good enough to edit the new justfile, even though it requires a second command?

The CI failure just now is on me, due to a change I just landed. I'll push a diff that fixes it to your branch and restart the tests.

Yo, @ladysamantha! Is this ready to re-review? Just wanted to double-check before I started looking at it.

sorry for not getting back! It should be ready for review
-------- Original Message --------
On Oct 22, 2019, 7:48 PM, Casey Rodarmor wrote:

Yo, @ladysamantha! Is this ready to re-review? Just wanted to double-check before I started looking at it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I've landed a bunch of changes which conflict with this branch. Fortunately though, I think that overall they'll make this feature easier to write.
All subcommand logic has been moved into individual methods of Config, like Config::list(), Config::run(), etc, which should make it much easier to write subcommands like --init without without worrying about what other subcommands are doing.
There's also a new SearchConfig enum, and I think it would be pretty natural to implement this feature using that enum for configuration. (I.e. add SearchConfig::Initialize, and make Search::search search for the project root when that variant is set.).
Are you still interested in landing this? If not, since there's a lot of good tests and logic in this PR, would you mind if I used it as a starting point and finished it?

I'd totally be happy if you used my changes as a starting off point.
-------- Original Message --------
On Nov 13, 2019, 8:21 PM, Casey Rodarmor wrote:

I've landed a bunch of changes which conflict with this branch. Fortunately though, I think that overall they'll make this feature easier to write.
All subcommand logic has been moved into individual methods of Config, like Config::list(), Config::run(), etc, which should make it much easier to write subcommands like --init without without worrying about what other subcommands are doing.
There's also a new SearchConfig enum, and I think it would be pretty natural to implement this feature using that enum for configuration. (I.e. add SearchConfig::Initialize, and make Search::search search for the project root when that variant is set.).
Are you still interested in landing this? If not, since there's a lot of good tests and logic in this PR, would you mind if I used it as a starting point and finished it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Merged in #541


REGION - Fetch population values for all the COUNTRIES in SELECTED REGION from the database.

SQL added to github


two copies of pyasn1_modules in $PYTHONPATH; doesn't work with remote_api_shell.py

Python 2.7.13 on Mac OS 10.11.6, with google-cloud 0.22.0, Cloud SDK 138.0.0.
Installing google-cloud using pip downloads and installs pyasn1_modules as a dependency, but it is newer than the one that ships with the platform.
For my managed App Engine project, I use the vendor system.  My appengine_config.py has
from google.appengine.ext import vendor
vendor.add("lib")

I installed google-cloud using mkdir lib; pip install -t lib google-python and my service works fine both when deployed and when I use dev_appserver on my computer.  However, I can't seem to use google-cloud with remote_api_shell.py:
$ ~/google-cloud-sdk/platform/google_appengine/remote_api_shell.py \
    -s someproject.appspot.com
App Engine remote_api shell
Python 2.7.13 (default, Dec 17 2016, 23:03:43)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)]
The db, ndb, users, urlfetch, and memcache modules are imported.
s~someproject> from google.appengine.ext import vendor
s~someproject> vendor.add("lib")
s~someproject> from google.cloud import storage
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Users/fn/someproject/lib/google/cloud/storage/__init__.py", line 36, in <module>
    from google.cloud.storage.client import Client
  File "/Users/fn/someproject/lib/google/cloud/storage/client.py", line 19, in <module>
    from google.cloud.client import JSONClient
  File "/Users/fn/someproject/appengine/python/lib/google/cloud/client.py", line 18, in <module>
    from google.oauth2 import service_account
  File "/Users/fn/someproject/lib/google/oauth2/service_account.py", line 76, in <module>
    from google.auth import _service_account_info
  File "/Users/fn/someproject/lib/google/auth/_service_account_info.py", line 22, in <module>
    from google.auth import crypt
  File "/Users/fn/someproject/python/lib/google/auth/crypt.py", line 45, in <module>
    from pyasn1_modules import pem
ImportError: cannot import name pem
s~someproject>

It looks like I have pyasn1_modules both in my lib directory (installed as a dependency for google-cloud) and in
/Users/fn/google-cloud-sdk/platform/google_appengine/lib/pyasn1_modules/pyasn1_modules/
The former has pem.py but the latter doesn't.

High-level: why are you using the remote API shell to import google.cloud.storage? You shouldn't ever need to do that.

@jonparrott is our resident GAE expert, though I'll try to help. We should probably move this issue over to https://github.com/GoogleCloudPlatform/google-auth-library-python/ though since the issue is with the auth library (not really though, since it's just a PYTHONPATH issue).
From the remote API shell, execute the following:
>>> import pyasn1_modules
>>> pyasn1_modules
<module 'pyasn1_modules' from '/usr/local/lib/python2.7/dist-packages/pyasn1_modules/__init__.pyc'>
>>> pyasn1_modules.__file__
'/usr/local/lib/python2.7/dist-packages/pyasn1_modules/__init__.pyc'

I recently had a bug in my deployed application where some datastore entities were out of sync with their related files on cloud storage.  I used the remote API shell to loop over the affected objects, figure out if the referenced files existed, and fix up the objects.  I ended up using stat() from the cloudstore package.
For me, your commands point to pyasn1_modules in the platform directory:
$ ~/google-cloud-sdk/platform/google_appengine/remote_api_shell.py -s someproject.appspot.com
App Engine remote_api shell
Python 2.7.13 (default, Dec 17 2016, 23:03:43)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)]
The db, ndb, users, urlfetch, and memcache modules are imported.
s~someproject> from google.appengine.ext import vendor
s~someproject> vendor.add("lib")
s~someproject> import pyasn1_modules
s~someproject> pyasn1_modules.__file__
'/Users/fn/google-cloud-sdk/platform/google_appengine/lib/pyasn1_modules/pyasn1_modules/__init__.pyc'
s~someproject>

I don't have pyasn1_modules installed system-wide, just in my project's lib directory.  Since the script prepends its own directory's path into sys.path, trying env PYTHONPATH=lib .../remote_api_shell.py doesn't help either.

@faried Great, it's possible that sys.path has the platform libs before your lib, but I don't think that's true.
 That mean future import pyasn1_modules will just grab the already imported module in sys.modules.
You can run sys.modules.pop('pyasn1_modules') before importing google.cloud.storage and it should fix it? Also setting PYTHONPATH for the remote shell should fix it, but I can't vouch for what the shell is doing underneath.

@faried I am pre-emptively closing out (so I don't forget to sweep it up later). LMK if this doesn't work and we can re-open.

it's possible that sys.path has the platform libs before your lib, but I don't think that's true.

It does.  I can't find a recent copy of remote_api_shell.py on github, but the one in my platform/google_appengine directory has this right at the top:
import os
import sys
import time

sys_path = sys.path
try:
  sys.path = [os.path.dirname(__file__)] + sys.path

  import wrapper_util

finally:
  sys.path = sys_path

If I run env PYTHONPATH=lib ~/google-cloud-sdk/platform/google_appengine/remote_api_shell.py -s someproject.appspot.com about 19 directories from inside /Users/fn/google-cloud-sdk/platform/google_appengine/ end up in sys.path before my lib directory, including platform/google_appengine/lib/pyasn1_modules.
Your suggestion of running sys.modules.pop('pyasn1_modules') does work around the problem.
I don't know where the appengine repository is, but I think an issue should be created there to update their copy of pyasn1_modules.  In fact, platform/gsutil, platform/google_appengine and platform/bq all have different versions of pyasn1_modules, none of them the most recent one (0.0.8, released September 2015).

Thanks for the info @faried.
@jonparrott Where to report gcloud CLI/SDK bugs?


fix(groups): group user list

What this PR does 📖

Fix group participants inconsistency:

It was possible to "remove" (only visually) users by clicking on the user list instead of the buttons on top

Hey Kevin! I think this bug fits the scope of this pr but we can handle it in another ticket if need be. So while testing it seems removing a user on the top bar will work fine but if you scroll through the list and remove them from there it doesn't actually remove them it will just reselect them
Screen.Recording.2024-11-01.at.12.51.17.PM.mov

yes thats intended. the list shows ALL friends of yours. if they are selected they are in the group

i would suggest we keep this pr as is as ill address the permission thing in another pr

added blocked label, being discussed with flem

after discussing with flem, merging as is and will fix the non admin stuff in another PR


Question: obtaining evidence

We are a "Group DIS" customer and it seems data leaks occurred the 15/05/2023 and 17/05/2023 via alphv website.
We suspect the company not being transparent, they claim no data leak occurred.
I can't find any document linked to group DIS on alphv website, but we suspect the leak did occur and the ransom was paid afterwards, so the data has been removed.
I'm unfortunately discovering ransomwatch only now and was not running it to get evidences.
Is there any chance we can still get a proof of the leak ?
The only document I find is a copy of the webpage, that's calling a javascript. So we have no useful information.
We can of course prove our legitimacy.
Great project BTW! :)
Edit: Also available via<EMAIL_ADDRESS>

Just sent you an email with the information that I found


Maybe keep support for codeclimate binary

According to the 0.0.4 docs it made sense to run commands like below on your CI platform to post to code climate

npm install -g codeclimate-test-reporter
CODECLIMATE_REPO_TOKEN=token codeclimate < coverage/lcov.info

Since its always a fresh global install it gets the newest release, now that the binary is called  codeclimate-test-reporter instead of codeclimate this throws an error. Minor change to fix it in the app, but might make sense to just alais codeclimate to codeclimate-test-reporter so it doesn't break people's coverage deployment

+1, Having same issue in sequelize project. Test coverage just stopped working. Checked logs to see codeclimate command not found error. You should keep alias codeclimate to prevent such breaks.

Apologies for the inconvenience here. The codeclimate binary is now in use by our CLI, and in order to prevent collisions, we had to rename the reporter here. My suggestion would be to update the test reporter and use the new binary if possible.


feat: add support for prependBaseUrlToResourcesPath configuration

In this commit, a new configuration option dbadmin.prepend-base-url-to-resources-path is added. This option is used when there is a need to set the static resources path to the same as the application path. This might be useful when the application is hosted behind a reverse proxy with a prefix path.

Hello fabien, thanks for thinking about contributing to the repo.
For the time being, however, I'm not accepting PRs. It takes too much time to understand the code and use case, review it, and then maintain it into the future. I'll leave this pending, as thing may change later. Sorry for the inconvenience.


Incorrect error and disabling the backspace key

Occasionally when I open VSC (v1.36.1 currently), the docs-markdown extension (v0.2.12) throws an error when I use the backspace key, and the backspace key doesn't remove characters from the markdown file. Each time I press the key, the error message is ...

The docs-markdown extension only works on Markdown files.

Sometimes the error clears itself in a minute or two. I can also clear it by closing and re-opening VSC.

Thank you for reporting the issue. This problem has been fixed in by removing the delete list helper functionality in this PR #339. Closing this issue out.


Added Kotlin version of Fibonacci number calculation

This is a Kotlin implementation of the algorithm to generate Fibonacci numbers <= n.

Move fibonacci folder to Mathematics


Dutch exchange 2.0 alex code

Implemented the treshold logic for starting new auctions.
migration runs smoothly, we can start building real tests.

Closing as feature/DutchExchange2.0_Alex_Code is latest.


Login view layout

Sumary
Trello card: https://trello.com/c/mHc2j1xc/4-vista-log-in
Added the default login view (xib file) and added to the logic the elements of the view that weren't binded yet.
Added a demo example of how to use the Authentication Boostrapper and be able to manually test the login process.
Test Plan
(Don't click on "forgot password ?" and/or "Register"!)

Open the app
The only email-password combination that works is<EMAIL_ADDRESS>and "password".
Tryout validation errors and login errors.

Screenshots
iPhone 4s
Initial screen

Validation Errors

Bad login

Keyboard showing

iPhone 5c/5/5s
Initial screen

Validation Errors

Bad login

Keyboard showing

iPhone 6
Initial screen

Validation Errors

Bad login

Keyboard Showing

iPhone 6s+
Initial screen

Validation Errors

Bad login

Keyboard Showing

Known issues

Frame display when keyboard is showing looks good on iphone 6 and 6s plus but not in 4 and 5. (Trello card: https://trello.com/c/AlZ61WAX/21-arreglar-display-al-mostrar-el-teclado )
In the password textfield and button, the textfield border is visible against the button although very dim. (Trello card: https://trello.com/c/MPUsMM3F/20-corregir-el-borde-del-textfield-para-la-contrasena-en-la-vista-de-login )
When the security option is set on the password text field and the following actions happen, the already written password erases and starts writting again:
Write in password text field.
Change to email textield or click any other element OR touch show and hide again.
Click again in password text field to continue writing.
(Trello card: https://trello.com/c/B3D4IKhw/22-bug-al-reescribir-contrasena-en-security-mode )
When the user selects to show password, the font and size is not what expected. (Trello card: https://trello.com/c/WD4SbyMV/24-mostrar-contrasena-cambia-la-font-de-forma-no-deseada )
Strings files still have to be associated with the app manually. (Trello card: https://trello.com/c/bQyWymgh/23-lograr-string-localization-automatica )
Colours can't be customized yet. (Trello card: https://trello.com/c/7WPRPJEH/19-configurar-la-paleta-de-colores-en-el-log-in )

@danielaRiesgo It seems that the passworld field has a double border, probably caused by the text field its self. Can you try to remove the borders from the text field?

@danielaRiesgo I've just realized this is a known issue. Can you create a card to fix this and put the card link in the PR?

Create a card for every know issue, and if you know how to fix it put in the card's description and then add each card's link in this PR with its corresponding known issue.

@danielaRiesgo Remember to add a commit for each comment.

This will fix the issue with font in the password text field when showing / hidding the password. (Code in objc from another project)
 self.passwordTextField.enabled = NO;
self.passwordTextField.secureTextEntry = !self.passwordTextField.secureTextEntry;
 self.passwordTextField.enabled = YES;
 [self.passwordTextField setFont:[UIFont systemFontOfSize:14]];

Let's revert this commit

I've been discussing with the rest of the team and we want to minimize configuration setup looking this from the consumer side. What I am trying to say is that we by default user's won't be able to change the transition and the classes for each controller (unless they inherit from the AuthenticationConfiguration).
What I don't want is to make this super complex just to let the user configure how the transition will be made from the login controller to the register controller.
I would like to have something like the following setup:
protocol AuthenticationConfiguration {

  var loginControllerDelegate: LoginControllerDelegate { get }
  var loginViewDelegate: LoginViewDelegate { get }

  var registerControllerDelegate: RegisterControllerDelegate { get }
  var registerViewDelegate: RegisterViewDelegate { get }

}

extension AuthenticationConfiguration {

  var loginControllerDelegate: LoginControllerDelegate { return DefaultLoginControllerDelegate() }
  var loginViewDelegate: LoginViewDelegate { return DefaultLoginViewDelegate() }

  var registerControllerDelegate: RegisterControllerDelegate { return DefaultRegisterControllerDelegate() }
  var registerViewDelegate: RegisterViewDelegate { return DefaultRegisterViewDelegate() }

}

final class DefaultAuthenticationConfiguration: AuthenticationConfiguration {}

final class CustomLoginViewDelegate: LoginViewDelegate {

  func configureView(view: LoginViewType) {
    view.emailTextField.color = UIColor.redColor()
  }

}

final class CustomAuthenticationConfiguration: AuthenticationConfiguration {

  var loginViewDelegate: LoginViewDelegate { return CustomLoginViewDelegate() }

}

AuthenticationBootstrapper(window: window, configuration: CustomAuthenticationConfiguration()) {
  window.rootViewController = UINavigationController(rootViewController: MainViewController())
}

Travis failing because of configuration errors:
$ rvm use $(< .ruby-version) --install --binary --fuzzy
ruby-2.3.0 is not installed - installing.
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.3.0 do rvm gemset create ' first, or append '--create'.
The command "rvm use $(< .ruby-version) --install --binary --fuzzy" failed and exited with 2 during .
Your build has been stopped.

About the configuration setup.
I like more the first option, because it not only minimizes the arguments in the loginController but it also gives more structure and "entry points" with clear responsabilities for the user.
But at the same time, I was thinking that you are right, transitions are the least of the problems. I don't think anyone would use any other option than presenting or changing the root view controller (at least for 95% of times I think). So if they are changing the transitions, they are most probably changing other things and already inheriting from AuthenticationBootstrapper.
So maybe were overworking or overthinking, and the last option is quicker and still enables configuration. Although I would prefer having the LoginControllerActionDelegate (or TransitionDelegate) to separate responsabilities (without the AuthenticationConfiguration).

@danielaRiesgo OK lets do the third option extracting the TransitionDelegate from the Configuration object. For the ruby issue, lets downgrade ruby to 2.2.2. Do rbenv local 2.2.2 && gem install bundler && rbenv rehash && bundle install.

@danielaRiesgo You need to configure CarthageCache in travis.

@danielaRiesgo Check that the login controller initializer has a problem with spacing

@danielaRiesgo LoginViewConfiguration should be a protocol (LoginViewConfigurationType) and we should define a protocol extension with the default configuration.

@danielaRiesgo Are you sure that the user of this lib will be able to configure the color pallet? I am not sure but I think that if you define an initializer with no parameters then you won't be able to create a configuration with a different pallet.
I think that for convenience all the properties in the pallet struct should be var.

:+1: There are no linter violations.

:+1:


Add SQA

Adding a Dataset

Name: SQA (Sequential Question Answering) by Microsoft.
Description: The SQA dataset was created to explore the task of answering sequences of inter-related questions on HTML tables. It has 6,066 sequences with 17,553 questions in total.
Paper: https://www.microsoft.com/en-us/research/publication/search-based-neural-structured-learning-sequential-question-answering/
Data: https://www.microsoft.com/en-us/download/details.aspx?id=54253
Motivation: currently, the Tapas algorithm by Google AI is being added to the Transformers library (see https://github.com/huggingface/transformers/pull/8113). It would be great to use that model in combination with this dataset, on which it achieves SOTA results (average question accuracy of 0.71).

Note 1: this dataset actually consists of 2 types of files:

TSV files, containing the questions, answer coordinates and answer texts (for training, dev and test)
a folder of csv files, which contain the actual tabular data

Note 2: if you download the dataset straight from the download link above, then you will see that the answer_coordinates and answer_text columns are string lists of string tuples and strings respectively, which is not ideal. It would be better to make them true Python lists of tuples and strings respectively (using ast.literal_eval), before uploading them to the HuggingFace hub.
Adding this would be great! Then we could possibly also add WTQ (WikiTable Questions) and TabFact (Tabular Fact Checking) on which TAPAS also achieves state-of-the-art results. Note that the TAPAS algorithm requires these datasets to first be converted into the SQA format.
Instructions to add a new dataset can be found here.

I’ll take this one to test the workflow for the sprint next week cc @yjernite @lhoestq

@thomwolf here's a slightly adapted version of the code from the official Tapas repository that is used to turn the answer_coordinates and answer_texts columns into true Python lists of tuples/strings:
import pandas as pd
import ast

data = pd.read_csv("/content/sqa_data/random-split-1-dev.tsv", sep='\t')

def _parse_answer_coordinates(answer_coordinate_str):
  """Parses the answer_coordinates of a question.
  Args:
    answer_coordinate_str: A string representation of a Python list of tuple
      strings.
      For example: "['(1, 4)','(1, 3)', ...]"
  """

  try:
    answer_coordinates = []
    # make a list of strings
    coords = ast.literal_eval(answer_coordinate_str)
    # parse each string as a tuple
    for row_index, column_index in sorted(
        ast.literal_eval(coord) for coord in coords):
      answer_coordinates.append((row_index, column_index))
  except SyntaxError:
    raise ValueError('Unable to evaluate %s' % answer_coordinate_str)

  return answer_coordinates

def _parse_answer_text(answer_text):
  """Populates the answer_texts field of `answer` by parsing `answer_text`.
  Args:
    answer_text: A string representation of a Python list of strings.
      For example: "[u'test', u'hello', ...]"
  """
  try:
    answer = []
    for value in ast.literal_eval(answer_text):
      answer.append(value)
  except SyntaxError:
    raise ValueError('Unable to evaluate %s' % answer_text)

  return answer

data['answer_coordinates'] = data['answer_coordinates'].apply(lambda coords_str: _parse_answer_coordinates(coords_str))
data['answer_text'] = data['answer_text'].apply(lambda txt: _parse_answer_text(txt))

Here I'm using Pandas to read in one of the TSV files (the dev set).

Closing since SQA was added in #1566


trace bind broken on kernel v6.6+

Description
The trace bind gadget is broken on kernel v6.6+.
Linux 6.6 removed the freebind field from struct inet_sock (https://github.com/torvalds/linux/commit/3f7e753206bb20fc098b44ec40001befd1fe18d1).
The trace bind gadget uses this field in bindsnoop.bpf.c#L92:
BPF_CORE_READ_BITFIELD_PROBED(inet_sock, freebind);

Impact
This causes the relocation to fail and the trace bind gadget fails:
$ sudo -E ig trace bind -v
...
	; BPF_CORE_READ_BITFIELD_PROBED(inet_sock, freebind);
	107: (7b) *(u64 *)(r10 -8) = r1       ; frame1: R1_w=0 R10=fp0 fp-8_w=00000000
	108: (85) call unknown#195896080
	invalid func unknown#195896080
	processed 99 insns (limit 1000000) max_states_per_insn 0 total_states 7 peak_states 7 mark_read 5
...
Error: running gadget: running gadget: installing tracer: loading ebpf spec: loading maps and programs: field IgBindIpv4X: program ig_bind_ipv4_x: load program: invalid argument: invalid func unknown#195896080 (144 line(s) omitted)

Additionally, make gadgets-unit-tests fails with the same error message, for the same reason.
Environment and steps to reproduce

Use Linux >= 6.6
Run command sudo -E ig trace bind -v

Expected behavior
The trace bind gadget works as before.
Additional information
unknown#195896080 is cilium/ebpf code for a bad relocation:
$ echo 'obase=16;195896080'|bc
BAD2310
$ git grep -i BAD2310
btf/core.go:44:         const badRelo = 0xbad2310

It is emitted when cilium/ebpf cannot do the relocation for the current kernel (in this case, BPF_CORE_READ_BITFIELD_PROBED(inet_sock, freebind)).

bindsnoop in bcc had the same issue and it was fixed with bpf_core_field_exists in https://github.com/iovisor/bcc/pull/4846
https://github.com/torvalds/linux/commit/3f7e753206bb20fc098b44ec40001befd1fe18d1
<EMAIL_ADDRESS>

Does any of our CI test platforms (ARO, AKS, EKS, GKE) use a kernel >= 6.6?


ftpignore

How to make ftpignore file effective? Iwant to ignore some file in remote-ftp, I writtend .py[cod] \n log/ like gitignore,but I feel terrible not working.....
how can i do??

I am also having some problems with the .ftpignore file. When I rightclick my local project folder and select "Sync local -> remote" the ignored files are also uploaded.

I love the idea of the ignore file, though can this ignore whole directories as well?

The ignore feature is built upon the npm package ignore https://www.npmjs.com/package/ignore. So any pattern it excepts should be accepted by Remote FTP

If you have any more issue leave a comment.

I am sorry, but I think this is not completly solved. My ignored files are still uploaded to the server.
Steps to reproduce:

Create the ignore file via "Packages -> Remote-FTP -> Create ignore File"
This default file contains two lines with ".ftpconfig" and ".DS_Store" which shall be ignored
Create the ftpconfig via "Packages -> Remote-FTP -> Create FTP config file"
Fill in your config
Right click your local folder in Atom and select "Sync local -> remote"
The .ftpconfig file is transfered to the remote server although it should be ignored.

@joergmoldenhauer You are correct. I can't seem to get it to work at all. I'm not sure how it is meant to work if I'm honest it would really need to be integrated with the ftp & sftp connectors themselves.

this bug is extremely important security branch as the passwords (of those who authenticate with a password) will be revealed.

@oztalha I understand that this could be a security breach but from what I can see the feature will need quite a bit of work to get functioning correctly.

The .ftpignore wasn't working at all!
Since the latest update and (02b9f7e637e6244206035ef77c957922e095addb) it should work as intended, but currently only for sync-local -> remote

it would be great if it could be working while saving files.
Recently I had been connected to server, and made local changes to .ftpconfig (which I have added to my .ftpignore) putting into it some password :) and then saved, and the file was sent to remote server.

Sadly the issue still persists. All files mentioned in .ftpignore get uploaded to the server when I edit them. Also I cannot exclude certain remote folders from getting downloaded, e.g. symlinks.

Any news about this?


consider removing the carat from your dependencies

At the moment this package is breaking my Babel6/Browserify build, because of a bug in
https://github.com/Pomax/react-onclickoutside
which has been fixed in github but which nevertheless won't be available until Pamax publishes 4.4.0 to npm.
I'd prefer not to worry about Pomax's npm publishing schedule. If you'd locked your dependency with --save-exact or the like, your package -- and by extension my build -- would be more stable.
I know everyone loves semver, but still...

+1

Pinned the version again. Should resolve the issue

Great, thanks! But please consider not readopting the carat as soon as react-onclickoutside is fixed on npm. There's nothing I like better than knowing that my build is going to work tomorrow as well as it works today if I don't mess anything up.

Same here, I'll make sure this double checked next time. Looks like react-onclickoutside upgraded to babel6 and might cause some issues here.


i18n Portuguese configuration

Add a Portuguese language option.
I've just used Italian code part from switch case and changed it to pt.
Just worked.

Obrigado! I need to see before the merge how does the LanguageSwitcher component (top right) work on mobile: I think there's no room for three languages :)

maravilha! thanks @saitodisse, I've published PT :+1: I've also upgraded to intl 1.0, if you are interested. this changed a bit how localization is loaded:
https://github.com/gpbl/isomorphic500/commit/330e8601f7833f0fdcedd500fae4859ea11e8b27

Grazie mille!
Very good the upgrade to intl 1.0


Demonstration "local" KAPy instance

Is your feature request related to a problem? Please describe.
KAPy needs to be used in local instances, with code and configuration that is under version control, but not part of the core repo.
Describe the solution you'd like
Snakemake provides a model for this type of work. We should make a demonstration instance of how exactly this could work, both to test the concept and illustrate it to other people.

Don't forget to include a tutorial / README

Completed. See Tino Pai -  https://github.com/Klimaatlas/TinoPai-a-KAPy-example/


In Documentation, we should include the extra php extensions need to run this app

Bug report
Title
In Documentation, we should include the extra php extensions need to run this app
Issue Description
**With core PHP server confirguration, I found this application needs two more php extensions required apart of the default laravel recomanded**

Steps to reproduce
**Try setup with docker  or with local php development configuration**

1. framework Version: Master
2. Commit id.

Suggested Changes
The documentation Requirements section must contains the required extesions utilized by the app. Right now I just found these needs to be add/include apart from the default laravel dependancies.
php7.1-intl & php7.1-gd

If it feels required, I'm happy to help with this.


Allow building with mtl-2.3.* and transformers-0.6.*

Everything works as expected locally when running cabal test all --enable-tests --constraint="mtl==2.3.*" --constraint="transformers==0.6.*".

Ping.

Thanks!


npx react-native run-macos in a new project is launching code in an unrelated project

Environment
react-native -v: 10.0
npm ls react-native-macos<EMAIL_ADDRESS>node -v: v21.7.2
npm -v: 10.5.0
yarn --version: n/a
xcodebuild -version: xcodebuild -version
macOS: 13.6.4

Steps to reproduce the bug
I created a new project:
npx react-native@latest init project1 --version 0.71.0
cd project1
npx react-native-macos-init

Launched it with npx react-native run-macos - so far so good. Did a bit of work on it trying to get some old react components to work, ran into an issue, decided to start over.  To be specific I had tried to import @reduxjs/toolkit which was somehow not being found and so the app barfed before it even instantiated <App>. So i backed up and made a totally unrelated project:
npx react-native@latest init project2--version 0.71.0
cd project2
npx react-native-macos-init

However now when I try to launch project2 with npx react-native run-macos the app window comes up and i get an error about how it cannot find @reduxjs/toolkit when it tries to compile source code that lives in the project1 directory tree???
Expected Behavior
I expect a new project to have absolutely no dependency or relationship of any kind to the old project.
Actual Behavior
I have repeated this now with several new projects and the result is always the same - no matter what project i create or where i create it the react-native app that comes up when i run npx react-native run-macos is always trying to run code in project1 (and failing because of a reference to @reduxjs/toolkit)
i scanned my environment for any weird env vars, found nothing. at a loss as to how to proceed here.
Reproducible Demo
The default project that gets built by npx react-native@latest init project2 --version 0.71.0 reproduces this just fine.
Additional context
No response

I just tried to make yet another new project after moving project1 out of the way and now I at least get a more descriptive error even though it's still trying to run code from project:
Metro has encountered an error: ENOENT no such file or directory, lstat '/Users/uzor/work/project1': node:fs (2702:29)

this was caused by (at a minimum) metro bundler failing to exit after being launched the first time which is unexpected. unclear if that's really the fault of react-native-macos but it was definitely unexpected behavior for a newcomer.
if anyone else runs into this issue you can (usually) find the process ID of metro bundler by looking to see if any processes are holding port 8081 (metro bundler's default port) with lsof -t -i :8081


when git operation, create so many git processes, and cpu 100%.

VSCode Version: Code 1.8.0 (38746938a4ab94f2f57d9e1309c51fd6fb37553d, 2016-12-13T17:45:32.595Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.0.18

vscode-eslint
dbaeumer
1.2.1

bootstrap-3-snippets
wcwhitehead
0.0.8

JavaScriptSnippets
xabikos
1.2.0

Steps to Reproduce:

when git operation, so many  processes of git,  cpu 100%
cause Git extension create so many git process. cpu 100%

@Crachman can you please provide more detailed steps? How large is your repository? What is the state of your workspace compared to the remote before you run the operation? Which operation do you run? How long to you see the high CPU usage? etc. Thanks!

Closing due to inactivity. @Crachman


Remote class should use CIDs

Problem
Right now, the remote class accepts arbitrary Text. Both for reasons of documentation, and ensuring that we're expressing our intent, this should be strengthened at the type level.
Solution
Use the existing CID type newtype CID = CID { unaddress :: Text }
  ipfsCat   :: Text            -> m (Either ClientError File.Serialized)
  ipfsPin   :: Text            -> m (Either ClientError Pin.Response)
  ipfsUnpin :: Text -> Bool    -> m (Either ClientError Pin.Response)

should read
  ipfsCat   :: CID            -> m (Either ClientError File.Serialized)
  ipfsPin   :: CID            -> m (Either ClientError Pin.Response)
  ipfsUnpin :: CID -> Bool    -> m (Either ClientError Pin.Response)

Fixed in https://github.com/fission-suite/ipfs-haskell/pull/6


feat: use assetsBuildDirectory instead of deprecated browserBuildDirectory config option

browserBuildDirectory is deprecated and assetsBuildDirectory should be used instead

https://vuuzletvph.com/heads-up-vuco-bounty-programs-are-coming-your-way/

@mcansh @kentcdodds Is there something I should still do to get this one merged?

I'm actually surprised we let that through when we removed the deprecated hooks 😅


Popper misaligned if reference initially hidden

CodePen demo
https://codepen.io/jamesarosen/pen/pVZPMy
Steps to reproduce the problem

hide the reference element using [hidden] and/or display: none
create a new Popper using the hidden reference element
show the reference element

What is the expected behavior?
Popper is aligned to reference element on show
What went wrong?
Popper is aligned to top-left of viewport.
Other comments
Possibly related to #537

You have to call Popper#scheduleUpdate after the element becomes visible.

I was hoping some sort of mutation observer might help, but I can't think of a way to observe changes to the reference element and all its ancestors without observing all changes to the whole DOM, which would probably be too expensive for a library like this.

I'm going to solve this in my own tooltip wrapper component by calling scheduleUpdate whenever the user interacts with the reference element causing the tooltip to appear. I'll close this issue. I do wish there were a not-prohibitively-expensive way for Popper to observe the reference element's computed style. Alas…


feat(table): add hasFastSearch prop to toggle onChange/onBlur

Closes #2871
Summary

add hasFastSearch prop to toggle search happening onChange or on Enter or onBlur.

Change List (commits, features, bugs, etc)

add hasFastSearch prop to table
set hasFastSearch to default to true to keep current behavior
pass to TableToolbar
add onKeyDown/onBlur handlers when hasFastSearch:false
add cypress tests to cover

Acceptance Test (how to verify the PR)

in the simple stateful table story, if you uncheck hasFastSearch the table should only update it's state when you press Enter or change focus away from the search box

Regression Test (how to make sure this PR doesn't break old functionality)

existing search functionality should be unchanged.

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

@davidicus Can you re-trigger netlify on this one? The push failed when I updated stories to add the hasFastSearch knob.

closing. as this was originally branched from master, and not next. reopening from next.


Distinguish type parameters and type arguments

It should not be possible to write:
callFunction("f", { invariant("T", upperBound = "Any".t) })

Furthermore, it should be possible to pass complex types to the type parameter methods and upperBound should be renamed to lowerBound.

Fixed


No kind checking - subrecords can be non-records

So, apparently if you do this:
type alias Vector a = { a | x : Int }

add : a -> Vector a
add p =
  { p | x = 1 }

x : Vector Int
x = add 1

you get this awful error which is hall of fame worthy
Used toSrcType on a type that is not well-formed

But the worst part is that if you comment out the type annotation for x
type alias Vector a = { a | x : Int }

add : a -> Vector a
add p =
  { p | x = 1 }

--x : Vector Int
x = add 1

No compile-time errors. ???
And if you try to show x, you get:
<internal structure>

???

In add, p must be a record, not an arbitrary term as the type a suggests. Define x as this and it compiles:
x : Vector {}
x = add {}

show x produces { x = 1 } as you'd expect.
The type of add needs to be constrained to only accept a record, but the obvious add : {a} -> Vector a is not accepted.

This should be a kind error, which currently is not detected.

Two asides:

As asked here: https://groups.google.com/forum/#!topic/elm-discuss/jGA5O0shBU4
Is there a way to alias the extensible empty record type.

You know, something like this:
type alias Record a = { a | }

Cuz that can at least protect certain APIs from this bug. Concretely, I'd be able to define the add function from above to be:
add : Record a -> Vector (Record a)

And at least here, the error would be less ugly (cuz presumably you'd get the standard error of types being mismatched as opposed to the horribleness you get today).

I know that you're interested in the idea, but should we start discussing the possible revamping of the whole record thing or is it too soon?

You know, discuss ideas like merging, disallowing two fields of the same name, multiple extend operations, multiple delete operations, etc...

Note that, while the example provided by @TheSeamau5 is “evidently” malformed, there are less obvious ways to confuse the typechecker:
type alias X  a =   { a | x : Int }
type alias XY a = X { a | y : Int }
type alias Q  a =   { a | q : Int }
type alias XYQ  =   XY (Q {})
type alias QXY  =   Q (XY {})

xy : XY {}
xy = { x = 0
     , y = 0 }

xyq : XYQ
xyq = { x = 0
      , y = 0
      , q = 0 }

-- with type annotation, compiler raises `Used toSrcType on a type that is not well-formed`;
-- without, infers same type of `xyq`.
qxy : QXY
qxy = { x = 1 // 1
      , y = 1 // 1
      , q = 1 // 1 }

Also happens when the "extended" type is an ADT. Unfortunately, the error message does not even say which type is problematic. :(

Sorry, I don't get why it raises a problem on the example shown by @ndr-qef. It's a very nice example, since it shows how subtle this issue is imho (as xy and xyz work just fine). Can you explain what is wrong with it, with zxy? I mean, as far as I understand it resolve to an empty record in the end, right? So how do xyz and xy differ fundamentally from zxy?
In particular, how can you avoid doing something like that yourself? I think I have the same basic problem as you show in the example, but don't quite understand the issue.

Since record extension is going to be removed in 0.16, the root example is no longer reproducible.
It looks like @ndr-qef has found an example that does not require record extension. I'm not sure it's the same thing, but I think it should be broken out into a separate issue of its own. I have a PR coming in which that code works just fine though, so give me a few hours and I may be able to share that!

The following code gives the same error in 0.16:
type alias Identified a =
    { a | id : String }

type alias Metadata =
    Identified ()

meta : String -> Metadata
meta id =
    { id = id }

Commenting out meta's type declaration causes the error to go away.
I can't tell if this is equivalent to one of the above examples or not.

I'm hitting this behavior in 0.17 and I'm not clear about the resolution or why this was closed.

We see a similar kind error with type constructors.
type IntRose =
  Leaf Int
  | Node List IntRose

compiles without warning.
If we add myRose = Node [Leaf 3], we get a mismatch between List and List IntRose: not exactly helpful. The error is in the type definition, not the use.
Newbies have come across this error more than once.

If you are seeing an error, open an issue with an http://sscce.org/ that follows the checklist. I believe there is already an issue open about adding kind checking though.

Yeah, this is tracked in #1373

What's the procedure for the bunched issues? Should the SSSCCE be provided on that issue? Or here?

I think it's only really valuable to have more if we think it is different or the solution is unlikely to catch a particular case.
A good way to do this is to open a new issue with an SSCCE, and when we are sure it is a duplicate, modify the meta issue to point to that issue as well. So I will edit #1373 to have a reference to this one as well.


Fannypacks

About the PR
Adds fannypacks, a new belt-storage item. They have no whitelist and can take any item 20 size or under, but their small container size may make them undesirable compared to other alternatives.
Right now, the colored fannypacks do not exist since worn items having the color component is broken, and adding a unique texture for every single colored fannypack would be absurd. The textures for the parts of the colored fannypack exist for when it is fixed, though.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Added fannypacks, get them from your nearest clothesmate vendor today!

make it so you can wear these on your back for the drip 😎
(you don't have to, unless you can sprite that and you want to)

Please don't call it fannypack lmao.

they're called fanny packs??? idk what y'all are on about.
(also i've always seen it written as 2 words: "fanny pack")

they're called fanny packs??? idk what y'all are on about. (also i've always seen it written as 2 words: "fanny pack")

I think they mean because of the slang use ?
https://www.urbandictionary.com/define.php?term=Fanny

Where in the world do people call these waist bags?

Where in the world do people call these waist bags?

Wild. I've never heard any term other than fanny pack before.

Weird, I've never heard them called waist bags before. I do guess it makes it more clear what it is anyways, so I'm not exactly opposed.

pussy pouch and everyone wins

bikeshedding time
i also agree its fanny pack not fannypack or waist bag (though i do not wear supreme so maybe its just a class difference)

bikeshedding time i also agree its fanny pack not fannypack or waist bag (though i do not wear supreme so maybe its just a class difference)

this is mostly to appeal to the fact that 'fanny' is slang for 'pussy' in other parts of the world - i personally wouldn't mind either way (being from america, i've known it as a 'fannypack' for a while as well), but since there's a neutral alternative (using supreme as the example just happened to be the closest convenient thing i could find) i'm leaning towards that

babe wake up its time to change branch name to fanny-packs and make new pr

oh no... it is not displayed in the hands...

oh no... it is not displayed in the hands...

/tg/ didn't have inhands and i didn't feel like making them (also i fucking hate the clothing downscales and i refuse to make any myself)


Enterprise IT admins can use well-supported tools that help them detection, deploy and cleanup .NET Core installs at scale

The goal here is to gather feedback based on internal testing and then make a tool available externally for early customer feedback during this timeframe.

[x] Continue testing on internal machines
[x] Investigate logs from internal testing
[x] Fix issues found from logs

[x] Identify any remaining changes needed to the logic/command line
[x] Prepare alpha package for release
[x] Make available to customers
[ ] Gather additional feedback
[ ] Develop plan for eventual release

Would this include scanning source repos (e.g. global.json) to ensure that .NET Core runtimes are being updated before they go out of support?

Hi,
What is the commit/progress status for this user story?
I am a little bit surprised by the lack of engagement from the community on this feature.
Updates for the .NET SDKs and runtimes seem to be rolled out on a monthly basis (kinda patch-Tuesday) and the March 8th update fixes two remote code execution vulnerabilities. That is when i realized we will have to plan to patch the .NET runtimes in our production environments on a montly basis, just as we do for the OS.
Current installation instructions for the .NET SDK and runtimes involve many manual steps and are not scalable for organizations with many servers to patch.
If you want .NET-customers to run their applications safely, you (or someone else) need to provide them with a tool to update their .NET runtimes (and SDKs) to the latest patch.
I searched for both official and community tools to help keeping my .NET runtimes up-to-date and was surprised by how little this topic is discussed. (Perhaps, many .NET-customers are hosting their applications in the cloud and therefore do not need to think about handling .NET runtime versions).
dotnet sdk check seems to be doing part of that job.
My organisation would benefit a lot from such a tool, like:

A command-line tool (PowerShell?) to install the latest runtimes (and SDK), with main version number and runtimes as argument
A command-line tool detecting installed runtimes (and SDKs), installing the latest patch
A command-line tool to remove old patches (to run after the previous one)

Note: I am aware about the existence of the dotnet-install.ps1 script but I am looking for a tool that would perform the admin-install (setting up PATH and whatever the .exe-install does).
I wonder what the status for this User Story is and whether such a tool will be release with .NET 7 or if I should start building my own tool.
Best regards,
Thibault Durand

Why not have dotnet sdk check have an optional option named --force-update where then it would uninstall the old sdk and runtimes for you and install the new ones (based on the os that is running it, it might need to require sudo access)

However there is a danger for such a tool that uninstalls older runtimes/sdks for another version and that is regressions. Currently I been facing for a while now the inability to run my winforms program which starts as hidden to check a few startup things and then display the form.

Why not have dotnet sdk check have an optional option named --force-update where then it would uninstall the old sdk and runtimes for you and install the new ones (based on the os that is running it, it might need to require sudo access to do silent updates for it).
with that it would be great for companies and non-companies alike.

Then you need to have another tool to be able to install dotnet. I would say it is better to have one tool to both install and update, whether it's a standalone .exe or powershell script.

Why not have dotnet sdk check have an optional option named --force-update where then it would uninstall the old sdk and runtimes for you and install the new ones (based on the os that is running it, it might need to require sudo access to do silent updates for it).
with that it would be great for companies and non-companies alike.

Then you need to have another tool to be able to install dotnet. I would say it is better to have one tool to both install and update, whether it's a standalone .exe or powershell script.

But in this case cant dotnet install ``dotnet then? 😄

We expect to have a tool we can ship as a preview in the .NET 7 timeframe. We're alpha testing this tool internally at the moment.
Meanwhile have you looked at the .NET install scripts: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script?msclkid=a381bfa7abd311ecba2892a6149268ae
These run off the same data file (releases.json) as the internal tool and may help in the short term.


Works on debug, not release.

For some reason, shouldOverrideUrlLoading is never called when using a release build, it works fine when use a debug build.

Try the latest version of the plugin. Also, this plugin changed its name to flutter_inappwebview. The current latest version now is 2.1.0+1. So, you can change your dependency influtter_inappwebview: ^2.1.0+1.

Fix available starting from the version 3.0.0.


[Bug] app buildPipe state bug fixed

[Bug] app buildPipe state bug fixed
What changes were proposed in this pull request
Issue Number: close #xxx

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): no

Modified streampark-console/streampark-console-servicesrc/main/java/org/apache/streampark/console/core/service/impl/AppBuildPipeServiceImpl.java 456 lines become ：
e.get ("pipeStatusCode")


[GSSOC'23 Contribution]: Minesweeper game

In Minesweeper, you need to uncover all the squares on the grid without detonating any mines. The grid is initially covered with hidden squares, some of which contain mines. Your task is to reveal the safe squares while avoiding the explosive mines lurking beneath.
This is prepared using HTML, CSS and JavaScript.

I am willing to do this task. Please assign it to me.

Hi @singh-anushka ,please let us know the detailed plan, dummy UI/Video ? make sure you are using react js.

Actually, this needs to be made in react. So I'm still getting proficient in react. Can I make in html css and JavaScript?

Or can I create a Pr for the same in Code canvas repository? @admindebu

Can I use html, css and javascript to make this?


Change input of OpenAIBasedEvaluator.get_score() from str to Iterable[str]

Motivation
First step to enable async API call of OpenAI API.
Details
This PR allows OpenAIBasedEvaluator.get_score() to take Iterable[str] in addition to str, which enables metrics functions to pass prompt at once.

@liwii I split this change from #89 to make review easier. Could you take a look?


Check performance of interpolate_nodes!

Shall we use one-dimensional operations one after another or used loops in interpolate_nodes!? This can really make a difference, in particular in 3D.

Preliminary benchmarks show that the relative performance of a sequential and a squeezed approach depend on the number of variables that needs to be interpolated. I've changed the implementation to the squeezed version in ade5b7fc90bb0b71ca0525890e73079fcba749d4 since that one gives better performance if only a single variable needs to be interpolated, which is the case for AMR/shock indicators optimized there. I didn't check the performance of the stuff needed only for the analysis steps that much and thought it was okay to sacrifice some performance there, since it didn't seem to be performance critical to me then. But that can be totally different in 3D, of course.
I will check the performance in more detail. Based on my current experiments, I suggest to implement both versions, squeezed and sequential, and choose one of them automatically depending on the number of variables to be interpolated. I will check whether this if branch is compiled away - it should, since the number of variables to be interpolated is always known at compile time (ndims(.), nvariables(.), 1).

The same technique can be used in the L2 version of prolong2mortars!. @gregorgassner suggested a function change_basis! that basically does this kind of transformations. I definitely think that's a good idea, but I would propose another name, since we do not necessarily change the basis (in the same vector space). What about multiply_coordinatewise!?


Lendex.QuerySupportedCurrency

Returns the name of the underlying, the name of the atoken, and the exchange rate between them for the queried lendex (User Contract).

Closing as this was resolved with #105


Add example aws provisioning files

What does this PR do?
Adding example inventory and extra_vars for aws provisioning in openshift-ansible

@mazzystr can you clean the lint in this

The inventory is useless for abandoned plays in openshift-ansible.  Closing PR without merge.


the mod is not working

the mod is not working with cracked version of the games

Buy the game.

i don't have money

Get a job.

you think its that easy to get one not all people live abeautiful life you have

Get a job.

That's not the point. You cannot own the version you buy on Steam. Cracking is the only way to own a DRM-free version of this game. The cracked version should be supported for preservation's sake alone.

On Fri, Jun 3, 2022 at 9:39 AM samir310 @.***> wrote:

you think its that easy to get one not all people live abeautiful life you
have
—
Reply to this email directly, view it on GitHub
https://github.com/praydog/REFramework/issues/361#issuecomment-1145976756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUG4O6HAJAS7HM7W6PUV4LVNIDKHANCNFSM5XX75DXA
.
You are receiving this because you commented.Message ID:
@.***>


round

@noCharger please add the original PPL command here as context

The round function seems to work correctly search source=people | eval x=round(pi());


adds rms_decay option when RMSProp solver is selected

When RMSProp solver is selected, rms_decay options appears so user can change its default value:

This is excellent code.  Is that a typical value for this option? Searching through the Caffe tree, I'm seeing values like 0.98 and 0.95.
Also, I'll need you to send me a CLA before I can accept this.

I took default value from caffe solver manual. It says:

If the gradient updates results in oscillations the gradient is reduced by times 1−δ. Otherwise it will be increased by δ. The default value of δ (rms_decay) is set to δ=0.02

I'll send CLA tomorrow.

Caffe solver manual is wrong. You need write (1-δ) as rms_decay. see [https://github.com/BVLC/caffe/pull/4379](this PR)

Thanks for the update - looks good. I'll merge once I receive your CLA.

just sent it.

Thanks!


About the requirement of dataset

In metadata.csv, there are paths, transcripts and speaker_labels.
So, Do the training datasets have to have corresponding text?
If l remove the text in the code, can the model work normally?

You don't need to have any text information. Used internally to verify that wav2vec is working properly.


Remove the CI trigger on push to master

Currently the publish workflow gets triggered

on push to master
every 5 minutes

It both cases triggered the publish workflow to run at the same time, the later one will fail.

Why remove the push to master one though? That is the one you actively started and want to happen as soon as possible. Wouldn't this even make it impossible to do a extension only release?

I meant that the publish script that runs checking if a new Prisma CLI update is available, should only run on a schedule, not on push to master.


Runtime Error using Static Function Pointer (taking C structures with array fields as an argument)

I am getting a runtime error ("libffi does not support passing arrays") when trying to pass an Ocaml function to a C library, where the type of the function uses a structure containing an array field.
In more detail: I am trying to pass an OCaml function to a C library, where the function to be passed takes a struct with an array:
typedef struct { const void *data[2] ... } Blah
and the prototype of the callback in the C library is something like:
typedef enum VisitResult (*Visitor)(Blah, Blah, void*)
With stub generation I can create the OCaml type for the struct. In the OCaml I am creating a type for the function to be passed to the C library as follows:
let visitor_type = Ctypes.(blah @-> blah @-> (ptr void) @-> returning visit_result)
but when I try to do the coercion trick (mentioned in #364) on the above between funptr and static_funptr:
coerce (Foreign.funptr vistor_type) (static_funptr visitor_type) ocaml_callback_fn
I get a runtime exception being thrown:
Fatal error: exception Ctypes_static.Unsupported("libffi does not support passing arrays")
My bindings compile fine but at runtime I get the error message above: is there a way to fix this?

I fixed my issue by using the trick mentioned in #113 (direct link to the mentioned libffi workaround). Rather than wrapping my struct using:
let blah : blah structure typ = structure "Blah"
...
let data_field = field blah "data" (array 2 (ptr void))

instead doing:
let data_field = Array.init 2 (fun i -> F.field blah "data") (ptr void))
gets around the issue.

let data_field = Array.init 2 (fun i -> F.field blah "data") (ptr void))`

I think that's likely to work.  Whether you actually need to work around libffi's support for structs with array members depends on whether you actually need to pass OCaml functions to C.  If all of your function pointers are created in C code then it'd be better to use static_funptr in place of funptr everywhere.

I'm closing this, since it appears resolved.


Chrome reports https://www.rapidoid.org as insecure

Don't know where else to post this. Move/delete it if it's unrelated to this github repo.

Thanks for reporting this, I will take care of it soon...

This is fixed now.

I think it's complaining about an image as well? Perhaps the svg?


[WIP] Add browser support info to WebAuthn FAQ item

Closes #6034.

Updates
1. Show errors on login and provisioning page

2. Hide provisioning button

Note: if TOTP is enabled, the webauthn button will also not show at the bottom of the table
3. Update help text

@brainwane I made a small update to the help text, so it starts with "To use a security key with WebAuthn, you'll need..."
@woodruffw - please feel free to update the JS if there is a more efficient way of doing this.

Updated as per feedback:


Formatting and preparing for docs versioning

Before Rancher v2.6, we are going to have versioned docs for Rancher, in which the 2.5 docs will be separated from the docs for v2.0-2.4.
This PR doesn't contain substantial content changes. It is mostly just formatting, organization and style fixes. The reason I'm making these changes is that we don't plan to maintain the older Rancher docs going forward. So I'm doing as much cleanup before the versioning as possible so that the older docs will at least be left in a better state.
The following issues will be addressed by this PR:

https://github.com/rancher/docs/issues/2889
https://github.com/rancher/docs/issues/2871
https://github.com/rancher/docs/issues/2883
https://github.com/rancher/docs/issues/1516
https://github.com/rancher/docs/issues/2596

@kadirselcuk This PR is incomplete and not ready to be reviewed.

@kadirselcuk This PR is incomplete and not ready to be reviewed.


refactor: add latest bore and allow ts declaration generation

Closing in favor of #168
https://github.com/wc-catalogue/blaze-elements/issues/167 should be addressed in separate PR


Pass an EIP to the EC2 instance created

In some cases when using spot, I'd like to be able to provide an EIP and reuse them in case the spot is terminated.
This is useful to prevent changing inbound rules that uses the runner's public IP as a source in their inbound rule.

@bsuv feel free to propose a PR. I use the runners in a private subnet, so no public ones are attached.

I will work on a PR. The issue with having them in a private subnet is that the NAT Gateway costs can become prohibitive

related issue #92

I've started working on this issue: https://github.com/roock/terraform-aws-gitlab-runner/commit/bab9354d53e1db549e311c73d56fc2cd944bcb69
it is working when enabling the use of EIP, but for disabling the feature I need a way to reference a non existing object (aws_eip is only create if the flag is set)

@roock do not hard code region and please do rebase from upstream and open PR

@kostyrev ups, thx for the hint

Assignment of EIP to the Runner server itself was added in #161 and #165. Not sure if it is possible to add support for EIPs for the docker-machine servers though.

@roock seems not supported by the aws docker machine driver https://docs.docker.com/machine/drivers/aws/

A possibility would be to use the user_data to assign an EIP to the docker-machine instances.

Is it really necessary to expose the runners? You could also access your machines via AWS Console (SSM access). Seems to be easier to configure and less risky.
If we are talking about the agent: There should be an inbound rule which allows traffic from your Gitlab instance only.
We should be fine without an EIP at all or do I miss something? Any other use case?


[ENG-6721][submit] move error messages from CLI

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
Companion to https://github.com/expo/turtle-v2/pull/1109
Maintaining two lists of errors is annoying.
How

I moved the error messages to the server side - https://github.com/expo/turtle-v2/pull/1109
I removed the error messages from CLI

Test Plan
Known error:

Unknown error:

/changelog-entry chore Remove EAS Submit errors from codebase. The errors have been moved to the server side.


feat: corollary of Chinese Remainder Theorem

The nontrivial part of CRT (R / Inter J_i \iso prod R/J_i) is surjectivity. In RingTheory/DedekindDomain/Ideal.lean we have variants of CRT (valid when the J_i are Prime rather than maximal, although Prime implies maximal in a Dedekind domain...) but we also have various surjectivity statements as corollaries (e.g. IsDedekindDomain.exists_representative_mod_finset, IsDedekindDomain.exists_forall_sub_mem_ideal). I couldn't find these corollaries for a general commutative ring so I've added two (ironically in my application R is a Dedekind domain but I didn't want to assume it when unnecessary).

Thanks!
maintainer merge


Chromium extension: Opening tweets causes additional "Keybase Chat"-buttons to appear

Open a twitter profile page
Click on a tweet
Repeat 2 until satisfied

Result:

cc: @shazow

I'll have a fix pushed out shortly! :)

Fixed in v1.8.9 which should be live any minute now.


fix: ensure backward compatibility with run_trigger/2

Can we make this optional args to the run_trigger function?

Sure thing


Why are failed transactions not included in the blockchain?

Other smart contract platforms include failed transactions on chain in order to tax the sender for the resources consumed. In EOSIO, it seems like failed transactions are discarded and incur no costs, so a user may spam a node with failing transaction at no cost aside from electricity.
Why is the design as such?

test

test

test


handle "%nuclio deploy" in export

I'm going to merge this even though travis is failing since:

The error is about building the YAML C library
We have a demo


Modified the expected results of two decimal tests

Related to VSO issues 2730 and 2723 (#706)

This change is

Coverage remained the same at 73.273% when pulling 25f85906b667429b3cd306fc8ddd375257811e25 on yitam:decimalTests into 440636aff80c49cbea94f82e7a1886e70f4e4d4d on Microsoft:dev.


array-sum: Add solution in Go

Here is my solution in Go for array-sum problem. :)

Thanks @ruphin15.


matrix-synapse: enable parallel tests

Motivation for this change
single-core tests take forever to run, and upstream sets -j2 indiscriminately too. test time goes down from ~700s to ~45s on a 24 thread machine.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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.

Done manually: https://github.com/NixOS/nixpkgs/pull/138804


Improve shallow rendering example

It's still unclear for newbies what shallow rendering is. I think we could have a better example showing what it means, for instance, by testing a component that contains a child.
Happy to contribute to it later this week if that's ok 😄

@bdo we'd be happy to review/accept a PR for doc improvements!

@bdo happy to see an example with nested children - are you still working on this?


feat(state_network): implement StateValidator

What was wrong?
Validator for the state network wasn't implemented.
How was it fixed?
Implemented the StateValidator. This includes logic for the recursive gossip.
I added dependency to my version of the eth-trie crate (I created trin branch for this purpose)

Changes are mostly just making some internal structures and functions public: see diff
Still, one function was hard to make public so I made our own copy (with minimal modifications) in: ethportal-api/src/types/state_trie/utils.rs

Even with those changes, I'm not very happy with that crate for our purposes. It was designed and optimized for building and updating the Trie, but not for verifying. It was has API from a very high level point of view (doesn't let you interact with internal trie nodes, reason why I needed to make things public), which isn't what we want to do.
I think in the future, we should rewrite that library to be optimized for verification purposes and expose internal structure.
Note: PR looks big, but I added a lot of tests. There are a lot of corner cases and I tried to cover most of them (I think there are more lines of codes in tests than in actual code).
To-Do

[ ] Clean up commit history and use conventional commits.

TL;DR: I tested it on a local network and it works great!
I made a local network with 3 nodes, and gave 2MB each, which is around 75% of my test data (together they cover entire space).

I gossiped first 10 blocks (using recursive gossip)
verified that none of the nodes has all data (manual db queries)
queried all trie nodes, and all were returned successfully (and all had correct value)

There was one smaller issue that I observed regarding recursive gossip, but it's in the overlay service and I will address it in a separate PR (which can go either before or after this one).

Bit of a rubber stamp approval, since admittedly I'm not up-to-date on the state network spec. But it looks clean to me and I'm loving all the tests

Thanks a lot for the review. I know it wasn't easy considering not being up-to-date on the spec.
I will merge it like this, and will fix any followup comments or bugs that we find.


CUDA out of memory

Thanks for your great work. I'm trying to use 6 V100 with 32GBs to train the code. I have modified batch_size to 16. But GPUs are still out of memory.
I'm wondering what are GPUs you using to train.

And how long to train on the Calvin dataset

Hi,
We used 6~7 A100 Gpus (40 GB) for our calvin experiments, which takes around 24 hrs for training.

How many training iterations since the speed of A100 is different from V100?
Are there any results about training on whole trajectories for calvin dataset? The results of the paper are used keypose.

Around 80-100k iterations, please monitor the validation curves in tensorboard as a proxy.
We report results for predicting interpolated trajectories between keyposes. We haven't reported results without keyposes at all. We have been able to achieve similar performance without keyposes in the past, in unofficial experiments.


IsEnabled is not working

Hello,
I have some problems to bind IsEnabled (SignaturePadView.IsEnabled={Binding IsEnabled} and SignaturePadCanvas.IsEnabled={Binding IsEnabled}). Both won't work. I've made the experience, that BindableProperties with primitive type need a PropertyChanged implementation. That may be the cause.

That very well might be the case. Bindings only work if the property also raises a PropertyChanged event.
If this still does not work, be sure to re-open and let me know what platform and version you are using.


Inconsistent behavior when using head meta property between nuxt.config.js and pages/layouts.

Version
v2.3.4
Reproduction link
https://codesandbox.io/s/jzw6n96vj3
Steps to reproduce
The sample demo just shows a very simple example of the problem. The app is in 'spa' mode.

Load jquery as part of head in nuxt.config.js, and reference $ in the mounted event of a page, and it works fine.
Load jquery as part of head in pages/layouts, and reference $ in the mounted event of a page, and you get the error: $ is undefined

The problem is the inconsistency of using head between nuxt.config and pages/layouts. Or at least the difference imo should be documented.
What is expected ?
head should behave the same in both nuxt.config.js and pages/layouts.
In spa mode and for nuxt generate, I would expect that any link/script loaded from head would all get placed at the top of the  element in the html.
What is actually happening?
head does not behave the same, depending on where you implement it. Instead, only nuxt.config.js ones do. The ones loaded from pages/layouts are dynamically loaded and get placed AFTER the code that is compiled from the *.vue files.
Additional comments?
The point of having head is to give developers the ability to guarantee loading of scripts and css before anything else in the app or on the page. At least that's how I interpret it. Instead, the expected behavior is only exhibited when using nuxt.config.js, and not pages/layouts as the documentation seems to suggest.
I have an app that uses a variety of layouts (i.e.: frontend, backend, etc..). We don't want to have to put all the scripts for all sections of the site into nuxt.config.js. We also use the splitChunks.layouts: true feature, as well as extractCSS. We're stuck with themes with JS that aren't available in es6 and are full of IIFEs.  We need to make sure the scripts in each section of the site are loaded and available before in code inside the mounted event fires.

This bug report is available on Nuxt community (#c8412)

@mattjcowan  I found the bug's reason, cause for the eggjs will set the Content-Length  with __webpack_hmr/client, remove this header can resolve the problem.
https://github.com/doubi-NO1/egg-nuxt/blob/master/app/middleware/nuxtrender.js#L22
Anyway, thanks for your reply again:)


possible threading crash

iirc these occured in sculk commander dev environment, upon or shortly after loading world. unsure if they're my fault or not but i figured i'd open an issue here just in case. i was using forge 47.3.0 sculk horde 0.9.11 so it's possible that it's already been fixed. will update to 0.9.14 and let you know if anything happens
latest (16).log
latest (17).log

update: still happening
it's common enough that i'm pretty sure this is a sculk commander issue

I am having the same issue. This instance worked just fine before I started updatin mods. No origins or sculk commander. At this point I can't enter my world for more than a second without getting an "accessing legacy random source from multiple threads" error. Tried with forge and neoforge, same result. Tried disabling other mods I added, same result.
On a hunch, I downgraded the version to 0.9.10. Works fine. 0.9.11 and up all crash within seconds of loading into the world. It might have been introduced with the performance tweaks that happened in that version.
In any case, here's my crash report: crash-2024-09-16_11.55.41-server.txt
Here's the latest.log: latest.log

I will investigate this. This is an old bug that seems to have resurfaced.

Making Goreae's crashlog a link to allow for easier access: https://mclo.gs/XJvz15I


[RESTEASY-3432] Add a channel for overriding the version of RESTEasy …

…provisioned in WildFly.
https://issues.redhat.com/browse/RESTEASY-3432

Cool!

I've moved this back to a draft as I'm going to try the dynamic approach of the manifest and may end up changing the groupId to something like dev.resteasy.channel.

The current cloud-tests failures is likely a real issue, see https://wildfly.zulipchat.com/#narrow/stream/184003-galleon/topic/Feature.20Pack.20location.20vs.20GAV.


No Secure Connection - Creating vnet integration

@gbecerra1982 FYI - I've deployed new build using latest master branch today with no secure mode, however the azure web app still gets integrated with the VNET.


Cannot build docs

docker run -it -v $(pwd):/documents/ asciidoctor/docker-asciidoctor "./build.sh" "html"

output:
Converting to HTML ...
mv: cannot stat 'chapters/*.png': No such file or directory

Actually the docs are built, It's just the cleaning process which does not complete normally.

yes... the script should check for existence first.


Determine if MM is identifying and scoring peptide fragments in multiple charge states

https://github.com/smith-chem-wisc/MetaMorpheus/blob/c4b487bb6bfd5c243fe09541a8a26e49050b3339/EngineLayer/MetaMorpheusEngine.cs#L134
right now MM stops after finding one acceptable fragment, it doesn't look for alternative charge states of that fragment in the MS2


[Epic]: Include examples for the modules that are currently lacking them

Connector Name
connectors/samples (Connector Samples/Templates)
Epic description
Currently, the following Ballerina modules lack any examples. Once the examples are added, the GitHub workflows should be updated to build them in a manner similar to how it's done for other modules. (Comparable to what has been done here: Github Workflows)

[ ] module-ballerinax-github
[ ]  module-ballerinax-azure-storage-service
[ ]  module-ballerinax-mongodb
[ ]  module-ballerinax-aws.ses
[ ]  module-ballerinax-peoplehr
[ ]  module-ballerinax-aws.simpledb
[ ]  module-ballerinax-aws.dynamodb

This is tracked via the connector revamping process. Some of the mentioned connectors already added examples and they have been added to the builds. Therefore closing the issue.


Update index.js

@Head src/ is for ES6 syntax, which is why it's causing errors on Node: it doesn't support, e.g., import. index.js needs to point to lib/ because it's the compiled version. I'll close this issue, but I've seen your comment on #15 and will take a look.


Where can i find Ocp-Apim-Subscription-Key ?

i can find subscription keys from speech service i created in azure but no idea where is Ocp-Apim-Subscription-Key. Any step by step guide?
Thanks.

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

ID: 166f57df-05f7-aacf-3a93-a11e688bd144
Version Independent ID: c62ef65b-049b-e231-e728-3d2a8f4ddd97
Content: Transcribe multi-participant conversations with the Speech SDK - Speech Services - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-use-conversation-transcription-service.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @jhakulin
Microsoft Alias: jhakulin

i guess i find answer to close: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/rest-speech-to-text

Please where is the Ocp-Apim-Subscription-Key ? I can't find it


NaviGenerator: added the class TrajectorySmoother.

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

@yifeijiang Please review my code. Thank you.


Home Assistant OS installation of ModbusTCP2MQTT - s6-overlay-suexec: fatal: can only run as pid 1

I have issues all of a sudden communicating with the Sungrow SG5kd. I don't believe i have done anything to break it, but i have started getting the error;
s6-overlay-suexec: fatal: can only run as pid 1
This in the ModbusTCP2MQTT Log, and the overall home assistant system log is showing
Failed to to call /addons/4ee6ccd4_modbus_inverter/stats - Container addon_4ee6ccd4_modbus_inverter is not running
I am fairly new to home assistant and would love someone to point me in the right direction. I am running the HyperV image of home assistant OS - core-2022.5.2 (i was at 2022.5.4, but tried a restore an older backup of home assistant to 2022.5.2 to see if it was the update which broke it)
I assume i am getting the Container Addon not running error due to the fact that there is the S6 overlay error, but any further diagnosis is a little above my current level of expertise

I have just installed this version and am getting the same error.
The old version of ModbusTCP2MQTT I had installed for some time now (0.2) works fine, logs show this:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.

same issue.

I made a fork of this with the minor change apparently necessary but can't import into HA as a repository.... Oh well, I tried.

Hoping to see this fixed soon. It should be a trivial change based on the proposed solution that @antonyclarage shared.

Have the same issue, have submitted a PR with the config change so we can use the fix

Solved in latest commit

Can anyone confirm this is fixed? I still have the same error after reinstall: s6-overlay-suexec: fatal: can only run as pid 1

Still broken for me

It hasn't actually updated any of the changes, the configuration still has the old options


upgrade yarn scheduler driver memory to ByteAmount

As #1727 mentioned and #1707 refactored, this PR upgraded driverMemory to use ByteAmount.
The key changes are following:

add getByteAmountValueMB() in Config class
change driverMemory from int to ByteAmount
refactor YarnKey class
remove unused variables in HeronMasterDriver

cc: @billonahill @ashvina

@ashvina @objmagic I've addressed all comments. Would you please take a look again?

@mycFelix Looks good to me. I think putting ByteAmountUnit inside of ByteAmount might be better, but it's totally up to you. We can merge it if @ashvina gives a ship-it.

@objmagic - Thanks for reviewing. I'm agree with you. At first, I think putting ByteAmountUnit inside of ByteAmount is a better approach and using enum to instead static MB and GB inside of ByteAmount seems nice too. But It might trigger a large refactor in ByteAmount. So, I decided putting ByteAmountUnit outside of ByteAmount temporarily.

Considering @billonahill 's comment,  creating ByteAmountUnit enum class might be not a  proper way.
@ashvina @billonahill - How about we make 2048 into 2048 * 1024 here？

is there any update on this? seems we have very few things left to do for this PR? @mycFelix @billonahill


connect to the cloud

Connect to AWS.

This should give some functionality which justifies using a browser-based notepad. [keep-notes' existence is noted and promptly ignored :)]


refactor: update math/base/assert/is-even to follow latest project conventions

Resolves None.
Description

refactoring addon.c to follow latest project conventions for  math/base/assert/is-even
updating benchmark calculations

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines

@stdlib-js/reviewers

good afternoon, please give this a reveiw @kgryte!


Detect CUDA install and configure OpenCV accordingly

There is a way to find the Compute Capability, not exactly a command-line option, need to compile the following and run
#include <stdio.h>
#include "cuda.h"
int main() {
    cudaDeviceProp prop;
    cudaGetDeviceProperties(&prop, 0);
    printf("%d", prop.major * 10 + prop.minor);
}

But this won't work inside Docker I think while building, since there's no device yet
Could add something like pass an env variable to the script, to automate this

LGTM, would be nice to compile for the required Compute Capability only.
Also just need to verify if having comments in between the CMake command causes errors, I remember it did in the older versions of cmake. Doesn't seem to be causing an error in travis, will test on a system shortly and get back.

The comments are after the cmake command has ended, will be obvious to someone who's changing the scripts by hand
The code for checking the CC could be added as a file in the extras folder, but suppose when building a docker image, the device won't be present which would cause a problem
A workaround could be that an env variable CUDA_ARCH_BIN or something could be passed to the script, if it's set, use that else we build for all supported CC >= 5.3

Updated the flags to build for all supported architectures by default
Some customization could be done, such as -

Check if nvidia-smi is working, then maybe compile the above CUDA code and build for the specific arch
User passes an env variable to build for a specific arch

Will leave those as upgrades to be made in the future

Thanks for the review! Merged


Fix user-demo links in go-live doc

Found some links in the go-live checklist page which were not up to date with the current version of the user-demo Helm chart. This PR should fix these.

I was wondering about it as well, your approach seems like a good solution for it. Maybe create an issue for it to look for other possible ways to achieve stable links. I will merge this one for now :)

Thanks @anders-elastisys . I created a follow-up issue here: https://github.com/elastisys/compliantkubernetes/issues/608


v2.39.0 on develop

Lacks this https://github.com/LedgerHQ/ledger-live-mobile/pull/2255 and the related live common bump if we want to cover usb org nano s + unseeded


Screensaver

I want to use a screensaver so that the kiosk goes into screensaving after x minutes, and reactivates on touch.
Can anybody help me with achieving this?

The screensaver has been explicitly disabled for the image, because it's meant to be used as a wall display, and most folks don't want that.
I think you should be able to re-activate it by booting into graphical mode (via the raspi-config utility for example) and turning it back on.
Let us know how that goes.

In #115 I described an way how to achieve this.

Did you resolved problem .....? I need to turn off/suspend display after some minutes....to save energy because i use kios mode to panel fo my Home Automation.... and i want to turn off display after 5 min and again turn on when touch screen(display is with touch screen). Any solution ?

Maybe my Issue/Guide #115 is relevant for you?
I configured it on an 27" Touchscreen which goes into sleep after x minutes (LED changes from blue to yellow) and consumes 0.5 W instead of 36 W.

thanks

Well which layer or application has the responsibility to provide and manage the screensaver functionality? I would say its the web application, and not chromium. So depending on how you have setup the environment, here's an example: https://www.npmjs.com/package/react-idle-timer

Has anyone managed to turn off the monitor?


⚠ Bofrost.at has degraded performance

In 07fa796, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 815 ms

Resolved: Bofrost.at performance has improved in 55efcd1.


Added narrow and reversed-narrow variants to ButtonGroup

This PR fixed #138
Added two more variants to ButtonGroup component for these cases in which we want buttons are in vertical, no matter the media queries.
An use case for this is this example:

When the ButtonGroup is in a modal with narrow variant and the buttons does not fit in the available space, we can force the buttons to look as if they were in mobile:

Perfect @oscarotero


⚠ Bofrost.de has degraded performance

In d0c082b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 932 ms

Resolved: Bofrost.de performance has improved in cc3d9cb after 6 minutes.


Add FEATURE_ and TARGET_ macros to the config file

Since mbed OS 5.1, ASM files do not define FEATURE_ and TARGET_ macros
any more.
Since the ASM startup file in uVisor-supported targets relies on such
symbols, we need to define them separately in the config file.
For C/C++ files, the old behavior still applies. A feature or target
overrides specified in the config file automatically triggers the
definition of those symbols.
@Patater

OK


vr-bgp containers need default route to point to tap0

If we want to do connectivity checks across our virtual network we need to send the packets over the tap0 interface, not over eth0 (which is bridged to docker0). Since the underlay is across docker0 which is directly connected this shouldn't pose a problem to us in running this and I think that we can do the change upstream because there are no real downsides to it.

Fixed through 6df43d0d5ba984a3b6abc78089499572567647a6


Updated get_fields.html docs

As per issue #53
This is my second PR be nicer than the first James

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   71.75%   71.75%
=======================================
  Files           3        3
  Lines         531      531
=======================================
  Hits          381      381
  Misses        150      150

Continue to review full report at Codecov.

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

@Chronocook thank you! This PR is incomplete at the moment. Would you be willing to complete it?
You edited our pkgdown documentation, which gets auto-generated from the main docs. To complete this PR, you'd just have to make this same change here:
https://github.com/UptakeOpenSource/uptasticsearch/blob/master/R/elasticsearch_eda_funs.R#L130
and here:
https://github.com/UptakeOpenSource/uptasticsearch/blob/master/man/get_fields.Rd#L28


Avoid crashing if CONF_modules_unload() is called after OPENSSL_cleanup()

Although this is basically an incorrect API call it was not crashing
before and it might happen inadvertently if CONF_modules_unload()
is called from a destructor for example.
Fixes #18669

Technically, we also might not have been initialised but I don't think that impacts the fix.

In that case the RUN_ONCE should return false.

@t8m   Can you please merge this if there is no other concern?  Thanks

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master and 3.0 branches. Thank you for your reviews.


Focus student picture upload

Student pictures need to be uploaded to focus when they arrive this year. Mr. Hull request to help with attendance taking, etc.

Spot checks this morning revealed the photos have started to change to the updated pictures.