投稿時間:2022-02-16 20:33:47 RSSフィード2022-02-16 20:00 分まとめ(35件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese キャンプへ持ち運び可能な折りたたみ式。ステンレス製薪ストーブ「四季」 https://japanese.engadget.com/wood-stove-105030041.html キャンプの醍醐味を堪能天板部で調理できるのでキャンプ飯もしっかり楽しめます。 2022-02-16 10:50:30
python Pythonタグが付けられた新着投稿 - Qiita 【業務効率化】フォルダ内の大量のテキストファイルから特定の値を抜き出す https://qiita.com/oki_kosuke/items/75406f9e9c916331f900 計算プログラムの実行結果をイメージしています。 2022-02-16 19:35:41
Git Gitタグが付けられた新着投稿 - Qiita Tips: Vimを開くたびにローカルの不要なgitブランチを削除する https://qiita.com/getty104/items/27543bdb143c6373123f 二つ目のコマンドは「不要なブランチを指定洗い出す」ためのコマンドになります。 2022-02-16 19:44:09
技術ブログ Developers.IO nOps の始め方:AWS の構成情報とコスト情報を nOps に連携する https://dev.classmethod.jp/articles/202202-how-to-integrate-aws-accounts-to-nops/ cloudformati 2022-02-16 10:54:09
技術ブログ Developers.IO nOps の始め方:アカウント作成方法 https://dev.classmethod.jp/articles/202202-how-to-create-and-subscribe-nops/ awswellarchitected 2022-02-16 10:52:49
技術ブログ Developers.IO AirPods Proを紛失扱いにてサポートから注文手続きをしてみた https://dev.classmethod.jp/articles/support-airpods-recover/ airpodspro 2022-02-16 10:44:49
海外TECH DEV Community How to do Canary Release / Progressive Delivery with ConfigCat https://dev.to/daveyhert/how-to-do-canary-release-progressive-delivery-with-configcat-h5l How to do Canary Release Progressive Delivery with ConfigCatIn this post we ll look at how we can easily implement a canary release of a feature in steps using ConfigCat s feature flagging service through its provided dashboard This step by step guide will showcase how we can release a new feature incrementally by first exposing it to low risk user groups e g team members and possibly friends and then gradually releasing it to a larger audience using ConfigCat a feature flag service to implement everything So let s get right to it The assumption is that we have logged into our ConfigCat s dashboard and successfully implemented an instance of a feature flag named “Facebook Sharing Enabled in our application Step Unreleased StateWe ll take it from the start where we have our feature flag set up and initially toggled off for all users Step Releasing Only to Team MembersFollowing that we need to release the feature to only team members This allows you to get immediate feedback from your team Step Releasing to Team Members and FriendsAfterwards we proceed to include friends or people in your circle that you have a good relationship with in the feature s release by having it available to only team members and these people This allows you to get feedback from real users who will be cooperative with you Step Releasing to of Users But No Sensitive UsersIf more feedback is needed the next step would be to have it released to random people say of users making sure to exclude the most risky users i e those with high expectations and a lot of money In the screenshot we ve targeted those users from the United States as our sensitive users Step Releasing to of Users But No Sensitive UsersNow we proceed to release it to even more random people say of users but still excluding any sensitive users Now we have our feature available to team members friends and of our user base excluding sensitive users Step Releasing to Everyone Except Sensitive UsersThe next step is to have the feature available to everyone except our sensitive users At this point enough confidence has been gained from the received feedback to test it on everyone The next step is to have the feature available to everyone except our sensitive users Step Releasing to EveryoneIf all errors have been fixed UI glitches corrected and all the test users are happy with the feature then it s finally safe to release it to our entire user base including the sensitive users ConclusionAs we have seen implementing a canary feature release is no rocket science especially when using ConfigCat as it provides a feature management service with an easy to use dashboard that makes it convenient and intuitive to do just that Even a non technical team member can handle canary releases with ConfigCat s minutes trainable feature flag and configuration management service 2022-02-16 10:42:51
海外TECH DEV Community Let's talk about performance and MongoDB https://dev.to/playtomic/lets-talk-about-performance-and-mongodb-4048 Let x s talk about performance and MongoDBIf you a backend developer had to describe your job what would you say We usually talk a lot about servers clusters layers algorithms software stacks memory consumption We put data into databases and we get it back as fast as we can Databases are our cornerstone Why don t we talk more often about them We are always relying on our ORMs My best advice Simplify your queries Simplify your data models Simplify your access patterns Performance in MongoDB MetricsIf you are using MongoDB these two metrics will be your best friends Scanned Documents Returned ratioIOPS Scanned docs returned it means how many documents you are reading from disk vs the number of documents you are actually returning in your find or aggregate Ideally this should be every document read is returned The only way to get it All your queries must be covered by indexes Indexes are in memory or they are if they fit so MongoDB doesn´t have to read and filter them from disk IOPS I O operations per second That is operations on disk It is correlated with scanned docs as they are read from disk But there are more sources of IOPS for example writes Your disk will give you a limit to your maximum IOPS Ours is Your goal is to keep IOPS below that threshold and as low as possible It is hard to know how many IOPS your query consumes but it is easy to know the scanned docs returned ratio ToolsHow can you analyze why your database is behaving as it is MongoDB ProfilerIf you can afford to enable it do it now It s the best source of info We use the Atlas MongoDB Profiler and it is worth every penny Explain plannerThe planner is the key to understanding your access patterns There are several ways of calling it but you can start with explain after your cursor db our collection find query explain You can use add executionStats to get more data about the query db our collection find query explain executionStats There are many stages but these ones are the most important COLLSCAN the query is scanning the collection in disk Pretty bad as no index covered the search so MongoDB has to read the whole collection IXSCAN the query is using an index to filter It doesn´t mean that all the query is covered by the index but at least some part FETCH the planner is reading the documents from the collection If your query is returning documents you will get a FETCH stage probably unless your query is covered by the index This is an example of one of our queries winningPlan stage COLLSCAN filter and or invitaed user id eq owner id eq player id eq is canceled eq false This is not good as it is scanning the whole collection Another one db our collection find query explain executionStats executionStats executionSuccess true nReturned executionTimeMillis totalKeysExamined totalDocsExamined executionStages stage FETCH nReturned docsExamined inputStage stage OR nReturned inputStages stage IXSCAN nReturned indexName example index indexBounds owner id start date MaxKey MinKey stage IXSCAN nReturned indexName example index indexBounds player id start date MaxKey MinKey keysExamined dupsDropped Here you can two see IXSCANs merged by and OR After that the query is fetching the documents I am reading the query inside out example index is used to resolve one part of the query and example index for the other part Sometimes you will get a FETCH just after an IXSCAN it means that the index covers only part of the filter After that the planner needs to read the documents from disk to finish the filter The complete list of stages You need to check the code Simplify your queries ors ors are the devil You as a programmer are used to thinking in ors You add a few ors your condition gets much more expressive But guess what Your query has gotten exponentially more complex With every condition you add to the or you are adding one more combination of parameters How does the planner resolve all those combinations It needs an index for each of them Do you remember the explain above The query was or owner id player id The indexes used example index owner id start date example index player id start date And here is another tip bigger indexes can cover smaller queries as long as the fields are at the beginning of the index We are not using start date to filter What would happen if I add an extra or or owner id player id or is canceled true start date gt ISODate T Then there would need combinations owner id is canceled owner id start date player id is canceled player id start date Denormalized fieldsIf you find yourself filtering by several fields within an or or sorting by several fields consider adding a denormalized field based on the others Yeah my apologies to the third normal form Keep reading we will give an example pretty soon using the so called Summary Pattern nulls are always the minimum valueThis is a minor trick but still useful Let s say you have a nullable field and you have to filter or sort descending by that field You will probably find yourself using a query similar to this or field exists false field lte value That is if the field is null then it passes the filter Otherwise compare We used this filter to check if a player could join a match given their level and the level restrictions of the match That s an or We don t like ors What would happen if we compare our value to null Let s check the sorting rules in MongoDB MinKey internal type NullNumbers ints longs doubles decimals Symbol StringObject MaxKey internal type That is null is always the lower value when comparing except for the MinKey object we will talk about it later Our query can be simplified by this field lte value It works for lt and lte lower than and lower or equal It works too if you are sorting by descending order of field field because the object with null will be at the end of the sort Counts are costly in MongoDBCounting seems an easy operation but it is not Even if you have an index MongoDB needs to traverse the index due to the way MongoDB builds B trees they don t store the number of leaves that the sub tree have So they need to traverse the index until the end Again if you are counting using a query with or it makes the counting even more complex the query needs to take into account possible repeated documents For example we used counts to compute the position of a player in a ranking the original query was even more complex ranking id or value gt value eq last modified gt It required several indexes to count ranking id value ranking id value last modified How can we avoid counting on several indexes Add a single field that summarize the fields that you are filtering For example weight append value last modified With that new field we only required one single index Indexes ranking id weight This is called the Summary Pattern How to build indexesOk indexes are our best tool to keep MongoDB as performant as possible So the next step how do we know what indexes we should build Performance advisorIf you are in Atlas use the Performance advisor At some point you will know your system better than the Performance Advisor but it is a good starting point Clone your production collections and explain it in localTest your indexes thoroughly before you put them in production it takes a lot of IOPS to build them once you built it the planner is taking it into account too even if it is not finally used Remember what we said before COLLSCAN bad IXSCAN good FETCH good if it is the final step Bad in between Others that you will see COUNT ok MERGE ok ish you probably could do better MERGE COUNT good By the way there are blocking and non blocking stages meaning that a stage needs to wait for the previous one before it can start computing results ESR Equal Sort RangeHave you ever wondered what fields should go first in an index You need to follow this rule Fields filtered by equals eq in in some cases go first Then fields used in the sort stage Remember that the index has to be built in the same order as you are sorting Then fields filtered by a range lt lte gt ESR is the most useful rule you will find to build indexes You should read as much as you can about it until you understand it This post by Alex Belilacqua is a gem Disambiguate equalsIf you have two fields that are going to be filtered by eq what should go first The answer is that it doesn t matter You don t need to worry about having a more balanced tree Just keep in mind the ESR rule If one of them goes in a sort or a range then it goes the latter Rollover processBuilding an index is one of the most costly operations Your IOPS will go nuts If you need to do that in your production environment and your collection is big enough then we recommend you to use a rolling process It starts the index build in a secondary then promotes it to primary once the build is finished You will be able to build any index even when your database load is high In Atlas it s just one click Remove Hide indexesThe more indexes you have the worst for the planner The planner runs the query through the indexes it has and then takes the most promising Again counting when you have several indexes is pretty bad Sometimes you cannot just remove an index in production You can check using your profiler if it can be removed but you might not be One not frequent query might launch a COLLSCAN and then you would miss that index Luckily since MongoDB you can hide indexes We use them to detect what indexes we can remove safely Limit your queriesHave you set a maximum limit of time to your queries Why not Do your clients have a request time out Then it can be a healthy practice to avoid unexpected uses of your APIs db our collection countDocuments query maxTimeMS MongoServerError Error in cursor stage caused by operation exceeded time limitDo you see all these orange dots No one was waiting for the backend to reply References 2022-02-16 10:21:38
海外TECH DEV Community Setting up for connect fetching local API or http React Native IOS / MacOS https://dev.to/charismaaji/setting-up-for-connect-fetching-local-api-or-http-react-native-ios-macos-2pd8 Setting up for connect fetching local API or http React Native IOS MacOSSome of you maybe got confused why the API doesn t work and get error when try to connect to local API or maybe http instead https It because by default React Native cannot connect to API with http request it s should be httpsTo solve this problem you need a bit setup on plist filefirst go to folder ios gt your file name gt info plistfor exampleios gt FashionApp gt info plistafter that you copy this file lt key gt NSAppTransportSecurity lt key gt lt dict gt lt key gt NSExceptionDomains lt key gt lt dict gt lt key gt NSExceptionAllowsInsecureHTTPLoads lt key gt lt true gt lt key gt localhost lt key gt lt dict gt lt key gt NSExceptionAllowsInsecureHTTPLoads lt key gt lt true gt lt dict gt lt dict gt lt key gt NSAllowsArbitraryLoads lt key gt lt true gt lt dict gt Block this section on plist file and delete it After that you paste from your copying beforeSuccess now you can connect with http or local host without get any errors If you have any question feel free to ask me onemail charismakurniawan gmail cominstagram charismaaji 2022-02-16 10:00:42
海外TECH Engadget Paramount is making a 'Baby Shark' movie https://www.engadget.com/paramount-is-making-a-baby-shark-movie-103250746.html?src=rss Paramount is making a x Baby Shark x movieJust last month the original Baby Shark video and its impossibly catchy song set a record with billion views on YouTube Now Baby Shark is going to become a movie with a release date planned for Paramount announced nbsp The film will be produced by Nickelodeon Animation and creator The Pinkfong company but there are no details about the script plot etc The character has been seen in the cinema before as Pinkfong and Baby Shark s Space Adventure had a limited run when it came to Netflix However that ran for just an hour while Paramount described the upcoming release as a quot feature length film quot nbsp Baby Shark was also developed into a Korean TV series called Baby Shark s Big Show which debuted on Nickelodeon in December of The show was announced by Paramount Plus as part of an upcoming slate of kids youth programs including a Dora the Explorer series new Teenage Mutant Ninja Turtles movies and three new films in the SpongeBob SquarePants Universe nbsp 2022-02-16 10:32:50
海外TECH Engadget Uber will let you see how many one- and five-star ratings you get https://www.engadget.com/uber-how-many-one-star-ratings-100037890.html?src=rss Uber will let you see how many one and five star ratings you getUber users have long been able to see their average ratings from drivers Starting today they can see how many one star and five star ratings they re getting as well The platform s Privacy Center which debuted last month shows riders and drivers a breakdown of their ratings You can access the Privacy Center from the privacy section of the settings menu From there swipe to the right select the “would you like to see a summary of how you use Uber tile scroll to quot browse your data quot and then tap quot view my ratings quot Alongside the ratings breakdown Uber has revealed which major US cities have the highest and lowest average rider ratings Drivers typically dish out higher ratings in San Antonio St Louis and Nashville Riders tend to get the lowest ratings in New York City perhaps unsurprisingly followed by Seattle and Washington DC UberMeanwhile Uber has offered some tips which are based on safety and common decency to help you bump up your average It suggests being ready to go when the driver shows up buckling up and taking your garbage with you Drivers often give riders a lower rating if they slam the doors so be careful when you re getting in and out of vehicles Uber can boot riders with very low ratings off the platform but as long as you re respectful and leave fair tips that shouldn t be an issue for you 2022-02-16 10:00:37
海外TECH CodeProject Latest Articles vectormap: A C++ Map Class with Order-added Iteration https://www.codeproject.com/Tips/5325165/vectormap-A-Cplusplus-Map-Class-with-Order-added-I lookup 2022-02-16 10:24:00
金融 RSS FILE - 日本証券業協会 2月19日(土)サーバメンテナンスのお知らせ https://www.jsda.or.jp/shinchaku/servermaintenance/20220216110336.html 月日 2022-02-16 11:03:00
金融 金融庁ホームページ 入札公告等を更新しました。 https://www.fsa.go.jp/choutatu/choutatu_j/nyusatu_menu.html 公告 2022-02-16 11:00:00
海外ニュース Japan Times latest articles With indoor ski resorts and curling schools, China lifts Xi’s sports dream https://www.japantimes.co.jp/sports/2022/02/16/olympics/winter-olympics/olympics-china-snowsports/ With indoor ski resorts and curling schools China lifts Xi s sports dreamChina said it succeeded on a vow by Xi Jinping the country s top leader to nurture millions of winter sports enthusiasts But will the interest 2022-02-16 19:22:41
ニュース BBC News - Home Prince Andrew: Questions over payout after settlement with Virginia Giuffre https://www.bbc.co.uk/news/uk-60397947?at_medium=RSS&at_campaign=KARANGA giuffre 2022-02-16 10:32:01
ニュース BBC News - Home Fewer January sales push living costs to 30-year high https://www.bbc.co.uk/news/business-60390527?at_medium=RSS&at_campaign=KARANGA energy 2022-02-16 10:36:02
ニュース BBC News - Home Trainer suspended over treatment of horse in video https://www.bbc.co.uk/sport/horse-racing/60401752?at_medium=RSS&at_campaign=KARANGA Trainer suspended over treatment of horse in videoTrainer Sir Mark Todd is given an interim suspension by the British Horseracing Authority after a video on social media appeared to show him hit a horse with a branch 2022-02-16 10:54:29
ニュース BBC News - Home Ukraine: UK will judge Russia by its actions, says minister Ben Wallace https://www.bbc.co.uk/news/uk-politics-60401102?at_medium=RSS&at_campaign=KARANGA russia 2022-02-16 10:26:47
ニュース BBC News - Home Storm Dudley: Trains cancelled over 80mph wind warning https://www.bbc.co.uk/news/uk-scotland-60392349?at_medium=RSS&at_campaign=KARANGA services 2022-02-16 10:35:12
ニュース BBC News - Home Boohoo ad banned for objectifying and sexualising women https://www.bbc.co.uk/news/business-60386106?at_medium=RSS&at_campaign=KARANGA advert 2022-02-16 10:40:59
ニュース BBC News - Home Ryding 13th in men's slalom as GB medal wait continues - highlights & report https://www.bbc.co.uk/sport/winter-olympics/60349725?at_medium=RSS&at_campaign=KARANGA slalom 2022-02-16 10:30:28
ニュース BBC News - Home Winter Olympics: Bruce Mouat helps Team GB men beat ROC to win eighth round-robin match https://www.bbc.co.uk/sport/av/winter-olympics/60401052?at_medium=RSS&at_campaign=KARANGA Winter Olympics Bruce Mouat helps Team GB men beat ROC to win eighth round robin matchGB Skipper Bruce Mouat helps Team GB men beat ROC to win the eighth round robin match of their group in the Curling 2022-02-16 10:54:17
ニュース BBC News - Home How prepared is Russia for an attack? https://www.bbc.co.uk/news/world-europe-60158694?at_medium=RSS&at_campaign=KARANGA border 2022-02-16 10:56:11
北海道 北海道新聞 日本海側で大雪、警報級も 18日にかけて荒天続く https://www.hokkaido-np.co.jp/article/646527/ 警報 2022-02-16 19:19:00
北海道 北海道新聞 自動車労組、ベア要求相次ぐ 経営側、慎重に判断 https://www.hokkaido-np.co.jp/article/646523/ 労働組合 2022-02-16 19:17:00
北海道 北海道新聞 三幸製菓の別工場も立ち入り検査 消防、避難誘導など確認 https://www.hokkaido-np.co.jp/article/646522/ 三幸製菓 2022-02-16 19:17:00
北海道 北海道新聞 父親の仕事、9時間半以内に 家事・育児には短縮必要 https://www.hokkaido-np.co.jp/article/646519/ 育児 2022-02-16 19:12:00
北海道 北海道新聞 国内の死者、2日連続200人超 新型コロナ https://www.hokkaido-np.co.jp/article/646518/ 新型コロナウイルス 2022-02-16 19:09:00
北海道 北海道新聞 日本17位、スウェーデンが優勝 バイアスロン・16日 https://www.hokkaido-np.co.jp/article/646516/ 芙由子 2022-02-16 19:06:00
北海道 北海道新聞 国内旅行消費、最少9兆円 21年、コロナの影響で8%減 https://www.hokkaido-np.co.jp/article/646515/ 国内旅行 2022-02-16 19:04:00
北海道 北海道新聞 創作意欲の源は戦争体験 国内現役最高齢、90歳の女性映画監督山田火砂子さんが語る https://www.hokkaido-np.co.jp/article/646514/ 児童自立支援施設 2022-02-16 19:04:00
北海道 北海道新聞 高木美、小平が最終種目へ調整 17日に1000メートル https://www.hokkaido-np.co.jp/article/646513/ 高木 2022-02-16 19:02:00
IT 週刊アスキー HeaR、採用面接の判定を自動化するスキルテストSaaS「ジョブテスト」を正式リリース https://weekly.ascii.jp/elem/000/004/083/4083719/ 面接 2022-02-16 19:30:00
マーケティング AdverTimes 博報堂元社長、東海林隆氏死去 早期からインタラクティブ強化を推進 https://www.advertimes.com/20220216/article377104/ 東海林隆 2022-02-16 10:40:18

コメント

このブログの人気の投稿

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