Develop

Codecov Report

Merging #17 (bc4748d) into release (fd3ed90) will decrease coverage by 0.05%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           release      #17      +/-   ##
===========================================
- Coverage    59.75%   59.70%   -0.06%
===========================================
  Files           49       49
  Lines          666      670       +4
  Branches        60       62       +2
===========================================
+ Hits           398      400       +2
- Misses         268      270       +2

Impacted Files
Coverage Δ

src/files/files.service.ts
10.46% <0.00%> (ø)

src/projects/projects.service.ts
99.37% <ø> (ø)

src/shared/plans/plans.service.ts
75.00% <ø> (ø)

src/shared/reports/reports.service.ts
100.00% <ø> (ø)

src/shared/status/status.service.ts
66.66% <50.00%> (-3.34%)
:arrow_down:

src/projects/entities/project.entity.ts
85.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Blockquote-like paragraphs in Beehiiv feeds don't show up in NNW

At first I thought this was related to Support Media RSS #4132 , which is causing some images and embeds that use the media:content tag to not show up (particularly in Substack feeds), but when I inspect the page source of this Beehiiv feed, I don't see that tag applied, only CSS for padding and borders, applied to paragraphs.
I'm using NetNewsWire 6.1.4 on MacOS 12.7.2 (Monterey), so if this is an issue that would magically be fixed by upgrading to Ventura/Sonoma, please just let me know and I'll file it under "things that will be fixed when I can buy a newer MacBook Pro" :)
Two examples:

https://www.todayintabs.com/p/eat-of-my-strawberry-flesh
There are 3 quotes (first starts with "IT'S A DRAMATIC...", second starts with "There was zero explanation...", third starts with "I'd been furious...") and none of them appear in the NNW feed. There's not even an extra space indicating something is missing, so without the context clue of a colon indicating a following quote, you would never know there was an entire missing paragraph.
https://www.todayintabs.com/p/the-ox-man-cometh
There are 2 quotes (first starts with "In her response...", second stars with "In her very ease...") and neither of them appear in the NNW feed.

All of these quotes are paragraph tags (not using the blockquote tag), wrapped in divs with no other tags involved, and I can't figure out why any of the CSS would cause them to not appear in the feed.

What’s the URL of the feed? What kind of account are you using?

Oh sorry, didn't think to provide the full feed URL as I just put https://www.todayintabs.com/ into the New Feed dialog in NNW and let it find the feed:
https://rss.beehiiv.com/feeds/ZRiesnGI0u.xml
I just add feeds On My Mac in NNW, no external service or account.
Now, looking at that feed in my browser, I can see that there are just empty blockquotes where those quotes are supposed to be. Which makes it clear that it's an issue originating with Beehiiv instead of NNW's display of the feed.
Color me sheepish! I'm sorry -- I should have investigated more fully before filing this.

All good. Thanks for looking into it!


Improve Python Client:

Add / Fix the insert_str_record method for type inference (sends TSInsertStringRecord)
Add Support for python testcontainer with a specific IoTDB Container.
Improved the readme a bit

This PR has:

[x] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[x] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR
python client submodule (client-py).

Thank you @HTHou and @jixuan1989 for your help!


AMP Review 1

[x] 1. Minor suggestions for the .yaml

[x] a. Does it make sense to update the name of the prototype to align more closely with the project name? Something like "Airline Delay Prediction Demo" instead of "Flight Demo"? https://github.com/fastforwardlabs/airline_delay_prediction/blob/487450b9e1837b90cf7b126bd5e78ac930dbd476/.project-metadata.yaml#L1
[x] b. reference to the Telco Churn model should probably be updated to reflect the current project https://github.com/fastforwardlabs/airline_delay_prediction/blob/487450b9e1837b90cf7b126bd5e78ac930dbd476/.project-metadata.yaml#L130 https://github.com/fastforwardlabs/airline_delay_prediction/blob/487450b9e1837b90cf7b126bd5e78ac930dbd476/.project-metadata.yaml#L139

[x] 2. Add Cloudera copyright source footer to the data processing notebook
[x] 3. Update reference to Telco Churn model in the code documentation, if appropriate https://github.com/fastforwardlabs/airline_delay_prediction/blob/487450b9e1837b90cf7b126bd5e78ac930dbd476/code/0_bootstrap.py#L44
[x] 4. I don't understand how one should use the Cancelled Flight Prediction interface. I tried entering in different flight information but it always says "Not Cancelled" so I can't tell if it's actually working or if there's a bug.  Additionally, having to enter such detailed information about a given flight is not very user-friendly.   Ideas to mitigate these issues:

[x] a. Option 1: Is there a way to make it easier for users to enter flight information? Say, not having to enter so many fields like distance, flight duration, hour, week (how are people supposed to know what format to enter "hour" and "week" as?). Most people don't know this kind of information about a flight making the app impractical. Is the model actually using all of those fields for its prediction? It would be nice to simplify it such that it takes in carrier, arrival and departure locations, and departure time, for example. Or at least provide the user with another set of flight information that they can enter which would yield a "Cancelled" prediction so they can see the model in action.
[ ] b.  Option 2: If it's too much to simplify the app, then perhaps we could have more boilerplate about what a user should expect to gain from it. For example, if it's not really meant to be interacted with, we could say as much and add that it is there purely to demonstrate CML Applications or Model Endpoints or something similar.

[x] 5. Thumbnail for Catalog page -- same as the one in the repo or something different?

Thanks for the feedback, Melanie!
I've incorporated all of the suggested changes including updating the UI to:

Remove several of the impractical features
Add searchable dropdowns for each field so users aren't guessing at values
Add the prediction confidence along with the predicted class so users can visually see the app "working" each time they click the button

I also changed the name of the project because it dawned on me that we are actually predicting flight cancellations, not delays 😄
Let me know if there are any further improvements you can spot, thanks!

Looks amazing, Andrew! Fantastic improvements. I give this AMP my Seal of Approval. :)


Unity ads mediation support?

I add unity ads as mediation in admob. Then I install
cordova-plugin-admobpro and work together with cordova-plugin-admob-unityads
to serve admob and unity ads mediation.
Now, I wonder is it really necessary to install cordova-plugin-admob-unityads if I want to server unity ads mediation through admob?
Now I want to migrate from cordova-plugin-admobpro to cordova-plugin-admob-free.
Does cordova-plugin-admob-unityads can work together with cordova-plugin-admob-free?
Is there any alternative?
Or is it no need to install anything, cordova-plugin-admob-free is enough to serve the unity ads mediation.
I did found one here: https://github.com/lycwed/lycwed-cordova-plugin-admob-unityads
But it is nothing, no unity ads code inside.
Please advice.
Thank you.

I found this library but I don't know how to plug it to admob-free plugin:
https://github.com/divampo/cordova-unityads-sdk

@cyclonmaster I found solution:

https://github.com/divampo/cordova-unityads-sdk
download files and replace them in plugin
https://bintray.com/google/mobile-ads-adapters-android/com.google.ads.mediation.unity#files/com/google/ads/mediation/unity
https://bintray.com/unityads/UnityAds/unityads#files/com/unity3d/ads/unity-ads
execute cordova plugin add ../myplugins/my-downloaded-cordova-unityads-sdk

I thought and decided to share a plug-in with people without the burgess code. Well the latest version in it.   [ios + android] 😄😄😄
<EMAIL_ADDRESS>

@ivanov84
I see UnityAdsAdapter.jar inside cordova-unityads-sdk for Android
Then inside unityads version 2.2.0 there is
unity-ads-2.2.0-javadoc.jar
unity-ads-2.2.0-sources.jar
and some others. I'm not sure which one to replace.
<EMAIL_ADDRESS>that you share, is it ready to use plugin for unity ads mediation? you already mod it?
Thanks


Latest google terraform provider versions don't build?

I'm trying to build the latest google terraform provider by overriding the existing versions, here is a shell.nix reproducing the error I'm hitting:
{ pkgs ? import <nixpkgs> {} }:
let
  new_google = pkgs.terraform-providers.google.overrideAttrs (old: rec {
    inherit (old) owner repo;
    name = "${repo}-${version}";
    version = "3.35.0";
    rev = "v3.35.0";
    sha256 = "1qwkckprv708qp5p0dklhpcnawaccllbixjln1sl0dhjk2qr45w4";
    src = pkgs.fetchFromGitHub { inherit owner repo rev sha256; };
  });
in
  pkgs.mkShell {
    buildInputs = [ new_google ];
  }

$ nix-shell
these derivations will be built:
  /nix/store/a7c6f97bxjqiqp40xw9kmr4b4zg7m2wa-terraform-provider-google-3.35.0.drv
building '/nix/store/a7c6f97bxjqiqp40xw9kmr4b4zg7m2wa-terraform-provider-google-3.35.0.drv'...
unpacking sources
unpacking source archive /nix/store/lfj13cgq9kbv2f1kcmbd6pv9lchmrli9-source
source root is source
patching sources
configuring
building
go: inconsistent vendoring in /private/var/folders/kz/8sv89dl97sx811td5nr_lh28bx37d1/T/nix-build-terraform-provider-google-3.35.0.drv-0/source:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
builder for '/nix/store/a7c6f97bxjqiqp40xw9kmr4b4zg7m2wa-terraform-provider-google-3.35.0.drv' failed with exit code 1
error: build of '/nix/store/a7c6f97bxjqiqp40xw9kmr4b4zg7m2wa-terraform-provider-google-3.35.0.drv' failed

Is this possibly because the vendor/ directory was removed? https://github.com/hashicorp/terraform-provider-google/commit/8bf122fb6996859297a563fc4c95ceed0c85a307
I noticed this override: https://github.com/NixOS/nixpkgs/blob/3cece2b33b43ad2766b25053ed43d8fc8eca914a/pkgs/applications/networking/cluster/terraform-providers/default.nix#L23
I'm looking for any way to build a more recent google terraform provider. Ideas?

