投稿時間:2022-09-19 01:11:31 RSSフィード2022-09-19 01:00 分まとめ(14件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita pandasで同じコラムで結合(左右どっちかを優先) https://qiita.com/sugityan/items/ee2f6b7b3c05ffdb95c8 pandas 2022-09-19 00:38:05
python Pythonタグが付けられた新着投稿 - Qiita python で別のアプリのウィンドウハンドルを取得 https://qiita.com/kawamasa/items/8f849d1cd99cb76b4aa2 windows 2022-09-19 00:34:55
python Pythonタグが付けられた新着投稿 - Qiita GitHub Actions で簡単なビルドチェックを作る https://qiita.com/aKuad/items/2507336ec93c6b227350 githubactions 2022-09-19 00:20:21
python Pythonタグが付けられた新着投稿 - Qiita Flaskを開発サーバーで起動させてみた https://qiita.com/Nats72/items/793330ae2f1a82102fca allflaskpipinstalljinja 2022-09-19 00:16:40
Git Gitタグが付けられた新着投稿 - Qiita Git CheatSheet https://qiita.com/takata2022/items/12ca19d0b15dc3115e22 terminalgitbranch 2022-09-19 00:58:55
海外TECH MakeUseOf How to Set Up Custom Windows 11 Desktop Icons With Paint 3D and Junior Icon Editor https://www.makeuseof.com/windows-11-desktop-icons-editing/ desktop 2022-09-18 15:15:14
海外TECH DEV Community ADOBE acquires FIGMA !!! https://dev.to/dhanushnehru/adobe-acquires-figma--1ec ADOBE acquires FIGMA As per the information received Adobe has acquired Figma which is said to be a new era of collaborative creativity as detailed on their official news page Adobe newsAdobe turns out to be one of the largest software companies Adobe Vs FigmaFigma and Adobe both offer web design tools but Figma has more free features currently Figma sells its core product using a freemium model with the free Starter plan being free for up to three editors In Adobe XD you design in one place but share in another Changes from different co editors need to be merged manually Figma is Web based so your design file is a Web link a kind of collaborative space for your entire team Figma is mostly used by medium level companies compared to Adobe XD right now I m not sure in the future this may make the usage of Figma also expensive Usually when an acquisition occurs some pros and cons may occur ProsGlobal exposureMarket dominanceNew skills and resourcesExpertise is availableCapital availabilityNew perspectives and ideasAmong these some are also mentioned by Adobe when defining their acquisition of Figma ConsCultural clashes between two companiesJob losses or an increase in unemploymentEmployee morale may sufferConflicts between company objectivesProduct establishment difficulties compared to previous approachesThe above facts purely depend on how things proceed in the upcoming months Adobe has already acquired more than companies so the pros and cons of things would be definitely looked up by them and handled properly In this technological world there is always something which comes as a replacement for another as the era changes So let s hope for the best If you have any thoughts as a developer on adobe acquiring figma feel free to drop below Thanks for reading ️Connect with me via Twitter Instagram or Github 2022-09-18 15:33:57
海外TECH DEV Community Three Tricks for Chrome DevTools to Find Logs More Easily https://dev.to/perssondennis/three-tricks-for-chrome-devtools-to-find-logs-more-easily-27k8 Three Tricks for Chrome DevTools to Find Logs More EasilyChrome s developer tools are incredibly powerful Unfortunately both the console and network tab tend to be filled up with a lot of logs which are rarely looked at making it difficult to find what you are there to look at Today I will show you three tricks of how you more easily can find the information you are searching for You may have seen the first tip before but the second and third ones are lesser known tricks I rarely see people use or write about Let Your Logs Stand OutMake your console logs look beautiful like this Colored log in chrome dev tools consoleWhile it easy to notice it s a bit verbose to write You can create a JavaScript utility function for it to make it easy to write const clog log gt console log c log background ffff color e Usageclog I am colorful You can create a shorthand function for colored console logsAnother alternative is to create a snippet in VS Code so VS Code can autocomplete the code for you when you just write a prefix of your choice Below you can see two snippets The first one with the prefix clog will output a colorful log statement for you when you write clog in a file and autocomplete it with the tab key The second one named vlog logs out both a label and a value Colored Console prefix clog body console log c background ffff color e description Log colored message to console Colored Value Console prefix vlog body console log c background ffff color e description Log colored message to console and an additional value Group Console MessagesDo you have annoyingly many console messages and don t want to remove them What if I said you can keep them and still hide them The solution you search for is console group In this way you can for example group logs per file or module Or maybe wrap all logs used for app initialization in a group To wrap some logs in a group simply write console group before your logs and console groupEnd after the logs The web console will fold all the logs there in between Folded console group in Chrome DevTools consoleAnd when you expand the group it looks like this Expanded console group in Chrome DevTools console Filter Network Requests Instead of SearchingThe network tab tends to be very bloated in medium and large sized applications especially when analytics and log requests are sent remotely As you might already know you can filter network requests based on their type e g images or AJAX requests Fetch XHR I would guess you even have found the filter field where you can filter network requests Filter options under the network tab in Chrome DevToolsI have seen a lot of persons using the filter field to search for the request they want to view it s an easy way to ignore all other kind of spam requests The cumbersome thing about that is that you have to write a filter term every time you want to find a new request To avoid that I instead use the filter field to filter out logs I never am interested to see To do so just check the invert button beside the filter box and enter the words you don t want to see Separate each word with a whitespace In the example below all requests including the terms inspect and css are filtered out You can keep this filter active to always have a clean network log showing only requests you commonly look at Example of network tab in Chrome DevTools without a filterExample of the same network tab in Chrome DevTools with a filter filtering out css files and requests with the word inspect in its name Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading 2022-09-18 15:30:22
海外TECH DEV Community Production incidents - 7 practical tips to help you through your next incident https://dev.to/liorhalfon/production-incidents-7-practical-tips-to-help-you-through-your-next-incident-5fj Production incidents practical tips to help you through your next incidentWhen your product or service is in downtime you lose more than just money You are losing the trust of your users and partners Therefore being proactive and doing what you can to prepare for production incidents is essential Here are pieces of advice to help you and your team prepare and deal with production incidents when you encounter them Before the incident Don t let error logs fall through the cracksYou probably use some kind of a logger in your service to log errors and other informative data If not it s time to start For example when an exception is raised a lot of developers write something like this try Block of code to try catch Exception e logger error Got an exception context s e context If your service log is swelled with unknown exceptions you should be worried because bad things are happening and users may be impacted Therefore you should monitor any error logs in your service and fire alerts Some errors may not be so bad and some may be brutal you should decide for yourself which ones you want to get alerted for The ELK Stack is currently the most popular log management and logs analysis platform in the market used for monitoring You can run a periodic query on top of Elastic Search to find undesired errors and fire alerts when they happen Catch bad behaviors early by adding statistics to your service Understanding the “status of your service is essential for ensuring its reliability and stability Detailed information and high visibility of the processes in your service not only helps your team react to issues but also gives them the confidence to make changes One of the best ways to gain this “status insight is with a robust monitoring system that gathers metrics visualizes data and fires an alert when things appear to be broken A robust monitoring and alerting system will help you solve issues sooner and will minimize the damage done by the incident Similarly to logs you can configure alerts on your service based on statistics such as latency queue lengths CPU memory usage and so on Prometheus and Grafana are among the most popular monitoring and alerting tools You can also set up PagerDuty to make sure you always have an owner that handles incoming alerts When configuring metrics and alerts focus on the service purpose What is its job For example If it s serving HTTP requests then an important metric to set up is the HTTP return status code count If a service job is to write something to a database then an important metric to have can be the rate of writes to the database Prepare runbooks and invest in services documentation It s possible that when things break down the owner expert of the broken service will not be available or the person dealing with the incident might be clueless regarding how to deal with the incident Therefore it s a good idea to have a prepared response plan for dealing with emergencies Here are some best practices to write one The benefit of these prepared response plans or runbooks is you don t need an expert to be available every time there is a problem This in turn reduces the burnout feeling when the same person has to deal with the same problems over and over again If you can automate these plans it s even better For example restart the service automatically if the health check is failing The downside with response plans is they are written for a specific case And you can never cover all the cases So it might be wise to train your incident responders on generic action taking like finding a log or rolling back a deployment Another important aspect of this is service documentation It doesn t have to be super detailed but just enough to give the incident responder entry points to the service and critical things to know about it During an incident “Read the damn error message The first thing you should do when you want to solve the issue at hand is to understand what exactly went wrong For example If you get an error message from the log read it carefully and look for details like “What just happened “Where it happened and only then try to think about “Why it happened and what you should do about it So the error messages in your log are valuable This is why they should be as detailed as possible and add important data so anybody who reads them will know the “what and the “where immediately Stack traces are great for the “where part Use data to understand the issueWhen you encounter a production issue your first instinct shouldn t be to guess and immediately jump to a conclusion and try to fix the problem which can lead to wasted time and resources Instead you should use the data you have at hand to devise a hypothesis and then validate that hypothesis with hard data Think about it like playing detective There are two ways to go about this induction or deduction With induction you locate the relevant data organize it and then devise a hypothesis Once you have a hypothesis you can use data to prove it and then fix the problem Deduction works similarly but involves enumerating the possible causes or hypotheses first and then eliminating the ones that don t fit with the data This allows you to refine your remaining hypothesis until you arrive at a conclusion that can be proved with data Either way data should be at the heart of your efforts to solve the issue Aviate Navigate CommunicateOne of the first things pilots learn at ground school is what to do in case something goes wrong with the aircraft “Aviate Navigate Communicate Aviate means keeping the plane in the air Navigate to a safe location And lastly Communicate let ground control know you are in trouble so they can help We can apply the same principles used by pilots to the software domain too In cases such as a complete downtime of our system but not only Aviate Do everything you can to bring the system up first While saving data so you can analyze the root cause later like taking a thread dump for example Navigate Keep making decisions even when you lack complete information avoid Analysis paralysis Communicate Inform everyone that there is an issue maybe they can help Credit to Barak Luzon And Ariel Pizatsky who mentioned these principles in an excellent presentation they gave When The Firefighters Come Knocking Avoid psychological biases and pitfallsOur brain is wired to make decision making simpler In doing so it exposes itself to biases heuristics and other quirks that may seem like “bad decisions in hindsight One such example is the simulation heuristic The simulation heuristic is a psychological heuristic or simplified mental strategy according to which people determine the likelihood of an event based on how easy it is to picture it mentally I E You may think you know the incident s root cause simply because it s easier for you to imagine it Another example is the “confirmation bias The confirmation bias is the tendency to search for interpret favor and recall information in a way that confirms or supports one s prior beliefs or values For instance you are more likely to find evidence that supports your existing hypothesis and ignore evidence that disproves it So what can you do to avoid these human biases It s hard to say and I don t think there is a silver bullet here But being aware of them is the first step to mitigating them I encourage you to watch a great talk by Boris Cherkasky that dives into how psychological biases affect incident response Wrapping upInvesting in a resilient monitoring and alerting system will result in more confidence when performing actions and deploying features on the system Training your team to react to disasters will remove the fear of breaking things As a result you may increase the development velocity of the now “fearless developers 2022-09-18 15:05:24
Apple AppleInsider - Frontpage News Dynamic Island expected to replace notch on all iPhone 15 models https://appleinsider.com/articles/22/09/18/dynamic-island-expected-to-replace-notch-on-all-iphone-15-models?utm_medium=rss Dynamic Island expected to replace notch on all iPhone modelsThe Dynamic Island of the iPhone Pro will probably make it to the rest of Apple s iPhone range an analyst believes with the display of standard iPhones expected to get the replacement for the infamous notch Apple s inclusion of the Dynamic Island as a way to provide notifications and hide cut outs in the display has seemingly become a hit for users keen to get away from the notch While limited to the Pro models in one analyst thinks that the releases may all get the feature Posting to Twitter on Sunday about the iPhone range s display features Ross Young of Display Supply Chain Consultants claims Dynamic Island is expected on standard models on the Such a change would also mean Apple will be making alterations to the cutouts in the iPhone display to enable the UI feature Read more 2022-09-18 15:22:50
海外TECH Engadget Hitting the Books: What if 'Up' but pigeons? https://www.engadget.com/hitting-the-books-what-if-randall-munroe-riverhead-143037135.html?src=rss Hitting the Books What if x Up x but pigeons We all have those thoughts the ones that come to us in the small hours of the night Who am I Why are we here What if my cellphone ran on vacuum tubes instead Randall Munroe has the answer to well only one of those questions but also the answers to a whole bunch of others collected together into What If Additional Serious Scientific Answers to Absurd Hypothetical Questions Yes that is a T Rex eating an airplane In the excerpt below Munroe examines what it would take to haul an average sized human in a chair over Australia s tallest skyscraper using only the power of pigeons Lots and lots of pigeons nbsp nbsp nbsp nbsp nbsp Penguin Random HouseExcerpted from What If by Randall Munroe Copyright by Randall Munroe Excerpted by permission of Riverhead an imprint and division of Penguin Random House LLC New York All rights reserved No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher How many pigeons would it require in order to lift the average person and a launch chair to the height of Australia s Q skyscraper In a study researchers at the Nanjing University of Aeronautics and Astronautics led by Ting Ting Liu trained pigeons to fly up to a perch while wearing a weighted harness They found that the average pigeon in their study could take off and fly upward while carrying grams about percent of its body weight The researchers determined that the pigeons could fly better if the weights were slung below their bodies rather than on their backs so you would probably want pigeons to lift your chair from above rather than support it from below Let s suppose your chair and harnesses weigh kilograms and you weigh kilograms If you used the pigeons from the study it would take a flock of about of them to lift your chair and fly upward with it Unfortunately flying with a load is a lot of work The pigeons in the study were able to carry a load meters upward to a perch but they probably wouldn t have been able to fly too much higher than that Even unencumbered pigeons can only maintain strenuous vertical flight for a few seconds One study measured a climb rate of m s for unencumbered pigeons so even if we re being optimistic it seems unlikely that pigeons could lift your chair more than meters †No problem you might think If pigeons can lift you the first meters then you just need to bring another along with you like the second stage of a rocket to carry you the next meters when the first flock gets tired You can bring another for the meters after that and so on The Q is meters high so about pigeons should be able to get you to the top right No There s a problem with this idea Since a pigeon can carry only a quarter of its body weight it takes four flying pigeons to carry one resting pigeon That means each “stage will need at least four times as many pigeons as the one above it Lifting one person may only take pigeons but lifting one person and resting pigeons would take another pigeons This exponential growth means that a stage vehicle able to lift you meters would need almost million pigeons roughly equal to the entire global population Reaching the halfway point would require × pigeons which would weigh about × kilogramsーmore than the Earth itself At that point the pigeons wouldn t be pulled down by the Earth s gravityーthe Earth would be pulled up by the pigeons gravity The full stage craft to reach the top of the Q would weigh × kilograms That s not just more pigeons than there are on Earth it s more mass than there is in the galaxy You could make things more efficient by reusing pigeons In the study the researchers gave the pigeons seconds to rest on the perch before bringing them down for another trial If each “stage is two seconds and pigeons are refreshed after seconds you could fly arbitrarily high with a stage craftーbut that would still require trillions of pigeons A better approach might be to avoid carrying the pigeons with you After all pigeons can get up to the top of the skyscraper themselves so you might as well send them ahead to wait for you there instead of having their friends carry them up with you If you could train them well enough you could have them glide along at the appropriate height then grab you and tug you upward for a few seconds when you reach their altitude Keep in mind that pigeons can t grab and carry things with their feet so they d need little harnesses with aircraft carrier style hooks to intercept you With this arrangement it s possible you could fly yourself to the top of the tower with just a few tens of thousands of well trained pigeons You should probably make sure you have some kind of safety system that will keep you from plunging to your demise every time a falcon flies by and spooks the pigeons The craft wouldn t just be more dangerous than an elevator it would also be a lot harder to pick your destination You might plan to go to the top of the Q but once you take off you ll be completely under the control of anyone with a bag of seeds 2022-09-18 15:00:37
海外ニュース Japan Times latest articles Powerful Typhoon makes landfall in southern Japan as thousands take shelter https://www.japantimes.co.jp/news/2022/09/19/national/typhoon-nanmadol-evacuation/ Powerful Typhoon makes landfall in southern Japan as thousands take shelterThe weather agency issued rare special warnings for Kagoshima and Miyazaki prefectures ーalerts that are issued only when dangerous conditions seen once in several 2022-09-19 00:59:33
ニュース BBC News - Home Everton 1-0 West Ham: Neal Maupay scores first Toffees goal https://www.bbc.co.uk/sport/football/62866737?at_medium=RSS&at_campaign=KARANGA league 2022-09-18 15:39:22
海外TECH reddit 小粉红现世报 https://www.reddit.com/r/real_China_irl/comments/xhj9x9/小粉红现世报/ rrealchinairllinkcomments 2022-09-18 15:14:25

コメント

このブログの人気の投稿

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