投稿時間:2023-08-16 10:19:26 RSSフィード2023-08-16 10:00 分まとめ(23件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… 「iOS 17 beta 6」の変更点まとめ ー 通話終了ボタンが元に位置に戻る https://taisy0.com/2023/08/16/175397.html iosbet 2023-08-16 00:16:13
ROBOT ロボスタ Gatebox、ChatGPTによる新型AIキャラクター「逢妻ヒカリV2」β誕生 5千万円超のクラウドファンディング支援者へのリターンは発送完了 https://robotstart.info/2023/08/16/gatebox-chatgpt-hikari-v2.html 2023-08-16 00:30:26
IT ITmedia 総合記事一覧 [ITmedia News] OpenAI、GPT-4の活用で人間のコンテンツモデレータの負担軽減が可能と主張 https://www.itmedia.co.jp/news/articles/2308/16/news087.html itmedianewsopenai 2023-08-16 09:37:00
IT ITmedia 総合記事一覧 [ITmedia エグゼクティブ] チェックインは「顔」でどうぞ ホテルに広がる顔認証、待ち時間も短縮 https://mag.executive.itmedia.co.jp/executive/articles/2308/16/news085.html itmedia 2023-08-16 09:05:00
IT ITmedia 総合記事一覧 [ITmedia News] 正社員のテレワーク率低下、22.2%に 5類移行で「出社」増える https://www.itmedia.co.jp/news/articles/2308/16/news086.html itmedia 2023-08-16 09:05:00
python Pythonタグが付けられた新着投稿 - Qiita djangoでstaticソース(jsやcss)が読めなくなった対応 https://qiita.com/daiki7010/items/684acf5a87ca9727dda3 debugfals 2023-08-16 09:23:05
js JavaScriptタグが付けられた新着投稿 - Qiita モジュールについて理解したい2 https://qiita.com/yangyooji1946/items/32541850d97e7e8a0e48 commonjsamdes 2023-08-16 09:53:19
Linux Ubuntuタグが付けられた新着投稿 - Qiita Docker 環境で Rust Rocket Webサービスを起動する https://qiita.com/fsdg-adachi_h/items/2c6608a5ffc65ad0e5a7 docker 2023-08-16 09:15:01
Docker dockerタグが付けられた新着投稿 - Qiita djangoでstaticソース(jsやcss)が読めなくなった対応 https://qiita.com/daiki7010/items/684acf5a87ca9727dda3 debugfals 2023-08-16 09:23:05
Docker dockerタグが付けられた新着投稿 - Qiita Docker 環境で Rust Rocket Webサービスを起動する https://qiita.com/fsdg-adachi_h/items/2c6608a5ffc65ad0e5a7 docker 2023-08-16 09:15:01
GCP gcpタグが付けられた新着投稿 - Qiita みんなであいうえお作文! https://qiita.com/spmf/items/703800a6024a1add3609 集中 2023-08-16 09:16:00
技術ブログ Developers.IO [アップデート]Service Catalogの製品タイプにTerraform Cloudが追加された https://dev.classmethod.jp/articles/update-service-catalog-terraform-cloud-support/ eservicecatalogsupportfor 2023-08-16 00:42:05
海外TECH DEV Community tRPC: What the future of the backend looks like https://dev.to/makinox/trpc-what-the-future-of-the-backend-looks-like-3boe tRPC What the future of the backend looks likeA new way of communicating between frontends and backends has arrived in our developer lives aiming to make things simpler and faster This technology I m talking about is tRPC which is a library that facilitates the creation of APIs between the client and the server What is tRPC tRPC is based on the concept of RPC Remote Procedure Call but is specifically designed to be used with TypeScript in modern web environments By using tRPC you can define your APIs on the server using TypeScript This allows you to specify data types and ensure that the data sent and received is correct On the client side you can also leverage TypeScript to obtain strong type checking in API calls which builds robust and reliable communication BackEndconst appRouter router userList publicProcedure query async gt const users name david name andres return users FrontEndconst users await trpc userList query console log users gt name david name andres ¿How does tRPC work ¿How is it possible We can describe the functioning of tRPC as an eight step process API Definition on the Server First the API is defined on the server using tRPC This involves creating functions and methods that can be remotely called by clients Each function is defined with its name input parameters and the expected data type to be returned Generation of TypeScript Code tRPC uses this API definition on the server to automatically generate TypeScript code that represents the API functions These generated functions will be used by the client to make API calls Client Installation On the client side such as a web application the tRPC client is installed This involves installing trpc client or a library provided by the community This library provides the generated functions that correspond to the API defined on the server API Calls on the Client On the client you can directly call the functions generated by tRPC as if they were local functions These calls can be made synchronously or asynchronously depending on your preferred way of handling them Serialization and Data Sending When a tRPC function call is made on the client the data and parameters are serialized converted into a suitable format for transfer and sent to the server through an HTTP or HTTP request Execution on the Server On the server tRPC deserializes the received data identifies the corresponding function based on the call name and parameters and executes the function Response Processing After executing the function on the server a response is generated that may include the requested results or data This response is serialized and sent back to the client Reception and Usage by the Client On the client the response is deserialized and delivered to the function on the client that initiated the original call The data or results can be used in the client s code as needed What s the difference between tRPC and gRPC tRPC and gRPC are two different technologies although they share similarities in their names due to their relationship with RPC Here are some key differences between tRPC and gRPC Programming language and platform tRPC It s specifically designed to work with TypeScript and is most commonly used in the context of web applications based on JavaScript TypeScript gRPC It s designed to be cross platform and supports multiple programming languages including C Java Python Go and more It s commonly used in microservices architectures and broader distributed applications Communication Protocol tRPC It uses HTTP or HTTP as the communication protocol It can send data in JSON or binary format making it suitable for modern web environments gRPC It uses HTTP as the communication protocol and the default data serialization format is Protocol Buffers protobuf which is more efficient and compact than JSON This makes it more suitable for high traffic and performance intensive applications Flexibility and Ease of Use tRPC It s designed with a simple syntax and structure making it easy to use and quick to set up for small to medium sized projects It s lightweight and can be suitable for cases where quick setup is desired gRPC It has a more complex syntax due to the use of protocol buffers and requires more initial setup It s more powerful in larger and more complex scenarios such as distributed systems and microservice architectures Why Should Someone Use tRPC There are several reasons why someone might consider using tRPC in their TypeScript web projects Ease of Use tRPC is designed with a simple and easily understandable syntax making implementation and usage straightforward It doesn t require a steep learning curve making it ideal for small to medium sized projects TypeScript Friendly Being TypeScript specific tRPC allows you to define data types both on the server and the client providing greater safety and helping to avoid common data type related errors Transparent Communication tRPC facilitates communication between the client and server abstracting much of the underlying logic and enabling API calls to be made transparently as if they were local functions Lightweight Approach tRPC is designed to be a lightweight and agile solution making it suitable for smaller projects or when a quick setup without complications is needed Modern Web Technology Compatibility By using HTTP or HTTP and allowing data to be sent in JSON or binary format tRPC is compatible with modern web technologies allowing easy integration into existing web applications Documentation and Active Community tRPC comes with solid documentation and an active community of users and developers which can facilitate the learning process and provide additional support for any questions or issues Scalability While tRPC is more suitable for small to medium sized projects it can be scalable as your application grows It s possible to migrate to more complex RPC solutions like gRPC if the project reaches a higher level of complexity Ultimately the choice to use tRPC will depend on the specific needs of your project and the context you re in If you re looking for a simple quickly implementable solution focused on TypeScript to facilitate communication between the client and server tRPC can be a suitable option And if you would like to start testing technology I will share the following links for you to discover the ecosystem Official documentationTemplate a complete backend with each end point documented to work with a teamTemplate to start a full stack app with Next js tRPC tailwind CSS and prismaThanks for reading 2023-08-16 00:48:49
海外TECH DEV Community Code, Kids, and Tavern Tales: Phil's Digital Odyssey https://dev.to/philipjohnbasile/code-kids-and-tavern-tales-phils-digital-odyssey-2ek8 Code Kids and Tavern Tales Phil x s Digital OdysseyIn the heart of the digital metropolis Phil a seasoned coder found himself navigating the winds of change Since June the rhythm of life had shifted challenging him with the unpredictability of the job market Yet it wasn t all about trials The unexpected hiatus had silver linings Diving deep into the realms of programming Phil became a student once again At Udacity he conquered the nuances of the Go language earning himself a respected nanodegree With the scholars of DataCamp he immersed himself in data science adding another feather to his cap As the days passed the rusted chains of the Rust language no longer held secrets from him and the enchanting songs of Elixir and Phoenix lured him into their transformative embrace But while the journey of upskilling was thrilling the marketplace s tales were of contrasting hues Each scroll on his device told stories of acquaintances finding new adventures or facing the daunting abyss of layoffs Such were the times a blend of optimism and uncertainty Despite the tumult one of Phil s treasures during this period was the unanticipated gift of time The days were punctuated with joyous moments as he basked in the warmth of his children s laughter and cherished the simple pleasures of life The playgrounds echoed with their giggles and the nights were filled with stories not of code but of fantastical realms and adventures As evenings descended Phil would frequent the local discord tavern a haven for coders Over mugs of coffee tales of resilience and dreams were exchanged virtually Phil often mused While we all need the gold coins sometimes the journey and the camaraderie sustain us even more Until the dream opportunity knocks we stand tall united by our shared quest And so with hope in his heart and an arsenal of skills Phil faced each day knowing that every sunrise brought with it a promise and every sunset a lesson The journey was as valuable as the destination and he cherished every step Love ya ll 2023-08-16 00:31:39
海外TECH DEV Community Computer Science 4 Newbies - Understanding The Big-O https://dev.to/yelldutz/computer-science-4-newbies-understanding-the-big-o-4pf1 Computer Science Newbies Understanding The Big OBig O had became one of the subjects about Computer Science that is more discussed on the social media specially on X RIP Twitter But the question is It is so hard to find a starter with no academic background that knows what this means So I am writing this article in order to be your first absolute contact with the Big O notations PrefaceBig O is a very special notation that was created to tell you how faster is your algorithm It is unfair to calculate the speed of your algorithm using time as a reference because it may depends on a lot of points and specific hardware configs such as available VRAM processing power video card etc So the right way to measure a algorithm speed is through steps If your algorithm X takes steps in order to be finished and the Y one takes the X will always be quicker to run What does Big O mean I know this could sound kinda silly but basically in order to give a symbol to que Operation function the mathematicians gave it the name O and the n or after the symbol are its operation count It is called Big O because of the O that comes before the count is much bigger than the other letters so it looks like a big O around other operations Types of Big O operationsO log n logarithmic timeO n linear timeO n log n quick order timeO n slow order timeO n slower order time Examples of algorithms with different Big O notations O log n Suppose you are looking for a book in a library where the books are arranged alphabetically by title Write an algorithm that quickly finds the location of the book on the shelf using the binary search strategy function binarySearch books string target string number let left let right books length while left lt right const mid Math floor left right if books mid target return mid Encontrou o livro na posição mid else if books mid lt target left mid O livro alvo estáàdireita do meio else right mid O livro alvo estáàesquerda do meio return O livro alvo não foi encontrado na biblioteca const libraryBooks Alice in Wonderland Harry Potter and the Sorcerer s Stone Pride and Prejudice The Great Gatsby To Kill a Mockingbird War and Peace const targetBook The Great Gatsby const bookLocation binarySearch libraryBooks targetBook if bookLocation console log The book targetBook is located at index bookLocation else console log The book targetBook was not found in the library In this algorithm we use binary search to quickly find the location of the book on the library shelf At each step we divide the book list in half and compare the target book title with the title in the middle of the list This allows us to find the desired book in a relatively small number of iterations making its running time O log n where n is the number of books in the library O n Imagine that you are adding up the total expenses on an expense list Each expense is represented by an integer in the list Write an algorithm that calculates the total spend function calculateTotalExpenses expenses number number let total for const expense of expenses total expense return total const expensesList const totalSpent calculateTotalExpenses expensesList console log Total expenses totalSpent In this algorithm we are summing all the elements in the expense list using a for loop With each iteration of the loop we add the expense amount to the total variable As each expense is considered once the number of operations is directly proportional to the number of elements in the list that is the complexity is O n where n is the size of the list O n log n Suppose you are sorting a list of names alphabetically Write an algorithm that sorts the names alphabetically using an optimized approach function mergeSort arr string string if arr length lt return arr const mid Math floor arr length const left arr slice mid const right arr slice mid return merge mergeSort left mergeSort right function merge left string right string string const result let leftIndex let rightIndex while leftIndex lt left length amp amp rightIndex lt right length if left leftIndex lt right rightIndex result push left leftIndex leftIndex else result push right rightIndex rightIndex return result concat left slice leftIndex concat right slice rightIndex const namesList Emma Liam Olivia Noah Ava William const sortedNames mergeSort namesList console log Sorted names sortedNames In this algorithm we use the Merge Sort sorting algorithm to sort the list of names alphabetically Merge Sort divides the list into two halves until each sublist contains only one element It then combines and sorts the sublists into a single sorted list The complexity of the Merge Sort is O n log n where n is the size of the list due to the splits and combinations of the sublists that occur in a log n of steps and the subsequent combination at each step will take O n time O n Suppose you are sorting a list of letters alphabetically using the insertion sort method Write an algorithm that sorts the cards in the correct order function insertionSort arr string string for let i i lt arr length i const currentCard arr i let j i while j gt amp amp arr j gt currentCard arr j arr j j arr j currentCard return arr const unsortedCards Spades Hearts Clubs Diamonds const sortedCards insertionSort unsortedCards console log Sorted cards sortedCards In this algorithm we are using the insertion sort method to arrange a list of cards in alphabetical order The algorithm loops through the list and for each element inserts it into the correct position within the already sorted part of the list on the left As we are comparing all elements to each other and performing repeated insertions the complexity of the algorithm is O n where n is the number of elements in the list Although insertion sort is not the most efficient approach to sorting large lists it is a useful analogy for understanding algorithms with quadratic complexity O n Suppose you are organizing a music event and you need to plan the order of presentations for several bands Write an algorithm that generates all possible playing orders for the bands function generatePermutations elements string string if elements length return const firstElement elements const restElements elements slice const partialPermutations generatePermutations restElements const allPermutations for const partialPermutation of partialPermutations for let i i lt partialPermutation length i const newPermutation partialPermutation slice i firstElement partialPermutation slice i allPermutations push newPermutation return allPermutations const bands Band A Band B Band C const bandPermutations generatePermutations bands console log Possible band orders bandPermutations In this algorithm we are generating all possible permutations of the bands to create different order of presentation The algorithm uses recursion to compute all permutations combining each element with the remaining partial permutations As the number of permutations grows exponentially with the number of elements n the complexity of this algorithm is O n Although generating permutations is a computationally intensive task it is not very practical for large sets of elements because of the rapid increase in the number of permutations as the number of elements increases Final considerationsUnderstanding what Big O means will help you participate on much deep debates about Computer Science and understand that having an algorithm that runs in ms is not a synonym of optimization Thumbnail by Mohsen Samimi on Unsplash 2023-08-16 00:08:08
金融 ニッセイ基礎研究所 「新築マンション価格指数」でみる関西圏のマンション市場動向(1)~関西圏の新築マンション価格は過去10年で59%上昇。大阪都心は82%上昇し、東京都心と同水準の伸び。 https://www.nli-research.co.jp/topics_detail1/id=75849?site=nli 一方、大阪市は転入超過が継続新築マンション購入層の動向「夫婦のみの世帯」と「未就学児がいる共働き世帯」が需要を支える「新築マンション価格指数」の作成「新築マンション価格指数」の算出結果関西圏「新築マンション価格指数」の算出結果大阪市「新築マンション価格指数」の算出結果大阪市エリア別補論関西圏「新築マンション価格指数」と「平均価格・m単価」不動産経済研究所公表の比較総務省「国勢調査」によれば、関西圏の分譲マンションに居住する世帯は、年から年の年間で倍約万世帯rarr約万世帯に増加した。 2023-08-16 09:56:32
金融 生命保険協会 生命保険契約者で被災された方への特別取扱いについて(京都府、兵庫県、鳥取県) https://www.seiho.or.jp/info/news/2023/post_3.html 生命保険 2023-08-16 09:35:00
ニュース BBC News - Home Joe Biden vows to visit Hawaii soon amid criticism https://www.bbc.co.uk/news/uk-66502287?at_medium=RSS&at_campaign=KARANGA federal 2023-08-16 00:04:59
ビジネス ダイヤモンド・オンライン - 新着記事 トランプ氏のジョージア州での起訴、本人と検察に試練 - WSJ発 https://diamond.jp/articles/-/327686 起訴 2023-08-16 09:16:00
ビジネス 東洋経済オンライン 夏休み作文も日記もラクラク!使える魔法ワザ3つ 親子で取り組みたい「ウソ日記」「筆談日記」 | 子どもを本当に幸せにする「親の力」 | 東洋経済オンライン https://toyokeizai.net/articles/-/693735?utm_source=rss&utm_medium=http&utm_campaign=link_back 夏休みの宿題 2023-08-16 09:40:00
ビジネス 東洋経済オンライン 「世界の50選」に上り詰めた名古屋の見違える変貌 「魅力に乏しい都市」から京都と並んで選出へ | 政策 | 東洋経済オンライン https://toyokeizai.net/articles/-/694022?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2023-08-16 09:30:00
ビジネス プレジデントオンライン どれだけ口下手な人でもスラスラと話し出す…「プロの聞き手」が使っている"3種類の合いの手"とは - ラジオの構成作家が使う秘蔵テクニック https://president.jp/articles/-/72651 合いの手 2023-08-16 10:00:00
マーケティング AdverTimes コミュニケーションで生まれる生理ケアの新しい当たり前_R30のホープたち https://www.advertimes.com/20230816/article429914/ 宣伝会議 2023-08-16 01:00:17

コメント

このブログの人気の投稿

投稿時間: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件)