RUM-2878: Report fatal ANRs

What does this PR do?
This PR adds support of reporting fatal ANRs (ANR which resulted in the Application Not Responding dialog where user decided to close the application).
This functionality relies on the ApplicationExitInfo API (available since Android API 30), which can be read on the next application run. So in that sense it is similar to the approach we have to report NDK crashes: on the next application run we need to run this information and match it with the last RUM view event we know.
Since we cannot mark a particular ApplicationExitInfo as read in the system, we have to store the timestamp of the last ApplicationExitInfo we processed to avoid the possible delivery on the next application run.
When processing ApplicationExitInfo, we will read trace information attached to it and try to parse it (it is non-structured log).
This PR doesn't add the possibility to disable reporting of non-fatal (or unknown) ANRs, and it doesn't add error.category info, this will be done in next PRs.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1909 (b6f9e6c) into develop (f46eb76) will increase coverage by 0.01%.
Report is 6 commits behind head on develop.
The diff coverage is 85.33%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1909      +/-   ##
===========================================
+ Coverage    83.38%   83.38%   +0.01%
===========================================
  Files          477      478       +1
  Lines        16922    17135     +213
  Branches      2514     2560      +46
===========================================
+ Hits         14109    14288     +179
- Misses        2120     2145      +25
- Partials       693      702       +9

Files
Coverage Δ

.../kotlin/com/datadog/android/api/feature/Feature.kt
100.00% <ø> (ø)

...ain/kotlin/com/datadog/android/core/DatadogCore.kt
83.96% <100.00%> (+0.26%)
:arrow_up:

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
93.88% <100.00%> (ø)

...e/internal/net/info/CallbackNetworkInfoProvider.kt
95.24% <100.00%> (ø)

...id/core/internal/system/BuildSdkVersionProvider.kt
100.00% <100.00%> (ø)

...dog/android/ndk/internal/DatadogNdkCrashHandler.kt
82.14% <100.00%> (+0.79%)
:arrow_up:

...om/datadog/android/ndk/internal/NdkCrashHandler.kt
100.00% <ø> (ø)

...dog/android/ndk/internal/NdkCrashReportsFeature.kt
67.31% <100.00%> (ø)

...ndroid/rum/internal/DefaultAppStartTimeProvider.kt
100.00% <100.00%> (ø)

.../android/rum/internal/monitor/DatadogRumMonitor.kt
83.87% <100.00%> (-0.65%)
:arrow_down:

... and 10 more

... and 23 files with indirect coverage changes


comments options is already supported

https://cn.vuejs.org/v2/api/#comments
via https://github.com/vuejs/vue-loader/pull/897

I suggest you open a issue to vuejs.org repo directly.
Thanks.


Fix version parsing in build script

after rearranging the pom.xml in sorted order, version parsing in build script returns the wrong value for version
fix by parsing the single version tag that is directly under the root project xml node

alluxio-bot, merge this please


[docs] Demo UnstyledSelectMultiple crashes

[ ] I have searched for similar issues in this repository and believe that this is not a duplicate.

Steps to reproduce

Visit https://mui.com/base-ui/react-select/
??
demo UnstyledSelectMultiple crashes

Your environment

Tech
Version

Version
v6.1.6

Netlify deploy
https://672c37bdbbfdd90008bd8b2d--material-ui-docs.netlify.app

Browser
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Search keywords:

@Mynment19 would you mind providing a repro in a sandbox please? 🙏


[5.4] Add make:view Artisan command

Adds the ability to create Views from Artisan.
php artisan make:view {NameOfView}
Create Folder(s) and View:
php artisan make:view folder.to.thisView creates an thisView.blade.php in the  view folder/folder/to/ and create the folder view folder/folder/to/ if it doesn't exists.
Options:
Of course, combinations of options are possible.
php artisan make:view TestView creates an TestView.blade.php in the view folder
Content:
@extends('layouts.app')

@section('content')

@endsection

php artisan make:view TestView --parent=OtherParentLayout creates an TestView.blade.php in the view folder
Content:
@extends('OtherParentLayout')

@section('content')

@endsection

php artisan make:view TestView --section=OtherSection creates an TestView.blade.php in the view folder
@extends('layouts.app')

@section('OtherSection')

@endsection

php artisan make:view TestView --class=OtherClass creates an TestView.blade.php in the view folder
@extends('layouts.app')

@section('content')

@endsection

php artisan make:view TestView --class=false creates an TestView.blade.php in the view folder
@extends('layouts.app')

@section('content')

@endsection

I fixed your things (expect the one with the 3 lines) and create an new PR #14967
@GrahamCampbell

No need to send a new PR. You can push, or force push to the same branch and it'll show up.

@GrahamCampbell Okay should i reopend this or should we use the other? What do you want?


Sinatra::ConfigFile writes to stderr

The only thing it does is pad your log files and be slightly annoying. I propose removing the relevant line, or using a logger instead of writing directly to stderr.

@mkaito Thanks for your suggestion!
Would you interested in writing a patch for this?

Would removing the line be okay?

How about setting it to only during DEBUG?

I've added it to my todo list. Will look at it when I next have some time.


Trying to use this library with Sqlite.swift

Hi,
When I try to build this library with sqlite.swift
It fails on ci, with a bunch of errors on redefinition of sqlite3
fix error: redefinition of 'sqlite3_mutex_methods'
I have updated to the latest version of both op-sqlite and sqlite.swift
and added the following to my package.json
  "op-sqlite": {     "iosSqlite": false   }
Any ideas on how to fix this issue would be appreciated. I really want the benefits of c++ op-sqlite
and the cleanliness of sqlite.swift in my ios modules

They are both trying to compile and import sqlite, you will have to figure out yourself how to exclude one from the compilation process, but I don't think it will be possible since both need to include the headers during compilation.
You should better ask in StackOverflow, nothing wrong with this library.

Thanks for quick response,
will post my findings if I do

Fixed
Someone in sqlite.dart had similar issue and fixed it by installing sqlite.swift as a standalone version sqlite dart
I updated my podfile in a similar fashion and it seems to fix the issue
 pod 'SQLite.swift/standalone', '~> 0.15.3' pod 'sqlite3', :modular_headers => true
