投稿時間:2021-05-28 05:29:33 RSSフィード2021-05-28 05:00 分まとめ(30件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Compute Blog Building Amazon Machine Images (AMIs) for EC2 Mac instances with Packer https://aws.amazon.com/blogs/compute/building-amazon-machine-images-amis-for-ec2-mac-instances-with-packer/ Building Amazon Machine Images AMIs for EC Mac instances with PackerThis post is written by Joerg Woehrle AWS Solutions Architect On November AWS announced the availability of Amazon EC Mac instances EC Mac instances are powered by the AWS Nitro System and built on Apple Mac mini computers This blog post focuses on the specific best practices of building custom AMIs for EC … 2021-05-27 19:58:35
AWS AWS Media Blog “AWS Is How”: HGTV provides design inspiration anywhere you are https://aws.amazon.com/blogs/media/aws-is-how-hgtv-design-inspiration/ “AWS Is How HGTV provides design inspiration anywhere you are nbsp The number of people renovating and redecorating their homes rose sharply over the past year as people spent more time in their living spaces The uncertain environment need to stay close to home and low interest rates motivated people to invest in their kitchens bedrooms and backyard getaways HGTV is a top ten cable … 2021-05-27 19:30:59
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) Ruby Sinatra で HTTPS通信を実装する方法 https://teratail.com/questions/340771?rss=all apache 2021-05-28 04:54:21
Program [全てのタグ]の新着質問一覧|teratail(テラテイル) "Exception: Argument cannot be null: a1Notation"の解決について https://teratail.com/questions/340770?rss=all 誤った回答には色がついています。 2021-05-28 04:09:15
Ruby Railsタグが付けられた新着投稿 - Qiita 【Rails】コメント機能の導入 https://qiita.com/oak1331/items/a75d394e652d3e857bff 【Rails】ユーザー管理機能deviseの導入手順Commentモデルの作成アソシエーションの設定バリデーションの設定ルーティングの設定comentsコントローラーの作成・編集postsコントローラーの編集ビューファイルの編集前置き今回はRailsで作成したアプリにコメント機能を導入します。 2021-05-28 04:08:49
海外TECH Ars Technica PlayStation users left out of Borderlands 3 cross-platform features https://arstechnica.com/?p=1768176 revenue 2021-05-27 19:10:51
海外TECH DEV Community Introduction to Micro Frontends with Module Federation, React and Typescript https://dev.to/ogzhanolguncu/introduction-to-micro-frontends-with-module-federation-react-and-typescript-nij Introduction to Micro Frontends with Module Federation React and TypescriptThe Micro Frontend is one of the hottest topics on the internet right now We hear it all the time but what is micro Frontend Imagine a website with lots of components such as Navbar Footer Main Container and Side Menu What would happen if they were being served from different domains Yes you guessed it right we would ve ended up with a micro Frontend Now thanks to micro frontend technologies we can deal with those apps separately We can write their unit tests separately ee tests separately we can even use different frameworks like Angular Vue and Svelte There are two major players to make those things happen right now one of them is Module Federation and another one is Single SPA which I covered here Migrating CRA to Micro Frontends with Single SPA Unlike Single SPA Module Federation is lot less opiniated You can architect your project however you want in Module Federation whereas in Single SPA you need setup a config file and architect your project around this file And there is only one thing scary about micro Frontends and that is configurations Initial configuration scares people away because there are lots of pieces you need to bring together and if it s your first time without guidance it s so easy to get lost Working ExampleThis a POC Proof of Concept project it may not look great but that s not the point in our case Project s Github addressLive Example Module FederationThe Module Federation is actually part of Webpack config This config enables us to expose or receive different parts of the CRA to another CRA project These separate project should not have dependencies between each other so they can be developed and deployed individually Let s first start by creating our Container project which exports other two app APP and APP npx create react app container template typescript Container App Project Structurecontainer├ーpackage json├ーpublic│├ーindex dev html│└ーindex prod html├ーsrc│├ーApp tsx│├ーbootstrap tsx│└ーindex ts├ーtsconfig json├ーwebpack config js├ーwebpack prod js└ーyarn lockLet s add our dependenciesyarn add html webpack plugin serve ts loader webpack webpack cli webpack dev serverWe need to make some changes Create a file called bootstrap tsx and move index ts into bootstrap tsx bootstrap tsximport App from App import React from react import ReactDOM from react dom ReactDOM render lt App gt document getElementById root And add those into index ts index tsimport bootstrap export And finally add those into app tsx for future use We will discuss them later app tsximport React from react ts ignoreimport CounterAppTwo from app CounterAppTwo ts ignoreimport CounterAppOne from app CounterAppOne export default gt lt div style margin px gt lt React Suspense fallback Loading header gt lt div style border px dashed black height vh display flex justifyContent space around alignItems center flexDirection column gt lt h gt CONTAINER lt h gt lt div style display flex flexDirection row justifyContent space around gt lt div style marginRight rem padding rem border px dashed black gt lt h gt APP lt h gt lt CounterAppOne gt lt div gt lt div style border px dashed black padding rem gt lt h gt APP lt h gt lt CounterAppTwo gt lt div gt lt div gt lt div gt lt React Suspense gt lt div gt We ve completed component parts and here comes the critical part We need to setup our container apps Webpack to receive app and app webpack config jsconst HtmlWebpackPlugin require html webpack plugin const ModuleFederationPlugin require webpack container const path require path const deps require package json dependencies module exports entry src index ts mode development devServer contentBase path join dirname dist port output publicPath http localhost resolve extensions ts tsx js module rules test js jsx tsx ts loader ts loader exclude node modules plugins new ModuleFederationPlugin name container library type var name container remotes app app app app shared deps react singleton true eager true requiredVersion deps react react dom singleton true eager true requiredVersion deps react dom new HtmlWebpackPlugin template public index dev html Update your package json scripts as follows scripts start webpack serve open build webpack config webpack prod js serve serve dist p clean rm rf dist Update your tsconfig as follows compilerOptions target es lib dom dom iterable esnext allowJs true skipLibCheck true esModuleInterop true allowSyntheticDefaultImports true strict true forceConsistentCasingInFileNames true noFallthroughCasesInSwitch true module esnext moduleResolution node resolveJsonModule true isolatedModules true noEmit false jsx react jsx include src Most important thing to consider is ModuleFederationPlugin We specify name of the module and remotes we receive from outside of the project And set shared dependencies for eager consumption Don t mess up remote names If the names are set incorrectly project won t compile Final step is to edit index html lt html gt lt head gt lt script src http localhost remoteEntry js gt lt script gt lt script src http localhost remoteEntry js gt lt script gt lt head gt lt body gt lt div id root gt lt div gt lt body gt lt html gt Here we add remotes with corresponding ports Now our container app is ready we need setup app and app and expose lt Counter gt components Steps are pretty much the same we ll setup bootstrap tsx and webpack config js There are only minor changes in webpack config App Project Structure├ーpackage json├ーpublic│└ーindex html├ーREADME md├ーsrc│├ーApp tsx│├ーbootstrap tsx│├ーcomponents││└ーCounterAppOne tsx│└ーindex ts├ーtsconfig json├ーwebpack config js├ーwebpack prod js└ーyarn lockLet s add our dependenciesnpx create react app app template typescriptyarn add html webpack plugin serve ts loader webpack webpack cli webpack dev serverJust like we did in Container app we ll setup bootstrap tsx index ts and app tsx bootstrap tsximport App from App import React from react import ReactDOM from react dom ReactDOM render lt App gt document getElementById root And add those into index ts index tsimport bootstrap export And finally add those into app tsx for future use We will discuss them later app tsximport React from react import CounterAppOne from components CounterAppOne const App gt lt div style margin px gt lt div gt APP S lt div gt lt div gt lt CounterAppOne gt lt div gt lt div gt export default App Now we will create lt Counter gt component which we will expose to container later in webpack config components gt CounterAppOne tsximport React useState from react const Counter gt const count setCount useState return lt div gt lt p gt Add by one each click lt strong gt APP lt strong gt lt p gt lt p gt Your click count count lt p gt lt button onClick gt setCount count gt Click me lt button gt lt div gt export default Counter We are pretty much done here just need to add webpack configs const HtmlWebpackPlugin require html webpack plugin const ModuleFederationPlugin require webpack container const path require path const deps require package json dependencies module exports entry src index ts mode development devServer contentBase path join dirname dist port output publicPath http localhost resolve extensions ts tsx js module rules test js jsx tsx ts loader ts loader exclude node modules plugins new ModuleFederationPlugin name app library type var name app filename remoteEntry js exposes expose each component CounterAppOne src components CounterAppOne shared deps react singleton true eager true requiredVersion deps react react dom singleton true eager true requiredVersion deps react dom new HtmlWebpackPlugin template public index html Update your package json scripts as follows scripts start webpack serve open build webpack config webpack prod js serve serve dist p clean rm rf dist Update your tsconfig as follows compilerOptions target es lib dom dom iterable esnext allowJs true skipLibCheck true esModuleInterop true allowSyntheticDefaultImports true strict true forceConsistentCasingInFileNames true noFallthroughCasesInSwitch true module esnext moduleResolution node resolveJsonModule true isolatedModules true noEmit false jsx react jsx include src Edit index html lt html gt lt head gt lt head gt lt body gt lt div id root gt lt div gt lt body gt lt html gt This config has some differences We set port differently exposed our app instead of remoting it and we have a thing called filename where expose ourmodule to different modules Remember that we add lt script src http localhost remoteEntry js gt lt script gt to our container index html This is wherecontainer will look up for app Important things here name app filename remoteEntry js exposeExposing the wrong path very likely to cause a failure at compile time Also settting up wrong name will cause a problem because container is looking for app if it can tfind it it will fail App Project Structure├ーpackage json├ーpublic│└ーindex html├ーREADME md├ーsrc│├ーApp tsx│├ーbootstrap tsx│├ーcomponents││└ーCounterAppTwo tsx│└ーindex ts├ーtsconfig json├ーwebpack config js├ーwebpack prod js└ーyarn lockApp is pretty much the same Create a new react project do all the thing above and just add lt CounterAppTwo gt and webpack config components gt CounterAppTwoimport React useState from react const Counter gt const count setCount useState return lt div gt lt p gt Multiply by two each click lt strong gt APP lt strong gt lt p gt lt p gt Your click count count lt p gt lt button onClick gt setCount prevState gt prevState gt Click me lt button gt lt div gt export default Counter webpack config jsconst HtmlWebpackPlugin require html webpack plugin const ModuleFederationPlugin require webpack container const path require path const deps require package json dependencies module exports entry src index ts mode development devServer contentBase path join dirname dist port output publicPath http localhost resolve extensions ts tsx js module rules test js jsx tsx ts loader ts loader exclude node modules plugins new ModuleFederationPlugin name app library type var name app filename remoteEntry js exposes expose each component CounterAppTwo src components CounterAppTwo shared deps react singleton true eager true requiredVersion deps react react dom singleton true eager true requiredVersion deps react dom new HtmlWebpackPlugin template public index html Update your package json scripts as follows scripts start webpack serve open build webpack config webpack prod js serve serve dist p clean rm rf dist Update your tsconfig as follows compilerOptions target es lib dom dom iterable esnext allowJs true skipLibCheck true esModuleInterop true allowSyntheticDefaultImports true strict true forceConsistentCasingInFileNames true noFallthroughCasesInSwitch true module esnext moduleResolution node resolveJsonModule true isolatedModules true noEmit false jsx react jsx include src Edit index html lt html gt lt head gt lt head gt lt body gt lt div id root gt lt div gt lt body gt lt html gt Now go to each project and run yarn start and navigate to localhost If you head over to sources tab in yourdeveloper console you ll see that each app comes from different port Roundup ProsEasier to maintainEasier to testIndependent deployIncreases scalability of the teams ConsRequires lots of configurationIf one of the projects crashes may affect other micro frontends as wellHaving multiple projects run on the background for the developmentIn essence it s pretty easy bunch of apps getting together in a same website and being served from different servers If you are dealing with huge codebases it s a fantastic technologyto keep in your arsenal It will feel like a breeze to decouple your huge components into little apps I hope I encouraged you to give micro frontends a try 2021-05-27 19:12:44
海外TECH DEV Community My Top Trick To Learn Programming Languages Fast. https://dev.to/saifullahusmani/my-top-trick-to-learn-programming-languages-fast-50gl My Top Trick To Learn Programming Languages Fast Hello I am a passionate programmer I was introduced to programming when I was via a google search on How To Make Games Since then I always wanted to get good at programming I found unityD Game Engine as a result of that google search Which lead me to the path of learning C Analyzing My Progress After YearsAfter Years into unity and C I realized that I am not good at programming and I cannot code without the help of tutorials So that was the point in my life where I felt I am doing something wrong And then I started to research more about C and found out that the C I am learning in unity is just a framework and the real C is something different And C can be used to build other stuff too How silly of me Road To Learning Programming Languages ProperlyNow it was the time that I start learning programming properly I decided to get started with learning the easiest languages Html and CSS I know they are not real programming languages Something Amazing HappenedI was able to learn HTML in just day and CSS in the next day And I build my own site the third day Fortunately it was not by luck or any extraordinary IQ level But It was possible through a strategy I created and followed The StrategySo the strategy is pretty simple but not easy You have to follow these steps to learn any programming language fast Take pen and paper Open up a full course on YouTube Take notes by writing syntax on one side and it s purpose on the other side Take note of definitions so you can explain to someone else or just understand the use of syntax better Practice each syntax and try to do something on your own with that syntax practically in the computer Watch the whole hour course like an eccentric and follow all steps Close the tutorial and relax Sleep nice Wake up and revise each syntax from the notes Build something exciting Start leaning other language or just build projects You are good to go Believe it or not but I did it and since then I never forgot the syntax of HTML or CSS Later I learned Python and then my journey never stopped I would love to listen your story of learning your first programming language Follow me YouTube Programming Tutorials Coming Soon Discord 2021-05-27 19:03:13
Apple AppleInsider - Frontpage News Thursday steals: 512GB M1 Mac mini drops to $799, Apple Watch sale, 50% off Beats https://appleinsider.com/articles/21/05/27/thursday-steals-512gb-m1-mac-mini-drops-to-799-apple-watch-sale-50-off-beats?utm_medium=rss Thursday steals GB M Mac mini drops to Apple Watch sale off BeatsEarly Memorial Day deals are here and Amazon has reissued its popular discount on the M Mac mini along with off the Apple Watch SE and an eye popping half off Beats Solo Pro Wireless headphones Early Memorial Day Apple dealsThe latest deals from Amazon include the return of the M Mac mini with GB of memory and a GB SSD The discount is in the form of a instant rebate paired with in bonus savings at checkout Read more 2021-05-27 19:34:57
Apple AppleInsider - Frontpage News University of Nevada partners with Apple to provide iPads to students https://appleinsider.com/articles/21/05/27/university-of-nevada-partners-with-apple-to-provide-ipads-to-students?utm_medium=rss University of Nevada partners with Apple to provide iPads to studentsThe Digital Wolf Pack Initiative at the University of Nevada will provide all incoming freshmen with an iPad Air accessories and training to ensure equal access to technology The iPad Air In total the University of Nevada will provide the entire freshman class with a free iPad Air Smart Keyboard Folio and an Apple Pencil to fulfill the Digital Wolf Pack Initiative The iPad comes bundled with a free suite of iWork apps that include Pages Keynote and Numbers Read more 2021-05-27 19:27:41
海外TECH Engadget 'Dying Light 2 Stay Human' heads to PC and consoles on December 7th https://www.engadget.com/dying-light-stay-human-december-7-192719797.html?src=rss_b2c subtitle 2021-05-27 19:27:19
海外TECH Engadget PayPal and Venmo will let you send cryptocurrency to third-party wallets https://www.engadget.com/paypal-venmo-cryptocurrency-third-party-wallets-191652429.html?src=rss_b2c party 2021-05-27 19:16:52
海外TECH Engadget The Galaxy Tab S7 FE and Tab A7 Lite are cheaper takes on Samsung's 2020 tablets https://www.engadget.com/samsung-galaxy-tab-s-7-fe-tab-a-7-lite-announcement-190451932.html?src=rss_b2c The Galaxy Tab S FE and Tab A Lite are cheaper takes on Samsung x s tabletsTaking a page from its Galaxy S and S playbooks Samsung has announced the Galaxy Tab S FE and Galaxy Tab A Lite two more affordable versions of the Tab S and Tab A tablets it released last year 2021-05-27 19:04:51
海外TECH CodeProject Latest Articles Scrollable & Sortable Table with Fixed Header and Ellipses https://www.codeproject.com/Tips/1047966/Scrollable-Sortable-Table-with-Fixed-Header-and-El javascript 2021-05-27 19:46:00
医療系 医療介護 CBnews LIFE登録数は約6万事業所と当初の10倍に-開始から現在までの状況は? 厚労省担当者インタビュー https://www.cbnews.jp/news/entry/20210527161125 厚生労働省 2021-05-28 05:00:00
ニュース BBC News - Home Covid-19: Up to 75% of new UK cases could be Indian variant - Matt Hancock https://www.bbc.co.uk/news/uk-57275276 hancock 2021-05-27 19:33:47
ニュース BBC News - Home Covid: Live music events to return in Wales https://www.bbc.co.uk/news/uk-wales-57274118 groups 2021-05-27 19:24:50
ニュース BBC News - Home Picking Olympic GB squad 'the hardest decision I ever made' - Riise https://www.bbc.co.uk/sport/football/57275615 Picking Olympic GB squad x the hardest decision I ever made x RiiseHead coach Hege Riise says selecting the players to represent Great Britain at this summer s Olympic Games was the hardest decision I ever made 2021-05-27 19:01:33
ビジネス ダイヤモンド・オンライン - 新着記事 「デジタル給与払い」のデメリットが利用者にとって大きいと言える理由 - News&Analysis https://diamond.jp/articles/-/272415 newsampampanalysis 2021-05-28 04:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 米で12年半ぶりの物価急上昇、利上げ判断に悩むFRBに新たな難題 - 政策・マーケットラボ https://diamond.jp/articles/-/272411 大幅上昇 2021-05-28 04:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 【期間限定動画】KFC新入社員の離職をゼロにしたプロが教える「社員が辞めない会社づくり」 - Udemy発!学びの動画 https://diamond.jp/articles/-/270463 udemy 2021-05-28 04:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 ライフ、マルエツ…コロナ特需に沸いた食品スーパーが「総崩れ」したワケ[見逃し配信] - 見逃し配信 https://diamond.jp/articles/-/272480 前年同期 2021-05-28 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 「企業の突然死」のニューノーマル、高まる反社リスクとは - 倒産のニューノーマル https://diamond.jp/articles/-/272486 破産手続き 2021-05-28 04:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 ステーブルコインの危うさ、米開拓時代にヒント - WSJ発 https://diamond.jp/articles/-/272577 開拓 2021-05-28 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 居酒屋系クリームソーダまで登場!「21世紀の禁酒法」に喘ぐ飲食店の未来は? - 今週もナナメに考えた 鈴木貴博 https://diamond.jp/articles/-/272485 鈴木貴博 2021-05-28 04:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 大阪の医療崩壊から得られた「現場目線の貴重な教訓」、救急医が徹底解説 - DOL特別レポート https://diamond.jp/articles/-/272422 2021-05-28 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 「あおり運転による銃撃事件」が米国で急増する理由とは - News&Analysis https://diamond.jp/articles/-/272484 newsampampanalysis 2021-05-28 04:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 台湾「コロナ封じ込め優等生」のプライド、日本とのレベルの違いとは - China Report 中国は今 https://diamond.jp/articles/-/272482 chinareport 2021-05-28 04:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 日米の株価連動型投資信託と預金に老後資産を振り分けるべき理由 - 初心者のための「老後資金」対策講座 https://diamond.jp/articles/-/272409 分散投資 2021-05-28 04:05:00
ビジネス 不景気.com 名鉄が旅行事業で店舗数を25%削減、人員は15%削減 - 不景気.com https://www.fukeiki.com/2021/05/meitetsu-kanko-restructure.html 名古屋鉄道 2021-05-27 19:04:22

コメント

このブログの人気の投稿

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