Hide "related resources" when field is empty

Describe the bug
If a resource has no related resources the heading still shows up.
To Reproduce
Steps to reproduce the behavior:

Add a new resource
Don't link related resources
Publish and deploy staging
See empty state

Expected behavior
If a field is empty it is expected that it should be hidden
Screenshots

Other
Linked to #251

Tested to check relevance. This is still an issue:

Done


Update create-external-data-source-transact-sql.md

Added example to reference a readable secondary replica of Always On Availability Group

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

#label:"aq-pr-triaged"

Thanks for taking the time to create this PR, @ragatilao. This is a good addition to the documentation.  It will be merged along with other changes to improve this example including adding the CREATE DATABASE SCOPED CREDENTIAL example. This article update is in flight. After the updated article is published, GitHub will list you as an article contributor, and I'll comment here to let you know when it's landed.
Thanks again for this feedback, your suggestions help improve our documentation.

@ragatilao Thanks again for the time you took to create a pull request. Your commit was included in a large edit to CREATE EXTERNAL DATA SOURCE that has now been reviewed by the product team and published: https://docs.microsoft.com/sql/t-sql/statements/create-external-data-source-transact-sql?view=sql-server-ver16&tabs=dedicated#g-create-external-data-source-to-reference-a-readable-secondary-replica-of-always-on-availability-group-1 GitHub lists you as an article contributor. Thanks again for this feedback, your suggestions help improve our documentation.


Website - Site

Website needs to be created with a giant red button or we could use a mouse cursor. While the concept is right-click stealing an NFT; touch interfaces would have bad UX if we used mouse events.

Tested touch on a company website and my simple website - no one knew what to do, not much intuition going there.  You need both.

I have  Wordpress Elementor experience, can build the landing page - if required - need URL and access to your server.

completed the purchase for istolethis.io


Delete downloaded file when player closes?

Is it possible to automatically delete the saved file once you've seen the video file?

No it's not possible and I don't think I'll add it.
I would suggest you set the path option to your os tmp dir, or any other tmp dir and delete it on a schedule.

fyi. version 1.4.0 now supports setting the path option to memory. This will store the files in RAM. Files are never written to disk.
Just make sure you have enough available memory!


fetchzip calls aren't picked up by tarballs.nixos.org

Issue description
This is the file that gets the list of tarballs to mirror on tarballs.nixos.org. On line 21, it filters out all packages which do not have the hash mode flat. In fetchzip it sets the recursiveHash option, which sets the hash mode to recursive, meaning anything that uses fetchzip (or others that use it, like fetchFromGitHub) isn't mirrored.
Potential solutions:
Ignore it
Cons:

Every package which fetches its source from github, gitlab or similar isn't covered by tarballs.nixos.org (but even if this was fixed, there won't be 100% coverage due to some packages using 1etchFromGitHub in a way that uses fetchGit instead of fetchzip)

Pros:

Minimal effort

Modify fetchzip to instead copy the result of a fetchurl call and unpack it (resulting in two derivations instead of one)
Cons:

Requires rebuilding anything which uses fetchzip, and dependents (though I know fetchurl outputs are content addressed by default, could that be extended to the output of fetchzip?)
More disk usage, though it'll almost definitely be garbage collected anyway

Pros:

Feels like the least hacky solution

Modify find-tarballs.nix to also cache directories
Cons:

Also needs a modification to nix
I feel like there was a reason this wasn't done in the first place?
Sources will be uncompressed

Pros:

Doesn't require a mass-rebuild of nixpkgs

fetchFromGithub could grab sources from Software Heritage instead.


launching tei-gaudi with securityContext fails

@Ruoyu-y  reported that launching tei on gaudi2 with securityContext helm install tei . -f gaudi-values.yaml --set global.modelUseHostPath="" fail. Pod log is as the followings:
2024-08-09T04:19:33.960424Z  INFO text_embeddings_router: router/src/main.rs:140: Args { model_id: "BAA*/***-****-**-v1.5", revision: None, tokenization_workers: None, dtype: None, pooling: None, max_concurrent_requests: 512, max_batch_tokens: 16384, max_batch_requests: None, max_client_batch_size: 32, auto_truncate: true, hf_api_token: None, hostname: "chatqna-tei-9659f58b5-cbn2r", port: 2081, uds_path: "/tmp/text-embeddings-inference-server", huggingface_hub_cache: Some("/data"), payload_limit: 2000000, api_key: None, json_output: false, otlp_endpoint: None, cors_allow_origin: None }
2024-08-09T04:19:33.960518Z  INFO hf_hub: /usr/local/cargo/git/checkouts/hf-hub-1aadb4c6e2cbe1ba/b167f69/src/lib.rs:55: Token file not found "/tmp/.cache/huggingface/token"
2024-08-09T04:19:34.038338Z  INFO download_artifacts: text_embeddings_core::download: core/src/download.rs:47: Starting download
2024-08-09T04:19:34.158308Z  INFO download_artifacts: text_embeddings_core::download: core/src/download.rs:68: Model artifacts downloaded in 119.970375ms
2024-08-09T04:19:34.167371Z  INFO text_embeddings_router: router/src/lib.rs:169: Maximum number of tokens per request: 512
2024-08-09T04:19:34.188783Z  INFO text_embeddings_core::tokenization: core/src/tokenization.rs:23: Starting 76 tokenization workers
2024-08-09T04:19:34.408986Z  INFO text_embeddings_router: router/src/lib.rs:194: Starting model backend
2024-08-09T04:19:34.409251Z  INFO text_embeddings_backend_python::management: backends/python/src/management.rs:54: Starting Python backend
Error: Could not create backend

Caused by:
    Could not start backend: Python Backend process was signaled to shutdown with signal 6

IMHO Instead of allowing rootfs writes, this should have been fixed by adding separate volume for writes.


overwrite default material UI selected row background color

Description
Material-UI by default will apply a new background color to depict a highlighted state for a selected item - this PR is a quick fix to overwrite the highlighted background caused by the default material UI settings for the tree nav sidebar. This also includes an update to some minor CSS changes for the sidebar interaction.
Development notes
I have made the relevant CSS changes to overwrite the default material-UI styles, as well as change the default opacity for the sidebar icon interaction.
QA notes
The changes for this PR can be tested here: http://kedro-viz-fe.s3-website.eu-west-2.amazonaws.com/fix/fix-mui-selected-color/?data=demo
Checklist

[x] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added new entries to the RELEASE.md file
[ ] Added tests to cover my changes

Legal notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Thanks for doing this @studioswong . The preview link is absolutely awesome. I noticed that the clicked state is a bit odd (see screenshot). Is it intentional. Also I noticed that this branch is created on top of 3.14.0. Could we branch off main or at least 3.15.0 instead?

Thanks for doing this @studioswong . The preview link is absolutely awesome. I noticed that the clicked state is a bit odd (see screenshot). Is it intentional. Also I noticed that this branch is created on top of 3.14.0. Could we branch off main or at least 3.15.0 instead?

really great spot Lim - I'll put in a fix!

[](url

)
@studioswong -- when focus mode for one node is already on and i try clicking on other modular pipelines, it gives me this grey-ish background. Is this the expected behavior?

Heya Rashida, I am aware of this problem as this started happening on merging the latest items from the color refactor that was recently merged into main - this will be fixed by updating the color code of the background-color CSS styles for the CSS overwrite.
Regardless, I will be closing this PR and reopening a new one given the contaminated git commits associated with this PR.


Java General profile template doesn't include Test Runner for Java even though it is include in the Extension Pack for Java

VS Code Version: 1.78 Insiders
OS Version: Windows 11

Steps to Reproduce:

Profiles > Create Profiles
Select the Java General profile from the dropdown

The Extension Pack for Java is included and I believe that is where most of the other extensions are coming from.

However the Extension Pack for Java includes the Test Runner for Java but it is not present in the Java General profile.

Sounds like a duplicate of https://github.com/microsoft/vscode/issues/180338

Nick from java team confirmed that he was trying out the profile. And that he might have by accident removed some extensions. He just sent an updated profile. So I will update them to tackle this issue.

Should be fixed with a PR I created. I expect this to land very soon. Thus closing.


Glitchy Upstream Behaviour (Plays Failsafe Music)

Every few hours, upstream server were glitched out and fell back to the failsafe, which is jarring for listeners. Reported by Bobzilla & Cindianna.
Suspiciously no relevant output on harbor container. Output on upstream container was as follow,
2021/03/31 06:04:04 [fallback_9414:3] Switch to failsafe with forgetful transition.
2021/03/31 06:04:04 [dummy:3] Source failed (no more tracks) stopping output...
2021/03/31 06:04:05 [fallback_9414:3] Switch to input with transition.

Issue was no buffer on input.http(...) in upstream.liq.


Please fix the isuues with navbar

If there are known issues, open a new issue not a pull request. Server head  points to the stabilised commit on 28/10 where navbar is working on all pages.
@vagdegik Pull request headings generally signify what changes one has made, not other issues.
Modify description accordingly. Thanks.

@vagdevik  Still waiting for comment.

Modified the description accordingly assuming the navbar is working
properly in all the pages. In case of any issues, please let us know.
Thanks.
Thank you.
Regards,
K.Vagdevi.
On 30 October 2017 at 11:40, Savitha<EMAIL_ADDRESS>wrote:

