IT |
気になる、記になる… |
「macOS Monterey」の一部機能はIntel Macでは利用出来ないことが明らかに |
https://taisy0.com/2021/06/10/141655.html
|
apple |
2021-06-09 19:47:51 |
IT |
気になる、記になる… |
Microsoft、「OneDrive」アプリのAppleシリコンへのネイティブ対応は今年後半になることを明らかに |
https://taisy0.com/2021/06/10/141652.html
|
apple |
2021-06-09 19:14:54 |
AWS |
AWS Big Data Blog |
Amazon Redshift identity federation with multi-factor authentication |
https://aws.amazon.com/blogs/big-data/amazon-redshift-identity-federation-with-multi-factor-authentication/
|
Amazon Redshift identity federation with multi factor authenticationPassword based access control alone is not considered secure enough and many organizations are adopting multi factor authentication MFA and single sign on SSO as a de facto standard to prevent unauthorized access to systems and data SSO frees up time and resources for both administrators and end users from the painful process of password based credential management MFA … |
2021-06-09 19:19:33 |
AWS |
AWS |
Deploying AWS Marketplace Containers on Amazon ECS Clusters |
https://www.youtube.com/watch?v=XaiUAiQQJtk
|
Deploying AWS Marketplace Containers on Amazon ECS ClustersIn this video you ll see how to deploy an AWS Marketplace container product onto Amazon Elastic Container Service Amazon ECS clusters With this solution you can easily discover container products in AWS Marketplace subscribe and deploy container solutions on Amazon ECS and manage those deployed resources with AWS Service Catalog AppRegistry For more information on this topic please visit the resources below Amazon Marketplace Containers Using App Registry Subscribe More AWS videos More AWS events videos AWS AWSDemos |
2021-06-09 19:41:36 |
AWS |
AWS |
Deploy Amazon Service Catalog Work Spaces in Bulk |
https://www.youtube.com/watch?v=utP18li1jBA
|
Deploy Amazon Service Catalog Work Spaces in BulkIn this video you ll see how to deploy Amazon Work Spaces in bulk With the AWS Service Catalog Bulk Deployer you can simplify desktop delivery to your remote workforce reduce costs spent on desktop and laptop resources and rapidly provision and scale deployments For more information on this topic please visit our GitHub Subscribe More AWS videos More AWS events videos AWS AWSDemos |
2021-06-09 19:41:07 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
Rspecでボタンをクリック→へんじがない…ただのもじれつのようだ… |
https://qiita.com/subun33/items/ada108b2336a7c5dbc6b
|
describeアコーディオンメニューのテストjstruedoitメニューが展開することdo「」、「ー」はFontAwesomeを使って実装findfaplusclickexpectpagetohavecssfaminusendendさいごに今回のミスは、JavaScriptを使っている箇所のテストに「jstrue」を書いていなかったという、知っている人から見れば、当たり前のようなことですが、エラー文が出るわけでもないので、私は発見に時間がかかりました。 |
2021-06-10 04:55:31 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
Rspecでボタンをクリック→へんじがない…ただのもじれつのようだ… |
https://qiita.com/subun33/items/ada108b2336a7c5dbc6b
|
describeアコーディオンメニューのテストjstruedoitメニューが展開することdo「」、「ー」はFontAwesomeを使って実装findfaplusclickexpectpagetohavecssfaminusendendさいごに今回のミスは、JavaScriptを使っている箇所のテストに「jstrue」を書いていなかったという、知っている人から見れば、当たり前のようなことですが、エラー文が出るわけでもないので、私は発見に時間がかかりました。 |
2021-06-10 04:55:31 |
海外TECH |
DEV Community |
Algorithm Tutorial: Max Area of an Island (DFS) |
https://dev.to/dsasse07/algorithm-tutorial-max-area-of-an-island-dfs-53eg
|
Algorithm Tutorial Max Area of an Island DFS For this entry in my algorithm walkthrough series we will be looking at a D matrix search using a depth first search approach We will first discuss the the problem the solution and then use a visualizer I created and teased about in my last blog to better understand the search process ContentsProblem DescriptionProblem ExplanationSolutionModeling the Solution Problem DescriptionThe specific problem we will be walking through is problem Leetcode Max Area of Island The direct problem description found on Leetcode is You are given an m x n binary matrix grid An island is a group of s representing land connected directionally horizontal or vertical You may assume all four edges of the grid are surrounded by water The area of an island is the number of cells with a value in the island Return the maximum area of an island in grid If there is no island return For example the grid of grid Would return a value of not since the largest area of consecutive tiles in orthogonal directions is only with the additional tiles being connected diagonally and thus considered a separate island Leetcode provided this model to demonstrate the example Back to Top Problem ExplanationIf we were to perform this task mentally the general approach would be to pick a starting point on an island and then count each land tile that is connected to the current one without repeating If the island had different peninsulas or branches we could count all of the land tiles in one peninsula before counting the rest of the tiles in the other This mental model is the exact process we can replicate with a depth first solution previewed below In implementing this approach we will need to Iterate through the grid until we reach a land tile Count the tile and then somehow make note that we have visited this tile so that it doesn t get counted multiple times Look at each orthogonal neighbor of that land tile to see if any of them are also land AND have not yet been visited Add each unvisited land tile to the stack a list of tiles we need check for additional neighbors Repeat from step by removing and using the most recently added item from the stack until there are no items remaining in the stack meaning there are no more unvisited land tiles orthogonal to the current island Once the first island is done being mapped we update a maxArea variable to be whichever is greater the result of the most recent island or the previous value of maxArea Continue iterating through the grid until we reach another land tile that has not already been visited indicating a new island is present The second consideration that must be made is how to keep track the land tiles that have already been visited One answer would be to create a visited array or object and add the coordinate pair for each land tile as it is counted You would then need to check within this visited object to see if it already includes those coordinates The advantages to this approach are that it doesn t mutate the original grid however more memory is going to be required for the function since we will be creating a new object A second option would be to change the value of land tile once it has been counted In this problem denotes land After a tile has been counted we could change it to water or any other value As long as we are looking for s in the grid these already visited tiles will not get re used This has the inverse effects from the previous solution where we save space on a visited object but the original grid will be mutated For my solution I chose to mutate the grid in particular because assigning different values based on a tiles status would allow me to model them different in a visualizer Back to Top SolutionUsing the pseudo code in the previous section we can implement the mapAreaOfIsland function in Javascript as shown below const maxAreaOfIsland grid gt let maxArea const mapIsland i j gt const stack i j let islandSize These coordinates correspond to the four orthogonal changes from the current position const directions while stack length gt const tile stack pop islandSize For each of the four orthogonal directions get the row and column index the change corresponds to and evaluate that tile for const dir of directions let nextRow tile dir let nextCol tile dir if grid nextRow amp amp grid nextRow nextCol amp amp grid nextRow nextCol If the tile is part of the grid and its a land tile we will change its value so that it doesn t get re counted and add these coordinates to the stack grid nextRow nextCol stack push nextRow nextCol return islandSize for let i i lt grid length i for let j j lt grid length j if grid i j We found the starting point for our island mark this point as visited and then begin scanning the island The returned size will be compared to the current maxArea to determine which is greater and update the value of maxArea if needed grid i j maxArea Math max maxArea mapIsland i j return maxArea Modeling the SolutionFor myself it often helps to have a visual model of a process that illustrates the steps that are occurring To further my own understanding and to hopefully help you I created a visualizer using CodeSandbox To help model the depth first search In this visualizer the solution implementation above was modified so that the current state of the tile unvisited land unvisited water visited land visited water andpending in the stack was denoted by different numerical values As the state of the tile changed throughout the function the value was updated leading to a visual change in the styling Here is a preview of the search for the initial example grid Other modifications to the solution that were needed to produce the visualizer included cloning the grid after each mutation in order to update the component state and re render the component The sleep function described in my last blog allows us also to purposely slow down the solution in order to perceive and follow the search pattern If you would like to change the speed of the visualizer you can adjust the sleep option argument on line where the custom hook is invoked Aside from the three pre defined grids I also added acreate a custom map feature to create different scenarios to run the search on Enter the number of rows columns you d like and then click a tile to toggle it as land or water After selecting Use this map you can search against this one shown below |
2021-06-09 19:15:18 |
海外TECH |
DEV Community |
Hardware Hacking with Charlyn Gonda & Sophy Wong |
https://dev.to/devteam/hardware-hacking-with-charlyn-gonda-sophy-wong-5584
|
Hardware Hacking with Charlyn Gonda amp Sophy WongI always love when another member of team Forem joins me to co host DevDiscuss ーand on SE I was lucky enough to have andy by my side Andy is the Support Platform Engineer at Forem and has been here since the VERY early days of DEV In fact Andy was one of the first people to ever work at DEV in an official capacity Needless to say his insight is always valuable and it was super fun to have him on the show this week S E Hardware Hacking for Everyone DevDiscuss Your browser does not support the audio element x initializing × It didn t hurt that we also had a pretty fun topic this week and two fantastic guests Charlyn Gonda is a coder by day and a maker by night She s passionate about creating art in between the physical and digital and deeply believes that practicing creativity can lead to impactful solutions for challenging problems Sophy Wong is a multidisciplinary designer whose projects range from period costumes to Arduino driven wearable tech She can be found at sophywong com and on her YouTube channel chronicling her adventures in making Now make like a maker and listen to this week s episode P S If you re still hack hungry after listening to our show Hometechnica is a growing community for home automation enthusiasts it s built on Forem and has an increasing amount of awesome tutorials and resources for home automation projects Check it out You can follow DevDiscuss to get episode notifications and listen right in your feed ーor subscribe on your platform of choice Plus if you leave us a review we ll send you a free pack of thank you stickers Details here Quick Listening LinksApple PodcastsSpotifyGoogleListen NotesTuneInRSS FeedDEV Pods SiteAcknowledgements levisharpe for producing amp mixing the showOur season five sponsors CockroachDB Cloudways amp Rudderstack ️️️ |
2021-06-09 19:04:47 |
海外TECH |
Engadget |
'Overwatch' is finally getting crossplay support |
https://www.engadget.com/overwatch-crossplay-beta-191459026.html?src=rss_b2c
|
overwatch |
2021-06-09 19:14:59 |
Cisco |
Cisco Blog |
Vitra & Cisco – Space Meets Technology |
https://blogs.cisco.com/financialservices/vitra-cisco-space-meets-technology
|
technologies |
2021-06-09 19:25:02 |
海外科学 |
NYT > Science |
Solar Eclipse at Sunrise: Where and When to Watch the 'Ring of Fire' |
https://www.nytimes.com/2021/06/09/science/solar-eclipse-june-10.html
|
Solar Eclipse at Sunrise Where and When to Watch the x Ring of Fire x An annular eclipse will start in Canada and end in a remote part of Russia People in areas of the United States will see a partial eclipse |
2021-06-09 19:17:04 |
海外科学 |
NYT > Science |
AstraZeneca Shots Carry Slightly Higher Risk of Bleeding Problem, New Study Says |
https://www.nytimes.com/2021/06/09/health/astrazeneca-vaccine-bleeding-risk-scotland.html
|
AstraZeneca Shots Carry Slightly Higher Risk of Bleeding Problem New Study SaysBut the research involving million adults in Scotland found that the vaccine s benefits outweighed the small risks |
2021-06-09 19:23:16 |
ニュース |
BBC News - Home |
US to buy 500 million Covid vaccine doses for the world - reports |
https://www.bbc.co.uk/news/world-us-canada-57416519
|
biden |
2021-06-09 19:27:48 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
小池知事はコロナ禍の医療従事者に報いるため、都立病院独法化を進めよ - DOL特別レポート |
https://diamond.jp/articles/-/273551
|
医療従事者 |
2021-06-10 04:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
キヤノン復調、ニコン撃沈…カメラ大手2社の明暗が分かれたワケ - ダイヤモンド 決算報 |
https://diamond.jp/articles/-/273550
|
|
2021-06-10 04:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
地方を救う「空港民営化」にコロナ乱気流襲来、国に支援を求める緊急事態 - 観光・ホテル「6月危機」 |
https://diamond.jp/articles/-/273549
|
地域活性化 |
2021-06-10 04:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
超高額の役員報酬をもらう“興行師”「武田薬品」経営陣の強かな学習能力 - 医薬経済ONLINE |
https://diamond.jp/articles/-/273324
|
|
2021-06-10 04:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
今再び注目集める新たな雇用関係「ALLIANCE」、次に来る働き方トレンドは? - News&Analysis |
https://diamond.jp/articles/-/273546
|
alliance |
2021-06-10 04:27:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
中国デカップリングで半導体戦略「大転換」、有志国連合の打算と勝算 - DOL特別レポート |
https://diamond.jp/articles/-/273540
|
産業政策 |
2021-06-10 04:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ワクチンだけじゃない!日本で「抗原検査キット」の活用が遅れる呆れた理由 - 情報戦の裏側 |
https://diamond.jp/articles/-/273548
|
経済活動 |
2021-06-10 04:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
退職時に「還付金」で税金を取り戻す!1年の途中で辞めた人はチャンス大 - News&Analysis |
https://diamond.jp/articles/-/273257
|
退職時に「還付金」で税金を取り戻す年の途中で辞めた人はチャンス大NewsampampAnalysis新型コロナウイルス感染症の影響による解雇・雇い止め人数が、見込みも含めて累計万人を超えたことが、厚生労働省の集計で明らかになった。 |
2021-06-10 04:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
2027年に「GDP世界一」中国の難題、30年後も“豊かさ”は米国の半分以下 - 野口悠紀雄 新しい経済成長の経路を探る |
https://diamond.jp/articles/-/273481
|
人当たり |
2021-06-10 04:10:00 |
ビジネス |
東洋経済オンライン |
失注が一転「中国製」欧州向け電車、突如登場の謎 実は「秘密裏」に進んでいた中・欧の共同開発 | 海外 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/433187?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
世界最大 |
2021-06-10 04:30:00 |
GCP |
Cloud Blog |
Build a platform with KRM: Part 1 - What’s in a platform? |
https://cloud.google.com/blog/topics/developers-practitioners/build-platform-krm-part-1-whats-platform/
|
Build a platform with KRM Part What s in a platform This is the first post in a multi part series on building developer platforms with the Kubernetes Resource Model KRM In today s digital world it s more important than ever for organizations to quickly develop and land features scale up recover fast during outages and do all this in a secure compliant way If you re a developer system admin or security admin you know that it takes a lot to make all that happen including a culture of collaboration and trust between engineering and ops teams But building culture isn t just about communication and shared valuesーit s also about tools When application developers have the tools and agency to code with enough abstraction to focus on building features they can build fast without getting bogged down in infrastructure When security admins have streamlined processes for creating and auditing policies engineering teams can keep building without waiting for security reviews And when service operators have powerful cross environment automation at their disposal they can support a growing business with new engineering teams without having to add more IT staff Said another way to deliver high quality code fast and safely you need a good developer platform What is a platform It s the layers of technology that make software delivery possible from Git repositories and test servers to firewall rules and CI CD pipelines to specialized tools for analytics and monitoring to the production infrastructure that runs the software itself An organization s platform needs depend on a variety of factors such as industry vertical size and security requirements Some organizations can get by with a fully managed Platform as a Service PaaS like Google App Engine and others prefer to build their platform in house At Google Cloud we serve lots of customers who fall somewhere in the middle they want more customization and less lock in than what s provided by an all in one PaaS but they have neither the time nor resources to build their own platform from scratch These customers may come to Google Cloud with established tech preferences and goals For example they may want to adopt Serverless but not Service Mesh or vice versa An organization in this category might turn to a provider like Google Cloud to use a combination of hosted infrastructure and services as shown in the diagram below Click to enlarge But a platform isn t just a combination of products It s the APIs UIs and command line tools you use to interact with those products the integrations and glue between them and the configuration that allows you to create environments in a repeatable way If you ve ever tried to interact with lots of resources at once or manage them on behalf of engineering teams you know that there s a lot to keep track of So what else goes into a platform For starters a platform should be human friendly with abstractions depending on the user In the diagram above for example the app developer focuses on writing and committing source code Any lower level infrastructure access can be limited to what they care about for instance spinning up a development environment A platform should also be scalable additional resources should be able to be “stamped out in an automated repeatable way A platform should be extensible allowing an org to add new products to that diagram as their business and technology needs evolve Finally a platform needs to be secure compliant to industry and location specific regulations So how do you get from a collection of infrastructure to a well abstracted scalable extensible secure platform You ll see that one product icon in that diagram is Google Kubernetes Engine GKE a container orchestration tool based on the open source Kubernetes project While Kubernetes is first and foremost a “compute tool that s not all it can do Kubernetes is unique because of its declarative design allowing developers to declare their intent and let the Kubernetes control plane take action to “make it so The Kubernetes Resource Model KRM is the declarative format you use to talk to the Kubernetes API Often KRM is expressed as YAML like the file shown below If you ve ever run “kubectl apply on a Deployment resource like the one above you know that Kubernetes takes care of deploying the containers inside Pods scheduling them onto Nodes in your cluster And you know that if you try to manually delete the Pods the Kubernetes control plane will bring them back up it still knows about your intent that you want three copies of your “helloworld container The job of Kubernetes is to reconcile your intent with the running state of its resources not just once but continuously So how does this relate to platforms and to the other products in that diagram Because deploying and scaling containers is only the beginning of what the Kubernetes control plane can do While Kubernetes has a core set of APIs it is also extensible allowing developers and providers to build Kubernetes controllers for their own resources even resources that live outside of the cluster In fact nearly every Google Cloud product in the diagram aboveーfrom Cloud SQL to IAM to Firewall Rules ーcan be managed with Kubernetes style YAML This allows organizations to simplify the management of those different platform pieces using one configuration language and one reconciliation engine And because KRM is based on OpenAPI developers can abstract KRM for developers and build tools and UIs on top Further because KRM is typically expressed in a YAML file users can store their KRM in Git and sync it down to multiple clusters at once allowing for easy scaling as well as repeatability reliability and increased control With KRM tools you can make sure that your security policies are always present on your clusters even if they get manually deleted In short Kubernetes is not just the “compute block in a platform diagram it can also be the powerful declarative control plane that manages large swaths of your platform Ultimately KRM can get you several big steps closer to a developer platform that helps you deliver software fast and securely The rest of this series will use concrete examples with accompanying demos to show you how to build a platform with the Kubernetes Resource Model Head over to the GitHub repository to follow Part Setup which will spin up a sample GKE environment in your Google Cloud project And stay tuned for Part where we ll dive into how the Kubernetes Resource Model works Related ArticleI do declare Infrastructure automation with Configuration as DataConfiguration as Data enables operational consistency security and velocity on Google Cloud with products like Config Connector Read Article |
2021-06-09 19:30:00 |
コメント
コメントを投稿