投稿時間:2021-09-27 21:41:43 RSSフィード2021-09-27 21:00 分まとめ(49件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Government, Education, and Nonprofits Blog Simplifying voter registration and building confidence with the cloud https://aws.amazon.com/blogs/publicsector/simplifying-voter-registration-building-confidence-with-the-cloud/ Simplifying voter registration and building confidence with the cloudNational Voter Registration Day is a nonpartisan civic holiday in the US creating broad awareness of voter registration opportunities and celebrating democracy The goal of National Voter Registration Day is to register one million new voters by To reach this goal state and local governments and nonprofit civic organizations use digital platforms powered by AWS to modernize and simplify voter registration 2021-09-27 11:24:44
AWS lambdaタグが付けられた新着投稿 - Qiita ECRへのレプリケーションをトリガーにECSのサービス更新を実行 https://qiita.com/yuta-katayama-23/items/82ba9a9ed8c4a524d5dd qiita 2021-09-27 20:59:03
python Pythonタグが付けられた新着投稿 - Qiita mecab-python で no such file or directory: c:\mecab\mecabrc https://qiita.com/cress_cc/items/6b1db5865741b1c9fe6a mecabpythonでnosuchfileordirectorycmecabmecabrc発生事象以下のようなスクリプトを書いて実行。 2021-09-27 20:55:29
python Pythonタグが付けられた新着投稿 - Qiita Pythonを用いてツイートデータからWord Cloudの作成 https://qiita.com/karubi-krb/items/db3c2e5fb02ce9b3a17c 2021-09-27 20:39:43
python Pythonタグが付けられた新着投稿 - Qiita [Python]Page Object Modelパターンを用いたPlaywright E2Eテスト記述方法 メモ https://qiita.com/KWS_0901/items/c41c6a3c92d7f361073c 複数のテストケース間で共有できる再利用可能なコードを作ることができる※コード重複を防ぐことができる。 2021-09-27 20:31:57
js JavaScriptタグが付けられた新着投稿 - Qiita classのprivate functionの呼び出し https://qiita.com/rebinson3000/items/ba150b5fefe15e9bb177 calljsletobjnewFootextblurobjfuncbindobjこのケースではthisfunc呼び出し時にthisがFooオブジェクトを指していないので、thisがFooオブジェクトを指すようにbindしてあげる。 2021-09-27 20:46:36
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) bin/bash: brew: command not found https://teratail.com/questions/361598?rss=all binbashbrewcommandnotfound前提・実現したいこと発生している問題・エラーメッセージpython生後週間です。 2021-09-27 20:58:13
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) SysV init の設定ファイル /etc/inittabの設定について https://teratail.com/questions/361597?rss=all etcinittab 2021-09-27 20:57:16
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) form_withでバックエンドに渡すパラメータをネストさせたい https://teratail.com/questions/361596?rss=all formwithでバックエンドに渡すパラメータをネストさせたいコードの量が多く、コピペしきれないので画像で失礼します。 2021-09-27 20:38:46
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) LINENotifyで受信メールをLINEに通知したい https://teratail.com/questions/361595?rss=all LINENotifyで受信メールをLINEに通知したい受信メールをLINEに通知する仕組みをつくりたいです。 2021-09-27 20:26:47
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) BroadcastReceiverからMainActivityへの戻り方 https://teratail.com/questions/361594?rss=all BroadcastReceiverからMainActivityへの戻り方androidnbspstudioにてkotlinにて、以下を実装したいです。 2021-09-27 20:21:39
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Bracketsに拡張機能「全角空白・スペース・タブ表示」をインストールしたいのですができません。 https://teratail.com/questions/361593?rss=all Bracketsに拡張機能「全角空白・スペース・タブ表示」をインストールしたいのですができません。 2021-09-27 20:19:51
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) ja_ginza エラー https://teratail.com/questions/361592?rss=all jaginzaエラーgooglenbspcolabでginzaをインストールし、使おうとしたのですが毎回jaginzaのところでエラーが出ます。 2021-09-27 20:15:57
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Gradleでマルチプロジェクトを早くビルドする方法 https://teratail.com/questions/361591?rss=all Gradleでマルチプロジェクトを早くビルドする方法現在、以下のようなマルチプロジェクトの構成で、下記に記載の手順でビルドを行なっています。 2021-09-27 20:09:43
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) nvmでインストールしたnpmコマンドが効かない https://teratail.com/questions/361590?rss=all nvmでインストールしたnpmコマンドが効かない前提・実現したいこと端末を開いたときにnvmusevと、いちいち打たなくてもいいようにしたい。 2021-09-27 20:02:22
AWS AWSタグが付けられた新着投稿 - Qiita ECRへのレプリケーションをトリガーにECSのサービス更新を実行 https://qiita.com/yuta-katayama-23/items/82ba9a9ed8c4a524d5dd qiita 2021-09-27 20:59:03
Docker dockerタグが付けられた新着投稿 - Qiita Dockerfile作成時、キャッシュをうまく使う https://qiita.com/mkato1013/items/3d91276107e5321b075d 今回のように、キャッシュをうまく使い、省エネをしていきたいです。 2021-09-27 20:20:06
技術ブログ Mercari Engineering Blog メルペイの公的個人認証による本人確認の仕組み https://engineering.mercari.com/blog/entry/20210927-3a843cdfa3/ techleahellip 2021-09-27 13:00:11
海外TECH DEV Community How Long it Takes to Learn CSS https://dev.to/coderslang/how-long-it-takes-to-learn-css-44im How Long it Takes to Learn CSSLike HTML CSS is also simple to learn because there are few concepts to remember it These concepts include CSS syntaxCommon CSS propertiesThe CSS Box ModelHow to find more information CSS syntaxThe first concept to remember is to know the syntax of CSS In essence the CSS syntax comes in three parts They are the selectors property and value Here s a basic example of the CSS syntax It tells CSS to change the color of the h element into red color h color red Let me explain what s happening in this code h is the CSS selector and it points to the HTML element that you want to change styles In this case we select the h element color is the CSS property and it tells what type of styling you want to apply In this case change the color of the h element red is the CSS property value and it tells how the style should change In this case change the h element color to red As long as you remember the syntax then you pretty much know half of the CSS rules The other half comes from experiences making mistakes and learning from them and regular practice Common CSS propertiesThe next concept to know is the CSS properties While CSS has more than a hundred properties there are few of them you will use frequently These common CSS properties include ColorsWidth and HeightBackgroundBackground colorFont sizeMargin and PaddingBorderDisplayBy knowing these common CSS properties you will have the foundations to build simple websites As for the rest of the CSS properties you will learn them when you need them The CSS Box ModelThe third concept to remember is knowing what the CSS box model is Every HTML element wraps around a box called the box model This box model consists of multiple properties which are margins paddings borders and content The purpose of the box model is to help you design and build the layout of a web page It is also a handy tool for identifying issues in CSS stylings Learning CSS Box Model is challenging at first But with enough time and practice it will make sense to you Plus once you ve learned it you will have a deep understanding of CSS and be able to build complex web designs How to find more informationThe last concept to remember is knowing how to find more information about CSS It is crucial to know how to search because a lot of times you will spend your time googling how to add stylings in CSS and fix any issues you encounter when building a layout of a web page The first place to start is MDN Web Docs It is an official documentation website where you can learn anything related to CSS Another good website to look for CSS information is CSS Tricks and Coderslang ConclusionTo sum it up it will probably take you few weeks to learn the basics of CSS As long as you keep the CSS concepts in mind like the box modal syntax and practice regularly you will become good at CSS within one or two months I hope you find this article helpful and good luck learning CSS Get my free e book to prepare for the technical interview or start to Learn Full Stack JavaScript 2021-09-27 11:49:35
海外TECH DEV Community The Best JetBrains Plugins For Remote Working https://dev.to/morrone_carlo/the-best-jetbrains-plugins-for-remote-working-64 The Best JetBrains Plugins For Remote WorkingWhat do developers want Money flexible schedules pizza Sure Effortless remote collaboration Hell yes Programming is a team sport and without proper communication you can t really expect spectacular results A remote set up can make developer to developer communication challenging but equipped with the right tools you have nothing to fear Let s take a look at the best JetBrains plugins that can seriously improve your remote working routine   GitLiveThis plugin is for all you team players out there GitLive makes Git well live It adds a tool window where you can see the collaborators from your repository if they are online and all their work in progress branches issues PRs they are working on not yet merged in where you can view diffs of the file changes all updated in real time Their flagship feature instant merge conflict detection provides early warning of potential merge conflicts Real time gutter indicators show ​​where your teammates have made changes to the file you re currently working on which can be very useful especially on the bigger projects On top of that GitLive also supports starting a Code With Me session with a fellow collaborator via a single click or keyboard shortcut and for those pesky collaborators that use VS Code there is even cross IDE codeshare support Benefits for remote teams Improve developer communication with real time cross IDE collaboration merge conflict detection and video calls   Code With MeIf you are a JetBrains user working remotely the chances are that you re already familiar with this one Code With Me is a collaborative coding and pair programming service bundled in the latest versions of most IntelliJ IDEs Code With Me lets you share your JetBrains IDE with others by inviting them to join a coding session as a matter of fact the guests don t even need to have a JetBrains IDE installed they can download a light weight client instead Thanks to the integrated group calls and customisable permissions the plugin can be useful for educational purposes like teaching but works fine also for code reviews or technical interviews Benefits for remote teams Boost your team s productivity by pair programming in real time straight from your JetBrains IDE   Waka TimeOne common problem that people have with remote working is the blurring of the lines between work and leisure time Waka Time is a plugin that helps with this It gives you a nice visually appealing dashboard in your IDE s which summarises your day s coding activity It shows you how much time you ve spent programming and also breaks down into how much time you ve spent using different languages IDEs or how much time you ve spent on different projects Benefit for remote teams A good way to monitor how you re splitting your time between projects and tasks The team plan gives you an overview of your team s project details WakaTime detects your team projects automatically and shows how long each team member coded individually on each project   Presentation AssistantIf you ve ever given an online code presentation you know that moving too quickly can confuse your audience and constant questions about your last move can easily throw you off your game Luckily this handy plugin can help you and your audience stay on a track during the live coding session It provides annotations that explain which shortcuts you re using as you are presenting your screen which can make it much easier for your audience to follow along as you work Benefits for remote teams This plugin comes in handy during company wide presentations when you need to record screencasts and of course during a pair programming session   GitLinkSimple and effective extension that does one job allows you to send a link with selected code from your editor to your teammates who can view it in GitHub Besides the advantage of sharing code with your team note that only committed changes will be reflected in the link it is also useful if you want to check history contributors or branch versions Benefits for remote teams Easily send links of code snippets to coworkers   SonarLintLooking for a tool that will help you write efficient safe and quality code Most modern IDEs have a mechanism to allow for static code analysis but you can bring the analysis to the next level by using a handy plugin like SonarLint SonarLint SonarLint is a static code analyser meant as a way to get feedback about your code directly in the IDE It s great when it comes to detecting bad smells or finding and fixing bugs SonarLint integrates with most JetBrains IDEs and supports languages like C C Java JavaScript TypeScript Python C Kotlin Ruby HTML amp PHP Benefits for remote teams You can use it on your own but it works best when connected with the SonarQube platform where your team can share common language rulesets or project analysis settings  Good communication within a distributed team is key to productive remote working Hopefully some of the tools I rounded up in this short article will make your team collaboration faster more efficient and productive Happy hacking 2021-09-27 11:37:08
海外TECH DEV Community Building a Tailwind CSS badge component https://dev.to/themesberg/how-to-build-a-badge-component-in-tailwind-css-5bc4 Building a Tailwind CSS badge componentI ve been using Tailwind CSS in a lot of my projects lately and one of the disadvantages that I ve found that it does not come with a base set of components that you can use right away I ve started a series of tutorials on how to build commonly used components with Tailwind CSS and today I want to show you how you can build a badge element Tailwind CSS badge componentFirst of all let s start with the HTML markup I recommend using a simple span element for the badge so that it can easily be added inside other elements as an inline element lt span gt Badge text lt span gt Next up we should make it look like a badge by adding a padding background color and text color lt span class bg blue text blue px py gt Default lt span gt Now let s also set the text size and font weight of the badge lt span class bg blue text blue text xs font medium px py gt Default lt span gt We can make it look nicer by also adding a border radius lt span class bg blue text blue text xs font medium px py rounded md gt Default lt span gt Awesome Now we have created a badge element However what if you want to create a slightly larger badge No problem all you need to do is increase the padding and font size of the badge lt span class bg blue text blue text sm font medium mr px py rounded md gt Default lt span gt Badge as a linkYou can also easily change the badge component to become a link by changing the span element to an anchor tag lt a href class bg blue hover bg blue text blue text xs font medium mr px py rounded md gt Default lt a gt Badge with iconSometimes adding an icon can improve a lot in terms of UI and even usability I recommend using SVG icons for better performance Here s an example lt span class bg gray text gray text xs font medium inline flex items center px py rounded md mr gt lt svg class w h mr text gray fill currentColor viewBox xmlns gt lt path fill rule evenodd d M a zm a va l a L Vz clip rule evenodd gt lt path gt lt svg gt days ago lt span gt I hope this tutorial helps you in your journey with Tailwind and your project Tailwind CSS Components Library FlowbiteThis Tailwind badge component is part of a larger Tailwind CSS components library that I helped develop It is open source under the MIT license and it is also published on Github and NPM Learn more about Flowbite a Tailwind CSS components library by following the quickstart guide 2021-09-27 11:22:36
海外TECH DEV Community 💭 How to make clear & pretty error messages from the Go backend to your frontend? https://dev.to/koddr/how-to-make-clear-pretty-error-messages-from-the-go-backend-to-your-frontend-21b2 How to make clear amp pretty error messages from the Go backend to your frontend IntroductionHey hey awesome DEV people How about a little time in the company of an article that teaches you how to better communicate with the frontend developers on your team Intrigued but don t know what it s about Don t worry I ll explain it all now I often notice an interesting trend in my work the backend developer sends error statuses and explanations to the frontend which are not always clear how to handle and output to the user in the application As a result the frontend developer spends precious time understanding what s going on and implementing borderline cases in the code But what if I told you that errors from the backend can be not just readable to the developer but understandable even to the user Yes that s accurately what this article will talk about We will take a look at package go playground validator v which is almost the number one choice for such problems in Go Table of contentsModel to validateVanilla representation of the error from packageRecreate validatorFunction to check the validation errorCustom validation tagOverride error message Model to validateImagine we need to implement backend validation of incoming data from POST request to REST API endpoint of new project creation Can you imagine Okay now let s describe this structure in Go code Besides the standard attributes db and json we need to add a new attribute validate with the required validation tag from the go playground validator package to each structure field that we need to validate It only sounds very complicated in fact everything is much simpler Look app models project model go Project struct to describe project type Project struct Title string db title json title validate required lte gt verify that the field exists and is less than or equal to characters Description string db description json description validate required gt verify that the field exists WebsiteURL string db website url json website url validate uri gt verify that the field is correct URL string Tags string db tags json tags validate len gt verify that the field contains exactly three elements ️Note These are not all the parameters by which you can configure field validation for your structures You can find the full list here An interesting thing is that if we specify a validator to check for example if the URL validated then we don t need to specify the required validation tag anymore This happens because an empty string is not a valid URL In other words almost any validation tag will also include a mandatory non empty value empty string zero nil … for the field ↑Table of contents Vanilla representation of the error from packageInput JSON body here and below we will work with these very input parameters for the JSON request body title description website url not valid uri tags one two I will display the resulting error response as plain text so that you can appreciate why this presentation option for the frontend would not be good Key Project Title Error Field validation for Title failed on the required tagKey Project Description Error Field validation for Description failed on the required tagKey Project WebsiteURL Error Field validation for WebsiteURL failed on the uri tagKey Project Tags Error Field validation for Tags failed on the len tagAnd there are several important points that we want to improve right away First the frontend knows nothing about the structures and models in our application If the backend returns an error in this form without specifying at least the field that failed validation the frontend will not be able to make a visual output of the error for a particular field Second it s better to specify the exact names of the fields which the frontend works with ーnot WebsiteURL but website url like in JSON Third the error description itself will not tell the user or even the frontend developer anything useful except that something went wrong somewhere Well let s try to improve it ️Note I will show you the way I do it on my projects By the way I d be happy to get feedback and examples of how you customize error output for frontend in your projects ↑Table of contents Recreate validatorGreat we get rid of the fields with names like in the structure We just override their output so that the validator looks at the json parameter in the structure not at its actual name To complete this we use the RegisterTagNameFunc method built into the package with a little magic I will put this in a different helper package pkg utilities validator go so that there is more readable application code pkg utilities validator go NewValidator func for create a new validator for struct fields func NewValidator validator Validate Create a new validator validate validator New Rename struct fields to JSON validate RegisterTagNameFunc func fl reflect StructField string name strings SplitN fl Tag Get json if name return return name return validate If you want to avoid renaming any of the fields add comma dash to the end of its JSON name like this WebsiteURL string db website url json website url validate uri Yes you got me right this method opens up great possibilities to customize the error output itself You can rely not on json attribute in the field but on your one for example field name or any other one you wish ️Note To understand how it works please follow this issue ↑Table of contents Function to check the validation errorLet s move on It s time to make a nicer output of validation errors so that the frontend developer on your team will thank you I always use this practice when implementing a REST API in JSON format for internal use e g for single page applications aka SPA We return JSON in strictly consistent notation with the frontend but relative to the interaction objects The status code of the response from the backend is always HTTP OK unless it concerns server errors status code XX The server response always contains the status field type int indicating the actual status code If an error occurred status code not ХХ the server response always contains a field msg type string with a short indication of the cause of the error Furthermore in the example below I took code from my project written using the Fiber web framework So some elements from its libraries are present there Don t be scared the main thing here is to understand the principle of validation itself ️Note If you want to learn more about Fiber I have a series of articles to help you do that I d be glad if you d study it later too Okay my function to check for validation errors would look like this pkg utilities validator go CheckForValidationError func for checking validation errors in struct fields func CheckForValidationError ctx fiber Ctx errFunc error statusCode int object string error if errFunc nil return ctx JSON amp fiber Map status statusCode msg fmt Sprintf validation errors for the s fields object fields ValidatorErrors errFunc return nil The principle of this function is elementary Accept the Fiber context to have all the possibilities to work with the context that came Accept the object with the validation error defined above Accept the status code which should return if the error occurs Accept the name of the object or model we re currently checking so we can output a more readable error message Return the generated JSON with all the necessary errors and explanations or nil I can now easily use the CheckForValidationError function in the controller app controllers project controller goimport github com my user my repo pkg utilities gt add local package utilities CreateNewProject func for create a new project func CreateNewProject c fiber Ctx error Create a new validator using helper function validate utilities NewValidator Validate all incomming fields for rules in Project struct if err validate Struct project err nil Returning error in JSON format with status code Bad Request return utilities CheckForValidationError c err fiber StatusBadRequest project ↑Table of contents Custom validation tagEvery so often it happens that the built in validation tags or rather the rules by which a particular field should be validated are not always sufficient To solve this problem the authors of go playground validator package provided a special method Let s consider its use on a simple example So we have a field with type uuid UUID which we create with the package google uuid which we want to check with the built in validator uuid Parse of that package All we need to do is add a new RegisterValidation method to the NewValidator function described above with simple logic code pkg utilities validator go NewValidator func for create a new validator for struct fields func NewValidator validator Validate Create a new validator validate validator New Custom validation for uuid UUID fields validate RegisterValidation uuid func fl validator FieldLevel bool field fl Field String convert to string if err uuid Parse field err nil return true field has error return false field has no error return validate That s it If the field passed validation it will return false logical value and if there are any errors it will return true ️Note The method RegisterValidation should be read and understood like this “please check if there is an error in the value of the field with the validation tag uuid Now we can validate fields of this type like this app models something model go MyStruct struct to describe something type MyStruct struct ID uuid UUID db id json id validate uuid gt verify that the field is a valid UUID ↑Table of contents Override error messageAnd now for the best part Overriding the validation error message itself ️Note Follow comments in the code to better understand This helper function will map all validation errors to each field and then simply pass that map to the CheckForValidationError function which we described in the previous section pkg utilities validator go ValidatorErrors func for show validation errors for each invalid fields func ValidatorErrors err error map string string Define variable for error fields errFields map string string Make error message for each invalid field for err range err validator ValidationErrors Get name of the field s struct structName strings Split err Namespace gt first element is the founded name Append error message to the map where key is a field name and value is an error description errFields err Field fmt Sprintf failed s tag check value s is not valid for s struct err Tag err Value structName return errFields As you may have noticed to override the field error message we operate on special variables err Namespace err Field err Tag and err Value which the authors of the go playground validator package offer us ️Note You can find a complete list of all available ones here Now we will get this message when we make an invalid request status msg validation errors for the project fields fields category failed required tag check value is not valid for Project struct description failed required tag check value is not valid for Project struct tags failed len tag check value one two is not valid for Project struct title failed required tag check value is not valid for Project struct website url failed uri tag check value not valid uri is not valid for Project struct ️Note After validation all not valid fields are in alphabetical order not in the order that was defined by the Go structure Hooray We got what we wanted and no one got hurt On the contrary everyone is happy both on the frontend and the backend ↑Table of contents Photos and videos byAuthors of the package go playground validator feat Vic ShóstakMarkus Spiske P S If you want more articles like this on this blog then post a comment below and subscribe to me Thanks 2021-09-27 11:19:49
海外TECH DEV Community Cypress Basic Learning https://dev.to/twitvital/about-cypress-26on Cypress Basic LearningWhat is Cypress•Cypress is a next generation front end testing tool built for the modern web We address the key pain points developers and QA engineers face when testing modern applications This enables you to write faster easier and more reliable tests •Cypress is a JavaScript based tool for frontend testing •With it you can write all types of tests End to end tests Integration tests and Unit tests Fast easy and reliable testing for anything that runs in a browser Cypress Features•Time travel Cypress takes snapshots as your tests run•Debugging Readable errors and stack traces make debugging easier•Automatic waiting Automatically waits for commands and assertions before moving on•Spies stubs and clocks Verify and control the behavior of functions server responses or timers•Network Traffic Control Control stub and test edge cases without involving the server•Screenshots and videos View screenshots taken automatically on failure or videos of your entire test suite when run from the CLI•Cross browser Testing Run tests within Firefox and Chrome family browsers including Edge and Electron locallyPros amp ConsPros •Cypress framework captures snapshots at the time of test execution This allows QAs or developers to hover over a specific command in the Command Log to see exactly what happened at that particular step •One doesn t need to add explicit or implicit wait commands in test scripts unlike Selenium Cypress waits automatically for commands and assertions •Auto reload act as real user•Uses Mocha as a testing framework amp chai is assertion library•Rich documentationCons •Only supports Javascript language •Only supports css selector•It doesn t provide support for multi tabs•Cypress doesn t provide support for browsers like Safari at this moment Tech Stack•Cypress•VS code•Javascript Programming•Mocha framework•Reports Mocha AwesomeInstallation of Cypress•Download Node js from as per your operating System as the Cypress is build on the node js•Create a folder and import the folder in Visual Studio code editor or Atom sublime and open the terminal•Setup a new npm package npm init•Open the terminal and enter npm install cypress save dev•Enter following command to open cypress studio node modules bin cypress open •Refer Cypress installation documentation npm installUnderstanding folder structure•Fixtures for all the test data information•Integration for writing test cases •Plugins kind of listeners customized methods to handle cypress events•Support for utility methods like method is getting used by many test cases No need to import support folder Cypress will automatically sense the method•Videos Screenshots for running testsThanks Vital Kumar ULinkedin 2021-09-27 11:17:38
海外TECH DEV Community AWS Resource Access Manager — Simple and powerful service for multi-account resource governance https://dev.to/svasylenko/aws-resource-access-manager-simple-and-powerful-service-for-multi-account-resource-governance-11na AWS Resource Access Manager ーSimple and powerful service for multi account resource governanceWith a multi account approach of building the infrastructure there is always a challenge of provision and governance of the resources to subordinate accounts within the Organization Provision resources keep them up to date and decommission them properly ーthat s only a part of them AWS has numerous solutions that help make this process reliable and secure and the Resource Access Manager RAM is one of them In a nutshell the RAM service allows you to share the AWS resources you create in one AWS account with other AWS accounts These can be your organizations accounts organizational units OU or even third party accounts So let s see what the RAM is and review some of its usage examples Why using RAMThere are several benefits of using the RAM service Reduced operational overhead Eliminate the need of provisioning the same kind of resource multiple times ーRAM does that for youSimplified security management AWS RAM managed permissions at least one per resource type define the actions that principals with access to the resources i e resource users can perform on those resources Consistent experience You share the resource in its state and with its security configuration with an arbitrary number of accounts That plays incredibly well in the case of organization wide sharing new accounts get the resources automatically And the shared resource itself looks like a native resource in the account that accepts your sharing Audit and visibility RAM integrates with the CloudWatch and CloudTrail How to share a resourceWhen you share a resource the AWS account that owns that resource retains full ownership of the resource Sharing of the resource doesn t change any permissions or quotas that apply to that resource Also you can share the resource only if you own it Availability of the shared resources scopes to the Region the users of your shared resources can access these resources only in the same Region where resources belong Creation of resource share consists of three steps Specify the share name and the resource s you want to share It can be either one resource type or several You can also skip the resources selection and do that later It s possible to modify the resource share later e g you want to add some resources to the share Associate permissions with resource types you share Some resources can have only one managed permission will be attached automatically and some can have multiple You can check the Permissions Library in the AWS RAM Console to see what managed permissions are available Select who can use the resources you share either external or Organization account or IAM role user If you share the resource with third parties they will have to accept the sharing explicitly Organization wide resource share is accepted implicitly if resource sharing is enabled for the Organization Finally review the summary page of the resource share and create it Only specific actions are available to the users of shared resources These actions mostly have the read only nature and vary by resource type Also the RAM service is supported by Terraform so the resource sharing configuration may look like that for example resource aws ram resource share example name example allow external principals false tags Environment Production resource aws ram resource association example resource arn aws subnet example arn resource share arn aws ram resource share example arn Example use casesOne of the trivial but valuable examples of RAM service usage is sharing a Manged Prefix List Suppose you have some service user across your Organization a self hosted VPN server for example And you have a static set of IPs for that VPN you trust these IPs and would like them to be allow listed in other services How to report these IPs to all organization accounts users And if the IP set changes how to announce that change and what should be done to reflect that change in services that depend on it for example Security Groups The answer is a shared Managed Prefix List You create the list once in the account and share it across your Organization Other accounts automatically get access to that list and can reference the list in their Security Groups And when the list entry is changed they do not need to perform any actions their Security Groups will get the updated IPs implicitly Another everyday use case of RAM is the VPC sharing that can form the foundation of the multi account AWS architectures Of course the RAM service is not the only way to organize and centralize resource management in AWS There are Service Catalog Control Tower Systems Manager Config and others However the RAM is relatively simple to adopt but is capable of providing worthy outcomes I hope the article was informative and relevant to you If you liked it please support me by sharing this article on social networks 2021-09-27 11:16:27
海外TECH DEV Community Neo4j GraphQL Library 2.0.0 https://dev.to/tomekponiat/neo4j-graphql-library-2-0-0-3cec Neoj GraphQL Library A while ago I wrote a bit about the GRAND stack an integration of GraphQL React Apollo and the Neoj Database While working with the stack carries numerous benefits and hey if you re curious about those head on over and read about them here it can be a bit overwhelming to get straight into it if you re just starting out So this time let s just look at the integration of the G with the N and with good reason as there is quite a bit of new stuff to check out there From GRAND to jsThe GRAND stack has made use of combining the strengths of the Neoj database with GraphQL for a while but the team at Neoj wasn t resting on their laurels and has been hard at work to improve on the benefits of combining the two technologies In they released a library neoj graphql js a GraphQL to Cypher based query execution layer for Neoj and JavaScript GraphQL implementations To put it short something that gives you a fully functioning GraphQL API backed by Neoj just by using type implementations from the GraphQL schema The library was very useful and quite popular so it s not surprising they decided to build on that Beta and In early april of the Neoj team announced that after a year of hard work they re releasing a beta of the Neoj GraphQL library Since then they ve only picked up the pace with the full stable release coming in that very same month Even at just a glance the features look pretty enticingAutomatic query and mutation generation for CRUD interactionsObject Graph Mapper for programmatic interaction with your GraphQL APInode and relationship properties supportcustom resolver supportmultiple pagination optionsauthentication and authorisation options with additional access control options Onto Continuing with their blistering pace neoj dropped version of their library on august tenth While you could say that on the whole this library is a replacement or rather a continuation of the neoj graphql js library with the sheer number of features it has far surpassed it Aside from the usual stuff you can expect from a update like bug fixes or performance improvements we have a few completely new features relationship properties This is the star of the show adding relationships to your type definitions provides way more context for your data This way when fetching data you will have a much clearer picture than you would with just disconnected nodes This solution combines rich and interconnected data with the transparency of GraphQL letting you easily build apps even when using quite complex data sets Cursor based pagination on relationship connected fields in your schema you re able to use cursor based pagination which is especially handy for infinitely scrolling appsCount queries if cursor based pagination is not your thing you can now use a simple query for counting all user nodes GraphQL easy on the eyeThat s not all the update also provides improvements to union relationship fields more comprehensive validation of type definitions and various bug fixes On the whole the key thing is still utilizing how good GraphQL is at displaying even complex data and relationships is probably the best way to take full advantage of that Even if that doesn t convince you with how quickly the development is going on this particular library you can be sure a lot of additional features will be added very soon Oh and make sure to check this video presenting Neoj GraphQL Library in action A guest blog post for GraphQL Editor blog by MichałTyszkiewicz Speed up your GraphQL API developmentGraphQL Editor is a supportive tool for both advanced GraphQL users as well as those taking their first steps with GraphQL APIs Our all in one development environment for GraphQL will help you build manage amp deploy your GraphQL API much faster Try GraphQL Editor for free 2021-09-27 11:03:20
Apple AppleInsider - Frontpage News Stampeding crowd halts iPhone 13 launch in China https://appleinsider.com/articles/21/09/27/stampeding-crowd-halts-iphone-13-launch-in-china?utm_medium=rss Stampeding crowd halts iPhone launch in ChinaA stampede of customers invaded a Chinese mall on Friday looking to buy the iPhone but many were turned away after the store was forced to stop selling the model Customers running and queueing in China via Newsflare SCMP Apple released its iPhone range to the public on Friday prompting queues outside stores around the world However video reveals the popularity of the new generation of smartphones caused issues for one retail outlet Read more 2021-09-27 11:37:16
Apple AppleInsider - Frontpage News Spotify overheats iPhones on iOS 15, rapidly drains battery https://appleinsider.com/articles/21/09/27/spotify-overheats-iphones-on-ios-15-rapidly-drains-battery?utm_medium=rss Spotify overheats iPhones on iOS rapidly drains batteryMusic streaming service Spotify has confirmed iPhone user complaints that its app drains around battery per hour of streaming SpotifyExceptionally high battery drain also making iPhones run hot are being reported by Spotify users who have upgrade from iOS to iOS The company says it is investigating Read more 2021-09-27 11:32:29
Apple AppleInsider - Frontpage News Rick Astley blown away by use of his song in 'Ted Lasso' https://appleinsider.com/articles/21/09/27/rick-astley-blown-away-by-use-of-his-song-in-ted-lasso--?utm_medium=rss Rick Astley blown away by use of his song in x Ted Lasso x Never Gonna Give You Up singer songwriter Rick Astley has thanked the makers of Apple TV hit Ted Lasso for using his song saying he was completely blown away by it Hannah Waddingham and Harriet Walter in Ted Lasso The latest episode of Ted Lasso initially included Rick Astley s famous Never Gonna Give You Up as part of its regular use of British music However that initial use was to set up a finale in which the major characters sang the song in a church Read more 2021-09-27 11:21:17
海外TECH Engadget The Morning After: Already hyping the iPhone 14 https://www.engadget.com/the-morning-after-already-hyping-the-i-phone-14-111502848.html?src=rss The Morning After Already hyping the iPhone Is this a record No sooner has the iPhone hit store shelves than the rumor mill is already up and churning about the next one Rumors from the weekend suggest the iPhone will be a “complete redesign but the details are thin gruel at this point Hold not these rumors close to your chest in hope my friends lest they disappear into a puff of whimsy This complete redesign will reportedly see the look a lot more like the iPhone with a band running around the outside of the device That makes sense given how beloved the s design was and how those square edges have recently returned to Apple s design language The hints also suggest that with a marginally thicker body the camera lenses will be flush with the back Another rumor says the may ditch the notch in favor of a hole punch front camera or maybe only for the Pro models Plus there are the usual rumor hits including the launch of in display TouchID and the end of the iPhone Mini Just remember we re a year away from any of this being confirmed so let s focus instead on all the delights of the we have yet to discover ーDan CooperHubble telescope helps find six dead galaxies from the early universeThe galaxies stopped growing despite a galactic baby boom Image processing Joseph DePasquale STScI Astronomers using the Hubble telescope and Atacama Large Millimeter Submillimeter Array ALMA have found six “dead galaxies These are galaxies that have run out of the cold hydrogen necessary for star formation despite being formed during the stellar equivalent of a baby boom The discovery of these galaxies is testament both to the enduring power of the Hubble and the ingenuity of the astronomers to pull these images from the heavens But the question of what happened to those galaxies is one that will dog scientists from now until we ve developed some pretty impressive faster than light travel Continue Reading New iPad mini owners report jelly scrolling problemsNot a good look for the brand new slate Valentina PalladinoIf your brand new iPad Mini is operating a little weird don t worry you are not the only person in this particular predicament There are multiple reports of users talking about jelly scrolling where one side of the screen moves at a different rate to the other Apple hasn t responded yet to the claims but it s probably already scrambling to work out the cause as we speak At the same time Apple has reportedly revealed that TV has fewer than million subscribers in the US and Canada The reason for the potentially embarrassing admission The smaller size apparently means it can pay its film and TV crews lower rates compared to Netflix Continue Reading NASA s AR graphic novel is meant to recruit a new wave of astronauts First Woman tells the tale of Callie Rodriguez as she walks on the moon NASATo celebrate National Comic Book Day NASA has published a graphic novel First Woman to tell the story of the first woman to walk on the moon The currently fictional tale is designed to spark the public s interest in the Artemis missions and encourage more people to sign up as astronauts Download the app for Android or iOS and you can also explore the Orion spacecraft and tour the lunar surface in AR Continue Reading Samsung hopes to copy and paste the brain to D chip networksIt wants to borrow the structure of a brain to build a brain like chip Researchers at Harvard and engineers at Samsung believe they can create better artificial intelligences if the chips used to make them mirror the structures of our own brains The teams are proposing a method to copy the way our neurons are wired on to a D neuromorphic chip Don t worry if that sounds like a lot because it s not likely to happen in the real world for a while at the very least The human brain has more than billion neurons and a thousand times more synapses so it s not as if anyone could just build one of these in their garage Continue Reading The biggest news stories you might have missedAmazon says James Bond movies will still be released in theatersNintendo is releasing a six button Genesis controller for Switch but only in JapanTesla drivers can now request Full Self Driving beta testsGalaxy S Ultra leak suggests Samsung will include the Note s S Pen slot 2021-09-27 11:15:02
海外TECH CodeProject Latest Articles What Do You Need to Pass AWS Cloud Developer Associate Exam https://www.codeproject.com/Tips/5313750/What-Do-You-Need-to-Pass-AWS-Cloud-Developer-Assoc associate 2021-09-27 11:16:00
海外TECH CodeProject Latest Articles The Hitchhiker's Guide to Laravel Vapor https://www.codeproject.com/Tips/5313769/The-Hitchhikers-Guide-to-Laravel-Vapor vapor 2021-09-27 11:04:00
金融 RSS FILE - 日本証券業協会 教員向けセミナー https://www.jsda.or.jp/gakusyu/edu/seminar/teacher_seminar.html 教員 2021-09-27 12:00:00
海外ニュース Japan Times latest articles Japan panel approves second drug for mildly ill COVID-19 patients https://www.japantimes.co.jp/news/2021/09/27/national/science-health/sotrovimab-japan-panel-approval/ health 2021-09-27 20:36:44
海外ニュース Japan Times latest articles ‘Colorful’: A second chance at a full life https://www.japantimes.co.jp/culture/2021/09/27/books/book-reviews/colorfu/ Colorful A second chance at a full lifeBesides the requisite recently deceased soul and guardian angel “Colorful Eto Mori s English language debut released on July from Counterpoint Press offers a unique take 2021-09-27 20:10:38
海外ニュース Japan Times latest articles ‘The Baseball Widow’: A moving read on isolation https://www.japantimes.co.jp/culture/2021/09/27/books/book-reviews/the-baseball-widow/ The Baseball Widow A moving read on isolationAfter a succession of young adult novels Shikoku based writer Suzanne Kamata returns to adult fiction with “The Baseball Widow out from Wyatt MacKenzie Publishing on Oct 2021-09-27 20:00:51
ニュース BBC News - Home Labour conference: Reeves promises £28bn a year to make economy greener https://www.bbc.co.uk/news/uk-politics-58699072?at_medium=RSS&at_campaign=KARANGA battery 2021-09-27 11:52:06
ニュース BBC News - Home Labour conference: Angela Rayner renews attack on Johnson in scum row https://www.bbc.co.uk/news/uk-politics-58708009?at_medium=RSS&at_campaign=KARANGA comments 2021-09-27 11:12:46
ニュース BBC News - Home Mr Goxx, the crypto-trading hamster beating human investors https://www.bbc.co.uk/news/technology-58707641?at_medium=RSS&at_campaign=KARANGA human 2021-09-27 11:52:15
ビジネス 不景気.com グリーンズを猶予期間入り銘柄指定、29億円の債務超過で - 不景気.com https://www.fukeiki.com/2021/09/greens-caution.html 債務超過 2021-09-27 11:52:55
ビジネス 不景気.com 第一商品に特設注意市場銘柄の指定継続、不適切会計で - 不景気.com https://www.fukeiki.com/2021/09/daiichi-shohin-caution2.html 不適切会計 2021-09-27 11:41:28
サブカルネタ ラーブロ 中華そば 紅 -KURENAI-@小平市<鶏白湯> http://feedproxy.google.com/~r/rablo/~3/Xlp3vmW6rBU/single_feed.php kurenai 2021-09-27 12:00:40
GCP Google Cloud Platform Japan 公式ブログ Backup for GKE の発表: GKE ワークロードを保護する最も簡単な方法 https://cloud.google.com/blog/ja/products/storage-data-transfer/google-cloud-launches-backups-for-gke/ GoogleCloudチームは、あらゆるワークロードに最適なKubernetesサービスを提供するために尽力しており、お客様がGoogleのプラットフォームで挙げられる成果がモチベーションとなっています。 2021-09-27 12:00:00
北海道 北海道新聞 道外の地方百貨店5社と販売サイト 帯広の藤丸 地元名産品を相互紹介 https://www.hokkaido-np.co.jp/article/593606/ 道外 2021-09-27 20:16:00
北海道 北海道新聞 陸上日本選手権は来年6月前半 22年度の大会日程を承認 https://www.hokkaido-np.co.jp/article/593605/ 日本選手権 2021-09-27 20:14:00
北海道 北海道新聞 夕陽ノロッコ号運行開始 観光列車29日まで 釧路―塘路間 https://www.hokkaido-np.co.jp/article/593603/ 観光列車 2021-09-27 20:08:00
北海道 北海道新聞 連休後半は一定の人出 札幌圏の観光施設など https://www.hokkaido-np.co.jp/article/593602/ 大型連休 2021-09-27 20:02:00
IT 週刊アスキー 『ソニックカラーズ アルティメット』のゲーム要素を紹介する「スポットライト#3」が公開! https://weekly.ascii.jp/elem/000/004/070/4070272/ youtube 2021-09-27 20:05:00
海外TECH reddit うんちする度に出産みたいに苦しみながら出してる https://www.reddit.com/r/lowlevelaware/comments/pwevy1/うんちする度に出産みたいに苦しみながら出してる/ wlevelawarelinkcomments 2021-09-27 11:16:27
GCP Cloud Blog JA Backup for GKE の発表: GKE ワークロードを保護する最も簡単な方法 https://cloud.google.com/blog/ja/products/storage-data-transfer/google-cloud-launches-backups-for-gke/ GoogleCloudチームは、あらゆるワークロードに最適なKubernetesサービスを提供するために尽力しており、お客様がGoogleのプラットフォームで挙げられる成果がモチベーションとなっています。 2021-09-27 12:00:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)