@vagdevik https://github.com/vagdevik Still waiting for comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SriHarshaGajavalli/SE2017/pull/78#issuecomment-340352290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdX9ReVCO890XiwFBMl-K6AJ_-SWqF5aks5sxWhggaJpZM4QKAnY
.


Notes in the documentation has weird spacing

The spacing here looks weird and can be reduced. But first needs to be investigated by checking at more places that this is really the case. Check another spacing PR for reference #1654

Link for reference (first image): https://www.balena.io/docs/learn/manage/serv-vars/


Use request wrapper

What does this PR do?
Use the request wrapper for IBM WAS.
 Things like authentication/ssl/proxies/etc Customer requested support for basic auth
Additional Notes
Requires the latest and greatest in checks_base technology - https://github.com/DataDog/integrations-core/blob/master/datadog_checks_base/CHANGELOG.md#640--2019-03-22
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Don't we need the proxy option? I didn't get a definitive answer.


Preliminary work on method for identifying the nearest point source to a click on an image

@mwcraig  @pllim  @astrofrog
As I reading up the ideas for Astrowidgets I noticed this idea
"Develop a method for identifying the nearest point source to a click on an image
(very preliminary work on this is available)"
I want to ask where I could find the preliminary work of this?
Thank you!

Look in this notebook in the cell that has a ton of code. Many things are going on in there, but put of it is repeatedly finding the "center of mass" of the light, adjusting until it converges on a center or too many attempts have been made. Don't be shy about asking questions...that code is not documented or entirely coherent.
https://github.com/mwcraig/obs-astronomy-binder/blob/master/ORIGINALS-OF-USEFUL-NOTEBOOKS/viewer-seeing-profile.ipynb

@ejeschke also implemented something similar in https://github.com/ejeschke/ginga/blob/21b8e52cbb2272e742a98f75ebf8de26206063b1/ginga/util/iqcalc.py#L239 . In the Ginga's Pick plugin, when you click on a point source, it calculates its center (the nearest peak) and move the box there.
I am sure photutils also has some function to do this but maybe requiring photutils at this stage is overkill?


rcdiscover: 1.1.6-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rcdiscover to 1.1.6-1:

upstream repository: https://github.com/roboception/rcdiscover.git
release repository: https://github.com/ros2-gbp/rcdiscover-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: 1.1.4-2

rcdiscover
* Always wait minimum of 1 seconds for getting responses to discovery request
* CI, also build for jammy

Held for an upcoming Rolling sync


Upload Extension button in Cloud Sandbox Environment

I have looked through these issues and found #2106 and #3545 which are similar issues, but they do not actually answer the question.
Why exactly is the Upload Extension button on the Extension Management page disabled in Sandbox environments?
For consultant ease of use, and the deployment of third-party .apps where we don't have the source code, it makes little sense that we can upload .apps freely to the Production Environment but not the Sandbox Environment.
Can an explanation be provided? The addition of this button to the Sandbox Extension Management page would be extremely useful. If it is planned to be enabled in a future update, what is the timeline for this (as mentioned in #3931 Oct, 2018)?

Seems to be handled in April release :https://community.dynamics.com/business/b/businesscentraldevitpro/archive/2019/03/27/scheduling-your-spring-2019-upgrade-for-business-central


Compatibility with React version > 15.5

I recently upgraded to React 15.5. They've deprecated the usage of PropTypes from the React module.
Is there any plans to upgrade to the prop-types module?
Would you accept a pull request to fix this?

Sorry, just took a look through the change log.

Actually, I'm still getting an error when using version 2.0.0-15 and React > 0.15
console.error node_modules/fbjs/lib/warning.js:36
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

Is this expected? If so, when should we expect a new release to deal with this? I'm opening to helping if needed.

AFAIK it's not released yet. /cc @mxstbr

This should be fixed for styled-components in 2.0.0-15, check the stack trace to see what library caused the warning.

@YasserKaddour Yes, I see. It's coming from fbjs. I will open a ticket with them.


data: BruceWangyq

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

This should be fixed! Thank you for pointing that out!

Great collaboration 👍

Thank you so much for your work, guys~ It looks awesome!

Don't forget you can also add more information to your profile like

events
testimonials
milestones
with more features coming soon


[BugFix] support all setQuantifier in special agg functions in new paser

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #21412
Problem Summary(Required) ：

support all setQuantifier in special agg functions in new paser.  The ALL in agg fucntion like count(all col) does not affect the result, it just makes the new version compatible with the SQL that can be run on the old version.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


relax compats

Codecov Report

Merging #95 (5df0a83) into master (4744eef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   82.99%   82.99%
=======================================
  Files           8        8
  Lines         347      347
=======================================
  Hits          288      288
  Misses         59       59

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 4744eef...5df0a83. Read the comment docs.


Update aws-java-sdk-dynamodb to 1.12.305

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.305.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #338.


fix relative path for google spreadsheet

Fixes
wrong path for csv_gen.py

Do we still want to keep the csv_gen functionality in e2e?

Do we still want to keep the csv_gen functionality in e2e?

@sjug this is more of an immediate fix, cause router perf on airflow is failing.

we want e2e just to handle pushing to the gsheet part. i.e no parsing of yaml or deciding pass/fail like we used to earlier.
This PR https://github.com/cloud-bulldozer/benchmark-comparison/pull/55 should create a csv for us from benchmark-comparison

we want e2e just to handle pushing to the gsheet part. i.e no parsing of yaml or deciding pass/fail like we used to earlier. This PR cloud-bulldozer/benchmark-comparison#55 should create a csv for us from benchmark-comparison

also gsheet functionality is not part of the workload code itself but handled in e2e-benchmarking/utils

Im not 100% happy with this solution, but I need it to let the router tests to be completed

a) Like I mentioned this isn't the correct way to fix this IMO. b) Removing the functionality would also be an immediate fix.

ALL OF THIS.
This needs to be removed ASAP.

I tend to agree with @jtaleric and @sjug on this one too.
IMO I think we should start looking at what we use the gsheet logic for and either (1) changing that logic to build visualizations from the data in ES (similar to the control plane dashboard we have for kube-burner results) or (2) adding the csv_gen logic into the report dag

reverting this until all of us are on the same page


If specifying a directory, tests in subdirectories should be run too

If I do ava test where test is a directory, it only runs the files directly under test. But if I had subdirectories under it, those don't get run. I think it should run all tests in that directory recursively. Or at least there should be a command line flag like -r to get this behavior.

It's intentionally not recursive, as a good default and simplicity. If you need it to be recursive just specify the appropriate glob pattern. Like: $ ava test/**.

Ok. Now if I have a file test/test1.js and test/subtest/test2.js (each with one test called runTest in it) and run ava test/**/*.js (glob pattern in ZSH) on the command line, the output looks like this
test2 > runTest
test > test1 > runTest

But it should look more like
test1 > runTest
subtest > test2 > runTest

At least while nested groups aren't available (https://github.com/sindresorhus/ava/issues/222) using directories is a good way to organize structure, so the output should be in line with that.
The beginning test doesn't appear above since that's the 'root' test folder, but if there's no option to specify a directory and a recursive flag then I don't see how it would know that test shouldn't be printed there.
That's why I think allowing to specify a directory with a recursive flag (so it's not the default and not a breaking change) would be useful, because then ava can format the results appropriately. Because using glob patterns ava just receives a list of filenames to test and isn't aware of a 'root'.

We don't add options lightly and we try very hard to keep AVA simple. You can solve this with a glob pattern. We'll fix the output somehow.

A suggestion of how it could look. After seeing all the files passed in with the glob pattern it should strip the leading directories that are all in common. The way if someone passes in a pattern like some/sub/directory/**/*.js, and the only files that appear are some/sub/directory/sub/path/test1.js and some/sub/directory/sub/path/test2.js, then the part in common some/sub/directory/sub/path should not appear in the output.

Agreed, that's what I was thinking too.

I think it should be recursive by default.
In my case, I want to mimic my lib/ folder with test files in order to yield more succinct output with nested files.
Further, this is how other languages' test systems work and is analogous to those for me, personally - hence my decision to structure my tests like this.
As of now, I have to do ava test/**/*.js which is just fine, but it wasn't what I was expecting at first.

@jamestalmage @vdemedes Thoughts on making it recursive by default? I'm warming up to the idea.

All AVA really needs to do is include the file in question and ignore it if it doesn't import the test function.

All AVA really needs to do is include the file in question and ignore it if it doesn't import the test function.

I'd prefer to have it throw an error. We fork for each of those and that is expensive. We automatically ignore files with a _ prefix, so use that for test helpers.

Nested files, to me, should have their file prefixes (in my opinion). Right now it's flat. Not sure if this is because I'm specifying files on the command line, or what.

I'm not sure what you mean. Their directory as part of the prefix? Right now we only prefix with the filename (and just the filename) if there is more than one test file. I think it makes sense to prefix directories (find the common base directory of all test files and prefix from there).

I like this suggestion, we could simplify paths and remove the need for globs.

Alright. Let's go for this.

+1 on making AVA recursive by default. It's the behavior I was expecting initially and doesn't force the user to conform to a standard structure.

@sindresorhus: Do you want it to be recursive by default, or just to display directories up to a common root?

@ariporad Both

@sindresorhus: Ok, I'll take care of it. Can you assign this to me (or give me perms to do that if you prefer)?

@Ariporad just submit a pull request :)


Mechanism for storing metadata in _metadata tables

