An easy way to update tensors that complies with numpy syntax

System information

TensorFlow version (you are using): 2.6
Are you willing to contribute it (Yes/No): No (wouldn't know how)

Describe the feature and the current behavior/state.
I would love to be able to do something like the following:
t1 = np.zeros((2, 4))
t2 = np.ones((2, 3))

t1[:, 1:4] += t2
t1[:, [3, 1, 1]] += t2

without having to use methods like tensor_scatter_nd_update over multiple lines of code...
Will this change the current api? How?
yes, it will be possible to use a syntax like in numpy, that everyone is familiar with.
Who will benefit with this feature?
everyone who needs to build tensors manually

TF tensors are supposed to be immutable

Hi @ziofil !
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue .Thanks

TF tensors are supposed to be immutable

I know, but then again there are methods like tf.tensor_scatter_nd_update, so effectively tensor are mutable if one uses the right methods. So why not allowing a clearer syntax?

Hi @ziofil !
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue .Thanks

Hi @mohantym I understand, but the issue is clear: I'd like a simple syntax for in-place tensor updates, given that there are methods for doing this already.

Hi @ziofil !
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue .Thanks

Done.

Hi @sanatmpa1 ,Could you please look into these issue!

An RFC tp address this has been up for a bit.  Adding a link here in case anyone wants to provide input.
Comments are invited to the pull request. You can view the design doc here, and also leave comments inline on the document source.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Fix repeated sentence fragment

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@andyholmes Thanks so much for opening a PR! I'll get this triaged for review :zap:


Jib with Podman fails because registry authentication token is expected in a docker-specific location

Environment:

Jib version: 3.1.4
Build tool: Maven 3.8.2
OS: Linux

Description of the issue:
When building an OCI image with Jib and Podman, if the base image is stored in a registry that requires authentication, Jib looks up the docker authentication token and fails to connect, unless Docker itself is logged in, independently of Podman.
The documentation explains clearly how to specify another folder where to look up the authentication token, but Podman not only uses a different folder location but also uses a different filename: it write to ${XDG_RUNTIME_DIR}/containers/auth.json  as opposed to ${HOME}/.docker/config.json , which as far as I could tell is not currently configurable in Jib.
Expected behavior:
When using Podman, it should be possible to let Jib use Podman's authentication token.
I suggest to extend Jib's behaviour s.t. we can either specify a specific file where to look up authentication tokens, or, given the growing popularity of Podman, let Jib also look for authentication token in ${XDG_RUNTIME_DIR}/containers/auth.json  by default, which would let Podman work out of the box and make Jib less Docker-specific.
Steps to reproduce:
# this stores an authentication token in ${XDG_RUNTIME_DIR}/containers/auth.json
aws ecr get-login-password | podman login --username AWS --password-stdin <my-aws-account-id>.dkr.ecr.eu-west-1.amazonaws.com

# this expects the token to be found in ~/.docker/config.json and therefore fails to connect to ECR:
mvn jib:dockerBuild -Djib.dockerClient.executable=$(which podman)

As a work-around, one can login with docker and use podman with Jib:
# this works, but makes Podman rely on Docker's token :(
aws ecr get-login-password | docker login --username AWS --password-stdin <my-aws-account-id>.dkr.ecr.eu-west-1.amazonaws.com

mvn jib:dockerBuild -Djib.dockerClient.executable=$(which podman)

Another work-around is to let Podman write where into Docker's config:
# this works, but makes Podman write into Docker's config!
aws ecr get-login-password | podman login --username AWS --password-stdin <my-aws-account-id>.dkr.ecr.eu-west-1.amazonaws.com --authfile=${HOME}/.docker/config.json

mvn jib:dockerBuild -Djib.dockerClient.executable=$(which podman)

Neither of those two workaround seem satisfactory to me since it makes two independent tools share one single location for storing security details and other configuration.
I'm happy to work on this if that's relevant.
Looking forward to your thoughts.

Thanks for bringing this up and doing the investigation!
Please feel free to contribute with a PR and we'll be happy to review.

Closing as resolved by #3532.


[QUESTION] Use workbench.colorCustomizations in extension?

Users can customize the UI using workbench.colorCustomizations settings.
I'd like to ship such customization in my color theme eppz! (C# theme for Unity).
How?

I tried to contribute these values to my extension (!), but nor configuration, nor configurationDefaults worked. As these customizations are actually workbench user settings, I'm actually asking how to contribute value overrides to settings.json in an extension.

I already setup the very same question on stackoverflow.com.

I learned that I can contribute workbench customizations in theme.json, simply using the key colors.
But If I use it with the theme.json notation I used here at eppz-code.json, it has no effect on the UI.
I've put colors dictionary to numerous places (top level, near settings, inside settings), but no effect (when I running theme in debug mode).
Do I have to switch to the new (?) theme.json notation with tokenColors and so? Where should I put include if I do so (I have used it extensively here)? Is there a documentation of the new (?) theme.json notation somewhere?


Update README and licence

note this assumes #27 is merged

TODO: should document the pre-/ post-upgrade hook behaviour


Dependent disposal method test is not correct

https://github.com/eclipse-ee4j/cdi-tck/blob/0fe8560f544e41f2372dadaf8df54b53536147f6/impl/src/main/java/org/jboss/cdi/tck/tests/context/dependent/DependentContextTest.java#L142-L146
To destroy nextCreationalContext should be used by definition the context in which this instance was created.

That looks right, indeed the last line should read tarantulaBean.destroy(nextTarantula, nextCreationalContext);. WDYT @manovotn?

The test itself is actually testing something else - that the dependency in disposer method is not the same across several beans and their destroy methods.
That aside, it seems to be an oversight and I agree that the reference should for nextCreationalContext.

As a side note - looking into Weld, we always call pre-destroy/dispose callbacks for given instance regardless of whether the CC fits (and apparently we are not alone since no impl found out about this TCK bug yet).
Perhaps this is best effort behavior as we might not be able to fully tell if the CC really belongs to given instance.

In my case destroy didn’t trigger the callback so the hash was the same.


PDBManager - Bug fixes, adding necessary changes to export only first PDB model, and merging-in latest updates from master

Reference Issues/PRs
@a-r-j, I noticed that our (new) default function for exporting collated groups of PDB chains does not currently export only the first model for each PDB complex file. I've added the necessary changes to make this happen, and I also added a workaround that's needed when exporting (i.e., calling to_pdb() on) PandasPdb objects that have had a model_id column added to them. In the long term, I think it'd be good to have a fix merged into the master branch of BioPandas that types the model_id column as a str -> object column, but this workaround I've proposed should work for now.
Originally posted by @amorehead in https://github.com/a-r-j/graphein/issues/309#issuecomment-1513710494
@a-r-j, note that this PR also includes a fix for dataset-splitting edge cases where you only select one splitting strategy (e.g., time-based splitting) and then try to download and export your selected PDBs. Currently, if you try to export such PDBs, the download and export functions will throw an error saying that your selected PDBs are not labeled correctly according to which split to which they are assigned. The fix for this is simple: track split names per PDB entry more thoroughly by installing them within individual splitting functions (e.g., split_df_into_time_frames). If you are good with these changes, please feel free to go ahead and merge these changes into master after testing them on your end.
Originally posted by @amorehead in https://github.com/a-r-j/graphein/issues/309#issuecomment-1513711152
What does this implement/fix? Explain your changes
What testing did you do to verify the changes in this PR?
Pull Request Checklist

[ ] Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
[ ] Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
[ ] Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
[ ] Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
[ ] Checked for style issues by running black . and isort .

Codecov Report
Patch coverage: 40.09% and project coverage change: +3.72 :tada:

Comparison is base (8123f42) 40.27% compared to head (b148296) 43.99%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Database

Updated folder structures of the databases. Updated buildspec , codebuild.tf files for DB. Added backstages for database.

@hmuthusamy are you still reviewing, or should this be closed?

This is Old PR which needs to be closed


Use structured logger for registry tool

Currently this will have little effect on log contents and behavior. We do not have any method of configuring logs for the registry tool, so all existing logs will be displayed in a user friendly format. After configuration is added, we can set up different handlers for local vs. production development. For example, printing logs as JSON in production environments for integration with Cloud Logging.
All logs that used log.Print or log.Printf now use log.Debug or log.Debugf. Logs that used log.Fatal or log.Fatalf remain as fatal logs. In the future we may establish guidance on what kinds of information to log at other levels like warn, info, and error.
The apex/log library was chosen because it's lightweight, provides an interface to easily log at multiple levels, and gives full control of output format using custom handlers.
Fixes #231.

Looks great!
There were some updates made to controller.go in the latest PR, adding some log debug messages. As this PR is updating the logging library for the whole repo, we can update controller.go as well in this PR.

There were some updates made to controller.go in the latest PR, adding some log debug messages. As this PR is updating the logging library for the whole repo, we can update controller.go as well in this PR.

This PR only updated logs in the cmd/registry/cmd/ directory. It should probably cover everything in the cmd/registry directory though. I'll make those changes now.


Fix DB2ZJdbcTemplate ClassCastExecption

Thanks a lot, @Barry-RG. I will test it soon.
I do have some doubt whether it would not be better to just add the method for callable statements to the core JdbcTemplate, as it is not really DB2Z specific and could be helpful for other database plugins as well. But that is up to you in the end...

@Barry-RG With the latest commit, the DB2Z plugin works as expected. Could you please check my previous comment as well?

Thanks @gahoekstraibm
We are in two minds about the callable statement being part of core jdbctemplate. You are correct that this will probably be useful for other database plugins but we do not have a use case right now. I am going to put some research time aside to help with a decision.


Don't log personal data unless in debug mode

This is to support GDPR requirements.

@janiemi Our ROPA process resulted in deciding that we should avoid having personal information in these auth logs. Does this change make sense to you?

@Traubert, I suppose that’s fine. I think you probably don’t need (e.g., for usage statistics) the information on how many times the auth server is called for any individual user.
The Korp backend logs the MD5 hash of the user id, so that it’s possible to count the number of distinct logged-in users and the number of requests from a user, without revealing the identity of the user. Of course, if you know the user id, you can compute its MD5 hash and find out what kind of requests they have done, but it’s a bit more work. Is that still ok?

Yeah, from the privacy POV I think it's fine. In fact we still end up getting these usernames in Apache logs anyway, we just wanted to reduce the number of places personal information normally ends up in.


hyprland: fix build

Apply the patch fixing wayland.xml discovery.
Marked as draft, maybe https://github.com/hyprwm/Hyprland/pull/7467 gets merged and we can then just fetchpatch from upstream.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Is there a reason for this to go in staging instead of master?

Just merged the linked PR. Patch can be now changed to https://github.com/hyprwm/Hyprland/commit/a437e44a6af8e8f42966ffe3a26c1d562fce6b33.diff.

Is there a reason for this to go in staging instead of master?

It's only exposed since the split of wayland-scanner to its own derivation, and that didn't hit a staging cycle yet IIRC.

Makes sense. In that case there may have been an error in a previous related PR https://github.com/NixOS/nixpkgs/pull/335930.

Just merged the linked PR. Patch can be now changed to https://github.com/hyprwm/Hyprland/commit/a437e44a6af8e8f42966ffe3a26c1d562fce6b33.diff.

Thanks, updated and undrafted. PTAL.

Makes sense. In that case there may have been an error in a previous related PR #335930.

Hmmh, it probably doesn't matter much, or at least shouldn't cause build failures. We can revisit once the staging-next cycle started.


User role's descriptor null

When creating a user or changing their properties, the following error is sent to the frontend:
{"errors": [ { "status": "400", "title": "Error", "detail": "Unknown role: {1, null}" } ]}
This happens due to the newly introduced check, whether the role is actually valid or not. However, the check is not the issue.
The role's descriptor is null and not admin. The problem seems to be that the frontend, when sending a request including a role, never sends a role's descriptor - only the id as in the following:
attributes: {username: "rolf2", password: null}
id: "4"
relationships: {roles: {data: [{type: "role", id: "1"}]}}
type: "user"

That probably results in the Role constructor being called with a descriptor that is null.
The id sent by the frontend should, however, be enough. IMO, it should be the backend's job to request the corresponding descriptor from the database and set the role object's descriptor accordingly.

Missing data is due to this issue: https://github.com/ExplorViz/explorviz-frontend/issues/37
We can probably write a custom deserializer for this that fetches the right role by id on deseralization.

@dan0x09 Can you verify if the latest commit fixes these problems?

@Alexander-Krause Works fine!


[WIP] Convenient script for auto tuning

Depends on https://github.com/mlc-ai/relax/pull/204, which has been decomposed into 5 and sent separately to mainline:

https://github.com/apache/tvm/pull/14781
https://github.com/apache/tvm/pull/14782
https://github.com/apache/tvm/pull/14783
https://github.com/apache/tvm/pull/14784
https://github.com/apache/tvm/pull/14785

I would say more ... but, perhaps I am blind ... It would very interesting to have a documentation on how to train a model (ideally from scratch and using PDFs or a web site (html pages) like whitead/paper-qa does.
But, at least a documentation with a script to tune based on own data.

Hi @MarcelDelhez, what do we mean by "tuning" here is tuning the kernel performance (to be faster) instead of fine-tuning weights.
Support fine-tuning in MLC-LLM is indeed very important but it's out of the scope of this PR, you can create an issue to discuss that :)

I agree tuning was not the correct word.  My concern was more about learning from own documents.
Such a bot is useful when it can answer to questions from own documents.  So, my 'tunig' word must be replaced by fine tuning but into that case, there is also need for forgetting outdated information and ... a bundle of gpus to train a model and, I can easily understand it is out of your scope

Agreed that "tuning" is a pretty overloaded term - in this particular case, I am referring to "auto-tuning compiler", which is the key to GPU performance. With TVM Unity auto tuning, MLC LLM is able to generate performant code on average phones for those 3b/7b models as fast as 10 tok/sec


Retry DB connects with configurable timeout

Description

Don't let DB connect method kill the main process when not able to connect to DB

Instead retry connecting in main init method until a configurable timeout is reached (defaults to 10s)

[X] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Existing test suite passes locally with my changes
[ ] I have made corresponding changes to the documentation

Since the connectTimeout setting is part of the DB plugin, I think the actual retry code may live better there as well. 🤔


Update MobieService.js

I have to pass the id throught the success callback, else I wont be able to parse it from response object (which is result.data in this case).

related/fixes https://github.com/5chdn/webgl-accessibility-maps-poc5/issues/22


No signature of method: static FlutterPlugin.useProguard() is applicable for argument types: (Boolean) values: [true]

Steps to Reproduce

use flutter channel master
flutter build appbundle -v or flutter build apk -v

Logs
.
.
.
[   +2 ms] Running Gradle task 'bundleRelease'...
[   +7 ms] executing: [/Users/ezragunn/private-develop/projects/codecumbers/android/]
/Users/ezragunn/private-develop/projects/codecumbers/android/gradlew -Pverbose=true -Ptarget=lib/main.dart
-Ptrack-widget-creation=false -Pproguard=true -Ptarget-platform=android-arm,android-arm64 bundleRelease
[+2302 ms] FAILURE: Build failed with an exception.
[   +3 ms] * Where:
[        ] Script '/Users/ezragunn/private-develop/SDKs/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 163
[        ] * What went wrong:
[        ] A problem occurred evaluating script.
[        ] > Failed to apply plugin [class 'FlutterPlugin']
[        ]    > No signature of method: static FlutterPlugin.useProguard() is applicable for argument types: (Boolean) values:
[true]
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run
with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 2s
[ +740 ms] Running Gradle task 'bundleRelease'... (completed in 3.1s)
[   +7 ms] "flutter appbundle" took 283,198ms.
Gradle task bundleRelease failed with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      _buildGradleProjectV2 (package:flutter_tools/src/android/gradle.dart:791:5)
<asynchronous suspension>
#2      buildGradleProject (package:flutter_tools/src/android/gradle.dart:519:14)
<asynchronous suspension>
#3      _AndroidBuilderImpl.buildAab (package:flutter_tools/src/android/android_builder.dart:136:12)
<asynchronous suspension>
#4      BuildAppBundleCommand.runCommand (package:flutter_tools/src/commands/build_appbundle.dart:75:26)
<asynchronous suspension>
#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:490:18)
#6      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#7      _rootRunUnary (dart:async/zone.dart:1132:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#10     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#11     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#12     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#13     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#17     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#18     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#19     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#20     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#21     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

Ezras-MacBook-Pro:codecumbers ezragunn$ flutter doctor -v
[✓] Flutter (Channel master, v1.10.2-pre.31, on Mac OS X 10.14.6 18G95, locale en-GB)
    • Flutter version 1.10.2-pre.31 at /Users/ezragunn/private-develop/SDKs/flutter
    • Framework revision 1676b012e8 (2 hours ago), 2019-09-10 19:01:12 -0700
    • Engine revision 7ea9884ab0
    • Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/ezragunn/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.1

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2019.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 39.0.5
    • Dart plugin version 192.6603.23

[✓] Connected device (2 available)
    • iPhone Xʀ • 14576690-91D8-430C-A80E-A32CC3459002 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-12-4
      (simulator)
    • Chrome    • chrome                               • web-javascript • Google Chrome 76.0.3809.132

gradle.properties
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.uniquePackageNames=true
android.enableR8=true

android/app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
    compileSdkVersion 28

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "xyz.codeink.codecumbers"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile file(keystoreProperties['storeFile'])
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release

            minifyEnabled false
            shrinkResources true

            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation 'com.google.firebase:firebase-core:17.2.0'
}
apply plugin: 'com.google.gms.google-services'

proguard-rules.pro
#Flutter Wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.**  { *; }
-keep class io.flutter.util.**  { *; }
-keep class io.flutter.view.**  { *; }
-keep class io.flutter.**  { *; }
-keep class io.flutter.plugins.**  { *; }

# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/google/home/samstern/android-sdk-linux/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# Keep custom model classes
-keep class com.google.firebase.** { *; }

# https://github.com/firebase/FirebaseUI-Android/issues/1175
-dontwarn okio.**
-dontwarn retrofit2.Call
-dontnote retrofit2.Platform$IOS$MainThreadExecutor
-keep class android.support.v7.widget.RecyclerView { *; }

# To ignore minifyEnabled: true error
# https://github.com/flutter/flutter/issues/19250
#https://github.com/flutter/flutter/issues/37441
-ignorewarnings
-keep class * {
    public private *;
}

I'm having the same error after updating the master channel

I'm also having the same error on master, but stable was updated recently so temporary solution is to switch to stable.

dev works

Would you mind pasting the content of the file  <app-directory>/android/gradle/wrapper/gradle-wrapper.properties and the content of the file <app-directory>/android/build.gradle?

No branch works for me. I am unable to build releases.

@GroovinChip would you mind following these steps https://github.com/flutter/flutter/issues/40213#issuecomment-530465279 and then paste the result here?
Also run flutter build apk --no-proguard or flutter build appbundle --no-proguard

I'm not at my computer any more, sadly
On Wed, Sep 11, 2019, 4:52 PM Emmanuel Garcia<EMAIL_ADDRESS>wrote:

@GroovinChip https://github.com/GroovinChip would you mind following
these steps #40213 (comment)
https://github.com/flutter/flutter/issues/40213#issuecomment-530465279
and then paste the result here?
Also run flutter build apk --no-proguard or flutter build appbundle
--no-proguard
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/40213?email_source=notifications&email_token=ABANWZQVTJIKLCUOQ3XNBZDQJFLAJA5CNFSM4IVPAT22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6P3HVI#issuecomment-530559957,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABANWZV2CFUZXM2TVQFIFYLQJFLAJANCNFSM4IVPAT2Q
.

Hey @blasten ,
here are the files you requested
gradle-wrapper.properties
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip

build.gradle
buildscript {
    ext.kotlin_version = '1.3.31'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.android.tools.build:gradle:3.4.2'
        classpath 'com.google.gms:google-services:4.3.0'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

@GroovinChip I constantly remove .gradle file whenever there is a change in distributionUrl or switching branch to get a fresh start with this command sudo rm -r ~/.gradle. Maybe you can try it out


x/sys/unix: Listxattr on FreeBSD loses namespace info

File extended attributes on FreeBSD (and NetBSD) have a namespace which is either user or system. This is represented by an enum in the syscall API. In the Go package, it's represented by prefixing the name with user. or system., like how it works in Linux. When listing extended attributes (at the syscall level) you need to specify the namespace. The Go package lists both the system and user namespaces and merges the results, but doesn't add any prefix so the returned list of attribute names isn't usable -- we don't know the namespace each came from.
A test case:
package fs_test

import (
	"golang.org/x/sys/unix"
	"os"
	"testing"
)

func TestFreeBSDXattr(t *testing.T) {
	fd, err := os.Create("testfile")
	if err != nil {
		t.Fatal(err)
	}
	fd.Close()

	if err := unix.Lsetxattr("testfile", "user.foo", []byte("value 1"), 0); err != nil {
		t.Fatal(err)
	}
	if err := unix.Lsetxattr("testfile", "system.bar", []byte("value 2"), 0); err != nil {
		t.Fatal(err)
	}

	buf := make([]byte, 1024)
	size, err := unix.Llistxattr("testfile", buf)
	if err != nil {
		t.Fatal(err)
	}
	buf = buf[:size]

	t.Logf("%q", buf)
}

which returns the following list of attributes (when run as a superuser who can set system namespace attributes):
=== RUN   TestFreeBSDXattr
    freebsd_xattr_test.go:30: "\x03foo\x03bar"
--- PASS: TestFreeBSDXattr (0.00s)

(that's length, name, length, name so "foo", "bar")
Actually trying to unix.Lgetxattr "foo" or "bar" returns ENOATTR, as these do not exist without a namespace.
Probably Llistxattr (and Listxattr) should synthesize the namespace prefix in the listing.

cc @golang/freebsd

Modifying returned data in this way would probably break some existing code somewhere. Also, when called with zero sized buffer, unix.Listxattr() and friends return required buffer size, which would be too small if these function start adding namespace prefixes.
Perhaps we could add a set of new functions (something like ListxattrNS, FlistxattrNS and LlistxattrNS) that will accept an additional namespace parameter and will return only attributes scoped to that namespace.

Yeah... The only way I see existing code working at the moment is if it assumes that only user namespace attributes are returned, and then prefixes them by itself. But yeah, modifying the returned data certainly has pitfalls.

There's a TestXattr test which explicitly strips just the user. prefix on FreeBSD.
https://github.com/golang/sys/blob/1c4a2a72c664c42691e45fe3a31510ec5ba13cfb/unix/xattr_test.go#L60-L63
@tklauser do you remember the reasoning behind it?

Another data point. The FUSE implementation does prepend each attribute name with "namespace."
https://github.com/freebsd/freebsd-src/blob/514a191356c160ed8feb123138b92f3725e0fefc/sys/fs/fuse/fuse_vnops.c#L2746-L2755
https://github.com/freebsd/freebsd-src/blob/514a191356c160ed8feb123138b92f3725e0fefc/sys/fs/fuse/fuse_vnops.c#L2796-L2804

I did some further digging.. there's more to it than just the namespace prefixes. The actual buffer formats differ.
NetBSD implements both the FreeBSD format (length prepended, attribute name), and the Linux format (NULL terminated strings) when encoding the attribute names into the buffer:
extattr_list_file (FreeBSD)
https://github.com/NetBSD/src/blob/ff7a4938d96318e1f23dbf1eca8dfdb7881d5c90/sys/kern/vfs_xattr.c#L708
llistxattr (Linux)
https://github.com/NetBSD/src/blob/ff7a4938d96318e1f23dbf1eca8dfdb7881d5c90/sys/kern/vfs_xattr.c#L1049
Both call extattr_list_vp with or without a flag EXTATTR_LIST_LENPREFIX which is handled directly by the VFS code:
https://github.com/NetBSD/src/blob/03827c661ad6ef834853ae37414efa9106760446/sys/ufs/ufs/ufs_extattr.c#L1230-L1246
I don't think we should be doing this kind of translation on the Go side. I had some really nasty corner cases doing something similar with the direntries for the FreeBSD 11 <-> 12 64bit inode translation shim.
I think we should just provide the full FreeBSD interface and that's it.

@calmh Would the approach in the above CL be helpful for your use case?

Yes, being able to specify the namespace solves my use case. 👍
However, I still think the existing functions should be either changed or perhaps deprecated, as the data they return can't be usefully interpreted, as we don't know from which namespace the returned attribute names come.

I believe this issue was resolved by the above commit, closing.


Data Encryption and Decryption in Node.js using Crypto

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

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

Grammar & plagiarism checks

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

Technical checks

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

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

This fixes #2178

@zolomohan Please let someone else review this article Im noticing you have way more than 2-3 in review. 👍

Hey @hectorkambow. I've already completed the Preliminary Revision for this article and I'm halfway through the tech review too. Most of the articles I'm reviewing have pending revisions.

Hi @JudyNduati. All the code snippets that you've provided check out. But you've declared the algorithm variable but never used it. You're hardcoding the value all over the place. Can you please either remove the declaration of the variable or update the rest of the snippet?

We can move to the final review once you update this. :)

@zolomohan, thanks for reviewing the article. The code is updated

@JudyNduati
Data Encryption and Decryption in Node.js using Crypto #2505.pdf
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.

@hectorkambow I resolved plagiarism issues

@hectorkambow I resolved plagiarism issues

This is a great tutorial! Good job @JudyNduati @zolomohan


TypeError: 'numpy.float64' object cannot be interpreted as an integer

Gives the following error

Hi @Dil-G, I don't know whether you've already found a solution or not, but I seem to have found one. In cocoeval.py, change lines 619 and 620 to the following:
self.iouThrs = np.linspace(.5, 0.95, int(np.round((0.95 - .5) / .05) + 1), endpoint=True)
self.recThrs = np.linspace(.0, 1.00, int(np.round((1.00 - .0) / .01) + 1), endpoint=True)

Only these two float -> integer conversions are necessary for it to work. Hope this helps you!


Docker registry S3 storage driver HTTP/2 protocol error (violation)

Apparently, if http2 is enabled on the S3 storage backend termination point, docker registry doesn't work over TLS/SSL. Seems like it is related to https://github.com/golang/go/issues/16847
I captured and decrypted traffic to verify that it's violating HTTP/2 protocol:

As a workaround I had to turn off support of http/2 on the load balancer for our s3-compatible endpoint. Can someone look into it? I can provide more details if needed.

@emptywee I'm going to close this since we moved to a newer version of golang that has the fix.
If this is not enough to fix the issue, however, please say so and I'll reopen.

Thanks @dmp42 . If anyone is stuck on the older version, settng env var GODEBUG to http2client=0 helps. No need to turn it off on the load balancer or anywhere else.

@dmp42 and if it's not a secret, what version of the docker distribution/registry will have the fix? I don't see any tags newer than 2.6.2.

@emptywee for this (golang update), it would be the next upcoming minor version (2.7.0)


[Hotfix] Re-run notebook examples for warnings and errors

Update ipykernel and upgrading local packages for clearing warnings and errors on notebooks cells

Just one comment about the previous PR: it would be better to not print the metadata value for __TENSORBOARD__ as it occupies most of the rendered notebook. We could replace it with a placeholder like <binary data>

Sure @gsakkis I ll make the change


new: preserve_adb_keys in PyG to ArangoDB

Warrants a 1.1.0 release

Note: For notebook testing purposes:

Use !pip install git+https://github.com/arangoml/pyg-adapter.git@feature/adbpyg-map instead of !pip install adbpyg-adapter==1.1.0
Use !git clone -b feature/adbpyg-map --single-branch https://github.com/arangoml/pyg-adapter.git instead of !git clone -b 1.1.0 --single-branch https://github.com/arangoml/pyg-adapter.git

What's new
Introduces the preserve_adb_keys parameter in ArangoDB to PyG. When set to True, will store the ArangoDB vertex & edge _key values in the (newly created) PyG graph. When calling PyG to ArangoDB, PyG graphs that have a _key or _id property will have their vertex & edge IDs persisted. See below for an example
Additional Changes

Feature: New supported metagraph value type for ArangoDB to PyG & PyG to ArangoDB: Set[str]
Bug: In PyG to ArangoDB, when explicit_metagraph=True, omitted PyG node & edge properties were still being brought over into ArangoDB (this has been fixed)
encapsulate some PyG to ArangoDB & ArangoDB to PyG logic in new helper methods: __set_adb_data(),__set_pyg_data()
code cleanup
docstring updates
test assertion logic refactor (the existing validation logic was out of date, as we were not accounting for the various supported values in our ArangoDB & PyG Metagraphs)
new: pytest_exception_interact in conftest.py for post-failure ArangoDB cleanup
new test cases
new 1.1.0 notebook

Demo (preserve_adb_keys)
# With `preserve_adb_keys=True`, the adapter will preserve the ArangoDB vertex & edge _key values into the (newly created) PyG graph.
# Users can then re-import their PyG graph into ArangoDB using the same _key values
pyg_g = adbpyg_adapter.arangodb_graph_to_pyg("imdb", preserve_adb_keys=True)

# pyg_g["Movies"]["_key"] --> ["1", "2", ..., "1682"]
# pyg_g["Users"]["_key"] --> ["1", "2", ..., "943"]
# pyg_g[("Users", "Ratings", "Movies")]["_key"] --> ["2732620466", ..., "2730643624"]

# Let's add a new PyG User Node by updating the _key property
pyg_g["Users"]["_key"].append("new-user-here-944")

# Note: Prior to the re-import, we must manually set the number of nodes in the PyG graph, since the `arangodb_graph_to_pyg` API creates featureless node data
pyg_g["Movies"].num_nodes = len(pyg_g["Movies"]["_key"]) # 1682
pyg_g["Users"].num_nodes = len(pyg_g["Users"]["_key"]) # 944 (prev. 943)

# Re-import PyG graph into ArangoDB
adbpyg_adapter.pyg_to_arangodb("imdb", pyg_g, on_duplicate="update")

Demo (Set[str] as a metagraph value)
metagraph = {
    "nodeTypes": {
        "v0": {"x", "y"}, # equivalent to {"x": "x", "y": "y"}
    },
    "edgeTypes": {
        ("v0", "e0", "v0"): {"edge_attr"},
    },
}

adbpyg_adapter.pyg_to_arangodb("FakeData", data, metagraph, explicit_metagraph=False)

metagraph = {
    "vertexCollections": {
        "v0": {"x", "y"}, # equivalent to {"x": "x", "y": "y"}
    },
    "edgeCollections": {
        "e0": {"edge_attr"},
    },
}

pyg_g = adbpyg_adapter.arangodb_to_pyg("FakeData", metagraph)

I believe the entry Changelog is missing

@joerg84
No need, as the release.yml action will auto-generate a Changelog entry using commit messages upon triggering a new release (in this case it would be 1.1.0).
Example: https://github.com/arangoml/pyg-adapter/pull/9


RawNotifications associated to wrong CircuitMaintenance

Environment

Python version:
Nautobot version: 1.1.3
nautobot-circuit-maintenance version: 0.2.4

Expected Behavior
RawNotifications to be associated to the correct CircuitMaintenance records

Observed Behavior
RawNotifications are associated to the wrong CircuitMaintenance records. It looks like something isn't getting carried over or initialized properly as we see a series of consecutive RawNotifications (for different maintenance IDs) being associated to the same CircuitMaintenance instead of different ones as expected.

Steps to Reproduce

Not sure yet - investigating.

Looks to be a bug in the circuit-maintenance-parser rather than in the plugin.

Closing in favor of https://github.com/networktocode/circuit-maintenance-parser/issues/85


Installed via HACS, Integration not showing up in HA

Installed current version via HACS
Restarted HA
Integration not showing up as an available option to be installed via HA integrations.
Verified all files have been added to custom_components/jellyfish_lighting
Overwrote files (manual install)
Rolled back to 1.0.4 release
Ran through all of the usual troubleshooting, no logs as it is not installed.
Currently running HA 2022.7.7
Thanks,

Updated HA to latest ..


Add missing packages from list of popular Fortran projects

This should add all the remaining packages from https://github.com/fortran-lang/fortran-lang.org/issues/68 which have an open source license.
Important: since my background is electronic structure theory, I'm mostly not familiar with weather modeling or astrodynamics, which many of those projects are targeting. Somebody with experience in this fields should have a look over the descriptions and add tags as appropriate.
This PR will eventually close https://github.com/fortran-lang/fortran-lang.org/issues/68.

Let's try the #build_preview again.

#delete_preview


Suspend software/Sleep

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I would like a Suspend software button
Describe alternatives you've considered
Or a button to make the switch go to sleep
Additional context
None

Hmm, the app doesn't expose this functionality directly, but we could achieve it by adding a switch for the suspend software setting under "Play Time Limit".
From this we can then create a button perhaps, that will call the relevant API calls in the required order. Although that being said, it won't put the device to sleep, but essentially make the device unusable (unless you have the pin to override).

Hmm, the app doesn't expose this functionality directly, but we could achieve it by adding a switch for the suspend software setting under "Play Time Limit".
From this we can then create a button perhaps, that will call the relevant API calls in the required order. Although that being said, it won't put the device to sleep, but essentially make the device unusable (unless you have the pin to override).

Make the device unusable will be fine. :-)

The latest release should now have a switch to control the suspend software mode. This is the start to implementing a shortcut button, but for now turning on "Suspend Software Limit" and "Block Device Access" will achieve the above.
If you only turn on "Block Device Access" then the player will just get an annoying alarm in the corner telling them that they've used all their time up for the day.
If you only turn on "Suspend Software Limit" nothing will happen until the time limit has been reached for the current day, and then it will suspend the software and make the switch unusable.
I need to come up with some better names for those switches in the future though, so expect them to change at somepoint

The latest release should now have a switch to control the suspend software mode. This is the start to implementing a shortcut button, but for now turning on "Suspend Software Limit" and "Block Device Access" will achieve the above.
If you only turn on "Block Device Access" then the player will just get an annoying alarm in the corner telling them that they've used all their time up for the day. If you only turn on "Suspend Software Limit" nothing will happen until the time limit has been reached for the current day, and then it will suspend the software and make the switch unusable.
I need to come up with some better names for those switches in the future though, so expect them to change at somepoint

Works like a charm. Thank you :-)