Hi, to rephrase this as not a question - please may we have some more recent terraform providers?
The current ones are quite old. I'm happy to do the work to update them but would appreciate some guidance around how these modules are meant to work - perhaps @zimbatm  knows if this is an expected explosion due to the upstream vendor/ change? I'm not particularly familiar with go modules.

I found a solution to this, the problem occurs because "${name}" is used within a string in "go-modules" and "${go-modules}" is used within a string in "configurePhase".
I added something like this to my overlay (I'm using minio):
    go-modules = super.stdenv.mkDerivation (let modArgs = {
          name = "minio-${version}-go-modules";
          nativeBuildInputs = [ super.go super.git super.cacert ];
          inherit src;
          patches = [];
          preBuild = "";
          sourceRoot = "";
          GO111MODULE = "on";
          impureEnvVars = super.lib.fetchers.proxyImpureEnvVars ++ [
            "GIT_PROXY_COMMAND" "SOCKS_SERVER"
          ];
          configurePhase = ''
            runHook preConfigure

            export GOCACHE=$TMPDIR/go-cache
            export GOPATH="$TMPDIR/go"
            cd "./"
            runHook postConfigure
          '';
          buildPhase = ''
            runHook preBuild
            go mod vendor
            mkdir -p vendor
            runHook postBuild
          '';
          installPhase = ''
            runHook preInstall
            # remove cached lookup results and tiles
            cp -r --reflink=auto vendor $out
            runHook postInstall
          '';
          dontFixup = true;
        }; in modArgs // (
            {
              outputHashMode = "recursive";
              outputHashAlgo = "sha256";
              outputHash = "1d8wd5p6005v0cvq88124hvz15raha9gkym0pwymcjh6wr9k7x46";
            }
        ));
        configurePhase = ''
          runHook preConfigure
          export GOCACHE=$TMPDIR/go-cache
          export GOPATH="$TMPDIR/go"
          export GOSUMDB=off
          export GOPROXY=off
          cd "$modRoot"
          rm -rf vendor
          ln -s ${go-modules} vendor
          runHook postConfigure
        '';

Its far from ideal - unfortunately I can't find a way to hook and pull out the modules to push into the configure phase without copying all of the code to build the modules. It works... but its not great.


Expose the Viewport "center" and "anchor" on CustomScrollView

cc @apwilson

I believe this ticket can be closed.
https://github.com/flutter/flutter/pull/27424

Closing as per comment above.


[Question] What is the difference between this and onnxsim?

Could you briefly introduce the key differences?

Hi, OnnxSlim is pythonic, it's easy to maintain without C/C++ compiling, if you have any trouble using onnxsim, it's highly recommended that you use OnnxSlim.


What happened to the .deb artifacts?