Original title: Perhaps metadata should all live in a _metadata in-memory database
Inspired by #1150 - metadata should be exposed as an API, and for large Datasette instances that API may need to be paginated. So why not expose it through an in-memory database table?
One catch to this: plugins. #860 aims to add a plugin hook for metadata. But if the metadata comes from an in-memory table, how do the plugins interact with it?
The need to paginate over metadata does make a plugin hook that returns metadata for an individual table seem less wise, since we don't want to have to do 10,000 plugin hook invocations to show a list of all metadata.
If those plugins write directly to the in-memory table how can their contributions survive the server restarting?

Also: in #188 I proposed bundling metadata in the SQLite database itself alongside the data. This is a great way of ensuring metadata travels with the data when it is downloaded as a SQLite .db file. But how would that play with the idea of an in-memory _metadata table? Could that table perhaps offer views that join data across multiple attached physical databases?

Also: in #188 I proposed bundling metadata in the SQLite database itself alongside the data. This is a great way of ensuring metadata travels with the data when it is downloaded as a SQLite .db file. But how would that play with the idea of an in-memory _metadata table? Could that table perhaps offer views that join data across multiple attached physical databases?

A database that exposes metadata will have the same restriction as the new _internal database that exposes columns and tables, in that it needs to take permissions into account. A user should not be able to view metadata for tables that they are not able to see.
As such, I'd rather bundle any metadata tables into the existing _internal database so I don't have to solve that permissions problem in two places.

A database that exposes metadata will have the same restriction as the new _internal database that exposes columns and tables, in that it needs to take permissions into account. A user should not be able to view metadata for tables that they are not able to see.
As such, I'd rather bundle any metadata tables into the existing _internal database so I don't have to solve that permissions problem in two places.

What if metadata was stored in a JSON text column in the existing _internal tables? This would allow for users to invent additional metadata fields in the future beyond the current license, license_url etc fields - without needing a schema change.
The downside of JSON columns generally is that they're harder to run indexed queries against. For metadata I don't think that matters - even with 10,000 tables each with their own metadata a SQL query asking for e.g. "everything that has Apache 2 as the license" would return in just a few ms.

What if metadata was stored in a JSON text column in the existing _internal tables? This would allow for users to invent additional metadata fields in the future beyond the current license, license_url etc fields - without needing a schema change.
The downside of JSON columns generally is that they're harder to run indexed queries against. For metadata I don't think that matters - even with 10,000 tables each with their own metadata a SQL query asking for e.g. "everything that has Apache 2 as the license" would return in just a few ms.

So what if the databases, tables and columns tables in _internal each grew a new metadata text column?
These columns could be populated by Datasette on startup through reading the metadata.json file. But how would plugins interact with them?

So what if the databases, tables and columns tables in _internal each grew a new metadata text column?
These columns could be populated by Datasette on startup through reading the metadata.json file. But how would plugins interact with them?

So what if the databases, tables and columns tables in _internal each grew a new metadata text column?
These columns could be populated by Datasette on startup through reading the metadata.json file. But how would plugins interact with them?

So what if the databases, tables and columns tables in _internal each grew a new metadata text column?
These columns could be populated by Datasette on startup through reading the metadata.json file. But how would plugins interact with them?

One possibility: plugins could write directly to that in-memory database table. But how would they know to write again should the server restart? Maybe they would write to it once when called by the startup plugin hook, and then update it (and their own backing store) when metadata changes for some reason. Feels a bit messy though.
Also: if I want to support metadata optionally living in a _metadata table colocated with the data in a SQLite database file itself, how would that affect the metadata columns in _internal? How often would Datasette denormalize and copy data across from the on-disk _metadata tables to the _internal in-memory columns?

One possibility: plugins could write directly to that in-memory database table. But how would they know to write again should the server restart? Maybe they would write to it once when called by the startup plugin hook, and then update it (and their own backing store) when metadata changes for some reason. Feels a bit messy though.
Also: if I want to support metadata optionally living in a _metadata table colocated with the data in a SQLite database file itself, how would that affect the metadata columns in _internal? How often would Datasette denormalize and copy data across from the on-disk _metadata tables to the _internal in-memory columns?

Here are the requirements I'm currently trying to satisfy:

It should be possible to query the metadata for ALL attached tables in one place, potentially with pagination and filtering
Metadata should be able to exist in the current metadata.json file
It should also be possible to bundle metadata in a table in the SQLite database files themselves
Plugins should be able to define their own special mechanisms for metadata. This is particularly interesting for providing a UI that allows users to edit the metadata for their existing tables.

Here are the requirements I'm currently trying to satisfy:

It should be possible to query the metadata for ALL attached tables in one place, potentially with pagination and filtering
Metadata should be able to exist in the current metadata.json file
It should also be possible to bundle metadata in a table in the SQLite database files themselves
Plugins should be able to define their own special mechanisms for metadata. This is particularly interesting for providing a UI that allows users to edit the metadata for their existing tables.

The sticking point here seems to be the plugin hook. Allowing plugins to over-ride the way the question "give me the metadata for this database/table/column" is answered makes the database-backed metadata mechanisms much more complicated to think about.
What if plugins didn't get to over-ride metadata in this way, but could instead update the metadata in a persistent Datasette-managed storage mechanism?
Then maybe Datasette could do the following:

Maintain metadata in _internal that has been loaded from metadata.json
Know how to check a database for baked-in metadata (maybe in a _metadata table)
Know how to fall back on the _internal metadata if no baked-in metadata is available

If database files were optionally allowed to store metadata about tables that live in another database file this could perhaps solve the plugin needs - since an "edit metadata" plugin would be able to edit records in a separate, dedicated metadata.db database to store new information about tables in other files.

The sticking point here seems to be the plugin hook. Allowing plugins to over-ride the way the question "give me the metadata for this database/table/column" is answered makes the database-backed metadata mechanisms much more complicated to think about.
What if plugins didn't get to over-ride metadata in this way, but could instead update the metadata in a persistent Datasette-managed storage mechanism?
Then maybe Datasette could do the following:

Maintain metadata in _internal that has been loaded from metadata.json
Know how to check a database for baked-in metadata (maybe in a _metadata table)
Know how to fall back on the _internal metadata if no baked-in metadata is available

If database files were optionally allowed to store metadata about tables that live in another database file this could perhaps solve the plugin needs - since an "edit metadata" plugin would be able to edit records in a separate, dedicated metadata.db database to store new information about tables in other files.

Some SQLite databases include SQL comments in the schema definition which tell you what each column means:
CREATE TABLE User
        -- A table comment
(
        uid INTEGER,    -- A field comment
        flags INTEGER   -- Another field comment
);

The problem with these is that they're not exposed to SQLite in any mechanism other than parsing the CREATE TABLE statement from the sqlite_master table to extract those columns.
I had an idea to build a plugin that could return these. That would be easy with a "get metadata for this column" plugin hook - in the absence of one a plugin could still run that reads the schemas on startup and uses them to populate a metadata database table somewhere.

Some SQLite databases include SQL comments in the schema definition which tell you what each column means:
CREATE TABLE User
        -- A table comment
(
        uid INTEGER,    -- A field comment
        flags INTEGER   -- Another field comment
);

The problem with these is that they're not exposed to SQLite in any mechanism other than parsing the CREATE TABLE statement from the sqlite_master table to extract those columns.
I had an idea to build a plugin that could return these. That would be easy with a "get metadata for this column" plugin hook - in the absence of one a plugin could still run that reads the schemas on startup and uses them to populate a metadata database table somewhere.

The direction I'm leaning in now is the following:

Metadata always lives in SQLite tables
These tables can be co-located with the database they describe (same DB file)
... or they can be in a different DB file and reference the other database that they are describing
Metadata provided on startup in a metadata.json file is loaded into an in-memory metadata table using that same mechanism

Plugins that want to provide metadata can do so by populating a table. They could even maintain their own in-memory database for this, or they could write to the _internal in-memory database, or they could write to a table in a database on disk.

The direction I'm leaning in now is the following:

Metadata always lives in SQLite tables
These tables can be co-located with the database they describe (same DB file)
... or they can be in a different DB file and reference the other database that they are describing
Metadata provided on startup in a metadata.json file is loaded into an in-memory metadata table using that same mechanism

Plugins that want to provide metadata can do so by populating a table. They could even maintain their own in-memory database for this, or they could write to the _internal in-memory database, or they could write to a table in a database on disk.

So what would the database schema for this look like?
I'm leaning towards a single table called _metadata, because that's a neater fit for baking the metadata into the database file along with the data that it is describing. Alternatively I could have multiple tables sharing that prefix - _metadata_database and _metadata_tables and _metadata_columns perhaps.
If it's just a single _metadata table, the schema could look like this:

database
table
column
metadata

mytable

{"title": "My Table" }

mytable
mycolumn
{"description": "Column description" }

otherdb
othertable

{"description": "Table in another DB" }

If the database column is null it means "this is describing a table in the same database file as this _metadata table".
The alternative to the metadata JSON column would be separate columns for each potential metadata value - license, source, about, about_url etc.

So what would the database schema for this look like?
I'm leaning towards a single table called _metadata, because that's a neater fit for baking the metadata into the database file along with the data that it is describing. Alternatively I could have multiple tables sharing that prefix - _metadata_database and _metadata_tables and _metadata_columns perhaps.
If it's just a single _metadata table, the schema could look like this:

database
table
column
metadata

mytable

{"title": "My Table" }

mytable
mycolumn
{"description": "Column description" }

otherdb
othertable

{"description": "Table in another DB" }

