AWS |
AWS Partner Network (APN) Blog |
New APIs Enable AWS Partners to Scale Well-Architected Principles Across Teams and Systems |
https://aws.amazon.com/blogs/apn/new-apis-enable-aws-partners-to-scale-well-architected-principles-across-teams-and-systems/
|
New APIs Enable AWS Partners to Scale Well Architected Principles Across Teams and SystemsWe are excited to launch APIs for the AWS Well Architected Tool that allow AWS Partners to extend Well Architected functionality best practices measurements and learnings into their existing architecture governance processes applications and workflows By building custom integrations with the AWS Well Architected Tool partners can support a broad range of use cases to make it easier for customers to adopt Well Architected best practices |
2020-12-16 17:37:45 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
FDTD法の基礎 |
https://qiita.com/atily17/items/aeff9e1c4609e33f2d72
|
これを、以下の式でフーリエ変換しよう。 |
2020-12-17 02:08:16 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
rbenvでRubyをインストール、バージョンを切り替えられるようになりたいです。 |
https://teratail.com/questions/310697?rss=all
|
rbenvでRubyをインストール、バージョンを切り替えられるようになりたいです。 |
2020-12-17 02:58:07 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
モデルが安定しない(Unity, GoogleSDK) |
https://teratail.com/questions/310696?rss=all
|
モデルが安定しないUnityGoogleSDKUnityでVuforiaを使用し、AR開発を行っています。 |
2020-12-17 02:47:21 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
Rust: 別のスレッドでの処理結果を Future にするには? |
https://teratail.com/questions/310695?rss=all
|
Rust別のスレッドでの処理結果をFutureにするには前提・実現したいこと非同期処理の結果をnbspFuturenbspで返す方法に付いて教えて下さい。 |
2020-12-17 02:24:20 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
グローバルメニューのリンクが機能しないです。 |
https://teratail.com/questions/310694?rss=all
|
グローバルメニューのリンクが機能しないです。 |
2020-12-17 02:20:17 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
動くアニメーションの上に文字を表示させたい |
https://teratail.com/questions/310693?rss=all
|
動くアニメーションの上に文字を表示させたいbodyの中に以下のプログラムが入ってるのですが、これを背景アニメーションに設定してその上に文字を表示させたいです。 |
2020-12-17 02:12:39 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
numpy 全てnumpy型のリストにしたい |
https://teratail.com/questions/310692?rss=all
|
array |
2020-12-17 02:01:21 |
海外TECH |
Ars Technica |
Google sees major services outages two days in a row |
https://arstechnica.com/?p=1730149
|
client |
2020-12-16 17:29:10 |
海外TECH |
Ars Technica |
Astra set up a rocket launch with five people and came within seconds of orbit |
https://arstechnica.com/?p=1730148
|
christmas |
2020-12-16 17:06:25 |
Apple |
AppleInsider - Frontpage News |
How to get the most out of your new AirPods Max |
https://appleinsider.com/articles/20/12/16/how-to-get-the-most-out-of-your-new-airpods-max
|
How to get the most out of your new AirPods MaxAirPods Max is a great accessory and has more capability than it appears on the surface Here are a few tips and tricks to ensure you get the most out of Apple s new high end over ear headphones Here are several tips for AirPods MaxGet into those settings Read more |
2020-12-16 17:31:00 |
Apple |
AppleInsider - Frontpage News |
In stock alert: M1 Mac mini on sale from $625, limited quantities available |
https://appleinsider.com/articles/20/12/16/in-stock-alert-m1-mac-mini-on-sale-from-625-limited-quantities-available
|
In stock alert M Mac mini on sale from limited quantities availableProving to be a hot seller this holiday season multiple configurations of Apple s new M Mac mini are in stock and discounted exclusively for AppleInsider readers just in time for holiday gift giving Limited quantitiesThe discounts on Apple s new M Mac mini are both link and promo code activated at Apple Authorized Reseller Adorama with prices starting at with code APINSIDER using the step by step instructions below Read more |
2020-12-16 17:21:52 |
海外TECH |
Engadget |
Google adds new word and puzzle games to smart displays |
https://www.engadget.com/google-assistant-smart-display-games-174429880.html
|
Google adds new word and puzzle games to smart displaysGoogle is adding new games to Assistant enabled smart displays like the Nest Hub to give people something new to play in time for the holidays The additions fit broadly into three categories In the first one you ll find word games like Voice Quest |
2020-12-16 17:44:29 |
海外TECH |
Engadget |
Prime Gaming members can claim a free wintry 'Fall Guys' costume |
https://www.engadget.com/amazon-prime-gaming-fall-guys-overcooked-yooka-laylee-173005301.html
|
Prime Gaming members can claim a free wintry x Fall Guys x costumeSeason three of Fall Guys is underway and with its wintry theme wrapping up your jelly bean while they re diving around seems quite fitting If you re an Amazon Prime Gaming member you can now snag a free Winter Warmer Bundle which includes an exc |
2020-12-16 17:30:05 |
Cisco |
Cisco Blog |
3 Key Steps to Protect Your Network from Counterfeit Cisco Products |
https://blogs.cisco.com/networking/3-key-steps-to-protect-your-network-from-counterfeit-cisco-products
|
Key Steps to Protect Your Network from Counterfeit Cisco ProductsLearn how to protect from Cisco counterfeit by accessing “Our Identify Counterfeit platform source from Cisco partners and check if your gear comes with a valid software license and warranty |
2020-12-16 17:00:57 |
海外科学 |
NYT > Science |
China Moon Mission Set to Land Rocks on Earth |
https://www.nytimes.com/2020/12/16/science/china-moon-mission-rocks.html
|
program |
2020-12-16 17:33:10 |
海外科学 |
NYT > Science |
Health Care Worker Had Serious Allergic Reaction After Pfizer's Covid Vaccine |
https://www.nytimes.com/2020/12/16/health/covid-pfizer-vaccine-allergic-reaction.html
|
Health Care Worker Had Serious Allergic Reaction After Pfizer x s Covid VaccineIt s unclear whether the person had a history of severe allergies Two similar reactions happened last week in Britain |
2020-12-16 17:27:37 |
海外ニュース |
Japan Times latest articles |
Man may face charges for cyberbullying of late ‘Terrace House’ star Hana Kimura |
https://www.japantimes.co.jp/news/2020/12/16/national/crime-legal/cyberbullying-terrace-house-hana-kimura/
|
Man may face charges for cyberbullying of late Terrace House star Hana KimuraThe man in his s from Osaka Prefecture is suspected by Tokyo Metropolitan Police of having defamed Kimura on Twitter several times posting abusive comments |
2020-12-17 02:26:36 |
海外ニュース |
Japan Times latest articles |
Bid to make ‘ecocide’ a crime gains new momentum |
https://www.japantimes.co.jp/news/2020/12/16/asia-pacific/ecocide-crime-momentum/
|
december |
2020-12-17 02:25:00 |
海外ニュース |
Japan Times latest articles |
Tokyo Olympic torch relay to still traverse Japan’s 47 prefectures |
https://www.japantimes.co.jp/sports/2020/12/16/olympics/tokyo-olympic-torch-relay-still-traverse-japans-47-prefectures/
|
Tokyo Olympic torch relay to still traverse Japan s prefecturesThe Tokyo Games organizing committee confirmed Tuesday that the domestic leg of next year s Olympic torch relay will pass through municipalities across Japan s |
2020-12-17 03:58:15 |
海外ニュース |
Japan Times latest articles |
Pistons ready for fresh start after offseason overhaul |
https://www.japantimes.co.jp/sports/2020/12/16/basketball/nba/pistons-ready-fresh-start-offseason-overhaul/
|
roster |
2020-12-17 03:44:02 |
海外ニュース |
Japan Times latest articles |
American rikishi recalls extremely wild times in sumo world |
https://www.japantimes.co.jp/sports/2020/12/16/sumo/american-rikishi-sumo/
|
American rikishi recalls extremely wild times in sumo worldDetails on the now year old s career had been lost to the mists of time until the California native resurfaced in sumo circles online in recent |
2020-12-17 03:15:23 |
海外ニュース |
Japan Times latest articles |
Seagulls deny Frontiers on final play of X Bowl to return to X League summit |
https://www.japantimes.co.jp/sports/2020/12/16/more-sports/football/seagulls-frontiers-x-bowl-to-return-to-x-league-summit/
|
Seagulls deny Frontiers on final play of X Bowl to return to X League summitThe Obic Seagulls made their long awaited return to the X League summit Tuesday night knocking off the league s current dynasty |
2020-12-17 03:13:42 |
海外ニュース |
Japan Times latest articles |
Ayumu Goromaru says upcoming retirement part of plan that began after college |
https://www.japantimes.co.jp/sports/2020/12/16/rugby/ayumu-goromaru-retirement-plan/
|
fullback |
2020-12-17 02:47:00 |
ニュース |
BBC News - Home |
Covid Christmas rules: Boris Johnson calls for shorter, smaller celebrations |
https://www.bbc.co.uk/news/uk-55335236
|
chris |
2020-12-16 17:27:29 |
ニュース |
BBC News - Home |
Two household limit at Christmas to be made law in Wales |
https://www.bbc.co.uk/news/uk-wales-55336452
|
wales |
2020-12-16 17:39:53 |
ニュース |
BBC News - Home |
Covid: WHO to investigate virus origins in China's Wuhan |
https://www.bbc.co.uk/news/world-asia-china-55333200
|
international |
2020-12-16 17:40:04 |
ニュース |
BBC News - Home |
Covid-19: Mask warning for Europe, as UK leaders make Christmas plea |
https://www.bbc.co.uk/news/uk-55337293
|
coronavirus |
2020-12-16 17:23:18 |
ニュース |
BBC News - Home |
Charlie Hebdo: Fourteen guilty in 2015 Paris terror attacks trial |
https://www.bbc.co.uk/news/world-europe-55336094
|
france |
2020-12-16 17:31:42 |
ニュース |
BBC News - Home |
Brexit trade talks: Could the UK and the EU keep negotiating? |
https://www.bbc.co.uk/news/55321742
|
brexit |
2020-12-16 17:05:45 |
ニュース |
BBC News - Home |
Sam Allardyce: West Brom appoint former England boss to replace Slaven Bilic |
https://www.bbc.co.uk/sport/football/55330288
|
contract |
2020-12-16 17:53:22 |
ニュース |
BBC News - Home |
Man City into last 16 of Women's Champions League |
https://www.bbc.co.uk/sport/football/55335694
|
gothenburg |
2020-12-16 17:15:10 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「金持ち倒産」や「貧乏倒産」になる商売とは? - 働かないという生き方 |
https://diamond.jp/articles/-/257204
|
金持ち |
2020-12-17 03:00:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
税務署がマークするのは「孫に黙って積み立てたお金」 - ぶっちゃけ相続 |
https://diamond.jp/articles/-/255915
|
税務署 |
2020-12-17 02:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「着るものがない!」 予定の度に、服を買ってしまうのはなぜ? - もう、服は買わない |
https://diamond.jp/articles/-/257427
|
「着るものがない」予定の度に、服を買ってしまうのはなぜもう、服は買わない「たくさん服はあるのに、今日着る服がない」のは、あなたが服を持ちすぎているからではそんな方は、NYで話題の新しい服の仕分け法“projectで、ワードローブを減らしましょう。 |
2020-12-17 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ビットコイン初の2万ドル突破、著名投資家も続々参入 - WSJ発 |
https://diamond.jp/articles/-/257576
|
著名 |
2020-12-17 02:21:00 |
北海道 |
北海道新聞 |
地銀再編へ「支援策」 金融審報告書 合併交付金など 業務多角化可能に |
https://www.hokkaido-np.co.jp/article/492444/
|
地方銀行 |
2020-12-17 02:16:12 |
GCP |
Cloud Blog |
The serverless gambit: Building ChessMsgs.com on Cloud Run |
https://cloud.google.com/blog/topics/developers-practitioners/serverless-gambit-building-chessmsgscom-cloud-run/
|
The serverless gambit Building ChessMsgs com on Cloud RunWhile watching The Queen s Gambit on Netflix just recently I was reminded about how much I used to enjoy playing chess I was eager to play a game so I started to tweet “D D knowing that someone would recognize this as an opening move and likely respond with their move giving me the fix I needed I paused before hitting the tweet button because I realized that I d need to set up a board physical or virtual to keep track of the game If I received multiple responses I d need multiple boards I decided not to send the tweet Later in the day I had the idea to create a simple service that addresses my use case Instead of designing a full chess site I decided to create a chess board logger visualizer to make it practical to play via Twitter or any other messaging social platform Instead of tweeting moves back and forth players tweet links back and forth and those links go to a site that renders the current chessboard allows a new move and creates a new link to paste back to the opponent I wanted this to be serverless meaning that it will scale to zero and have zero maintenance requirements Excited about this idea I put together a shopping list My MVP requirements Represent the board position ideally completely in the URL to keep it stateless from a server side perspectiveDisplay a chessboard and let the player make their next move Stretch goals Enforce chess rules allow only legal moves Dynamically create a png jpg of the chessboard that I can use as an Open Graph and Twitter card image so that when a player sends the link the image of the board will automatically display Putting it all togetherRepresenting the board positionThere is a standard notation for describing a particular board position of a chess game called Forsyth Edwards Notation FEN that was exactly what I needed A FEN is a sequence of ASCII characters For example the starting position for any chess game can be represented by the following string rnbqkbnr pppppppp PPPPPPPP RNBQKBNR w KQkq Each letter is a piece pawn P knight N bishop B rook R queen Q and king K Uppercase letters represent white pieces and lowercase letters represent black The last part of the string is specific to certain rules in chess read more about FEN I knew I could use this in the URL so my first requirement was complete and I was able to represent the board state in the URL eliminating the need for a backend data store Displaying the chessboard and allowing drag and drop movesNumerous chess libraries are available One in particular that caught my eye was chessboard js described as “a JavaScript chessboard component with a flexible just a board API I quickly discovered that this library can display chess boards from a FEN allow pieces to be moved and update the FEN Perfect In only two hours I had the basic functionality implemented Enforcing chess rulesI originally thought that making this service aware of chess rules would be difficult but then I saw the example in the chessboard js docs showing how to integrate it with another library called chess js “a JavaScript chess library that is used for chess move generation validation piece placement movement and check checkmate stalemate detection basically everything but the AI A short time later I had it working Stretch goal completed Where s what a couple of game moves look like Moving the pawn from D to D in a new game b KQkq d amp to d amp from d amp gid mOhlhRlMboYsHLqBFfIBlack countering with a similar move of pawn from D to D w KQkq d amp to d amp from d amp gid mOhlhRlMboYsHLqBFfIThe URL has the following data fen the new board positionfrom and to indicating what move occurred I use this to highlight the squares gid a unique game ID I used nanoid I ll use this to connect moves to a single game in the future For example I could add a feature that lets the user request the entire game transcript Done Except At this point there were no server requirements other than simple HTML static hosting But after playing it with some friends and family I decided that I really wanted to accomplish the other stretch goal dynamically create a png jpg of the chessboard that I can use as an Open Graph and Twitter card image With this capability an image of the board will automatically display when a player sends the link Without it the game is a series of ugly URLs Dynamically creating the Open Graph imageThis requirement introduced some server side requirements I needed two things to happen on the server First I needed to dynamically generate a board image from a FEN Once again open source to the rescue almost I found chess image generator a JavaScript library that creates a png from a FEN I wrapped this in a bit of Node js Express code so that I could access the image as if it were static For example here s a demo of the real endpoint w KQkq png This link results in this image Second I needed to dynamically inject this FEN embedded URL into the content attribute of the meta tag in the main HTML Like me you might be thinking that you could just do some DOM manipulation in JavaScript and avoid having to dynamically change HTML on the server But the Open Graph image is retrieved by a bot from whatever service you use for messaging These bots don t execute any client side JavaScript and expect all values to be static So that led to additional server side work I needed to dynamically convert this Into something like this I could have used one of many Node templating engines to do this but they all seemed like overkill for this simple substitution requirement so I just wrote a few lines of code for some string replace calls in my Node server With this functionality added a game on Twitter and other services now looks much better Check out the codeThe source for chessmsgs com is available on GitHub at Deciding where to host itThe hosting requirements are simple I needed support for Node js Express domain mapping and SSL There are several options on Google Cloud including Compute Engine VMs App Engine and Kubernetes Engine For this app however I wanted to go completely serverless which quickly led me to Cloud Run Cloud Run is a managed platform that enables you to run stateless containers that are invocable via web requests or Pub Sub events Cloud Run is also basically free for this type of project because the always free tier includes vCPU seconds GiB seconds and million requests per month as of this writing see the Cloud Run pricing page for the latest details Even beyond the free tier it s very inexpensive for this type of app because you only pay while a request is being handled on your container instance and my code is simple and fast Lastly deploying this on Cloud Run brings a lot of added benefits such as continuous deployment via Cloud Build and log management and analysis via Cloud Logging both of which are super easy to set up What s next If this suddenly becomes the most popular site of the day I m actually in good shape from a scalability point of view because of my decision to use Cloud Run If I really wanted to engineer this for extreme loads I could easily deploy it to multiple regions throughout the globe and set up a load balancer and possibly a CDN I also could separate the web hosting functionality from the image generation functionality to allow each to scale as needed When I first started thinking about the image generation I naturally thought about caching the images in Google Cloud Storage This would be easy to do and storage is crazy cheap But then I did a bit of research and learned the following fun facts After two moves one move for each player there are different distinct board positions After each player moves again two moves each this number is now distinct positions After each player moves again three moves each the number is now distinct positions I could gain a bit of performance by caching the most popular openings but each game would quickly go beyond the cached images so it didn t seem worth it By the way to cache every possible board position would be about positions which is a massive number that doesn t even have a name ConclusionThis was a fun project almost therapeutic for me since my “day job doesn t allow much time for writing code If this becomes popular I m sure others will have ideas on how to improve it This was my first hands on with Cloud Run beyond the excellent Quick Starts examples for Go Node js Python Java C C PHP Ruby Shell etc Because of my role in developer advocacy at Google I was aware of most Cloud Run capabilities and features but after using it for something real I now understand why developers love it Where to learn moreCloud Run Product PageCloud Run DocsHello Cloud Run QwiklabThe Cloud Run unofficial FAQ created by co worker Ahmet Alp Balkan and community maintained The Cloud Run Button Add a click to deploy button to your git reposList of Cloud Run videos from our YouTube channelNEW O Reilly Book Building Serverless Applications with Google Cloud Run by Wietse VenemaAwesome Cloud Run massive curated list of resources by Steren Giannini Cloud Run PM Related Article cool Cloud Run features that developers loveCloud Run developers enjoy pay per use pricing multiple concurrency and secure event processing Read Article |
2020-12-16 17:30:00 |
コメント
コメントを投稿