投稿時間:2022-05-06 19:39:05 RSSフィード2022-05-06 19:00 分まとめ(40件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
ROBOT ロボスタ 「掃除+水拭き+ごみ収集」全自動ロボット掃除機「yeedi vac 2 pro」応援購入プロジェクト Makuakeで開始 https://robotstart.info/2022/05/06/yeedi-vac-2-pro-makuake.html 2022-05-06 09:13:54
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 幕末建立の古民家レストラン「久右衛門邸」がオープン 利益を障がい者の給与に https://www.itmedia.co.jp/business/articles/2205/06/news048.html itmedia 2022-05-06 18:49:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] サンシャイン水族館、EXILEとコラボ クラゲエリアで特別な演出を展開 https://www.itmedia.co.jp/business/articles/2205/06/news090.html exile 2022-05-06 18:35:00
IT ITmedia 総合記事一覧 [ITmedia News] Zoom、無料プランは2人の会議でも40分制限に 変更前に設定した会議にも適用 https://www.itmedia.co.jp/news/articles/2205/06/news112.html itmedianewszoom 2022-05-06 18:27:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 「初心者におすすめのプログラミング言語」ランキング 1位は「Java」 他言語の順位は? https://www.itmedia.co.jp/business/articles/2205/06/news107.html itmedia 2022-05-06 18:24:00
js JavaScriptタグが付けられた新着投稿 - Qiita V-bind 文字列 連結はこちら https://qiita.com/yohei_oyama/items/3256ae04b1d4b680fd3b ltdivvbindidsampleidindex 2022-05-06 18:52:35
AWS AWSタグが付けられた新着投稿 - Qiita AWS?って状態から3ヶ月でアソシエイトレベルの資格を3つ取得した勉強法 https://qiita.com/jeci754/items/a8fb34f40a4daebdfe91 違い 2022-05-06 18:10:10
AWS AWSタグが付けられた新着投稿 - Qiita 【EC2入門-2022年】無料枠で始めるインスタンスの作成手順 https://qiita.com/y_kato_eng/items/7f7878a40a23412e5fc2 amazon 2022-05-06 18:02:18
Docker dockerタグが付けられた新着投稿 - Qiita # WindowsでDockerDeskTopをインストールする(Vagrantと共存) https://qiita.com/tips/items/2420a418f8d1e7250cf4 docker 2022-05-06 18:49:12
技術ブログ Developers.IO AWS Amplify + Reactで既存のLambdaを呼び出す https://dev.classmethod.jp/articles/invoke-existing-lambda-from-amplify-and-react/ awsamplifyreact 2022-05-06 09:41:09
技術ブログ Developers.IO AWS Security Hub の『基礎セキュリティのベストプラクティス』に30個のチェック項目が追加されました(2022年2〜4月分) https://dev.classmethod.jp/articles/securityhub-fsbp-updates-2022-02-04/ awssecurityhub 2022-05-06 09:13:40
海外TECH DEV Community Have you built your Github portolio? https://dev.to/karmablackshaw/have-you-built-your-github-portolio-be5 Have you built your Github portolio I just updated my Github portfolio and got really happy Guess my happiness level is very shallow You can check my portfolio hereYou should build your portfolio as well Here s a list of resources I used in building mine DillingerShieldsAntonkomarevWakatimeBadgesSpotifyRyo MaGithub Readme StatsVector LogoSVG Porn 2022-05-06 09:36:21
海外TECH DEV Community Cloud Pricing Comparison: AWS vs. Azure vs. Google Cloud Platform in 2022 https://dev.to/castai/cloud-pricing-comparison-aws-vs-azure-vs-google-cloud-platform-in-2022-no2 Cloud Pricing Comparison AWS vs Azure vs Google Cloud Platform in If you re considering moving to the public cloud or optimizing the choice for your next project picking between AWS Azure and Google Cloud Platform can be a daunting task They all offer flexible compute storage and networking combined with everything engineers love about the cloud self service instant provisioning and autoscaling  But each provider differs in key areas that may have a massive impact on your cloud bill  Selecting one vendor over another comes down to knowing what your teams applications and workloads need You need to fully understand your requirements before exploring the cloud landscape This article covers storage and compute pricing across AWS Azure and Google Cloud to show you the nuanced differences between these providers  Cloud landscape today What are the unique strengths of AWS Azure and Google Cloud Platform AWSCompanies choose to build their applications on AWS because of its breadth and depth of services The rich array of tools including databases analytics management IoT security and enterprise applications makes AWS the right solution for many teams No wonder AWS has the most significant slice of the cloud market AzureAccording to the Flexera State of the Cloud Report Azure has slightly surpassed AWS in the percentage of enterprises using it Azure vs AWS Azure also offers various services for enterprises and Microsoft s longstanding relationship with this segment makes it an easy choice for some customers Azure Office and Microsoft Teams enable organizations to provide employees with enterprise software while also leveraging cloud computing resources  Google Cloud PlatformAzure and AWS have strong machine learning capabilities But Google Cloud Platform stands out thanks to its almost limitless internal research and expertise the magic that has been powering the search engine giant throughout the years  What makes GCP different is its role in developing various open source technologies We re talking especially about containers and Google s central role in building Kubernetes for orchestration and Istio service mesh today practically industry standard technologies  Google s culture of innovation lends itself really well to startups and companies that prioritize such approaches and technologies Billing in AWS vs Azure vs Google Cloud PlatformIn addition to per minute billing AWS Azure and Google Cloud support per second billing for various services AWS first introduced per second billing in for EC Linux based instances and EBS volumes but today it applies to many other services  Per second billing works with a minimum second limit in AWS Azure allows per second charges on its cloud platform but this billing model isn t available for all instances mostly container based ones  Google Cloud followed AWS in the introduction of per second billing and now offers it for more than just instances based on Linux This form of billing applies to all VM based instances Cloud storage pricing comparisonHow do these major cloud providers differ in terms of storage pricing  Here s a comparison of prices in similar regions AWS US East Northern Virginia Azure East US and Northern Virginia us east in Google Cloud Platform Cloud providerStorage GB Month Amazon S  Azure  Google Cloud Platform It s clear that these three cloud giants compete closely with one another and have set similar price ranges for storage services with Azure standing out as the most cost effective alternative However be sure to check out other cost dimensions such as data transfer or operations charges before picking the storage service Also pay attention to the provider s approach to pricing changes Google Cloud Platform recently introduced significant price increases across various core services around storage Price hikes may affect other services and cloud providers considering the current challenges like inflation rates running high around the world and supply chain issues  Compute pricing comparisonCompute often ends up racking up a cloud bill but it also presents the greatest opportunity for cost optimization We prepared this case study to show the incredible impact optimizing compute costs can have on your bottom line Comparing cloud pricing our example setupTo understand the pricing differences better we re going to compare virtual machines within similar regions and with the same operating system The services analyzed are AWS Amazon EC Azure Virtual Machines Google Cloud Platform Compute Engine  Our example setup Region AWS US East Northern Virginia Azure East US and Northern Virginia us east in Google Cloud Platform Operating System Linux  vCPUs Types of instances VMs we will analyze General purpose Compute optimized We picked instances with four vCPUs and similar RAM the only exception is the compute optimized machine from Google Cloud Platform  Here are the instances VMs we selected for our cloud pricing comparison Cloud providerInstance typevCPURAM GB AWS general purposetg xlargeAWS compute optimizedca xlargeAzure general purposeBmsAzure compute optimizedFs vGoogle Cloud Platform general purposee standard Google Cloud Platform compute optimizedc standard AWS vs Azure vs Google Cloud Platform Comparing On Demand pricing Here s the hourly On Demand pricing of each of these virtual machines across AWS Azure and Google Cloud Platform Cloud pricing based on On Demand ratesGeneral purposeCloud providerInstance typePriceAWStg xlarge AzureBms Google Cloud Platforme standard Compute optimizedCloud providerInstance typePriceAWSca xlarge AzureFs v Google Cloud Platformc standard Takeaways While Azure is the most expensive choice for general purpose instances it s the most cost effective alternative to compute optimized instances Google Cloud Platform offers the highest price for compute optimized instances but this machine has double the RAM of alternatives from AWS and Azure  A note about chips and processors Providers roll out virtual machines with different hardware and performance characteristics As a result you might end up with an instance type that provides strong and expensive performance your teams don t actually need  Benchmarking is one way to see what you re really paying for you can run the same workload on each machine and check its performance characteristics  This approach might help you discover something interesting just like we did The chart below shows CPU operation in AWS txlarge with eight virtual cores at varying times after several idle periods Would you expect such unpredictable CPU behavior within a single cloud provider Source CAST AIThe Cloud Report from CockroachLabs used this method to evaluate AWS Azure and Google Cloud machines They ran over microbenchmark tests to evaluate metrics such as CPU network storage and TPC C performance   One of their conclusions was that Google performs better than AWS and Azure GCP instances achieved the best single core CPU performance and the greatest throughput at every level While Google s general purpose machines achieved the highest level of raw throughput they were also the least cost efficient option AWS vs Azure vs Google Cloud Comparing discounted pricing with a year upfront commitmentAll three providers offer price discounts if you commit to using them for at least one year This pricing model is called Reserved Instances in AWS Reserved Savings in Azure and Committed use discounts in Google Cloud  The following tables compare the discounted pricing among AWS Azure and Google Cloud with a one year commitment period with an all upfront payment    Cloud pricing with a year commitmentGeneral purposeCloud providerInstance typePriceDiscountAWStg xlarge AzureBms Google Cloud Platforme standard Compute optimizedCloud providerInstance typePriceDiscountAWSca xlarge AzureFs v Google Cloud Platformc standard Takeaways  The general purpose instances with a year commitment get a similar discount rate in AWS and Azure Still AWS offers a cheaper alternative In both general purpose and compute optimized instances Google Cloud Platform offers the greatest discounts still it s not the cheapest option Note the compute optimized GCP instance we picked has GB RAM not GB like the other instances Take a look here if you re unsure how Reserved Instances work and whether they really bring discounts Do AWS Reserved Instances and Savings Plans really reduce costs Here s how CPU bursting can drive your costs down All cloud providers in question offer burstable performance instances These instances offer you a baseline level of CPU performance with the option to burst to a higher level whenever your workload requires that Burstable performance instances are suitable for low latency interactive applications microservices small and medium databases or product prototypes Our research into AWS burstable instances showed that if you load your instance for hours or more per day on average it s better pick a non burstable one for cost effectiveness However if you run an e commerce business that may receive a large stream of visitors once in a while a burstable instance is often a good match AWS vs Azure vs Google Cloud Comparing Spot Instances Preemptible VMsAnother way to snatch some discounts and reduce your cloud bill is to take advantage of capacity that s currently not being used by anyone else Cloud providers sell excess capacity at incredible discounts AWS Spot instances offer up to off the On Demand rates Preemptible VMs in Google can be even cheaper than regular ones Here s a quick overview of the potential savings you can get for these instances in the US East Northern Virginia region Cloud pricing with Spot Instances Preemptible VMsGeneral purposeCloud providerInstance typePriceDiscountAWStg xlarge AzureA v Google Cloud Platforme standard Note that we changed the machine type to a similar one with vCPU and GB RAM Why Because Azure s machines in Bs series aren t available as spot instances Compute optimizedCloud providerInstance typePriceDiscountAWSca xlarge AzureFs v  Google Cloud Platformc standard Takeaways There s no denying that Azure offers the greatest discounts for both general purpose and compute optimized instances The pricing of the compute optimized Fs v is very attractive Google Cloud Platform doesn t offer such impressive discounts in both cases we have or less To take advantage of spot instances you need to ensure that your application can handle interruptions How Here s a step by step guide Spot Instances How to reduce AWS Azure and GCP costs by Optimizing cloud costs is a real time activitySpot instance prices may be different from one minute to the next So we once decided to use our own platform to analyze our setup We looked for the most cost effective spot instance alternatives for a machine with CPUs and GB  CAST AI suggested that we run our workload on an instance called INF But this powerful GPU instance would usually cost a lot of money So why did CAST AI pick it  We checked the pricing and got this As it turned out at that time INF just happened to be cheaper than the usual general purpose instances we used If we just stuck to our standard practices we would have never guessed to look in this category and missed out on this incredible gem That s why you need automation to optimize cloud costsEven if you outsource the management of your cloud expenses to DevOps or FinOps specialists you re probably spending twice as much as you should It s high time you took control of your cloud bill with an automated solution CAST AI is a great place to start your path towards cost cutting if your teams work with Kubernetes The solution automatically creates and implements tactics for guaranteed savings without any manual and repetitive work for your engineers You can run a free cluster savings report and see the instance type and resource amount CAST AI would automatically implement if it managed your cluster Get your FREE savings reportGet my report lt wp button gt lt wp buttons gt lt wp column gt lt wp columns gt 2022-05-06 09:21:09
海外TECH DEV Community A 'grown up' job (and title) https://dev.to/emmahq/a-grown-up-job-and-title-36jl A x grown up x job and title This week I became Umbraco HQ s Director of Developer Relations We re not known for sensible job titles but I wanted to let you know that this call was in fact mine In the run up to my taking on the post I did my meetings from my now chaotic home office and had many a conversation about what the role looked like and how the day to day work I did would change My partner wandered around in the background for some of these and one evening he expressed a concern I paraphrase but for the sake of readability and drama let s pretend that these were his words Em you need to stop talking yourself down Why do you keep telling people that you re not a grown up Oh dear It s weird when people tell you about yourself even kindly I use those two words regularly and more often than not to tell people that they know more than I do To excuse my lack of experience eloquence and competence It s about dodging accountability and that s not something I want to do consciously but it tells me that some part of me is still wedded to the idea that I m not up to my job And that just isn t true I wouldn t have asked for this role if I didn t think I could boss it I have a multitude of concerns who wouldn t but crikey I really do believe I m the best person for the job So here I am Showing up and owning up Grown up job titles are a little unfashionable though and in our wonderful community we are known for ensuring that even our monikers are friendly We have magicians and astronauts I love being a part of an organisation that wears it s culture on its sleeve I feel at home here and I know that I m appreciated as much for my silliness as for my technical abilities That said I m not a long time in this biz I m a relative newb and I am from an underrepresented group or three I care deeply about representation and I need to show that I am here in the Umbraco sphere and the wider verse Little me circa needed big me around to show her it was possible If you head over to Linkedin and search for the words director of developer relations I show up There I am I am also acutely aware that Umbraco has something that tech companies far and wide strive to create often without much luck A thriving and mature community It s a space like no other and I should know It raised me We have been responsible for so much of the innovation that we now enjoy in the project and we have multiplied and multiplied as the years go on striving always to remain friendly so that it never becomes just a tagline It has to be the ethos It s not by chance or by luck that we have created and maintained that culture taking Umbraco fans and growing that community to the thousands of active contributors we see now came through structured collaboration mentorship workshops for beginners workshops for old timers meetups with pizza and beer meetups with tea and cake meetups online and in pajamas training accessibility improvements to both the software and the community spaces evolving codes of conduct code of conduct training for respondents bunny costumes chainsaws and swag marching bands and bingo the pac man technique brave people having difficult conversations event organisers quietly cajoling reluctant speakers forum posts asking for help forum posts helping joining discord even though you have other chat clients to worry about tweets and blogs songs and poems sock puppets and many many lines of code contributed to the core the docs and packages It is the work of some very grown up thinking 2022-05-06 09:16:38
海外TECH DEV Community How to update ECS Tasks Revisions with AWS CLI https://dev.to/fanmixco/how-to-update-ecs-tasks-revisions-with-aws-cli-26m3 How to update ECS Tasks Revisions with AWS CLIUpdating ECS Tasks Image Versions is not the easiest task if you don t go to the AWS Web UI Also there is not a direct code in order to do this in the AWS CLI That s why I came up with the following code that supports you doing this without major effort The only prerequisites are A machine with WSL I only tested in Ubuntu Linux or macOS Install jq sudo apt get install jq Create a sh file with the following script TASK NAME task nameSERVICE NAME service nameIMAGE NAME image nameCLUSTER NAME cluster nameREGION regionVERSION versionACCOUNT NUMBER account numberNEW IMAGE ACCOUNT NUMBER dkr ecr REGION amazonaws com IMAGE NAME VERSIONTASK DEFINITION aws ecs describe task definition task definition TASK NAME region REGION NEW TASK DEFINITION echo TASK DEFINITION jq arg IMAGE NEW IMAGE taskDefinition containerDefinitions image IMAGE del taskDefinitionArn del revision del status del requiresAttributes del compatibilities del registeredAt del registeredBy NEW REVISION aws ecs register task definition region REGION cli input json NEW TASK DEFINITION NEW REVISION DATA echo NEW REVISION jq taskDefinition revision NEW SERVICE aws ecs update service cluster CLUSTER NAME service SERVICE NAME task definition TASK NAME force new deployment echo done echo TASK NAME Revision NEW REVISION DATA After this you need to update the environment variables TASK NAME task nameSERVICE NAME service nameIMAGE NAME image nameCLUSTER NAME cluster nameREGION regionVERSION versionACCOUNT NUMBER account numberAnd then you run the sh like this update task sh And that s all 2022-05-06 09:14:47
海外TECH DEV Community Service Worker Side Rendering (SWSR) https://dev.to/thepassle/service-worker-side-rendering-swsr-cb1 Service Worker Side Rendering SWSR Server Side Rendering SSR seems to be all the rage Hydration strategies are the talk of the town and honestly it s been kind of a refreshing change from the client side JS heavy framework status quo However I m always surprised at how little exploration into service workers takes place in these discussions Single Page Application Progressive Web App whew architecture has been well established by now You build your application shell precache your required assets and fetch dynamic data that makes your app do what your app does Additionally Single Page Applications SPA s are usually relatively easy to PWA ify after they re already build The same can t be said for Multi Page Applications MPA s however for MPA s you really have to take any kind of offline capabilities along in your architecture right from the start of your project And I just can t help but feel there s currently no real good solution for PWA ifying MPA s that has an excellent developer experience like so many JS frameworks or SSR frameworks have Static Site Generators don t seem to really be investing in this space a whole lot either In fact there only a handful of solutions I could find for this kind of architecture at all Service Workers on the ServerOne of those solutions is made by the brilliant Jeff Posnick His blog jeffy info is completely rendered by a service worker The initial render happens on the server in a Cloudflare Worker which uses the same API s as a service worker that would run in the browser What s interesting about this approach is that this allows Jeff to reuse the same code both on his server as well as the client This is also known as isomorphic rendering When the user visits the blog for the first time the Cloudflare Worker renders the page and on the client side the service worker starts installing When the service worker has installed the service worker can take control of network requests and serve responses itself potentially omitting the server entirely and delivering instant responses You can read all about how Jeff build his blog on well his blog about it but it mainly comes down to Streams Stream StitchingConsider the following example registerRoute new URLPatternMatcher pathname html matcher streamingStrategy gt Templates Start site async event params gt const post params pathname groups const response await loadStatic event static post json if response ok const json await response json return Templates Page site json return Templates Error site gt Templates End site content type text html Here Jeff makes use of a pattern I ll refer to as stream stitching This is cool because browsers can already start rendering streamed HTML as it arrives This also means you can already stream the lt head gt of your page which may already start downloading scripts parsing styles and other assets while waiting for the rest of the HTML to come streaming in While from a technical point of view this is really exciting I can t help but feel the developer experience is somewhat lacking Workbox does an excellent job at providing abstractions over streaming APIs so you dont have to do things manually and helps with things like registering and matching routes but even then it still feels somewhat close to the metal especially compared to the developer experience of all these flashy SSR frameworks Why can t we have nice things with service workers Service Worker Side Rendering with AstroI ve recently been hacking on Astro SSR projects a bunch and was looking into creating a Cloudflare adapter to deploy my Astro SSR application to a Cloudflare environment It was when I was reading up on Cloudflare workers that I was reminded of this chat by Jeff Posnick and Luke Edwards about his blog and the architecture laid out earlier in this blogpost and it made me wonder if I m able to deploy Astro on an environment thats so similar to a service worker Why can t I run Astro in an actual service worker So I started hacking on some code and well it turns out you totally can In this example you can see a real Astro SSR application run by a service worker This is exciting for several reasons Your Astro app is now offline capableYour app is now installableThe function invocations of your hosting provider are reduced dramatically because requests can be served by the service worker in browserHuge performance benefitsIt s a progressive enhancementBut most of all it may mean we re getting super close to having an excellent developer experience Astro may very well be the first framework capable of delivering us developer experiences like the following blog id astro import Header from src components Header astro import Sidemenu from src components Sidemenu astro import Footer from src components Footer astro const id Astro params lt html gt lt Header gt lt Sidemenu gt fetch blog id html lt Footer gt lt html gt Wouldn t this be amazing This code could run both on the server as well as in a service worker However As cool as this would be we re not quite there Currently Astro doesn t yet support streaming responses we ll get into that in a little bit but for now dream along with me for a minute What would happen in the code snippet is the following On initial visit the server renders this page much like in Jeff s blog example The service worker then gets installed and can take control of requests which means that from then on the exact same code can get rendered by the service worker in the browser instead and deliver responses immediately Furthermore in this example the lt Header gt and lt Sidemenu gt are static components and can be streamed immediately The fetch promise returns a response which body is You guessed it a stream This means the browser can already start rendering the header which may also start download other assets render the sidemenu and then immediately start streaming the result of the fetch to the browser Isomorphic renderingWe could even expand on this pattern import Header from src components Header astro import Sidemenu from src components Sidemenu astro import Footer from src components Footer astro const id Astro params lt html gt lt Header gt lt Sidemenu gt fetch blog id html catch gt return caches match html fetch html lt Footer gt lt html gt Imagine if we visited a URL with an id that doesnt exist If the user doesn t have a service worker installed yet the server would Try to fetch blog id html which failsRun the catch callback and try to execute caches match html which we don t have access to on the serverSo it ll fall back to fetch html insteadHowever if the user does have a service worker installed already it could have precached the html during installation and just load it instantly from the cache You can probably even imagine some helpers like lt Header gt cacheFirst blog id html staleWhileRevalidate blog id html networkFirst blog id html lt Footer gt The downsides Not quite there yetCurrently Astro s responses are not streamed yet Nate one of Astro s core maintainers did however mention that The good news about Astro is that streaming has been the end goal since day one We don t need any architecture changes to support itーAstro components are just async iterators We ve mostly been waiting for SSR APIs to stabilize before exposing streaming Consider the following code snippet from Astro s source code export async function render htmlParts TemplateStringsArray expressions any return new AstroComponent htmlParts expressions Where an AstroComponent looks like class AstroComponent constructor htmlParts expressions this htmlParts htmlParts this expressions expressions get Symbol toStringTag return AstroComponent Symbol iterator const htmlParts expressions this for let i i lt htmlParts length i const html htmlParts i const expression expressions i yield markHTMLString html yield render expression As Nate said just an async iterator This means that it could potentially even allow for promises and iterables in Astro expressions e g import Header from src components Header astro function renderLongList yield item yield item lt html gt lt Header gt renderLongList lt html gt Or the example with fetch we saw earlier in this post lt Header gt lt Sidemenu gt fetch blog id html lt Footer gt There s currently some discussion ongoing in this RFC discussion on the Astro repository If this is a future that you re excited for please do leave a comment to signal some interest to the maintainers There is a cost however There have also been other feature proposals that would make streaming responses impossible like for example post processing HTML or the concept of a lt astro head gt element where a child component can append to the head Both of these things are not compatible with streaming responses Although perhaps these features dont have to be mutually exclusive maybe renderers could even be made configurable by Astro via the astro config mjs export default defineConfig ssr output stream Much to think about and consider but either way please do check out the RFC discussion and leave your thoughts or simply an upvote emoji BundlesizeThe other downside is bundlesize Admittedly Astro s bundle when run in a service worker is large However I ve not done too much experimentation here yet but it seems like there s a lot of room for improvement on bundlesize Astro service workerWhile streaming responses in Astro may be a ways off yet I did turn my service worker experimentation into an Astro Integration that you can already use today astro service worker This integration will take your Astro SSR project and create a service worker build for it Getting started is easy install the dependency npm i S astro service workerAnd add the integration to your astro config mjs import defineConfig from astro config import netlify from astrojs netlify import serviceWorker from astro service worker export default defineConfig adapters netlify integrations serviceWorker DemoYou can find an example of a small app that uses astro service worker in this demo and you can find the source code for the demo here Server first server only service worker first service worker onlyWhen service worker izing your Astro applications you have to keep in mind that the Astro code you write in your Astro frontmatter should now also be able to run in the browser This means that you can t make use of any commonjs dependencies or node built ins like fs for example However it could be the case that you have need for some server only code like for example accessing a database or webhooks or redirect callbacks or whatever In this case you could exclude those endpoints from the output service worker bundle This means that you can have an entire fullstack codebase with Server first server only service worker first and service worker only code in the same project Additionally the service worker is entirely a progressive enhancement If your user uses a browser that doesn t support service workers the server will still render your app just fine Network onlyIt could be the case that you would like to make use of some server only endpoints or pages perhaps for creating database connections or other things that depend on Nodejs built in modules that are not available in the browser If that is the case you can specify which page you d like to exclude from the service worker bundle export default defineConfig integrations serviceWorker networkOnly networkonly page db endpoint etc Customize Service Worker logicYou can also extend the Service Worker and add your own custom logic To do this you can use the swSrc option export default defineConfig integrations serviceWorker swSrc my custom sw js my project my custom sw js self addEventListener fetch e gt console log Custom logic Combine with other integrationsYou can even combine this with other SSR integrations if your components are SSR able they should also be SWSR able Do note however that there may be some differences in a traditional server environment and a service worker This means there may be additional things you need to shim import defineConfig from astro config import netlify from astrojs netlify import customElements from custom elements ssr astro js import serviceWorker from index js export default defineConfig adapter netlify integrations customElements serviceWorker 2022-05-06 09:12:20
海外TECH DEV Community Prometheus 2.35 – What’s new? https://dev.to/daviddetorres/prometheus-235-whats-new-2m44 Prometheus What s new Prometheus was released last month focusing on a better integration with cloud providers It also improved the service discovery performance and resources usage One key change was the migration to Go v It has brought some changes in the support for TLS and certificates signed with the SHA hash function Welcome to this first edition of What s new in Prometheus We love Prometheus the de facto open source standard monitoring tool In this article we will analyze some new features and the impact they might have on the Prometheus community Here s our editor s pick Build with Go Go is now the default version for building Prometheus This has two major implications in authentication TLS and disabled by default client side If you are using one of these Prometheus now allows defining the minimum TLS version with the min version config parameter Certificates signed with the SHA hash function are rejected This doesn t apply to self signed root certificates David Lorite Integrations Engineer at Sysdig Better integration with cloud providersAs in previous versions Prometheus is adding better support to cloud providers This release includes the libraries to authenticate with Google Cloud Platform GCP Kubernetes clusters e g GKE when configured in the Kubernetes service discovery The service discovery is more stable for Azure Before this release when any node wasn t reachable the service discovery for the whole cluster failed Now the service discovery continues with the rest of the available nodes It also includes a metric prometheus sd azure failures total to register when nodes aren t ready during service discovery You can use this new metric to configure an alert to detect problems in Azure service discovery rate prometheus sd azure failures total m gt Additionally the Azure service discovery now includes the ResourceGroup filter This is helpful to reduce the load of Prometheus service discovery especially when running several AKS clusters since ARM API requests are rate limited in Azure Carlos Adiego Integrations Engineer at Sysdig Enhancements in Kubernetes Service DiscoveryThis version includes two exciting changes in the Kubernetes service discovery The addition of node metadata name address labels annotations in the targets selected through the pod role This allows you to add filters in the relabeling allow list or deny list targets from specific nodes Even more interesting add the node labels to all metrics which later allows you to make groupings by nodes or node labels or annotations There is a proposal to also analogously include namespace metadata To add all the node labels to your metrics you can use the action labelmap in the relabeling action labelmapregex meta kubernetes node replacement kubernetes node EndpointSlice Kubernetes endpoint promoted to v from vBeta as it is deprecated in Kubernetes David de Torres Engineering manager at Sysdig New stats for queries computational costPrometheus already had timing statistics for queries However as they are based on response time the same query can have different execution times depending on the load of the system or other parallel queries That was the motivation to include three new statistics in this version totalQueryableSamples totalQueryableSamplesPerStep and peakSamples This is great news for engineers working on optimizing complex queries Now they can evaluate and compare the performance of the queries that they build Aleksandar Ponjavic Engineering Manager at Sysdig Optimization of TSDB at startThere are two enhancements in this version that involve the start of the TSDB The deletion of temporary files something that could be skipped in some scenarios This way Prometheus ensures that it s not using more disk space than needed and becomes a better citizen of the cluster A more efficient way to read the Write Ahead Log WAL at the start up This significantly reduces the time Prometheus needs to update the TSDB after a non controlled stop Jesús Ángel Samitier Integrations Engineer at Sysdig Automatically limit CPU usage to the container CPU limitPrometheus brings a new feature to set the Go s GOMAXPROCS environment variable in Go to the container CPU limits This feature ensures that the process will never consume more than the limits This feature is still experimental and can be enabled with enable feature auto gomaxprocs Carlos Arilla Technical product manager at SysdigThese were the new features chosen by our team but there are more You can find the full list of changes in the official release notes of Prometheus 2022-05-06 09:04:57
金融 ニッセイ基礎研究所 円安は一体いつまで続く?~円安終了の条件と見通し https://www.nli-research.co.jp/topics_detail1/id=71039?site=nli nbsp目次トピック円安は一体いつまで続く・FOMC後のドル円の反応と背景・積極的な円買い材料は現れそうにない・円安ドル高の持続性は米・ドルを巡る情勢次第・しばらくは円安が進む可能性大、秋口からは反転か日銀金融政策月・日銀連続指し値オペの常態化を決定・今後の予想金融市場月の振り返りと予測表・年国債利回り・ドル円レート・ユーロドルレートFOMCや米主要経済指標が予定されていたことから、日本のGW中に円安が進む事態が危惧されていたが、足元のドル円レートはドル円台半ばとGW前である日夕刻とほぼ同水準に留まっており、円安は一旦小休止している。 2022-05-06 18:48:30
海外ニュース Japan Times latest articles Death toll during pandemic far exceeds totals reported by countries, WHO says https://www.japantimes.co.jp/news/2022/05/06/world/covid-death-toll-underreported/ Death toll during pandemic far exceeds totals reported by countries WHO saysNearly million more people died during the pandemic than would have in normal times the WHO has said a staggering measure of COVID s true 2022-05-06 18:33:00
海外ニュース Japan Times latest articles Element of surprise set to add more flavor to May Grand Sumo Tournament https://www.japantimes.co.jp/sports/2022/05/06/sumo/sumo-may-grand-tournament-preview/ Element of surprise set to add more flavor to May Grand Sumo TournamentA reduction in the amount of detailed reports emanating from sumo ensures the surprise factor from tournament to tournament remains high 2022-05-06 18:27:51
ニュース BBC News - Home Morrisons makes last minute bid to save McColl's https://www.bbc.co.uk/news/business-61346747?at_medium=RSS&at_campaign=KARANGA convenience 2022-05-06 09:37:51
ニュース BBC News - Home Belarus Ryanair plane arrest student Sofia Sapega jailed for six years https://www.bbc.co.uk/news/world-europe-61347236?at_medium=RSS&at_campaign=KARANGA ryanair 2022-05-06 09:29:24
ニュース BBC News - Home House prices hit new record but growth set to slow https://www.bbc.co.uk/news/business-61337763?at_medium=RSS&at_campaign=KARANGA halifax 2022-05-06 09:42:36
ニュース BBC News - Home NI election results 2022: Counting under way in Stormont Assembly vote https://www.bbc.co.uk/news/uk-northern-ireland-61333297?at_medium=RSS&at_campaign=KARANGA assembly 2022-05-06 09:40:20
ニュース BBC News - Home West Ham boss David Moyes apologises for kicking ball at ball boy https://www.bbc.co.uk/sport/football/61342468?at_medium=RSS&at_campaign=KARANGA eintracht 2022-05-06 09:25:27
ニュース BBC News - Home Mikel Arteta and Jonas Eidevall: Managers sign new Arsenal contracts https://www.bbc.co.uk/sport/football/61345033?at_medium=RSS&at_campaign=KARANGA gunners 2022-05-06 09:12:05
ニュース BBC News - Home Ukraine war in maps: Tracking the Russian invasion https://www.bbc.co.uk/news/world-europe-60506682?at_medium=RSS&at_campaign=KARANGA ukrainian 2022-05-06 09:08:29
ニュース BBC News - Home Election results 2022: When to expect them and what to look out for https://www.bbc.co.uk/news/uk-politics-61306099?at_medium=RSS&at_campaign=KARANGA election 2022-05-06 09:33:31
ビジネス 不景気.com 北川鉄工所の22年3月期は9億円の最終赤字へ、海外減損で - 不景気com https://www.fukeiki.com/2022/05/kitagawa-2022-loss.html 北川鉄工所 2022-05-06 09:48:39
ビジネス 不景気.com メガネの愛眼の22年3月期は6億円の最終赤字へ、売上減 - 不景気com https://www.fukeiki.com/2022/05/aigan-2022-loss.html 最終赤字 2022-05-06 09:28:34
ビジネス 不景気.com パリミキHDの22年3月期は11億円の最終赤字へ、売上減 - 不景気com https://www.fukeiki.com/2022/05/paris-miki-2022-loss.html 最終赤字 2022-05-06 09:02:12
北海道 北海道新聞 出光興産の子会社で製品試験不正 ガソリンなど、必要項目実施せず https://www.hokkaido-np.co.jp/article/677700/ 出光興産 2022-05-06 18:33:00
北海道 北海道新聞 「ケンタッキー」値上げへ 首都圏・関西でポテト販売休止 https://www.hokkaido-np.co.jp/article/677692/ 日本kfcホールディングス 2022-05-06 18:27:07
北海道 北海道新聞 漁船同士が衝突、けが人なし 増毛沖 https://www.hokkaido-np.co.jp/article/677691/ 留萌管内 2022-05-06 18:19:51
北海道 北海道新聞 J2長崎の宮本コーチが死去 山形、C大阪でプレー https://www.hokkaido-np.co.jp/article/677697/ 宮本卓也 2022-05-06 18:19:00
北海道 北海道新聞 東京円、130円台半ば https://www.hokkaido-np.co.jp/article/677696/ 東京外国為替市場 2022-05-06 18:19:00
北海道 北海道新聞 <社説>生理の貧困 社会全体で取り組みを https://www.hokkaido-np.co.jp/article/677441/ 生理用品 2022-05-06 18:20:02
北海道 北海道新聞 <社説>衆院「10増10減」 履行が立法府の責務だ https://www.hokkaido-np.co.jp/article/677442/ 選挙制度 2022-05-06 18:18:04
北海道 北海道新聞 中国は「孤立化の代償認識を」 米有力議員、台湾侵攻巡り https://www.hokkaido-np.co.jp/article/677693/ 下院外交委員会 2022-05-06 18:11:00
北海道 北海道新聞 コロナ「みなし陽性」7人死亡 千葉、東京、兵庫の70~90代 https://www.hokkaido-np.co.jp/article/677690/ 陽性 2022-05-06 18:06:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)