投稿時間:2023-08-26 05:24:28 RSSフィード2023-08-26 05:00 分まとめ(28件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Amazon OpenSearch Ingestion supports Amazon Security Lake event ingestion | Amazon Web Services https://www.youtube.com/watch?v=YHtXukqRAWM Amazon OpenSearch Ingestion supports Amazon Security Lake event ingestion Amazon Web ServicesThis video demonstrates how customers could configure Amazon OpenSearch Ingestion to ingest Amazon Security Lake logs and events in near real time reducing the time to index security data Amazon Security Lake automatically centralizes security data from AWS environments SaaS providers and on premises into a purpose built data lake With this integration customers can now use the extensive security analytics capabilities and rich dashboard visualizations of Amazon OpenSearch Service to quickly make sense of all their security data Amazon Security Lake uses the Open Cybersecurity Schema Framework OCSF to normalize and combine security data from a broad range of enterprise security data sources in the Apache Parquet format Amazon OpenSearch Ingestion supports ingesting data in the Apache Parquet format allowing customers to ingest data from Amazon Security Lake and use inbuilt processors of Amazon OpenSearch Ingestion to convert the data into JSON documents before indexing in Amazon OpenSearch Service Amazon OpenSearch Ingestion also offers a blueprint for ingesting data specifically from Amazon Security Lake Learn more at Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster AmazonSecurityLake OSCFSchema AmazonOpenSearchIngestion ThreatDetection Investigation IncidentResponse AWSSecurityServicesFeatureDemos AWS AmazonWebServices CloudComputing 2023-08-25 19:05:08
海外TECH MakeUseOf 5 Wellness Practices for Standing Desk Users https://www.makeuseof.com/wellness-practices-standing-desk-users/ flexibility 2023-08-25 19:30:24
海外TECH MakeUseOf 7 Ways to Fix a Keyboard That Types Multiple Letters in Windows 10 https://www.makeuseof.com/windows-10-fix-keyboard-typing-multiple-letters/ Ways to Fix a Keyboard That Types Multiple Letters in Windows If your keyboard keeps typing multiple letters at once on Windows there may be several reasons behind why it s doing this Here s how to fix it 2023-08-25 19:16:24
海外TECH MakeUseOf An Introduction for Parents Talking to Children About Online Safety https://www.makeuseof.com/parents-approach-children-about-online-safety/ thing 2023-08-25 19:00:25
海外TECH DEV Community Killing the Create React App - CRA to Vite migration guide (Javascript) https://dev.to/navdeepm20/killing-the-create-react-app-cra-to-vite-migration-guide-javascript-1f5 Killing the Create React App CRA to Vite migration guide Javascript Create React App CRA is a popular tool for creating React applications It provides a quick and easy way to get started with React but it can be limiting in terms of features and flexibility Vite is a newer build tool that offers a number of advantages over CRA including faster development times smaller bundle sizes and more customization options Here are some of the reasons why you might want to migrate from CRA to Vite Faster development times Vite uses native ES modules and has a built in dev server that can hot reload your changes in real time This can save you a lot of time when you re developing your application Smaller bundle sizes Vite uses modern build tools to optimize your code which can result in smaller bundle sizes This can improve the performance of your application and make it easier to deploy to production More customization options Vite has a simpler configuration than CRA which gives you more control over how your application is built This can be helpful if you need to customize your build process for specific needs Of course there are also some potential drawbacks to migrating to Vite Less community support Vite is not as widely used as CRA so there is less community support available This can make it more difficult to find help with problems you might encounter when using Vite Overall the benefits of migrating from CRA to Vite outweigh the drawbacks If you re looking for a faster more customizable and more performant build tool for your React applications then Vite is a great option Let s now quickly see how we can do that If you already have an app running on Create React App or CRA with JS template then follow the below steps to migrate safely Note I am using Yarn here for package management If you are using npm or pnpm then use commands according to your package manager Step We have to install first vite in our project yarn add D vite vitejs plugin reactStep Uninstall the react script CRA from your project yarn remove react scriptsStep Let s modify our package json scripts scripts dev vite build vite build serve vite preview Step Create the vite config json in your root directory of the project touch vite config jsStep Copy paste the content mentioned below in your vite config js import defineConfig from vite import react from vitejs plugin react export default defineConfig gt return build outDir build plugins react Step Now one of the crucial step is to rename all the existing files from js to jsx Vite not supports js file containing any jsx syntax like lt or gt aka angular brackets but if you think any file is by mistake renamed then revert back that file to js extension To do that we have a smart command Thanks to this Github Conversationif using git then run this command in your root directory in bash terminal find src type f name js not name jsx not name ejs exec bash c grep l lt exec bash c git mv js jsx if not using git then run finds all js files that have either lt or gt tags in them and renames them to jsxfind src type f name js not name jsx not name ejs exec bash c grep l E lt gt exec bash c mv js jsx Step After renaming move the index html from public folder to your root directory mv public index html Step Afterward remove all PUBLIC URL occurrences in the index html file like mention below You can use global search ctrl shift s in vs code to find and replace it 🫡 lt link rel icon href PUBLIC URL favicon ico gt lt link rel icon href favicon ico gt lt do this for all occurrences gt Step Last link the src index js file in your moved index html file like this lt body gt lt div id root gt lt div gt lt script type module src src index jsx gt lt script gt lt body gt That s all for normal project using CRA We ll see few bonus tips ass well Now runyarn devNow open your browser and type localhost you ll see your project running That s all for a project running on CRA Now Let s see some bonus tips If you are using svg s as React Component you have to install svgr Run yarn add vite plugin svgrNow modify your vite config jsimport defineConfig from vite import react from vitejs plugin react import svgr from vite plugin svgr export default defineConfig gt return build outDir build plugins react svgr options svgr svgrOptions icon true which allows you to import SVGs as React components import ReactComponent as MyIcon from my icon svg If you want to use the path alias then modify your vite config jsimport path from path import defineConfig from vite import react from vitejs plugin react import svgr from vite plugin svgr export default defineConfig gt return resolve alias path resolve dirname src build outDir build plugins react which allows you to import from folders under the src folder import Button from components Button If you want to open browser on server start add the following code in your vite config jsimport defineConfig from vite import react from vitejs plugin react export default defineConfig gt return server open true build outDir build plugins react If you face error for your env variables saying process is undefined or anything similar then remove the REACT APP prefix from them and instead write VITE as prefix and instead of using process env use import meta env VARIABLE NAME For more info on vite env variable and modes Check Herei e envREACT APP TEST true toVITE TEST trueUse in this way from process env REACT APP TEST true toimport meta env VITE TEST trueIf you are using emotion update your vite config jsimport defineConfig from vite import react from vitejs plugin react export default defineConfig gt return build outDir build plugins react jsxImportSource emotion react babel plugins emotion babel plugin That s all for this guide If you face any issue or have any updates please comment below For more content please Share Like and Follow Thankyou 2023-08-25 19:13:57
海外TECH DEV Community 🎯 Overcoming Impostor Syndrome in the World of Web Development 💻 https://dev.to/mohsindev369/overcoming-impostor-syndrome-in-the-world-of-web-development-45pp Overcoming Impostor Syndrome in the World of Web Development Hey There Today I wanted to talk about something that many of us in the web development community have likely experienced at some point in our careers Impostor Syndrome Impostor Syndrome is that nagging feeling of self doubt and inadequacy even in the face of accomplishments and evidence of competence It s that voice in our heads that whispers Do I really belong here or Am I just lucky or do I actually know what I m doing Trust me you re not alone if you ve ever had these thoughts ‍ ️‍ ️In the fast paced and ever evolving world of web development it s easy to feel like you re falling behind or that you re not as skilled as your peers But here s the truth You ve come a long way and you deserve to be where you are Here are a few strategies I ve found helpful in combating Impostor Acknowledge Your Achievements Take a moment to reflect on your journey Remember the projects you ve successfully delivered the complex code you ve tackled and the problems you ve solved These accomplishments are proof of your skills and dedication Embrace Continuous Learning Web development is all about growth Instead of fixating on what you don t know focus on what you re learning Every challenge you overcome adds to your expertise Talk About It Don t be afraid to open up to your colleagues or mentors about how you re feeling You ll likely find that they ve experienced similar thoughts and can provide valuable perspective Celebrate Progress Break down your larger goals into smaller milestones Celebrate each achievement along the way It s a great way to remind yourself of your capabilities Remember You re Not Alone Impostor Syndrome is more common than you think Many successful developers have dealt with it too It s a sign that you care about your work and want to do your best Practice Self Compassion Treat yourself with kindness Remember that making mistakes is a natural part of learning and growing Don t be too hard on yourself Let s turn Impostor Syndrome into Impostor Strength ‍ ️‍ ️Remember every challenge you face and overcome is a step forward in your journey You belong in this field and your unique skills contribute to the vibrant web development community Have you experienced Impostor Syndrome How do you overcome it Let s start a conversation and support each other in the comments below WebDevelopment ImpostorSyndrome TechCommunity PersonalGrowth 2023-08-25 19:10:39
海外TECH DEV Community Using the event bus pattern in Android with Kotlin https://dev.to/theplebdev/handling-complex-state-logic-in-android-authentication-2mff Using the event bus pattern in Android with Kotlin Table of contentsEvent bus patterSharedFlowExtending the event bus pattern The codeGitHub Introduction Recently I have had to deal with some relatively complex state logic for a login system and this was how I dealt with it Event bus pattern So in nerd talk we can describe the Event bus pattern as this Event driven architecture pattern is a distributed asynchronous architecture pattern to create highly scalable reactive applications The pattern suits for every level application stack from small to complex ones The main idea is delivering and processing events asynchronously Which basically means we can have an event producer object and event subscriber objects that wait and listen for the event producer to produce events The subscribers can then consume and respond to those events The classic mental model is down below SharedFlow Now if you are unfamiliar with what a SharedFlow is just know that it is a hot flow Which means that when the terminal operator collect is called it will always be active However we are going to use a specialized version of a SharedFlow called the StateFlow for our event bus class DataStoreViewModel ViewModel private val oAuthUserToken MutableStateFlow lt String gt MutableStateFlow null init viewModelScope launch oAuthUserToken collect token gt token let oAuthToken gt make request now that the oAuthToken is not null fun setOAuthToken token String oAuthUserToken tryEmit token In the code block above we are registering a subscriber when calling oAuthUserToken collect Meaning that it will always be active as long as the scope it is calling is active if viewModelScope is destroyed then so is the subscriber Extending the event bus pattern Now there are going to be times when your authentication process has multiple steps and each step relies on the previous one Also at anytime one of those steps can fail meaning that the steps that relied on that one also fail So how do we model this problem We extend the event bus pattern like so data class MainBusState val oAuthToken String null val authUser ValidatedUser null private val authenticatedUserFlow combine flow MutableStateFlow lt String gt null flow MutableStateFlow lt ValidatedUser gt null oAuthToken validatedUser gt MainBusState oAuthToken validatedUser stateIn viewModelScope SharingStarted Lazily MainBusState oAuthToken null authUser null private val mutableAuthenticatedUserFlow MutableStateFlow authenticatedUserFlow value private fun collectAuthenticatedUserFlow viewModelScope launch mutableAuthenticatedUserFlow collect mainState gt mainState oAuthToken let notNullToken gt validateOAuthToken notNullToken mainState authUser let user gt uiState value uiState value copy clientId user clientId userId user userId The above code can be broken down into steps model your main state combine your flows register the subscribers emit to the flow Model your main statedata class MainBusState val oAuthToken String null val authUser ValidatedUser null each value in the MainBusState represents a step inside of the authentication process With the code you can tell that my app needs an oAuth Authentication token and it needs to validate the user The validated user step can not happen if there is no oAuth Authentication token Combine your flowsprivate val authenticatedUserFlow combine flow MutableStateFlow lt String gt null flow MutableStateFlow lt ValidatedUser gt null oAuthToken validatedUser gt MainBusState oAuthToken validatedUser stateIn viewModelScope SharingStarted Lazily MainBusState oAuthToken null authUser null This is done so we can take multiple flows and combined them into one object This makes it much easier and more readable we simply have to subscribe to a single flow The stateIn is just us turning the cold flow produced by combine into a hot flow register the subscribersprivate fun collectAuthenticatedUserFlow viewModelScope launch mutableAuthenticatedUserFlow collect mainState gt mainState oAuthToken let notNullToken gt validateOAuthToken notNullToken mainState authUser let user gt uiState value uiState value copy clientId user clientId userId user userId When this function is run it will last as long as the viewModelScope and it registers subscribers One subscriber is listening to the oAuthToken and the other to the authUser Both of which have their respective functions to run when they are not null Emit to the flow mutableAuthenticatedUserFlow tryEmit mutableAuthenticatedUserFlow value copy oAuthToken newTokenStrin Then to update the value to our mutableAuthenticatedUserFlow we simple call tryEmit with the updated values of our MainBusState The new emitted value will be given to our mutableAuthenticatedUserFlow and the values that are updated will given to their respective listeners ConclusionThank you for taking the time out of your day to read this blog post of mine If you have any questions or concerns please comment below or reach out to me on Twitter 2023-08-25 19:03:45
Apple AppleInsider - Frontpage News Early Labor Day deals knock up to $1,600 off Macs, Apple Studio Display at B&H Photo https://appleinsider.com/articles/23/08/25/early-labor-day-deals-knock-up-to-1600-off-macs-apple-studio-display-at-bh-photo?utm_medium=rss Early Labor Day deals knock up to off Macs Apple Studio Display at B amp H PhotoB amp H Photo is your go to destination for massive discounts on Apple computers and this week doesn t disappoint The photo giant slashed prices on popular models of MacBook Pro MacBook Air and even Mac mini Save big on high performance Macs at B amp H This week s best deals include a discount on a fully loaded inch MacBook Pro capable of handling your photo and video journey Or bring home the most affordable Mac product with the mini coming in at only and you get free expedited shipping in the lower that puts products in your hands in two days Read more 2023-08-25 19:15:33
海外科学 NYT > Science Wegovy, the Weight Loss Drug, Relieves Heart Failure Symptoms: Drugmaker’s Study https://www.nytimes.com/2023/08/25/health/weight-loss-drug-heart-failure.html Wegovy the Weight Loss Drug Relieves Heart Failure Symptoms Drugmaker s StudyThe drug Wegovy eased issues for people with a type of heart problem adding to the treatment s benefits beyond weight loss 2023-08-25 19:58:50
ビジネス ダイヤモンド・オンライン - 新着記事 ヤケクソでしょ!と思いきや…チョコなし「きのこの山」たけのこ派もビックリの大反響 - 井の中の宴 武藤弘樹 https://diamond.jp/articles/-/328249 酷暑 2023-08-26 04:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 【得意な人も注意したい】数学の公式丸暗記がダメな理由とは? - 【フルカラー図解】高校数学の基礎が150分でわかる本 https://diamond.jp/articles/-/328235 【得意な人も注意したい】数学の公式丸暗記がダメな理由とは【フルカラー図解】高校数学の基礎が分でわかる本子どもから大人まで数学を苦手とする人は非常に多いのではないでしょうか。 2023-08-26 04:47:00
ビジネス ダイヤモンド・オンライン - 新着記事 【有名国立大】横浜国立大学の学生にリアルな就活事情について話を聞いてみた - 大学図鑑!2024 有名大学82校のすべてがわかる! https://diamond.jp/articles/-/328232 2023-08-26 04:44:00
ビジネス ダイヤモンド・オンライン - 新着記事 職場にいる「頭のいい人」が仕事をするときに絶対に言わない3つの言葉とは? - 1秒で答えをつくる力 お笑い芸人が学ぶ「切り返し」のプロになる48の技術 https://diamond.jp/articles/-/328248 2023-08-26 04:41:00
ビジネス ダイヤモンド・オンライン - 新着記事 「社員の反発を受け入れられない」トップに待ち受ける悲劇(中編) - 新装版 売上2億円の会社を10億円にする方法 https://diamond.jp/articles/-/326609 「社員の反発を受け入れられない」トップに待ち受ける悲劇中編新装版売上億円の会社を億円にする方法コツコツと業績を伸ばしてきた経営者が直面する「売上の壁」。 2023-08-26 04:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 【採用面接】第一印象で落とされる人がやってしまう「感じの悪い話し方」 - 絶対内定 https://diamond.jp/articles/-/327657 杉村太郎 2023-08-26 04:32:00
ビジネス ダイヤモンド・オンライン - 新着記事 【全米屈指のデータサイエンティストが教える】全世界で通用する経済状況を根本から変える「たった3語」の投資哲学とは? - JUST KEEP BUYING https://diamond.jp/articles/-/327688 【全米屈指のデータサイエンティストが教える】全世界で通用する経済状況を根本から変える「たった語」の投資哲学とはJUSTKEEPBUYING【発売たちまち大重版】全世界万部突破『サイコロジー・オブ・マネー』著者モーガン・ハウセルが「絶対読むべき一冊」と絶賛。 2023-08-26 04:29:00
ビジネス ダイヤモンド・オンライン - 新着記事 「優秀な人が集まる職場」と「優秀な人がさっさと辞めていく職場」の決定的な違い - 理念経営2.0 https://diamond.jp/articles/-/328030 違い 2023-08-26 04:27:00
ビジネス ダイヤモンド・オンライン - 新着記事 自動的にチームがうまく回りだす「タックマンモデル」活用法 - 1位思考 https://diamond.jp/articles/-/327717 2023-08-26 04:26:00
ビジネス ダイヤモンド・オンライン - 新着記事 【名医が教える】がんは、3段階の悪化ルートをたどる - 糖質制限はやらなくていい https://diamond.jp/articles/-/327978 【名医が教える】がんは、段階の悪化ルートをたどる糖質制限はやらなくていい「日食では、どうしても糖質オーバーになる」「やせるためには糖質制限が必要」…。 2023-08-26 04:23:00
ビジネス ダイヤモンド・オンライン - 新着記事 「一見強そうな偽物リーダー」と「真に強いリーダー」を見分ける“決定的な違い”とは? - 影響力の魔法 https://diamond.jp/articles/-/327918 だから、相手の「理性」に訴えることよりも、相手の「潜在意識」に働きかけることによって、「この人は信頼できる」「この人を応援したい」「この人の力になりたい」という「感情」を持ってもらうことが大切。 2023-08-26 04:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 【直木賞作家が教える】 歴史が苦手な人に共通する残念な共通点とは? - 教養としての歴史小説 https://diamond.jp/articles/-/326917 【直木賞作家が教える】歴史が苦手な人に共通する残念な共通点とは教養としての歴史小説歴史小説の主人公は、過去の歴史を案内してくれる水先案内人のようなもの。 2023-08-26 04:17:00
ビジネス ダイヤモンド・オンライン - 新着記事 恐怖! メラニンが増えて顔が黒くなる?サウナの入り方ワースト1 - 医者が教える 究極にととのう サウナ大全 https://diamond.jp/articles/-/327819 恐怖メラニンが増えて顔が黒くなるサウナの入り方ワースト医者が教える究極にととのうサウナ大全サウナの入り方に戸惑う初心者から、サウナ慣れしてととのいにくくなってきた熟練サウナーまでそれぞれに合わせた「究極にととのう」ための入り方を、自らもサウナーの医師が解説した書籍「医者が教える究極にととのうサウナ大全」が発売に日常のパフォーマンスをあげ、美と健康をレベルアップする「最高のサウナの入り方」を、世界各国のエビデンスを元に教えます。 2023-08-26 04:14:00
ビジネス ダイヤモンド・オンライン - 新着記事 【メンタルダウンから復活した元自衛官が語る】不眠気味から熟睡できる体質に変わった「3つの習慣」とは? - 無意識さんの力でぐっすり眠れる本 https://diamond.jp/articles/-/327992 元自衛官 2023-08-26 04:11:00
ビジネス ダイヤモンド・オンライン - 新着記事 「仕事が速い人」と「遅い人」、1日の最初にやることの決定的な違い - 時間最短化、成果最大化の法則 https://diamond.jp/articles/-/327921 最新刊『キミが信頼されないのは話が「ズレてる」だけなんだ』や衝撃のデビュー作『絶対達成する部下の育て方』などのベストセラー作家でもある横山氏は、『時間最短化、成果最大化の法則』をどう読み解いたのか。 2023-08-26 04:08:00
ビジネス ダイヤモンド・オンライン - 新着記事 「勉強」がこの世で一番面白いと言える理由 - 勉強が一番、簡単でした https://diamond.jp/articles/-/328256 「勉強」がこの世で一番面白いと言える理由勉強が一番、簡単でした韓国で長く読まれている勉強の本がある。 2023-08-26 04:05:00
ビジネス ダイヤモンド・オンライン - 新着記事 【幸福感を得る】毎月「あと10万円」を増やす方法 - 40代からは「稼ぎ口」を2つにしなさい https://diamond.jp/articles/-/328253 新刊『代からは「稼ぎ口」をつにしなさい年収アップと自由が手に入る働き方』では、余すことなく珠玉のメソッドを公開しています。 2023-08-26 04:02:00
ビジネス 東洋経済オンライン 夏のゴルフで「薄毛」に気づく人も、AGA治療の現実 年齢や状況によっては治療が困難なケースも | 健康 | 東洋経済オンライン https://toyokeizai.net/articles/-/694636?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2023-08-26 04:50:00
ビジネス 東洋経済オンライン 次世代型路面電車「宇都宮LRT」鉄道との違いは? 近代的車両で新規開業、だが法律は大正生まれ | 法律で見える鉄道のウラ側 | 東洋経済オンライン https://toyokeizai.net/articles/-/696528?utm_source=rss&utm_medium=http&utm_campaign=link_back 大正生まれ 2023-08-26 04:30: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件)