Google cloud messaging GCM - Push Notification not being sent (Server Side)

Hi,
I am able to get the device id and save it to my database, and when something happens, I try to send the push notification and get the response
"{"multicast_id":5913087252880472009,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1441610705462116%d477807af9fd7ecd"}]}"
but it does not get delivered to the phone.
Here is what I do in my PHP:
 'here is a message. message',
	'title'		=> 'This is a title. title',
	'subtitle'	=> 'This is a subtitle. subtitle',
	'tickerText'	=> 'Ticker text here...Ticker text here...Ticker text here',
	'vibrate'	=> 1,
	'sound'		=> 1,
	'largeIcon'	=> 'large_icon',
	'smallIcon'	=> 'small_icon'
);

$fields = array
(
	'registration_ids' 	=> $registrationIds,
	'data'			=> $msg
);

$headers = array
(
	'Authorization: key=' . API_ACCESS_KEY,
	'Content-Type: application/json'
);

$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, 'https://android.googleapis.com/gcm/send' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
$result = curl_exec($ch );
curl_close( $ch );

echo $result;
?>
Please help me to resolve this issue.

This may be related: https://github.com/phonegap/phonegap-plugin-push/issues/101
@dummyltpl try to put your app in foreground and try again.
Also use the command "adb logcat" to see if your mobile receive the push (it may receive it but not displaying it)

trying to put app in foreground and its not working.Unable to figure out the issues.
Please suggest to resolve this issue.

@dummyltpl when you send the push, give the logs of adb logcat command. You should see your mobile is receiving the push (but sometimes it does not display it)
Without the logs you don't help to resolve the issue.
Also give the code in your app where you listen for notifications.
Also, try using curl instead of your php code and don't forget to put a title/body:
curl --header "Authorization: key=apiKey" \
     --header Content-Type:"application/json" \
     https://gcm-http.googleapis.com/gcm/send \
     -d '{
    "to": "registrationId",
    "notification": {
        "title": "title",
        "body":"body",
     }
}'

Also test both in background/foreground (and give logcat logs for both)
You can also give a try to this fork which solved an issue I had: <plugin name="phonegap-plugin-push"  spec="https://github.com/slorber/phonegap-plugin-push.git#master" />

@slorber thank you for responding to issues and contributing code, it is greatly appreciated.
Also, I just pushed 1.2.3 to npm so you don't need to use the url to the master branch.

np ok thanks i'll use this version instead :)

same problem for me, i get registered id but i do not get any push.

@roysG how are you sending the push? Need some details if I can debug.

i am sending the push through node js, this code worked great with previous(deprecated) version of the push plugin.
Code below:
var message = new gcm.Message();

//API Server Key
var sender = new gcm.Sender('xxxxxxxxxxxxxx');
var registrationIds = [];
// Value the payload data to send...
message.addData('message',msgs);
message.addData('title',' PickTags');
message.addData('msgcnt',counterMsgs); // Shows up in the notification in the status bar
message.addData('soundname','beep3'); //Sound to play upon notification receipt - put in the www folder in app
message.addData('sound',false); //Sound to play upon notification receipt - put in the www folder in app
    if(imgDeal && (imgDeal.indexOf('.png') || imgDeal.indexOf('.jpg')))
        message.addData('bigPicture',imgDeal); //Sound to play upon notification receipt - put in the www folder in app

//message.collapseKey = 'demo';
//message.delayWhileIdle = true; //Default is false
message.timeToLive = 3000;// Duration in seconds to hold in GCM and retry before timing out. Default 4 weeks (2,419,200 seconds) if not specified.
        registrationIds.push(device);
    sender.send(message, registrationIds, 4, function (result) {
        console.log(result);
    });

@roysG I see no reason why that wouldn't work. My test gcm.js file is very similar. Are you remembering to updated your registration ID you get from the registration event in the registrationIds array?
Other than that run adb logcat | grep PushPlugin to capture what the push plugin sees and send a push to your device. That might help me debug.