`

Nice!


Filters not functioning correctly

As an example, a 8,600 credit + R4 Fusion Core alert just triggered an unwanted notification; my credits filter is set to 50,000 and in Resources, R4 Fusion Core is unchecked. I'm actually not sure if I'm supposed to check or uncheck items I want notifications for. I'm assuming check, but the UI could be clearer.
Also, when I use Toggle All, it doesn't check all the boxes the first time, and after choosing OK and returning back to Resources again, many boxes are again unchecked.

What version of Android are you running? Do you have push notifications turned on, and do you have enable unknown rewards notification turned on?
I could only intermittently reproduce this issue before the alert expired.
Yes, you check items you wish to be notified about.

I'm having the same issue. I can set the credit limit to any number but I still get notifications for all credit rewards. As well, all fusion cores are unchecked in my filter list, yet I get notifications for EVERY fusion core alert.

Sorry, I'm not sure how I missed your reply here.
Android version 6.0.1. Push notifications enabled. Enable unknown reward notifications enabled.

Found the issue, as a result of the "fix" made in 6ee85c270c548c011005effd395b94281855d00f, all the digits are stripped from the rewards, which means the filters see R Fusion Core instead of R1 Fusion Core etc.
Since Android Studio updates have broken the current codebase, I've been working on a new version of the app, which means I can't push an app update in order to fix this at the moment. However, as a workaround I am adding R Fusion Core to the filters to stop fusion cores from triggering the unknown reward notification.

The RFusion Core workaround has been working for me. However, I just got a notification for Ice Storm + 12,200 credits with Ice Storm unchecked and Credits set to 100,000 now.


Donator Colour cleanup

Gray triggering me with that extra line

While I don't think this is specific to this PR, something I noticed was that the colors will abruptly change at the end of the gradient. For example:


[Feature] Smart JSON substitution enhancements

Summary
Casting empty values appropriately and automatically can have a high impact when defining JSON payloads.
Today, we need to write verbose ternary operations to cast them accordingly.
For example:
undefined is considered incorrect in JSON, so we should have it automatically substituted to null during Smart JSON substitution
A screenshot of how verbose it is for users:

@riodeuno @Nikhil-Nandagopal : The real behaviour indeed is to set it to null. When the API executes, smart substitution ensures that null values are set correctly and the JSON sent out is valid.
Do you mean that the client should display this ? @hetunandu : Is this possible in smart substitution to handle undefined as null values?

@trishaanand Yes. We should try to maintain the accuracy of the displayed evaluated values. If we're executing the API with the values substituted as null we should show this in the evaluated values display.


Create Post “testing-post”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
1e961d284ddd0e0d3e950bec5d09b036b09812e7

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/65405e45bd704c0008cf2dce


Renaming Functionally not working

Hello. I'm having troubles getting the renaming functionality to work. I used WSL to download the .git repository, and then ran the command, but I'm not sure what it is really supposed to look like.

I get this popping up when I try to run the file, and then when I ran the script to make all the sounds .wav files, they were not renamed. I'm probably just missing something obvious, but I was wondering if you had any ideas. Thank you.

Those filenames in WSL look correct to me.

wwizer_pyz = "F:\\BG3Sounds\\WWizer"

Just confirming, is this pointing to the wwizer.pyz file itself (just renamed), or is it pointing to a folder containing the .pyz and .db3? Because I just hacked together this script for myself, it's a bit janky and these two files actually need to be in the root of the repository instead. What I'm guessing happened was that the command it was running failed, but I didn't add any error handling so it just silently failed.

With that you're probably looking at a value like:
wwizer_pyz = "F:\\BG3Sounds\\wwizer.pyz"

Since the first step of the script seems to have completed successfully, you should also be able to set should_convert = False to save yourself some time (it'll still take a while to complete the rest of the steps).

It seems like you were right, and the wwiser was in the wrong place, but now I placed it in the same place and it seems like it silently failed as well, by your estimation. Here's a GIF of what it looked like
https://github.com/s-thom/bg3-sounds-converter/assets/12010125/f323d756-ee46-41bb-a803-8fe9f907a71e

The first step did definitely work, but I don't think anything is working after that step.

Yeah, it's definitely failing if it's going that fast...
I'm going to be annoyed if this is the case, but reading your comments I realised I've been calling it wwizer with a Z instead of wwiser with an S. I've even mispelled it in the code of the script, despite knowing that the audio system is called Wwise and not Wwize.
Anyway, what might've happened is that in my previous reply I said "oh yeah, set the value to "F:\\BG3Sounds\\wwizer.pyz"" (notice the Z), which is not the actual filename. Even though it's a simple misspelling, I hope that's what's causing the problem because if it's not I really have no idea.

Strange, I did just change it back to wwiser.pyz

But it seems like it has the same effect. It looks identical  to the previously sent GIF, unfortunately.
I'm assuming this looks correct?

Yeah, those look good. The script hasn't reached the point where those files are relevant yet, unfortunately. At this stage I don't really know what's going wrong, so I'm trying to think of what might cause it to fail.
Can you try commenting out or deleting lines 53 and 54, which should show the output of the wwiser commands. If it's working correctly, you should see something like

If wwizer_pyz isn't set to the right thing, then you'll probably see

If you get something else, then that's interesting and hopefully the logs have more to say.

On the bright side, it's probably the problem? But I'm not sure why it's not working. I downloaded Python, maybe it's the shortcut issue its saying?

Oh, that looks like the horrible alias that Microsoft includes to try get you to download Python through the store . It adds itself to the PATH so that typing python runs that, but it should be removed when installing Python.
I'd recommend disabling the shortcut in settings, like in the second half of the message, then opening a new terminal window and running python --version to make sure it's actually pointing to the Python you installed.

It indeed was an issue with Python! It took me so long to respond because it was working its magic. This is a great script, my friend. Thank you for the timely responses. I'm not really familiar with Python/WLS/Linux or coding of any sort, really, so I definitely appreciate your help!
Getting help from someone so knowledgeable and intelligent in these matters is wonderful. Thanks a ton, my man.
It is all renamed. A few things weren't renamed, but the vast majority of it was, and now it's definitely legible! This was much appreciated, I plan on using these sounds for FoundryVTT/D&D purposes.
Thank you, again.


update the pull request template to auto create milestone

Developer Experience Issue
Please describe your Developer Experience Issue.
A clear and concise description of what the problem is. Ex. I have an issue when [...]
after creating a PR it does not automatically creates a milestone for the PR
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
in the PR template kindly add closes or fixes to the related issue
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
n/a
Teachability, Documentation, Adoption, Migration Strategy
If you can, explain how users will be able to use this and possibly write out a version in the docs.
Maybe a screenshot or design?
it helps others to know the issue is currently in progress

I'm not sure what you mean about milestone, but adding fixes #prNumber in the pr description will link the issue and after the pr is merged, the issue will be automatically closed :v:

I'm not sure what you mean about milestone, but adding fixes #prNumber in the pr description will link the issue and after the pr is merged, the issue will be automatically closed v

yea that's it
was thinking it should the added to the PR template
what do you think?

I'm not sure what you mean about milestone, but adding fixes #prNumber in the pr description will link the issue and after the pr is merged, the issue will be automatically closed v

yea that's it was thinking it should the added to the PR template what do you think?

We can add the 'Fixes #xxx' to the template so that people know to add the issue number in that format. That should help make things more clear.

I'm not sure what you mean about milestone, but adding fixes #prNumber in the pr description will link the issue and after the pr is merged, the issue will be automatically closed v

yea that's it was thinking it should the added to the PR template what do you think?

We can add the 'Fixes #xxx' to the template so that people know to add the issue number in that format. That should help make things more clear.

should i open a PR for this?


Make a cmd/reportcard binary to be able to get our score localy

I like this idea, and would use it myself!
If you want it to happen soon, feel free to open a PR :smile:  Otherwise I'll probably implement it some time in the coming month when I have some free time.

related to https://github.com/gojp/goreportcard/issues/28 ?

@jfeltesse-mdsol Yes, very related to #28. In order to properly implement the feature in this ticket, we first have to refactor the code a bit, which should close #28. I started working on this a while back but never got round to finishing it. And I won't risk any further promises when I'll pick it up again :)

Any update on this? I would like to integrate the command for my local build process.

I can take this if no one has been working on this actively.

@patyogesh that would be great. If you open a PR I'm happy to review.


Personal Merge

Coverage increased (+0.5%) to 91.862% when pulling 025adbb59ecd65fc8d9f77ff12de5e4c64f2207a on CS2103AUG2017-W11-B2:master into 3325d475a54748de992d69fd5838af9df752be6b on ZY-Ang:master.


Clean up C pre-processor mess

Currently, large parts of the C source use pre-processor tricks for maintaining compatibility between versions 5 and 7 of PHP. This contains work for cleaning the dependencies up by introducing an extra level of C source, tailored to each supported version of PHP.

Code is done, tested against PHP 5.6.21 and 7.0.6.


story: add MaintenanceWindow construct

Story description
Users should be able to also manage their MaintenanceWindow "as code" from the CLI using a construct
Shortcut link
No response
Additional resources
No response

I'll add MaintenanceWindow construct into the Constructs Reference once I complete the PrivateLocation and Dashboard.


Added Dropdown Menu in Navbar

I noticed that there were quite a few sections in the navbar, and it didn't look good. To address this, I added a dropdown menu to the navbar, making it easier for users to find the sections they're looking for. And I also added Calender option in the navbar
#173 #169
@Mr-Sunglasses  Sir, please review this one.

Awesome work Thx @anshika0987

@Mr-Sunglasses Thanku sir


LSP exports too many symbols

When building LSP with SPM we hit the export symbol limits:
lld-link: error: too many exported symbols (max 65535)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1/14] Linking S:\SourceCache\Sourcekit-LSP\.build\x86_64-unknown-windows-msvc\debug\_SourceKitLSP.dll

rdar://103582935

@compnerd Is this still an issue?

@ahoppen I can double check, but I expect it to be so.  This is caused by the use of swift-syntax.  The underlying issue is SPM.  It does not have the concept of libraries, and the code is built incorrect.  The result of that is that we try to export all public symbols in swift-syntax, which exceeds the 65535 symbol limit.  We can build with CMake, but this is a problem that we need to resolve.

The underlying issue is SPM. It does not have the concept of libraries, and the code is built incorrect. The result of that is that we try to export all public symbols in swift-syntax, which exceeds the 65535 symbol limit. We can build with CMake, but this is a problem that we need to resolve.

Do we have a corresponding issue on the SwiftPM repository to track this?

ref https://github.com/apple/sourcekit-lsp/issues/982


Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'

8.8.1  gradle 3.0.0  Android Studio 3.0
Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'.
Possible causes for this unexpected error include:Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

I got this problem too. Have you solved it？

Use 9.0.0-SNAPSHOT for now.

@JakeWharton Thank you for your reply, I have solved this problem。wishing your life delectation

@liugongce how did you solve it? why I use <IP_ADDRESS>-SNAPSHOT, it could not find

@wangbin0802 you should add repository maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } in your root build file.

Just remove
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
and downgrade butterknife version to 8.4.0
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
Don't forget to remove
apply plugin: 'me.tatarka.retrolambda'
from app level build gradle.

@JakeWharton, we were using 9.0.0-SNAPSHOT in the project. Now after the APG version is changed to alpha version, we are no longer able to use the snapshot, thus we have to fallback to 8.4.0. But that also isn't working for us, because ButterKnife lacks to correctly bind views inside library modules.
Thus, what we are left is to attach snapshot sources itself and downgrade AGP version to the stable 3.0.1.
Can you advice a better option?

Solved by downgrading butterknife gradle plugin to 8.4.0 or 8.5.0.

@JakeWharton would it be possible to release 8.8.2 with this simple fix included or 9.0.0 coming soon?

I got the same issues too. Now I fallback to 8.4.0 , look forward to the new version to solve the problem

For me trying to use 9.0.0-SNAPSHOT results to this:
Error:Could not find com.github.javaparser:javaparser-core:3.5.14. Searched in the following locations:     file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.pom     file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.jar     https://maven.fabric.io/public/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.pom     https://maven.fabric.io/public/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.jar     https://oss.sonatype.org/content/repositories/snapshots/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.pom     https://oss.sonatype.org/content/repositories/snapshots/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.jar     https://mvnrepository.com/artifact/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.pom     https://mvnrepository.com/artifact/com/github/javaparser/javaparser-core/3.5.14/javaparser-core-3.5.14.jar Required by:     project :xxx > com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT
Eventhough JavaParser-Core should be there https://mvnrepository.com/artifact/com.github.javaparser/javaparser-core/3.5.14.
My library module build.gradle:
`buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url "https://mvnrepository.com/artifact" }
}
dependencies {
    classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT'
}

}
apply plugin: 'com.android.library'
apply plugin: 'com.jakewharton.butterknife'
repositories {
maven { url "https://maven.google.com" }
maven { url "https://mvnrepository.com/artifact" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}`
Any ideas why this is happening?

@batati Not sure but you can try to add mavenCentral() in your repositories.

@glureau-betclic Tried adding it to all different repositories, unfortunately it didn't help.

emmmm......like this
//buid.gradle Project
buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.2'
    classpath "com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT"
}

}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}
//buid.gradle app
dependencies{
implementation "com.jakewharton:butterknife:9.0.0-SNAPSHOT"
annotationProcessor"com.jakewharton:butterknife-compiler:9.0.0-SNAPSHOT"
}
It's OK.

I am having this problem , need help ASAP!
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'
//External Code Starts

buildscript {
    repositories {
        jcenter()
        google() // Gradle 4.0+
        maven { url "https://maven.google.com" } // Gradle < 4.0
        mavenCentral()
        maven { name 'Sonatype SNAPSHOTs'; url 'https://oss.sonatype.org/content/repositories/snapshots/' }
    }

    dependencies {
        classpath "com.android.tools.build:gradle:${android_plugin_version}"
       /* // TODO Upgrade to 9.0.0 when released and use ${butterknife_version}
        // Needed because 8.8.1 plugin is not compatible with Android Plugin 3.x:
        // https://github.com/JakeWharton/butterknife/issues/1130
       */ classpath "com.jakewharton:butterknife-gradle-plugin:9.0.0-20171223.061039-23"
    }
}

// External Code Ends

android {
    compileSdkVersion 26
    buildToolsVersion '27.0.3'
    defaultConfig {
        applicationId "com.qihancloud.librarydemo"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 20170413
        versionName "1.1.7"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'

    implementation "com.jakewharton:butterknife:${butterknife_version}"
    annotationProcessor "com.jakewharton:butterknife-compiler:${butterknife_version}"

    api(name: 'QihanOpenSDK_2.0.0', ext: 'aar')

}

repositories {
    flatDir {
        dirs 'libs'
    }
    jcenter()
    google()
}

Now , basically what I need to do is that I need to include it in my gradle file , but it always shows that

Could not get unknown property 'android_plugin_version' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Also for the code below
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'

//External Code Starts

buildscript {
    repositories {
        google() // Gradle 4.0+
        maven { url "https://maven.google.com" } // Gradle < 4.0
        mavenCentral()
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
    }

    dependencies {
        classpath "com.android.tools.build:gradle:3.1.3"
        classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
    }
}

// External Code Ends

android {
    compileSdkVersion 26
    buildToolsVersion '27.0.3'
    defaultConfig {
        applicationId "com.qihancloud.librarydemo"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 20170413
        versionName "1.1.7"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'

    implementation 'com.jakewharton:butterknife:8.4.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'

    api(name: 'QihanOpenSDK_2.0.0', ext: 'aar')

}

repositories {
    flatDir {
        dirs 'libs'
    }
    google()
}

I get the Error Failed to resolve: com.jakewharton:butterknife:8.4.0  .

@Skali7 top-level
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
...
        //for butterknife 9 snapshot
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
...
    }

    dependencies {
...
        classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-SNAPSHOT'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
...
    }
}

allprojects {
    repositories {
    ...
    }
}

...
}

module level

Thanks @SaikCaskey , I had resolved the problem just after posting this message and I forgot to close this Issue , will remember it from next time onwards , btw I did the same thing as you mentioned in your post.

Just remove
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
and downgrade butterknife version to 8.4.0
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
Don't forget to remove
apply plugin: 'me.tatarka.retrolambda'
from app level build gradle.

Thank you. it works like a champ (y)

LOL!!!
On Sun, Sep 23, 2018, 9:00 PM leo<EMAIL_ADDRESS>wrote:

Just remove
classpath 'me.tatarka:gradle-retrolambda:3.7.0'
and downgrade butterknife version to 8.4.0
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
Don't forget to remove
apply plugin: 'me.tatarka.retrolambda'
from app level build gradle.
Thank you. it works like a champ (y)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1130#issuecomment-423872682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlwojBBu0a3fsSFBUm2Q7NVeM8rOtgGsks5ueFjjgaJpZM4QMZeV
.

For anyone wanting to use this in a production app using Android Gradle Plugin 3.x with a no-SNAPSHOT policy: there's no need to use the same version of butterknife/butterknife-compiler and butterknife-plugin:
android_plugin_version=3.0.1
butterknife_version=8.8.1

buildscript {
    repositories {
        jcenter()
        google()
        // TODO remove after butterknife 9 graduates to stable
        maven { name 'Sonatype SNAPSHOTs'; url 'https://oss.sonatype.org/content/repositories/snapshots/' }
    }
    dependencies {
        classpath "com.android.tools.build:gradle:${android_plugin_version}"
        // TODO Upgrade to 9.0.0 when released and use ${butterknife_version}
        // Needed because 8.8.1 plugin is not compatible with Android Plugin 3.x:
        // https://github.com/JakeWharton/butterknife/issues/1130
        classpath "com.jakewharton:butterknife-gradle-plugin:9.0.0-20171223.061039-23"
    }
}

repositories {
    jcenter()
    google()
    // notice there's no need for Sonatype here, so no SNAPSHOTs can leak into the app
}

dependencies {
    implementation "com.jakewharton:butterknife:${butterknife_version}"
    annotationProcessor "com.jakewharton:butterknife-compiler:${butterknife_version}"
}

9.0.0-20171223.061039-23 is only a single commit ahead of 8.8.1:
https://github.com/JakeWharton/butterknife/commits/master/butterknife-gradle-plugin
8.8.1 was released in 2017 August.

Would anyone happen to have a 9.0.0 snapshot that doesn't force targeting API 28? I'm unable to support API 28 right now for a current project but would like to keep using butterknife.

For anyone wanting to use this in a production app using Android Gradle Plugin 3.x with a no-SNAPSHOT policy: there's no need to use the same version of butterknife/butterknife-compiler and butterknife-plugin:
android_plugin_version=3.0.1
butterknife_version=8.8.1

buildscript {
    repositories {
        jcenter()
        google()
        // TODO remove after butterknife 9 graduates to stable
        maven { name 'Sonatype SNAPSHOTs'; url 'https://oss.sonatype.org/content/repositories/snapshots/' }
    }
    dependencies {
        classpath "com.android.tools.build:gradle:${android_plugin_version}"
        // TODO Upgrade to 9.0.0 when released and use ${butterknife_version}
        // Needed because 8.8.1 plugin is not compatible with Android Plugin 3.x:
        // https://github.com/JakeWharton/butterknife/issues/1130
        classpath "com.jakewharton:butterknife-gradle-plugin:9.0.0-20171223.061039-23"
    }
}

repositories {
    jcenter()
    google()
    // notice there's no need for Sonatype here, so no SNAPSHOTs can leak into the app
}

dependencies {
    implementation "com.jakewharton:butterknife:${butterknife_version}"
    annotationProcessor "com.jakewharton:butterknife-compiler:${butterknife_version}"
}

9.0.0-20171223.061039-23 is only a single commit ahead of 8.8.1:
https://github.com/JakeWharton/butterknife/commits/master/butterknife-gradle-plugin
8.8.1 was released in 2017 August.

Would anyone happen to have a 9.0.0 snapshot that doesn't force targeting API 28? I'm unable to support API 28 right now for a current project but would like to keep using butterknife.

I haven't tried the snapshot you're using but do you mean for upgrade of the build tools? You should just use the latest.
I was using this before / am using on machines without sdk28, so I don't think it's anything special about Butterknife, unless something has changed here that I haven't experienced yet

If it helps anyone. I have solved this problem by downgrading butterknife gradle plugin to 8.4.0

Thank you so much ,i have solved this problem by your method.
And we need to remove apply plugin: 'com.jakewharton.butterknife' in gradle

@rdugue here's how we use it: butterknife-working-snapshot.zip
@JakeWharton I really think there should be a 8.8.2 release based on a commit from 2018 Q1


Add ocean meshes for painting tests

Victor,
Would it be possible to use Bezier to generate paths for a painting application of complicated 3D surface?
Regards,

@Nandite please use these meshes for your tests and notify Levi-Armstrong when your pull request is merged.

We do not manage holes, but this feature can be added.
This won't work on a 3D closed surface, but separating into surfaces should work.
The zigzag method can be changed, it is programmed in the C++ class
The trajectories between lines has not been generated but that is something you can do
The approach and exit trajectories are not generated but it's easy to do

@Levi-Armstrong take a look at the previous messages and the screenshots/video!

Which IK plugin are you using in the video? IKFast or something else?

Yes we are using IKFast from the default M20-iA MoveIt package

@VictorLamoine,
Great! This is exactly what I was looking for. Thank you for the example.

Do you think this is something you can use for your project?
If you need any guidance or information we can organize a call to talk about this!
RoboDK does pretty much the same thing (not as automated though): https://www.youtube.com/watch?v=KCUsU9NITCo

Do you think this is something you can use for your project?

I do think it can be used on a variate of project where we need to generate paths for non-planar surfaces. It may be a few weeks till we get to where we need to implement it and we we do I we can organize a call.

RoboDK does pretty much the same thing (not as automated though)

The last time I checked RoboDK still relied on a CAM software like MasterCAM to generate the paths which it then imports. It is very possible and the video suggest this, that they recently made improvements where it can now generate its own paths but not sure.


hipDeviceReset(): make sure to reinitialize the printf buffer in hcc RT

re-initialize the printf buffer in HCC RT after resetting the am memory tracker
this will fix several HIP directed test failures observed with a recent HCC compiler
this PR depends on  https://github.com/RadeonOpenCompute/hcc/pull/508

All the previous failures due to the printf enablement in HCC have been fixed.
The only HIP directed test that is failing is hip_ffs but I don't think it's caused by my changes.

This is fine for now but for future HIP/HCC features let's create and use a flag-based feature mechanism rather than the version checks.  The basic idea would be that hcc provides an include file (hcc_features.h) with a set of defined (#define HCC_HAS_ INIT_PRINT_BUFFER).  This will provide more robust feature query in the face of cherry-picks and merges.
Also - eventually reset will be performed at KFD level and remove all HCC structures.  So we need to have an HCC architecture that supports reset.  I expect that will grow to include more structures than just the print buffer.


Issue with Load InstantID Model node

The correct file path for the Ip-adapter.bin is comfyui/models/instantid, but in comfyui the node says null and undefined. I'm not using the portable version but I see someone else that is and is experiencing same issue where the model isnt being detected but is in the correct location.
The error I get is
" Prompt outputs failed validation
InstantIDModelLoader:
- Required input is missing: instantid_file"

https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2Flunq9a6wu2ic1.png%3Fwidth%3D1321%26format%3Dpng%26auto%3Dwebp%26s%3Dda0d042ff2a1bfd1f73baae08598c22a30eece59

fixed by adding "instantid" and the file path to the extra_models.yaml

instantID: /home/hk/ComfyUI/custom_nodes/ComfyUI_InstantID/checkpoints/。是这样加吗？

Hello, I have the same problem but I've not understood how you fixed it. I'm a newbie so plsCould you explain me? I tried to edit extra_model but I don't know tha path as I can't find it on A1111 directory too...

Hello, I'm a newbie and I can't understand how you fix it. In extra_model there is already the path to controlnet models but still I can't figured it out how to fix...
Thanks

hello , how to fix it?
thanks.

instantid

Interesting.
But did you have to add insightface aswell as a line?

find extensions/sd-webui-comfyui/ComfyUI/folder_paths.py

then create floder ComfyUI\models\instantid\
add model to ComfyUI\models\instantid\


Web site / documentation: Should tell what Flask is

I went to the web site to find out what Flask is.  That question is never directly answered, that I can find.
It might be helpful if the front page of the web site and/or the Introduction page in the documentation had 1-3 sentence statement of what the heck Flask is.  What's it for?
At present, the documentation on the site gives no indication of why one should read more, of what Flask can do.
Reading through the first bits of the docs, I get the feeling that maybe Flask has something to with writing web services in Python.

Doesn't "Flask is a lightweight WSGI web application framework." together with the quickstart example pretty much explain what Flask does? :)

That sentence probably makes perfect sense to someone who already knows all about Flask.  To someone who doesn't - actually no, it really doesn't tell me what it does or why I might want to use it.  Flask does something for writing applications.  Python is for writing applications. So no, that really doesn't tell me anything about what Flask does beyond what Python does.
I bet that if you wrote a sentence or two about what Flask does instead of a dictionary definition of what it is that might be much more informative.

Unfortunately, we're not going to be able to write descriptions of this or any other thing that is 100% clear to 100% of people. This is not something I can devote more effort towards.


Refactor GitHubEntityFactory class

Currently this class has many hardcoded dependencies and duplicate code. We should clean it up

We don't have this class anymore


Delete files from docs folder

The docs folder has been emptied. From now on, the docs folder will be used for Vincoin documentation. Everything that has to be documented should go there.

Let's merge with current changes, and continue with further removing in the follow-up PRs.


Bump MSRV to Rust 1.56.1

As we are doing in other crates bump the MSRV to Rust v1.56.1

No sweat, I usually have time in the afternoon for simple changes that don't require too much brain power. Happy to help.


idrac 6

Summary

Steps to reproduce

Expected results
Actual results
Triaging info
Java version:

What is your operating system and platform?

How did you install Java?

Did it work before?

Did you test with other Java versions?

It's unclear what this is about.


chore(sqla): assert query does not exceed 1 statement

SUMMARY
Raise understandable error if query consists of multiple statements.
AFTER

BEFORE

TEST PLAN
CI + new test
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11236 into master will decrease coverage by 3.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11236      +/-   ##
==========================================
- Coverage   65.51%   62.40%   -3.12%
==========================================
  Files         831      438     -393
  Lines       39303    14681   -24622
  Branches     3592     3592
==========================================
- Hits        25751     9162   -16589
+ Misses      13443     5338    -8105
- Partials      109      181      +72

Flag
Coverage Δ

#cypress
?

#javascript
62.40% <ø> (ø)

#python
?

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

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

@villebro It looks like the error Virtual dataset query must be read-only is sometimes throwing when a query is actually readonly. Someone reported a query that included a WITH statement as having this error. The query is just a select query so I'm guessing that the WITH is getting misinterpreted as not read-only (but I haven't looked into it too much).
The query structure is something like
WITH data AS (
select column_1 from db.table_name
),
SELECT sum(column_1) AS total
FROM data


hourly sensor unavailable

after update to latest version
error in log:
2020-05-28 00:22:45 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up smart_irrigation platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 446, in _async_add_entity
    entity.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state
    self._async_write_ha_state()  # type: ignore
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
    state = self.state
  File "/config/custom_components/smart_irrigation/sensor.py", line 225, in state
    self._state = self.update_state()
  File "/config/custom_components/smart_irrigation/sensor.py", line 202, in update_state
    self.precipitation = self.get_precipitation(data)
  File "/config/custom_components/smart_irrigation/sensor.py", line 285, in get_precipitation
    if retval.count(".") > 1:
AttributeError: 'float' object has no attribute 'count'

sensor:

huh. weird.

should be fixed, let me know.

ok now .. but new errors in log:
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '3.167560368840274 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '0.5324396311597264 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '3.7 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '3.7 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '0.0 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '0 %'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '0.0 min'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '13.44 %'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '-0.48380635973597974 mm'
2020-05-28 14:21:42 ERROR (MainThread) [custom_components.smart_irrigation.sensor] could not convert string to float: '1.62 min'

and bucked been reset to 0 after upgrade :)

Did you remove and add the intergration after installing latest version? I added mine today and working without these issues..

Duplicate of #19: this happels only during setup, and changing options for the integration. Looks like when setup or changes the sensor doesn't have values to work with.

https://github.com/jeroenterheerdt/HAsmartirrigation/releases/tag/v0.0.18


The flow propagation

Hi , thanks for great work! The flow propagation mentioned in paper seems to be missing in the released code, it doesn't matter?

Our repository contains the  flow-guided content propagation. Please refer https://github.com/hitachinsk/FGT/blob/master/tool/get_flowNN_gradient.py for more details.

The flow-guided content propagation is just for inference. In this why, the input setting is different for training and inference?

Yes, the flow-guided content propagation is just for inference, and there is slight difference between the training and the inference procedure.


Smoke test failure in CSS for 1.36.1

Smoke test failure under Windows testing 1.36.1
** Timeout!
Error: Active element not found. Current active element is 'HTML > BODY.vs-dark.vscode-theme-defaults-themes-dark_plus-json.file-icons-enabled.windows'. Looking for  .monaco-editor[data-uri$="settings.json"] textarea
    at m.<anonymous> (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:2208:775)
    at Generator.next (<anonymous>)
    at file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:35:460
    at new Promise (<anonymous>)
    at n (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:35:237)
    at m.isActiveElement (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:2208:467)
    at call (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:1386:581)
    at C.onPromise (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:316:346)
    at C.onRawMessage (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:315:994)
    at C.protocolListener.protocol.onMessage.e (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:315:531)
    at d.fire (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:79:760)
    at EventEmitter.n (file:///C:/apps/VSCode/1.36.1/resources/app/out/vs/workbench/workbench.main.js:77:206)
    at EventEmitter.emit (events.js:182:13)
      1) verifies that warning becomes an error once setting changed

I can successfully run the smoketest on 1.38on Windows


Implement deletion of an item.

where/how do you call this method ?

I've implemented the changes in this request manually, and would recommend the following method in your delegate to actually handle the deletion of the asset:
`- (void)removeItemAtIndex:(NSInteger)index {
MHGalleryItem *item = [self itemForIndex:index];
NSURL *assetURL = [NSURL URLWithString:item.URLString];
if (assetURL == nil)
{
    return;
}

PHFetchResult *result = [PHAsset fetchAssetsWithALAssetURLs:@[assetURL] options:nil];
if (result.count > 0) {
    PHAsset *phAsset = result.firstObject;
    if ((phAsset != nil) && ([phAsset canPerformEditOperation:PHAssetEditOperationDelete])) {
        [[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
            [PHAssetChangeRequest deleteAssets:@[phAsset]];
        }
          completionHandler:^(BOOL success, NSError *error){
              if ((!success) && (error != nil)){
                  NSLog(@"Error deleting asset: %@", [error description]);
              }
          }];
    }
}

}`

@JesseScott My local implementation of removeItemAtIndex:(NSInteger)index does not deal with any PHAsset but with some model specific to my application.
I implemented this as a delegate callback so that people can handle the removal no matter what the objects they are using.
The datasource deletion is just here to maintain the data presented by the controller (IE the galleryItems array in this case).


NTR: positive regulation of 7-methylguanosine mRNA capping

Please provide as much information as you can:

Suggested term label:

positive regulation of 7-methylguanosine mRNA capping

Definition (free text)

standard definition

Reference, in format PMID:#######

https://www.pombase.org/reference/PMID:19328067

Gene product name and ID to be annotated to this term

Parent term(s)

https://www.pombase.org/gene/SPBC19F8.07

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Do you have a pathway for this? or it is a regulation of activity?

The Mcs6 complex phosphorylates and primes the Pol II CTD (top), which facilitates recruitment of the Cdk9/Pcm1 complex to phosphorylate the CTD and Spt5, complete the 5′-cap structure, and relieve the Spt5-induced pause to elongation (bottom).

This question comes up a lot @Antonialock  asked once.
(whether the TFIIH kinase/cyclin is regulation). I feel that it is because it is at the end of some signalling pathway (probably TOR usually). But, I'm also happy to annotate directly to the process for now. I just don't know what the rules are in these cases. It seems that nobody else does either, judging by the inferences.
My feeling is that all of the CTD kinases are integrating upstream signals to regulate the transcriptional events (sometimes generally and sometimes gene specifically)

Discussion with @ValWood
For now that term is useful - even if we dont know which pathway mcs6 is part of, but that allow to capture the effect of mcs6 on capping.


fix: :arrow_up: Upgrade version of audio wave forms 1.2.0

Description

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[ ] No, this PR is not a breaking change.

Related Issues

Can we please get a new pub.dev release? This is breaking the build


LUCENE-10382: Support filtering in KnnVectorQuery

This PR adds support for a query filter in KnnVectorQuery. First, we gather the
query results for each leaf as a bit set. Then the HNSW search skips over the
non-matching documents (using the same approach as for live docs). To prevent
HNSW search from visiting too many documents when the filter is very selective,
we short-circuit if HNSW has already visited more than the number of documents
that match the filter, and execute an exact search instead. This bounds the
number of visited documents at roughly 2x the cost of just running the exact
filter, while in most cases HNSW completes successfully and does a lot better.
Co-authored-by: Joel Bernstein<EMAIL_ADDRESS>

I tried out the around stopping the HNSW search early if it visits too many docs. To test, I modified KnnGraphTester to create acceptDocs uniformly at random with a certain selectivity, then measured recall and QPS. Here are the results on glove-100-angular (~1.2 million docs) with a filter selectivity 0.01:
Baseline
k        Recall    VisitedDocs     QPS

10        0.774       15957     232.083
50        0.930       63429      58.994
80        0.958       95175      42.470
100       0.967      118891      35.203
500       0.997     1176237       8.136
800       0.999     1183514       5.571

PR
k        Recall    VisitedDocs     QPS
10        1.000	       22908     190.286
50        1.000	       23607     152.224
80        1.000	       23608     148.036
100       1.000	       23608     145.381
500       1.000	       23608     138.903
800       1.000	       23608     137.882

Since the filter is so selective, HNSW always visits more than 1% of the docs. The adaptive logic in the PR decides to stop the search and switch to an exact search, which bounds the visited docs at 2%. For k=10 this makes the QPS a little worse, but overall prevents QPS from degrading (with the side benefit of perfect recall). I also tested with less restrictive filters, and in these cases the fallback just doesn't kick in, so the QPS remains the same as before.
Overall I like this approach because it doesn't require us to fiddle with thresholds or expose new parameters. It could also help make HNSW more robust in "pathological" cases where even when the filter is not that selective, all the nearest vectors to a query happen to be filtered away.

Thanks for reviewing. I'll work on another iteration and ping you when it's out of "draft" status. One clarification first...

+1 to expose searchExact and allow the Query to call it if it is selective.

I was thinking we would implement exact search within KnnVectorQuery itself, instead of exposing it through LeafReader. I think we already have all the pieces we need through the VectorValues API. What do you think?

I was thinking we would implement exact search within KnnVectorQuery itself, instead of exposing it through LeafReader. I think we already have all the pieces we need through the VectorValues API. What do you think?

Ah I misunderstood. I suppose then in theory the logic can work with any Vector encoding, which would be good, rather than having to reproduce the same brute force approach in each of them

@msokolov @jpountz @mayya-sharipova this is ready for another look. Notable changes:

When computing the filter results, only include documents that actually contain a vector. This gives an accurate estimate of the filter selectivity. To support this I introduced KnnVectorFieldExistsQuery, which seemed useful in its own right.
I stopped using CollectionTerminationException to indicate that the search hit the visited limit. Instead, we pass the information in TopDocs through TotalHits. The value is always the number of visited docs, but the relation is GREATER_THAN_OR_EQUAL_TO iff the search stopped early. This is kind of arbitrary but felt natural -- I'm very open to suggestions here! It's a fairly low-level API and it's marked experimental, so there is also room to refine it later. This update does not change the output of KnnVectorQuery.

Thanks for the review! I'll wait for the others to take a look too. I'm working on adding kNN with filtering to luceneutil.


Apache fix

Add some explanation for when getting 404 error on Apache Server

I am not going to merge this one.
1- the part about pointing the browser to domain.tld/index.php is totally wrong: this is not the way you are supposed to configure/use the site.
2- Apache webserver configuration is handled out of the box with the use of the .htaccess in the public folder https://github.com/hedii/php-crawler/blob/master/public/.htaccess
3- You are putting paths that are related to your system, not anyone system.


Issue #535: Implements the ClaimInvite screen that is part of the sig…

…n up flow.
🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Enter Issue number here
✅ Checklist

[ ] Github issue details are up to date for people to QA.
[ ] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Technical explanations to help your peers review your work - including environments, credentials, etc.
🙈 Screenshots
For all UI changes

description 1
description 2

img1
img2

👯♀ Paired with
@github-handle or "nobody" if you did not pair.

build is broken. But looks good.
@RaulUrtecho  yeah, its cool to use dependency injection.

Please make sure to make those few changes we talked bout over whatsapp and this is good to go.


Impossible to specify both name and input_name

Discussed in https://github.com/async-graphql/async-graphql/discussions/985

Originally posted by dspicher July 14, 2022
I am trying to derive both SimpleObject and InputObject on a struct, and would like to rename both objects to something different than the struct name.
Looking at the source, this seems impossible, as name is given preference over input_name for the InputObject, leading to a name collision. I would have expected this to be the other way around.
Do you consider this a bug or a feature? :)

Fixed in v5.0.0

Great stuff, thanks @sunli829 for the rapid fix!


Support for reactor-ipc concepts

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

@kadyana Thank you for signing the Contributor License Agreement!

This is pure joy, pure pure joy, good to go we should iterate on it directly from here. Merge when you want


Unable to set port for --web option

I'm trying to expose my web healthcheck on a port other than the default (9615). However, I can't seem to get pm2 to listen on anything other than the default. I've tried the following command:
CMD ["pm2-docker", "start", "pm2.json", "--web", "port"]
Where "port" the actual port number I'm trying to use. Is there something that I'm missing? I've tried the "--web" option in various positions without success.
Thanks for your help!

Hi,
I'm using pm2-runtime and not pm2-docker.
CMD ["pm2-runtime", "ecosystem.config.js", "--web"]

ref: https://pm2.io/doc/en/runtime/integration/docker/#expose-health-endpoint
Would you tried it?


Rule chaining not working when data and rules graphs are separated

When passing data graph and query graph as two arguments, rule chaining doe not work. The example from n3 spec works fine but when passed to the reasoner as two arguments, only the first rule produces derivations. The same when inputs are RDF/JS quads
const { n3reasoner } = require('eyereasoner')

await n3reasoner(`
    @prefix foaf: <http://xmlns.com/foaf/0.1/> .
    @prefix : <http://example.org/#>.

    :spiderman a :WebSlinger .
    :44th :traffic :heavy .
`, `
    @prefix foaf: <http://xmlns.com/foaf/0.1/> .
    @prefix : <http://example.org/#>.

    { ?slinger a :WebSlinger } => { ?slinger :locomotion :flying } .

    { ?heli a :Helicopter } => { ?heli :locomotion :flying  } .

    { ?flyer :locomotion :flying . ?street :traffic :heavy }
      =>  { ?street :suitable-observer ?flyer } .
`)

https://runkit.com/embed/nqr3titrn3qk

I think this is expected behavior - the second query argument is passed to eye with the --query CLI flag. Data given with this flag defines individual queries to run over the data after derivations have been produced. I believe that these queries are evaluated once individually and then the union of their results is taken.
To have rules chained they must be included in the data.
cc @josd

Yes that is right @jeswr


Mouse-related Issue in egui\examples\custom_window_frame

Title: Mouse-related Issue in egui\examples\custom_window_frame
@emilk
Dear emilk,
In the egui\examples\custom_window_frame,
there is an issue with moving the window using the mouse.
Therefore, I made the following modification to line 109 in egui\examples\custom_window_frame\src\main.rs:
    if title_bar_response.double_clicked() {
        let is_maximized = ui.input(|i| i.viewport().maximized.unwrap_or(false));
        ui.ctx()
            .send_viewport_cmd(ViewportCommand::Maximized(!is_maximized));

    }
//    } else if title_bar_response.drag_started() {
    if title_bar_response.is_pointer_button_down_on() {
        ui.ctx().send_viewport_cmd(ViewportCommand::StartDrag);
    }

With this modification, the window moves correctly initially.
Even when changing to "maximized" by selecting the icon without double-clicking and returning to the original size,
it moves without any issues.
However, if the screen is changed to "maximized" by double-clicking and then returned to the original size,
attempting to move it again does not work at all.
Thank you,
emilk.
egui version: egui v0.25.0
OS: Windows 10
prev issue:
#3669

When maximized by pressing the button on the menu and then returning to the original size,
the title can be dragged by clicking it.
However, when minimized by pressing the button on the menu and then returning to the original size,
the title cannot be dragged by clicking it.
It seems to be related to checking and saving the minimized or maximized state.

I don't have a Windows computer, so I would appreciate if you could investigate and make a PR!

@emilk
Dear emilk.
If the double_clicked() part of the 102nd line is all commented out and executed,
the title can be clicked and dragged normally.
However, after double-clicking the title for no reason, dragging does not work.
The title_bar_response.is_pointer_button_down_on() function returns true normally.
This suggests that there is a problem
with the ui.ctx().send_viewport_cmd(ViewportCommand::StartDrag) function.
/*
    // Interact with the title bar (drag to move window):
    if title_bar_response.double_clicked() {
        let is_maximized = ui.input(|i| i.viewport().maximized.unwrap_or(false));
        ui.ctx()
            .send_viewport_cmd(ViewportCommand::Maximized(!is_maximized));
    }
//    } else if title_bar_response.drag_started() {
*/
    if title_bar_response.is_pointer_button_down_on() {
        ui.ctx().send_viewport_cmd(ViewportCommand::StartDrag);
    }

The above problem is different from the bug that dragging does not work
because it is still recognized as minimized after minimizing
using the ui.ctx().send_viewport_cmd() function.
Thanks, emilk.


./plot/plot_cer.sh is missing!

plot_cer.sh file is not created after make training so how to extract plot_cer.csv file from TESSTRAIN.LOG

This seems to be a documentation error/migration issue in https://github.com/tesseract-ocr/tesstrain/commit/17dcaad64c5e1aa07c16d04fd5c1dded99f6d1ec. Have you tried using the plot/plot_cer.py script, which plot_cer.sh has just been a wrapper for?

This seems to be a documentation error/migration issue in 17dcaad. Have you tried using the plot/plot_cer.py script, which plot_cer.sh has just been a wrapper for?

I have checked it plot_cer.py but it is just a plot file that get data from csv file, so basically plot_cer.sh extract data from log file into csv file.


Re-wrote the parser for serialized type names.

Fix for issue #47
The parser is based on the equivalent parser used in CoreCLR (see https://github.com/dotnet/coreclr/blob/master/src/vm/typeparse.cpp)

Merged.


Not getting any reponse from onFriendRequest()

Description of the problem
Not getting any reponse from onFriendRequest().
Code I tried
def onFriendRequest(self, from_id, msg, **kwargs):
        user = self.fetchUserInfo(from_id)[from_id]
        content = "Friend request from {}".format(user.name)
        print(content)

Is it a bug or Am I doing it wrong?

Hmm, I haven't been able to test this, so it's very probable that this doesn't work since #494. Try enabling debug output like this, and give me the data (after you've removed sensitive information).
# before your application code
import logging
logging.basicConfig(level=logging.DEBUG)

Just got a friend to help me test it, and I've fixed the issue in 45303005b8b635fd27374fa0ba3600d7a1b7c3bb, and released v1.9.4. Thanks for the report 👍


[Bug]: ElementHandle.dragAndDrop gets stuck forever

Bug expectation
Expection: When ElementHandle.dragAndDrop(AnotherElementHandle); is called, Element should be dropped to AnotherElement
Actual behavior: When ElementHandle.dragAndDrop(AnotherElementHandle); is called, the script always gets stuck at that step. In the code example, you will observe Before drag and drop getting logged in console, but not After drag and drop.
Bug behavior

[ ] Flaky
[ ] PDF

Minimal, reproducible example
const puppeteer = require('puppeteer');

(async () => {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    await page.setViewport({ width: 1366, height: 768 });

    await page.goto('https://www.javascripttutorial.net/sample/webapis/drag-n-drop-basics/');

    await page.waitForSelector('.item');
    const draggable = await page.$('.item')
    const droppable = await page.$('.box:nth-of-type(2)');

    // This is where the actual issue is
    console.log('Before drag and drop');
    await draggable.dragAndDrop(droppable);
    console.log('After drag and drop');

    await page.screenshot({ path: './image.jpg', type: 'jpeg' });
    await browser.close();
})();

Error string
no error
Puppeteer configuration
No response
Puppeteer version
20.2.1
Node version
16.19.1
Package manager
npm
Package manager version
8.19.3
Operating system
macOS

Even the automated GitHub Action above failed with the error The action has timed out.

You will need to set the await page.setDragInterception(true); so the drag'n'drop works as expected.
Will keep this open as at least we should fail after a timeout on our end.


Verify local blobs

From @lukehinds
Currently sigstore-rs verifies a cosign signature stashed in an OCI registy, but we might also want to attest blobs locally (exist in rekor and signed with an ODIC account or pub key that we provide). We would likely want a client to perform this, but we expose the ABI in sigstore-rs to allow them to so so

I have a PR for this for "cosign" but be aware that there's currently a bug in Rekor: https://github.com/sigstore/rekor/issues/582 so you can't actually verify the signature from Rekor. You will need to keep the signature locally.

I have a PR for this for "cosign" but be aware that there's currently a bug in Rekor: sigstore/rekor#582 so you can't actually verify the signature from Rekor. You will need to keep the signature locally.

Thanks for pointing that out! Looks like the issue is now resolved.

Yep, just got merged. Not 100% sure when it'll be released though.


Automatic Face Detector

Just give any image and it will detect all the faces in the image.
Created using OpenCV - Python.
Contributing towards Hacktoberfest2020.

@BitVaibhav irelevant , check the README.md again


Automatic quotation mark closing not working correctly.

When typing in a Jupyter notebook running an IHaskell kernel, typing the double quote character (") behaves unintuitively.
For example:
In a blank cell (although approximately the same thing happens regardless of the surrounding text), typing the first double quote results in
"|

(where the pipe character is the cursor position)
Typing a second double quote
""|"

(That's three double quote characters.  Syntax highlighting makes the first two dark red and the third green.)
Typing a third double quote
"""|

Moving the cursor to after the first character
"|""

(not unexpected)
And then hitting backspace
|"

If I type a new line after the first quote, typing a quote on the second line behaves the same way (that is, as though it were the only line).
I built IHaskell without the display libraries (./build.sh ihaskell) from deb92f1.
And then installed it as a kernel with ihaskell install --debug.  No interesting debug information was printed while going through the actions above.
IHaskell appears to be otherwise working.  Notebooks with a python kernel are not affected.
>ipython --version
3.1.0
>ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.1

Python 3.4.3 (default, Feb 25 2015, 21:28:45)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)]

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11621277-automatic-quotation-mark-closing-not-working-correctly?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332399&utm_medium=issues&utm_source=github).

Turns out the same stuff happens for single quotes (').

Thanks for pointing this out. I think it's not something I've thought of. Something strange on the client-side... Will look into it.

Any progress on this?  Does it have something to do with CodeMirror?

I can reproduce this bug in IHaskell notebook running on try.jupyter.org using Chrome, Safari, and Firefox.

Fixed in newest on Hackage, I think.


The height of a chart should not include the label height

Because the height of labels are different in different screen size.
So, if we maintain aspect ratio, it will be like this:

But it should be:

I think the reason for this is that the 'height' is really the canvas height. Since labels are drawn on the canvas, they need to be included. @tannerlinsley did I miss anything?

Nope.  Height is the entire canvas.  There isn't really any way around this as the labels are fluid, rotating, and moving based on size.  Dynamic charts can't be that rigid.


LogEvents with Exceptions are not getting transmitted to Loggly, silently failing

Using this sink in an ASP.NET Core project and noticed that any of the log events that have an exception attached are not making it to Loggly.  I didn't track this all the way through the loggly-csharp code but my guess is that they're not able to serialize the Exception using Newtonsoft.
Commit of a hackish work-around is here.
I think the better way to go here is to hook into the Serilog Json Formatting / Converting that handles serializing properties, but I'm not familiar enough with Serilog from the provider/sink side to know how to do that.  Can someone point me in the right direction and I'll try and get that change made and a new pull request?

Hi Jon, sorry about the delay in replying, thanks for the note.
There are a few sinks that use JSON formatting + some kind of HTTP transport (which I'm guessing is the case, here). Mostly, you'll need to format up the regular fields like Timestamp manually, then use a JsonValueFormatter to convert each property value.
https://nblumhardt.com/2016/07/serilog-2-0-json-improvements/
HTH,
Nick

Hi
I found one of the reasons for this problem in loggly-csharp and fixed it https://github.com/neutmute/loggly-csharp/issues/60
However, it seems that default exception serialization produces a string of more than 5MB even for simple cases (where there's a stack trace).
The loggly appender of log4net uses the builtin GetExceptionString method that generates a simplified string. Maybe we coukd do the same? I can send a PR

@tamirdresher thanks! Any and all help appreciated. @jonstelly does that sound like it lines up with what you were looking for?

That looks great and it definitely seems better to fix this upstream in loggly-csharp.
As for the size of the exception, @tamirdresher, 5MB is pretty big, are you really seeing that with most exceptions?  With the following super-simple test the exception JSON is 1255 characters
Running in ASP.NET and elsewhere will definitely give a much deeper stack trace and more data so I'm sure they'll be larger, but what's the primary contributor getting the JSON to 5MB?
static void Main(string[] args)
        {
            DoStuffAsync(args).Wait();
        }

        static async Task DoStuffAsync(string[] args)
        {
            try
            {
                try
                {
                    await Task.Delay(100);
                    throw new ArgumentNullException(nameof(args), "Missing args");
                }
                catch (Exception first)
                {
                    throw new InvalidOperationException("Something bad", first);
                }
            }
            catch (Exception second)
            {
                var json = JsonConvert.SerializeObject(second, Formatting.Indented, new JsonSerializerSettings
                {
                    ReferenceLoopHandling = ReferenceLoopHandling.Ignore
                });
                Console.WriteLine("{0} characters\r\n{1}", json.Length, json);
            }
        }

The size was a surprise to me as well.
My use case is indeed an exception that is thrown from the ASP.NET Core controller, but i'm still not sure why it gets to these sizes.
I'll create a repro and share it.
And i hope to fix my PR by tomorrow

@jonstelly
I think i figured it out. The problem only occurs in .NET Core because the Exception class was changed and no longer implement ISerializable (https://github.com/dotnet/coreclr/issues/2715) .
Running the same application in .NET Core yields a very large output. The reason is for that is that the TargetSite property is serialized as well.
Looking into the Exception class code in the full .NET Framework shows that when Exceptions were serialized, the TargetSize was ignored and instead, a minification of the value was used

Fixed in #22


Flutter core packages migration

This tracks the migration of the core set of packages required to build a small Flutter app.
@srawlins @vsmenon Do you have the list of packages?
cc @Hixie @a14n

@franklinyow @leafpetersen I think we can mark this done?

Agree,closing


Add/readme storybooknative

LiveURL: https://orbit-components-add-README-storybooknative.surge.sh

I will close this one, and we will sync with master in another isolated PR.


Add support for \cfrac

As a quick fix would be nice to have it as a synonym for \frac
For later here's an example of the difference between \frac and \cfrac
http://malinc.wikidot.com/insert-formulas

It seems that \cfrac isn’t in KaTeX v0.7.1. It would be great if it found its way into the next release. Thank you guys for all the wonderful work.

@prlbr see https://github.com/Khan/KaTeX/pull/135.  The code is pretty stale now though.

Unfortunately I have no idea how to help or else I would offer to.
Is there a chance to handle \cfrac as alias of \dfrac until \cfrac is fully supported?

@prlbr You can definitely add a custom macro for yourself that maps \cfrac to \dfrac. I'll have to look at adding  proper support...

@prlbr You can definitely add a custom macro for yourself that maps \cfrac to \dfrac.

Thanks for the hint, it works like a charm!

\cfrac is defined as follows in amsmath.dtx:
%    Continued fractions. The optional arg l or r controls horizontal
%    placement of the numerators. The |\kern-\nulldelimiterspace|
%    is needed in the definition if we want the right-hand sides of the
%    fraction rules to line up. The \cs{strut} keeps the numerator of
%    a subsidiary cfrac from coming too close to the fraction rule above
%    it.
%    \begin{macrocode}
\newcommand{\cfrac}[3][c]{{\displaystyle\frac{%
  \strut\ifx r#1\hfill\fi#2\ifx l#1\hfill\fi}{#3}}%
  \kern-\nulldelimiterspace}
%    \end{macrocode}

LaTeX defines \nulldelimiterspace=1.2pt.
Ignoring the optional [l]/[r] argument, and the \strut which is not yet supported, a more accurate macro for \cfrac would thus be `"\cfrac": "\dfrac{#1}{#2}\kern-1.2pt".  However, I find that this still doesn't right-align the fraction lines, unlike LaTeX.  Any ideas why there's a discrepancy here?

Screenshot of http://localhost:7936/?text=\cfrac{1}{1%2B\cfrac{1}{1%2B\cfrac{1}{x}}}&\cfrac=\dfrac{%231}{%232}\kern-1.2pt
Ah, experimenting a little, it seems that \kern-2.4pt is exactly right.  This suggests that we're doubling the space somewhere in \frac or \dfrac...

Nice investigation.  I'm okay with using \kern-2.4pt as long as we have a screenshot test for this.  That way if we fix the other lurking issue without updating the macro we'll know.


Change AsyncTriggers returned value to UniTask

Change AsyncTriggers returned value to UniTask<T>
Example
using System;
using System.Threading.Tasks;
using UniRx.Async;
using UniRx.Async.Triggers;
using UnityEngine;

class TriggerSample : MonoBehaviour
{
    private void Start()
    {
        WaitForCollisionAsync().Forget();
    }

    private async UniTaskVoid WaitForCollisionAsync()
    {
        var trigger = this.GetAsyncCollisionTrigger();

        var collision = await trigger.OnCollisionEnterAsync(); // <<<<

        Debug.Log(collision.gameObject.name);
    }
}

solved in https://github.com/Cysharp/UniTask/issues/18
Thanks, I've used your code but it is picked code by code manually so is not included contributor credit, sorry.
I will not do this next time.


Offscreen rendering support for Electron

This PR adds the necessary includes and patches to Chromium that are needed for offscreen rendering in Electron.
The PR in Electron.

👍
I did some modifications on web_contents.patch to make the diff minimal.


Automated cherry pick of #10668

Cherry pick of #10668 on release-7.1.
/cc  @Willyfrog
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.


Colab

I created a simple Google Colab that uses Ngrok to obtain a URL. It's a basic setup. Repository with the Colab: https://github.com/medicenjona1/ultimate-rvc/

@medicenjona1 that is great! I was considering implementing one myself. If you want, you could try and make a pull request and I will have a look at the notebook.

can you make this also have the option for hugging face?

it doesn't work for me

The colab notebook does not work for you now? What exactly are you experiencing?

It is working on my end

on the medicenjonas colab, it deploys it, but then it shows me the ui and says connection errored out

Ahh ok, but why not just use the official Ultimate RVC colab notebook?

cuz the notebook doesn't deploy to a website

cuz the notebook doesn't deploy to a website

https://colab.research.google.com/github/hinabl/AICoverGen-Colab/blob/main/Hina_Mod_AICoverGen_colab.ipynb


get_default_foreground not wrapped?

Unless I'm missing something, console.rs wraps get_default_background but not get_default_foreground.
I'd think the fix would be something like adding:
fn get_default_foreground(&mut self) -> Color {
    unsafe {
        FromNative::from_native(
            ffi::TCOD_console_get_default_foreground(*self.as_native()))
    }
}

to console.rs since it looks like everything else is there at the c level.

Yep, looks like it!
Would you mind opening a pull request? That snippet looks good to me.

Will do, one sec....


[Bootcamp Task] Implement static typing for thumbor/point.py

Areas of Expertise
MyPy, static typing
You will learn more about how to use statically typed python code. mypy is an optional static type checker for python. It provides compile-time type checking.
Summary
In this task you'll fix thumbor/point.py to be typed.
Involved Modules

thumbor - thumbor/point.py

Task Relevance
Providing type safety is important both for thumbor and the projects that depend on it. This way we can eliminate type errors, like None where you don't expect None or an integer where you expect a string.
How to complete this task?
To complete this task, read mypy docs on how to get started and run mypy thumbor/point.py from thumbor's virtualenv.
When creating this task, this was the output of running mypy thumbor/point.py:
../thumbor/thumbor/point.py:22: error: Function is missing a return type annotation  [no-untyped-def]
../thumbor/thumbor/point.py:33: error: Function is missing a type annotation  [no-untyped-def]
../thumbor/thumbor/point.py:43: error: Function is missing a type annotation  [no-untyped-def]
../thumbor/thumbor/point.py:60: error: Function is missing a type annotation  [no-untyped-def]
../thumbor/thumbor/point.py:75: error: Function is missing a type annotation  [no-untyped-def]
../thumbor/thumbor/point.py:81: error: Function is missing a type annotation  [no-untyped-def]
Found 6 errors in 1 file (checked 1 source file)

This gives you all errors in the file you will fix. Don't worry if there are types of other packages (other thumbor files or thumbor dependencies) failing. If that's the case we can ignore these for now using this kind of annotation:
import module_without_mypy  # type: ignore

For more details check this page.
Once you get to a point where running mypy thumbor/point.py returns no errors, go ahead and submit a PR. The output should look like this:
Success: no issues found in 1 source file

Task Workflow
The workflow for completing tasks in thumbor goes like this:

Fork the involved repositories
In each repository there's a documentation on how to install dependencies and initialize your environment
Hack, in no particular order:

Write code & tests
Write new tests
Write docs
Improve design
Check that all tests pass
Repeat until you're satisfied

Submit a pull request.

I will try to solve this issue ! @heynemann

Assign to you and go go go :D If you need help let me know!


Support for i18n in mailers views

With the english and spanish respective translations.
I've included the translation for mails subjects in the es.yml (this translation is usually included in devise translations 'cause ir seems natural to keep al mails views translations together but i'm not sure if is a good practice. Anyway, it's only 3 lines so i've can delete them if request.
bye

HI @booleanbetrayal @lynndylanhurley ,
Must I update my PR to be updated with master branch or normally you take care of that stuff. If i must, wich is the best practice to do so. Merge master into my fork master branch, resolve conflicts and push it again?
thanks,

I would advise to do a rebase in order to make it cleaner.

Thanks @ValentinTrinque for your advice
I've done the rebase and its clean for merging know.

@ponyesteves  - This looks great, but I can't merge without complete translations. Could you provide Google Translate translations for all the other currently supported locales? Also, I see there's 3 commits, 1 a revert of another. Could you possible squash those in another rebase? Thanks!

@booleanbetrayal i've fixed the commits mess, now there is only one commit with all the changes (including the translations to all supported locales). Hopefully Google have done a good job on those translations, but i wouldn't risk my neck. So i think it should be checked by someone how actually knows those languages!

thanks @ponyesteves !

Glad to colaborate
El lun., 23 de nov. de 2015 a la(s) 1:46 p. m., Brent <
<EMAIL_ADDRESS>escribió:

Merged #427
https://github.com/lynndylanhurley/devise_token_auth/pull/427.
—
Reply to this email directly or view it on GitHub
https://github.com/lynndylanhurley/devise_token_auth/pull/427#event-472268242
.


[Feature] Break Action

Is your feature request related to a problem? Please describe.
Just an added Action
Describe the solution you'd like
The Command /offline break feature
Additional context
Versions

Minecraft: 1.21.1 fabric

Hey there! I was needing this feature too, but if we read the mod code it already handles block breaking.
After some investigation, we've discovered that the way to break blocks you just need to attack:0, which will result in holding the M1 because there is no delay between attacks.
I think this is nice to be documented in the mod's description, but there is no need to implement it in the code.

I like the idea of adding /offline break which will do the same as /offline attack:0.

@Fire0nTop @wetrustinprize I've added it in 1.0.8
You can also use it with interval, it will break the block until it is broken before resetting the interval.

awesome! Thanks for the implementation :)


