AWS |
AWS Architecture Blog |
Optimizing your AWS Infrastructure for Sustainability, Part I: Compute |
https://aws.amazon.com/blogs/architecture/optimizing-your-aws-infrastructure-for-sustainability-part-i-compute/
|
Optimizing your AWS Infrastructure for Sustainability Part I ComputeAs organizations align their business with sustainable practices it is important to review every functional area If you re building deploying and maintaining an IT stack improving its environmental impact requires informed decision making This three part blog series nbsp provides strategies to optimize your AWS architecture within compute storage and networking In Part I we provide success criteria … |
2021-08-10 17:36:11 |
AWS |
AWS Big Data Blog |
Power your Kafka Streams application with Amazon MSK and AWS Fargate |
https://aws.amazon.com/blogs/big-data/power-your-kafka-streams-application-with-amazon-msk-and-aws-fargate/
|
Power your Kafka Streams application with Amazon MSK and AWS FargateToday companies of all sizes across all verticals design and build event driven architectures centered around real time streaming and stream processing Amazon Managed Streaming for Apache Kafka Amazon MSK is a fully managed service that makes it easy for you to build and run applications that use Apache Kafka to process streaming and event data Apache … |
2021-08-10 17:18:35 |
AWS |
AWS Game Tech Blog |
Zero performance compromise: Gearbox Entertainment goes remote with AWS and Perforce |
https://aws.amazon.com/blogs/gametech/gearbox-entertainment-goes-remote-with-aws-and-perforce/
|
Zero performance compromise Gearbox Entertainment goes remote with AWS and PerforceGearbox Entertainment founded by Randy Pitchford is an award winning game development studio and publisher known for creating smash hit game franchises including Half Life Borderlands and Brothers in Arms The company s creative capabilities have seen it excel not just in video games but also in comic books action figures apparel art prints novels non fiction reference titles … |
2021-08-10 17:35:01 |
技術ブログ |
Developers.IO |
AWS WAFのマネージドルールでバージョン指定がサポートされました |
https://dev.classmethod.jp/articles/aws-waf-managed-rule-support-versioning/
|
awswafnowoffers |
2021-08-10 17:24:40 |
海外TECH |
Ars Technica |
New BIOS updates will make Windows 11 support less annoying on custom-built PCs |
https://arstechnica.com/?p=1786041
|
pcssettings |
2021-08-10 17:18:52 |
海外TECH |
Ars Technica |
Wear OS is getting a multi-generational leap in power thanks to Samsung |
https://arstechnica.com/?p=1786031
|
generational |
2021-08-10 17:09:03 |
海外TECH |
DEV Community |
10 Magical JavaScript Tips For EVERY Frontend Developer |
https://dev.to/zainsaiff/10-magical-javascript-tips-for-every-frontend-developer-1cig
|
Magical JavaScript Tips For EVERY Frontend DeveloperIn this article we will discuss the useful JavaScript tips for every web developer to save their valuable and precious time I am always ready to learn although I do not always like being taughtーWinston ChurchillTip Flatten the array of the arrayThis tip will help you to flatten a deeply nested array of arrays by using Infinity in flat var array flatten array of arrayarray flat Infinity output Tip Easy Exchange VariablesYou probably swap the two variables using a third variable temp But this tip will show you a new way to exchange variables using destructuring example var a var b a b b a console log a b Read More Magical JavaScript Tips for Every Web Developer |
2021-08-10 17:49:49 |
海外TECH |
DEV Community |
String Manipulation in JavaScript |
https://dev.to/swarnaliroy94/javascript-string-manipulation-1pb0
|
String Manipulation in JavaScriptIn JavaScript when we want to define any string we must start and end with either a single or double quote For example let myName My name is Swarnali Roy or let myName My name is Swarnali Roy We need to manipulate strings in our codes often and for that we have various ways Today s post is all about String Manipulation in JavaScript Escaping Literal Quotes with Backslash Sometimes if we want to include a literal quote or inside of the string then how will we manipulate the string The following two examples will show how it works Example Using a literal quote double quote inside of the string which is also started with a double quote let myName She said My name is Swarnali Roy console log myName output let myName She said My name is Swarnali Roy SyntaxError Unexpected identifier The output shows a SyntaxError as the starting quotation is looking for it s closing quotation which is found after She said So it takes She said as a string But the other part My name is Swarnali Roy is neither a string nor any syntax because it is outside of the and again find the full stop period within the Example Using a literal quote single quote within a string that is started and ended with let myName She said My name is Swarnali Roy console log myName output She said My name is Swarnali Roy Here the output shows the expected syntax as we have used single quotation inside double quotation and there is no confusion in starting and ending quotation marks This was a simple example but in a complex string it is not so easy to manipulate a string like this There comes a concept of escaping literal quotes using a backslash in front of the quote This signals to JavaScript that the following quote is not the end of the string but should instead appear inside the string Let s solve the SyntaxError of the Example using this process let myName She said My name is Swarnali Roy console log myName output She said My name is Swarnali Roy Now the backslash is separating the literal quote and the quote is appearing inside the string Escape Sequences in StringsQuotes are not the only characters that can be escaped inside a string There are two reasons to use escaping characters It allows us to use characters that may not otherwise be able to type out such as a newline or tab To allow us to represent multiple quotes in a string without JavaScript misinterpreting what we actually mean Some important syntax are Single Quote Double Quote newline ntab tbackslash carriage return rword boundary bform feed fA simple example is var myName She said n t My name is nSwarnali Roy output She said My name is Swarnali Roy Concatenating Strings with OperatorWhen we use the operator with a string it is called the concatenation operator With this we can merge concatenate more than one string and build a new string out of those strings Following is an example let myName My name is Swarnali Roy I am an Engineer console log myName op My name is Swarnali Roy I am an Engineer We can also use the operator to concatenate a string onto the end of an existing string variable This can be very helpful for breaking a long string over several lines For example let myName My name is Swarnali Roy myName and I am a Software Engineer console log myName output My name is Swarnali Roy and I am a Software Engineer By using the concatenation operator we can also insert one or more variables into a string that we want to build A simple example is given below let myName Swarnali Roy let passion to code let myStr My name is myName and I love passion console log myStr output My name is Swarnali Roy and I love to code We can also append variables to a string using the plus equals operator let nameStr I am let myName Swarnali let passion and I love programming let str nameStr myName passion console log str op I am Swarnali and I love programming An important thing to notice is concatenation does not add spaces between concatenated strings so we ll need to add them ourselves To make the process compact JavaScript ES has introduced Template Literals They were called Template Strings in prior editions of the ES specification Creating Strings using Template LiteralsTemplate literals allow us to create multi line strings and to use string interpolation features to create strings Generally if we want to solve any problem with normal string manipulation we need to concatenate the value with the string with operator as we have seen till now But template literals make it simpler and remove the complications of using single or double quotes backslashes and concatenation operators The basic syntax is string text expression variable string text Let s see an example of Template Literals below and then get into the explanation let weather cloudy let myFav when it rains let myStr Today s weather is weather I love myFav console log myStr Today s weather is cloudy I love when it rains If we see the example a lot of things can be noticed First of all back ticks are used to wrap the string not quotes or Secondly it is a multi line string both in the code and the output This saves inserting newline n within strings The variable syntax used in the example is a basically a placeholder So we don t need to concatenate the variables with the operator anymore We can simply put the variable in a template literal and wrap it with to add it to strings Also we can include other expressions for example a b directly to the template literal Hence this process of building strings gives us more flexibility to create robust and complex strings Immutability of StringsIn JavaScript string values are immutable which means that they cannot be changed once they re created At first let s create a string let animal Cat animal B console log animal output CatWe cannot change the value of animal to Bat using bracket notation because the contents of the string cannot be altered by changing the value of their indices The individual characters of a string literal cannot be changed However we can still change the string value of animal to Bat The only way to change it would be to assign it with a new string value like this let animal Cat animal Bat console log animal output BatAt last I have some problems for my readers to solve You can answer them in the discussion section Any kind of questions are always welcome ️⃣Assign the following lines of text into a single variable using escape sequences Expected output Today is Sunday Tomorrow is Monday What was yesterday ️⃣Correct the code using backslash Expected output Anna said let s go on a trip let str Anna said let s go on a trip console log str output SyntaxError Unexpected identifier️⃣Using Template Literals change the following code The output will be the same let realName Robert Pattinson let reelName Edward Cullen let movieName Twilight let fullStr realName played the role of reelName in the movie movieName console log fullStr output Robert Pattinson played the role of Edward Cullen in the movie Twilight |
2021-08-10 17:34:51 |
海外TECH |
DEV Community |
11 Git Command I Use Everyday |
https://dev.to/zainsaiff/11-git-command-i-use-everyday-38a5
|
Git Command I Use EverydayWhen I started my career I was always afraid of losing my code changes Sometimes I would copy the code to text files just to be sure that I won t miss something That s not a great practice If you know how to use git properly you won t have these doubts Git has everything you need to make you safe And much more Let s dive in Read More Git Command i use Everyday |
2021-08-10 17:24:18 |
海外TECH |
DEV Community |
React Material Dashboard - Full-stack Version |
https://dev.to/sm0ke/react-material-dashboard-full-stack-version-3i8f
|
React Material Dashboard Full stack VersionHello coders This article presents the Full stack version of React Material Dashboard a premium design crafted by Creative Tim now usable with multiple API Backend Servers Node JS Flask Django The UI comes with pre configured JWT authentication powered by a Unified API Interface that makes this product compliant with more than one backend Node JS Flask Django FASTapi and Laravel coming soon Thanks for reading Content provided by App Generator Full stack React Material PRO LIVE DemoFull stack React Material PRO product page Product FeaturesThe product aims to help developers skip over the basics and start faster a new full stack product already enhanced with authentication a pixel perfect UI powered by production ready backends The fact that makes this full stack product unique is the JSON API compliance over multiple servers Node JS API Typescript Flexible persistence SQLite Mongo TypeORM Validation Django API JWT Authentication over DRF SQLite Docker Flask API powered by Flask JWT extended SQL Alchemy DockerComing soon APIs FASTapi Laravel API By default the UI redirects the guest users to the login page Once the user is authenticated all private pages are unlocked Implemented JWT Authentication Flow Login Logout Register How to use the productFull stack React Material Dashboard is built using a two tier architecture where the UI is decoupled from the backend API server and communicates using requests secured by JWT tokens The recommended way to start using this full stack product is to follow a simple setup Step Build and start the backend serverStep Build and start the UICreate a new user via the registration pageAuthenticate and access the private pagesAdd your magic on top of the existing codebase Start the backend serverAs mentioned before the UI is configured to work with many backend servers that share a common API interface Django Node JS Flask Based on your license free or commercial the access is granted to the requested API Server On this page we will compile and start the free version of Node JS API open source product Step Clone the sources git clone cd api server nodejsStep Install dependencies via NPM or Yarn npm i OR yarnStep Run the SQLite migration and create the required tables yarn typeorm migration runStep Start the API server development mode npm dev OR yarn devThe API interface used by the API is a simple JWT authentication layer that exposes the following methods USERS API api users register create a new user api users login authenticate an existing user api users logout delete the associated JWT token api users checkSession check an existing JWT Token for validity api users edit update the information associated with a registered user At this point the backend API should be amp and running on address http localhost and we can move on with the setup and build the React UI Start the React UIThe React Material Dashboard being a commercial product a license is required before getting access to the source code In case you don t have a license please access the product page and purchase one Step Clone the project git clone cd priv react material dashboard proStep Install dependencies via NPM or yarn npm i OR yarnStep Start in development mode npm run start OR yarn startTemplate Page Pricing cards Backend IntegrationThe backend API server address is saved in src config constant js export const API SERVER http localhost api Frontend api has been created at src api auth js const axios Axios create baseURL baseURL api headers Content Type application json At this point this simple full stack product should be up amp usable to create and authenticate new users For more resources and support please access Get assistance via support pageJoin Discord LIVE assistance registered users React Apps free and commercial productsReact Bundle a discounted multi product bundle |
2021-08-10 17:21:12 |
海外TECH |
DEV Community |
Quick start! getting started with flask, python3. |
https://dev.to/chris_murimi/quick-start-getting-started-with-flask-python3-40lp
|
Quick start getting started with flask python Python is a cool and beautiful programing language It is beginner friendly easy to learn and its syntax is very clear and concise Python is yet powerful enough to be used by global tech giants in their products and applications One area where Python shines is web development Python offers many frameworks from which to choose from including bottle py Flask Fast API CherryPy Pyramid Django and webpy This frameworks have been used is some of the most world applications What is flask Flask is a micro web framework written in Python It is classified as a microframework because it does not require particular tools or libraries It has no database abstraction layer form validation or any other components where pre existing third party libraries provide common functions However Flask supports extensions that can add application features as if they were implemented in Flask itself Extensions exist for object relational mappers form validation upload handling various open authentication technologies and several common framework related tools Setting up Flask Python Virtual environment A virtual environment is a Python environment such that the Python interpreter libraries and scripts installed into it are isolated from those installed in other virtual environments and by default any libraries installed in a “system Python i e one which is installed as part of your operating system virtual environment is used to manage Python packages for different projects Using virtual environment allows you to avoid installing Python packages globally which could break system tools or other projects You can install virtual environment using pip Use this code in windows I recommend using git bash than the windows CMD pip install virtualenv Create the virtual environment virtualenv my envmy env is the name of the virtual environment we have created Activate the virtual environment source my env Scripts activateNow we have a virtual environment let install flask Installing flask Flask is easy to set up Use pip install flask to install both Flask and all of its dependencies including the Jinja templating system pip install flask A basic Flask app from flask import Flaskapp Flask name app route def hello world self return Hello world This app doesn t do much ーit just creates a website with a single route that displays “Hello world in the browser Routes in flask Routes in a Flask app can be created by defining a view function and associating a URL with it using the route decorator Routes specify how the Flask app handles requests it receives such as what to display on the webpage at a certain URL app route def hello world self return Hello world Flask App Object The Python flask module contains all the classes and functions needed for building a Flask app The Flask class can be imported to create the main application object It takes the name of the app as an argument from flask import Flaskapp Flask name Running Flask App A Flask app can be run by exporting the FLASK APP environment variable and running flask run in the terminal export FLASK APP app pyflask run |
2021-08-10 17:14:05 |
海外TECH |
DEV Community |
Top 20 JavaScript tips and tricks to increase your Speed and Efficiency |
https://dev.to/zainsaiff/top-20-javascript-tips-and-tricks-to-increase-your-speed-and-efficiency-2gkn
|
Top JavaScript tips and tricks to increase your Speed and EfficiencyConvenient and useful techniques to reduce the lines of code and pace up your Dev Work In our daily tasks we get to write functions such as sorting searching finding unique values passing parameters swapping values etc so here I present my list of shorthand techniques to write all of them as a Pro JavaScript is truly an awesome languageto learn and work with And there can be more than one approach to reach to the same solution for given problem In this article we will discuss only the quickest ones These approaches will definitely help you in Reducing the number of LOC lines of code Coding Competitions Hackathons orOther time bound tasks Most of these JavaScript Hacks uses techniques from ECMAScript ES onwards though the latest version is ECMAScript ES Note All below tricks have been tested on the Console of Google Chrome Read More Top JavaScript tips and tricks to increase your Speed and Efficiency |
2021-08-10 17:13:30 |
海外TECH |
DEV Community |
20 Best CSS Library For Developer |
https://dev.to/zainsaiff/20-best-css-library-for-developer-43gp
|
Best CSS Library For DeveloperWeb Developers used to spend a lot of time creating beautiful CSS Thanks to the CSS libraries we now have a better faster and more effective way to build responsive websites and web applications Are you still looking for the best CSS libraries Do you want to know which library you should try In this article we have best CSS libraries for your inspiration How do CSS libraries work CSS library gives web developers a basic structure which includes grid interactive UI patterns web typography tooltips buttons form elements icons This structure helps web developers to start quickly and efficiently when they are designing a website or web applications Here we have put together best CSS libraries We hope you like them and most importantly find the best one for your needs Let s go Read More Best CSS Library For Developers |
2021-08-10 17:08:38 |
Apple |
AppleInsider - Frontpage News |
How to use an iPhone if you have color blindness |
https://appleinsider.com/articles/21/08/10/how-to-use-an-iphone-if-you-have-color-blindness?utm_medium=rss
|
How to use an iPhone if you have color blindnessIf you are color blind it can sometimes get in the way of enjoying visual content such as by making the iOS and iPadOS user interface harder to understand and use Here are ways you can set up your iPhone and iPad to work around the impairment Color blindness is an issue that affects many people around the world with around in men said to be affected according to the National Eye Institute In short it is an issue that prevents a person from differentiating between different colors or shades of color This can potentially cause issues in daily life such as telling the difference between traffic signals showing red or green or making sure clothes coordinate when getting dressed Read more |
2021-08-10 17:28:18 |
Apple |
AppleInsider - Frontpage News |
Apple issues fifth developer betas for iOS 15, iPadOS 15, tvOS 15 |
https://appleinsider.com/articles/21/08/10/apple-issues-fifth-developer-betas-for-ios-15-ipados-15-tvos-15?utm_medium=rss
|
Apple issues fifth developer betas for iOS iPadOS tvOS Apple has moved on to its fifth round of milestone developer betas with new builds of iOS iPadOS and tvOS available for testing The newest builds can be downloaded via the Apple Developer Center for those enrolled into the test program or via an over the air update on devices running the beta software Public betas typically arrive within a few days of the developer versions via the Apple Beta Software Program website The fifth round arrives after four previous iterations with the fourth from July the third from July the second on June and the first on June Final versions are expected to be released in the fall Read more |
2021-08-10 17:14:44 |
海外TECH |
Engadget |
Hyundai's Motional will start testing its robotaxi in Los Angeles this month |
https://www.engadget.com/motional-autonomous-vehicle-robotaxi-testing-los-angeles-california-hyundai-175359023.html?src=rss
|
Hyundai x s Motional will start testing its robotaxi in Los Angeles this monthMotional a joint autonomous vehicle venture between Aptiv and Hyundai is expanding its operations in California The company plans to start public road mapping and testing of its robotaxi in Los Angeles this month Motional is currently testing the AV in Boston Pittsburgh Las Vegas including driverless tests and Singapore The company and partner Lyft plan to start a robotaxi service in several US markets in Extensive road mapping and testing are essential precursors for that to happen Motional s initial LA tests will take place in and around Santa Monica with a safety driver at the wheel TechCrunch notes Los Angeles notoriously has some of the worst traffic in the US so Motional s robotaxi will likely be put through its paces there Waymo started mapping the streets of Los Angeles in but its AV testing has largely been contained to the Phoenix area Motional is also boosting its LA research and development facility and opening an operations center there The company opened its Santa Monica offices in and key members of Motional s machine learning and hardware teams are based at that location Meanwhile Motional has opened its first office in the San Francisco Bay Area where its compute design team is based |
2021-08-10 17:53:59 |
海外ニュース |
Japan Times latest articles |
Cuomo resigns as New York governor under harassment cloud |
https://www.japantimes.co.jp/news/2021/08/11/world/politics-diplomacy-world/andrew-cuomo-resigns-sexual-harassment/
|
attorney |
2021-08-11 02:01:20 |
ニュース |
BBC News - Home |
New York Governor Andrew Cuomo resigns in wake of harassment report |
https://www.bbc.co.uk/news/world-us-canada-58164719
|
multiple |
2021-08-10 17:22:24 |
ニュース |
BBC News - Home |
Woman found dead in Perton lay-by was set alight |
https://www.bbc.co.uk/news/uk-england-stoke-staffordshire-58163416
|
perton |
2021-08-10 17:30:37 |
ニュース |
BBC News - Home |
Max Woosey: Camping challenge boy set for 500th night |
https://www.bbc.co.uk/news/uk-england-devon-58147506
|
milestone |
2021-08-10 17:31:46 |
ニュース |
BBC News - Home |
Smitten prison officer helped inmate lover escape |
https://www.bbc.co.uk/news/uk-england-derbyshire-58160687
|
court |
2021-08-10 17:22:29 |
ニュース |
BBC News - Home |
England recall Moeen for second Test against India |
https://www.bbc.co.uk/sport/cricket/58142837
|
england |
2021-08-10 17:19:17 |
ニュース |
BBC News - Home |
Sharma stars as Spirit win a tight finish to all-but eliminate Originals |
https://www.bbc.co.uk/sport/cricket/58161076
|
Sharma stars as Spirit win a tight finish to all but eliminate OriginalsAn excellent all round performance from Deepti Sharma helps London Spirit beat Manchester Originals in a fascinating back and forth game at Old Trafford |
2021-08-10 17:40:12 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
クオモNY州知事が辞任、セクハラ問題で窮地に - WSJ発 |
https://diamond.jp/articles/-/279220
|
辞任 |
2021-08-11 02:20:00 |
北海道 |
北海道新聞 |
送迎バス車内、50度超か 福岡の5歳園児熱中症死 |
https://www.hokkaido-np.co.jp/article/577079/
|
熱中症死 |
2021-08-11 02:04:10 |
北海道 |
北海道新聞 |
いけだワイン城でデザートビュッフェ 9月の土日限定 |
https://www.hokkaido-np.co.jp/article/577016/
|
一般社団法人 |
2021-08-11 02:02:04 |
コメント
コメントを投稿