Hi, my system upgrade tooling failed recently because .deb packages are no longer being published on GitHub Releases. There was one for 3.5.2 but none for 3.7.0. I looked for documentation in the README about the change, and for a CHANGELOG (couldn't find either). I also didn't see anything that looked relevant in the commit messages between those tags, maybe I missed something. Is this intentional?

Looks like the release build failed. I'll look and see if I can figure it out, otherwise I'll raise it to someone with more experience in this codebase.


VsCode upgrade prevents to use snippets starting with not alphanumeric characters

I removed '#' and '@' from all the snippet keys in order to make it work again
The readme file has been updated accordingly

Hey @vinlos thanks for submitting another contribution. I will review this in a few hours.
Cheers,
Daniel


Add .row class to fix cropped background color

Thanks.  I've also added this to 2.x version as well.

You're welcome,
On Thu, Jul 21, 2016 at 8:35 AM, Daniel Platt<EMAIL_ADDRESS>wrote:

Thanks. I've also added this to 2.x version as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hackzilla/TicketBundle/pull/73#issuecomment-234179304,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIAZxPG79NhbL9rTyRffgQixwFH_Pakgks5qXyFPgaJpZM4JNw1P
.


Can we created nested collection in migration?

Hi guys, i just want to know can we create nested collection using this library?  Its like
"name": { First: "", "Midle": "", Last: "" }
Any example Using this function ?
Schema::connection('mongodb')->create('biodata', function($collection) { });

You can try to use dot notation for this case, but i'm sure that it will work

You can try to use dot notation for this case, but i'm sure that it will work

any example for that ? @Smolevich

@mzcoder-hub ,
use Illuminate\Support\Facades\Schema;
use Jenssegers\Mongodb\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class Customer extends Migration
{
    public function up()
    {
        Schema::collection('customer', function ($collection) {
            $collection->index('auth_id');
            $collection->index('data.firstname');
            $collection->index('data.surname');
        });
    }

    public function down()
    {
        Schema::drop('customer');
    }
}

@mzcoder-hub, any updates?

@Smolevich im decide not using that migration, cause the mongodb its no need a field to created, so i just insert the value using the array cause that make me easy,
some how i should try that nested migration soon, but now im in hurry for the other project so ill save that. maybe 2 days later ill try that

@mzcoder-hub, please close issue if it is not actual


How to apply spotbugs for multi module application

I have a multi-module android project. I want to apply spotbugs gradle plugin for project.
I have follow steps in https://spotbugs.readthedocs.io/en/stable/gradle.html
and when execute ./gradlew spotbugsMain it throws exception
* What went wrong:
Could not determine the dependencies of task ':app:spotbugsMain'.
> Could not resolve all task dependencies for configuration ':app:runtimeClasspath'.
   > Could not resolve project :bootstrap.
     Required by:
         project :app
      > Cannot choose between the following variants of project :bootstrap:
          - debugAndroidTestCompile
          - debugAndroidTestCompileOnly
          - debugAndroidTestRuntime
          - debugRuntime
          - debugRuntimeElements
          - debugUnitTestCompile
          - debugUnitTestCompileOnly
          - debugUnitTestRuntime
          - releaseRuntime
          - releaseRuntimeElements
          - releaseUnitTestCompile
          - releaseUnitTestCompileOnly
          - releaseUnitTestRuntime
        All of them match the consumer attributes:
          - Variant 'debugAndroidTestCompile':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugAndroidTestCompileOnly':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugAndroidTestRuntime':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugRuntime':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugUnitTestCompile':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugUnitTestCompileOnly':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'debugUnitTestRuntime':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'releaseRuntime':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'releaseRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'releaseUnitTestCompile':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'releaseUnitTestCompileOnly':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
          - Variant 'releaseUnitTestRuntime':
              - Required org.gradle.usage 'java-runtime' but no value provided.
              - Found org.jetbrains.kotlin.localToProject ':bootstrap' but wasn't required.
              - Found org.jetbrains.kotlin.platform.type 'androidJvm' but wasn't required.
   > Could not resolve project :imageloading.
     Required by:
         project :app
      > Cannot choose between the following variants of project :imageloading:
          - debugRuntimeElements
          - releaseRuntimeElements
        All of them match the consumer attributes:
          - Variant 'debugRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
          - Variant 'releaseRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
   > Could not resolve project :SuperRecyclerView.
     Required by:
         project :app
      > Cannot choose between the following variants of project :SuperRecyclerView:
          - debugRuntimeElements
          - releaseRuntimeElements
        All of them match the consumer attributes:
          - Variant 'debugRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'debug' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
          - Variant 'releaseRuntimeElements':
              - Found com.android.build.api.attributes.BuildTypeAttr 'release' but wasn't required.
              - Found com.android.build.api.attributes.VariantAttr 'release' but wasn't required.
              - Found com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' but wasn't required.
              - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.

and this is spotbugs.gradle file
buildscript{
    repositories{
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.10"
    }
}

apply plugin: 'com.github.spotbugs'

sourceSets{
    main {
        java.srcDirs = ['src/main/java']
    }
    generated{
        java.srcDir "${buildDir}/generated/src/java/"
    }
}

spotbugs {
    toolVersion = '3.1.12'
    ignoreFailures = true
    effort = "max"
    reportLevel = "low"
    excludeFilter = file("$project.rootDir/staticCodeAnalysis/spotbugs_exclude.xml")
}
tasks.withType(com.github.spotbugs.SpotBugsTask){
    reports{
        xml.enabled false
        html.enabled true
    }
}

def exclude = [
        // Android
        '**/R.class',
        '**/R$*.class',
        '**/Manifest*.*',
        '**/BuildConfig.*',
        // Android databinding
        '**/*databinding/*',
        '**/BR.*',
        // Dagger
        '**/*Dagger*.*',
        '**/Dagger*Component.class',
        '**/Dagger*Component$Builder.class',
        '**/*Module.*',
        '**/*MembersInjector*.*',
        '**/*_MembersInjector.class',
        '**/*_Factory.*',
        '**/*Module_*Factory.class',
        '**/*_Provide*Factory*.*']

task generateSpotBugsReports(type: com.github.spotbugs.SpotBugsTask) {
    dependsOn 'assembleDebug'
    group = 'Reporting'
    classes = fileTree(dir: "$project.buildDir/intermediates/classes/debug", excludes: exclude)
    classpath = files()
    spotbugsClasspath = buildscript.configurations.classpath
    pluginClasspath = project.configurations.spotbugsPlugins
//    classes = (file("$project.buildDir/intermediates/classes/debug").exists()
//            ? fileTree(dir: "$project.buildDir/intermediates/classes/debug", excludes: exclude)
//            : fileTree(dir: "$project.buildDir/classes", excludes: exclude))
    source = fileTree('src/main/java/')
    reports.html.setDestination(file("$project.buildDir/outputs/reports/spotbugs/"))
    reports {
        xml.enabled = false
        xml.withMessages = false
        html.enabled = !xml.isEnabled()
        html.destination file("$project.buildDir/reports/spotbugs/spotbugs.html")
    }
}

dependencies {
    spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.7.1'
    compileOnly 'net.jcip:jcip-annotations:1.0'
    compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.3'
}

i have seached for this issue for 3 days and don't find anything helped me, i will appreciate your help.

Same for me!

@sh3lan93 @dctrl did you find a solution of the problem? Having the same issue

@aleksandr-gorshkov not yet

Same issue here

same issue, did you find solution?

I'll close this stale issue. Please feel free to reopen if you met this issue in the latest release.

@KengoTODA Hi，spotbugs-gradle-plugin:4.5.1 has the same issue for multi module. Please help me how can I resolve that or which plugin should I use?

offical plugin: spotbugs-gradle-plugin:4.5.1
your plugin: https://github.com/KengoTODA/spotbugs-gradle-plugin-v2

@KengoTODA

@KengoTODA Hi，spotbugs-gradle-plugin:4.5.1 has the same issue for multi module. Please help me how can I resolve that or which plugin should I use?

offical plugin: spotbugs-gradle-plugin:4.5.1
your plugin: https://github.com/KengoTODA/spotbugs-gradle-plugin-v2

@KengoTODA im also facing same issue in latest official gradle plugin.

official plugin: spotbugs-gradle-plugin:4.6.0 -- facing this same issue in this one
your plugin: https://github.com/KengoTODA/spotbugs-gradle-plugin-v2 - not facing issue by using this one.

@KengoTODA

@KengoTODA Hi，spotbugs-gradle-plugin:4.5.1 has the same issue for multi module. Please help me how can I resolve that or which plugin should I use?

offical plugin: spotbugs-gradle-plugin:4.5.1
your plugin: https://github.com/KengoTODA/spotbugs-gradle-plugin-v2

@KengoTODA im also facing same issue in latest official gradle plugin.

official plugin: spotbugs-gradle-plugin:4.6.0 -- facing this same issue in this one
your plugin: https://github.com/KengoTODA/spotbugs-gradle-plugin-v2 - not facing issue by using this one.


Upgrade to davrods-docker v4.3.3_1.5.1-1

Once I'm able to tag a release for this image, we should update. See bihealth/davrods-docker#3.
Tasks

[x] Make sure image works in dev
[x] Make sure image vorks in staging
[x] Update docs and env examples as needed
[x] Update env examples to release version once tagged and pushed

Env updated, still need to make sure all works as expected before closing the issue.

Everything appears to work in staging, this can be closed.


Trevor develop

module 1 fix routing for reward page and show all items

Should merge into develop branch.


Can't specify first column name of UTF-8 with BOM files

When opening files encoded in UTF-8 with BOM, specifying first column name causes a no such column error.
$ file nobom.csv bom.csv
nobom.csv: ASCII text
bom.csv:   UTF-8 Unicode (with BOM) text

$ cat nobom.csv
col1,col2
1,2
3,4

$ cat bom.csv
col1,col2
1,2
3,4

$ textql -header -sql 'select col1' nobom.csv
1
3

$ textql -header -sql 'select col1' bom.csv
2017/11/04 13:14:57 no such column: col1

If you could post a sample file that I could verify with it would help tremendously. Even just the first 2 lines

Thank you for your help, but I got to avoid this.
I created a file using Microsoft Excel 2016 for Mac and saved it as "CSV UTF-8" format, but it was actually formatted in UTF-8 with BOM, which I didn't know at that time. So I had trouble using the file with textql.
Because package encoding/csv does nothing to BOM (golang/go#9588), BOM becomes a part of the first record read from a CSV file. Here's an example of this: https://gist.github.com/itiut/674d7ff87ede8207549c4c2e85975d72. That's why I think I couldn't specify the first column name in textql.
As a workaround I removed BOM from the file using sed, and I could use the file with textql correctly.

Thanks for the additional input and sample, I will create a fix for this.

Thanks for the additional input and sample, I will create a fix for this.


Windows layout management when switching from 1 to 2 monitor layout

Similar to Fancy Zones be able to define locations for Windows to be positioned in response to specific scenarios - in this can switching between single and dual (or more) monitor configurations - either docking/undocking a laptop, or connecting to a remote desktop session with "use all monitors" or a single screen.
A specific use-case:
I usually work with my Windows VM via a remote desktop scenario where I have two screens. My 'host' in my Macbook with an external monitor, and Windows via Remote Desktop supports that very well, allowing me to use both screens and arrange windows where I want/need them... but, if I'm away from that desktop and connect via my iPad or my laptop without it's external screen then all the remote desktop windows get 'gathered' back into the single screen (desired behavior), but when I log back in via the dual screen configuration I have to waste time moving windows back to my preferred layout.
Would love to be able to set up rules so that (eg) when moving to a single screen Windows behaves as normal, but when a second screen is available automatically move (VSCode, Chrome, Powerpoint) to the second screen (ideally it would remember the positions they were in before they had been 'gathered' across to the single monitor and so revert to actual positions and sizes rather than just retain relative sizing/position to where they had been in the gathered scenario

Duplicate of https://github.com/microsoft/PowerToys/issues/4


ERROR:electrumx:ElectrumX server terminated abnormally

Image Version
# docker images | grep atomicals-electrumx
lucky2077/atomicals-electrumx         latest    1e715599e684   2 days ago    128MB
# date
Fri Dec 29 02:34:41 AM UTC 2023

uname -a
Linux s569-zj01 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Error Log
f7f9bf343b60966a6e8e5a8a5024f579e9d06d98154736f4d7a17f0c223f576db885a38ef5a7b9166b9f060000000000
INFO:BlockProcessor:atomicals_undo_entry_len -6 - count 44 - 130
INFO:Prefetcher:cancelled; prefetcher stopping
INFO:Controller:shutting down
INFO:Controller:shutdown complete
ERROR:electrumx:ElectrumX server terminated abnormally
Traceback (most recent call last):
  File "/electrumx/electrumx_server", line 35, in main
    asyncio.run(controller.run())
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
  File "/electrumx/electrumx/lib/server_base.py", line 129, in run
    await server_task
  File "/electrumx/electrumx/lib/server_base.py", line 102, in serve
    await self.serve(shutdown_event)
  File "/electrumx/electrumx/server/controller.py", line 137, in serve
    await group.spawn(wait_for_catchup())
  File "/usr/local/lib/python3.9/site-packages/aiorpcx/curio.py", line 297, in __aexit__
    await self.join()
  File "/electrumx/electrumx/lib/util.py", line 370, in join
    task.result()
  File "/electrumx/electrumx/server/block_processor.py", line 3582, in fetch_and_process_blocks
    await group.spawn(self._process_prefetched_blocks())
  File "/usr/local/lib/python3.9/site-packages/aiorpcx/curio.py", line 297, in __aexit__
    await self.join()
  File "/electrumx/electrumx/lib/util.py", line 370, in join
    task.result()
  File "/electrumx/electrumx/server/block_processor.py", line 3542, in _process_prefetched_blocks
    await self.check_and_advance_blocks(blocks)
  File "/electrumx/electrumx/server/block_processor.py", line 323, in check_and_advance_blocks
    await self.reorg_chain()
  File "/electrumx/electrumx/server/block_processor.py", line 365, in reorg_chain
    await self.run_in_thread_with_lock(self.backup_blocks, raw_blocks)
  File "/electrumx/electrumx/server/block_processor.py", line 295, in run_in_thread_with_lock
    return await asyncio.shield(run_in_thread_locked())
  File "/electrumx/electrumx/server/block_processor.py", line 294, in run_in_thread_locked
    return await run_in_thread(func, *args)
  File "/usr/local/lib/python3.9/site-packages/aiorpcx/curio.py", line 57, in run_in_thread
    return await get_event_loop().run_in_executor(None, func, *args)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/electrumx/electrumx/server/block_processor.py", line 3130, in backup_blocks
    self.backup_txs(block.transactions, is_unspendable)
  File "/electrumx/electrumx/server/block_processor.py", line 3303, in backup_txs
    assert(c >= 0)
AssertionError

我也出现这个问题，请问您怎么解决的？

最后发现是IP配置问题，看日志

还有就是 重新索引


Verification problem, I have program password

I want to re-enter the password, how to clear the account, every time I enter the account, skip the password, need to enter the verification code.

I have Application specific passwords, and I want to use them to log in.

every time I enter the account, skip the password, need to enter the verification code.

What does that mean? The screenshot you posted asks for the 6 digit 2FA code to be entered.

I have Application specific passwords, and I want to use them to log in.

Ok, follow the documentation on how to use it. What tool or action exactly do you want to use? As you deleted the issue template instead of filling it, we have no way of knowing what you are trying to do.


Test Documentation for GlassBR

What is the intended difference between the Python and Python_Simplified directories? For the most part, their files are quite similar, however upon 'make testing' them, there are far more failures resulting when making from the Python_Simplified folder... is one meant to replace the other? @palmerst
Which one should I be focusing on in terms of looking through the test cases? @szymczdm
Edit: From what I understand, the output from making Python is the desired result:

I believe you should be focusing on Python, but if @palmerst is using Python_Simplified in the GOOL/code gen side of things, we may want to look at that as well.

Python_Simplified is what is being used for gool/code generation.  Maybe it should actually be called "Python_Improved".   Some tests fail because I didn't modify the testing as I updated the code.  The code is correct, it is the tests that are not.
The testing needs a lot of improvement -- there is huge amount of repeated code (each test suite has 5-10 source files which are just complete copies of each other with different hardcoded inputs).   Since I made changes to the function signatures, in its current form this would require changing every single copy of each affected test suite, which is why I didn't update it.

@niazim3 , when you are looking to understand the test cases the Python folder is a better starting point.  Once you understand the tests though, it would definitely make sense to improve things along the lines that @palmerst has suggested.  The tests that were built last summer were very naive in how they were set up.  We can do better.  You can first focus on what is being tests, and later we can look at a better way to actually test it.

@smiths @szymczdm Would it be possible to get some feedback as to whether this is what I should be doing when trying to document how the tests are understood?

That looks pretty good. The only thing I'd add is traceability to where that test came from (in the theory). For example when testing if some a > 0, what is that a and why must it be > 0, where in the theory is that constraint? If it's an assumption, constraint, one case in an equation, etc. that should be made clear.

Thank you for taking the initiative on this @niazim3.  I agree with @szymczdm that you are off to a good start.  I also agree that traceability would be nice.  Unfortunately the additional data that I would like for each test case will make it difficult to summarize it in your table, since you would have to add several wide columns.
For each test case, I would like the following additional information (in addition to what you and Dan already have):

Test name
Test purpose (I think you have that in your Testing ... column)
Inputs (in some cases initial state would also be relevant, but I don't think that applies for your tests)
Expected outputs
Notes - in some cases we might need extra room to explain something else about the tests, like the rationale, the motivation, the source of the information, the derivation of the closed form solution, etc.

You can see an example of this in the V&V Plan for SWHS:
https://github.com/smiths/swhs/tree/master/VVPlan
Although @JacquesCarette is correct that we do not want to write a V&V plan at this time, we do want to capture the key information on the tests that would be included in that plan.  In particular, the tables in the plan (like Table 1) show summaries of the input and the expected output for the tests.
Once we have settled on a template for summarizing the tests, we can explicitly assign this issue to your colleagues as well.

Clarification request: the test name is the same as the file name, correct? @smiths

Great question @niazim3 .  I'm glad that you asked.
No, the test name and the file name do not have to be the same.  The existing test cases suggest this, but the existing testing code makes two debatable choices:

There is essentially one test case per file.  This really isn't necessary.  A single file can have multiple unit tests.

The filenames are essentially meaningless.  Test1, Test2, etc are not helpful names.  TstValidInput_Dimensions, or Tst_Pb_ExtremeValues etc, would be much more helpful names.  The name should be a mnemonic that gives a hint as to what the test does.  I think you will have to make up names; I do not believe this information is in the files that you are starting from.

Will be keeping track of which main folder is completed thus far using the following:

[ ] testCalculations
[ ] testCheckConstraints
[ ] testDerivedValues
[ ] testInputFormat
[ ] testInterp
[ ] testMainfun
[ ] testOutputFormat
[ ] testReadTable

I'll upload the completed document once this list is checked off.

Sounds good. My only additional request is that you don't wait until the end to upload your document. Please take advantage of version control and commit and push as each section is done or edited.

Added new document to track as of commit 918f385.
So currently, there should be an updated version of the word document in everyone's working directories; however, since the file type is of .docx, I'm not sure whether or not the changes can be viewed as I edit the document, which is why I think the file type may have to be changed soon. Is there a preferred file type to implement this data in?

The preference for reports is to use LaTeX.  This way when you make changes to the document, we can see the difference, just like we can with code.  You are correct that this isn't possible for binary files, like a docx file.  I think learning LaTeX would be a great skill for you and your colleagues to add to your resumes.  You can look at existing LaTeX documents as a guide, although you should probably look at the human generated files, rather than the drasil generated files.  @hmadej would be able to assist you with getting started.

Update: majority of the test case information has been recorded as of commit 65c57fe.
Note to self: The ? entries indicate items to be inserted; table 8 and table 5 need to be looked at in more depth.

@palmerst
The results from making the Python tests have changed quite drastically, and I was wondering if some changes were made that caused the discrepancy?

I'm attempting to trace the failing files that were previously passing so that I can ensure working on issue #347 doesn't change anything it is not supposed to.

These errors are being caused from the change to reading the input variable t as a string.  When readline is called on a file, the resulting string is stored with a newline char at the end of it.  So for example if the input file has 10.0 for t, it will be read as "10.0\n" and will not be equal to the string "10.0".  You can fix this by using readline().rstrip() instead, as this will strip all whitespace from the beginning and end of the string.

9aed9dc -->

Less tests fail now, however I will be working on getting all the tests to pass soon. (Completing said task will now be documented in issue #347, as this thread is for testing documentation...)
@palmerst Would it be alright if I remove testCheckConstraints18.py from the Python directory (as it is the exact same as testCheckConstraints17.py)? If so, should I also be removing it from the Python_Simplified directory?

Yes, remove it.  Python_Simplified is the version that is being used as a benchmark for generation.  You can actually delete the Python directory entirely and rename Python_Simplified to Python  -- I kept both as I was rewriting the original to be more readable, but now there is no sense in maintaining both.

The TestDocumentation folder that contains the test document is now in the Python_Simplified directory. However, since making the tests from this directory currently runs into errors, I'm in the process of rooting out the problem. As stated before, updating/improving the testing for GlassBR will be tracked in issue #347.


MULTI-GITTER PR: migration github-config-and-gitignore-changes

Summary by Sourcery
Revise GitHub configuration files to improve contribution guidelines, update repository settings, and enhance CI/CD workflows. Add a new deployment workflow for demo publishing and refine existing documentation for clarity.
Enhancements:

Updated the CONTRIBUTING.md to clarify the process for submitting issues and pull requests, emphasizing the need for consultation with the Auro team before starting work.
Revised the settings.yml to update repository topics and team permissions, adding new team roles with specific permissions.

CI:

Modified the testPublish.yml workflow to refine the conditions for triggering the release job, ensuring it only runs on specific branches.

Deployment:

Introduced a new workflow publishDemo.yml to automate the deployment of demos on pull requests to the main branch.

Documentation:

Made minor formatting adjustments to the CODE_OF_CONDUCT.md and CONTRIBUTING.md for improved readability and clarity.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


UX Polish: Replace MB Start Logo with non-tagline version of logo

Current version has MB Start Logos which include tagline Where Futures Begin, which are illegible. Replace with MB Start logo which does not contain said tagline.
View updated logo here: https://zpl.io/bzdk3oG
Screens where this logo appears:

[x]  Loading screen/MB
[x]  HOME/full - Manitoba Card
[x]  ONBOARDING/1-MB
[x]  Right menu drawer/MB
[ ]  MB START PAGE (does not exist yet, see issue #1543

Nice to have: Consider making these logos responsive to size adjustments if possible for consideration of large phones.
Steps for QA:

Check to make sure all above pages have updated logo

Logo without tagline appears in all locations


Every URL I throw at it returns false

$phpgsb->doLookup("http://mybusinesspage.com.au") is dangerous when you go to https://www.google.com/transparencyreport/safebrowsing/diagnostic/#url=http://mybusinesspage.com.au
but is returning false which per the lookup example is safe.
Any ideas?

@cwhittl My reference site/script has been offline for a bit, have restarted it so will give it time to update and get back to you. Do other sites like gumblar.cn show as dangerous?

@cwhittl Just checked, I get a match for malware in my database. How long did you leave it updating? For reference mine is at:
http://gsbtool.beaver6813.com/ulookup.php

Sorry for the dead air, I had to move on and just call the api directly in
chunks of 500.   We're at the cusp of getting our URL shortener being
marked as dangerous by Google.
I will try to test again when I get this done.
Thanks
On Fri, May 20, 2016 at 9:42 AM, Sam Cleaver<EMAIL_ADDRESS>wrote:

@cwhittl https://github.com/cwhittl Just checked, I get a match for
malware in my database. How long did you leave it updating? For reference
mine is at:
http://gsbtool.beaver6813.com/ulookup.php
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/samcleaver/phpGSB/issues/16#issuecomment-220624792

Funnily enough phpGSB was created for a URL shortener anti-spam in the first place, we managed to get it reasonably under control eventually when combined with a few other things. Shoot me an email (see profile) if you want some tips (as to how we did it).

Thanks Sam!
On Fri, May 20, 2016 at 9:58 AM, Sam Cleaver<EMAIL_ADDRESS>wrote:

Funnily enough phpGSB was created for a URL shortener anti-spam in the
first place, we managed to get it reasonably under control eventually when
combined with a few other things. Shoot me an email (see profile) if you
want some tips (as to how we did it).
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/samcleaver/phpGSB/issues/16#issuecomment-220629348


S4U with current credential

hi
im trying to use S4U to get a kerberos ticket for a user that i have only his name
is it possible to authenticate with the current credential instead of password /certificate credential?

What is the 'current' credential?
Does this help as an example?
https://github.com/dotnet/Kerberos.NET/blob/9f0216471b1ae04c7e642827018d6f371bf96002/Bruce/CommandLine/KerberosConstrainedDelegationCommand.cs#L93

The current  credential is the credential of the logged in user that running the application
i need to do somthing like
var client = new KerberosClient();
var credential = new KerberosCurrentCredential();
await client.Authenticate(credential);

var s4uSelf = await client.GetServiceTicket( spn:"spn".Text,s4u: "user");

Yes, that's basically how GetDelegatedServiceTicket works internally. You should be able to call GetDelegatedServiceTicket on s4uSelf now.


is there a way to view the data in a data bundle?

I have ingest the data to my customized bundle. Now i want to view the data to insure if it is right. for example, i want to plot the adjusted close price. what should I do？

The idea I have for this is that in zipline.data.bundles.core, there is a namedtuple object called BundleData; that can be abstracted away to a class and we can use the asset_finder, adjustments etc to create some way to view the data more easily (maybe in a DataFrame?)

I was able to do it like this. My custom bundle name is ETFs and I had already ingested it. I have no idea if this is the 'correct' way, but it worked for me.
from zipline.data.data_portal import DataPortal
from zipline.utils.calendars import get_calendar
from zipline.data.bundles.ETFs import ETFs
import pandas as pd
symbols = ['VOO','IEF']
register('ETFs', ETFs(symbols))
etfs_bundle = load('ETFs')
start_dt = pd.Timestamp('2014-02-03', tz = 'utc')
end_dt = pd.Timestamp('2017-05-31', tz = 'utc')
etfs_data = DataPortal(etfs_bundle.asset_finder, get_calendar('NYSE'),
                       etfs_bundle.equity_daily_bar_reader.first_trading_day,
                       equity_minute_reader=etfs_bundle.equity_minute_bar_reader,
                       equity_daily_reader=etfs_bundle.equity_daily_bar_reader,
                       adjustment_reader=etfs_bundle.adjustment_reader)
etfs_symbols = []
for ticker in symbols:
    etfs_symbols.append(etfs_data.asset_finder.lookup_symbol(ticker,end_dt))
etfs_pricing = etfs_data.get_history_window(etfs_symbols,end_dt,1000,'1d','close')
etfs_pricing.asfreq('D').dropna().plot()```

I ingested data from quandl, and I need to check what has been loaded i.e. start and end date as well as the list of symbols.
the above code shared by @walterkissling looks promising. I tried to adapt it to quandl bundle but failed.
any idea how I could resolve it?
from zipline.data.bundles import load, register
from zipline.data.data_portal import DataPortal
from zipline.utils.calendars import get_calendar
from zipline.data.bundles.quandl import quandl_bundle
import pandas as pd
symbols = ['AAPL']
register('quandl_bundle', quandl_bundle(symbols))
qd_bundle = load('quandl_bundle')
start_dt = pd.Timestamp('2014-02-03', tz = 'utc')
end_dt = pd.Timestamp('2017-05-31', tz = 'utc')
quandl_data = DataPortal(quandl_bundle.asset_finder, get_calendar('NYSE'),
quandl_bundle.equity_daily_bar_reader.first_trading_day,
equity_minute_reader=quandl_bundle.equity_minute_bar_reader,
equity_daily_reader=quandl_bundle.equity_daily_bar_reader,
adjustment_reader=quandl_bundle.adjustment_reader)
quandl_symbols = []
for ticker in symbols:
quandl_symbols.append(quandl_data.asset_finder.lookup_symbol(ticker,end_dt))
quandl_pricing = quandl_data.get_history_window(quandl_symbols,end_dt,1000,'1d','close')
quandl_pricing.asfreq('D').dropna().plot()

Did you ever get this to work?

What if you wanted to view a list of equities present in a bundle? The DataPortal forces you to specify the equities you want to view ahead of time, when you instantiate the DataPortal object, so by definition, it can't provide a list of what the bundle contains.

Thanks very much for taking time, Joe. Just minutes ago I found the same answer buried in a thread on the Zipline Google group.
import os
from pandas import Timestamp
from zipline.data.bundles import load
now = Timestamp.utcnow()
bundle = load('quantopian-quandl', os.environ, now)
symbols = set(str(asset.symbol)
for asset in bundle.asset_finder.retrieve_all(
bundle.asset_finder.equities_sids))

I tried this code on python 3.5 with quandl data bundle. it works. Thanks!
`
import os
import pandas as pd
from pandas import Timestamp
from zipline.data.bundles import load
from zipline.data.bundles.quandl import quandl_bundle
from zipline.data.data_portal import DataPortal
from zipline.utils.calendars import get_calendar
now = Timestamp.utcnow()
bundle = load('quandl', os.environ, now)
all_assets = bundle.asset_finder.retrieve_all(bundle.asset_finder.sids)
symbols = set(
str(asset.symbol) for asset in bundle.asset_finder.retrieve_all(bundle.asset_finder.equities_sids)
)
print(symbols)
quandl_data = DataPortal(asset_finder= bundle.asset_finder,
trading_calendar = get_calendar('NYSE'),
first_trading_day = bundle.equity_daily_bar_reader.first_trading_day,
equity_minute_reader=bundle.equity_minute_bar_reader,
equity_daily_reader=bundle.equity_daily_bar_reader,
adjustment_reader=bundle.adjustment_reader)
print(quandl_data)
`

I was able to do it like this. My custom bundle name is ETFs and I had already ingested it. I have no idea if this is the 'correct' way, but it worked for me.
from zipline.data.bundles import load, register
from zipline.data.data_portal import DataPortal
from zipline.utils.calendars import get_calendar
from zipline.data.bundles.ETFs import ETFs
import pandas as pd
symbols = ['VOO','IEF']
register('ETFs', ETFs(symbols))
etfs_bundle = load('ETFs')
start_dt = pd.Timestamp('2014-02-03', tz = 'utc')
end_dt = pd.Timestamp('2017-05-31', tz = 'utc')
etfs_data = DataPortal(etfs_bundle.asset_finder, get_calendar('NYSE'),
                       etfs_bundle.equity_daily_bar_reader.first_trading_day,
                       equity_minute_reader=etfs_bundle.equity_minute_bar_reader,
                       equity_daily_reader=etfs_bundle.equity_daily_bar_reader,
                       adjustment_reader=etfs_bundle.adjustment_reader)
etfs_symbols = []
for ticker in symbols:
    etfs_symbols.append(etfs_data.asset_finder.lookup_symbol(ticker,end_dt))
etfs_pricing = etfs_data.get_history_window(etfs_symbols,end_dt,1000,'1d','close')
etfs_pricing.asfreq('D').dropna().plot()

How did you ingest the ETFs from Quandl? I have access to the paid version and I was wondering how to ingest the ETFs into zipline.

I don't use Quandl data. I've been using Norgate and they have a zipline package which handles all the ingestion for their data. The link is this: https://pypi.org/project/zipline-norgatedata/
If you read over the source code you can modify the _pricing_iter_equities() function to read in from your own data instaed of their software and use that. They also have ingestion for futures.

@walterkissling That's a great idea... where did you find their source code?

It's down towards the bottom of the page in the section "Books/publications that use Zipline, adapted for Norgate Data use"


[dashboard] fix filter_scopes when copy dashboard with duplicate_slices

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
When user copy dashboard with also copy (duplicate) charts, dashboard duplicates each slices in the old dash and use new slice_id in the new dash. We should update filter_scopes with new slice ids.
TEST PLAN
CI and manual test
ADDITIONAL INFORMATION

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

REVIEWERS
@serenajiang @john-bodley

Codecov Report

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

@@            Coverage Diff             @@
##           master    #9188      +/-   ##
==========================================
- Coverage   59.16%   59.13%   -0.04%
==========================================
  Files         372      372
  Lines       11935    11938       +3
  Branches     2927     2925       -2
==========================================
- Hits         7061     7059       -2
- Misses       4694     4699       +5
  Partials      180      180

Impacted Files
Coverage Δ

...ontend/src/components/ListView/TableCollection.tsx
88.88% <0%> (-3.71%)
:arrow_down:

...frontend/src/views/dashboardList/DashboardList.tsx
69.72% <0%> (-3.43%)
:arrow_down:

...uperset-frontend/src/views/chartList/ChartList.tsx
74.48% <0%> (-0.26%)
:arrow_down:

...et-frontend/src/components/ConfirmStatusChange.tsx
100% <0%> (ø)
:arrow_up:

...rset-frontend/src/components/ListView/ListView.tsx
92.4% <0%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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


After Update 0.88.1 i can't connect any bluetooth device

Home Assistant release with the issue:

0.88.1
Last working Home Assistant release (if known):
0.88.0
Operating environment (Hass.io/Docker/Windows/etc.):

Virtual Env
Component/platform:

eq3 climate
Description of problem:
Hi, i've a home assistant Virtual Env installed on my RPI3 B+.
Recently i've upgraded home assistant and the rapsbian OS and i can't connect anymore to my bluetooth devices.
I have 4 device bluetooth: 2 eq3 climate and two bulb bluetooth magicblue (with a custom component).
Before the upgrade Everyone works fine, but after upgrade they stopped working.
I've also reinstall all the env removing home assistant from /srv and reinstall, but no work.
This is a bug of homeassistant or other?
Thanks
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
on eq3-cli:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 353, in __init__
    self._connect(deviceAddr, addrType, iface)
  File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 402, in _connect
    "Failed to connect to peripheral %s, addr type: %s" % (addr, addrType))
bluepy.btle.BTLEException: Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public

Additional information:

Looks like a potential problem with the dependency, but @rytilahti can you confirm?

Moreover i've seen that there isn't a polling of devices eq3 bluetooth (seeing the logs of HA). In the previous version there was much more logs about connections to eq3 bluetooth. Maybe is this the problem, that HA try only one connection on boot and nothing else?

Assuming it touches others besides eq3bt, I don't think it's a problem in the dependency then but likely on your OS' bluetooth stack. Do you see the devices while scanning with sudo hcitool lescan? Maybe you have changed your python environment and the current one does not have access to raw sockets (required by bluepy)?

I'm having the same issues since the last (?) update.
sudo hcitool lescan shows my climate devices (CC-RT-BLE) and bluetooth presence detection is working too. So I think the problem is probably not my bluetooth stack.

I can confirm the same problem of @NullEnt1ty, using the sudo hcitool lescan i see two devices CC-RT-BLE but home assistant not connect to one of this devices and doesn't retry after start. Also i use a custom component for magicblue bulb bluetooth and i can't connect to this devices (in the version 0.87.x i hasn't thi problem) and disabling this custom component (removing the files on configuration and in custom_component folder) the problem persists.
I've reinstalled the pi-bluetooth library in my system (using sudo apt-get install --reinstall pi-bluetooth) and restarting the raspberry, but nothing.

I'am also using a 3 B and the internal BT, device tracking stopped working and more interestingly the whole home assistant startup hangs if I keep it in my config which caused 2 hours of headache.

In my case it can be fixed temporarily by calling hciconfig hci0 reset on the host. But sadly Bluetooth commands will stop working after a few minutes again as the device seems to be busy.
Is Home Assistant not releasing a resource or something like that? (Just a thought, my knowledge of Bluetooth LE is shallow)
Perhaps upgrading bluez could help. The version provided in the Raspbian repositories in quite old (5.43).

I've try hciconfig hci0 reset and works like @NullEnt1ty , the device connect but stop work after few minutes. Now i'm using the 0.88.2 but nothing change.

This have wrong labels and should get escalated somehow because bluetooth is a critical function for a lot of us.

i've now the 0.89.1 and eq3b component sometimes work and sometimes not work. I don't know if is a problem of library or other. Someone have see this bug?

Here another stack trace and one of two device is connected
`
Log Details (ERROR)
Fri Mar 08 2019 16:48:19 GMT+0100 (Ora standard dell’Europa centrale)
Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/eq3bt/connection.py", line 36, in enter
self._conn.connect(self._mac)
File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 408, in connect
self._connect(addr, addrType, iface)
File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 402, in _connect
"Failed to connect to peripheral %s, addr type: %s" % (addr, addrType))
bluepy.btle.BTLEException: Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api/commands.py", line 148, in handle_call_service
connection.context(msg))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1133, in async_call
self._execute_service(handler, service_call))
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1155, in _execute_service
await handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 188, in handle_service
self._platforms.values(), func, call, service_name
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 278, in entity_service_call
future.result()  # pop exception if have
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 294, in _handle_service_platform_call
await func(entity, data)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/init.py", line 564, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/eq3btsmart.py", line 122, in set_temperature
self._thermostat.target_temperature = temperature
File "/srv/homeassistant/lib/python3.5/site-packages/eq3bt/eq3btsmart.py", line 203, in target_temperature
self._conn.make_request(PROP_WRITE_HANDLE, value)
File "/srv/homeassistant/lib/python3.5/site-packages/eq3bt/connection.py", line 71, in make_request
with self:
File "/srv/homeassistant/lib/python3.5/site-packages/eq3bt/connection.py", line 40, in enter
self._conn.connect(self._mac)
File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 408, in connect
self._connect(addr, addrType, iface)
File "/srv/homeassistant/lib/python3.5/site-packages/bluepy/btle.py", line 402, in _connect
"Failed to connect to peripheral %s, addr type: %s" % (addr, addrType))
bluepy.btle.BTLEException: Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public

The bluetooth device tracker is also broken with 89.1. It finds 1 device and then it hangs.

Hi, i've try reinstalling the firmware bluetooth using this:
sudo apt-get install --reinstall bluez bluez-firmware libbluetooth3 pi-bluetooth raspberrypi-sys-mods
and now i have a connection with the eq3b components, but there is always the message
bluepy.btle.BTLEException: Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public and sometimes i can't update the status of the thermostat.
So, good but not so good :)
Someone can try with "fix" on RPI?
Thanks.

hass version 90.1 still no change, startup takes ages, finds one device and hangs after that.

Thx @majuss, i've solved using the command in my last post. Now, after two
weeks testing, all woarks and i now running the 0.90.1.
So try the reinstallation with command in my last post, maybe works :)
Maybe we can leave the issue open to collect other same
problematics......... or not :)
Il giorno sab 23 mar 2019 alle ore 12:00 majuss<EMAIL_ADDRESS>ha scritto:

hass version 90.1 still no change, startup takes ages, finds one device
and hangs after that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21348#issuecomment-475860261,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFKRGhlYmy3UmcNMMh9_qup9ZMfhDX9Oks5vZglggaJpZM4bN1j3
.

Nope still no luck. Reinstalled everything and restarted the pi, no devices are showing up in known_devices :(

In know_devices? In my system I don't use the discovery component for
Bluetooth devices, because in Eq3 component doesn't use discovery...
Right?
Il sab 23 mar 2019, 12:49 majuss<EMAIL_ADDRESS>ha scritto:

Nope still no luck. Reinstalled everything and restarted the pi, no
devices are showing up in known_devices :(
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21348#issuecomment-475863228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFKRGkWOWvTag7iACAh8fzyjO_Q0sr8Xks5vZhS-gaJpZM4bN1j3
.

Yep I'am talking about the BT device_tracker.

Ok Thx :)
Il sab 23 mar 2019, 12:55 majuss<EMAIL_ADDRESS>ha scritto:

Yep I'am talking about the BT device_tracker.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21348#issuecomment-475863645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFKRGh7lME-vXvqfCQPNlx1Gd8Wl-rgqks5vZhYqgaJpZM4bN1j3
.

Okay, big news. I got it working! It seems to be a firmware / driver problem rather than a bug in Home Assistant. Don't ask me why it started to be a problem suddenly. Maybe a bluetooth-related package upgrade caused the issues.
Anyway. I decided to move to Arch Linux, because the package sources are more bleeding edge compared to the conservative "Debian-way" that Raspbian is following (old but stable packages).
Arch Linux provides a newer version of bluez (5.50-6 at the time of writing). This version seems to be a lot more reliable regarding Bluetooth LE scans.
Here are a few specs of my new setup:

Device: Raspberry Pi 3B+
Kernel: Linux 4.19.30-2-ARCH
OS: Arch Linux ARM (ARMv7)
Bluez: 5.50-6
pi-bluetooth: 1.2_3-1

I followed these instructions to install Arch Linux on my Pi. Make sure to use the ARMv7 version. AArch64 did not work for me 100% correctly (Bluetooth was not working, system crashes, etc.).

I installed bluez 5.50 manually on raspbian (download, compile, install) but no change at all. So it's not the bluez lib alone.

reinstall bluez

I have a randon disconnection and my eq3btsmart does not work, and i have the same issue , im on latest 0.9x how did you re install the drivers? I connected using ssh but there is no  apt install command, so I'm not sure how to "update"  would you mind help me? thanks

Hi, i've try reinstalling the firmware bluetooth using this:
sudo apt-get install --reinstall bluez bluez-firmware libbluetooth3 pi-bluetooth raspberrypi-sys-mods
and now i have a connection with the eq3b components, but there is always the message
bluepy.btle.BTLEException: Failed to connect to peripheral 00:1A:22:0E:F2:BD, addr type: public and sometimes i can't update the status of the thermostat.
So, good but not so good :)
Someone can try with "fix" on RPI?
Thanks.
@jempo
I have a randon disconnection and my eq3btsmart does not work, and i have the same issue , im on latest 0.9x how did you re install the drivers? I connected using ssh but there is no apt install command, so I'm not sure how to "update" would you mind help me? thanks