How do I center image on post?

Hi, I loved this theme and was migrating to this theme from another.
I want to be able to control the size and alignment of the image on the posts. So far, I've been able to control the size of the images through this in my post markdown file:
{{< figure src="/img.jpg" width="80%">}}

But I haven't been able to center it. I've tried writing a custom CSS class, tried using a custom shortcode but neither worked. Can you point me in how I could do that?
And if there's a better way to control the image size as well. Thank you!

Update:
I've been able to center the image as well by specifying custom CSS class
.center-image {
  display:flex;
  align-items: center;
  justify-content: center;
}

However if there is a better way to do it, I'd be happy to know.

Hello, I never faced this issue as I was always using full-sized images.
I'll look into it and try to find a good way to scale/easily center them.
Perhaps we could use tags similar to #dark/#light to control size and centering.

That'll be great! Hope you find the time to implement this!

Have a look at the new image tags.
You can now use something like this to obtain your initial wanted result:
![alt text](/img.jpg#small "caption")

Let me know if this works.

This is great! Works perfectly. Thanks @tomfran!


Drupal ENV ignored

Docker-compose is ignoring values set during the makemake/docker-compose up process. Not sure any other values are being ignored.
docker-compose.env.yml & docker-compose.yml have these values prior and after the make/docker-compose up process.
DRUPAL_DEFAULT_ACCOUNT_EMAIL<EMAIL_ADDRESS>DRUPAL_DEFAULT_ACCOUNT_PASSWORD: abc1234567890

Observed the admin user has<EMAIL_ADDRESS>with "password" as its password.

I thought I had this issue initially as I couldn't log in with<EMAIL_ADDRESS>The problem was I was trying the wrong username - it's just "admin". The environment only sets this "admin" user's e-mail and password.
So I can't replicate this now with the latest development branch, the e-mail and password are set correctly for the admin user in drupal.


MAKE UI 1000000% MORE EPIC THAN EVER BEFORE

Fixed issue with full screen ui
Changed position of some UI components for better viewing
Changed the font so it looks more professional
The app now can be resized for more freedom of usage

REVIEW MY PR AND APPROVE NOW IF U WANT THE ISSUE TO BE FIXED REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Resolved #133 .


TypeNodes.def -> TypeNodes.inc because of a random open-source request.

Please test with following pull request:
https://github.com/apple/llvm-project/pull/495
@swift-ci Please smoke test.


Background blur on repository select open

I approve 9446b28 👍. Feel free to cherry pick it directly to master and then rebase this PR. Thank you!

Do you have any ideas how to add global overlay? For modals and drop-downs.

I don't know how to do a global overlay for dropdowns. I am worried it has to be done separately for every dropdown as it is done in this PR.
For global overlay for modals, there are several options. Nonetheless, the best option for us is to use React.Portals. Modal would be rendered as a direct child of body element through the portal...

Modal content here

I don't consider it important. I just saw it in Figma design and wanted to try to implement it. I do agree it would be great to have some global overlay instead but this would blur all elements. Some of them (like dropdown) show be unblur. Maybe negative filter: blur(-4px would work. I don't know.
Let's not close it. I may find some time to try different approaches. (It's not a priority for me for now.)


