AWS |
AWS Partner Network (APN) Blog |
Enabling Remote and Secure High-Performance PTC Creo CAD with Infosys Cobalt on AWS |
https://aws.amazon.com/blogs/apn/enabling-remote-and-secure-high-performance-ptc-creo-cad-with-infosys-cobalt-on-aws/
|
Enabling Remote and Secure High Performance PTC Creo CAD with Infosys Cobalt on AWSCAD on the cloud delivers the same if not better performance than on premises setup For enterprises it will be a paradigm shift to have their CAD CAE workload on the cloud especially using Amazon AppStream Learn about Infosys flagship Cobalt program one of the largest service providers in engineering and design with decades of experience helping customers leverage AWS to optimize cost and performance |
2022-04-18 17:34:37 |
AWS |
AWS |
Quick Guide to Cost Optimization with AWS Managed Services | Amazon Web Services |
https://www.youtube.com/watch?v=lMU871_1XrU
|
Quick Guide to Cost Optimization with AWS Managed Services Amazon Web ServicesCustomers have many options on AWS to help them on reducing cost and building applications that use resources more effectively In this session we will show you some of the tools you can use to reduce cost some of ways AWS Managed Services add automation and custom reporting for customers and a checklist will be filled through out the presentation to make it easier for you to choose the tools and services to use for the AWS service you are looking to focus your efforts on to reduce cost Below there is the final checklist showing the tools used for each AWS service to make it easier for you to validate the available services for each case and a resource doc containing more details and latest updates for each of those cost optimization tools mentioned on this video Zip file containing the resource doc and spreadsheet Checklist AMS Customer Cost optimization best practices checklist xlsxThis checklist makes it easier for customer to define which AWS service feature Eg AWS Compute Optimizer can be used to help reduce cost on other AWS Services Eg Amazon Ec Amazon ABS AWS Lambda Resources doc AMS Customer Cost optimization best practices links pdfThe resource doc has links related to the main cost optimization services from AWS an overview of some services and also latest announcements Other resources AWS Managed Services product page Cost optimization with AMS Advanced documentation Subscribe More AWS videos More AWS events videos ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AWS AmazonWebServices CloudComputing |
2022-04-18 17:41:55 |
AWS |
AWS - Webinar Channel |
Transform your contact center with Conversational AI and Real-time Call Analytics |
https://www.youtube.com/watch?v=lIRwLvaFl70
|
Transform your contact center with Conversational AI and Real time Call AnalyticsAWS Contact Center Intelligence CCI solutions empower you to improve customer experience boost agent productivity and gain conversation insights by adding AI capabilities to the contact center of your choiceーwithout any ML expertise In this session you will learn about AWS CCI solutions and how to integrate them to your preferred contact center See a live demo on how to enable self service conversational experiences real time call analytics and agent assist in a contact center that uses Session Initiation Protocol SIP for voice communication Explore how AWS AI services power CCI solutions and integrate with SIP based contact centers using Amazon Chime SDK Learning Objectives Objective Learn about AWS CCI solutions and how to use AWS AI services to transform customer experiences Objective Explore how to integrate self service capabilities and real time call analytics to any SIP based contact centers using Amazon Chime SDK Objective See how Post call analytics provides actionable insights to spot emerging trends identify agent coaching opportunities and assess the general sentiment of calls To learn more about the services featured in this talk please visit |
2022-04-18 17:00:31 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
nondominated sortを高速に計算する |
https://qiita.com/nabenabe0928/items/a0b4a855d0f42bbfde9a
|
ranksshap |
2022-04-19 02:46:22 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
AWS各サービスにかかっている金額 |
https://qiita.com/ymktmk/items/f38636f055daef54083c
|
timportbotoimportosimpor |
2022-04-19 02:27:31 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
🔰【Win/Mac】はじめてのSSH接続🤫GitHubからリポジトリをクローンしてみよう! |
https://qiita.com/heppokofrontend/items/25cedd62eb220c1bc20b
|
gitconfigglobalusernam |
2022-04-19 02:48:33 |
海外TECH |
Ars Technica |
Buff Thor is back and trying to find himself in Love and Thunder teaser |
https://arstechnica.com/?p=1848777
|
mighty |
2022-04-18 17:17:29 |
海外TECH |
Ars Technica |
Review: Playdate earns its $179 price tag with cute design, memorable games |
https://arstechnica.com/?p=1847088
|
crank |
2022-04-18 17:00:29 |
海外TECH |
MakeUseOf |
How Much Data Does YouTube Actually Use? Explained |
https://www.makeuseof.com/tag/how-much-data-does-youtube-use/
|
consumption |
2022-04-18 17:15:15 |
海外TECH |
MakeUseOf |
6 Reasons Why YouTube Keeps Deleting Your Comments |
https://www.makeuseof.com/why-youtube-deleting-comments/
|
youtube |
2022-04-18 17:15:14 |
海外TECH |
DEV Community |
What are some things that you don't like about git? |
https://dev.to/bhupesh/what-are-some-things-that-you-dont-like-about-git-ek9
|
What are some things that you don x t like about git Git has been in the making since and probably developers use it everydayWhat are some pain points that you face with git everyday or have encountered occasionally Leaving the classic Hitler uses git meme for some gags |
2022-04-18 17:48:54 |
海外TECH |
DEV Community |
10 Inteview Mistakes that Make Look Junior ... and Leave Money on the Table |
https://dev.to/dragosnedelcu/10-inteview-mistakes-that-make-look-junior-and-leave-money-on-the-table-5e50
|
Inteview Mistakes that Make Look Junior and Leave Money on the TableIn software development is that there is no real standard level for seniority For some companies what looks like a senior developer for other companies would be a mid or junior developer at best This brings me to the next point the way you perform in interviews will determine the level of seniority a company will assign to you So you better nail those interview questions Well in this article I compiled for you the most common mistakes you want to avoid if you don t want to look like a junior and of course leave a lot of money on the table Answering questions without thinking twiceThe biggest type of behavior that will make you look like a junior is as soon as the interviewer asks a question you jump right in with an answer I know you are nervous and I know you are eager to prove how much you know but being too fast in answering a question might lead to you missing key information needed to properly answer these questions By the way you can watch all this on YouTube here make sure you subscribe It might also make the interviewer feel like you are not really listening to them Instead of doing that take a few seconds to think before you answer any question particularly in an interview You should also follow up with further questions if you feel like you need more information to formulate an answer This brings me to mistake number … Not asking the most powerful question you can ask in an interviewWhat really makes the difference between a junior and a senior developer not only in the context of interviews but also in real time on the job Senior developers understand the importance of the question “Why And they understand that many times people will ask them things because they think they need something when in reality they want to achieve something else and they thought that was the best way Ton t take things for what they seem dig a bit deeper In an interview make sure you ask a why a few times to completely understand what the interviewer is asking for and after that dive deep into answering it Attacking or blaming the interviewer You might be tempted to do this particularly when you feel like you are being asked things that have nothing to do with the job like fancy data structures… Look I know it might seem unfair I know tech interviews might piss you off but having an emotional reaction to this or worse questioning the interviewer s skills because of it will definitely sabotage the whole interview process Put yourself in their shoes there is a reason behind why they are asking this And if is a stupid question if they are a developer they probably know it anyway Maybe they just want to see how you react to the whole thing If the question catches you right off the bat ask some clarifying questions as I mentioned before or simply tell them the truth in a polite way I am not familiar with this concept could you help me understand this better This thing alone will save you and even if you might totally fail some questions you will for sure still be on track for getting the position Thinking you are the hero Look the interview is not about you Let me repeat this the interview is not about you Sure you are getting evaluated but you are getting evaluated by them they want to see if you can help them achieve their goals through your technical skills That s what is all about This means that when asked about you you should keep it short and always point it back to them Be interested in what they do and what are they trying to achieve by hiring you In this way you will easily stand out from the crowd of developers out there that think they are some kind of geniuses and companies are lucky to have them That story is great for the ego but it won t help you in winning them over And if you are not interested in winning them over then why the hell are you interviewing with them anyway Talking trash about your last employerOne of the things that damaged my ability to land a position particularly at the beginning of my coding career…When asked the magic question or “Why are you leaving your current position I would go ahead and ramble forever about how bad my last job was how there was no automated testing the expectations to deliver were outrageous and there was no training in place And the worse is most of it was true Yet it did not help me as it tagged me as someone who complains even before starting out and it brought a negative vibe to the table A better strategy is number one to make peace with the past as is not helping anyone Just tell them it s been great but you are looking to grow in a different direction and that s what made you interview with them Spelling mistakes in the code readme or documents you might send overBack in my frontend engineering positions I was in charge of evaluating the code challenges we would receive and deciding whether we get them on an interview or not One of the biggest stoppers in passing people to the next level was the quality of their readmes which included the way they expressed themselves and the grammar Unfortunately at that point in time those documents are the only way people can judge your abilities before inviting you over they don t know you Before you send things over make sure you double check for grammar and spelling You can use a piece of software like Grammarly to put this on autopilot Worrying only about the code and losing sight of the big pictureNot only how to code this and that but also the impact the pros and the cons that the solutions you provide will bring to the table This might be really hard if you never came in touch with making technical decisions your way and this skill takes years to develop but you can use a simple trick to think about this When faced with a technical problem ask yourself this question…What would my tech lead my CTO do about this From that perspective your brain will start looking for alternatives and you will most likely find several alternative solutions that will get you out of trouble Spending too much time trying to find the right keys on the keyboard This is particularly important for live coding interviews You might find it unfair and maybe it is but one of the ways to get a feeling of someone s seniority is how fast they type It is a short heuristic for the human brain But the subconscious image they have can be the faster they type the more they have been working with the computer particularly when writing code in public Your typing speed matters if you are writing code for a living You can train this skill and it will actually make you more productive as a developer on websites like fast fingers or typing club Randomly debugging your code instead of having a processI see it all the time with junior developers They get a console error and instead of taking a few seconds trying to see what happens they either jump back to the code changing things randomly without understanding what they are doing Or worse they copy paste the error code into Google thinking Stack Overflow will magically return a solution When it comes time to interview Stackoverflow won t be there anymore but the bad habit is there and now is visible in front of the interviewer A better way to approach this is by having a simple process that you can use when faced with an error or exception If you want me to write an article on this let me know below in the comments Self labeling yourself as a juniorProbably the most important thing that held me back when I was trying to get to a more senior position was my own self image I would self sabotage myself by letting all my insecurities and past failures consider myself less than I was worth it This is particularly true when you are aiming for a position that is out of your comfort zone Your emotions will try to hold you back and tell you that you might not be cut for this This leads people to undersell themselves tag themselves with the junior label fail to progress and grow Working on building strong self esteem in terms of your abilities as a developer can take years again I have a simple hack for you Don t ever label yourself Instead let them label you Go there do the best job you possibly can and let them tell you at what level you are Well that was it Make sure you keep this article handy when you are interviewing for your next position or a promotion If you implement even half of the stuff I just mentioned you will get to that next level in no time and this junior or mid level thing will be just a memory And if you are truly serious about getting to the next level here are a series of resources to help you get started on that journey Follow the steps below to get access Find out your technical gaps with our free technical assessmentWatch this technical training where you will learn how to get to the Senior level faster by improving your technical skills effectively using a “Technical Mastery System If you want to gain complete confidence in your technical skills get to the mid senior level faster and earn more as a developer I invite you to watch our free training and reach out to me We will understand exactly where you stand right now technically as a developer and draft a step by step technical roadmap for you to get to the next level And if you want our help putting it into action we would be delighted to help you out Now click on that follow button if you want to get more articles like this and I will see you in the next one Cheers Dragos |
2022-04-18 17:23:32 |
海外TECH |
DEV Community |
Design Narrative: Cloud Resume Challenge |
https://dev.to/alexeversmeyer/design-narrative-cloud-resume-challenge-3e34
|
Design Narrative Cloud Resume ChallengeThis article was originally posted on my self hosted blog on April Getting startedBack in October of last year I studied for and earned the AWS Solutions Architect Associate certification The next day I thought Now what I did a little poking around online and discovered Forrest Brazeal s Cloud RésuméChallenge By then I had missed out on the code review but I decided that the challenge would be a great exercise anyway both to gain experience and expose my knowledge gaps I was right about both FrontendCoding the frontend of the resume from scratch given my long hiatus from web development at that point seemed like an enormous task and my perspective was that my time would be better spent working on the architecture related steps I found a freely available template and modified it to suit my taste and experience The template is written in HTML and CSS and proved to be easy to work with It also includes a snippet to JavaScript to make the dynamic visitor counter function Once my draft of the resume was completed I uploaded it manually to an S bucket I then set up a CloudFront distribution for fast content delivery with a certificate for HTTPS security registered a domain in Route and pointed the resume s subdomain at the CloudFront distribution So far so good A brand new concept for me was the continuous integration continuous development workflow Since my site s version control was being handled by Git and GitHub it was a matter of finding a GitHub Actions workflow that uploaded my code to S and also invalidated the CloudFront distribution every time I pushed an update so that the latest copy of my site would always be visible I set up some Secrets for my AWS resource names and credentials added the workflow to my next commit and watched as the whole thing failed The issue was with the bucket name I had stored and once it was entered properly the workflow succeeded and the frontend was basically complete other than content editing BackendThe backend consists of an AWS Lambda function that is triggered by the JavaScript code to communicate with a DynamoDB table via AWS s API Gateway At this point I hadn t learned much code at all yet nor had I worked with any of these services in any appreciable way so the struggle became real very quickly With the assistance of a friend with a lot of coding experience I did attempt to read the Lambda and boto documentation and fudge my way through some code It was soon apparent that I wasn t able to handle the code on my own however and I had to start reviewing other people s code to figure out a solution I eventually came up with something that I thought might work so I set up a DynamoDB table an API Gateway and the Lambda code However I was unable to get everything to talk to each other largely due to misconfiguration of the API I think At this point I was feeling pretty frustrated with my lack of knowledge and inability to figure these challenges out despite hours of internet searches and reading I didn t want to outright cheat by simply copying someone s repository but I was at a loss for what to do and took a day or two off to let my brain reset Refreshed I decided to look into another requirement of the project using the Serverless Application Model to provision my backend resources as code I found a marvelous blog post outlining a similar project downloaded the AWS SAM CLI and gave it a whirl Lo and behold it was like magic Amazon did all the work of configuring resources to work with each other and I had the ability to test my code It took a few more hours and some mind melting frustration to get my Lambda code to atomically increment a value in my database but some methodical experimentation a skill I improved later while formally learning Python over the winter led to working code Another GitHub Action workflow this time triggering the SAM CLI to build and deploy my code was set up in the backend repository and I now had fulfilled almost all of the project requirements One thing I did not get to was unit testing my Python code Learning unit testing is on my shortlist of future projects but hasn t happened yet Wrapping upI finally reached a point where I m ready to tidy up the content of my resume as part of a bigger push to prepare myself for the impending job search This blog post is the other as yet incomplete part of the project but now it and my resume are live and ready for prime time I d like to think this challenge would have gone quite differently now than six months ago since I have much more Python experience and more time playing with AWS resources Nevertheless it was incredibly instructive at the time and helped set my path forward as I continue learning and progressing towards a new career Click here to see my resume Frontend GitHub repositoryBackend GitHub repository |
2022-04-18 17:19:53 |
海外TECH |
DEV Community |
Managing compliance the Serverless way with AWS Config custom rules |
https://dev.to/mohdizzy/managing-compliance-the-serverless-way-with-aws-config-custom-rules-fg
|
Managing compliance the Serverless way with AWS Config custom rulesAWS Config is a tool for continuous monitoring and conducting compliance checks across your resources in AWS With the growing services in an AWS account managing security and conducting routine audits can become cumbersome This is where AWS Config can do all the heavy lifting with a few clicks With detailed reports of the configuration history this service simplifies auditing and maintaining compliance with any internal guidelines you may have In this article we will take a quick look at how to get started with AWS Config and also explore on how you can create your own custom rules that allow you to run evaluations against specific resources along with using SNS for delivering changes in configurations Overview How to set up AWS ConfigSNS Event ruleBrief about Conformance packsCreating custom AWS Config rule with LambdaConclusion Getting started Setting up AWS managed rules In the first instance of using the service you will be asked to create rules either for AWS resources or for the third party resource apps that your account may have been integrated with eg DataDog Jfrog Stackery etc This can always be altered later by going to Settings at the dashboard After specifying the bucket name for delivering the Config reports you can optionally choose to associate an SNS topic which will then trigger notifications whenever there are configuration changes to your resources that Config is able to capture We will get to set this up a little later On the next page you can handpick the AWS managed rules for the resources against which the evaluation should be done These rules will be triggered in two ways depending on rule type By frequency value between h to h Configuration changes either by changes to some specific resource Id or changes to resources based on associated tags SNS Event rule For configuring the SNS event notifications head over to the Eventbridge dashboard and set up the AWS event for Config You can configure the event type and custom JSON message for that event type For now we will stick to a simple setup for triggering notifications when there is a configuration change for all resources Proceed to associate the SNS topic that was provided in the initial setup at the AWS Config dashboard Conformance packs Conformance packs are preset templates containing rules and configurations that provide a general purpose framework for security and operational governance checks Think of them as starter templates rules which you should ideally extend to build compliance regulations that are in line with the organization s standards Here I have chosen the Serverless conformance pack that includes checks against the usual serverless resources DynamoDb API Gateway Lambda and VPC endpoint setup to name some of the items in the list Creating your own Config custom rule Let s consider a specific scenario wherein you want to ensure that all Lambda functions belonging to a specific VPC do not have an open outbound rule in the Security group On the rule creation page choose the custom Lambda rule Fill in the function ARN you will need to create a function beforehand the trigger type and rule parameters here I have specified as vpcid const configClient require aws sdk clients configservice const ecClient require aws sdk clients ec const lambdaClient require aws sdk clients lambda const ec new ecClient region process env AWS REGION const lambda new lambdaClient region process env AWS REGION const config new configClient const COMPLIANCE STATES COMPLIANT COMPLIANT NON COMPLIANT NON COMPLIANT NOT APPLICABLE NOT APPLICABLE Checks whether the invoking event is ScheduledNotificationfunction isScheduledNotification invokingEvent return invokingEvent messageType ScheduledNotification Evaluates the configuration of the egress rule in the security groupconst evaluateCompliance async vpcId gt const getLambdaInVPC await ec describeNetworkInterfaces Filters Name vpc id Values vpcId promise const lambdaList getLambdaInVPC NetworkInterfaces forEach item gt lambdaList push item Description split AWS Lambda VPC ENI split if lambdaList const uniqueLambdaNames new Set lambdaList const getLambdaSGId for const item in uniqueLambdaNames const lambdaInfo await lambda getFunction FunctionName uniqueLambdaNames item promise lambdaInfo Configuration VpcConfig SecurityGroupIds forEach item gt getLambdaSGId push item const uniqueSGId new Set getLambdaSGId let complianceSGList uniqueSGId forEach id gt complianceSGList push Id id Compliance COMPLIANCE STATES COMPLIANT const checkSGEgressInternetRule await ec describeSecurityGroups GroupIds uniqueSGId Filters Name egress ip permission cidr Values promise if checkSGEgressInternetRule SecurityGroups checkSGEgressInternetRule SecurityGroups forEach item gt const indexToUpdate complianceSGList findIndex obj gt obj Id item GroupId complianceSGList indexToUpdate Compliance COMPLIANCE STATES NON COMPLIANT console log JSON stringify complianceSGList return complianceSGList else return Id vpcId Compliance COMPLIANCE STATES NOT APPLICABLE exports handler async event context gt Parses the invokingEvent and ruleParameters values which contain JSON objects passed as strings console log JSON stringify event const invokingEvent JSON parse event invokingEvent const ruleParameters JSON parse event ruleParameters if isScheduledNotification invokingEvent Passes the vpcid from the config rule parameter const checkCompliance await evaluateCompliance ruleParameters vpcid const putEvaluationsRequest ResultToken event resultToken putEvaluationsRequest Evaluations checkCompliance forEach item gt putEvaluationsRequest Evaluations push ComplianceResourceType AWS EC SecurityGroup ComplianceResourceId item Id ComplianceType item Compliance OrderingTimestamp new Date Sends the evaluation results to AWS Config const configResponse await config putEvaluations putEvaluationsRequest promise return configResponse else console log Not a scheduled event The logic is essentially doing this Pull all Lambda functions associated with the provided VPC ID part of the incoming Config event as rule parameter Get the Security group details Filter those Security group IDs that have an outbound rule to Return the evaluation result back to Config When you manually invoke this rule s evaluation any changes to security group will trigger an SNS event You can review the results at Config dashboard and see the list of those Security group IDs that are non compliant We can also set up an automated remediation response when the evaluation fails In this case choosing the CloseSecurityGroup action from the list If in case a preset remediation action doesn t exist we could leverage the SNS event as a trigger for another Lambda function which will then carry out the remediation action for us thereby automating the whole process of event detection and remediation without any manual intervention The flow would then look something like this Conclusion Compliance setups can get complicated as the number of services expands within an AWS account With Config it s also possible to aggregate evaluation reports across multiple accounts which simplifies auditing when there are distributed resources in different regions belonging to other accounts Different business units within an organization may have varied audit requirements and it can certainly get a whole lot more difficult to control and manage Especially in cases when an organization is wanting to maintain strict compliance as per PCI standards AWS Config can definitely be of great help in offloading those internal audits and security management tasks |
2022-04-18 17:19:52 |
海外TECH |
DEV Community |
Setup Mac M1 for React Native development |
https://dev.to/leofolive/setup-macbook-m1-for-react-native-development-4ca7
|
Setup Mac M for React Native developmentHey In this post I will give you a quick guide to how to set up the React Native environment in M M Pro or M Ultra I will consider that you don t have anything that we use in the React Native environment This is the full installation for arm based processors from Apple XCODEFirst you will need to download the lasted version of Xcode in the App Store Then you have it downloaded and installed you will need to open your Xcode accept the licenses and then go to Preferences gt locations and see if Command Line tools are already marked If not just check it with your Xcode version Like this Homebrew NVM node HomebrewIn this step you will need to go to Homebrew homepage and then install it using your terminal After running the installation script in your terminal you will see the request to run the additional codes DON T forget to run it So after running these additional codes you will see the request of Homebrew to add some code in zshrc or bashrc NVMSo after all these steps you re able to install NVM and node The process to install NVM is so simple you only have to run the following command in the terminal brew install nvm and after the installation has completed you will have to add some code in zshrc or bashrc to make NVM work properly NodeThis step is so simple you ll only have to run the following command in your terminal nvm install lt node version gt After all these installations you can run node v and npm v Then you have to link your node to Xcode to recognize him and can compile the emulator run this sudo ln s which node usr local bin JDK for Android and Android studioYeah let s go to configure the JDK and android studio First you will need to install the arm version of JDK for this we will use the Zulu JDK To install the arm version of JDK go to Zulu JDK downloads and select the JDK version your operational system macOS and the architecture arm get your dmg and install it Don t change anything in the installation process leave everything as default After installation is finished you will have to do some things Add java home to your zshrc or bashrc To this you will need to know where is your SDK folder to this just run this line in your terminal usr libexec java home This will return to you something like that Library Java JavaVirtualMachines lt Your JDK Version gt Contents HomeCopy and keep that safe you ll need this path Now we will set this path in your zshrc or bashrc to this go to your zshrc or bashrc and add the lines export JAVA HOME Library Java JavaVirtualMachines lt Your JDK Version gt Contents Homeexport ANDROID HOME Library Android Sdkexport PATH PATH ANDROID HOME emulatorexport PATH PATH ANDROID HOME toolsexport PATH PATH ANDROID HOME tools binexport PATH PATH ANDROID HOME platform toolsIn JAVA HOME you paste the path that you copy in the last step Now you re able to install Android Studio To install the Android Studio go to Android Studio Download and select the mac with an apple chip In Android Studio installation you have to check if your JAVA HOME is selected in JDK Path In the lasted step you already added the Android SDK in your zshrc or bashrc so you don t need to do this again Additional Steps in the IOS environmentYou will need to install the CocoaPods and FFI without this you will not able to run the React Native in IOS To install it run CocoaPods sudo gem install cocoapodsFii sudo gem install ffi necessary in m models This next step is optional depends on if you are using a library that is not compatible if the arm in your React Native App if you are so Click on your Xcode finder gt applications gt Xcode with the right button and select the option open with Rosetta The FinalYour configuration is finished like this node running nativelyJDK running nativelyVS Code running nativelyAndroid Studio running nativelyCocoaPods running NativelyXcode running Natively If you run it with Rosetta this will be Emulated Additional SoftwareVS Code Apple Silicon VS Code Download ContributorsThis post has the contribution of Allan Johnson he provided an initial guide to building this guide Doubts and suggestionsDo you have any doubts or suggestions English language correction suggestions are welcome remember this is my second language and I m learning it your help will always be appreciated |
2022-04-18 17:06:50 |
海外TECH |
DEV Community |
Day-68 Training At Ryaz |
https://dev.to/mahin651/day-68-training-at-ryaz-40e3
|
Day Training At RyazDate Day MondayToday I started at about at am as I way in progress to complete the java script course so I was done with partially ninth module so I started with the left over part so firstly I started with for loop its for loop is same as we use in c and c as we declare the variable first like I and for loop runs upto the iterations so it have same syntax as we use it in other languages after this I started with enhanced object literals as it uses the es enhanced object literals Object literal enhancement is used to group variables from the global scope and form them into javascript objects It is the process of restructuring or putting back together like to define function we only do function and after this we write required console log statements in the braces and after this I started with I started with optional chaining The optional chaining operator enables you to read the value of a property located deep within a chain of connected objects without having to check that each reference in the chain is valid and after this I started with object keys values and The Object keys method returns an array of a given object s own enumerable property names iterated in the same order that a normal loop would after this I started with sets as we use the array so sets are same as arrays elements so if we declare the sets and we can use the sets operations like odering the elements and after this I started with map and it have different functions like creates a new array from calling a function for every calls a function once for each element in an array does not execute the function for empty elements does not change the original array soothes way my day ended up and I learnt various new things |
2022-04-18 17:01:00 |
海外TECH |
DEV Community |
PlanetScale & Vitess: Referential Integrity With Legacy Sharded Databases |
https://dev.to/harshhhdev/planetscale-vitess-legacy-sharded-databases-and-referential-integrity-ikp
|
PlanetScale amp Vitess Referential Integrity With Legacy Sharded DatabasesI love serverless technology I play around and make lots of different serverless applications to experiment around with other cool technology Within the huge cluster of technologies I use experiment with PlanetScale was the database that I primarily used for my personal side projects as there wasn t any other good option which the Prisma ORM supported PlanetScale is a MySQL serverless platform which simply sells Vitess a database clustering system for the horizontal scaling of MySQL They didn t write their own database possibly contributed to it but they didn t write it From the Vitess documentation Vitess was created in to solve the MySQL scalability challenges that the team at YouTube faced In this article we ll be moving towards understanding the structure of these non ACID legacy sharded databases why they re unable to support something as crucial as referential integrity and why we should avoid using them in our applications This article is more about the technology of Vitess although I ve included PlanetScale in the title because as I mentioned above it s just selling Vitess with some tooling as a service and they ve gained traction in the following months as being a reliable serverless database BackgroundMy initial question was why it says that it s impossible to scale a PlanetScale database with referential integrity as in their documentation it states that The way FOREIGN KEY constraints are implemented in MySQL or rather in the InnoDB storage engine interferes with Online DDL operations Learn more in this Vitess blog post Limited to single MySQL server scope FOREIGN KEY constraints are impossible to maintain once your data grows and is split over multiple database servers This typically happens when you introduce functional partitioning sharding and or horizontal sharding This led me to think do FOREIGN KEY constraints affect scalability in general and if so how I do think it s important to realise that SQL table joins are pretty costly but to my knowledge it wasn t affected much by referential integrity Now if we re doing something like data analysis obviously we don t have a need for referential integrity as we d just want to dump our data into a single table but PlanetScale and Vitess boast about being used by big web applications such as YouTube This led me to be confused as to why they d drop the FOREIGN KEY constraint as databases such as CockroachDB and Spanner still maintain referential integrity along with being scalable What is referential integrity and why is it important Let s start with the basics in case you re new I m guessing most people reading this post have a fair idea of what they re talking about but I ll explain as a formality In simple words a FOREIGN KEY constraint is a database key which we can use to create relations between two different tables by referencing a column or a set of columns Referential integrity simply refers to the state of the database in which all values of all keys are valid Why is it important Now that we have a bit of an idea on what they are let s skip to the second part why are they important Referential integrity is important as it keeps you from introducing new errors into your database It is a feature often provided by relational databases preventing users or applications from entering inconsistent data into the database This leads to improved data quality faster development much fewer bugs and consistency across your application Why doesn t Vitess have it So to understand why Vitess is unable to support referential integrity we have to take a dive into the architecture of the database Vitess is a sharded non ACID SQL database not a true distributed ACID SQL database Now you must be wondering what those terms are Let me break them down for you ACID is an acronym of Atomicity Consistency Isolation and Durability Here atomicity refers to an action either completing or failing entirely no partial completion of a transaction Consistency refers to the transaction leaving the database in a valid state Isolation simply means that two transactions are executed without any interference with each other and durability means the changes of the transaction are saved A shard is a horizontal partition of data in a database and each shard is held on a separate database server instance to spread the load So when we refer to a database which is sharded we re talking about something like this Now as I said earlier Vitess is a sharded non ACID SQL database which basically means that it DOES NOT guarantee ACID properties of transactions Why drop it Well the problem starts when you have a MySQL database with a well defined schema and your service becomes popular with the problem of too many reads hitting the database What most people do here is they start caching frequently executed queries but the reads are no longer ACIDic Along with too many reads having an excess amount of writes to your database is a serious problem which many might face Let s say we re ready to set fire to our pockets we can vertically scale adding more RAM a core processor and loads of really fast solid state drives We of course still have the problem of SQL table joins increasing in complexity so you start denormalising to avoid joins between tables I gave a talk at the Prisma Meetup a while ago where I explained the fundamentals of designing a relational database A topic I covered here was denormalisation if you re interested be sure to check this out But denormalisation is basically the process where you add redundant data to tables in your database which improves performance on the cost of disk space as you re no longer using CPU power for joins While denormalisation improves the speed of reads it s important to realise that it does make writes slower Nevertheless despite all of this our database is still slow so we move database computations onto the client for instance generating a UUID or assigning a date Even after all of this queries will still be slow so we keep the result of the most queried data ready in a process known as database materialisation Now reads might be faster but writes are getting slower by the day The only logical situation now is to drop secondary indexes So at this point our database hasNo ACID properties because of cachingNo normalised schemaNo triggersNo database computationsNo secondary indexesThis paved the way for Vitess and NoSQL databases as companies were having issues with scaling their database The way that it was designed they weren t able to maintain data consistency an ACID property when transactions spanned several different shards Referential integrity is all about consistency when data spans across multiple shards therefore it makes sense that they re unable to support it well We can go deep into the structure of NoSQL databases with no FOREIGN KEY constraint and issues that we ll face adopting that model but that s the topic for another post It s not just Vitess it s been a standard practice for sharded databases to avoid referential integrity as there is simply no other choice In terms of the ACID model their documentation states that they guarantee atomicity but not isolation and even go as far as to say Guaranteeing ACID Isolation is very contentious and has high costs Providing it by default would have made Vitess impractical for the most common use cases Let s briefly talk about what ACID Isolation is There are four levels to it according to the SQL standards including serialisability read committed read uncommitted and repeatable reads With that being said there are more levels of isolation such as Snapshot isolation which isn t a SQL standard although used by several databases such as Firebase or MongoDB If you re further interested in this I recommend reading this post To keep it brief I m not going to go over what ever level of isolation does means but if you d like to read more about that do check out this page from the MySQL Documentation ACID isolation refers to the database transactions being ACIDic which is important as they guarantee that operations behave the way developers expect them to I m unsure on what they mean when they say Guaranteeing ACID Isolation is very contentious and has high costs but if they mean that guaranteeing ACID Isolation has high costs for any product they re wrong Several distributed ACID compliant databases have the highest level of isolation serialisable transactions whilst still being performant with fast read write speeds In the context of Vitess though they re not wrong as across multiple shards transactions cannot meet any level of isolation ConclusionWith all of this you must be wondering why would anybody want to use PlanetScale or Vitess Well I wonder the same With many companies and websites the reason was that they picked Vitess back when there weren t any better options If you go to the beginning of the article notice how it was created back in Now that we can enjoy an ACID compliant scalable database with referential integrity it would be in our best interest to shift towards these new databases and I ve started doing so already Technology changes rapidly and keeping your database up to speed is a crucial component of any application |
2022-04-18 17:00:37 |
Apple |
AppleInsider - Frontpage News |
The birth, life, death, and possible resurrection of the Thunderbolt eGPU in macOS |
https://appleinsider.com/articles/22/04/18/the-birth-life-death-and-possible-resurrection-of-the-thunderbolt-egpu-in-macos?utm_medium=rss
|
The birth life death and possible resurrection of the Thunderbolt eGPU in macOSWhile Apple embraced Thunderbolt eGPU technology for years it doesn t have the same love for the upgrade option for its Macs since the launch of Apple Silicon Here s how Apple s relationship with eGPUs started matured died ーand could come back Initial demonstrations of Apple s eGPU developer kit For years an external graphics processing unit eGPU was an easy way for Mac users to increase the graphical capability of their Mac or MacBook For most installs the upgrade consisted of an external PCI e enclosure housing a full size graphics card which is connected to the Mac via Thunderbolt enabling the Mac to take advantage of a sizable percentage of the card s maximum power Read more |
2022-04-18 17:15:55 |
Apple |
AppleInsider - Frontpage News |
Whistleblower Ashley Gjovik would return to Apple despite 'nightmare' life |
https://appleinsider.com/articles/22/04/18/whistleblower-ashley-gjovik-would-return-to-apple-despite-nightmare-life?utm_medium=rss
|
Whistleblower Ashley Gjovik would return to Apple despite x nightmare x lifeFormer Apple employee says her life is such a goddamn nightmare now but she would return to Apple Ashley GjovikAshley Gjovik was a senior engineering program manager at Apple who was fired on grounds of alleged disclosure of confidential information Her firing came the AppleToo movement brought out hundreds of accounts of harassment within Apple although Gjovik was not a founder of the campaign as sometimes reported Read more |
2022-04-18 17:08:19 |
海外TECH |
Engadget |
First Playdate orders begin shipping today |
https://www.engadget.com/playdate-group-one-orders-shipping-174813662.html?src=rss
|
First Playdate orders begin shipping todayThe day has finally arrived Following an eleventh hour delay late last year due to a quot critical quot battery issue Panic has begun shipping its long awaited Playdate portable spoiler warning we love it In an email it sent out on Monday the company said quot Group One quot customers will see their handheld shipped out quot today and in the coming weeks quot If you were among some of the first people to preorder the device back in Panic says you ll get an email the moment it sends out your unit nbsp Oh A new Playdate Update video is here It recaps the great developer things we ve released this year like Pulp and the Playdate SDK Please enjoy it There s one extra important bit in the update Playdates in Group One will begin shipping……today pic twitter com TYihEfーPlaydate playdate April quot We ll ramp up our shipping volume every day to make sure all of our systems are working smoothly quot the company said quot We think we can get Group One out the door during the next month quot Panic promised to share more information about Group Two orders including details about delivery estimates in the future nbsp Unfortunately if you decide to order the handheld today you re in for a lengthy wait quot We ve filled our production capacity for but we re ramping up to make even more systems quot the company says on its website quot The queue for is quickly growing so preorder now and secure your place in line quot nbsp |
2022-04-18 17:48:13 |
海外TECH |
Engadget |
'Battlefield 2042' will finally get in-game voice chat on Tuesday |
https://www.engadget.com/battlefield-2042-in-game-voice-chat-weapon-attachments-172527991.html?src=rss
|
x Battlefield x will finally get in game voice chat on TuesdayDICE and Electronic Arts will roll out a major Battlefield patch on Tuesday which will bring an important long awaited feature to the beleaguered first person shooter in game voice chat The VoIP feature won t work across an entire team however The only channel options are for parties and squads which can have a maximum of four members Given that teams can have up to players voice chat could get messy fast with that many people talking over each other A proximity based option might have been helpful for callouts though While Battlefield players can use party chat features built into their console or third party services such as Discord they haven t been able to speak with teammates they don t know until now For a game like this that s a heck of an omission It s good to see DICE and EA finally correcting course Update for Battlefield goes live across all platforms tomorrow at UTC It s a zero downtime update so you ll be good to jump in and play once you have it downloaded Update Notes pic twitter com PlrUomadDーBattlefield Direct Communication BattlefieldComm April Elsewhere the patch will overhaul weapon attachments to make many of them more distinct It should be clearer to understand how switching to a different one will affect your weapon Doing so might mean you ll have slower aim down sights speed or more magnification for a scope In addition players will see the updated scoreboard on end of round screens DICE listed many other changes in the patch notes including progression tweaks map alterations bug fixes and modifications to some specialist abilities The patch will go live at AM ET tomorrow Looking ahead the next patch is scheduled to arrive in May DICE said it will fix more bugs and introduce other quality of life changes Battlefield s delayed season one meanwhile is expected to start this summer |
2022-04-18 17:25:27 |
海外TECH |
Engadget |
Playdate is a magical indie game machine |
https://www.engadget.com/playdate-review-indie-games-crank-170054294.html?src=rss
|
Playdate is a magical indie game machinePlaydate shouldn t be able to do the things it does It s tiny enough to fit in the too tight front pockets of my skinny jeans it s lighter than a deck of cards and it has a bit black and white screen It feels like a relic of the s at least until you power it on Playdate supports smooth densely pixelated animations it connects to Wi Fi and it has a library of exclusive games from top tier indie developers all available for free The small crank attached to its side is the icing on the yellow cake adding a layer of sweet innovation to every experience on the system Playdate is my favorite handheld device since the Vita It s a love letter to indie games and creativity and I think it s exactly what the industry needs right now Playdate is the brainchild of Panic the Mac developer and publisher behind Firewatch and Untitled Goose Game with hardware crafted by Teenage Engineering Its specs are appropriately adorable with MB of RAM and GB of flash storage an accelerometer for motion based input a x bit display a built in mono speaker condenser mic and stereo headphone jack and Wi Fi and Bluetooth capabilities The Bluetooth function wasn t available to test for review but connecting to Wi Fi was a painless and even cute process PanicAdmittedly most things about Playdate are cute Its size the crank the audio cues the way each game is presented as a little gift to unwrap and how the screen looks like a winky face when you wake it up There s so much personality packed into Playdate s monochromatic screen that even interacting with the Settings page is enjoyable Of course playing games on it is even better Playdate comes with a lineup of free games each one made exclusively for the system and most of them taking full advantage of the crank mechanic These are automatically added to the library in batches once a Playdate is activated it ll receive two fresh games each week for weeks for a total of titles in the device s first season There are plans to offer games for purchase on Playdate down the line Some are definitely more replayable than others but I haven t found a bad game on Playdate yet They span genres and lengths capping out at a few hours but there s at least one moment of pure delight in each experience Crankin s Time Travel Adventure for instance is a sidescroller starring a hopeless romantic who s just trying to meet his date on time and his movements are controlled entirely by the crank steps reversing and accelerating depending on the direction of the rotation It s a simple concept with a singular input method but the crank makes it challenging in a way I ve never experienced before and it s instantly addictive PlaydatePanicSpellcorked is my favorite game on Playdate so far largely because it so cleanly captures everything the device has to offer It s a potion making game with a romantic subplot and a sassy cat and every time I boot it up I m impressed by the amount of fine detail that fills the screen It has dialogue character icons an email interface and environments filled with spiderwebs and nicknacks but nothing gets lost visually Each frame is crisp and the actual potion making process involves every input method Playdate offers pressing buttons while turning the crank to grind ingredients lining up a blade with the crank and chopping in a back and forth motion and tilting the entire device to the side to pour a finished potion into a vial Each new mechanic is so delightful so initially surprising that it adds an extra layer of magic to an already spell heavy game The Playdate crank isn t a gimmick It s a fundamental aspect of the system transforming it from a revamped Gameboy into something entirely new a mobile device with a peculiar and joyful edge The crank much like the lo fi restrictions of the hardware is an invitation for developers to think deeper about the way they develop games to try new things and to innovate on old ideas Playdate s first season is already filled with fresh concepts I haven t felt this spark of intrigue from a handheld since my fingers brushed the back of the Vita for the first time PanicI believe the ideas generated by Playdate games won t be trapped in a crank only bubble either This kind of creative thinking naturally bleeds into the wider game development cycle with designers testing out weird mechanics on the handheld and then transferring these concepts to traditional consoles PCs and phones The Vita eventually transformed into the DualSense after all and developers of all sizes regularly find wells of inspiration in new input mechanics As ridiculous as it may seem the Playdate crank can be a boon for the entire industry All hail the crank Amen There are few downsides to the Playdate It s small enough to be unobtrusive but unique enough to be a conversation starter it s packed with exclusive games from amazing indie developers its battery easily lasts two days with intermittent play it costs a reasonable and it has a crank My one complaint would be screen brightness it s not backlit but instead uses a super reflective system that requires light in the room to play and at times the screen appears dull It s not unplayable but I ve caught myself squinting a few times particularly in direct light PanicIt s also very very small which works just fine for my hands but people with large mitts might have issues with the size But hey if you can use a Joy Con you should be able to handle a Playdate Plus with the Playdate mirror app you re able to stream the device s screen in real time to a PC or Mac and play with traditional gamepads This also helps anyone who wants to go live with Playdate games on Twitch or YouTube and should be useful for developers Playdate looks like a cross between a Game Boy and a business card but it feels like a modern system Part of that is the speedy enough processor and feather light feel but it s also the sense of innovation built into the hardware There are plenty of devices out there promising gorgeous graphics and outrageous processing power but Playdate is a glaring reminder that there s more magic to a good game than bleeding edge performance This is something indie developers have known for decades and Playdate distills this philosophy into a cute as hell package complete with a crank |
2022-04-18 17:00:54 |
Cisco |
Cisco Blog |
Oracle Database 19c on Cisco X210c M6 – WOW! |
https://blogs.cisco.com/datacenter/oracle-database-19c-on-cisco-x210c-m6-wow
|
Oracle Database c on Cisco Xc M WOW Oracle database c performs extremely well running on the Cisco Xc compute node Testing using Oracle SLOB Silly Little Oracle Benchmark and Oracle Swingbench prove excellent scalability for IOPS growth and high transaction sperminute with minimum latency Details in a new whitepaper just published by Tushar Patel Principal Engineer Oracle Solutions at Cisco Systems Inc |
2022-04-18 17:36:08 |
海外科学 |
NYT > Science |
‘Frontline’ Review: Why the Climate Changed but We Didn’t |
https://www.nytimes.com/2022/04/18/arts/television/frontline-review-power-of-big-oil.html
|
examines |
2022-04-18 17:20:42 |
海外科学 |
NYT > Science |
Is Covid More Dangerous Than Driving? How Scientists Are Parsing Covid Risks. |
https://www.nytimes.com/2022/04/17/science/covid-risks.html
|
Is Covid More Dangerous Than Driving How Scientists Are Parsing Covid Risks The coronavirus remains new enough and its long term effects unpredictable enough that measuring the threat posed by an infection is a thorny problem |
2022-04-18 17:28:26 |
金融 |
金融庁ホームページ |
金融庁ウェブサイトを模倣したサイトにご注意ください! |
https://www.fsa.go.jp/news/r3/sonota/20220418.html
|
金融庁 |
2022-04-18 19:00:00 |
金融 |
金融庁ホームページ |
「サステナブルファイナンス有識者会議(第11回)」を開催します。 |
https://www.fsa.go.jp/news/r3/singi/20220418-3.html
|
有識者会議 |
2022-04-18 18:00:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
カナダ保健省、新型コロナ治療薬ソトロビマブはオミクロン亜種「BA.2」に効果低いと見解 |
https://www.jetro.go.jp/biznews/2022/04/e408797030e0e2be.html
|
治療 |
2022-04-18 17:30:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
中銀が政策金利を9.0%に引き上げ |
https://www.jetro.go.jp/biznews/2022/04/8fd4a1a65efce369.html
|
引き上げ |
2022-04-18 17:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
再エネによる発電事業調達計画、6回目の公募を発表 |
https://www.jetro.go.jp/biznews/2022/04/3d9927bcb79f465c.html
|
調達 |
2022-04-18 17:10:00 |
ニュース |
BBC News - Home |
QPR 1-0 Derby County: Rams relegated to League One |
https://www.bbc.co.uk/sport/football/61062993?at_medium=RSS&at_campaign=KARANGA
|
rangers |
2022-04-18 17:52:37 |
ニュース |
BBC News - Home |
Ukraine war: Donbas tourist town braces for Russian assault |
https://www.bbc.co.uk/news/world-europe-61139415?at_medium=RSS&at_campaign=KARANGA
|
people |
2022-04-18 17:15:26 |
ニュース |
BBC News - Home |
Wales' hospitality businesses struggle to recruit staff |
https://www.bbc.co.uk/news/uk-wales-61094777?at_medium=RSS&at_campaign=KARANGA
|
india |
2022-04-18 17:44:26 |
ニュース |
BBC News - Home |
Tyson Fury: Frank Warren says Daniel Kinahan has 'no involvement' with Dillian Whyte fight |
https://www.bbc.co.uk/sport/boxing/61130956?at_medium=RSS&at_campaign=KARANGA
|
Tyson Fury Frank Warren says Daniel Kinahan has x no involvement x with Dillian Whyte fightTyson Fury s promoter Frank Warren says Daniel Kinahan has no involvement with the Dillian Whyte fight this Saturday at Wembley |
2022-04-18 17:42:09 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
外国人から 「おっ!」と思われる しゃれたあいづちとは? - 7時間で英語が突然ハッキリ聞こえて会話が続く本 |
https://diamond.jp/articles/-/301166
|
外国人から「おっ」と思われるしゃれたあいづちとは時間で英語が突然ハッキリ聞こえて会話が続く本英単語はそこそこ知っている。 |
2022-04-19 02:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【「世界一受けたい授業」出演で大反響】 カリスマ保育士てぃ先生の すぐマネできるスゴ技子育て術 - カリスマ保育士てぃ先生の子育て〇×図鑑 |
https://diamond.jp/articles/-/301841
|
子育ての悩みは、決して親の能力や愛情の深さの問題ではなく、子ども特有の気持ちやものごとのとらえ方、体の状態を知るだけでうまくいくことが多いと、てぃ先生は教えてくれます。 |
2022-04-19 02:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【自分でいつでも自由に占える】過去、現在、未来がわかる3枚のカード。初心者でも、ずばり的中は可能なのか? - タロット 基本のリーディング大全 |
https://diamond.jp/articles/-/301684
|
【自分でいつでも自由に占える】過去、現在、未来がわかる枚のカード。 |
2022-04-19 02:45:00 |
コメント
コメントを投稿