If the database column is null it means "this is describing a table in the same database file as this _metadata table".
The alternative to the metadata JSON column would be separate columns for each potential metadata value - license, source, about, about_url etc.

Would this be a compound primary key on database, table, column? Does that work with null values?

Would this be a compound primary key on database, table, column? Does that work with null values?

Would also need to figure out the precedence rules:

What happens if the database has a _metadata table with data that conflicts with a remote metadata record from another database? I think the other database should win, because that allows plugins to over-ride the default metadata for something.
Do JSON values get merged together? So if one table provides a description and another provides a title do both values get returned?

Would also need to figure out the precedence rules:

What happens if the database has a _metadata table with data that conflicts with a remote metadata record from another database? I think the other database should win, because that allows plugins to over-ride the default metadata for something.
Do JSON values get merged together? So if one table provides a description and another provides a title do both values get returned?

From an implementation perspective, I think the way this works is SQL queries read the relevant metadata from ALL available metadata tables, then Python code solves the precedence rules to produce the final, combined metadata for a database/table/column.

From an implementation perspective, I think the way this works is SQL queries read the relevant metadata from ALL available metadata tables, then Python code solves the precedence rules to produce the final, combined metadata for a database/table/column.

Also: probably load column metadata as part of the table metadata rather than loading column metadata individually, since it's going to be rare to want the metadata for a single column rather than for an entire table full of columns.

Also: probably load column metadata as part of the table metadata rather than loading column metadata individually, since it's going to be rare to want the metadata for a single column rather than for an entire table full of columns.

Precedence idea:

First priority is non-_internal metadata from other databases - if those conflict then pick then the alphabetically-ordered-first database name wins
Next priority: _internal metadata, which should have been loaded from metadata.json
Last priority: the _metadata table from that database itself, i.e. the default "baked in" metadata

Precedence idea:

First priority is non-_internal metadata from other databases - if those conflict then pick then the alphabetically-ordered-first database name wins
Next priority: _internal metadata, which should have been loaded from metadata.json
Last priority: the _metadata table from that database itself, i.e. the default "baked in" metadata

I need to prototype this. Could I do that as a plugin? I think so - I could try out the algorithm for loading metadata and display it on pages using some custom templates.

I need to prototype this. Could I do that as a plugin? I think so - I could try out the algorithm for loading metadata and display it on pages using some custom templates.

One catch: solving the "show me all metadata for everything in this Datasette instance" problem.
Ideally there would be a SQLite table that can be queried for this. But the need to resolve the potentially complex set of precedence rules means that table would be difficult if not impossible to provide at run-time.
Ideally a denormalized table would be available that featured the results of running those precedence rule calculations. But how to handle keeping this up-to-date? It would need to be recalculated any time a _metadata table in any of the attached databases had an update.
This is a much larger problem - but one potential fix would be to use triggers to maintain a "version number" for the _metadata table - similar to SQLite's own built-in schema_version mechanism. Triggers could increment a counter any time a record in that table was added, deleted or updated.
Such a mechanism would have applications outside of just this _metadata system. The ability to attach a version number to any table and have it automatically incremented when that table changes (via triggers) could help with all kinds of other Datasette-at-scale problems, including things like cached table counts.

One catch: solving the "show me all metadata for everything in this Datasette instance" problem.
Ideally there would be a SQLite table that can be queried for this. But the need to resolve the potentially complex set of precedence rules means that table would be difficult if not impossible to provide at run-time.
Ideally a denormalized table would be available that featured the results of running those precedence rule calculations. But how to handle keeping this up-to-date? It would need to be recalculated any time a _metadata table in any of the attached databases had an update.
This is a much larger problem - but one potential fix would be to use triggers to maintain a "version number" for the _metadata table - similar to SQLite's own built-in schema_version mechanism. Triggers could increment a counter any time a record in that table was added, deleted or updated.
Such a mechanism would have applications outside of just this _metadata system. The ability to attach a version number to any table and have it automatically incremented when that table changes (via triggers) could help with all kinds of other Datasette-at-scale problems, including things like cached table counts.

Idea: version the metadata scheme. If the table is called _metadata_v1 it gives me a clear path to designing a new scheme in the future.

Idea: version the metadata scheme. If the table is called _metadata_v1 it gives me a clear path to designing a new scheme in the future.

Related: Here's an implementation of a get_metadata() plugin hook by @brandonrobertz next-LI@3fd8ce9

Here's a plugin that implements metadata-within-DBs: next-LI/datasette-live-config@72e335e887f1c69c54c6c2441e07148955b0fc9f
How it works: If a database has a __metadata table, then it gets parsed and included in the global metadata. It also implements a database-action hook with a UI for managing config.
More context: https://github.com/next-LI/datasette-live-config/blob/main/datasette_live_config/init.py#L109-L140

Datasette Cloud really wants this.


awscli: 1.10.1 -> 1.10.18

Things done:

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

More
I don't know too much about Python packages. In particular the build of s3transfer doesn't appear to have a tests/ dir, though the s3transfer repo @ 0.0.1 does...
@copumpkin @grahamc would appreciate a look.
Tangent
python-packages.nix seems to be getting out of hand...  My meager computer can't run git blame on it after several minutes, and GitHub's "blame" button times out as well.

Please note, that points are not mandatory, but rather desired.
And awscli dependencies:
botocore: 1.3.23 -> 1.4.9
s3transfer: init at 0.0.1

Looks good to me, but I haven't tested it!

:+1: tested from here, and I agree about the python-packages file.


Change max document size

closes #22

Max document size is now 10MiB (used to be 16MB).
Updated some text to indicate that the limit is on Encrypted Documents, not Structured Documents.

Feedback from call:
Add normative language
Explain how that limit is calculated (e.g. based on UTF-8 JSON)

@msporny To make this normative, should the 10MiB limit be moved to https://identity.foundation/edv-spec/#encrypteddocument?

@msporny To make this normative, should the 10MiB limit be moved to https://identity.foundation/edv-spec/#encrypteddocument?

Yes, it might be better to move the limit there.
As an aside, the thing that makes a statement normative or not is the use of the words (all caps): MUST, SHOULD, MAY, RECOMMENDED... and the rest of the IETF RFC normative statement language -- https://www.rfc-editor.org/rfc/rfc2119.html

@msporny To make this normative, should the 10MiB limit be moved to https://identity.foundation/edv-spec/#encrypteddocument?

Yes, it might be better to move the limit there.
As an aside, the thing that makes a statement normative or not is the use of the words (all caps): MUST, SHOULD, MAY, RECOMMENDED... and the rest of the IETF RFC normative statement language -- https://www.rfc-editor.org/rfc/rfc2119.html
ReSpec (the editing tool) is usually good about only letting you use those statements in normative sections of the specification. If you try to use those words in "informative" sections, like the introduction, it'll complain loudly. :)

Good to know! I've updated my PR to include normative text under the Encrypted Document section.
An encrypted document's size MUST NOT exceed 10MiB.

Regarding how the limit is calculated - does this standard mandate what character set to use? Should be pick one now? Or maybe we can create an issue to explore this later.

Regarding how the limit is calculated - does this standard mandate what character set to use? Should be pick one now? Or maybe we can create an issue to explore this later.

Yes, a good question. I expect that we may want to pick some place where it's easy to measure... like "on the wire". So, if your HTTP body is above 10MiB, the request is rejected. How the data is stored behind the API is implementation specific, and so will vary depending on optimizations implementations may do.
If it were me, I'd limit it to sent/received HTTP body size... then the question becomes, is that uncompressed or compressed HTTP body size? I expect that we might want application front-ends to be able to abort when you go above 10MiB without concern for uncompressed size... that is, we want the application servers to be able to abort using a simple rule... "is the HTTP body I'm receiving going above 10MiB? If so, abort... we don't care if it's compressed or uncompressed via gzip."

@msporny HTTP body size (regardless of compression) sounds like a good idea. To me. Anyone else have any comments?

Anyone else have any comments?

@dlongley any thoughts here?

@DRK3, @msporny,

HTTP body size (regardless of compression) sounds like a good idea. To me. Anyone else have any comments?

+1 to HTTP body size. I can't remember if there will be any frustrating edge cases in implementations with transfer-encoding: chunked or that sort of thing, but we should make the spec say HTTP body size and then get implementation experience.

@msporny @dlongley I've updated my PR to now specify that the size is based on the HTTP body size. Let me know if you can think of any improvements to the wording.

Discussed on the July 22 WG call:

Chunk size should be smaller (1 MiB) (no objections)

Updated this PR to specify the max chunk size.


Update Youtube-Ad-blocker-Reminder-Remover.user.js v2.5

Update to the code, here is the summary:

By default, the two setInterval functions are set to 1000 and 50 milliseconds. However, now, upon loading each page, they are set to 100 (instead of 1000) and 10 milliseconds (instead of 50) in an attempt to remove ads even more quickly. I had the idea to create an intervalChanger to restore the old values of 1000 and 50 after 5 seconds once the page is loaded.
I placed new MutationObserver() before observer.observe because there are sometimes initialization errors.
Injects CSS code to hide all ads with display: none since they will be removed, might as well hide them.
I added an if (window.location.pathname !== '/') in the setInterval to avoid checking if a video exists on the homepage because it does not. This is good for performance.
IDs, elements, and classes are now stored in arrays.

To test the code on Firefox:  https://addons.mozilla.org/firefox/addon/adskip-youtube/ it's the same code