#15 de-duplicates and completes this. Entity names need to be updated but will do that at a later date.


PooledStreamingEventProcessor: Token is not updated if no matching event handler is present

Basic information

Axon Framework version: 4.5.1
JDK version:  11
Complete executable reproducer if available (e.g. GitHub Repo): https://github.com/OLibutzki/axon-token-issue

Steps to reproduce
I'm afraid we stumbled upon an issue with the PooledStreamingEventProcessor. I created a reproducer at https://github.com/OLibutzki/axon-token-issue.
In my example I have two events: Event1 and Event2.
There are 4 event handling components. Each component is assign to a seperate event processor by using @ProcessingGroup. For simplicity the number of initial segment is set 1 for each event processor.
PooledStreamingEvent1Handler handles Event1 and is backed by a PooledStreamingEventProcessor.
PooledStreamingEvent2Handler handles Event2 and is backed by a PooledStreamingEventProcessor.
TrackingEvent1Handler handles Event1 and is backed by a TrackingEventProcessor.
TrackingEvent2Handler handles Event2 and is backed by a TrackingEventProcessor.
In my test case  I publish Event1 and expect the token to be updated to index 1 within one second. There is a test for each ProcessingGroup.
Unfortunately, the test fails for the PooledStreamingEventProcessor if there is no event handler which handles the published event. When Event1 is published the token of PooledStreamingEvent2Handler remains null as PooledStreamingEvent2Handler does not have an event handler for Event1.
This is a difference compared to the TrackingEventProcessor which updates the token regardless of having a matching event handling component.
First of all I assumed that it might be related to the initial token being null, but I added another test which published Event2 and then Event1. The token of PooledStreamingEvent2Handler remains at Index 1 in this case, althogh I expect it to be at index 2.
The consequences are annoying because the events are processed again and again as the token is not updated in the expected way.
Expected behaviour
The token is updated regardless of the existence of a event handling component for the published event.
Actual behaviour
The token is not updated if the published event is not handled by the any event handler of the event processor.

