Flutter analyze ignores analysis_options.yaml glob rules.

Flutter analyze does NOT obey analysis_options.yaml glob rules. It allows only for full path excludes. (This may affect #15902 and #12726)
Steps to Reproduce
# create new app exapp; change dir to exapp
% flutter create exapp ; cd exapp

# generate analysis_options.yaml and exclude OFF/** path there
% echo -e 'analyzer:\n  exclude:\n    - OFF/**\n    - OFF/baddart.dart'> analysis_options.yaml

# make the OFF/ dir with two bad dart files in it
% mkdir OFF
% echo 'noneSuchType x = 0;'> OFF/fail.dart
% echo 'noneSuchType x = 0;'> OFF/baddart.dart

# call analyzer
% flutter analyze
    error • Undefined class 'noneSuchType' at OFF/fail.dart:1:1 • undefined_class
    1 issue found.

Logs
N/A
Flutter Doctor
    • Flutter version 0.1.5 at /testbed/lib/flutter
    • Framework revision 3ea4d06340 (4 weeks ago), 2018-02-22 11:12:39 -0800
    • Engine revision ead227f118
    • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
    • Android SDK at /testbed/lib/Android/Sdk
    • Android NDK at /testbed/lib/Android/Sdk/ndk-bundle
    • Platform android-27, build-tools 26.0.2
    • ANDROID_HOME = /testbed/lib/Android/Sdk
    • Java binary at: /testbed/lib/Android/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.0)
    • Android Studio at /testbed/lib/Android/android-studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Connected devices (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 6.0 (API 23) (emulator)

• No issues found!

Which directory contains the analysis_options.yaml and what's the exclude rule?

@zoechi Precisely as stated in the 'steps to reproduce':
file is in the fresh project dir 'exapp' and contains
analyzer:
  exclude:
    - OFF/**
    - OFF/baddart.dart

The error noneSuchType at OFF/fail.dart:1:1 tells us that while analyzer skips the OFF/baddart.dart as it should, it analyzes the fail.dart file it should not. Whole OFF/ path is excluded per - OFF/** rule. Analyzer should not step into that dir at all.

seems to be the same like this one https://github.com/dart-lang/sdk/issues/28754

@escamoteur The same cause but discussion there digressed.
Possible places of culprit are:
dart-sdk/lib/analyzer/lib/src/lint/linter.dart#122
dart-sdk/lib/analyzer/lib/source/path_filter.dart#24
dart-sdk/lib/analyzer/lib/src/util/glob.dart#39 <- Glob constructor

I am too fresh to Dart and too short of time to analyze analyzer further.

Just checked with Flutter 0.3.2 • channel dev and Framework • revision 44b7e7d3f4
Now Analyzer picks up globs from opening example.
P.S. beware of YAML formating slips (do not affect OP example).
Do we really need to fight yaml almost 20 years into XXI century? Toml or even xml, please.

It only works partially. As you can test with this project https://github.com/escamoteur/rx_command/tree/problem_with_analyzer
If I exclude the whole excample or example\lib folder it works. but if I only exclude example\lib\json it doesn't.

Probably it's this issue -> https://github.com/dart-lang/sdk/issues/28754

OK. I am reopening this. For me it mostly works, until it does not. DanTup's pointer seem relevant.

I think this should be reported in dart-lang/sdk.
I don't think this is specific to Flutter. @ohir what do you think?

Isn't this just a dupe of https://github.com/dart-lang/sdk/issues/28754?
My guess is if you put the same code into a non-Flutter .dart script and run dartanalyze on it you'll see the same thing?

1st - AFAIR it was partially resolved with some subsequent flutter/master.
Partially because paths specified in analysis_options.yaml are valid from the cwd of the tool
(from where flutter analyze ran) not from the analysis_options.yaml file location.
So either one needs to have analysis_options.yaml in the top (project) dir with paths crafted to the . and run analyze from there, or specify paths relative to lib and run analyze inside lib/ (my current usage).
I just checked above with Dart 2.0.0-dev.61.0.flutter-c95617b19c and it works as described, so I am closing this particular bug now.
So - while there are annoying quirks - there is a way to exclude subpath.
P.S. If and when someone will start to refactor analysis tool, I'd suggest the .toml for the configuration dsl.

Bot acted weird - closing again


cache: aspeed: Fix typo of CACHE_ENABLE bit

Fix the typo "CCHE_EANABLE" in cache_instr_line_size_get.
Fixes: 74e1b1781a84 ("cache: aspeed: Rework driver")

I compiled and tested this driver when I first committed c880db1725a2.  Then I found this typo at commit 74e1b1781a84.

I compiled and tested this driver when I first committed c880db1. Then I found this typo at commit 74e1b17.

lol, so it was my fault then :smile: well, sorry for that.


Regenerate talent client

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/google-cloud-clients/google-cloud-talent/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:9aed6bbde54e26d2fcde7aa86d9f64c0278f741e58808c46573e488cbf6098f0
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/talent/artman_talent_v4beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java.
synthtool > Running java formatter on 64 files
synthtool > Running java formatter on 7 files
synthtool > Running java formatter on 240 files
synthtool > Cleaned up 1 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Combined into a single pull request #5850


change to new CHANGELOG generator. Mine :)

Change the CHANGELOG generator from the third-party Ruby-based one to my own project written in Python.
github-changelog.md

We're currently processing your upload.  This comment will be updated when the results are available.


SNS Asset Canister page

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[x] You have updated the .github/CODEOWNERS file according to your changes.
[x] You have registered new documents to /sidebars.js if any.

Note the tests seem to be failing


provider fails to create the dynatrace_log_buckets resource with Error: Given property 'bucketName' with value

Describe the bug
Sometimes, when creating a "dynatrace_platform_bucket" and a dynatrace_log_buckets resource in the same terraform code, the provider will fail to create the dynatrace_log_buckets with the following error:
│ Error: Given property 'bucketName' with value: 'example1' Selected bucket does not exist. Please select a valid bucket or drop the matched logs using the "Don't store in a bucket" option.
│ Given property 'bucketName' with value: 'example1' is not a valid value in datasource. Value must be one of [default_logs_drop, default_logs]
│
│   with dynatrace_log_buckets.k8s_namespace_buckets["example1"],
│   on bucket.tf line 83, in resource "dynatrace_log_buckets" "k8s_namespace_buckets":
│   83: resource "dynatrace_log_buckets" "k8s_namespace_buckets" {
│

Waiting a few minutes, and then running the code again will allow the dynatrace_log_buckets resource to be created. Alternatively, adding a time_sleep.delay_after_bucket_creation with a  create_duration of 300ms reliability avoids the issue
To Reproduce
Steps to reproduce the behavior:

Run the below sample code
This seems to be a bit of a timing issue, you may have to run a few times to see the issue

Expected behavior
All resources should be created
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Environment
Terraform version:  1.9.1
Provider version: 1.63.0
Sample code
variable "namespace_buckets" {
  type = set(string)
  default = [
    "example1",
    "example2",
  ]
}

resource "dynatrace_platform_bucket" "k8s_namespace_buckets" {
  for_each     = var.namespace_buckets
  name         = each.value
  display_name = "Bucket for example ${each.value}"
  retention    = 35
  table        = "logs"
}

resource "dynatrace_log_buckets" "k8s_namespace_buckets" {
  depends_on  = [dynatrace_platform_bucket.k8s_namespace_buckets]
  for_each    = var.namespace_buckets
  enabled     = true
  bucket_name = dynatrace_platform_bucket.k8s_namespace_buckets[each.key].id
  matcher     = "matchesValue(product, \"${each.value}\")"
  rule_name   = "Product equals ${each.value}"
}

Hi @tkightly,
I believe this is related to issue #382, but it looks like that documentation was never added to the registry. The next update will contain an update to the dynatrace_platform_bucket resource with the snippet below. Let us know if the variables below resolves your issue, thanks!

Environment Variables (Optional)
There may be a delay for this resource to be fully available as a dependency for a subsequent resource. E.g. Utilizing this resource and dynatrace_log_buckets together.
A default polling mechanism exists to validate the creation but may require tweaking due to load. The following environment variables can be used to fine tune these settings.

DT_BUCKETS_RETRIES (Default: 180, Max: 360) configures the maximum attempts to confirm that the operation (create, update or delete) has succeeded and was completed on the server side. There is a two second delay between consecutive attempts, therefore the check completes with at most 720 seconds with the maximum setting.
DT_BUCKETS_NUM_SUCCESSES (Default: 10, Max: 50) configures the number of successful consecutive retries expected, this applies to creating the resource only.

Hi @kishikawa12
Reading the mentioned issue, it does sound like they are related.
I will try the suggestion and report back.

Hi @tkightly,
I'll close this ticket for the time being, please feel free to reopen if the above solution doesn't resolve your issue. Thanks!

@tkightly Awesome, great to hear! Thank you for the follow-up


list of needed hardware - prototype 1

Important Tools

access to a 3D printer
access to a laser cutter
soldering equipment

All of these parts are just what I had laying around my workshop.

Electronics

This list is not yet complete

Raspberry Pi Pico
2x LCD 16x2 Displays
1x Joystick module
1x Sliding potentiometer
1x Linear potentiometer 100k
1x Speaker/Buzzer
8x Push buttons
5x Switches with 3 positions
2x On/Off Switch
Jumper wires
PCBs and protoboards

3D Printed Parts

Attitude Control Parts

Joystick handle and hand rest

Joystick Adapters for potentiometer and joystick module

Throttle Lever Parts

Handle and Handle adapter

Interfaces parts with the sliding potentiometer

I had to model these interface parts because I don't have enough regular rotating potentiometers.

Internals

Raspberry Pi Pico support

Attitude control joystick support

Speaker support

3D Printed clamps (they clamp the kontroller to the desk)

Laser Cut Parts

Enclosure Parts (Left, right, front, back, bottom and panels)

other parts

lots of rubber bands / elastic for sewing (not really sewing)
a sock
super glue

This is open source for all to use, obviously, not everybody on the planet has a bunch of junk in their workshop to make something like this.

Having said that, since this is open source, if you are going to make something based on this project, you should have all the skills to edit the provided files in this repository to fit your needs and what you have.
(adding more stuff while I work out what this release needs)

added to documentation
Wiki


Increase scan interval and window to 100 ms

Scan interval defines the frequency that the scanner hops between advertising channels. Periodically switching has the advantage of avoiding possible interference on those channels.
However, in practice scanning hardware (like a BLE dongle) have blind regions when switching channels where they cannot receive packets. According to a recent paper, these blind regions can be as long as milliseconds (depending on hardware and configurations). So, increasing the time between scanner frequency hops should result in an increased advertisement reception rate.
Adjusting the scan interval and window to 100 ms is an arbitrary choice. It felt sufficiently high, without lingering on a channel for too long.
This pull request was tested by running examples/advertisement-discovery.js for several seconds to check that BLE advertisements are still being discovered.

Came across something to quantify this a bit today in other research. Looks like the nrf family takes ~800 us to switch listening channels.
For a 20 ms scan interval, this means that almost 5% of the time the radio isn't listening at all. Upping to a 100 ms interval would drop this to 1%.

https://stackoverflow.com/questions/37307301/ble-scan-interval-windows-10/46653226#46653226
So for windows:

The scan parameters are hardcoded to a scan interval of 118.125 ms and scan window of 18.125 ms.


Documentation/op-guide: add docker:// to 'rkt run gcr.io'

Fix https://github.com/coreos/etcd/issues/8549.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@bcbf184). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8572   +/-   ##
=========================================
  Coverage          ?   75.66%
=========================================
  Files             ?      357
  Lines             ?    29293
  Branches          ?        0
=========================================
  Hits              ?    22166
  Misses            ?     5569
  Partials          ?     1558

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 bcbf184...94e563e. Read the comment docs.


Remove blank page between tables 24 and 25

"I'll just knock this one off before leaving for the night....". Sounded so easy, turns out to not be. Will come back to it at some point if I don't succeed.

The exec-summary ones will get done once we finalise the text (since tables/figures can move around in that).


Error 403

Error:
JSON Query to api/v1/media/2382353258200128313/info/: HTTP error code 403. [retrying; skip with ^C]
JSON Query to api/v1/media/2382353258200128313/info/: HTTP error code 403. [retrying; skip with ^C]
JSON Query to api/v1/media/2382353258200128313/info/: HTTP error code 403. Unable to fetch high quality image version of .
Targets.PERSON\2020-08-23_21-37-41_UTC.jpg exists [sunsets;)] unchanged geo
JSON Query to graphql/query: Redirected to login [retrying; skip with ^C]
Requests within last 10/11/20/22/30/60 minutes grouped by type:
other:    3    3    3    3    3    3
iphone:    3    3    3    3    3    3
aaaa:    1    1    1    1    1    1

bbbb:    1    1    1    1    1    1
Instagram responded with HTTP error "429 - Too Many Requests". Please
do not run multiple instances of Instaloader in parallel or within
short sequence. Also, do not use any Instagram App while Instaloader
is running.
The request will be retried in 666 seconds, at 00:47.
HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/accounts/login/

I am not on my phone or anything just instaloader is running

Welcome to the community! Please see Reporting Bugs for how to report a bug. There is little chance to understand an issue if the requested information is missing.

Welcome to the community! Please see Reporting Bugs for how to report a bug. There is little chance to understand an issue if the requested information is missing.

Welcome to the community! Please see Reporting Bugs for how to report a bug. There is little chance to understand an issue if the requested information is missing.

Welcome to the community! Please see Reporting Bugs for how to report a bug. There is little chance to understand an issue if the requested information is missing.


Implement tensors function for Operator types

Currently the tensors function is not implemented for Operator types. @mofeing argues that it is not easy to implement tensors for Operators when the input and output sites do not match (e. g. SpacedMatrixProductOperator). I think that currently both MPO and PEPO only support the same input/output sites, so maybe we could just implement that (as #78 intended).

Related code moved to Qrochet.jl.


Can't add file in ios (Add the .xcodeproj file)

I can't add .xcodeproj in this location node_modules/react-native-device-info as mentioned in documentation.
I have projectname.xcodeproj file but inactive state... can't select why anybody tell me.

did you try react-native link instead of the manual steps?

I had the same issues

Closing this issue as no feedback was provided. @Zadvornyi please open a new issue if you're still facing the same problem.


2.11/s3: Benchmarking seaweedfs/s3 via hsbench causes runtime error: invalid memory address or nil pointer dereference

I have set up a SeaweedFS cluster with the following components:
3x master (weed master -mdir=/data -volumePreallocate -volumeSizeLimitMB=1024 -ip=10.132.0.xx -mdir=/data -peers=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333)
4x volume (weed volume -dir=/data -max=0 -ip=10.132.0.xx -mserver=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333 -dataCenter=dc -rack=rack -dir=/data)
4x filer+s3 (weed filer -ip=10.132.0.xx -master=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333 -peers=<IP_ADDRESS>:8888,<IP_ADDRESS>:8888,<IP_ADDRESS>:8888,<IP_ADDRESS>:8888 -s3)
The deployment is dockerized (using the chrislusf/seaweedfs Docker image), so please don't be confused about data being held in /data for all processes - these are actually disjunct.
The cluster is deployed on four GCE n1-standard-8 instances (8 vCPUs, 30 GB RAM) with local NVMe attached as storage, which is formatted with XFS and used to host the data of the volume container.
The filer is configured to use leveldb2 as filer store:
[leveldb2]
enabled = true
dir = "/data"

Describe the bug
When hitting the cluster with a synthetic benchmark using hsbench (see below for the benchmark script), the filer processes start reporting null-pointer de-references after a while:
2020/11/17 18:46:30 http: panic serving <IP_ADDRESS>:47610: runtime error: invalid memory address or nil pointer dereference
goroutine 4136287 [running]:
net/http.(*conn).serve.func1(0xc00284cdc0)
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/net/http/server.go:1801 +0x147
panic(0x1d4f6c0, 0x3228030)
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/runtime/panic.go:975 +0x47a
github.com/chrislusf/seaweedfs/weed/s3api.(*S3ApiServer).proxyToFiler(0xc00048c5b0, 0x2452da0, 0xc00d9bef20, 0xc021cd6a00, 0xc03307a4e0, 0x5e, 0x212fae8)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/s3api/s3api_object_handlers.go:269 +0x89d
github.com/chrislusf/seaweedfs/weed/s3api.(*S3ApiServer).DeleteObjectHandler(0xc00048c5b0, 0x2452da0, 0xc00d9bef20, 0xc021cd6a00)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/s3api/s3api_object_handlers.go:125 +0x2eb
github.com/chrislusf/seaweedfs/weed/s3api.track.func1(0x245a5a0, 0xc02a0b2620, 0xc021cd6a00)
        /home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/s3api/stats.go:34 +0x23c
net/http.HandlerFunc.ServeHTTP(0xc00aa841a0, 0x245a5a0, 0xc02a0b2620, 0xc021cd6a00)
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/net/http/server.go:2042 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc00a9ca0c0, 0x245a5a0, 0xc02a0b2620, 0xc01422f500)
        /home/travis/gopath/pkg/mod/github.com/gorilla/mux@v1.7.4/mux.go:210 +0xd3
net/http.serverHandler.ServeHTTP(0xc0006b82a0, 0x245a5a0, 0xc02a0b2620, 0xc01422f500)
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc00284cdc0, 0x2464860, 0xc019359cc0)
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
        /home/travis/.gimme/versions/go1.15.5.linux.amd64/src/net/http/server.go:2969 +0x36c

System Setup

Ubuntu 20.04 Linux instance-seaweedfs-0 5.4.0-1029-gcp #31-Ubuntu SMP Wed Oct 21 19:38:01 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Docker 19.03.8
output of weed version: version 30GB 2.11 98827d6 linux amd64
if using filer, show the content of filer.toml

# A sample TOML config file for SeaweedFS filer store
# Used with "weed filer" or "weed server -filer"
# Put this file to one of the location, with descending priority
#    ./filer.toml
#    $HOME/.seaweedfs/filer.toml
#    /etc/seaweedfs/filer.toml

####################################################
# Customizable filer server options
####################################################
[filer.options]
# with http DELETE, by default the filer would check whether a folder is empty.
# recursive_delete will delete all sub folders and files, similar to "rm -Rf"
recursive_delete = false
# directories under this folder will be automatically creating a separate bucket
buckets_folder = "/buckets"
buckets_fsync = [          # a list of buckets with all write requests fsync=true
        "important_bucket",
        "should_always_fsync",
]

####################################################
# The following are filer store options
####################################################

[leveldb2]
# local on disk, mostly for simple single-machine setup, fairly scalable
# faster than previous leveldb, recommended.
enabled = true
dir = "/data"                                       # directory to store level db files

[mysql]  # or tidb
# CREATE TABLE IF NOT EXISTS filemeta (
#   dirhash     BIGINT         COMMENT 'first 64 bits of MD5 hash value of directory field',
#   name        VARCHAR(1000)  COMMENT 'directory or file name',
#   directory   TEXT           COMMENT 'full path to parent directory',
#   meta        LONGBLOB,
#   PRIMARY KEY (dirhash, name)
# ) DEFAULT CHARSET=utf8;

enabled = false
hostname = "localhost"
port = 3306
username = "root"
password = ""
database = ""              # create or use an existing database
connection_max_idle = 2
connection_max_open = 100
interpolateParams = false

[postgres] # or cockroachdb
# CREATE TABLE IF NOT EXISTS filemeta (
#   dirhash     BIGINT,
#   name        VARCHAR(65535),
#   directory   VARCHAR(65535),
#   meta        bytea,
#   PRIMARY KEY (dirhash, name)
# );
enabled = false
hostname = "localhost"
port = 5432
username = "postgres"
password = ""
database = ""              # create or use an existing database
sslmode = "disable"
connection_max_idle = 100
connection_max_open = 100

[cassandra]
# CREATE TABLE filemeta (
#    directory varchar,
#    name varchar,
#    meta blob,
#    PRIMARY KEY (directory, name)
# ) WITH CLUSTERING ORDER BY (name ASC);
enabled = false
keyspace="seaweedfs"
hosts=["<IP_ADDRESS>:9042", "<IP_ADDRESS>:9042", "<IP_ADDRESS>:9042"]
username=""
password=""

[redis2]
enabled = false
address  = "localhost:6379"
password = ""
database = 0

[redis_cluster2]
enabled = false
addresses = [
    "localhost:30001",
    "localhost:30002",
    "localhost:30003",
    "localhost:30004",
    "localhost:30005",
    "localhost:30006",
]
password = ""
# allows reads from slave servers or the master, but all writes still go to the master
readOnly = true
# automatically use the closest Redis server for reads
routeByLatency = true

[etcd]
enabled = false
servers = "<IP_ADDRESS>:2379,<IP_ADDRESS>:2379,<IP_ADDRESS>:2379"
timeout = "3s"

[mongodb]
enabled = false
uri = "mongodb://localhost:27017"
option_pool_size = 0
database = "seaweedfs"

[elastic7]
enabled = false
servers = [
    "http://localhost1:9200",
    "http://localhost2:9200",
    "http://localhost3:9200",
]
username = ""
password = ""
sniff_enabled = false
healthcheck_enabled = false
# increase the value is recommend, be sure the value in Elastic is greater or equal here
index.max_result_window = 10000

Expected behavior
The filer process does not crash.

wait

Added a fix for this nil error. You can get the updates in this image docker pull chrislusf/seaweedfs:dev now.
btw: The image is usually 15 minutes after the code commits.
Thanks for the benchmark scripts. This would be very useful!

This benchmark script seems only hitting the s3 endpoints one by one instead of in parallel? Just to confirm.

Your test with 300 threads seems really high.
Here is the result from my local laptop, to an external SSD with NAND Flash & USB 3.1 Gen 2.
benchmark$ hsbench -a accesstoken -s secret -z 4K -d 10 -t 10 -b 10 -u http://localhost:8333 -m "cxipgdx" -bp "hsbench-"
2020/11/17 12:40:22 Hotsauce S3 Benchmark Version 0.1
2020/11/17 12:40:22 Parameters:
2020/11/17 12:40:22 url=http://localhost:8333
2020/11/17 12:40:22 object_prefix=
2020/11/17 12:40:22 bucket_prefix=hsbench-
2020/11/17 12:40:22 region=us-east-1
2020/11/17 12:40:22 modes=cxipgdx
2020/11/17 12:40:22 output=
2020/11/17 12:40:22 json_output=
2020/11/17 12:40:22 max_keys=1000
2020/11/17 12:40:22 object_count=-1
2020/11/17 12:40:22 bucket_count=10
2020/11/17 12:40:22 duration=10
2020/11/17 12:40:22 threads=10
2020/11/17 12:40:22 loops=1
2020/11/17 12:40:22 size=4K
2020/11/17 12:40:22 interval=1.000000
2020/11/17 12:40:22 Running Loop 0 BUCKET CLEAR TEST
2020/11/17 12:40:22 Loop: 0, Int: TOTAL, Dur(s): 0.0, Mode: BCLR, Ops: 0, MB/s: 0.00, IO/s: 0, Lat(ms): [ min: 0.0, avg: 0.0, 99%: 0.0, max: 0.0 ], Slowdowns: 0
2020/11/17 12:40:22 Running Loop 0 BUCKET DELETE TEST
2020/11/17 12:40:22 Loop: 0, Int: TOTAL, Dur(s): 0.0, Mode: BDEL, Ops: 0, MB/s: 0.00, IO/s: 0, Lat(ms): [ min: 0.0, avg: 0.0, 99%: 0.0, max: 0.0 ], Slowdowns: 0
2020/11/17 12:40:22 Running Loop 0 BUCKET INIT TEST
2020/11/17 12:40:22 Loop: 0, Int: TOTAL, Dur(s): 0.0, Mode: BINIT, Ops: 10, MB/s: 0.00, IO/s: 3301, Lat(ms): [ min: 1.7, avg: 2.5, 99%: 2.9, max: 2.9 ], Slowdowns: 0
2020/11/17 12:40:22 Running Loop 0 OBJECT PUT TEST
2020/11/17 12:40:24 Loop: 0, Int: 0, Dur(s): 1.0, Mode: PUT, Ops: 2775, MB/s: 10.84, IO/s: 2775, Lat(ms): [ min: 1.4, avg: 3.5, 99%: 42.7, max: 114.4 ], Slowdowns: 0
2020/11/17 12:40:24 Loop: 0, Int: 1, Dur(s): 1.0, Mode: PUT, Ops: 3617, MB/s: 14.13, IO/s: 3617, Lat(ms): [ min: 1.4, avg: 2.8, 99%: 24.4, max: 87.9 ], Slowdowns: 0
2020/11/17 12:40:25 Loop: 0, Int: 2, Dur(s): 1.0, Mode: PUT, Ops: 3551, MB/s: 13.87, IO/s: 3551, Lat(ms): [ min: 1.3, avg: 2.8, 99%: 24.6, max: 58.4 ], Slowdowns: 0
2020/11/17 12:40:26 Loop: 0, Int: 3, Dur(s): 1.0, Mode: PUT, Ops: 4019, MB/s: 15.70, IO/s: 4019, Lat(ms): [ min: 1.3, avg: 2.5, 99%: 5.7, max: 96.0 ], Slowdowns: 0
2020/11/17 12:40:27 Loop: 0, Int: 4, Dur(s): 1.0, Mode: PUT, Ops: 3852, MB/s: 15.05, IO/s: 3852, Lat(ms): [ min: 1.4, avg: 2.6, 99%: 5.8, max: 54.3 ], Slowdowns: 0
2020/11/17 12:40:28 Loop: 0, Int: 5, Dur(s): 1.0, Mode: PUT, Ops: 3998, MB/s: 15.62, IO/s: 3998, Lat(ms): [ min: 1.4, avg: 2.5, 99%: 5.2, max: 60.0 ], Slowdowns: 0
2020/11/17 12:40:29 Loop: 0, Int: 6, Dur(s): 1.0, Mode: PUT, Ops: 3935, MB/s: 15.37, IO/s: 3935, Lat(ms): [ min: 1.3, avg: 2.4, 99%: 5.4, max: 50.5 ], Slowdowns: 0
2020/11/17 12:40:30 Loop: 0, Int: 7, Dur(s): 1.0, Mode: PUT, Ops: 3935, MB/s: 15.37, IO/s: 3935, Lat(ms): [ min: 1.4, avg: 2.6, 99%: 23.3, max: 47.6 ], Slowdowns: 0
2020/11/17 12:40:31 Loop: 0, Int: 8, Dur(s): 1.0, Mode: PUT, Ops: 3872, MB/s: 15.12, IO/s: 3872, Lat(ms): [ min: 1.3, avg: 2.6, 99%: 22.2, max: 48.9 ], Slowdowns: 0
2020/11/17 12:40:32 Loop: 0, Int: 9, Dur(s): 1.0, Mode: PUT, Ops: 3761, MB/s: 14.69, IO/s: 3761, Lat(ms): [ min: 1.4, avg: 2.7, 99%: 6.0, max: 52.6 ], Slowdowns: 0
2020/11/17 12:40:32 Loop: 0, Int: TOTAL, Dur(s): 10.0, Mode: PUT, Ops: 37325, MB/s: 14.58, IO/s: 3732, Lat(ms): [ min: 1.3, avg: 2.7, 99%: 22.3, max: 114.4 ], Slowdowns: 0
2020/11/17 12:40:32 Running Loop 0 OBJECT GET TEST
2020/11/17 12:40:33 Loop: 0, Int: 0, Dur(s): 1.0, Mode: GET, Ops: 4769, MB/s: 18.63, IO/s: 4769, Lat(ms): [ min: 1.0, avg: 2.0, 99%: 3.0, max: 105.2 ], Slowdowns: 0
2020/11/17 12:40:34 Loop: 0, Int: 1, Dur(s): 1.0, Mode: GET, Ops: 4999, MB/s: 19.53, IO/s: 4999, Lat(ms): [ min: 1.1, avg: 2.0, 99%: 3.0, max: 104.5 ], Slowdowns: 0
2020/11/17 12:40:35 Loop: 0, Int: 2, Dur(s): 1.0, Mode: GET, Ops: 4771, MB/s: 18.64, IO/s: 4771, Lat(ms): [ min: 1.1, avg: 2.1, 99%: 3.0, max: 48.1 ], Slowdowns: 0
2020/11/17 12:40:36 Loop: 0, Int: 3, Dur(s): 1.0, Mode: GET, Ops: 4790, MB/s: 18.71, IO/s: 4790, Lat(ms): [ min: 1.0, avg: 2.1, 99%: 3.1, max: 67.3 ], Slowdowns: 0
2020/11/17 12:40:37 Loop: 0, Int: 4, Dur(s): 1.0, Mode: GET, Ops: 4795, MB/s: 18.73, IO/s: 4795, Lat(ms): [ min: 1.1, avg: 2.0, 99%: 3.1, max: 29.7 ], Slowdowns: 0
2020/11/17 12:40:38 Loop: 0, Int: 5, Dur(s): 1.0, Mode: GET, Ops: 4593, MB/s: 17.94, IO/s: 4593, Lat(ms): [ min: 1.1, avg: 2.1, 99%: 3.2, max: 40.0 ], Slowdowns: 0
2020/11/17 12:40:39 Loop: 0, Int: 6, Dur(s): 1.0, Mode: GET, Ops: 4650, MB/s: 18.16, IO/s: 4650, Lat(ms): [ min: 1.1, avg: 2.1, 99%: 3.2, max: 29.1 ], Slowdowns: 0
2020/11/17 12:40:40 Loop: 0, Int: TOTAL, Dur(s): 7.8, Mode: GET, Ops: 37325, MB/s: 18.65, IO/s: 4775, Lat(ms): [ min: 1.0, avg: 2.1, 99%: 3.1, max: 105.2 ], Slowdowns: 0
2020/11/17 12:40:40 Running Loop 0 OBJECT DELETE TEST
2020/11/17 12:40:41 Loop: 0, Int: 0, Dur(s): 1.0, Mode: DEL, Ops: 302, MB/s: 1.18, IO/s: 302, Lat(ms): [ min: 20.8, avg: 32.7, 99%: 52.3, max: 54.6 ], Slowdowns: 0
2020/11/17 12:40:42 Loop: 0, Int: 1, Dur(s): 1.0, Mode: DEL, Ops: 307, MB/s: 1.20, IO/s: 307, Lat(ms): [ min: 21.4, avg: 32.2, 99%: 54.0, max: 55.8 ], Slowdowns: 0
2020/11/17 12:40:43 Loop: 0, Int: 2, Dur(s): 1.0, Mode: DEL, Ops: 311, MB/s: 1.21, IO/s: 311, Lat(ms): [ min: 19.8, avg: 32.2, 99%: 51.5, max: 53.3 ], Slowdowns: 0
2020/11/17 12:40:44 Loop: 0, Int: 3, Dur(s): 1.0, Mode: DEL, Ops: 309, MB/s: 1.21, IO/s: 309, Lat(ms): [ min: 20.5, avg: 32.7, 99%: 65.4, max: 68.2 ], Slowdowns: 0
2020/11/17 12:40:45 Loop: 0, Int: 4, Dur(s): 1.0, Mode: DEL, Ops: 310, MB/s: 1.21, IO/s: 310, Lat(ms): [ min: 21.7, avg: 32.3, 99%: 62.5, max: 65.0 ], Slowdowns: 0
2020/11/17 12:40:46 Loop: 0, Int: 5, Dur(s): 1.0, Mode: DEL, Ops: 302, MB/s: 1.18, IO/s: 302, Lat(ms): [ min: 22.4, avg: 32.8, 99%: 72.8, max: 74.9 ], Slowdowns: 0
2020/11/17 12:40:47 Loop: 0, Int: 6, Dur(s): 1.0, Mode: DEL, Ops: 300, MB/s: 1.17, IO/s: 300, Lat(ms): [ min: 23.5, avg: 33.4, 99%: 44.3, max: 48.5 ], Slowdowns: 0
2020/11/17 12:40:48 Loop: 0, Int: 7, Dur(s): 1.0, Mode: DEL, Ops: 295, MB/s: 1.15, IO/s: 295, Lat(ms): [ min: 23.7, avg: 33.9, 99%: 46.3, max: 60.4 ], Slowdowns: 0
2020/11/17 12:40:49 Loop: 0, Int: 8, Dur(s): 1.0, Mode: DEL, Ops: 299, MB/s: 1.17, IO/s: 299, Lat(ms): [ min: 20.5, avg: 33.4, 99%: 52.2, max: 54.2 ], Slowdowns: 0
2020/11/17 12:40:50 Loop: 0, Int: 9, Dur(s): 1.0, Mode: DEL, Ops: 304, MB/s: 1.19, IO/s: 304, Lat(ms): [ min: 22.7, avg: 32.5, 99%: 47.7, max: 50.4 ], Slowdowns: 0
2020/11/17 12:40:50 Loop: 0, Int: TOTAL, Dur(s): 10.0, Mode: DEL, Ops: 3049, MB/s: 1.19, IO/s: 305, Lat(ms): [ min: 19.8, avg: 32.8, 99%: 59.0, max: 74.9 ], Slowdowns: 0
2020/11/17 12:40:50 Running Loop 0 BUCKET DELETE TEST
2020/11/17 12:40:52 Loop: 0, Int: 0, Dur(s): 1.0, Mode: BDEL, Ops: 0, MB/s: 0.00, IO/s: 0, Lat(ms): [ min: 0.0, avg: 0.0, 99%: 0.0, max: 0.0 ], Slowdowns: 0
2020/11/17 12:40:52 Loop: 0, Int: TOTAL, Dur(s): 1.4, Mode: BDEL, Ops: 10, MB/s: 0.00, IO/s: 7, Lat(ms): [ min: 1216.6, avg: 1332.1, 99%: 1377.8, max: 1377.8 ], Slowdowns: 0

Excellent, thanks a lot! I can no longer reproduce the error with the dev tag. There may still be problems for 4MiB file size with 30 concurrent requests, but I have not yet analyzed the error. After doing so I will probably open another ticket.


Contributing

Thanks for making this mod, the settings menu is excellent! I've been making a number of tweaks of my own but not wanted to release a whole mod, so I figured it was best to just submit them to you for inclusion; especially because this is likely the best way to get them distributed.
I don't want to create extra work for you or propose more changes if you wanted to maintain this primarily as a personal project, so it'd be good to know where you stand on contributions.

Yeah, I'm definitely open to contributions. Maybe not anything major as I like to be able to read it and know how it works before merging - helps with maintaining down the line.
Now that I've finished working on the settings menu, I'll be merging open pull requests. I do appreciate the help!

Happy to help you out! Thanks for your work


Video on/off (both)

Icon Request
I have already created both icons to use meanwhile, so I'm sharing them with you: https://drive.google.com/drive/folders/1HfHuhU_upGPKwd_cA4RcY0YazAvL7TCF?usp=sharing

Icon name: video-line
Tags of this icon: video, on, cam, camera, line
Use case: video is on during a videocall
Screenshots of similar icons: https://drive.google.com/file/d/1aqvQFXZQoGkZdAuCXwqWHp7B9-uskUmd/view?usp=sharing

Icon name: video-off-line
Tags of this icon: video, off, cam, camera, line
Use case: video is off during a videocall
Screenshots of similar icons: https://drive.google.com/file/d/1ouM1-JIEWfIlX_NTI6wyhqsJ5HbT7R9X/view?usp=sharing

Your design is excellent, and we will add it in the next version.
There are too many issues in history, and we are gradually addressing them.


Use of NSNotificationCenter seems redundant

I can spot no benefit to having the CFNotificationCenter callback post a NSNotificationCenter notification. It should be able to just call didReceiveMessageNotification directly, no?

For whatever reason, listening for and posting the notification seems to be more reliable when I've tested it. I'm not sure why.
There's a slight side benefit to testing by having it in there. Darwin notifications don't seem to be delivered to the sender, so you can test some of MMWormhole's functionality by simulating a message with the NSNotificationCenter. See the Example project's tests for an example.


Guidelines for naming community packages / modules

Is your feature request related to a problem? Please describe.
Currently, community code modules (and their functions) aren't named consistently.
E.g. a code 'hermite0' has a function 'HermiteInterface'; 'bhtree' has 'BHTreeInterface'; 'phiGRAPE' has 'PhiGRAPEInterface'.
It would be preferable to have consistent naming for all of these, especially now that we are moving to a modularly installable AMUSE.
Describe the solution you'd like
I propose that:

modules are always named with lowercase only (there are very few exceptions anyway)

the functions should be in either UpperCamelCase or lowerCamelCase (Upper would be most in line with the current situation but lower looks better in my opinion). No additional capitalisation should be used, even if this is the "proper" name of the code (e.g. 'BHTreeInterface' would become 'BhtreeInterface' or 'bhtreeInterface').

the name of the module is used exactly in the functions they provide (e.g. 'hermite0' should have 'Hermite0Interface'/'hermite0Interface', or 'hermite' should have 'HermiteInterface'/'hermiteInterface'. If additional functions are provided (e.g. in 'fi'), they also use this name followed by an additional description (e.g. 'FiMapInterface'/'fiMapInterface').

numbers in the name should be avoided, unless we (expect to) support multiple concurrent (and incompatible?) versions of that code

Current modules and functions not in line with this should import the new names, while displaying a deprecation warning. I see no harm in keeping these names around for the foreseeable future, but we should encourage the stricter naming and not accept new codes not adhering to this.

Related to this would be the naming of packages on PyPI, for which I'm not yet sure what is the best naming scheme (consider possible packages could be from 'community' as well as 'ext', and possibly other *muse projects).
Simplest would be e.g. 'amuse-bhtree', but other options could be 'muse-amuse-bhtree', 'amuse-community-bhtree' and things I did not yet consider...
I'd welcome comments to all of this (@ipelupessy @stevemcmillan @spzwart)

Note that pep8 recommends function names should be written with underscores (e.g. 'hermite_interface'; 'fi_map_interface') and not CamelCase (https://www.python.org/dev/peps/pep-0008/#function-and-variable-names).
I would be happy with this choice (it would be consistent with other Python projects and that's generally a good idea), but it would be a more radical departure from the current situation. I'm not sure how others feel about this.

the interfaces (low and high level) are not functions but classes. Some names, eg BHTree do follow camel case convention since its recommended that acronyms in camel case are fully capitalized..not to say current names are best...lets hear what others think..

You're right of course, classes not functions. Then more of the current names will still be fine probably.

Sorry for the late response.  I think that the lowercase-only name should always be a legal way to reference a module.  Beyond that, I don’t care what other crazy capitalization is used (BHtree, SimpleX, etc.), just so long as I know that the lowercase spelling will work.  However, the original names should be retained so we don’t break anyone’s scripts.
I do agree that the interface name should always be consistent with the module name.
Numbers are not necessarily versions, though — for example, the 4 in ph4 refers to the order of the integrator.  I could easily imagine extending it to ph6, so the 4 and 6 are meaningful and necessary.  Hermite0 is an oddball.  Since we don’t have a Hermite, we could perhaps rename it (but preserving Hermite0 as an alias).  The 0 really means that it is a rather primitive shared-tilmestep integrator.  Not the best naming scheme, I agree…
I don’t like deprecation messages, but we should try to ensure that all new modules follow our guidelines.
Steve
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On Apr 16, 2019, at 9:22 AM, Steven Rieder<EMAIL_ADDRESS>wrote:
Is your feature request related to a problem? Please describe.
Currently, community code modules (and their functions) aren't named consistently.
E.g. a code 'hermite0' has a function 'HermiteInterface'; 'bhtree' has 'BHTreeInterface'; 'phiGRAPE' has 'PhiGRAPEInterface'.
It would be preferable to have consistent naming for all of these, especially now that we are moving to a modularly installable AMUSE.
Describe the solution you'd like
I propose that:
modules are always named with lowercase only (there are very few exceptions anyway)
the functions should be in either UpperCamelCase or lowerCamelCase (Upper would be most in line with the current situation but lower looks better in my opinion). No additional capitalisation should be used, even if this is the "proper" name of the code (e.g. 'BHTreeInterface' would become 'BhtreeInterface' or 'bhtreeInterface').
the name of the module is used exactly in the functions they provide (e.g. 'hermite0' should have 'Hermite0Interface'/'hermite0Interface', or 'hermite' should have 'HermiteInterface'/'hermiteInterface'. If additional functions are provided (e.g. in 'fi'), they also use this name followed by an additional description (e.g. 'FiMapInterface'/'fiMapInterface').
numbers in the name should be avoided, unless we (expect to) support multiple concurrent (and incompatible?) versions of that code
Current modules and functions not in line with this should import the new names, while displaying a deprecation warning. I see no harm in keeping these names around for the foreseeable future, but we should encourage the stricter naming and not accept new codes not adhering to this.
Related to this would be the naming of packages on PyPI, for which I'm not yet sure what is the best naming scheme (consider possible packages could be from 'community' as well as 'ext', and possibly other *muse projects).
Simplest would be e.g. 'amuse-bhtree', but other options could be 'muse-amuse-bhtree', 'amuse-community-bhtree' and things I did not yet consider...
I'd welcome comments to all of this (@ipelupessy https://github.com/ipelupessy @stevemcmillan https://github.com/stevemcmillan @spzwart https://github.com/spzwart)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5Q7uiCaSa80DwMVEq-IM7fTU60aE2Eks5vhc6igaJpZM4cyOsS.

Thanks Steve.
PR #409 (https://github.com/amusecode/amuse/pull/409 https://github.com/amusecode/amuse/pull/409) is an attempt at fixing this.
One problem is that phiGRAPE cannot be renamed while also keeping the old name for backwards compatibility, since the only difference is in capitalisation...
I'm not sure what the best approach is - we could rename it to e.g. phi_grape, phigpu or something and keep the old name for compatibility, but I don't like that approach.
We could also just rename and let anyone relying on phigrape make a small adjustment to their scripts...
Or we could keep the name as it is and be inconsistent.

Not sure I understand -- phiGRAPE and phigrape are different in Python, aren’t they?
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:25 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
Thanks Steve.
PR #409 (https://github.com/amusecode/amuse/pull/409 https://github.com/amusecode/amuse/pull/409) is an attempt at fixing this.
One problem is that phiGRAPE cannot be renamed while also keeping the old name for backwards compatibility, since the only difference is in capitalisation...
I'm not sure what the best approach is - we could rename it to e.g. phi_grape, phigpu or something and keep the old name for compatibility, but I don't like that approach.
We could also just rename and let anyone relying on phigrape make a small adjustment to their scripts...
Or we could keep the name as it is and be inconsistent.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488739270, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3WV5YYLMNCXX7XNNG3PTMIW3ANCNFSM4HGI5MJA.

…and won’t that also be true of Hermite and BHtree?
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:25 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
Thanks Steve.
PR #409 (https://github.com/amusecode/amuse/pull/409 https://github.com/amusecode/amuse/pull/409) is an attempt at fixing this.
One problem is that phiGRAPE cannot be renamed while also keeping the old name for backwards compatibility, since the only difference is in capitalisation...
I'm not sure what the best approach is - we could rename it to e.g. phi_grape, phigpu or something and keep the old name for compatibility, but I don't like that approach.
We could also just rename and let anyone relying on phigrape make a small adjustment to their scripts...
Or we could keep the name as it is and be inconsistent.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488739270, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3WV5YYLMNCXX7XNNG3PTMIW3ANCNFSM4HGI5MJA.

Yes - but some filesystems that we support can't deal with directories that differ in capitalisation only, so this can cause very annoying problems.

Ah — MacOS included!  Now I get it — I thought the changes would only apply to naming schemes in Python, but of course the directory is part of the module specification.  But don’t we already have the convention that the directories are lowercase?  I thought we did, in which case phiGRAPE appears to be the only exception.  I think we should enforce that convention and live with breaking a few scripts.  I don’t know if there are many anyway.
Steve
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:36 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
Yes - but some filesystems that we support can't deal with directories that differ in capitalisation only, so this can cause very annoying problems.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488743171, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3XS4V6QDMLEJV6PO43PTMKBTANCNFSM4HGI5MJA.

no - the modules aren't named that way, just the class (and for classes capitalisation is allowed/recommended)

We have 25 references to phiGRAPE in the examples directory.
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:45 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
Correct - phiGRAPE is the only exception, by mistake. I think it's not a problem to fix it and just deal with possible broken scripts if they arise (I don't think there will be many cases).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488745998, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3VSC5UQB64YCWXYTIDPTMLBJANCNFSM4HGI5MJA.

Actually, 15 to phiGRAPE and 10 to phigrape, in 15 files.
./textbook/gravity_potential.py
./textbook/gravity_drifter.py
./textbook/old_evolve_triple_with_wind.py
./textbook/gravity_gravity_old.py
./textbook/gravity_gravity.py
./simple/galactic_center_in_code.py
./simple/pythagorean.py
./simple/galactic_center.py
./syllabus/gravity_potential.py
./applications/test_plummer_sphere_on_grid.py
./applications/test_smallcluster_async.py
./applications/test_smallcluster.py
./applications/validate_bridge.py
./validation/particles_and_gas_in_cluster.py
./validation/particles_and_multiples.py
Does anyone use a GRAPE now?
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:50 PM, Steve McMillan<EMAIL_ADDRESS>wrote:
We have 25 references to phiGRAPE in the examples directory.
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS><EMAIL_ADDRESS>
On May 2, 2019, at 12:45 PM, Steven Rieder<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Correct - phiGRAPE is the only exception, by mistake. I think it's not a problem to fix it and just deal with possible broken scripts if they arise (I don't think there will be many cases).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488745998, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3VSC5UQB64YCWXYTIDPTMLBJANCNFSM4HGI5MJA.

Nearly done renaming them all in the PR :).

PR?
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:54 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
Nearly done renaming them all in the PR :).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488749180, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3UHOS36WS7SHYJ5O23PTMMDXANCNFSM4HGI5MJA.

pull request (https://github.com/amusecode/amuse/pull/409 https://github.com/amusecode/amuse/pull/409)

Ah — sorry!
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 12:58 PM, Steven Rieder<EMAIL_ADDRESS>wrote:
pull request (https://github.com/amusecode/amuse/pull/409 https://github.com/amusecode/amuse/pull/409)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488750774, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3SJK2DMJBGMOW7JFYDPTMMVHANCNFSM4HGI5MJA.

Does anyone use a GRAPE now?

phigrape is also gpu enabled (saporro)

Isn’t that phigpu?
Stephen L. W. McMillan
Department Head and Professor of Physics, Drexel University
+1<PHONE_NUMBER>/2723, FAX +1<PHONE_NUMBER><EMAIL_ADDRESS>
On May 2, 2019, at 2:11 PM, ipelupessy<EMAIL_ADDRESS>wrote:
Does anyone use a GRAPE now?
phigrape is also gpu enabled (saporro)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/amusecode/amuse/issues/399#issuecomment-488775123, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPFB3QCVGFGUBBA5RICZFTPTMVEXANCNFSM4HGI5MJA.

Definitely the amuse phigrape works with gpus.


fix(frontend)  support utf-8 charset

It seems that StringEntity should be changed to UTF-8 encoding to support non-English full name
#6960
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

This fix makes sense to me! thanks for the contribution @lutongzero i have one question about a change you made though.
Can you explain the issue that you're specifically trying to fix here, though? As in what's not working?

When signup a new user, if the fullname is not in the ISO-8859-1 character set, such as in non-Latin languages like Chinese or Japanese, it may cause garbled characters to appear.

When signup a new user, if the fullname is not in the ISO-8859-1 character set, such as in non-Latin languages like Chinese or Japanese, it may cause garbled characters to appear.

okay thanks! i thought that was the case but just wanted to be clear we were on the same page.


Handle tables with hyphens in their name

Currently, tables with hyphens in their name generate interfaces with hyphens in their name.
This is handled together with table names with periods in them.

I dont know enough to implement the logic and tests :p

Can't you generate Typescript interfaces with hyphens and periods anyway? https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgCJzHARnAzigbwChlkBtAckywBsIBaEOAWwgoF0AuZAVxAGsQAewDuIANwlyVbHQB0TVh259BoiUQC+RIA

Published in<EMAIL_ADDRESS>


What best secure rules can work with this library? HELP

Everything is working fine, but Firebase Realtime Database rules are
{
"rules": {
".read": true,
".write": true
}
}
I need to make it secure.
So i need your help to  figure out what best secure rules will work with this library.

When you use database secret with this client, your device can read and write access to your database without restriction by read and write rules because database secret  is always by-pass these rules.
I can't recommend about read and write options, because it can be any up on your implementation, especially when you also use it for other clients with the Firebase SDK e.g. web, android, iOS, java, php and unity.

Okay I'll try and update here.
Thanks

You 're not need to update. This is info what you should know.


test pybids_reports CLI on all bids examples

Tried and it started to fail pretty quickly

the current test we have only runs on a subset of datasets
so we may miss things like this
pybids_reports bids-examples/7t_trt /home/remi/github/bids/pybids-reports
[16:04:52] WARNING  File not found or empty:                                                                                parsing.py:395
                     ['sub-01/ses-1/anat/sub-01_ses-1_T1w.nii.gz']
           WARNING  File not found or empty:                                                                                parsing.py:395
                     ['sub-01/ses-1/fmap/sub-01_ses-1_run-1_phasediff.nii.gz']
Traceback (most recent call last):
  File "/home/remi/github/bids/pybids-reports/env/bin/pybids_reports", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/cli.py", line 124, in cli
    counter = report.generate()
              ^^^^^^^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/report.py", line 179, in generate
    descriptions.append(self._report_subject(subject=sub, **kwargs))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/report.py", line 226, in _report_subject
    ses_description = parsing.parse_files(
                      ^^^^^^^^^^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parsing.py", line 349, in parse_files
    group_description = fmap_info(layout, group, config)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parsing.py", line 235, in fmap_info
    "intended_for": parameters.intendedfor_targets(metadata, layout),
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/ext/reports/parameters.py", line 196, in intendedfor_targets
    run_num = int(if_file.run)
                  ^^^^^^^^^^^
  File "/home/remi/github/bids/pybids-reports/env/lib/python3.11/site-packages/bids/layout/models.py", line 234, in __getattr__
    raise AttributeError("%s object has no attribute named %r" %
AttributeError: BIDSImageFile object has no attribute named 'run'

can currently run with no crash on dataset starting with: asl ds00 eeg meg ieeg pet
running on dataset bids-examples/asl004
pybids_reports bids-examples/asl004 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/asl003
pybids_reports bids-examples/asl003 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/asl001
pybids_reports bids-examples/asl001 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/asl005
pybids_reports bids-examples/asl005 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/asl002
pybids_reports bids-examples/asl002 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds003
pybids_reports bids-examples/ds003 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds000248
pybids_reports bids-examples/ds000248 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds007
pybids_reports bids-examples/ds007 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds001
pybids_reports bids-examples/ds001 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds006
pybids_reports bids-examples/ds006 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds005
pybids_reports bids-examples/ds005 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds002
pybids_reports bids-examples/ds002 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds004332
pybids_reports bids-examples/ds004332 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds000117
pybids_reports bids-examples/ds000117 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds000247
pybids_reports bids-examples/ds000247 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds000246
pybids_reports bids-examples/ds000246 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds008
pybids_reports bids-examples/ds008 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds000001-fmriprep
pybids_reports bids-examples/ds000001-fmriprep /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ds009
pybids_reports bids-examples/ds009 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_ds003645s_hed_demo
pybids_reports bids-examples/eeg_ds003645s_hed_demo /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_matchingpennies
pybids_reports bids-examples/eeg_matchingpennies /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_face13
pybids_reports bids-examples/eeg_face13 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_ds003645s_hed_library
pybids_reports bids-examples/eeg_ds003645s_hed_library /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_cbm
pybids_reports bids-examples/eeg_cbm /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_rest_fmri
pybids_reports bids-examples/eeg_rest_fmri /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_rishikesh
pybids_reports bids-examples/eeg_rishikesh /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/eeg_ds000117
pybids_reports bids-examples/eeg_ds000117 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_epilepsy
pybids_reports bids-examples/ieeg_epilepsy /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_epilepsyNWB
pybids_reports bids-examples/ieeg_epilepsyNWB /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_visual_multimodal
pybids_reports bids-examples/ieeg_visual_multimodal /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_visual
pybids_reports bids-examples/ieeg_visual /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_filtered_speech
pybids_reports bids-examples/ieeg_filtered_speech /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_epilepsy_ecog
pybids_reports bids-examples/ieeg_epilepsy_ecog /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/ieeg_motorMiller2007
pybids_reports bids-examples/ieeg_motorMiller2007 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/pet003
pybids_reports bids-examples/pet003 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/pet001
pybids_reports bids-examples/pet001 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/pet004
pybids_reports bids-examples/pet004 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/pet002
pybids_reports bids-examples/pet002 /home/remi/github/bids/pybids-reports/tools --verbosity 0

running on dataset bids-examples/pet005
pybids_reports bids-examples/pet005 /home/remi/github/bids/pybids-reports/tools --verbosity 0


Poor text rendering in native windows on Linux

This seems to be more than just a character spacing issue.  Sometimes the characters are rendered cleanly, other times not.
Gtoolkit: 101cd3e
OS: Ubuntu 18.04

See #832


Add a method to create a new File object from an actual file

Something like File::from_file or File::load_from.

I'll take a stab at this if you like (:


JAVA-1903: Add WhiteListPolicy.fromHosts

For JAVA-1903
Motivation:
Similarly to Cluster.Builder.addContactPoints(String ...) it would be
convenient for WhiteListPolicy to support a similar mechanism of
providing hostnames to resolve IP addresses from to be considered
for host selection.
Modifications:
Add WhiteListPolicy.fromHosts to create a WhiteListPolicy that uses
DNS to resolve IP addresses to be considered.
Result:
WhiteListPolicy can now be created from hostname(s).

Thank you both for reviewing.  I have processed feedback and pushed a new commit, 29a58a9.


locationupdates sample uses deprecated API

android.test.ActivityInstrumentationTestCase2 was deprecated in API level 24.
According to https://developer.android.com/reference/android/test/ActivityInstrumentationTestCase2.html ,  need to use ActivityTestRule instead.

This code has been removed.


gleam: 1.1.0 -> 1.2.0

Description of changes

The increment mainly introduces error handling improvements.
I  have also added myself as a maintainer of this package.
Changelogs for the package update:

https://github.com/gleam-lang/gleam/compare/v1.1.0...v1.2.0
https://gleam.run/news/fault-tolerant-gleam/

Things done

Built on platform(s)

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

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

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

1 package built:

gleam


[My resources page] Translation bug on category deletion modal

Description: Deletion title is not displayed correctly
Environment: Windows 11 x64, Firefox Developer Edition 119.0b6.
Reproducible: always.
Preconditions:
The https://s2s-front-stage.azurewebsites.net/ site is opened.
The user is logged in as a Tutor.
Steps to reproduce:

Click "My Resources" in the navigation bar.
Select "Categories" tab.
Delete category.

Actual result:
Previous item was duplicated, when we added new one.

Expected result:
P.s: No need to change description

Could you assign me to this?


Crash when setting an advance pushDate on a PFPush

There is an incorrect assertion meaning that most attempts to schedule a push in the future will crash. I have added a fix and unit tests in #790, was not sure if I also needed to create an issue.

No need for an issue if you have a PR open. Thanks for fixing this!


Add "Video" button to session and adapt design accordingly

A number of events have videos. Please add a video button to the schedule as below.

@mariobehling since the track button, video button and slides button would do the same job (collapse in the div - in expandable session type), can we embed them in the same div itself?


Add podspec

Thanks for the great library. I found it very enjoyable to use!
If you find this podspec acceptable, can you submit it to Cocoapods?

Great idea!  Once we work out PR #3 I'll integrate cocoapods!

Do you have any experience with Swift and cocoapods?  I'm having trouble getting this published.  If youd like to see what im seeing, checkout master and run 'pod lib lint'
if you dont have any ideas, ill open an issue and continue to look for a solution.  Hopefully we can get it up on cocoapods!

I've published a couple of Objective-C pods but I haven't published a Swift pod yet.
Linting the pod seems to work for me:
❯ pod lib lint

 -> SwiftClient (1.0.0)

SwiftClient passed validation.

Can you paste your output?

Wow, you are right! It turns out I had a couple of different versions of cocoapods installed. Linting worked great with the latest.  Thanks for checking that out.

Thanks for all your help!  Swiftclient v1 is up on cocoapods now!

Awesome! Thanks for all your work.


Add possibility to get JSON data as API request

For better integration with other platforms, can you please add possibility to request sites.json as API request?
Example would be a password manager that would query JDM to get the info on how to delete the account.

I'd be fine with us providing this. Thoughts? @tupaschoal @PyroSamurai

If it's the whole sites.json seems ok, though I'm not willing to implement it myself :p
Are there any password managers that you're thinking about integrating it into or is it just wishful thinking?

plug away @Nightfirecat

I guess I could just pull the https://raw.githubusercontent.com/jdm-contrib/jdm/master/_data/sites.json
was thinking maybe for future something like https://justdeleteme.xyz/sites.json could be nicer

That's what the other people seeking to use our json file did ddg api request.
That link you suggested isn't possible on a github site, direct linking without "raw" subdomain is not possible.

For the time being, I think that's the approach we'd recommend.


More user friendly feedback when no glob pattern is provided

When calling the CLI with --glob-pattern option w/o providing one there should be more user friendly feedback on what has gone wrong.

Closed with 4ce4266fcf48ddc0bd598f07b800edd9e8d20ee5.


get latest version of app using install.sh

Hello,
Thanks for the contribution,
I tried to run the version getting command below on linux and mac
curl https://api.github.com/repos/bilgehannal/foldercode-cli/releases/latest|grep '"tag_name": '|cut -d 'v' -f 2|cut -d '"' -f 1

Unfortunately, it is not running on MacOS, it should be run on MacOS also.
Can we use wget instead of curl. Reason is below:

wget is more basic tool, some linux distros may have wget as opposed to curl
wget is using in installing, in the installing.sh, lets keep using wget, using two different tool for same purpose increases the dependency.

Can you check again, i use wget this time

btw, watch out back slash after "latest" word you should delete it because on macOS it puts back slash automatically. Normally there is no back slash on code. Thats why it is not working

Alright,
It works like a charm, I am merging then, Iam going to close this issue.
Thanks for the contribution.


Retry getting annotations for http errors

Ensure we retry getting annotations if we get an HTTP error (ie a non-200 status code).
On my machine the first time I start promtimer on a set of data it opens a webpage and then throws an exception due to getting a 404 for the annotations. There's already retry logic so I've just made it catch this exception as well.

Closing as the actual issue was #32


Follow roslyn team scripting discussions.

Currently the Roslyn team is discussing script over @ dotnet/roslyn#122. It'd be worth keeping an I on what they do, as it might affect Cake.

Ah, great link. Thanks!


The format do nothing!

VSCode Version: Code - Insiders 1.11.0-insider (bc9a7bb1f90557c271c39628b5a3cdd7dfbc750c, 2017-03-30T08:11:58.005Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions: none

Steps to Reproduce:

Open file, such as the attach img.
right click , select 'format document', nothing happend!
but when i use the stable version of vs code, the 'format document' is correct!

@ziben Could check if there is anything in the devtools' console (Help > Toggle Developer Tools)?

@ziben What are your indentation settings? Would you expect line 17 to be outdented or line 16 to be indented? (Could be the same as #23765.)

@chrmarti I can confirm the bug. When run Format document command nothing happens and it produces no output on console. However, when I launch VSCode, this is on the console.
extensionHost.ts:284 [Extension Host] Looking for parseable documents...
extensionHost.ts:284 [Extension Host] Found all parseable documents.
extensionHost.ts:284 [Extension Host] Parsing documents and looking for CSS class definitions...
extensionHost.ts:284 [Extension Host] Sumary:
extensionHost.ts:284 [Extension Host] 0 parseable documents found
extensionHost.ts:284 [Extension Host] 0 CSS class definitions found
extensionHost.ts:284 [Extension Host] 0 unique CSS class definitions found
extensionHost.ts:284 [Extension Host] 0 failed attempts to parse. List of the documents:
extensionHost.ts:284 [Extension Host]

@ErikCupal Could you post example code that demonstrates the problem? I'd like to make sure it is the same problem as #23765.

@chrmarti Yes, it looks that's the problem
This code:
export  const   isLastRound=(round: number):boolean=> round    === 8

Is formatted to:
export  const   isLastRound = (round: number): boolean => round    === 8

It adds necessary whitespaces, but doesn't remove the redundant ones.

I agree, that's the same issue. Thanks.

@chrmarti  Thanks a lot , and sorry about late,  there is nothing in the console.  What I expected is line 17 to be outdented.

That's #23765 then, thanks. Closing as duplicate.


Cannot send/transfer particl to another address

on the particl copay app, it won't let me send funds to another wallet, after i add the recipient, theres red text that says "Please enter the amount"
I enter the amount, but the green box that says "Continue", remains unclickable.
sometimes, after entering the amount multiple times or closing and starting the app (i have no idea how to reproduce it) the green box is clickable (but it is clickable whether or not i have entered an amount) and after waiting a minute or two i get this page regardless if I inputted an amount

Know y'all are busy, any help is appreciated!

Can you try doing it without multiple recipients?

Okay, I tried sending without multiple recipients and it worked. I thought that "add recipient" was sending to one recipient or more. I am dumb. Thank you.


build_library/torcx_manifest: omit newlines

Omit the newline for each function that returns only a single value.
This does not change each function that returns multiple values as those
are expected, by the caller, to be newline delimited values.
Before this change, the consumer of 'local_store_path' specifically
ended up with bad behavior of including a newline in the on-disk
filename.
Fortunately, the symlink included that newline as well, so it didn't
break things, but it did mean the filepath differed from the one
declared in the manifest slightly.
Pending a full ./build_package && ./bulid_image cycle to verify this didn't break anything obvious.

I don't think, after some manual fiddling, this was actually the issue.


[Auto-generated] Update dependencies

Update dependencies
Automatically created PR from ci/dependabot-updates.
For more information see the "Dependabot updates" workflow.
To-do

[ ] Check that the diff is sensible, and that tests and builds pass with the new dependency versions.
[ ] Make sure that the PR is squash merged, with a sensible commit message.

Codecov Report

Merging #65 (c729c72) into master (af11a44) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   68.11%   68.11%
=======================================
  Files          15       15
  Lines         414      414
=======================================
  Hits          282      282
  Misses        132      132

Flag
Coverage Δ

pytest
68.11% <ø> (ø)

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

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 af11a44...c729c72. Read the comment docs.


Test ERC20 support with 5-10 popular tokens on rinkeby

Make sure that all code that works on CI also works on live networks.
This may involved revistiing #816 to use etherscan if the logs are not available

For testing we're a bit limited to tokens that we have access to (via faucets or similar). Those are the ones we are using

[x] Wrapped Ether (WETH): get tokens via deposit method
[x] Avocado (AVO): get tokens via this faucet contract
[ ] Test Golem Network Token (tGNT): there is a create() function in the token contract (see this transaction) and we can possibly call it

More items for this list are highly welcome

That list is also good enough to close this issue... 5-10 may have been overkill, just wanted to capture if there were important differences "in the wild"

Another nice set of test token contracts: https://ethereum.stackexchange.com/a/68072


Update language-support.md

Removed the escape "" left behind after the removal of the * character for Chinese-Simplifed, French and German languages under NER.

@ashly1yeo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the updates.
@ashly1yeo - Thanks for these fixes.


domParser performance

Consider switching from domParser to document.createRange().createContextualFragment() on modern browsers.
With small html strings the performance increases are quite large. The attached test shows createContextualFragment completing in around 10% of the time it takes domParser.
For large test strings (like an entire webpage) there is smaller but still significant gains (createContextualFragment completing in 65-85% of the of the time it takes domParser).
(all numbers from chrome 79).
https://jsperf.com/html-string-to-dom-node

Closing this since I think I'm going to keep things as-is for now.


Add gnupg to debian9-64

Jenkins, test this please

@mcanevet You'll need to update the spec test here to include gnupg:
https://github.com/puppetlabs/beaker-hostgenerator/blob/c691b742d1004676c758e220ab322fc323c3b80c/test/fixtures/per-host-settings/every-hypervisor.yaml#L54

@smcelmurry  done

Jenkins, retest this please


Support for automatic Gzipping of request payloads or kwarg to enable gzip on demand

I have been recently struggling to figure out how to send Gzipped payloads through boto3/botocore (full story and my current solution here: How to send gzipped requests with boto3).
While doing all this research, I realized that it could be quite convenient to have some level of support for gzipping payloads directly in boto3/botocore.
I have 2 ideas in mind, for all APIs that support gzipped payloads (like CloudWatch PutMetricData):

Automatic gzip. If gzip is supported, why not doing that transparently at the request level? Maybe we could use some heuristic (payload size) to determine whether there's a real convenience (CPU vs network cost) in gzipping.
On-demand gzip. We could simply have a kwarg called something like GzipPayload=True and let the user enable that explicitly on a per-request basis.

I think both approaches would certainly increase the DX for this specific need.
Thoughts?

Thanks for the feature request, @lmammino. This was requested for the AWS CLI a while back as well:
https://github.com/aws/aws-cli/issues/1131

Linking related issue: https://github.com/boto/botocore/issues/1255

There was a recent announcement related to this issue: https://aws-blogs-prod.amazon.com/developer/new-default-payload-compression-for-amazon-cloudwatch-putmetricdata-with-the-aws-sdks/.

Hi @lmammino thanks for catching that - that is the official link, I went ahead and updated the links above to reflect that.


feat: LG editor improvements (part 1)

Description
This PR adds the following features to LG editing UX:

Option to switch between code editor and response editor.
Deep link to LG page to edit a template.
Toolbar for better template/property/function discovery.
LG template discovery menu with search.
Property tree discovery menu with search.
Built-in expression function discovery menu with search.
Placeholder for response editor.
Fixes existing typos in relevant files.

Task Item
closes #5569
#5570
Screenshots
https://user-images.githubusercontent.com/1483492/106064616-0129ec00-60af-11eb-93e1-dfe31a47d518.mp4

Wow!

Wow!

Coverage decreased (-0.008%) to 54.467% when pulling 51cfeb13d13666017e77b879b75ee9e76184d52b on hatpick:sorgh/lg_stuff into 1843aca51e712c2807cda8efe7519a7977d3142b on microsoft:main.

Coverage decreased (-0.008%) to 54.467% when pulling 51cfeb13d13666017e77b879b75ee9e76184d52b on hatpick:sorgh/lg_stuff into 1843aca51e712c2807cda8efe7519a7977d3142b on microsoft:main.


Clean up dataset exports from ui

Added a cronjob to leader that runs every N days that will delete *zip and *csv files


[question] Adapting existing multires panorama to Pannellum

I'm having a bit of a difficulty transitioning a multires panorama to Pannellum due to the cube resolution not being proportional across all levels of zoom. It seems to me that I can't implement the current multires into Pannellum without scaling cubes up or down, and re-splitting them into new tiles, depending on the tile resolution wanted. But let's assume that I want to use the current tiles with maximum size of 512px. Please give me an opinion on the best way to handle it giving the current multires panorama details:

1. level1

f0_0 (512x512) + f0_1 (256x512)
f1_0 (512x256) + f1_1 (256+256)
level1_total_tiles = 24
level1_tileResolution = 512
level1_cubeResolution = 768

2. level2

f0_0 (512x512) through f2_2 (512x512)
level2_total_tiles = 54
level2_tileResolution = 512
level2_cubeResolution = 1536

3. level3

f0_0 (512x512) through f5_5 (512x512)
level3_total_tiles = 216
level3_tileResolution = 512
level3_cubeResolution = 3072

4. level4

f0_0 (512x512) through f10_10 (512x512)
f11_0 (512x256) through f11_10 (512x256) + f11_11 (256x256)
level4_total_tiles = 864
level4_tileResolution = 512
level4_cubeResolution = 5888

Both of the solutions I came up with involve this:

Assuming the level 1 cube resolution of 768px, I need to rescale every cube to:
((tilesNeeded/6)*768)/2^(zoomLevel-1)
Applying this to level 4, for example, would mean rescaling a cube from 5888px to 6144px:
((384/6)*768)/2^(4-1) = 6144
And then I could split every cube into 384 tiles of 768px.

Assuming the current maximum tile size of 512px, I would need to rescale the level 1 cube to 512px and on other levels rescale every cube to:
((tilesNeeded/6)*512)/2^(zoomLevel-1)
Applying this to level 2, for example, would mean rescaling a cube from 1536px to 1024px:
((24/6)*512)/2^(2-1) = 1024
And then I could split every cube into 24 tiles of 512px.

I don't know what else can be done and honestly that's why I submitted this issue (question), I can't figure out any sensible approach that would let me use the current tiles as they are without any kind of transformation.
Thanks for your suggestions.

The multires renderer is built using the assumption that each subsequent zoom level has four times the number of tiles as the previous zoom level; when the zoom level increases, each tile is replaced with four new tiles. As such, the renderer would need major changes to be able to support tiles such as yours.

Yes, that's what I figured, but thought that I wasn't seeing the full picture (no pun intended).
In retrospective, it was a silly question but thank you for clearing it up anyway.


Web app for deployment

Web3 web application for deployment of DApps using the IIPFSDAppFactory or a IPayableDAppFactory.
Uses a web3 wallet library, for integration with Metamask and other wallets.

Mantine is nice. 🚀

Closing this PR as now we are focusing on the web app only and this is all part of the PR #235


Login admin after session end bug

I left my project open overnight and when I tried to change page in the admin I guess my session had ended and it wanted me to login again. I got the following pop up on my page. But once I clicked on it, it opened a new tab with the correct login page.

Thanks! I've noticed this one before too.
I guess we could tweak "is logged in check" to return a 403 error instead of redirecting for AJAX requests.

This also happens with the AJAX explorer menu.

Partially fixed by #3046 - AJAX requests now return a 403 error in this situation. The calling code now needs updating to recognise this and respond accordingly (possibly by opening a modal login box).

I believe this is now better covered by #5048. Closing.


Pre-commit hook: python3 instead of python3.9

I'm mostly using Python 3.10 locally and for CI linting, and currently it fails like this:
[INFO] Initializing environment for https://github.com/asottile/pyupgrade.
[INFO] Initializing environment for https://github.com/PyCQA/isort.
[INFO] Initializing environment for https://github.com/isidentical/teyit.
[INFO] Initializing environment for https://github.com/pre-commit/pygrep-hooks.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/isidentical/teyit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/runner/work/tablib/tablib/.tox/lint/bin/python', '-mvirtualenv', '/home/runner/.cache/pre-commit/repostlq81p2/py_env-python3.9', '-p', 'python3.9')
return code: 1
expected return code: 0
stdout:
    RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.9'

stderr: (none)
Check the log at /home/runner/.cache/pre-commit/pre-commit.log
ERROR: InvocationError for command /home/runner/work/tablib/tablib/.tox/lint/bin/pre-commit run --all-files (exited with code 3)

Setting just python3 should be enough. For example, compare https://github.com/PyCQA/isort/blob/c6a41965247a858a0afd848fbebfca18b8983917/.pre-commit-hooks.yaml.

One thing to note is that, teyit requires 3.9+ to work. From what I can assume python3 would mean any supported Python version, no?

The pre-commit docs say language_version is for when "you only want to run the hooks on a specific version", not for setting a minimum version:

https://pre-commit.com/index.html#overriding-language-version

Let's look at isort again. It supports Python 3.6+ but sets language_version: python3.
And Black also supports Python 3.6, but they removed language_version: python3 (https://github.com/psf/black/pull/2430).
Similarly, https://github.com/pre-commit/pre-commit-hooks/blob/main/.pre-commit-hooks.yaml doesn't specify language_version.

Because language_version is to define a specific version, if we had teyit specifying 3.9, isort specifying 3.6, and let's imagine another specifying 3.7.
See the error in the first message.
To fix it, I'd need to split the CI into three different linting runs on the CI, each only running for a specific Python version.
And to commit locally, I'd potentially need three versions of Python installed when 3.10 should be enough.

I see. Let's merge it as is then, thanks for the explanation @hugovk!

Thanks!

language_version has to be completely removed from hook definition in order to use default_language_version in .pre-commit-config.yaml.


Go Float64 precision compared to MSSQL DECIMAL(19,7) and Go big.Float

Describe the bug
It seems the Go float64 somehow is not compatible with MSSQL both DECIMAL(19,7) and float.
I can not completely describe what's the problem, but basically somehow using 38 digits for float64 numbers either works or does not work depending on the number of decimals for those numbers. I am not sure this is a Go or a MSSQL problem, but see below my example code to reproduce the issue.

Why the following code works from 1.2345652333312345887766667899999876565 to<PHONE_NUMBER>33.12345887766667899999876565 and it stops working at the next iteration<PHONE_NUMBER>331.2345887766667899999876565)?
Is this a problem with this ODBC driver (I guess it would need to include Go big.Float) or is this a problem with MSSQL on Azure?

AFAIK the "float ISO standard" should be the same for both Go and MSSQL, but it seems it's not, so I am a bit confused.
To Reproduce
I am basically trying to run these SQL templates where XXX is picked from a slice of numbers each one with 38 digits, but different lengths for the decimals:

SELECT CAST(XXX AS DECIMAL(19,7))
SELECT CONVERT(float, CAST(XXX AS DECIMAL(19,7)))

Run the following as go run main.go after replacing the connection details to an Azure SQL Database:
package main

import (
	"database/sql"
	"fmt"
	"log"
	"math/big"

	_ "github.com/denisenkom/go-mssqldb"
)

const name = "XXX"
const password = "XXX"
const server = "XXX.database.windows.net"
const user = "XXX"
const odbcTemplate = "server=%s;user id=%s;password=%s;database=%s" // ;log=63

var sqlTemplates = []string{
	"SELECT CAST(%s AS DECIMAL(19,7))",
	"SELECT CONVERT(float, CAST(%s AS DECIMAL(19,7)))",
}

var sqlStuff = []string{
	"1.2345652333312345887766667899999876565",
	"12.345652333312345887766667899999876565",
	"123.45652333312345887766667899999876565",
	"1234.5652333312345887766667899999876565",
	"12345.652333312345887766667899999876565",
	"123456.52333312345887766667899999876565",
	"1234565.2333312345887766667899999876565",
	"12345652.333312345887766667899999876565",
	"123456523.33312345887766667899999876565",
	"1234565233.3312345887766667899999876565",
	"12345652333.312345887766667899999876565",
	"123456523333.12345887766667899999876565",
	"1234565233331.2345887766667899999876565",
	"12345652333312.345887766667899999876565",
	"123456523333123.45887766667899999876565",
	"1234565233331234.5887766667899999876565",
	"12345652333312345.887766667899999876565",
	"123456523333123458.87766667899999876565",
	"1234565233331234588.7766667899999876565",
	"12345652333312345887.766667899999876565",
	"123456523333123458877.66667899999876565",
	"1234565233331234588776.6667899999876565",
	"12345652333312345887766.667899999876565",
	"123456523333123458877666.67899999876565",
	"1234565233331234588776666.7899999876565",
	"12345652333312345887766667.899999876565",
	"123456523333123458877666678.99999876565",
	"1234565233331234588776666789.9999876565",
	"12345652333312345887766667899.999876565",
	"123456523333123458877666678999.99876565",
	"1234565233331234588776666789999.9876565",
	"12345652333312345887766667899999.876565",
}

func main() {
	log.Println("Fun with casting!")

	odbcConnection := fmt.Sprintf(odbcTemplate, server, user, password, name)
	log.Printf("%s\n", odbcConnection)

	oeDB, connStrError := sql.Open("mssql", odbcConnection)
	if connStrError != nil {
		oeDB.Close()
		panic(connStrError)
	}
	defer oeDB.Close()

	for numIdx, sqlValue := range sqlStuff {
		fmt.Printf("\n")
		for _, sqlTemplate := range sqlTemplates {
			sqlQuery := fmt.Sprintf(sqlTemplate, sqlValue)
			log.Printf("Running numIdx %d and SQL: '%s'\n", numIdx, sqlQuery)

			rowF64 := oeDB.QueryRow(sqlQuery)
			var myFloat64 float64
			if errScan := rowF64.Scan(&myFloat64); errScan != nil {
				log.Printf("ERROR SCAN myFloat64! %s", errScan)
				// continue
			} else {
				log.Printf("The Go myFloat64 (7): '%.7f', myFloat64: '%+f'", myFloat64, myFloat64)
			}

			rowBF64 := oeDB.QueryRow(sqlQuery)
			var myBigFloat big.Float
			if errScan := rowBF64.Scan(&myBigFloat); errScan != nil {
				log.Printf("ERROR SCAN myBigFloat! %s", errScan)
				// continue
			} else {
				log.Printf("The Go myBigFloat: '%.+f'", myBigFloat)
			}
		}
	}
}

Expected behavior
Being able to parse all those numbers into Go float64.
Further technical details

Microsoft SQL Azure (RTM) - 12.0.2000.8 	Dec  4 2019 21:24:18 	Copyright (C) 2019 Microsoft Corporation
go version go1.12.6 linux/amd64
latest ODBC driver (at the time of writing): github.com/denisenkom/go-mssqldb v0.0.0-20200206145737-bbfc9a55622e

@tappoz unless I've misunderstood, I don't think this is an issue with go-mssqldb or mssql but actually a property of the type you're trying to cast to in your queries. In particular Decimal(19,7) will only store 12 digits to the left of the decimal point. This is dictated but the scale which is 7 in this case. By decreasing scale you will be able to store more digits on the left side of the decimal point. You may find the following link useful: https://docs.microsoft.com/en-us/sql/t-sql/data-types/decimal-and-numeric-transact-sql?view=sql-server-ver15
An additional note, go-mssqldb isn't actually an ODBC driver but instead implements interfaces to be used with the database/sql API: https://golang.org/pkg/database/sql/


[Feature]Hive connecotr table support array type

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Hive connector table support array type.
we can get hive type which is an string like "array<array>". we should convert it to StarRocks Type.

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 7 / 11 (63.64%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/external/HiveMetaStoreTableUtils.java
1
4
25.00%

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
1
2
50.00%

:large_blue_circle:
com/starrocks/external/hive/Utils.java
5
5
100.00%


RichTextLabel's append_bbcode stops animated rich text effects

Godot version: 3.2.1.stable.official
OS/device including version: Windows 10 version 1909
Issue description:
If a RichTextLabel has BBCode tags that animate the text (such as [tornado] and [shake]) and then append_bbcode function is called, the animations stop.
The documentation for append_bbcode does not suggest this behavior.
Root cause:
set_process_internal(false) is called at the beginning of append_bbcode() and if the bbcode doesn't contain any animated effects, process_internal may not be set to true again.
https://github.com/godotengine/godot/blob/5247fdb3f386cdd3de8ab2c27f1d4332905df4eb/scene/gui/rich_text_label.cpp#L2071
Steps to reproduce:
Create a RichTextLabel, enable BB Code, enter the following as BB Code Text in the inspector:
[color=red]Some red text.[/color] [tornado radius=5 freq=2]Tornado Effect[/tornado] [shake rate=5 level=10]Shake Effect[/shake]

The text will be animated properly.
Then, append any string that does not contain an animated BBCode tag to the label by calling RichTextLabel.append_bbcode("")
Current behavior: Animations are paused.
Expected behavior: Animations continue playing.
Minimal reproduction project:
RTLEffectsDemo.zip

I'll get on this --- I wish I could assign myself. :)


Continue build execution after receiving rc=22 in the install feature task

After installation of a feature that is already installed in liberty with the install-feature task, it returns rc=22 interrupting the build process.
Steps to reproduce

In a build.xml file configure the ant tasks
Set a target with the following configuration:
<wlp:install-feature installDir="${liberty.dir}" acceptLicense="true" whenFileExists="replace" name="jaxrs-1.1"/>
Execute the target.

Expected result

Desire result
Notify the user that the feature is already installed but continue the build.
Comments
The --when-file-exists parameter is used to decide what happens when installing a feature if a bundle already exist, it's not used to define what happens when a feature is already installed.

Thanks for reporting this. This is fixed in #27.


replace local assets with api

Some API could be identified that provide the images (or could be created in a separate project) - then the update simply asks the api for a new image that fits the criteria.
It should not download images over and over again. Instead it should check if the image has already been downloaded and use the local version in that case.

Could host a proxy to an AI image generator tool that simply generates a new image when called and uses that


Dracula for SAP ABAP

The SAP ABAP Editor using Dracula theme colors.
The theme applies only to the code editor itself, since theming is very limited within the SAP Graphic User Interface, but I think it looked great for coding, so I adapted where I could.
https://github.com/rfaccio/dracula-abap

Congrats 🍾🎊 🎉

That's amazing, thanks @rfaccio!
I just sent you an invite to join the organization.
Once you accept it, you'll be able to transfer the repo and I'll take care of adding it to the site.
Thanks again for building this! 🎉

Thank you for the invitation!
I already started the transfer, let me know if there's anything else I can help.
And thank you for creating this theme and community.

https://draculatheme.com/abap 💥 💥 💥
Thanks @rfaccio for building this ;)


:book: [release-0.26.0-alpha.1] Overlooked doc update wrt combined status example

Summary
This PR updates the release-0.26.0-alpha.1 branch website with an overlooked doc update due to the recent API change.
Preview at https://mikespreitzer.github.io/kcp-edge-mc/doc-0260a2-fix-collection-example/direct/combined-status/#number-of-wecs
Related issue(s)
Fixes #

oops, meant to charry pick


When using the leptos-use with feature 'ssr', the compilation cannot be passed.

For more details, you can take a look at this issue.https://github.com/fermyon/leptos-spin/issues/45

could you create a PR for this, please?

could you create a PR for this, please?

OK. I will create a PR later.

could you create a PR for this, please?

done


Allow customizable list of Xcode build configurations when updating Podfile method

Instead of the current hardcoded :configuration => ['Debug'] and :configuration => ['Release'], it would be nice if these configuration names were customizable. We have a separate configuration for beta releases on HockeyApp and my current workaround is to edit the Podfile so the j2objc method includes :configuration => ['Release', 'Preview']
I think this would go somewhere around here (but I'm not very familiar with groovy):
https://github.com/j2objc-contrib/j2objc-gradle/blob/459d2c70a8fbabc26a440cc3ad284d7d0bf7758e/src/main/groovy/com/github/j2objccontrib/j2objcgradle/tasks/XcodeTask.groovy#L487

@danieldickison - this sounds reasonable. Your pointing to an old version of the code from October so best to use something more current. For example:
https://github.com/j2objc-contrib/j2objc-gradle/blob/master/src/main/groovy/com/github/j2objccontrib/j2objcgradle/tasks/XcodeTask.groovy#L669
To do this, you'll need to add something to J2objcConfig.groovy to allow someone to specify the configurations:
List<String> podfileDebugConfigurations = ['Debug']
List<String> podfileReleaseConfigurations = ['Release']

Please add the following example to both the J2objcConfig.groovy comments AND the FAQ:
j2objcConfig {
    podfileReleaseConfigurations += ['Preview']
    ...
}

Within XcodeTask.groovy, you need to add reading of the config around line 91 (see prior lines). Then at line 669, print the array with "[${podfileReleaseConfigurations.join(',')}]" and update the unit tests.
Send me the PR and I'll take a look. This should be pretty straight forward.
Bruno

Add the configuration to line 728 in J2objcConfig.groovy.

Thanks for the pointers. Just created pull request #590 with your suggested changes.

Fixed in #590


Fixes: #30 Added new logo

Fixes issue #30
Changes: Added new logoDemo Link: [Add here the link where your changes can be seen]

Codecov Report

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

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   22.32%   22.32%
=======================================
  Files           2        2
  Lines         112      112
=======================================
  Hits           25       25
  Misses         87       87

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 ccab98f...1670d16. Read the comment docs.