投稿時間:2022-04-22 18:44:03 RSSフィード2022-04-22 18:00 分まとめ(53件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Amazon、1万冊以上のKindleマンガを最大80%オフで販売する大規模セールを開始 https://taisy0.com/2022/04/22/156104.html amazon 2022-04-22 08:46:13
ROBOT ロボスタ デリバリーロボットがオフィスの社員に直接配達「東京ミッドタウン八重洲」が配達/清掃/運搬ロボットサービスの導入を発表 https://robotstart.info/2022/04/22/office-building-delivery-robot.html デリバリーロボットがオフィスの社員に直接配達「東京ミッドタウン八重洲」が配達清掃運搬ロボットサービスの導入を発表シェアツイートはてブ三井不動産株式会社は八重洲二丁目北地区市街地再開発組合の一員として「東京ミッドタウン八重洲」の開発を推進している。 2022-04-22 08:07:44
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「ドラゴンボール超スーパーヒーロー」とのコラボTシャツが発売 狙いは? https://www.itmedia.co.jp/business/articles/2204/22/news158.html itmedia 2022-04-22 17:49:00
IT ITmedia 総合記事一覧 [ITmedia News] 「何もしていないのに壊れた」に効く? 神田明神には20周年を迎えたITお守り「IT情報安全守護」がある https://www.itmedia.co.jp/news/articles/2204/22/news168.html itmedia 2022-04-22 17:30:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] LINE上で「Apple Gift Card」「Google Play ギフト」を贈ることが可能に 送り手に10%還元も https://www.itmedia.co.jp/business/articles/2204/22/news164.html applegiftcard 2022-04-22 17:17:00
IT ITmedia 総合記事一覧 [ITmedia News] ゲームエンジンを本格利用した初の博物館アプリ「ハイパー江戸博」公開 江戸東京博物館 https://www.itmedia.co.jp/news/articles/2204/22/news163.html itmedia 2022-04-22 17:04:00
TECH Tech Wave 初心者向けの無料Javascript講座「Ms.エンジニア」スタート、Code Chrysalisと連携 https://techwave.jp/archives/ms-engineer-a-free-javascript-course-started-with-codechrysalis.html?utm_source=rss&utm_medium=rss&utm_campaign=ms-engineer-a-free-javascript-course-started-with-codechrysalis 初心者向けの無料Javascript講座「Msエンジニア」スタート、CodeChrysalisと連携寄稿TechWaveではさまざまな分野・国と地域からの寄稿を受け付ける取り組みを始めています。 2022-04-22 08:06:54
TECH Tech Wave どのようにデジタルコレクティブル産業がスポーツ界を熱くするのか https://techwave.jp/archives/nft-how-the-digital-collectibles-industry-is-heating-up-the-sportsworld.html?utm_source=rss&utm_medium=rss&utm_campaign=nft-how-the-digital-collectibles-industry-is-heating-up-the-sportsworld どのようにデジタルコレクティブル産業がスポーツ界を熱くするのか寄稿TechWaveではさまざまな分野・国と地域からの寄稿を受け付ける取り組みを始めています。 2022-04-22 08:00:31
js JavaScriptタグが付けられた新着投稿 - Qiita inputタグのスライダーについて https://qiita.com/tagotyan/items/1367924a2cb46dec4b4c ltbodygtltinput 2022-04-22 17:50:51
AWS AWSタグが付けられた新着投稿 - Qiita laravel8 vue3 を conoha から awslightsail に移転 https://qiita.com/ma7ma7pipipi/items/388846b5cc6b2851e8f7 awslightsail 2022-04-22 17:11:03
Linux CentOSタグが付けられた新着投稿 - Qiita Rocky Linux 8 を VirtualBox に最小インストールする https://qiita.com/bezeklik/items/79f0d65e971157aef907 centos 2022-04-22 17:06:13
GCP gcpタグが付けられた新着投稿 - Qiita e2-micro e2-small e2-mediumのCPU性能【Google Compute Engine】 https://qiita.com/relu/items/69ecad259d2ed6caab99 sudoaptupdateampampsudoa 2022-04-22 17:44:30
技術ブログ Mercari Engineering Blog ユニットテストのガイドラインを作成しました https://engineering.mercari.com/blog/entry/20220418-e406d51f15/ hellip 2022-04-22 09:00:37
技術ブログ Developers.IO セキュリティチェックが捗る!AWS Security Hubで全リージョンのセキュリティ基準の結果を集約して見れるようになりました! https://dev.classmethod.jp/articles/security-hub-cross-region-compliance-aggregation/ awssecurityhub 2022-04-22 08:56:46
海外TECH DEV Community This Week in Python https://dev.to/bascodes/this-week-in-python-1n5a This Week in PythonFri April This Week in Python is a concise reading list about what happened in the past week in the Python universe Python ArticlesPython s “Type Hints are a bit of a disappointment to me Limitations of Pythons Type Hinting SystemSingleton is a bad idea There are better options than singletons to maintain clean codeThreading in Python The Complete Guide This guide provides a detailed and comprehensive review of threading in PythonPermissions in Django How to assign permissions to users and groups in order to authorize them to perform specific actionsEasily Automate Your Documentation Completely automated documentation process in Python using MkDocs Projectsmemray memory profiler for Pythonflask for startups Flask boilerplate using a services oriented structurePyPDF A pure python PDF library capable of splitting merging cropping and transforming the pages of PDF filespytube A lightweight dependency free Python library and command line utility for downloading YouTube Videoslocalstack A fully functional local AWS cloud stack Develop and test your cloud amp Serverless apps offline 2022-04-22 08:34:43
海外TECH DEV Community About Jonie https://dev.to/jonie20/about-jonie-1ajp About Jonie My name Johnstone a student at Kirinyaga University pursuing Software Engineering currently I had a childhood dream of being an architect or civil engineer but due to life circumstances I ended up studying about the science of computers and computer programming and definitely I didn t regret that In fact I enjoy being a programmer and love learning new things in tech all the time I enjoy solving challenging complex problems coding front end and has great interest in developing applications full stack in Python using new technologies From time to time on my spare time I volunteer and share my technical knowledge at some virtual conferences and user groups events I used to teach programming to my fellows in schools and there I saw the gender gap and inequality problem already I realized something needs to be done about it I need to do something about it 2022-04-22 08:33:52
海外TECH DEV Community Kubernetes for Startups: Practical Considerations for Your App https://dev.to/argonaut/kubernetes-for-startups-practical-considerations-for-your-app-370i Kubernetes for Startups Practical Considerations for Your App What is Kubernetes It all started with the container wars of yore where Apache Mesos Docker Swarm Kubernetes and Hashicorp Nomad fought a bloody battle until there emerged a clear victor Kubernetes originated within Google and significantly more than half of the responders in a CNCF survey reported using Kubernetes in production not considering sample bias from orgs It has market share within the container orchestration space With great power comes great responsibility Uncle BenWith great power comes great complexity AnonymousKubernetes is extremely powerful and that configurability leads to complexity Here are the practical considerations that one must be aware of when dealing with Kubernetes as the deployment target So you have decided to use Kubernetes for your startup This post details what you need to do to have a fully functioning setup This post is opinionated Setup and maintenanceThere are two classes of tools Managed Kubernetes providers like Amazon EKS Google GKE Azure AKS DOKS etc These are managed services by cloud providers Please do not try to manage Kubernetes clusters by yourself using kubeadm or similar unless there is a hard constraint like compliance or on prem deployments Kubernetes wrappers to make working with ks easy a smattering of startups moving ks under the hood Argonaut does this amongst other things Scoping the setup to just the major clouds the configuration process from the UI takes minutes and then another minutes for the cluster itself to be provisioned Command line tools exist to specify the configurations using yaml files Terraform modules can help in provisioning this using IAC paradigms New Kubernetes control plane versions are released every weeks The alpha →beta →prod release cycle for features APIs is around year long The deprecation of older APIs is also approximately the same cycle Installing a recent version of a third party tool eg Grafana can fail on older versions of Kubernetes because of outdated APIs Maintaining a current version of the Kubernetes control plane becomes important for this very functional reason not counting security enhancements and additional features delivered over time Updates of Kubernetes versions can break functioning applications because of deprecated APIs that may be used This needs to be done with utmost care and can be an arduous process every few months This is a major consideration if you don t have someone with the relevant time and expertise for this activity using Kubernetes directly is not recommended Application developer experienceAs a startup you want application developers to go full throttle on building functionality and not worry about infrastructure Using Kubernetes can bring a lot of velocity to the development workflows by enabling scale from day one This is the technology that powers Internet scale companies and provides immense flexibility around scaling rollouts and service discovery while abstracting out the physical infrastructure Here are the major concerns Build Workloads need to be containerized That leads to long build times especially if there is no caching possible enabled for the build A local build might be just a hot reload but these can take many minutes with the container build step included Please use podman kaniko or similar over docker for builds Deploy The deployment experience itself is super neat The complexity of defining the deployment which is usually a one time heavy lift followed by minor modifications for maintenance is pretty high and requires ks specific knowledge Some tools help with the automatic generation of ks manifests for easy use like skaffold devspace dokku and more Debug difference between local and dev environments Replicating bugs from remote environments to local is tough Tools like devspace and telepresence help The former enables a quick build loop between the local and the remote ks environment and can be massively helpful in reducing development time The latter is a lot more magic directing remote traffic to your local laptop but is more complex to work with Debug logging into remote While devspace telepresence and skaffold are nice for remote dev sometimes the easiest thing to do is to login to the remote container for debugging You definitely want to use a Kubernetes dashboard ks lens or ks cli Along with this you can use kubectl exec to open up a shell in the container or use ephemeral containers to attach to a running pod introduced in ks v The latter is the preferred method in dev environments Neither of these should be done in prod environments Autoscaling This is a huge benefit that ks brings Autoscaling can mean one of three things Cluster Nodes This is the number of EC instances required to satisfy the application requirements The cluster autoscaler or karpenter projects are great for this Application Horizontal Scaling Creating more instances of the application to keep up with the load Keda is the tool for this Application Vertical Scaling Increasing resources available to each instance of the application based on load This is not done very much in practice and there aren t any mature tools to help with this beyond the ks built in Monitoring applicationsLogs A logging solution is a must when dealing with ks simply because you should avoid directly accessing prod environments Setting up a logging pipeline is not hard Prometheus Grafana Loki is the simplest self hosted solution while datadog etc provides excellent out of the box experiences but at a literal cost One thing to be wary of is that logs from different instances of the same application are usually treated differently which can be a mixed bag during debugging Self hosting ELK will cause a few days of heartburn before you get it up and running reliably APM Tracing Use your favorite Please avoid tool fragmentation and use the same solution across My personal favorite to get started is self hosting Prometheus Grafana Loki For advanced use cases I like datadog but it is expensive A catch with hosting your own observability stack is that it can lead to fragmentation if you re not careful Monitoring one cluster with a Grafana stack is fine multi cluster setup gets complicated Infra monitoring etc is a whole other ball game with the right permissions and access control requirements that can be hard to wrangle for startups A huge advantage with running applications on ks w r t monitoring is that the whole bunch can be monitored in one shot with little to no changes required by the applications The collection agents usually run as daemonsets collecting container logs from each of the nodes and piping them to the log server with the appropriate labels Works like a charm CostThe big one month per cluster plus whatever compute is used Kubernetes adoption for startups almost certainly increases the cloud bill because there is a month cost associated with just running each cluster on EKS GKE or AKS for uptime SLA However there are some tools that could help with reducing the costs by providing visibility into the utilization of the pods and adjusting resources appropriately like kubecost For very early companies check out lambda container images as a starting point especially if there are only a handful of services and low utilization Setup evolutionHere are some things you will eventually need to do over the next few years Setup multiple clusters across regions and connect them to operate as a single entity as far as apps are concerned This needs a service mesh like linkerd Setup policy around what resource requirements can be requested by an app per environment OPA and gatekeeper or kyverno can help Setup access control for who can create or modify apps Setup a VPN solution Accrete tools to help with ks management over time Have a dedicated infra team To be clear these are NOT negatives The alternative would be to build immature tooling in house to replicate all this functionality at an even greater investment of time and effort Closing notesUse Kubernetes as a startup if you have cloud credits and more than services and a couple of environments The overhead with using Kubernetes is real Use a product that can help with overall management Use lambda container images if you have services and low utilization Use Argonaut All of the above are either a part of Argonaut already or will soon be We support Lambdas and Kubernetes runtimes and we can help you make the right choice for your startup Sometimes that might be to not use Argonaut and we will tell you that Check out our docs here 2022-04-22 08:27:48
海外TECH DEV Community How to parse JSON in JavaScript https://dev.to/atapas/how-to-parse-json-in-javascript-519l How to parse JSON in JavaScript What is JSON JSON also known as JavaScript Object Notation is a text based data exchange format It is a collection of key value pairs with a few rules to keep in mind The key must be a string type and enclosed in double quotes The value can be of any type String Boolean Number Object Array and null A colon separates the key value pair Multiple key value pairs are separated by a comma All the key value pairs must be enclosed within the curly braces You can not use comments like or in JSON Alright with all that let us see an example of JSON name Ravi K age city Bangalore How to Parse JSON in JavaScript We need to use the JSON parse method in JavaScript to parse a valid JSON string in a JavaScript Object const employee name Ravi K age city Bangalore const employeeObj JSON parse employee console log employeeObj The output is a JavaScript Object How to Handle a Parsing Error When you parse a JSON text you are likely to encounter a parsing error like this It is mainly because the JSON is not a valid one You must have missed one of the rules we have discussed above Also you are likely to forget to enclose the JSON text in a single quote or backtick while assigned to a variable in JavaScript When you encounter such errors please validate your JSON with a JSON Linter That s all for now I hope you find this article helpful Let s connect Give a Follow on TwitterCommunities on ShowwcaseSubscribe to my YouTube ChannelSide projects on GitHub 2022-04-22 08:26:05
海外TECH DEV Community Going serverless with custom portal for D365 environments https://dev.to/rainforss/going-serverless-with-custom-portal-for-d365-environments-2e4j Going serverless with custom portal for D environmentsIn the first article of the series I briefly addressed the pros and cons of Microsoft s Power Apps Portal and the reason why it might not be a cost efficient product for companies at all scales who need to open a controlled portal to a specific piece of their D data The standalone web server which is supporting the Power Apps Portal plays a major role depicting the product as a non optimal solution for smaller organizations Most of the time a business operating in a single territory or territories in a close proximity does not need a web server which continuously listens for incoming requests since the traffic could be very localized and patterned For example Calgary Canucks Rugby Union a non profit organization operating in Calgary tries to expose some matches information stored in Dynamics through Power Apps Portal It is very likely that traffic would hit the portal some time right after the rugby matches and rapidly die down until the next match result is posted During this quiet period between the matches utilization rate of the portal web server would be very low so the server will stay in an idle state awaiting requests Therefore smaller organizations using Power Apps Portal are essentially paying for a web server that s idling for more than of the time One can propose the use of a lower tier web server like what Heroku offers for the free hosting which enters a sleep mode if no traffic come in for a period of time but I am going to take it further by adopting a serverless solution removing a traditional server from the scene entirely Being a huge fan of NextJS an opinionated framework based on ReactJS and serverless functions I decided to use NextJS to power the front end of my custom portal and NextJS API routes together with Vercel s serverless functions to orchestrate my portal s back end services In short serverless functions are invoked functions running in servers offered by larger organizations AWS Azure Google Vercel etc whose profession is in cloud computing Using serverless functions to access other web services e g making HTTP requests to remote servers the front end application is enabled to do its job providing user interactions without the need of a dedicated traditional server With the self owned traditional server out of the solution smaller organizations can focus on delivering user centric content instead of sparing resources on maintaining a web server Now you might be asking how do serverless functions communicate with Dynamics environments to retrieve the data for the front end web application Making use of Azure App Registration and a application user in Dynamics the serverless functions can obtain access tokens issued by Azure Active Directory OAuth service Adding the access token to HTTP requests made by serverless functions the web application is now authenticated and authorized as the application user to perform CRUD operations allowed by security role configurations This is just a high level overview of the integration feel free to ask if you want to know more about the details Using the serverless functions I was able to create a custom D portal with even registration and authentication functionalities for Calgary Canucks Rugby Calgary Canucks Rugby Union How does serverless function save companies money Serverless functions are on demand services provided by cloud computing companies so you only need to pay for the functions being invoked In the previously illustrated scenario Calgary Canucks Rugby simply wouldn t have any expenditure when no traffic is hitting hence no back end services involved the public facing website if serverless function was the back end solution To make the serverless solution even better companies such as Vercel are also offering free serverless function usage per month and it is actually very rare for front end applications with less traffic to use up the monthly quota By adopting the serverless function solution for a custom Dynamics portal Calgary Canucks Rugby and other similar organizations can save up a good amount of budget for other essential operations simply because they wouldn t be paying for web servers and web server maintenance Sorry webmasters and IT administrators In case you are wondering this article is not sponsored by Vercel or NextJS I simply love Vercel and NextJS that much 2022-04-22 08:23:21
海外TECH DEV Community React Native App Development Services: Top Reasons to Opt https://dev.to/jamesnicholasjr/react-native-app-development-services-top-reasons-to-opt-3ba2 React Native App Development Services Top Reasons to OptThe proliferation of mobile applications particularly in the previous decade has boosted the need for and usage of cross platform app development React Native is a well known cross platform application development framework The React Native app development services are being widely adopted by so many businesses worldwide React Native is a flexible framework that can be used to create applications of different sizes and in a variety of industries It allows the creation of hybrid mobile apps that employ both old and modern technologies Developers may offer customized React development services to create web apps for Mac and Windows platforms as well as cross platform Android and iOS mobile apps You might be curious to learn why businesses and developers use React Native app development services for mobile app development Many well known companies have already deployed this framework with no failures Prominent brands including Skype UberEats Facebook Instagram Pinterest Vogue Tesla Bloomberg and others have embraced React Native on iOS and Android platforms Here are some of the remarkable reasons demonstrating why choosing React development service is the best thing to do Why Choose React Native App Development Services Rapid DevelopmentReact Native s key advantages include agility faster app development and a better overall user experience It gives customers a more natural experience Since the same code can be readily deployed on both the iOS and Android platforms the development cycle can be cut in half As a result the time and cost of development are decreased React Native reduces development time and costs while maintaining project quality and productivity In addition the requirement for additional developers has significantly decreased Cost efficientNew businesses and startups must develop their online presence rapidly and on a small budget to be successful At this moment React Native app development services come into play Using the React Native framework will save you both time and money This structure will help you achieve larger profits while also building a solid consumer base Reusable CodebaseCross platform mobile app development is based on the idea that the code developed may be utilized for both iOS and Android apps The same idea applies to React Native It works on the principle of write once publish everywhere The developers will no longer need to create distinct designs for each platform Furthermore if a business already has a web app it may be possible to reuse a large portion of the code to create a mobile app Multiple Results and SupplenessReact Native mobile app development which is based on concepts allows you to perform complicated operations with simple scripts To simplify the amount of code necessary to design and run ReactJS this framework takes advantage of Facebook s UI library The ability to Live Reload is critical in the development of a React Native mobile app It enables code changes and alterations in real time while the application is running Easy to LearnCompared to other frameworks React Native is much easier to learn and adopt Learning React Native is a breeze for those who are already comfortable with JavaScript No need to learn new languages or write difficult code because of the framework In addition React Native has a strong developer community that is enthusiastic about it This community may assist developers in resolving any issue no matter how little promptly The community s unique React Native programming talents and tools may potentially be useful to developers Stable and Highly Performant App DevelopmentThe codebase of React Native uses a simpler binding method As a result before making any modifications you must first change the status of one of the objects Other techniques for cross platform development will not help you develop more robust and trustworthy applications React Native is an amazing alternative for creating a brand new mobile app from scratch It can be used to supplement existing native apps with a single view or user flow In just a few minutes you can add new React Native based features views screens and more Effortless DebuggingDebugging takes a lot of time Developers must spend hours studying their code in order to identify and correct flaws The work gets substantially more difficult when there is a blundering syntax problem that is not obvious React development service comes to the rescue in this situation The team will spend less time looking for problems now that they are using the cross platform app development framework Since it is built on a single codebase a single bug fix is all that is necessary to bring the entire system back to life Furthermore the framework includes debugging tools such as Nuclide and console org to aid with the process Closing ThoughtsWhen you balance the pros and downsides of React Native app development services you will see that the positives much exceed the negatives Taking the benefits into account it is evident that React Native has a promising future in cross platform app development To summarize you know where to go if you want to develop a user friendly multidimensional mobile app that is always available For everything from start ups to well established businesses people are flocking to mobile applications rather than websites So choose your React development service provider and flourish in the market 2022-04-22 08:23:03
海外TECH DEV Community How to Create Table using Laravel 8 Migration Artisan Command https://dev.to/codeanddeploy/how-to-create-table-using-laravel-8-migration-artisan-command-18hf How to Create Table using Laravel Migration Artisan CommandOriginally posted visit and download the sample code In this post I will show you a guide on how to create a table using the Laravel migration artisan command If your using Laravel it allows us to create table easily using the artisan command and help us to modify the database and stay up to date without any mess If you are new to Laravel and want to know how to do it for example this post is for you Just follow the guide below on how to create a table using migrations in Laravel Step Create Laravel MigrationNow let s create our first Laravel migration in this example we will create a simple products table I assume that you already know how to run artisan command in Laravel php artisan make migration create products tableAfter you run the above command it will generate a migration file database migrations create products table php see below generated code lt phpuse Illuminate Database Migrations Migration use Illuminate Database Schema Blueprint use Illuminate Support Facades Schema class CreateProductsTable extends Migration Run the migrations return void public function up Schema create products function Blueprint table table gt id table gt timestamps Reverse the migrations return void public function down Schema dropIfExists products Now let s add our basic columns for the products table Here is the updated code lt phpuse Illuminate Database Migrations Migration use Illuminate Database Schema Blueprint use Illuminate Support Facades Schema class CreateProductsTable extends Migration Run the migrations return void public function up Schema create products function Blueprint table table gt id table gt string title table gt string description table gt decimal price table gt timestamps Reverse the migrations return void public function down Schema dropIfExists products Step Run Laravel MigrationThen now let s run the command to migrate our newly created migration Run the following command below php artisan migrateAfter you run the above command let s check to our phpmyadmin area Laravel Migration Command OptionsNow let s learn basic Laravel migration command options Create a Migration with Table php artisan make migration create products table table productsRun Specific Migration php artisan migrate path database migrations create products table phpMigration Rollback php artisan migrate rollbackTo know more about Laravel migrations visit here I hope this tutorial can help you Kindly visit here if you want to download this code Happy coding 2022-04-22 08:22:48
海外TECH DEV Community What is logic programming and how does it work? https://dev.to/annoh_karlgusta/what-is-logic-programming-and-how-does-it-work-2fhc What is logic programming and how does it work Logic programming is a type of computer programming in which program statements convey facts and rules about circumstances using a formal logic framework For example H is a state as a logic clause with a head and a body if B B and B are true The programmer must instruct the machine on how to make decisions based on mathematical logic In logical programming for example the use of a mathematical algorithm Computer programs are made up of code that tells the computer how to do specific things However the computer will eventually be obliged to make a decision about how to proceed It will be unable to complete its present task without the knowledge Logic programming solves these challenges by giving the computer instructions that allow it to make a logical decision about how to respond to a particular situation Studying logic is similar to learning math It s a skill that must be learned via practice This could be accomplished directly through programming or indirectly through logic puzzles The following are the most important aspects of the skill You should be aware of the formal moves that you can make in your system Breaking down your problem into manageable chunks so that each aspect may be addressed separately Understanding how to put the movements together to reach where you want to go It may appear straightforward but as everyone who has done mathematics knows applying simple rules may be difficult at times Because the underlying skills are so similar doing some math can surely assist The important aspect is to really do something ーto solve problems Alternatively practicing formal logic problem sets would be beneficial in honing these abilities Learning to solve difficulties for yourself is the most important aspect Watching tutorials or copying other people s solutions will never get you where you need to be While seeing solutions is beneficial doing the work yourself should be the focus of your practice During the Year of Code in America many schools throughout the world began introducing a computer programming skill element into the school day Children can learn the principles of computer functioning through this type of education If they can get a computer to do what they want kids can be proud of themselves This foundation can help children prepare for a lifetime of successful technology use and management Computational thinking is the capacity to express your thoughts in a systematic and logical manner This brain process is analogous to how a machine follows instructions step by step It s also the meticulous process of creating and solving problems that a computer could repeat To address problems software engineers computer programmers and logistics professionals adopt this approach of thinking Computational thinking encompasses advanced mathematics algorithm development and reasoning To develop computational thinking consider a problem and break it down into single action phases Each of these procedures is carried out as quickly as possible See you soon 2022-04-22 08:20:46
海外TECH DEV Community AWS open source news and updates, #109 https://dev.to/aws/aws-open-source-news-and-updates-109-4ejb AWS open source news and updates April nd Instalment Newsletter Welcome to edition of the AWS open source newsletter Big news I have shaken things up and will be changing the publish date to Friday mornings starting today with this edition Over the months I have received some feedback about changing the published date to Fridays so I am hoping this will give everyone plenty of time to check out the projects read the posts and provide everyone with something to do over the weekend if they want It has been a couple of weeks since the last newsletter thanks to the Easter break That means that this week there is a lot to unpack We have over great new open source projects including tsasl that simplifies developing AWS Step Functions using the TypeScript programming language route cli a neat command line tool for interacting with Rout sageinspector another cli tool this time to make it easier to interact with your Amazon SageMaker resources automating pii data detection a nice solution to help you automate the detection of pii data and lots of more great tools samples and demos Featured content in the newsletter this week covers a number of topics including a number of articles and posts on AWS CDK and Kubernetes Other topics featured include Istio Crossplane Apache Flink AWS Orbit Workbench OpenZFS Open Policy Agent MySQL AWS Lambda Powertools Apache Hudi Jaeger MySQL Karpenter cdktf and more This weeks videos include reckoner Consul Service Mesh and Data Science on AWS taking a look at dbt and Delta Lake Finally I have updated the events section to include up coming events so make sure you check those out and please let me know what events you might be attending that I should include OpenSearch newsBig news from last week was announcement of updates and improvements to the OpenSearch governance model around maintainers and the first non AWS maintainer in the OpenSearch project There were many tweets too many to list but here was one of the first I saw Whilst I am talking about OpenSearch the project created a new issue last week asking for feedback around client compatibility as new versions roll out Check out the issue PROPOSAL Ensure clients are compatible across at least major versions and share your thoughts with the project Do you have an interesting open source project you want to share As always if you are working on anything interesting you would like me to include in this weekly round up please drop me a line at ricsue amazon com Celebrating open source contributorsThe articles posted in this series are only possible thanks to contributors and project maintainers and so I would like to shout out and thank those folks who really do power open source and enable us all to build on top of what they have created So thank you to the following open source heroes Isan Rivkin Emir Özbir Lorenzo Garuti Vara Bonthu Manabu McCloskey Nima Kaviani Farooq Ashraf Jeremy Ber Olalekan Elesin Nick Corbett Ajish Abraham Paul Hargis Matt Winkler Jack G M FitzGerald Kevin Coleman Apoorva Kulkarni Mikhail Shapirov Jerome Van Der Linden Dariusz Osiennik Dmitry Kolomiets Rosh Plaha Ken Winner Michael Lin Saravanan G Prima Virani Vu Dao Viji Sarathy Michael Hauss Eric Hsueh Benjamin Menuet Anouar Zaaber Moshir Mikael and Armando Segnini Make sure you find and follow these builders and keep up to date with their open source projects and contributions Latest open source projects Communitytsasltsasl this project enables developers to define AWS Step Functions using the TypeScript programming language It allows developers to benefit from a familiar syntax type safety and mature ecosystem of tools for linting editing and automated testing Good docs and examples should help you get started quickly with this tool route cliroute cli if you are looking for a cli tool to interact with the Route service then you are in luck Isan Rivkin has put together this neat tool with great documentation and plenty of examples to help you stay in the terminal Invictus AWSInvictus AWS this tool is a python script that will help automatically enumerate and acquire relevant data from an AWS environment The tool doesn t require any installation it can be run as a standalone script with minimal configuration required The goal for Invictus AWS is to allow incident responders or other security personnel to quickly get an insight into an AWS environment to answer the following questions What services are running in an AWS environment for each of the services what are the configuration details and what logging is available for each of the services that might be relevant in an incident response scenario Toolsks aws terraform clusterks aws terraform cluster Lorenzo Garuti has created this repository that will help you to deploy in a few minutes a high available Kubernetes cluster on Amazon AWS using mixed on demand and spot instances Great and detailed documentation makes this easy to follow and some examples stacks are provided so you can see how this works including of course WordPress kubectl irsakubectl irsa is a tool from Emir Özbir that provides a kubectl plugin to test abilities of IAM policies which is assigned to the serviceAccount roles via AWS IAM Policy simulator service sageinspectorsageinspector this is an open source cli tool to inspect SageMaker resources more easily I think this is a pretty neat tool so make sure you check this out if you are a user of Amazon SageMaker amazon sagemaker training jobs benchmarksamazon sagemaker training jobs benchmarks this repository contains examples and related resources for Amazon SageMaker Training jobs over different instance types focusing on the aspects of time to train and cost to train Amazon SageMaker makes it easy to train machine learning using EC instances There are many instance types to choose from and this choice affects the speed and cost of training This repository contains example benchmark for various deep learning use cases You can see results directly in the notebook reproduce results by re running the notebooks And alter the notebooks to create new scenarios to benchmark aws backup complianceaws backup compliance this repo contains code that integrates Backup Audit Manager with Security Hub and AWS CodePipeline The integration with Security Hub configures AWS Backup Audit Manager framework with default controls and you can additional controls to the template which generate and trigger AWS Config rules and the rule evaluations are converted to Security Hub findings The integration with AWS CodePipeline enables developers to embed automated backup controls for AWS resources in their development workflows and shift left with backup compliance in AWS eks jumphosteks jumphost this repo contains a Terraform module to create an EC instance used as a jump host to interact with a private EKS cluster Its usage is meant for development environments not production in the latter case provisioning should be done via a continuous integration and deployment platform Demos and Samplesdevsecops quickstartdevsecops quickstart this repo will help development teams to quickly set up a ready to use environment integrated with a multi account CI CD pipeline following security and DevOps best practices and the use of a number of open source tools such as Bandit Snyk cfn nag and enables you define and enforce policies using Open Policy Agent OPA automating pii data detectionautomating pii data detection and data masking tasks with aws glue databrew and aws step functions this repository provides an AWS CloudFormation template that deploys a sample solution demonstrating how to leverage AWS Glue DataBrew to automatically detect PII data and mask the respective PII data with its native transformation functions In the post Build a data pipeline to automatically discover and mask PII data with AWS Glue DataBrew Samson Lee walks you through this project in detail wavvec huggingfaceamazon sagemaker fine tune and deploy wavvec huggingface this repo contains code that will help you fine tune and deploy WavVec model for speech recognition with HuggingFace and SageMaker There is a helpful blog post Fine tune and deploy a WavVec model for speech recognition with Hugging Face and Amazon SageMaker that explains how to use SageMaker to easily fine tune the latest WavVec model from Hugging Face and then deploy the model with a custom defined inference process to a SageMaker managed inference endpointaws lambda domain model sampleaws lambda domain model sample this project contains a Lambda function with domain model objects By using Hexagonal Architecture Ports and Adapters pattern it separates domain model from other layer code The Hexagonal Architecture or ports and adapters architecture is an architectural pattern used in software design KubernetesThis week we had several posts related to Kubernetes so they get their own section EKS BlueprintsLast week I was excited to read about the introduction of a new open source project called EKS Blueprints that makes it easier and faster for you adopt Amazon Elastic Kubernetes Service Amazon EKS EKS Blueprints is a collection of Infrastructure as Code IaC modules that will help you configure and deploy consistent batteries included EKS clusters across accounts and regions Kevin Coleman Apoorva Kulkarni and Mikhail Shapirov have collaborated on a blog post Bootstrapping clusters with EKS Blueprints that dives into the details This is an exciting project that will help make it even easier to use your favourite open source technologies on Amazon EKS CrossplaneCrossplane is an open source Kubernetes add on that enables platform teams to assemble infrastructure from multiple vendors and expose higher level self service APIs for application teams to consume without having to write any code check out the GitHub repo for more info In the post Introducing AWS Blueprints for Crossplane Vara Bonthu Manabu McCloskey and Nima Kaviani share how we have open sourced AWS Blueprints for Crossplane Crossplane offers a higher abstraction layer called Compositions and these allow users to build opinionated templates for deploying cloud resources This new project aims to simplify and accelerate your journey to managing AWS resources with Crossplane example Compositions hands on IstioWhen building SaaS solutions in the Cloud many builders leverage Istio an open source service mesh for deploying their multi tenant applications It provides features such as traffic management security and observability at the Kubernetes pod level In the post SaaS Identity and Routing with Istio Service Mesh and Amazon EKS Farooq Ashraf explains how to develop an architecture based on Amazon EKS that demonstrates a siloed SaaS deployment model using Istio Service Mesh to manage request authentication and per tenant routing hands on KarpenterAWS Community Builder and prolific blogger Vu Dao has created a two series blog post looking at Karpenter Karpenter is an open source node provisioning project built for Kubernetes Its goal is to improve the efficiency and cost of running workloads on Kubernetes clusters Whilst this is currently integrated with AWS the project has been designed so that other providers could be added In AWS Karpenter Hands on Vu provides a good introduction and gets you up and running and then in Karpenter with AWS Node Termination Handler he explores how you might use this with Spot instances hands on FleetDMosquery is an open source SQL powered operating system instrumentation monitoring and analytics framework Fleet is the most widely used open source osquery manager Combining the two and showing you how you can deploy them on AWS is Prima Virani in the blog post Hosting FleetDM on Amazon EKS hands on AWS Distro for OpenTelemetryAWS Distro for OpenTelemetry ADOT offers AWS customers the ability to reduce the installation footprint of observability tools in their environments Amazon EKS add ons are a capability within Amazon EKS that were introduced in December to provide lifecycle management for operational software in your clusters that make it easy for users to operate production grade clusters in a stable and secure manner In the post Metrics and traces collection using Amazon EKS add ons for AWS Distro for OpenTelemetry Viji Sarathy Michael Hauss and Eric Hsueh share an overview of the design of Amazon EKS add ons for ADOT and how the add on employs an ADOT Operator to manage the lifecycles of one or more instances of an ADOT Collector in an EKS cluster AWS and Community blog postsdbtdbt has established itself as one of the most popular tools in the modern data stack The dbt tool makes it easy to develop and implement complex data processing pipelines in SQL and provides developers with a simple interface to create test document evolve and deploy their workflows Benjamin Menuet Anouar Zaaber Moshir Mikael and Armando Segnini have put together Build your data pipeline in your AWS modern data platform using AWS Lake Formation AWS Glue and dbt Core share how to deploy a data pipeline in your modern data platform using the dbt glue adapter built by the AWS Professional Services team in collaboration with dbtlabs Apache HudiKyle Weller from Onehouse highlights the key integrations between Apache Hudi and AWS in his post Apache Hudi Native AWS Integrations where you can learn how you can build an open Lakehouse on AWS with Apache Hudi Amazon RDS MySQLAutomate RDS Slow Query Log Analysis With Slack Integration is an interesting post from the folks at ShellKode that helps you to automate the slow query log analysis using an open source tool pt query digest sending the results to the developers on daily basis via email or Slack I think this is interesting as a few weeks ago I shared an open source project called aws slack clickoops watcher which caught the interest of a lot of readers of this newsletter hands on JaegerJaeger is an open source distributed tracing platform created by Uber Technologies that is useful for monitoring microservices based distributed systems Dmitry Kolomiets has put together this blog post Introducing Jaeger Quick Start ーDeploying on AWS that explores an alternative tracing backend for your AWS originated traces that you might want to know more about This post will provide you everything you need to know to get started AWS CDKA number of great posts last week on AWS CDK Starting off with Rosh Plaha s post We ve begun to move towards the AWS CDK and here s why who provides a nice overview of the key features of CDK and then looks at the trade offs and pros cons of moving towards AWS CDK Following that we have Ken Winner from those nice folks at Stedi who wrote a few weeks ago Parallel CDK stack deployments with GitHub Actions diving in how to accelerate deployments using AWS CDK and the journey they took in dramatically reducing their deployment times Great read and essential if you are using CDK The next post is super interesting and covers an area that is well underserved from content The post Deploy Infrastructure using CDK for Terraform with Go from Michael Lin shows you how you can use cdktf to deploy a Go application in a different Cloud provider cdktf works in a similar fashion to AWS CDK except that rather than synthesising to CloudFormation this generates Terraform code and allows you to leverage the hundreds of providers and thousands of module definitions provided by Terraform and the Terraform ecosystem This is a great example of the CDK project being used by builders in a much broader context than just AWS hands on The final post and still on cdktf is AWS Community Builder Saravanan G with his post Create AWS Infrastructure using CDK for Terraform that provides an introduction into using cfktf using it to deploy a sample Python application hands on AWS Orbit WorkbenchAWS Orbit Workbench is an open source framework for building a data analytics workbench on AWS which I featured back in of this newsletter You can build a workbench that gives you access to the right tools for your use cases either through the out of the box integrations or through the extensible architecture AWS Hero Olalekan Elesin Head of Data Platform amp Data Architect at HRS Group did a guest blog post on the open source blog Scheduling Jupyter Notebooks with AWS Orbit Workbench where he shares how this project has become an integral part of their data platform and how this has enabled a simplified experience from data exploration to productionising data workloads within the business Open Policy AgentOpen Policy Agent OPA is an open source general purpose policy engine licensed under the Apache License that allows you to decouple policy decision making from application code Ajish Abraham writes Easily Running Open Policy Agent Serverless with AWS Lambda and Amazon API Gateway demonstrates how to run OPA as a service within a container in Lambda using just the standard precompiled OPA binary OPA is commonly used in cloud native environments and ran as a service or container Because OPA decisions are stateless OPA is a great candidate to run in a serverless architecture for cost savings simplicity and performance hands on AWS Lambda PowertoolsIn the post Handling Lambda functions idempotency with AWS Lambda Powertools Jerome Van Der Linden and Dariusz Osiennik explores what idempotency is and how to implement it more easily with AWS Lambda Powertools Apache FlinkAmazon Kinesis Data Analytics Studio makes it easy for customers to analyse streaming data in real time as well as build stream processing applications powered by Apache Flink Jeremy Ber shares how to get started querying data interactively from an Amazon Kinesis Data Stream using the Python API for Apache Flink Pyflink in his post Query your data streams interactively using Kinesis Data Analytics Studio and Python hands on Other posts worth checking outAnnouncing the General Availability of openCypher support for Amazon Neptune looks at announcement last week of the general availability of openCypher query language support with Amazon NeptuneTracing an AWS App Runner service using AWS X Ray with OpenTelemetry shares how you can instrument applications deployed using AWS App Runner with the AWS Distro for OpenTelemetry ADOT hands on Develop and test AWS Glue version jobs locally using a Docker container develop and test your AWS Glue scripts locally spark submit pyspark JupyterLab and pytest using this solution hands on Let s Architect Using open source technologies on AWS explores how you can use a number of open source projects from AWS when building your solutionsDeploy NET Blazor WebAssembly Application to AWS Amplify shows you how to build a full CI CD pipeline for a Blazor WebAssembly using the AWS amplify hands on Case StudiesA couple of interesting case studies this week featuring the Amazon Genomics CLI and the use of open source big data projects at Uber The Amazon Genomics CLI is an open source tool that simplifies genomics workflows in the cloud The UC Santa Cruz Genomics Institute shared how they were collaborating with AWS and using tools like the Amazon Genomics CLI in their blog post UCSC and Amazon Web Services work to accelerate genomics researchPrestoon Apache KafkaAt Uber Scale is a look at how Uber uses Presto on Apache Kafka at scale and is a really great read Essential reading this week Quick updatesActiveMQAmazon MQ now provides support for ActiveMQ This update to ActiveMQ contains several fixes and enhancements compared to the previously supported version ActiveMQ Amazon CorrettoOn April th Amazon announced quarterly security and critical updates for Amazon Corretto Long Term Supported LTS versions of OpenJDK Corretto and u are now available for download Apache CassandraAmazon Keyspaces for Apache Cassandra a scalable highly available and fully managed Cassandra compatible database service now helps you read and write data in Apache Spark more easily by using the open source Spark Cassandra Connector Apache Spark is an open source engine for large scale data analytics Customers use Apache Spark to perform analytics on data stored in Amazon Keyspaces more efficiently Customers also use Amazon Keyspaces to provide applications consistent single digit millisecond read access to analytics data from Spark Now you can read and write data between Amazon Keyspaces and Spark more easily by using the open source Spark Cassandra Connector Amazon Keyspaces support for the Spark Cassandra Connector helps you run Cassandra workloads in Spark based analytics pipelines more easily by using a fully managed and serverless database service With Amazon Keyspaces you don t need to worry about Spark competing for the same underlying infrastructure resources as your tables Amazon Keyspaces tables scale up and down automatically based on your application traffic Open DataThis quarter we released new or updated datasets including CMIP s US Decennial Census and open genomics data for Galaxy Read the post Downscaled CMIP US Census and open genomics data for Galaxy The latest open data on AWS for some highlights among the new datasets On a related note Jack G M FitzGerald wrote Amazon releases language dataset for language understanding in the Amazon Science blog sharing three announcements including news about the availability of a new dataset called MASSIVE which is composed of one million labeled utterances spanning languages along with open source code which provides examples of how to perform massively multilingual NLU modelling Read the post to learn more MySQLYou can now configure your database connections on Amazon Aurora MySQL Compatible Edition from an allowable list of ciphers Configurable cipher suites help provide you with more security control over the connection encryption that your database server accepts The supported ciphers dependent on the version of your Aurora MySQL compatible database include the following DHE RSA AES SHADHE RSA AES SHADHE RSA AES GCM SHADHE RSA AES SHADHE RSA AES SHADHE RSA AES GCM SHAECDHE RSA AES SHAECDHE RSA AES SHAECDHE RSA AES GCM SHAECDHE RSA AES SHAECDHE RSA AES SHAECDHE RSA AES GCM SHAOpenZFSAWS DataSync now supports transferring files to and from Amazon FSx for OpenZFS a fully managed service that offers highly reliable scalable performant and feature rich file storage built on the open source OpenZFS file system Using DataSync you can easily and securely migrate your on premises file or object storage to FSx for OpenZFS or perform ongoing transfers of your data between FSx for OpenZFS and your on premises storage or AWS Storage services You can also use DataSync to move data between FSx for OpenZFS file systems Videos of the weekData Science on AWSAntje Barth and Chris Fregly introduce a couple of guest speakers Paul Hargis and Matt Winkler that share how to use use open source Delta Lake and dbt in your ML data pipelines Essential viewing this weeks folks Consul Service MeshContinuing in their series of shows featuring HashiCorp open source tools running on AWS colleague and fellow DA Jenna Pederson and J Cole Morrison from HashiCorp show you how to set up a Consul Service Mesh for their microservices architecture on ECS They cover the main concepts in Consul and build out the infrastructure components required for the Consul servers reckonerIt has been a while since I have shared a video from the Containers from the Couch team but last week they Justin Garrison and Sai Vennam plus Luke Reed from Fairwinds put together a show that featured how to manage your helm charts with open source tools such as reckoner from Fairwinds that lets you declaratively manage multiple helm charts Watch to see more Events for your diaryAWS London SummitApril thWe have a number of open source sessions including my very own on Apache Airflow so if you are about later this week why not register and pop along AWS London Summit registration pageAWS Berlin SummitMay th thAside from the AWS open source sessions including me again talking about Apache Airflow we will have our very own Spot and myself manning the open source booth Really looking forward to this and would love to see you come down and share your open source projects on our booth AWS Berlin Summit registration pageKubeConMay th th Valencia SpainThe Cloud Native Computing Foundation s flagship conference gathers adopters and technologists from leading open source and cloud native communities in Valencia Spain from May I will be there with many of the open source team and other AWS colleagues so if you are going make sure you swing by the AWS Booth Find out more about the event here GitOpsCon EuropeMay th Valencia SpainGitOpsCon Europe is designed to foster collaboration discussion and knowledge sharing on GitOps This event is aimed at audiences that are new to GitOps as well as those currently using GitOps within their organisation Get connected with others that are passionate about GitOps Learn from practitioners about pitfalls to avoid hurdles to jump and how to adopt GitOps in your cloud native environment The event is vendor neutral and is being organised by the CNCF GitOps Working Group Topics include getting started with GitOps scaling and managing GitOps lessons learned from production deployments technical sessions and thought leadership Read more about this from the official page here CDK DayMay th VirtualThis is a community organised event about AWS CDK cdktf projen and cdks This will be third year they run this event and if the previous two are anything to go by this will be essential viewing live streamed via You Tube Check out and register for the event over at their home page at BOSC July Madison Wisconsin USAThe Bioinformatics Open Source Conference BOSC has been held annually since and this year AWS is proud to be a platinum sponsor for this event BOSC covers all aspects of open source bioinformatics software and open science including but not limited to these topics Open Science and Reproducible Research Open Biomedical Data Citizen Participatory Science Standards and Interoperability Data Science Workflows Open Approaches to Translational Bioinformatics Developer Tools and Libraries Inclusion and Outreach and Training This is a hybrid event in person virtual and you find out more by checking out the event page BOSC OpenSearchEvery Tuesday pm GMTThis regular meet up is for anyone interested in OpenSearch amp Open Distro All skill levels are welcome and they cover and welcome talks on topics including search logging log analytics and data visualisation Sign up to the next session OpenSearch Community Meeting Feb Stay in touch with open source at AWSI hope this summary has been useful Remember to check out the Open Source homepage to keep up to date with all our activity in open source by following us on AWSOpen 2022-04-22 08:20:25
海外TECH DEV Community Setting Up Consumable and Non-consumable In-App Purchases https://dev.to/yuliiakondr/setting-up-consumable-and-non-consumable-in-app-purchases-1b2o Setting Up Consumable and Non consumable In App PurchasesWhen developing mobile applications you may want to generate revenue with your app According to the latest Sensor Tower report consumable and non consumable in app purchases are some of the most commonly used monetization mechanics ーespecially in games with Ad Removal Games with this monetization method account for of all games In this article we ll take a closer look at features of in app purchases what s the difference between consumable and non consumable IAPs and how to set it up with Qonversion Types of In app PurchasesIAPs can be used in a number of ways For example to add features remove ads or purchase in game currency But which type of purchase should you use for each purpose There are two types of in app purchases that can be used for iOS and Android mobile apps Non consumable items The idea is that they could be purchased only once It is permanently associated with the user s store account Examples are purchasing game levels race tracks and extra app features and yes ad removal Consumable items can be purchased multiple times It could be used up during the life of the application Examples are in game currency and extras Differences Between Google and Apple In app PurchasesGoogle makes no difference between non consumable and consumable in app purchases when creating a product However Apple requires developers to specify the type of in app purchase in App Store Connect How to Setup Consumable and Non consumable In app PurchasesLet s assume we develop a racing game for iOS and Android Our app allows users to unlock premium race tracks non consumable item once a track is purchased a user gets access to it forever and purchase extra health for a car consumable item the user should be able to buy health every time he needs it Qonversion allows handling all types of in app purchases including non subscription products The following example describes the process of integrating in app purchases into mobile apps with Qonversion Before we get started with the creation of consumable and non consumable purchases make sure that you already have a Qonversion account and have created your project and register the app PreparationSuppose we have already created in app purchases in Google Play Console and App Store Connect with the following IDs android premium track android extra health and ios premium track ios extra health accordingly Let s create Products in the Qonversion dashboard Then we should create a Permission and link it to the premium track product Premium permission will unlock access to the track after its purchase For the extra health product we don t need to create a permission Let s also create an Offering to be able to change the products set remotely without releasing app updates Attach created products to the offering How to Provide a Lifetime Access With Non consumable In App Purchases Displaying productsDisplay products for sale to the user iOS Qonversion offerings offerings error in if error nil Handle the error here let offering offerings offering forIdentifier standard offering if let product offering product forIdentifier premium track Display the product for sale Android Qonversion offerings object QonversionOfferingsCallback override fun onSuccess offerings QOfferings val offering offerings offeringForID standard offering offering productForID premium track let product gt Display the product for sale override fun onError error QonversionError Handle the error here Making PurchasesWhen the user is ready to purchase the product start a purchase flow with the following method iOS Qonversion purchaseProduct product permissions error isCancelled in if let premium Qonversion Permission permissions premium premium isActive Successful purchase Unlock premium content Android Qonversion purchase context product callback object QonversionPermissionsCallback override fun onSuccess permissions Map lt String QPermission gt val premiumPermission permissions premium if premiumPermission null amp amp premiumPermission isActive Successful purchase Unlock premium content override fun onError error QonversionError Handle the error here Every time you want to know whether the user has access to the premium content you should call the checkPermissions method Once the product has been successfully purchased and the permission has become active you should not allow the user to purchase the product again The user has a lifetime access since now Provide an Access With Consumable In app Purchases Displaying productsDisplay products for sale to the user iOS Qonversion offerings offerings error in if error nil Handle the error here let offering offerings offering forIdentifier standard offering if let product offering product forIdentifier extra health Display the product for sale Android Qonversion offerings object QonversionOfferingsCallback override fun onSuccess offerings QOfferings val offering offerings offeringForID standard offering offering productForID extra health let product amp gt Display the product for sale override fun onError error QonversionError Handle the error here Making purchasesWhen the user is ready to purchase the product start a purchase flow with the following method iOS Qonversion purchaseProduct product permissions error isCancelled in if error Successful purchase Unlock premium content Android Qonversion purchase context product callback object QonversionPermissionsCallback override fun onSuccess permissions Map lt String QPermission gt Successful purchase Unlock content override fun onError error QonversionError Handle the error here To unlock content you don t have to check permissions Instead you should rely on a successful result i e when there is no error Note The app has to remember the state of the purchased product how many units were purchased and give access accordingly For instance if the user purchased units of extra health and then used you should consider it and demonstrate the actual balance of pieces of health within your app So just remaining pieces will be available for your user to purchase ConclusionIn this blogpost we took a closer look on how to set up consumable and non consumable purchases As you can see the process is pretty simple Once you ve implemented in app purchases don t forget to use the analytics tools to measure how much revenue each of your products brings 2022-04-22 08:18:32
海外TECH Engadget Amazon accused of using charity work scheme to conceal warehouse incident rates https://www.engadget.com/amazon-accused-using-charity-work-scheme-conceal-warehouse-incident-rates-083541230.html?src=rss Amazon accused of using charity work scheme to conceal warehouse incident ratesAmazon is pursuing the quot aggressive geographic and use case expansion quot of a scheme that sends injured warehouse workers to non profits for light duty according to The Financial Times Under the scheme that s officially called Amazon Community Together workers get their full salary instead of compensation benefits that typically only cover a portion of their usual pay While the program sounds beneficial for both workers and local non profits workers rights advocates argue that it s a tool Amazon uses to hide the real number of serious injuries at its warehouses nbsp Participants in the Community Together program are sent to charities like Salvation Army and Habitat for Humanity to do whatever work they re capable of with their injuries Over workers have been placed at non profits since it the program launched in but Amazon had to scale back its operations during the pandemic Amazon spokesperson Lisa Campos said the program is voluntary and that the company gets quot overwhelmingly positive quot feedback from participants and partner non profits Indeed the workers The Times talked to said they re treated well at their placements and partner non profits are thankful for the quot amazing amount of work quot the workers do for them nbsp As the publication points out though it also gives Amazon a way to reduce its Lost Time Incident Rate LTIR which is a standard OSHA metric that gives authorities concrete data on the number of severe incidents in a facility Based on figures from the Occupational Safety and Health Administration Amazon s rate of injury is more than double that of the national warehousing industry average And according to Strategic Organizing Center SOC a coalition of North American labor unions there were serious injuries at Amazon s US facilities last year up percent from Company CEO Andy Jassy blamed that high injury rate to new workers in a letter to shareholders and in an interview with CNBC Amazon published its own report PDF in January that claims a percent drop in LTIR in the US and a percent drop worldwide in It didn t however mention the growing number of Community Together placements which had reportedly gone up by percent over the same period Eric Frumin from SOC said the program quot can create a good social environment for people quot but quot it can be highly abusive because the job could be contributing to the recurrence of the injury or preventing recovery quot 2022-04-22 08:35:41
海外TECH CodeProject Latest Articles Using GFX in PlatformIO https://www.codeproject.com/Articles/5327404/Using-GFX-in-PlatformIO platformio 2022-04-22 08:56:00
医療系 医療介護 CBnews 入院患者の約70%が60歳代以上「動向を注視」-東京都がコロナモニタリング会議の専門家意見公表 https://www.cbnews.jp/news/entry/20220422174602 入院患者 2022-04-22 17:55:00
金融 RSS FILE - 日本証券業協会 証券会社が仲介するプライベートプレイスメントに関する情報交換会 https://www.jsda.or.jp/about/gyouji/20220421101612.html 証券会社 2022-04-22 09:30:00
ニュース @日本経済新聞 電子版 ANA最終赤字1450億円に拡大、22年3月期 旅客回復遅れ https://t.co/wGQyS6qha4 https://twitter.com/nikkei/statuses/1517419117854478338 最終赤字 2022-04-22 08:24:44
ニュース @日本経済新聞 電子版 東京都、新たに5396人感染 7日平均で前週の78.1% https://t.co/LhIN2DpgeO https://twitter.com/nikkei/statuses/1517416364767547392 東京都 2022-04-22 08:13:48
海外ニュース Japan Times latest articles Japan joins scramble to respond to Solomon Islands’ pact with China https://www.japantimes.co.jp/news/2022/04/22/national/solomon-islands-china-pact-japan-reaction/ Japan joins scramble to respond to Solomon Islands pact with ChinaThe deal reportedly allows China to dock military ships in the island nation representing a significant strategic advance in the region for Beijing 2022-04-22 17:41:06
ニュース BBC News - Home Madeleine McCann: Portuguese authorities declare formal suspect https://www.bbc.co.uk/news/uk-61183857?at_medium=RSS&at_campaign=KARANGA portugal 2022-04-22 08:37:19
ニュース BBC News - Home Retail sales fall as rising cost of living bites https://www.bbc.co.uk/news/business-61157856?at_medium=RSS&at_campaign=KARANGA finances 2022-04-22 08:11:19
ニュース BBC News - Home Boris Johnson and India's Narendra Modi discuss defence and trade https://www.bbc.co.uk/news/uk-politics-61183833?at_medium=RSS&at_campaign=KARANGA india 2022-04-22 08:09:33
ビジネス 不景気.com 大阪の運送業「SEHIRO」が自己破産申請、負債18億円 - 不景気com https://www.fukeiki.com/2022/04/sehiro.html sehiro 2022-04-22 08:04:22
北海道 北海道新聞 札幌市西区・小5男児死亡交通事故 危険な時期、注意を 市教委、指導徹底を通知 https://www.hokkaido-np.co.jp/article/672531/ 交通事故 2022-04-22 17:19:33
北海道 北海道新聞 寿都町、核ごみ議事録27日に開示 原告に通知 https://www.hokkaido-np.co.jp/article/672826/ 高レベル放射性廃棄物 2022-04-22 17:18:53
北海道 北海道新聞 函館2人死亡火災 遺体の身元判明 https://www.hokkaido-np.co.jp/article/672822/ 函館市新川町 2022-04-22 17:20:04
北海道 北海道新聞 沖縄復帰50年で議連が発足へ 超党派、記念式典を支援 https://www.hokkaido-np.co.jp/article/672829/ 記念式典 2022-04-22 17:14:00
北海道 北海道新聞 河辺愛菜が樋口コーチに師事へ フィギュア北京五輪代表 https://www.hokkaido-np.co.jp/article/672810/ 北京五輪 2022-04-22 17:12:09
北海道 北海道新聞 18歳男を逆送、強盗致死疑い 起訴で氏名公表も、大阪・寝屋川 https://www.hokkaido-np.co.jp/article/672819/ 大阪府寝屋川市 2022-04-22 17:10:05
北海道 北海道新聞 市長パワハラ疑惑で調査委、滋賀 野洲、6月に結果 https://www.hokkaido-np.co.jp/article/672827/ 滋賀県野洲市 2022-04-22 17:08:00
北海道 北海道新聞 蘇ったキューピッド、来場者魅了 フェルメール展開幕 札幌・近代美術館 https://www.hokkaido-np.co.jp/article/672696/ 北海道文化放送 2022-04-22 17:06:14
ニュース Newsweek 「映画検閲法」に挑む新世代──90年代の香港映画ファンにこそ見てほしい https://www.newsweekjapan.jp/stories/world/2022/04/90-25.php 民主化運動を大きく取り上げないと、外国の人には香港映画と認めてもらえない」だが今回選ばれた独立系の映画は、香港の物語を伝える多面的な努力の結晶であり、今年の映画祭で紹介された監督は皆、今でも活発に映画を撮っている。 2022-04-22 17:33:48
IT 週刊アスキー スーパーやコンビニで売っていない商品を買いに行こう! 相鉄瀬谷駅に変わり種商品を集めた自動販売機「時遊商店 by ist」4月28日オープン https://weekly.ascii.jp/elem/000/004/089/4089948/ byist 2022-04-22 17:30:00
IT 週刊アスキー 2022年7月放送のTVアニメがG123でゲーム化!『転生賢者の異世界ライフ~ゲームでも、世界最強になりました~』が事前登録開始 https://weekly.ascii.jp/elem/000/004/089/4089960/ twitter 2022-04-22 17:30:00
IT 週刊アスキー セブンの唐辛子ゴロゴロ「闇つき」四川風麻婆丼!ビールもほしくなるね https://weekly.ascii.jp/elem/000/004/089/4089799/ 食べ応え 2022-04-22 17:15:00
マーケティング AdverTimes 顧客の場所と瞬間を捉えた双方向コミュニケーションを目指す https://www.advertimes.com/20220422/article382515/ 顧客 2022-04-22 09:00:02
マーケティング AdverTimes 身近な存在であることを最大限に生かす 他媒体とのミックスが重要 https://www.advertimes.com/20220422/article382547/ 日常生活 2022-04-22 08:45:37
マーケティング AdverTimes 富裕層の次は超富裕層? 尖ったセグメンテーションが価値に https://www.advertimes.com/20220422/article382563/ 代表取締役 2022-04-22 08:30:12
マーケティング AdverTimes 「オウンドメディア(ウェブ)運営に関する調査2022」ご協力のお願い/月刊『広報会議』より https://www.advertimes.com/20220422/article382608/ 事業会社 2022-04-22 08:21:54
マーケティング AdverTimes 湖池屋スコーン「社交ダンスCM」なぜ復活?中島健人出演で35年前を再現 https://www.advertimes.com/20220422/article382599/ 中島健人 2022-04-22 08:17:08
マーケティング AdverTimes 「インパクト」と「話題化」のその先 広がる枠を、デジタルで管理 https://www.advertimes.com/20220422/article382535/ liveboard 2022-04-22 08:15:53

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)