投稿時間:2022-02-21 08:35:37 RSSフィード2022-02-21 08:00 分まとめ(34件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
TECH Engadget Japanese 遠くをキレイに見る、距離を正確に測る。超軽量コンパクトな距離測定・望遠鏡「ATuMan」 https://japanese.engadget.com/atu-man-224055200.html 超軽量コンパクトな距離測定・望遠鏡「ATuMan」ATuManアトゥーマンは「遠くをキレイに見る」「距離を正確に測る」という機能を忠実に高めた、新しいコンセプトの望遠鏡です。 2022-02-20 22:40:55
TECH Engadget Japanese ソニーが「LinkBuds」を「Xperia Ear Duo」とは『違う』とする理由(佐野正弘) https://japanese.engadget.com/linkbuds-xperia-ear-duoe-223051259.html linkbuds 2022-02-20 22:30:51
IT ITmedia 総合記事一覧 [ITmedia News] iPhone SE(第3世代)用ケース、Amazonでフライイング販売 しかしその実態は…… https://www.itmedia.co.jp/news/articles/2202/21/news071.html amazon 2022-02-21 07:46:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] デジタル時代にSTPは古いのか? 「リーンスタートアップ」の本質 https://www.itmedia.co.jp/business/articles/2202/21/news067.html itmedia 2022-02-21 07:30:00
IT ITmedia 総合記事一覧 [ITmedia News] NFTマーケットプレイスOpenSeaで複数の盗難 フィッシング攻撃で被害額は2億円相当 https://www.itmedia.co.jp/news/articles/2202/21/news069.html itmedianewsnft 2022-02-21 07:25:00
IT ITmedia 総合記事一覧 [ITmedia エグゼクティブ] 協調して進む欧州のサーキュラーエコノミー https://mag.executive.itmedia.co.jp/executive/articles/2202/21/news004.html itmedia 2022-02-21 07:07:00
IT ITmedia 総合記事一覧 [ITmedia エグゼクティブ] 終身雇用の保証より、どれだけ変化しても活躍できる人材の育成が人を活かす経営の新常識 https://mag.executive.itmedia.co.jp/executive/articles/2202/21/news017.html itmedia 2022-02-21 07:01:00
AWS AWS Partner Network (APN) Blog Monitoring End Users’ Application Experience on AWS with Cisco ThousandEyes https://aws.amazon.com/blogs/apn/monitoring-end-users-application-experience-on-aws-with-cisco-thousandeyes/ Monitoring End Users Application Experience on AWS with Cisco ThousandEyesApplication access patterns have changedーusers can now access applications from multiple places such as corporate offices or even from the comfort of their homes Learn how Cisco ThousandEyes monitors network infrastructure troubleshoots application delivery and maps internet performance all from a SaaS based platform ThousandEyes provides a collectively powered view of the internet enabling you to see understand and improve digital experiences for consumers of your applications wherever they are 2022-02-20 22:43:59
js JavaScriptタグが付けられた新着投稿 - Qiita 「setInterval」一定間隔で繰り返し実行 https://qiita.com/tagotyan/items/4d4ae0059d690bf79fe3 ランダム変数コード構文let二次元変数名let乱数変数名MathfloorMathrandom二次元変数名lengthランダム変数一定間隔呼び出し関数コード構文function関数名consolelog二次元変数名乱数変数名setInterval関数名秒数このコードでは・配列の中に配列がある二次元配列の変数を定義。 2022-02-21 07:51:29
js JavaScriptタグが付けられた新着投稿 - Qiita Recoilを基礎から理解しよう!(環境構築〜基本編) https://qiita.com/takusan64/items/bdb61b46d46395e913df 筆者はReduxという類似ツールを使ったことがありますが、「圧倒的にRecoilは簡単」だと思っています状態管理ツールの選定に迷っている人、Recoilの利用を考えてみてはいかがでしょうかRecoilってなにReactの提供元であるMetaFaceBookが開発中の新しい状態管理ライブラリです。 2022-02-21 07:16:03
Ruby Rubyタグが付けられた新着投稿 - Qiita DM、チャットにおける通知機能 https://qiita.com/AlexanderPierce/items/48ef34da61417ac7fe3f redirecttoroompathmessageroomidendend読んだ際に既読になる機能の作成メッセージを受け取る側がトークルームに入った時にNotificationのcheckedの値がfalseからtrueになるように実装します。 2022-02-21 07:08:55
AWS AWSタグが付けられた新着投稿 - Qiita AWSのサービスクォータをなめてると痛い目に遭うぞ!(全サービスクォータ一覧化スクリプト付き) https://qiita.com/ozzy3/items/e9691f21d431a6ceac7a ここではLambdaの同時実行数のクォータを例にしましたが、場合によってはAPIGatewayやDynamoDBのクォータが問題になっていた可能性もあります。 2022-02-21 07:48:45
Docker dockerタグが付けられた新着投稿 - Qiita (M1)Limaを使ってDockerを爆速化する(VScodeのremote-containerとの連携も) https://qiita.com/akinami/items/d38b9e7c7f37bd070f40 2022-02-21 07:27:47
Ruby Railsタグが付けられた新着投稿 - Qiita DM、チャットにおける通知機能 https://qiita.com/AlexanderPierce/items/48ef34da61417ac7fe3f redirecttoroompathmessageroomidendend読んだ際に既読になる機能の作成メッセージを受け取る側がトークルームに入った時にNotificationのcheckedの値がfalseからtrueになるように実装します。 2022-02-21 07:08:55
技術ブログ Developers.IO RDS for MariaDBの遅延レプリケーション機能を試してみた https://dev.classmethod.jp/articles/rds-for-mysql-mariadb-replication-delay/ mariadb 2022-02-20 22:50:22
海外TECH MakeUseOf Is WhatsApp Safe? 5 Scams, Threats, and Security Risks to Know About https://www.makeuseof.com/tag/4-security-threats-whatsapp-users-need-know/ Is WhatsApp Safe Scams Threats and Security Risks to Know AboutWhatsApp security is a challenge making it a frequent target of scammers and hackers Is WhatsApp safe Here s what you need to know 2022-02-20 22:01:12
海外TECH DEV Community tsParticles 1.41.4 Released https://dev.to/matteobruni/tsparticles-1414-released-dge tsParticles Released tsParticles Changelog Bug FixesRemoved useless console log debug purposes matteobruni tsparticles tsParticles Easily create highly customizable particles animations and use them as animated backgrounds for your website Ready to use components available for React js Vue js x and x Angular Svelte jQuery Preact Inferno Solid Riot and Web Components tsParticles TypeScript ParticlesA lightweight TypeScript library for creating particles Dependency free browser ready and compatible withReact js Vue js x and x Angular Svelte jQuery Preact Inferno Riot js Solid js and Web Components Table of ContentsUse for your websiteLibrary installationOfficial components for some of the most used frameworksAngularInfernojQueryPreactReactJSRiotJSSolidJSSvelteVueJS xVueJS xWeb ComponentsWordPressPresetsBig CirclesBubblesConfettiFireFireflyFireworksFountainLinksSea AnemoneSnowStarsTrianglesTemplates and ResourcesDemo GeneratorCharacters as particlesMouse hover connectionsPolygon maskAnimated starsNyan cat flying on scrolling starsBackground Mask particlesMigrating from Particles jsPlugins CustomizationsDo you want to use it on your website Documentation and Development references here This library is available on the two most popular CDNs and it s easy and ready to use if you were using particles jsit s even… View on GitHub 2022-02-20 22:35:16
海外TECH DEV Community Day 8 of Studying LeetCode Solution until I Can Solve One on My Own: Problem#221.Maximal Square(Medium/JavaScript) https://dev.to/corndog_com567/day-8-of-studying-leetcode-solution-until-i-can-solve-one-on-my-own-problem221maximal-squaremediumjavascript-4bgf Day of Studying LeetCode Solution until I Can Solve One on My Own Problem Maximal Square Medium JavaScript Intro I am a former accountant turned software engineer graduated from coding bootcamp in January Algorithms and Data Structure is an unavoidable part of interviews for most of the tech companies now And one of my friends told me that you need to solve a medium leetcode problem under seconds in order to get into the top tech companies So I thought I d start learning how to do it while job searching Since I have no clue on how to solve any of the problems even the easy ones I thought there is no point for me to waste hours and can t get it figured out Here is my approach Pick a leetcode problem randomly or Online Assessment from targeted companies Study solutions from Youtube or LeetCode discussion section One brute force solution another one more optimal Write a blog post with detailed explanation and do a verbal walk through to help understand the solutions better Code out the solution in LeetCode without looking at the solutionsCombat the forgetting curve Re do the question for the next three days And come back regularly to revisit the problem Problem Maximum SquareDifficulty Medium Language JavaScript Given an m x n binary matrix filled with s and s find the largest square containing only s and return its area Example Input matrix Output Example Input matrix Output Example Input matrix Output Constraints m matrix lengthn matrix i length lt m n lt matrix i j is or Solution A youtube video explains the solution is linked at the end will help understand it better than just words The key to solve this problem is to find the max length that contains and save it in a new matrix until is found and breaks the loop Quoting an example below from carti on LeetCode discussion board This is pretty straight forward but I will explain what s happening by setting Cache a copy of given matrix to be min of topleft left and top Say we are given this first row stays same according to algo then we re at this stays same because it s in first column When we get to we take min of top left left and top which is so Cache now becomes And we set new max to be After updating more values Cache becomes Then when we get to last cell we take min again and it becomes and new max is Result becomes which is which is answer for this example Solution Code function maximalSquare matrix if matrix matrix return To deal with edge cases where an empty matrix is given If matrix is false doesn t exist note return let cache matrix create a copy note of given array matrix height matrix length width matrix length define height and width of the array Height of the array is the length of the array note And width of the array is the length of the first element of the array note amp For example matrix array shown below has width and length of Because the length of the matrix array is there are two arrays nested in the matrix array The length of the first array is also which makes up the width of the matrix array solution Math max matrix solution length of the largest square set the initial value of the solution as the maximum note value of first array element This is for the edge case where there is only one element in the matrix array And because our iteration below starts from index the second element of both row and column if there is only one array in the matrix the solution would be the max value of array For example if we have a matrix of the largest square that contains will be for let i i lt matrix length i solution Math max solution matrix i This is for the edge case where there are two elements in the matrix array and each element is a single element array For example Because our iteration below starts from index the second element of both row and column if both elements are single element array the solution would be the max value between two elements For example if we have a matrix of the max of array is and the max of array is one that will give us the max between two arrays of for let row row lt height row for let col col lt width col start interating from second elment of second array note if matrix row col cache row col Math min cache row col cache row col cache row col if if found then compare it with it s surrounding element and save minimum note of these elements plus and save it in the new maxtrix Cashe see explaination above for reason behind this step solution Math max cache row col solution update max solution return solution the area of a square is the product of the length of each side with itself note Solution Submission detail as of Data below could vary since there are new tests submissions daily Runtime msMemory Usage mbReferences LeetCode Problem LinkYoutube ThinkFWDLeetCode Discussion cartiNote Logical NOT Note Spread syntax Note Array lengthNote Access an array item by its indexNote Math min Note Math max Note for loopNote Exponentiation Blog Cover Image Credit 2022-02-20 22:34:29
海外TECH DEV Community Hacking IDisposable: The Stopwatch Example https://dev.to/jakubkwa/hacking-idisposable-the-stopwatch-example-1ja0 Hacking IDisposable The Stopwatch ExampleProvides a mechanism for releasing unmanaged resources This is the first sentence you can read about IDisposable interface in the Microsoft documentation and it definitely should be the primary usage of it However the C language is cool enough to have a special using statement that comes along when using objects that implement IDisposable There is something elegant and compact about this language structure which makes me really like it that s why I use it even for places that it was not designed for Like for example wrapping up the Stopwatch StopwatchThe Stopwatch class was introduced in NET Framework and since then became a de facto standard for measuring code execution time If you were ever interested in checking how long does it takes to run a specific part of your program you ve probably stumbled into it The basic usage pattern of a Stopwatch class is as follows var stopwatch new Stopwatch stopwatch Start Code which execution time we want to measurestopwatch Stop Console WriteLine stopwatch Elapsed There are a couple of caveats static method Stopwatch StartNew can be used as a shortcut for creating Stopwatch instance and starting it at the same time Also the Elapsed property can be accessed without actually stopping the stopwatch first it will keep on counting time So the structure is already there we start the stopwatch we execute the code we want to measure we stop the stopwatch Whenever and wherever you do it the structure always looks similar to this And since it s as simple as wrapping the proper code you want to measure with some init and teardown actions the using statement might be a good fit Disposable stopwatchSo lets start with defining a class implementing IDisposable public class Timer IDisposable private readonly Stopwatch stopwatch public Timer stopwatch Stopwatch StartNew public void Dispose stopwatch Stop Console WriteLine stopwatch Elapsed Usage exampleusing new Timer Code which execution time we want to measure This is functionally identical to the previous example and for me looks better already however there are a couple of things we can do to make it more useful First of all writing to the console output is not necessarily the only thing we want to do with the measured time span Sometimes it might be but sometimes we d rather write it to file or to an external system eventually ending up in some kind of monitoring platform So we could parametrize the Timer and allow its clients to decide what to do with the measured execution time public class Timer IDisposable private readonly Action lt TimeSpan gt afterMeasuredAction private readonly Stopwatch stopwatch public Timer Action lt TimeSpan gt afterMeasuredAction afterMeasuredAction afterMeasuredAction gt stopwatch Stopwatch StartNew public void Dispose stopwatch Stop afterMeasuredAction Invoke stopwatch Elapsed Usage exampleusing new Timer measuredTime gt Console WriteLine measuredTime Code which execution time we want to measure There s something I still don t like about this usage pattern Maybe because we re newing up an object here that we don t really care about not even assigning it to any variable Effectively there s nothing wrong about it cause what we really want is to create it and dispose automatically at the end of the using block But if we don t need to do any other thing with this object why do we need to know its type Well we don t knowing that it implements IDisposable should be more than enough for us So instead of newing up an instance of a specific type I d rather hide it with some method and directly return just an IDisposable public class Measurement public static IDisposable Run Action lt TimeSpan gt afterMeasuredAction null gt new Timer afterMeasuredAction private class Timer IDisposable private readonly Action lt TimeSpan gt afterMeasuredAction private readonly Stopwatch stopwatch public Timer Action lt TimeSpan gt afterMeasuredAction afterMeasuredAction afterMeasuredAction gt stopwatch Stopwatch StartNew public void Dispose stopwatch Stop afterMeasuredAction Invoke stopwatch Elapsed Usage exampleusing Measurement Run measuredTime gt Console WriteLine measuredTime Code which execution time we want to measure One last thing I d like to enhance a bit Since Measurement is a very generic purpose class probably for use in many places as we usually want to measure execution time of multiple methods or algorithms within our code base we d normally define this action after measure like Console WriteLine many times To avoid that we can create a specific class that uses the generic one public class LogMeasurement private readonly ILogger lt LogMeasurement gt logger public LogMeasurement ILogger lt LogMeasurement gt logger logger logger public IDisposable Run gt Measurement Run timeSpan gt logger LogTrace Measured time timeSpan Usage exampleusing logMeasurement Run Code which execution time we want to measure Note that this time we have an instance Run method instead of a static one as previously The reason is that I d probably want to inject this class in all the places I d like to use it so it s ready for usage in a dependency injection scenario That s also why it has a constructor with its own dependencies injected In other words we now have one class to gather everything needed to do whatever we want to do in our system with measured code execution time And if you sometimes want to do something else with it you just define another similar class which uses Measurement Run with a different action and inject it instead of the LogMeasurement one Post ScriptumThis blog post is mostly about answering the How to measure code execution time question One thing I haven t and won t dig too deep into is an answer to Where to measure it question But just briefly I do think that any code not related strictly to the domain of the class or method just adds noise and distraction So adding some logging monitoring or execution time measuring logic in place with the domain code is not necessarily the best idea I d rather extract it to some kind of decorator class instead Also sorry for the clickbaitish title the provided example is not really hacking the interface in any way But it can be considered a usage outside of the definition mentioned at the very beginning so in this sense what we re really doing is exploring the undocumented ways of using it Sounds hacky enough for me Just codeHacking IDisposable The Stopwatch Example on GitHub Tests 2022-02-20 22:20:35
海外TECH DEV Community Every programmer should know these conventions and practices https://dev.to/fayomihorace/every-programmer-should-know-these-conventions-and-practices-8j6 Every programmer should know these conventions and practicesWithout rules and standards we would be living in total anarchy and if every programmer had the freedom to do or write whatever he wanted as code we would probably still be in the time where computers could occupy an entire apartment But fortunately this is not the case There are rules and standards every programmer should know If you didn t know these standards don t worry I was a bad programmer too a very bad one but now I m better and I m still improving Now if you already knew them I congratulate you But read anyway until the end for peace of mind I won t really detail or give examples to these rules as each of them requires at least a whole article with a lot of real cases examples exceptions or edge cases I ll just list them and cover each of them alone in its own article Take care of your code qualityIt implies that you write readable code Use styling rules related to your programming language or technology and be consistent about them For instance in python the coding style conventions are described in PEP of the documentation You can install a linting extension related to your programming language technology in your IDE It will enforce your code quality and give you good habits Give meaningful namesGive a meaningful name to your variables functions class and packages It will help understand the big picture of your codebase without even reading the implementation details Use the DRY Don t Repeat Yourself principleAvoid as much as possible repeating your code It will first reduce your codebase and if for any reason you have to change or improve that code you ll change it only once instead of applying the same changes at multiple places Write short functions that handle specific tasksKeep your functions as short as possible and make them handle a single task Plus it will help for code reusability and code refactoring Well document your codeAdd useful comments and document your functions classes and packages as much as possible Add description and type hint for function parameters and return values But avoid obvious comments It will also help to understand the big picture of your codebase without even reading the implementation details And some IDE could even help you generate a documentation for your software if it s well documented Avoid using Magic numbers or hardcoded values in your codeIt s will save your life and contribute to your codebase maintainability Limit code line length to a standard value chars for instance It improves code readability as well BonusTest your code Write test at least unit tests cases as much as you can especially when the feature is tricky or complex Think big Take care of scalability and performance matters Don t code like if you ll be the only user of your website even if it s a side project or don t code like your software will just have or users think big think about what will happen if it came that there are millions or billions of users using it Pay attention to code reviews During code reviews you ll learn a lot and also share a lot with others And the most important thing during reviews you will catch earlier bugs and that helps reduce the technical depts So pay close attention to them Avoid Hacks in your code Avoid tinkering with code finding a temporary quick fix to work around a problem or bug That will probably break again later Instead go to the source take the time to understand the issue and try to find the right final solution for good If you found it by help on a website like StackOverflow for instance make sure you understand it before adding it to your codebase That is all for this article If you have any pearls of wisdom that you think are missing please let me know in the comment section I may include them in another article 2022-02-20 22:11:12
海外TECH CodeProject Latest Articles Oh, I love gateways https://www.codeproject.com/Tips/5325612/Oh-I-love-gateways advantages 2022-02-20 22:51:00
金融 ニュース - 保険市場TIMES ソニー生命、リモートコンサルティングシステムをリニューアル https://www.hokende.com/news/blog/entry/2022/02/21/080000 ソニー生命、リモートコンサルティングシステムをリニューアル機能とデザインを使いやすくリニューアルソニー生命保険株式会社以下、ソニー生命は、コンサルティングに特化した自社開発のシステム「リモートコンサルティング」について、機能とデザインをリニューアルしたと年月日に発表した。 2022-02-21 08:00:00
ニュース BBC News - Home Ukraine tensions: US sounds fresh alarm over Russia invasion fears https://www.bbc.co.uk/news/world-europe-60454818?at_medium=RSS&at_campaign=KARANGA attack 2022-02-20 22:00:41
ニュース BBC News - Home Jamal Edwards, music entrepreneur and Youtube star, dies aged 31 https://www.bbc.co.uk/news/uk-60457063?at_medium=RSS&at_campaign=KARANGA sheeran 2022-02-20 22:50:50
ニュース BBC News - Home Delray Beach Open: Cameron Norrie beats Reilly Opelka in final https://www.bbc.co.uk/sport/tennis/60457453?at_medium=RSS&at_campaign=KARANGA beach 2022-02-20 22:35:06
ニュース BBC News - Home 'Immense' Tuilagi ready to return for England against Wales https://www.bbc.co.uk/sport/rugby-union/60457715?at_medium=RSS&at_campaign=KARANGA x Immense x Tuilagi ready to return for England against WalesEngland centre Manu Tuilagi is in immense physical shape and ready to return for the crunch Six Nations encounter with Wales says assistant coach Anthony Seibold 2022-02-20 22:47:11
北海道 北海道新聞 シベリア抑留体験、児童書に 札幌・建部さん聞き取り出版 「命の尊さ考えて」 https://www.hokkaido-np.co.jp/article/648043/ 市民団体 2022-02-21 07:17:23
北海道 北海道新聞 石原慎太郎さん特別展示 小樽文学館 「狂った果実」オフショットも https://www.hokkaido-np.co.jp/article/648047/ 小樽文学館 2022-02-21 07:08:06
北海道 北海道新聞 4年目の吉田、真っすぐに手応え 日本ハムキャンプ https://www.hokkaido-np.co.jp/article/648080/ 打撃投手 2022-02-21 07:02:12
北海道 北海道新聞 JR札幌駅発着、始発から運転見合わせ 21日の運休は597本に https://www.hokkaido-np.co.jp/article/648102/ 運転見合わせ 2022-02-21 07:02:06
ビジネス 東洋経済オンライン 日本株を脅かす「3つのリスク」はいつ消えるのか 「ウクライナ危機」は当面のヤマ場を迎えた | 市場観測 | 東洋経済オンライン https://toyokeizai.net/articles/-/513672?utm_source=rss&utm_medium=http&utm_campaign=link_back 日経平均株価 2022-02-21 07:30:00
ビジネス 東洋経済オンライン 日本と中国の不安定な関係を招いている根本構造 経済的相互依存の深化が軍事的緊張の増大に | ポストコロナのメガ地経学ーパワー・バランス/世界秩序/文明 | 東洋経済オンライン https://toyokeizai.net/articles/-/512621?utm_source=rss&utm_medium=http&utm_campaign=link_back 世界秩序 2022-02-21 07:30:00
ニュース THE BRIDGE 半導体設計のSEMIFIVE、クラウドMSPのMegazone、共に125億円調達など——韓国スタートアップシーン週間振り返り(2月14日~2月18日) https://thebridge.jp/2022/02/startup-recipe-feb-14-feb-18 半導体設計のSEMIFIVE、クラウドMSPのMegazone、共に億円調達などー韓国スタートアップシーン週間振り返り月日月日本稿は、韓国のスタートアップメディア「StartupRecipe스타트업레시피」の発表する週刊ニュースを元に、韓国のスタートアップシーンの動向や資金調達のトレンドを振り返ります。 2022-02-20 22:30:18
ニュース THE BRIDGE ユニコーンとなったKindbody、不妊治療クリニック「Vinos Fertility Institute」を買収 https://thebridge.jp/2022/02/kindbody-vios-acquisition-pickupnews 2022-02-20 22:15:32

コメント

このブログの人気の投稿

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