AWS |
AWS Machine Learning Blog |
Build Custom SageMaker Project Templates – Best Practices |
https://aws.amazon.com/blogs/machine-learning/build-custom-sagemaker-project-templates-best-practices/
|
Build Custom SageMaker Project Templates Best PracticesSageMaker Projects give organizations the ability to easily setup and standardize developer environments for data scientists and CI CD systems for MLOps Engineers With SageMaker Projects MLOps engineers or organization admins can define templates which bootstrap the ML Workflow with source version control automated ML Pipelines and a set of code to quickly start iterating over … |
2021-10-27 18:10:24 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
「コアラのマーチずっとまもるくん」をLINEBotと連携したい(obniz×LINE Bot) |
https://qiita.com/Izumi0711/items/f898652401249877ab75
|
「コアラのマーチずっとまもるくん」をLINEBotと連携したいobniz×LINEBot「コアラのマーチずっとまもるくん」に進化前回の記事で紹介させていただいた秒の儚い命だった「コアラのマーチまもるくん」QampAで解決方法をいただき、ずっと距離を測り続けて、ブザーが鳴らせる「コアラのマーチずっとまもるくん」に無事に進化をしましたコアラのマーチずっとまもるくんのコードはこちらをクリックdistancespeakerjsconstObnizrequireobnizconstobniznewObnizxxxxxxxxObnizIDに自分のIDを入れますobnizonconnectasyncfunctionvarhcsrobnizwiredHCSRgndechotriggervccconstspeakerobnizwiredSpeakersignalgndsetIntervalasyncfunctionhcsrmeasurefunctiondistanceconsolelogdistancedistancemmifdistancegtspeakerplayelsespeakerstop音が鳴るだけじゃ守れないよね・・・最初はびっくりしていた旦那さんですが、慣れてくると何もビビらなくなり、箱を置けば止まると学んだので涙、私も開き直って、コアラのマーチがなくなったら、①音が鳴る念のため②LINEBotでお知らせが来るができると、出先であれば買って帰れるので、イライラしないなとなりました。 |
2021-10-28 03:13:03 |
Program |
[全てのタグ]の新着質問一覧|teratail(テラテイル) |
canvasにおけるcanvas自体の大きさに干渉しない画像の大きさの変更 |
https://teratail.com/questions/366554?rss=all
|
canvasにおけるcanvas自体の大きさに干渉しない画像の大きさの変更前提・実現したいことsublimenbsptextnbspでプログラムを組んでいるのですがcanvasに画像を読み込んだ際にcanvasそのものの大きさを変更することなく画像の大きさを変更する方法が知りたいです。 |
2021-10-28 03:47:11 |
海外TECH |
Ars Technica |
Review: Bigger screen and better lighting make for a nearly perfect Kindle Paperwhite |
https://arstechnica.com/?p=1807774
|
kindle |
2021-10-27 18:45:54 |
海外TECH |
Ars Technica |
Can Pikmin Bloom recapture the magic of Pokémon Go? |
https://arstechnica.com/?p=1808045
|
cutest |
2021-10-27 18:37:27 |
海外TECH |
Ars Technica |
Ancient DNA from Sitting Bull’s scalp lock confirms living great-grandson |
https://arstechnica.com/?p=1807978
|
ancestor |
2021-10-27 18:00:41 |
海外TECH |
MakeUseOf |
10 Ways to Fix Missing Thumbnails in Windows 10 |
https://www.makeuseof.com/ways-to-fix-missing-thumbnails-windows-10/
|
missing |
2021-10-27 18:45:11 |
海外TECH |
MakeUseOf |
What Is a GSI on Android and How Is It Different to a Custom ROM? |
https://www.makeuseof.com/what-is-a-gsi-generic-system-image/
|
What Is a GSI on Android and How Is It Different to a Custom ROM The launch of Project Treble in introduced Generic System Images But what are GSIs and how are they different from other custom ROMs |
2021-10-27 18:02:18 |
海外TECH |
DEV Community |
React SaaS Boilerplate with Next JS and Serverless |
https://dev.to/ixartz/react-saas-boilerplate-with-next-js-and-serverless-n3m
|
React SaaS Boilerplate with Next JS and ServerlessBuilding a SaaS application from scratch is a difficult task and it involves a lot of skills Frontend Backend Cloud infrastructure and third party integration like payment It took me months to build my first SaaS and make it available to the public I built a React SaaS Boilerplate to reduce this time by The perfect solution to build your SaaS faster and better My goal is to help you developers focus on your SaaS and your customers instead of losing time on boring configuration and integration Get access to the most common SaaS building blocks and launch your SaaS in weeks not in months Landing Page and User DashboardSave time with a prebuilt landing page component written in React styled with Tailwind CSS Navigation barHeroFeaturesVertical featuresTestimonialPricing cardFAQCall to actionFooterThe only thing left to you is the copywriting Here is the example of the landing page For your authenticated users you also need to have a user dashboard LoginSidebarTableForm with label input textarea radio button checkbox etc Dialog modal Message stateSettings pageLike the landing page every component is prebuilt So you don t need to implement and design yourself It ll save you several days and weeks of development Built in a modular way the components are easy to customize and you can easily extend them for your use cases No need to be a designer or hire one to build your SaaS product Focus on the things that matter to your customers AuthenticationAll SaaS products need authentication for their users A way for the users to have access to their user dashboard and use the products React SaaS Template provides an authentication method out of the box with AWS Cognito a secure and scalable identity provider So you don t need to implement or configure an authentication from scratch It accepts several social sign in methods FacebookGoogleAppleAmazonIt also secures your cloud resources by denying unauthorized users and keeps your cost down ServerlessWith recent development in Serverless it s now totally possible to rely on Serverless to build a SaaS business The pay as you go pricing is perfect when you are launching your product When your products get some traction Serverless removes the burden to handle the scaling It automatically scales based on your traffic And the most important thing about Serverless it reduces the infrastructure maintenance of your SaaS No need to configure your serverNo need to update your serverMake the security easierNo need to scale your serverMake your deployment fasterYou don t need to worry about server management and it frees your operation time The perfect solution to help you focus on your products and make them grow faster Serverless databaseAfter making the REST API serverless the other step is to make the database serverless Currently the most viable solution is DynamoDB a fully serverless NoSQL database Highly scalableScale to zeroPay as you go pricingNo cold startManaged serviceProduction readyFor someone who has already worked with SQL data migration is a nightmare to handle On the opposite Database schema in NoSQL is extremely flexible It makes the deployment of the new version extremely easy without the need for data migration Stripe integrationIt s great to have a lot of users but it s even better to have paying customers for your SaaS Accepting payment is hard and it s even harder for subscription payment used in SaaS Setting up a recurring payment where you need to debit your customer every billing period daily weekly monthly yearly or custom You also need to generate and send an invoice for subscriptions That is only the happy path you also need to handle all the edge cases React SaaS has an integration with Stripe All the integration has made for you Stripe checkout pageStripe customer portal where the customer can manage his subscriptionsInvoice history with downloadable PDFReceive event notification with Stripe webhook Clean code and architectureA boilerplate code shouldn t lose your time and energy You don t want to spend your time restructuring and fixing the project It s extremely important for starter code to provide high quality code React SaaS Boilerplate was built by following industry standards and best practices Consistent coding standardsBulletproof architectureReadable codeClean source codeHighly modularReusable codeWell architectureLayered architectureScalable folder structureEasy to maintainHere are some code samples from Nextless JS Prebuilt landing page components in React code sample An example of React landing page component a testimonial component Frontend folder and architecture Backend Express JS REST API router Backend Express JS controller code sample Backend folder and architecture Form managementAlmost all applications need some user input With some basic HTML you can easily create a form like this On the backend side you need to implement a validation method to verify the user input The validation method is configured with definition and schema Then when an error occurs you need to display it in the frontend Good news With React SaaS everything has been set up for you You only need to customize it for your needs Saving you time easy to use formsaccessible formsno need to design forms from scratchform submissionimplement the validation methodconnect the form with the backend the two ways communication Best in class Developer ExperienceBuilt by developers for developers with experience in mind React SaaS Starter includes Type checking TypeScriptLinter ESLintCode formatter PrettierGit Hooks HuskyEverything has been perfectly configured for you to write high quality code You don t need to lose any seconds to make JS tooling work together So you can move fast on your SaaS The React SaaS goes beyond by providing configuration for the most used code editor VSCode debug configuration Settings Task and suggested extension Infrastructure as CodeInfrastructure as Code allows developers to set up a cloud infrastructure without any manual configuration As you know the manual configuration has a lot of drawbacks Error proneNot easy to replicate for each environmentHave inconsistent between environmentReact SaaS Template helps you deploy all your cloud infrastructure in one command No need to become a DevOps engineer or hire one to build your SaaS Create and deploy DynamoDB on your own AWS account Code example and documentationIt s always good to have code examples to start a project React SaaS Boilerplate comes up with a Todo SaaS product as a code example A Todo app where the user can create read update and delete a Todo CRUD operation Documentation is provided to run the boilerplate in minutes on your local computer In minutes you ll be able to set up and run the full stack application After that you are ready to go and start on what makes your SaaS unique In conclusionIf you want to make your own SaaS and to get all these features out of the box for a fast time to market please check out React SaaS Boilerplate and focus on the core development of your SaaS The perfect starter kit to launch your SaaS faster and better Focus on your business products and customers instead of losing your time to implement basic functionalities like authentication Stripe subscription prebuilt landing page prebuilt dashboard page form and error handling CRUD operation layered architecture deployment server maintenance etc |
2021-10-27 18:31:17 |
海外TECH |
DEV Community |
Get Started with MariaDB in 3 Steps |
https://dev.to/probablyrealrob/get-started-with-mariadb-in-3-steps-jhd
|
Get Started with MariaDB in StepsOK we all know that there are a ton of database options out there these days Relational SQL NoSQL Distributed SQL NewSQL And that s really just the tip of the iceberg Choosing a new database is likely one of the most important architectural decisions that go into creating or integrating into a new solution or application The reasons for choosing a database can be everything from extremely simple to pretty damn complex but ultimately it all boils down to the type of data workload you re looking to handle But that s not something I m going to get into because that s the kind of research you can certainly go off and do on your own Instead in this article I want to focus on the quickest way you can go from nothing to having a local instance of a MariaDB database up running and ready to use so you can start checking things out using a Docker container for yourself OK let s get into it Step Install DockerNow unless you ve been living under a rock for the past several years I m willing to bet you ve at least heard of Docker or at the very least the concept of containerization And if not no biggie check this out if you re curious Either way the good news is that using Docker on your local machine is incredibly easy Just download and install Docker Desktop Step Start a MariaDB Docker ContainerOnce you ve successfully installed Docker on your machine you re ready to pull the MariaDB image and spin up a container which will contain a MariaDB database instance For this you re going to use the Official MariaDB Docker Image hosted at Open up a new terminal window and execute the following command docker run p name mdb e MARIADB ROOT PASSWORD Password d mariadb latestThe previous statement will pull down the latest version of the Official MariaDB image and spin up a new container on localhost exposing port and allow you to connect using the root user with password Password Hint I guess this is something like Step b but you can confirm that the docker run command has successfully pulled the MariaDB Image and spun up a container by executing docker ps which will show you all of the containers currently running Step Connect to MariaDBLastly you don t need to install anything else to start using MariaDB While you certainly can use other types of clients or tools to connect to and communicate with a MariaDB database for this brief walkthrough you don t have to worry about any of that Everything you need you already have Just use the mariadb command line client that s included within the MariaDB Docker container Execute the following to connect to MariaDB using the command line client docker exec it mdb mariadb user root pPassword Which should result in something like the following Welcome to the MariaDB monitor Commands end with or g Your MariaDB connection id is Server version MariaDB mariafocal mariadb org binary distributionCopyright c Oracle MariaDB Corporation Ab and others Type help or h for help Type c to clear the current input statement MariaDB none gt And that s it That s all you need to connect to and start using querying MariaDB Happy coding friends |
2021-10-27 18:28:15 |
海外TECH |
DEV Community |
Functions to be called only once in C++ |
https://dev.to/sandordargo/functions-to-be-called-only-once-in-c-5al1
|
Functions to be called only once in C In this article we are going to discuss how we can make sure member functions are called no more than once while their enclosing object is alive There can be different motivations for having such functions Certain operations might be very costly so we don t want to recompute the results several times or maybe logically it doesn t make sense to call a function twice As we re going to see the different motivations can lead to different solutions Very costly operationsImagine that a function has something very costly to perform Maybe it has to retrieve something from the database or from the network maybe simply it s just very CPU intensive and we want to avoid doing that work twice Cache the dataA simple and clean solution can be that when you call the costly function the first time it saves the data in a private member For later calls the result is simply retrieved from that member instead of repeating the computation class MyClass public CostlyResult getCostly if m result empty computeCostlyResult return m result private CostlyResult m result In this simple example we default initialize m result of type CostlyResult which has the means to check whether it already stores the outcome of the costly operations For practical reasons it s called CostlyResult empty but there can be other ways to make such checks You might even use a helper member to track if the function has been already called class MyClass public CostlyResult getCostly if m result initialized computeCostlyResult m result initialized true return m result private CostlyResult m result bool m result initialized false The goal is clearly to avoid the computation being done twice If the object lives long and the result might change you might want to provide means to trigger a refresh of the data As long as it doesn t happen automatically but the user of the class had to pass in a special flag or call a function it s okay The computation won t be triggered accidentally But what if you really want to restrict the number of calls and not just the computations Have a counterInstead of checking whether the m result member was initialized we can have a counter that counts how many times getCostly was called We can set a threshold and if there are more calls than that we can raise an error like in the below example Note that if the threshold is only one meaning that the function can be called only once instead of using a counter we can fall back to a bool that is set after the first call like in the previous example include lt stdexcept gt class CostlyResult class MyClass public CostlyResult getCostly if number of costly calls gt throw std runtime error MyClass getCostly can be called only once number of costly calls return computeCostlyResult private CostlyResult computeCostlyResult return int number of costly calls int main MyClass mc mc getCostly mc getCostly ERROR THROWN In this example you can also see that we called getCostly yet we didn t store the result That s probably a mistake and a waste of resources Since C we shall use nodiscard to have a compile time warning in such situations and change getCostly as such nodiscard CostlyResult getCostly Now let s jump to our other main motivation to avoid multiple calls to the same functions Multiple calls are illogicalWhat can we do if it logically doesn t make sense to call a function more than once For sure caching is not needed we want to completely avoid multiple calls Then we have to ask ourselves a question Will the call to the constrained function be the very last call on the object If no Implement a flagIf the given function call is not the last one on the object we can take the idea of the counter from the previous sections and implement it strictly with a flag and of course with the nodiscard attribute in case it returns something Let s also have a runtime error in case we go against the rule we set include lt stdexcept gt class CostlyResult class MyClass public nodiscard CostlyResult getCostly if getCostly already called throw std runtime error MyClass getCostly can be called only once getCostly already called true return computeCostlyResult private CostlyResult computeCostlyResult bool getCostly already called false int main MyClass mc auto r mc getCostly r mc getCostly Destructive separation move away and callThis solution is borrowed by Matt Godbolt and his talk at C On Sea We can go this way if the function call should be the last one on the object After this call our object won t necessarily be in a usable shape The first thing to do is to add a nodiscard attribute if it has any return type so that people don t accidentally forget to save the results in a variable The other step is something more interesting and at the first sight even esoteric We have to add the amp amp qualifier to the function declaration something I wrote about here This means that the function can only be called if the object is temporaryis about to fall out of scopehas been moved fromIn other words the object is gone after the call Let s have a look at an example include lt iostream gt class CostlyResult class MyClass public nodiscard CostlyResult getCostly amp amp return private int main MyClass mc auto r mc getCostly The compiler says now that we are ignoring the amp amp qualifier We even got a compile time check so that it should be called only once main cpp In function int main main cpp error passing MyClass as this argument discards qualifiers fpermissive auto r mc getCostly main cpp note in call to CostlyResult MyClass getCostly amp amp nodiscard CostlyResult getCostly amp amp Not so fast The easiest way to get rid of the error message is to move away from mc auto r std move mc getCostly We can do the same thing again auto r std move mc getCostly auto r std move mc getCostly Of course you should not do this but it s possible and the compiler will not shout At least when you see the first line the std move should ring a bell that you shouldn t use that object anymore But nothing prevents you A better way would be to wrap the call in a function and have the call at the last statement CostlyResult getThatCostly MyClass mc return std move mc getCostly Note that in the video std move is not used in this case but with the compiler I use it doesn t work without the move Anyway it s the last line so for sure you re not going to reuse the object ConclusionIn this article we ve seen different solutions to prevent functions to be called more than once or at least to trigger their computations more than once Depending on the motivations there are different solutions such as caching throwing exceptions or using function overloads Do you have other solutions in mind Connect deeperIf you liked this article please hit on the like button subscribe to my newsletter and let s connect on Twitter |
2021-10-27 18:27:32 |
海外TECH |
DEV Community |
Check Out My Hubpages Profile |
https://dev.to/salehmubashar/check-out-my-hubpages-profile-klp
|
Check Out My Hubpages ProfileHi guysAlong with publishing here I also write articles at Hubpages I would really appreciate if you follow me there I will continue to post here too but many useful articles will be posted over there too This is my profileYou can signup using the below link SignUpThanks you soooo much Bye for now |
2021-10-27 18:26:57 |
海外TECH |
DEV Community |
Java Notes #3 |
https://dev.to/icncsx/java-notes-3-7ah
|
Java Notes NotesJava is a strongly typed language You must declare the type of a variable and variables must hold data of the correct type To declare a variable is to declare the type of the variable To assign is to assign a value to a variable Initialization is the assignment of a value to a variable at the time of declaration |
2021-10-27 18:19:33 |
海外TECH |
DEV Community |
Reusable Parallax Effect With CSS Variables |
https://dev.to/sarmunbustillo/reusable-parallax-effect-with-css-variables-79d
|
Reusable Parallax Effect With CSS VariablesCSS variables offers us a very neat way to share information between CSS and JavaScript The perk of connecting these two with CSS variables is that we can access them and modify them in CSS and in JS at any time I am using the parallax effect as an example but there are so many things this could be used for The parallax effect in a nutshell is where the background of a website scrolls at a slower pace than the whatever is on foreground Let s build a one but one that can be easily extended We will use this cards for our example Let s first take care of the CSS part card translate y px translate x px transform translate var translate x var translate y So we created two CSS variables for horizontal and vertical movement and we set them to our desired element Let s move on to JavaScript Creating the functionFor our function we will need some parameters the element the direction to be translated either horizontal or vertical the speed and if the value to be translated is a negative number parallax element direction speed negative gt The amount to be translated depends on how much the page has been scrolled We can access this amount in the window s pageYOffset but to make it look smoother and slower we need to reduce this amount a bit and here is where our speed comes into play It is also a good place to use our negative parameter and decide whether it is a negative number or not let translate window pageYOffset speed negative Then we only need to update our CSS variable to our desired direction and our computed amount element style setProperty translate direction translate px But what if we also want to use this function on more than one element at the same time parallax element direction speed negative gt let translate window pageYOffset speed negative if element length gt element forEach el gt el style setProperty translate direction translate px else element style setProperty translate direction translate px Lastly we only need to listen when the page gets scrolled and call our function const firstCard document querySelector cards parallax card const lastCard document querySelector cards parallax card last of type const cards document querySelectorAll cards parallax card window addEventListener scroll gt parallax firstCard y true parallax lastCard x false parallax cards x false The cool thing is that you could follow the same technique for many other properties like scale rotate opacity even colors and may more Here is a Demo |
2021-10-27 18:07:42 |
海外TECH |
DEV Community |
Build iOS apps from the command line using xcodebuild |
https://dev.to/daholino/build-ios-apps-from-the-command-line-using-xcodebuild-47i2
|
Build iOS apps from the command line using xcodebuildAt some point in your iOS development career you will want to automate app building and distribution when there are new changes on your version control system At the company I work for we did just that whenever a pull request is merged our CI CD system is notified and it starts to build and test the app with the newest changes The successful builds are then deployed to QAs and they are ready for manual testing and verification This can save you a lot of time in your development workflow In this article I will go through the process on how to create ipa file from your project that is ready for testing or distribution using only terminal ToolsYou will need to have Xcode Command Line Tools installed on the machine that will be building the app If you already have Xcode it is very likely that you have Xcode Command Line Tools installed Specifically we will be using the xcodebuild tool To see if you have it installed you can run xcodebuild helpIf you have Xcode and don t have this tool you can install it by running this in the terminal xcode select installOr you can download the command line tools from developer apple com BuildingBuilding iOS apps is a two step process First we compile and link the compiled code using archive step and then we export and sign that archive to create the ipa file Choosing what to buildOpen the terminal and navigate to the root of the folder of your project We need to know what will we build so let s see what options we have If you are using Xcode project xcodebuild list project lt project name gt xcodeproj or if you are using Xcode workspace xcodebuild list workspace lt project name gt xcworkspaceYou should get information about available targets build configurations and schemes Schemes contain data about which targets and configurations to use when building so remember what scheme you want to use CleanBefore building anything that will be distributed internally or externally I always like to perform clean operation You can do that via xcodebuild like this xcodebuild clean ArchiveThe first step in the actual building is to create an app archive It will compile your code and sign it with you development certificate This step is analogous to Archiving via Xcode Xcode generated archives can be accessed in Xcode s Organizer xcodebuild archive scheme lt scheme that you want to use gt sdk iphoneos allowProvisioningUpdates archivePath lt path and name for archive gt xcarchiveIn the example above I included the flag allowProvisioningUpdates and this will generate or modify provisioning profiles if you use Automatic signing This option is not very reliable and in most of my apps I ve downloaded and imported manually provisioning profiles or certificates to Keychain Documentation for allowProvisioningUpdates Allow xcodebuild to communicate with the Apple Developer website For automatically signed targets xcodebuild will create and update profiles app IDs and certificates For manually signed targets xcodebuild will download missing or updated provisioning profiles Requires a developer account to have been added in Xcode s Accounts preference pane or an App Store Connect authentication key to be specified via the authenticationKeyPath authenticationKeyID and authenticationKeyIssuerID parameters Because I am building for iOS I provided sdk iphoneos and if you want to see what other sdks are available or if you want to build your app for another platform you can use xcodebuild showsdks ExportIn export step we need to decide how are we gonna distribute the ipa file that we will generate and we need to sign it with distribution certificate If you already archived and exported the app from your computer using Xcode you have the distribution certificate in Keychain and you will be able to complete this step If you don t have the distribution certificate you can generate a new one or you can export existing one from your development computer and import it into the computer that will be doing the export step We can run the export operation with the command below xcodebuild exportArchive archivePath lt path and name for archive from the previous step gt xcarchive exportOptionsPlist exportOptions plist exportPath lt path where ipa file will be saved gt The export options plist file plays an important role in this step It is an xml formatted file that contains all the necessary information for xcodebuild so that the ipa file can be generated Export optionsIf you don t know how to generate your export options plist file you can see how Xcode does it for your app For example archive the app inside Xcode and then proceed with exporting it from the Xcode Organizer Choose Ad Hoc distribution and export it wherever you like Navigate to the folder where your app ipa file was exported and in it you will find the ExportOptions plist file that Xcode internally generated This could be a great starting point for manually building your apps because we can use that file for builds from command line This is how the export options file looked for one of my apps lt xml version encoding UTF gt lt DOCTYPE plist PUBLIC Apple DTD PLIST EN gt lt plist version gt lt dict gt lt key gt compileBitcode lt key gt lt true gt lt key gt destination lt key gt lt string gt export lt string gt lt key gt method lt key gt lt string gt ad hoc lt string gt lt key gt signingStyle lt key gt lt string gt automatic lt string gt lt key gt stripSwiftSymbols lt key gt lt true gt lt key gt teamID lt key gt lt string gt YOUR TEAM ID lt string gt lt key gt thinning lt key gt lt string gt amp lt none amp gt lt string gt lt If you need to provide provisioning profiles you can do it like this gt lt key gt provisioningProfiles lt key gt lt dict gt lt key gt APP IDENTIFIER lt key gt lt string gt Ad Hoc Distribution lt string gt lt dict gt lt I didn t need to provide provisioning profiles for this app because its signing style is set to automatic gt lt dict gt lt plist gt There are a lot of more options which you can find by running xcodebuild help Export methodDocumentation for export method from xcodebuild Describes how Xcode should export the archive Available options app store validation ad hoc package enterprise development developer id and mac application The list of options varies based on the type of archive Defaults to development Mostly used ones for iOS are app store Generates an ipa signed with your distribution certificate that is ready for production or deploying to TestFlight ad hoc Generates an ipa signed with Ad Hoc distribution certificate which will enable users that have their device identifiers registered in your Developer portal to install the app enterprise Generates an ipa signed with your Enterprise Distribution certificate which will enable you to distribute the app in your organisation For this option you need to have Enterprise Apple developer account development Generates an ipa signed with your Development certificate which will enable your account members to install and use the app At the company I work for we use Ad Hoc export method for distributing apps to our QAs and we use enterprise export method for sending custom builds with debug options so that we can resolve tricky issues Building with different versions of XcodeIn some cases we need to build apps with different version of Xcode This might happen when a new Xcode with new iOS version and SDK is announced but there are some breaking changes that will take some time to fix To build the app with an older Xcode version we need to change what Xcode our command line tool uses To see the current Xcode path we can enter this command xcode select pTo change the path to custom version of Xcode we can enter this command xcode select switch lt path gt where lt path gt is the path to Xcode app package If you want to verify that correct version is being used by command line tool you can use this command xcodebuild version Issues that can happenThere might be an error with unverified framework files and to fix this issue this command should be entered before the build process sudo spctl master disable Deploying and installingNow that you have the ipa file you can upload it to App Store for production and TestFlight or you can distribute it to your organization or QAs Uploading to App StoreYou can upload the generated ipa file to App Store from terminal or using the Transporter an app from Apple that is made for uploading builds Uploading from the command line can be done using xcrun altool To read more about it you can run man altool and get the manual for using it Example for uploading the app to the App Store using this tool coud look like this xcrun altool upload app type ios file lt path to your package ipa gt username lt user name gt password lt app specific password gt You need to provide the altool with username and app specific password The username is your Apple ID and app specific password can be generated in App Store Connect for this app to authorize it Installing to devicesThis procedure depends on the operating system that the person who wants to install the app is using The prerequisite for this step is to connect your iOS device to the computer macOS users can use Apple Configurator which is an app from Apple This is my preferred way of installing the apps via macOS Linux users can use ideviceinstaller which I tested and it worked great Windows users can use iMobileDevice builds for Windows I haven t tested this approach but after researching it a bit it seems to work good Distributing to your organisationIf you have the Enterprise Apple Developer account the best way to distribute the apps is by using the manifest file that Xcode can generate for you when you export the app via Xcode You can use that manifest file to host the ipa on some web server and allow the users of your organisation OTA updates Manifest can also be generated when you use xcodebuild This is what the documentation says manifest DictionaryFor non App Store exports users can download your app over the web by opening your distribution manifest file in a web browser To generate a distribution manifest the value of this key should be a dictionary with three sub keys appURL displayImageURL fullSizeImageURL The additional sub key assetPackManifestURL is required when using on demand resources This is a really great way to ease the app installation for enterprise users ConclusionAlthough you might never need to build your apps manually from the command line because there are great tools like fastlane and bitrise it will be very beneficial to understand what happens under the hood When things go wrong you will have the knowledge to fix the issues that happen by automating app building By knowing this you can even create your own CI CD tool Add a git hook to run tests and builds for your app in a script that contains the contents of this post expose the generated ipa file via some web server and you have a great in house solution I hope that this article has helped you to understand how the build process for iOS apps work If I forgot to add something or made a mistake somewhere please let me know in the comments |
2021-10-27 18:06:46 |
Apple |
AppleInsider - Frontpage News |
Compared: New AirPods versus AirPods Pro |
https://appleinsider.com/articles/21/10/20/compared-new-airpods-versus-airpods-pro?utm_medium=rss
|
Compared New AirPods versus AirPods ProApple has launched a new generation of AirPods that borrow both the design and features of the AirPods Pro But how do the third generation AirPods compare to their Pro counterparts Credit AppleThe third generation AirPods released during Apple s Oct Unleashed event bring a slate of changes to the widely popular earphone lineup However they re still missing a couple of important features that can be found on the AirPods Pro Read more |
2021-10-27 18:31:59 |
Apple |
AppleInsider - Frontpage News |
'Pokemon Go' developer Niantic releases 'Pikmin Bloom' AR game on iOS |
https://appleinsider.com/articles/21/10/27/pokemon-go-developer-niantic-releases-pikmin-bloom-ar-game-on-ios?utm_medium=rss
|
x Pokemon Go x developer Niantic releases x Pikmin Bloom x AR game on iOS Pikmin Bloom a long anticipated augmented reality game created by Niantic and Nintendo has officially launched on iOS Credit NianticThe new AR title marks the second partnership between Nintendo and Niantic following Pokemon Go That game of course reached viral success and has made more than billion in the five years since launch Read more |
2021-10-27 18:23:29 |
Apple |
AppleInsider - Frontpage News |
Apple seeds first developer betas of iOS 15.2, iPadOS 15.2, watchOS 8.3 |
https://appleinsider.com/articles/21/10/27/apple-seeds-first-developer-betas-of-ios-152-ipados-152-watchos-83?utm_medium=rss
|
Apple seeds first developer betas of iOS iPadOS watchOS Apple has restarted the beta process again for its operating systems with new first round betas of iOS iPadOS and watchOS now available for testing by developers The newest builds can be downloaded via the Apple Developer Center for those enrolled in the test program or via an over the air update on devices running the beta software Public betas typically arrive within a few days of the developer versions via the Apple Beta Software Program website The fresh first round builds follow after Apple s release to the public of iOS iPadOS tvOS and watchOS on October The release occurred after four beta rounds and a release candidate was issued for each Read more |
2021-10-27 18:34:34 |
海外TECH |
Engadget |
Olympus cameras will be rebranded as OM System |
https://www.engadget.com/olympus-cameras-rebrand-om-system-184727433.html?src=rss
|
Olympus cameras will be rebranded as OM SystemOlympus cameras are getting a new name Parent company OM Digital has chosen OM System as the brand s new moniker There are still some Olympus cameras on the market and those won t be rebranded so the two names will co exist for a while But eventually the old name will fade away as OM System introduces new models and phases out the current ones In addition to cameras and lenses OM System plans to sell audio products binoculars and other services It s currently developing a Micro Four Thirds based interchangeable lens camera OM Digital plans to make more compact and lightweight systems using that standard while quot accelerating the improvement of image quality and photographic expression through the use of computational photographic technology quot according to a press release Olympus finalized the sale of its imaging division to Japan Industrial Partners JIP at the start of the year JIP swiftly spun out OM Digital Solutions as a separate company to oversee Olympus now OM System cameras |
2021-10-27 18:47:27 |
海外TECH |
Engadget |
Adobe's Project Morpheus uses AI to automate frame-by-frame video edits |
https://www.engadget.com/adobe-max-sneaks-project-morpheus-183702995.html?src=rss
|
Adobe x s Project Morpheus uses AI to automate frame by frame video editsSomething Adobe does at nearly every one of its annual design conferences is preview experimental features that may one day make their way to its apps In it was a tool called Sharp Shots This year it was Project In Between and a feature called Project Morpheus Building on the Neural Filters Adobe debuted last year Project Morpheus is capable of automating frame by frame video edits in a way that produces consistent results In the demo the company showed off one of its employees modified a video of themselves where they had a neutral expression throughout to put a smile on their face They did it in mere moments with Adobe s Sensei AI most of the heavy lifting You only need to see the demo once to understand the potential for misuse something Adobe told Engadget it s taking into account nbsp “As with all Adobe Max Sneaks Project Morpheus is a way in which we preview exploratory and forward looking technologies from our research labs and engineering teams These proof of concept ideas aren t always destined for inclusion in products a spokesperson for the company said “We recognize that we have to balance innovation with our responsibility to ensure our technology is being used for the good of our customers and society Our development of AI is guided by the principles of Accountability Responsibility and Transparency Additionally the company pointed to its work on the Content Authenticity Initiative First announced in the project has seen Adobe work with The New York Times and Twitter to develop a metadata tagging system designed to limit the number of altered images and videos that circulate online At Max it also started beta testing Content Credentials It allows professionals including photojournalists and artists to attach attribution data to their images that detail the edit history of a file |
2021-10-27 18:37:02 |
海外TECH |
Engadget |
'Call of Duty: Vanguard' install size maxes out at 93GB on consoles, thankfully |
https://www.engadget.com/call-duty-vanguard-install-size-consoles-180936454.html?src=rss
|
x Call of Duty Vanguard x install size maxes out at GB on consoles thankfullyCall of Duty Vanguard nbsp won t eat up as much console disk space as previous games in the series but you still might need to delete some downloads to make room for all this WWII frenzy Here s how much space you ll need on each console to install Vanguard at launch including the pre load Xbox One GBXbox Series X S GBPS GB GB download PS GB GB download This marks a significant decrease from last year s Call of Duty installment Black Ops Cold War which hit GB of required space on PS and GB on PC with similar numbers on other platforms Meanwhile s Modern Warfare launched at GB and grew with updates while Warzone added an additional GB GB or GB GB on its own Activision rolled out a big update in March to reduce the footprint of Modern Warfare and Warzone and Call of Duty developers have long been aware that file sizes are an issue for many players quot Good news for hard drives everywhere quot the Call of Duty blog reads quot Due to new on demand texture streaming tech Vanguard s install nbsp size at launch will be significantly below that of previous Call of Duty releases ーup to of a file size difference on next gen console and PC quot Activision has yet to release details on the size of the PC install for Vanguard but pre loading on PC begins November nd Pre loading for PS and PS versions of the game begins on October th at PM PT in North and South America and midnight local time on October th in other countries Xbox One and Series X S pre loading starts at the same time across the board October th at PM PT Anyone who pre ordered the game digitally can pre load it so it s ready to rock at launch on November th |
2021-10-27 18:09:36 |
Cisco |
Cisco Blog |
Keep Up with New Meraki APIs, Monthly |
https://blogs.cisco.com/developer/newmerakiapis01
|
Keep Up with New Meraki APIs MonthlyThis month s Dashboard API Version release highlights the ability to claim a vMX into a network new ping and ping device features and as previously announced a new way to take advantage of webhooks |
2021-10-27 18:18:53 |
海外TECH |
CodeProject Latest Articles |
News Track - News Aggregator |
https://www.codeproject.com/Articles/5299293/News-Track-News-Aggregator
|
certain |
2021-10-27 18:56:00 |
海外TECH |
CodeProject Latest Articles |
Configure Named Pipe and TCP/IP Settings of SQL Server |
https://www.codeproject.com/Articles/5316128/Configure-Named-Pipe-and-TCP-IP-Settings-of-SQL-Se
|
server |
2021-10-27 18:22:00 |
海外科学 |
NYT > Science |
Merck Will Share Formula for its Covid Pill With Poor Countries |
https://www.nytimes.com/2021/10/27/health/covid-pill-access-molnupiravir.html
|
molnupiravir |
2021-10-27 18:56:54 |
海外TECH |
WIRED |
A Strange Radio Signal Was Just From Earth, Not Aliens |
https://www.wired.com/story/a-strange-radio-signal-was-just-from-earth-not-aliens
|
A Strange Radio Signal Was Just From Earth Not AliensAstronomers with the Breakthrough Listen project scan the sky for signs of extraterrestrial life but a promising lead turned out to be a false alarm |
2021-10-27 18:39:38 |
ニュース |
BBC News - Home |
Alec Baldwin Rust shooting: Actor fired live round, police say |
https://www.bbc.co.uk/news/world-us-canada-59068976?at_medium=RSS&at_campaign=KARANGA
|
mexico |
2021-10-27 18:56:22 |
ニュース |
BBC News - Home |
Metropolitan Police officer appears in court on rape charge |
https://www.bbc.co.uk/news/uk-england-london-59050083?at_medium=RSS&at_campaign=KARANGA
|
zaman |
2021-10-27 18:04:22 |
ニュース |
BBC News - Home |
Cumbria weather: Flooding warnings in place as heavy rain hits county |
https://www.bbc.co.uk/news/uk-england-cumbria-59066324?at_medium=RSS&at_campaign=KARANGA
|
areas |
2021-10-27 18:09:06 |
ニュース |
BBC News - Home |
Benin Bronzes: 'My great-grandfather sculpted the looted treasures' |
https://www.bbc.co.uk/news/world-africa-59065274?at_medium=RSS&at_campaign=KARANGA
|
cockerel |
2021-10-27 18:08:19 |
ニュース |
BBC News - Home |
Murray's unbeaten run in Vienna ends at hands of Alcaraz |
https://www.bbc.co.uk/sport/tennis/59064423?at_medium=RSS&at_campaign=KARANGA
|
Murray x s unbeaten run in Vienna ends at hands of AlcarazBritain s Andy Murray loses for the first time in his career at the Vienna Open after a straight set defeat by Spanish teenager Carlos Alcaraz |
2021-10-27 18:40:43 |
ニュース |
BBC News - Home |
Namibia edge home in final over against Scotland |
https://www.bbc.co.uk/sport/cricket/59067305?at_medium=RSS&at_campaign=KARANGA
|
world |
2021-10-27 18:03:45 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
インフレ時代、バリュー株が輝くとき - WSJ PickUp |
https://diamond.jp/articles/-/285903
|
wsjpickup |
2021-10-28 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
長期投資トレンド「ミレニアル世代台頭」で評価される業種は? - マーケットフォーカス |
https://diamond.jp/articles/-/285815
|
長期投資トレンド「ミレニアル世代台頭」で評価される業種はマーケットフォーカス日本は全体として所得格差の小さな国だが、格差問題がないわけではない。 |
2021-10-28 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
3Dプリント住宅は米住宅不足の救世主? - WSJ PickUp |
https://diamond.jp/articles/-/285904
|
最大規模 |
2021-10-28 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
TikTokやユーチューブ、子供への影響懸念に反論 米公聴会 - WSJ PickUp |
https://diamond.jp/articles/-/285905
|
tiktok |
2021-10-28 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
アロマ後進国ニッポン、コロナ禍で販売絶好調でも喜べない理由 - News&Analysis |
https://diamond.jp/articles/-/284987
|
newsampampanalysis |
2021-10-28 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ひろゆきが教える「自分をすり減らさずに上手に生きる方法」ベスト1 - 1%の努力 |
https://diamond.jp/articles/-/285152
|
youtube |
2021-10-28 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「他人から認められたい」という 承認欲求が強い人には気をつけて! - 精神科医Tomyが教える 1秒で悩みが吹き飛ぶ言葉 |
https://diamond.jp/articles/-/283355
|
「他人から認められたい」という承認欲求が強い人には気をつけて精神科医Tomyが教える秒で悩みが吹き飛ぶ言葉シリーズ万部突破『精神科医Tomyが教える秒で悩みが吹き飛ぶ言葉』の著者・精神科医Tomy先生が、voicy「精神科医Tomyきょうのひとこと」で元気が湧き出る言葉を音声配信。 |
2021-10-28 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
今すぐ捨てるべき「即レス=仕事ができる」という呪縛 - だから、この本。 |
https://diamond.jp/articles/-/285640
|
今すぐ捨てるべき「即レス仕事ができる」という呪縛だから、この本。 |
2021-10-28 03:05:00 |
コメント
コメントを投稿