AWS |
AWS - Webinar Channel |
Managed Disaster Recovery with Amazon RDS for Oracle Cross-Region Automated Backups |
https://www.youtube.com/watch?v=mkCWnZku5fM
|
Managed Disaster Recovery with Amazon RDS for Oracle Cross Region Automated BackupsMany customers running mission critical Oracle databases require cost effective disaster recovery capability which meets their Recovery Point Objective RPO and Recovery Time Objective RTO Amazon Relational Database Service Amazon RDS for Oracle is the best in class managed database service for customers to run their Oracle databases Amazon RDS for Oracle supports the cross region Automated Backups feature which provides low cost disaster recovery In this tech talk we will discuss how to use Amazon RDS for Oracle cross region Automated Backups to address your DR requirements across Regions Learning Objectives Learn how to study RPO and RTO metrics attained with various Amazon RDS for Oracle s managed DR capabilities Learn how to enable DR with Amazon RDS for Oracle cross region Automated Backups with a few clicks on AWS Management Console Explore several DR use cases in which cross region Automated Backups could help lower your RPO and RTO To learn more about the services featured in this talk please visit |
2021-09-22 18:14:12 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
要素と要素の間の空白を消したい |
https://teratail.com/questions/360865?rss=all
|
要素と要素の間の空白を消したい下の画像のように、要素と要素の間に空白が生まれてしまいます。 |
2021-09-23 03:56:10 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
pandas 辞書型の小数点以下の非表示 |
https://teratail.com/questions/360864?rss=all
|
astypeint |
2021-09-23 03:54:34 |
海外TECH |
DEV Community |
URL Shortener with Rust, Svelte, & AWS (3/): Testing |
https://dev.to/mileswatson/url-shortener-with-rust-svelte-aws-3-testing-1c2j
|
URL Shortener with Rust Svelte amp AWS TestingIn the last post we created a simple URL shortener API and tested it manually with curl and a browser In this post we will use Rust s integrated unit testing features to allow testing with a single command and then automate testing with GitHub Actions Creating a test moduleIn Rust we can create unit tests which allow us to test individual parts of our application To get started create a module called tests in your main rs file and add the cfg test macro cfg test mod tests Now we have created a tests module we can add tests inside it with the test macro test fn simple demo test let x assert eq x By running cargo test you should see that the test fails as expected running testtest tests simple demo test FAILEDBy changing the to and rerunning cargo test you should be able to see it pass as expected Valid Request TestingThe Rocket crate includes functionality which allows us to write unit tests for our applications you can find the full docs here In particular we will use the rocket local blocking Client struct to simulate requests to our API We will first use it to check that valid requests are accepted correctly test fn valid requests First we create a client that is able to make requests to our Rocket let client Client tracked rocket expect valid rocket instance Next we make a POST request to shorten a url and check that the response status is Ok let response client post api shorten url dispatch assert eq response status Status Ok We can then attempt to extract the key which was returned from the response body panicking if the key could not be parsed successfully let key u response into string expect body parse expect valid u Now we can make a GET request to the shortened URL and check that the response is a redirect to the original URL let response client get format key dispatch assert eq response status Status SeeOther let redirect response headers get one Location expect location header assert eq redirect Running the full test with cargo run should result in a successfull pass Invalid Request TestingIn the current edition of our API there are two ways that a request can fail we should check these both First we will create a test to check that a missing URL parameter throws an error test fn empty url let client Client tracked rocket expect valid rocket instance let response client post api shorten url dispatch assert eq response status Status BadRequest And finally we will create a test to ensure that the server returns Not Found to an invalid shortened URL test fn invalid url let client Client tracked rocket expect valid rocket instance let response client post dispatch assert eq response status Status NotFound Both these tests should pass without issue GitHub ActionsNow we have created our tests we can write a GitHub actions script to automatically run our tests whenever we push to the main branch Create a file with the path github workflows test yml and add the following script name Teston push branches main env CARGO TERM COLOR alwaysjobs test runs on ubuntu latest steps uses actions checkout v name Build run cargo build name Run tests run cargo testWhen you push your code to GitHub you should be able to see your tests run and hopefully pass in the Actions tab of your repo If you have an issue you can compare your code to the part tag of my repo That s all for this post In the next one we will work on containerizing our application with Docker Make sure to click the Follow button if you want to be alerted when the next part is available FootnoteIf you enjoyed reading this then consider dropping a like or following me DEVHashnodeTwitterGithubI m just starting out so the support is greatly appreciated Disclaimer I m a mostly self taught programmer and I use my blog to share things that I ve learnt on my journey to becoming a better developer Because of this I apologize in advance for any inaccuracies I might have made criticism and corrections are welcome |
2021-09-22 18:19:47 |
海外TECH |
DEV Community |
Render-Atlanta 2021 Recap |
https://dev.to/thugdebugger/render-atlanta-2021-recap-1pgm
|
Render Atlanta RecapI can t believe that it s over I know that I could be a little longwinded so I will try to keep this letter short but I really can t believe that we just pulled off a full scale software engineering conference since our new normal has began I know that this wouldn t of been possible without the love support and determination of the more than attendees that made their way down the intersecting path of culture and tech in Atlanta for three days During those three days it dawned on me that we ve built something much bigger than what I ve envisioned in my earlier letter discussing my vision for the conference and now encompasses giving everyone a intuitive and vibrant outlet for shared experiences across the technology specifically engineering industry While I was surrounded by many enthusiastic faces I did feel a sense of we could do more to ensure that for our edition will award more than our previous scholarships and have attendees in Atlanta to help stimulate the local economy further Wild Ride was a wild ride that encompassed a COVID variant hurricane Ida and many other unpredictable events that almost caused us to delay the dream of Render Atlanta for the third time But with your consistent support and admiration the dream was only delayed and not denied We re excited to have recently announced our upcoming lineup along with announcing our deeper commitment to intersecting engineering and the culture by adding the Milk amp Cookies Music Festival to our week of events More importantly my team and I can t wait to welcome you back for the festivities that could only happen in the city that s too busy to hate Atlanta Recap VideoView amp download your favorite photos belowClick Here |
2021-09-22 18:15:37 |
海外TECH |
DEV Community |
The big STL Algorithms tutorial: comparison operations |
https://dev.to/sandordargo/the-big-stl-algorithms-tutorial-comparison-operations-2bfh
|
The big STL Algorithms tutorial comparison operationsIn this next part of the big STL algorithm tutorial we are going to talk about three comparison operations equallexicographical comparelexicographical compare three way equalstd equal compares two ranges to each other and returns true if the ranges are equal false otherwise There are mainly two different overloads of std equal but as each of them can be constexpr since C and all of them can be parallelized by passing an ExecutionPolicy as a th parameter since C and a binary predicate as the last parameter in order to replace the default operator there are many different overloads So what are the different overloads The first one accepts three iterators The first two iterators define the first range by its first and last element and the third iterator is to show where the second range starts In this case the caller must make sure that after the third iterator there are least as many elements as there are in the range defined by the first two iterators Otherwise it s undefined behaviour The other overload takes four iterators where the second pair fully defines the second range used in a comparison and it s available since C It seems like a nice idea first I was thinking that I might check whether the second range is the same size as the first one But it s not the case On the other hand let s say you have a larger range that you want to pass in the second position With the parameter version std equal will check if the first range is the subrange of the second one which might mean equality With the full version where you define both ranges by their beginning and end you really check for the equality of two ranges Let s see it in an example include lt algorithm gt include lt iostream gt include lt vector gt int main std vector nums std vector fewerNums std cout lt lt std boolalpha std cout lt lt std equal nums begin nums end fewerNums begin lt lt n std cout lt lt std equal fewerNums begin fewerNums end nums begin lt lt n std cout lt lt std equal nums begin nums end fewerNums begin fewerNums end lt lt n std cout lt lt std equal fewerNums begin fewerNums end nums begin nums end lt lt n falsetruefalsefalse lexicographical comparestd lexicographical compare checks whether the first range is lexicographically less smaller than the second range using the operator lt unless the caller passes in a different comparison function Both of the two ranges are defined by their begin and end iterators and as mentioned you can pass in custom comparator and of course an execution policy But what is lexicographical comparison A lexicographical comparison is basically an alphabetical ordering where two ranges are compared sequentially element by element if there is any mismatch that defines the resultif one range is a subrange of the other the shorter range is less than the otheran empty range is always less than the otherThe returned value is true if the first range is less than the other otherwise we get false include lt algorithm gt include lt iostream gt include lt vector gt int main std vector nums std vector fewerNums std vector lt int gt empty std cout lt lt std boolalpha std cout lt lt std lexicographical compare nums begin nums end fewerNums begin fewerNums end lt lt n std cout lt lt std lexicographical compare fewerNums begin fewerNums end nums begin nums end lt lt n std cout lt lt std lexicographical compare nums begin nums end nums begin nums end lt lt n std cout lt lt std lexicographical compare empty begin empty end nums begin nums end lt lt n std cout lt lt std lexicographical compare empty begin empty end empty begin empty end lt lt n falsetruefalsetruefalse lexicographical compare three wayIf you feel that it s impractical to get a true false result for a comparison whereas there could be outcomes less greater or equal you should use std lexicographical compare three way given that you work with a compiler supporting C By default it returns one of the constants of std strong ordering but it can also return std weak ordering or std partial ordering depending on the return type of the custom comparator that you can also define The default comparator is std compare three way include lt algorithm gt include lt iostream gt include lt vector gt std ostream amp operator lt lt std ostream amp out std strong ordering ordering if ordering std strong ordering less out lt lt less than else if ordering std strong ordering equal out lt lt equal else if ordering std strong ordering greater out lt lt greater than return out int main std vector nums std vector fewerNums std vector lt int gt empty std cout lt lt std boolalpha std cout lt lt std lexicographical compare three way nums begin nums end fewerNums begin fewerNums end lt lt n std cout lt lt std lexicographical compare three way fewerNums begin fewerNums end nums begin nums end lt lt n std cout lt lt std lexicographical compare three way nums begin nums end nums begin nums end lt lt n std cout lt lt std lexicographical compare three way empty begin empty end nums begin nums end lt lt n std cout lt lt std lexicographical compare three way empty begin empty end empty begin empty end lt lt n As you can see the possible outcomes are not printable you have to convert them manually into something that can be streamed to the output stream When you think about non equal results they are always relative to the first range The first is greater or less than the second ConclusionThis time we learned about comparisons algorithms They help us to compare ranges of elements With std equal we can compare if two ranges are equal or not and with std lexicographical compare or std lexicographical compare three way we can perform lexicographical comparison Next time we will discover permutation operations Stay tuned Connect deeperIf you liked this article please hit on the like button subscribe to my newsletter and let s connect on Twitter |
2021-09-22 18:02:20 |
Apple |
AppleInsider - Frontpage News |
How to use the new widgets in iOS 15 |
https://appleinsider.com/articles/21/08/03/how-to-use-the-new-widgets-in-ios-15?utm_medium=rss
|
How to use the new widgets in iOS The way you find and set up widgets hasn t changed in iOS but what there are and what they can do has Choosing editing and removing widgets remains the same in iOS but there are more and they do moreWith iOS Apple finally brought widgets to the iPhone and gave us a way to interrupt our neat rows of app icons with things that were more immediately visually useful Now with iOS we ve got more ーalthough probably not in the way we were hoping Read more |
2021-09-22 18:46:00 |
Apple |
AppleInsider - Frontpage News |
Apple iPhone sales in China slowed in August, anticipating iPhone 13 launch |
https://appleinsider.com/articles/21/09/22/apple-iphone-sales-in-china-slowed-in-august-anticipating-iphone-13-launch?utm_medium=rss
|
Apple iPhone sales in China slowed in August anticipating iPhone launchApple iPhone sales in China slowed down in August likely suggesting that many Chinese customers deferred purchasing new handsets in anticipation of the iPhone launch Credit AppleIn a note to investors seen by AppleInsider JP Morgan analyst Samik Chatterjee offers his opinion on the latest China Academy of Information and Communications Technology CAICT data for August The data shows million smartphone shipments during the month below the historical average of million Read more |
2021-09-22 18:13:14 |
海外TECH |
Engadget |
You can nab a limited-edition Billie Eilish Echo Studio for $230 |
https://www.engadget.com/billie-eilish-amazon-echo-studio-limited-edition-185329515.html?src=rss
|
You can nab a limited edition Billie Eilish Echo Studio for After playing through some Billie Eilish tracks in Beat Saber soon you ll also be able to kick back and listen to a limited edition Echo Studio sporting the cover of her latest album quot Happier Than Ever quot Beyond the beige fabric and Eilish s visage the speaker is no different than the standard Echo Studio That s a shame if you were hoping for some sort of upgrade but if it s any consolation we adored the Echo Studio s beefy hardware when it launched two years ago It s one of the few smart speakers built for D Audio and it has more than enough power to blast all of your favorite tunes nbsp The Billie Eilish Limited Edition Echo Studio also comes with a six month subscription to Amazon Music typically a value That s not a huge selling point if you re already relying on Spotify or other services but it s one way to justify the higher price nbsp |
2021-09-22 18:53:29 |
海外TECH |
Engadget |
Here’s everything Microsoft announced at its Surface event |
https://www.engadget.com/microsoft-surface-2021-event-recap-185020522.html?src=rss
|
Here s everything Microsoft announced at its Surface eventWith the release of Windows less than two weeks away Microsoft held its latest Surface hardware event The presentation saw the company introduce new versions of mainstay devices like the Surface Pro and Surface Go in addition to a handful of surprises Here s everything Microsoft showed off on Wednesday Surface Duo MicrosoftMicrosoft announced a massive upgrade for its Surface Duo dual screen Android device Most notably there s an entirely new triple camera system on the back of the Surface Duo that includes a telephoto lens and two wide angle lenses Another nifty new feature is an ambient screen on the device s hinge to display your notifications and other information With those upgrades you can see Microsoft has started thinking of the Surface Duo as a more of a smartphone than a mere tablet You can pre order the Surface Duo today before it becomes officially available on October st Surface Pro MicrosoftAfter several years of what felt like incremental updates Microsoft s Surface Pro line got a significant upgrade on Wednesday To name just a few of the features found in the Surface Pro it includes a inch PixelSense display with a Hz refresh rate support for Thunderbolt finally and faster internals courtesy of Intel s latest th generation processors Oh and Microsoft has also shaved down the Surface Pro s notoriously chunky display bezels The Surface Pro will start at and is available to pre order today It goes on sale on October th That s the same day Windows starts rolling out Alongside the Surface Pro Microsoft announced the Slim Pen The stylus includes a haptic motor Microsoft claims makes it feel like you re putting pen to paper rather than glass Another new accessory the Surface Adaptive Kit bundles together a collection of add ons that make it easier to find specific keys locate ports and open your laptop or its kickstand Lastly the company made a mouse made from recycled ocean plastic Surface Pro XMicrosoftMicrosoft didn t update its ARM based in but what it did do is introduce a new WiFi only model that will save you off the Surface Pro X s previous starting price With the move to Windows support for bit software emulation is coming to the device You can pre order the new model today before it arrives in stores on October th Surface Go MicrosoftMicrosoft s smallest tablet got an appropriately minor update today The company s new Surface Go in s feature faster processors from Intel The base model comes with a Pentium Gold Y CPU up from the Y in Go while the more expensive variants feature th generation Core i CPUs Microsoft claims the latter chip is percent faster than the Core m it previously offered with the Go The entire Surface Go family is available to pre order today with the base model starting at Like all the other Surface computers Microsoft announced today it goes on sale on October th Surface Laptop StudioMicrosoftMicrosoft nbsp saved its most interesting announcement for last Enter the Surface Laptop Studio a portable computer that borrows design cues from the company s Surface Studio all in one An included hinge lets you pull the display over the keyboard to make inking and drawing more immersive Microsoft also claims the Surface Studio is its most powerful notebook yet The laptop features Intel s th generation H processors and Intel Xe graphics You can also configure it with NVIDIA s RTX Ti GPU The Surface Laptop Studio is available to pre order today It starts at and will ship on October th Follow all of the news from Microsoft s fall Surface event right here |
2021-09-22 18:50:20 |
海外TECH |
Engadget |
In-person TwitchCon events will return in 2022 |
https://www.engadget.com/twitch-in-person-twitchcon-events-2022-amsterdam-san-diego-184536873.html?src=rss
|
In person TwitchCon events will return in It s still too early to tell what the COVID situation will be like next summer but Twitch is hopeful it can bring streamers and fans back together in person in The company has announced plans for two TwitchCon events next year TwitchCon Amsterdam is scheduled for July while TwitchCon SanDiego is earmarked for October Details about exact dates venues and tickets will be announced later Mark your calendars Next year s about to be extra pog TwitchCon Amsterdam July TwitchCon San Diego October Read more pic twitter com ScvqebtzーTwitchCon TwitchCon September These are very much tentative plans though quot Of course these are still uncertain times and our plans will remain flexible as needed quot Twitch wrote in a blog post quot Our top priority while planning TwitchCon is safety and we will closely follow local health guidelines and recommendations quot Twitch canceled both of last year s TwitchCon events due to the pandemic It held an online version called GlitchCon instead which is fitting given the very nature of Twitch The company hasn t announced any plans for a second GlitchCon for this year as yet |
2021-09-22 18:45:36 |
海外科学 |
NYT > Science |
Join Us for a Conversation on the Business of Longevity |
https://www.nytimes.com/2021/09/22/business/dealbook/longevity-business-event.html
|
andrew |
2021-09-22 18:50:09 |
海外科学 |
NYT > Science |
Pressure Grows on U.S. Companies to Share Covid Vaccine Technology |
https://www.nytimes.com/2021/09/22/us/politics/covid-vaccine-moderna-global.html
|
Pressure Grows on U S Companies to Share Covid Vaccine TechnologyModerna accepted billion in taxpayer money to develop its Covid vaccine But officials in the U S and overseas are having trouble persuading the company to license its technology |
2021-09-22 18:52:18 |
海外科学 |
NYT > Science |
Moderna vs. Pfizer: Both Knockouts, but One Seems to Have the Edge |
https://www.nytimes.com/2021/09/22/health/covid-moderna-pfizer-vaccines.html
|
Moderna vs Pfizer Both Knockouts but One Seems to Have the EdgeA series of studies found that the Moderna vaccine seemed to be more protective as the months passed than the Pfizer BioNTech vaccine Here s why |
2021-09-22 18:16:17 |
金融 |
RSS FILE - 日本証券業協会 |
グリーン/ソーシャルボンド・コンファレンス(2021年11月12日・東京)の開催について |
https://www.jsda.or.jp/about/international/green_socialbondconference2021.html
|
東京 |
2021-09-22 18:51:00 |
ニュース |
BBC News - Home |
Afghanistan: Second email data breach by MoD uncovered |
https://www.bbc.co.uk/news/uk-58654630?at_medium=RSS&at_campaign=KARANGA
|
defence |
2021-09-22 18:20:04 |
ニュース |
BBC News - Home |
Murray charges into last eight of Moselle Open |
https://www.bbc.co.uk/sport/tennis/58656261?at_medium=RSS&at_campaign=KARANGA
|
france |
2021-09-22 18:48:33 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
米テーパリング後「波乱」リスク、金利上昇が商品安・ドル高・株安を招く - マーケットフォーカス |
https://diamond.jp/articles/-/282819
|
米テーパリング後「波乱」リスク、金利上昇が商品安・ドル高・株安を招くマーケットフォーカス米国の物価は年初からの国際商品市況の高騰によって、一時的に押し上げられている面が小さくない。 |
2021-09-23 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「勉強は並行してやるべきか、ひとつを深堀りすべきか」のジレンマを解消する具体策 - 独学大全 |
https://diamond.jp/articles/-/281423
|
読書 |
2021-09-23 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
みんなが無駄な広告をやめると、 三方よしの 「ハッピートライアングル」になる理由 - 売上最小化、利益最大化の法則 |
https://diamond.jp/articles/-/279607
|
|
2021-09-23 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
頑張ったときに 褒めてくれる人がいるのは 幸せなことよ - 精神科医Tomyが教える 1秒で元気が湧き出る言葉 |
https://diamond.jp/articles/-/280119
|
人気シリーズ |
2021-09-23 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【現役サラリーマンが株式投資で2億円】 SNSで目標額を公言 「宣言効果」を活用する - 割安成長株で2億円 実践テクニック100 |
https://diamond.jp/articles/-/280635
|
|
2021-09-23 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
北海道在住なら一度は行っておきたい北海道一の神社 - 最強の神様100 |
https://diamond.jp/articles/-/282671
|
北海道在住なら一度は行っておきたい北海道一の神社最強の神様「仕事運」「金運」「恋愛運」「健康運」アップ「のご利益」の組み合わせからあなたの願いが叶う神様が必ず見つかる八百万やおよろずの神様から項目にわたって紹介。 |
2021-09-23 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「自分へのご褒美」は絶対にしたほうがいい! 精神科医がそう断言する理由 - どうかご自愛ください |
https://diamond.jp/articles/-/280369
|
精神科医 |
2021-09-23 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
オンライン営業で重要なたった1つのこと - [新版]「3つの言葉」だけで売上が伸びる質問型営業 |
https://diamond.jp/articles/-/282665
|
そして、オンライン営業のスキルを加えてパワーアップしたのが、『新版「つの言葉」だけで売上が伸びる質問型営業』。 |
2021-09-23 03:15:00 |
コメント
コメントを投稿