AWS |
AWS Big Data Blog |
Secure your database credentials with AWS Secrets Manager and encrypt data with AWS KMS in Amazon QuickSight |
https://aws.amazon.com/blogs/big-data/secure-your-database-credentials-with-aws-secrets-manager-and-encrypt-data-with-aws-kms-in-amazon-quicksight/
|
Secure your database credentials with AWS Secrets Manager and encrypt data with AWS KMS in Amazon QuickSightAmazon QuickSight is a fully managed cloud native business intelligence BI service that makes it easy to connect to your data create interactive dashboards and share them with tens of thousands of users either directly within a QuickSight application or embedded in web apps and portals Let s consider AnyCompany which owns healthcare facilities across the country … |
2022-12-14 19:59:41 |
AWS |
AWS Compute Blog |
Chaos experiments using AWS Step Functions and AWS Fault Injection Simulator |
https://aws.amazon.com/blogs/compute/chaos-experiments-using-aws-step-functions-and-aws-fault-injection-simulator/
|
Chaos experiments using AWS Step Functions and AWS Fault Injection SimulatorThis blog post describes how to use Step Functions to orchestrate Fault Injection Simulator FIS experiments for EC and ECS workloads Using the workflow in this post as an example you can build state machines for more AWS FIS experiments |
2022-12-14 19:38:14 |
AWS |
AWS Machine Learning Blog |
Automatically identify languages in multi-lingual audio using Amazon Transcribe |
https://aws.amazon.com/blogs/machine-learning/automatically-identify-languages-in-multi-lingual-audio-using-amazon-transcribe/
|
Automatically identify languages in multi lingual audio using Amazon TranscribeIf you operate in a country with multiple official languages or across multiple regions your audio files can contain different languages Participants may be speaking entirely different languages or may switch between languages Consider a customer service call to report a problem in an area with a substantial multi lingual population Although the conversation could begin … |
2022-12-14 19:52:30 |
AWS |
AWS Machine Learning Blog |
Translate multiple source language documents to multiple target languages using Amazon Translate |
https://aws.amazon.com/blogs/machine-learning/translate-multiple-source-language-documents-to-multiple-target-languages-using-amazon-translate/
|
Translate multiple source language documents to multiple target languages using Amazon TranslateEnterprises need to translate business critical content such as marketing materials instruction manuals and product catalogs across multiple languages to communicate with a global audience of customers partners and stakeholders Identifying the source language in each document before calling a translate job creates complexities and adds another step to your workflow For example an international product … |
2022-12-14 19:48:37 |
Linux |
Ubuntuタグが付けられた新着投稿 - Qiita |
CommodoreエミュレータVICEをUbuntu 22.10でソースコードからビルドして動かす |
https://qiita.com/dk4130523/items/b02745782b8e56360801
|
commodore |
2022-12-15 04:48:03 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon ECS Service Connect: Simplified interservice communication [re:Invent 2022セッション] |
https://qiita.com/yoshii0110/items/8f2fbcbb08bc050f74ac
|
amazon |
2022-12-15 04:17:53 |
海外TECH |
Ars Technica |
Musk may try to deny severance to thousands laid off by Twitter, report says |
https://arstechnica.com/?p=1904421
|
cases |
2022-12-14 19:01:40 |
海外TECH |
MakeUseOf |
How to Recover Lost Drafts on TikTok |
https://www.makeuseof.com/how-to-recover-tiktok-drafts/
|
tiktok |
2022-12-14 19:05:15 |
海外TECH |
DEV Community |
How to fix Frontend Tests as a lazy developer |
https://dev.to/ingosteinke/how-to-fix-frontend-tests-as-a-lazy-developer-15ga
|
How to fix Frontend Tests as a lazy developerFollowing up on my first steps of test automation using CodeceptJS and Testomat io let s assume you re a lazy pragmatic programmer with no priority to perfect your rudimental front end tests This is fine you re following the YAGNI principle You Aren t Gonna Need It or rather that s not fine and you re lazily doing error driven test development instead of test driven development TDD Pragmatic ApproachOkay I actually met some people who do test driven development and they love it On the other end of the spectrum there are fellow DEVelopers wondering if writing tests is still a thing In what situation you feel like writing tests in react is critical k・Dec ・ min read react Why Test Coverage might not be enoughViewing myself somewhere in between I don t even strive to write clean code and achieve test coverage although I have learned at least in theory that test coverage might not even be enough Takeaways from a Testing and Refactoring Conference apart from the T Shirt Ingo Steinke・Mar ・ min read programming productivity php testing Exercise No test coverage is not enough because Please print this post and fill in your answers and submit them to your teacher by the end of the weekend Extending existing frontend testsNow back to business Let s get our hands dirty at least literally by extending existing frontend tests It does not really matter much what kind of testing framework or language you use Unlike unit testing frontend or behavioral testing is quite similar across different frameworks Your automated tests will act on behalf of a real user open a real web browser typically Chromium Chrome Firefox using one an existing technology like Webdriver and add some syntactical sugar on top You can then try to identify and interact with elements of web pages using more or less sophisticated selectors including visible text CSS class names or XPath if you want to feel like a real hacker crafting arcane code that is at least a little bit more legible than a regular expression Dark mode is not enough if we can use XPath I click wc block mini cart button click mini cart button top right I waitForElement h starts with text Your Cart verify that the heading is visibleI waitForElement a wc block mini cart footer checkout I click a wc block mini cart footer checkout click checkout I waitForElement contains class breadcrumb last and contains text Checkout I amOnPage I scrollPageToBottom I scrollTo wc block components checkout return to cart button I waitForElement contains class wc block components checkout step title and contains text Payment options Now if that s not the anti pattern of clean code I don t know what it is Fragile Software DevelopmentTesting real world front end code is always quite fragile Ever wondered why so few people actually use screenshot tests The example code quoted above has been used for testing an actual web shop built using WooCommerce an extension to the infamous WordPress content management system dreaded by developers but still very popular among small business site owners Using WordPress or any other extensible community software with an ecosystem of more than plugins you can hardly rely on well formed accessible markup Instead we have to rely on button text which might change depending on our default language rebranding or an updated translation file or CSS selectors nested in a most complicated way about to change when the next update of the built in editor or one of its plugins will introduce the next breaking change Pragmatic Approach test the happy path As a rule of thumb let s start by testing the happy path adding some relevant edge cases based onerrors that happen frequentlycritical errors that might compromise security or prevent our customers from earning money In an e commerce web shop scenario this usually means to prove that we are able to place an order Keeping our tests as generic as possible we don t want to rely on a specific product being available but rather open the home page pick the first product that we see put it in the cart and try to buy it Well there might be reasons not to actually complete a transaction place an order Some shops aren t able to tell fake test orders from real ones and it might come costly to cancel or refund test orders on a regular basis At least we can prove that we enter the checkout see at least one available payment option and an active checkout button that is not disabled Viewing and selecting elementsDefining a happy path scenario might work like this I click wc block mini cart button This is a simple selector following the Document querySelector syntax I won t dive into details about complex XPath variations but rather discuss some problems that might not seem intuitive at first sight Before you start have a look at your testing framework s documentation and find out if you are expected to specify explicitly if and how long you want to wait for something or if the test commands imply asynchronous execution by default If not we will have to use commands like I waitForElement wc block mini cart button and make arbitrary assumptions about how long to wait for an element to become visible before giving up Visibility detectionAnother common misconception or uncertainty is does an element have to be visible inside our browser s viewport to be clickable or count as existing If unsure we might have to explicitly scroll up or down or perform some other action to create a situation where our element should absolutely be visible and accessible like scrolling back to the top of the document to make sure we see some specific element like the mini cart icon in the header I scrollPageToTop I click wc block mini cart button Last but not least some elements require some trial and error to catch them with an automated test This is fine One of my customers used a cookie consent banner that lacked any semantic markup An abomination of DIV elements with inline style attributes the button to accept the cookie policy was neither a lt button gt nor a link lt a gt but rather a lt span gt with a click handler that my testing framework failed to recognize I doubt that cookie consent plugin is in any way accessible and I don t want to be the user with visual impairments listening to their screen reader trying to get past the cookie consent but pragmatically and unfortunately not our top priority that day This is fine For some reason using XPath did do the job this time I click Accept all does not workI click span contains Accept all works ConclusionRudimentary fragile and incomplete as they may be any test is better than no test at all I hope this anecdotal examples might help some of you to either fix some problem you have been stuck with or else just feel better about your own code having fun a funny DEV blog to procrastinate before finishing your own test definitions Exercise No Finish your own test definitions Good luck and happy coding |
2022-12-14 19:43:38 |
Apple |
AppleInsider - Frontpage News |
Deal: M1 Mac mini now $599 with free expedited shipping |
https://appleinsider.com/articles/22/12/14/deal-m1-mac-mini-now-599-with-free-expedited-shipping?utm_medium=rss
|
Deal M Mac mini now with free expedited shippingApple s M Mac mini is now on sale for that s off at B amp H Photo with free expedited shipping anywhere in the contiguous U S M Mac mini on sale now through B amp H save The M Mac mini is the perfect entry point for anyone looking to step into a desktop Mac without forking over iMac money Read more |
2022-12-14 19:52:42 |
Apple |
AppleInsider - Frontpage News |
iOS 16.3 beta includes support for physical security keys |
https://appleinsider.com/articles/22/12/14/ios-163-beta-includes-support-for-physical-security-keys?utm_medium=rss
|
iOS beta includes support for physical security keysIt will be possible to sign into an Apple ID using a physical security key as a second factor starting in iOS Use security keys as a second factor for sign inApple restarted the beta process on Wednesday with the first beta of iOS The release notes didn t reveal any changes but users are reporting that physical security key support has been included in the beta Read more |
2022-12-14 19:24:28 |
海外TECH |
Engadget |
Court temporarily blocks NYC Uber drivers' scheduled pay raise |
https://www.engadget.com/uber-nyc-raise-blocked-judge-192330738.html?src=rss
|
Court temporarily blocks NYC Uber drivers x scheduled pay raiseNew York City Uber drivers won t get a raise before the holidays after all On Tuesday evening a Manhattan Supreme Court justice granted Uber s request for a temporary restraining order on drivers rate hikes scheduled to go into effect on December th New York City s Taxi and Limousine Commission TLC voted on the pay raise in November As part of the TLC s new rules Uber drivers per minute rates would go up by percent and per mile rates would increase by percent So for example a mile trip taking minutes would earn a driver at least ー higher than the current rate An inflation based pay raise is also scheduled for March Uber s lawsuit suggests it would pass the extra costs onto riders while framing the worker raise as bad for business It also claims the TLC s hikes use flimsy calculations to lock in temporarily inflated gas prices “Such a significant fare hike right before the holidays would irreparably damage Uber s reputation impair goodwill and risk permanent loss of business and customers the lawsuit said In its response TLC acknowledged that Uber charges percent more today than in but it said the company is keeping money earned from fare hikes to itself rather than passing it on to drivers “This is a nasty stunt for Uber to pull on its drivers ーespecially right before the holidays Even this would make Scrooge blush said Brendan Sexton President of the Independent Drivers Guild a Machinists Union affiliate representing the drivers “While Uber has been recording record profits on its rideshare business the drivers who make the service work have been stuck shouldering soaring expenses on their own We fought hard to win this desperately needed increase to the minimum pay ーand we will not let a billion dollar corporation snatch that victory from the rideshare drivers who keep our city moving The parties are due back in court on January st |
2022-12-14 19:23:30 |
Cisco |
Cisco Blog |
Sustainability and hybrid work were top of mind at Gartner Symposium in Barcelona 2022 |
https://blogs.cisco.com/perspectives/sustainability-and-hybrid-work-were-top-of-mind-at-gartner-symposium-in-barcelona-2022
|
Sustainability and hybrid work were top of mind at Gartner Symposium in Barcelona CIOs and IT executives gathered in Barcelona recently for the European leg of the Gartner IT Symposium Xpo to explore the strategic technology trends for and beyond Cisco presented its vision for the future workplace and how we are delivering on our sustainability goals |
2022-12-14 19:05:56 |
海外TECH |
CodeProject Latest Articles |
Hex Control for C++/Win32 applications. |
https://www.codeproject.com/Articles/1271133/Hex-Control-for-Cplusplus-Win32-applications
|
fully |
2022-12-14 19:37:00 |
海外科学 |
NYT > Science |
Winter Storm That Brought Blizzard Conditions to the Central US Moves East |
https://www.nytimes.com/article/winter-storm-snow-west-northern-plains.html
|
Winter Storm That Brought Blizzard Conditions to the Central US Moves EastA system that brought blizzard like conditions to the Central Plains and the Upper Midwest was expected to slowly move out of the region creating the conditions for a nor easter on the East Coast |
2022-12-14 19:35:12 |
ニュース |
BBC News - Home |
Four people dead after migrant boat started sinking |
https://www.bbc.co.uk/news/uk-63968941?at_medium=RSS&at_campaign=KARANGA
|
english |
2022-12-14 19:35:41 |
ニュース |
BBC News - Home |
Stephen 'tWitch' Boss: Dancing DJ on The Ellen Show dies aged 40 |
https://www.bbc.co.uk/news/uk-63972353?at_medium=RSS&at_campaign=KARANGA
|
degeneres |
2022-12-14 19:29:59 |
ニュース |
BBC News - Home |
Boris Johnson makes more than £1m from speeches since leaving office |
https://www.bbc.co.uk/news/uk-politics-63975286?at_medium=RSS&at_campaign=KARANGA
|
portugal |
2022-12-14 19:27:24 |
ニュース |
BBC News - Home |
World Cup 2022: Theo Hernandez gives France an early lead over Morocco |
https://www.bbc.co.uk/sport/av/football/63980025?at_medium=RSS&at_campaign=KARANGA
|
world |
2022-12-14 19:18:20 |
ニュース |
BBC News - Home |
Rate players as France face Morocco in World Cup semi-final |
https://www.bbc.co.uk/sport/football/63979761?at_medium=RSS&at_campaign=KARANGA
|
qatar |
2022-12-14 19:52:40 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
デンソー、ブリヂストン、豊田織機が3割超増収!さらに「増収増益の上方修正」をしたのは? - ダイヤモンド 決算報 |
https://diamond.jp/articles/-/314601
|
その状況下で、好決算を記録した企業とそうでない企業の差は何だったのか。 |
2022-12-15 04:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ハーバード大教授が「東京海上」のグローバル戦略を評価する理由 - ハーバードの知性に学ぶ「日本論」 佐藤智恵 |
https://diamond.jp/articles/-/314268
|
佐藤智恵 |
2022-12-15 04:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「来年度の生前贈与」どう変わる?富裕層資産管理のプロが2つのポイントに言及 - News&Analysis |
https://diamond.jp/articles/-/314600
|
newsampampanalysis |
2022-12-15 04:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
スカイマーク再生の立役者・佐山展生氏が語った「航空再編に関わる可能性」 - Diamond Premiumセレクション |
https://diamond.jp/articles/-/314262
|
diamond |
2022-12-15 04:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【FOMC政策声明】0.5ポイント利上げ、全会一致 - WSJ発 |
https://diamond.jp/articles/-/314659
|
全会一致 |
2022-12-15 04:28:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
伊藤忠・岡藤会長が「創業者の墓参り」を毎年欠かさない理由 - 伊藤忠 財閥系を凌駕した野武士集団 |
https://diamond.jp/articles/-/308900
|
伊藤忠兵衛 |
2022-12-15 04:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
旧統一教会問題でまた出た「日本人の悪癖」、大騒ぎして“みそぎ”は済んだ? - 情報戦の裏側 |
https://diamond.jp/articles/-/314599
|
昔ながらの |
2022-12-15 04:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日銀が金利を抑えても長期金利はすでに上昇、「YCC修正」は避けられない - 野口悠紀雄 新しい経済成長の経路を探る |
https://diamond.jp/articles/-/314598
|
日本銀行 |
2022-12-15 04:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
池上彰氏が就活生に指南「本当にやりがいのある会社の選び方」 - 親と子の「就活最前線」 |
https://diamond.jp/articles/-/314115
|
池上彰氏が就活生に指南「本当にやりがいのある会社の選び方」親と子の「就活最前線」日本社会を取り巻く状況は「不確実性」を増している。 |
2022-12-15 04:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
人はどうすれば幸せに働けるか?エンゲージメントとウェルビーイングが「人的資本経営」に欠かせない理由を第一人者が語る - 進化する組織 |
https://diamond.jp/articles/-/314129
|
前野隆司 |
2022-12-15 04:05:00 |
ビジネス |
東洋経済オンライン |
カーブ路線高速化の立役者「振り子車両」名車列伝 381系から海外まで、車体を傾けて走る列車たち | 特急・観光列車 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/639376?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
振り子式車両 |
2022-12-15 04:40:00 |
コメント
コメントを投稿