I assumed that we covered this scenario in the WorkPackage  used by the PSEP. It will receive events from the Coordinator, check whether it should handle the event, and regardless of whether it should, it would update the token. Regardless, you've found something, so I'll take a look at your sample project.

Spotted what caused the problem
The eventFilter invoked on line 515 of the Coordinator removes the event and filters it out of the event stream because there's no handler interested.
The fact the token isn't updated, however, deviates from the desired outcome.
We'll take a look at resolving this for 4.5.2.
In the meantime, you can add the (albeit ugly) workaround of:

Adding a no-op event handler for the event
Adding a no-op event handler for event type Object, as this will effectively catch every event for which something more specific hasn't been defined

We'll be sure to update this issue accordingly when the PR adjusting this behavior has been provided.
And, as always, thanks for showing this insight, @OLibutzki!

We decided to use the TrackingEventProcessor for the moment.
When 4.5.2 is released the PSEP gets another chance.
Thanks for investigating this issue that quickly!

Closing this issue because it has been resolved in pull request #1820.


Alchemy for migrations

Alchemy used to define tables structure. Alembic used for migrations.
This PR depends on PR #62. Please before working on this PR, accept #62 to decrease the number of changes in this PR.
This PR itself is stable, but #62 is to dev, so this is to dev, too.

