AWS |
AWS Compute Blog |
Migrating AWS Lambda functions to Arm-based AWS Graviton2 processors |
https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-to-arm-based-aws-graviton2-processors/
|
Migrating AWS Lambda functions to Arm based AWS Graviton processorsAWS Lambda now allows you to configure new and existing functions to run on Arm based AWS Graviton processors in addition to x based functions Using this processor architecture option allows you to get up to better price performance This blog post highlights some considerations when moving from x to arm as the migration process is … |
2022-01-24 16:24:19 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
PostgreSQLのデータをLINE botが取得・送信してくれるには?(python) |
https://qiita.com/paupau/items/14c636469c81f4b4e9e7
|
PostgreSQLのデータをLINEbotが取得・送信してくれるにはpython目次目的導入プログラムの作成デプロイ参考文献目的今回はユーザのラインでの問い合わせに対してPostgreSQLのデータを取得し、送信してくれるようなシステムがあればいいなということで作ってみました。 |
2022-01-25 01:37:03 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
Wordle最強AIをつくってあそぼ |
https://qiita.com/masaka_programming/items/2afe7aa86edb85f19741
|
答えとなる単語が使用した辞書にない場合は正解に辿り着けませんが、それほどマイナーな単語が答えになることはないと思われますさらに、回目のguessに要する時間があまりに長いので、一度計算して求めたエントロピー最大の単語taresは記憶し、初手は必ずこれを問うことにします。 |
2022-01-25 01:02:44 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
amazon linux(EC2)でlaravel+Dockerの環境を作りたい |
https://qiita.com/Kobajun0219/items/4c5cbe445f5c7a64fae9
|
amazonlinuxECでlaravelDockerの環境を作りたい最近インフラ周りの勉強を始めたのでdocekrlaravelの環境をEC上に実現したいと思い奮闘しています。 |
2022-01-25 01:35:48 |
AWS |
AWSタグが付けられた新着投稿 - Qiita |
WAFのログ有効化&ロギングフィルターで必要なログのみS3へ直接保存(Terraform) |
https://qiita.com/hengineer/items/580908cecba14ce0a7ca
|
waftfresourceawswafvwebaclloggingconfigurationexamplelogdestinationconfigsawssbucketbarnresourcearnawswafvwebaclexamplearnここは作成済みのwebaclリソースを指定するのじゃリソース名ながいっすね笑これでひとまず、WebACLで定義したルールにマッチしたリクエストのログが流れていくと思います。 |
2022-01-25 01:27:49 |
Docker |
dockerタグが付けられた新着投稿 - Qiita |
amazon linux(EC2)でlaravel+Dockerの環境を作りたい |
https://qiita.com/Kobajun0219/items/4c5cbe445f5c7a64fae9
|
amazonlinuxECでlaravelDockerの環境を作りたい最近インフラ周りの勉強を始めたのでdocekrlaravelの環境をEC上に実現したいと思い奮闘しています。 |
2022-01-25 01:35:48 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Azure CLI で Azure Resource Manager (ARM) の デプロイ テンプレート を使用してみました |
https://qiita.com/turupon/items/e1178237927f91603f15
|
AzureCLIでAzureResourceManagerARMのデプロイテンプレートを使用してみました概要「InfrastructerasCode」ということで、Terraformを用いてAzure環境上にUbuntuのVMを作成したこの記事のAzure環境を対象に、リソースグループのテンプレートをエクスポートしておきます。 |
2022-01-25 01:42:48 |
海外TECH |
MakeUseOf |
Microsoft Is Finally Ready to Release the Long-Awaited "One Outlook" |
https://www.makeuseof.com/microsoft-one-outlook-release-date-details/
|
Microsoft Is Finally Ready to Release the Long Awaited amp quot One Outlook amp quot A year since it first leaked Microsoft is prepping to release One Outlook but for some it s not an occasion to celebrate |
2022-01-24 16:57:34 |
海外TECH |
MakeUseOf |
6 Ways 5G is Already Changing the World |
https://www.makeuseof.com/ways-5g-changing-the-world/
|
worldg |
2022-01-24 16:45:24 |
海外TECH |
MakeUseOf |
How to Customize File Explorer in Windows 11 |
https://www.makeuseof.com/windows-11-customize-file-explorer/
|
windows |
2022-01-24 16:45:23 |
海外TECH |
MakeUseOf |
How to Conduct a Successful Project Kick-Off Meeting |
https://www.makeuseof.com/how-to-conduct-project-kick-off-meeting/
|
success |
2022-01-24 16:30:12 |
海外TECH |
MakeUseOf |
The 7 Best Rechargeable Flashlights |
https://www.makeuseof.com/best-rechargeable-flashlights/
|
flashlight |
2022-01-24 16:03:38 |
海外TECH |
MakeUseOf |
7 Reasons Why Character Development Is Important in Video Games |
https://www.makeuseof.com/why-character-development-important-video-games/
|
development |
2022-01-24 16:03:38 |
海外TECH |
DEV Community |
How to make a custom Debounce hook in react js |
https://dev.to/rajeshroyal/how-to-make-a-custom-debounce-hook-in-react-js-4gcc
|
How to make a custom Debounce hook in react jsI could have use the Loadash naaahh ️Loadash is too expensive So here is how you can make your own debounce effect with custom hooks in react js useDebouncedEffect tsximport useEffect from react export const useDebouncedEffect effect any deps any delay number gt useEffect gt const handler setTimeout gt effect delay return gt clearTimeout handler eslint disable next line react hooks exhaustive deps deps delay To use this hook simply call It like this import useDebouncedEffect from useDebouncedEffect debounce search onchange eslint disable next line react hooks exhaustive deps useDebouncedEffect gt function which will be running on effect in our case when something changes in search box changeSearchState this is the dependency if it changes it will trigger the debounce again search time to wait before effect runs debounceTimeInMilliseconds credit from Internet R amp D Thanks for reading this far Fact Do you know you can hit that follow button on top right and make it disappear Do not believe me try once |
2022-01-24 16:41:00 |
海外TECH |
DEV Community |
Bubble Sort |
https://dev.to/payalsasmal/bubble-sort-5bk9
|
Bubble SortHi Everyone Hope you are safe I thought to create a series of sorting algorithms I will try my best to make it simple If you still have doubt let me know in the comment section Let s begin Background Bubble sort is the simplest algorithm This is used for understanding purpose of a student How the sorting algorithms works Bubble sort is good for small size of input What is Bubble sort Take the larger number to the end and repeatedly swapping the adjacent elements Examples arr First times gt it compares between first and nd element i e gt it false so didn t swap gt it compares between nd and rd element i e gt Now array is same way it will go for others array values gt gt swapped it gt gt swapped it gt gt swapped it Second times gt gt swapped it gt gt swapped it gt elements amp are already in correct position so it did not swap gt elements amp are already in correct position so it did not swap It will go for other iterations Check the below illustration for better understanding We can see that larger element is going at end position using this algorithm Let s implement so far we discussed output Time complexity The time complexity of this algorithm is O n for worst case when times we iterate till n where n len arr when times we iterate till n where n len arr when times we iterate till n where n len arr and so no Based on above iteration we calculated the time complexity Optimization As per the above code time complexity would be O n even though array is in sorted order Because the inner loop always iterate and swap the value If we stop the swapping then the time complexity would be O n for sorted array Output Worst and Average Case Time Complexity O n worst case occurs when array is in descending order Best Case Time Complexity O n when array is in sorted order Space Complexity There is no extra array or something else so space complexity should be O Stable Yes |
2022-01-24 16:15:46 |
海外TECH |
DEV Community |
Grab HTML of any Website using JavaScript without getting blocked - Wholly API |
https://dev.to/sh20raj/grab-html-of-any-website-using-javascript-without-getting-blocked-wholly-api-41fl
|
Grab HTML of any Website using JavaScript without getting blocked Wholly APIWholly API API endpoint Fetch Using JavaScript Ref GoogleSee Example Fetching example com example com The result looks like here lt doctype html gt lt html gt lt head gt lt title gt Example Domain lt title gt lt meta charset utf gt lt meta http equiv Content type content text html charset utf gt lt meta name viewport content width device width initial scale gt lt style type text css gt body background color fff margin padding font family apple system system ui BlinkMacSystemFont Segoe UI Open Sans Helvetica Neue Helvetica Arial sans serif div width px margin em auto padding em background color fdfdff border radius em box shadow px px px px rgba a link a visited color f text decoration none media max width px div margin auto width auto lt style gt lt head gt lt body gt lt div gt lt h gt Example Domain lt h gt lt p gt This domain is for use in illustrative examples in documents You may use this domain in literature without prior coordination or asking for permission lt p gt lt p gt lt a href gt More information lt a gt lt p gt lt div gt lt body gt lt html gt Let s do it Using JavaScript Fetch API Ref gt fetch apiSample JavaScript Codefetch example com then response gt response text then data gt console log data Result lt doctype html gt lt html gt lt head gt lt title gt Example Domain lt title gt lt meta charset utf gt lt meta http equiv Content type content text html charset utf gt lt meta name viewport content width device width initial scale gt lt style type text css gt body background color fff margin padding font family apple system system ui BlinkMacSystemFont Segoe UI Open Sans Helvetica Neue Helvetica Arial sans serif div width px margin em auto padding em background color fdfdff border radius em box shadow px px px px rgba a link a visited color f text decoration none media max width px div margin auto width auto lt style gt lt head gt lt body gt lt div gt lt h gt Example Domain lt h gt lt p gt This domain is for use in illustrative examples in documents You may use this domain in literature without prior coordination or asking for permission lt p gt lt p gt lt a href gt More information lt a gt lt p gt lt div gt lt body gt lt html gt |
2022-01-24 16:15:31 |
海外TECH |
DEV Community |
Tests Basics in Kraken CI |
https://dev.to/godfryd/tests-basics-in-kraken-ci-1lne
|
Tests Basics in Kraken CIIn the last few articles there was a lot about autoscaling Now let s get back to the core of Kraken CI testing Kraken CI is a new Continuous Integration tool It is a modern open source on premise CI CD system that is highly scalable and focused on testing It is licensed under Apache license Its source code is available on Kraken CI GitHub page IntroductionTesting in Kraken CI is much more organized that it is in e g Jenkins Testing is planned in branches and high level view on results is also presented for branches Then it is possible to dig deeper into runs jobs and particular test case results More details about all this can be found in the following sections Branch ResultsThe Branch Results page presents high level information about the flows and runs of a given branch It organizes flows in rows The top row contains the latest flow Each flow row contains a list of boxes Each box contains information about a run of a given stage The order of boxes with runs is chronological according to their start time Run BoxThe color of the run box indicates the final status of the run red one or more jobs finished with an erroryellow no errors in jobs but some test results failed or there are issues discovered in the codegreen all jobs finished without error and there are no failures in tests and no issues in the codeA run box contains data about execution total number of scheduled jobs number of erred jobs etc summary of testing pass ratio total regressions and fixes counts etcissues summary total number of discovered issues number of new issuesExample This run has successful job that reported tests results There were test cases run where did not pass so the pass ratio is There were detected regressions and fixes There are failures so the box is yellow Example This run has jobs with no errors Some of them reported tests results the other ones reported issues There were test cases run all passed so the pass ratio is There were detected issues in the code There are issues so the box is yellow Example This run has jobs with no errors In the reported tests results there are passed test cases No failures and no issues so the box is green Example This run has jobs with error All tests reported are passed but there could be not reported tests due to errors in job execution There were detected issues in the code There is one erred job so the box is red Test Case Results TableA job that performs testing reports test results The test results are visible on a Run Results page in Test Results tab They are presented in a table The table presents test case results in each row They contain details of the test case result the result statusa name of the test casejob name and IDage instability and relevancyvaluesexecution environment system agent group and actual agent and configIn Kraken a test case result besides status can contain values Values are pairs attribute and its value They are also a result of a test case but hold numbers They can hold e g performance data or anything similar to performance These values are tracked over time Kraken can draw charts of values and do more things with them Filtering Test Case ResultsIt is possible to filter test results by various attributes by Results Status ie Passed Failed etc by Result Change ie Fixes Regressions New and No Changes the change is determined between the current result and the previous result from previous runby Age where age is a number of previous runs with the same result as in the current run so e g age means that in the previous run test case had a different result than it has now so these are regressions and fixes age means that the current run and the previous run has the same result but the result before the previous one is differentNew is a shortcut to set Age between and ie show changes that happened in the last run fixes regressions by Instability where instability is a count of result status changes in the last runs if this is then in the last runs test case has the same result it was pretty stable if this is then it means that in every run of the last runs the status was changing compared to the previous one it was very unstable by Test Case nameby Job name of IDExample Filtering by Result Changes show only regressions Regression means a change from non passed status to passed status Example Filtering by Result Status and Result Changes show only failures that are regressions Example Filtering by Age show only results in age between and Example Filtering by Instability show only results that have instability greater than i e very unstable test cases Sorting Test Case ResultsTest case results can be sorted This can be done using several columns nameresultchangeageinstabilityrelevancyBy default results are sorted by test case name One of the most important sorting order is by Relevancy Relevancy is estimated according to this rules is initial for not passed for not root caused problem for failure for instability lt for age lt for regressionThis way the most relevant results get the highest score They need anattention CommentsIn the test case results table it is possible to add sticky comments to test case results When a new failure is spotted a comment stating e g the reason for the failure or link to a bug in a bug tracker may be added To add a comment click on the cell of a particular test case result in the Comment or Comment State columns This will reveal a dialog box that shows a form for introducing new comment and a history of previous comments related to this test case Each comment has a state It can be one of newinvestigatingbug in productbug in testThe state allows concluding quickly if given failure has been analyzed and it is known where is the root cause and what needs to be fixed or if the failure still requires some investigation If a failure is root caused then its relevancy is decreased by If the failure persists in the subsequent test runs the added comment is still presented next to the new results If new facts about the failure are revealed you may extend the comment Test Case HistoryEach test case has its history of results In the table with test case results a link under the test case name leads to a page dedicated to the given test case This page presents a table with the historical results of the test case There is another tab called Charts that shows these results on charts The left chart shows the history of result status The right one presents the history of values in time Error bars are shown if there were run multiple iterations and there were reported multiple values for a given attribute |
2022-01-24 16:14:31 |
海外TECH |
Engadget |
Google's long-rumored smartwatch could arrive on May 26th |
https://www.engadget.com/google-smartwatch-pixel-watch-release-date-rumor-162614432.html?src=rss
|
Google x s long rumored smartwatch could arrive on May thThere have been rumblings for quite some time that Google has been beavering away on its own smartwatch Rumors last month suggested a Google branded watch could arrive sometime in and now we have a slightly clearer idea of when it might debut Pixel Watch I m hearing that Google is planning on launching it on Thursday May th ーover year since we leaked it This is the first we ve seen a set date on the device behind the scenes Google is known for pushing back dates ーbut if they do we ll know pic twitter com KkDBomdーJon Prosser jon prosser January Leaker Jon Prosser said the watch is currently slated to arrive on May th noting that this is quot the first we ve seen a set date on the device behind the scenes quot While that seems on the surface like an oddly specific date for something so far away the timing lines up with the Google I O developer conference which usually takes place in May As with most smartwatches in the Android ecosystem the smartwatch is expected to have a circular face albeit with no physical bezel It will likely have a heart rate sensor and other features adopted from Fitbit which Google bought last year The device could show off the extent of what Wear OS can do and be positioned as an Apple Watch competitor The release date isn t set in stone of course Nor is the name of the device despite suggestions that it ll be called Pixel Watch Still it s something for Android and Pixel enthusiasts to keep an eye on Other rumors suggest a Pixel a smartphone is coming in May as well It s expected to use the same Tensor chipset as the Pixel though Google could ditch the headphone jack in the budget model |
2022-01-24 16:26:14 |
海外TECH |
CodeProject Latest Articles |
Azure Arc Enabled Servers Part 3: Setting up Security, Sentinel, and Runbooks |
https://www.codeproject.com/Articles/5321655/Azure-Arc-Enabled-Servers-Part-3-Setting-up-Securi
|
sentinel |
2022-01-24 16:12:00 |
金融 |
金融庁ホームページ |
第144回自動車損害賠償責任保険審議会議事次第について公表しました。 |
https://www.fsa.go.jp/singi/singi_zidousya/siryou/20220124.html
|
自動車損害賠償責任保険 |
2022-01-24 18:00:00 |
金融 |
金融庁ホームページ |
第144回自動車損害賠償責任保険審議会の開催結果について公表しました。 |
https://www.fsa.go.jp/singi/singi_zidousya/kekka/20220124.html
|
自動車損害賠償責任保険 |
2022-01-24 18:00:00 |
金融 |
金融庁ホームページ |
金融庁職員の新型コロナウイルス感染について公表しました。 |
https://www.fsa.go.jp/news/r3/sonota/20220124.html
|
新型コロナウイルス |
2022-01-24 18:00:00 |
金融 |
金融庁ホームページ |
第49回金融審議会総会・第37回金融分科会合同会合を開催します。 |
https://www.fsa.go.jp/news/r3/singi/20220131.html
|
金融審議会 |
2022-01-24 17:00:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
主要3港の取扱貨物量が増加、グダンスク港では過去最高に |
https://www.jetro.go.jp/biznews/2022/01/a08834602a6099e8.html
|
過去最高 |
2022-01-24 16:20:00 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
2021年の世界の直接投資額は77%増、新型コロナ感染拡大前を上回るも不均衡広がる |
https://www.jetro.go.jp/biznews/2022/01/bb3db07cf2f3d6a7.html
|
感染拡大 |
2022-01-24 16:10:00 |
ニュース |
BBC News - Home |
Russian invasion of Ukraine would be disastrous - PM |
https://www.bbc.co.uk/news/uk-60113271?at_medium=RSS&at_campaign=KARANGA
|
russia |
2022-01-24 16:27:49 |
ニュース |
BBC News - Home |
Conservative minister resigns in anger over Covid fraud |
https://www.bbc.co.uk/news/uk-politics-60117513?at_medium=RSS&at_campaign=KARANGA
|
covid |
2022-01-24 16:45:51 |
ニュース |
BBC News - Home |
Covid travel tests to be axed in England for vaccinated arrivals |
https://www.bbc.co.uk/news/business-60109945?at_medium=RSS&at_campaign=KARANGA
|
february |
2022-01-24 16:41:02 |
ニュース |
BBC News - Home |
Heidelberg shooting: One dead in gun attack on German students |
https://www.bbc.co.uk/news/world-europe-60111141?at_medium=RSS&at_campaign=KARANGA
|
heidelberg |
2022-01-24 16:46:18 |
ニュース |
BBC News - Home |
In pictures: Thierry Mugler's life and works |
https://www.bbc.co.uk/news/entertainment-arts-60111797?at_medium=RSS&at_campaign=KARANGA
|
creations |
2022-01-24 16:11:35 |
ニュース |
BBC News - Home |
Australian Open: Alize Cornet beats Simona Halep to reach quarters - best shots |
https://www.bbc.co.uk/sport/av/tennis/60111127?at_medium=RSS&at_campaign=KARANGA
|
Australian Open Alize Cornet beats Simona Halep to reach quarters best shotsWatch the best shots as Alize Cornet reaches her first Grand Slam quarter final knocking out Simona Halep at the Australian Open |
2022-01-24 16:42:19 |
ニュース |
BBC News - Home |
What Covid tests do I still need to travel abroad? |
https://www.bbc.co.uk/news/explainers-52544307?at_medium=RSS&at_campaign=KARANGA
|
covid |
2022-01-24 16:32:14 |
北海道 |
北海道新聞 |
なでしこ、連勝で1次リーグ突破 ベトナムに3―0、アジア杯 |
https://www.hokkaido-np.co.jp/article/637378/
|
連勝 |
2022-01-25 01:03:26 |
コメント
コメントを投稿