python |
Pythonタグが付けられた新着投稿 - Qiita |
スパース性を導入したベイズ線形回帰 |
https://qiita.com/meltyyyyy/items/cb93056a91831c7a8eef
|
horse |
2022-09-17 21:54:32 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
paizaラーニング レベルアップ問題集 ソートメニュー応用編 JavaScript 辞書順 |
https://qiita.com/ZampieriIsa/items/5778a637297b89fbbbca
|
javascript |
2022-09-17 21:22:43 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
git push heroku masterで失敗後heroku loginでも失敗した場合 |
https://qiita.com/koh_ru/items/e556dd4bf681c0d9b57c
|
gitpushherokumasteruserna |
2022-09-17 21:18:52 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
dockerでMySQLが立ち上がらない時の対処法 --initialize specified but the data directory has files in it. Aborting |
https://qiita.com/jun_kato/items/3ae2db42ef7f1d0cca99
|
container |
2022-09-17 21:08:29 |
Ruby |
Railsタグが付けられた新着投稿 - Qiita |
git push heroku masterで失敗後heroku loginでも失敗した場合 |
https://qiita.com/koh_ru/items/e556dd4bf681c0d9b57c
|
gitpushherokumasteruserna |
2022-09-17 21:18:52 |
海外TECH |
DEV Community |
💁♂️ Built a Dev.to replica with The MERN stack and more |
https://dev.to/marodevv/built-a-devto-replica-with-the-mern-stack-and-more-fbd
|
️Built a Dev to replica with The MERN stack and moreDev to cloneA Dev to clone created with MERN stack and more Essentially FB without stories feature Table of contentsInspireThe ExperienceTech usedFeaturesScreenshotsLinksSetup locallyDo me a favorCredits Inspire First of all I did not think of clonning another websites in my whole journey Only to know what I m capable of after learning the MERN stack months ago I was looking for a frontendmentor project as usual that will confirm and prove my skills but I didn t find any backend related only frontend as the website mentions After a lot of searching I got inspired by a few people that have cloned dev to website Some cloned the frontend only and some both with different tech stacks And because It s already cloned by others Despite being a few I had to make an exact clone replica with lots of features that didn t exist in other clones Giving me the opportunity for clonning one of the best blogging multipage and challenging website It took me about months in total So don t get desperate and Doesn t matter how slowly you go as long as you do not stop The Experience It was really challenging in these different layouts especially on mobile Also browser support wasn t that good so I couldn t use some stuff as in css the has pseudo class I Deep dived in Redux toolkit and RTK query Learned lots of stuff like lazy quering and cache invalidation I practiced Json web tokens aka JWT in advance for issuing access amp refresh tokens on login either from Google Github OAuth or manual authentication and logging them out automatically after expiration Got familiar with Vercel Render deployments Faced so many problems in this journey It was full of error handling stress and panicking There was alot going on in this phase Eventually I was satisfied and pleased with the results Don t forget to share this as much as possible and let s get started folks Tech used FrontendReactRedux toolkit Advanced RTK TailwindStyled componentsFramer motionReact routerCloudinary Image hosting BackendMongoDBExpressNode jsOAuth Google Github JWTSocket io Real time CloudinaryMongooseAxios Features Login SignupView Edit ProfileGoogle Github OAuthUltimate mobile responsivenessReal time Notifications ToastedCRUD Posts Comments Replies TagsFollow Unfollow UsersFollow Unfollow TagsLike Unicorn Bookmark PostsLike commentsAdvanced Search engine for posts people and tagsFilter for postsReading ListDashboard Screenshots Login Signup Edit Delete Google Github OAuth Create Update Edit Delete Posts Reactions Comments Follows with Real time notifications Toasted Tags ReadingList Dashboard Search Engine Links Client Server Source How to setup locally Clone RepoClone the repo to your local machine by SetupInstall all dependencies in both client and server subdirectories by npm i cd server amp amp npm i cd client amp amp npm i CreateA MongoDB database either locally or online via MongoDB AtlasA Cloudinary accountA new project on Google Cloud PlatformA env file in in both client and server subdirectoriesENV variablesclient env BASE URL GOOGLE CLIENT ID GOOGLE CLIENT ID GITHUB CLIENT ID GITHUB CLIENT ID GITHUB CLIENT SECRET GITHUB CLIENT SECRET server env ACCESS TOKEN SECRET REFRESH TOKEN SECRET CLIENT URL GOOGLE CLIENT ID GOOGLE CLIENT ID GITHUB CLIENT ID GITHUB CLIENT ID GITHUB CLIENT SECRET GITHUB CLIENT SECRET DB NAME DB USER DB PASSWORD CLOUDINARY CLOUD NAME CLOUDINARY API KEY CLOUDINARY API SECRET CLOUDINARY DEFAULT URL default image urlCLOUDINARY DEFAULT PUBLIC ID default image public idFinally run npm run stack on the root of the two subdirectories Do me a favor SocialGithubLinkedinInstagram ShareSince I m new to blogging I will ask you to Share this as much as you think I deserve SupportBuy me a coffee Credit Dev to clone by me |
2022-09-17 12:43:50 |
海外TECH |
DEV Community |
The Git Commands I Use Every Day |
https://dev.to/wadecodez/the-git-commands-i-use-every-day-5g17
|
The Git Commands I Use Every Day Get all latest changes without mergingStop pulling code that you think will break Having fetch in your workflow allows you to grab updated code without immediately merging it Once the code is fetched you can check it out like any other branch When you re satisfied then you can merge git fetch all git checkout upstream some branch Push upstream regardless of current branch nameStop typing the branch names especially when they are long branch names Just tell git you want to push the current branch to a remote location HEAD is a key word that tells git to use the current branch git push upstream head git push origin head git push github head Label your stashThis is useful if you stash a lot of code and you want to remember what the stash contains at a glance git stash save m my work in progress Use a stash from ages agoStop undoing stashes with git pop to get to an old stash You can apply a stash that you created ages ago by using the following command git stash listgit stash apply Checkout the previous branchThis is super helpful when you are working on small features and you want to compare behavior performance by toggling branches You don t have to type the names just use the minus sign git checkout Change the base of the branch after doing a checkoutThis is useful if you created a new branch but you based it off the wrong branch For example say you wanted to branch from the beta code but you accidentally branched using the production code git rebase onto beta production feature git rebase newBase oldBase currentBranch Move uncommitted changes to new existing branchgit switch c new branch git switch existing branch Bonus Fuzzy CheckoutThis custom command allows you to quickly switch to another branch without typing the entire name This is super useful when you are using a naming convention and you are tired of typing a prefix like feature or issue function fc git checkout git branch format refname short grep If your branch name was called feature dropdown select color you could quickly switch branches by doing something like this fc dropdown |
2022-09-17 12:34:13 |
海外TECH |
DEV Community |
Tutorials are Wrong |
https://dev.to/this-is-learning/tutorials-are-wrong-255c
|
Tutorials are WrongIs the title a clickbait Nope let me explain Learning new stuff is amazing and courses and tutorials are a great help until you realize you re stuck in the Tutorial Hell So are some tutorials wrong Or all tutorials And what is this Tutorial Hell Do you like watching videos over reading You can find a video version here Tutorial Hell is that situation where you get the habit of using tutorials to do something new without realizing you re not understanding what you re doing you re just copying someone else s work Well redacted tutorials will make it easy to get to the final and polished solution as smooth as possible and that s fine but you must not forget to analyze all the steps in between Give a man a fish and you feed him for a day gt You ve built your thingTeach a man how to fish and you feed him for a lifetime gt You know HOW to build many things by yourselfDo you get the analogy with tutorials It s easy to fall into this situation without even realizing and it does not only apply to beginners you might be affected in some way regardless of your skill level Let s assume you might be in this so called Tutorial Hell The very first step to escape is by reading this tutorial on how to escape the tutorial hell ok wait this sounds tricky The best way to use tutorials is to forget about what the tutorial aims for Forget it But learn everything else in between You shouldn t focus on the final result but on all the path that you have to follow before getting to the final product Let s say you re watching a tutorial on how to make a todo list in React Sounds easy right Ok at some point the tutorial tells you to send an HTTP request to save your list It uses the POST verb What is that How many other HTTP verbs are there Why POST and not PUT or PATCH And again does it use a library to make the call such as axios Ok cool what is this library Why should I use it compared to other libraries Do you have a native solution Yes you can use fetch so what are the differences between fetch and axios Ok I think you got my point Every time the tutorial tells you to do something ask yourself some questions Try to get deeper on why something has been done specifically that way Properly understanding this will let you absorb times more what the tutorial is about It will take more time to build your todo app that s for sure but you re just learning right So you want to build the todo list or to learn how to build a gozillion other apps in the future That s your choice However tutorials are not the only way to learn something new To be honest I like to learn by putting my hands on real projects that s why I try to contribute as often as possible to Open Source and you should do the same I explain in this video all the advantages it gives I promise you with Open Source you will learn a lot more than just by following tutorials Go watch it and let me know what you think Thanks for reading this post I hope you found it interesting Feel free to follow me to get notified when new articles are out Leonardo MontiniFollow I write posts about Open Source and Web Development I also run a YouTube channel called DevLeonardo link in my profile Do you like my content You might consider subscribing to my YouTube channel You can find it here |
2022-09-17 12:01:11 |
Apple |
AppleInsider - Frontpage News |
Compared: iPhone 13 Pro & iPhone 13 Pro Max vs iPhone 14 Pro & iPhone 14 Pro Max |
https://appleinsider.com/articles/22/09/11/compared-iphone-13-pro-iphone-13-pro-max-vs-iphone-14-pro-iphone-14-pro-max?utm_medium=rss
|
Compared iPhone Pro amp iPhone Pro Max vs iPhone Pro amp iPhone Pro MaxApple s iPhone Pro and iPhone Pro Max have arrived Here s how they stack up versus the iPhone Pro and Pro Max iPhone Pro left and iPhone Pro right Apple unveiled the new models at its Far Out event on September Both devices continue the recent trend of releasing four models but they signal a new strategy because they pack some significant features that the lower tier doesn t have Read more |
2022-09-17 12:56:55 |
Apple |
AppleInsider - Frontpage News |
Daily Deals Sept. 17: $150 off Mac Studio, up to 58% off Nanoleaf, $200 off a TCL 65-inch Smart TV, more! |
https://appleinsider.com/articles/22/09/17/daily-deals-sept-17-150-off-mac-studio-up-to-58-off-nanoleaf-200-off-a-tcl-65-inch-smart-tv-more?utm_medium=rss
|
Daily Deals Sept off Mac Studio up to off Nanoleaf off a TCL inch Smart TV more Saturday s best deals include off AirPods Pro off a Samsung TB USB SSD and much more Best deals for September Every day AppleInsider searches online retailers to find offers and discounts on items including Apple hardware upgrades smart TVs and accessories We compile the best deals we find into our daily collection which can help our readers save money Read more |
2022-09-17 12:26:00 |
Apple |
AppleInsider - Frontpage News |
Apple's loaded MacBook Air (M2, 24GB RAM, 1TB SSD) now $100 off, plus $40 off AppleCare |
https://appleinsider.com/articles/22/09/16/apples-loaded-macbook-air-m2-24gb-ram-1tb-ssd-now-100-off-plus-40-off-applecare?utm_medium=rss
|
Apple x s loaded MacBook Air M GB RAM TB SSD now off plus off AppleCareApple s hard to find M MacBook Air with GB of memory and a spacious TB SSD is discounted exclusively for AppleInsider readers with a markdown on the system itself and off optional AppleCare This MacBook Air has GPU RAM and storage upgrades Apple Authorized Reseller Adorama is offering AI readers the chance to save money on Apple s latest MacBook Air complete with upgrades to the line s maximum about of memory GB and additional storage TB The M chip is also the top of the line option featuring a core GPU Read more |
2022-09-17 12:58:49 |
ニュース |
@日本経済新聞 電子版 |
親の顔色をうかがう子は伸び悩む? 意見言う練習を
https://t.co/lANnYzpx3R |
https://twitter.com/nikkei/statuses/1571121845264334854
|
顔色 |
2022-09-17 13:00:12 |
ニュース |
@日本経済新聞 電子版 |
英女王の莫大な富、相続税は免除 新国王が「遺産」継承
https://t.co/QOdMZSE1iz |
https://twitter.com/nikkei/statuses/1571121724548354048
|
遺産 |
2022-09-17 12:59:43 |
ニュース |
@日本経済新聞 電子版 |
台風14号、鹿児島に特別警報 18日に上陸か
https://t.co/MNGH83uDdJ |
https://twitter.com/nikkei/statuses/1571119083248291840
|
特別警報 |
2022-09-17 12:49:14 |
ニュース |
@日本経済新聞 電子版 |
コロナ全数把握見直し、先行地域では発生届8割減
https://t.co/LGPmrTBG6P |
https://twitter.com/nikkei/statuses/1571117178002493443
|
見直し |
2022-09-17 12:41:39 |
ニュース |
@日本経済新聞 電子版 |
北大阪急行延伸で開発続々 箕面にマンション・商業施設
【この1週間で読まれた記事】
https://t.co/j1XH3aNs2R |
https://twitter.com/nikkei/statuses/1571114279981707268
|
北大阪急行 |
2022-09-17 12:30:08 |
海外ニュース |
Japan Times latest articles |
Victim laments ‘largely failed’ attempts to resolve North Korean abduction issue |
https://www.japantimes.co.jp/news/2022/09/17/national/north-korea-abductee-frustration/
|
Victim laments largely failed attempts to resolve North Korean abduction issue If reuniting victims with their parents is the most important solution to the abduction issue that has largely failed Kaoru Hasuike said |
2022-09-17 21:15:23 |
ニュース |
BBC News - Home |
King Charles and Prince William meet people in lying-in-state queue |
https://www.bbc.co.uk/news/uk-62940182?at_medium=RSS&at_campaign=KARANGA
|
appearance |
2022-09-17 12:22:44 |
ニュース |
BBC News - Home |
Prince Harry to stand vigil at Queen's coffin in military uniform |
https://www.bbc.co.uk/news/uk-62938463?at_medium=RSS&at_campaign=KARANGA
|
coffin |
2022-09-17 12:17:07 |
ニュース |
BBC News - Home |
Chris Kaba: Rally for man shot by police held at Met headquarters |
https://www.bbc.co.uk/news/uk-england-london-62940371?at_medium=RSS&at_campaign=KARANGA
|
chris |
2022-09-17 12:33:30 |
北海道 |
北海道新聞 |
新谷、来年1月に米でマラソン 世界選手権をコロナで欠場 |
https://www.hokkaido-np.co.jp/article/732774/
|
世界選手権 |
2022-09-17 21:11:35 |
北海道 |
北海道新聞 |
オホーツク管内で86人感染 新型コロナ |
https://www.hokkaido-np.co.jp/article/732808/
|
新型コロナウイルス |
2022-09-17 21:26:00 |
北海道 |
北海道新聞 |
巨3―2神(17日) 戸郷が12勝目 |
https://www.hokkaido-np.co.jp/article/732806/
|
逆転勝ち |
2022-09-17 21:24:00 |
北海道 |
北海道新聞 |
公立中休日部活動で指導者支援へ 三井住友火災保険が新認証制度 |
https://www.hokkaido-np.co.jp/article/732803/
|
三井住友 |
2022-09-17 21:23:00 |
北海道 |
北海道新聞 |
新ワクチン、今月接種開始が8割 半数が現役世代の政府想定前倒し |
https://www.hokkaido-np.co.jp/article/732802/
|
新型コロナウイルス |
2022-09-17 21:21:00 |
北海道 |
北海道新聞 |
台風でコンビニ大手が計画休業 14号が接近、九州中心 |
https://www.hokkaido-np.co.jp/article/732800/
|
計画 |
2022-09-17 21:14:00 |
北海道 |
北海道新聞 |
函工、函大柏稜 代表決定戦へ 秋の高校野球函館支部予選 |
https://www.hokkaido-np.co.jp/article/732797/
|
函館オーシャンスタジアム |
2022-09-17 21:11:00 |
北海道 |
北海道新聞 |
「ニペの耳」に置き石文字相次ぐ 大雪山国立公園の特別保護地域 SNS映え狙い? 植物枯れる恐れも |
https://www.hokkaido-np.co.jp/article/732792/
|
保護地域 |
2022-09-17 21:11:27 |
北海道 |
北海道新聞 |
道南161人感染、函館は104人 新型コロナ |
https://www.hokkaido-np.co.jp/article/732697/
|
新型コロナウイルス |
2022-09-17 21:09:29 |
北海道 |
北海道新聞 |
集団埋葬地、死因特定に数週間 イジュム、国連調査団派遣も |
https://www.hokkaido-np.co.jp/article/732796/
|
司法当局 |
2022-09-17 21:08:00 |
IT |
週刊アスキー |
国税庁から「税金を払え」とSMSが大量に!? |
https://weekly.ascii.jp/elem/000/004/106/4106005/
|
個人情報 |
2022-09-17 21:30:00 |
コメント
コメントを投稿