投稿時間:2023-03-09 17:36:38 RSSフィード2023-03-09 17:00 分まとめ(41件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… NTTドコモ、「ドコモ青春割」の新規受付を4月2日で終了へ https://taisy0.com/2023/03/09/169463.html 青春 2023-03-09 07:23:17
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 低迷が続く「イトーヨーカ堂」 14店舗を閉鎖へ https://www.itmedia.co.jp/business/articles/2303/09/news170.html itmedia 2023-03-09 16:36:00
IT ITmedia 総合記事一覧 [ITmedia News] 堀江貴文氏、MVNOになる 「ホリエモバイル」始動 https://www.itmedia.co.jp/news/articles/2303/09/news168.html horiemobile 2023-03-09 16:30:00
IT ITmedia 総合記事一覧 [ITmedia News] 「新しいBing」リリースから1カ月 BingのDAUが1億人超 累計チャットは4500万回 https://www.itmedia.co.jp/news/articles/2303/09/news167.html itmedia 2023-03-09 16:22:00
IT ITmedia 総合記事一覧 [ITmedia News] ANA傘下の「AirJapan」、全席にUSB Type-C装備 アジアに就航へ https://www.itmedia.co.jp/news/articles/2303/09/news164.html airjapan 2023-03-09 16:16:00
IT ITmedia 総合記事一覧 [ITmedia PC USER] サンワ、部屋のコーナーに置ける縦型デザインのルーター収納台 https://www.itmedia.co.jp/pcuser/articles/2303/09/news163.html cbdbrm 2023-03-09 16:15:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 全国旅行支援、GWは「適用対象外」 観光庁の意図は https://www.itmedia.co.jp/business/articles/2303/09/news153.html itmedia 2023-03-09 16:15:00
TECH Techable(テッカブル) UTYテレビ山梨が公式VTuberのタレントオーディションを開催! https://techable.jp/archives/199929 vtuber 2023-03-09 07:22:43
TECH Techable(テッカブル) 最大4台×8方向マイクで広範囲に音声をキャッチ!多人数向けビデオ会議ソリューションが登場 https://techable.jp/archives/198877 kandao 2023-03-09 07:00:25
IT 情報システムリーダーのためのIT情報専門サイト IT Leaders 複数の産業分野をまたがった日本のデータ流通基盤「DATA-EX」を構築する─DSAの越塚氏 | IT Leaders https://it.impress.co.jp/articles/-/24554 複数の産業分野をまたがった日本のデータ流通基盤「DATAEX」を構築するーDSAの越塚氏ITLeaders一般社団法人データ社会推進協議会DSAは、「DATAEX」の名の下、国内において産業分野を超えたデータ流通基盤の構築に取り組んでいる。 2023-03-09 16:25:00
python Pythonタグが付けられた新着投稿 - Qiita LINE notifyで天気通知 https://qiita.com/t5j3s5/items/13c8402673bd9f265883 linenotif 2023-03-09 16:59:07
python Pythonタグが付けられた新着投稿 - Qiita kaggleへの初挑戦日記① https://qiita.com/ba-yu/items/7cf7d48b5a3ce29f7ced kaggle 2023-03-09 16:50:19
js JavaScriptタグが付けられた新着投稿 - Qiita WebGL(by Unity)×Agora Web SDKで音声通話アプリの開発 https://qiita.com/v-cube/items/5fa671beba7202bd730a unityfa 2023-03-09 16:05:42
AWS AWSタグが付けられた新着投稿 - Qiita 静的 Web サイトに認証をつけて AWS App Runner でデプロイしてみる https://qiita.com/casa-snona/items/58e0b6f7d6b72e2ea69f awsapprunner 2023-03-09 16:28:26
AWS AWSタグが付けられた新着投稿 - Qiita AWS RDS 拡張モニタニングの詳細度を変更する方法 https://qiita.com/asmg07/items/4486d1f698e78eb1b082 awscli 2023-03-09 16:06:30
AWS AWSタグが付けられた新着投稿 - Qiita メンバーアカウントの AWS エンタープライズサポートアクティベーションを自動化する https://qiita.com/hayao_k/items/9a1114a79bc59050ae38 awsorganizations 2023-03-09 16:05:52
Docker dockerタグが付けられた新着投稿 - Qiita 静的 Web サイトに認証をつけて AWS App Runner でデプロイしてみる https://qiita.com/casa-snona/items/58e0b6f7d6b72e2ea69f awsapprunner 2023-03-09 16:28:26
Docker dockerタグが付けられた新着投稿 - Qiita Nginx + OAuth2 Proxy で静的 Web サイトに認証機能を追加してみる https://qiita.com/casa-snona/items/2b5601a8c1ffd72ec99d nginxoauthproxy 2023-03-09 16:26:54
Docker dockerタグが付けられた新着投稿 - Qiita Nginx + Docusaurus でドキュメントをコンテナ化してみる https://qiita.com/casa-snona/items/b72824257e62702e9161 nginxdocusaurus 2023-03-09 16:25:28
Docker dockerタグが付けられた新着投稿 - Qiita VSCode + Docusaurus で最高のドキュメント作成環境を構築する https://qiita.com/casa-snona/items/26cf96748aaa6b839168 vscodedocusaurus 2023-03-09 16:22:05
golang Goタグが付けられた新着投稿 - Qiita caddy config https://qiita.com/shooter/items/c791eda05e30150959e2 caddy 2023-03-09 16:27:30
海外TECH DEV Community gRPC and .Net Core https://dev.to/prasannaupatankar/grpc-and-net-core-1a8p gRPC and Net CoreAs developers while building an API applications we find ourself between various choices of frameworks like REST SOAP GraphQL HTTP API and more It can be difficult to for a developer to choose the correct one that caters the needs of the application In this post I d like to introduce you to gRPC which is one of the newer approach gRPC supports many languages like C Net C Dart Go Java and other popular languages Today we are focusing on how well gRPC integrates with ASP Net Core By the end of this post you ll have a basic understanding of what gRPC is how it works with ASP Net Core and whether it is right for your application or not We will implement a Client Server application you can find the full working code in the Git repository linked below Let s get started What is gRPC gRPC stands for google Remote Procedure Calls It was initially designed by Google to make distributed applications more manageable for both Client and Server gRPC takes a refreshed look on the old RPC design by making it interoperable and efficient using Protocol Buffers and HTTP The gRPC with Protocol Buffers is equivalent of JSON or XML with REST APIs The HTTP specification was published in and improved on the year old HTTP design What is Protocol Buffers gRPC supports multiple serialization formats but the most commonly used is Protocol Buffers It is an open source serialization structure specifically designed for efficiency and optimization Data parsing with Protocol Buffers uses less CPU as the data is represented in a binary format which allows to minimize the size of encoded messages gRPC amp Net CoreFrom the Microsoft side the NET team have been working for bringing gRPC to the NET community Earlier you had a basic library which wasn t good as other libraries nor you had any project template helping you to set up your application with gRPC Now we have better library and better support We ll now create a gRPC application for both a Server and a Client While creating the gRPC application we will try to cater real life requirements as many as possible For that we will create two independent applications one for the Client amp one for the Server We will send nested data from the Client including integer string and datetime and also receive the response from the Server and process it gRPC SetupFor the Server we will create a new AspNetCore Web App and add following packages You can use any other template as you wish lt ItemGroup gt lt PackageReference Include Google Protobuf Version gt lt PackageReference Include Grpc AspNetCore Version gt lt PackageReference Include Grpc AspNetCore Web Version gt lt PackageReference Include Grpc Tools Version gt lt PrivateAssets gt all lt PrivateAssets gt lt IncludeAssets gt runtime build native contentfiles analyzers buildtransitive lt IncludeAssets gt lt PackageReference gt lt ItemGroup gt For the Client we will create a console application and add following packages lt ItemGroup gt lt PackageReference Include Google Protobuf Version gt lt PackageReference Include Grpc Net Client Version gt lt PackageReference Include Grpc Net Client Web Version gt lt PackageReference Include Grpc Tools Version gt lt PrivateAssets gt all lt PrivateAssets gt lt IncludeAssets gt runtime build native contentfiles analyzers buildtransitive lt IncludeAssets gt lt PackageReference gt lt ItemGroup gt For the both projects add a new Protos folder and create a new empty file named company proto We ll use the Proto Buffers to map out our gRPC service a request and a response We will create a Company amp Employee nested structure and a container for the response syntax proto import google protobuf timestamp proto option csharp namespace GrpcServer The Company service definition service Company Sends a greeting rpc PostCompanyWithEmployees CompanyModel returns Response The request message containing the companies s details with employees message CompanyModel int companyId string comapnyName repeated EmployeeModel employees The request message containing the employee s details message EmployeeModel int empId string empName int companyId google protobuf Timestamp birthDate The response message containing the response status message Response int status Now just save and build the application Following line will get added csproj file lt ItemGroup gt lt Protobuf Include Protos company proto GrpcServices Server gt lt ItemGroup gt We should notice the GrpcServices attribute It tells which side the application will be on Server or Client In above case it is showing as Server where as in the other application it will be as Client In case of where the Server and Client both are in same project it will be as Server Client gRPC ServiceIn the Client application open the program cs file and create a method for adding the Company amp Employee details We will call this method from the Main function Here we will create a gRPC channel with gRPC Server s remote URL that will communicate with the gRPC server After that we will have to create Employee and Company objects to pass it with the service var channel GrpcChannel ForAddress https localhost new GrpcChannelOptions HttpHandler new GrpcWebHandler new HttpClientHandler var readerClient new Company CompanyClient channel Creating new employees var employees new EmployeeModel new EmployeeModel EmpId EmpName Rama Bapat BirthDate Timestamp FromDateTime DateTime UtcNow AddYears AddMonths CompanyId new EmployeeModel EmpId EmpName Krishna Nene BirthDate Timestamp FromDateTime DateTime UtcNow AddYears AddMonths CompanyId Creating new company var company new CompanyModel CompanyId ComapnyName Patankar Khauwale Adding employees to company model company Employees Add employees Calling the server channel var responseData await readerClient PostCompanyWithEmployeesAsync company if responseData Status Console WriteLine Company amp Employees added Successfully else Console WriteLine Company amp Employees could not be added please try again Now in the Server application create a method with name PostCompanyWithEmployees and expecting CompanyModel as input with gRPC Respose as return type public override Task lt Response gt PostCompanyWithEmployees CompanyModel request ServerCallContext context try Add your database API call here to save the Employee amp Company details After successful post call return the Status as else return Task FromResult new Response Status catch return Task FromResult new Response Status Once all is done we will run both the applications and call the Server and we should get a response from the it In our case the Server will respond with an integer We ll see the results in console output window Congratulations We just successfully built a Client and Server gRPC application ReferencesGit repository for gRPC Client applicationGit repository gRPC Server applicationOfficial gRPC siteMicrosoft s documentation for gRPC on Net CoreCover photo by Karim MANJRA on Unsplash 2023-03-09 07:35:09
海外TECH DEV Community I reduced loop from 100K to 1K https://dev.to/mrh0200/i-reduced-loop-from-100k-to-1k-4267 I reduced loop from K to KOn working on a project i want to return array of names for the array of email ids i have const users name John email john example com name Jane email jane example com name Bob email bob example com function getNames emailIds return emailIds map emailId gt const user users find user gt return user email emailId return user name emailId As you see the above code the time complexity is O n m In other words assume the emailIds array is of size and users array size is then the above code may run so in order to reduce the iterationsfunction getNames emailIds const emailMap users forEach user gt emailMap user email user name return emailIds map emailId gt return emailMap emailId emailId This function first initializes an empty object emailMap It then iterates over the users array using the forEach method and stores each email to name mapping in the emailMap object where the email is the key and the name is the value Now the time complexity is O n m In other words the above code may run This modified approach is faster than the original version because it reduces the number of iterations needed to find a matching user object for each email ID Instead of searching the users array for each email ID the function only needs to perform a single iteration over the users array to create the email to name mappings Subsequent lookups are done using constant time key lookups in the emailMap object Thank you for reading please leave a like and share your thoughts in the comment section Happy Coding 2023-03-09 07:14:58
海外TECH DEV Community 13 Youtube Playlists for Machine Learning Enthusiasts 🙂 https://dev.to/keshavgbpecdel/13-youtube-playlists-for-machine-learning-enthusiasts-2n6l Youtube Playlists for Machine Learning Enthusiasts Stanford University CS Transformers UnitedMaking Friends with Machine LearningNeural Networks Zero to HeroMassachusetts Institute of Technology Deep Learning for Art Aesthetics and CreativityStanford University CS Deep Learning Applied Machine Learning Cornell Tech CS Fall Practical Deep Learning for Coders Practical Deep Learning for Coders Part Machine Learning with graphsProbabilistic Machine Learning ーPhilipp Hennig Deep Unsupervised Learning University of California Berkeley Spring Foundation ModelsStanford University CS Transformers United 2023-03-09 07:09:48
海外TECH CodeProject Latest Articles A Generic ESP LCD Panel API Initialization Routine https://www.codeproject.com/Tips/5356452/A-Generic-ESP-LCD-Panel-API-Initialization-Routine boilerplate 2023-03-09 07:29:00
医療系 医療介護 CBnews コロナ入院患者が8週連続減、通常医療と両立可能-東京都が感染状況・医療提供体制の分析を公表 https://www.cbnews.jp/news/entry/20230309163902 入院患者 2023-03-09 16:45:00
医療系 医療介護 CBnews 後発医薬品、1有効成分1品目が不適合-厚生労働省が2021年度検査結果報告書を公表 https://www.cbnews.jp/news/entry/20230309154423 自主回収 2023-03-09 16:20:00
金融 日本銀行:RSS 日本銀行当座預金のマクロ加算残高にかかる基準比率の見直しについて http://www.boj.or.jp/mopo/mpmdeci/mpr_2023/mpr230309a.pdf 当座預金 2023-03-09 17:00:00
海外ニュース Japan Times latest articles South Korean President Yoon Suk-yeol to visit Japan on March 16 https://www.japantimes.co.jp/news/2023/03/09/national/yoon-march-japan-visit/ labor 2023-03-09 16:38:45
ニュース BBC News - Home Ukraine war: Russian air strikes hit cities across country https://www.bbc.co.uk/news/world-europe-64897888?at_medium=RSS&at_campaign=KARANGA nuclear 2023-03-09 07:34:41
ニュース BBC News - Home Adidas unsure what to do with €1.2bn Yeezy goods https://www.bbc.co.uk/news/business-64892898?at_medium=RSS&at_campaign=KARANGA adidas 2023-03-09 07:17:21
ビジネス 不景気.com ヨーカドーが追加店舗削減で126→93店舗へ、アパレル撤退も - 不景気com https://www.fukeiki.com/2023/03/ito-yokado-close-store.html 追加 2023-03-09 07:08:09
ニュース Newsweek バフムト陥落でもその先にロシア軍を待つ地獄 https://www.newsweekjapan.jp/stories/world/2023/03/post-101056.php 2023-03-09 16:10:36
IT 週刊アスキー メルコイン、メルカリアプリ内でビットコインの売買ができる新サービスを提供 https://weekly.ascii.jp/elem/000/004/127/4127969/ 新サービス 2023-03-09 16:50:00
IT 週刊アスキー スポーツ観戦にピザ!! ドミノ、最大1825円お得な「Go! Go! Go! キャンペーン」ピザ+ポテト+からあげのセットで勝利を祈れ https://weekly.ascii.jp/elem/000/004/127/4127932/ gogogo 2023-03-09 16:45:00
IT 週刊アスキー ブラウザー版「Google翻訳」で、画像内の文字を検索可能に https://weekly.ascii.jp/elem/000/004/127/4127997/ 現地時間 2023-03-09 16:45:00
IT 週刊アスキー 大画面でスポーツ観戦! 明治安田生命J1リーグをライブ上映、新宿住友ビル 三角広場で3月11日・12日開催 https://weekly.ascii.jp/elem/000/004/127/4127960/ 新宿住友ビル 2023-03-09 16:40:00
IT 週刊アスキー 新特級職は魔剣士!『DQウォーク』武器種の追加や魔王覚醒などの情報も https://weekly.ascii.jp/elem/000/004/127/4127996/ 位置情報ゲーム 2023-03-09 16:30:00
IT 週刊アスキー パナソニックとインターコム、「WisOCR for 注文書・請求書」と「まいと~く Cloud」を連携 https://weekly.ascii.jp/elem/000/004/127/4127985/ cloud 2023-03-09 16:20:00
IT 週刊アスキー 「ガンダムヘビーアームズ改[EW]」が実装!『ガンエボ』で「Season 3 IGNITION」がスタート https://weekly.ascii.jp/elem/000/004/127/4127987/ gundamevolution 2023-03-09 16:15:00
マーケティング AdverTimes JCOM、マーケティング部長ほか(23年4月1日付) https://www.advertimes.com/20230309/article413502/ 部長 2023-03-09 07:45:44

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)