@vporton thanks very much for the contribution, but we want to avoid adding unnecessary technology to the project. We don't need migrations for this project


initializer from primary key for swift Object subclasses

I'm migrating my project to Swift, but I noticed that the Swift syntax for the objc method -[RLMObject objectForPrimaryKey:] is much more verbose and awkward.
I was expecting something like:
Dog(forPrimaryKey: "abc123")

but it ends up being
let realm = try? Realm()
realm?.object(ofType: Dog.self, forPrimaryKey: "abc123")

This feels pretty heavy for a simple lookup.  Am I missing something, or is this the only syntax for this primary-key lookup?
Cheers.

The Swift 3 API is in flux and will be changed to realm.object(Dog.self, forPrimaryKey: "abc123") soon.
For the Swift API in general we dropped the default realm convenience methods that the obj-c API has for two reason:

Most of them simply aren't possible in Swift's type system. Getting an object for a primary key is possible, but Dog.filter("...") isn't because we can't have a method of type Results<Self> on Object. We briefly toyed with the idea of an objects() free function which was equivalent to the objects() method on the default Realm, but that wouldn't be very discoverable and the call sites were unclear.
They mostly didn't actually make the code much more concise, since getting a default Realm is quite a bit less verbose than [RLMRealm defaultRealm]. This was made less true by Swift 2's error handling model forcing you to use try, but we would probably want to make all of the default realm convenience methods throw anyway and try! Dog(forPrimaryKey: "...") is pretty ugh.