First point is addressed in https://github.com/TheRealJoelmatic/RemoveAdblockThing/pull/79


Missing Event Types in Description

I was looking for more information regarding event types for this cmdlet, specifically "EncryptionManual" and "EncryptionPolicy." The description section states "The following list describes all possible event types for messages" but these event types are not included.

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

ID: 1fb20809-8f21-dfd3-23bf-bbfb82679619
Version Independent ID: be54b158-1672-5ae9-6a6d-139a7850c67b
Content: Get-MailTrafficReport (exchange)
Content Source: exchange/exchange-ps/exchange/reporting/Get-MailTrafficReport.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

@chrisda Chris, do you think we can get more information about all possible values of Event Type in Mail Traffic Report? Thank you

@chrisda please reply to the query asked by @get-itips

Hello @chrisda can you kindly help us with this? Thank you!

Hello @chrisda can you kindly help us with this? Thank you!

Still working on this one.

@chrisda  Thank you very much for the contribution and updating the documentation with PR. @get-itips  thanks to you too.   @terrogin Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


[Gssoc'21] 404 page

Is your feature request related to a problem? Please describe.
There was no 404 page in templates.

Describe the solution you'd like
I want to make a 404 page for the website

A clear and concise description of what you want to happen.

Can i do this?

@arpit456jain Go ahead


crash in iOS9

get it from crash report
only in iOS9, but number is large
flutter version is 1.12.13-hotfix.7
channel: AppStore_23230112
utdid: Xk+Te0cGDcIDAEZPae/9xtnR
os: iPhone OS
osVersion: 9.2
triggeredTime: 2020-02-29 08:26:01.448 +0800
brand: Apple
deviceMode: iPhone8,2
clientIp: <IP_ADDRESS>
carrier: 中国电信
access: WiFi
accessSubtype: Unknown
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
backtrace:
Incident Identifier: 3DAE029C-E45F-4781-92BF-867B924D2457
CrashReporter Key:   TODO
Hardware Model:      iPhone8,2
Process:         FlyFish [198]
Path:            /var/mobile/Containers/Bundle/Application/D6BB1AA7-C904-4508-BC84-3E10E8E649C9/FlyFish.app/FlyFish
Identifier:      Unknown|com.taobao.flyfish
Version:         5.8.7+ (5.8.7)
Code Type:       ARM-64
Parent Process:  ??? [1]

Date/Time:       2020-02-29 00:26:01 +0000
OS Version:      iPhone OS 9.2 (13C75)
Report Version:  104

Exception Type:  SIGSEGV
Exception Codes: SEGV_ACCERR at 0x0
Crashed Thread:  0

Thread 0 Crashed:
0   Flutter                             0x000000010323ccc4 -[SemanticsObjectContainer initWithSemanticsObject:bridge:] + 150724 (accessibility_bridge.mm:525)
1   Flutter                             0x000000010323be5c -[SemanticsObject accessibilityContainer] + 147036 (accessibility_bridge.mm:0)
2   UIAccessibility                     0x000000018d93c56c 0x18d914000 + 165228
3   UIAccessibility                     0x000000018d93c448 0x18d914000 + 164936
4   Flutter                             0x000000010323a410 -[SemanticsObject initWithBridge:uid:] + 140304 (accessibility_bridge.mm:118)
5   Flutter                             0x000000010323d87c -[FlutterSemanticsObject initWithBridge:uid:] + 153724 (accessibility_bridge.mm:0)
6   Flutter                             0x000000010323e634 flutter::AccessibilityBridge::GetOrCreateObject(int, std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >&) + 157236 (accessibility_bridge.mm:769)
7   Flutter                             0x00000001032446bc flutter::PlatformViewIOS::UpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) + 181948 (accessibility_bridge.mm:0)
8   Flutter                             0x00000001032982a4 std::__1::__function::__func<flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >)::$_31, std::__1::allocator<flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >)::$_31>, void ()>::operator()() + 524964 (functional:1651)
9   Flutter                             0x0000000103252f58 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 241496 (message_loop_impl.cc:125)
10  Flutter                             0x00000001032551dc fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 250332 (message_loop_darwin.mm:76)
11  CoreFoundation                      0x00000001837215f4 0x183644000 + 906740
12  CoreFoundation                      0x0000000183721298 0x183644000 + 905880
13  CoreFoundation                      0x000000018371e9ac 0x183644000 + 895404
14  CoreFoundation                      0x000000018364d680 0x183644000 + 38528
15  GraphicsServices                    0x0000000184b5c088 0x184b50000 + 49288
16  UIKit                               0x00000001884c4d90 0x188448000 + 511376
17  FlyFish                             0x00000001003293fc 0x100084000 + 2774012
18  libdyld.dylib                       0x00000001831ee8b8 0x1831ec000 + 10424

Hi @libleo
could  you please provide your flutter doctor -v ,
your flutter run --release --verbose running on iOS 9,
your flutter build ios --verbose
and your pubspec.yaml
Thank you

Hi @libleo
could you please provide your flutter doctor -v ,
your flutter run --release --verbose running on iOS 9,
your flutter build ios --verbose
and your pubspec.yaml
Thank you

[✓] Flutter (Channel unknown, v1.12.13+hotfix.7, on Mac OS X 10.14.6 18G2022, locale zh-Hans-CN)
    • Flutter version 1.12.13+hotfix.7 at /Users/leo/Developer/flutter
    • Framework revision 0ec3a121bc (3 weeks ago), 2020-02-26 14:28:00 +0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/leo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/leo/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 38.2.4
    • Dart plugin version 192.6262.58

