投稿時間:2021-05-25 03:33:09 RSSフィード2021-05-25 03:00 分まとめ(42件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Apple、「tvOS 14.6」を正式に配信開始 https://taisy0.com/2021/05/25/140910.html applet 2021-05-24 17:58:18
IT 気になる、記になる… Apple、「watchOS 7.5」を正式に配信開始 https://taisy0.com/2021/05/25/140908.html apple 2021-05-24 17:56:10
IT 気になる、記になる… Apple、「iPadOS 14.6」を正式に配信開始 − Podcastのサブスクリプションに対応 https://taisy0.com/2021/05/25/140906.html apple 2021-05-24 17:53:42
IT 気になる、記になる… Apple、「iOS 14.6」を正式に配信開始 − Podcastのサブスクリプションに対応 https://taisy0.com/2021/05/25/140900.html apple 2021-05-24 17:51:08
IT 気になる、記になる… Apple、「WWDC21」の基調講演を6月7日午前10時より開催へ https://taisy0.com/2021/05/25/140896.html apple 2021-05-24 17:47:10
AWS AWS - Webinar Channel Best Practices when Migrating to Amazon EKS - AWS Online Tech Talks https://www.youtube.com/watch?v=TO0RPw9i2mQ Best Practices when Migrating to Amazon EKS AWS Online Tech TalksCustomers are increasingly leveraging Kubernetes to deploy applications to AWS However managing a highly available scalable and secure Kubernetes platform takes a lot of time and resources With Amazon EKS customers get the flexibility of fully conformant open source Kubernetes with the experience of a managed AWS service In this tech talk we ll walk through migration best practices including planning your migration cluster configuration and customer successes Learning Objectives Get insights from successful customer migrations Learn best practices for configuring EKS clusters Learn how to plan and execute a migration to EKSTo learn more about the services featured in this talk please visit 2021-05-24 17:30:17
Google Official Google Blog 4 things to know about Google Photos' storage policy change http://feedproxy.google.com/~r/blogspot/MKuf/~3/nuYRvlxq1pM/ things to know about Google Photos x storage policy changeSix months ago we announced a change to our High quality storage policy that allows us to keep pace with the growing demand for storage and build Google Photos for the future On Tuesday June we ll start rolling out this change so that any new photos and videos you back up will count toward the free GB of storage that comes with every Google Account or the additional storage you ve purchased as a Google One member Before this happens we want to recap what we announced back in November ーand share a couple new things ーto make the transition easier  Your existing High quality photos and videos are exempt from this change Any photos or videos backed up in High quality before June will not count toward your Google Account storage These photos and videos will remain free and exempt from the storage limit  You have a personalized estimate of how long your storage may last Your estimate takes into account how frequently you back up photos videos and other content to your Google Account We estimate that more than percent of you should still be able to store roughly three more years of memories in High quality with your free GB of storage As your storage nears GB we will notify you in the app and follow up by email If you don t see an estimate you may not have uploaded many photos and videos to Google Photos you may be close to your storage limit making it difficult to predict how many months your remaining storage will last or your account is provided through work school family or another group You have a new free tool to easily manage your storage quota If you want to keep using Photos for free we can help Today we re starting to roll out a tool in the Photos app to help you easily manage the photos and videos you ve backed up that count toward your storage quota The storage management tool surfaces photos or videos you might want to delete ーlike blurry photos screenshots and large videos ーso you can get the most out of your storage You can also purchase more storage through Google One where available  Your storage options will be easier to understand We are renaming our High quality storage tier to Storage saver which you ll start to see soon While we re updating the name your photos and videos will continue to be stored at the same great quality As always you have the control to choose the storage option that works best for you whether that s storing more photos and videos with Storage saver or backing them up in the same resolution that you took them with Original quality  We know this is a big change and hope Google Photos continues to be the home for your memories You can learn more about this change in our Help Center 2021-05-24 17:15:00
js JavaScriptタグが付けられた新着投稿 - Qiita モダンなデザインで軽量なJavaScriptのコンテキストメニューのライブラリーを作りました https://qiita.com/Robot-Inventor/items/4004b992f9d10ef77cd3 セパレーターを指定しているということを表すセパレーターはtype以外の他のプロパティーを指定しても無視されます。 2021-05-25 02:54:10
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) CSSに詳しい方 2つの画像を1つに見せる https://teratail.com/questions/340182?rss=all 表示 2021-05-25 02:56:46
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) pythonで、フォルダ内の複数のPDFファイルを開きたい https://teratail.com/questions/340181?rss=all pythonで、フォルダ内の複数のPDFファイルを開きたいpdfopenpyimportnbsposimportnbspsubprocessprognbspnbspraposcProgramnbspFilesTrackernbspSoftwarePDFnbspViewerPDFXCviewexeapossubprocessnbspPopennbspprognbspnbspraposcUsersinfoDropboxApdfapos「cUsersinfoDropbox」のディレクトリに、下記つのファイルが入っています。 2021-05-25 02:55:51
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) UnityのVSでDebug.Logの入れ方 https://teratail.com/questions/340180?rss=all UnityのVSでDebugLogの入れ方下記のコードが正常に作動するか確認のためにIsAnswerCorrectメソッドにDebugLogを入れて、確認したいのですが、どうやって入れたらいいでしょうかReturnに入れるとエラーが出て、If文を中にいれて、その中にDebugLogを入れてもエラーがでて、今のメソッド内に入れてもエラーがでます。 2021-05-25 02:43:09
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) 低水準言語と高水準言語について。 https://teratail.com/questions/340179?rss=all sumnbsp 2021-05-25 02:34:54
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) c言語、四則演算と繰り返しについて https://teratail.com/questions/340178?rss=all c言語、四則演算と繰り返しについて前提・実現したいことべき級数fxnbspnbsp×nbspxnbspnbspnbsp×nbspxnbspnbspnbsp×nbspxnbspnbspnbsp×nbspxnbspnbspnbsp×nbspxnbspnbspとする。 2021-05-25 02:28:37
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) UnityでNav Meshを使ってアニメーション切替えがしたいです。 https://teratail.com/questions/340177?rss=all UnityでNavMeshを使ってアニメーション切替えがしたいです。 2021-05-25 02:22:24
Ruby Rubyタグが付けられた新着投稿 - Qiita streaming-live!* - Canada vs Germany 24 May 2021 https://qiita.com/metexox8/items/89fabf4d75aef29bcc97 streaming live Canada vs Germany May Canada vs Germany Live Stream Free may The Ice Hockey World Junior Championship WJC was the th edition of the Ice Hockey World Junior Championship The International Ice Hockey Federation World Junior Championship will take place in Edmonton Alberta from may through Jan Go Live gt gt Go Live gt gt World Junior Championship schedule Tournament to start may will be played in Edmonton bubble without fans The United States will play Russia on may one of three games scheduled for the first day of the IIHF World Junior Championship The tournament which runs through Jan will be held at Rogers Place in Edmonton without fans in attendance in a secure zone bubble similar to what the NHL used for the Stanley Cup Playoffs The United States and Russia are in Group B for the preliminary round along with Sweden Austria and the Czech Republic After opening against Russia p m ET the United States will play Austria on may p m ET the Czech Republic on may p m ET and Sweden on may p m ET The United States placed sixth at the WJC in the Czech Republic NHL Network IIHF World Junior Championship Live Game Schedule Canada the tournament winner is in Group A along with Canada Switzerland Slovakia and Germany Canada plays its first game of the tournament against Germany on may p m ET It then plays Slovakia on may p m ET Switzerland on may p m ET and Canada on may p m ET The top four teams in each group will play in the quarterfinals Jan The semifinals are Jan and the championship and third place games are Jan Because the IIHF announced the cancelation of five lower level under tournaments there will be no relegation or promotion from the WJC A tremendous amount of planning has been underway for almost two years and announcing the schedule signifies how close we are to puck drop said Riley Wiwchar executive director of the WJC organizing committee After announcing the return of the tournament last month there is a feeling even knowing there won t be fans in the building of excitement and anticipation across the province and extending across the country as fans get set to cheer on the future stars of the game IIHF WORLD JUNIOR CHAMPIONSHIP SCHEDULE All games on NHL Network in the U S and on TSN in Canada Friday may Slovakia vs Switzerland p m ETCanada vs Germany p m ETUnited States vs Russia p m ETSaturday may Czech Republic vs Sweden p m ETCanada vs Germany p m ETAustria vs United States p m ETSunday may Switzerland vs Canada p m ETCanada vs Slovakia p m ETRussia vs Czech Republic p m ETMonday may Sweden vs Austria p m ETGermany vs Slovakia p m ETTuesday may Czech Republic vs United States p m ETSwitzerland vs Canada p m ETRussia vs Austria p m ETWednesday may Slovakia vs Canada p m ETGermany vs Switzerland p m ETSweden vs Russia p m ETThursday may Austria vs Czech Republic p m ETCanada vs Canada p m ETUnited States vs Sweden p m ETSaturday Jan Quarterfinal p m ETQuarterfinal p m ETQuarterfinal p m ETQuarterfinal p m ETMonday Jan Semifinal p m ETSemifinal p m ETTuesday Jan Third place game p m ETChampionship game p m ET 2021-05-25 02:07:41
Ruby Rubyタグが付けられた新着投稿 - Qiita 2021IIHF女子世界選手権5月開催 - 日本アイスホッケー連盟 https://qiita.com/metexox8/items/22466a0b68a8ad1da453 年の日本、そして世界のスポーツイベントの日程アイスホッケーIIHF女子Uアイスホッケー世界選手権ディヴィジョンA月日月日関連サイト体操体操競技ヒューストン国際ジュニア大会月日月日関連サイトレスリングバスケットボールFIBAアジアカップ予選ファーストラウンド月日年月日関連サイト関東大学リーグ戦公益財団法人東京都アイスホッケー連盟ジュニアフレンドリーマッチ秋季少年アイスホッケー大会開催日程年月日土日日試合会場年度東京都女子アイスホッケーリーグ戦兼第回全日本女子アイスホッケー選手権大会Cグループ東京都予選世界ジュニアフィギュア日程、テレビ放送、日本代表年、ISU世界ジュニアフィギュアスケート選手権大会がエストニア・タリンで開幕します。 2021-05-25 02:05:26
Ruby Rubyタグが付けられた新着投稿 - Qiita IIHF 公益財団法人 日本アイスホッケー連盟 https://qiita.com/metexox8/items/af72feb5cfbbaae6f28e 年の日本、そして世界のスポーツイベントの日程アイスホッケーIIHF女子Uアイスホッケー世界選手権ディヴィジョンA月日月日関連サイト体操体操競技ヒューストン国際ジュニア大会月日月日関連サイトレスリングバスケットボールFIBAアジアカップ予選ファーストラウンド月日年月日関連サイト関東大学リーグ戦公益財団法人東京都アイスホッケー連盟ジュニアフレンドリーマッチ秋季少年アイスホッケー大会開催日程年月日土日日試合会場年度東京都女子アイスホッケーリーグ戦兼第回全日本女子アイスホッケー選手権大会Cグループ東京都予選世界ジュニアフィギュア日程、テレビ放送、日本代表年、ISU世界ジュニアフィギュアスケート選手権大会がエストニア・タリンで開幕します。 2021-05-25 02:05:22
Ruby Rubyタグが付けられた新着投稿 - Qiita 女子アイスホッケー世界選手権2021 スマイルジャパン 結果速報 https://qiita.com/metexox8/items/fe1c8c8142f41fd93b1d 年の日本、そして世界のスポーツイベントの日程アイスホッケーIIHF女子Uアイスホッケー世界選手権ディヴィジョンA月日月日関連サイト体操体操競技ヒューストン国際ジュニア大会月日月日関連サイトレスリングバスケットボールFIBAアジアカップ予選ファーストラウンド月日年月日関連サイト関東大学リーグ戦公益財団法人東京都アイスホッケー連盟ジュニアフレンドリーマッチ秋季少年アイスホッケー大会開催日程年月日土日日試合会場年度東京都女子アイスホッケーリーグ戦兼第回全日本女子アイスホッケー選手権大会Cグループ東京都予選世界ジュニアフィギュア日程、テレビ放送、日本代表年、ISU世界ジュニアフィギュアスケート選手権大会がエストニア・タリンで開幕します。 2021-05-25 02:05:16
Ruby Rubyタグが付けられた新着投稿 - Qiita アイスホッケー世界選手権 試合日程、ライブスコア & 配信 » 表 ... https://qiita.com/metexox8/items/c5b45029dc75d8fbc01a フィギュアスケート競技の結果を速報しますスピード・フィギュア・アイスホッケー競技日程・ライブフィギュアスケートの全試合・テレビ放送の日程年のフィギュアスケート関連試合・アイスショー・イベント・テレビ番組・選手情報等スケジュールカレンダー一覧表です。 2021-05-25 02:05:10
Ruby Rubyタグが付けられた新着投稿 - Qiita 【女子アイスホッケー】世界選手権2021日程・結果速報 ... https://qiita.com/metexox8/items/c299aecb4f5ea5574969 このページでは、日本アイスホッケー連盟の運営思想や組織、規定、加盟団体などについて紹介含まれない世界‎含めて検索世界年世界ジュニアアイスホッケー選手権ライブLiVE年世界ジュニアアイスホッケー選手権ライブの動画検索結果アップロード元dua日本アイスホッケー連盟日本アイスホッケー連盟のオフィシャルサイトです回全日本女子アイスホッケー選手権大会A【テレビ】年世界ジュニアアイスホッケー選手権ライブ放送インターハイ冬季フィギュアスケート結果速報・出場令和年度全国高等学校総合体育大会第回全国高等学校スケート競技・アイスホッケー競技選手権大会が開催されます。 2021-05-25 02:05:03
Ruby Rubyタグが付けられた新着投稿 - Qiita アイスホッケー2021-2022 日程、スケジュール、テレビ放送 ... https://qiita.com/metexox8/items/232979ad4c75f66a0a8e 年の日本、そして世界のスポーツイベントの日程アイスホッケーIIHF女子Uアイスホッケー世界選手権ディヴィジョンA月日月日関連サイト体操体操競技ヒューストン国際ジュニア大会月日月日関連サイトレスリングバスケットボールFIBAアジアカップ予選ファーストラウンド月日年月日関連サイト関東大学リーグ戦公益財団法人東京都アイスホッケー連盟ジュニアフレンドリーマッチ秋季少年アイスホッケー大会開催日程年月日土日日試合会場年度東京都女子アイスホッケーリーグ戦兼第回全日本女子アイスホッケー選手権大会Cグループ東京都予選世界ジュニアフィギュア日程、テレビ放送、日本代表年、ISU世界ジュニアフィギュアスケート選手権大会がエストニア・タリンで開幕します。 2021-05-25 02:05:00
Ruby Rubyタグが付けられた新着投稿 - Qiita インターナショナル - アイスホッケー世界選手権 https://qiita.com/metexox8/items/7854363f105cba9e0ae1 このページでは、日本アイスホッケー連盟の運営思想や組織、規定、加盟団体などについて紹介含まれない世界‎含めて検索世界年世界ジュニアアイスホッケー選手権ライブLiVE年世界ジュニアアイスホッケー選手権ライブの動画検索結果アップロード元dua日本アイスホッケー連盟日本アイスホッケー連盟のオフィシャルサイトです回全日本女子アイスホッケー選手権大会A【テレビ】年世界ジュニアアイスホッケー選手権ライブ放送インターハイ冬季フィギュアスケート結果速報・出場令和年度全国高等学校総合体育大会第回全国高等学校スケート競技・アイスホッケー競技選手権大会が開催されます。 2021-05-25 02:04:54
海外TECH Ars Technica From trash to jet fuel in 60 minutes—and 220º C https://arstechnica.com/?p=1766823 wonder 2021-05-24 17:10:29
海外TECH DEV Community A historical introduction to the Compose reactive state model https://dev.to/zachklipp/a-historical-introduction-to-the-compose-reactive-state-model-19j8 A historical introduction to the Compose reactive state modelJetpack Compose offers a completely new way to write and to think about UI code One of its key features is that Compose code is reactive which is to say it automatically updates in response to state changes What really makes this feature magic however is that there is no explicit “reactive API This post is part of a series that attempts to explain how Compose does this via its snapshot state system Stay tuned for the sequel BackgroundSome time in the years before this post was written in RxJava became the de facto standard way to write reactive UI code You would design your APIs around streams Observables and some infrastructure code would glue streams together and provide other wiring like automatic subscription management Streams could signal events or hold state and notify listeners about changes to that state Business logic tended to be written as functional transforms on streams shoutout to flatMap RxJava was a major step up from manually implementing the observer pattern by creating your own Listener interfaces and all the related boilerplate Observables support sophisticated error handling and handle all the messy thread safety details for you But not all the grass was greener on the Rx side of the fence Large apps with many streams can quickly become hard to reason about APIs were tightly coupled to the reactive libraries since the only way to express reactivity was to expose stream types Does this stream emit immediately or do I need to provide an initial value How do I combine multiple streams in the right way combineLatest concat merge switchMap oh my How do I make a mutable property I can t use a Kotlin property because the getter needs to return a stream but the setter needs to take a single non stream value If I need to expose multiple state values do I combine them into a single stream that emits all values at once or expose multiple streams Do I need to observeOn or am I already on the right thread How do I integrate all these nice async streams with this one legacy synchronous API How do I provide both async and sync or push based streams and pull based getter APIs without almost duplicating methods val currentTime Date vs val times Observable lt Date gt Roughly ten years after introducing RxJava into the codebase I work in pyricau is still finding code that leaks because it s not handling subscriptions just right As the industry adopted Kotlin a lot of codebases started to migrate from RxJava to Flow a similar stream library built around coroutines Flows solved some of the problems of RxJava structured concurrency is a much safer way to manage subscription logic but a stream is still a stream While it s possible to get into the habit of thinking of everything in terms of streams it s one more layer of conceptual overhead to learn It s not intuitive to a lot of new developers and even experienced developers get tripped up regularly If only there were a better way ExampleConsider the following hypothetical implementation of a special button class Counter var value Int private set fun increment value class CounterButton val counter Counter Button fun initialize this text “Counter counter value setOnClickListener counter increment The initialize function used in the CounterButton is not from either classic Android Views or Compose for the sake of these examples it is meant to be called by some glue code elsewhere in the app If that s unsatisfyingly vague you can imagine it could be called from an init block or onAttachedToWindow There is another reason for defining a separate function which I ll explain once we get to the Compose content later in the post Can you tell what the programmer s intent was They wanted to make a button that shows the current value of a counter and when you click the button the counter is incremented But this code is very broken The text is only set once when the button is initialized and is never updated Let s fix that bug class CounterButton val counter Counter Button fun initialize this text “Counter counter value setOnClickListener counter increment this text “Counter counter value Now the text will be updated when the counter is incremented But let s say we want to decrement the value when the user long presses on the button class Counter … fun decrement value class CounterButton val counter Counter Button fun initialize this text “Counter counter value setOnClickListener counter increment this text “Counter counter value setOnLongClickListener counter decrement this text “Counter counter value This works but there s some duplication Following the Rule of Three let s factor the text update out class CounterButton val counter Counter Button fun initialize updateText setOnClickListener counter increment updateText setOnLongClickListener counter decrement updateText private fun updateText this text “Counter counter value Unfortunately any time this button gets another feature the developer still has to remember to call updateText Ideally we d like to express that the text should be updated whenever the counter value changes Let s try using RxJava class Counter private val value BehaviorSubject createDefault val value Observable lt Int gt value fun increment value value fun decrement value valueー class CounterButton val counter Counter Button fun initialize counter value subscribe value gt this text “Counter value setOnClickListener counter increment setOnLongClickListener counter decrement This looks like it works in testing but turns out we re leaking that subscription to counter value which we might only realize after shipping this code There are many ways to solve this but since this blog post is supposed to be about Compose and not RxJava I ll leave that as an exercise for the reader We ve managed to keep the intent fairly clear but the Counter class has gained some boilerplate and leaves some open questions What if we want to add another state value to the counter Do we combine all the state values into a single stream or expose multiple streams Let s try the latter class Counter private val value BehaviorSubject createDefault val value Observable lt Int gt value fun increment value value fun decrement value valueー private val label BehaviorSubject createDefault “ val label Observable lt String gt label fun setLabel label String label value label class CounterButton val counter Counter Button fun initialize combineLatest counter label counter value label value gt Pair label value subscribe label value gt this text “ label value setOnClickListener counter increment setOnLongClickListener counter decrement Now there s more boilerplate in CounterButton we had to start using RxJava APIs to combine streams but this can get messy if there are more than a few streams And although I ve been specifically referencing RxJava this problem isn t unique to that particular library any library that implements reactive programming via a stream or subscription based API has the same issues Project Reactor Kotlin Flows etc It looks like Android developers are doomed to spend the rest of their days tying streams in knots A better wayCompose introduces a mechanism for managing state that eliminates the vast majority of boilerplate Let s update the above sample to take advantage of it class Counter var value Int by mutableStateOf private set fun increment value fun decrement valueー var label String by mutableStateOf “ class CounterButton val counter Counter Button fun initialize this text “ counter label counter value setOnClickListener counter increment setOnLongClickListener counter decrement This looks a lot more like the code we started with The only difference is the introduction of mutableStateOf which effectively makes the counter s properties observable State values that are managed by things like mutableStateOf are generally referred to as “snapshot state for reasons that I will get into later There are various types of state that all behave similarly including mutableStateListOf and friends so I will use the term “snapshot state to refer to this set of concepts You may have heard that Compose makes use of a compiler plugin That is true however none of the snapshot state infrastructure described here relies on that plugin It s all done with regular vanilla Kotlin Snapshot state ObservationReaders familiar with Compose might point out that widgets in Compose aren t classes they re functions and none of this looks very Compose y at all They would be right but this highlights a great design feature of Compose the state management infrastructure is completely decoupled from the rest of the “composable concepts For example you could theoretically use snapshot state with classic Android Views It s important to note that this isn t actually magic and this code change wouldn t actually work automatically it assumes that whatever glue code calls initialize supports Compose s state management Adding the wiring to make initialize reactive could be as simple as this snapshotFlow initialize launchIn scope snapshotFlow creates a Flow that executes a lambda tracks all the snapshot state values that are read inside the lambda and then re executes it any time any of those values are changed The Compose documentation explains in more detail here It might not be immediately obvious in such a simple example but this is a huge improvement over the RxJava approach because the code to wire up initialize only needs to be written once e g in a base class or factory function and it will automatically work for all code using that infrastructure The logic for “observing changes to state only needs to exist in shared infrastructure code not everywhere that wants to read observable values The UI code or whatever other business specific code you re writing doesn t need to think about how to observe multiple state values how to manage subscription lifecycles or any of that other messy stream stuff We could factor an interface out of Counter that would declare regular properties and they would still be observable when backed by snapshot state Composable functions already have this implicit observation logic wired up which is why code like this would just work Composable fun CounterButton counter Counter Text “ counter label counter value The Compose compiler wraps the body of this CounterButton function with code that effectively observes any and all MutableStates that happen to be read inside the function Snapshot state Thread safetyAnother advantage of using snapshot state is that it makes it much easier and safer to reason about mutable state across threads If seeing “mutable state and “thread in the same sentence sets off alarm bells you ve got good instincts Mutating state across threads is so hard to do well and the cause of so many hard to reproduce bugs that many programming languages forbid it Swift s new actor library includes thread isolation following in the footsteps of actor based languages like Erlang Dart the language used by Flutter uses separate memory spaces for “isolates its version of threads Functional languages like Haskell often brag that they are safe for writing parallel code because all data is deeply immutable Even in Kotlin the initial memory model for Kotlin Native requires all objects shared between threads to be “frozen i e made deeply immutable Compose s snapshot state mechanism is revolutionary for UI programming in a way because it allows you to work with mutable state in a safe way across multiple threads without race conditions It does this by allowing glue code to control when changes made by one thread are seen by other threads While not as clear a win as implicit observation this feature will allow Compose to add parallelism to its execution in the future without affecting the correctness of code as long as that code follows the documented best practices at least ConclusionJetpack Compose is an incredibly ambitious project that changes many of the ways we think about and write UI code in Kotlin It allows us to write fully reactive apps with less boilerplate and hopefully less cognitive overhead than we ve been able to do in the past Simple clear code that is easy to read and understand will usually just work as intended In particular Compose makes mutable state not be scary anymore I expect this will have a very positive impact on the general quality of Android apps since there are fewer opportunities for hard to troubleshoot classes of bugs and complex behavior is easy to get right Please let me know what you thought in the comments I know there are questions I haven t answered Digging deeperThis post hopefully demonstrated the practical and ergonomic advantages to Compose s state model and maybe even sparked some new questions How the heck does all this stuff actually work The answer to that question deserves its own blog post so stay tuned for a follow up On the other hand if you re just trying to figure out how to use these APIs in your UI code you might find my cheat sheet on remember mutableStateOf useful Huge thanks to Mark Murphy and jossiwolf for helping review and edit this post 2021-05-24 17:07:18
海外TECH DEV Community Sending images and more with Telegram bot https://dev.to/rizkyrajitha/sending-images-and-more-with-telegram-bot-4c0h Sending images and more with Telegram botHi everyone This is a follow up tutorial on my previous tutorial about Sending messages with Telegram bot make sure you check that before following this tutorial Sending messages with Telegram bot Rajitha Gunathilake・Nov ・ min read bots telegram http in the last tutorial we talked about sending messages but telegram has a powerful API that allows us to send more than just text messages so in this tutorial we will get to know how to send images with a telegram bot This procedure is really simple we need to send a post request to telegram API with our photo as multipart form data This is similar to what we used previously the change is now we are using a different route and sending form data with our image attachedUsing the follwoing API endpoint token gt sendPhoto chat id lt group chat id gt in multipart form data attach an image file with the name photoand after sending this we can get a response with ok true and if we look at the chat we can see that the photo is received This can also be done programmatically I will use nodejs to demonstrate in this example const fetch require node fetch const fs require fs const FormData require form data let readStream fs createReadStream image png let form new FormData form append photo readStream fetch token gt sendPhoto chat id lt chat id gt method POST body form then res gt res json then response gt console log response catch error gt console log error we have used node fetch package to send the HTTP request from nodejs and form data package to append formdata to the request and after running the script we can see that we get ok true just like before there are some limits provided by the telegram when using sendPhoto API The photo must be at most MB in size The photo s width and height must not exceed in total Width and height ratio must be at most Telegram API reference sendphoto method we can use sendAudio just like the last example to send audio files const fetch require node fetch const fs require fs const FormData require form data let readStream fs createReadStream audio mp let form new FormData form append audio readStream form append title audio dev test to show as the title in chatfetch token gt sendAudio chat id lt chat id gt method POST body form then res gt res json then response gt console log response catch error gt console log error limits provided by the telegram when using sendAudio API Your audio must be in the MP or MA format On success the sent Message is returned Bots can currently send audio files of up to MB in size this limit may be changed in the future Telegram API reference sendaudio methodAnd the list goes on and on for documents voice messages animations videos etc you can find all the provided methods in the Telegram reference Thanks for reading till the end share your thoughts in the comments section 2021-05-24 17:05:45
Apple AppleInsider - Frontpage News Apple releases tvOS 14.6 update to the public https://appleinsider.com/articles/21/05/24/apple-releases-tvos-146-update-to-the-public?utm_medium=rss Apple releases tvOS update to the publicApple has released the tvOS update to the public one which introduces bug fixes and performance improvements The update can be installed automatically on a fourth generation Apple TV or Apple TV K A manual update can be performed by accessing the Settings app and selecting System then Software Updates followed by Update Software then by the Download and Install option No features were revealed in the betas for tvOS but it is anticipated to have various performance improvements and bug fixes As part of this the release is also anticipated to support the updated Apple TV K and new Siri remote which has in store availability from May Read more 2021-05-24 17:28:24
Apple AppleInsider - Frontpage News Apple releases macOS Big Sur 11.4 with support for Apple Podcast Subscriptions https://appleinsider.com/articles/21/05/24/apple-releases-macos-big-sur-114-with-support-for-apple-podcast-subscriptions?utm_medium=rss Apple releases macOS Big Sur with support for Apple Podcast SubscriptionsApple Podcast Subscriptions is the most visible new feature in the updated macOS Big Sur now publicly available Apple releases macOS Big Sur Following four rounds of beta versions Apple has now publicly released macOS Big Sur which will now also be supplied pre installed on new Macs As ever the company has not provided any extensive details about the update but it does feature two significant additions Read more 2021-05-24 17:37:16
Apple AppleInsider - Frontpage News Apple releases watchOS 7.5, adding in support for Apple Podcast subscriptions and Apple Card Family https://appleinsider.com/articles/21/05/24/apple-releases-watchos-75-adding-in-support-for-apple-podcast-subscriptions-and-apple-card-family?utm_medium=rss Apple releases watchOS adding in support for Apple Podcast subscriptions and Apple Card FamilyThe new watchOS brings the usual host of bug fixes and performance updates alongside a few notable additions After a month of beta tests Apple has released watchOS While most of the updates are performance related a few new features have been added to Apple s flagship smartwatch For the first time watchOS brings the ECG feature on the Apple Watch Series or later to Malaysia and Peru Both countries can now turn on notifications for irregular heart rhythms as well Read more 2021-05-24 17:13:21
Apple AppleInsider - Frontpage News Apple releases iOS 14.6 and iPadOS 14.6 to the public https://appleinsider.com/articles/21/05/24/apple-releases-ios-146-and-ipados-146-to-the-public-with-apple-music-lossless?utm_medium=rss Apple releases iOS and iPadOS to the publicApple has released iOS and iPadOS with paid podcast subscriptions and Apple Card Family Apple releases iOS and iPadOS to the publiciOS and iPadOS are media focused releases with changes to Apple Podcasts and Apple Music being the headlining features Apple has already begun the iOS beta cycle signaling that the company still isn t done with updates despite WWDC being right around the corner Read more 2021-05-24 17:10:09
海外TECH Engadget Apple releases iOS 14.6 with support for paid podcast subscriptions https://www.engadget.com/apple-releases-ios-14-6-174420200.html iphone 2021-05-24 17:44:20
海外TECH Engadget ‘Charlie Bit My Finger’ sold as an NFT, could vanish from YouTube forever https://www.engadget.com/charlie-bit-my-finger-nft-youtube-3f-music-173036076.html history 2021-05-24 17:30:36
Cisco Cisco Blog Reimagining Critical Health Services for Communities of Need https://blogs.cisco.com/partner/reimagining-critical-health-services-for-communities-of-need Reimagining Critical Health Services for Communities of NeedCisco and our partners have an inspiring track record of stepping up to a challenge Learn how Cisco and Logicalis team up to provide IT health services to communities in need 2021-05-24 17:10:35
海外科学 NYT > Science Biden Doubles FEMA Program to Prepare for Natural Disasters https://www.nytimes.com/2021/05/24/climate/biden-fema-disasters.html Biden Doubles FEMA Program to Prepare for Natural DisastersAt the outset of hurricane and wildfire season the Biden administration is doubling to billion a fund that helps communities prepare for disasters 2021-05-24 17:38:55
ニュース BBC News - Home UK airlines told to avoid Belarusian airspace after journalist arrest https://www.bbc.co.uk/news/uk-57232988 minsk 2021-05-24 17:42:41
ニュース BBC News - Home Max Mosley: Privacy campaigner and ex-motorsport boss dies at 81 https://www.bbc.co.uk/news/uk-57232681 campaigner 2021-05-24 17:35:20
ニュース BBC News - Home Heysham explosion: Cut gas pipe caused fatal blast, say police https://www.bbc.co.uk/news/uk-england-lancashire-57232373 blast 2021-05-24 17:46:49
ニュース BBC News - Home Damiano David: Eurovision winner cleared of drug use by broadcaster https://www.bbc.co.uk/news/world-europe-57234821 competition 2021-05-24 17:37:45
ニュース BBC News - Home Sasha Johnson: Black Lives Matter activist shot in London https://www.bbc.co.uk/news/uk-england-57223755 people 2021-05-24 17:06:15
ニュース BBC News - Home BBC to review editorial policies and Martin Bashir hiring https://www.bbc.co.uk/news/uk-57229049 wales 2021-05-24 17:52:23
ニュース BBC News - Home Guardiola 'could not care less' Lahoz will referee Champions League final https://www.bbc.co.uk/sport/football/57233786 Guardiola x could not care less x Lahoz will referee Champions League finalPep Guardiola has not thought about Antonio Mateu Lahoz refereeing the Champions League final despite his history with the official 2021-05-24 17:38:14
ビジネス ダイヤモンド・オンライン - 新着記事 中国のビットコイン取引締め付け強化、市場の動揺に拍車 - WSJ発 https://diamond.jp/articles/-/272193 拍車 2021-05-25 02:22:00
北海道 北海道新聞 癒やしの白い花 実り楽しみ 清水の果樹園 https://www.hokkaido-np.co.jp/article/547409/ 観光農園 2021-05-25 02:04:05

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)