IT |
気になる、記になる… |
Apple、「tvOS 14.5」を正式に配信開始 |
https://taisy0.com/2021/04/27/139736.html
|
利用可能 |
2021-04-26 17:33:32 |
IT |
気になる、記になる… |
Apple、「iPadOS 14.5」を正式に配信開始 |
https://taisy0.com/2021/04/27/139734.html
|
airtag |
2021-04-26 17:30:15 |
IT |
気になる、記になる… |
Apple、「watchOS 7.4」を正式に配信開始 |
https://taisy0.com/2021/04/27/139732.html
|
apple |
2021-04-26 17:20:53 |
IT |
気になる、記になる… |
Apple、「macOS Big Sur 11.3」を正式に配信開始 |
https://taisy0.com/2021/04/27/139730.html
|
airtag |
2021-04-26 17:19:01 |
IT |
気になる、記になる… |
Apple、「iOS 14.5」を正式に配信開始 |
https://taisy0.com/2021/04/27/139724.html
|
apple |
2021-04-26 17:11:17 |
AWS |
AWS Database Blog |
How to index on Amazon DocumentDB (with MongoDB compatibility) |
https://aws.amazon.com/blogs/database/how-to-index-on-amazon-documentdb-with-mongodb-compatibility/
|
How to index on Amazon DocumentDB with MongoDB compatibility Amazon DocumentDB with MongoDB compatibility is a fast scalable highly available and fully managed document database service that supports MongoDB workloads You can use the same MongoDB and application code drivers and tools to run manage and scale workloads on Amazon DocumentDB without having to worry about managing the underlying infrastructure As a … |
2021-04-26 17:56:32 |
AWS |
AWS Machine Learning Blog |
Monitor and Manage Anomaly Detection Models on a fleet of Wind Turbines with Amazon SageMaker Edge Manager |
https://aws.amazon.com/blogs/machine-learning/monitor-and-manage-anomaly-detection-models-on-a-fleet-of-wind-turbines-with-amazon-sagemaker-edge-manager/
|
Monitor and Manage Anomaly Detection Models on a fleet of Wind Turbines with Amazon SageMaker Edge ManagerIn industrial IoT running machine learning ML models on edge devices is necessary for many use cases such as predictive maintenance quality improvement real time monitoring process optimization and security The energy industry for instance invests heavily in ML to automate power delivery monitor consumption optimize efficiency and extend the lifetime of their equipment Wind energy … |
2021-04-26 17:12:13 |
AWS |
AWS - Webinar Channel |
Simplify Your Cloud Transformation with VMware Cloud on AWS - AWS Online Tech Talks |
https://www.youtube.com/watch?v=CZ6X9jGVV84
|
Simplify Your Cloud Transformation with VMware Cloud on AWS AWS Online Tech TalksMany VMware customers have a vision to migrate to the cloud but often don t know how to get started VMware Cloud on AWS is the fastest and most cost effective way to move your VMware workloads to the AWS Cloud In this tech talk we will show you how to leverage your VMware tools and processes in AWS without any changes to your applications or infrastructure Once on AWS you ll then have seamless access to over AWS cloud native services which will help drive modernization and additional cost savings for your business Learning Objectives See how VMware Cloud on AWS provides a faster and easier migration path from your on premises datacenter to AWS with minimal business disruption Understand how businesses adopting VMware Cloud on AWS are realizing cloud benefits immediately Learn about the tools and AWS native services that will help you modernize your VMware workloads To learn more about the services featured in this talk please visit |
2021-04-26 17:04:05 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
psycopg2でSAVEPOINTを使って少し複雑なロールバック処理 |
https://qiita.com/MKX/items/1e99a567fb391f607ca8
|
psycopgでSAVEPOINTを使って少し複雑なロールバック処理はじめにpsycopgを使っていてネストさせたトランザクションのロールバック処理がうまく出来なかったが、対応方法を調べて思っていたことがある程度できたのでメモ。 |
2021-04-27 02:51:56 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Cybozuのメールが急に受信できなくなりました |
https://teratail.com/questions/335335?rss=all
|
Cybozuのメールが急に受信できなくなりました前提・実現したいことさくらVPSPostfix、dovecotでメールサーバを構築して、そのメールを各社員のcybozu上で受信設定をしておりますが、先週末よりcybozuのメールアプリで急に受信時にエラーが発生して、メールを取り込むことが出来なくなりました。 |
2021-04-27 02:21:50 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
シェルスクリプトのrsyncでディレクトリーを同期したい |
https://teratail.com/questions/335334?rss=all
|
シェルスクリプトのrsyncでディレクトリーを同期したい前提・実現したいこと一度別のサーバーにSSHで繋いでからrsyncを使ってバックアップを取りたいです。 |
2021-04-27 02:11:46 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
草野球の出欠確認Webアプリを作ろう! part.2 |
https://qiita.com/tomodachi_uec/items/9ed563516f4d0435c385
|
ltlt前回の記事今回やったことわりと思い付きで管理者権限種類をUserモデルに追加した。 |
2021-04-27 02:59:49 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【コピペ】AWS Cloud9+Docker ComposeでLaravel環境を構築その参 |
https://qiita.com/_bobtabo_/items/b3dba3a8d47a66808564
|
マシンスペックMacminimacOSCatalinaxIntelCoreiGHzコアメモリGBSSDGBDocker環境Nginx最新版PHPPHPFPMxMySQLxComposerxLaravelxやることLaravelだけ、リポジトリ管理前提【コピペ】AWSCloudDockerComposeでLaravel環境を構築その弐で環境構築済みLaravelだけ、Gitリポジトリ管理する現在の構成ディレクトリ構成は、こんな感じ。 |
2021-04-27 02:19:02 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
【コピペ】AWS Cloud9+Docker ComposeでLaravel環境を構築その参 |
https://qiita.com/_bobtabo_/items/b3dba3a8d47a66808564
|
マシンスペックMacminimacOSCatalinaxIntelCoreiGHzコアメモリGBSSDGBDocker環境Nginx最新版PHPPHPFPMxMySQLxComposerxLaravelxやることLaravelだけ、リポジトリ管理前提【コピペ】AWSCloudDockerComposeでLaravel環境を構築その弐で環境構築済みLaravelだけ、Gitリポジトリ管理する現在の構成ディレクトリ構成は、こんな感じ。 |
2021-04-27 02:19:02 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
草野球の出欠確認Webアプリを作ろう! part.2 |
https://qiita.com/tomodachi_uec/items/9ed563516f4d0435c385
|
ltlt前回の記事今回やったことわりと思い付きで管理者権限種類をUserモデルに追加した。 |
2021-04-27 02:59:49 |
技術ブログ |
Developers.IO |
リージョン規模の障害が発生した時に Service Health Dashboard から障害情報を受け取る方法を教えてください |
https://dev.classmethod.jp/articles/tsnote-shd-event-notifications/
|
service |
2021-04-26 17:36:59 |
海外TECH |
Ars Technica |
Africa’s first Iron Age culture had a sweet tooth |
https://arstechnica.com/?p=1759983
|
diets |
2021-04-26 17:02:24 |
海外TECH |
DEV Community |
RxJS pipe as a React hook |
https://dev.to/kosich/rxjs-pipe-as-a-react-hook-3lne
|
RxJS pipe as a React hookEver tried to use an Rx Observable in React Then you know what s the problem with this code function App let time setTime useState timer pipe filter x gt x map x gt x subscribe setTime return lt h gt time lt h gt Yeah it subscribes to the timer with each render Which happens on each timer emission Which leads to a re render Which leads to well you know memory leaks and weird behaviour And on top of that it won t be destroyed with the component unmount In this short post I want to share with you a non canonical idea probably not original one how to fix that tl dr online playground with hook pipe 🪝The hookWe could devise a custom react hook that will fix that Lets use a useEffect hook which will subscribe to the source and push messages to our observer setTime in the example above let useObservable observable observer gt useEffect with empty deps will call this only once useEffect gt let sub observable subscribe observer connect return gt sub unsubscribe lt unsub on unmount And it will be used like this function App let time setTime useState useObservable timer pipe filter x gt x map x gt x setTime return lt h gt time lt h gt Which looks react ish but not rx ish Not nice We can do better So let s explore another way ️RxJS pipesBut before we continue a quick reminder of RxJS pipe operator mechanics Roughly speaking RxJS pipe operator like map is just a function that takes one Observable and returns a new Observable source Observable lt A gt gt Observable lt B gt So when we subscribe to the resulting Observable lt B gt operator subscribes to the source Observable lt A gt And when that source emits a value operator applies its logic to it map filter etc and decides what when and how to push to the resulting Observable lt B gt map will push modified values filter will push only values that satisfy given condition Okay back to hooks 🪝️The hook pipeWe can modify the hook to implement the Rx Operator interface while still enclosing a useEffect hook Let s start with how we ll use it in a component function App let time setTime useState timer pipe filter x gt x map x gt x useUntilUnmount subscribe setTime return lt h gt time lt h gt And here s it s implementation function useUntilUnmount Observable gt Observable interface return source gt new Observable observer gt create a new Subscription we ll use it to handle un mounts and unsubscriptions let sub new Subscription this is run only once useEffect gt connect observer to source sub add source subscribe observer on unmount destroy this subscription return gt sub unsubscribe return sub to handle un subscriptions return sub This is really just lines of code Disclaimer while being leak free and working as promised this might not be the best way to use Observables in React Tried lt gt fragment already OutroTry our shiny hook pipe with dependencies in this online playground and leave a comment here with your opinion And in the future when pipeline operator gt lands in JS we ll probably substitute the subscribe with our custom hook subscribe Like this function App let time setTime useState timer gt filter x gt x gt map x gt x gt subscribeHook setTime return lt h gt time lt h gt That s it for today Follow me here and on twitter for more RxJS React and JS posts I hope you had fun If you enjoyed reading ーplease indicate that with ️buttons ーit helps a lot Thank you for reading this article Stay reactive and have a nice day Cya Psst Check out my other Rx React articles Fetching Data in React with RxJS and lt gt fragment Turn a Stream of Objects into an Object of Streams Queries for Observables Crazy amp Simple Intro to Recks Rx JSX experiment header image by Victor Garcia on Unsplash gif taken from giphy com |
2021-04-26 17:34:36 |
海外TECH |
DEV Community |
Beginners guide to async-await in Javascript |
https://dev.to/a_shokn/beginners-guide-to-async-await-in-javascript-33k8
|
Beginners guide to async await in JavascriptAsync Await is syntactical sugar wrapped around to make the implementation of promises easier If you don t understand how promises works make sure you check out this post The purpose of async await is to simplify the syntax necessary to consume promise based APIs Let s jump into an example that will help us understand Async Await in a better way function newRequest place return new Promise resolve reject gt if place home resolve You have reached home else resolve You haven t reached home function makeRequest response return new Promise resolve reject gt console log response resolve Current location response newRequest home then response gt return makeRequest response then makeResponse gt console log makeResponse catch err gt console log err Output You have reached home Current location You have reached home In the above example the newRequest function returns a promise that takes a parameter place based on which promise is resolved The makeRequest function returns a promise which is always resolved The two functions are executed in order the second promise waits for the first one The above code can be simplified by with the use of Async Awaitfunction newRequest place return new Promise resolve reject gt if place home resolve You have reached home else resolve You haven t reached home function makeRequest response return new Promise resolve reject gt console log response resolve Current location response async function checkLocation try const response await newRequest home const processed await makeRequest response console log processed catch err console log err checkLocation OUTPUT You have reached home Current location You have reached home In this example checkLocation is declared using the async keyword The async keyword tells javascript that the following function is asynchronous The checkLocation works exactly the same as the promises returning the same output As you can see it looks a lot better and readable than the first example Error handling is done with the help of a try catch block Async Await is just like promises in a way makes it easier to write promises Thank for your time |
2021-04-26 17:05:04 |
Apple |
AppleInsider - Frontpage News |
Apple releases macOS Big Sur 11.3 update with revisions to Apple Music, games controllers |
https://appleinsider.com/articles/21/04/26/apple-releases-macos-big-sur-113-update-with-revisions-to-apple-music-games-controllers?utm_medium=rss
|
Apple releases macOS Big Sur update with revisions to Apple Music games controllersFollowing multiple developer and public beta tests Apple has now updated macOS Big Sur to version The update includes new features in Apple Music games controllers Apple News and Podcasts Apple s macOS Big Sur on a MacBook ProAs of now or at least as of when it finishes rolling out worldwide the current version of macOS Big Sur is That s the version installed on any Mac you buy and it s the version that your existing Mac will update to ーassuming it can Read more |
2021-04-26 17:44:08 |
Apple |
AppleInsider - Frontpage News |
Apple releases tvOS 14.5 with extended game controller support |
https://appleinsider.com/articles/21/04/26/apple-releases-tvos-145-with-extended-game-controller-support?utm_medium=rss
|
Apple releases tvOS with extended game controller supportApple has released tvOS to the public updating the Apple TV s operating system with support for new game controllers and the Color Balance feature The tvOS update isn t a release with a lot of new features though it does include some small tweaks Arguably the biggest change relates to its new support of PlayStation DualSense and Xbox Series X game controllers Adding support for the controllers provides users with more options for playing games on the Apple TV Many of the games included as part of Apple Arcade include controller support so it is natural for Apple to support the controllers of the major current generation consoles Read more |
2021-04-26 17:11:21 |
Apple |
AppleInsider - Frontpage News |
Apple releases watchOS 7.4 with Face ID unlock assistance |
https://appleinsider.com/articles/21/04/26/apple-releases-watchos-74-with-face-id-unlock-assistance?utm_medium=rss
|
Apple releases watchOS with Face ID unlock assistanceApple has issued an update for watchOS one which adds support for a Face ID feature in iOS to unlock an iPhone when the user wears a face mask The update can be installed automatically to the Apple Watch or can be triggered to download manually A manual download can be forced by opening the Apple Watch app on their iPhone selecting My Watch then General followed by Software Update then select Install Once downloaded to the iPhone the Apple Watch has to be placed on a charger and have sufficient charge to allow the update to install Read more |
2021-04-26 17:07:01 |
Apple |
AppleInsider - Frontpage News |
Apple releases iOS 14.5 and iPadOS 14.5 with face mask unlock, App Tracking Transparency |
https://appleinsider.com/articles/21/04/26/apple-releases-ios-145-and-ipados-145-with-face-mask-unlock-app-tracking-transparency?utm_medium=rss
|
Apple releases iOS and iPadOS with face mask unlock App Tracking TransparencyApple has released iOS and iPadOS with some of the biggest new features including App Tracking Transparency and easier iPhone unlocking when wearing a mask Apple released iOS and iPadOS iOS and iPadOS has seen a sporadic beta period over the past few weeks but is now available to the public These updates contain important user facing features and major changes to privacy control Read more |
2021-04-26 17:45:38 |
海外TECH |
Engadget |
Nevada governor backpedals on plan to allow tech companies to form local governments |
https://www.engadget.com/nevada-innovation-zones-study-174353671.html
|
Nevada governor backpedals on plan to allow tech companies to form local governmentsNevada Governor Steve Sisolak is retreating from his plan to introduce legislation that would have allowed tech companies to form local governments within the state |
2021-04-26 17:43:53 |
海外TECH |
Engadget |
Apple releases iOS 14.5 with stricter app tracking privacy |
https://www.engadget.com/apple-ios-14-5-now-available-170536951.html
|
podcasts |
2021-04-26 17:05:36 |
海外ニュース |
Japan Times latest articles |
LDP’s triple by-election loss a long-term worry for Suga |
https://www.japantimes.co.jp/news/2021/04/26/national/politics-diplomacy/election-losses-suga-impact/
|
LDP s triple by election loss a long term worry for SugaOpposition victory in Hiroshima could fuel further questions about a vote buying scandal there with any revelations having a knock on effect on September s LDP presidential race |
2021-04-27 03:15:07 |
海外ニュース |
Japan Times latest articles |
Japan’s COVID-19 death toll tops 10,000 as country battles surging virus |
https://www.japantimes.co.jp/news/2021/04/26/national/japan-coronavirus-cases-2/
|
Japan s COVID death toll tops as country battles surging virusThe grim figure came as three of the four prefectures under the latest coronavirus state of emergency posted record COVID case totals for a Monday |
2021-04-27 03:00:01 |
海外ニュース |
Japan Times latest articles |
More than 20 new cases of Indian COVID-19 variant found in Japan |
https://www.japantimes.co.jp/news/2021/04/26/national/indian-variant-coronavirus-japan/
|
More than new cases of Indian COVID variant found in JapanA senior government official acknowledged that it would be difficult to completely stifle the variant in the country if it began to spread more widely |
2021-04-27 02:39:53 |
海外ニュース |
Japan Times latest articles |
Commuter routes remain busy despite Japan’s third COVID-19 state of emergency |
https://www.japantimes.co.jp/news/2021/04/26/national/covid-19-japan-state-of-emergency/
|
Commuter routes remain busy despite Japan s third COVID state of emergencyMany workers are still traveling to offices due to the nature of their work meetings or a lack of instructions from employers to do otherwise |
2021-04-27 02:34:42 |
海外ニュース |
Japan Times latest articles |
Toshiba investor 3D calls for strategic review after CVC bid |
https://www.japantimes.co.jp/news/2021/04/26/business/corporate-business/toshiba-3d-review/
|
previous |
2021-04-27 02:03:43 |
海外ニュース |
Japan Times latest articles |
Rafael Nadal saves match point to beat Stefanos Tsitsipas for 12th Barcelona title |
https://www.japantimes.co.jp/sports/2021/04/26/tennis/rafael-nadal-barcelona-title/
|
Rafael Nadal saves match point to beat Stefanos Tsitsipas for th Barcelona titleRafael Nadal saved a championship point to beat Stefanos Tsitsipas on Sunday to claim his th Barcelona Open title in the |
2021-04-27 03:58:42 |
海外ニュース |
Japan Times latest articles |
Man City beats Tottenham to retain League Cup in front of 8,000 fans |
https://www.japantimes.co.jp/sports/2021/04/26/soccer/man-city-outclass-tottenham/
|
Man City beats Tottenham to retain League Cup in front of fansManchester City manager Pep Guardiola said winning felt much better with fans in attendance after beating Tottenham in front of supporters |
2021-04-27 03:42:26 |
海外ニュース |
Japan Times latest articles |
NPB prepares to go back behind closed doors |
https://www.japantimes.co.jp/sports/2021/04/26/baseball/japanese-baseball/npb-behind-closed-doors/
|
yomiuri |
2021-04-27 03:35:26 |
海外ニュース |
Japan Times latest articles |
Summer Grand Sumo Tournament to open behind closed doors amid state of emergency |
https://www.japantimes.co.jp/sports/2021/04/26/sumo/summer-sumo-tournament-open-behind-closed-door/
|
Summer Grand Sumo Tournament to open behind closed doors amid state of emergencyThe Japan Sumo Association announced Monday it will hold the first three days of the May to Summer Grand Sumo Tournament behind closed |
2021-04-27 02:39:34 |
ニュース |
BBC News - Home |
Coronavirus: EU sues AstraZeneca over vaccine delivery delays |
https://www.bbc.co.uk/news/world-europe-56891326
|
action |
2021-04-26 17:34:34 |
ニュース |
BBC News - Home |
Crawley College: Two staff members hurt as shots reported |
https://www.bbc.co.uk/news/uk-england-sussex-56892589
|
crawley |
2021-04-26 17:58:38 |
ニュース |
BBC News - Home |
Richard Okorogheye: Met Police investigated over missing teenager case |
https://www.bbc.co.uk/news/uk-england-london-56889188
|
ethnicity |
2021-04-26 17:04:26 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
人生に「いいこと」が長く続く方法 - 大丈夫じゃないのに大丈夫なふりをした |
https://diamond.jp/articles/-/269563
|
重版 |
2021-04-27 02:50:00 |
コメント
コメントを投稿