[✓] IntelliJ IDEA Community Edition (version 2019.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 38.2.4
    • Dart plugin version 192.6262.58

[!] VS Code (version 1.36.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone6-iOS10.3 • 985E5233-0F5A-490C-BE56-92F5A82EE49A • ios • com.apple.CoreSimulator.SimRuntime.iOS-10-3 (simulator)

! Doctor found issues in 2 categories.

it is from crash report. I don't have device

Hi @libleo
could you please provide your flutter doctor -v ,
your flutter run --release --verbose running on iOS 9,
your flutter build ios --verbose
and your pubspec.yaml
Thank you

pubspec.yaml
name: flyfish_flutter
description: A new flutter module project.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  transparent_image: ^0.1.0
  cached_network_image: ^2.0.0
  json_annotation: ^2.0.0
  sticky_headers: ^0.1.8
  pulltorefresh_flutter: ^0.1.9
  shared_preferences: 0.4.3
  pull_to_refresh: ^1.5.4
  intl: ^0.16.0
  fluttertoast: ^3.1.3
  common_utils: ^1.1.3
  photo_view: ^0.4.2
  badges: ^1.1.0
  flutter_staggered_grid_view: ^0.3.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner: ^1.0.0
  json_serializable: ^3.1.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  assets:

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

  #
  # This section identifies your Flutter project as a module meant for
  # embedding in a native host app.  These identifiers should _not_ ordinarily
  # be changed after generation - they are used to ensure that the tooling can
  # maintain consistency when adding or modifying assets and plugins.
  # They also do not have any bearing on your native host application's
  # identifiers, which may be completely independent or the same as these.
  #
  module:
    androidPackage: com.taobao.flyfish_flutter
    iosBundleIdentifier: com.taobao.flyfishFlutter

Thank you @libleo

@jason-simmons: This seems like something that you worked on and fixed on ToT. I am not able to recall the commit though. v1.12.13 is a pretty old release.


Option to show nested fields inline, better semantic type handling

Added an option which allows user to show nested JSON as inline fields.
Added semantic handling for booleans, dates and urls.

This is a very cool addition. Thanks for the PR. Just left a few comments that need to be addressed before these changes can be merged in.

Thanks! I should credit @tdurieux for most of the job.


[PyTorch] Remove some direct calls to PyTorch extensions in Float8Tensor

Description
When Float8Tensor launches TE kernels, it directly calls the PyTorch extensions rather than using the Python wrapper functions in te.pytorch.cpp_extensions. This is because the Python wrapper functions required passing in FP8TensorMeta objects. https://github.com/NVIDIA/TransformerEngine/pull/1083 changed the APIs so the FP8TensorMetas are optional. This PR takes advantage of these new APIs, which also has the effect of registering FP8 casts with TorchScript.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[x] Code refractor

Changes

Replace tex.cast_to_fp8 and tex.cast_from_fp8 calls in Float8Tensor with cpp_extensions wrappers

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/te-ci pytorch


zh: add document about creating task and verify

What is changed, added or deleted? (Required)
add document about creating task and verify, this document's content is split from zh/deploy-a-dm-cluster-using-binary.md
Which TiDB Data Migration (DM) version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[ ] v1.0 (TiDB DM 1.0 versions)

Please add this file link into TOC.md. @WangXiangUSTC

Please add this file link into TOC.md. @WangXiangUSTC

ok, already updated @yikeke

@miaoqingli PTAL again, thanks

LGTM


configuring eslint for ci testing

Opening up this pull request to discuss adding eslint to ci tests keep track of example code.
Got the current config file running on coding challenges and cabana. Disabled a fair number of the checks that would require large diffs. Seems like those might be better tackled one in separate pull requests but left many of the rules it would be good to add in comments.
Planning to add Courses and Tutorials over the weekend before setting up with github actions and merging.
Any suggestions are welcome.

Yep as far as I know linting is mainly used for finding mistakes that might cause bugs, code style, and code formatting. The way it's setup up right now it only really does the first thing. But planning to enable prettier, for the formatting, in a separate pull request which should catch all of the things. Don't think we should add much in the way of rules that enforce style because it doesn't make sense for this project.


Hey do you have any reproducible examples of what you’re talking about? It’s difficult to pinpoint the problem without them. Thanks!

Sorry, but I don't know how to give a reproducible example, now I have downgraded to 1.34 and everything is OK, strange. Thanks.
Some info.
programming language
python3
extensions installed

Extension
Author (truncated)
Version

code-gnu-global
aus
0.2.2

vscode-python-docstring
aza
0.0.5

c-cpp-compile-run
dan
0.5.0

vscode-markdownlint
Dav
0.28.0

vsc-material-theme
Equ
2.9.0

output-colorizer
IBM
0.1.2

python
ms-
2019.5.18875

cpptools
ms-
0.23.1

(5 theme extensions excluded)

My CODE stuck frequently(e.g. autocompleting) after updating to 1.5, rolling back to the previous version 1.49 didn't help. Even a git push command would get stuck for 2s in the terminal window, So I wonder what is installed by 1.5? What is running beside CODE may cause this problem? I tested pycharm IDE which seems to work smoothly.

@xtluo-ai Did you try following the performance wiki and provide us necessary info as recommended there
https://github.com/microsoft/vscode/wiki/Performance-Issues

@sandy081 Sorry, some information cannot be provided due to confidentiality. I'm closing this rare and strange issue. Thanks for your help.


This commit solves the problem of duplicates in the repositories due …

…to the different capitalization of GitHub URLs.
It adds a test, which checks whether the MultiRepository detects duplicates of GitHub repositories in the dependencies despite different capitalization in the URLs.
The shared functionality of MultiRepositoryTest and MultiRepositoryManagerTest is moved to the abstract parent class RepositoryTest.
Signed-off-by: Marvin Bechtold<EMAIL_ADDRESS>

[ ] Ensure that you followed our toolchain guide. Especially, we require a single commit
[ ] Ensure that the commit message is a good commit message
[ ] Ensure to use auto format in all files
[ ] Ensure that you appear in NOTICE at Copyright Holders
[ ] Tests created for changes
[ ] Documentation updated (if needed)
[ ] Screenshots added (for UI changes)

Add to whitelist


One address variation geocoding but not another (while neither plot on Google Maps)

Overview
We did a deep dive into the behavior around address data for a facility that a user shared with us. You can read all the details in this doc: https://docs.google.com/document/d/10EK5HXSWO9okyOtv9QYJaFD3M8T6jx6L-dk2W_GceHQ/edit?usp=sharing
Expected Behavior
See doc.
Actual Behavior
There are three pieces wrapped up in this situation that we wanted to look into (and please let me know if this should be three separate GitHub issues but wanted to discuss first to see if they were all worth making):

Why two (pretty similar) addresses that won't plot on Google Maps have one geocoding in the OAR and not the other?
Why we're not able to delete a particular facility on Staging
If there are any enhancements that could be made to our algorithm, when looking at two facilities that were automatically turned into separate facilities and not fed to Confirm/Reject (and is a pretty common use case for us in terms of address types)?

Steps to Reproduce
See doc
Demo
See doc.
Additional context
As it's China data, wondering if any of this is related to: https://github.com/open-apparel-registry/open-apparel-registry-clients/issues/43.

I realized I should have put this on clients repo - is there a way to easily move it there?
A follow up/development here:
The user tried uploading this address on prod: XIAOHANJIABAO VILLAGE, TANGERLI TOWN , BAZHOU CITY , HEBEI PROVINCE,CHINA
And they are receiving an error:

This same address was able to plot on Staging:

cc @katieashaw and @isaacokunato so you can see the update above. I am flummoxed!

This is baffling to me, too! @jwalgran Any quick thoughts on why we're seeing such different behaviour between Production and Staging?


Crash when changing sound output

Describe the crash:

Launched osu.
Changed sound output to headphone jack from USB audio
(no audio heard) Open system(Ubuntu) sound settings
Alsa plugin showed up but no audio
open pavucontrol, noticed that audio is still being directed to usb audio(but no audio produced)
focus osu!lazer
change audio to default ( no effect )
change audio back to usb
crash

osu!lazer version:
9a9c01bc92549f3acee4af8e2caf6265d0c7b5fb
Logs:
Console output:
[...]
[runtime:debug] 2020-01-11 19:17:45: MouseMoveEvent() handled by SettingsOverlay.
Console output is being limited. Please check runtime.log for full logs.
[network:verbose] 2020-01-11 19:17:48: Performing request osu.Game.Online.API.Requests.GetUpdatesRequest
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
[runtime:verbose] 2020-01-11 19:17:49: Unhandled exception has been denied .
Unhandled exception. [runtime:error] 2020-01-11 19:17:49: An unhandled error has occurred.
[runtime:error] 2020-01-11 19:17:49: NUnit.Framework.AssertionException
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Logging.ThrowingTraceListener.Fail(String message)
[runtime:error] 2020-01-11 19:17:49: at System.Diagnostics.TraceInternal.Fail(String message)
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Audio.AudioManager.setAudioDevice(Int32 deviceIndex)
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Audio.AudioManager.setAudioDevice(String deviceName)
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Audio.AudioManager.<>c__DisplayClass27_0.<onDeviceChanged>b__0()
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Threading.ScheduledDelegate.RunTask()
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Threading.Scheduler.Update()
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Threading.GameThread.ProcessFrame()
[runtime:error] 2020-01-11 19:17:49: at osu.Framework.Threading.GameThread.runWork()
NUnit.Framework.AssertionException
   at osu.Framework.Logging.ThrowingTraceListener.Fail(String message)
   at System.Diagnostics.TraceInternal.Fail(String message)
   at osu.Framework.Audio.AudioManager.setAudioDevice(Int32 deviceIndex)
   at osu.Framework.Audio.AudioManager.setAudioDevice(String deviceName)
   at osu.Framework.Audio.AudioManager.<>c__DisplayClass27_0.<onDeviceChanged>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTask()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.ProcessFrame()
   at osu.Framework.Threading.GameThread.runWork()
--- End of stack trace from previous location where exception was thrown ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass93_0.<handleException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTask()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.ProcessFrame()
   at osu.Framework.Platform.GameHost.handleInput()
   at osuTK.GameWindow.RaiseUpdateFrame(Stopwatch watch, Double elapsed, Double& timestamp)
   at osuTK.GameWindow.DispatchUpdateFrame(Stopwatch watch)
   at osuTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at osuTK.GameWindow.Run()
   at osu.Framework.Platform.GameWindow.Run()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osu.Desktop.Program.Main(String[] args) in /home/<USERNAME>/osu!lazer/osu/osu.Desktop/Program.cs:line 56

(Stack trance doesn't show up on runtime.log)
runtime.log
Computer Specifications:
GPU : GTX1060 3GB
CPU : AMD Ryzen 5 1600
16 GB DDR4
OS : Ubuntu 19.10

Could probably replace the assert with a return false; in
https://github.com/ppy/osu-framework/blob/5f2c1ef04b05ae7771b9b11da1fe61696523bd93/osu.Framework/Audio/AudioManager.cs#L248
Should log the error though.


Schedule the full ES sync to run daily

Issue number: DH-1660
Description of change
This adds a couple of tasks for syncing all objects for a particular model, and schedules it to run overnight.
The new tasks are routed to a different Celery queue to separate long-running tasks from other tasks. Also a couple of extra Celery arguments were added to help avoid long-running tasks from hogging workers. We could also add additional commands to the Procfile so that we can start Celery worker processes with different arguments (e.g. for different queues), though I haven't done this for now as I think our needs remain fairly simple.
Checklist

[x] Have any relevant search models been updated?
[x] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[x] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[x] Has the admin site been updated (for new models, fields etc.)?
[x] Has the README been updated (if needed)?

Codecov Report

Merging #929 into develop will increase coverage by <.01%.
The diff coverage is 95.23%.

@@             Coverage Diff             @@
##           develop     #929      +/-   ##
===========================================
+ Coverage    96.58%   96.59%   +<.01%
===========================================
  Files          172      174       +2
  Lines         4893     4907      +14
  Branches       466      467       +1
===========================================
+ Hits          4726     4740      +14
  Misses         112      112
  Partials        55       55

Impacted Files
Coverage Δ

datahub/search/tasks.py
100% <100%> (ø)

datahub/search/management/commands/sync_es.py
100% <100%> (+4.54%)
:arrow_up:

datahub/search/bulk_sync.py
93.75% <93.75%> (ø)

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 a552151...0854454. Read the comment docs.


Looks like a pretty interesting project, what happened here? No longer being maintained?

Sadly I think you're quite right on this one. At the moment Effeckt is not really actively maintained anymore or at least I think we can state its development slowed down :( But we still welcome contributions :)

@arthurvr I recently checked back with this repo and was wondering the same thing. I think it's quite sad since I still see a lot of devs struggling with animations.  To get things moving again I think #293 and #296 and possibly #306 would be great. After that #187 and #255 to get modularity going. Also some housekeeping in the issues would probably be in order ;) I'd be happy to put some time into the project so maybe you can give me your take on priorities.

It's awesome to hear that people are still interested in working on this project!

I'd be happy to put some time into the project so maybe you can give me your take on priorities.

I'll defer that to @h5bp/effeckt-css but I agree that the overall infrastructure tasks are important before we can move forward.

Definitely. A modular infrastructure also makes it a lot easier for people to contribute.

@arthurvr @davidyezsetz Id be willing to put in time for this project also! How do you folks suggest we get started? Can we have a checklist of things to be done to make this project more modular?

@arthurvr @ShashankaNataraj @davidyezsetz I will be happily contributing as well. can you add us to the team and grant us push access so we can work on effeckt?

@shnrj Thanks for willing to contribute!

can you add us to the team and grant us push access so we can work on effeckt?

That's not really how it works :)
We'll be happy to add people to the team after regular, good contributions and if everybody else on the team is happy with that. Doesn't mean you can't help us, but for the time being I'd prefer you to stay sending PRs.

@shnrj Being added as a team member is lot of work, bro. You have to be acquainted with the style guide and should've made significant contributions to these projects.
I am not part of the h5bp team either, but doesn't stop me from making contributions to effeckt :) Basically fork the repo and check the issues list for things you can contribute on and make PR's for your changes. If it gets approved, fine, otherwise you know what you're doing wrong :)
"If Im wrong, Im doubly benefitted" ;)


Remove build scripts in favor of glide.

I do want a /version in zkclient and zkserver.  This is not complete as is.


py3.8 build?

Hi all, thanks for the work on this package!
I was just wondering how much work it is to release a py3.8 build? Happy to put a PR in, but not sure where to start!
Thanks.

Solved in https://github.com/conda-forge/cgal-feedstock/pull/59, packages should be available soon

Thanks!


What is the default "logger" configuration in an empty host.json?

The documentation page at https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring does not mention what the default is...

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

ID: 13672b67-22ea-3dda-8b6b-3332c24e6030
Version Independent ID: fdc60aeb-9971-1d9f-a6ba-b3ad818cf0d5
Content: Monitor Azure Functions
Content Source: articles/azure-functions/functions-monitoring.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@cliffkoh Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

in this documentation the version 1.x seems to be used. For the version 2.x there is a host.json reference in place: https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#logging

The feedback about the documentation gap was more, in the absence of any manual configuration, what the default logging behavior is...

@jeffhollan do you know if we default to debugOnly? It's not entirely clear in the host.json article(s).

Yes we default to debugOnly from what I understand @brettsam to confirm 👍

fileLoggingMode defaults to debugOnly, yes.

@cliffkoh Is the documentation in the host.json article not sufficient?

@Karishma-Tiwari-MSFT or @mike-urnun-msft can you also please change the service label to azure-functions/svc? Thanks!

@ggailey777 It is good enough. Not sure if the info was there when I first opened this issue but a possible action item for improvement would just be to link to the defaults from https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#logging

Thanks @cliffkoh. Let's #please-close this issue.


react-native-maps issue

i am using react-native-cli :2.0.1 and react-native:0.60.5
i installed react-native-maps ..
but app don't working..

Please add more info about your issues.
Thanks!

Thank you!
first when i install react-native-maps then ...

second..run-android

…]()
and
i insert my api_key

but

After inserting your API KEY, just run again

react-native run-android

I tried again and again.

Re-check that your API KEY is correct.

my api key is correct and when i try run-android then

Try this:

react-native unlink react-native-map

and then go inside ios folder and try:

pod install

Sorry ! i only need android app

Well, just react-native unlink react-native-map

then i can not use map...Whether i  use any package, i can present(show) the map?.do you have any method?

Try a new installation with this:
npm install react-native-maps --save-exact

i already try it

so i created new react-native app version 0.59.10...
then no error or warning but run-android  then

do not show map ...(blank map pages)

Check this https://github.com/react-native-community/react-native-maps/issues/118

do you have ever use this samples(https://github.com/react-native-community/react-native-maps)

This is an API key issue, be sure is the correct one and is unrestricted

thank you ..but i already used reistricted api key..but same....

I had the same issue, in my project. And when I see in Android studio log I got following error:

E/Google Maps Android API: Authorization failure.  Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)
Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key:
Android Application (<cert_fingerprint>;<package_name>): ;

After switching to correct keystore it starts working.
here is my main build-gradle file settings for build tools and google lib version:

ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "11.8.0"
androidMapsUtilsVersion = "0.5+"
}

