ROBOT |
ロボスタ |
日本初!地方自治体×NFTゲーム『ご当地アトムNFT』発売 第一弾は鳥取県から メタバース「XANA(ザナ)」開発のブロックチェーン企業 |
https://robotstart.info/2022/05/05/nft-atom-xana.html
|
|
2022-05-05 05:07:30 |
IT |
ITmedia 総合記事一覧 |
[ITmedia News] Google、AR端末向けディスプレイ技術を手掛けるRaxiumを買収 |
https://www.itmedia.co.jp/news/articles/2205/05/news035.html
|
apple |
2022-05-05 14:03:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pandas 時系列データで使用できる期間を指定するaliasの一覧 |
https://qiita.com/keitean/items/4e2d5fb2f7571a505b43
|
alias |
2022-05-05 14:41:56 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
【ポートフォリオ開発】RubyとRailsのバージョン選定で参考にした情報 |
https://qiita.com/kazunoko1606/items/99fcb893df63b5ac11cb
|
rails |
2022-05-05 15:00:04 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
rubyのアップデート② |
https://qiita.com/BORIBORIFATMAN_LOL/items/b76f7d7b7d7a149c498b
|
rubyqiitarbrbenvversions |
2022-05-05 14:58:04 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
rubyのアップデート |
https://qiita.com/BORIBORIFATMAN_LOL/items/37419cb83e40fe696fbc
|
windows |
2022-05-05 14:34:30 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
【AWS】異なるECSサービスでのコンテナ間通信 |
https://qiita.com/zeems/items/3722ae47b2ca539dbfd8
|
gunicorn |
2022-05-05 14:57:38 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
【AWS】異なるECSサービスでのコンテナ間通信 |
https://qiita.com/zeems/items/3722ae47b2ca539dbfd8
|
gunicorn |
2022-05-05 14:57:38 |
golang |
Goタグが付けられた新着投稿 - Qiita |
golang Enum? |
https://qiita.com/ytmycat17yo/items/4268bdbb8dd8c0243759
|
invalidbasickindiotatyp |
2022-05-05 14:57:24 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【ポートフォリオ開発】RubyとRailsのバージョン選定で参考にした情報 |
https://qiita.com/kazunoko1606/items/99fcb893df63b5ac11cb
|
rails |
2022-05-05 15:00:04 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
【Rails】Sorcery✖️Twitter認証で詰まった話 |
https://qiita.com/takemuu/items/f994a4fe20c7a236ee8c
|
rails |
2022-05-05 14:25:33 |
海外TECH |
DEV Community |
How to Solve QueryCursor.js Mongoose error with NVM |
https://dev.to/eunit/how-to-solve-querycursorjs-mongoose-error-with-nvm-2j4j
|
How to Solve QueryCursor js Mongoose error with NVMTL DRThis is my attempt at resolving this issue raised on GitHub I discovered that it was a NodeJS incompatibility issue Downgrading your NodeJS version to x resolves this error If you are working with Mongoose version and you had your NodeJS version updated to gt x or this is the latest version as of when I am writing this post you might have encountered this error TypeError Cannot assign to read only property map of object lt QueryCursor gt at Object lt anonymous gt Users balonsom Documents repos dungeon master node modules mongoose lib cursor QueryCursor js at Module compile node internal modules cjs loader at Object Module extensions js node internal modules cjs loader at Module load node internal modules cjs loader at Function Module load node internal modules cjs loader at Module require node internal modules cjs loader at require node internal modules cjs helpers at Object lt anonymous gt Users balonsom Documents repos dungeon master node modules mongoose lib query js at Module compile node internal modules cjs loader at Object Module extensions js node internal modules cjs loader The above error is caused by an incompatibility issue between Mongoose and NodeJS version On the Mongoose GitHub repo where the issue was raised several suggestions were offered which I tried all but none resolved the error for me Also issue was marked resolved by issue which was not the case for me How to Solve QueryCursor js Mongoose errorKnowing that this is a compatibility issue between NodeJS and Mongoose the best solution will be to downgrade my Node js version to something earlier than version But wait I have other projects on my local machine that I am running which are incompatible with Node js versions lt x This is where NVM Node Version Manager comes into play NVM allows us to install and run multiple versions of NodeJS on our local machine For an in depth guide on how to install and use NVM please refer to this tutorial by Digital Ocean Installing and Using NVMIn this guide I shall walk you through the essentials of installing NVM and using Node js v for your Mongoose project How to Install NVMTo install NVM run the following commandscurl o bashor using wgetwget qO bashOnce installed close your terminal application for changes to take effect You will also need to add a couple of lines to your bash shell startup file This file might have the name bashrc bash profile or zshrc depending on your operating system To do this reopen your terminal app and run the following commands export NVM DIR HOME nvm s NVM DIR nvm sh amp amp NVM DIR nvm sh s NVM DIR bash completion amp amp NVM DIR bash completion Installing NodeJS v xTo install NodeJS paste the following command into your terminalnvm install After running this command this is the output that will display in your terminal app OutputDownloading and installing node v Downloading Computing checksum with shasum a Checksums matched Now using node v npm v You have successfully installed NodeJS v on your local machine This means that you are now running multiple versions of NodeJS List installed Node js versions on your machineWith a handful of different versions of Node js installed we can run nvm with the ls argument to list out everything we have installed nvm lsThe output produced by running this command might look something like this v v v systemdefault gt node gt v iojs gt N A default unstable gt N A default node gt stable gt v default stable gt gt v default lts gt lts gallium gt N A lts argon gt v gt N A lts boron gt v gt N A lts carbon gt v gt N A lts dubnium gt v gt N A lts erbium gt v lts fermium gt v lts gallium gt v gt N A Your output will definitely differ from mine depending on how many versions of Node js you have installed on your machine The next step entails us specifying which version of NodeJS we want to use in our program or project To do this follow the below steps Using NodeJS v in our projectcd into the directory of your project by running this commandcd lt path to your project directory gt Then run this command below to specify the NodeJS version want to use in our case vnvm use You will get the following outputNow using node v npm v Congratulations You are now using NodeJS version for this specific project while also preserving the default active version of Node js on your machine Further readingHow To Run Multiple Versions of Node js with Node Version ManagerHow do I install multiple node js version on the same machine Follow MeOn Twitter eunitOn GitHub eunit |
2022-05-05 05:45:48 |
海外TECH |
DEV Community |
Revisiting the Pain: The World without Git |
https://dev.to/kcdchennai/revisiting-the-pain-the-world-without-git-3jod
|
Revisiting the Pain The World without Git IntroductionComputers have evolved a lot in a short span of time and are still evolving rapidly With the advent of technology the world is now at our finger tips Along with these advancements in the hardware sector software development has also progressed a lot And when we talk about software development how can one forget Git Git is the single most used version control system VCS Git is superfast and it seems as if Gods of speed have blessed Git with unworldly powers If you re a Software developer it s your bread and butter But Git was developed in with a blazing controversy and software is being developed for more than decades now So how did the development world look before Git Let s dive right into it Maintaining Backups locallyIn earlier stages of software development there was no existence of a version controlling system Daily or Weekly backups was the norm For a collaborative project there used to be a master copy usually under a single person s control Everyone worked with that person Back in those days a Commit meant backing up the current version and applying the new changes This came up with major problems It was hard to know what changes you made over time There was no other option than manually checking the files for differences Overtime the files would become so large that making multiple of them may eventually take up your whole disk storage Local VCS LVCS All the tasks without VCS were tedious It required more effort from release team and the project leaders To solve this programmers developed Local VCS They are also referred to as First Generation VCS As the name suggests it had a local database to store the changes made to the files One of the most popular local VCS was RCS Revision Control System which stored patch sets and could reproduce how the file looked at any point of time by merging those patch sets Another popular first generation local VCS was SCCS or Source Code Control System which was indeed the first VCS developed in by UNIX developers Centralized VCS CVCS Local VCS were good or at least better than maintaining backups but even it had a problem Everything was stored locally Incase if the system crashed and there s no backup you would lose everything Also there was no way to collaborate with other developers To solve this issue Centralized VCS was developed They were the Second Generation VCS Here we had a central server which contained all the versions and commits ever made to the project Everyone could push and pull the changes As the server was centralized almost everyone knew what the other person was working upon Along with all these pros CVCS also came up with cons As everything was centralized if there s a server failure or the hard disk of the server gets corrupted you lose everything if there are no backups You may get the latest version of the project from some developer who committed the last change but all the previous changes are gone Also due to centralized server you need to have an Internet connection if you want to commit your changes So if you re working in a place with no internet you may have a bad time Some of the examples of Second Generation VCS are Apache Subversion SVN CVS and Perforce Distributed VCS DVCS Everything earlier came with it s pros and cons But there was a need of something even better and that s when Distributed VCS came into picture It was also referred to as the Third Generation VCS Here everyone had the full backup of the project both locally on their machine and also on the centralized server As everyone had a local copy of entire work history one doesn t need to be online to commit their changes They can commit their changes to local repository first and whenever there s an availability of internet they can push those changes to the master repository remote repository Some of the examples of Third Generation VCS are Git Mercurial Bitkeeper and bzr A Short history of GITLinux development started in the year Until the year changes were passed as patches and archived files This was very difficult for the developers looking at the scope of the project So finally in the year they began using Bitkeeper VCS which was free to use at that time Everything was good and the Linux development was going smoothly up until when Bitkeeper s copyright holder Larry McVoy revoked the free of charge status after claiming that Andrew Tridgell created Sourcepuller by reverse engineering Bitkeeper s protocols This was the time when Linus Torvalds the creator of Linux thought of developing their own Distributed VCS with the features they needed The development of Git began on April and achieved it s performance goals on April This led to the development of the single most used VCS in the software development world CreditsImages Pro Git ReferencesPro Git eBook Wikipedia |
2022-05-05 05:04:05 |
海外ニュース |
Japan Times latest articles |
Japan may spend $100 billion to slow yen’s slide, Bank of America says |
https://www.japantimes.co.jp/news/2022/05/05/business/yen-weakness-government-spending/
|
Japan may spend billion to slow yen s slide Bank of America saysThe speed of the yen s decline has caught Japanese policymakers off guard and exposed divisions between the central bank and the central government |
2022-05-05 14:13:40 |
ニュース |
BBC News - Home |
Peterborough couple donate more than 100 cuddly toys won over 40 years |
https://www.bbc.co.uk/news/uk-england-cambridgeshire-61322691?at_medium=RSS&at_campaign=KARANGA
|
couple |
2022-05-05 05:13:33 |
北海道 |
北海道新聞 |
日本のサケは運動能力低い? 北米・ロシア産と比較 東京海洋大名誉教授ら ふ化・放流事業影響か |
https://www.hokkaido-np.co.jp/article/677201/
|
名誉教授 |
2022-05-05 14:10:54 |
北海道 |
北海道新聞 |
<社説>こどもの日に だれしもが幸福な未来を |
https://www.hokkaido-np.co.jp/article/677195/
|
行動 |
2022-05-05 14:02:02 |
ニュース |
THE BRIDGE |
韓国の新韓金融G、ベトナム版Amazon「Tiki」株式の10%を取得 |
https://thebridge.jp/2022/05/shinhan-acquires-10-percent-stake-in-tiki-picupnews
|
韓国の新韓金融G、ベトナム版Amazon「Tiki」株式のを取得신한금융베트남이커머스기업티키대주주된다…지분인수韓国の新韓金融グループ신한금융그룹は、ベトナムのeコマース企業Tikiの株式の取得したと発表した。 |
2022-05-05 05:15:16 |
ニュース |
THE BRIDGE |
WebSummit、2023年からリオ・デ・ジャネイロへの進出を発表 |
https://thebridge.jp/2022/05/websummit-announces-rio-expansion
|
WebSummit、年からリオ・デ・ジャネイロへの進出を発表ポルトガルのリスボンで毎年開催されているスタートアップカンファレンス「WebSummit」が、年からブラジルでも開催されることが決定した。 |
2022-05-05 05:00:45 |
コメント
コメントを投稿