Add support for SECP256k1 pubkeys

Panic when starting the watcher against a chain that supports SECP256k1 pubkeys:
panic: pubkey is incorrect size
goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/crypto/keys/ed25519.(*PubKey).Address(0xffffde1a0f46?)
	/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.50.7/crypto/keys/ed25519/ed25519.go:167 +0x94

Could you please add support to SECP256k1 pubkeys?
Related code: https://github.com/kilnfi/cosmos-validator-watcher/blob/main/pkg/app/run.go#L321

Hello @fabtreb
Could you share me which chain is it?
Is there is public rpc node I could call and eventually an example of pubkey you pass in input?
Thx

I try use story monitoring and got same issue. Can't get consensus pub key bech32 format.
Attaching to cosmos-validator-watcher
cosmos-validator-watcher  | {
cosmos-validator-watcher  |   "operator_address": "storyvaloper1htkcu0adnlfqg4l29t2n5cc6l2nywle6qyqdr9",
cosmos-validator-watcher  |   "consensus_pubkey": null,
cosmos-validator-watcher  |   "status": 3,
cosmos-validator-watcher  |   "tokens": "1011020000000000",
cosmos-validator-watcher  |   "delegator_shares": "1011020000000000.000000000000000000",
cosmos-validator-watcher  |   "description": {
cosmos-validator-watcher  |     "moniker": "storyvaloper1htkcu0adnlfqg4l29t2n5cc6l2nywle6qyqdr9"
cosmos-validator-watcher  |   },
cosmos-validator-watcher  |   "unbonding_time": "1970-01-01T00:00:00Z",
cosmos-validator-watcher  |   "commission": {
cosmos-validator-watcher  |     "commission_rates": {
cosmos-validator-watcher  |       "rate": "0.100000000000000000",
cosmos-validator-watcher  |       "max_rate": "0.500000000000000000",
cosmos-validator-watcher  |       "max_change_rate": "0.050000000000000000"
cosmos-validator-watcher  |     },
cosmos-validator-watcher  |     "update_time": "2024-08-28T15:39:28.879893883Z"
cosmos-validator-watcher  |   },
cosmos-validator-watcher  |   "min_self_delegation": "1"
cosmos-validator-watcher  | }

