海外TECH |
MakeUseOf |
How to Manage YouTube Notifications |
https://www.makeuseof.com/how-to-manage-youtube-notifications/
|
youtube |
2022-07-20 18:15:14 |
海外TECH |
MakeUseOf |
How to Add Icons to the Desktop in Windows 11 |
https://www.makeuseof.com/how-to-add-icon-to-desktop-windows/
|
windows |
2022-07-20 18:15:14 |
海外TECH |
DEV Community |
The end of poison messages! |
https://dev.to/saar_memphis/the-end-of-poison-messages-1fj1
|
The end of poison messages Never lose a message again and reduce your troubleshooting time with events with Memphis dev real time tracingHave you ever got a call in the middle of the night saying “Infrastructure looks ok but some service is not consuming data messages get redelivered Please figure it out Redelivered messages are also called “Poison messages Poison messages Messages that cause a consumer to repeatedly require a delivery possibly due to a consumer failure such that the message is never processed completely and acknowledged so that it can be stopped being sent again to the same consumer Example Some message on an arbitrary queue pushed pulled to or by a consumer That consumer for some reason doesn t succeed in handling it It can be due to a bug an unknown schema resources issue etc…In RabbitMQ for example quorum queues keep track of the number of unsuccessful delivery attempts and expose it in the x delivery count header that is included with any redelivered message It is possible to set a delivery limit for a queue using a policy argument delivery limit When a message has been returned more times than the limit the message will be dropped or dead lettered if a DLX is configured It is known to any developer that uses a queue messaging bus that poison messages should be taken care of and it s the developer s responsibility to do so In RabbitMQ the most common simple solution would be to enable DLX dead lettered queue but it doesn t end there Recovering a poison message is just the first part and the developer must also understand what causes this behavior and mitigate the issue SolutionsWhile there is the classic solution of committing acknowledging a message as soon as possible it s not the best option for use cases requiring ensuring messages are acknowledged only when finished being handled Other approaches How to handle unacknowledged messages in RabbitMQTurn on DLXConfigure the DLXPlace a routing keyBuild a dedicated consumer pointed to the DLXConsume the unacknowledged messagesFix the code eventsHow to handle unacknowledged messages in Apache KafkaThere is no out of the box redelivery recovery of such messages Ensure there are logs within the code tracking exceptions and export to pagerduty datadog new relic etc…If the retention of a message is too small it will be gone before the developer gets the chance to debug it In most cases the message will not be unique and can the loss but in other like transactions atomic requests it is To mitigate this a wrapper that provides this functionality should be made A great example of such that provides that ability and more is Wix s GreyHound Definitely worth taking a look There are other use cases that utilize cache DB of some kind to persist the message while being processed before being getting committed Unacknowledged messages in Memphis dev When we started to refine our approach understand the needs validate the experience and craft the value it will bring to our users three key objectives led our process The entry point of a user to the issue Quickly understand the problematic consumer and the root cause of the issue Code gets fixed The developer must debug the fix with a similar message to ensure it works Define the triggerIn Memphis broker at the SDK level we use a parameter called “maxMsgDeliveries Once this threshold is reached the broker will not repeatedly send the “failed to ack message to the same consumer group NotificationMemphis broker senses the event of crossing the “maxMsgDeliveries per station per consumer group Persist the time sent and payload of the redelivered message to the Memphis file based store for hours Mark the message as poisoned by a specific consumer Create an alert Identify the consumer group which didn t acknowledge the messageInstead of going around through logs and multiple consumer groups we wanted to narrow the finding to the minimum so a simple click on the “real time tracing will lead to a graph screen showing the CGs which passed the redelivery threshold Fix and DebugAfter the developer understand what went wrong and creates a fix before pushing the code which will lead to probably more adjustments when new messages will arrive we have created the “Resend mechanism which will push the unacknowledged message as many times as needed Until ACK to the consumer group that was not able to acknowledge the message in the first place The unacknowledged message will be retrieved from Memphis internal DB ingested into a dedicated station per station per CG and only upon request Next it will be pushed to the unacknowledged CG WITHOUT ANY CODE CHANGE using the same already configured emit That s it No need to create a persistency process cache DB DLQ or massy logic You can be sure no message is lost Still under construction but if you re interested sandbox memphis devThis article is written by Avraham Neeman |
2022-07-20 18:31:17 |
海外TECH |
DEV Community |
How can I connect or access an AWS S3 bucket from an Amazon EC2 Instance? |
https://dev.to/tanmaygi/how-can-i-connect-or-access-an-aws-s3-bucket-from-an-amazon-ec2-instance-45gd
|
How can I connect or access an AWS S bucket from an Amazon EC Instance In this tutorial I ll show you step by step to connect amp access your S bucket from EC instance via IAM Roles Step Create an IAM instance profile that grants access to Amazon S Open the IAM console Choose Roles and then choose Create role Select AWS Service and then choose EC Select Next Permissions Create a custom policy that provides the minimum required permissions to access your S bucket Note Creating a policy with the minimum required permissions is a security best practice However to allow EC access to all your Amazon S buckets you can use the AmazonSReadOnlyAccess or AmazonSFullAccess managed IAM policy Select Next Tags and then select Next Review Enter a Role name and then select Create role Step Create an EC instance and attach IAM instance profile to this instanceCreate the EC instance Launch an EC instance in min For this click on checkbox on that instance and go to Actions tab gt Security gt Modify IAM role Now select the IAM role that you created in step then save it This will assign the IAM role to your ec instance Step Validate S to check permissions if it has any denying policy attached to it Go to Permissions gt Bucket Policy then search fo Effect DenyNow in your bucket policy edit or remove any Effect Deny statements that are denying the IAM instance profile access to your bucket Step Check the network connectivity from EC instance to Amazon S Verify if EC has network connectivity to S EndpointsWe need to make sure that our instance must possess one of the following quality EC instance with a public IP address and a route table entry with the default route pointing to an Internet Gateway Private EC instance with a default route through a NAT gateway Private EC instance with connectivity to Amazon S using a Gateway VPC endpoint Step Validate access to S bucketsFirst we need to Install AWS CLI Install or update AWS CLI To Verify access to your S buckets by running the following command Replace BUCKET NAME with the name of your S bucket This command will list all the objects in your bucket aws s ls s BUCKET NAMEAddition resources Connect with meGithubLinkedin |
2022-07-20 18:30:12 |
Apple |
AppleInsider - Frontpage News |
iPhone demand outpacing broader smartphone market in China, analyst says |
https://appleinsider.com/articles/22/07/20/iphone-demand-outpacing-broader-smartphone-market-in-china-analyst-says?utm_medium=rss
|
iPhone demand outpacing broader smartphone market in China analyst saysApple iPhone demand in China is continuing to accelerate while outpacing the broader and rebounding smartphone industry in the country according to JP Morgan iPhone sIn a note to investors seen by AppleInsider JP Morgan analyst Samik Chatterjee analyzes the latest smartphone sales data released from the China Academy of Information and Communications Technology CAICT The newest batch of data represents the month of June Read more |
2022-07-20 18:33:16 |
Apple |
AppleInsider - Frontpage News |
macOS Monterey 12.5 is now available to the public |
https://appleinsider.com/articles/22/07/20/apple-releases-macos-monterey-125-to-the-public?utm_medium=rss
|
macOS Monterey is now available to the publicApple has now shipped macOS Monterey adding performance improvements and potentially updating security features macOS MontereyThe new macOS Monterey has been in developer beta since May and has since gone through five revisions Read more |
2022-07-20 18:09:00 |
海外TECH |
Engadget |
App developers can now suggest Alexa routines for you |
https://www.engadget.com/alexa-routine-api-amazon-smart-ambient-home-connected-devices-183703546.html?src=rss
|
App developers can now suggest Alexa routines for youAt an Alexa developer event Amazon revealed some tools that will make it possible for developers to create Alexa routines and suggest them to users With user permission they can use the Alexa Ambient Home Dev Kit to integrate their devices and services with other products more seamlessly For instance they might suggest a routine that instructs a robot vacuum cleaner to get to work after you leave home and arm your security system The dev kit will also allow for changes made in one app to be replicated elsewhere So if you rename a room in the app you use to control your smart lights Alexa and other compatible connected services can automatically update the room s name on their end too Another set of APIs is all about home states for scenarios such as Home Vacation Dinner Time and Sleep Modes and settings can sync between devices and services based on the situation So when you go to bed the home state function can make sure certain electronics turn off the doors lock it they haven t already and the thermostat adjusts the temperature to your preferred nighttime setting Allowing companies to create routines could be both a timesaver for consumers and open up their eyes to some smart home possibilities that they might not have previously considered Amazon says there are now more than million smart home devices that folks have connected to Alexa so there are a lot of opportunities to improve or streamline people s lives That is as long as they re willing to put their faith in Amazon a company that doesn t exactly have a spotless track record when it comes to privacy in the home While Amazon laid out more of its vision of the quot ambient home quot during the event it said it s years away from truly bringing that to fruition Other announcements the company made include more ways it s playing nicely with alternative voice assistants Universal Device Commands UDCs and Agent Transfers ATs will allow for simultaneous wake words on the same device so that it can support multiple voice assistants With UDCs developers will be able to let users issue a command quot using any compatible voice service s wake word even if the service was not originally used to initiate the request quot If a voice service can t handle a request it can be transferred to another assistant through ATs Amazon expects both capabilities to be enabled on the cloud side in the next months In addition certain Skullcandy headphones will be able to handle Alexa and “Hey Skullcandy quot requests simultaneously |
2022-07-20 18:37:03 |
海外TECH |
Engadget |
Apple's AirTag four-pack is on sale for $89 right now |
https://www.engadget.com/apples-air-tag-four-pack-is-on-sale-for-89-right-now-182006380.html?src=rss
|
Apple x s AirTag four pack is on sale for right nowNow s a good time to pick up a few AirTags while you can get a four pack for one of the best prices we ve seen Amazon has the multipack of Apple s Bluetooth trackers for or percent off their usual rate While the bundle briefly dropped to on Prime Day last week this sale price is still a good deal especially for those that have more than one item they d want to keep track of with the gadgets If a single AirTag is enough for you you can pick one up for right now Buy AirTag pack at Amazon Buy AirTag pack at Amazon While Apple has competition from Tile Chipolo and even Samsung to a degree in this space those steeped in the Apple ecosystem will find a lot of advantages to AirTags They pair quickly and seamlessly when placed next to iPhones and then you can label them and track their locations using Apple s Find My network You can force your AirTag to emit a chime which should help guide you to your missing things and those who have newer iPhones can use the ultra wideband feature to be guided to their things using on screen directions A slight downside to AirTags is their lack of keyring hole which makes them a bit less versatile than competing trackers on their own You ll have to buy a holder of some sort if you want to hook the AirTag to your keys but the coin sized devices can easily slip into a bag or wallet without taking up too much space Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice |
2022-07-20 18:20:06 |
海外科学 |
NYT > Science |
Soaring Overdose Rates in the Pandemic Reflected Widening Racial Disparities |
https://www.nytimes.com/2022/07/19/health/overdose-pandemic-race.html
|
Soaring Overdose Rates in the Pandemic Reflected Widening Racial DisparitiesA new federal report found that fatal overdoses jumped percent among Black people twice the increase among white people from to the end of |
2022-07-20 18:56:14 |
海外科学 |
BBC News - Science & Environment |
Cheetahs to prowl India for first time in 70 years |
https://www.bbc.co.uk/news/world-asia-india-62239811?at_medium=RSS&at_campaign=KARANGA
|
namibia |
2022-07-20 18:09:58 |
ニュース |
BBC News - Home |
Prince Charles: No inquiry into £2.5m cash donation to his charity |
https://www.bbc.co.uk/news/uk-62011791?at_medium=RSS&at_campaign=KARANGA
|
charity |
2022-07-20 18:15:36 |
ニュース |
BBC News - Home |
Henrik Stenson joins LIV Golf Series after being removed as Europe's Ryder Cup captain |
https://www.bbc.co.uk/sport/golf/62237705?at_medium=RSS&at_campaign=KARANGA
|
captain |
2022-07-20 18:07:56 |
ニュース |
BBC News - Home |
Twenty20 internationals series: Dominant New Zealand hammer Ireland by 88 runs in Belfast |
https://www.bbc.co.uk/sport/cricket/62243703?at_medium=RSS&at_campaign=KARANGA
|
Twenty internationals series Dominant New Zealand hammer Ireland by runs in BelfastNew Zealand enjoyed a comfortable run win over Ireland in the second of three Twenty internationals in Belfast |
2022-07-20 18:21:43 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「学習する組織の最小単位はいつもチームから」、ピーター・センゲ氏の言葉を識者3人が読み解く - 進化する組織 |
https://diamond.jp/articles/-/306577
|
「学習する組織の最小単位はいつもチームから」、ピーター・センゲ氏の言葉を識者人が読み解く進化する組織『学習する組織』の著者、ピーター・センゲ氏の分にわたるレクチャーを、福谷彰鴻氏、小田理一郎氏、井上英之氏が鼎談の中で解説。 |
2022-07-21 04:00:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
鏡のように時代を映す、ディストピア小説の古典――一九八四年 - SFでビジネスが跳ぶ! |
https://diamond.jp/articles/-/306651
|
|
2022-07-21 03:55:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
脱シリコンバレーへ 米自治体がIT労働者を支援 - WSJ PickUp |
https://diamond.jp/articles/-/306741
|
wsjpickup |
2022-07-21 03:50:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日本の投資家に鳴らす円安「3段階の警鐘」、2022年後半の難局相場への臨み方 - マーケットフォーカス |
https://diamond.jp/articles/-/306739
|
日本の投資家に鳴らす円安「段階の警鐘」、年後半の難局相場への臨み方マーケットフォーカス米株式や商品などリスク資産市場は、インフレ高進と金利上昇加速で景気後退かという臆測に揺らいだ。 |
2022-07-21 03:45:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
テク空売りが的中、あるヘッジファンドの復活劇 - WSJ PickUp |
https://diamond.jp/articles/-/306740
|
wsjpickup |
2022-07-21 03:40:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
ドル高ユーロ安の欧州、米国人観光客が散財 - WSJ PickUp |
https://diamond.jp/articles/-/306742
|
wsjpickup |
2022-07-21 03:35:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
「プレゼンテーション研修」で、“相手を動かす”テクニックを学んでみた - HRオンライン |
https://diamond.jp/articles/-/306434
|
|
2022-07-21 03:30:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
相手に「もちろん!」と答えてもらえる“感じいいお願いの一言”とは? - オトナ女子のすてきな語彙力帳 |
https://diamond.jp/articles/-/306610
|
語彙力 |
2022-07-21 03:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【毎期末のドタバタ】「会計トリックではない」と信じる力が大事だった - GE帝国盛衰史 |
https://diamond.jp/articles/-/306498
|
日本企業 |
2022-07-21 03:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
【たった4年でFIREできた元会社員が教える】 お金から自由になるため 働き方を考え直すたった1つのポイント - 投資をしながら自由に生きる |
https://diamond.jp/articles/-/306085
|
|
2022-07-21 03:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
生きることに疲れた人が「手放すべきもの」とは?【書籍オンライン編集部セレクション】 - 大丈夫じゃないのに大丈夫なふりをした |
https://diamond.jp/articles/-/306349
|
生きること |
2022-07-21 03:05:00 |
GCP |
Cloud Blog |
The Diversity Annual Report is now a BigQuery public dataset |
https://cloud.google.com/blog/topics/developers-practitioners/diversity-annual-report-now-bigquery-public-dataset/
|
The Diversity Annual Report is now a BigQuery public datasetSince tech companies have relied on metrics to identify trouble spots establish baselines and measure meaningful progress in diversity including publishing DEI data directly through diversity annual reports However as our understanding of DEI has evolved over time each company s report has diverged creating a fragmented landscape of industry wide data This separation is problematic as no single company s diversity dataset can solve tech s DEI challenges Instead we need to build industry wide systemic solutions to create sustainable change and those start with establishing a common language for DEI data and standardizing and sharing DEI data across tech companies The challenge is most companies publish diversity data in a way that makes it difficult to analyze such as using bar graphs and pie charts Researchers as a result are unable to easily pull the real detailed data or aggregate and analyze it for their unique needs e g hiring trends for tech vs nontechnical roles representation of Asian women in leadership and more As we shared in our most recent Diversity Annual Report external research shows that sustainable change will only come from solutions that encompass the entire tech industry and data transparency is a critical step in this work Google s Diversity Annual Report public dataset amp BigQueryIn May we released our Diversity Annual Report which includes demographic data on workforce representation hiring and attrition of employees at Google including leadership You can see our hiring data by race ethnicity gender and intersectional hiring over time by region and more In an effort to make this data more transparent and accessible for analysis we have added it as a public dataset in BigQuery Google Cloud s powerful data warehousing tool Our data is now even easier for researchers community organizations and industry groups to leverage and compare against external benchmarks to help contextualize our progress As one of the first in the industry we are proud to have published our diversity data on BigQuery for the second year in a row Our dataset among others is public stored and paid for by Google so those who are interested can use BigQuery s advanced analytic capabilities through the Google Cloud Public Dataset Program for free Diversity Annual Report public dataset on BigQuery click to enlarge Contextualizing diversity data is necessary to make meaningful conclusionsWhile Google s diversity dataset can help users compare their own datasets to Google s current and historical trends DEI data is only useful when analyzed in the context of other relevant datasets For example concluding that Black hiring has increased from to has little meaning unless there is a point of reference like US general census data labor force participation rates or graduation rates It s why Google also includes other public datasets in BigQuery such as related industry DEI data talent and graduation pools By doing so users can run a sample query that then compares Google s hiring and representation to related industries software publishers data process services etc Users can then better understand and contextualize areas of progress and opportunity and they can more objectively identify where organizations can take a proactive role in addressing not only DEI in their companies but also in the communities in which they call home Sample query showing Google s hiring and representation compared to related industries click to enlarge Intersectional data and disaggregated baseline metricsIn the workplace intersectional data is key to understanding the layers of exclusion and inequity that may exist for certain groups This includes those with social identity overlap like race gender and LGBTQ that create multiple levels of inequality or discrimination It s critical for DEI data to be disaggregated in a meaningful way to diagnose the true health of a system and to better understand how intersectionality contributes to the greater DEI landscape Google s Diversity Annual Report public dataset includes Google s intersectional hiring and representation data also broken down by tech non tech and leadership roles BigQuery s friendly interface makes it easy to select the relevant parameters and join this data with other public or private datasets to help meaningfully contextualize Google s data against the broader industry Anyone from data scientists to DEI stewards can launch public datasets from the Google Cloud Marketplace and start querying them right away Findings can be visualized through tools like Looker Data Studio or Tableau This is just the beginningAs DEI work continues to evolve into an industry wide approach we must encourage a standard of practice for collecting and reporting data across the board At scale data has the power to enable the tech industry to make real improvements collectively in addition to inside our individual companies We hope our dataset and sample queries give researchers and individuals a launchpad to become DEI practitioners of the tech industry and ensure we have the right data to solve the right problems Footnote The only time anyone would need to pay is for queries performed on the data after BigQuery s TB mo of free tier processing This means that each user receives TB of free BigQuery processing every month which can be used to run queries on this public dataset |
2022-07-20 18:30:00 |
コメント
コメントを投稿