Unfortunately the latest versions of google maps is not working for me, so I used 11.8.0

You need to enable Maps Static API and Maps SDK for Android on Google Developer Console - Libraries
I hope this helps you!

Having Same issue Blank Maps Page with Google logo on left bottom.
Checked API key i.e correct
When Updated React-native from 0.5.9 to 0.6.1

For others running into the same problem: Just because the google logo shows up does not necessarily mean it must be API key issue.
In my case, I upgraded the react-native-maps package (along with RN 0.61), and somewhere the behavior must have changed. I used to be able to set the region with a latitudeDelta and longitudeDelta with 180 and 360 before. Now doing that with 0.26.1 causes a blank map.
Try creating a new project and add just a MapView and some known-good props; and if that works for you, you can troubleshoot backwards from there. You can also copy-paste the api key from the example into your project to determine if it's an api key issue (at least right now, it's unrestricted).
Also, when you make any changes to AndroidManifest.xml, you have to clean build.
cd android
./gradlew clean


Not working

hello ,
i m searching for some js which draw flow chart , i found this one is best representation .
i download flowchart_master from here but .
even demo.html is not working .
i m tired i can't figure it out.
pl give me workable demo source .
or pl tell me what should i do please

Maybe changing Line 11 of the example/index.html file:

   <script src="../bin/flowchart-latest.js"></script>

   <script src="../release/flowchart-1.4.0.min.js"></script>

would make it more obvious/easier for people who aren't using/expecting to use grunt?


Issue with receiving? (OSX)

Hi there,
I sent some VTC from Shapeshift to electrum-vtc using the address found in the "receive" tab but still nothing arrived. It's been a day already so it's a bit weird, the transaction went through just fine apparently on Shapeshift.
Any ideas why?
Thanks,
G.

Was this resolved by shapeshift?

Hey, thanks for following up on this. Yes, It was a problem on their side.


Subgraph.yaml: Cannot read properties of  undefined (reading 'value')

Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
This contract on Mumbai always fails at the codegen step with the error below during and after initialization.
Subgraph.yaml: Cannot read properties of  undefined (reading 'value')
Reproduction
nil
Steps to Reproduce the Bug or Issue

Initialize the contract with graph init and follow the prompt

Expected behavior
Upon running the codegen command, it should create the generated folder.
Screenshots or Videos
No response
Platform

macOS
@graphprotocol/graph-cli/0.51.1 darwin-arm64 node-v18.16.0

Subgraph Manifest
No response
Subgraph GraphQL Schema
No response
Additional context
No response

