投稿時間:2022-04-22 20:37:03 RSSフィード2022-04-22 20:00 分まとめ(47件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
ROBOT ロボスタ NTTドコモが沖縄の海洋ゴミ問題に地元住民と取り組む「ウミガメの恩返し」回収したゴミで外装やアート作品を制作 https://robotstart.info/2022/04/22/docomo-okinawa-marine-debris.html 2022-04-22 10:15:43
IT ITmedia 総合記事一覧 [ITmedia News] ファミマ、電動キックボードの店舗設置を本格化 シェアリングサービスのLuupと資本業務提携 https://www.itmedia.co.jp/news/articles/2204/22/news181.html itmedia 2022-04-22 19:24:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] NUROモバイル、LINEがカウントフリーになる「バリューデータフリー」開始 https://www.itmedia.co.jp/business/articles/2204/22/news166.html itmedia 2022-04-22 19:24:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 2021年度下半期の国内登録車販売 電動車トップは日産「ノート」「ノート オーラ」 https://www.itmedia.co.jp/business/articles/2204/22/news172.html itmedia 2022-04-22 19:19:00
python Pythonタグが付けられた新着投稿 - Qiita PythonでQRコード生成 https://qiita.com/m_ina/items/a8a0f888f51e14428955 簡単 2022-04-22 19:34:33
AWS AWSタグが付けられた新着投稿 - Qiita こんなご時世に、旅行者向けのアプリ開発したやつがいるんですよ~ https://qiita.com/Yaguchi-Haruo/items/cf3ffc19c282e3bd2d50 大学時代 2022-04-22 19:42:31
AWS AWSタグが付けられた新着投稿 - Qiita RDSのアラートログで「Thread 1 cannot allocate new log」が出力された時の対応 https://qiita.com/Nobishiro/items/35865029fc2d619f4e06 hreadcannotallocatenewlog 2022-04-22 19:36:51
Docker dockerタグが付けられた新着投稿 - Qiita QNAPのContainerStationでGrowiをDocker-Composeで構築・アップデートした話 https://qiita.com/yaibayamana/items/3526cf06b3cdc79e06f4 centos 2022-04-22 19:51:56
技術ブログ Developers.IO Spark Cassandra Connectorを使って、Amazon Linux 2 から Amazon Keyspacesに接続してみた https://dev.classmethod.jp/articles/spark-cassandra-connector-amazon-linux-2-keyspaces/ 書き込み 2022-04-22 10:51:55
技術ブログ Developers.IO この世、ショートカットキー多すぎ 〜いつもの作業がちょっと楽になるショートカットキーのご紹介〜 https://dev.classmethod.jp/articles/too-many-shortcut-keys-in-this-world/ 記事 2022-04-22 10:26:20
技術ブログ Developers.IO AWS IoT SiteWise のアクセスコントロールを理解する https://dev.classmethod.jp/articles/aws-iot-sitewise-iam-policy/ awsiotsitewise 2022-04-22 10:18:07
海外TECH MakeUseOf 10 Popular Smartphone Myths That Aren't True https://www.makeuseof.com/tag/10-popular-smartphone-myths-that-arent-true/ truedoing 2022-04-22 10:15:13
海外TECH DEV Community The Triangle of INJECTIONS: Learn How To detect these vulnerabilities + How To avoid them https://dev.to/dotnetsafer/the-triangle-of-injections-learn-how-to-detect-these-vulnerabilities-how-to-avoid-them-1g03 The Triangle of INJECTIONS Learn How To detect these vulnerabilities How To avoid themWhen it comes to common injection vulnerabilities there are three that you need to know about if you want to keep your web app secure SQL injection OS injection and LDAP injection If you don t yet know how they work how to prevent them or what they mean in practice you re missing out on some very important info   it could be the difference between your application being secure or not Read on to learn more about these three vulnerabilities how they work and how you can protect yourself from them For those unfamiliar with the subject injection vulnerabilities are a very dangerous type of attack Injection attacks are characterized by as its name indicates injecting code that is interpreted on the website or application under attack allowing malicious activities and queries to be performed and in the worst case escalating privileges to take control and steal confidential data In most cases attackers take advantage of a poorly programmed application or website sometimes we the developers know that we are not very careful and this allows an attacker to execute queries or commands for malicious purposes There is quite a large variety of types of injections but we will focus on the most important ones SQL InjectionOS InjectionLDAP InjectionWell let s start to see what each of the is about and how we can avoid them in a simple way SQL InjectionA Structured Query Language Injection or for friends SQL injection is the most common and dangerous injection attack mainly because it is related to the database we have connected to the application or website With this type of vulnerability the attacker executes SQL queries without permission allowing access to sensitive and confidential information It must be taken into account that most of the companies do not have a good security to avoid this type of attacks for that reason it is very important to know its origin and to know how to prevent them How to avoid it One of the best ways to avoid this is to use an ORM object relational mapper What an ORM allows us to do is to convert the objects of our application to a suitable format so that they can be stored in any type of database In this way we will save any SQL query to perform any kind of operation on the database such as read write delete or update For  NET I recommend using Entity FrameworkThe second easiest way to protect against SQL injections is to use parameterized queries instead of direct queries These parameterized queries are queries in which the values are passed by means of SQL type parameters If you don t use an ORM then it will end up being detrimental to your database when an intruder takes advantage of the vulnerability They may be able to steal or modify important data without anyone even noticing if they are particularly skilled in doing so Let s see this OWASP example of how they use them with Entity Framework var sql Update User SET FirstName FirstName WHERE Id Id context Database ExecuteSqlCommand sql new SqlParameter FirstName firstname new SqlParameter Id id Warning Contacting SQL strings anywhere in the code is not good either This is known as dynamic SQL Also as OWASP warns us in their cheatsheetseries there is still the possibility of doing this by accident with an ORM so they recommend always checking all parts that may be vulnerable Let s take a look at OWASP example string strQry SELECT FROM Users WHERE UserName txtUser Text AND Password txtPassword Text EXEC strQry SQL Injection vulnerability And last but not least try to connect to the database always with a user with the minimum required permissions If a user is not going to write to the database it should not have write permissions Simple but effective OS InjectionIt is known in various ways OS Command Injection or simply Command Injection This is a type of attack in which the attacker takes advantage of the lack of input validation to execute inject commands into the operating system using the vulnerable software The danger of this attack is based on the attacker using commands to gain access to confidential information modify parts of the system or even escalate administrator privileges to initiate SSH connections or enable backdoors Let me give a simple example Imagine you have an application that has a value input and the user provides a value to interact with it for example imagine that the user wants to make a super cool logo design opens Paint At first apart from the fact that the user does not know much about design the program opens without problems and so far nothing unusual But now imagine that the user not only wants to design a cool logo but also wants to gain access to the application web or software In this case it is as easy as contacting the malicious command with the original one for example mspaint amp amp echo pwned This is what would happen As we can see the user can execute other commands and there would already be an entry to start escalating privileges Of course if for some reason the application runs with administrator permissions and is vulnerable to this type of injections it is like opening the door to a thief who comes to steal and we give him the house keys How to avoid it The first way to avoid this is to validate user input In what way There are several ways If commands are involved create a whitelist of allowed commands and check if the one entered by the user is on it If not do not execute it In the same way you can create a blacklist exclusively with the commands that should not be executed If we talk about arguments in the same way that the commands you must define a list of allowed arguments Check the allowed characters If for example the user is expected to enter a name then you should not allow special characters as part of the Regular Expressions Example of special characters lt gt amp In  NET we can use System Diagnostics Process Start check for this Let s see the OWASP example in its cheatsheetseries  var process new System Diagnostics Process var startInfo new System Diagnostics ProcessStartInfo startInfo FileName validatedCommand startInfo Arguments validatedArg validatedArg validatedArg process StartInfo startInfo process Start Although this is a way to prevent OS injection attacks it still does not guarantee security Another way is to send the information encoded for example in Base and then decode it in the application Note If you want to learn in depth about how to validate user inputs I recommend the OWASP article Input Validation Cheat Sheet LDAP InjectionThe Lightwight Directory Access Protocol Injection simply said LDAP Injection is the least common of the types of injections but no less dangerous It is somewhat similar to SQL injection in that especially in web applications LDAP access is similar to database access The main difference between these two types of attacks is that while SQL injection attacks the SQL server LDAP injection attacks the user validation system This would allow the attacker to take control of users modify their permissions create new users or even access other computers or zones in the LDAP domain According to OWASP LDAP attack prevention the main reasons for this vulnerability are The lack of safer parameterized LDAP query interfacesThe widespread use of LDAP to authenticate users to systems How to avoid it The main way to avoid these attacks is to escape all the variables On the one hand you have to escape characters in DN Distiguished Name and on the other hand also in Search Filter A DN example is this cn Juan España ou Cybersecurity Department dc dotnetsafer dc comThere are a number of characters that in this case are considered special according to Ldapwiki the special characters are as follows Comma  Backslash character Pound sign Plus sign Less than symbol lt Greater than symbol gt Semicolon  Double quote Equal sign Although these characters can be used in DN we must escape them with the backslash   If you want to know more about the different types of characters there are and which ones you should or should not escape them I recommend you Ldapwiki DN Escape ValuesFor  NET of course Microsoft has the solution for us with System Web Security AntiXss check and its main utility is to encode strings to prevent LDAP attacks it is also used to prevent XSS attacks And if you already want to learn in depth about how you can protect yourself from LDAP injection attacks I highly recommend the OWASP source article LDAP Injection Prevention I hope that this article like the others will be of value to you and that you will be able to put into practice what you have learned From Dotnetsafer we want to thank you for your time in reading this article And remember Now you can try for free our NET obfuscator You can also protect your applications directly from Visual Studio with the NET Obfuscator for Visual Studio 2022-04-22 10:45:14
海外TECH DEV Community Clarifying things up https://dev.to/baraa_baba/clarifying-things-up-3mgg Clarifying things upIf you want to presume a carrier in a sepecfic field in computer science like web dev or game dev etc You don t nessarary need a degree in cs but if you want to have a better understanding in things like data structures and algorithms a degree in cs might be for you Maybe I miss judge cs cause of me being made at companies for asking all these questions that are not even related to your carrier I get it they want to text you problem solving skills and also I was mad about school for teaching me useless things I am someone who want to learn most things about cs and get into different fields like ml ai game dev etc But when I turn I will already have years of experience in cs that s if I of course don t just be a web dev and learn what I mentioned above I don t want to seem cocky but maybe I will be more advanced then going for a cs degree specialy that my college options are few and not good from what I heard from other people 2022-04-22 10:41:07
海外TECH DEV Community Helpot ohjeet salasanamanagerin käyttöön https://dev.to/minjakoodaa/helpot-ohjeet-salasanamanagerin-kayttoon-4p3o Helpot ohjeet salasanamanagerin käyttöönHeikkojen salasanojen luominen ja saman salasanan käyttäminen eri palveluissa on suuri ongelma Jos palveluun on murtauduttu ja salasanat ovat sitäkautta päässeet vääriin käsiin on saman salasanan avulla helppoa päästäsisään muihinkin palveluihin Heikkoja salasanoja ovat esimerkiksi lyhyet salasanat ja tai helposti arvattavat merkkiyhdistelmät Niissäesiintyy esimerkiksi sana joka löytyy sanakirjasta tai sama sana kirjoitettuna väärinpäin vähemmän kuin merkkiä lemmikin tai ihmisen nimi merkityksellinen päivämäärätai muu merkkijono kuten numerot tai kirjaimet abcd Moni todennäköisesti myös tietää ettäsalasanassa olisi hyväolla isoja ja pieniäkirjaimia ja numeroita tai symboleja Silti monet tekevät ohjeiden vastaisesti koska oikeita salasanoja on vaikea muistaa Minäkin tein ennen näin Olin kylläkuullut salasanamanagereista mutta tuntui liian haastavalta aloittaa sellaisen käyttäminen Tämän takia halusinkin kirjoittaa blogipostauksen jossa käyn läpi huolia joita minulla oli ennen kuin aloitin käyttämään tällaista palvelua Toivottavasti tämän jälkeen edes yksi lukija uskaltautuu kokeilemaan salasanamanageria Mikäon salasanamanageri Kuten nimestävoi päätellä salasanamanageri auttaa sinua tallentamaan salasanoja turvallisesti Se toimii niin ettäkäyttäjän tarvitsee muistaa vain yksi salasana jota käytetään salasanamanageriin kirjautumiseen ja sinne on tallennettu kaikki muut haluamasi salasanat Käytettävissäolevat ominaisuudet riippuvat käyttämästäsi palvelusta mutta moneen on saatavilla esimerkiksi selaimen lisäominaisuus joka täyttääsalasanat kirjautumissivustoille salasanakenttään mahdollistaa salasanan kopioimisen leikepöydälle ja automaattisesti tyhjentääleikepöydän muistin hetken päästä Moni salasanamanageri osaa myös automaattisesti päivittääsalasanan jos päätät sen vaihtaa sivustolla joka on tallennettu salasanamanageriin Miksi salasanamanagerin käyttötuntuu haastavalta Käyn tässäläpi muutamia kysymyksiä joita minulla oli ennen kuin aloitin käyttämään salasanamanageria Kysymys Kuinka salasanamanageri varmistaa tallennettujen salasanojen turvallisuuden Kunhan et käytäsalasanamanageriin kirjautumiseen tarkoitettua salasanaa missään muussa palvelussa ja olet luonut vahvan salasanan on epätodennäköistä ettäkukaan pääsisi järjestelmään sisään Pääsalasanaa ei tiedäkukaan muu kuin sinä ei edes salasanamanageripalvelu Ja tämäon myös yksi syy miksi salasanamanagerin käyttövoi tuntua haastavalta Käyn tämän läpi alempana kysymyksessä On myös suositeltavaa käyttääkaksivaiheista tunnistautumista jolloin palvelu vaatii kirjautumisen vahvistamisen esimerkiksi toisella laitteella tai sähköpostitse ennen kuin palvelu päästääkirjautumaan sisään Salasanamanagerit käyttävät erilaisia keinoja palvelunsa turvaamiseen mutta yleisesti voi sanoa ettäpalvelut käyttävät laitteessa salasanojen salaamista ennen niiden lähettämistäpalvelimelle Salaaminen encryption tarkoittaa ettädata tässätapauksessa salasana muutetaan muotoon jota ei pysty lukemaan ilman salausavainta Pääsalasanaa käytetään osana salauksen purkua Kysymys Eiköole helpompaa tulla hakkeroiduksi jos kaikki salasanat ovat tallennettuna yhteen palveluun On epätodennäköistä ettäkukaan pääsisi käsiksi salasanamanageriisi On paljon todennäköisempää ettähakkeri joko arvaa asettamasi heikon salasanan tai saa sen selville tekemälläverkkourkintaa phishing esimerkiksi huijaamalla sinut antamaan salasanan huijaussähköpostin avulla Koska salasanamanageri poistaa tarpeen muistaa salasanoja voit huoletta asettaa kaikki salasanat pitkiksi ja vahvoiksi eikäsinun tarvitse käyttääsamaa salasanaa eri palveluissa Eli vaikka jonkun palvelun salasana vuotaisikin kaikki muut palvelut pysyvät turvallisina Kysymys Mitäjos menetän pääsyn salasanamanageriin Tämäon asia josta olin hyvin huolissani ennen kuin aloitin käyttämään salasanamanageria Palvelu ei tiedäpääsalasanaasi joten jos hävität sen et pääse enääkirjautumaan palveluun Pidäsiis huoli ettämuistat pääsalasanasi Onneksi monet palvelut antavat sinulle mahdollisuuden pyytääsalasanan uudelleenasettamista sähköpostin kautta Toisin sanoen niin kauan kuin sinulla on pääsy sähköpostiisi pystyt myös luomaan uuden salasanan tarvittaessa Tästäsyystäpäätin pitäämielessäni kaksi salasanaa salasanamanagerin pääsalasanan ja pääsähköpostiosoitteeni salasanan Molemmat ovat vahvoja salasanoja jotka ovat yhdistetty kaksivaiheiseen tunnistautumiseen eli vaikka menettäisinkin pääsyn salasanamanageriin pystyisin silti pääsemään käsiksi minulle tärkeisiin palveluihin Päätin myös alkuun lisätäsalasanamanageriin pelkästään sellaisia palveluita joilla ei ole minulle niin suurta merkitystä Yksi esimerkki on vaikkapa nettikauppa jossa pahin asia mitävoisi tapahtua jos menettäisin siihen pääsyn olisi ettäjoutuisin luomaan uuden käyttäjätilin ja kirjoittamaan osoitetietoni uudelleen Kun olin käyttänyt salasanamanageria hetken aikaa näiden ei niin tärkeiden käyttäjätilien kanssa ymmärsin kuinka palvelu toimii Vähitellen lisäsin loputkin salasanani palveluun ja vaihdoin kaikki salasanat vahvoiksi Voit myös kirjoittaa pääsalasanasi paperille ja piilottaa sen johonkin turvalliseen paikkaan Äläkuitenkaan kirjoita mihin palveluun tämäsalasana on Tämävoi olla hyväidea erityisesti alkuun jos et ole vielävarma tuletko muistamaan salasanasi oikein Suosittuja salasanamanageripalveluitaOn olemassa monia palveluita joista voi olla vaikea valita mikäolisi itselle sopiva Tässäon listattuna muutama jotka ovat saaneet paljon hyviäarvosteluita PasswordLastPassBitwardenKeeper Yhteenveto ja vinkkejäJos sinua huolettaa salasanamanagerin käyttäminen aloita lisäämällävain käyttäjätunnuksia joilla ei ole niin paljoa merkitystäVoit kirjoittaa pääsalasanan aluksi paperille jotta varmasti opit muistamaan senKäytäkaksivaiheista tunnistautumistaPalvelu saattaa ehdottaa ettävoit käyttääpuhelimen sormenjälkitunnistusta sisäänkirjautumiseen En suosittele tätä koska se saattaa johtaa siihen ettet enääkohta muista pääsalasanaasi On muistamisen kannalta parempi mitäuseammin joudut sen kirjoittamaan Toivottavasti tästäblogipostauksesta oli sinulle hyötyä Jos sinulle tulee mieleen kysymyksiä tai lisäävinkkejä kuulisin mielelläni niistäkommenteissa Voit myös seurata minua Instagramissa whatminjahacks jos olet kiinnostunut näkemään lisääpäivistäni kyberturvallisuuden parissa 2022-04-22 10:18:22
海外TECH DEV Community Server Side Rendering Vanilla Custom elements in Astro https://dev.to/thepassle/server-side-rendering-vanilla-custom-elements-in-astro-5hgg Server Side Rendering Vanilla Custom elements in AstroI ve recently fallen into a SSR shaped hole and I just can t seem to get out I am having lots of fun down here however Over the past weeks I ve been trying out the new release of Astro SSR which I wrote about extensively here Today though I ll be talking specifically about server rendering Custom Elements the last bastion of the web components nay sayer As linked above I m currently working on an Astro site This website is mostly static but has some nice dynamic routing and some interactive bits and pieces here and there Loading all of React on the page for these bits of interactivity sprinkled throughout my site seems like a bit overkill so I figured this is a good excuse to try out Astro s Lit integration I found however that some of these components had such little interactivity that even Lit which is already an extremely tiny library seemed overkill So I figured why not just some vanilla custom elements I refactored my Lit components to be vanilla or native HTMLElements restarted my local Astro development server and Ran into problems ReferenceError document is not defined Shimming the DOMConsidering that LitElement down the line just extends from HTMLElement I was hoping to be able to reuse the Lit integration to SSR vanilla custom elements but unfortunately that didn t work The reason for that is in order to be able to render custom elements on the server we need some browser API s to be available on the server so these API s have to be shimmed in our Nodejs environment Lit however makes surprisingly little use of browser APIs to be able to do efficient rendering This means that the DOM shim that Lit SSR requires is really really minimal and doesn t include a bunch of things like for example querySelectors This sadly also means that Lit s minimal DOM shim will not suffice for rendering native custom elements Unlucky So I set out to find a different solution and was pointed to linkedom Linkedom is an excellent package that allows us to shim DOM apis on the server and has great support for custom elements With linkedom ready to shim the required APIs in a Nodejs environment I was able to create an Astro vanilla custom element integration using lit labs ssr s ElementRenderer interface but adjusted for vanilla custom elements custom element ssrI ve wrapped this all up nicely in a new package custom elements ssr that you can install like so npm i S custom elements ssrcustom elements ssr comes with two integrations Astro integrationNow that I have my vanilla custom element integration I can add it to my Astro config and write some custom elements astro config mjs import defineConfig from astro config import netlify from astrojs netlify import customElements from custom elements ssr astro js export default defineConfig site adapter netlify integrations customElements lit labs ssr compatible ElementRendererThe project is also compatible with lit labs ssr You can import the CustomElementRenderer itself like so import CustomElementRenderer from custom elements ssr CustomElementRenderer js Adding interactivityFinally we get to add some interactivity to our pages Really all my component s interactivity comes down to this connectedCallback initial render this render this addEventListener change e gt const buttons this querySelectorAll input const answer parseInt this getAttribute answer this answered e target buttons answer this render this dispatchEvent new CustomEvent question answered composed true bubbles true Not much huh Whenever someone answers a quiz question this render updates the component and shows the user whether or not they ve answered correctly Note how when the page renders the quiz questions are already visible but the JS comes in slightly laterWhen all questions on the page have been answered I display another custom element which links to the next page This custom element is initially hidden and hydrated on client idle because it requires the user to have answered all the questions anyway so we don t need to load the JS eagerly lt quiz next card nextLink nextLink next next client idle gt lt p gt You ve answered all questions correctly You can now move on to the next section lt p gt lt quiz next card gt Custom ElementAs I was working on this I realized how nicely this all ties in with another project I maintain generic components Generic components is a library of accessible vanilla custom elements that I ve been using all over hobby projects for a long time now and never have to rebuild from scratch in whatever new framework A problem that I ve occasionally run into with these components however is the Flash of Unupgraded Custom Element Take for example the lt generic tabs gt component lt html gt lt body gt lt generic tabs selected label Info gt lt button slot tab gt About lt button gt lt button slot tab gt Contact lt button gt lt div slot panel gt Lorem ipsum dolor sit amet consectetur adipiscing elit lt div gt lt div slot panel gt Sed ut perspiciatis unde omnis iste natus error sit voluptatem lt div gt lt generic tabs gt lt script type module src generic components tabs js gt lt script gt lt body gt lt html gt What happens here is the following The user loads the pageThe page renders the HTMLThe page loads the JavaScriptThe JavaScript upgrades the lt generic tabs gt componentWhich then takes care of adding the interactivity tab behavior and displaying only the currently selected panelSo in between the page rendering the javascript loading and the custom element upgrading we have a flash of unupgraded custom element Sometimes people fix this by adding the following CSS snippet generic tabs not defined display none Which is a clever little trick to simply hide the custom element until the JS has loaded but then the user won t see the custom element at all until the JS has loaded Server side rendering seems like a good fix for this we can already render the initial state of the custom element on the server and then add the interactivity tab behaviors on the client when JS has loaded but completely avoid the flash of unupgraded custom element Note how the tabs component is immediately visible on the page while the JS to add interactivity comes in slightly afterYou could argue that the tabs will be un interactive until the JS has loaded which indeed is true but the tabs component is unlikely to be interacted with immediately by the user so in this case it s OK However like Matthew pointed out on twitter you could even take it a step further and display the buttons as being disabled so the user is aware that they re not interactive just yet generic tabs not defined button background color lightgrey color darkgrey This way we avoid the flash of unupgraded custom element we display something to the user immediately yet it s still clear to the user the element is not quite ready for interaction just yet This becomes even more apparent when we apply it to the showcase app The current showcase app makes use of the not defined pattern and thus won t show any of the components until the JS has loaded And here s what it looks like when we apply server side rendering as well as upgrading the styles once the custom elements have loaded The loading of this page JS has been artificially slowed down for demonstration purposesNote how the HTML and components are displayed immediately and as the JS trickles in components become interactive Wrapping upAs I said at the start of this post it s been pretty exciting to play around with server rendered custom elements If you re interested in trying it out as well you can find the the custom elements ssr package here Its pretty experimental still but please let me know if you find any mistakes and we can fix them together You can also take a look at a working example project or a live demo 2022-04-22 10:13:16
海外TECH DEV Community Journey to AWS Certified SAA-C02; Free Resources, Learning Path and More https://dev.to/swatitiwarib/journey-to-aws-certified-saa-c02-free-resources-learning-path-and-more-544 Journey to AWS Certified SAA C Free Resources Learning Path and MoreHello Everyone Since i have been preparing for AWS SAA C from quiet a time and earned my AWS Certified Solutions Architect Associate Badge recently there are many people approaching me to know how i approached for this certification and what resources i followed So i have decided to list down the learning path which helped me achieving this hoping it helps individuals preparing for their certifications or keen to learn about AWS Here is the complete path i followed Complete AWS Cloud Practitioner Essentials Course available for free on AWS Skill builder Complete AWS Technical Essentials Course available for free on AWS Skill builder After these you can attempt AWS Cloud Practitioner certification like i did AWS Cloud Practitioner Certification is a foundation level exam and is not a pre requisite for the AWS SAA C However since i was completely new to AWS and wanted to learn in a systematic fashion i gave this certification prior to going directly for AWS SAA C Post completing AWS Cloud Practitioner Certification successfully i started with the below AWS Free courses to get ready for AWS SAA C Check out the Exam Guide for SAA C to understand about the exam and the domains it tests you upon Complete AWS architect learning plan this is a collection of few courses available for free on AWS Skill builder Exam readiness sessions for AWS SAA available for free on AWS Skill builder Udemy Stephan Marek s Practice Sets I bought a course which had Practice Sets for AWS SAA C exam and one Course Ultimate AWS Certified Solutions Architect Associate for easy hands on labs I did only one practice set that too right before my exam day Which was enough to provide an understanding on what kind of question structure should i expect in the exam This is completely optional i did not complete either of these courses therefore AWS Skill Builder is solely enough for the preparation Meanwhile i also kept on attending AWS webinars and Twich Channel discussions Read whitepapers and articles to keep myself engaged and involved with the AWS offerings This complete customized path should give you good knowledge to proceed with the certification NOTE AWS SAA C had Scenario based questions so it is better to have thorough understanding of designing solutions for customer s technical requirements prior to attempting the Certification Let me know if it helps in the comment section Also Feel free to save this learning path for later use Cheers 2022-04-22 10:11:04
海外TECH DEV Community Design Pattern React : The State Reducer https://dev.to/wheel0ck/design-pattern-react-the-state-reducer-1g21 Design Pattern React The State ReducerPour ceux qui connaisse Redux c est le même principe on a une action un dispatch et un reduceur Pour mettre en application ce design pattern on va se servir du Hook useReducer et on va utiliser le eme argument du Hook pour mettre un peu de piment Ce eme argument permet d initier le state àpartir d une props const state dispatch useReducer reducer initialArg init Pour ceux qui ne connaissent pas il y a points clés Un objet js appelé Action const monAction type add payload C est un objet javascript tout simplement qui va contenir par convention issus de redux deux propriétés type généralement un string et est obligatoire paylod ce qu on veut et est facultatif le dispatcher dispatch C est une function qui nous est donnée par le Hook useReducer Cette fonction va permet d envoyer une action dans le reducer dispatch type add payload le reducer reducer Le reducer c est une fonction qu on doit être définis et qui va nous servir àmodifier le state Dans mon exemple je m assure de retourner àchaque fois une nouvelle copie du state redux Cette fonction prend en er argument le state et en eme argument notre fameuse action Le reducer c est tout simplement un switch qu on va faire matcher avec notre action type et on créer un nouveau state àpartir de celui qu on a passéen paramètre Et voilà Implémentation Step Initialisation du StatePour commencer on va initialiser notre state useReducer reducer propsToInit init useReducer va utiliser la variable propsToInit et va la faire passer dans la fonction initStep Condition d initialisationconst init initState gt if initState null return defaultState return count initState Notre function init est appeléune seul fois au montage du component Elle va retourner notre state Step Utilisation du dispatchLa fonction useReducer nous retourne une fonction dispatch const state dispatch useReducer reducer propsToInit init Cette fonction va nous permettre de mettre àjours le state en utilisant une action Step Définition des Actions const actionAdd type add Rien de compliquéici on déclare une constante pour stocker notre action Step Mise àjour du stateEnsuite cette action passe dans le reducer et on modifie le state Step AffichageLe component s update et la nouvelle valeur s affiche 2022-04-22 10:08:02
海外TECH DEV Community Evitando unmute por engano no Zoom https://dev.to/icaromh/evitando-unmute-por-engano-no-zoom-1ej3 Evitando unmute por engano no ZoomEm geral quando estou em reuniões globais da empresa All Hands fico alternando entre janelas e não éincomum que por engano eu faça unmute do meu microfone Aquele desconforto de alguém desmutar no meio de uma fala importante da empresa gritando com o cachorro ou pedindo um cafépro seu companheiro Para evitar esse tipo de desconforto e bom evitar de passar vergonha comecei a procurar alternativas para deixar o microfone impossibilitado de ser tirado do mudo Foi assim que cheguei àuma solução interessante Instalar um driver de áudio virtual e usar ele como fonte de captação do microfone Funciona como se fosse um microfone fantasma que não consegue captar som algum Como utilizo macOS estou utilizando o SoundFlower Após sua instalação e ativação nas configurações de sistema Épossível usá lo como saída de áudio Ou então como captação de áudio Então toda vez que entro em uma reunião global ou em alguma que tenho certeza que não vou precisar participar falando eu troco a configuração do microfone para aquela chamada 2022-04-22 10:06:45
海外TECH DEV Community Insert and Read Form Controls in Excel in Java https://dev.to/alexis92/insert-and-read-form-controls-in-excel-in-java-2hhd Insert and Read Form Controls in Excel in JavaForm controls are the original controls in Excel They are compatible with both the old and the new versions of Excel and can be inserted into any place of an Excel worksheet to reference and interact with cell data In this article I will demonstrate how to insert form controls in Excel along with how to read values from form controls in Java using Free Spire XLS for Java API Insert Form Controls in Excel in JavaRead Values of Form Controls in Excel in Java Add DependenciesMethod If you are using maven you can easily import the JAR file in your application by adding the following code to your project s pom xml file lt repositories gt lt repository gt lt id gt com e iceblue lt id gt lt name gt e iceblue lt name gt lt url gt https repo e iceblue com nexus content groups public lt url gt lt repository gt lt repositories gt lt dependencies gt lt dependency gt lt groupId gt e iceblue lt groupId gt lt artifactId gt spire xls free lt artifactId gt lt version gt lt version gt lt dependency gt lt dependencies gt Method If you are not using maven you can download the JAR file from this link extract the zip file and then import the Spire Doc jar file under the lib folder into your project as a dependency Insert Form Controls in Excel in JavaThis example shows how to insert the following types of form controls into an Excel worksheet Text boxOption buttonCheck boxCombo boxBelow are the main steps for your reference Create an instance of Workbook class Get the desired worksheet by its index Add a text box to the worksheet using XlsWorksheetBase getTextBoxes addTextBox method Set text back color and text alignment for the text box Add an option button to the worksheet using XlsWorksheetBase getRadioButtons add method Set text and check state for the option button Add a check box to the worksheet using XlsWorksheetBase getCheckBoxes addCheckBox method Set text and check state for the check box Add values to the worksheet Add a combo box to the worksheet using XlsWorksheetBase getComboBoxes addComboBox method Set the input data range for the combo box Set the default selected item by its index Loop through the columns in the worksheet and set column widths Save the result file import com spire xls import com spire xls core import java awt public class InsertFormControls public static void main String args Create a Workbook instance Workbook workbook new Workbook Get the first worksheet Worksheet sheet workbook getWorksheets get sheet getCellRange A setText Name Add a text box ITextBoxShape textbox sheet getTextBoxes addTextBox textbox setText Jackie Hong textbox getFill setForeColor new Color textbox setHAlignment CommentHAlignType Center textbox setVAlignment CommentVAlignType Center sheet getCellRange A setText Gender Add an option button IRadioButton optionbutton sheet getRadioButtons add optionbutton setText Male optionbutton setCheckState CheckState Checked Add an option button IRadioButton optionbutton sheet getRadioButtons add optionbutton setText Female sheet getCellRange A setText Hobby Add a check box ICheckBox checkbox sheet getCheckBoxes addCheckBox checkbox setText Hiking Add a check box ICheckBox checkbox sheet getCheckBoxes addCheckBox checkbox setCheckState CheckState Checked checkbox setText Camping sheet getCellRange A setText Age sheet getCellRange A setText or younger sheet getCellRange A setText to sheet getCellRange A setText to sheet getCellRange A setText or older Add a combo box IComboBoxShape combobox sheet getComboBoxes addComboBox combobox setListFillRange sheet getCellRange A A combobox setSelectedIndex for int column column lt column sheet setColumnWidth column f Save the file workbook saveToFile AddControls xlsx ExcelVersion Version Read Values of Form Controls in Excel in JavaThe following steps explain how to read the values from a specific text box option button check box and combo box in Excel Create an instance of Workbook class Load the Excel file using Workbook loadFromFile method Get the desired worksheet by its index Create an instance of StringBuilder class Get the desired text box using XlsWorksheetBase getTextBoxes get index method Get the text of the text box and append to the StringBuilder instance Get the desired option button using XlsWorksheetBase getRadioButtons get index method Get the check state of the option button and append to the StringBuilder instance Get the desired check box using XlsWorksheetBase getCheckBoxes get index method Get the check state of the check box and append to the StringBuilder instance Get the desired combo box using XlsWorksheetBase getComboBoxes get index method Get the selected value of the combo box and append to the StringBuilder instance Print out the text in the StringBuilder instance import com spire xls CheckState import com spire xls Workbook import com spire xls Worksheet import com spire xls core public class ReadValues public static void main String args Create a Workbook instance Workbook workbook new Workbook Load the Excel file workbook loadFromFile AddControls xlsx Get the first worksheet Worksheet sheet workbook getWorksheets get Create a StringBuilder instance StringBuilder sb new StringBuilder Get the first text box ITextBox textBox sheet getTextBoxes get Get the text of the text box String text textBox getText sb append TextBox value text n Get the first option button IRadioButton optionButton sheet getRadioButtons get Get the check state of the option button CheckState optionButtonState optionButton getCheckState sb append Option button state optionButtonState toString n Get the first check box ICheckBox checkBox sheet getCheckBoxes get Get the check state of the check box CheckState checkBoxState checkBox getCheckState sb append Check box state checkBoxState toString n Get the first combo box IComboBoxShape comboBox sheet getComboBoxes get Get the selected value of the combo box String seletectedValue comboBox getSelectedValue sb append Combo box selected value seletectedValue toString n System out println sb toString 2022-04-22 10:05:15
海外TECH DEV Community State models - A little computer science for the inquisitive developer https://dev.to/tracygjg/state-models-a-little-computer-science-for-the-inquisitive-developer-59lf State models A little computer science for the inquisitive developer IntroductionThe terms State or Mode can be applied to software systems at a variety of scales from entire systems sub systems down to an individual object class or just a single property of an object From here on we will refer to the Subject as the entity possessing the State Whilst a Subject can possess many States for a variety of purposes each one can only have a single value at a time Keeping track of the states a Subject can possess along with the how s and why s the Subject changes state can become complicated Having a diagram to record all the states the legal transitions between states triggers and why the transition might or might not occur guard can be extremely useful Monitoring state changes on its own is seldom useful and is more often associated with firing off functions actions which can be attributed to both triggers and when entering exiting a state UML A brief introductionThe Unified Modeling Language has been the industry go to for decades and is still important in sectors where detailed documentation is essential or even a contractual requirement The UML specification is maintained by the OMG not Oh My Gosh but the Object Management Group that also maintains the Data Distribution Service DDS specification and certification of Business Process Modeling and Notation BPM UML comprises of around diagrams but it is rare for all of them to be used in a project at least not by a single contributor Instead of using a drawing tool such as Visio or PowerPoint to capture UML diagrams there are specialist tools for the purpose that are categorised as Computer Aided System Software Engineering CASE tools These special tools maintain a database of one form or another to store a UML model that ensures the consistent use of objects and relationships between diagrams There are two groups of diagrams that form the UML cannon Structural diagrams define how things are constructed assembled Behavioural diagrams capture how components interact and co operate However there is a second undocumented aspect to the diagrams Each diagram is intended to capture information from one interest group to inform another or others with each level becoming more technical This covers the full spectrum of interest groups from users through to implementers and testers UML State Model Part One Keeping it simpleThe simplest state model requires just three items States Indicated by a rectangle containing the name of the state The Subject can only be in one state at a time Triggers link states with the legal paths labelled with the event that causes the change from one state to the other The trigger has a single direction indicated by an arrow head Start indicator points to the Subject s initial state There are state models that never end but most have one possibly more end state s identified by an End indicator The simple test case timeless stopwatch We are going to base our first practical exercise on a simple stopwatch It will not tell the time so what good it will be is a fair question but it will have four buttons Start Stop Pause and Clear the function of which should self explanatory but illustrated by the following diagram Side note the Pause button will double as a Resume button As stated earlier a Subject in this case the stopwatch can only be in one state at a time Clear Stopped Running or Paused as illustrated above The Clear state is also marked as being the initial state there is no terminal state In case you were wondering the diagrams in this post were prepared using the diagrams net website Time for some JavaScript codeThe source code for this practical can be found in this JSFiddle It contains the HTML to display the current state and provide buttons to trigger state transitions There is also a CSS file to style the state display panel The JavaScript breaks down into a number of sections Wiring the DOMThe first two functions showState and enableButtons present the current state on the screen and connect the click event handlers to the button elements in the Document Object Model DOM showState presents the current state on screenenableButtons connects the click event of the buttons to the triggers of the State Model StateEngineThe third function is the major component and takes three parameters machine initial and subject machine defines the triggers and states of the state model initial indicates the state the engine will commence with subject is the data object that state applies to and happens to be a property of the object CommencementThe final section of the JS file contains a call to the enableButtons function passing it the result of calling the StateEngine function with the following arguments State mode that reflects the diagram above clear START running running STOP stopped PAUSE paused paused PAUSE running stopped CLEAR clear The initial state of clear and the Subject object containing the state property Exercising this first example demonstrates a couple of things Clicking the appropriate button will trigger the transition from the current state to the new state More importantly only the appropriate buttons trigger a transition inappropriate buttons do nothing The question you are probably asking is what good is a state machine on its own The next section will address this question by maintaining the time for the stopwatch UML State Model Part Two Keeping timeIn this practical we are extending the Subject to include a counter property to record the time along with functions to reset the counter to and increase the counter by second We will be introducing another component called Clock implemented around a JS technically the Web API timer that will response to functions or Actions as they are known in UML from the state machine and update the Stopwatch accordingly In the revised state diagram above the Clock is not show but there are a number of key changes that interact with it including A trigger has been added to the Running state that is invoked when the Clock ticks The new trigger has an Action to increase the Stopwatch counter every clock tick but the actual state does not change i e it loops back to the Running state Actions have also been attached to triggers in the model to support interaction with the Clock to Stop Start Pause and Resume the timer There is also an action attached to the Clear state itself Actions attached to states are usually invoked either when the Subject enters or exits the state In our example the action will be fired when entering the state but there is not support for exit actions in our implementation Time for some more JavaScript codeThe source code that implements the above diagram can be found here Whilst the HTML remains unchanged the CSS is slightly revised to present the time is a style more akin to a physical stopwatch But as you might expect the biggest change is to the JavaScript but not as much as you might think Before we dig into how the functions have changed we will take a look at the data State Model enhanced As described above we have added actions to the State Model which has required a change to the structure clear action gt Subject counter showState Subject counter START state running action gt Clock start running STOP state stopped action gt Clock stop PAUSE state paused action gt Clock pause CLOCK TICK state running action gt Subject counter showState Subject counter paused PAUSE state running action gt Clock resume stopped CLEAR state clear Two other changes to note The are several references to the Clock object that we will explore in a little more detail later The Subject object now includes a counter property as well as the state property const Subject state counter The ClockThe Clock object is a wrapper around the Web API setInterval and clearInterval methods and knows nothing of State or any aspect of the Subject It exposes four methods that facilitate interaction with the interval functions and calls the CLOCK TICK trigger of the State Machine when the timer is running start commences the setInterval method to fire timer every th of a secondstop cancels the setInterval methodresume Same as startpause Same as stopThe showState function is revised to convert the counter parameter into a string before it is presented on screen The only change to the enableButtons function is that is returns the stateEngine it is passed in as a parameter Finally the StateEngine function is extended to manage the action properties which are fired in two circumstances An action can be performed when the trigger is executed It can also be fired when the state changes on entry to the state but as indicated above the UML notation supports state actions on entry and on exit To CloseIf this post has sparked your interest in state models in JS you might want to check out XState and this article by Jon Bellah Please add any questions you might have about state machines UML or my examples in the discussion section below Further readingThe Rise Of The State Machines by Krasimir TsonevFinite State Machine in JavaScript by Linas Spukas 2022-04-22 10:03:13
海外TECH DEV Community Animations with CSS and Vue transitions https://dev.to/canopassoftware/animations-with-css-and-vue-transitions-53im Animations with CSS and Vue transitionsHow to implement slider and continuous animations in your website In this blog post you will learn how to implement slider and continuous animations in VueJs using transitions and CSS If scroll down then animates them to left If scroll up then animates them to right On hover of divisions stop animation The full source code is available on Github Check this blog post to add attractive animations with CSS and Vue transitions 2022-04-22 10:02:26
海外TECH DEV Community Lean Start Keto (Scam or Safe?) What Results Can Customers Expect? https://dev.to/leanstartketobu/lean-start-keto-scam-or-safe-what-results-can-customers-expect-1447 Lean Start Keto Scam or Safe What Results Can Customers Expect I ll bet that you can t comprehend these last gasp statements relative to this Let s locate the secrets of admirers doing it I should be able to respond the question There are a good number of guys who stay undercover and this could have helped clear up a few questions At the very least I can t keep away from it as soon as they possibly can I m a little different from anyone else My sport is part of a line of products in that area This is also plain Jane for certain teens Lean Start Keto is on the backburner for me currently Visit Here gt 2022-04-22 10:02:09
ニュース BBC News - Home Madeleine McCann: Portuguese authorities declare formal suspect https://www.bbc.co.uk/news/uk-61183857?at_medium=RSS&at_campaign=KARANGA portugal 2022-04-22 10:43:49
ニュース BBC News - Home UK embassy in Ukraine to reopen next week, says PM https://www.bbc.co.uk/news/uk-61190310?at_medium=RSS&at_campaign=KARANGA invasion 2022-04-22 10:55:55
ニュース BBC News - Home Boris Johnson faces criticism as minister defends leadership https://www.bbc.co.uk/news/uk-politics-61187790?at_medium=RSS&at_campaign=KARANGA confidence 2022-04-22 10:11:46
ニュース BBC News - Home Laura Kenny: Cyclist has had miscarriage and ectopic pregnancy in past five months https://www.bbc.co.uk/sport/cycling/61187498?at_medium=RSS&at_campaign=KARANGA Laura Kenny Cyclist has had miscarriage and ectopic pregnancy in past five monthsFive time Olympic cycling champion Laura Kenny says she has had a miscarriage and an ectopic pregnancy in the past five months 2022-04-22 10:03:42
ニュース BBC News - Home Erling Braut Haaland 'very close' to Man City move - Guillem Balague https://www.bbc.co.uk/sport/football/61186121?at_medium=RSS&at_campaign=KARANGA Erling Braut Haaland x very close x to Man City move Guillem BalagueBorussia Dortmund striker Erling Braut Haaland is very close to reaching an agreement to join Manchester City says Guillem Balague 2022-04-22 10:22:39
ニュース BBC News - Home How has Moscow changed with war in Ukraine? https://www.bbc.co.uk/news/world-europe-61188783?at_medium=RSS&at_campaign=KARANGA ukraine 2022-04-22 10:08:04
ビジネス 不景気.com 東急建設の22年3月期は75億円の最終赤字へ、工事遅延で - 不景気com https://www.fukeiki.com/2022/04/tokyu-kensetsu-2022-loss2.html 最終赤字 2022-04-22 10:50:22
北海道 北海道新聞 国立競技場発着で実施 レガシーハーフマラソン https://www.hokkaido-np.co.jp/article/672921/ 国立競技場 2022-04-22 19:07:03
北海道 北海道新聞 聖徳太子1400年忌「聖霊会」 魂慰める、大阪・四天王寺で https://www.hokkaido-np.co.jp/article/672914/ 四天王寺 2022-04-22 19:03:46
北海道 北海道新聞 福井の中2自殺、元担任を停職 県教委が遺族に陳謝、元教頭減給 https://www.hokkaido-np.co.jp/article/672928/ 男子生徒 2022-04-22 19:18:00
北海道 北海道新聞 車の定額相乗りサービス 道内5市町でも提供へ KDDIなど https://www.hokkaido-np.co.jp/article/672927/ willer 2022-04-22 19:16:00
北海道 北海道新聞 核禁止条約参加求め96万筆 政府に「世界リードを」 https://www.hokkaido-np.co.jp/article/672926/ 日本政府 2022-04-22 19:14:00
北海道 北海道新聞 大型連休 航空各社とも回復傾向 予約状況発表 https://www.hokkaido-np.co.jp/article/672924/ 大型連休 2022-04-22 19:10:00
北海道 北海道新聞 木古内巡り自転車で 道の駅で23日から貸し出し https://www.hokkaido-np.co.jp/article/672884/ 観光協会 2022-04-22 19:10:37
北海道 北海道新聞 こいのぼり236匹、春風に乗り 大樹・歴舟川 https://www.hokkaido-np.co.jp/article/672909/ 歴舟川 2022-04-22 19:09:55
北海道 北海道新聞 アフリカへ毛布送り37年、5月末で活動終了 立正佼成会函館教会「協力を」 https://www.hokkaido-np.co.jp/article/672881/ 函館教会 2022-04-22 19:06:31
北海道 北海道新聞 スポーツ少年団の全国大会中止も 勝利至上主義を是正 https://www.hokkaido-np.co.jp/article/672923/ 全国大会 2022-04-22 19:05:00
北海道 北海道新聞 ロシア休戦拒否、包囲継続 マリウポリ死者2万2千人 https://www.hokkaido-np.co.jp/article/672922/ 要衝 2022-04-22 19:04:00
北海道 北海道新聞 春の訪れ、カタクリ満開 男山自然公園 https://www.hokkaido-np.co.jp/article/672886/ 春の訪れ 2022-04-22 19:03:37
北海道 北海道新聞 4月の道内景況、判断据え置き 日銀札幌支店 https://www.hokkaido-np.co.jp/article/672913/ 据え置き 2022-04-22 19:02:27
ニュース Newsweek エリザベス女王の「バービー人形」、シワひとつないモデル体型の姿に賛否の声 https://www.newsweekjapan.jp/stories/world/2022/04/post-98557.php エリザベス女王の「バービー人形」、シワひとつないモデル体型の姿に賛否の声イギリスのエリザベス女王が今年、在位周年の「プラチナ・ジュビリー」を迎えるのを記念して、女王をモデルにしたバービー人形が発売される。 2022-04-22 19:44:00
ニュース Newsweek 大統領一族以外は全閣僚辞任のスリランカ──経済破綻で縁故主義に怒り爆発 https://www.newsweekjapan.jp/stories/world/2022/04/post-98558.php 反政府デモが全土で激化するなか、月日にはラジャパクサ大統領と首相を務める実兄を除く全閣僚が辞任したが、デモの嵐は収まっていない。 2022-04-22 19:01:34
IT 週刊アスキー 有能な家臣の手厚いサポートで天下を目指せ。『信長の野望・新生』のシステム紹介動画・第2弾「具申・助言」が公開 https://weekly.ascii.jp/elem/000/004/089/4089981/ 信長の野望 2022-04-22 19:45:00
IT 週刊アスキー マイゾンビを生み出す生活ゲーム!?マーベラス、殺伐世紀末ライフを楽しめる新作『DEADCRAFT(デッドクラフト)』を発表 https://weekly.ascii.jp/elem/000/004/089/4089975/ deadcraft 2022-04-22 19:30:00

コメント

このブログの人気の投稿

投稿時間: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件)