Add docs about Paas Orchestrator

See: https://confluence.egi.eu/display/CSCALE/2022-03-08+WP3+minutes

What information is needed to deploy the PaaS Orchestrator at the sites?
Configuration templates for PaaS Orchestrator / recipes. Can these be made available under C-SCALE GitHub, give credit to the original creators? Fork can be made.
Documentation? Should be included in https://wiki.c-scale.eu/C-SCALE. Need to coordinated with WP5

Here is the required information to configure the PaaS Orchestrator on each site:

OpenStack cloud keystone endpoint
Name of OpenStack project
check the mapping with EGI Check-in
the allocated quota (cores, RAM, storage)

Done: https://wiki.c-scale.eu/C-SCALE/c-scale-users/getting-started#indigo-paas-orchestrator


Mention fMRIPost-AROMA in parser documentation

Closes #3355.
Changes proposed in this pull request

Add description to the deprecated ICA-AROMA argument group in the parser.

Here's what it looks like:

What does it look like with fmriprep --help?

The failures will need some commits from #3353. Don't worry about it for now.

Here's what fmriprep --help looks like locally:

The failures will need some commits from https://github.com/nipreps/fmriprep/pull/3353. Don't worry about it for now.

Awesome!

LGTM. Let's merge it.


validate proof-of-concept bias assessment run

