IT |
気になる、記になる… |
KDDI、3GB/990円の「LINEMO」のミニプランにはすぐに対抗しないことを明らかに |
https://taisy0.com/2021/07/30/143634.html
|
linemo |
2021-07-30 08:30:59 |
IT |
気になる、記になる… |
Google、「Google マップ」と「Google 検索」で近隣の新型コロナワクチンの接種会場を表示 |
https://taisy0.com/2021/07/30/143632.html
|
google |
2021-07-30 08:20:16 |
IT |
InfoQ |
SUSEがHarvester v0.2.0をリリース |
https://www.infoq.com/jp/news/2021/07/suse-releases-harvester/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
SUSEがHarvestervをリリースHarvesterは、Kubernetesを使って構築されたオープンソースのハイパーコンバージドインフラストラクチャHCIソフトウェアだが、最近、vリリースを発表した。 |
2021-07-30 08:42:00 |
IT |
InfoQ |
Googleがトークンフリー言語モデルByT5をオープンソース化 |
https://www.infoq.com/jp/news/2021/07/google-byt5-nlp/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Googleがトークンフリー言語モデルByTをオープンソース化GoogleResearchは、ByTをオープンソース化している。 |
2021-07-30 08:35:00 |
IT |
InfoQ |
GitLab 14でエピックボードの導入、パイプラインエディタやKubernetes Agentなどを改善 |
https://www.infoq.com/jp/news/2021/07/gitlab-14-improvements/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
GitLabでエピックボードの導入、パイプラインエディタやKubernetesAgentなどを改善GitLabにより、GitLabは開発チームが必要とするすべてのツールと技術スタックを統合した統合DevOpsプラットフォームの見方を再確認している。 |
2021-07-30 08:34:00 |
IT |
InfoQ |
eBayでのソフトウェア品質認定の自動化 |
https://www.infoq.com/jp/news/2021/07/software-quality-automation-ebay/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
dityakulkarnitranslatedby |
2021-07-30 08:31:00 |
IT |
InfoQ |
Javaニュース総まとめ - 2021年6月28日週 |
https://www.infoq.com/jp/news/2021/07/java-news-roundup-jun28-2021/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Javaニュース総まとめ年月日週今週のJava総まとめでは、JDK、JDK、GraalVMNativeBuildTools、TornadoVM、QuarkusおよびApacheCamelQuarkusのリリース、ApacheCamel、ApacheWicket、Helidon、MicronautFoundation、JReleaser、IntelliJIDEA、Gradle、Hibernate、Scala、ASM、およびSpringFrameworkからのニュースを取り上げる。 |
2021-07-30 08:29:00 |
IT |
InfoQ |
Visual Studio CodeがJava IDEの能力を強化 |
https://www.infoq.com/jp/news/2021/07/visual-studio-code-java-ide/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
VisualStudioCodeがJavaIDEの能力を強化調査によると、Java開発者のが最近より本格的なJavaIDEになったMicrosoftの無料のクロスプラットフォームIDEのVisualStudioCodeを使用している。 |
2021-07-30 08:27:00 |
TECH |
Engadget Japanese |
変態スマホが続々登場、山根博士が選ぶ2021年上半期の推しスマホ【TOP5】 |
https://japanese.engadget.com/2021-smartphone-083616412.html
|
魅力 |
2021-07-30 08:36:16 |
TECH |
Engadget Japanese |
Amazonのクーポンでおトクにまとめ買い。「おうちスポーツ観戦」するならやっぱりビールが最高! |
https://japanese.engadget.com/beer-and-sports-080548172.html
|
amazon |
2021-07-30 08:05:48 |
ROBOT |
ロボスタ |
スマートスピーカーやスマホのAI音声会話の誤認識を楽しむ「第2回大ごにんしき大賞」 今年も開催 |
https://robotstart.info/2021/07/30/daigoninshiki2.html
|
一般社団法人 |
2021-07-30 08:24:41 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] ホリエモンが「スマホでは稼げない」に反論する理由 テクノロジーを悪者にするのは常識に洗脳されている |
https://www.itmedia.co.jp/business/articles/2107/30/news134.html
|
itmedia |
2021-07-30 17:40:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] 東京五輪ケイリン先導車の技術を用いた電動アシスト自転車、パナソニックが発売 |
https://www.itmedia.co.jp/news/articles/2107/30/news150.html
|
itmedia |
2021-07-30 17:33:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia ビジネスオンライン] コロナ禍の営業活動実態調査 営業業務「完全に効率化できている」わずか8.3% |
https://www.itmedia.co.jp/business/articles/2107/30/news149.html
|
itmedia |
2021-07-30 17:25:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia Mobile] ドコモの3G停波でMVNOにも影響 2022年1月から音声通話が利用不可になる場合も |
https://www.itmedia.co.jp/mobile/articles/2107/30/news148.html
|
ITmediaMobileドコモのG停波でMVNOにも影響年月から音声通話が利用不可になる場合もIIJインターネットイニシアティブが、NTTドコモのGFOMA停波に伴い、一部機種で年月から通信できなくなる件を案内している。 |
2021-07-30 17:14:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
argparseで、コマンドライン引数の値が格納されない時の対応 |
https://qiita.com/milkman/items/716a273f7e6a16c41208
|
argparseで、コマンドライン引数の値が格納されない時の対応コマンドライン引数から、pythontestpyboxokと入力した。 |
2021-07-30 17:22:57 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Youtubeの動画を元に始めるPython(1) |
https://qiita.com/key0117/items/29396ff395b7ecde5e58
|
Youtubeの動画を元に始めるPython参考動画以下の動画を参照に学習を進めた。 |
2021-07-30 17:19:45 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
[Vue.js] jQueryでv-modelを挿入したいが動作しない |
https://teratail.com/questions/352013?rss=all
|
VuejsjQueryでvmodelを挿入したいが動作しない上記でも質問させていただいたのですが、結果解決できませんでしたので再度質問させてください。 |
2021-07-30 17:52:46 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
git add .がうまくいかないことについて |
https://teratail.com/questions/352012?rss=all
|
gitaddがうまくいかないことについて前提・実現したいことgitnbspaddnbspからcommitpushまでを行いたい。 |
2021-07-30 17:50:42 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
GASを使用してOpenWeathermapのUVI値を取得できない |
https://teratail.com/questions/352011?rss=all
|
GASを使用してOpenWeathermapのUVI値を取得できないGASを使用してOpenWeathermapのUVI値を取得できない。 |
2021-07-30 17:32:32 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Rustでwasmを使ってJSで使える関数を作ったときに引数に&selfを入れると関数がJS側でundefinedになる |
https://teratail.com/questions/352010?rss=all
|
Rustでwasmを使ってJSで使える関数を作ったときに引数にampselfを入れると関数がJS側でundefinedになるRustでグラフを描画するcrateのnbspplottersnbspのデモを使ってプログラムを書いているのですが、コードを少し変えた時にタイトルにあるようなエラーが出ます。 |
2021-07-30 17:29:29 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
imgタグのsrc属性の中身の一部を動的にしたい |
https://teratail.com/questions/352009?rss=all
|
imgタグのsrc属性の中身の一部を動的にしたい前提・実現したいことimgタグのsrc属性の中身の一部を動的にしたいです。 |
2021-07-30 17:27:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
JavaScriptからHTML 解説を欲する。 |
https://teratail.com/questions/352008?rss=all
|
create |
2021-07-30 17:20:27 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
WooCommerce の製品ページの製品名フォントサイズ変更 |
https://teratail.com/questions/352007?rss=all
|
woocommerce |
2021-07-30 17:18:25 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
RMeCabで半角記号を記号として認識したい |
https://teratail.com/questions/352006?rss=all
|
RMeCabで半角記号を記号として認識したい前提・実現したいことMeCabで半角記号が名詞となることの下記の対処を実施した。 |
2021-07-30 17:16:09 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
フロントエンドサーバーで作成した静的コンテンツに関する成果物管理について |
https://teratail.com/questions/352005?rss=all
|
フロントエンドサーバーで作成した静的コンテンツに関する成果物管理について静的ファイルをAmazonnbspSにアップロードして、簡単なSPAサイトを構築しました。 |
2021-07-30 17:02:42 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
#3 sinatraでActiveRecordを使わずに掲示板アプリを作ってみた |
https://qiita.com/divclass123/items/9a9e2f9ccfba2286a901
|
前回はモデルを見て行ったので、今回はdatabaseディレクトリを見ていくcreatedatabasesqlここにデータベースやテーブル作成のSQLを書いてくっぽいけど、どんなコマンドを実行したらデータベースが作られるのかは全く分からない。 |
2021-07-30 17:40:20 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
GlobalAcceleratorで接続元IPを制御する |
https://qiita.com/ldr/items/2f8a4069c1169ee41afd
|
GlobalAcceleratorで接続元IPを制御する概要と注意点GlobalAcceleratorのトラフィックが経由するNetworkInterfacesはエンドポイントにトラフィックをルーティングするため、エンドポイントが存在するサブネットごとにつずつ、NetworkInterfacesを作成します。 |
2021-07-30 17:06:33 |
技術ブログ |
Developers.IO |
การตั้งค่า Slack Notifications เพื่อรับการแจ้งเตือนเซิร์ฟเวอร์จาก Mackerel อย่างละเอียด |
https://dev.classmethod.jp/articles/settings-slack-notifications-to-receive/
|
การตั้งค่าSlack Notifications เพื่อรับการแจ้งเตือนเซิร์ฟเวอร์จากMackerel อย่างละเอียดSlack คืออะไรSlack คือแอปฟลิเคชันที่ใช้สื่อสารภายในองค์กรมีลักษณะการใช้งานแบบโซเชียลมีเดียสามารถส่งข้อความ |
2021-07-30 08:53:04 |
技術ブログ |
Developers.IO |
การตั้งค่า Line Notify เพื่อรับการแจ้งเตือนเซิร์ฟเวอร์จาก Mackerel อย่างละเอียด |
https://dev.classmethod.jp/articles/settings-line-notify-to-receive-checks/
|
การตั้งค่าLine Notify เพื่อรับการแจ้งเตือนเซิร์ฟเวอร์จากMackerel อย่างละเอียดLine Notify คืออะไรLine Notify คือบริการที่ใช้สำหรับรับการแจ้งเตือนจากบัญชีทางการที่ให้บริการโดยLINE ที่ชื่ |
2021-07-30 08:53:02 |
技術ブログ |
Developers.IO |
終了した EC2 のメトリクス(モニタリングデータ)が見当たりません。確認する方法を教えてください |
https://dev.classmethod.jp/articles/tsnote-ec2-how-to-check-the-metrics-of-a-terminated-instance/
|
cloudwatch |
2021-07-30 08:39:17 |
海外TECH |
DEV Community |
AWS monthly wrap up - July 2021 |
https://dev.to/helenanders26/aws-monthly-wrap-up-july-2021-4oob
|
AWS monthly wrap up July Hi I m Helen one of your AWS Heroes At the end of each month I ll be showcasing some of the great posts projects and insights from the AWS community right here on Dev to To get us started we have Ricardo from the AWS team with a long read Learn how to automate multiple architectures and deployment options for your containerised applications integrating with ECS Anywhere to give you more options for where to deploy them Creating a multi architecture CI CD solution with Amazon ECS and ECS Anywhere Ricardo Sueiras for AWS・Jul ・ min read aws containers Next we have AWS Builder Sebastian and an esbuild tutorial Check it out to see how we can accomplish blazingly fast builds for Typescript Serverless Framework projects all while drastically reducing the configuration complexity compared with the alternatives Lightning fast amp simple Typescript Serverless builds Sebastian Bille for AWS Community Builders・Jul ・ min read serverless typescript tutorial aws Talha then shares how you can run localstack with Terraform and Docker This post gives you a proof of concept you can tweak too Localstack with Terraform and Docker for running AWS locally Talha Altınel・Jul ・ min read terraform docker go aws Moving on to Valentine with a guide that covers all the steps needed for setting up a workflow for a Django project with Amazon Beanstalk and GitHub Actions under the hood Django full CI CD flow to AWS with GitHub Actions and S Valentine Solonechnyi・Jul ・ min read django aws devops python This next post by Michael is all about using Amplify to take care of the heavy lifting when it comes to setting up AWS services so we can focus on business logic Serverless Contact Form Using AWS Amplify Michael Liendo・Jul ・ min read aws amplify serverless chakraui Next we have AWS Builder AJ who writes about separating infra from app logic This will keep cognitive overhead per deployment low limit your deployment blast radius and cut down on that ever important deployment time Serverless at Team Scale AJ Stuyvenberg for AWS Community Builders・Jun ・ min read serverless aws terraform Our last post is from Ahmed with a review of The AWS Well Architected Framework to help you understand the pros and cons of decisions you make while building systems on AWS AWS Well Architected Framework AWS Whitepaper Summary Ahmed Samir for AWS MENA Community・Jul ・ min read cloud architecture aws That s all for this month For more great posts check out the aws tag and the AWS Heroes |
2021-07-30 08:43:52 |
海外TECH |
DEV Community |
How a Programmer Used 300 Lines of Code to Help His Grandma Shop Online with Voice Input |
https://dev.to/viviclevercoder/how-a-programmer-used-300-lines-of-code-to-help-his-grandma-shop-online-with-voice-input-2446
|
How a Programmer Used Lines of Code to Help His Grandma Shop Online with Voice Input John why the writing pad is missing again John programmer at Huawei has a grandma who loves novelty and lately she s been obsessed with online shopping Familiarizing herself with major shopping apps and their functions proved to be a piece of cake and she had thought that her online shopping experience would be effortless ーunfortunately however she was hindered by product searching John s grandma tended to use handwriting input When using it she would often make mistakes like switching to another input method she found unfamiliar or tapping on undesired characters or signs Except for shopping apps most mobile apps feature interface designs that are oriented to younger users ーit s no wonder that elderly users often struggle to figure out how to use them John patiently helped his grandma search for products with handwriting input several times But then he decided to use his skills as a veteran coder to give his grandma the best possible online shopping experience More specifically instead of helping her adjust to the available input method he was determined to create an input method that would conform to her usage habits Since his grandma tended to err during manual input John developed an input method that converts speech into text Grandma was enthusiastic about the new method because it is remarkably easy to use All she has to do is to tap on the recording button and say the product s name The input method then recognizes what she has said and converts her speech into text Real time speech recognition and speech to text are ideal for a broad range of apps including Game apps online Real time speech recognition comes to users aid when they team up with others It frees up users hands for controlling the action sparing them from having to type to communicate with their partners It can also free users from any potential embarrassment related to voice chatting during gaming Work apps Speech to text can play a vital role during long conferences where typing to keep meeting minutes can be tedious and inefficient with key details being missed Using speech to text is much more efficient during a conference users can use this service to convert audio content into text after the conference they can simply retouch the text to make it more logical Learning apps Speech to text can offer users an enhanced learning experience Without the service users often have to pause audio materials to take notes resulting in a fragmented learning process With speech to text users can concentrate on listening intently to the material while it is being played and rely on the service to convert the audio content into text They can then review the text after finishing the entire course to ensure that they ve mastered the content How to ImplementTwo services in HUAWEI ML Kit automatic speech recognition ASR and audio file transcription make it easy to implement the above functions ASR can recognize speech of up to s and convert the input speech into text in real time with recognition accuracy of over It currently supports Mandarin Chinese including Chinese English bilingual speech English French German Spanish Italian and Arabic Real time result outputAvailable options with and without speech pickup UIEndpoint detection Start and end points can be accurately located Silence detection No voice packet is sent for silent portions Intelligent conversion to digital formats For example the year is recognized from voice input Audio file transcription can convert an audio file of up to five hours into text with punctuation and automatically segment the text for greater clarity In addition this service can generate text with timestamps facilitating further function development In this version both Chinese and English are supported Development Procedures Preparations Configure the Huawei Maven repository address and put the agconnect services json file under the app directory Open the build gradle file in the root directory of your Android Studio project Add the AppGallery Connect plugin and the Maven repository Go to allprojects gt repositories and configure the Maven repository address for the HMS Core SDK Go to buildscript gt repositories and configure the Maven repository address for the HMS Core SDK If the agconnect services json file has been added to the app go to buildscript gt dependencies and add the AppGallery Connect plugin configuration buildscript repositories google jcenter maven url dependencies classpath com android tools build gradle classpath com huawei agconnect agcp NOTE Do not place your app dependencies here they belong in the individual module build gradle files allprojects repositories google jcenter maven url Set the app authentication information For details see Notes on Using Cloud Authentication Information Add the build dependencies for the HMS Core SDK dependencies The audio file transcription SDK implementation com huawei hms ml computer voice aft The ASR SDK implementation com huawei hms ml computer voice asr Plugin of ASR implementation com huawei hms ml computer voice asr plugin apply plugin com huawei agconnect AppGallery Connect plugin Configure the signing certificate in the build gradle file under the app directory signingConfigs release storeFile file xxx jks keyAlias xxx keyPassword xxxxxx storePassword xxxxxx vSigningEnabled true vSigningEnabled true buildTypes release minifyEnabled false proguardFiles getDefaultProguardFile proguard android optimize txt proguard rules pro debug signingConfig signingConfigs release debuggable true Add permissions in the AndroidManifest xml file lt uses permission android name android permission INTERNET gt lt uses permission android name android permission READ EXTERNAL STORAGE gt lt uses permission android name android permission WRITE EXTERNAL STORAGE gt lt uses permission android name android permission ACCESS NETWORK STATE gt lt uses permission android name android permission ACCESS WIFI STATE gt lt uses permission android name android permission RECORD AUDIO gt lt application android requestLegacyExternalStorage true lt application gt Integrating the ASR Service Dynamically apply for the permissions if ActivityCompat checkSelfPermission this Manifest permission RECORD AUDIO PackageManager PERMISSION GRANTED requestCameraPermission private void requestCameraPermission final String permissions new String Manifest permission RECORD AUDIO if ActivityCompat shouldShowRequestPermissionRationale this Manifest permission RECORD AUDIO ActivityCompat requestPermissions this permissions Constants AUDIO PERMISSION CODE return Create an Intent to set parameters Set authentication information for your app MLApplication getInstance setApiKey AGConnectServicesConfig fromContext this getString client api key Use Intent for recognition parameter settings Intent intentPlugin new Intent this MLAsrCaptureActivity class Set the language that can be recognized to English If this parameter is not set English is recognized by default Example zh CN Chinese en US English putExtra MLAsrCaptureConstants LANGUAGE MLAsrConstants LAN EN US Set whether to display the recognition result on the speech pickup UI putExtra MLAsrCaptureConstants FEATURE MLAsrCaptureConstants FEATURE WORDFLUX startActivityForResult intentPlugin Override the onActivityResult method to process the result returned by ASR Overrideprotected void onActivityResult int requestCode int resultCode Nullable Intent data super onActivityResult requestCode resultCode data String text if null data addTagItem Intent data is null true if requestCode if data null return Bundle bundle data getExtras if bundle null return switch resultCode case MLAsrCaptureConstants ASR SUCCESS Obtain the text information recognized from speech if bundle containsKey MLAsrCaptureConstants ASR RESULT text bundle getString MLAsrCaptureConstants ASR RESULT if text null equals text text Result is null Log e TAG text else Display the recognition result in the search box searchEdit setText text goSearch text true break MLAsrCaptureConstants ASR FAILURE Recognition fails case MLAsrCaptureConstants ASR FAILURE Check whether an error code is contained if bundle containsKey MLAsrCaptureConstants ASR ERROR CODE text text bundle getInt MLAsrCaptureConstants ASR ERROR CODE Troubleshoot based on the error code Check whether error information is contained if bundle containsKey MLAsrCaptureConstants ASR ERROR MESSAGE String errorMsg bundle getString MLAsrCaptureConstants ASR ERROR MESSAGE Troubleshoot based on the error information if errorMsg null amp amp equals errorMsg text text errorMsg Check whether a sub error code is contained if bundle containsKey MLAsrCaptureConstants ASR SUB ERROR CODE int subErrorCode bundle getInt MLAsrCaptureConstants ASR SUB ERROR CODE Troubleshoot based on the sub error code text text subErrorCode Log e TAG text break default break Integrating the Audio File Transcription Service Dynamically apply for the permissions private static final int REQUEST EXTERNAL STORAGE private static final String PERMISSIONS STORAGE Manifest permission READ EXTERNAL STORAGE Manifest permission WRITE EXTERNAL STORAGE public static void verifyStoragePermissions Activity activity Check if the write permission has been granted int permission ActivityCompat checkSelfPermission activity Manifest permission WRITE EXTERNAL STORAGE if permission PackageManager PERMISSION GRANTED The permission has not been granted Prompt the user to grant it ActivityCompat requestPermissions activity PERMISSIONS STORAGE REQUEST EXTERNAL STORAGE Create and initialize an audio transcription engine and create an audio file transcription configurator Set the API key MLApplication getInstance setApiKey AGConnectServicesConfig fromContext getApplication getString client api key MLRemoteAftSetting setting new MLRemoteAftSetting Factory Set the transcription language code complying with the BCP standard Currently Mandarin Chinese and English are supported setLanguageCode zh Set whether to automatically add punctuations to the converted text The default value is false enablePunctuation true Set whether to generate the text transcription result of each audio segment and the corresponding audio time shift The default value is false This parameter needs to be set only when the audio duration is less than minute enableWordTimeOffset true Set whether to output the time shift of a sentence in the audio file The default value is false enableSentenceTimeOffset true create Create an audio transcription engine MLRemoteAftEngine engine MLRemoteAftEngine getInstance engine init this Pass the listener callback to the audio transcription engine created beforehand engine setAftListener aftListener Create a listener callback to process the audio file transcription result Transcription of short audio files with a duration of minute or shorter private MLRemoteAftListener aftListener new MLRemoteAftListener public void onResult String taskId MLRemoteAftResult result Object ext Obtain the transcription result notification if result isComplete Process the transcription result Override public void onError String taskId int errorCode String message Callback upon a transcription error Override public void onInitComplete String taskId Object ext Reserved Override public void onUploadProgress String taskId double progress Object ext Reserved Override public void onEvent String taskId int eventId Object ext Reserved Transcription of audio files with a duration longer than minute private MLRemoteAftListener asrListener new MLRemoteAftListener Override public void onInitComplete String taskId Object ext Log e TAG MLAsrCallBack onInitComplete The long audio file is initialized and the transcription starts start taskId Override public void onUploadProgress String taskId double progress Object ext Log e TAG MLAsrCallBack onUploadProgress Override public void onEvent String taskId int eventId Object ext Used for the long audio file Log e TAG MLAsrCallBack onEvent eventId if MLAftEvents UPLOADED EVENT eventId The file is uploaded successfully Obtain the transcription result startQueryResult taskId Override public void onResult String taskId MLRemoteAftResult result Object ext Log e TAG MLAsrCallBack onResult taskId is taskId if result null Log e TAG MLAsrCallBack onResult isComplete result isComplete if result isComplete TimerTask timerTask timerTaskMap get taskId if null timerTask timerTask cancel timerTaskMap remove taskId if result getText null Log e TAG taskId MLAsrCallBack onResult result is result getText tvText setText result getText List lt MLRemoteAftResult Segment gt words result getWords if words null amp amp words size for MLRemoteAftResult Segment word words Log e TAG MLAsrCallBack word text is word getText startTime is word getStartTime endTime is word getEndTime List lt MLRemoteAftResult Segment gt sentences result getSentences if sentences null amp amp sentences size for MLRemoteAftResult Segment sentence sentences Log e TAG MLAsrCallBack sentence text is sentence getText startTime is sentence getStartTime endTime is sentence getEndTime Override public void onError String taskId int errorCode String message Log i TAG MLAsrCallBack onError message errorCode errorCode switch errorCode case MLAftErrors ERR AUDIO FILE NOTSUPPORTED break Upload a transcription task private void start String taskId Log e TAG start engine setAftListener asrListener engine startTask taskId Obtain the transcription result private Map lt String TimerTask gt timerTaskMap new HashMap lt gt private void startQueryResult final String taskId Timer mTimer new Timer TimerTask mTimerTask new TimerTask Override public void run getResult taskId Periodically obtain the long audio file transcription result every s mTimer schedule mTimerTask Clear timerTaskMap before destroying the UI timerTaskMap put taskId mTimerTask Obtain an audio file and upload it to the audio transcription engine Obtain the URI of an audio file Uri uri getFileUri Obtain the audio duration Long audioTime getAudioFileTimeFromUri uri Check whether the duration is longer than s if audioTime lt uri indicates audio resources read from the local storage or recorder Only local audio files with a duration not longer than minute are supported this taskId this engine shortRecognize uri this setting Log i TAG Short audio transcription else longRecognize is an API used to convert audio files with a duration from minute to hours this taskId this engine longRecognize uri this setting Log i TAG Long audio transcription private Long getAudioFileTimeFromUri Uri uri Long time null Cursor cursor this getContentResolver query uri null null null null if cursor null cursor moveToFirst time cursor getLong cursor getColumnIndexOrThrow MediaStore Video Media DURATION else MediaPlayer mediaPlayer new MediaPlayer try mediaPlayer setDataSource String valueOf uri mediaPlayer prepare catch IOException e Log e TAG Failed to read the file time time Long valueOf mediaPlayer getDuration return time To learn more visit the following links Documentation on the HUAWEI Developers websiteHUAWEI Developers official websiteDevelopment Guide Redditto join developer discussionsGitHub or Gitee to download the demo and sample codeStack Overflow to solve integration problems |
2021-07-30 08:38:24 |
海外TECH |
Engadget |
Tesla will pay $1.5 million to settle Model S battery throttling complaints |
https://www.engadget.com/tesla-settle-model-s-battery-throttling-complaints-080705951.html?src=rss
|
Tesla will pay million to settle Model S battery throttling complaintsBack in Tesla pushed an over the air update to its Model S sedans following an incident wherein the vehicle caught fire in a Hong Kong parking lot As CNBC notes it said at the time that the update will revise quot charge and thermal management settings quot on Model S and Model X vehicles to quot help further protect the battery and improve battery longevity quot Some Model S owners claimed however that the update reduced their maximum battery voltage prompting them to take Tesla to court Now the automaker has agreed to pay million to settle the class action lawsuit filed against it According to Reuters the court documents show that the software update affected Model S sedans in the US The voltage limitation was temporary but the plaintiffs experienced a percent battery reduction for three months and a seven percent reduction lasting for another seven months the plaintiffs lawyers said Tesla rolled out the final update that fully corrected the issue in March Among the affected vehicles had their max battery voltage restored while vehicles had battery replacements The settlement documents said that any vehicle still experiencing battery throttling problems would have their maximum voltage restored over time While the company has agreed to pay billion a huge chunk of that would be used to cover lawyers fees Owners are expected to get only each from the settlement Affected owners in Norway could get a much bigger payday after a court in the country ordered the company to pay them each to settle a lawsuit over the same issue In the US aside from agreeing to pay up Tesla has also agreed to provide battery related diagnostics and notifications for cars under warranty whenever battery repairs may be needed |
2021-07-30 08:07:05 |
ラズパイ |
Raspberry Pi |
Humane mouse trap | The MagPi #108 |
https://www.raspberrypi.org/blog/humane-mouse-trap-the-magpi-108/
|
Humane mouse trap The MagPi Safely catching mice is a better way of fixing a problem and using Raspberry Pi means it needs less supervision In the new issue of The MagPi magazine Rob Zwetsloot takes a look with the maker Andrew Taylor With some IoT projects it s the little things that help For example take Andrew Taylor who did The post Humane mouse trap The MagPi appeared first on Raspberry Pi |
2021-07-30 08:08:57 |
金融 |
RSS FILE - 日本証券業協会 |
選択権付債券売買取引状況 |
https://www.jsda.or.jp/shiryoshitsu/toukei/sentaku/index.html
|
選択 |
2021-07-30 09:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
短期社債等及び私募社債の取引状況等 |
https://www.jsda.or.jp/shiryoshitsu/toukei/kokunai/index.html
|
私募 |
2021-07-30 09:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
インターネット取引に係る株式売買等データ(月次) |
https://www.jsda.or.jp/shiryoshitsu/toukei/datakaiji.html
|
株式 |
2021-07-30 09:00:00 |
金融 |
RSS FILE - 日本証券業協会 |
PSJ予測統計値 |
https://www.jsda.or.jp/shiryoshitsu/toukei/psj/psj_toukei.html
|
統計 |
2021-07-30 09:00:00 |
金融 |
ニュース - 保険市場TIMES |
朝日生命、AIを活用した営業活動を構築 |
https://www.hokende.com/news/blog/entry/2021/07/30/180000
|
|
2021-07-30 18:00:00 |
ニュース |
BBC News - Home |
Storm Evert: Strong winds and heavy rain cause disruption |
https://www.bbc.co.uk/news/uk-england-cornwall-58022839
|
evert |
2021-07-30 08:44:21 |
ニュース |
BBC News - Home |
Hong Kong: First person jailed under security law given nine years |
https://www.bbc.co.uk/news/world-asia-china-58022072
|
officers |
2021-07-30 08:27:36 |
ニュース |
BBC News - Home |
Luke Campbell: London 2012 gold medallist retires |
https://www.bbc.co.uk/sport/boxing/58000922
|
london |
2021-07-30 08:40:51 |
ニュース |
BBC News - Home |
'Covid passports': How can the NHS Covid Pass prove I've had both jabs? |
https://www.bbc.co.uk/news/explainers-55718553
|
england |
2021-07-30 08:56:06 |
ビジネス |
不景気.com |
JR東日本の22年第1四半期は769億円の最終赤字、宣言影響 - 不景気.com |
https://www.fukeiki.com/2021/07/jr-east-2022-1q-loss.html
|
最終赤字 |
2021-07-30 08:33:51 |
ビジネス |
不景気.com |
ANAの22年第1四半期は646億円の営業赤字、コロナ影響続く - 不景気.com |
https://www.fukeiki.com/2021/07/ana-2022-1q-loss.html
|
航空会社 |
2021-07-30 08:14:39 |
北海道 |
北海道新聞 |
東京で新たに3300人感染、2人死亡 新型コロナ |
https://www.hokkaido-np.co.jp/article/572997/
|
新型コロナウイルス |
2021-07-30 17:03:00 |
北海道 |
北海道新聞 |
日本男子が2敗目 バレーボール・30日 |
https://www.hokkaido-np.co.jp/article/572998/
|
世界選手権 |
2021-07-30 17:01:00 |
ニュース |
Newsweek |
クラブ支配を盤石にしたUEFAだが、このままではいずれ破綻する運命だ |
https://www.newsweekjapan.jp/stories/world/2021/07/post-96806.php
|
|
2021-07-30 17:39:00 |
IT |
週刊アスキー |
ぷらっとホーム、IoTシステムに必要な機器・設定をまとめたパッケージ3種を発売 |
https://weekly.ascii.jp/elem/000/004/064/4064367/
|
haccp |
2021-07-30 17:40:00 |
コメント
コメントを投稿