IT |
ITmedia 総合記事一覧 |
[ITmedia PC USER] 「ウマ娘」や「ウイコレ」をWindows PCで! 「Google Play Games」のβテストが日本で開始 |
https://www.itmedia.co.jp/pcuser/articles/2304/19/news197.html
|
android |
2023-04-19 21:30:00 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Ankerが「ポータブル冷蔵庫」発表 最大32時間冷やせる |
https://www.itmedia.co.jp/news/articles/2304/19/news196.html
|
itmedianewsanker |
2023-04-19 21:10:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
AIキャラ同士の会話に僭越ながら人間1名ほど参加させていただく |
https://qiita.com/akasaki1211/items/fe5182da2cf88dc87ee5
|
記事 |
2023-04-19 21:30:18 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
AI系の研究・開発に関する情報収集元を紹介 |
https://qiita.com/YutaroOgawa2/items/01dce7b2ffab79fc5fcc
|
基礎研究 |
2023-04-19 21:27:37 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【個人開発】方向音痴でも迷わないイラストマップつくった |
https://qiita.com/yuku1234/items/b56f8d694a4e9b6c13c3
|
twitter |
2023-04-19 21:57:32 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
RubyでAtCoder ABC278(A, B, C, D)を解いてみた |
https://qiita.com/shoya15/items/d545c432b397fdc12dff
|
atcoder |
2023-04-19 21:54:17 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
動かして学ぶrubyのアクセサメソッドの使い分け&エラー解決の近道のお話 |
https://qiita.com/touhouchunanika/items/fbe9f1aa55508586cfab
|
attraccessor |
2023-04-19 21:14:20 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure Administrator Associate(AZ-104)合格体験談 |
https://qiita.com/rakkyo_Lv7/items/d7c916ac984661fdbb27
|
administrator |
2023-04-19 21:24:52 |
技術ブログ |
Developers.IO |
従業員エンゲージメントを支える10個の要素 – 9. 心理的安全性 |
https://dev.classmethod.jp/articles/engagement-psychological-safety/
|
employeeengagement |
2023-04-19 12:57:41 |
海外TECH |
DEV Community |
Web3 onboarding is terrible. How to make it better with Account Abstraction and Flow. |
https://dev.to/mbogan/web3-onboarding-is-terrible-how-to-make-it-better-with-account-abstraction-and-flow-184d
|
Web onboarding is terrible How to make it better with Account Abstraction and Flow If you re a developer working on a web app you know that onboarding mainstream users into web is difficult Even with the promise of truly owning your data making near free worldwide payments and using a censorship free system the current process of creating and using a digital wallet is just too hard Fortunately there s a better way Account abstraction promises to streamline the process making user onboarding seamless and simple Flowーa decentralized public layer one blockchain designed for building web experiences for mainstream usersーhas used account abstraction to combine a hybrid custody model with walletless onboarding to create an onboarding that is easy simple and as straightforward as traditional apps Let s dive into the details to see how Hybrid Custody and Walletless Onboarding work together the architecture the code and what we can expect moving forward Why web onboarding is so difficultDigital wallets bring all the benefits of web including the assurance that no one can control your assets There are no middlemen such as banks taking a percentage of your money or third parties dictating what you can do However because most wallets are “self custody meaning only you have access youーand only youーare in charge of your keys There is no customer support if you make a mistake This means you must store your keys safely Don t store them in clear text on your computer where they can be hacked And don t write them down where someone can read them And don t lose them because there is no reset password in web so you ll lose everything You can see the issues In addition to the challenges of self custody you also need to understand tokens and payments How do you pay for your transactions What tokens do you need How do you move from fiat to tokens How do you transfer the tokens once you have them Oh you made a typo when you sent your tokens Sorry they re lost forever Again you can see how difficult this all is With all these obstacles it s easy to see why many people don t make it past step one of signing up for your app Custodial wallets great UX lacking ownershipDevelopers tried to solve this issue with custodial wallets These wallets manage the keys for you and have many benefits Signing up is easy You can use an email and password as you would for a traditional service and the wallet provider takes care of the rest If you lose your login credentials your keys are still accessible on the provider s servers you can simply request a password reset Since the wallet software runs on their servers providers can even pay your transaction fees You don t have to understand tokens funding and transfers But as the saying in web goes “Not your keys not your coins While custodial wallets solved many onboarding issues the wallet providers in the end owned the keys We re right back to the problems we wanted to get away from a centralized entity that can prevent you from using your tokens can close your account at a whim or can shut down completely taking your funds with them Wouldn t it be nice if you could have the best of both worlds Account abstraction to the rescue Account abstraction solves one of the fundamental issues of blockchain networks the distinction between externally owned accounts and contract accounts An externally owned account EOA is an account controlled by the user with a private key These are the traditional web wallets that we talked about above An EOA has a public address and initiates transactions such as sending tokens with the blockchain A contract account which is also just a smart contract is a program deployed on chain and executed by the network nodes Contract accounts don t initiate transactions Instead they respond to a transaction with an action of their own They have no private keyーthey are controlled by their code This type of account could be said to have app custody Account abstraction combines app custody and self custody into a new user experience UX giving users the benefits of both control of their wallets while abstracting away the wallet and blockchain altogether On Flow account abstraction is the basis for Walletless Onboarding using Hybrid Custody Hybrid Custody gives you the best of both worldsWalletless Onboarding allows developers to create an onboarding experience for users that is nearly seamless The walletless user journey from flow com The hybrid custody model uses account abstraction to allow account delegationーwhere a child account delegates control to a parent account through a Capability essentially allowing one account to control another Now the self custody account can be a parent account giving permissions to the app account which is now a child account With this setup the accounts work together and your app can work like this Your app creates the wallets for the users There is no barrier to entry hereーno key management no signing transactions no understanding of blockchain Users can use your app and buy and sell assets without knowing or caring about the technical details Your app can even subsidize transaction fees or let them fund their account with fiat such as USD And it all happens invisibly to the user Once the user comes back with their own wallet managed account your app can delegate access to the user s account Once linked the user has hybrid custody their wallet manages their main now “parent account which secondarily maintains access on the app created now “child account Since their main account now has access on the app created account they can bring app assets anywhere their wallet managed account goes They can trade your app s assets on marketplaces or share them with friends Yet at the same time since the app also has access to the account it can still facilitate seamless UX that acts on their behalf With this hybrid custody model users get to experience your app right away with minimal barriers and no risk And later on if they choose they can take control of the self custody account themselves enjoying all the real ownership and self sovereignty it brings Technical details of hybrid custody and account abstractionAccount CreationHow does all this work On Ethereum and many other blockchain networks an EOA is created from a public key The key is hashed and the first bits of this hash become the address of the account controlled by that key This makes account creation independent from the network but irrevocably ties an account to that key Flow uses a particular on chain function to create account addresses You can then add any number of keys to a Flow account adding and removing access based on the custodian of each key This means a transaction is required to create a new addressーso you can t create accounts offlineーbut it also makes Flow account ownership much more flexible You can see a full account creation example on GitHub but let s check out the crucial parts here userPrivateKey examples RandomPrivateKey userPublicKey flow NewAccountKey FromPrivateKey userPrivateKey SetHashAlgo crypto SHA SetWeight flow AccountKeyWeightThreshold serviceAccountAddress serviceAccountKey serviceSigner examples ServiceAccount flowClient createAccountTx templates CreateAccount flow AccountKey userPublicKey nil serviceAccountAddress createAccountTx SetProposalKey serviceAccountAddress serviceAccountKey Index serviceAccountKey SequenceNumber createAccountTx SetReferenceBlockID examples GetReferenceBlockId flowClient createAccountTx SetPayer serviceAccountAddress createAccountTx SignEnvelope serviceAccountAddress serviceAccountKey Index serviceSigner flowClient SendTransaction ctx createAccountTx First the user creates a key pair Pretty basic stuff Because on Flow you create accounts by sending an account creation transaction we need an existing account to send this transaction This housekeeping is the job of the ServiceAccount The createAccountTx receives the user s public key to control the new account later but the ServiceAccount which signs and pays for the transaction handles the rest In the case of your app you would own this service account so you could sign account creation transactions on behalf of your user also funding the account s creation Hybrid CustodyLet s get back to the hybrid custody model Your app can create app accounts for your users and link them to a public key that your app controls The app can then handle your user s transactions and assets and even sponsor their transaction fees just like any custodial account would do Later when a user decides to dive deeper into the web ecosystem and get their own wallet you can create and save a link to the app custodied account s AuthAccount Capability and delegate control to the user s wallet managed account You can see an example of this in the walletless arcade example where a multisig transaction is executed by the app to link a user s account to a walletless onboarding dapp custodied account to the signing user s wallet managed account SummaryIt s worth driving the point home that delegating access on the app created account is done via a linked Capability on the account which is then provided to the user This mechanism for account delegation is completely new to blockchain accounts and is only possible because of the account abstraction that s been native to Flow for years now This language API account linking feature is a huge advantage to accounts on Flow in addition to many other features m of n multisig re keying accounts etc which are only now beginning to be realized on other chains with their nascent non native account abstraction implementations Account abstraction is a powerful feature On Flow it enables a hybrid custody model that allows users to enjoy the benefits of a custodial account when they sign up while enabling them to take the account into self custody at any time It s a new and vastly improved user experience that hopefully brings millions more users into web |
2023-04-19 12:51:24 |
海外TECH |
DEV Community |
A JavaScript Odyssey (GameDev Online Book) |
https://dev.to/hugeen/a-javascript-odyssey-4m00
|
A JavaScript Odyssey GameDev Online Book Discover our approach to building games from scratch Explore the world of pure JavaScript game development as you follow along with the creation of a mini game Whether you re a curious non developer an advanced developer seeking inspiration or a beginner looking to build your own tools this book has something for you Check it out |
2023-04-19 12:40:58 |
海外TECH |
DEV Community |
A Comprehensive Guide to Amazons Bedrock and Titan Models |
https://dev.to/imsampro/a-comprehensive-guide-to-amazons-bedrock-and-titan-models-524o
|
A Comprehensive Guide to Amazons Bedrock and Titan ModelsAmazon Web Services AWS is a powerful cloud computing platform that offers a wide range of services to businesses of all sizes Two of the most popular AWS models are Bedrock and Titan These models are designed to provide businesses with a foundation for building and managing their cloud infrastructure However with so many options available it can be challenging to determine which model is right for your business In this comprehensive guide we ll explore the key features and benefits of both Bedrock and Titan models and provide you with the information you need to make an informed decision about which model is best for your business We ll also provide practical advice for implementing and using these models effectively as well as troubleshooting tips for common issues Introduction to Amazon Web Services Bedrock and Titan ModelsWhat are Bedrock and Titan Models Amazon Web Services AWS offers two distinct models for customers Bedrock and Titan to manage their infrastructure Both models are designed to provide a seamless cloud experience but they have different approaches to help customers Bedrock model is a fully managed serverless service that provides a consistent and collaborative way to create deploy and manage applications Titan model on the other hand is a more traditional approach that offers a greater degree of control and customization of the underlying infrastructure How are Bedrock and Titan Models Used in Amazon Web Services Bedrock and Titan models are used to help manage infrastructure on AWS Bedrock model is designed to help customers create deploy and manage applications with little to no management of the underlying infrastructure while Titan model is for customers who need more control and customization of their infrastructure The models are designed to work together or separately depending on the customer s unique needs and preferences Understanding Amazon s Bedrock Model and its BenefitsOverview of Bedrock ModelThe Bedrock model is a fully managed serverless offering from AWS It provides a collaborative way for customers to develop deploy and manage applications in a secure and scalable environment The service is designed to allow developers to focus on writing code while AWS manages the underlying infrastructure This model provides a simple and consistent way to manage applications across different environments without any upfront cost Key Features and Benefits of Bedrock ModelThe Bedrock model offers several key features and benefits to customers including Serverless architecture Bedrock model is a serverless architecture that allows customers to focus on writing code while AWS manages the underlying infrastructure Scalability Bedrock model provides scalable infrastructure for customers meaning that as demands increase or decrease the infrastructure can be scaled up or down Collaboration The Bedrock model allows multiple teams to collaborate on application development and management providing a streamlined and consistent approach to managing applications Security Bedrock model provides a secure environment for customers to deploy their applications with built in security features and protection against cyber threats Cost effective Bedrock model provides a cost effective way to manage applications with no upfront cost and a pay as you go model How to Implement Bedrock Model in Your BusinessTo implement the Bedrock model in your business you can follow these steps Sign up for an AWS account if you don t already have one Choose the Bedrock model from the AWS Console and select the environment that best suits your needs Develop your application code and deploy it to the environment Use the AWS management tools to monitor and manage your application Exploring Amazon s Titan Model and its Key FeaturesOverview of Titan ModelThe Titan model is a virtual private cloud VPC offering from AWS that provides customers with control and customization of their infrastructure It allows customers to create their own virtual network with specific configurations security settings and access controls Titan model offers a greater degree of control and customization over the underlying infrastructure giving customers more flexibility in their infrastructure management Key Features and Benefits of Titan ModelThe Titan model offers several key features and benefits to customers including Customization Titan model provides customers with control over their infrastructure allowing them to customize their network configurations security settings and access controls Scalability Titan model provides scalable infrastructure for customers meaning that as demands increase or decrease the infrastructure can be scaled up or down Security Titan model provides a secure environment for customers to deploy their applications with built in security features and protection against cyber threats High performance Titan model uses AWS s high performance network infrastructure providing customers with fast and reliable connectivity Flexibility Titan model allows customers to create their own virtual network with specific configurations security settings and access controls How to Implement Titan Model in Your BusinessTo implement the Titan model in your business you can follow these steps Sign up for an AWS account if you don t already have one Choose the Titan model from the AWS Console and select the environment that best suits your needs Set up your virtual network with specific configurations security settings and access controls Use the AWS management tools to monitor and manage your infrastructure Comparing Bedrock and Titan Models Which One is Right for You Key Differences Between Bedrock and Titan ModelsThe main differences between the Bedrock and Titan models are Bedrock model is a serverless fully managed service while Titan model is a virtual private cloud VPC offering that provides control and customization of infrastructure Bedrock model is designed to provide a simple and consistent way to manage applications while Titan model offers a greater degree of control and customization over the underlying infrastructure Bedrock model is more cost effective with no upfront cost and a pay as you go model while Titan model is more customizable and scalable but requires more management Use Cases for Bedrock ModelThe Bedrock model is ideal for businesses that Need to deploy applications quickly and easilyWant to minimize infrastructure managementNeed a scalable and flexible infrastructureWork with a team of developers and need a collaborative environmentUse Cases for Titan ModelThe Titan model is ideal for businesses that Need more control and customization over their infrastructureHave specific security requirementsNeed a high performance network infrastructureWant to build their own virtual network with specific configurations and access controlsFactors to Consider When Choosing Between Bedrock and Titan ModelsWhen choosing between Bedrock and Titan models it s important to consider the following factors Your business needs and goalsYour application requirementsYour infrastructure management preferencesYour budget and cost considerationsUltimately the decision between Bedrock and Titan models will depend on your unique business needs and preferences Industry Trends and InnovationsExpert Predictions for the Future of Bedrock and Titan Models Implementing Amazon s Bedrock and Titan Models in Your BusinessAmazon s Bedrock and Titan models are powerful tools that can bring significant benefits to your business Implementing them effectively ensures that you get the most out of their features and capabilities Best Practices for Implementing Bedrock and Titan ModelsTo get started it s important to follow these best practices Clearly define the scope and requirements of your projectPlan out the architecture and design of your systemChoose the appropriate tools and services to integrate with Bedrock and TitanTest your implementation thoroughly before going liveMonitor your system constantly and make adjustments as neededStep by Step Guide to Implementing Bedrock and Titan ModelsHere are the key steps to implement Bedrock and Titan models in your business Define your project scope and requirementsPlan your architecture and designChoose and integrate appropriate tools and servicesTest your implementation thoroughlyMonitor and adjust your system as neededCommon Implementation Challenges and How to Overcome ThemSome common implementation challenges include Complexity in integrating with other services and toolsDifficulty in managing and monitoring the environmentHigh cost of implementation and maintenanceTo overcome these challenges it s important to choose the right tools and services plan and design your environment carefully and constantly monitor and optimize your system to ensure cost efficiency Best Practices for Using Amazon s Bedrock and Titan ModelsOnce you have implemented Bedrock and Titan models it is important to use them effectively to optimize performance and cost efficiency as well as to ensure the security and stability of your environment Optimizing Performance and Cost EfficiencyTo optimize performance and cost efficiency follow these best practices Use auto scaling to adjust resources based on demandUtilize spot instances for cost savingsMonitor performance and optimize as neededUse reserved instances for predictable workloadsSecuring Your Bedrock and Titan EnvironmentTo ensure the security of your environment follow these best practices Use secure network configurations and encryptionImplement multi factor authenticationMaintain strict access control policiesRegularly update and patch your systemMonitoring and Troubleshooting Your Bedrock and Titan EnvironmentTo monitor and troubleshoot your environment follow these best practices Use CloudWatch to monitor system metricsSet up alerts for critical eventsUse AWS Trusted Advisor for system recommendationsUse AWS Support for technical assistance Troubleshooting Common Issues with Amazon s Bedrock and Titan ModelsDespite careful implementation and best practices issues can still arise with Bedrock and Titan models Here are some common issues and how to address them Identifying and Resolving Common Issues with Bedrock ModelCommon issues with Bedrock model include Network connectivity problemsInstance boot failuresIncompatible software configurationsTo address these issues check network settings verify instance boot settings and ensure software compatibility Identifying and Resolving Common Issues with Titan ModelCommon issues with Titan model include Data transfer errorsInconsistent performanceResource allocation issuesTo address these issues check network settings optimize resource allocation and monitor performance metrics Preventing Issues Before They HappenTo prevent issues before they happen implement proper monitoring and testing maintain system updates and patches and use backups and disaster recovery solutions Future Developments and Trends in Amazon Web Services Bedrock and Titan ModelsAmazon Web Services is continually developing and improving Bedrock and Titan models Here are some upcoming features and trends to watch for Upcoming Features and EnhancementsUpcoming features and enhancements include Integration with more AWS servicesIncreased automation capabilitiesEnhanced security featuresImproved performance monitoring and optimizationIndustry Trends and InnovationsIndustry trends and innovations include Artificial intelligence and machine learning integrationBig data analytics and processingCloud native application developmentServerless computingExpert Predictions for the Future of Bedrock and Titan ModelsExperts predict that Bedrock and Titan models will continue to grow in popularity and sophistication with increased automation integration and security features They also predict that the models will play an increasingly important role in the development and deployment of advanced technologies such as AI and serverless computing In conclusion Bedrock and Titan models are powerful tools that can help businesses of all sizes build and manage their cloud infrastructure more effectively By choosing the right model and following best practices for implementation and maintenance you can optimize performance increase cost efficiency and improve security As AWS continues to develop and enhance these models we can expect to see even more powerful features and benefits in the future We hope that this comprehensive guide has provided you with the information you need to get started with Bedrock and Titan models and take full advantage of everything AWS has to offer FAQWhat is the main difference between Bedrock and Titan models The main difference between these models is that Bedrock offers more flexibility and customization options while Titan is more streamlined and offers a simpler management experience Can I switch from one model to another after implementation Yes it is possible to switch from one model to another but it may require some effort and planning to ensure a smooth transition It s important to carefully evaluate the benefits and drawbacks of each model before making a switch What are the most important factors to consider when choosing between Bedrock and Titan models Some key factors to consider when choosing between the two models include your business needs budget and level of expertise with AWS Bedrock is a good choice for businesses that require more flexibility and customization options while Titan may be a better fit for businesses that want a simpler more streamlined experience What are some common issues that businesses run into when using Bedrock and Titan models Common issues include performance problems security vulnerabilities and difficulty with implementation and maintenance However these issues can often be addressed through careful planning best practices and ongoing monitoring and troubleshooting Thank you for reading Soumyadeep Mandal imsampro |
2023-04-19 12:39:47 |
海外TECH |
DEV Community |
The Serverless Toolbox - Tools To Build Serverless Apps Easier |
https://dev.to/aws-heroes/the-serverless-toolbox-tools-to-build-serverless-apps-easier-1g5j
|
The Serverless Toolbox Tools To Build Serverless Apps EasierI recently wrote about some of the benefits of building a bunch of side projects I talked about building automations to take over mundane everyday tasks but one of the main points I mentioned was nagging at me a bit In the post I spoke about building a serverless toolbox as a result of all your side projects After you build a couple things you start to identify the functions you rewrite over and over You identify those patterns and put them together in a serverless toolbox to have at your disposal Truth time I did not practice what I preached In fact I got pretty lazy and started implementing some anti patterns Like tightly coupling my projects together by calling resources from one stack in another one directly by the ARN I m not proud of this as I like to lead by example so I decided to make a change I m happy to release the first version of my serverless toolbox a GitHub repo that deploys a set of functional tools that you can integrate into your applications with loose coupling mechanisms Let s cover some of the available functions What s in the toolbox For its initial release I have included four utility functions you can incorporate into your projects or AWS accounts All functions are written in Nodejs x Ask ChatGPT FunctionIf you needed a conversational Lambda function that will hold context of your ChatGPT conversations across invocations and execution environments I have you covered This function uses Momento Cache to temporarily store your conversation history with ChatGPT and communicates via the OpenAI API Give it a conversation key and a prompt and it will remember the question and answer the next time you provide the same conversation key Need to start a new conversation Give it a new conversation key UsageIf you want to use the function in your project in a state machine or put it behind API gateway you can resolve the ARN for it via SSM Here is an example of how you would consume it in SAM MyFirstStateMachine Type AWS Serverless StateMachine Properties Type STANDARD DefinitionUri workflows my definition asl json DefinitionSubstitutions AskChatGPTFunctionArn resolve ssm serverless toolbox ask chatgpt Policies Version Statement Effect Allow Action lambda InvokeFunction Resource resolve ssm serverless toolbox ask chatgpt See It In ActionIf you want to see an implementation of this function you can see it in my serverless ai fitness project It is used in a Step Function workflow to build a workout with the equipment I have available in my home gym It also creates a warmup and cooldown specifically for the generated workout Send API Request FunctionThis is a function I ve made probably times Almost every project I create integrates with some rd party API Sometimes they have SDKs other times only a REST endpoint is available This function is used to generically send API requests to a REST or other web API You provide it with auth details it will fetch your token out of Secrets Manager for you then it will hit the endpoint and return the response body as the payload Below is an example payload you can provide to the function secretKey key from auth token secret request method POST baseUrl headers x custom header value body title My title body markdown Hello auth prefix Bearer location header key Authorization query custom value anything you want The payload is completely composable so you can leave out anything that doesn t work for the endpoint you re calling If your request is public don t provide auth Don t have any query string parameters No problem don t supply the query object UsageSimilar to the Ask ChatGPT function this is intended to be used in a request response or synchronous manner As such the trigger needs to be manually created like including it in a Step Function workflow or behind an API Gateway endpoint When resolving this ARN you can use the SSM parameter serverless toolbox send api request See It In ActionThis Lambda function is implemented in my blog crossposting app It is called from a state machine to post articles to various publications In this project I created a Lambda function to generate payloads specifically for this function to use as simply as possible Send Email FunctionYes AWS makes it very easy to use SES Simple Email Service for sending emails That said I ve actually found it somewhat difficult to get my account turned on to production mode allowing me to send an email to any address I want So I tend to use SendGrid for sending emails This function uses SendGrid to asynchronously send an email in either plaintext or html format You just need to supply your SendGrid API key UsageSince emails are asynchronous by nature this function is triggered by an EventBridge event You publish an event to the default event bus with who to send the email to the subject and the content and your email will be sent for you Below is an example event you can publish to EventBridge DetailType Send Email Source my app Detail subject Dear reader have you heard of the serverless toolbox to allenheltondev gmail com html lt h gt Hello lt h gt lt p gt You might not believe this but sending an email is really lt i gt this simple lt i gt lt p gt See It In ActionIf you want to see how easy it is to send an email by publishing an event I have an example in my serverless newsletter app In a Step Function worklow that reports how my weekly newsletter performed I gather some analytic details from the SendGrid API then publish an EventBridge event to send those details to me in a weekly how did I do email Set Log Retention FunctionDid you know when you create a new Lambda function the CloudWatch logs for it are set to retain forever Chances are you don t need those logs forever But unless you do something about it you ll be paying for them indefinitely So I created a function that runs on a daily timer to set the retention of all your Lambda logs to a configured value Personally I keep logs for days before getting rid of them but the choice is yours The function will load all Lambda log groups with a retention period that does not match the configured value It then sets the retention period to whatever you have configured Since this runs on a daily timer there s nothing for you to do This will happen automatically after it is deployed As you create Lambda functions this will pick the new log groups up automatically and set the retention period on them This isn t something you d implement in your applications but it is a good clean up administrative function to have in your AWS account If you create hundreds of functions and actually use them this will end up saving you quite a bit of money Try It YourselfThese are all open source for you to use Deploy the toolbox into your AWS account and start using them The stack is currently deployed via a SAM template To deploy into your account you can run the following two commands assuming you have the SAM CLI installed sam build parallelsam deploy guidedThe guided flag will walk you through a wizard to get stack details and deployment parameters from you If there are any parameters you don t wish to supply like SendGrid information you can omit them and the template will not deploy any functions that use them I hope you find these useful it was intended to make building with serverless easier faster and more intuitive than before I will be updating my open source projects to use the toolbox so you can deploy them easier and have additional references As I continue to build and find more overlap with utility functions I ll update the repo and make more tools available If you have any you wish to add please open up a pull request Happy coding |
2023-04-19 12:06:12 |
Apple |
AppleInsider - Frontpage News |
Cherry UM 9.0 Pro RGB microphone review: Perfect for podcasters & more |
https://appleinsider.com/articles/23/04/19/cherry-um-90-pro-rgb-microphone-review-perfect-for-podcasters-more?utm_medium=rss
|
Cherry UM Pro RGB microphone review Perfect for podcasters amp moreThe Cherry UM Pro microphone looks cool on camera sounds great and features a well thought out design While the built in mic in your notebook or all in one Mac or PC or the mic in your preferred smartphone or earphones for phone calls is by no means unusable ーit s also not very good for much beyond basic barely adequate voice chat So if communicating clearly is essential to the work or play you do a higher quality external mic should be considered These can be found from a variety of brands in a variety of styles either mounted to a microphone arm or on a desktop stand The best of these are designed for remote broadcasters podcasters and solo musicians and can capture more than just the basic tones of your voice Read more |
2023-04-19 12:32:46 |
Apple |
AppleInsider - Frontpage News |
How to protect yourself when your iPhone and passcode are stolen |
https://appleinsider.com/inside/iphone/tips/how-to-protect-yourself-when-your-iphone-and-passcode-are-stolen?utm_medium=rss
|
How to protect yourself when your iPhone and passcode are stolenApple believes that needing both the iPhone and its passcode makes it harder for thieves to steal users information but having both stolen is common enough that you need to know how to protect yourself iPhone passcodeIt has always been the case that the weakest part of security on iPhones is the passcode but the Wall Street Journal is again highlighting the problem The publication has accounts from users who had their iPhone snatched after thieves watched them enter a code and ones who were forced or even drugged into sharing the code Read more |
2023-04-19 12:20:00 |
海外TECH |
Engadget |
Google could allow developers in the UK to use third-party payment providers |
https://www.engadget.com/google-could-allow-developers-in-the-uk-to-use-third-party-payment-providers-121347912.html?src=rss
|
Google could allow developers in the UK to use third party payment providersAndroid users in the UK may get the choice to pay for apps and services on the platform through a billing system other than Google s Ten months after the United Kingdom s Competition and Markets Authority CMA launched an investigation into the tech giant s payment system for in app purchases Google offered to give developers in the region the choice to use alternative options The probe came following a separate investigation in which the CMA found Apple and Google held an quot effective duopoly quot on mobile ecosystems and that Google s Play Store in particular could potentially lead quot to higher prices and reduced choice for Android users quot At the moment the CMA is asking for feedback on Google s proposals and will continue accepting them until May th If the organization decides to make the proposals legally binding based on people s feedback then developers will be able to offer a payment system of their own choosing known as quot Developer only Billing quot or DOB in the UK They could also offer an alternative payment system next to Google s in a scheme known as quot User Choice Billing quot UCB nbsp That said Google will still collect service fees from developers which typically cost them between to percent of their earnings ーit will just be a bit lower than usual When developers don t offer Google Play billing at all their service fee will be reduced by percent If they choose to offer an alternative payment method alongside Google s and a customer chooses that their service fee will be lowered by percent The tech giant explained in a post about its proposals quot The service fees for distributing apps via Android and Google Play will continue to be based on digital sales via our platform The service fee is how we support our ongoing investments in Android and Google Play reflects the value provided by Android and Google Play and is how we earn money as a business quot Last year Google allowed Android app developers to use third party payments in several European Union states The company also collects service fees in the EU no matter the billing system a user chooses though the rates are also reduced if they pay using the alternative billing method Google says its commitments will be implemented in phases if the CMA decides to adopt them The ability to add non Google billing will initially be available to developers of non gaming apps Gaming app developers will be able to add alternative billing systems no later than October This article originally appeared on Engadget at |
2023-04-19 12:13:47 |
海外科学 |
NYT > Science |
China Is on Track to Become Nuclear Superpower, Ushering in New Age |
https://www.nytimes.com/2023/04/19/us/politics/china-nuclear-weapons-russia-arms-treaties.html
|
China Is on Track to Become Nuclear Superpower Ushering in New AgeChina is on track to massively expand its nuclear arsenal just as Russia suspends the last major arms control treaty It augurs a new world in which Beijing Moscow and Washington will likely be atomic peers |
2023-04-19 12:50:04 |
ニュース |
BBC News - Home |
UK inflation: Cheese and milk help push food prices up at fastest rate for 45 years |
https://www.bbc.co.uk/news/business-65312127?at_medium=RSS&at_campaign=KARANGA
|
prices |
2023-04-19 12:45:26 |
ニュース |
BBC News - Home |
Lidl wins logo lawsuit against Tesco |
https://www.bbc.co.uk/news/business-65322972?at_medium=RSS&at_campaign=KARANGA
|
customer |
2023-04-19 12:34:04 |
ニュース |
BBC News - Home |
Doctor's death due to AstraZeneca Covid vaccine reaction - inquest |
https://www.bbc.co.uk/news/uk-england-london-65321937?at_medium=RSS&at_campaign=KARANGA
|
tragic |
2023-04-19 12:33:46 |
ニュース |
BBC News - Home |
Rishi Sunak declares wife's shares after financial interests row |
https://www.bbc.co.uk/news/uk-politics-65324307?at_medium=RSS&at_campaign=KARANGA
|
budget |
2023-04-19 12:17:04 |
ニュース |
BBC News - Home |
More ambulance workers to strike after early May bank holiday |
https://www.bbc.co.uk/news/health-65323143?at_medium=RSS&at_campaign=KARANGA
|
midlands |
2023-04-19 12:19:32 |
ニュース |
BBC News - Home |
Chelsea: Thiago Silva says club need to 'stop and put a strategy in place' |
https://www.bbc.co.uk/sport/football/65320642?at_medium=RSS&at_campaign=KARANGA
|
Chelsea Thiago Silva says club need to x stop and put a strategy in place x Chelsea defender Thiago Silva says the club need to stop and put a strategy in place or risk another difficult campaign next season |
2023-04-19 12:40:59 |
ニュース |
BBC News - Home |
London Marathon 2023: Radio 1's Adele Roberts targets world record following 'second chance' after cancer |
https://www.bbc.co.uk/sport/athletics/65309940?at_medium=RSS&at_campaign=KARANGA
|
London Marathon Radio x s Adele Roberts targets world record following x second chance x after cancerRadio presenter and DJ Adele Roberts is targeting a world record at the London Marathon as she aims to make the most of her second chance at life after cancer |
2023-04-19 12:01:12 |
IT |
週刊アスキー |
現実世界で一狩りしようぜ!『Monster Hunter Now』発表会&テストプレイレポ |
https://weekly.ascii.jp/elem/000/004/133/4133661/
|
monsterhunternow |
2023-04-19 21:50:00 |
IT |
週刊アスキー |
85%オフの『TEKKEN 7』や『Far Cry 5』など注目タイトルがどっさり!【Steam今週のセール情報】 |
https://weekly.ascii.jp/elem/000/004/133/4133540/
|
farcry |
2023-04-19 21:35:00 |
マーケティング |
AdverTimes |
エキサイトHDが上場 SaaS事業は「拡大の前夜」 |
https://www.advertimes.com/20230419/article416806/
|
株式公開 |
2023-04-19 12:07:53 |
コメント
コメントを投稿