[ ] Inspect sample run and verify that an independent evaluator can compute accuracy?
[ ] Determine how many truth samples are sufficient for next run (100 or 200 total?)
[ ] Greenlight full scale truthing exercise

Code is here:  https://github.com/neurodata/ndpaper/tree/gh-pages/spatialsynapses
Read:  https://github.com/neurodata/ndpaper/blob/gh-pages/spatialsynapses/bias_validation.md
Run: example script
Data blocks (for fun) are here:  https://drive.google.com/open?id=0B6iZJMt9RjNiRVYxVzlseE14bVU

I see.  I don't - this is a qualitative assessment.
nominally, these are 5x5x5 micron blocks, u = 1.56, std = 0.32.  And we are evaluating density estimates between these values, corresponding to this number of synapses (roughly, disregarding masking).  So far with these bounds I've been able to distinguish between the two, but it's challenging.
mean - 2stdev and mean - 1stdev:  115-155 synapses
mean + 1stdev and mean 2stdev:  235-275 synapses
We restrict to these bounds to minimize outliers created from masking errors or spurious counts.

oh sorry, i meant the estimated by your algorithm, not manually.
i want to compare you qualitative judgement with the algorithm,
rather than merely you saying that you got them all right.
does that make more sense?

I think my answer above answers this, right?  We select blocks based on densities computed from VESICLE classification...
These densities can be straightforwardly mapped to an estimated number of synapses based on block size (disregarding masking).
I'm not sure what you are asking I guess.

For now should I proceed truthing these 100 blocks?  O(1 full day of work), so prefer not to do if it's premature, but eager to get this result knocked out.

i think so.
On Wed, Aug 17, 2016 at 6:22 PM, William Gray Roncal <
<EMAIL_ADDRESS>wrote:

For now should I proceed truthing these 100 blocks? O(1 full day of work),
so prefer not to do if it's premature, but eager to get this result knocked
out.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/81#issuecomment-240567629,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjcgAWLvjSOCnaagYpdcwmBW7fAUDdks5qg4m4gaJpZM4JmxjK
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

ps - the answer to my question is a 3 column 10 row csv file, with:

id
# synapses estimated by alg
whether willgray says is high or low

blah
blah
blah

blah
blah
blah

i can get something that is pretty close - I recorded the synapse densities but not the counts.  This can be approximately mapped to count by multiplying by volume size (disregards masking).  So will do that for now!
(i don't cleanly have column 2, and at this point can't regenerate without starting over.)