Thanks for reply @tgoyne
In terms of the error handling, perhaps swallowing any exceptions on Realm() inside the method and returning nil in this case.  Thus Dog(forPrimaryKey: "x") is equivalent to (try? Realm())?. object(ofType: Dog.self, forPrimaryKey: "x")

Thanks for sharing your thoughts and opinions @tsheaff!

The concept of the default Realm has the unfortunate side effect of introducing global mutable state and duplicate APIs pretty much everywhere in Realm's Objective-C API, and so we took the opportunity to redesign this when initially building Realm Swift. Language constraints also guided these decisions.
The reason try? Realm())?. object(ofType: Dog.self, forPrimaryKey: "x") looks verbose, unclear and illegible is exactly why it was designed that way.
The Dog(forPrimaryKey: "x") syntax (very similar to Realm Objective-C):

doesn't scale well to using multiple Realms since it increases the API surface area.
encourages bad practices such as ignoring errors.
hides too much of the internals that are actually useful to know for end users like yourself.

That being said, you're always free to make extensions to Realm if you'd like to use a different syntax. Though I think the specific syntax you proposed isn't possible if defined on Object due to Swift's lack of higher kinded types.


Fix AppService.mdx

The description was is a copy paste from the Page documentation, I simply changed Page to AppService. More details on App services would be welcome too though.

Thank you!


Whitespace token modernization - bc lexers - regarding #1905

This PR is chunk of the effort (#1905) to insert the Whitespace token where ever it applies.
The configs lexer changes got huge... let me know if you require to break this into smaller pieces

Hmm, the linter shows some error. I'll get to it in a day.


Bonding callback

Hello guyz! Thank you for this library!
It there any way to check if bonding is finished?

There is no official way, someone suggested this for Android
https://stackoverflow.com/questions/33317516/android-ble-how-to-check-if-bonded-ble-device-is-available-to-connect
But I wouldn't want to include this in the library as it's not official and is a bit of a hack. Plus could break with any update of Android.
Then the headache to support it also on iOS too.

I found out that in onConnected callback, on Android side, peripheral.bluetoothDevice.bondState is available, but I didn't find any ways to implement the same on iOS side :(

Unfortunately i'm not sure there is the equivalent for ios, we would need the same functionality on both platforms, otherwise it shouldn't be implemented.

Got it... I'll try to make it on server side... maybe some not encrypted characteristic with current authorisation status


Allow integers (or custom types) to be used as names/keys

This is similar to #745 ("Allow integer tags for internally tagged enums") but this issue focuses on types and struct fields.
When working with structs and fields, the Serializer and Deserializer traits take name: &'static str parameters, and other traits like SerializeStruct take key: &'static str parameters. These parameters describe the type/field.
But not all formats use textual keys. Some, for example, uses integers for their keys. I'd like to be able to use #[serde(rename = 42)] (or #[serde(rename = SOME_CONST)] if that's not too much), which would allow me to provide serde with the integer key for that particular type or field. But doing this is problematic for two reasons:

It requires Serializer/Deserializer/etc. to use a different type in their methods for the name or key parameters.
It doesn't play well when trying to (de)serialize the same struct to/from a human readable format (e.g., JSON).

I think this could be worked around by using the is_human_readable() function and allowing users to provide both a human-readable and machine-readable name to Serde. For example:
#[derive(Serialize, Deserialize)]
#[serde(rename = "ThisIsANameForHumans")]
#[serde(machine_name = 0x10)]
struct Foo {
    #[serde(rename = "Bar")]
    #[serde(machine_name = 0x21)]
    bar: u32,
    #[serde(rename = "Baz")]
    #[serde(machine_name = 0x8014)]
    baz: f32,
}

Then the #[derive] macros could be changed like so:
impl Serialize for Foo {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        // The check for is_human_readable() is only added if machine_name is used.
        if serializer.is_human_readable() {
            let mut foo = serializer.serialize_struct("ThisIsANameForHumans", 2)?;
            foo.serialize_field("Bar", &self.bar)?;
            foo.serialize_field("Baz", &self.baz)?;
            foo.end()
        } else {
            let mut foo = serializer.serialize_machine_struct(0x10, 2)?;
            foo.serialize_field(0x21, &self.bar)?;
            foo.serialize_field(0x8014, &self.baz)?;
            foo.end()
        }
    }
}

Open questions:

If only some of the fields have machine_name specified, how should the be handled? Fallback to using human names? Or fallback to using the field ordinal number? Or fail to compile?
Not all formats use integers as keys. Should the machine_name instead take a string of bytes (i.e. a byte literal that can have non-UTF-8 contents)?

I'd be willing to take a shot at implementing this if the serde maintainers are interested.

This would be great!
I'd like to use MessagePack to encode a struct with protobuf-like tags, where each field has a number instead of a name.
Anything I can do to help with implementing this?


Combat Panel

Discussion in #189 about combining interface with the realm details panel. The combat interfaces will need more scoping as we look to add additional assets into any raiding/battle mechanics