i did the test with adb logcat | grep PushPlugin, but i get nothing, there is no any message.
:(
can you send me your gcm.js test ?
and write my your steps, i do not understand why is happen, i follow the steps for the installation.

@macdonst, many thanks,
I found my problem, i just miss the correct sender ID !!


Suggestion: Each template needs an image to show what its output would look like

What is the context for this? Which extension.
If it is either of the release notes ones a preview is not viable

the template is hugely variable so would have to be generated
if generated where would it be shown? There is no option in the pipelines UI or YAML

I tend to preview in a Markdown editor of my choice, such as VSCode, outside the pipeline process

Sorry about that! I meant for the sample templates. And I meant for the images to be in the same SampleTemplates folder here in this repo.
If there were an image for each sample template, it would make it much easier to see if any of them look like they'd be useful. Or if maybe they could be modified to suit. Otherwise it means installing each template and trying them out.
Thanks!

No sure how useful this would be, at least to me, as it is easy to just load the markdown in you editor of choice to have a look at the basic layout.
I am not sure putting a PNG in the file is that discoverable in GitHub
The templates are only meant to be a basic starting point.

Thanks for the reply Richard!
I had a look at the md files and nothing made any sense to me, so I guess I'm in the wrong place :-)


feat(ui): resolve user domains on space overview, proposals and proposal page

Currently we resolve domains only on delegates and votes page, we need to also resolve domains like ENS and Starknet.id using Stamp API on all the missing pages:

Space overview
Proposals
Proposal (for the author)

We should also resolve domain for execution:

You can test here: https://snapshotx.xyz/#/matic:0x80d0ffd8739eabf16436074ff64dc081c60c833a/create

Is there some specific case where we should NOT resolve domains ?

@wa0x6e Not that I can think of


mocha-multi + mocha-junit-reporter no longer works with mocha 6

What are you trying to achieve?
I'm trying to use mocha-multi with mocha-junit-reporter and the CLI reporter. Expecting an XML file in ./output/ and the usual CLI reporting.
What do you get instead?
TypeError: Cannot set property stats of #<EventEmitter> which has only a getter

Error:
    at Codecept.run (***/node_modules/codeceptjs/lib/codecept.js:174:13)
    at codecept.runBootstrap (***/node_modules/codeceptjs/lib/command/run.js:39:16)
    at module.exports (***/node_modules/codeceptjs/lib/hooks.js:27:13)
    at Codecept.runBootstrap (***/node_modules/codeceptjs/lib/codecept.js:110:5)
    at Command.module.exports (***/node_modules/codeceptjs/lib/command/run.js:35:14)
    at Command.listener (***/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:189:13)
    at Command.parseArgs (***/node_modules/commander/index.js:651:12)
    at Command.parse (***/node_modules/commander/index.js:474:21)
    at Object.<anonymous> (***/node_modules/codeceptjs/bin/codecept.js:182:9)

Details

CodeceptJS version: 2.3.0
NodeJS Version: 10.15.3
Operating System: macOS 10.14.6
Configuration file:

mocha: {
    reporterOptions: {
      'mocha-junit-reporter': {
        stdout: './reports/console.log',
        options: {
          mochaFile: './reports/result.xml',
          testsuitesTitle: 'CodeceptJS Tests',
        },
      },
      'codeceptjs-cli-reporter': {
        stdout: '-',
        options: {
          steps: true,
        },
      },
    },
  },

Repo to reproduce: https://github.com/Avyiel/repro-codeceptjs-mocha6

yarn install
yarn codeceptjs run --reporter mocha-multi

It appears that this issue is not cause by CodeceptJS, but instead by mocha-multi.
Please refer to glenjamin/mocha-multi#62 for further discussion.


Fix some physical keyboards not working on Android

Closes https://github.com/ppy/osu/issues/19762

Confirmed this doesn't regress on my devices.
Pending testing on an affected device (I'll be able to borrow one soon).
The actual fix is only adding InputSourceType.Dpad to AndroidKeyboardHandler.HandledEventSources.
The rest of the code is for supporting/suppressing logging.

Tested on Samsung Galaxy Tab S8 with the official keyboard cover.
The keyboard works as expected now (not so much for the touchpad, but that is out of scope for this PR).


Responsive web design

Make usable on Smartphones too, in portrait and landscape mode.

[ ] Make country list in border & language selection a scrollable list


Show me adapter requests I voted for even it is closed

Show me adapter requests I voted for even it is closed

created by ioBroker.info

Done


Add reminder that kubectl event is namespaced

I was trying the examples here...  https://learn.microsoft.com/en-us/azure/aks/cluster-autoscaler?tabs=azure-cli#retrieve-cluster-autoscaler-logs-and-status
and wondering why it wasn't working.
Maybe in the examples you could add -A or a note to make it clearer

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

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/cluster-autoscaler.md
Service: azure-kubernetes-service
GitHub Login: @schaffererin
Microsoft Alias: schaffererin

@DevopsMercenary
Thanks for your feedback! We will investigate and update as appropriate.

@DevopsMercenary
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Thank you for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner, and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary.
#please-close


Translation missing for "nx.notifications.balloon"

I clicked on "Nx Migrate Workspace" from the "Event Log" and saw in the "Notifications" (when it failed) that there is a missing translation.

Thank you for reporting this.
I will fix it.

Thank you for taking care of it. Your plugin improves my workflow. 👍

Should be resolved on latest version 0.46.0


More thinking about archiving

Is there an issue for this already, or just what the IA had to say about it?
c.f. Site Rollover and Archiving in the IA document.
_Data, mentors, locations, and sponsors are planned to exist as persistent entities across multiple years. I need to confirm the behind-the-scenes mechanism I'll use to do it, but however it ends up being achieved it'll basically mean, taking Microsoft as an example, that their page for GH always lives at /organisations/sponsors/microsoft.html
From there you'll be able to either see all of their involvement in GH across the years, or navigate to a point-in-time to see their involvement in the 20XX event.
Projects and prizes will be grouped by year, so that /prize/2016/awesome-prize.html always takes you to that prize in that year and shows you who sponsored it, where it was, who won, what data was put up for it, et cetera.
And say "Awesome Prize" is sponsored by MS then, from /prize/2016/awesome-prize.html you'll be able to get to /organisations/sponsors/microsoft.html and see the other prizes they've sponsored over the years, media and videos related to them, et cetera._
Some further thoughts.
Maybe snapshotting is a secondary measure and not the primary means of discovering and tracking change over time?
For persistent entities consider building the history into their Frontmatter. e.g. (For a sponsor)
events:
  2016:
    is_sponsor: true
    sponsor_level: Gold Sponsor
  2015:
    is_sponsor: true
    sponsor_level: Silver Sponsor

We'd need these event ids to be controlled somehow by a master "What event are we currently on" _config.yml parameter.
If we take this approach we then have to have two types of data associated with an entity:

non-volatile info that won't change often and doesn't change between events (e.g. name, url, logo, ...)
volatile info that changes from event to event, or links to entities that only exist within an event (e.g. sponsor levels)

What about weird and annoying stuff like important non-volatile info that changes? e.g. Jesse moves from CSIRO to somewhere else, but we still want to link him to CSIRO for his contributions in 2014 - 2016.

It's a rare event, so we could create a new profile for him (jesse.md and jesse-kiwi-inc.md?)
We continue to do snapshotting each year anyway, update his live/current profile to point to Kiwi Inc., and let people discover his CSIRO involvement through the snapshotted versions. (This potentially mucks up the fancy one-page-to-show-involvement-across-years stuff.)

Think about other situations like the Jesse one for other types of entities and see where that leads.
If we build history into the Frontmatter then we can do fancier single page one-page-to-show-involvement-across-years stuff rather than just having a bar that links to each snapshotted version if we only know what events they exist in a snapshotted version for e.g.
events:
  2016
  2015

Needs some thought around how these pages for persistent entities like sponsors, mentors, locations, et cetera would work and evolve over the years. We might do a bit of both and only surface archival content for a couple of years before just linking off to a snapshot for it.
If we do eventIds it shouldn't use years (because that's a GovHack thing). Use short names or simple incrementing ids.

Looks like the proposed approach of using the YAML Frontmatter to store the history of permanent entities (everything that's not a prize or project) should work nicely.
An example from an event existing across multiple years:
events:
  gh16:
    type: Official Event
    location:
      lat: -31.953921
      lon: 115.853156

Which would be accessed with:
{{ page.events[site.cfg.current_event].location }}

There's a Basecamp thread w/ Alsyha that talked a bit more about this.


[feature] variables can be renamed by using class names

In deobfuscation option variables beign named like "f15149z". Instead of using numbers and letters we can use classnames.
Example:
Before

After

Or at least class name could be a suggestion for the name in the rename dialog


background images

Universe now has a parallax_background_paths argument. It's a list of paths to background-images for the universe, which are drawn with a parallax-effect. If the list is empty, the background is plain black, as usual. A sample background is implemented, but can easily be changed. This closes #36 for now.
We also change Camera.pos to refer to the topleft corner of the frame, rather than its center, solving #45.

Here's a screenshot. The parallax can't be seen in a static image.


Restore documentation website

Currently, the documentation website has been defaced with the following message:

Some of us have day jobs and deadlines...
In the immortal words of Professor Oak:

DOCS LIVES MATTER!

The @webpack documentation will be temporarily down for today to pay respects to George Floyd and countless others who are the victims of police violence in the Black community and around the world. #blackoutday #BlackOutDay2020 https://t.co/FPy0JITmjs pic.twitter.com/CgSndheO4A— webpack module bundler (@webpack) June 2, 2020

Just open https://webpack.js.org/guides/getting-started/ or any other pages instead of homepage, you should be able to use docs as usual.

Thanks for the tip

You could do it normally, like put a popup or small window on the side, with blm info, but no, you prefer to hinder the work of millions of programmers, resulting the opposite effect to the intended one. Congrats webpack devs!

@Ispen Because it is very important for me and for others, tomorrow your family member can be killed by a psychopath policeman. How would you feel about this?

@Ispen Because it is very important for me and for others, tomorrow your family member can be killed by a psychopath policeman. How would you feel about this?

Ah, a notice on webpack's website is sure to put a stop to this. Carry on!

@Ispen Because it is very important for me and for others, tomorrow your family member can be killed by a psychopath policeman. How would you feel about this?

It is also important for me and probably for each of us. I agree that such problems should also be publicized in a programming environment, BUT not in this way! Without hindering other people's work!

Ah, a notice on webpack's website is sure to put a stop to this. Carry on!

Yes, if we do it together, we can change everything

It is also important for me and probably for each of us. I agree that such problems should also be publicized in a programming environment, BUT not in this way! Without hindering other people's work!

This was done so that we all pay attention. Most would just close the pop-ups and pass by.

Most would just close the pop-ups and pass by.
It's their choice, instead you build an army of opponents making their work more difficult. Not this way.

Most would just close the pop-ups and pass by.

Because most of us don't care about american problems when we're programming, please keep us out of them, thank you.

@Ispen Because it is very important for me and for others, tomorrow your family member can be killed by a psychopath policeman. How would you feel about this?

I am 100% sure that my family will not overdose fentanyl and metamphetamine as he did :)

if you really want to make people pay attention to it there are many different ways to do it. making our(software developers) work harder by removing docs will not create ANY positive associations with actions you are trying to promote.

@evilebottnawi have you ever wondered how this situation looks like from a European point of view?

BUT not in this way! Without hindering other people's work!

Exactly so!
This way produces no attention or interest. It cause confusion and repulsion.
Coerced solidarity is not solidarity.

People are protesting for justice even having a threat like COVID'19 around them. I guess this is the least we can do.
You have the answer above https://github.com/webpack/webpack.js.org/issues/3762#issuecomment-637512383 .

The United States isn't the world. People have deadlines and jobs - confusing them in favor of implicitly coerced solidarity with something that may not even be relevant to their location in the world is disappointing.
Put up a through-link to the documentation instead of being disrespectful and assuming you represent the globe.

@nukeop I've blocked you from contributing on our organization temporarily. Your vapid commentary is not welcome here. Allow this time to reflect on why this situation is not about you "having to do work" but rather focusing on more important justices, not only here, but all over the world.
Rather, like us, use your privilege to help voice the injustices across the world and fight for change.


Urgent - Maps API quota warning

The state of Wyoming is attempting to embed the Tool on their webpage, http://soswy.state.wy.us/Elections/PollPlaceLookup (2).aspx.
Yesterday, the tool wasn't functioning properly, and in reviewing the page, they have found an error occurring on the back end which indicated they had exceeded the daily request quota for the API.

Do you know what's happening here?

Looking into this now. Some background: a new Google Maps API policy went
into effect this June requiring an API key for new maps embeds. We added
this key late June / early July and VIP was in talks with Google to
whitelist the key to prevent us from hitting request limits.
Alex Konrad
On Wed, Aug 10, 2016 at 8:52 AM, Maria Bianchi<EMAIL_ADDRESS>wrote:

The state of Wyoming is attempting to embed the Tool on their webpage,
http://soswy.state.wy.us/Elections/PollPlaceLookup (2).aspx.
Yesterday, the tool wasn't functioning properly, and in reviewing the
page, they have found an error occurring on the back end which indicated
they had exceeded the daily request quota for the API.
[image: image002]
https://cloud.githubusercontent.com/assets/7061871/17560640/cd6f8ce0-5ef0-11e6-8db0-9bf1bff28d64.png
Do you know what's happening here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/votinginfoproject/vip-embeddable-tool/issues/199, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD0K1jx87EL9YUW-yOer1biPm8Ww-Zmzks5qefOngaJpZM4JhSxN
.

Closing this. We rectified the Maps API issue and are dealing with quota currently.


Proposal: Move generating templates to a common library

At the moment templates are generated with three different approaches in stack.go, tls.go and ingress.go.
These can be refactored to use common methods.
Needs adding unit tests as well.

/close
This will be obsoleted by the ofc chart


🍀change: change default download location

Just misclicked it. No need to worry about this request.


MWPW-132078: hide ctas by id (feature parity with caas on dexter)

Authoring would work by having a separate panel where they can list ids and for those IDs the primary CTA will be removed. (either css display:none or just never render html). We have already completed this work in dexter and are implementing this in milo to have feature parity between the two authoring experiences.
Here's a detail of UX requirements from the original implementation in dexter:
We want a new tab similar to the "Feature Cards" and "Exclude Cards".
The new tab will be called "Hide CTAs" and the user will be the prompted to add content ID or card path, with "Add" option for more cards (similar to the Exclude Cards UX).
We also have a "Hide all cards in collection" option. While this duplicates the current functionality in UI->"Collection Button Style", this will be good in case users go to the new "Hide CTAs" tab and don't know why they can't hide all CTAs for the collection (even though they can if they used the current method)
Resolves: MWPW-132078
Test URLs:

Before: https://main--milo--adobecom.hlx.page/tools/caas?martech=off
After: https://MWPW-132078--milo--sheridansunier.hlx.page/tools/caas?martech=off

@honstar The "Hide all CTAs in collection" implemented as part of https://jira.corp.adobe.com/browse/MWPW-123040


Expand unit tests for Pause feature

Summary
Expand unit tests for Pause feature

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@juliev0 this is dup of #15


docs: update usage for attachment

Description
SCC attachment usage is incorrect
https://github.com/terraform-ibm-modules/terraform-ibm-scc/issues/75
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
SCC attachment usage is incorrect, update values and parameters to match existing attachment module.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 1.4.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Unable to test noise addition using the local aggregation service tool

Hi, I work in the Google Ad Traffic Quality Team. I am using the local aggregation service tool to simulate noise on locally generated aggregatable reports. However, due to the contribution budget limits, I am unable to create multiple aggregatable reports that will correctly represent my data. What is the best way for me to test this locally, can I manually create an aggregatable report with very high values (corresponding to a raw summary report) for testing?

Hi,
For Attribution Reporting API, you can go to chrome://attribution-internals and be able to "Clear all attribution data". This will allow for you to test and create new source and trigger registration.

Hi @sanjalijha ,
Closing this. Let us know if you still require some help.


Error: queue.Empty

Hi,

I am using logstash-async without db
i configure python logging handler this way:

 handlers:
        console:
            class: logging.StreamHandler
            level: INFO
            stream: ext://sys.stdout
            formatter: simple
        logstash:
            level: DEBUG
            class: logstash_async.handler.AsynchronousLogstashHandler
            formatter: logstash_formatter
            host: logger.vitalerter.com
            port: 5000
            database_path: null

Do you have an idea how to manage this error?

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 118, in _fetch_events
    self._fetch_event()
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 140, in _fetch_event
    self._event = self._queue.get(block=False)
  File "/usr/local/lib/python3.8/queue.py", line 167, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 214, in _flush_queued_events
    self._send_events(events)
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 268, in _send_events
    self._transport.send(events, use_logging=use_logging)
  File "/usr/local/lib/python3.8/site-packages/logstash_async/transport.py", line 88, in send
    self._create_socket()
  File "/usr/local/lib/python3.8/site-packages/logstash_async/transport.py", line 166, in _create_socket
    self._sock.connect((self._host, self._port))
socket.timeout: timed out

The real error is: socket.timeout: timed out.
Check your configuration and network connectivity to the Logstash server.

The real error is: socket.timeout: timed out.
Check your configuration and network connectivity to the Logstash server.


Errors when using Application Default Credentials

Exception in thread "main" java.io.IOException: The Application Default Credentials are not available. They are available if running on Google App Engine, Google Compute Engine, or Google Cloud Shell. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
	at com.google.api.client.googleapis.auth.oauth2.DefaultCredentialProvider.getDefaultCredential(DefaultCredentialProvider.java:98)
	at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.getApplicationDefault(GoogleCredential.java:213)
	at com.google.api.client.googleapis.auth.oauth2.GoogleCredential.getApplicationDefault(GoogleCredential.java:191)
	at com.google.cloud.vision.samples.label.LabelApp.getVisionService(LabelApp.java:100)
	at com.google.cloud.vision.samples.label.LabelApp.main(LabelApp.java:73)

BUILD FAILURE

Yes, to configure ApplicationDefaultCredentials locally or in a non-GCP environment you will want to set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to your credentials file (downloadable from the Google Cloud Console).
More information is available at the link in the error message: https://cloud.google.com/docs/authentication/production

I have tried all these, still getting the same error. PLEASE HELP!

@ansh-mehta I just came across this issue while searching for a way to get Java with SecurityManager to be disabled or to work with the Google Application Default Credentials (for ElasticSearch, related to this: https://www.elastic.co/guide/en/elasticsearch/plugins/7.10/repository-gcs-usage.html#repository-gcs-service-authentication). Perhaps you were running into the same issue (Java SecurityManager interfering with Google Application Default Credentials)?

I don't remember at all 😅, long time!


[fix #2564] try to fix the placeholder in doc

close #2564 . But it seems doesn't work.

Coverage decreased (-0.009%) to 87.302% when pulling 59cecaeaee0144b29ba9a247b9b9f6cb8b4b21a0 on awxiaoxian2020:add-pom into 140a28ff00fca3584ff427dace84a094611befc3 on mybatis:master.


Add support for wapmorgan/PhpCodeAnalyzer

Add the support of the tool wapmorgan/PhpCodeAnalyzer: PhpCodeAnalyzer finds usage of non-built-in extensions in your php code.

The tool don't have XML output. (And adding it look pretty difficult)

Closing, please see https://github.com/EdgedesignCZ/phpqa/issues/112#issuecomment-369987327


Do not silently truncate files on perlasm errors

If one of the perlasm xlate drivers crashes, OpenSSL's build will
currently swallow the error and silently truncate the output to however
far the driver got. This will hopefully fail to build, but better to
check such things.
Handle this by checking for errors when closing STDOUT (which is a pipe
to the xlate driver).
This is the OpenSSL 1.1.1 version of
https://github.com/openssl/openssl/pull/10883 and
https://github.com/openssl/openssl/pull/10930.

Would you mind adding it for master, too?

Already did in https://github.com/openssl/openssl/pull/10930.

Merged to master, thanks.


fix: missing target and module in tsconfig

    "target": "esnext",
    "module": "esnext"

I cannot remember why we need this issue ...


Beautify gizmos.

[x] Torus for rotation gizmo = prettier shape.
[ ] Add markers of start/end rotation points.
[ ] Change the selected axis' color.

Ping: is this issue still topical?


Fix UG and DG

Remove additional column in "Command Summary" table
Fix numbering under "Quick Start"
Add caution message for duplicate name detection
Add full stops for email error message

Codecov Report
Base: 75.59% // Head: 75.59% // No change to project coverage :thumbsup:

Coverage data is based on head (4ee78e6) compared to base (9c5bb95).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #221   +/-   ##
=========================================
  Coverage     75.59%   75.59%
  Complexity      532      532
=========================================
  Files            77       77
  Lines          1549     1549
  Branches        180      180
=========================================
  Hits           1171     1171
  Misses          333      333
  Partials         45       45

Impacted Files
Coverage Δ

src/main/java/seedu/guest/model/guest/Email.java
90.90% <ø> (ø)

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

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


mfu: move link's attributes set into mfu_copy_set_metadata

Move link's ownership, permissions, and timestamps setting later into
mfu_copy_set_metadata, and now the link's timestamp will be synced up
if option preserve enabled, the same as we do to files.
Signed-off-by: Gu Zheng<EMAIL_ADDRESS>

@KnightKu Where did you move the code to? I don't see it added anywhere in this PR?

@KnightKu Ok, I see. Looks good.


NPM install Failed at the<EMAIL_ADDRESS>install script.

Am I doing this correctly?  install works fine on macOS, not so well when the repo is cloned to windows.  Any hints as to what is wrong?  package.json dependency entry is "drivelist": "~6.2.2"
npm_fail.txt
$ npm install

gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
...
gyp ERR! System Windows_NT 10.0.16299
...
gyp ERR! node -v v8.11.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.

my stand alone test program:
const drivelist = require('drivelist');
module.exports = function() {
  drivelist.list((error, drives) => {
    if (error) {
      throw error;
    }
    console.log("\n\nDrive Listings:\n");
    console.log(JSON.stringify(drives, null, 4));  // makes a nicely formatted output.
  });
}

TOTAL fail with package.json  "dependencies": { ... "drivelist": "~6.2.2" }
My needs are pretty simple.  Works just fine with "drivelist": "~5"
Drive Listings:

[
    {
        "device": "\\\\.\\PHYSICALDRIVE0",
        "raw": "\\\\.\\PHYSICALDRIVE0",
        "displayName": "C:",
        "description": "Samsung SSD 850 EVO M.2 250GB",
        "size":<PHONE_NUMBER>16,
        "system": true,
        "protected": false,
        "mountpoints": [
            {
                "path": "C:"
            }
        ]
    },
    {
        "device": "\\\\.\\PHYSICALDRIVE1",
        "raw": "\\\\.\\PHYSICALDRIVE1",
        "displayName": "D:",
        "description": "SanDisk Cruzer Glide USB Device",
        "size":<PHONE_NUMBER>8,
        "system": false,
        "protected": false,
        "mountpoints": [
            {
                "path": "D:"
            }
        ]
    }
]

Hey @zipzit, we still have an issue with our Windows prebuilds not being generated, which causes it to build from source on install. Which version of the Visual C++ build tools or Visual Studio do you have installed?

Uh-oh..   Big oops.  This is a new install on a pretty clean computer.   There really isn't much loaded there.  Python 2 & 3, node via NVM, VS code, Git and not a whole lot else.  Not a single node_modules entry in global space.  Clean build via a gitlab repo and node install.
Ouch.  I just looked hard at the pre-requisites from   https://github.com/nodejs/node-gyp   So yeah, I'm likely missing stuff there.  Now I'm beginning to understand why this works on my development mac vs not on this clean windows box.  Sigh...
I will say, nothing on this drivelist repo warns me about having node-gyp installed to enable complete build from source solution.  Does this issue write up highlight a miss in the readme.md file?

You can install with npm:
$ npm install -g node-gyp
You will also need to install:
On Unix
python (v2.7 recommended, v3.x.x is not supported)
make
A proper C/C++ compiler toolchain, like GCC
On Mac OS X
python (v2.7 recommended, v3.x.x is not supported) (already installed on Mac OS X)
Xcode
You also need to install the Command Line Tools via Xcode. You can find this under the menu Xcode -> Preferences -> Downloads
This step will install gcc and the related toolchain containing make
On Windows
Option 1
Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
Option 2
Install tools and configuration manually:
Visual C++ Build Environment:
Option 1: Install Visual C++ Build Tools using the Default Install option.
Option 2: Install Visual Studio 2015 and select Common Tools for Visual C++ during setup. This also works with the free Community and Express for Desktop editions.
Option 3: if you already have Visual Studio 2015 installed and did not install the Common Tools for Visual C++ during setup, you can File -> New -> Project, pick any of the options under Templates -> Other Languages -> Visual C++ then Ok and Visual Studio will offer to install the Common Tools for Visual C++ with a "Install Missing Features" / "You need the Universal Windows App Development Tools to develop Windows app projects." dialog.
💡 [Windows Vista / 7 only] requires .NET Framework 4.5.1
Install Python 2.7 (v3.x.x is not supported), and run npm config set python python2.7 (or see below for further instructions on specifying the proper Python version and path.)
Launch cmd, npm config set msvs_version 2015

Any more thoughts on this? I'm having an identical problem

TOTAL fail with package.json "dependencies": { ... "drivelist": "~6.2.2" }
My needs are pretty simple. Works just fine with "drivelist": "~5"

hint, hint...

doh! I read right past that, but it did the trick, Thanks @zipzit... that's why I love this community.

AIUI, when the "Windows prebuilds not being generated" issue has been fixed, then attempting to npm-install the latest version of drivelist on Windows will then cause it to download and install the prebuilt binary (for the relevant version of Node you're using) rather than trying to build it from source.


layout.flex value not being respected for Markdown component within a Box

Similar to #346
Code:
const icon: whisper.Icon = {
  type: whisper.WhisperComponentType.Icon,
  name: 'chevron_left',
  layout: {
    flex: '0 1',
  },
};

const message: whisper.Message = {
  type: whisper.WhisperComponentType.Markdown,
  body: 'Title',
  textAlign: whisper.TextAlign.Center,
  layout: {
    flex: '1 0',
  },
};

const box: whisper.Box = {
  type: whisper.WhisperComponentType.Box,
  children: [icon, message],
  direction: whisper.Direction.Horizontal,
  justifyContent: whisper.JustifyContent.SpaceEvenly,
  layout: {},
};

Thanks for the code! And yeah, we found this bug as well when we went to fix #346 , and it should be part of the same change set to address that one. It won't be in the next version of the LDK coming out soon, but it should be picked up in the version after that.

Hey @coltonbrugger  Thanks for the feedback!
We've create HELPS-1711 to address this issue, and will update this issue accordingly.
Thanks again for helping us put the LDK through its paces!


Allow ActionController::Parameters as inputs

This fixes #381.

Can you review this, @AaronLasseigne? Here are links to relevant documentation in Rails:

5.0
4.2
4.1
4.0

👍


chore: add declarationMap for command+click to source

declarationMap is essentially a source map for types
Signed-off-by: Logan McAnsh<EMAIL_ADDRESS>
Closes: #

[ ] Docs
[ ] Tests

Testing Strategy:

@mcansh I think this is a valuable PR
Is there a specific reason you closed it?


[BUG] TS011F The physical button does not change the ON/OFF status in HA.

The device measures well, and the functions are adequate, however, in my case, when I manually press the button to turn on the plug in HomeAssistant it does not refresh the status, it remains OFF always, however the KW and KWH measurements do vary, measuring the consumption correctly.
Is it a bug in the plug or do I have to make some adjustment?
My exact model is _TZ3000_dpo1ysak
Quirk: zhaquirks.tuya.ts011f_plug.Plug

IIRC the Tuya TS011F plugs (e. g. BW-SHP15) do not support attribute reporting for the on/off attribute.
These plugs would need to be polled constantly to work around this issue (polling is somewhat bad/annoying).

I mean that the only option I have to know the status is to always turn it off and on from HA and never use the physical button? Does it only happen with this model?

Only newer Tuya based plugs seem to have this issue. I have a couple of them too (showing the same issue), while others work fine.
ZHA could only implement an ugly workaround by polling these models of plugs. (Proper plugs send an attribute report (push message) that their state was changed)

This only happens with third party zigbee solutions, right? In the case of using the Tuya Gateway would it return the status correctly? I mean it is not a failure of the device firmware but of the programming itself?

The device firmware have not implemented status reporting for all functions and very likely is tuya doing workaround in there cloud for getting it working.
If the device was working as the Zigbee standard is have doing the reporting OK but sadly is tuya not following the standard in most of there products.

It is a firmware issue that the plugs do not follow Zigbee specs (so they don't support attribute reporting for this).
Tuya specially tries pretty hard to only make their stuff work on their own gateways (and block third party gateways).
I'd even show a warning message before you could add a Tuya device to ZHA.
Have a look on this issue tracker, most issues are Tuya related.
I don't own a Tuya hub, so can't tell you if the status would be correct there.
It should by possible to work around the issue in ZHA itself though by constantly polling this specific plug (but that's a workaround and not a solution). But it's the only way I see to make this work for Tuya's firmware.

Today I should receive a TUYA gateway that I ordered to verify that all my devices have the latest firmware version, I can test it and send the result to us, because I doubt that a sniffer can be used in the TUYA network to get data from the zigbee traffic between TUYA and the device.

You can sniffing the Zigbee network also if using one tuya ZBGW you only need one hardware that can doing it like one TI CC-2531 with sniffer firmware or one EZSP with normal coordinator firmware.
Also good having one tuya ZBGW for knowing the functions tuya have implanted and we dont knowing and can sniffing how they is setting them up in there system.

https://es.aliexpress.com/item/1005001794162200.html
This is the gateway I bought, model G01-PRO, I also have a CC2531 with the sniffer firmware installed.

When I press ON/OFF button in OFF mode:

When I press ON/OFF button in ON mode:

The plug report to TUYA app the status.
Its possible adapt this to ZHA?

Any idea with this @javicalle ?

Don't seems to be a 'EnchantedDevice' problem.
Can you do the same with the device in ZHA?
I'm not familiar with the Zigbee protocol but maybe we can see something by comparing. I recall some problems with the 'Direction' value in some devices but I don't know if that can be the case.

Hola @jasimancas Its looks tuya ZBGW have setting up attribute reporting OK and its working for your device. Normally tuya is not setting up mush binding and reporting then there device have defaults in the firmware that working OK what i have seen in sniffs.
Can you doing one sniff the adding the plug to the tuya ZBGW and we can see what it setting up the device ?
Its exposing the tuya ZVGW network key and it can being changed by deleting the ZBGW in the app and reading it new then tuya is making one new network.
Command sent in the wrong direction is one "personality" of tuya devices that can making problems in both ends then acks is not working OK.

The tests have been done with the plug connected to the TUYA gateway, and sniffing the traffic.
Do I connect it to the ZHA gateway in the test environment and sniff doing the same actions?

Yes im interesting of tuya ZBGW paring and also some on/off from the device.
@javicalle is interesting of how ZHA is doing and we can comparing it if you do one sniffing of that 2.

Tell me if it is enough, I deleted all my test devices, with only the TUYAZBGW on the network I added the plug, waited a few seconds, turned on, waited, turned off, waited, turned on, waited and turned off.
If more tests are needed, let me know and I will do them.
PS: No problem with the KEY, this zigbee network is always OFF, I only turn it on for testing, the GW is not in production (if that is why you were telling me to change the network key).
TS011F.zip

Its doing many strange things but in the end the OnOff is reported to the coordinator.
I have not looking so exactly but the coordinator is requesting application version from the basic cluster all the time.
@jasimancas can you looking if its still requesting it after some times and also if its reporting the metiering parameters to the coordinator or if its being pulled (the coordinator is sending read attribute and the device is sending it s one replay) ?
I shall looking little deeper later then i have time digging more.

After getting the network key the system is sending tuya magic.
Then the system is writing one attribute on basic cluster:
IEEE 802.15.4 Data, Dst: 0xde3e, Src: 0x0000
ZigBee Network Layer Data, Dst: 0xde3e, Src: 0x0000
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 1
    Frame Control Field: Data (0x00)
    Destination Endpoint: 1
    Cluster: Basic (0x0000)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 18
ZigBee Cluster Library Frame, Command: Write Attributes, Seq: 11
    Frame Control Field: Profile-wide (0x10)
    Sequence Number: 11
    Command: Write Attributes (0x02)
    Attribute Field, Uint8: 19
        Attribute: Unknown (0xffde)
        Data Type: 8-Bit Unsigned Integer (0x20)
        Uint8: 19 (0x13)

Then reading some attribute on ObOff cluster:
IEEE 802.15.4 Data, Dst: 0xde3e, Src: 0x0000
ZigBee Network Layer Data, Dst: 0xde3e, Src: 0x0000
ZigBee Application Support Layer Data, Dst Endpt: 255, Src Endpt: 1
    Frame Control Field: Data (0x40)
    Destination Endpoint: 255
    Cluster: On/Off (0x0006)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 19
ZigBee Cluster Library Frame, Command: Read Attributes, Seq: 12
    Frame Control Field: Profile-wide (0x10)
    Sequence Number: 12
    Command: Read Attributes (0x00)
    Attribute: OnOff (0x0000)
    Attribute: OnTime (0x4001)
    Attribute: OffWaitTime (0x4002)
    Attribute: Unknown (0x5000)
    Attribute: Unknown (0x8000)
    Attribute: Unknown (0x8001)
    Attribute: Unknown (0x8002)
    Attribute: Unknown (0x8003)

and replay from the device:
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xde3e
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xde3e
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 1
    Frame Control Field: Data (0x00)
    Destination Endpoint: 1
    Cluster: On/Off (0x0006)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 94
ZigBee Cluster Library Frame, Command: Read Attributes Response, Seq: 12
    Frame Control Field: Profile-wide (0x18)
    Sequence Number: 12
    Command: Read Attributes Response (0x01)
    Status Record
        Attribute: OnOff (0x0000)
        Status: Success (0x00)
        Data Type: Boolean (0x10)
        On/off Control: Off (0x00)
    Status Record
        Attribute: OnTime (0x4001)
        Status: Success (0x00)
        Data Type: 16-Bit Unsigned Integer (0x21)
        On Time: 0.0 seconds
    Status Record
        Attribute: OffWaitTime (0x4002)
        Status: Success (0x00)
        Data Type: 16-Bit Unsigned Integer (0x21)
        Off Wait Time: 0.0 seconds
    Status Record
        Attribute: Unknown (0x5000)
        Status: Unsupported Attribute (0x86)
    Status Record, Boolean: 0x00
        Attribute: Unknown (0x8000)
        Status: Success (0x00)
        Data Type: Boolean (0x10)
        0000 0000 = Boolean: False
    Status Record, Enum8: 1
        Attribute: Unknown (0x8001)
        Status: Success (0x00)
        Data Type: 8-Bit Enumeration (0x30)
        Uint8: 1 (0x01)
    Status Record, Enum8: 0
        Attribute: Unknown (0x8002)
        Status: Success (0x00)
        Data Type: 8-Bit Enumeration (0x30)
        Uint8: 0 (0x00)
    Status Record, Boolean: 0x00
        Attribute: Unknown (0x8003)
        Status: Success (0x00)
        Data Type: Boolean (0x10)
        0000 0000 = Boolean: False

then reading Measurement:
IEEE 802.15.4 Data, Dst: 0xde3e, Src: 0x0000
ZigBee Network Layer Data, Dst: 0xde3e, Src: 0x0000
ZigBee Application Support Layer Data, Dst Endpt: 255, Src Endpt: 1
    Frame Control Field: Data (0x40)
    Destination Endpoint: 255
    Cluster: Electrical Measurement (0x0b04)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 20
ZigBee Cluster Library Frame, Command: Read Attributes, Seq: 13
    Frame Control Field: Profile-wide (0x10)
    Sequence Number: 13
    Command: Read Attributes (0x00)
    Attribute: RMS Current (0x0508)
    Attribute: Active Power (0x050b)
    Attribute: RMS Voltage (0x0505)

And replay:
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xde3e
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xde3e
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 1
    Frame Control Field: Data (0x00)
    Destination Endpoint: 1
    Cluster: Electrical Measurement (0x0b04)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 95
ZigBee Cluster Library Frame, Command: Read Attributes Response, Seq: 13
    Frame Control Field: Profile-wide (0x18)
    Sequence Number: 13
    Command: Read Attributes Response (0x01)
    Status Record, Uint16: 0
        Attribute: RMS Current (0x0508)
        Status: Success (0x00)
        Data Type: 16-Bit Unsigned Integer (0x21)
        Uint16: 0 (0x0000)
    Status Record, Int16: 0
        Attribute: Active Power (0x050b)
        Status: Success (0x00)
        Data Type: 16-Bit Signed Integer (0x29)
        Int16: 0
    Status Record, Uint16: 206
        Attribute: RMS Voltage (0x0505)
        Status: Success (0x00)
        Data Type: 16-Bit Unsigned Integer (0x21)
        Uint16: 206 (0x00ce)

Then Metering:
IEEE 802.15.4 Data, Dst: 0xde3e, Src: 0x0000
ZigBee Network Layer Data, Dst: 0xde3e, Src: 0x0000
ZigBee Application Support Layer Data, Dst Endpt: 255, Src Endpt: 1
    Frame Control Field: Data (0x40)
    Destination Endpoint: 255
    Cluster: Simple Metering (0x0702)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 21
ZigBee Cluster Library Frame, Command: Read Attributes, Seq: 14
    Frame Control Field: Profile-wide (0x10)
    Sequence Number: 14
    Command: Read Attributes (0x00)
    Attribute: Current Summation Delivered (0x0000)

And replay:
IEEE 802.15.4 Data, Dst: 0x0000, Src: 0xde3e
ZigBee Network Layer Data, Dst: 0x0000, Src: 0xde3e
ZigBee Application Support Layer Data, Dst Endpt: 1, Src Endpt: 1
    Frame Control Field: Data (0x00)
    Destination Endpoint: 1
    Cluster: Simple Metering (0x0702)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 96
ZigBee Cluster Library Frame, Command: Read Attributes Response, Seq: 14
    Frame Control Field: Profile-wide (0x18)
    Sequence Number: 14
    Command: Read Attributes Response (0x01)
    Status Record, Uint: 113778
        Attribute: Current Summation Delivered (0x0000)
        Status: Success (0x00)
        Data Type: 48-Bit Unsigned Integer (0x25)
        Uint48: 113778 (0x000000000001bc72)

Then the device is starting looking if it can updating the TC-Link key and its OK and doing it OK.
Then the device is reporting OnOff and Simple Metering.
Its some more unknowns commands sent and attribute reported from unknown attributes but i think its not important.
Only strange thing is the reading of application version.
Also the device is reading time from the coordinator and it getting it OK (tuya extended shuddering with strange commands).
I have not looking on frames flags and manufacture code tagging but i think the key is reading and writing attribute then the device is in init more.
Can we trying sending some of this to the device after the tuya magic is being sent ?

Tell me what you need me to do and I'll get right on it.
I can find out the parameters it reports that we don't have "inventoried" although maybe it's internal to the device?

We are casting the tuya magic from the quirk then it joining and i think we need casting the  attribute reads for the OnOff cluster for getting it start reporting the status changes.
Also the Metering and Measurement cluster can needing it but i think we can starting with testing OnOff cluster.
Is the device reporting OK from Metering and Measurement cluster in tuya ZBGW  (it can being very long between the reporting) or its the ZBGW pulling the device (reading the attribute in the device for getting the information) ?
If we is needing more for getting the device reporting OK i think we is having it in your sniff only need digging deeper it it but i think the attribute thing is the key for getting it working.

When I press the physical button the status change in the app is instantaneous, as well as the registration in wireshark, in the case of the measurement I am not so clear.
I understand that it could be seen seeing the order of the sniffed zigbee frames to see if it is the TYZBGW who asks for the measurement data or on the contrary it is the plug that sends it.
The logic says that it would be the device who would have to inform the ZBGW of the state that changes, another thing is that the ZBGW is asking for the state every X time, but in a change of state the device is who must indicate the change to the ZBGW so that this one refreshes the interface/control application.

If someone want to try it, you can simulate the OnOff readings in the quirk overwriting the spell this way:
class Plug(EnchantedDevice):
    """Tuya plug with restore power state support."""

    async def spell(self) -> None:
        """Initialize device so that all endpoints become available."""
        attr_to_read = [4, 0, 1, 5, 7, 0xFFFE]
        basic_cluster = self.endpoints[1].in_clusters[0]
        await basic_cluster.read_attributes(attr_to_read)
        onoff_read_attr = [0x0000, 0x4001, 0x4002, 0x5000, 0x8000, 0x8001, 0x8002, 0x8003]
        await self.endpoints[1].on_off.read_attributes(onoff_read_attr)

    signature = {
        MODEL: "TS011F",
        ENDPOINTS: {
            .../...

The write attribute can be done the same way:
        await basic_cluster.write_attributes({0xffde: 0x13})

I just did a test and something strange happens, in the production environment if I press the physical button it does nothing, however in the test environment I have paired it again and now if it responds, it changes the interface switch when I press, I have done it several times and the behavior is as desired.
I have copied the custom_component/zha and the quirk from test to production and the behavior is the same.
Maybe I have to remove it and add it again?

@jasimancas GREAT !!
Yes you need deleting the device from ZHA waiting one minute and then adding it new.
The casting of the magic is only being done then the device is doing one new joining and then the in the system is not online then the quirk is being loaded at system start.
And the good thin is look like tuya have only making one more magic but not tricking with all the flags in the frame handling that is more difficult fixing.

@javicalle I think its one candidate making one EnchantedOnOffDevice class in your _INIT_  ;-)

I have not applied the modification of @javicalle , I have simply deleted it and put it back and I have detected that.

Yeah, deleted, waited 1 minute, added again and now it's responding correctly!!!
We can close this issue unless you want some more tests to fine tune the behavior.

If its working as the normal tuya magic is the device keeping it until being retested and repowered without being added to one system (normal its can being retested after being in one tuya ZBGW and is keeping it then moved to one open zigbee system if not being repowered).
I like getting more testing and @javicalle can implanting it OK in the system so we is knowing its working OK.
Is the power measuring working OK = being reported OK ??
I was seen in the sniff that the 2und endpoint is sending back the requests on the first endpoint so it can making problems for the system getting the data OK.
Do you have more types of TS011F devices or only this type ?
I have the LIDL 3AC 4 USB but its working OK and dont need it (i think) so cant testing so mush.
So pleas keep it open until is in place :-)))

I only have that type, my intention is to implement more to control the cost of home (washing machine, dishwasher, refrigerator, etc), but I am looking for a recessed socket.
By the way, any idea of a good Zigbee one?

tuya was making good ones with good measurement chips that was sending digital data over UART to the Zigbee module with Silaabs chip.
Most new is having one cheaper measurement chips that is using frequency for data and Telink Zigbee module that is having problems with the frequency "decoding" and if not getting updated firmware they is power off under 250 V and also making many wrong measurement (peeks or zero V).
(one very long Z2M issue with power off from TS011F if you like reading more)
For the moment i dont putting money on this devices than its so mush problems with them or going with some known brand that is working but is too expensive for my.
I think this device is having some alarm attributes that is not implanted like over current alarm that can being added but need some with device that can testing it.

Since I saw this issue referenced recently:
This issue was fixed in newer Home Assistant Core versions. You might need to re-configure or re-pair the plug once though.


Fixed bad var name

PR Checklist

[x] I have added example(s) inside the [./examples/] folder
[x] I have added the example(s) to the integration test list for normal (~30 minutes) or long runner >30 minutes
[x] I have checked the coding conventions as per the wiki
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Fixed a bad variable mapping

[ ] YES
[x] NO

thanks for the PR @shanoor!


Publish status event on bind for SMPP transport

Ready for review.

Do you think we should be adding the relevant documentation with each of these PRs, or just do one big PR in the end with all of these changes?

Do you think we should be adding the relevant documentation with each of these PRs, or just do one big PR in the end with all of these changes?

Was thinking about this, decided to go for big docs PR at the end of all these changes to avoid needing to keep the docs up to date on each small change we make to these first few events.

:+1:


Fixed a TODO.

I fixed the TODO, which said that using std::add_const and std::add_lvalue_reference is the preferred of building the requires_arch predicate.
I also removed the comment about the possible clash with the C++20 requires keyword, as it is not a concern: The keyword is requires, so it does not clash with requires_arch.

Clean & simple, thanks!


Allow a student to join a course using the PIN...

Any authenticated user can do this, including a teacher?

Need to create a course view template in ejs which will show different info for student, teachers, and TA..


[#4677] Fix collector namespace

#4677

Codecov Report

Merging #4696 into master will increase coverage by <.01%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master    #4696      +/-   ##
==========================================
+ Coverage   40.15%   40.15%   +<.01%
==========================================
  Files        2550     2550
  Lines       77695    77689       -6
  Branches    10623    10623
==========================================
+ Hits        31196    31199       +3
+ Misses      43602    43592      -10
- Partials     2897     2898       +1

Impacted Files
Coverage Δ

.../pinpoint/collector/service/AgentEventService.java
0% <ø> (ø)
:arrow_up:

...point/collector/service/StringMetaDataService.java
0% <ø> (ø)
:arrow_up:

...point/collector/service/AgentLifeCycleService.java
0% <ø> (ø)
:arrow_up:

...eceiver/thrift/tcp/AgentLifeCycleEventHandler.java
77.27% <100%> (ø)
:arrow_up:

...llector/receiver/thrift/tcp/AgentEventHandler.java
80% <100%> (-0.77%)
:arrow_down:

...cluster/route/filter/AgentEventHandlingFilter.java
61.11% <75%> (-0.66%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

.../pinpoint/common/server/bo/event/AgentEventBo.java
27.39% <0%> (-10.96%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
70.68% <0%> (-1.73%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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


Version that works in tvOS?

This thing is fantastic but it doesn't seem to work in tvOS. Can you please see if this is easily fixed?

Hi davemen!
I've never been working with tvOS, but i'll try to figure it out whats wrong. I'm glad you like this component ;)

Thanks Isaac!

Hi davemen!
I think the problem was a dependency that I wasn't adding to the proyect. The lastest version is dependency free and maybe now you can use it


🐞 [BUG]: FE - Fix page break on print stylesheet

What happened?

Tasks

[ ]

Relevant log output
No response

This seems to have been a temporary issue with FF

This seems to have been a temporary issue with FF


⚠ Bofrost.at has degraded performance

In 891764f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1108 ms

Resolved: Bofrost.at performance has improved in b2ebf0c after 307 days, 14 hours, 56 minutes.


Revert "Add a way to get the furthest Navigator"

Reverts flutter/flutter#12580

The rerun of the flaky test was flaky T.T, rerunning


New tsserver: compilerOptions / projectOptions

I don't know if somebody is still working on the new tsserver. Then :) please go on, you are probably already working on this.
But if not: It would be cool if tsserver would accept the compiler Options via command line or tsconfig.json.
There is a method called openConfigFile() @ editorservices.ts:639 but it is never called. Only the default compiler options are used (:697).

That's the general direction we're moving in, though I don't think we can make a hard guarantee on when it will be available. There is active work on it though.

As an update, no promises, but we're thinking of tsconfig support in the next 10 days or so.

I would expect this to work by you telling the server to open a file, the server will figure out what is the tsconfig file that the file belongs to and use to load configurations for the file, as well as other interesting files.
Additionally, the server will have an additional command to get the project details, that would return you the list of files in a project as well as the tsconfig file it is using so you can pick up additional configurations from the file as needed (i would assume you would use it to host your plugin configurations as well).
Would this design make sense to your plugin?

In principle yes, for the normal use.
In my editor (sublime), the user is used to only edit json configuration files, so it should at least be possible to retrieve the config file name to be able to open it for edits.
Somewhere else (i think it was the tsconfig.json issue or some linked page or here:? https://github.com/Microsoft/TypeScript/issues/1927 ) someone discussed a few weeks ago that a single (or simple) tsconfig.json is not enough for some larger projects. (I don't know exactly why, but think of typescript itself.). I think it should also be possible to define the config file manually like the @ file option of tsc.js.
Conclusion: I don't know what power users really want, i only can guess. That what you suggested would be perfectly fine for >90% of the users i think.
Another question which should be answered: Who is responsible for reloading, if the user changes the config file? The tsserver or the editor?

The ts server is responsible for monitoring and reloading. Do the resistor would just register for project events like it would for errors and would get a notification once something happens.


[Docs] Deployment docs never mention the .bot file/deployment folder

Describe the bug
These are part of every sample and are still undocumented. If developers need to use a new tool, it needs to be a seamless, well-documented experience.
Additional context
Add any other context about the problem here.
[bug]

I'm investigating this now.

@dandev33 - can you take a look at this one?

Blocked on az cli fix.

Track to a PR that fixes this by Wed, the 21st
From: Kamran Iqbal<EMAIL_ADDRESS>Reply-To: Microsoft/BotBuilder-Samples<EMAIL_ADDRESS>Date: Thursday, November 15, 2018 at 9:46 AM
To: Microsoft/BotBuilder-Samples<EMAIL_ADDRESS>Cc: Scott Gellock<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder-Samples] [Docs] Deployment docs never mention the .bot file/deployment folder (#881)
Blocked on az cli fix.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FBotBuilder-Samples%2Fissues%2F881%23issuecomment-439129155&data=02|01|scott.gellock%40microsoft.com|46b7be7cb1b643a3b5f008d64b22339a|72f988bf86f141af91ab2d7cd011db47|1|0|636779007604522717&sdata=x3aRKQedQnZxt8rRCEQqzRb%2BF%2FGevwD0zQyMkbs1YCQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAsxd61WclrKu23AV-LKAqyRfO-Im0ugks5uvahWgaJpZM4YYBsR&data=02|01|scott.gellock%40microsoft.com|46b7be7cb1b643a3b5f008d64b22339a|72f988bf86f141af91ab2d7cd011db47|1|0|636779007604532721&sdata=hP3vJuD5ht2ZlchCnEgD7JAFEthJogkSrOk6Vczk7tA%3D&reserved=0.

Blocked. This issue has a dependency on issue# 814, because MSBot Clone does not seem to work.


Allow multiple posts with different paths in a resource

The path prefix, suffix doesn't seem to be part of the options hash in grape routes only the namespace which does not allow for multiple post routes.

@njd5475 Hi, this bug is fixed in the current master branch. There were some other things I wanted to change so I couldn't merge your PR, but I mentioned you in the commit and I'm really thankful for your help!

@reprah Thanks for the mention, all good stuff, keep it up! 😁
P.S. Sorry about not responding sooner been busy lately!

@njd5475 No worries, thank you again :)


Plugin custom save

lil plugin to save graphs with custom thumbnails

It's OK if the video creator output is not a square, as long as the thumbnail gets cropped to be square.
Another consideration to the screenshot dimensions is if they're too big. Maybe downscale the image by default to a 400x400 max? Or maybe the best approach could be to warn the user if they're trying to upload a huge image, and give them an option to cancel.
For dynamic resize in JS (tweak the drawImage call).
const canvas = document.createElement("canvas");
const ctx = canvas.getContext("2d");
ctx.drawImage(img, 0, 0, 300, 300);
const dataurl = canvas.toDataURL("image/png");

I almost never go into the "rename" menu, so I resonate with Feny's idea of moving the button to the video creator menu. It's easier to add a confirmation button before activating the native save-graph menu than to create a bunch of replacements.

This would fix #68.

Closing this because stale. If you want to restart it, I suggest going from main and re-applying changes.


Model and clauses being passed even after newDB in transaction

GORM Playground Link

https://github.com/go-gorm/playground/pull/287
Description

Continuation of https://github.com/go-gorm/gorm/issues/4117 ... I have updated the test to check again... Even though there is a db.Session(&gorm.Session{NewDB:true}).Begin() the model and where conditions are passed to transactions...

Fixed, thank you for your report.


national Korea Maritime&Ocean University

Please add the domain of the Korea Maritime Universit
URL:https://www.kmou.ac.kr/kmou/main.do
domain: @g.kmou.ac.kr
My school uses Google's gmail as a school email, so the domain gets 'g'
g.txt

@leesg912 Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Remove reinterpret_cast/bit_cast between floats and ints to be sound in unions and ptr casts

This targets the problems causing the unsoundness in the sv_comp benchmark.
The main problem is that we support unions without knowing...
However, the root cause is, that there is no difference between a static_cast and a reinterpret_cast in the current implementation for integers (and therefore all integral types). The casting between integers is handled in a way that both cases are handled the same. For floats this is how ever not possible at all, consider this example (or the conversion using a union in the sv-comp benchmark):
assert(-1 == (int)1.0f); // holds
float a = -1.0f;
assert(-1 == *(unsigned int*)&a)); // definitely does not hold!

We now go to top as soon as we access a union field, that had a different type in the beginning (from or to float). Only if the types match exactly we continue using the value.
Same behaviour for casting between pointers to int/float.

maybe rename the 09-svcomp test so that it is obvious which of the svcomp tests it is


Drop tslint.json exact "extends" requirement outside of DefinitelyTyped

The below validation rule, where any tslint.json file read by dtslint must contain "extends"<EMAIL_ADDRESS>is overly strict.
https://github.com/microsoft/DefinitelyTyped-tools/blob/9b08cd6c2bf48e8683527f4cb88d1bf29eb59e80/packages/dtslint/src/lint.ts#L209-L212
In this PR, I'm suggesting that this logic be reduced — validating that the JSON file is parsable only. (The strict check remains unchanged when isDT (within DefinitelyTyped repo) is true.)
Motivation

In a monorepo setup, it's common to share config files by extending a file in a parent folder. This is allowed by eslint/tslint. However, when using dtslint, this convention breaks.

{
  // The parent tslint.json *does* extend @definitelytyped/dtslint/dtslint.json
  "extends": "../../../tslint.json"
}

A minimal config extending @definitelytyped/dtslint/dtslint.json is already clearly documented in the README for new users — I don't believe this restriction needs to exist within the tool.

Test plan

When locally updated, command passes the tslint.json validation step (gets stuck on tsconfig.json step instead due to more direct validation of contents 😅).

seems like the validation is gone even for DT

True, actually that wasn't present beforehand — sorry for the incorrect description!

Heads up: ...

Okay thanks! Maybe eslint is the best way forward then (I'd guessed that dtslint was required tooling for definitions).

No, it started that way and has migrated towards an internal DT-only tool. There are good typescript-eslint rules for checking types these days, which aren't tied to all our ramshackle infrastructure.

Okay thanks. I think a big pull of sharing dtslint is for dts-critic behaviour.
We'll investigate looking into an equivalent typescript-eslint setup for both facebook/react-native and facebook/metro. cc @hoxyq @lunaleaps


Scripts updates

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingAds/scripts/reference/AdGroup.md
:white_check_mark:Succeeded

BingAds/scripts/reference/AdGroupBidding.md
:white_check_mark:Succeeded

BingAds/scripts/reference/AdGroupBuilder.md
:white_check_mark:Succeeded

BingAds/scripts/reference/AdGroupSelector.md
:white_check_mark:Succeeded

BingAds/scripts/reference/AdGroupUrls.md
:white_check_mark:Succeeded

BingAds/scripts/reference/BingAdsDate.md
:white_check_mark:Succeeded

BingAds/scripts/reference/Campaign.md
:white_check_mark:Succeeded

BingAds/scripts/reference/Keyword.md
:white_check_mark:Succeeded

BingAds/scripts/reference/KeywordBidding.md
:white_check_mark:Succeeded

BingAds/scripts/reference/KeywordBuilder.md
:white_check_mark:Succeeded

BingAds/scripts/reference/KeywordUrls.md
:white_check_mark:Succeeded

BingAds/scripts/reference/NegativeKeywordList.md
:white_check_mark:Succeeded

BingAds/scripts/reference/NegativeKeywordListBuilder.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Finnish translation improvements

Two commits, both make improvements to the finnish translation file.

Capitalize day and month names to match other translations
Clean and add some missing days to the holidays section

Perfect. Thank you.


Web 511

Upgrades Gatsby from V1 to V2.

Hello @justinwhall,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


add ability to mount directories outside of datmo project

My team uses Dropbox to share data for training.
Would it be possible to mount directories in the container which are outside of the directory that I ran datmo init?

@zzztimbo One of the ways, we can have is during the run,
e.g. datmo run "python train.py" --data <absolute/path/to/data>
This can be accessed during the run in the location /data. Does that work for your use case?

It would be nice to be able to specify multiple paths as well. Also, would this be available in the workspaces, i.e. datmo notebook?

Sure, in that case, the destination folder can be mounted as follows,
Then, during the run, datmo run "python train.py" --data <absolute/path/to/data1> --data <absolute/path/to/data2>
This way /data/data1 and /data/data2 are now accessible during the run. Does this work for you?
Yes, datmo notebook or any workspaces will work as a run, so it will be able to access the data in a similar way.

In this case you would also be able to do the following datmo run "python train.py" --datmo /abs/path/to/data1:myfirstdata --data /abs/path/to/data2:myseconddata and you would now have /data/myfirstdata and /data/myseconddata accessible during the run.

This sounds like a great idea.

@zzztimbo We have added the data option to the CLI in the new version, datmo==0.0.23
This option works in following way,
datmo run "python train.py" --data <absolute/path/to/data1> --data <absolute/path/to/data2>
Now, /data/data1 and /data/data2 are now accessible during the run

I am closing this issue for now since this feature is already added


Use flow $ReadOnly and  for immutable objects

freezed objects

https://github.com/Khan/KaTeX/pull/1469#discussion_r209471118 by @kevinbarabash

[W]e might also look at replacing Object.freeze with flow's $ReadOnly and $ReadOnlyArray utility types.

placeholder properties

https://github.com/Khan/KaTeX/pull/1471#issuecomment-404552143 by @kevinbarabash

If there are data structures, in this case docFrag.classes, that need to be read-only we should look to enforce that with flow.  It has $ReadOnly and $ReadOnlyArray generic types that help with this.

parsed tree

https://github.com/Khan/KaTeX/pull/1470#issuecomment-404543789 by @kevinbarabash

[W]e might look into to ensure that structures aren't mutated by accident is to use flow to mark objects as read-only. See https://flow.org/en/docs/types/utilities/#toc-readonly for details.

@ylemkimon thanks creating an issue for this.


Slightly worse than the published results

Hi~ thanks for publishing your code. The self-training mechanism is a good inspiration in pose estimation without real annotations.
I ran your code to reproduce the results on Linemod dataset. However, the final result is slightly worse than the results on paper(just a little bit). I trace the results during the whole training procedure and record the best results. The best results seem to match the results on paper. I wonder if you simply report the final result on the paper or do some other chosen like me.
Appreciate it if you can give me some advice. Maybe I omitted something.

Actually, we just record the results from the last epoch.

@shanice-l Thanks for your reply! Maybe just the environmental differences.


JSON output change

Hi,
how to change the JSON output when the rule is set, I dont want to send filter, size while forming json.
just wanted it to be .
sample json should be
Get rules
{
"condition": "AND",
"rules": [
{
"id": "price",
"field": "price",
"type": "double",
"input": "text",
"operator": "less",
"value": "10.25"
},
{
"condition": "OR",
"rules": [
{
"id": "category",
"field": "category",
"type": "integer",
"input": "select",
"operator": "equal",
"value": "2"
},
{
"id": "category",
"field": "category",
"type": "integer",
"input": "select",
"operator": "equal",
"value": "1"
}
]
}
]
}

I keep coming back to this, but I don't understand what the question is. I've been putting off too long saying so, and now it's been way to long to be helpful to you. If this is still a question, say so, and I'll see if I can help.

Hi Dan,
Sorry, could not respond to this on time.
Initially, I had issues in integrating the plugin with business use-case.
Then, I figured out during the integration process, how is it working internally.


Release Google.Cloud.AIPlatform.V1 version 1.1.0

Changes in this release:

Commit 0d5a6b7:

feat:Tensorboard v1 protos release
feat:Exposing a field for v1 CustomJob-Tensorboard integration.

Created release for Google.Cloud.AIPlatform.V1-1.1.0


E-Mail that's not multipart produces NoMethodError

Hello!
I newly got up and running with a DigitalOcen OCI of Helpy and started configuring the IMAP Email settings.
The system is preconfigured with:
$ ruby -v
ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-linux]
$ rails -v
Rails <IP_ADDRESS>
$ rake --version
rake, version 12.3.2
$ rvm --version
rvm 1.29.7 (latest)

After Helpy correctly loaded the authors of unread messages in the inbox I knew the connection worked correctly but no tickets appeared. Same with test mails sent from my Thunderbird client - which had been pretty simple test strings without any markup of which Thunderbird creates non-multipart emails.
Calling RAILS_ENV=production rake helpy:mailman in foreground it gave me the following lines including the error:
I, [2019-04-08T11:43:41.415479 #1560]  INFO -- : Polling disabled. Checking for messages once.
I, [2019-04-08T11:43:42.283026 #1560]  INFO -- : Got new message from<EMAIL_ADDRESS>with subject 'Support Test'.
#<NoMethodError: undefined method `body' for nil:NilClass>

Since the obvious relation to the emails body I added some markup to the test email et voilà: a ticket was created and no error message was printed.
I started looking around for the string body in the source files (I read Ruby/Rails for the first time) and found the class BodyCondition in /home/deploy/.rvm/gems/ruby-2.4.5/gems/mailman-0.7.3/lib/mailman/route/conditions.rb
providing the method match(message). This method does a check if the passed message is multipart.
If it is and a body part is found that matches some criteria, this part is stored in a variable and returned. If the message is not multipart on the other hand, the message.body.decoded is passed to the same method matching but neither is a return value stored nor returned.
That's all for now and I hope my findings and explanations will help you reproduce the bug. Or point out something I missed instead!
Kind regards,
Leon

As I ran into the same issue I tried to dig a bit deeper, and the conditions.rb file doesn't seem to be the culprit. For testing purposes and to rule it out, I commented out the line containing @matcher.match(message.body.decoded), but the error still ocurred after that.
Still looking for a solution I looked for occurrences of the keyword "multipart" and stumbled across the following lines of code in the imap_processor.rb in the helpy_imap folder:
  def get_content_from_mail     if mail_is_mail       @email.multipart? ? (@email.text_part ? @email.text_part.body.decoded : nil) : @email.body.decoded     else       MailExtract.new(@email.body).body     end   end
Curious as I am, I wanted to know if the email.body could be nil, although by looking at the code this should never be the case. After testing, I was sure that this is not the case.
As of now, I haven't found a solution, but I'll try to figure it out and I will keep the community updated.
Best regards,
Phil


cosmosdb - graph - ability to create Graph vertex via DocumentDB API

Hi,

Issue
Vertexes described in Graphson that are saved to CosmosDB via the DocumentDB API are not entirely visible as Vertexes in the Graph API. The Graph API only shows ID, label and type properties.

reproduction

data : https://github.com/bartdotnet/CosmosDbTests/blob/master/CosmosDbNativeGraphsonGraph/data/UsptoAssignees.jsongraph

example code: https://github.com/bartdotnet/CosmosDbTests/tree/master/CosmosDbNativeGraphsonGraph

query via the two vertexes via:

the azure portal + cosmosDB Graph Explorer
Microsoft Graph API
Gremlin.Net
Gremlin Console

reasoning:

GraphSon is used to store graph information in CosmosDB.
GraphSon is used are a response format.
GraphSon is used as internal storage format.
Saving a Vertex in GraphSon format in a CosmosDB Graph document via the DocumentDB API is said to expose the document via the GRAPH API of CosmosDB.
see also references to related info as comments in https://github.com/bartdotnet/CosmosDbTests/blob/master/CosmosDbNativeGraphsonGraph/CosmosDBDocumentHelper.cs

Please:

indicate if above reasoning is correct and if not what is wrong
confirm or deny loading graphs via Document is and will be possible, currently and in the future
if above is to be possible please indicate if I made a mistake in the Json used as payload
if above is to be possible, my scenario is correct and you agree this behaviour of CosmosDB Graph /and or DocumentDB API is not correct, please file a bug.

Thanks in advance,
Bart,

Adding IDs in vertex and vertex custom properties does not seem to help

the following result that is fetched out vie the DocumentDB API seems to be valid GraphSon
{"id":"ba02f0a0-f7f1-49a7-91cb-845ba024fa47","_rid":"kQtPAJSlVQA5AAAAAAAAAA==","_self":"dbs/kQtPAA==/colls/kQtPAJSlVQA=/docs/kQtPAJSlVQA5AAAAAAAAAA==/","_ts":1504774451,"_etag":"\"0000d401-0000-0000-0000-59b109330000\"","label":"Organization","type":"vertex","properties":{"assignee_organization":[{"value":"Microsoft Corporation","id":"b62e2c04-cd62-4ea3-95e3-fae47fd26d9b"}],"assignee_id":[{"value":"237c2b0099548ddbfa5a37f07e0687ab","id":"f24e1ab0-7580-4290-bbb2-15a0a0e785c9"}],"assignee_type":[{"value":"2","id":"06b4eedf-8715-45ee-a3ad-ee3d2906e93b"}],"@id":[{"value":"http://www.patentsview.org/api/assignee/237c2b0099548ddbfa5a37f07e0687ab","id":"9faf7aea-323f-4cd1-b42b-2b5134432549"}],"@type":[{"value":"Organization","id":"604f9eed-23d6-40cc-b9c0-9ea94ab57115"}]}}

{"id":"40acf9c3-2931-4627-b638-21e86feac288","_rid":"kQtPAJSlVQA6AAAAAAAAAA==","_self":"dbs/kQtPAA==/colls/kQtPAJSlVQA=/docs/kQtPAJSlVQA6AAAAAAAAAA==/","_ts":1504774451,"_etag":"\"0000d501-0000-0000-0000-59b109330000\"","label":"Organization","type":"vertex","properties":{"assignee_organization":[{"value":"Microsoft Corporation-One Microsoft Way","id":"87755d74-ab08-455f-b344-6453fe8effac"}],"assignee_id":[{"value":"86231c1210fc43324fb572053c38383e","id":"9fcd7c68-e370-4f39-b594-676da11a6fb8"}],"assignee_type":[{"value":"2","id":"a48adfb8-b067-4c10-93ac-521ee9bd7839"}],"@id":[{"value":"http://www.patentsview.org/api/assignee/86231c1210fc43324fb572053c38383e","id":"6ac197b1-4930-4d3c-bef5-66ac1cdcb952"}],"@type":[{"value":"Organization","id":"d8e450d2-1309-446f-be11-8dc3f9f52cb9"}]}}

formatting issues similar to https://stackoverflow.com/questions/32903802/following-graphson-format-not-working seem not to be relevant here as all seems correctly formatted

tried another format (omitting the properties tag) format as well with little success https://stackoverflow.com/questions/44009349/storing-a-vertex-as-json-in-cosmosdb

what is visible in the graph API:
{"id":"ba02f0a0-f7f1-49a7-91cb-845ba024fa47","label":"Organization","type":"vertex"}
{"id":"40acf9c3-2931-4627-b638-21e86feac288","label":"Organization","type":"vertex"}

Hi @charbull,
Did you have time to reproduce the issue?
Thanks in advance,
Bart,

Hi @bartdotnet , no sorry not yet, I have been on vacation/travel I will have stable hours next week to try it.
Best,
Charbel

Hi @bartdotnet

Our output format is GraphSon when you query the system via gremlin API (like other tinkerpo-enabled graphs)
However, that doesn’t mean that we store the graph in the same GraphSON format. In fact, the storage model to adhere to GraphSON may have significant scale limitation.
a.	E.g., GraphSon format requires to store the edges of a vertex in the same document. This will cause significant performance issue for very high degree nodes (i.e., celebrity accounts on Twitter)
b.	Apart from storage, concurrency control also become a major issue.
Any property that starts with _ (e.g., _rid, _self) etc. are system properties, they can’t be accessed  via gremlin API.
Also, soon (ETA Sept end) we are going to release a Bulk Insert API, that will allow you to directly ingest data to DocumentDB bypassing the gremlin. This API is being designed to achieve high ingestion throughput, and will have direct knowledge of how data is stored in CosmosDB Graph.

Please let us know, if there is any specific reason that you want to update graph via DocumentDB’s API, we will recommend the best practices.

Hi @jayantacs,
Thanks again for the feedback. My intention was to examine Cosmos Graph bulkload via Document DB.
In understand GraphSON is only a representational format, not an internal one - for reason of performance -.
I am happy to see a Bulk load API is on the close horizon and will await for its arrival.
Regards,
Bart Debersaques,

@jayantacs I know this is closed, but could you provide a link or a status for the bulk insert api? I am not able to find it.

@jayantacs Are there any updates on the bulk load API? I'm sure there are a lot of people waiting for it as there doesn't seem to be an alternative way to bulk load data into Cosmos DB Graph.


Fix for last PR

Sorry 'bout the other pr breaking for whatever reason.
From the last pr I made, I simply reverted to using commonjs (require("package")) rather than ES6 imports(import package from "package"). This should fix up the problem that was present in the last pr :)

just me?

? probably. I haven't touched the site itself except for the navbar and cursor. site looks fine to me rn

if its a problem with sliderjs not loading, that is a different story and probably would be a CSP issue, but i explicitly made it so that sliderjs and jquery can be loaded in through the csp. if its problematic for some browsers (which it shouldn't be, because all modern browsers support CSP), we can either a) make the content security policy open (so it can load resources from anywhere) and disregard security or b) copy the sliderjs files into the project itself. If it isn't a CSP issue, its an issue with sliderjs itself which I would have no idea what to do.
I would appreciate if you can send your browser console log and network tab for the main file (see two images)

that is so weird. i wonder why this didn't happen to me 😕. This is an easy fix however. simply, swiperjs uses a custom font with the data: tag which was not in the CSP. Changing the font-src to font-src 'self' data:; will fix it. I will submit one last pr and everything should work fine.


Updated source name for telemetry

Could you do the same update for fine-tuning? We may want to support fine-tuning custom models in the future.

Could you do the same update for fine-tuning? We may want to support fine-tuning custom models in the future.

Do we have a design for this already? If we support custom model, does it also copied from service model? Also, will the custom model has a specific tag to tell from service model? @qiuosier

Could you do the same update for fine-tuning? We may want to support fine-tuning custom models in the future.

Do we have a design for this already? If we support custom model, does it also copied from service model? Also, will the custom model has a specific tag to tell from service model? @qiuosier

@lu-ohai let's add fine-tuning one in a separate PR.


Fix spell check GitHub Actions warning

Signed-off-by: alexandru solomes<EMAIL_ADDRESS>Proposed changes

Fixed the typo that was seen in the files changed tab of PRs:

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Thanks!


Add Sejda to "Used by" section

We're using bootstrap-select and would like to be on your "used by" list.
Thanks for sharing your work!

URL: https://www.sejda.com
Logo: https://www.sejda.com/images/sejda-banner-136x40.png

Opened pull req: https://github.com/silviomoreto/bootstrap-select/pull/1734

Thank you for your support of bootstrap-select! Unfortunately, we are discontinuing the "used by" section.


Update video-indexer-use-apis.md

Adjusted the Whitespaces, to correct the syntax errors.

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

#sign-off

#please-close

@Juliako The PR was closed without merging? Could you merge and close this PR?


Run flake8 on CI

Start running flake8 as part of all CI builds. Make sure flake8 is added and version fixed in our CI requirements as well. Should help make sure the code quality here remains ok (especially since we have fixed some issues 😉).

Testing that this works as intended in PR ( https://github.com/jakirkham/dask-distance/pull/45 ).


Make mbed accepts un-predefined resolution of commands

#20 Can people verify if this works? Earlier when we were testing with atof(), mbed compiler was complaining "Function undefined" and some other errors I can't recall, it now successfully builds but still worries me.

Appears to be working, serial died once when the robot re-enables


fix: searchbar dropdown styling

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Needs Design check

@exezbcz please review

Context

[x] Closes #6344
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

before:

after:

Copilot Summary

🤖 Generated by Copilot at c9d4b9b
This pull request enhances the appearance and functionality of the search feature and the tabs component in the NFT gallery. It applies better scss rules to styles/components/_search.scss and fixes some layout and color bugs.

🤖 Generated by Copilot at c9d4b9b

The search input was looking quite drab
And the autocomplete menu was bad
So they tweaked the layout
And the style throughout
And now the tabs component is rad

Also, while the problem seems to be solved for the search bar at the top when clicking on explore, the search bar from the initial kodadot page still has the problem:

explore/items(fixed):

Hey! I've finally found the figma file with design and it doesn't seem to have a pink border. Could you take a look?

Thanks for pointing out. I have removed the pink border.

Also, while the problem seems to be solved for the search bar at the top when clicking on explore, the search bar from the initial kodadot page still has the problem:

I guess it's a style issue related to the Windows OS. I just did some magic to try to fix it. Could pls check if it works or not? @prury

I guess it's a style issue related to the Windows OS. I just did some magic to try to fix it. Could pls check if it works or not?

your magic worked really well, ty!


.cs output per .h input - mode broken?

An (unknown) older version of CppSharp I had up till now been using would output one .cs file per .h. Now it seems to be creating only one giant .cs.
Digging around in the settings I noticed the 'unitybuild' option which is at least documented as doing exactly this, but it still output a single file when i tried it.
Stepping through the code...
src\Generator\Generator.cs; line 80
Normally GenerateSingleTemplate is called from here, and it seems to, well, only generate a single cs file... If I instead set the execution line to call GenerateTemplates I do get multiple output cs files. Maybe this conditional should be something like... IsCShapreGenerator && !UnityBuild - not really sure.

Yeah @ddobrev changed the behaviour here a few weeks back.
Unity build is different in that it allows parsing of all the native headers as if they were just one giant source file.
I think I'd also like to have a dedicated option for this, as sometimes having one file per .h is preferable.

Is there any update on this? I would like to create different .cs file for each .h file.

We restored the option for a .cs file per .h in August 2017.


Centralized Translation

Translators popular at CNMS now implement a "is_valid_file()" function that tests whether or not a provided file can be translated by the translator.
New "ingest()" function accepts any file and translates to h5USID file
This feature addition will be essential for the data ingestion pipeline being developed by CADES for CNMS

@ramav87 - please make similar changes to any other translators that are used frequently at CNMS


Asking Username and Password while Cloning

You have mistyped the url - it is missing _Web
Try this
git clone https://github.com/silvanmelchior/RPi_Cam_Web_Interface.git

Hey man, Thank you so much for this. I figured out that later.