投稿時間:2022-08-21 22:40:46 RSSフィード2022-08-21 22:00 分まとめ(40件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
js JavaScriptタグが付けられた新着投稿 - Qiita jQueryでajaxを動かしてみたので図でメモしてみた https://qiita.com/Ponko_twoo/items/02811c14f240059a5207 jquery 2022-08-21 21:23:03
js JavaScriptタグが付けられた新着投稿 - Qiita 初めてのウェブサービスに縦書きエディタを選んだ理由(2) https://qiita.com/tategaki3/items/1b779a2397c47d6c27b9 思いのほか 2022-08-21 21:03:31
Ruby Railsタグが付けられた新着投稿 - Qiita 初めてのウェブサービスに縦書きエディタを選んだ理由(2) https://qiita.com/tategaki3/items/1b779a2397c47d6c27b9 思いのほか 2022-08-21 21:03:31
海外TECH DEV Community Finite state machines in frontend https://dev.to/shreyvijayvargiya/finite-state-machines-in-frontend-cmp Finite state machines in frontendFriday This most loved weekday for working people sharing the interesting story on interesting dayFinite state machines explainedConclusionUntil next time have a good day Keep developing Our website iHateReading Youtube Twitter 2022-08-21 12:13:33
海外TECH DEV Community JavaScript, the worst programming language on the planet https://dev.to/polterguy/javascript-the-worst-programming-language-on-the-planet-a5n JavaScript the worst programming language on the planetThere are quite a few candidates for the worst programming language the Earth has ever seen C is arguably software development schizophrenia Java its managed counterpart with its rubbish exception handling literally turns encapsulation into an unproven theory The average PHP file looks like something your cat sprinkled in its litter box in the morning after eating its breakfast And Python on the other hand is so slow you can literally eat breakfast yourself while waiting for a loop to finish counting to However they re all bleak in comparison to JavaScript JavaScript is the worst programming language on the planet by far Don t get me wrong there s a lot of great ideas in JavaScript I love its dynamic nature I adore its functional abilities And since it s literally the only thing our browsers accepts we re unfortunately stuck with it for the unforeseeable future However if you for some reason decide that you want to create your own programming language do me a favour Study JavaScript and just make something completely opposite of it Because that would literally create guarantees of that it would become a bajillion times better than JavaScript JavaScript is basically Lisp with brain damageI once at replied Brendan Eich on Twitter saying he created JavaScript in days At which point he replied to correct me and said days I was tempted to reply That explains a lot of things However I kept my thoughts to myself In fact the only positive thing I can say about JavaScript is that it was better than VBScript and that it was an open language contrary to SilverLight and Adobe Flash That s literally where my ability to speak nicely about JavaScript ends I don t mean to bash on Brendan Brendan was one of the original heroes from the browser wars and I personally know a lot of his colleagues and he did great stuff with the allocated resources at his disposal back then However if you study JavaScript please do not fall in love with it because at the end of the day its ability to allow declared variables to fall through scopes its abilities to re defined this and its lack of consistency on null undefined God knows what is the very definition of how to create a garbage programming language My partner sent me a link to somebody generating NodeJS code on the backend the other day I think the idea was to show me a competitor to Aista When I had explained a couple of things his reaction was Ahaa And no I will not even link to them Generating NodeJS code as an alternative to manually creating your HTTP REST API backend yourself is basically the same as inventing a machine that spreads your cat s litter evenly applied to all walls in your living room And I quite frankly don t want to have children believing that this is a sustainable way to generating backend APIs If you want to play with a real programming language that allows you to generate real backend APIs you can find our stuff below The reason why it s the only sustainable way to generating web APIs is because unfortunately it s the only meta programming language in the world Now you know Generate CRUD apps in secondsBecause have no doubt JavaScript is the worst programming language on the planet 2022-08-21 12:12:00
海外TECH DEV Community Deploy Multiple NodeJS Apps on single Server with SSL, Nginx, PM2 - Part 1 https://dev.to/ranjan/deploy-multiple-nodejs-apps-on-single-server-with-ssl-nginx-pm2-part-1-4841 Deploy Multiple NodeJS Apps on single Server with SSL Nginx PM Part MotivationGreatings Let s say you finished coding your awesome NodeJS app ready to deploy to server and wanted to host it on a VPS or you have more than one app to host to single VPS how would you do that IntroductionNginx Webserver or reverse proxy to handle incoming requests PM Process Manager to manage your NodeJS Apps Like making sure it s running all the time even it catches an error or making sure to create multiple instance of the same app to utilise app available cores threads Cluster Mode last part is optional Certbot Managing App SSL for your domains using Let s Encrypt SSL for Free PrerequisitesAn Ubuntu server with SSH access and a non root user with sudo privileges Step Installing Node jsFirstly to install the node js we need to add the PPA for the most recent LTS Versioncd curl sL o nodesource setup sh and then sudo bash nodesource setup shafter this the PPA is added we can Simple install the Node jssudo apt install nodejsfor checking the version of Node we installed simply type node vand it will show you exact version of the installation in my case it s Most likely we gona need build essentials for compiling any package from source code so let s install that as wellsudo apt install build essential Step Clone the project amp Install Dependenciesgit clone awesomeproject gitcd awesomeprojectnpm installnpm start or whatever your start command stop appctrl Cor you can create simple appcd nano app jsinsert the following into the fileconst http require http const hostname localhost const port const server http createServer req res gt res statusCode res setHeader Content Type text plain res end Hello Everyone n server listen port hostname gt console log Server running at http hostname port and then run itnode appyou will receive following as outputOutputServer running at http localhost Step Setup PMfirstly we need to install the PMsudo npm i pm gand for starting the apppm start app or whatever your file name for Cluster mode pm start app i max it will create an instance for every available thread optionally you can also pass Number like for instances count Other pm commandspm show apppm statuspm restart apppm stop apppm logs Show log stream pm flush Clear logs To make sure app starts when rebootpm startup ubuntuthe app should be accessible using the IP and port defined Step Setup UFW FirewallNow we want to setup a firewall blocking that port and setup NGINX as a reverse proxy so we can access it directly using port http or port https sudo ufw enablesudo ufw statussudo ufw allow ssh Port for SSHsudo ufw allow http Port sudo ufw allow https Port Step Install NGINX and Configureinstalling Nginx is pretty easy just type followingsudo apt install nginxand open default config to editsudo nano etc nginx sites available defaultAdd the following to the location part of the server block server name yourdomain com www yourdomain com location proxy pass http localhost whatever port your app runs on proxy http version proxy set header Upgrade http upgrade proxy set header Connection upgrade proxy set header Host host proxy cache bypass http upgrade then check and restart the NGINX Check NGINX configsudo nginx t Restart NGINXsudo service nginx restartYou should now be able to visit your IP with no port port and see your app Step Adding DomainAdding a domain to Any VPS is very different on each provider first you need to register and add a A record to point that to the IP address of the VPS or If your VPS Provider Supports you can also add Custom Nameservers it may take a while to show up Step Add SSL with Lets EncryptLets Encrypt provides free SSL with certbot package so first we need to install the packagesudo add apt repository ppa certbot certbotsudo apt get updatesudo apt get install python certbot nginxand then add certificates for the domains we have addedsudo certbot nginx d yourdomain com d www yourdomain comand your app should be live on please note we have to renew these certificates every days to renew runcertbot renew we will add another app in next part stay tunned for that 2022-08-21 12:04:47
ニュース @日本経済新聞 電子版 「価格300倍で50年分買え」 九州半導体を襲う部材逼迫 https://t.co/SSkik2eDF7 https://twitter.com/nikkei/statuses/1561337373580984321 部材 2022-08-21 13:00:12
ニュース @日本経済新聞 電子版 国内コロナ感染、新たに22万6171人 累計1720万5151人 https://t.co/SbrpW9NcME https://twitter.com/nikkei/statuses/1561336144049999872 累計 2022-08-21 12:55:19
ニュース @日本経済新聞 電子版 「睡眠は90分単位」は誤解 良く眠るための新常識 https://t.co/eT4xe0PkgS https://twitter.com/nikkei/statuses/1561333570773417984 誤解 2022-08-21 12:45:06
ニュース @日本経済新聞 電子版 旭化成、デジタル人材を10倍2500人に 学び直しで育成 【この1週間で読まれた記事】 https://t.co/yxozhKJepk https://twitter.com/nikkei/statuses/1561329809527132163 週間 2022-08-21 12:30:09
ニュース @日本経済新聞 電子版 ソマリア、ホテル襲撃で21人死亡 アルカイダ系過激派 https://t.co/TgNKDExRrE https://twitter.com/nikkei/statuses/1561327429024911360 襲撃 2022-08-21 12:20:41
ニュース @日本経済新聞 電子版 和歌山市長に尾花正啓氏3選 与野党相乗り、新人破る https://t.co/z2oOmrtwri https://twitter.com/nikkei/statuses/1561324160697397248 和歌山市長 2022-08-21 12:07:42
海外ニュース Japan Times latest articles Kishida resting after testing positive for COVID-19 https://www.japantimes.co.jp/news/2022/08/21/national/politics-diplomacy/japan-fumio-kishida-coronavirus-infection/ official 2022-08-21 21:15:02
ニュース BBC News - Home Darya Dugina: Daughter of Putin ally killed in Moscow blast https://www.bbc.co.uk/news/world-europe-62621509?at_medium=RSS&at_campaign=KARANGA moscow 2022-08-21 12:52:16
ニュース BBC News - Home Nationalised energy should be an option, says Sturgeon https://www.bbc.co.uk/news/uk-scotland-scotland-politics-62623751?at_medium=RSS&at_campaign=KARANGA costs 2022-08-21 12:33:09
ニュース BBC News - Home Somalia hotel siege: Security forces say al-Shabab attack is over https://www.bbc.co.uk/news/world-africa-62621205?at_medium=RSS&at_campaign=KARANGA mogadishu 2022-08-21 12:01:59
北海道 北海道新聞 ピアノや尺八、個性豊かに 知安でニセコ音楽祭 https://www.hokkaido-np.co.jp/article/720322/ 音楽祭 2022-08-21 21:40:00
北海道 北海道新聞 J1鹿島、2連勝ならず 湘南と1―1 https://www.hokkaido-np.co.jp/article/720323/ 鹿島 2022-08-21 21:40:00
北海道 北海道新聞 D3―0広(21日) DeNAが6連勝 https://www.hokkaido-np.co.jp/article/720321/ 連勝 2022-08-21 21:37:00
北海道 北海道新聞 殺人未遂容疑で男逮捕 八雲署 横断巡りトラブル https://www.hokkaido-np.co.jp/article/720320/ 殺人未遂 2022-08-21 21:34:06
北海道 北海道新聞 屯田兵の食卓や行事生き生きと 当時の日記現代語訳発刊 https://www.hokkaido-np.co.jp/article/720271/ 食卓 2022-08-21 21:32:20
北海道 北海道新聞 元陣屋資料館、ガイドは地元高校生 白老東の4人、3カ月勉強しデビュー https://www.hokkaido-np.co.jp/article/720319/ 高校生 2022-08-21 21:31:00
北海道 北海道新聞 ひき逃げ疑い男を逮捕 札幌北署 https://www.hokkaido-np.co.jp/article/720316/ 自動車運転処罰法 2022-08-21 21:27:00
北海道 北海道新聞 宗谷管内19人、留萌管内29人感染 新型コロナ https://www.hokkaido-np.co.jp/article/720315/ 留萌管内 2022-08-21 21:26:00
北海道 北海道新聞 空知管内220人感染 新型コロナ https://www.hokkaido-np.co.jp/article/720313/ 空知管内 2022-08-21 21:21:00
北海道 北海道新聞 対日戦にらみ核の軍事利用主張 米大統領顧問が大戦時メモ https://www.hokkaido-np.co.jp/article/720314/ 大統領顧問 2022-08-21 21:21:00
北海道 北海道新聞 中学部活の地域移行、自治体支援 調整役や人材バンク整備、文科省 https://www.hokkaido-np.co.jp/article/720312/ 人材バンク 2022-08-21 21:21:00
北海道 北海道新聞 ミンミンゼミ貴重な響き 屈斜路湖 https://www.hokkaido-np.co.jp/article/720311/ 和琴半島 2022-08-21 21:19:00
北海道 北海道新聞 政府、長射程ミサイル千発超検討 防衛費の膨張懸念も https://www.hokkaido-np.co.jp/article/720282/ 防衛 2022-08-21 21:03:59
北海道 北海道新聞 本室蘭中OBがバンド再結成 アルバム発売、動画配信「ご当地ロックとして広まれば」 https://www.hokkaido-np.co.jp/article/720310/ 動画配信 2022-08-21 21:17:00
北海道 北海道新聞 道北ゆかり学生ら演奏 旭川で「若者の音楽会」 https://www.hokkaido-np.co.jp/article/720309/ 音楽会 2022-08-21 21:16:00
北海道 北海道新聞 3府県も東京に多数計上か 新型コロナ感染者 https://www.hokkaido-np.co.jp/article/720308/ 新型コロナウイルス 2022-08-21 21:15:00
北海道 北海道新聞 オホーツク管内294人感染 新型コロナ https://www.hokkaido-np.co.jp/article/720305/ 新型コロナウイルス 2022-08-21 21:15:24
北海道 北海道新聞 十勝管内670人感染 新型コロナ https://www.hokkaido-np.co.jp/article/720296/ 十勝管内 2022-08-21 21:14:00
北海道 北海道新聞 22閣僚に接点、安倍派最多 旧統一教会問題 https://www.hokkaido-np.co.jp/article/720304/ 改造内閣 2022-08-21 21:11:00
北海道 北海道新聞 室蘭港の脱炭素化考えよう 9月2日シンポジウム ライブ配信も https://www.hokkaido-np.co.jp/article/720303/ 炭素 2022-08-21 21:10:00
北海道 北海道新聞 厚沢部の84歳佐々木さん 100メートル1位 60メートル2位 マスターズ陸上「今後も出場続ける」 https://www.hokkaido-np.co.jp/article/720302/ 佐々木英明 2022-08-21 21:08:00
北海道 北海道新聞 国内22万6171人感染 226人死亡、新型コロナ https://www.hokkaido-np.co.jp/article/720301/ 新型コロナウイルス 2022-08-21 21:06:00
北海道 北海道新聞 先祖の遺骨に慰霊の祈り 浦幌アイヌ民族団体、剣の舞初奉納 https://www.hokkaido-np.co.jp/article/720299/ 遺骨 2022-08-21 21:03:00
北海道 北海道新聞 余市の商店 スタンプ集めて巡って 余市紅志高生が企画、デザイン https://www.hokkaido-np.co.jp/article/720298/ 連合会 2022-08-21 21:03:00

コメント

このブログの人気の投稿

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

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

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)