[x] Better Realm (to raid, and raid with) search (would a more progressive step based interface be more intuitive, e.g 1) select Realm to raid (prefilled if modal coming from realm details or select from lists in #166 or ID) , 2) select your realm 3) raid
[x] Ability to build troops on attacking Realm
[x] Add troop image assets
[x] Raid results display (loading + result interface + add link to get to result from tx sidebar)

closing this - will make new


[Question] how to get Past history chat from Azure table storage for C#

how to get Past history chat from Azure table storage for C#

Here is an implementation of IActivityLogger you may find useful.  theres also some more information in []this issue](https://github.com/Microsoft/BotBuilder/issues/2073)  as well as [this issue] (https://github.com/Microsoft/BotBuilder/issues/2970)

I already stored data using TableBotDataStore class of Microsoft.Bot.Builder.Azure in Azure table storage but i want to retrived that and diplay when user back again in his chat
when i open chat again then Post method of MessagesController again called and then it goes into HandleSystemMessage() method....then it get ActivityTypes.ConversationUpdate as ActivityType and it's execution finished....my questions is how i get data from Azure table storage....

could you please give solution for above problem...thanks in advance!

@amitgobare23 this is not something I have personally done before I do not have a pre-made solution to show you.

@JasonSowers  so what are other ways to get past history data from azure storage cloud , load and display on chat screen?

What channel are you trying to do this on?

@JasonSowers  I am using Webchat

@JasonSowers  still i don't get any workaround/solution for same.... are you found some workaround/solution for above problem

@amitgobare23 I have not, sorry

My current approach is from the web "push notification" in the browsers, actually, rather than from the chat framework itself. This WebChatPush project can recall chat history from previous windows by clicking on desktop push notifications: https://github.com/doristchen/WebChatPush

please reopen this issue if needed

Has anyone found anything with this?


Send Ether Error

Keep hitting error:
processingError(desc: "Failed to calculate gas estimate that satisfied options")
networkFailure
on send, how can I fix this.

@steadyaction have you seen this error?

This resolveGasLimit is throwing the error. Transaction sends fine if I comment out.
Is there any way to skip this without modifying the Web3+MutatingTransaction file?


Added documentation

This PR added the documentation to understand, compile and run gazebo_ros2_control
These PRs are related to this PR

Demos pkg: https://github.com/ros-simulation/gazebo_ros2_control/pull/2
Register the right cmd_handle https://github.com/ros-simulation/gazebo_ros2_control/pull/7
Added robotParamNode to gazebo_ros2_control plugin https://github.com/ros-simulation/gazebo_ros2_control/pull/8
Used gazebo_ros::Node https://github.com/ros-simulation/gazebo_ros2_control/pull/11

One PR is also on the way when the PID wrapper in control_toolbox is ready https://github.com/ros-controls/control_toolbox/pull/97#partial-pull-merging
Signed-off-by: ahcorde<EMAIL_ADDRESS>

Ready for another review @chapulina


Taquito module isn't executing code

On clicking run code for module-4. CORS blocked for https://api.tez.ie/keys/carthagenet/ error is being shown on the dev console.

Using https://carthagenet.SmartPy.io RPC should resolve the issue.

carthagenet is obsolete now.

This is fixed as per @manangouhari


Fix new/rename dialog processing stale text

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #8765
Regression from #8204

Details of Changes

Using BeforeTextChanging means that the textbox text is stale, args.NewText must be used instead

Validation
How did you test these changes?

[X] Built and ran the app
[X] Tested the changes for accessibility

@jiejasonliu thank you


Concatenate Text Fields

I would like to be able to rollup text fields. It would be helpful to be able to choose the delimiter as well, such as a punctuation value or newline.

Is this a duplicate of issue #76?
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/76 Can we close this and track there instead?
Thanks

Yes, I think this qualifies as a duplicate of #76 .


membership get_group and email_has_role

This supports functionality to get group data and determine if an email is associated with a role.

@trski looks like Travis has some failures: https://travis-ci.org/mitodl/PyLmod/builds/61171005#L569-L593

Coverage decreased (-1.54%) to 98.46% when pulling 675e23b3f2a4edb3e8b9fcf2ac2804e5c5fcbf8c on trski:feature/group_membership into f52a0eada824b89bd3efd2c8c10026ca6e2f6441 on mitodl:master.

Coverage decreased (-1.54%) to 98.46% when pulling bbe6f9a3db25cb943660713bb7c1fba2bc306963 on trski:feature/group_membership into f52a0eada824b89bd3efd2c8c10026ca6e2f6441 on mitodl:master.

Coverage decreased (-1.54%) to 98.46% when pulling 2c41adcbc1ecea08f0a82060f87157011333023c on trski:feature/group_membership into f52a0eada824b89bd3efd2c8c10026ca6e2f6441 on mitodl:master.

@trski good to see tests are passing, but it looks like you'll need to add a few tests to maintain coverage. There's a link above to the coveralls report, or you can go straight to https://coveralls.io/builds/2490462/source?filename=pylmod%2Fmembership.py
Coverage isn't allowed to decrease and, for better or worse, this project was at 100%.
Let me know if you have any questions.

Coverage decreased (-0.12%) to 99.88% when pulling 4493e3e7ba7c0fc9dafca177ea3ac854ef1d2a95 on trski:feature/group_membership into f52a0eada824b89bd3efd2c8c10026ca6e2f6441 on mitodl:master.

Coverage remained the same at 100.0% when pulling c1d17dea4101fdb1d392c2ee0168103ae39ceadc on trski:feature/group_membership into f52a0eada824b89bd3efd2c8c10026ca6e2f6441 on mitodl:master.

@pwilkins or @carsongee can one of you review?
@trski please let us know if this is blocking you on lore.

@pwilkins are you done with your review? If so, please change the label to "Waiting on Author" and assign the PR back to @trski
@trski you don't have to wait for the review to be done to respond to the comments.


Conflicting Documentation - Customers in a lurch

This document seesm to contradict the information (and 2021 MS Inspire announcement) that Microsoft was removing the "Licensing Tax" for Dynamics 365 record and view access from a Team Channel (pinned tab). No Dynamics 365 license, full or Team Member should be required.
https://learn.microsoft.com/en-us/dynamics365/teams-integration/teams-integration

"Dynamics 365 and Microsoft Teams integration allows you to speed up the flow of work, enabling anyone in an organization to view and collaborate on Dynamics 365 records, from within the flow of work with Teams—at no additional cost."

Either this is a "New Teams" issue. But this capability has recently started to fail for users. It has worked fine for over a year.

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

ID: 7e295f7c-88d5-8ba4-9096-20625f484681
Version Independent ID: 7e295f7c-88d5-8ba4-9096-20625f484681
Content: Basic Collaboration for Microsoft Teams with Dynamics 365 app
Content Source: ce/sales/teams-integration/teams-collaboration.md
Service: dynamics-365-sales
Sub-service: d365-sales-teams
GitHub Login: @sbmjais
Microsoft Alias: shjais

Thanks for your comment, @ryanbialek. This issue has been assigned to the doc author for review.


Add consul module

Singleton pattern so that we can make coordination modules, like
a module that has dependencies to consul and webconsole, and
can register the webconsole in consul.
Includes re-registering if consul connection drops, to make sure
the service is registered.

I think this singleton thing is a very nice pattern to use. It makes it very easy to use for developers that wants to do other things through the modules, like registering their own service. ConsulModule.getInstance().registerService(...).
Yes, I think we should do this for all our modules.

Can you rebase this now and then we see if everything still makes sense?


samples: net: Miscellaneous fixes

Fix misc issues spotted in various samples. For details, please check commit messages.

Pushed one more commit fixing the tests. mDNS responder needed a little more stack on some platforms.


[Bug]: Mozilla Pdf.js error when attempting to display any pdf documents

Attach (recommended) or Link to PDF file
Mozilla Pdf.js not displaying any pdf documents neither in an  nor in it's own demo viewer.
Web browser and its version
any
Operating system and its version
any
PDF.js version
latest
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem

Open demo link https://mozilla.github.io/pdf.js/web/viewer.html or any other viewer based on this library.

What is the expected behavior?
To see a PDF document properly instead of an error.
What went wrong?

Link to a viewer
No response
Additional context
No response

For future reference: Please remember to always provide error messages as text, rather than as images.


Bmi Calculator

Project title
(Write project title over here)
Bmi Calculator
Project Description
(Describe the project over here)
I would like to create a Bmi Calculator using Html , Css and Javascript. You can calculate your Bmi as it has user-friendly interface .Please assign it to me.
Doc Domain

[] Solidity , Html, Css , JavaScript , Web3.js / Ether.js
[] Solidity , ReactJs /NextJs , Web3.js /Ether.js
[] Solidity , Python3 , Web3.py
[] Other , feel free to mention below

Are you contributing under any open-source program ?

@Tusharjoshi1703 closing this issue, someone else already working on this issue, please search the project topic on "issues" section before raising an issue. So, that you will not face that kind of thing in future.

Okay !
On Thu, 29 Jun, 2023, 16:27 Shubhi Singh, @.***> wrote:

@Tusharjoshi1703 https://github.com/Tusharjoshi1703 closing this issue,
someone else already working on this issue, please search the project topic
on "issues" section before raising an issue. So, that you will not face
that kind of thing in future.
—
Reply to this email directly, view it on GitHub
https://github.com/Vikash-8090-Yadav/Future.WebNet/issues/361#issuecomment-1612886478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYZJSIUJX3Z662QQKCGQTYLXNVNR5ANCNFSM6AAAAAAZRW45UQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


[MERGE ONLY AFTER BUILD SUCCEEDS] Use different timestamp sign server and add msi installer

@ptrakhtman @msayler please run builds from https://travis-ci.com/github/alertlogic/alcli once travis is back($$$ in)

@ptrakhtman @msayler please run builds from https://travis-ci.com/github/alertlogic/alcli once travis is back($$$ in)


Introduce Volume Usage Graph for PVCs

Description
Changes proposed in this pull request:

Add Volume Space Usage Graph on the PVC view
Add translations
Modify StatsPanel to add next graphs easier

Related issue(s)
Closes #1259

/retest

/retest


MAIN - adds optional buttons

Hey you amazing reviewers 🌻
I am adding the buttons in this version of the Modal.
Styling changes
Also adds some styling changes that needed to be done.

Adds Height  this helps aligning the modal vertically.
Adds max-width on modal of 920px as in concept.

🕊 hope you enjoy reviewing this one! peace out!
Who said  g i f ?! 🤠 😎

Messages

:book:
✅  Get a 🏆 for adding description on this PR. - Celebrate on every step!

:book:
✅ Get a 👍 for requesting reviewers. - Celebrating every win!

  Generated by :no_entry_sign: dangerJS against 5d2630077eee639704dececdb470d9198aa70659

Shouldn't ok/cancel btns have different colours from the beginning?

@lanwen would be great if you can have another look here!!

As discussed in person we will discuss with our designer and hopefully condense down to two buttons, primary and secondary as we already have new component concepts that only have these two types

Yeah will open a new PR with the Buttons only and we should focus on that one before we start reviewing this one again. Thanks!

Warnings

:warning:
Missing reviewer - Looks like this pull request is missing a reviewer. That's OK as long as this PR is still a 'work in progress', if that is the case please add 'WIP' in the PR title or corresponding label.

Messages

:book:
✅  Get a 🏆 for adding description on this PR. - Celebrate on every step!

  Generated by :no_entry_sign: dangerJS against 3c6d7980537edd25477eeab5943488d75e6f6c98

@Weetbix @lanwen please have another look.
Now the new buttons we created the other day are being shown.
Also you can PR-review.
For the future as talked with John in private there needs to be a boolean property that will have the modal button disabled for the time it is being false and enabled for the other case.
This will help us prevent the doctors to submit the modal without first uploading documents.
I will implement this in a different PR as it is kinda of a different "feature"

Thanks for the changes!! 🎉


nixos/grafana-agent: apply some fixes

Things done
I went through the examples and defaults and removed some footguns.

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 178224 run on x86_64-linux 1

1 package blacklisted:

nixos-install-tools


Automating some aspects

It looks like currently, the examples have to be run locally, and then the resulting files moved manually into place? I couldn't really find more logic than in the files in this folder https://github.com/lazarusA/BeautifulMakie/tree/main/_assets
Maybe we can think about ways in which this can be streamlined, and maybe just run when deploying.
One can automatically create md files during deployment, and then run optimization again to include them as well, they don't have to be added to the git repository itself. Or maybe you had some specific ideas already?
That would also help when generating thumbnails for the overview page (it takes long to load otherwise) etc.

files moved manually into place?
Kind of, they are being saved into _assets/scripts/output/ and one can run them all with the script generate_results.jl.
The Manifest.toml and Project.toml file are not in the main folder, I had some issues with Franklin at the time of deploying, all the time was failing to build. Right now, I just activate an external env and then run all the scripts.

Now, the problem will be when there are some packages conflicts. In that case one needs to creates a new env for that particular script in order to work. Yes, again I did that locally and run it locally and then build the site with Franklin before deployment. An example for this scenario is this example.
https://github.com/lazarusA/BeautifulMakie/tree/main/_assets/scripts/penguinsDataSetWithChain
I don't have a clear idea how to call each script, then build automatically the corresponding .md file and then add the thumbnails into the main page. (that would be my workflow). And on top of that one needs to manually link this files to the left menu of the site.

Yes, I was thinking about automatisations, that's why all scripts and outputs files have the same name.
-- One can automatically create md files during deployment

I don't know how to do that, at the moment my .md files are calling basically the same name (.png, .jl, .out), but the titles are more descriptive, we could drop that also just putting the name of the file.

it takes long to load otherwise
yes, I know. This is definitely something that needs to be taking care of. I was thinking about lazy loading to fix that and keep the high resolution of the images.

This was my first attempt. Is better to have something (regarding the set of examples), than discussing endless hours about the best approach to automatised the whole thing. Now, it works, more or less. Probably, there are better ways to do it and we can do something about it, at least now we have something to work with.

Yeah for sure, it's already quite good :) Ok then I have a better idea of how it works.
I guess it would get kind of crazy if every example had its own manifest, because then the amount of making new envs and recompiling when building would get out of hand. How about defining named environments, and new examples can either use existing environments, or they PR to add a new one. Then maybe one would have 5 to 10 environments maximum and it wouldn't take so long to build. Or at least use the same env for all examples that only use Makie and nothing external.
I would basically remove all md files and folders from the repo, then during deployment call a script like you're doing manually in the github actions yaml file. That would build the md's on the fly. Building locally will get more and more tedious for you, I think.


Convert boundaries filter into YAML.

Connects to #687.
@rmarianski could you review, please?

:+1:


Output file contains extra lines that are not part of translation

Hi,
I am trying to translate a raw text file by using interactive.py and  pre-trained NMT models in the fairseq repository as follows:
$ cat sample_input.final

My name is ere@@ day .
I like cats .
Education is the passport to the future , for tomorrow bel@@ og@@ ns to those who prepare for it today .

$ cat sample_input.final | python ./interactive.py ../wmt14.en-de.fconv-py/ --remove-bpe --path ../wmt14.en-de.fconv-py/model.pt -s en -t de --quiet  | tee output_file.txt

$ cat output_file.txt

Namespace(beam=5, buffer_size=1, cpu=False, data='../wmt14.en-de.fconv-py/', dataset_impl='cached', diverse_beam_groups=-1, diverse_beam_strength=0.5, fp16=False,  ....
| [en] dictionary: 40358 types
| [de] dictionary: 42714 types
| loading model(s) from ../wmt14.en-de.fconv-py/model.pt
| Type the input sentence and press return:
S-0	My name is ereday .
H-0	-0.5524863004684448	Mein Name ist der heutige Tag .
P-0	-0.3803 -0.0128 -0.1571 -1.7124 -2.1099 -0.0434 -0.0039 -0.0000
S-1	I like cats .
H-1	-0.14378516376018524	Ich mag Katzen .
P-1	-0.1418 -0.2106 -0.4625 -0.0319 -0.0160 -0.0000
S-2	Education is the passport to the future , for tomorrow belogns to those who prepare for it today .

P-2	-0.4543 -0.0735 -0.3153 -0.6046 -0.7592 -0.0248 -0.0019 -0.0628 -0.1889 -0.4038 -2.9709 -0.2125 -1.4647 -0.0550 -0.0086 -0.5473 -0.7326 -0.1416 -0.0409 -0.0090 -0.0003

The command seems working, but in the output_file.txt I see some extra information which is not part of the translation.  Is there a way to create an output file which contains only the translation of the input file ?

cat output_file.txt | grep -P '^H-' | sed 's/H-//' | cut -f3- should do it

Thanks for reply. Agreed, however I was wondering if there is a more natural way to get translation only file.

Not currently, but perhaps there should be.


[Wallet] Secure Send Navigation Bug Fix

Description
Fixes a bug where repeatedly cycling through "edit" for secure send would cause navigation to stall. See tagged issue for context.
Other changes
Minor refactoring to further consolidate secure send properties into the mapping object.
Tested
Wrote new tests.
Related issues

Closes #4226

Backwards compatibility
Yes

Hey @tarikbellamine   I have verified this issue using latest  Android Internal Build V1.11.0(1004294337) & Test Flight Build V1.11.0(47) & observed that issue is still reproduced. User not able to proceed by submitting last 4 digit codes again from Send secure flow screen.
Verified on devices: Samsung Galaxy A5(7.0),iPhone SE (13.4.1)
Attachment: NotProceedBySubmitting4CodesAgain.mp4

Thanks, could you open a new bug for this?

Sure @jeanregisser we will raise a new issue for this, Thanks!


Associate to Test Case in TFS broken

Problem

Cannot associate test case to test in TFS, possible though workaround (see below) .
Description Attribute does not allow workaround

Steps to reproduce

Create new Test Project
Check MSTest.TestAdapter 1.1.18 & MSTest.TestAdapter 1.1.18 are installed
UnitTestClass1.cs looks like this:
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
 [TestClass]
  public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
        }
    }
}
Build Test Project
Verify you have access to a TFS having a Testcase
TestMethod1 can be found in test explorer window
Right click test