ok, no clean col 2, i think no need for table. was mostly asking if i could have that.

is this "Inspect sample run and verify that an independent evaluator can compute accuracy?"
just me looking at the movies and seeing how i feel?
or doing something else (eg, running code)

let's chat about it!  I wanted you to look through a couple of the movies and see if you think the task is reasonable, and at a minimum run the sample code so that the current effort is useful.
Truthing has turned out to be very time intensive, so fingers crossed that this latest run of 100 samples is good!

ok, which sample code? there are lots of codes...

see top of issue.  :)  there's a README with a line of code to run.

ah, i see, i failed to understand that the readme provided me instructions.

oh - i see.  this whole issue was yours, so i wasn't sure what we were waiting on.  I already did mine to set all this up!

no worries, ffr, if there was a tick mark that said "run this code and tell me....", i would have known what you meant more.
no worries, i will do it asap.

it's much appreciated!  #notstoppingscience

i don't know what to do.
there is a command at the bottom of the readme file,
presumably i need to pip install something? or download some code?
can you provide more clear/explicit guidance?

clone the repo.  run the code, which is in the spatialsynapses folder.  If this is still unclear, I can do better if you tell me how.

102523260:~ jovo$ cd ~/Research/Projects/neurodata/ndpaper/
102523260:ndpaper jovo$ git pull
remote: Counting objects: 287, done.
remote: Total 287 (delta 31), reused 31 (delta 31), pack-reused 256
Receiving objects: 100% (287/287), 32.36 MiB | 5.60 MiB/s, done.
Resolving deltas: 100% (133/133), completed with 23 local objects.
From https://github.com/neurodata/ndpaper
   266be03..60d135e  gh-pages   -> origin/gh-pages
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.
102523260:ndpaper jovo$ git branch
* master
102523260:ndpaper jovo$ python evaluate_bias.py plumbing_test_0817_v1.npz plumbing_test_0817_v1_will.csv
python: can't open file 'evaluate_bias.py': [Errno 2] No such file or directory
102523260:ndpaper jovo$ ls
README.md		neurocartography	spatialsynapses
analysis		paper			store
casestudy1		parse
explore			reproducibility
102523260:ndpaper jovo$ cd spatialsynapses/
102523260:spatialsynapses jovo$ python evaluate_bias.py plumbing_test_0817_v1.npz plumbing_test_0817_v1_will.csv
python: can't open file 'evaluate_bias.py': [Errno 2] No such file or directory
102523260:spatialsynapses jovo$

can you ls for me?  I see the file when I try those steps.

nothing was there.
i was in master, not gh-pages.
so, i switched and got this

102523260:ndpaper jovo$ git branch

* gh-pages

  master

102523260:ndpaper jovo$ ls

LICENSE explore.md spatialsyn_figs.ipynb

_includes index.html spatialsynapses

_layouts javascripts spatialsynapses.md

_source neurocartography store

analysis neurocartography.md store.md

analyze.md paper stylesheets

data.md parse.md web

102523260:ndpaper jovo$ cd spatialsynapses

102523260:spatialsynapses jovo$ ls

bias_exploration_v2.ipynb plumbing_test_0817_v1_will.csv

bias_validation.md put_mask.py

evaluate_bias.py put_mask23.py

figs put_mask23_brainviz.py

get_matrix.py spatialsyn_figs.ipynb

merged_mask_v5_layer23only_DSP.csv synapse_viz.ipynb

merged_mask_v6_layerall_DSP.csv test_bock_matrix.sh

plumbing_test_0817_v1.npz

102523260:spatialsynapses jovo$ python evaluate_bias.py
plumbing_test_0817_v1.npz plumbing_test_0817_v1_will.csv

***********************************************************************

Test Run: plumbing_test_0817_v1

Test Description: 8172016 10 samples, mean -1, -2, mean +1 + 2 std, 90%
unmasked

Accuracy: 100.0%

Total Samples: 10

True Positives: 5

True Negatives: 5

False Positives: 0

False Negatives: 0

***********************************************************************

102523260:spatialsynapses jovo$

On Mon, Aug 22, 2016 at 10:18 PM, William Gray Roncal <
<EMAIL_ADDRESS>wrote:

can you ls for me? I see the file when I try those steps.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/81#issuecomment-241608096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjchL-lsMs0GKWuXI-rBZzCZmggVk0ks5qiliRgaJpZM4JmxjK
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

Hey - that's sweet!  Awesome sauce.

I think we agreed to kill master branch (it doesn't exist in the github remote).  gh-pages is default.  If you prefer a different org, complain here or open an issue and I'll fix us!

i thought so too, but it is still there.
no action necessary at this time.
On Mon, Aug 22, 2016 at 10:26 PM, William Gray Roncal <
<EMAIL_ADDRESS>wrote:

I think we agreed to kill master branch (it doesn't exist in the github
remote). gh-pages is default. If you prefer a different org, complain here
or open an issue and I'll fix us!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/81#issuecomment-241609103,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjcpDyTSXzkgqjtc7m4VM0UUerQ6b3ks5qilpFgaJpZM4JmxjK
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York


Fix notebook tests on Windows in CI

Due to https://github.com/microsoft/vscode/issues/173681, we disabled notebook tests in CI in #1249.  We'd like to re-enable them
We think it's maybe caused by save dialog

[ ] Try deleting contents of all cells to see if it doesn't create save dialog, or deleting all cells

Looks like CI started failing, rolled back #1581 in 1599

Do we want this on the shortlist? It's annoying, but not sure it's a top priority right now

I can take another crack at it someday, but probably not top priority


Update repo.xml - link incorrect

Thanks Paul - I've fixed "manually" but I did not see it before.


Updated Ancestor Metastrategy

Problem:
Projects will often contain nested elements, and sometimes when dragging an element to move / reparent / reorder it the intention is actually to apply that change to an ancestor of the selected element (e.g. in the case of

Drag Me

). We already have a strategy for doing that, but it was built before our concept of meta strategies and strategy factories had evolved to a suitable point, and so was only able to find the best fitting strategy for the ancestor and apply that.
Fix:
Replace the lookForApplicableParentStrategy with ancestorMetaStrategy. This new meta strategy will only apply when the target of the interaction is a single element with static positioning, and that element is the only child of its parent. As before, this will keep bubbling up until we reach the nearest ancestor where this isn't the case, and will then return all of the strategies applicable to that element.
As we only want the ancestor strategies to kick in when dragging the element itself (rather than dragging e.g. resize controls on the element), this PR groups together the strategies that are actually compatible with the ancestor meta strategy in canvas-strategies.tsx (creating a moveOrReorderStrategies: MetaCanvasStrategy along the way).
When the ancestor metastrategy returns applicable strategies, it alters the name (the altered name here includes a prefix stating how many levels up the hierarchy the affected element will be), increases the fitness (as these strategies should always take priority), and applies the same cursor change and target highlighting as before.
When an ancestor triggers reparenting, the startingTargetParentsToFilterOut will be invalid, which would trigger undesirable reparenting behaviour. To address this, rather than capturing those targets at the start of the interaction, we now capture them in the reparent meta strategy, and memoise it based on the starting metadata and interaction targets.
Finally, I've had to make a change to the running of the SetElementsToRerenderCommand, so that it also includes descendants of the targets. This is because otherwise the selective DOM walker will only run for the provided targets, meaning that if an ancestor strategy is being applied it won't update the live metadata for the original target being dragged (which leads to an incorrect outline control being rendered).
Note:
I did try adjusting the heuristics used to determine when the ancestor strategy should be applicable, as I was trying to check if the parent and child are contiguous elements (i.e. the frames match), but that isn't the case when a parent doesn't specify dimensions, as that leads to the parent filling the grandparent in one dimension. We previously used a check isParentZeroSized for this, but I'm not sure we still want / need that here. Either way, it is pretty easy to add in if we do want it.
Test Project:
https://utopia.pizza/p/eef4b92b-rain-buffalo/?branch_name=spike-ancestor-metastrategy

Finally, I've had to make a change to the running of the SetElementsToRerenderCommand, so that it also includes descendants of the targets. This is because otherwise the selective DOM walker will only run for the provided targets, meaning that if an ancestor strategy is being applied it won't update the live metadata for the original target being dragged (which leads to an incorrect outline control being rendered).

I worry that this has dire performance implications if you drag something that is near the root of a deep hierarchy. Instead of this change, what if you'd just blanked insert a SetElementsToRerenderCommand for the selected element in the ancestor strategy?

Finally, I've had to make a change to the running of the SetElementsToRerenderCommand, so that it also includes descendants of the targets. This is because otherwise the selective DOM walker will only run for the provided targets, meaning that if an ancestor strategy is being applied it won't update the live metadata for the original target being dragged (which leads to an incorrect outline control being rendered).

I worry that this has dire performance implications if you drag something that is near the root of a deep hierarchy. Instead of this change, what if you'd just blanked insert a SetElementsToRerenderCommand for the selected element in the ancestor strategy?

Yeah I think that sounds like a better approach, since we would only care about the selected element and the target ancestor, and no elements between (or below) them. I'll do that 👍

Didn't mean to close with that comment 😩

Finally, I've had to make a change to the running of the SetElementsToRerenderCommand, so that it also includes descendants of the targets. This is because otherwise the selective DOM walker will only run for the provided targets, meaning that if an ancestor strategy is being applied it won't update the live metadata for the original target being dragged (which leads to an incorrect outline control being rendered).

I worry that this has dire performance implications if you drag something that is near the root of a deep hierarchy. Instead of this change, what if you'd just blanked insert a SetElementsToRerenderCommand for the selected element in the ancestor strategy?

Ok I have now almost exactly this, but this ended up being a lot trickier than I had expected since that command overwrites the existing value, and sometimes we apply that command via the updateFunctionCommand, meaning that attempting to merge all instances of that command in the result becomes very brittle, and the command couldn't be changed to append to the existing value since the default starting value is 'render-all-elements'. To deal with this I've added another command AppendElementsToRerenderCommand, which will use the $apply patch function to append to the end of the existing elementsToRerender.


Dx curve file

Hi @lymereJ, I guess we have a duplicate DX curve file here?
copper/data/unitary_dx_curves.json

Keep it here since we need that as a backup file for now. But, will need to remove it after merging.

remove unitary_dx_curves.json; since we don't need that as backup (we used the one from Aowabin's data)


