投稿時間:2022-10-26 22:25:31 RSSフィード2022-10-26 22:00 分まとめ(26件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT InfoQ Father of Java Shares Wisdom Related to IoT at Devoxx: Code on the Edge and Its Hurdles https://www.infoq.com/news/2022/10/aws-scaled-iot/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global Father of Java Shares Wisdom Related to IoT at Devoxx Code on the Edge and Its HurdlesIn his Devoxx talk James Gosling the father of Java zooms in on the technicalities of writing code for devices on the network s edge Based on his impressive career developing software for devices ranging from satellites to autonomous submarines he provides practical advice for those moments when the hardware is on the bottom of the sea or when minor errors could cause mayhem or even fatality By Olimpiu Pop 2022-10-26 12:12:00
Google Official Google Blog The future of fighting misinformation in Asia-Pacific https://blog.google/outreach-initiatives/google-news-initiative/the-future-of-fighting-misinformation-in-asia-pacific/ The future of fighting misinformation in Asia PacificThe global Reuters Institute Digital News Report shows that trust in news has declined in almost half the countries surveyed and more people are actively avoiding the news Meanwhile a majority of those surveyed said they worry about identifying the difference between real news and misinformation on the internet The Asia Pacific region is no stranger to these trends and ahead of elections in Malaysia Thailand Pakistan India and Indonesia the fifth annual APAC Trusted Media Summit organized by the Google News Initiative GNI brought together journalists fact checkers educators researchers activists and policymakers to share best practices for fact checking and media literacy Here are our key takeaways from the event Pre bunk rather than debunk Researchers at the University of Cambridge found that short prebunking videos rolled out as ads on social media are effective at improving people s ability to spot fake information Debunks on the other hand typically don t reach as many people as misinformation and they don t spread nearly as quicklyーwhich is why pre bunking is crucial Research shows the power of the continued influence effect once someone is exposed to misinformation it s significantly more difficult to return their beliefs to a baseline similar to that of someone who was never exposed to it in the first place Remember that people react emotion first Dr Michelle Wong Content Creator at Lab Muffin Beauty Science has been debunking misinformation around online beauty products for years She says that with people s short attention spans garnering the same level of interest in true stories as misinformation means that social media content has to have two things a compelling hook and an easy to understand explanation Dr Wong reminded us that misinformation spreads faster online because most of the content taps into powerful emotions like fearーwhich affect viewers more than complex science does Using the same tactic for debunking can help reach and inform a much broader audience Coalition building and empowering individuals Addressing misinformation requires more resources and skills beyond those of any single organization industry sector or government As shared by Maria Ressa Filipino American journalist author co founder and CEO of Rappler FactsFirstPH created a movement ahead of the recent Philippines elections A coalition of news organizations and civil society groups and businesses came together and built a collective network that pushed the real facts through the algorithm in an enormous ripple effect Most importantly collaboration needs to come from all sectorsーfrom tech companies like Google to media governments fact checkers and research Working together we can build a sustainable large scale approach to fighting misinformation The way forward for Asia Pacific This year in its th edition the Trusted Media Summit gathered registrants across the globe from countries representing over organizations in seven languages Attendees and speakers shared ideas and it was truly impressive how this community continues their work year after year to fight misinformation Attendees at this year s event learned how the community can collaborate work on pre bunking and adopt influencers successful social media strategies I m proud of our work that helps bring people together and I believe that Asia Pacific can lead the way in building a better more informed future for all If you missed the APAC Trusted Media Summit we ve put together on demand videos from the event here 2022-10-26 13:21:00
海外TECH MakeUseOf The 8 Best Careers for Extroverts https://www.makeuseof.com/best-careers-for-extroverts/ extrovertsif 2022-10-26 12:31:14
海外TECH MakeUseOf What Is an eBike and How Far Can You Ride on One? https://www.makeuseof.com/what-is-an-ebike-and-what-is-range/ sweaty 2022-10-26 12:15:14
海外TECH DEV Community Is your package.json safe? https://dev.to/mishgun/is-your-packagejson-safe-20c1 Is your package json safe Let s do a simple check open any JS project that you have at hand and try to find the symbol in the package versions If you don t have one congratulations Otherwise I have bad news for you “Compatible versionsBy default NPM saves package versions in package json with prefix in front of the version number version is described as “Compatible with version in NPM docs which means “any minor or patch version equal or higher than specified The problem with such versions is that after removing node modules and package lock json and running npm install some packages may be upgraded to higher patch or minor versions without you knowing it This shouldn t break anything because usually package developers follow semantic versioning rule saying that breaking changes can only be introduced in major version updates But in reality there is no guarantee that new minor version of a package wouldn t break something in your app This happens even for well tested and well maintained packages with large community like Webpack see issue SecurityBut there is also a much worse problem security risks Imagine that a hacker gets access to the NPM account of the owner of some popular package Publishing a patch version with malicious code would immediately make all the applications using this dependency or even package that depends on this dependency vulnerable You can easily find examples of such attacks by googling npm package hack here is one of them DeFi Exchange dYdX NPM User Account Gets Hacked How to fix the problemAdd save exact true to your package json This would make npm install specific versions of the packages that are used in your project Remove signs from the package versions in package json Or replace this inexact versions with actual versions of installed packages You can find them in package lock json But there is a simpler solution a CLI tool called exactify I ve created it to automate the process of replacing “compatible with versions with exact versions of installed packages taken from package lock json It also adds save exact true to your npmrc file which forces NPM to save exact versions for further package installations Just type npx exactify in the root of your project and see what happens Thank you for readingLet me know if you found this useful If you have any suggestions feature requests or bug reports feel free to fill an issue or open a PR on GitHub Stars are kindly appreciated Thank you for reading Don t forget to hit the like button and leave a comment bellow 2022-10-26 12:39:55
海外TECH DEV Community Improve Code in Your Ruby Application with RubyCritic https://dev.to/appsignal/improve-code-in-your-ruby-application-with-rubycritic-mbe Improve Code in Your Ruby Application with RubyCriticRubyCritic provides visual reports highlighting code smells code structure ease of testing and test coverage in your Ruby application It s in active development with new code analysis tools often being introduced as new features It s well worth keeping track of RubyCritic s releases This article will touch on some of RubyCritic s benefits its dependencies and how to read its code reports Let s get going Why Choose RubyCritic for Your Ruby on Rails Application You should consider using RubyCritic if you want a single place to review code improvements for your project Including RubyCritic in your development process will certainly reduce the time a development team spends working on technical debts Most technical debts will be mapped out at development time Some benefits that RubyCritic can provide to your project and development process include Unified information in one placeVisual reportsEasy installationZero configurationCustomization allowedBeing extensible ーyou can make your own open source integrationA badge generator To understand how RubyCritic works let s look at the internal dependencies it uses to make reports Internal Dependencies in RubyCriticWhen you add RubyCritic to your project some dependencies will also be included Let s highlight the dependencies that make magic happen the Reek Flay and Flog gems These dependencies allow RubyCritic to show you valuable information about your code Understanding how they work also makes RubyCritic easier to use Reek Detect Code Smells in RubyReek is a gem for detecting code smells in Ruby A bad smell in code is not about identifying wrong code it is more about analyzing if the code could be written better Reek s analysis identifies if something could be implemented in another way It does not suggest how as most code smells are associated with business logic and a developer s experience with a language For example you could easily rewrite an if statement using metaprogramming techniques The way to correct it though is up to a developer according to a project s context In this case no library will be able to indicate the best solution Reek detects an extensive list of smells It examines and identifies possible smells in ClassesAttributesMethodsParametersModulesIteratorsThe implementation of polymorphismBy finding smells you can take steps to make your code more readable and maintainable Reek allows for custom configuration to Disable a detector by its typeExclude directories from being scannedUse filters to silence warningsYou can even define specific code to suppress in a scan a very useful feature when code is not yet finalized or refactored or even if it is legacy code Let s see a sample of how Reek works In this code the exception is just defined as e app controllers erp orders controller rbdef create rescue JSON Schema ValidationError gt e render status unprocessable entity json type invalid schema title Your request does not match the expected schema detail e message endendIt is easy to imagine that e means an exception but what if we have other exceptions Identifying them correctly is the best way to maintain good code Reek will identify e as UncommunicativeVariableName and show a warning reek app controllers erp orders controller rbInspecting file s Sapp controllers erp orders controller rb warning UncommunicativeVariableName Erp OrdersController create has the variable name e Flay Check for Ruby Code DuplicationFlay identifies structural Ruby code similarities including Detecting code duplication within a projectChecking the difference at any code levelGenerating a score to measure how good your code is the lower your score the better the code If Flay reports a similarity in your code it s a high indicator that refactoring is needed Don t ignore this Duplicate code is a gateway to bugs If you fix something in one place but forget about another more bugs appear We can check how Flay works by running it in its own source code flay lib flay rbTotal score lower is better Similar code found in iter mass lib flay rb lib flay rb Flay identifies similarities between these two lib flay rb opts on m mass MASS Integer Sets mass threshold default options mass do m options mass m to iend lib flay rb opts on t timeout TIME Integer Set the timeout default options timeout do t options timeout t to iendNote that the code s spelling is not exactly the same but its functionality is and can be refactored to avoid duplication That s the magic of Flay Flog Examine Your Code Complexity in RubyFlog checks how difficult your code is to test It sets a complexity score for each line of code and sums up the score for each method and class The higher the score the more your code needs to be refactored because it signifies that you have a highly complex implementation Let s see Flog in action A small change can cause your score to variate def validate expiration return if exp month blank exp year blank end flog app models credit card rb CreditCard validate expiration app models credit card rb Note that in the first part of the code we have an or check that increases the score by points def validate expiration return if exp month blank return if exp year blank end flog app models credit card rb CreditCard validate expiration app models credit card rb Other RubyCritic DependenciesRubyCritic also uses other runtime dependencies such as byebug this elevates debugging Ruby applications It allows you to run a program line by line add breakpoints and evaluate and track values at runtime If you still use puts for debugging it s time you get to know Byebug s features and commands rubocop a linter for Ruby code that helps you follow a style guide used by the Ruby community or even apply your own code style It s very useful to set standards in your team and avoid silly conflicts about spaces and tabs SimpleCov a tool to check Ruby application code coverage You can configure it to run alongside your tests It provides metrics on code coverage so that you can identify what you need to pay attention to and where to invest your time to create better test cases Dive into RubyCritic s list of dependencies Using RubyCritic for Your Ruby on Rails AppRubyCritic has good documentation to help you get started without much configuration Therefore we will focus on utilizing its resources to help us analyze its reports RubyCritic provides Code Smells and Coverage reports We ll look at each of these features in turn The Overview in RubyCriticThe Overview page shows a total score for your project on a donut chart along with ratings A being the best rating F the worst The Summary section shows the details of each rating including the number of files churns commit changes and smells found In the Churn vs Complexity section here it is already possible to identify the class with the greatest complexity which should probably be the first point of attention To better understand this graph it is worth recapping code churn Code that changes frequently can raise an alert that something is wrong ーmaybe in the logic or the business domain for example Either way looking at Churn vs Complexity can help you see where the pain points are across your project Code ReportThe Code report shows a score for each class including indicators for churn complexity duplication and smells You can sort this list by any column to view the highest ranking factors and address the most critical issues first In addition this list has a filter that allows you to search by class name quickly Clicking on the class name will open a detailed page with the class code and metrics such as Code lineQuantity methodsCalculated churnComplexity by methodComplexity score total per class Amount of duplicates foundNumber of smellsThe line of code where an issue is found will be highlighted based on information provided by the Reek gem If Flog identifies any issues you ll see a score You ll also see if a Flay report has detected any duplicate code Smells ReportThe Smells page displays the smell type the exact location where a smell appears and the fix status As mentioned earlier the smells are detected by Reek and sorting and filtering are also available on this page Clicking on a class name will open a page with your code details You can also see the classes grouped by smell type this is missing from the Code page which only displays the number of smells Coverage ReportFinally you can see class classifications and the percentage of coverage for each class in the Coverage report In contrast to the lists on the Code and Smells reports the list in Coverage does not allow information to be sorted and filtered You can only see the percentage of code coverage ーno additional information is available Integrating the SimpleCov report could add more value and usefulness to this page But in any case the Coverage report can help if you need a simple report to examine your project s test coverage Wrap UpIn this post we briefly looked at the benefits of RubyCritic for your Ruby application before diving into its internal dependencies Reek Flay and Flog We then ran through how to read and analyze RubyCritic s reports As a next step figure out how to use RubyCritic in your pipeline Happy code refactoring P S If you d like to read Ruby Magic posts as soon as they get off the press subscribe to our Ruby Magic newsletter and never miss a single post 2022-10-26 12:02:12
Apple AppleInsider - Frontpage News How to use Apple Pencil's new Hover Mode with M2 iPad Pro https://appleinsider.com/inside/apple-pencil/tips/how-to-use-apple-pencils-new-hover-mode-with-m2-ipad-pro?utm_medium=rss How to use Apple Pencil x s new Hover Mode with M iPad ProThe new Hover Mode is either a gimmick you ll never use or part of making Apple Pencil feel ever more like a natural part of your workflow Here s how to use it Pick up Apple Pencil hold it over your iPad Pro and you re in Hover Mode The End Except it does have to be the right Apple Pencil and it does have to be the right iPad Plus what Hover Mode is ultimately most useful for is going to depend on third party app developers and how ーor whether ーthey adopt its features Read more 2022-10-26 12:26:10
Apple AppleInsider - Frontpage News Ultimate iPad buyer's guide Christmas 2022 - which iPad to buy at any price point https://appleinsider.com/articles/22/10/26/ultimate-ipad-buyers-guide-christmas-2022---which-ipad-to-buy-at-any-price-point?utm_medium=rss Ultimate iPad buyer x s guide Christmas which iPad to buy at any price pointApple updated its iPad lineup and there are more pricing tiers than ever Here s how to choose which tablet to buy for your budget inch and inch iPad Pro with MAs with other arms of its empire Apple covers a wide spectrum of price points with its iPad and iPad Pro range At the value end you have the th generation iPad while at the other you have the high performance of the iPad Pro Read more 2022-10-26 12:01:54
Apple AppleInsider - Frontpage News Snap CEO firm believer in Apple's evolving privacy moves https://appleinsider.com/articles/22/10/26/snap-ceo-firm-believer-in-apples-evolving-privacy-moves?utm_medium=rss Snap CEO firm believer in Apple x s evolving privacy movesEvan Spiegel says that App Tracking Transparency in iOS hurt his Snapchat app but believes Apple is doing the right thing for users ーand businesses Evan Spiegel Source Wall Street Journal Apple s requirement that apps ask users for specific permission to track them has had a big impact on advertisers and on app developers Snap CEO Spiegel says that the move was a jolt but he believes Apple is adapting to help developers Read more 2022-10-26 12:28:14
Cisco Cisco Blog ThreatWise TV: Exploring Recent Incident Response Trends https://blogs.cisco.com/security/threatwise-tv-exploring-recent-incident-response-trends trends 2022-10-26 12:50:53
海外科学 NYT > Science Climate Pledges Are Falling Short, and a Chaotic Future Looks More Like Reality https://www.nytimes.com/2022/10/26/climate/un-climate-pledges-warming.html Climate Pledges Are Falling Short and a Chaotic Future Looks More Like RealityWith an annual summit next month the United Nations assessed progress on countries past emissions commitments Severe disruption would be hard to avoid on the current trajectory 2022-10-26 12:56:22
ニュース @日本経済新聞 電子版 デジタル給与、23年4月解禁 厚生労働省 https://t.co/HSobcqHgKp https://twitter.com/nikkei/statuses/1585251818212274177 厚生労働省 2022-10-26 12:47:40
ニュース @日本経済新聞 電子版 1日に何万キロカロリーも食べて体を太らせた後、冬眠するクマはなぜ糖尿病にならないのか。科学者たちを長年悩ませてきた疑問が解かれつつあります。ヒトの治療に活かせる可能性に期待がかかります。(無料記事です) https://t.co/bARbsT8SgZ https://twitter.com/nikkei/statuses/1585251162286161921 日に何万キロカロリーも食べて体を太らせた後、冬眠するクマはなぜ糖尿病にならないのか。 2022-10-26 12:45:04
ニュース @日本経済新聞 電子版 贈与税のルール 生活費や学費、原則非課税 【2022年9月 読まれた記事】 ▶数百万円などまとまった金額は課税対象も ▶土地を安く譲る・借金負担…お金だけでなく ▶同じ年に複数から贈与を受けた場合は合算 https://t.co/GtWtPvcFxH https://twitter.com/nikkei/statuses/1585247443549036545 2022-10-26 12:30:17
ニュース @日本経済新聞 電子版 電通グループが最高益に見合う市場の評価を得られていません。海外大手がデジタル戦略で先を行く中、同社は世界でも珍しい、DXなど広範な経営支援に踏み込み。競合するのは金融業界の猛者たちです。 https://t.co/ISde6NWXrn https://twitter.com/nikkei/statuses/1585243604406177792 2022-10-26 12:15:02
ニュース @日本経済新聞 電子版 出産準備へ10万円相当支援、22年4月以降対象 政府調整 https://t.co/GiB8LenOJO https://twitter.com/nikkei/statuses/1585242746918313984 出産準備 2022-10-26 12:11:37
ニュース @日本経済新聞 電子版 さらばジャパンパッシング 日本株に中国株から逃避資金 https://t.co/JcuOR7ydly https://twitter.com/nikkei/statuses/1585239982540660737 逃避 2022-10-26 12:00:38
ニュース BBC News - Home UK tax and spending plan pushed back by two weeks, says Hunt https://www.bbc.co.uk/news/uk-politics-63399803?at_medium=RSS&at_campaign=KARANGA november 2022-10-26 12:37:50
ニュース BBC News - Home Rishi Sunak defends return of Suella Braverman to Home Office https://www.bbc.co.uk/news/uk-politics-63397590?at_medium=RSS&at_campaign=KARANGA government 2022-10-26 12:41:39
ニュース BBC News - Home LGBT football fans told to be respectful at Qatar World Cup https://www.bbc.co.uk/news/uk-63401193?at_medium=RSS&at_campaign=KARANGA world 2022-10-26 12:38:56
ニュース BBC News - Home Pound holds gains after delay to economic plan https://www.bbc.co.uk/news/business-63399651?at_medium=RSS&at_campaign=KARANGA recent 2022-10-26 12:13:22
ニュース BBC News - Home Manchester United: Raphael Varane out until World Cup, Cristiano Ronaldo back in squad for Europa League https://www.bbc.co.uk/sport/football/63399744?at_medium=RSS&at_campaign=KARANGA Manchester United Raphael Varane out until World Cup Cristiano Ronaldo back in squad for Europa LeagueManchester United boss Erik ten Hag confirms France defender Raphael Varane will be out until the World Cup while Cristiano Ronaldo returns to the squad 2022-10-26 12:37:22
北海道 北海道新聞 <見つけた 小さな自然>エゾリスとオニグルミ 森駆け穴掘り、食糧確保 https://www.hokkaido-np.co.jp/article/751168/ 食糧 2022-10-26 21:18:12
北海道 北海道新聞 米ドル定期預金の購入増 高金利魅力、円高に転じるとリスクも https://www.hokkaido-np.co.jp/article/751353/ 定期預金 2022-10-26 21:15:00
北海道 北海道新聞 遠軽の農家がレストラン 新鮮な食材ふんだんに 週2日、一般向けランチも https://www.hokkaido-np.co.jp/article/751134/ 白滝北支湧別 2022-10-26 21:14:50
北海道 北海道新聞 レバンガ3勝目 茨城に93―80 https://www.hokkaido-np.co.jp/article/751348/ 茨城 2022-10-26 21:11:00

コメント

このブログの人気の投稿

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