投稿時間:2022-03-10 23:38:48 RSSフィード2022-03-10 23:00 分まとめ(46件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Google、ロシアの「Google Play」での課金システムを一時停止へ − AppleのApp Storeでは購入出来なくなったとの報告 https://taisy0.com/2022/03/10/154475.html apple 2022-03-10 13:09:17
AWS AWS Compute Blog Building serverless multi-Region WebSocket APIs https://aws.amazon.com/blogs/compute/building-serverless-multi-region-websocket-apis/ Building serverless multi Region WebSocket APIsThis blog post shows how to use the AWS serverless platform to build a multi regional chat application over WebSockets With the cross Region event routing of EventBridge the architecture is resilient as well as extensible 2022-03-10 13:50:59
AWS AWS Startups Blog Camino Financial Is Using AI Technology to Loan with Empathy https://aws.amazon.com/blogs/startups/camino-financial-is-using-ai-technology-to-loan-with-empathy/ Camino Financial Is Using AI Technology to Loan with EmpathyCamino Financial is dedicated to helping small businesses grow to reach their potential Leading with empathy this family founded financial technology platform startup aims to bring affordable credit to under banked Latinx micro businesses and empower underrepresented communities to build generational wealth 2022-03-10 13:31:33
python Pythonタグが付けられた新着投稿 - Qiita 次元圧縮を片っ端から試してみた(t-SNE, PCA, MDS, UMAP) https://qiita.com/hkharmfulbear/items/a19dff8f3c637fa3bc12 最近は雑談の好きあらばQiita書いてますアピールをしている私なのですが、tSNE読み方がわからない方は過去の私の記事を参照してくださいに付随してUMAPという次元圧縮手法の方がいいらしいよっていうことを教えていただいたので今日はそのネタでいきたいと思います。 2022-03-10 22:59:31
python Pythonタグが付けられた新着投稿 - Qiita Python VS EV3-G ~高速化~ ~ev3fast~ https://qiita.com/kikou0517/items/669e0b8c0d5e816bee6c この記事によると、約倍高速化されるそう。 2022-03-10 22:46:56
python Pythonタグが付けられた新着投稿 - Qiita Herokuで自然言語処理ライブラリspaCy/GiNZAのオンラインデモサイトを立ててみた https://qiita.com/chai31/items/ac27d35eae188bd1fa45 無料プランもあり、簡単にWebアプリをホスティングすることができます。 2022-03-10 22:10:17
js JavaScriptタグが付けられた新着投稿 - Qiita PixiJS https://qiita.com/takeshisakuma/items/2fc20a4b96f35433b27a 2022-03-10 22:42:43
js JavaScriptタグが付けられた新着投稿 - Qiita bind()とthisは、セットに理解するのがいい。 https://qiita.com/masash49/items/5fecf454ff2c47d040a6 testFunkのままにすることができました続いて、bindにshowNameを入れてみます。 2022-03-10 22:22:49
js JavaScriptタグが付けられた新着投稿 - Qiita React環境構築とLinter・Formatter設定 https://qiita.com/Ryotarosu22/items/36b0a15ada020072c548 npmコマンドを利用することでインターネット上のリポジトリからNodeパッケージをインストールしたり、パッケージのバージョン管理をするnpxNodePackageを実行executeするコマンドnpxはNodejsのパッケージランナーツールです。 2022-03-10 22:05:19
Ruby Rubyタグが付けられた新着投稿 - Qiita rails consoleでメソッドの一覧や定義場所を確認する https://qiita.com/raw8bridge/items/edef9a77267be6dfd1e1 railsconsoleでメソッドの一覧や定義場所を確認するはじめにRailsでコードを書いているときにメソッドの有無や定義場所を調べたいとなることがあったので、方法をまとめておきます。 2022-03-10 22:13:01
Ruby Railsタグが付けられた新着投稿 - Qiita rails consoleでメソッドの一覧や定義場所を確認する https://qiita.com/raw8bridge/items/edef9a77267be6dfd1e1 railsconsoleでメソッドの一覧や定義場所を確認するはじめにRailsでコードを書いているときにメソッドの有無や定義場所を調べたいとなることがあったので、方法をまとめておきます。 2022-03-10 22:13:01
技術ブログ Developers.IO Simplify your Lambda dependencies with Lambda Layers https://dev.classmethod.jp/articles/simplify-your-lambda-dependencies-with-lambda-layers/ Simplify your Lambda dependencies with Lambda LayersProduction grade lambda functions will import many rd party libraries which makes bundle size of lambda too 2022-03-10 13:42:06
技術ブログ Developers.IO Auth0のEnterprise Connectionで「Connection button」を有効にしてみた https://dev.classmethod.jp/articles/behavior-at-login-when-connection-button-is-enabled-in-enterprise-connection-of-auth0/ enterp 2022-03-10 13:34:08
海外TECH MakeUseOf Why YouTube Is Offering Big Money to Popular Podcasters https://www.makeuseof.com/youtube-offering-big-money-to-popular-podcasters/ money 2022-03-10 13:13:51
海外TECH MakeUseOf iPad Air 5 vs. iPad Air 4: What’s New? https://www.makeuseof.com/ipad-air-5-vs-ipad-air-4/ worth 2022-03-10 13:10:09
海外TECH MakeUseOf Microsoft Is Making Windows 11's Search Function Better Than Ever https://www.makeuseof.com/microsoft-windows-11-search-improvements/ Microsoft Is Making Windows x s Search Function Better Than EverThe Search tool will soon show you your work files your available Microsoft Reward points and that one person s birthday you keep forgetting 2022-03-10 13:04:28
海外TECH DEV Community Near duplicate image detection https://dev.to/neuml/near-duplicate-image-detection-309k Near duplicate image detectionThis article is part of a tutorial series on txtai an AI powered semantic search platform txtai executes machine learning workflows to transform data and build AI powered semantic search applications This article will give an overview of how perceptual image hashes can be used to detect duplicate and near duplicate images Install dependenciesInstall txtai and all dependencies pip install txtai pipeline textdistance wget N tar xvzf tests tar gz Generate hashesThe example below generates perceptual image hashes for a list of images import globfrom PIL import Imagefrom txtai pipeline import ImageHashdef show image width height image size return image resize int width int width height width Get and scale imagesimages Image open image for image in glob glob txtai jpg Create image pipelineihash ImageHash Generate hasheshashes ihash images hashes cfeffff ddffbfbf ffdffff cff ffffdf fefcfc ffdcffff fff cce fecc Hash searchNext we ll generate a search hash to use to find similar near duplicate images This logic takes a section of an image and generates a hash for that Select portion of imagewidth height images size Get dimensions for middle of imageleft width width top height height right width width bottom height height Crop imagesearch images crop left top right bottom show search Now let s compare the hash to all the image hashes using Levenshtein distance We ll use the textdistance library for that import textdistance Find closest image hash using textdistanceshash ihash search Calculate distances for search hashdistances int textdistance levenshtein distance h shash for h in hashes Show closest image hashlow min distances show images distances index low And as expected the closest match is the original full image Generate hashes with Embeddings indexesNext we ll add a custom field with a perceptual image hash and a custom SQL function to calculate Levenshtein distance An index of images is built and then a search query run using the distance from the same search hash from txtai embeddings import Embeddingsdef distance a b if a and not b return len a if not a and b return len b if not a and not b return return int textdistance levenshtein distance a b Create embeddings index with content enabled The default behavior is to only store indexed vectors embeddings Embeddings path sentence transformers nli mpnet base v content True objects image functions distance Create an index for the list of textembeddings index uid object image text ihash image None for uid image in enumerate images Find image that is closest to hashshow embeddings search f select object from txtai order by distance text shash object And just like above the best match is the original full image Wrapping upThis article introduced perceptual image hashing These hashes can be used to detect near duplicate images This method is not backed by machine learning models and not intended to find conceptually similar images But for tasks looking to find similar near duplicate images this method is fast and does the job 2022-03-10 13:12:31
海外TECH DEV Community Which Web Development Stacks to Use in 2022 - Guide for Business Owners https://dev.to/duomly/which-web-development-stacks-to-use-in-2022-guide-for-business-owners-1gm6 Which Web Development Stacks to Use in Guide for Business OwnersThis article was originally published at Web development stacks are the combinations of software used for developing websites They can be used for front end back end or full stack web development Different stacks are used for various purposes and each has its own advantages and disadvantages In the most popular web development stacks will be ReactJS and NodeJS These stacks are extremely versatile and can be used for various purposes They are both very popular among developers and they are both backed by large companies Facebook and Google respectively If you re interested in learning more about web development stacks and which ones will be popular in be sure to read the whole article What are web development stacks Web development stacks are collections of software that are used to create websites These collections can be differentiated by the front end and back end services they offer A stack can also be defined as a group of technologies used together to create a website Technology is constantly changing and progressing As web development moves forward it becomes more difficult to understand which technologies you should learn first to develop your skills You need to have good guidance to figure that out This will become even more important during the next years when digitalization makes further headways into all aspects of business operations across industry sectors With new apps being deployed for everything from internet marketing to cyber security web development will become a necessary skill for full stack web developers and business owners looking to keep up with their competition Which web development stacks use in There have been dramatic changes in web development technology during the past year The big languages with the most traction are Python Javascript and Java The front end stack in is expected to be primarily composed of various tools that support Javascript based frameworks like Angular or React These programming languages will continue to enjoy widespread adoption despite growing concerns over the security of open source codebases On the back end side of things traditional stacks based on PHP MySQL will make way for NodeJS MongoDB driven by companies desire to build their database architecture with common NoSQL technologies What are the most popular web development stacks for full stack developers Python is still popular for full stack web development But Javascript technologies like NodeJS are gaining ground with the rapidly growing popularity of front end tools like Angular and React Most web development stacks in will still be frameworks where the front end is written with Javascript Still developers are looking beyond current solutions to see how new technologies can help them build better applications Most Popular Front End Frameworks React React is a JavaScript library developed by Facebook focused solely on front end web development It became popular in and it has never been surpassed in terms of usage with a rough estimate of around of developers using React This especially makes sense when one considers the most important features It is lightweight this means React offers significant performance advantages over weighed down alternatives such as JQuery or AngularJS It was developed by Facebook which explains why it s so heavily adopted within their products and throughout the industry Front end tools like angular and React js are solid solutions for businesses looking to create cutting edge resources Angular Angular is a front end web development framework that was created by Google It is based on JavaScript and used to create single page applications AngularJS became popular in and it is estimated that around of developers use it Some of the key features of Angular include It offers two way data binding allowing you to bind HTML controls values to application data and vice versa This makes the user interface more responsive since any changes to the data are immediately reflected in the UI Vue Vue js is a front end web development framework created by Evan You in It is based on JavaScript and used to create single page applications Vue has become popular relatively quickly with an estimate of around of developers using it This growth is mainly due to the following reasons It offers two way data binding which allows you to bind the values of HTML controls to application data and vice versa This makes the user interface more responsive since any changes to the data are immediately reflected in the UI It has a small library size Most Popular Back End Technologies Python DjangoPython and Django are a popular combination for web development Python is a universal language used in various contexts including back end development data science and machine learning Django is a web framework written in Python and it is designed for rapid development Together Python and Django make a powerful combination for creating web applications Django provides the structure and Python provides the flexibility This combination allows developers to quickly build prototypes and MVPs There are several reasons why Python and Django are so famous for web development First both languages are easy to learn Python is a relatively simple language to learn Django follows the MVC pattern making it easy to understand how web applications work Node JS ExpressNode JS is a platform for building network applications It uses JavaScript on the back end and it is popular for its fast performance and scalability Express is a web framework built on top of Node JS and it allows developers to quickly create web applications Together Node JS and Express make a powerful combination for web development The main benefits of using Node JS and Express are Node JS is fast it can handle a large number of connections at the same time and it doesn t require any additional software or hardware Node JS is scalable you can add more nodes to your cluster to handle increased traffic Express is easy to use PHPPHP is a popular programming language that is used for creating web applications It is a server side language and it is used to create dynamic websites PHP is a universal language and it can be used for a variety of purposes including back end development front end development and building APIs PHP is a popular language for two main reasons First it is easy to learn The syntax is simple and it follows the familiar structure of C style languages Second PHP is fast and efficient It can handle many requests simultaneously and it doesn t require any additional software or hardware This makes PHP a popular choice for web developers Most Popular Full Stack Technologies MEANThe MEAN stack is a popular full stack development framework that uses JavaScript on the back end and front end It is made up of four primary technologies   MongoDB a NoSQL database that uses JSON to store data Express a web framework for building websites and applications Angular a front end development framework Node JS a platform for building network applications The MEAN stack is popular for a number of reasons It uses JavaScript on both the back end and front end making it easy to learn and use The technologies that make up the MEAN stack are all open source projects which means they are free to use The MEAN stack has a small library size making it quick to load MERNThe MERN stack is a full stack development framework that uses JavaScript on the back end and front end It is made up of four main technologies  MongoDB a NoSQL database that uses JSON to store data Express a web framework for building websites and applications React a front end development framework Node JS a platform for building network applications The MERN stack is famous for a number of reasons It is a relatively new and modern frameworkIt is not language specific Developers can use the same skills they use to work on front end web development projects to work with MERN  It also has full compatibility with Node js meaning that most NPM packages will run without any issues in both environments unlike many other frameworks such as Django  Finally React is used for the front end making it easy for web designers to get involved in front end project work Python Vue DjangoThe Python Vue Django stack is a popular web development stack that uses three main technologies  Python a widely used programming language that is known for its ease of use and readability Vue a front end development framework that is gaining in popularity due to its ease of use and flexibility Django a web framework for Python that provides structure and organization to web development projects The Python Vue Django stack is popular for a number of reasons Python is a widely used programming language known for its ease of use and readability Vue is a front end development framework gaining popularity due to its ease of use and flexibility Django is a web framework for Python that provides structure and organization to web development projects LAMPThe LAMP stack is a popular web development stack that uses four main technologies  Linux a widely used open source operating system Apache a popular web server software MySQL a popular open source database management system PHP a popular programming language that is used for web development The LAMP stack is popular for a number of reasons Firstly Linux is a widely used open source operating system  Secondly Apache is a popular web server software  Thirdly MySQL is a popular open source database management system  Finally PHP is a popular programming language used for web development Why are they important for business owners to know about Web development stacks are essential for business owners to know about because they provide a framework for building websites and applications  Each web development stack uses different technologies which means that developers familiar with one stack may not be able to work with another stack This can make it difficult for business owners to find developers familiar with their specific technology stack Another critical factor to consider when choosing a web development stack is development cost Each stack has a different cost associated with it so business owners need to be aware of this before deciding For example the MERN stack is a popular choice because it is relatively affordable and high quality compared to other stacks The most popular web dev stacks in will be ReactJS and NodeJS ReactJS and NodeJS are two of the most popular web development stacks in They are both relatively new and modern frameworks They are also not language specific so developers can use the same skills they use to work on front end web development projects to work with ReactJS and NodeJS  One of the main reasons ReactJS and NodeJS are so popular is that they are both very affordable for the high quality software they offer Businesses owners need to be aware of this before deciding which stack to choose If you need software development services please contact us today We ll be happy to discuss your project with you and provide a quote for the work www labs duomly comThank you for reading Radek from Duomly 2022-03-10 13:10:48
海外TECH DEV Community Page Factory in Selenium For Web Automation Testing https://dev.to/lambdatest/page-factory-in-selenium-for-web-automation-testing-4c3l Page Factory in Selenium For Web Automation TestingAutomation testing has become an absolute necessity in an agile and fast paced business environment with an immense focus on accelerated time to market However as far as automation is concerned Selenium automation testing still reaps the maximum benefits in terms of test coverage and browser coverage As the product development progresses automation testers are also on the war footing to ensure that test scenarios are in line with features being implemented in the product For example if the tests are implemented without keeping scalability and maintainability in mind minimal changes in the web application s UI would change the Selenium test automation scripts The bigger challenge is to keep the test implementation more decoupled from the web elements used in the test scripts Page Object Model in Selenium also called POM is a popular design pattern in Selenium used to create an object repository for storing WebElements In this blog on Selenium Page Factory tutorial we deep dive into Page Factory in Selenium which makes the usage of Page Objects simpler amp easier through the factory class in Selenium WebDriver Page Factory in Selenium can be considered the optimized Page Object Model POM for Selenium WebDriver Let s look at what is Page Factory in Selenium along with deep diving into the difference between Page Factory and Page Object Model in Selenium testing If you re new to Selenium and wondering what it is then we recommend checking out our guide What is Selenium What is Page Factory in SeleniumPage Factory is an inbuilt Page Object Model POM for Selenium WebDriver that is more optimized than POM At a high level Page Factory in Selenium can be considered as the extension of Page Objects Page Factory class in Selenium is the catalyst that makes it easier and simpler to use Page Objects It is safe to mention that Page Factory is a combination of POM enabled through Page Factory Class in Selenium Shown below is the top level difference of Page Object Model POM and Page Factory Though Page Factory in Selenium can be used in many ways it surely helps improve the maintainability and re usability aspects of the test implementation Introduction to PageFactory Class in SeleniumTo support the Page Object or PageObject design pattern Selenium WebDriver s support library contains the PageFactory class that makes the usage of Page Objects simpler and easier When using Page Factory in Selenium automation testers can use the FindBy annotation for locating the web elements These web elements are defined in web page classes or Page Objects The major benefit of the FindBy annotation is that it lets you initialize page elements without using the FindElement or FindElements in Selenium PageFactory class in Selenium also provides the initElements method for initializing the web elements In further sections of this Selenium Page Factory tutorial we deep dive into the most widely used methods of the class This will be further helpful when we demonstrate the Page Factory design pattern in Selenium using an automation example How to initialize Page Factory in SeleniumFor using POM with Page Factory the Page Objects or page classes containing the web elements or element locators for the page need to be initialized using relevant methods of the Page Factory class This is done to ensure that the web elements are initialized before any relevant actions are performed One of the Selenium best practices with Page Factory is to create all the web element variables at the beginning of the class and initialize those variables when the page is loaded The initialization of web elements can be done through the use of initElements methods of the PageFactory class Here are some of the common annotations and methods that are widely used in Page Factory with Selenium FindBy annotation in Page FactoryThe FindBy annotation is used to declare and initialize web element variables using the desired web locators in Selenium Hence you can find the web elements using popular locators like ID Name Link Text Class Name etc The first step is passing the attribute and its value or element locator for locating the web element to the FindBy annotation The second step is declaring the variable so that it can be used further in the test implementation There are two ways in which FindBy annotation can be used Option FindBy how How ID using element id private WebElement element name How The org openqa selenium support How class in Selenium provides Enum values or contents that signify the desired locator e g CLASS NAME ID CSS ID OR NAME NAME LINK TEXT PARTIAL LINK TEXT XPATH TAG NAME etc using is used for assigning value to the static variableOption A more concise form FindBy id element id private WebElement element name In the syntax shown above we have used the ID property for locating the element element id Apart from ID you can also use popular locators like CSS Selectors in Selenium Name locator Class Name locator XPath locators and more If there are multiple elements matching given locators you can use FindAll annotation with multiple FindBy annotations FindAll FindBy how How ID using element FindBy className element field private WebElement element name ExampleWe located the button with the link text Start Free Testing on the LambdaTest homepage using the Inspect tool in Google Chrome Below are the two ways through which FindBy annotation is used to declare the web element that was located using the XPath property Example Option Below are the two ways through which FindBy annotation is used to declare the web element that was located using the XPath property Example Option Example Option FindBy xpath a Start Free Testing private WebElement SignUpButton initElements method in Page FactoryOnce the required web elements on the page are located using the appropriate web locators the initElements method is used for declaring and initializing the requisite web element variables initElements is an overloaded function or method that can be used in multiple ways based on its arguments Here are some of the ways in which the web element variables can be initialized using the initElements method of Page Factory in Selenium Option initElementsIt creates an instance of the given class and sets a lazy proxy for each of the WebElements and List fields that have been declared earlier using the FindBy annotation An exception is thrown if the class cannot be instantiated Syntaxpublic static lt T gt T initElements WebDriver driver java lang Class lt T gt pageClassToProxy Type ParametersT Class of the PageObjectInput Parametersdriver Selenium WebDriver used for locating the web elementspageClassToProxy Class that will be initialized ReturnsThe method returns an instantiated instance of the class with WebElement and List fields that are proxied ExampleSamplePage sample page PageFactory initElements web driver SamplePage class Option initElementsIt is largely similar to the initElements WebDriver Class method except that it will replace the fields of an already instantiated object Syntaxstatic void initElements​ WebDriver driver java lang Object page Input Parametersdriver Selenium WebDriver used for locating the web elementspage Object with WebElement and List fields that have to be proxied ExampleSamplePage sample page new SamplePage web driver PageFactory initElements web driver sample page Here we create an instance of the SamplePage class and the created object is sample page The initElements method of the PageFactory class in Selenium initializes all the WebElements on the page SamplePage using FindBy annotation The initialization of the web elements can also be done inside the web page class constructor public CreateAccountPage WebDriver web driver this driver web driver Initialize Elements PageFactory initElements web driver this Apart from the two above popular ways for initializing the web element variables when using Page Factory in Selenium you can also use the following two approaches Option initElementsstatic void initElements​ ElementLocatorFactory factory java lang Object page It is very similar to other initElements methods the major difference is that it takes ElementLocatorFactory that provides the mechanism for finding the respective elements Option initElementsstatic void initElements​ FieldDecorator decorator java lang Object page It is very much similar to other initElements methods the major difference is that it takes a FieldDecorator used for decorating the fields How To Initialize Web Elements In Page Factory in SeleniumAs seen in the previous section of this Selenium Page Factory tutorial the web element variables need to be initialized before any interaction can be performed on them The initElements method is used for initializing the web elements in the web page classes or Page Objects Let s take a simple example where we locate the desired web element using the appropriate web locators and initialize the same using initElements method In this example we locate the Start Free Testing link using XPath in Selenium FindBy how How XPATH using a Start Free Testing CacheLookupprivate WebElement StartTestingButton or FindBy xpath a Start Free Testing CacheLookupprivate WebElement StartTestingButton Here the web element StartTestingButton is cached using the CacheLookup annotation This annotation instructs Selenium to cache the web element instead of locating the element each time the web page is loaded Though CacheLookup offers a significant amount of performance gains it should only be used for static web elements i e elements that do not change after each page reload The initElements method is used for initializing the web elements on the page public HomePage WebDriver driver this driver driver PageFactory initElements driver this We use the button click in Selenium to perform a click operation on the Start Free Testing button using the XPath locator public void clickOnStartTestingButton StartTestingButton click If you plan to use other web locators with Page Factory in Selenium make sure to check out our detailed blog on using web locators with Page Factory What Is Lazy Initialization In Page FactorySo far in this Selenium Page factory tutorial we have seen that the initElements method is used for initializing Page Objects of the Page Object class However does this necessarily mean that all the required WebElements on the page or AUT are located and stored at one shot Well the elements are not located and stored beforehand Selenium WebDriver will locate the respective WebElement only when that particular element or Page Object is in use or a relevant operation is performed on the said element In case the required Web Element is not available on the page noSuchElementException Selenium exception is raised to indicate that the desired is not present in the DOM If you are intrigued to know about Selenium exceptions check out our detailed blog on Exceptions in Selenium WebDriver To demonstrate how Page Factory in Selenium WebDriver performs Lazy Initialization we navigate to the LambdaTest SignUp Page and try entering a First Name into the Name field However the catch is that we have used an incorrect web locator to locate that element Instead of the right XPath input name name we would be using the wrong XPath value i e input name names FindBy xpath input name names WebElement full name Hence the desired element is not located on the page resulting in a WebDriver exception Now that we have covered the essentials of Page Factory in Selenium let s get our hands dirty with a working test scenario In this Selenium Page Factory example the web pages are represented as Java classes The combination of FindBy FindAll or other annotations and appropriate Selenium methods in the PageFactory class are used for locating web elements and initializing the same for Selenium automation testing With TestNG certification you can challenge your skills in performing automated testing with TestNG and take your career to the next level Here s a short glimpse of the TestNG certification from LambdaTest Demonstration Page Factory in Selenium For JavaFor this Selenium Page Factory Tutorial we would be automating the LambdaTet signup process by navigating to the LambdaTest homepage and then entering the relevant details on the sign up page The demonstration will be performed using the TestNG framework in Selenium The execution is performed on the cloud Selenium Grid provided by LambdaTest Cloud testing with Selenium provides many benefits improved test coverage in terms of browser and OS combinations accelerated time to market and exceptional product quality The demo for Page Factory in Selenium is performed on the Chrome latest version Windows combination for simplification The desired capabilities are generated using the desired capabilities generator on LambdaTest A valid combination of user name and access key is required to access the LambdaTest cloud grid details of which are available in the LambdaTest profile section Test ScenarioLocate the Start Free Testing button on the LambdaTest pageClick on the buttonEnter the details required for new registrationAssert if the Verify Your Email link does not openProject SetupWe would be creating a Maven project in IntelliJ IDEA for demoing Page Factory in Selenium Though we are using IntelliJ IDEA you can use an IDE of your choice e g Eclipse In case you are getting started with IntelliJ or Eclipse for Java development make sure to check out our blogs that help you with the following Configure Selenium with IntelliJConfigure Selenium with EclipseShown below is the directory structure To get started we have created a new package com pagefact under src test java folder Under the newly created package we have created two more packages com pagefact pages Includes the Page Objects or Page Classes where the combination of FindBy annotation and initElements method is used for preparing the backbone for the tests com pagefact tests Includes the test implementation that will be using the respective page classes to perform relevant operations on the WebElements in the DOM With this we are all set to create the required Page Object classes and the tests that would be using these page classes ImplementationBefore we kick start the implementation let s add the required project dependencies in the project POM file lt xml version encoding UTF gt lt project xmlns xmlns xsi xsi schemaLocation gt lt modelVersion gt lt modelVersion gt lt groupId gt SeleniumTEST lt groupId gt lt artifactId gt PageObjectFactoryDemo lt artifactId gt lt version gt SNAPSHOT lt version gt lt properties gt lt project build sourceEncoding gt UTF lt project build sourceEncoding gt lt properties gt lt dependencies gt lt dependency gt lt groupId gt org testng lt groupId gt lt artifactId gt testng lt artifactId gt lt version gt lt version gt lt scope gt test lt scope gt lt dependency gt lt dependency gt lt groupId gt org seleniumhq selenium lt groupId gt lt artifactId gt selenium java lt artifactId gt lt version gt rc lt version gt lt dependency gt lt dependency gt lt groupId gt org seleniumhq selenium lt groupId gt lt artifactId gt selenium chrome driver lt artifactId gt lt version gt rc lt version gt lt dependency gt lt dependency gt lt groupId gt io github bonigarcia lt groupId gt lt artifactId gt webdrivermanager lt artifactId gt lt version gt lt version gt lt dependency gt lt dependency gt lt groupId gt org slfj lt groupId gt lt artifactId gt slfj nop lt artifactId gt lt version gt lt version gt lt scope gt test lt scope gt lt dependency gt lt dependencies gt lt build gt lt defaultGoal gt install lt defaultGoal gt lt plugins gt lt plugin gt lt artifactId gt maven compiler plugin lt artifactId gt lt version gt lt version gt lt configuration gt lt source gt lt source gt lt target gt lt target gt lt configuration gt lt plugin gt lt plugin gt lt groupId gt org apache maven plugins lt groupId gt lt artifactId gt maven surefire plugin lt artifactId gt lt version gt lt version gt lt configuration gt lt suiteXmlFiles gt lt TestNG suite XML files gt lt suiteXmlFile gt testng xml lt suiteXmlFile gt lt suiteXmlFiles gt lt configuration gt lt plugin gt lt plugin gt lt groupId gt org apache maven plugins lt groupId gt lt artifactId gt maven surefire report plugin lt artifactId gt lt version gt M lt version gt lt plugin gt lt plugins gt lt build gt lt project gt We are using the Selenium RC i e rc version for testing In case you have not tried out Selenium yet make sure to check our detailed Selenium tutorial that covers all the essential aspects like relative locators in Selenium mocking geolocation with Selenium Selenium Grid etc that are considered to be game changers in Selenium TestNG v is used to implement group and test the respective scenarios If you are new to the TestNG framework or more well versed with the JUnit framework you can refer to JUnit vs TestNG comparison to understand the major differences between the two test automation frameworks Page Objects or Page Classes As mentioned earlier in this Selenium Page Factory tutorial all the page classes are created under the package com pagefact pagesHomePage Page ObjectThe very first page that we need to create is that of LambdaTest Homepage For this we create a HomePage class under com pagefact pagespackage com pagefact pages import org openqa selenium WebDriver import org openqa selenium WebElement import org openqa selenium remote RemoteWebDriver import org openqa selenium support FindBy import org openqa selenium support How import org openqa selenium support PageFactory public class HomePage Local Selenium Grid private WebDriver driver Remote Selenium Grid private RemoteWebDriver driver private static String PAGE URL FindBy how How XPATH using a Start Free Testing private WebElement StartTestingButton public HomePage RemoteWebDriver driver this driver driver driver get PAGE URL PageFactory initElements driver this public void clickOnStartTestingButton StartTestingButton click Code WalkthroughSince we are running the tests on the LambdaTest cloud grid the required packages are imported at the beginning of the implementation import org openqa selenium remote RemoteWebDriver The required packages for using the Page Factory Selenium class and FindBy annotation methods are also imported at the start import org openqa selenium support How import org openqa selenium support PageFactory Since we are running the tests on the LambdaTest cloud grid we create an instance of RemoteWebDriver in place of the local WebDriver You can check out the Selenium RemoteWebDriver tutorial to get more insights into the difference between local and remote web drivers public class HomePage private RemoteWebDriver driver As we need to perform a click operation on the button Start Free Testing we locate the web element using the FindBy annotation with the element s XPath locator You can use the Inspect Tool in Chrome or a plugin like POM Builder or SelectorsHub in Chrome to get the XPath of the desired WebElement A new web element variable i e StartTestingButton is created so that the applicable operations i e click sendKeys etc can be performed on the element FindBy how How XPATH using a Start Free Testing private WebElement StartTestingButton As discussed in the earlier section of this Selenium Page Factory tutorial we initialize the web element variables in the constructor Next the URL is set to the LambdaTest homepage so that further tests can be carried out on the web element variables of that page public HomePage RemoteWebDriver driver this driver driver driver get PAGE URL PageFactory initElements driver this Since the web element variable is a button we create a method to provide a clicking mechanism on the web element variable i e StartTestingButton public void clickOnStartTestingButton StartTestingButton click SignUpPage Page ObjectThe purpose of this page class is to check whether the click on the Start Free Testing is successful and the page has navigated to the Account Creation page For this we create a SignUpPage class under com pagefact pagespackage com pagefact pages import org openqa selenium WebDriver import org openqa selenium WebElement import org openqa selenium remote RemoteWebDriver import org openqa selenium support FindBy import org openqa selenium support PageFactory public class SignUpPage Local Selenium Grid private WebDriver driver Remote Selenium Grid private RemoteWebDriver driver FindBy xpath h class form title private WebElement form title FindBy css btn private WebElement SignUpButton public SignUpPage RemoteWebDriver driver this driver driver PageFactory initElements driver this public boolean isLTPageOpen return form title getText toString contains Signup for Free Code WalkthroughThere is only one method in this page class whose purpose is to check the web page s title So first we create a web element variable that is located using the FindBy annotation and XPath locator in Selenium A new web element variable form title is created and the same will be used for cross checking the title of the web page FindBy xpath h class form title private WebElement form title A method named isLTPageOpen is created that returns true if the page title contains the string Signup for Free public boolean isLTPageOpen return form title getText toString contains Signup for Free CreateAccountPage Page ObjectThe purpose of this page class is to enter the requisite details in the Account Creation page where we are navigated after a click is performed on the Start Free Testing button on the HomePage For this we create a CreateAccountPage class under com pagefact pagespackage com pagefact pages import org openqa selenium WebDriver import org openqa selenium WebElement import org openqa selenium remote RemoteWebDriver import org openqa selenium support CacheLookup import org openqa selenium support FindBy import org openqa selenium support PageFactory import org openqa selenium support ui Select import java time Duration import java util concurrent TimeUnit public class CreateAccountPage Local Selenium Grid private WebDriver driver Remote Selenium Grid private RemoteWebDriver driver FindBy xpath input name name WebElement full name FindBy css name email WebElement org email FindBy xpath input id userpassword WebElement acc password FindBy xpath input name phone WebElement phone number FindBy css name designation WebElement designation FindBy css name org size WebElement org size FindBy xpath samp class customcheckbox WebElement check box FindBy css btn WebElement create account button FindBy css recaptcha verify button CacheLookup WebElement recaptcha button public CreateAccountPage RemoteWebDriver driver this driver driver PageFactory initElements driver this public void setName String fullname full name clear full name sendKeys fullname public void setEmail String email org email clear org email sendKeys email public void setAccount password String pwd acc password clear acc password sendKeys pwd public void setDesignation String desig name Select dropdown dropdown new Select designation dropdown selectByValue desig name public void setCompanySize String comp size Select dropdown dropdown new Select org size dropdown selectByValue comp size public void setPhone number String phonenum phone number clear phone number sendKeys phonenum public void clickAcceptTCButton check box click driver manage timeouts implicitlyWait Duration ofSeconds create account button click driver manage timeouts implicitlyWait Duration ofSeconds public boolean isVerifyPageOpen String expected title Verify Your Email Address String win title driver getTitle boolean isWinFound win title indexOf expected title true false return isWinFound Code WalkthroughIf the click operation on the Start Free Testing button on the HomePage is successful we will be navigated to the LambdaTest Account Creation page The majority of the steps remain the same as mentioned in the HomePage object creation section Since there are six fields on the Account Creation page the required web element variables are created by locating the WebElements using the appropriate web locator and FindBy annotation Here is how the element Name is located using the XPath locator in Selenium FindBy xpath input name name WebElement full name Since all the other web elements are text boxes we use either CSS XPath any other relevant locator associated with FindBy annotation Once the element is located corresponding web element variables e g full name phone number acc password etc are created so that relevant actions can be performed on them FindBy xpath input id userpassword WebElement acc password FindBy xpath input name phone WebElement phone number Once the required web elements are located and web element variables are created the initElements method is used for initializing the elements As mentioned earlier in this Selenium Page Factory tutorial the element s would be initialized only when appropriate action e g click sendKeys clear etc is performed on the same public CreateAccountPage RemoteWebDriver driver this driver driver PageFactory initElements driver this Since the elements Name Business Email Password and Phone Number are text boxes sendKeys in Selenium is used for entering the relevant information in those elements public void setName String fullname full name clear full name sendKeys fullname public void setEmail String email org email clear org email sendKeys email Designation and Company Size elements are drop down boxes Hence we use appropriate methods to handle dropdown in Selenium For example we can select the required value from the drop down s using selectByIndex int selectByValue String or other available methods public void setDesignation String desig name Select dropdown dropdown new Select designation dropdown selectByValue desig name public void setCompanySize String comp size Select dropdown dropdown new Select org size dropdown selectByValue comp size A method is created to select or check the T amp C Checkbox Then the element is located using the XPath selector A blocking wait of seconds is added to ensure the required operation is completed Though it is not considered one of the Selenium best practices we have used it only to demonstrate Page Factory s usage in Selenium You can also use explicit waits and fluent waits to add delays to handle dynamic web pages You can refer to our blog on waits in Selenium that deep dives into the integral aspects of handling dynamic web page content with appropriate delays public void clickAcceptTCButton check box click driver manage timeouts implicitlyWait Duration ofSeconds create account button click driver manage timeouts implicitlyWait Duration ofSeconds Simple Selenium Test that uses the Page ClassesNow that we have created the required Page Objects or page classes let s assemble all the pieces to create a simple Selenium test The test file i e SignUpOnLTTest java is created under the page com pagefact tests Here is the implementation of the Selenium Test package com pagefact tests import com pagefact pages import org openqa selenium WebDriver import org openqa selenium chrome ChromeDriver import java net MalformedURLException import java net URL import java time Duration import java util concurrent TimeUnit TestNG framework is used instead of JUnit Tests triggered via testng xml import org openqa selenium chrome ChromeOptions import org openqa selenium remote DesiredCapabilities import org openqa selenium remote RemoteWebDriver import org testng Assert import org testng annotations AfterClass import org testng annotations BeforeClass import org testng annotations Test public class SignUpOnLTTest Local Selenium Grid WebDriver driver Fetch details from public String username himanshu sheth public String accesskey IreQpTjhvTdZaFfouyQePZbOsEPTKpkqvUxxAWfqGKrvI public String gridURL hub lambdatest com wd hub RemoteWebDriver driver null BeforeClass public void testSetUp throws MalformedURLException Instantiate the Chrome instance local Selenium Grid driver new ChromeDriver Selenium capabilities generated using ChromeOptions capabilities new ChromeOptions capabilities setCapability browserName chrome capabilities setCapability version latest capabilities setCapability platform Windows capabilities setCapability build Java Page Factory Demo on LambdaTest capabilities setCapability name Java Page Factory Demo on LambdaTest capabilities setCapability geoLocation IN try driver new RemoteWebDriver new URL https username accesskey gridURL capabilities catch MalformedURLException e System out println Invalid grid URL catch Exception e System out println e getMessage driver manage window maximize driver manage timeouts implicitlyWait Duration ofSeconds Test public void test signupOnLambdaTest throws InterruptedException HomePage home new HomePage driver home clickOnStartTestingButton SignUpPage signup new SignUpPage driver Check if page is opened Assert assertTrue signup isLTPageOpen Create object of CreateAccountPage CreateAccountPage accountPage new CreateAccountPage driver Fill up data accountPage setName Page Factory Testing accountPage setEmail pagefactorytesting gmail com accountPage setAccount password password accountPage setPhone number accountPage setDesignation Manager accountPage setCompanySize Click on Accept T amp C and Create Account button accountPage clickAcceptTCButton Wait for a few seconds driver manage timeouts implicitlyWait Duration ofSeconds Check if page is opened if accountPage isVerifyPageOpen System out println Email address verification page is open n Wait for a few seconds driver manage timeouts implicitlyWait Duration ofSeconds System out println Page Factory demo complete n AfterClass public void tearDown System out println Close method of WebDriver Called driver close Code WalkthroughTo get started with the Selenium test we import all the Page Objects or Page Classes that are available in the com pagefact pages package import com pagefact pages The desired capabilities i e Chrome latest on Windows are generated using the Desired Capabilities Generator on LambdaTest The geolocation is set to “IN i e the site will be tested with the desired location set to India Geolocation testing in Selenium is a must for websites or web apps that target a global audience Since cross browser testing is performed on Selenium Grid hence relevant browser options i e ChromeOptions are used instead of Desired Capabilities which is used in Selenium ChromeOptions capabilities new ChromeOptions capabilities setCapability browserName chrome capabilities setCapability version latest capabilities setCapability platform Windows capabilities setCapability build Java Page Factory Demo on LambdaTest capabilities setCapability name Java Page Factory Demo on LambdaTest capabilities setCapability geoLocation IN A new instance of Remote WebDriver is created with the browser amp OS capabilities set in the earlier step Then the combination of user name and access key is used to access LambdaTest Selenium Grid i e hub lambdatest com wd hub driver new RemoteWebDriver new URL https username accesskey gridURL capabilities The newly created instance of Remote ChromeDriver instance is used across the Objects of the Page Classes that were created in the com pagefact pages package The Remote ChromeDriver initialization is a part of the testSetUp method implemented under the BeforeClass TestNG annotation TestNG annotations in Selenium aid in building a more robust framework and provide additional information about the corresponding class or method BeforeClasspublic void testSetUp throws MalformedURLException In this Page Factory in Selenium demonstration we have created a single test method i e test signupOnLambdaTest implemented under the test annotation You can also use the TestNG parameterized test to run the same test or separate tests across different input combinations e g different browsers and platforms Testpublic void test signupOnLambdaTest throws InterruptedException We first create an object of the HomePage page class Then the handle of the Remote WebDriver passes an argument to the instance of each Page Object as the same WebDriver instance has to be used across all the test method s The clickOnStartTestingButton method of the HomePage class is invoked to perform a click on the Start Free Testing button HomePage home new HomePage driver home clickOnStartTestingButton If the previous step is successful we will be navigated to the Account SignUp page Here we create an instance of the SignUpPage page class post which we check if the page title contains Signup for Free SignUpPage signup new SignUpPage driver Assert assertTrue signup isLTPageOpen The final step to account creation on LambdaTest involves creating an instance of the CreateAccountPage page object Here we pass the respective details e g full name email phone number etc to the account creation page The respective methods i e setName setEmail setAccount password etc are invoked to populate the data to the corresponding WebElements on the page CreateAccountPage accountPage new CreateAccountPage driver accountPage setName Page Factory Testing accountPage setEmail pagefactorytesting gmail com accountPage setAccount password password accountPage setPhone number accountPage setDesignation Manager accountPage setCompanySize accountPage clickAcceptTCButton The test is considered passed if the Verify your email page appears on the screen if accountPage isVerifyPageOpen System out println Email address verification page is open n Running the Page Factory in Selenium demo testSince we have not implemented a parameterized TestNG test testng xml contains the bare minimum information to invoke the tests under the com pagefact tests package lt xml version encoding UTF gt lt DOCTYPE suite SYSTEM gt lt suite name All Test Suite gt lt test verbose preserve order true name Page Factory Demo gt lt classes gt lt class name com pagefact tests SignUpOnLTTest gt lt methods gt lt include name test signupOnLambdaTest gt lt methods gt lt class gt lt classes gt lt test gt lt suite gt Since the tests are running on the cloud Selenium Grid on LambdaTest hop on to the LambdaTest Automation Dashboard to check the test execution status As shown below the test execution was successful It s A WrapSourcePage Factory and Page Object Model POM are design patterns that make it easy for QA engineers to maintain and re use code in a more effective manner Page Factory in Selenium provides more firepower to POM due to the support of important annotations and methods that simplify locating and initializing the web element variables In this Selenium Page Factory tutorial we have seen how Page Factory in Selenium can be used effectively for agile projects as Page Object classes can be reused across relevant test suites by reducing maintenance and implementation efforts Furthermore akin to POM the user interactions are abstracted from the core test implementation making it easy to adapt to the changing project requirements Do let us know how you leveraged Page Factory in Selenium test suites for expediting test suite delivery Happy Testing 2022-03-10 13:10:41
海外TECH DEV Community 42 tips for Getting Good at DevOps & Life 🚀👩🏻‍💻 https://dev.to/signoz/43-tips-for-getting-good-at-devops-life-55cp tips for Getting Good at DevOps amp Life ‍Hi Folks This is Ankit from SigNoz Sharing some tips I collected over the past few weeks talking to lots of people in DevOps Why tips you ask Because it s the answer to the ultimate question of life the universe and everything With any ado let s get started Drink enough water First of all you need to stay hydrated Adult human bodies have up to water and water has many benefits I am sure someone would have told you by now The important thing is to be conscious about it Use an app or that cool measuring bottle to drink enough water every day Get enough sleep You can t be productive unless you feel fresh We all understand the occasional sprints or all nighters where you want to build all data pipelines at once But try to have a routine around your sleep time Amongst its many health benefits it will also make your feel more happy and less stressed out Learn to focus ‍ ️The time that leads to mastery of a new technology is dependent on the intensity of your focus So focus well Use focus apps like Forest or listen to meditative music if you need to Keep exploring till you figure out what works for you to stay more focused It s one skill that you can t avoid if you want to get better Take vacations Social media is full of hustle culture Don t get carried away by that you can take mindful vacations every now and then It serves as a reminder that there is life outside code deployments and containers And don t be the only point of contact for all your app infrastructure Find a mentor ‍DevOps is always evolving at a fast rate Yes you can now access youtube videos giving you tips but nothing can replace a mentor who has seen the journey firsthand A simple trick is to look for people at positions where you would want to be a few years down the line Also don t hesitate to reach out Most people don t mind helping out if asked the right way Keep learning This applies to most things we do in life The key is to have beginner s mindset and not shy away from getting our hands dirty If there is a new tool or new technology out there which is gaining traction don t be afraid to learn it You can make learning a process so that it does not seem that daunting Sign up for more than you think you re capable of Sometimes we don t know what we re capable of There might be more challenges at your workplace or that job you think you shouldn t apply for because you don t meet their criteria Guess what many successful people have taken responsibilities which they never thought they would What s the worst that can happen Be humble Staying humble makes you a good person And no matter how experienced you are sometimes life will throw you curveballs Staying humble makes facing challenges easier You don t wonder where you went wrong and focus more on solving the problem at hand Focus on fundamentals ‍In DevOps there will always be a plethora of new tools to learn But the concepts underlying the tools don t change much If your fundamentals are strong you can easily grasp new things For example if you understand how the internet computer networks and different protocols work it will be easier for you to understand how Docker networking works If you understand Linux kernel features you can break down how containerization works Think long term Rome was not built in a day so will be your DevOps career The key is to show up every day and keep learning You should have a long term vision of where you want to see your life going and using that as a compass keep navigating Practice good habits ‍ ️Good habits are hard Our brains are wired for short term rewards But good habits like waking up early having a healthy diet can go a long way in making you more productive You should just remember that sometimes you will fail at it don t be too hard on yourself at those moments And try again There are many streak apps that can help in tricking human psychology You can check out the productive app Meditate regularly ‍ ️Often while starting out as a young professionals we don t understand the importance of mental health In spite of more awareness around mental health now there is still a long way to go A DevOps job can get very taxing mentally You will feel that things are always breaking so the key is to stay calm Learn simple breathing exercises and better if you can practice meditation Don t compare yourself with others We grow up in an environment of competition Career is also about competing somewhat But in the end you need to focus on your journey and not others You might feel left behind sometimes and know that it s okay The finish line is the same for everyone Try to get inspired when you see someone succeeding in life and not judge yourself or blame your circumstances for not being there Understand the why Learn to question your actions If you get directives to do something at your job understand why it s relevant Sometimes it won t be relevant but you should be aware of that Experience is the intuition you build over time when you observe and question things around you Ask for help ‍ ️In your career you will feel that you need to figure out everything that s given to you It s true but it doesn t mean that you can t ask for help Open source libraries are a great example of the fact that someone has faced a similar problem so be on a lookout for people who you believe can help you when you get stuck at things Learn when to ask for help We should not ask for help blindly A good thinking framework can be to list out all the things that you think might work for the problem at hand If the list gets exhausted and you have nothing more to try start looking for help This way you can also have a healthy discussion with the person you re approaching to get help from and they ll know that you tried Don t undersell yourself Know your worth This tip should be balanced out by not comparing yourself with others But you don t have to keep your eyes closed You need to know what s going on in the industry and where are the best opportunities You might think you don t deserve it but trust me and go for those things The worst that can happen is you will end up more aware of areas you need to improve Don t expect outcomes with everything Sometimes the things you try won t bear outcomes And there will be some things you need to try just for fun and learning These things have a weird way of helping us out in ways that we don t expect So don t expect everything to have outcomes learn things for fun Be patient ‍ ️Any thing that is worth having takes time in life There are no shortcuts Tech industry is very fast paced In years you can achieve a lot The key is to have patience in that timeline Learn project management ‍You will be a part of numerous scrums and sprints No job is magic but a series of steps broken down to achieve a milestone Setting up CI CD for your entire org may seem daunting but it can be done Also try to apply some of the project management principles to your personal life too Take ownership It s easy to look for someone to blame when things go wrong But that s not the right way to grow When you start taking ownership you will see more people rely on you and it uplifts your career Don t try to learn everything at the same time And that s where developer roadmaps help You need to plan your career like you were in school There is always a level before that level Be aware of imposter syndrome Imposter syndrome is more common than you think First you need to establish a dialogue with yourself when you feel fraudulent inside Many times you just need to accept that there a reason why you re responding that way and move ahead It also helps to develop a positive relationship with failure Learn to be at peace with yourself You career may seem messy and chaotic but it s part and parcel of life Don t be afraid of change The tech industry is so fast faced that you might feel outdated in a career span of years It s very real but you need to remind yourself the reasons why you got into this role I understand it s a good career choice but I would also like to believe it was because you were curious This field has so much to offer and anything that s so transient will involve a lot of change Change is the only constant so get comfortable with it Give back to the community A lot of people in DevOps are able to get into this career because of the community And the good thing about the age of internet is that you can access that community from the comfort of your homes So while you learn and grow because of someone in the community also try to give back Provide mentorship if you can and if you learnt a cool trick deploying your last Kubernetes cluster share it with the world Do as much frontloading as possible With a task at hand the urge is to just jump at it and finish it But it will do you good if you think before you act Visualize and write down the steps needed to accomplish a task and you will see it saves a lot of time in the long run The best way is to list out all the blockers that you think might come your way of accomplishing something Maintain a professional journal Managers and leaders at the workplace always keep telling everyone how to take data informed decisions We have many biases and there is a lot of scientific literature to prove it And data helps to cut through the noise But there is no one to advise you on your professional journey with data from your career Only you can do that Maintaining a journal helps to document your learnings and make better decisions in the future You can start out by planning out three months of your career and then reflecting what went well when the period is over Update your CV regularly ️It s just another way to maintain your professional journal If you update your CV every quarter and every months you will be aware of the highlights that you are creating at work If you feel that there is nothing noteworthy to mention for a long time then it s time to put that CV to use Don t be complacent ‍ ️We are creatures of procrastination This article was in my mind for weeks before I could pen it down I mean pen it down You will fail at being proactive but the important thing is to keep on trying keep nudging yourself to not be complacent Learn to collaborate with developers ‍As DevOps engineers you will often be part of what is called a cultural shift There might be clear demarcations of teams at your work place or there might be none But you can sail through in any environment with the skills of collaboration especially with your dev team They are your end users in a way so have a healthy relationship with them Learn about containers In multi cloud hybrid internet scale companies containerization has become ubiquitous Apart from the terminal commands and writing dockerfiles get a clear understanding of what containers are Cloud infrastructure can be unpredictable and it s your job to make it predictable It will help to have a solid understanding of components that make it up Utilize free courses youtube and take some paid ones There is enough free resources on the internet to help you get your first DevOps job The internet is your classroom utilize it as much as possible At the same time be aware of not falling into the trap of tutorials Get some practical experience Get good with one tool for each use case There are many phases of DevOps and for each phase there are more than one popular tool Don t get overwhelmed Just pick up the most popular one and get good with it The underlying concepts are the same and you will be able to understand a new tool in new time Learn how to do POC ‍ ️As a DevOps engineer you will be required to do POCs proof of concept very regularly There will be deadlines to it and you need to come out with recommendations at the end of it A good tip for doing an effective POCs is that get good with documentation And that s the next tip Get comfortable with documentation The more you document the more effectively you can communicate ideas to your team mates get buy ins from the leadership and get new people onboarded fast There is no such thing as over documentation Have an open mind There might be a new person in your team who would tell everyone how cool was a tool at his previous workplace and that you should try it In those times you would want to assert yourself as a know it all But I hope you don t it s always good to have an open mind This also applies to a lot of other scenarios Learn enough coding ‍Coding is not core to a DevOps role but it gives you an edge And anyways you can t avoid it entirely So get comfortable with it and the best time for it was yesterday I would suggest Golang as many new tools in DevOps realm are based on Go but yes Python is an excellent choice too Don t follow good practices blindly 🥷When you sit down and research for good practices to implement at your workplace you will come across a lot of good practices You don t need to follow them blindly You know your production environment best you know your coding practices best Pick some of them implement and then observe Keep iterating to fine tune your systems to the expected SLAs Implement observe and then iterate to get better ‍ ️You will roll out things and roll them back in You have to build the mental muscle of doing iterations fast and know that it s normal Be cognitive of small decisions ‍ ️As a DevOps engineers your decisions can impact the total tech cost in a big way So make decisions with full awareness For example choose a monitoring tool that doesn t make your engineering team paranoid about data ingestion Get better at problem solving ‍ ️Most problems are solvable if we are able to break it down to tiny actionable steps And with this in mind keep throwing yourself at problems There are many other approaches too For unknown problems I personally like first principles thinking It s what Elon Musk recommends too I hope you will find these tips a good reminder for taking care of yourself and your career Feel free to add on to this list in the comments We share more DevOps content on our Twitter handle If you liked this let s be friends on Twitter A sneak peek of our tweets SigNoz signozhq A Kubernetes cluster is made of control plane nodes and worker nodes And the nodes are made up of a number of components with specific functionalities Thread kubernetes devops docker PM Feb 2022-03-10 13:02:44
Apple AppleInsider - Frontpage News How to use your Apple Watch as a camera remote for your iPhone https://appleinsider.com/inside/apple-watch/tips/how-to-use-your-apple-watch-as-a-camera-remote-for-your-iphone?utm_medium=rss How to use your Apple Watch as a camera remote for your iPhoneSometimes you may want to use your iPhone to take photos from hard to reach places where it s hard to hit the shutter You can use your Apple Watch to remotely do that instead If you fancy yourself a serious iPhone photographer you might want more capturing flexibility than simply holding the iPhone and clicking the shutter Whether you have the iPhone on a tripod or have placed the phone on a hard to reach vantage point you might find it useful to have an external shutter control The Apple Watch on your wrist will work perfectly How to remotely take photos on your iPhone with Apple Watch s Camera Remote Read more 2022-03-10 13:41:00
海外TECH Engadget DJI's Mavic Air 2 Fly More combo pack is 20 percent off today only https://www.engadget.com/djis-mavic-air-2-fly-more-combo-pack-is-20-percent-off-today-only-134854610.html?src=rss DJI x s Mavic Air Fly More combo pack is percent off today onlyAs the weather gets warmer and spring approaches many of us will be spending more time outside If you re looking for a new gadget that you can bring with you on family outings DJI s Mavic Air could be a good option ーespecially now that it s on sale at Amazon The online retailer has knocked percent off the Fly More combo pack which includes a bunch of extra things in addition to the drone bringing the whole thing down to The discount is only good for today but it allows you to get a plethora of handy accessories essentially for free since the drone on its own costs Buy Mavic Air Fly More combo at Amazon Here s what you re getting in the combo pack the Mavic Air drone a remote control three flight batteries extra low noise propellers RC cables a battery charger and charging hub a shoulder bag and a few additional accessories Ultimately you re getting everything you d need to take the drone with you on your next trip and if you plan correctly enough battery power to keep it in the sky for a long time DJI came out with the Mavic Air in as a follow up to the original Mavic Air of It has a lot of updates when compared to its predecessor key among them being its extended flight time of minutes DJI achieved that by outfitting the drone with electronic speed controllers a new battery and a refined design The Mavic Air s camera uses a inch Quad Bayer sensor and can shoot up to megapixel images and K video at fps In addition to new safety features the Mavic Air has a number of fun features that both newbie and experienced drone pilots will enjoy experimenting with The quot scene recognition quot feature can detect sunset blue skies snow grass and trees and automatically adjust camera settings to shoot the best photos and videos possible FocusTrack has a number of improvements too including better a Point of Interest feature that has better surface recognition and dynamic tracking While nearly is still a lot of money to drop on a high tech toy it s a great deal if you want a solid DJI drone with as many useful accessories as possible Follow EngadgetDeals on Twitter for the latest tech deals and buying advice 2022-03-10 13:48:54
海外TECH Engadget Ford’s 2022 Maverick pickup is perfect for nerds https://www.engadget.com/ford-maverick-2022-pickup-review-3d-printing-video-133014666.html?src=rss Ford s Maverick pickup is perfect for nerdsIt s easy to point to EVs and declare them the official vehicles of nerds The only problem is that EVs are pricey We ve been waiting for pricing parity between EVs and gas vehicles for years and it s likely going to take longer to come to pass thanks to ongoing supply issues So why not embrace a hybrid that also happens to be a small truck with a very impressive starting price The Ford Maverick starts at and ships with a hybrid powertrain that delivers up to MPG In addition to being a truck it has a bed that s built for customization Plus thanks to makers like Robert Trapp the FITS Ford Integrated Tether System already has D designs ready for printing or manipulation It s inexpensive customizable and a hybrid Now all we need is a cheap EV version in five years Watch the video above for the full story 2022-03-10 13:30:14
金融 RSS FILE - 日本証券業協会 公社債発行額・償還額等 https://www.jsda.or.jp/shiryoshitsu/toukei/hakkou/index.html 発行 2022-03-10 15:00:00
金融 RSS FILE - 日本証券業協会 パブリックコメントの募集の結果について https://www.jsda.or.jp/about/public/kekka/index.html 募集 2022-03-10 15:00:00
金融 金融庁ホームページ 2022年のグローバルマネーウィーク(Global Money Week)について公表しました。 https://www.fsa.go.jp/news/r3/sonota/20220310/20220310.html globalmoneyweek 2022-03-10 15:00:00
ニュース BBC News - Home Ukraine war: Roman Abramovich sanctioned by UK https://www.bbc.co.uk/news/uk-politics-60690362?at_medium=RSS&at_campaign=KARANGA abramovich 2022-03-10 13:49:46
ニュース BBC News - Home Ukraine war: No progress on ceasefire after Kyiv-Moscow talks https://www.bbc.co.uk/news/world-europe-60687203?at_medium=RSS&at_campaign=KARANGA amount 2022-03-10 13:13:18
ニュース BBC News - Home Ukrainians with passports can apply for UK visas online https://www.bbc.co.uk/news/uk-60686254?at_medium=RSS&at_campaign=KARANGA onlinerefugees 2022-03-10 13:02:34
ニュース BBC News - Home Roman Abramovich: Sanctioning of Chelsea owner by UK government halts club's sale https://www.bbc.co.uk/sport/football/60689645?at_medium=RSS&at_campaign=KARANGA Roman Abramovich Sanctioning of Chelsea owner by UK government halts club x s saleRoman Abramovich s attempt to sell Chelsea is halted as the oligarch is sanctioned by the UK government as part of its response to Russia s invasion of Ukraine 2022-03-10 13:17:31
ニュース BBC News - Home Russia hits back at Western sanctions with export ban https://www.bbc.co.uk/news/business-60689279?at_medium=RSS&at_campaign=KARANGA equipment 2022-03-10 13:20:54
ビジネス ダイヤモンド・オンライン - 新着記事 フューチャーベンチャーキャピタル、株主優待の新設 と、1株あたり3円の「初配」を発表! 1000株以上を 保有する株主を対象に「オリジナルカタログ」贈呈へ - 株主優待【新設・変更・廃止】最新ニュース https://diamond.jp/articles/-/298846 2022-03-10 22:36:00
北海道 北海道新聞 道南で「自主防災組織」設置進まず 渡島59.7%、檜山61.3% 全国・全道下回る 住民が高齢化、実効性に不安の声も https://www.hokkaido-np.co.jp/article/655503/ 自主防災組織 2022-03-10 22:18:00
北海道 北海道新聞 ウクライナ平和を、千体ひな人形 鳥取、デモ行進姿に https://www.hokkaido-np.co.jp/article/655502/ 鳥取 2022-03-10 22:17:00
北海道 北海道新聞 父の言葉胸に大舞台へ 「野球ができるのは当たり前じゃないぞ」 宮城で被災・クラーク高の金原選手 https://www.hokkaido-np.co.jp/article/655500/ 当たり前 2022-03-10 22:16:00
北海道 北海道新聞 「ロシアが停戦に否定的」 ウクライナ外相が批判 https://www.hokkaido-np.co.jp/article/655498/ 批判 2022-03-10 22:14:00
北海道 北海道新聞 旭川の「旧宮北邸」、屋根の一部崩落 雪の重みか、けが人なし https://www.hokkaido-np.co.jp/article/655497/ 重み 2022-03-10 22:14:00
北海道 北海道新聞 苫小牧リゾート計画再開 東京の投資会社 3月下旬から温泉試掘 https://www.hokkaido-np.co.jp/article/655494/ 不動産開発 2022-03-10 22:07:00
北海道 北海道新聞 英、ロシアの富豪7人に制裁 サッカー強豪チームのオーナーら https://www.hokkaido-np.co.jp/article/655492/ 英政府 2022-03-10 22:06:00
北海道 北海道新聞 シャラポワさんが寄付表明 ウクライナの子ら支援の活動に https://www.hokkaido-np.co.jp/article/655491/ 世界ランキング 2022-03-10 22:06:00
北海道 北海道新聞 衆院でヘルメット装着の訓練 本会議中の地震想定 https://www.hokkaido-np.co.jp/article/655490/ 東日本大震災 2022-03-10 22:06:00
北海道 北海道新聞 スマイルジャパンFW三浦選手「緊張も楽しさも」 北京五輪6位に貢献 母校・星槎道都大訪問 https://www.hokkaido-np.co.jp/article/655488/ 北京五輪 2022-03-10 22:04:00
仮想通貨 BITPRESS(ビットプレス) 【パブコメ結果】日本暗号資産取引業協会「暗号資産交換業に係るマネロン及びテロ資⾦供与対策に関する規則」の一 部改正について(案) https://bitpress.jp/count2/3_9_13105 資産 2022-03-10 22:49:24
仮想通貨 BITPRESS(ビットプレス) DMM Bitcoin、3/9より現物5銘柄及びレバレッジ「シンボル(XYM)」の取扱開始 https://bitpress.jp/count2/3_10_13104 dmmbitcoin 2022-03-10 22:42:30
仮想通貨 BITPRESS(ビットプレス) [Bloomberg] ゴールドマン、仮想通貨の店頭バイラテラルオプション提供を探る https://bitpress.jp/count2/3_9_13103 bloomberg 2022-03-10 22:27:03
仮想通貨 BITPRESS(ビットプレス) [日経] デジタル通貨もガラパゴス化? 法整備で海外勢に障壁も https://bitpress.jp/count2/3_9_13102 海外勢 2022-03-10 22:22:09

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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