html report: Wrap text in

Currently, when a long, unbroken line is added to the report, text extends beyond the right edge of the browser window. In some cases (errors reported from the driver, quoting driver specs, capabilities), line is pretty long. Would be good to wrap that text to the size of the visible window.

Thanks, I will add this in the next version. Hopefully that won't take too long.

Hi, I just implemented the following solution:
The layout is fixed to the currently maximum width of 800px. <pre> tags with code blocks or stacktraces are now horizontally scrollable. I did not want to wrap these as code and stacktraces are pretty hard to read with numerous word/line wraps.
I'll probably publish the version today. ;)

Published in v0.1.5.


AfterSend: Including the original message in parameters

Only if message(key or value) is Proto type


clientv3: embedded client

In the future, some features implemented through the client may be "embedded" in the server for better performance (e.g., locks). Ideally, these features should work on the server without additional modification. Right now clientv3 expects to connect via gRPC to an etcd v3 server. In order to get good performance for the embedded case, the embedded client implementation should directly call the interfaces in api/v3rpc instead of going through grpc.

/cc @smarterclayton fyi.

done in #7444 via etcdserver/api/v3client

@heyitsanthony Do we have an example or doc to talk about how to embed client?

@xiang90 no. Is this a feature that should be advertised with examples or a doc? I think the usage is kind of straightforward, but an example could be added to v3client's doc.go...

@heyitsanthony Initially an example would be good. If people start to ask about it, we can add a doc. What do you think?

ok will add something to doc.go

xref: https://github.com/kubernetes/kubernetes/issues/43088


Not working on iPhone with a-Shell

I installed an app on my phone called "a-Shell". This app is shell that comes with clang, python, lua, vim, and some other stuff. I downloaded and ran neofetch. At first it did not work because a-Shell does not have bash. So, I changed the start of the file so that it runs with '/bin/sh'. Now whenever I run it, it just takes on input and does nothing (like running cat without any arguments). I was wondering if there is any known fix to this issue that I could use.

i'd imagine this is because the shell scripting available in bash specifically is way more feature-rich than regular sh.
you'll probably need to figure out how to get bash going in the app. i'm suprised it isn't included?


A strange global_mean/max_pool bug caused by torch_scatter

🐛 Bug
When performing global_mean_pool operation, it occurs a error as follows:
'RuntimeError: Invalid index in scatterAdd at /opt/conda/conda-bld/pytorch_1556653099582/work/aten/src/TH/generic/THTensorEvenMoreMath.cpp:523'
As for global_max_pool operation, a more complicated error occurs:
7efcc88a1000-7efcc88a2000 r--p 00025000 08:25 3674717                    /lib/x86_64-linux-gnu/ld-2.23.so
7efcc88a2000-7efcc88a3000 rw-p 00026000 08:25 3674717                    /lib/x86_64-linux-gnu/ld-2.23.so
7efcc88a3000-7efcc88a4000 rw-p 00000000 00:00 0
7ffd0f9ea000-7ffd0fa0f000 rw-p 00000000 00:00 0                          [stack]
7ffd0fb42000-7ffd0fb45000 r--p 00000000 00:00 0                          [vvar]
7ffd0fb45000-7ffd0fb47000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
I think this is mainly caused by torch_scatter's implementation.

To Reproduce
Steps to reproduce the behavior:
import torch
from torch_geometric.nn import global_mean_pool, global_max_pool

batch_idx_1 = torch.tensor([0, 0, 1, 0, 0, 1, 0, 0, 1, 0])
batch_idx_2 = torch.tensor([1, 1, 0, 1, 1, 0, 0, 0, 0, 1])
# x = torch.randn(10,2)
x = torch.Tensor([[-3.5589e-02,  5.6682e-04],
        [ 1.8057e+00,  1.3927e+00],
        [-5.2732e-01,  2.1215e-01],
        [ 1.0310e+00, -4.1751e-01],
        [-5.6693e-01, -5.2773e-02],
        [-8.8271e-01,  1.4868e-02],
        [ 1.0195e+00, -1.2755e+00],
        [-6.2838e-02,  2.0449e-01],
        [ 1.9478e-01,  6.2411e-01],
        [-4.0343e-01,  5.6862e-01]])
z1 = global_mean_pool(x, batch_idx_1)
z2 = global_mean_pool(x, batch_idx_2)

In this case, z1 will give an error, while z2 runs successfully.
What really strange is that this does not always happen.
import torch
import numpy as np
from troch_geometric.nn import global_mean_pool

batch_idx = torch.tensor(np.random.randint(2, size=100))
x = torch.randn(100,2)
z = global_mean_pool(x, batch_idx)

Some of them may result in giving an error while some are not.

Expected behavior
z1 = tensor([[ 0.3982,  0.0601],
        [-0.4051,  0.2837]])

z2 = tensor([[-0.0517, -0.0440],
        [ 0.3662,  0.2983]])

Environment

OS: Mac OS 10.14.5
Python version: 3.6
PyTorch version: 1.1.0
CUDA/cuDNN version: 10.0
GCC version: 7.3.0
Any other relevant information: torch_scatter 1.3.1

Additional context
However, if I explicitly specify the size like below, it works!
z1 = global_mean_pool(x, batch_idx_1, 2)

Are you running PyG v1.3 or master? In v1.3, global pooling expects nodes in one example to be contiguous, and the size parameter is inferred by batch[-1]. In your case, this crashes in half of all tries.

Oh, yes, I'm using PyG v1.3.0
The problem is indeed caused by size = batch[-1].item() + 1
The master' implementation size = batch.max().item() + 1 is more flexible.
Thanks!  This is a really cool package.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

in contact to part of the information that you indicate could we add a contact form?

Hi @vanbomdom can you assign me this issue


specify type of runnable in multiple done error

before:
 1) suite test1:
     Uncaught Error: done() called multiple times
      at Suite.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:2:3)
      at Object.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:1:63)
      at Array.forEach (native)
      at node.js:814:3

after:
 1) suite test1:
     Uncaught Error: done() called multiple times in `beforeEach` hook
      at Suite.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:2:3)
      at Object.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:1:63)
      at Array.forEach (native)
      at node.js:814:3

Looks like a duplicate of https://github.com/mochajs/mocha/issues/1798 since https://github.com/mochajs/mocha/pull/1889 fixes exactly that?
$ cat test/integration/fixtures/multiple.done.beforeEach.js
describe('suite', function() {
  beforeEach(function(done) {
    setTimeout(done, 10);
    setTimeout(done, 20);
  });

  it('test1', function(done) {
    setTimeout(done, 50);
  });

  it('test2', function(done) {
    setTimeout(done, 50);
  });
});
danielstjules:~/git/mocha (issue-1798)
$ ./bin/mocha test/integration/fixtures/multiple.done.beforeEach.js

  ․․․․

  2 passing (133ms)
  2 failing

  1) suite "before each" hook:
     Error: done() called multiple times
      at Hook.Runnable (lib/runnable.js:54:17)
      at new Hook (lib/hook.js:22:12)
      at Suite.beforeEach (lib/suite.js:237:14)
      at beforeEach (lib/interfaces/common.js:52:17)
      at Suite.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:2:3)
      at context.describe.context.context (lib/interfaces/bdd.js:47:10)
      at Object.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:1:63)
      at Array.forEach (native)
      at Object.<anonymous> (bin/_mocha:393:18)
      at node.js:951:3

  2) suite "before each" hook:
     Error: done() called multiple times
      at Hook.Runnable (lib/runnable.js:54:17)
      at new Hook (lib/hook.js:22:12)
      at Suite.beforeEach (lib/suite.js:237:14)
      at beforeEach (lib/interfaces/common.js:52:17)
      at Suite.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:2:3)
      at context.describe.context.context (lib/interfaces/bdd.js:47:10)
      at Object.<anonymous> (test/integration/fixtures/multiple.done.beforeEach.js:1:63)
      at Array.forEach (native)
      at Object.<anonymous> (bin/_mocha:393:18)
      at node.js:951:3

I think you were using mocha rather than /path/to/repo/mocha/bin/mocha

Note that it doesn't say suite test1: since that's misleading - instead it correctly attributes the error to suite "before each" hook:

I think you were using mocha rather than /path/to/repo/mocha/bin/mocha

Bingo. I was furthermore confused due to test helpers actually using the dev source code.


#546 Added KeyChain Fees validity check

@Pitasi what do you think is the appropriate place to put the validation code?


Make it clear what the payout is

Note: one thing that "gets lost" with this change is, that this view reflects the payout at the current price. Not sure if that needs explicit stating. But, the fact that the payout "locks in" once we go for either settlement is not immediately clear. (Out of the scope of this PR though)

bors r+

bors retry


refactor: remove inherited coercion acceptance members

Previously Angular did not inherit coercion acceptance members until we submitted an issue
on the framework side. This issue will be fixed with https://github.com/angular/angular/pull/34296.
In preparation for that change to land, this PR removes all unnecessary acceptance members and
updates the lint rule to avoid future duplications (the rule is also used to make that refactoring)

Is this blocked on a new Angular release?

@jelbourn Yes. this PR is waiting for a new Angular release since the inheritance fix just landed yesterday.

@devversion needs rebase

Done.

@mmalerba I rebased this another time. It would be nice if we can get it in since it seems to easily need a rebase (due to a lot of golden changes)