Expected behavior
Associated automation should be available.
Actual behavior
Associated automation is grayed out.
Workaround for literal 1) in Problem:
Precondition: Do Steps to Reproduce

Open TFS Test Case in Visual Studio
Go to "Associated Automation Tab"
Click on "Associate an automated test with this test case"
Test is listed and can be added

Note: This workaround does not work with literal 2):
        [TestMethod]
        [Description("MyDescription")]
        public void TestMethod1()
        {
Note 2: Both cases work correctly using "Microsoft.VisualStudio.QualityTools.UnitTestFramework "
Environment
OS: Windows 10
VS2017 Enterprise: 15.3.5
MSTest.TestAdapter 1.1.18
MSTest.TestFramework 1.1.18
TFS 2017 Update 1

@abhishkk : Can you help please?

@andresla : There is an active story tracking this support in our backlog. We do not have a clear timeline on this yet.
/cc: @pvlakshm, @PBoraMSFT

@AbhitejJohn Thank you for your answer

https://github.com/Microsoft/testfx/issues/353


No, it isn't me doxxing Seth on deepweb reddit. On a related note, can binary Fate kindly stop trying to bribe OVH employees to get my data?


Bind data to the UI and navigate pages

[Enter feedback here]

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

ID: 720bf7f0-db92-f738-b864-ee149a02377b
Version Independent ID: 720bf7f0-db92-f738-b864-ee149a02377b
Content: Tutorial: Create a .NET MAUI app - .NET MAUI
Content Source: docs/tutorials/notes-app/index.yml
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello. It looks like you may have opened this issue in error. I'm going to close this. Please feel free to edit it, adding more details, or open a new issue.


Improve the stability of workspace.

@haojinIntel  Thanks for the improvement. It looks good for me. If you don't have further changes for the tag improvement. I will commit


update core level

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 90.90909% with 8 lines in your changes missing coverage. Please review.

Project coverage is 63.77%. Comparing base (bbf2867) to head (090e56b).

Files with missing lines
Patch %
Lines

workgraph_collections/ase/common/core_level.py
91.30%
4 Missing :warning:

workgraph_collections/ase/espresso/xps.py
62.50%
3 Missing :warning:

tests/conftest.py
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   57.40%   63.77%   +6.36%
==========================================
  Files          12       13       +1
  Lines         324      403      +79
==========================================
+ Hits          186      257      +71
- Misses        138      146       +8

Flag
Coverage Δ

python-3.11
63.77% <90.90%> (+6.36%)
:arrow_up:

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

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


OOPS: vsf_sysutil_bind - error with last update

Hi, i'm getting this error when connect to ftp, or when i try open remote file.

This problem started today, after upgrading, had been working without problem for months.
.ftpconfig
{
    "protocol": "ftp",
    "host": "zzz.xxx.cc",
    "port": 21,
    "user": "user",
    "pass": "*****",
    "promptForPass": false,
    "remote": "/home/user/app",
    "local": "",
    "secure": false,
    "secureOptions": null,
    "connTimeout": 10000,
    "pasvTimeout": 10000,
    "keepalive": 10000,
    "watch": [],
    "watchTimeout": 500
}

Any idea?
ftp server:  CentOS Linux release 7.3.1611 (Core)
localhost: Windows 10 V 1703
atom: 1.21.0
remote-ftp: 1.2.1

Resolve the v1.2.2?

yes, the problem has been solved with the last version, I do not know why it happened, but it did not happen anymore.
Thanks. 👍


Pinned @vue/runtime-core and @vue/runtime-dom causes version mismatch of core Vue 3 packages

Describe the bug
https://github.com/victorgarciaesgi/vue-chart-3/commit/af4d6b31434cd80f0410aa1f139e34e5b0c9b1aa changed the version resolution of @vue/runtime-core and @vue/runtime-dom from latest to an exact pin on 3.2.26 for both of these. If a consumer is using an older or newer version of Vue 3 (e.g 3.2.25 or 3.3.x), then they will have two versions of these core packages bundled with mismatched feature support.
These should ideally be a peerDependency targeting the major version (e.g ^3.2.26) so it will always be in line with the version of Vue used by the consumer as these are direct dependencies of the vue@3 package.
Version of vue-chart-3
v3.0.7
Version of Vue

[x] Vue 3
[ ] Vue 2
[ ] Nuxt 2
[ ] Nuxt 3

Hi @wopian ! It's fixed in 3.0.8 :)


Add setting / option to highlight by default and do NOT need ctrl+X

Ok I’ll implement the auto highlight option into the settings over the next couple days so you can choose to highlight on selection without needing to use Ctrl+X. Does that sound good?

Duplicate of #71

Duplicate of #71


automatically execute pageFetch function until get all data

Thanks for the awesome widget;
but when I try it inside the SliverToBoxAdapter, it automatically execute pageFetch function until get all data;
the same when put it in another ListView, shrinkWrap is set true.

Now pagination_view (v1.0.4) supports header and footer. With this you can add any widgets you want to display above pagination view as header. Hope this fixes the issue. Feel free to reopen it if you face a similar issue.

Now pagination_view (v1.0.4) supports header and footer. With this you can add any widgets you want to display above pagination view as header. Hope this fixes the issue. Feel free to reopen it if you face a similar issue.

I'm facing this issue, my pagination is inside a column.

@ayaanpathan Try not to put pagination inside a column. If you have to, then make sure it is wrapped with expanded.

Tried this but doesn't work. It still auto loads the data. It works properly in a screen where there is only the pagination. It doesn't work well with the other widgets, even after wrapping it with the Expanded

Had to re design my whole home page based on header and footer. It's working now. Thanks!!


UI Issues - Round three

Version - Master with latest reskin UI
I realize some of these issues are very minor or opinion based and may not be changed :-).

