投稿時間:2022-07-17 19:24:15 RSSフィード2022-07-17 19:00 分まとめ(24件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT 気になる、記になる… Appleの整備済み商品情報 2022/7/17 https://taisy0.com/2022/07/17/159211.html apple 2022-07-17 09:51:27
Docker dockerタグが付けられた新着投稿 - Qiita M1MacでMySQL5.7のイメージがのエラーで起動できないからMySQL8.0で起動する https://qiita.com/okaponta_/items/f7fad2d9af7c14c8ff8c manifestforlinuxarmvinthe 2022-07-17 18:33:30
Azure Azureタグが付けられた新着投稿 - Qiita Azureのお勉強開発 https://qiita.com/Tsora1216/items/ba3c377f1d1d99a09eaf azure 2022-07-17 18:12:22
技術ブログ Developers.IO 色々なクライアントOSからAWS Client VPNに接続してみる(OpenVPNクライアント版) https://dev.classmethod.jp/articles/connect-aws-client-vpn-from-various-os-with-open-vpn-client/ awsclie 2022-07-17 09:18:37
海外TECH DEV Community How to ask for help https://dev.to/dhravya/how-to-ask-for-help-2690 How to ask for helpThis blog was originally published on blog dhravya devEvery couple of days a beginner comes to our programming server The Coding horizon and asks for help That s perfectly OK Asking for help is natural and is almost necessary for learning However you need to HELP OTHERS to help you So here s some points to keep in mind I ll try to keep it short and simple You might like my blog about Learning to code for beginners if you enjoyed this one What not to doLet s start off with some things that you absolutely should not do Asking people to join a voice callMany people don t know how to frame their questions very well so they ask others to join a voice call Please keep in mind that people that are willing to help you have a life and they might not be in the situation to join a voice call or even if they are they might not be comfortable to which is mostly the case Framing your questions correctly is all you need to do My code doesn t work Never ask for help with just doesn t work It doesn t help anyone in this situation elaborate on what exactly doesn t work and why it s not working Pinging random people giving bribes and other thingsLeaving the server because you didn t get help immidiatelyThis is kinda insane People join a server ask for help don t frame their questions properly and then since no one understood the question in the first place they leave the server Joining a server just to ask for help isn t a problem here even I did it as a beginner and that s how I found amazing people and amazing discord servers The problem is leaving the server just because no one knew the answer to your question Ok let s get to bribes just yesterday this happened this checks out all points of what not to do so far As you can see they also pinged a random person without any context Shortly after asking this they left the server and I didn t get the chance to help them What to do instead Don t bribe lolFrame your question correctly Sending screenshots of your codeOr worse sending photos of your laptop screen using your phone This happens an awful lot and it really makes it difficult to get help Some people just send screenshots without any context as to what is going on what s the issue and what they have tried More on that later What to do instead JUST COPY PASTE CTRL C and CTRL VMake sure the code is properly embed inside triple back ticks code block What you SHOULD do Google before askingThere s a good chance that the problem you re having has already been solved by someone on the internet you should try to google it first Don t ask to ask just askDitch the Can someone please help me Get to the point ask your question right away Read Don t ask to ask Frame your questions correctly Ok this is very important Framing your questions correctly will make it easier for others to understand your question and you ll be much more likely to get an answer Here s how to do it So every question should have these points Language Framework Library you re using What you re trying to achieveA brief description of the problemA relevant code snippetIn case of a visual problem a screenshot of the problem For example web development related questions Stack trace if anySolutions you have already triedSo here s sort of a template you can use for your questions Hey there I need some help with a lt language framework library tool gt problem I m trying to lt what you re trying to achieve gt But lt A brief description of the problem gt Here s my code lt Proper embedded code embed using triple back ticks your codeupload to pastebin if it s too long gt I ve added the screenshots lt attach the screenshot gt Here s the error I m getting I ve already tried the following solutions lt Solutions you have already tried gt I can almost guarantee that you will get help from someone if you ask in such a format Be respectful even if you don t get help Sometimes even after all this your question might be ignored or maybe no one could help you That s fine Please be respectful even if you don t get help Don t leave the server or community don t be rude TL DRHere s a TL DR of how to ask for help Code doesn t work Elaborate Can someone please help me Get to the pointDon t ask people to join a voice call don t ping random people without context don t give bribesDon t send screenshots of your code Just copy paste CTRL C and CTRL VGoogle before askingFrame your questions correctlyBe respectful even if you don t get help That s it for today I hope I provided some value with this blog I ve not been writing since like a month I ll try to be more consistent again 2022-07-17 09:09:25
海外TECH DEV Community Let's learn React by building this awesome project https://dev.to/prateek951/lets-learn-react-by-building-this-awesome-project-2noe Let x s learn React by building this awesome projectIn this video we will make a full Exercise Tracker Application using React js and React Router The features of the application that we will be building in this course are Fetching the list of exercises from a local JSON Server Create a New Exercise Update an already existing exercise Delete an existing exercise Toggling the completion status of an exercise and showing it in visually Creating a filter component to filter the exercises based on the completion status pending all completed and more Timestamps let s start demo of our exercise tracker project a quick glance over the starter files setting up our starter project and installation whiteboard deciding about the components for our project starting the project installation of json server package amp running it creating our first page component homepage bringing our first hook into action useState fetching data from our data source using another hook useEffect installation and setting up react router defining our first route home page route seeing our fetched exercises in react dev tools extension starting with exercise list component passing our fetched exercises to the exercises list component as a prop creating an exercise item component using the exercise item in exercises list and passing exercise as a prop starting with delete exercise functionality whiteboard understanding the process for deletion of item defining our delete exercise handler in home page component passing a pointer to our delete exercise handler as a prop to exercises list component forwarding the pointer to delete exercise handler as a prop further down to exercise item component ensuring the deletion of item gets reflected in our local JSON store starting with toggling the exercise completion status functionality defining our toggle exercise completion handler in home page component forwarding a pointer to our toggle exercise handler as a prop to exercises list component forwarding the pointer to our toggle exercise handler further down to our exercise item component invoking our toggle exercise completion handler via the on toggle exercise prop ensuring the toggling of the completion status gets reflected in our local JSON store laying out our create exercise form handling form submission for creating a new exercise using the useHistory hook to push the user back to home page on exercise creation creating the navbar component starting with edit exercise component creating a route for the edit exercise component using dynamic segment adding a router link for editing an exercise for an exercise item extracting the id of an exercise from the router params using the useParams hook using the id that we get from router params to load the exercise in our edit exercise component handling form submission for updating the populated exercise filtering the exercises based on their completion status creating our base filter component setting up a current filter state in our home page component creating an update exercise handler in our home page component passing a pointer to our update exercise handler down to base filter passing the current filter down to base filter using the current filter prop in base filter component to give extra styles to our navlinks using the filter to show exercises based on their completion status on home page end of the project Starter Files Component Styles Course Links Complete Code Visual Studio Code Git Support my channel Join the Discord community ‍‍‍ One time donations via PayPalThank you Follow me on Twitter My Blog 2022-07-17 09:07:21
海外TECH DEV Community Performing Reverse Geocoding and Visualization of COVID-19 world cases using JavaScript https://dev.to/prateek951/performing-reverse-geocoding-and-visualization-of-covid-19-world-cases-using-javascript-26k2 Performing Reverse Geocoding and Visualization of COVID world cases using JavaScriptIn this video we will learn building COVID Tracker Application with Visualization using JavaScript and Mapbox We will perform clustering of points based on the countries and each cluster will represent a set of locations within it that are prone to COVID Some of the features of the application are Clustering of points to represent set of regions for all the countries on the Map Reverse Geocoding using Latitude and Longitude to get the place name and getting the number of deaths and number of confirmed cases for each location that is present within the country By the end of this video you will learn a ton about the language to create your own projects ‍‍Course Links Complete Code Visual Studio Code Git Support my channel Join the Discord community ‍‍‍ One time donations via PayPalThank you Follow me on Twitter Instagram My Blog 2022-07-17 09:03:34
海外TECH DEV Community The 10 JS Projects You Need to Build in order to become a PRO ! https://dev.to/prateek951/the-10-js-projects-you-need-to-build-in-order-to-become-a-pro--44m9 The JS Projects You Need to Build in order to become a PRO In this video we will be coding JavaScript Projects in Hours The code for the video can be found on GitHub along with the link to course files Timestamps Let s start Creating a Full Featured Modal using Classes Creating a Tabs System using Classes Changing Background using Range Sliders Creating a Full Featured Slideshow using Classes Creating a Salary Calculator MVC Creating a Scroll Indicator using JavaScript Creating an Infinite Scroll App using Intersection Observer API Playing with Text Creating a Custom Search Filter using JavaScript Creating a Sticky Navigation Bar ‍‍Course Links Starter Files Visual Studio Code Git Support my channel Join the Discord community ‍‍‍ One time donations via PayPalThank you Follow me on My Blog Twitter Instagram 2022-07-17 09:01:55
海外TECH DEV Community How to Analyze Prometheus Alertmanager Alerts Using S3, Athena and CloudFormation https://dev.to/frosnerd/how-to-analyze-prometheus-alertmanager-alerts-using-s3-athena-and-cloudformation-35fj How to Analyze Prometheus Alertmanager Alerts Using S Athena and CloudFormation IntroductionWhen you operate a global SaaS product your synchronous alerting channels can be overwhelmed from time to time Noise notwithstanding it becomes a real challenge to retroactively analyze issues across a wide range of components and environments Our alert analytics solution needs to meet the following goals Analyze alerts across multiple dimensions During major regional or global outages it s challenging to keep up with alerts firing across different systems that are ultimately related to the same issue When your alerting Slack channel becomes overwhelmed you need a solution that makes it easy to analyze and correlate these alerts across all your regions and environments This way we can easily figure out which customers have been affected by a specific outage Improve alerts It s tough to define rules for useful alerts When monitoring metrics and thresholds there s a sweet spot between overly noisy alerts and undetected problems Analyzing alerts on a global level lets you see the signals that are too sensitive or possibly even false alarms Understand overall system health Compiling a historic view of all alerts with daily weekly or monthly summaries gives an overview of system health that we can share with stakeholders Besides these goals the solution should be scalable and cost effective so that we only pay for what we actually use This is why the solution architecture is based entirely on serverless pay as you go components The next section explains the architecture in greater detail ArchitectureThe existing infrastructure contains multiple Prometheus Alertmanager instances which forward alerts to Slack and PagerDuty already The goal now is to forward alerts to the new analytics pipeline Alerts are sent by Alertmanager instances towards a central SNS topic In recent versions of Alertmanager this can be done directly through an SNS receiver without the need for an additional component The alert message template is a CSV formatted line This lets us simply batch the individual messages through a Firehose Delivery Stream into headerless CSV files that will be stored on S We can then set up a Glue table based on the CSV schema defined in Alertmanager and point it towards the Firehose S sink location in order to query the data with Athena using SQL All AWS components are created and managed using CloudFormation to facilitate reproducibility It also enables the version control of the configuration Implementation AlertmanagerTo make Alertmanager send alerts to SNS you simply configure an SNS receiver and route the alerts to it The receiver configuration contains the target topic ARN a message subject a message body as well as authentication details The following code snippet shows how you can configure the Alertmanager configuration through a Helm template provided you manage Alertmanager on Kubernetes through Helm receivers name sns sns configs topic arn Values topicArn subject Files Get subject tmpl nindent message Files Get message tmpl nindent sigv region Values region access key Values accessKey secret key Values secretKey A nice feature about Helm is that you can manage the message and subject templates in separate files The subject template simply contains the alert name while the message template defines the schema of the CSV You can access different variables that are replaced by Alertmanager based on the alert metadata and the available metric labels message tmpl range Alerts Labels alertname Status Labels env end Before we can deploy this configuration we need to create the SNS topic and the access credentials So let s do that next SNS Firehose SSetting up the ingestion pipeline as CloudFormation YAML is tedious but straightforward You will need to set up the following resources AWS SNS Topic that will receive CSV rows from AlertmanagerAWS KinesisFirehose DeliveryStream that buffers CSV rows into larger batches and writes them to SAWS S Bucket to store the CSV batches Consider enabling encryption and adding a lifecycle rule to remove old data and prevent your bill from increasing indefinitelyAWS IAM Role for the delivery stream that allows us to write data to the S bucketAWS SNS Subscription that forwards messages to FirehoseAWS IAM Role for the subscription including a policy that allows SNS to send messages to FirehoseAWS IAM User with permissions to send messages to SNS together with an AWS IAM AccessKey that will be used to authenticate the Alertmanager SNS receiver Ideally you store the credentials in an AWS SecretsManager Secret Once those resources are created you can pass the credentials and topic ARN to Alertmanager and start ingesting data Next let s look at making the data queryable through Athena Athena and GlueAthena can be used to query files on S However it needs to know how to parse those files and that s where Glue comes in An external Glue table contains all the required information for Athena to successfully parse our CSVs and make them queryable via SQL First we will create an AWS Glue Database which holds a single AWS Glue Table The following CloudFormation snippet contains the definitions for both resources Let s walk through it step by step AlertDatabase Type AWS Glue Database Properties CatalogId Ref AWS AccountId DatabaseInput Description Alert DBAlertTable Type AWS Glue Table Properties CatalogId Ref AWS AccountId DatabaseName Ref AlertDatabase TableInput Name alerts TableType EXTERNAL TABLE Parameters has encrypted data true serialization encoding utf EXTERNAL true projection enabled true projection datehour type date projection datehour range NOW projection datehour format yyyy MM dd HH projection datehour interval projection datehour interval unit HOURS storage location template Join Sub s Bucket firehose datehour StorageDescriptor Location Sub s Bucket InputFormat org apache hadoop mapred TextInputFormat OutputFormat org apache hadoop hive ql io HiveIgnoreKeyTextOutputFormat SerdeInfo Parameters separatorChar SerializationLibrary org apache hadoop hive serde OpenCSVSerde Columns Name labels alertname Type string Name status Type string Name labels env Type string PartitionKeys Name datehour Type stringSetting up the database is easy We only specify in which Catalog it should be located and provide some metadata such as a description The table definition is a bit more complex because we need to specify the file format and location First we set the table type to be external which means that the data is located on S The storage descriptor location parameter contains the respective bucket name We are going to use standard Hadoop Hive text input and output formats since we are working with CSV files which are based on text The serialization deserialization SerDe parameters hold the CSV specific parsing logic We are assuming that the data is stored on S under the firehose prefix which has to be configured in the Firehose Delivery Stream Firehose then prefixes each batch with the creation timestamp in hourly resolution We can utilize the partition projection feature to derive the partition key of the table from that prefix so we can efficiently query alerts by time range After provisioning the database and table we can finally query the alerts Let s take a look in the next section UsageRunning queries on Athena through the AWS Console is straightforward Begin by selecting the alert database in the AWS data catalog and choose the table you created Note that if you re using Athena for the first time you ll need to set up a bucket to save the query results You can use the same bucket that Firehose is using or create a separate one if you prefer The following query can be used to retrieve the number of alerts for each environment from January SELECT labels env count as countFROM alertsWHERE cast date parse datehour Y m d H as date gt cast AS date GROUP BY labels envDepending on the labels you exposed in your CSV schema you can analyze your alerts at will You can also query the data through an application rather than the AWS Console if you prefer ConclusionThis serverless alerts architecture is an easy and cost effective solution to query alerts across many Alertmanager instances The biggest challenge though lies in the fact that any CSV schema changes have to remain backward compatible and they have to be kept in sync between all your Alertmanager instances and Glue If you can get away with a single Alertmanager instance and analyze alerts based on Alertmanager metrics that would be a much simpler albeit less flexible solution How do you analyze your alerts historically Do you have to manage multiple Alertmanager instances in your infrastructure Let us know in the comments ResourcesWhat is AWS CloudFormation Amazon Simple Notification ServiceAWS CloudFormation DocumentationAWS GlueAmazon Kinesis Data FirehoseAmazon SAmazon AthenaPrometheus Alertmanager 2022-07-17 09:00:51
海外ニュース Japan Times latest articles How authoritarian regimes hunt their opponents abroad https://www.japantimes.co.jp/news/2022/07/17/world/how-authoritarian-regimes-hunt-opponents/ How authoritarian regimes hunt their opponents abroadAccording to U S watchdog Freedom House there were at least direct physical incidents of transnational repression between and carried out by 2022-07-17 18:10:46
海外ニュース Japan Times latest articles Shota Dobayashi hits grand slam to help Carp complete sweep of Giants https://www.japantimes.co.jp/sports/2022/07/17/baseball/japanese-baseball/carp-giants-grand-slam/ grand 2022-07-17 18:41:54
海外ニュース Japan Times latest articles Olympic legend Kosuke Kitajima spearheads Tokyo pro sports movement https://www.japantimes.co.jp/sports/2022/07/17/more-sports/tokyo-unite-kitajima/ Olympic legend Kosuke Kitajima spearheads Tokyo pro sports movementThe four time gold medalist swimmer hopes his new initiative Tokyo Unite will boost the capital s international profile and enable its members to tackle pressing social issues 2022-07-17 18:14:32
北海道 北海道新聞 旭東が35年ぶり4強 北北海道大会 南大会は札日大がコールド勝ち https://www.hokkaido-np.co.jp/article/706914/ 北北海道 2022-07-17 18:39:04
北海道 北海道新聞 大阪で1万804人感染 1人死亡 https://www.hokkaido-np.co.jp/article/706913/ 新型コロナウイルス 2022-07-17 18:36:00
北海道 北海道新聞 広島で1318人感染 県内18万1952人に https://www.hokkaido-np.co.jp/article/706912/ 新型コロナウイルス 2022-07-17 18:36:00
北海道 北海道新聞 火薬「自宅でつくった」 手製銃、試射重ねたか https://www.hokkaido-np.co.jp/article/706909/ 安倍晋三 2022-07-17 18:31:00
北海道 北海道新聞 ウクライナの輸送機が墜落 8人死亡、ギリシャ北部 https://www.hokkaido-np.co.jp/article/706875/ 近郊 2022-07-17 18:29:32
北海道 北海道新聞 タレントの稲村亜美さん、5人制野球代表に 8月の第1回アジア杯に出場 https://www.hokkaido-np.co.jp/article/706905/ 日本代表 2022-07-17 18:29:00
北海道 北海道新聞 金内さんら4強 全道将棋選手権が開幕 https://www.hokkaido-np.co.jp/article/706903/ 開幕 2022-07-17 18:28:00
北海道 北海道新聞 男子中学生が切られ負傷、福岡 殺人未遂疑いで32歳女逮捕 https://www.hokkaido-np.co.jp/article/706884/ 商業施設 2022-07-17 18:14:22
北海道 北海道新聞 西日本で大雨の恐れ 20日ごろまで警戒必要 https://www.hokkaido-np.co.jp/article/706902/ 警戒 2022-07-17 18:21:00
北海道 北海道新聞 元首相銃撃、手紙で示唆か 容疑者、岡山の消印 https://www.hokkaido-np.co.jp/article/706900/ 安倍晋三 2022-07-17 18:18:00
北海道 北海道新聞 キーウ近郊に拷問部屋 ロシアが組織的殺害と報告書 https://www.hokkaido-np.co.jp/article/706898/ 部屋 2022-07-17 18:18:00
北海道 北海道新聞 自衛隊施設の改修へ予算拡充 政府検討、防衛費増額に合わせ https://www.hokkaido-np.co.jp/article/706895/ 国家安全保障戦略 2022-07-17 18:06: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件)