投稿時間:2022-01-17 01:10:37 RSSフィード2022-01-17 01:00 分まとめ(15件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita ラズパイ+OpenCVの画像処理の速度調査 https://qiita.com/mickie895/items/c2fc43fd6da586b6319b もっとsleepの時間を短くしたら結果は変わるかもしれないが、毎秒撮影するときに回中に数回は秒以上の時間がかかるとなると、時間に一度、撮影に秒以上かかるタイミングがあると考えて良さそうだ。 2022-01-17 00:24:35
js JavaScriptタグが付けられた新着投稿 - Qiita 僕らはファイナライズを待たなければいけないのか~Symbolブロックチェーンの場合~ https://qiita.com/nem_takanobu/items/7065eab62a8fb39756d7 ファイナライズとは、つかんだチャンスを逃がさないために努力することを止めてもいい時間という意味に読み替えましょう。 2022-01-17 00:25:16
Docker dockerタグが付けられた新着投稿 - Qiita Laravel + Docker の環境で、PostgreSQLに接続するためにやったこと https://qiita.com/b-coffin/items/60b099c1bc292f502fb8 環境変数DBCONNECTIONの値を変更Laravelで使用するDBを設定しているのは、configdatabasephpファイル内の下記の箇所になります。 2022-01-17 00:12:40
海外TECH MakeUseOf Why Health Professionals Are Asking Spotify to Stop Joe Rogan Spreading Misinformation https://www.makeuseof.com/health-professionals-ask-spotify-stop-joe-rogan-spreading-misinformation/ Why Health Professionals Are Asking Spotify to Stop Joe Rogan Spreading MisinformationRogan s podcast often courts controversy but doctors and scientists think a recent episode took things a step too far 2022-01-16 15:54:27
海外TECH MakeUseOf How to Merge Objects in Blender https://www.makeuseof.com/merge-objects-in-blender/ blender 2022-01-16 15:31:22
海外TECH DEV Community Introduction to Git https://dev.to/ieeemace/introduction-to-git-1na5 Introduction to GitGit is an open source version control tool created in by developers working on the Linux operating system GitHub is a company founded in that makes tools which integrate with git You do not need GitHub to use git but you cannot use GitHub without using git There are many other alternatives to GitHub such as GitLab BitBucket and “host your own solutions such as gogs and gittea All of these are referred to in git speak as “remotes and all are completely optional You donot need to use a remote to use git but it will make sharing your code with others easier Step Create a local git repositoryWhen creating a new project on your local machine using git you ll first create a new repository or often repo for short To begin open up a terminal and move to where you want to place the project on your local machine using the cd change directory command To initialize a git repository in the root of the folder run the git init command Step Add a new file to the repoGo ahead and add a new file to the project using any text editor you like or running a touch command touch newfile txt just creates and saves a blank file named newfile txt Once you ve added or modified files in a folder containing a git repo git will notice that the file exists inside the repo But git won t track the file unless you explicitly tell it to Git only saves manages changes to files that it tracks so we ll need to send a command to confirm that yes we want git to track our new file After creating the new file you can use the git status command to see which files git knows exist An interlude The staging environment the commit and youOne of the most confusing parts when you re first learning git is the concept of the stagingenvironment and how it relates to a commit A commit is a record of what changes you have made since the last time you made a commit Essentially you make changes to your repo for example adding a file or modifying one and then tell git to put those changes into a commit Commits make up the essence of your project and allow you to jump to the state of a project at any other commit So how do you tell git which files to put into a commit This is where the staging environment or index come in As seen in Step when you make changes to your repo git notices that a file has changed but won t do anything with it like adding it in a commit To add a file to a commit you first need to add it to the staging environment To do this you can use the git add command see Step below Once you ve used the git add command to add all the files you want to the staging environment you can then tell git to package them into a commit using the git commit command Step Add a file to the staging environmentAdd a file to the staging environment using the git add command If you rerun the git status command you ll see that git has added the file to the staging environmentStep Create a commitIt s time to create your first commit Run the command git commit mStep Create a new branchNow that you ve made a new commit let s try something a little more advanced Say you want to make a new feature but are worried about making changes to the main project while developing the feature This is where git branches come in Branches allow you to move back and forth between states of a project Official git docs describe branches this way A branch in Git is simply a lightweight movable pointer to one of these commits For instance if you want to add a new page to your website you can create a new branch just for that page without affecting the main part of the project Once you re done with the page youcan mergeyour changes from your branch into the primary branch When you create a new branch Git keeps track of which commit your branch branched off of so it knows the history behind all the files Let s say you are on the primary branch and want to create a new branch to develop your web page Here s what you ll do Run git checkout b This command will automatically create a new branch and then check you out on it meaning git will move you to that branch off of the primary branch After running the above command you can use the git branch command to confirm that your branch was createdStep Create a new repository on GitHubIf you only want to keep track of your code locally you don t need to use GitHub But if you want to work with a team you can use GitHub to collaboratively modify the project s code To create a new repo on GitHub log in and go to the GitHub home page You can find the “New repository option under the “ sign next to your profile picture in the top right corner of the navbarAfter clicking the button GitHub will ask you to name your repo and provide a brief descriptionWhen you re done filling out the information press the Create repository button to make your new repo GitHub will ask if you want to create a new repo from scratch or if you want to add a repo you have created locally In this case since we ve already created a new repo locally we want to push that onto GitHub so follow the or push an existing repository from the command line sectionStep Push a branch to GitHubNow we ll push the commit in your branch to your new GitHub repo This allows other people to see the changes you ve made If they re approved by the repository s owner the changes can then be merged into the primary branch To push changes onto a new branch on GitHub you ll want to run git push origin yourbranchname GitHub will automatically create the branch for you on the remote repositoryStep Create a pull request PR A pull request or PR is a way to alert a repo s owners that you want to make some changes to their code It allows them to review the code and make sure it looks good before putting your changes on the primary branch This is what the PR page looks like before you ve submitted itYou might see a big green button at the bottom that says Merge pull request Clicking this means you ll merge your changes into the primary branch Sometimes you ll be a co owner or the sole owner of a repo in which case you may not need to create a PR to merge your changes However it s still a good idea to make one so you can keep a more complete history of your updates and to make sure you always create a new branch when making changes Step Merge a PRGo ahead and click the green Merge pull request button This will merge your changes into the primary branch When you re done we recommend deleting your branch too many branches can become messy so hit that grey Delete branch button as well You can double check that your commits were merged by clicking on the Commits link on the first page of your new repo This will show you a list of all the commits in that branch You can see the one I just merged right up top Merge pull request You can also see the hash code of the commit on the right hand side A hash code is a unique identifier for that specific commit It s useful for referring to specific commits and when undoing changes use the git revert command to backtrack Step Get changes on GitHub back to your computerRight now the repo on GitHub looks a little different than what you have on your local machine For example the commit you made in your branch and merged into the primary branch doesn t exist in the primary branch on your local machine In order to get the most recent changes that you or others have merged on GitHub use the git pull origin master command when working on the primary branch In most cases this can be shortened to “git pull This shows you all the files that have changed and how they ve changed Now we can use the git log command again to see all new commits You may need to switch branches back to the primary branch You can do that using the git checkout master command ️Website Instagram LinkedIn Twitter 2022-01-16 15:41:02
海外TECH DEV Community Turn a Shopify backend open-source and headless in less than 10 minutes https://dev.to/medusajs/turn-a-shopify-backend-open-source-and-headless-in-less-than-10-minutes-2g8m Turn a Shopify backend open source and headless in less than minutesIn this article I will show you how to migrate all of your products and collections from a Shopify backend to an open source headless commerce backend Medusa in less than minutes Medusa is an open source Shopify alternative giving you all of the necessary primitives to build and operate a webshop Below I will first walk you through the features of Medusa Then I ll move on to a guide on how to use the plugin to quickly import your Shopify products and collections into Medusa Finally I ll go into a bit more depth on some of the reasons why you should consider moving from Shopify to an open source headless platform Why Use MedusaAs Medusa is an open source headless commerce platform it allows you to completely customize and compose your stack to fit your needs You re not bound to a monolithic architecture where everything is tightly coupled Some of the main benefits of this are It gives you full flexibility to build any type of frontend s you may prefer Medusa has starters in Next js or Gatsby to set up a high performing storefront out of the box so you have a good starting point before starting to customize it to your needs You can check out a demo of the starer here The open source nature lets you customize the core engine to cater to more advanced business cases and requirements that are often outside the scope of monolithic platforms The code base is meant to be extendible and customizable which you can feel from the very first time you try to add own functionality to it Medusa s plugin architecture makes it intuitive and easy to manage your integrations switch providers and grow with ease It even comes with a lot of pre made integrations to CMSs payments shipping analytics marketing and more You can check them all out here Also on features Medusa provides a few different additions that makes it stand out such as the option to define regional currency shipping and payment options which is one of the more known issues for business owners running on Shopify and wants to sell across markets Another example is return exchange and claim handling which are all fully automated processes in Medusa that makes it easy to use for customer service personnel There are therefore many reasons to migrate from a monolithic solution like Shopify to a headless open source solution In the next session we will walk through how easy this type of migration process can be How to Migrate Data from Shopify to MedusaIn this section of the article you ll learn how to use Medusa s plugin to import your products and collections from Shopify into Medusa This section assumes you already have a Shopify store up and running with products to import It also assumes you already have Medusa set up and ready to use If you don t then you should check out this tutorial on how you can set up and run Medusa In my case I have products in my Shopify store each having many variants and attributes Create a Private Shopify AppTo be able to import the data from Shopify into Medusa you need to create an App in your store with limited permissions This will give you different types of keys to access the App and the data in the store Open your store s dashboard Then choose Apps from the sidebar Then scroll down and click on Manage private apps If you haven t enabled private apps previously you ll be asked to enable them first click on Enable private app development to enable it After you have enable private app development you ll be able to create a private app Click on Create private app to get started You ll then need to enter your app s name and your email Then scroll down to the Admin API section and click on Show inactive Admin API permissions Scroll down to Products and choose Read Access from the dropdown Medusa only needs to read products and collections Scroll down to the end of the page and click the Save button Then click Create App in the pop up that shows up After you create the app you ll be able to see a set of keys such as API Key and Password What you ll need for the plugin is the password so keep it available for the next step Add medusa source shopify to your Medusa storeYou ll now integrate the Shopify plugin into your Medusa server To integrate the plugin you need the following The Shopify domain name and the password of the Shopify app you want to link to PostgreSQL database used with your Medusa server At this point of the article it s assumed you have all of these requirements ready Open your terminal in your Medusa server installation and run the following command to install the plugin npm i medusa source shopifyThen in env add the following new variables SHOPIFY DOMAIN SHOPIFY PASSWORD Where SHOPIFY DOMAIN is the subdomain name of your Shopify store for example my store is shahednasser myshopify com so the value would be shahednasser and SHOPIFY PASSWORD is the password generated when you created the app earlier Then open medusa config js and add a new entry into the plugins array const plugins resolve medusa source shopify options domain process env SHOPIFY DOMAIN password process env SHOPIFY PASSWORD This will add the Shopify plugin into your Medusa server and will pass the options for the domain and password from the environment variables you just added And that s all you need to integrate Medusa with Shopify to import your data All you need to do now is run your server npm startAnd the server will import all the products and collections from Shopify into your Medusa store Your server will do that everytime you start it so your products and collections will be automatically synced on server restart Your products and collections will be imported with pricing variants and all the attributes and details you had in your Shopify store Why Migrate From Shopify to an Open Source backendAccording to BuiltWith there are over M live websites that use Shopify at the time of writing this This makes Shopify one of the most used ecommerce platforms Shopify is known to provide an easy experience for brands and businesses of any size to launch and operate their online business Although Shopify has a lot of advantages that make businesses and developers gravitate towards it it all comes at the expense of less ownership of the tech stack At first glance especially for smaller businesses that are just looking to start a store as soon as possible it may seem like an irrelevant detail However any business that have expanded from a few sales a week to becoming a serious ecommerce business can tell how important it is to be able to fully own the tech stack behind your webshop Owning your website s codebase and having the flexibility to change and reform it based on your growing business needs is an important detail that will come up as time passes by Shifting integrations opening up new markets customizing the UX are just some of the areas in which developers encounter problems when scaling with a monolithic platforms In addition to the issues related to scaling using an open source solution means that the platform you re using is free forever Using Shopify comes at a high price that grows as you scale as it is often directly linked to your webshop revenue and transaction volume This will add to the additional costs of creating and operating your system ConclusionShopify is a powerful ecommerce platform that is used by millions of websites across the globe Although it has a ton of great features it has some disadvantages as well most notably your tech stack ownership With ecommerce platforms like Medusa you can completely own your tech stack and have many of the features you like about Shopify into your own open source store Medusa even makes it easier by allowing you to import your data from Shopify into Medusa using this easy to use plugin Should you have any issues or questions related to Medusa then feel free to reach out to the Medusa team via Discord 2022-01-16 15:15:20
Apple AppleInsider - Frontpage News Apple AR headset could cost consumers over $2,000 https://appleinsider.com/articles/22/01/16/apple-ar-headset-could-cost-consumers-over-2000?utm_medium=rss Apple AR headset could cost consumers over Apple s long rumored mixed reality headset could cost consumers over when it eventually ships with a report claiming the expensive development and components justifies the potential price The lengthly development process of the Apple VR headset has resulted in a long wait for its release with a possibility of a launch in late or delayed into While it is anticipated to be a premium device with pricing rumors between and Apple may be planning to go closer to the middle of that range Apple has internally discussed price points for the headset above according to Bloomberg s Mark Gurman in his Power On newsletter Though Apple usually does charge a premium for its hardware over its rivals the company is apparently doing so because of some of its internal technologies Read more 2022-01-16 15:58:17
海外TECH Engadget Ukraine blames Russia for cyberattack against government websites https://www.engadget.com/ukraine-blames-russia-for-cyberattack-151210108.html?src=rss Ukraine blames Russia for cyberattack against government websitesUkraine isn t hesitating to point fingers following a major cyberattack that hobbled dozens of government websites As The Guardianreports Ukraine s digital transformation ministry has blamed Russia for the hack accusing the country of fighting a quot hybrid war quot meant to quot destabilize quot an already tense situation and erode trust in the Ukranian government While officials didn t elaborate on the evidence linking the attack to Russia Microsoft shared details late Saturday that suggested a hostile nation was responsible The company s Threat Intelligence Center noted that the code was purely destructive malware disguised as ransomware It had a ransom note a Bitcoin wallet and an encrypted messaging identifier but no recovery mechanism ーin fact it wipes the Master Boot Record the hard drive element that tells a PC how to load the OS and downloads malware meant solely to corrupt files All known targets are in Ukraine and there aren t any tangible links between this campaign and other groups Russia denied any involvement in the cyberattack A spokesperson for President Putin said Ukraine pinned everything on Russia quot even the weather quot Russia has long been accused of using cyberattacks to target its political opponents including Ukraine the US and European countries Microsoft said it wasn t certain about the current stage of the hacking operation or the scope of the damage It wasn t yet clear if there were other victims in Ukraine or beyond However it s safe to presume the timing of the attack is problematic regardless of the perpetrator Ukraine and its allies have been worrying for months about signs of a looming Russian invasion and the US on January th claimed Russia was planning a false flag operation that would help it justify that invasion The cyberattack appears to be exacerbating those tensions and may have weakened Ukraine s government infrastructure at a critical moment 2022-01-16 15:12:10
Linux OMG! Ubuntu! ‘Nordic’ GTK Theme Brings Nord Color Scheme to Linux Desktops https://www.omgubuntu.co.uk/2022/01/nordic-is-a-nord-gtk-theme-for-linux Nordic GTK Theme Brings Nord Color Scheme to Linux DesktopsNordic is a GTK theme based on the Nord colour scheme It s available in several variants and a GNOME Shell theme is also included More details inside This post Nordic GTK Theme Brings Nord Color Scheme to Linux Desktops is from OMG Ubuntu Do not reproduce elsewhere without permission 2022-01-16 15:25:00
海外TECH WIRED Destructive Hacks Against Ukraine Echo Its Last Cyberwar https://www.wired.com/story/russia-ukraine-destructive-cyberattacks-ransomware-data-wiper notpetya 2022-01-16 15:02:25
金融 ◇◇ 保険デイリーニュース ◇◇(損保担当者必携!) 保険デイリーニュース(01/17) http://www.yanaharu.com/ins/?p=4808 損保ジャパン 2022-01-16 15:39:11
ニュース BBC News - Home Starmer accuses PM of breaking law over No 10 parties https://www.bbc.co.uk/news/uk-politics-60014813?at_medium=RSS&at_campaign=KARANGA downing 2022-01-16 15:49:33
ニュース BBC News - Home Pacific volcano: Ash-covered Tonga is like a moonscape say residents https://www.bbc.co.uk/news/world-asia-60009944?at_medium=RSS&at_campaign=KARANGA tonga 2022-01-16 15:12:06
ニュース BBC News - Home Rafael Benitez: Everton sack manager after less than seven months in charge https://www.bbc.co.uk/sport/football/59532271?at_medium=RSS&at_campaign=KARANGA everton 2022-01-16 15:34:00

コメント

このブログの人気の投稿

投稿時間: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件)