投稿時間:2022-02-17 21:36:27 RSSフィード2022-02-17 21:00 分まとめ(42件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese 『No Man's Sky』アップデート「Sentinel」到着。AIロボットを護衛につけるなど大量の追加要素 https://japanese.engadget.com/no-mans-sky-sentiner-update-110739121.html sentinel 2022-02-17 11:07:39
IT ITmedia 総合記事一覧 [ITmedia PC USER] ヤマダデンキとAmazonが作るスマートテレビのある日常――「FUNAI Fire TVスマートテレビ」誕生の理由 https://www.itmedia.co.jp/pcuser/articles/2202/17/news170.html amazon 2022-02-17 20:45:00
IT ITmedia 総合記事一覧 [ITmedia News] 1.6万円で商用利用も可 AI読み上げソフト「VOICEPEAK」登場 7音源付属、Win・Mac・Linuxに対応 https://www.itmedia.co.jp/news/articles/2202/17/news169.html linux 2022-02-17 20:20:00
python Pythonタグが付けられた新着投稿 - Qiita SQLModelとは https://qiita.com/AI_Academy/items/3f971088568cea2bb7b6 SQLModelとはSQLModelとはSQLModelとは、PythonからSQLを操作するためのライブラリです。 2022-02-17 20:15:02
js JavaScriptタグが付けられた新着投稿 - Qiita 連想配列の比較 https://qiita.com/Qeiita/items/06cc6caabb4c60878949 aabconstbabconsolelogab 2022-02-17 20:53:27
js JavaScriptタグが付けられた新着投稿 - Qiita Susan Donovan https://qiita.com/susandonovan/items/373b5a9cb15e845566c4 donovan 2022-02-17 20:09:57
Ruby Rubyタグが付けられた新着投稿 - Qiita Susan Donovan https://qiita.com/susandonovan/items/373b5a9cb15e845566c4 donovan 2022-02-17 20:09:57
AWS AWSタグが付けられた新着投稿 - Qiita アイデンティティベースポリシー について https://qiita.com/miyuki_samitani/items/e9aca2e982ac6eb1e3c3 アイデンティティベースポリシーについて勉強前イメージ人観点でのIAM調査アイデンティティベースポリシー誰がどのリソースに対してどんなアクションを実行できるかを指定できます。 2022-02-17 20:02:39
Docker dockerタグが付けられた新着投稿 - Qiita dcase install error https://qiita.com/kaizen_nagoya/items/a91326c65b909096b606 dcaseinstallerrorcstmatsulabdcasecombashdockerrunitubuntubinbashbashaptupdateaptyupgradeaptinstallynginxphpfpmcomposerpostfixphpdevphppearpythonpythonpippythondevmongodbphpmongodbsupervisorgitphpmbstringmecablibmecabdevmecabipadicutfPleaseselectthemailserverconfigurationtypethatbestmeetsyourneedsNoconfigurationShouldbechosentoleavethecurrentconfigurationunchangedInternetsiteMailissentandreceiveddirectlyusingSMTPInternetwithsmarthostMailisreceiveddirectlyusingSMTPorbyrunningautilitysuchasfetchmailOutgoingmailissentusingasmarthostSatellitesystemAllmailissenttoanothermachinecalledasmarthostfordeliveryLocalonlyTheonlydeliveredmailisthemailforlocalusersThereisnonetworkNoconfigurationInternetSiteInternetwithsmarthostSatellitesystemLocalonlyGeneraltypeofmailconfigurationThemailnameisthedomainnameusedtoqualifyALLmailaddresseswithoutadomainnameThisincludesmailtoandfromltrootgtpleasedonotmakeyourmachinesendoutmailfromrootexampleorgunlessrootexampleorghastoldyoutoThisnamewillalsobeusedbyotherprogramsItshouldbethesinglefullyqualifieddomainnameFQDNThusifamailaddressonthelocalhostisfooexampleorgthecorrectvalueforthisoptionwouldbeexampleorgSystemmailnamePleaseselectthegeographicareainwhichyouliveSubsequentconfigurationquestionswillnarrowthisdownbypresentingalistofcitiesrepresentingthetimezonesinwhichtheyarelocatedAfricaAmericaAntarcticaAustraliaArcticAsiaAtlanticEuropeIndianPacificSystemVUSEtcGeographicareaPleaseselectthecityorregioncorrespondingtoyourtimezoneAdenBakuDamascusHongKongKashgarMakassarPyongyangSingaporeUjungPandangAlmatyBangkokDhakaHovdKathmanduManilaQatarSrednekolymskUlaanbaatarAmmanBarnaulDiliIrkutskKhandygaMuscatQostanayTaipeiUrumqiAnadyrBeirutDubaiIstanbulKolkataNicosiaQyzylordaTashkentUstNeraAqtauBishkekDushanbeJakartaKrasnoyarskNovokuznetskRangoonTbilisiVientianeAqtobeBruneiFamagustaJayapuraKualaLumpurNovosibirskRiyadhTehranVladivostokAshgabatChitaGazaJerusalemKuchingOmskSakhalinTelAvivYakutskAtyrauChoibalsanHarbinKabulKuwaitOralSamarkandThimphuYangonBaghdadChongqingHebronKamchatkaMacauPhnomPenhSeoulTokyoYekaterinburgBahrainColomboHoChiMinhKarachiMagadanPontianakShanghaiTomskYerevanTimezonepipinstallUpipsetuptoolsamphashrpipCollectingpipDownloadingpippynoneanywhlMB████████████████████████████████MBMBsCollectingsetuptoolsDownloadingsetuptoolspynoneanywhlMB████████████████████████████████MBMBsInstallingcollectedpackagespipsetuptoolsAttemptinguninstallpipFoundexistinginstallationpipNotuninstallingpipatusrlibpythondistpackagesoutsideenvironmentusrCantuninstallpipNofileswerefoundtouninstallAttemptinguninstallsetuptoolsFoundexistinginstallationsetuptoolsNotuninstallingsetuptoolsatusrlibpythondistpackagesoutsideenvironmentusrCantuninstallsetuptoolsNofileswerefoundtouninstallSuccessfullyinstalledpipsetuptoolspipinstallUpipsetuptoolsamphashrpiprootbfaddRequirementalreadysatisfiedpipinusrlocallibpythondistpackagesRequirementalreadysatisfiedsetuptoolsinusrlocallibpythondistpackagesWARNINGRunningpipastherootusercanresultinbrokenpermissionsandconflictingbehaviourwiththesystempackagemanagerItisrecommendedtouseavirtualenvironmentinsteadpipinstallUwebsocketserverCollectingwebsocketserverDownloadingwebsocketserverpynoneanywhlkBInstallingcollectedpackageswebsocketserverSuccessfullyinstalledwebsocketserverWARNINGRunningpipastherootusercanresultinbrokenpermissionsandconflictingbehaviourwiththesystempackagemanagerItisrecommendedtouseavirtualenvironmentinsteadmkdirpvarrunmongodbmkdirpvarwwwhtmldcasecprfhtmlvarwwwhtmldcasecpcannotstathtmlNosuchfileordirectorycdvarwwwcprfhtmlvarwwwhtmldcasecpdockermecabinietcphpmodsavailablemecabinicpcannotstatdockermecabiniNosuchfileordirectory今ここ。 2022-02-17 20:59:56
Docker dockerタグが付けられた新着投稿 - Qiita dockerでよく使うものを書いておく https://qiita.com/sora8han/items/d3cd3455c289a16db9c2 ctrlddocker 2022-02-17 20:45:15
golang Goタグが付けられた新着投稿 - Qiita # 【Go】無名関数について理解したこと https://qiita.com/endo-yuki/items/f9f30ff390b2390492ec ここでは関数外で変数宣言したxのスコープを広めて値を保持しています。 2022-02-17 20:15:02
Git Gitタグが付けられた新着投稿 - Qiita bareリポジトリをnon-bareリポジトリに変える https://qiita.com/gumwasher/items/024fab2dc86f667e7f91 bareリポジトリをnonbareリポジトリに変えるやったことgitclonebareltURL等gtfoogitfoogitというディレクトリが手に入るmvfoogitgitgitconfigcorebarefalseレポジトリのディレクトリ名をgitにして、configでnonbareにするだけです。 2022-02-17 20:30:50
海外TECH MakeUseOf The 6 Best Projectors for Home Theaters https://www.makeuseof.com/tag/best-projectors-smartphone-tablet-laptop/ entertainment 2022-02-17 11:46:25
海外TECH MakeUseOf How to Like Someone's Instagram Story Without Sending a DM https://www.makeuseof.com/like-instagram-story-without-dm/ How to Like Someone x s Instagram Story Without Sending a DMYou can now like your friends Instagram Stories without opening a direct message with them Learn how to privately like an Instagram Story 2022-02-17 11:36:52
海外TECH MakeUseOf 5 Tools to Take an Auto-Guided Google Street View Tour https://www.makeuseof.com/tag/5-tools-to-take-an-auto-guided-google-street-view-tour/ Tools to Take an Auto Guided Google Street View TourGoogle Maps is a great travel guide Now you can even set Street View on auto pilot and let it take you on the world s most scenic drives Here are tools that make this possible 2022-02-17 11:31:12
海外TECH MakeUseOf Better Microsoft Teams Performance, Material You Themes for Android 12, and Why Google Is Killing YouTube Originals https://www.makeuseof.com/better-microsoft-teams-material-you-themes-why-google-killing-youtube-originals/ Better Microsoft Teams Performance Material You Themes for Android and Why Google Is Killing YouTube OriginalsMIcrosoft Teams has been improved but how does this affect you Why is Google killing YouTube Originals and can you get a new theme for Android 2022-02-17 11:31:11
海外TECH MakeUseOf The 7 Best Truly Free Antivirus Software for Mac https://www.makeuseof.com/tag/best-totally-free-antivirus-for-mac/ abound 2022-02-17 11:15:11
海外TECH MakeUseOf How to See Your Most Played Songs on Apple Music in 2022 https://www.makeuseof.com/view-your-most-played-apple-music-songs/ apple 2022-02-17 11:04:45
海外TECH DEV Community A complete guide to Flutter architecture https://dev.to/mixxerly/a-complete-guide-to-flutter-architecture-4hj0 A complete guide to Flutter architectureFlutter is a UI toolkit from Google that allows users to build natively compiled applications for the web desktop and mobile devices It is also embedded from one single codebase meaning that while Flutter embraces different platforms it still originates from a single codebase And because it s a UI toolkit it uses UI parts to give users the ability to create UIs without needing to create them in a particular way when structuring applications Flutter builds UIs as code In this article we ll take a look at Flutter architecture and what it is comprised of One of the benefits of learning the Flutter architecture is that it helps when structuring an application like updating state building widgets or screens or making an app easy to maintain Knowing the Flutter architecture lets us get familiar with these core concepts that build up the architecture and aid in quick compilation and the code modification process READ MORE 2022-02-17 11:42:27
海外TECH DEV Community Creating a Vehicle OOPs way https://dev.to/ayushtucknat/creating-a-vehicle-oops-way-b0n Creating a Vehicle OOPs wayWhile interviewing entry level developer s to test their understanding of OOPs concept more often than anything I ask them to design a Real life object in code viz a vehicle I see a lot of candidates making wrong choices when designing such simple and abstract concepts Through this article I ll try to share my understanding of how these objects can be designed Object oriented design is different than object oriented programming The most common trouble I see people have is what should be defined as an interface a class or an abstract class To find the right answer one should approach this problem from a different angle For the given case of a vehicle First think what classifies as a vehicle and the possible objects coming to mind are A carA busand maybe a Scooter or MotorcycleNow keeping these images in mind try to think about what makes you recognise a car as a car and distinguish it from other objects What helps you identify a car uniquely You may imagine things like Shape wheels steering wheel engine colour of the car license plate and many other things Now once you have visualised a vehicle type a solid structure a specific car and its behaviour like opening the door to allow passengers in the car it can be driven around you have almost solved the problem Now the rule of thumb I apply here is segregating the information into two parts Attributes and behavior eg Colour of the car is an attribute also all the vehicles auth to have a colour A car s capability of getting driven is a behaviour And now we break things into classes abstract classes and interfaces Another important lesson here is Interfaces should be used to define behaviourCheck Java for example It has interfaces like Callable Cloneable Comparable Formattable Iterable Runnable Serializable and Transferable all of these popular interfaces define behaviour and not data Use abstract classes to define carry AttributesThe good example would be Colour of your vehicle It s a common attribute among all the vehicles Create Classes for specific details and rules A car will have doors and a bike will not have doors So adding door related information to the Vehicle would not make any sense Please keep in mind you may find multiple levels of abstractions in your design like almost all drivable are likely to have doors and box like structures while almost none of the ridable vehicles So based on the scenarios and needs of the system you may need to define multiple levels of abstraction But the most important thing to remember here is not to merge the drivable interface with such attributes which maybe be common among all drivable objects And now is the time for an example for the sake of simplicity I ve chosen very few attributes and behaviour here abstract class Vehicle protected String colorHex protected int capacity protected String licenseNumber class Car extends Vehicle implements Drivable private int door public Car String colorHex int capacity String licenseNumber int door this colorHex colorHex this capacity capacity this licenseNumber licenseNumber this door door Override public void drive Some logic to drive the car public class Sample public static void main String args the requirement is to drive from a point A to B so we are using the drivable reference of the object Drivable car new Car IND Well I like black cars P car drive Happy Coding 2022-02-17 11:41:08
海外TECH DEV Community fdfd https://dev.to/vitalij/fdfd-4p8p fdfd Bean public FilterRegistrationBean httpFilter FilterRegistrationBean registrationBean new FilterRegistrationBean registrationBean setFilter new HttpFilter registrationBean addUrlPatterns threadLocal return registrationBean Bean public FilterRegistrationBean httpFilter FilterRegistrationBean registrationBean new FilterRegistrationBean registrationBean setFilter new HttpFilter registrationBean addUrlPatterns threadLocal return registrationBean 2022-02-17 11:39:58
海外TECH DEV Community SAML vs OAuth vs OIDC https://dev.to/mixxerly/saml-vs-oauth-vs-oidc-2k5f SAML vs OAuth vs OIDCWhat is the right Authentication Protocol for your Business Case Which authentication protocol would you choose In this video Ubisecure s IAM experts go through the business cases of SAML OAuth and OIDC OpenID Connect This webinar takes you through appropriate use cases for each protocol 2022-02-17 11:35:51
海外TECH DEV Community What is SAML? | How does Microsoft Azure AD SAML work? | SAML vs OAuth https://dev.to/mixxerly/what-is-saml-how-does-microsoft-azure-ad-saml-work-saml-vs-oauth-1ooo What is SAML How does Microsoft Azure AD SAML work SAML vs OAuthIf you have ever interacted with Azure AD then you have definitely interacted with the process of SAML authentication If you ve ever wanted to know What is SAML and How does it work then this video tutorial is definitely for you 2022-02-17 11:34:56
海外TECH DEV Community Watch Crypto expert explain the Blockchain to Congress https://dev.to/mixxerly/watch-crypto-expert-explain-the-blockchain-to-congress-14jp Watch Crypto expert explain the Blockchain to CongressWatch Crypto expert explain the Blockchain to Congress At a congressional hearing on crytpocurrency Bitfury CEO Brian Brooks explains the blockchain and how it plays an integral role in Web 2022-02-17 11:33:40
海外TECH DEV Community Smart contracts - Simply Explained https://dev.to/mixxerly/smart-contracts-simply-explained-227a english 2022-02-17 11:30:45
海外TECH DEV Community 4 non-coding tips on how to improve coding skills https://dev.to/profilsoftware/4-non-coding-tips-on-how-to-improve-coding-skills-5gm8 non coding tips on how to improve coding skills“What do you do in your job Simple question but usually the answer is not that simple We write code but is the knowledge of your languages of choice the only thing that you should learn Are there other things that you can learn and utilize to make you work faster and enjoy your job more I admit this article will be a bit of a fluff piece I wanted to list and take note of some very simple things we do in our work all the time but rarely think about improving Touch typingThere are some skills that are very basic building blocks of a profession Chefs cook but there are very few recipes that will not include cutting something Because of that most chefs are masters at using a knife Builders will construct complex things but to do that they must be proficient at using a simple hammer Similarly even the most complex application is represented in code therefore programmers type A lot Code is written then refactored then refactored some more Similarly to chefs we should be masters of the keyboard In our current day and age people use keyboards from a very early age and most can use them relatively well But to use something and be efficient at it is a different thing There are multiple typing techniques A common and ineffective one is “hunt and peck where a person looks at the keyboard to find and press the right button There is also a hybrid technique where a person has the layout of the keyboard memorized so there is no need to look at it but still uses just a few fingers This is a very fast technique once a person finds his style but the problem is that your hand is moving while doing it and this can lead to some painful problems like carpal tunnel syndrome The most effective technique is touch typing It is the skill of inputting characters without looking at the keyboard and also by using all your fingers With a lot of practice it allows for ridiculously fast typing with a minimal error rate Also at least for me it makes typing fun So if you are going to spend your life typing why not have some fun doing it There are multiple resources on the internet that will help you practice this vital skill I can personally recommend this tool for practice Just make sure that you know and understand the correct way of typing because getting rid of bad habits can be very hard GooglingYes googling Every programmer s bread and butter I can t even imagine how annoying it would be if we had no way to quickly find documentation of the library we are using or even worse ーthe solution to the same problem we re having that has been discussed and answered some time ago by someone much smarter Being forced to use books that are usually outdated shortly after publishing or even more bizarrely ーasking questions in mailing lists is unthinkable The internet is the source of knowledge for every programmer and finding stuff you need is usually just a matter of entering the phrase into the search box Search engine algorithms are currently so good that usually you don t even need to be very specific in order to get the answer you are looking for Google however also provides you with some tools to refine your query Let s be honest when you search for the solution to a problem you expect that someone has had this problem before and asked about it on Stack Overflow So if you know where you want to find your answer why don t you tell that to Google up front To do that just put site in front of the query like so “site stackoverflow com django In case you actually want to search for the movie called “Django the phrase “site imdb com django can help you Want to find something with a weird name without Google showing you the results of something it thinks you need Just place it in quotes to look for exactly that Does Google keep showing you results with a phrase that you already know is not related to your problem Using “ can exclude results with this phrase There are multiple such operators that will allow you tosearch for a number in given rangeuse ORexclude wordsand many more These are described on the Google Search Help site Using your IDEThere are some who are determined to be as close to nature as possible and refuse to use any “overly complicated software like Integrated Development Environments I for one cannot imagine working without an IDE It is a great help and makes working with code so much more pleasant However I must agree that it is complicated There are plenty of options that you most likely still don t know about even after working with the application for several years So why not find out about them People tend to just use what they know and only search for new things when they are strictly required for something An IDE does provide some solutions that may not be required but once you start using them you start to understand their usefulness One such thing is shortcuts You don t need them You can do just fine without them But you really should learn to use them You are going to do some things often when navigating a project ーquickly jumping to a file opening the terminal going to the next tab in the editor Doing such things once or twice doesn t take much time when using a mouse but it really stacks up in the long run Doing it with a keyboard is faster and the flow of your work feels so much better Other useful features that most IDEs provide are refactoring options and code generation Ever had this feeling after the refactor that the function name no longer clearly conveys what it actually does But you already used it in so many places that changing its name now would just not be worth it right That inevitably leads to ugly code But with a modern IDE that should never be a problem It can track usages and automatically change the names for you There are plenty of other features like column selection cursor duplication smart code completion intentions template generation debugging navigation code analysis and many more that are just waiting for you to discover and use them I will provide just a short list for IDE I use ーPycharm These will also work for most of the JetBrains products Ctrl Alt M ーExtract Method This is great for splitting your code into small single purpose functions Makes your refactoring so much easier Shift F ーRename This is one of the most often used Sometimes the name is no longer correct and the difficulty related to changing it used to stop programmers from refactoring IDE can track all uses and refactor names everywhere F ーMove module member I often like to prototype in a single file Once classes are ready I use the move feature to split code into separate files Alt Shift Insert ーToggle column selection mode This is useful when you want to add change something in multiple lines Ctrl O ーOverride method When used inside the class you will be presented with the list of inherited methods Selecting one will quickly generate the code needed for overriding it Ctrl I ーImplement methods of an interface abstract class This saves you a ton of boilerplate typing There are much MUCH more of these and you can check them out in the documentation of your IDE I strongly encourage you to search for it next time you must do any refactoring in your code Most likely the function you need exists in some form Time managementIt is hard to focus on things It is even harder to prioritize them When you have a lot of things to do everything seems to be important enough to do them right away Doing everything at the same time is unfortunately not possible and you will end up completing nothing For time management there is no universal solution Every human is different and our brains work differently What you can do is try different methods and see what is the most effective Find the ones that are recommended the most often and try them Maybe you will click with the Pareto Analysis or maybe the Time Blocking method will be your thing Maybe something as simple as creating a daily TODO list or using a Pomodoro timer will be enough Maybe you need to mix and match some elements from different methods to create something that works best for you Your thoughts These are four things I thought about when I asked myself the question based on the title of this article Maybe you have some other ideas about non coding skills that we should all learn If so let me know in the comments below 2022-02-17 11:30:17
海外TECH DEV Community Build Audience with Mailchimp API for Free Using Laravel https://dev.to/moose_said/build-audience-with-mailchimp-api-for-free-using-laravel-n79 Build Audience with Mailchimp API for Free Using Laravel Hello everyone Mailchimp is one of the most popular all in one marketing platforms that helps you manage and talk to your clients customers and other interested parties There is no doubt that Newsletter is one of the most essential feature for any successful business As a web developer building your own blog or portfolio or building a project for another business you surely should consider including a Newsletter service Mailchimp is providing a free signup option with free account which is very useful for any business which just started to grow an audience They have other paid plans as well but if you re just starting the free plan should be more than enough for your You can read more about their plans from HERE Mailchimp s API is really one of the easiest APIs out there to deal with also the documentation is unbelievably simple and easy to understand which means that you don t have to be an expert to use it Today I m going to explain how to use Mailchimp s API in your Laravel projects as a Newsletter service Table of Content Create an account Generate API key Install Client Library for PHP Make your first API call Get list ID Add member to the list Make it dynamic Create an account Head to and sign up for free The sign up process is actually pretty simply and easy Generate API key After you re logged in to your account press on your name on the bottom left of the screen and choose Account then Extras then API Keys then click on generate key Install Client Library for PHP Open your terminal in your Laravel s root directory and hit the following command composer require mailchimp marketing This will install all the dependencies you need to start using Mailchimp API Make your first API call Copy and paste the below code in your resources routes web php file This will be a route to a testing endpoint called ping just to check if your API call is successful or not Route get ping function mailchimp new MailchimpMarketing ApiClient mailchimp gt setConfig apiKey gt config services mailchimp key server gt us response mailchimp gt ping gt get ddd response Replace config services mailchimp key with API key that Mailchimp provided to you Replace server gt us with server prefix To find the value for the server prefix log into your Mailchimp account and look at the URL in your browser You ll see something like the us part is the server prefix Note that your specific value may be different After this step if you hit that Your Web URL ping You should see everything chimpy returned in browser which means that all is great up to this point Get list ID Check your mailchimp account and see if you have an audience list created by default or not You will know this when you head to Dashboard and click Audience from the sidebar if you got You don t have an audience then click on create an audience and fill in the form to create your first audience list If you already have one then let s move on Replace the code we used earlier in resources routes web php with the below code considering to change apiKey and server with your own as explained above Route get ping function mailchimp new MailchimpMarketing ApiClient mailchimp gt setConfig apiKey gt config services mailchimp key server gt us response mailchimp gt lists gt getAllLists ddd response When you hit Because ddd in laravel is so awesome this will return array of lists which will include your list ID Add member to the list Now lets add our first member to the list Replace the code with the below code to manually add a member to the list Replace List id with your list ID Route get ping function mailchimp new MailchimpMarketing ApiClient mailchimp gt setConfig apiKey gt config services mailchimp key server gt us response mailchimp gt lists gt addListMember list id email address gt test test gmail com status gt subscribed ddd response After heading to Your Web URL ping in browser you should be able to see that contact added to the audience list on Mailchimp Make it dynamic Now you can create a form anywhere in your blade files and receive the user response in your code and send it to Mailchimp API A form to demonstrate lt form method POST action newsletter gt csrf lt div gt lt input id email name email type text placeholder Your email address gt lt div gt lt button type submit gt Subscribe lt button gt lt form gt resources routes web php Route get newsletter function mailchimp new MailchimpMarketing ApiClient mailchimp gt setConfig apiKey gt config services mailchimp key server gt us response mailchimp gt lists gt addListMember email address gt request email status gt subscribed return redirect Of course you can now make a controller and clean up your code and just like that You have a working Newsletter service on your Website Thank you for reading my article and I hope it was useful to you For more Laravel tips along with VueJS and Tailwind follow me ️ 2022-02-17 11:27:35
海外TECH DEV Community Expo 101: Building mobile apps in weeks, not years https://dev.to/mauro_codes/expo-101-building-mobile-apps-in-weeks-not-years-aj1 Expo Building mobile apps in weeks not yearsMobile app development used to be painful In this post I talk about how Expo changed that forever At the end of this post you ll get a solid understanding of the entire Expo ecosystem and you ll be able to create your first app add some features build it in the cloud and submit it for review in the stores A little bit of historyWorking on mobile was a painCode reusabilitySigning and certificatesiOS development a luxury for a fewSlow feedback loopHybrid app developmentWhat is Expo WorkflowsBare workflowManaged workflowExpo ecosystemExpo CLIExpo Dev ToolsExpo SnackExpo Application Services EAS Over the air updatesExpo SDKI m sold Where should I start Bootstrapping a new projectRunning your project on a real deviceMaking changes in real time with Expo GoAdding new functionality using the Expo SDKBuilding an app with Expo Application ServicesSubmitting your app to the storeConclusionsShameless plug A little bit of historyAt the beginning of time Mobile app development used to be quite complex It required you to learn how to use new tools and programming languages and deal with a whole new range of problems don t let me start on publishing and signing Documentation was scarce and I m being generous and if you got stuck with an issue your previous knowledge about web development was not instantly transferable In other words it was an entirely new world to discover and tame Working on mobile was a painThe development experience used to be awful Here are the main reasons that come to mind Code reusabilityBefore hybrid app development was a thing you needed to build two entirely different apps to support Android and iOS In other words zero code reusability and it was twice as challenging to maintain your app Signing and certificatesThe signing process was tedious and entirely different for each platform If you were unlucky enough to have to deal with certificates in iOS you would know it is a nightmare Furthermore certificates expire meaning that you had to manually keep an eye on them to prevent issues iOS development a luxury for a fewIf you wanted to build an iOS app you needed a mac before starting You could think this is not a big deal especially if you live in a developed country However here in Argentina the story is quite different I can tell you I didn t know anyone with a mac in my entire childhood Nowadays it s way more common to see developers using a mac but years ago it wasn t that common So iOS development was something restricted for those who could afford it Slow feedback loopWith modern web development we have instant feedback of our changes thanks to things like hot reload You make a change and you immediately know if you screw something or if your change introduced a new bug Moreover web apps are easy to test in different scenarios On native mobile development you had to recompile the entire app after each change and if you wanted to test your app on different devices you had to publish it through the Store at least in iOS As an alternative you could use emulators but it was slow as hell and sometimes it didn t reflect reality Hybrid app developmentFrameworks like Xamarin Ionic Apache Cordova and PhoneGap appeared in Xamarin was the first one React Native came later in It was a big thing and those new frameworks helped improve the development experience a lot Now you could reuse part of your previous knowledge as a web developer to work on mobile and in some cases you could build an entire app without dealing with native specific code at all Yet compiling and publishing still was a pain and you needed a mac for iOS In addition documentation was still poor and performance comparison between a native app and a hybrid app was always discussed As an evolution for hybrid frameworks Expo appeared a few years ago What is Expo Expo is a Framework that allows you to build a React Native project that runs natively on any platform or device What is fantastic about Expo is that it allows you to instantly run your app using Expo Go an app you can install on your Android or iOS device In other words you don t need to have a mac or to install anything on your PC besides Node In fact my primary workstation is running Linux and I ve been working with Expo for years without problems You have instant feedback thanks to Expo Go which includes hot reload and keeps track of your current screen state Expo is also an ecosystem that includes a set of tools and services that drastically improves your development experience by taking care of annoying things like building signing and publishing your apps WorkflowsWhen building an app with Expo you can use two different workflows Both provide a very different experience and cover two totally different requirements Bare workflowThis workflow is only recommended when you need absolute control over the native code of your app I can only recommend using it if you know you ll need to work with native packages not included in the Expo SDK or have a config plugin to work with Expo Keep in mind that by using this workflow you will need to handle all the complexity associated with the native code for each platform Managed workflowYou build your app only using JavaScript or Typescript You don t have to deal with native code at all Expo handles building signing and publishing using different tools and services like Expo CLI or Expo Application Services EAS This mode has its own limitations Only packages included in the Expo SDK or native packages that include a config plugin will work with this workflow This could sound like a huge roadblock but most packages work with this workflow nowadays Furthermore Expo has been working on new features like custom development clients and config plugins to allow developers to adapt more and more libraries so you can use them with Expo If you are starting to work on a new project today I highly recommend using the managed workflow The Expo team is using all their energy to improve this workflow every day and I ve been using it for almost two years now and I didn t find any significant limitations yet Expo ecosystem Expo CLIThe Expo CLI is the interface between you the developer and the Expo ecosystem You can use it for many different things but if I had to mention the most important ones I would say Bootstrap new projectsRun your expo project using Expo Go or Emulators Install new packages from the expo SDK More about this below Upgrade your project SDK version Build and sign your app Only managed workflow This service is known as the classic build service Send Over the air updates More about this below If you want to install the Expo CLI tool just run the following commandnpm install g expo cli Expo Dev ToolsExpo Dev Tools is a web browser based control panel included in Expo CLI With Expo Dev tools you can View logs from supporting services Metro and Webpack bundlers View logs from your deviceScan a QR Code from Expo Go to quickly launch your app Debug connectivityThis control panel will be opened every time you run the expo start command Expo SnackExpo Snack is an open source platform for running React Native apps in the browser It handles compilation and bundling for you and allows you to run your app with Expo Go or in a web simulator You can easily save a piece of code as a Snack and share it with others Here s an example of a Snack a created for this post Expo Application Services EAS Expo Application Services EAS is a set of cloud services that allows you to quickly build sign and publish your app in the stores I can t recommend it enough Since day one I ve been using this service when it was in beta and it has saved me hundreds of hours of pain It s divided into three different features EAS Build Compile and sign Android iOS apps with custom native code in the cloud Learn moreEAS Submit Upload your app to the Apple App Store or Google Play Store from the cloud with one CLI command Learn moreEAS Update preview Address small bugs and push quick fixes directly to end users without dealing with the tedious process of submitting your app for review Learn more Over the air updatesOver the air updates allow your app to receive updates without submitting and waiting for ages until Apple and Google review each change you made These updates include your app s JavaScript and assets This feature has a few limitations If you need to add new native packages or update your SDK version you will need to rebuild and submit But for the daily patches and hotfixes it will save you tons of hours and more importantly allow you to instantly respond to bugs in production Expo SDKThe Expo SDK works like an extension of the React Native core package and when I say extension I m not talking about only a few additional features At the moment of this writing the Expo SDK includes at least packages I would like to share a few examples of packages I use every day and save me tons of hours of work expo firebase analytics Enables the use of native Google Analytics for Firebase expo file system Provides access to a file system stored locally on the device It also allows you to download and upload files from network URLs expo document picker and expo image picker Provide access to the system s UI for selecting images videos and documents expo localization Allows you to localize your app customizing the experience for specific regions or languages expo linking Easily setup deep linking both with a custom scheme or using HTTPS expo device Provides access to system information about the physical device such as its manufacturer and model expo font Allows loading fonts from the web and using them in React Native components See more detailed usage information in the Fonts guide I m sold Where should I start I already mentioned a lot of different tools and services and it could be a little bit daunting at first I ll show you how to combine all these tools in a project Bootstrapping a new projectLet s start by installing the Expo CLI globally on your machine by running the following command on your terminalnpm install g expo cliNow we can create a new Expo project like thisexpo initYou can use the optional flag yarn if you prefer yarn over npmThe Expo CLI will ask you your project s name which template you want to use and a few more preferences Running your project on a real deviceAfter the expo init finished cd into your new project and run the npm start command This will run expo start behind the scenes This will start a local server for your app opening your web browser with the control panel Go to your Android or iOS device and install Expo Go from the store Open Expo Go on your phone and scan the QR code available in the web control panel Wait until your phone finishes downloading all the js files and that s it Your first app is already running on your phone Making changes in real time with Expo GoWith your app still running on your phone go to your App js or App tsx file and make a small change like this one import StatusBar from expo status bar import StyleSheet Text View from react native export default function App return lt View style styles container gt lt Text gt Open up App tsx to start working on your app lt Text gt lt Text style backgroundColor red color white gt This is a custom text with red background lt Text gt lt StatusBar style auto gt lt View gt const styles StyleSheet create container flex backgroundColor fff alignItems center justifyContent center Not hit save and take a look at your phone Your changes are instantly available on your phone Magic Adding new functionality using the Expo SDKLet s say we want to grab a few details about the user device and show this data on a screen We will leverage the Expo SDK for that and more specifically we ll use the expo device package mentioned above Using the Expo CLI again run the following command on your terminal expo install expo deviceNow go to your App js or App tsx file and add the following lines import StatusBar from expo status bar import StyleSheet Text View from react native import as Device from expo device export default function App return lt View style styles container gt lt Text gt Open up App tsx to start working on your app lt Text gt lt Text gt Brand Device brand lt Text gt lt Text gt Manufacturer Device manufacturer lt Text gt lt Text gt Model name Device modelName lt Text gt lt StatusBar style auto gt lt View gt const styles StyleSheet create container flex backgroundColor fff alignItems center justifyContent center If everything went as expected you should see something like this on your phone Congrats You integrated your first package from the Expo SDK into your project As I mentioned above there are packages available in the Expo SDK which means you can unlock unlimited potential for your next project in minutes Building an app with Expo Application ServicesOur handy app that shows information about your device is ready The next step is to generate a build and try our app without Expo Go We are going to leverage Expo Application Services for that To use EAS you will need to install the eas cli package globally Go to your terminal and run the following command npm install g eas cliVisit and Sign up to start using EAS The free plan already includes everything you need if you are an indie hacker working on your own apps Once you have created your account go to the terminal and login using the eas login command Still in the terminal navigate to your project s directory and run the eas build configure command to configure your project to run on EAS build Please follow this link if you want to learn more about this After finishing this configuration You will get a new eas json file in the root directory of your current project Go to your app json file and configure your android package and ios bundleIdentifier props EAS will prompt you to specify them If you are using iOS you will need to register your iPhone device first This will only take you a minute Run the eas device create command and follow the instructions You will get a link to open on your phone and install a required certificate Run the eas build profile development platform android or eas build profile development platform ios to generate your first build in the cloud Expo will handle all the heavy lifting for you by creating the required certificates signing your app for you and starting building your app in the cloud You ll get a link where you can follow the progress of your build After finishing building you can download the apk if you targeted Android or copy the link to install your app on iOS Submitting your app to the storeAfter building and testing your app to check that everything is working as expected we are ready to submit Again EAS will handle this for you Just run the eas submit platform Your platform EAS will use your latest build for the submission by default but you can manually specify a previous build if you want To learn more about the available options run the eas submit help command ConclusionsCongrats If everything went as expected your app was already submitted ️ What I love about the Expo ecosystem is that you get a tool for each stage of your project Do you need to create a new project or add Expo to an existing React Native app You can use Expo CLI for that Do you need to add new features to your app You have packages already included in the Expo SDK Do you need to build and sign your app Use EAS BuildReady to submit EAS Submit got your back Do you need to quickly fix an error in production EAS Update allows you to push your js changes without submitting your app again Shameless plugLast year I released my own design system It s called SpiroKitIf you need a UI kit to prototype your next app you can use SpiroKit s Figma template I m currently building the React Native UI library for SpiroKit so If you want to learn more about it follow me on Twitter when I m building everything in public sharing weekly updates about the project 2022-02-17 11:11:55
海外TECH DEV Community These 8 Tech Giants Have Invested Big in The Metaverse https://dev.to/mixxerly/these-8-tech-giants-have-invested-big-in-the-metaverse-lpp These Tech Giants Have Invested Big in The MetaverseMetaverse projects are blooming and some companies are betting big on them being the Next Big Thing The term metaverse has spread through the internet and become a very hot topic The idea of a huge virtual online world is certainly exciting and hundreds of companies have seen the apparent potential that the metaverse holds But which big tech companies are making big investments into the metaverse and why are they doing so MicrosoftAs a long standing player in the tech game it s no surprise that Microsoft is taking further steps into the metaverse In January the company announced that it would be acquiring Activision Blizzard the enormous video game developer and publisher as a segue into securing a major spot in the metaverse This acquisition will accelerate the growth in Microsoft s gaming business across mobile PC console and cloud and will provide building blocks for the metaverse The billion deal is Microsoft s biggest ever and will allow the company to develop Microsoft backed games and software within the metaverse in the coming years Meta Formerly Facebook In November Facebook announced that quite fittingly it was changing its name to Meta This was done as an attempt to usher in the up and coming metaverse and it did certainly get people talking Cringe inducing introduction video aside Meta has invested a total of billion into acquiring and developing both hardware and software that will be used to provide VR capabilities within the metaverse The company also plans to invest in AR augmented reality another emerging technology with a promising future SEE FULL STORY AT MAKEUSEOF 2022-02-17 11:03:38
海外TECH DEV Community Python101: Introduction to Modern Python https://dev.to/collins42rono/python101-introduction-to-modern-python-31n5 Python Introduction to Modern PythonPython is a commonly used programming language What is a programming language A programming language is a language used to write instructions which a computer can understand and perform operations implied by the program written Python is a high level language which makes it user friendly in developing programs It s use is not limited to creating certain programs only hence it is a general purpose language With Python you can create applications games websites small programs scripts which enable automation of everyday tasks like sending WhatsApp messages or emails and even large projects like an e commerce website Python has a lot of libraries which enable massive list of functionalities from Data Science Machine Learning and Software development Arguably python is the most popular programming language History of PythonPython was first conceived in the s and it s implementation was started in by Guido van Rossum at CWI in the Netherlands as a successor to ABC capable of exception handling and interfacing with the Amoeba operating system Over time python has grown to a community which contributes to it s development and growth since it is developed under an OSI approved open source license This makes Python freely usable and distributable Getting Started with PythonTo get started with Python it is not necessary to have prior programming experience since you can learn programming fundamentals with Python Python programs are developed in an Integrated Development Environment IDE which is a software for building applications It integrates several software tools in a single environment Some of the most common IDEs for Python are IDLE which comes with an installation of python Pycharm Visual Studio Code Thonny Downloading Python and Setting up environmentChoose your most preferred Python version depending on your environment here for Windows Linux UNIX macOS operating systems and install Make sure python is installed on your computer s environment PATH To check if you have python installed on a Windows PC search in the start bar for Python or run the following on the Command Line cmd exe python versionorpython versionTo check if you have python installed on a Linux or Mac then on Linux open the command line or on Mac open the Terminal and type python versionYou will get the Python version installed in your machine You can access python shell from your command line by typing python For Windows andpythonFor Linux or MacYou can then type your first program into the command lineprint Hello World You get output Hello world However this will run only once and will not be saved for future reference To run programs that can be re run you need to write them inside an IDE and save them Good news is you are already started with programming in Python the most in demand language 2022-02-17 11:02:43
ラズパイ Raspberry Pi Linking AI education to meaningful projects https://www.raspberrypi.org/blog/ai-education-meaningful-projects-tara-chklovski/ Linking AI education to meaningful projectsOur seminars in this series on AI and data science education co hosted with The Alan Turing Institute have been covering a range of different topics and perspectives This month was no exception We were delighted to be able to host Tara Chklovski CEO of Technovation whose presentation was called Teaching youth to use AI to The post Linking AI education to meaningful projects appeared first on Raspberry Pi 2022-02-17 11:02:34
ニュース BBC News - Home Storm Eunice: Rare red weather warning issued for parts of the UK https://www.bbc.co.uk/news/uk-60417263?at_medium=RSS&at_campaign=KARANGA power 2022-02-17 11:47:14
ニュース BBC News - Home British man, 35, killed in Sydney shark attack https://www.bbc.co.uk/news/world-australia-60398033?at_medium=RSS&at_campaign=KARANGA attack 2022-02-17 11:27:31
ニュース BBC News - Home KitKat and Durex makers Nestle and Reckitt warn of price rises https://www.bbc.co.uk/news/business-60414915?at_medium=RSS&at_campaign=KARANGA prices 2022-02-17 11:24:56
ニュース BBC News - Home Children in care looked after by grandparents 'on the cheap' https://www.bbc.co.uk/news/uk-wales-60287349?at_medium=RSS&at_campaign=KARANGA james 2022-02-17 11:21:44
ニュース BBC News - Home Winter Olympics official says human rights abuse stories are 'lies' https://www.bbc.co.uk/sport/winter-olympics/60413992?at_medium=RSS&at_campaign=KARANGA Winter Olympics official says human rights abuse stories are x lies x The Winter Olympics faces renewed political controversy after a Games official dismissed human rights violations among the Uyghur Muslim population as lies 2022-02-17 11:18:40
ニュース BBC News - Home How prepared is Russia for an attack? https://www.bbc.co.uk/news/world-europe-60158694?at_medium=RSS&at_campaign=KARANGA border 2022-02-17 11:21:39
北海道 北海道新聞 登別「ヌプル」ロゴマーク選んで 情報発信拠点 市が投票開始 アイヌ文様施した3案 https://www.hokkaido-np.co.jp/article/646996/ 情報発信 2022-02-17 20:19:00
北海道 北海道新聞 士幌町長選 副町長の高木氏が出馬表明 https://www.hokkaido-np.co.jp/article/646992/ 出馬表明 2022-02-17 20:07:00
北海道 北海道新聞 新聞記事データ、アプリに活用 はこだて未来大が開発 若者読者との接点に https://www.hokkaido-np.co.jp/article/646991/ 新聞記事 2022-02-17 20:04:00
IT 週刊アスキー 『ユージェネ』×「キズナアイ」の特別生放送がいよいよ明日配信! https://weekly.ascii.jp/elem/000/004/083/4083846/ 開催時間 2022-02-17 20:15:00
マーケティング AdverTimes セブンから30分で配達 1200店に規模拡大、名称も変更 https://www.advertimes.com/20220217/article377231/ 配達 2022-02-17 11:02:59

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

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

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