Here is the yaml also if it helps, all other contracts work fine:
`specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:

kind: ethereum
name: CustomCompositeNFT
network: mumbai
source:
address: "0x9Ef810FFC38EdE19008e746c9b56Bed75cA02786"
abi: CustomCompositeNFT
startBlock: 37635125
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AccessControlUpdated
- Approval
- ApprovalForAll
- BatchTokenMinted
- MarketUpdated
- TokenBurned
- Transfer
abis:
- name: CustomCompositeNFT
file: ./abis/CustomCompositeNFT.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: BatchTokenMinted(indexed address,uint256[],string)
handler: handleBatchTokenMinted
- event: MarketUpdated(indexed address,indexed address,address)
handler: handleMarketUpdated
- event: TokenBurned(indexed uint256)
handler: handleTokenBurned
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/custom-composite-nft.ts
kind: ethereum
name: CoinOpFulfillment
network: mumbai
source:
address: "0x7370432A618E763D7a347575Fa732322072397A2"
abi: CoinOpFulfillment
startBlock: 37635368
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CoinOpFulfillmentAccessControlUpdated
- FulfillerAddressUpdated
- FulfillerCreated
- FulfillerPercentUpdated
abis:
- name: CoinOpFulfillment
file: ./abis/CoinOpFulfillment.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: FulfillerAddressUpdated(indexed uint256,address)
handler: handleFulfillerAddressUpdated
- event: FulfillerCreated(indexed uint256,uint256,address)
handler: handleFulfillerCreated
- event: FulfillerPercentUpdated(indexed uint256,uint256)
handler: handleFulfillerPercentUpdated
file: ./src/coin-op-fulfillment.ts
kind: ethereum
name: CoinOpChildFGO
network: mumbai
source:
address: "0xC45D0C23F64aB9cB721b2246Cb3DFd699dBF8393"
abi: CoinOpChildFGO
startBlock: 37824637
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CoinOpChildFGOApprovalForAll
- ChildBurned
- ChildTemplateCreated
- ParentIdAdded
- TransferBatch
- TransferSingle
- URI
abis:
- name: CoinOpChildFGO
file: ./abis/CoinOpChildFGO.json
eventHandlers:
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: ChildBurned(uint256)
handler: handleChildBurned
- event: ChildTemplateCreated(indexed uint256,string[],string)
handler: handleChildTemplateCreated
- event: ParentIdAdded(indexed uint256,uint256)
handler: handleParentIdAdded
- event: TransferBatch(indexed address,indexed address,indexed address,uint256[],uint256[])
handler: handleTransferBatch
- event: TransferSingle(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleTransferSingle
- event: URI(string,indexed uint256)
handler: handleURI
file: ./src/coin-op-child-fgo.ts
kind: ethereum
name: CoinOpFGOEscrow
network: mumbai
source:
address: "0xc233BE781577d8857B66CA6c0746F1c45b318b90"
abi: CoinOpFGOEscrow
startBlock: 37825454
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CoinOpFGOEscrowAccessControlUpdated
- ChildrenReleased
- ParentReleased
abis:
- name: CoinOpFGOEscrow
file: ./abis/CoinOpFGOEscrow.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: ChildrenReleased(uint256[])
handler: handleChildrenReleased
- event: ParentReleased(uint256)
handler: handleParentReleased
file: ./src/coin-op-fgo-escrow.ts
kind: ethereum
name: PreRollCollection
network: mumbai
source:
address: "0x217bCB5Da05C765095c61c084e30EEB256F8d406"
abi: PreRollCollection
startBlock: 37824705
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- PreRollCollectionAccessControlUpdated
- CoinOpFulfillmentUpdated
- CoinOpMarketUpdated
- CoinOpPaymentUpdated
- CollectionAdded
- CollectionCreated
- CollectionDeleted
- CollectionDiscountUpdated
- CollectionFulfillerIdUpdated
- CollectionNameUpdated
- CollectionPriceUpdated
- CollectionPrintTypeUpdated
- CollectionURIUpdated
- PreRollNFTUpdated
- TokensMinted
abis:
- name: PreRollCollection
file: ./abis/PreRollCollection.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: CoinOpFulfillmentUpdated(indexed address,indexed address,address)
handler: handleCoinOpFulfillmentUpdated
- event: CoinOpMarketUpdated(indexed address,indexed address,address)
handler: handleCoinOpMarketUpdated
- event: CoinOpPaymentUpdated(indexed address,indexed address,address)
handler: handleCoinOpPaymentUpdated
- event: CollectionAdded(indexed uint256,uint256,address)
handler: handleCollectionAdded
- event: CollectionCreated(indexed uint256,string,uint256,address)
handler: handleCollectionCreated
- event: CollectionDeleted(address,indexed uint256)
handler: handleCollectionDeleted
- event: CollectionDiscountUpdated(indexed uint256,uint256,address)
handler: handleCollectionDiscountUpdated
- event: CollectionFulfillerIdUpdated(indexed uint256,uint256,uint256,address)
handler: handleCollectionFulfillerIdUpdated
- event: CollectionNameUpdated(indexed uint256,string,string,address)
handler: handleCollectionNameUpdated
- event: CollectionPriceUpdated(indexed uint256,uint256[],uint256[],address)
handler: handleCollectionPriceUpdated
- event: CollectionPrintTypeUpdated(indexed uint256,string,string,address)
handler: handleCollectionPrintTypeUpdated
- event: CollectionURIUpdated(indexed uint256,string,string,address)
handler: handleCollectionURIUpdated
- event: PreRollNFTUpdated(indexed address,indexed address,address)
handler: handlePreRollNFTUpdated
- event: TokensMinted(indexed uint256,string,uint256,uint256[],address)
handler: handleTokensMinted
file: ./src/pre-roll-collection.ts
kind: ethereum
name: PreRollNFT
network: mumbai
source:
address: "0x510682452E96f0fF873C140B2e73324C67F2CC5E"
abi: PreRollNFT
startBlock: 37824638
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- PreRollNFTAccessControlUpdated
- PreRollNFTApproval
- PreRollNFTApprovalForAll
- PreRollNFTBatchTokenMinted
- FulfillmentUpdated
- PreRollCollectionUpdated
- PreRollNFTTokenBurned
- TokenFulfillerIdUpdated
- PreRollNFTTransfer
abis:
- name: PreRollNFT
file: ./abis/PreRollNFT.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: BatchTokenMinted(indexed address,uint256[],string)
handler: handleBatchTokenMinted
- event: FulfillmentUpdated(indexed address,indexed address,address)
handler: handleFulfillmentUpdated
- event: PreRollCollectionUpdated(indexed address,indexed address,address)
handler: handlePreRollCollectionUpdated
- event: TokenBurned(indexed uint256)
handler: handleTokenBurned
- event: TokenFulfillerIdUpdated(indexed uint256,uint256,uint256,address)
handler: handleTokenFulfillerIdUpdated
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/pre-roll-nft.ts
kind: ethereum
name: CoinOpMarket
network: mumbai
source:
address: "0xC8Ff877C4e2297f28cf0f6961aeb645332B55799"
abi: CoinOpMarket
startBlock: 37824705
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CoinOpMarketAccessControlUpdated
- ChildFGOUpdated
- CoinOpMarketCoinOpFulfillmentUpdated
- CoinOpMarketCoinOpPaymentUpdated
- CompositeNFTUpdated
- OracleUpdated
- OrderCreated
- OrderIsFulfilled
- ParentFGOUpdated
- CoinOpMarketPreRollCollectionUpdated
- CoinOpMarketPreRollNFTUpdated
- TokensBought
- UpdateOrderDetails
- UpdateOrderStatus
abis:
- name: CoinOpMarket
file: ./abis/CoinOpMarket.json
eventHandlers:
- event: AccessControlUpdated(indexed address,indexed address,address)
handler: handleAccessControlUpdated
- event: ChildFGOUpdated(indexed address,indexed address,address)
handler: handleChildFGOUpdated
- event: CoinOpFulfillmentUpdated(indexed address,indexed address,address)
handler: handleCoinOpFulfillmentUpdated
- event: CoinOpPaymentUpdated(indexed address,indexed address,address)
handler: handleCoinOpPaymentUpdated
- event: CompositeNFTUpdated(indexed address,indexed address,address)
handler: handleCompositeNFTUpdated
- event: OracleUpdated(indexed address,indexed address,address)
handler: handleOracleUpdated
- event: OrderCreated(indexed uint256,uint256,address,string,uint256)
handler: handleOrderCreated
- event: OrderIsFulfilled(indexed uint256,address)
handler: handleOrderIsFulfilled
- event: ParentFGOUpdated(indexed address,indexed address,address)
handler: handleParentFGOUpdated
- event: PreRollCollectionUpdated(indexed address,indexed address,address)
handler: handlePreRollCollectionUpdated
- event: PreRollNFTUpdated(indexed address,indexed address,address)
handler: handlePreRollNFTUpdated
- event: TokensBought(uint256[],uint256[],uint256[],uint256[],address,uint256[],address)
handler: handleTokensBought
- event: UpdateOrderDetails(indexed uint256,string,address)
handler: handleUpdateOrderDetails
- event: UpdateOrderStatus(indexed uint256,string,address)
handler: handleUpdateOrderStatus
file: ./src/coin-op-market.ts
kind: ethereum
name: CoinOpParentFGO
network: mumbai
source:
address: "0x277201628d53ABd3aEAcc772D61D47F8fa64773c"
abi: CoinOpParentFGO
startBlock: 37829749
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CoinOpParentFGOApproval
- CoinOpParentFGOApprovalForAll
- FGOTemplateCreated
- ParentBurned
- CoinOpParentFGOTransfer
abis:
- name: CoinOpParentFGO
file: ./abis/CoinOpParentFGO.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: FGOTemplateCreated(indexed uint256,string,uint256[],string[][])
handler: handleFGOTemplateCreated
- event: ParentBurned(uint256)
handler: handleParentBurned
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/coin-op-parent-fgo.ts
`

@itsjerryokolo @saihaj is there any update on this issue?

@itsjerryokolo @saihaj is there any update on this issue?

I have been working on a refactor for reading manifest https://github.com/graphprotocol/graph-tooling/pull/1394 that just makes it easier to solve issues like this. But it's quite involved and current state of that PR I have many issues to fix

Ok got it. It seems the issue in general is that the graph doesnt support a
type of string[][], when i've tested removing this from one of the events I
was emitting it doesn't throw the error.
On Wed, Jul 26, 2023 at 10:06 PM Saihajpreet Singh @.***>
wrote:

@itsjerryokolo https://github.com/itsjerryokolo @saihaj
https://github.com/saihaj is there any update on this issue?
I have been working on a refactor for reading manifest #1394
https://github.com/graphprotocol/graph-tooling/pull/1394 that just
makes it easier to solve issues like this. But it's quite involved and
current state of that PR I have many issues to fix
—
Reply to this email directly, view it on GitHub
https://github.com/graphprotocol/graph-tooling/issues/1399#issuecomment-1652806695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARMFPIMBMZVJ4D33DXZ6PBLXSHEI5ANCNFSM6AAAAAA2HKXVNY
.
You are receiving this because you commented.Message ID:
@.***>

+1
v0.52.0 works fine
v0.53.0 fails with Failed to generate types for GraphQL schema: Cannot read properties of undefined (reading 'fields')

@saihaj I think you changed your approach in #1394 , wondering what you think the best step is here?


Revert "Upload empty blob when packing"

Reverts oras-project/oras-go#262

Codecov Report

Merging #295 (f7eb445) into main (6d3ce22) will increase coverage by 0.00%.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##             main     #295   +/-   ##
=======================================
  Coverage   71.20%   71.21%
=======================================
  Files          37       37
  Lines        3480     3481    +1
=======================================
+ Hits         2478     2479    +1
  Misses        749      749
  Partials      253      253

Impacted Files
Coverage Δ

pack.go
80.21% <75.00%> (+0.21%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Trading volume per user

Track trading volume in BTC and/or USDT
Note: Some assets may not have oracle values (to get BTC value). Meaning we need to rely on other sources to get an exchange rate.

To be clarified: Which actions are included in "trading"? Presumably swap events using various dexes?