[x] Add Stack yml import - text is top aligned with button.  Should probably be centered so there isn't so much room between bottom of text and yml editbox.

[x] Main Stack screen and stack details page - Upgrading and Up to Date text are clickable and look like a button but don't do anything

[x] Main stack page - Add Service button is in different position depending if Stack has Upgrade option or not.

[x] Add Services - the add port and add service link + button is too close to the text below it.  When selected, the blue outline covers the top of the text

[x] Edit Service - Service link's + button too close to text below it

[x] Add & Edit Service Alias - lots of white space and a grid line separating Target's + Add Service and the Select a Service dropdown.

[x] Add External Service - no space between Target's + button and edit field.

[x] Edit External Service - no space between Target's + button and edit field.

[ ] Multiple screens - the green solid circle and hollow circle together looks like a bug.  I know it's to tell the difference between started-once and running.  But it's still confusing.

Feedback from 11/18 email:

[ ] Wish Add Service drop-down was closer to the stack name.  If you have a really wide screen, it's kind of hard to find.  Most likely due to where the old location was.  Tani comment - I'm not sure if it's the location or that it's white on a light grey background and doesn't stand out at all.

[ ] Not sure how I like the shadowing of boxes and not sure how it would look on a crappy screen/projection.

[ ] The rounded state icons look too round when everything else has been squared off

[ ] Access Control page, what does the v do?  Can it be removed?

@tfiduccia for the add service button, i did not move but but i changed the default styles of the button. the base font color is the dark blue now to bring a bit more focus to the button. on hover i change the text to white and background to dark blue so it does not look like its an inactive button like the old styles.

checkered circle: I'm sticking with that unless someone has a better idea.. it's halfway between the stopped and running icons.
shadowed wells: nobody else has argued, projector issues would be more about the contrast between the inner & outer backgrounds than the shadows.

I'm fine with leaving the shadowed wells.

Version - Master
Verified Fixed


Update Intervall and HostVM sleep state = failed updates.

I just noticed that if i sleep my HyperV host VM and resume, ouroboros will just note that it missed a update interval and waits to reach a new one.
Yet i would like, if after it missed the interval, it did "catch-up" and ensures a check is run after it detected the missed interval.

This is outside of the scope of the schedule module and is a super niche condition. I am not sure the functionality is warranted as this is aimed at "always on" environments. Ill leave it open for discussion for now though!


Portfolio: setup and mobile first

Understand how to parse a Figma design to create a UI.
Flexbox to place elements on the page.
Build a personal portfolio site.
Use images and backgrounds to enhance the look of the website.

I have completed the required and optional changes, and it's ready for your review.
Thanks,

I have already brought the changes, and all the required and optional changes are completed; you can review them again.


Installation errors

Hi,
I have been trying to figure out how to install bitsandbytes. Here is what I tried:

pip install bitsandbytes: bitsandbytes was not compiled with CUDA support
pip install bitsandbytes-cudaXXX: this version is deprecated, pls use pip install bitsandbytes
install from source (following README): nvcc version 12 is invalid (I cannot install other versions of nvcc because I'm not root)
conda install bitsandbytes  does not work either (tries to install cudatoolkit, which messes up the environment)

I'm running out of ideas.
Is there ANY way that is recommended and proved to work?
Thanks

Turns out the solution is to pip install bitsandbytes from a computer where the GPU has a compute capability > 7.5, a matching pytorch version and cuda installed (not as part of a conda environment but the good old way). Although this might seem trivial, when using clusters with a shared file system and various GPUs, this essentially mean that you need to have one environment per cuda + cudnn version, and run the right environment per GPU.
If someone found an easier way to work around this, please let me know