Hello @fabtreb
Could you share me which chain is it? Is there is public rpc node I could call and eventually an example of pubkey you pass in input?
Thx

hey @MattKetmo thanks, shared via email

Fixed in the v0.13.0 release


Adding Meteonetwork stations

To improve the coverage over Italy (but also over France, Greece and some other European countries) I think it would be good to use some of the data from the Meteonetwork weather stations network (https://www.meteonetwork.it/rete/livemap/).
Data is available through free APIs (https://www.meteonetwork.it/supporto/meteonetwork-api/) with CC-BY 4.0 license.
I'm part of the organization so we could maybe start a discussion for a mutual collaboration? :)
Looking forward to it

That's a great idea! I moved the issue into our data routines repo.
Let's chat about how we can establish a partnership 😉 I'll get in touch later this week.

@guidocioni can I get in touch with you via<EMAIL_ADDRESS>

@guidocioni can I get in touch with you via<EMAIL_ADDRESS>
guido.cionimeteonetwork.it

Just as a heads-up: The Meteonetwork integration will be done. But there's a lot of stuff on the backlog. So it might take a few more weeks.

I don't mean to hurry you (of course :D) but just keep in mind that we just integrated weather stations from the mistral project (https://meteohub.mistralportal.it/app/datasets) into the Meteonetwork stations network. Mistral is a project trying to gather data from all the regional weather services in Italy. Now the coverage is way better almost everywhere besides Tuscany (still working on that) https://www.meteonetwork.it/rete/livemap/.

Nice. Didn't forget about that 😉


[AVM Module Issue]: Support for AzApi v2.0.0

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
@matt-FFFFFF will be making the AzAPI v.2.0.0 a requirement for an upcoming version of the ALZ module (See https://github.com/Azure/terraform-azurerm-avm-ptn-alz/pull/103)
Within the same deployment I use this module to provision the management resources and the ALZ module to deploy the management groups and policies. I suspect that this will be a relatively common pattern, especially given the vNext ALZ accelerator also uses this approach & the old CAF module deploys all the resources within a single module.
This will break when the ALZ module requires "~> 2.0" but this module requires "~> 1.14"
Are there plans to update this module to support 2.0 in a similar timeframe to the ALZ module requiring it?
I do appreciate all the work going into these modules and that they're still pre-release so we should expect breaking changes. It just feels like we're very close to having a working solution, and if it wasn't for the upcoming changes in the ALZ module I'd probably be happy to use them in production, hence I'm quite keen on incorporating these breaking changes as soon as I can in our test environments. Thanks!

Hi!
Yes we are very close now. It's essentially just AzAPI v2.0 that we need to drop.
After that we will bump all ALZ modules to use AzAPI v2.0, including lz-vending.

Great, thanks!

@luke-taylor is going to author this one - cheers

fixed by #74


[server] WARN: Could not inject char u+597d

[ ] I have read the FAQ.
[ ] I have searched in existing issues.

Environment

OS: [e.g. Debian, Windows, macOS...]
Windows
scrcpy version: [e.g. 1.12.1]
1.16
installation method: [e.g. manual build, apt, snap, brew, Windows release...]
Windows release
device model:
Xiaomi 8
Android version: [e.g. 10]

Describe the bug
Can not input chinese directly
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#special-characters-do-not-work

PS C:\Users\zhuhaizhou> scrcpy
scrcpy 2.1.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO:     -->   (usb)              1255b76b            device  2211133C
C:\Users\zhuhaizhou\AppData\Local\Microsoft\WinGet\Package... file pushed, 0 skipped. 21.8 MB/s (56995 bytes in 0.002s)
[server] INFO: Device: [Xiaomi] Xiaomi 2211133C (Android 13)
INFO: Renderer: direct3d
INFO: Texture: 1080x2400
[server] INFO: Device screen turned off
[server] WARN: Could not inject char u+4e0b
[server] WARN: Could not inject char u+5076
[server] WARN: Could not inject char u+89c1


feat: use the dominant color of a user's avatar as the color of his/her racing bar

Brief Information
This pull request is in the type of (more info about types):

[ ] build
[ ] ci
[ ] docs
[x] feat
[ ] fix
[ ] perf
[ ] refactor
[ ] test

Related issues (all available keywords):

resolve #723

Details

Updated the Node.js version requirement to be >= 18 in the .nvmrc file.
Use the dominant color of a user's avatar as the color of their racing bar (with the help of colorthief). This enhances the visual representation of the racing bar.
Since avatar loading and color extracting cost much time, a preload & cache mechanism is introduced.
Introduce antd and use its Spin component to present the loading animation.

https://github.com/hypertrons/hypertrons-crx/assets/32434520/eb1c1e1f-b86d-4a5b-90ae-dc65eaefad94
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA

Others

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Bach seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Bach seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Loading images and extracting colors need time, which causes the animation to freeze for a while. I think all avatars should be loaded and processed before the animation starts.

Loading images and extracting colors need time, which causes the animation to freeze for a while. I think all avatars should be loaded and processed before the animation starts.

预处理确实可以绕过现有问题，但假如预处理如果还是同步地处理，只是把延迟时间转移到了动画启动之前。压测一个1000人的仓库估计够呛，（且不提缓存收缩是否值得考虑）。
Preprocessing may solve the current issue, but if it is done synchronously, it only shifts the delay to before the animation begins. I doubt your system can handle a repo of 1000 people with this approach.

@TieWay59 thanks for reviewing the code ❤ . I have improved the preload and cache mechanism, as well as the UI experience :)
This PR is ready, request for your review ❤  @lhbvvvvv @wxharry

Hello guys @zhaosj975 @Tenth-crew @wangyantong2000, would you like to gh pr checkout 727 (install gh first) this PR branch and have a test in your machine?
Reference: https://github.com/hypertrons/hypertrons-crx#contributing

好的师兄，之后会尝试

Hello guys @zhaosj975 @Tenth-crew @wangyantong2000, would you like to gh pr checkout 727 (install gh first) this PR branch and have a test in your machines? Welcome to your snapshots or recordings.
Reference: https://github.com/hypertrons/hypertrons-crx#contributing

@Tenth-crew  Great!
BTW, in this project we use English to communicate with each other so more people abroad can understand and participate in :)

so convenient it is!

Uploading test.mp4…


Pass Execution doesn't work correctly with continuable failures

While investigating problems with Exit/Continue For Loop and continuable failures (#2318) I noticed these two issues with Pass Execution and continuable failures:

If Pass Execution is used in a user keyword after a continuable failure, that keyword is stopped but its parent keyword or test continues from the next keyword. The failure isn't dismissed so the test ends up failing in the end, but a correct behavior would be stopping execution when Pass Execution is used.

If Pass Execution is used in a for loop after multiple continuable failures, the earlier failures are reported in wrong order.

Using continuable failures in combination with Pass Execution is so rare that I consider this pretty low priority.