GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Speech api changes by puneith · Pull Request #267 · GoogleCloudPlatform/java-docs-samples

Conversation

@puneith

@puneith puneith commented Jul 6, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@tswast Please review. This PR contains the changes due to Speech API changes, namely Sync, Async and Streaming.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
puneithk added 14 commits July 6, 2016 11:40
@puneithk
renamed from recognize to streaming recognize
89f445c
Author: puneith <[email protected]>
@puneithk
added v1beta1 proto
1408b15
Author: puneith <[email protected]>
@puneithk
added long running operation
6ac06c5
Author: puneith <[email protected]>
@puneithk
made changes to the script
34f300c
Author: puneith <[email protected]>
@puneithk
renamed to sync recognize client
259ed6a
Author: puneith <[email protected]>
@puneithk
added sync changes and test
4415993
Author: puneith <[email protected]>
@puneithk
added sync changes and test
3892470
Author: puneith <[email protected]>
@puneithk
made changes to script and tests
e1516d2
Author: puneith <[email protected]>
@puneithk
deleted
ed629b6
Author: puneith <[email protected]>
@puneithk
made sync work
20e6b88
Author: puneith <[email protected]>
@puneithk
added async
6f513ca
Author: puneith <[email protected]>
@puneithk
added async samples
f221210
Author: puneith <[email protected]>
@puneithk
added async response unpack
f9ac582
Author:    puneith <[email protected]>
@puneithk
fixed formatting
2b949f6
@tswast

tswast commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

@lesv PTAL as well.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov-io

codecov-io commented Jul 6, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Current coverage is 44.59%

Merging #267 into master will decrease coverage by 2.16%

@@             master       #267   diff @@
==========================================
  Files            77         78     +1   
  Lines          2164       2267   +103   
  Methods           0          0          
  Messages          0          0          
  Branches        148        154     +6   
==========================================
- Hits           1012       1011     -1   
- Misses         1121       1225   +104   
  Partials         31         31          

Powered by Codecov. Last updated by 6377365...5a6d2ca

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tswast
tswast reviewed Jul 6, 2016
View reviewed changes
Comment thread speech/grpc/src/main/java/com/google/cloud/speech/grpc/demos/AsyncRecognizeClient.java Outdated
//
// Then set environment variable GOOGLE_APPLICATION_CREDENTIALS to the full path of that file.

package com.google.cloud.speech.grpc.demos;

@tswast tswast Jul 6, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For new samples we have been using com.example package instead of com.google. This is to make it more clear to the user that they can change the package to match their own project.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@puneith puneith Jul 7, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This structure already existed. I didn't mess up with the package name. Change it still?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lesv lesv Jul 7, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about pinging on the package name, it looks like whom ever reviewed the first version wasn't on the Java team. :(

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@puneith puneith Jul 11, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lesv @tswast Its common to put company name in the package even samples. This is google code so why not? https://github.com/linkedin/api-get-started/tree/master/java/src/com/linkedin/sample

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lesv lesv Jul 11, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See RFC 2606

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lesv

lesv commented Jul 7, 2016

Copy link
Copy Markdown
Contributor

For the README.md - is the whole SERVICE ACCOUNT stuff still required?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lesv
lesv reviewed Jul 7, 2016
View reviewed changes
Comment thread speech/grpc/README.md
or [homebrew](http://brew.sh/)) to convert audio files to raw format.

### Run the non-streaming client
### Run the sync client

@lesv lesv Jul 7, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it work on Windows?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@puneith puneith Jul 11, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know, is that a blocker?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@puneith puneith Jul 11, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lesv we don't have the instructions anywhere otherwise and assuming users would have read everything before using this sample is not correct either. So we need them IMHO.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lesv lesv Jul 12, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an issue for this.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@puneith puneith Jul 12, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue for windows or that we don't have instructions anywhere else?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
puneithk added 16 commits July 11, 2016 12:24
@puneithk
removed stub and performed google java formatter
f0e8755
@puneithk
modified comment
03b5c76
@puneithk
applied DIP for channel
c3b811e
@puneithk
DIP for channel
e81d249
@puneithk
removed header comments
3976813
@puneithk
ran google java format
e56ffc9
@puneithk
renamed to examples
e47d295
@puneithk
moved to com.examples.cloud.speech
e84a63f
@puneithk
renamed to com.examples.cloud.speech
a2daba0
@puneithk
fixed path
9e0563c
@puneithk
moved to examples for test
5ba3e19
@puneithk
moved to examples
e957cd3
@puneithk
fixed path
115bbf8
@puneithk
added license
e7fd065
@puneithk
moved proto
01a7fa8
@puneithk
added proto source dir
b5bacda
lesv
lesv reviewed Jul 12, 2016
View reviewed changes
Comment thread speech/grpc/README.md
@@ -73,20 +73,35 @@ note that the audio file must be in RAW format. You can use `sox`
(available, e.g. via [http://sox.sourceforge.net/](http://sox.sourceforge.net/)

@lesv lesv Jul 12, 2016

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README should mention that this is BETA software w/ a link to what that means: https://cloud.google.com/terms/launch-stages

It should also mention that this samples is for Advanced Users.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@puneithk
added that sample in beta
5a6d2ca
@lesv lesv removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. NEEDS WORK labels Jul 12, 2016
@lesv

lesv commented Jul 12, 2016

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv

lesv commented Jul 12, 2016

Copy link
Copy Markdown
Contributor

There should be some additional items for catchup after merge.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@puneith
puneith merged commit fdd5eb2 into master Jul 12, 2016
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v15.…
b265d29
…1.0 (#267)
@Shabirmean Shabirmean mentioned this pull request Nov 15, 2022
samples: migrate code from googleapis/java-document-ai #7427
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @Shabirmean
chore(deps): update dependency com.google.cloud:libraries-bom to v15.…
532fc84
…1.0 (#267)
Shabirmean pushed a commit that referenced this pull request Nov 17, 2022
@munkhuushmgl
samples: Translate flaky tests (#297)
7ea2179
Fixes #292 #268 #267   ☕️

This is the draft
I do not know it is considered as good test design using base class 

I basically got the idea from the stack overflow answer: 

https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately
Shabirmean pushed a commit that referenced this pull request Nov 18, 2022
@munkhuushmgl @Shabirmean
samples: Translate flaky tests (#297)
35c3cea
Fixes #292 #268 #267   ☕️

This is the draft
I do not know it is considered as good test design using base class 

I basically got the idea from the stack overflow answer: 

https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately
Shabirmean pushed a commit that referenced this pull request Nov 18, 2022
@munkhuushmgl @Shabirmean
samples: Translate flaky tests (#297)
7add728
Fixes #292 #268 #267   ☕️

This is the draft
I do not know it is considered as good test design using base class 

I basically got the idea from the stack overflow answer: 

https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately
anguillanneuf pushed a commit that referenced this pull request Dec 5, 2022
@munkhuushmgl @anguillanneuf
samples: Translate flaky tests (#297)
73fe13b
Fixes #292 #268 #267   ☕️

This is the draft
I do not know it is considered as good test design using base class 

I basically got the idea from the stack overflow answer: 

https://stackoverflow.com/questions/8295100/how-to-re-run-failed-junit-tests-immediately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@puneith @tswast @codecov-io @lesv @googlebot @puneithk
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.