投稿時間:2023-04-22 02:24:14 RSSフィード2023-04-22 02:00 分まとめ(34件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
AWS AWS Marketplace Modernize insurance with AWS Marketplace https://aws.amazon.com/blogs/awsmarketplace/modernize-insurance-aws-marketplace/ Modernize insurance with AWS MarketplaceIn this blog post I highlight success stories featuring solutions available in AWS Marketplace Industry experts from Generali Thailand an insurance firm and CL BIZ Solutions Pvt Ltd an insurance technology firm share their business challenges and the business impact of using solutions available in AWS Marketplace 2023-04-21 16:32:26
AWS AWS Cloud Enterprise Strategy Blog Business Value is IT’s Primary Measure of Progress https://aws.amazon.com/blogs/enterprise-strategy/business-value-is-its-primary-measure-of-progress/ Business Value is IT s Primary Measure of ProgressOur highest priority is to satisfy the customer through early and continuous delivery of valuable software ー The Principles Behind the Agile Manifesto In the early days of my career the success of my IT projects was measured by delivering on time within budget and with sufficiently good quality “Sufficient often meant that hundreds of … 2023-04-21 16:02:18
AWS AWS Security Blog Protect your Amazon Cognito user pool with AWS WAF https://aws.amazon.com/blogs/security/protect-your-amazon-cognito-user-pool-with-aws-waf/ Protect your Amazon Cognito user pool with AWS WAFMany of our customers use nbsp Amazon Cognito user pools to add authentication authorization and user management capabilities to their web and mobile applications You can enable the built in nbsp advanced security in Amazon Cognito to detect and block the use of credentials that have been compromised elsewhere and to detect unusual sign in activity and then prompt users for … 2023-04-21 16:14:57
AWS AWS Cloud based 5G virtual Radio Access Networks with AWS and Nokia | Amazon Web Services https://www.youtube.com/watch?v=bXFRhOZqdmM Cloud based G virtual Radio Access Networks with AWS and Nokia Amazon Web ServicesNokia and AWS discuss the strategic partnership and collaboration of both companies with the focus of development of Cloud RAN Cloud RAN is providing radio access network capabilities with the agility and cost benefits of the cloud Pasi Toivanen Nokia and Amit Rao AWS illustrate the next steps in the journey telco operators can take with the support from Nokia and AWS to make Cloud RAN deployments a reality in Learn more Subscribe More AWS videos More AWS events videos Do you have technical AWS questions Ask the community of experts on AWS re Post ABOUT AWSAmazon Web Services AWS is the world s most comprehensive and broadly adopted cloud platform offering over fully featured services from data centers globally Millions of customers ーincluding the fastest growing startups largest enterprises and leading government agencies ーare using AWS to lower costs become more agile and innovate faster telecom telecommunications Nokia CloudRAN AWS AmazonWebServices CloudComputing 2023-04-21 16:22:53
AWS AWS - Webinar Channel Preparing Data at Scale with Amazon SageMaker Notebooks- AWS Machine Learning in 15 https://www.youtube.com/watch?v=SewGN-VjIDQ Preparing Data at Scale with Amazon SageMaker Notebooks AWS Machine Learning in Tune in for a quick overview on how to build end to end data preparation and machine learning workflows with SageMaker Studio notebooks You will learn how to connect to Apache Spark data processing environments from SageMaker Studio for big data processing and interactive analytics Learning Objectives Objective Learn how to use notebooks to easily prepare data directly in SageMaker Studio Objective See how to easily connect to Apache Spark data processing environments running on Amazon EMR and AWS Glue Interactive Sessions Objective See how to interactively query explore and visualize data and run and debug Spark jobs in SageMaker Studio To learn more about the services featured in this talk please visit To download a copy of the slide deck from this webinar visit 2023-04-21 16:15:01
AWS AWS Security Blog Protect your Amazon Cognito user pool with AWS WAF https://aws.amazon.com/blogs/security/protect-your-amazon-cognito-user-pool-with-aws-waf/ Protect your Amazon Cognito user pool with AWS WAFMany of our customers use nbsp Amazon Cognito user pools to add authentication authorization and user management capabilities to their web and mobile applications You can enable the built in nbsp advanced security in Amazon Cognito to detect and block the use of credentials that have been compromised elsewhere and to detect unusual sign in activity and then prompt users for … 2023-04-21 16:14:57
python Pythonタグが付けられた新着投稿 - Qiita Cookpadのレシピから材料抽出してみた【スクレイピング】 https://qiita.com/ssumika/items/86ad66243b6d6323e0c8 beautifulsoup 2023-04-22 01:51:12
js JavaScriptタグが付けられた新着投稿 - Qiita Type Error:Failed to execute 'fetch' on 'window':Request with GET/HEAD method cannot have body.と出た際の対処法 https://qiita.com/tiger3046/items/16e8427668144547229b 2023-04-22 01:41:27
技術ブログ Developers.IO [小ネタ] セミナーについているLevel、意識したことありますか? #AWSSummit https://dev.classmethod.jp/articles/what_is_aws_seminar-level/ awssummit 2023-04-21 16:27:23
技術ブログ Developers.IO AWS GameDayにて野良パーティーで最高の体験をしてきました! https://dev.classmethod.jp/articles/aws_summit_tokyo_2023_gameday_report/ awsgameday 2023-04-21 16:21:25
技術ブログ Developers.IO 【レポート】AWS Summit Tokyo 2023:Amazon の事例から学ぶ Observability 活用におけるベストプラクティス #AWSSummit https://dev.classmethod.jp/articles/aws-summit-tokyo-best-practices-for-using-observability/ amazon 2023-04-21 16:16:34
技術ブログ Developers.IO [ブース紹介]カオスエンジニアリングを体感できる「Chaos Kitty」で大規模障害が起きるハードモードを復旧してみた #AWSSummit https://dev.classmethod.jp/articles/aws-summit-tokyo-2023-booth-chaos-kitty/ kitty 2023-04-21 16:04:01
海外TECH Ars Technica Elephants must adapt to a rapidly changing world in Secrets of the Elephants https://arstechnica.com/?p=1933362 experience 2023-04-21 16:34:15
海外TECH DEV Community 💡Imagine Svelte with Virtual DOM: A Vision for the Future of Web Frameworks https://dev.to/rajaniraiyn/imagine-svelte-with-virtual-dom-a-vision-for-the-future-of-web-frameworks-247h Imagine Svelte with Virtual DOM A Vision for the Future of Web FrameworksHey there Welcome to the exciting world of web development Today we re going to explore a fascinating concept that is revolutionizing the way we build web applications So buckle up and let s dive in Svelte is one of the most popular frontend frameworks loved by developers and created by journalist Rich Harris However its approach to reactivity and stance on Virtual DOM VDOM has always been a topic of discussion when compared to rivals React and Vue While Svelte s approach makes sense there are situations where the absence of VDOM can be limiting This is where a new thought experiment comes in a hybrid of Svelte and VDOM But before we delve into the thought experiment let s take a closer look at what VDOM is and Svelte s no VDOM approach What is VDOM A virtual DOM is a copy of the real DOM that exists in memory not on the screen When making changes to the real DOM it can be slow and inefficient On the other hand changing the virtual DOM is much faster and easier By using a virtual DOM you can make changes to the virtual copy first and then compare it to the real DOM to find the differences These differences are called patches which can then be applied to the real DOM to avoid unnecessary repaints and reflows Frameworks like React and Vue use virtual DOMs to make websites more responsive and performant They handle the creation and updating of the virtual DOM for you However Svelte takes a different approach and doesn t use a virtual DOM Instead Svelte compiles your code into highly optimized vanilla JavaScript updating the DOM directly without the overhead of a virtual DOM Svelte s no VDOM ArchitectureSvelte one of the most loved frontend frameworks is different from its rivals React and Vue in that it doesn t use a virtual DOM While virtual DOM allows faster and smoother updates it requires two copies of the DOM and complex comparisons Svelte takes a unique approach by compiling code into small JavaScript modules that directly update the real DOM It analyzes the code at compile time to know exactly what needs to change making your website faster and smaller Svelte s special syntax makes code reactive automatically responding to changes in data or state Advantages of No VDOMOne of the major advantages of Svelte s no virtual DOM architecture is speed By eliminating the need to create and update two copies of the DOM and compare the differences Svelte can be faster and simpler than using a virtual DOM It also results in a smaller bundle size as fewer or no frameworks or libraries need to be loaded which in turn improves the loading time and bandwidth consumption of web applications Svelte s no virtual DOM architecture also gives developers more control and flexibility over how they update the real DOM They can use direct manipulation data binding templating or any technique that suits their needs Disadvantages of No VDOMHowever the lack of virtual DOM architecture means more responsibility and complexity for developers This includes managing and optimizing real DOM updates addressing performance issues memory management event handling and cross browser compatibility This can lead to less abstraction and convenience for developers who may need to write more code or use more tools to achieve the same results without the benefits of a framework or library Another disadvantage is that when updating the real DOM directly developers must manually synchronize the data and the UI to avoid inconsistencies Although this applies to any approach that updates the real DOM directly not just Svelte Why do we need VDOM in Svelte There are both advantages and disadvantages to using VDOM in Svelte as we discussed earlier However having an option to enable VDOM in Svelte can provide some benefits to developers and professionals who require more advanced features or better performance in certain scenarios For example enabling VDOM in Svelte can allow developers to use VDOM based libraries like React Framer Motion for advanced animations or other VDOM based libraries for other features that Svelte may not support natively This can provide more flexibility and options for developers to build more complex applications with Svelte Additionally enabling VDOM in Svelte can improve performance in certain scenarios such as when dealing with large feeds or SPAs with multiple DOM operations This can help Svelte remain competitive with other VDOM based frameworks in terms of performance and scalability However enabling VDOM in Svelte also comes with its own set of trade offs such as increased complexity and potential inconsistencies between the virtual and actual DOM Developers would need to weigh the benefits and drawbacks of enabling VDOM in Svelte and decide if it s worth the added complexity and potential issues Hypothetical VDOM in SvelteThese issues have been faced by many Svelte developers at some point during their development journey While Svelte s performance is exceptional there are some shortcomings that become more apparent with long term use What if Svelte had a virtual DOM that could be optionally enabled by developers at the component level For example lt svelte option vdom gt lt script lang ts gt export let count number lt script gt lt button gt if count gt Clicked count times else Click me if lt button gt In the example above the svelte option tag includes a vdom attribute that takes a boolean value and enables VDOM specifically for that component The Example we seen so far is relatively straight forward to implement in the svelte repo as well To use VDOM libraries such as Million js or Hyper DOM with Svelte the helper functions used by Svelte for DOM manipulations would need to be updated With VDOM enabled a virtual DOM would be created instead of a regular DOM Whenever a component changes the virtual DOM could be updated using the VDOM libraries and then mounted This approach would allow developers to avoid touching the actual DOM which could lead to significant performance gains particularly in cases where multiple DOM operations are required Example ImplementationMost of the DOM manipulating is done from a single file svelte src runtime internal dom ts we can just port this loc as of writing to use some VDOM libraries or custom VDOM implementation For example below is the code from the svelte dom ts fileexport function append target Node node Node target appendChild node we can change this to something like thisexport function append target Node vnode props gt VNode const block block vnode mount block target in the above example we have just changed the direct DOM manipulation with Million js virtual DOM implementation APIs Similarly we can port all the functions for VDOM and conditionally enable it That s it we implemented new feature in svelte is that it Svelte is a powerful and efficient framework that has gained popularity in recent years Recently the Svelte team announced their plans for the upcoming versions and While there won t be any major breaking changes the framework will continue to evolve and improve Optional VDOM is just an imaginary feature that will make the svelte even more awesome and cool Even we can make use of dynamic imports lazy imports of VDOM so we can reduce initial javascript bundle size What will happen if this lands in Svelte Svelte s success does not mean that other frameworks will fall by the wayside In fact the frontend framework landscape is constantly changing with new frameworks emerging all the time Each framework has its own strengths and weaknesses and developers must choose the right tool for their specific needs React for example is a highly popular framework that has a large community and a vast ecosystem of libraries and tools Vue on the other hand is known for its ease of use and has gained popularity all over the world Angular is a robust and comprehensive framework that is ideal for building large scale applications Ember Solid Astro Qwik Marko Lit and many others all have their own unique selling points and strengths Ultimately the choice of framework depends on various factors including the project requirements the team s expertise and personal preferences While Svelte may not be the ultimate frontend framework its unique approach and innovative features have certainly made it a popular choice among developers ConclusionFinally We are waking up from the thought experiment Svelte may or may not be good but it is a good framework to start web development journey Hybrid of svelte and vdom may be nothing as of now but it may be a thing in the future May be another framework could arise based on svelte with vdom If you found this post informative and useful be sure to follow for more content like this to enhance your web development skills and stay up to date with the latest trends and technologies in the field 2023-04-21 16:44:19
海外TECH DEV Community Above the Clouds With the New Enhance Landing Page https://dev.to/begin/above-the-clouds-with-the-new-enhance-landing-page-14ph Above the Clouds With the New Enhance Landing PageThose of you who ve visited the Enhance website recently may have noticed a big change we launched our first proper landing page Although this project was primarily my baby over the last couple months a lot of other folks were involved ーfrom the stellar and heartwarming design amp illustrations by Dani Raskovsky to art and content direction by our very own kj and additional ideas and feedback from the rest of the Begin team We re all thrilled to have this project out in the world and we hope you re as delighted as we are with it This is one of the most substantial projects we ve put Enhance itself to work on to date so we thought this would be a great opportunity to take you under the hood ーor through our view source if you will ーto cover some of the implementation details and our strategies behind them We hope this will give you some ideas for your own Enhance projects ーand beyond that we hope this goes to show just how much you can do using web standards these days Design strategyDeveloping a distinct identity for Enhance has been a priority for us from the outset but our new landing page absolutely revels in the spirit of playfulness and delight we always wanted to imbue our framework and our work in general with If you ask us the world of web technology has become a little stale in recent years when it comes to design Many of us on the Begin team love to reminisce over the whimsical age of personal websites built on Tripod Geocities and the like ーa time of unbounded personal expression and fascination with the rapidly expanding toolkit of web design Scrolling marquees blink tags copious animated GIFs and unpausable background music powered by MIDI may not be considered best practices today but we definitely look back on these artifacts with a lot of fondness Today a lot of the web looks the same ーespecially when it comes to sites for web technologies Pared back but not stark clean and inoffensive sans serif typefaces rounded corners a few subtle drop shadows maybe some blob people illustrations…it s not that there s anything wrong with this kind of design language or any of these attributes but it does get repetitive and even hard to distinguish With Enhance we wanted to return to something more quirky friendly exuberant and joyful Crafting a personality that was immediately welcoming was also critical for us ーwe want to welcome everyone to the world of Enhance and the wider world of the web regardless of previous experience or identity We want folks to start having fun on the web again and we hope our new landing page declares that intention both loudly and proudly Open arms in action prioritizing accessibilityAccessibility is sometimes regarded as a nice to have ーa feel good thing that we ll get to if nothing else gets in the way After all how many people will actually be affected by our decisions or lack thereof on accessibility According to the World Health Organization and the CDC of the world s population and of the U S population have a disability That s over billion people worldwide and around million people in the U S who may be unable to access websites that are not designed with accessibility in mind ーLesa Seibert ForbesFrom a cold hearted business perspective turning away one in six people or one in four Americans is a huge loss But more fundamentally and importantly making sure those folks have the best possible chance of engaging positively with your work isn t just carrying out good business ーit s being a good member of human society To that end we paid particular attention to the accessibility of the Enhance landing page When it comes to visual accessibility aspects like color contrast and perception allowing for motion reduction and strong typography are critical considerations While designing and building out the landing page we kept an eye on our WCAG and APCA ratings and reviewed our work with color blindness simulators to ensure information wasn t lost in translation Much of our landing page makes use of animations which I ll cover in more detail later in the article but we also know that not everyone loves animations I have friends with ADHD and other cognitive disabilities who find excessive animations extremely distracting ーand these animations can even impair recall Or consider those with vestibular disorders who can experience nausea headaches and even more problematic symptoms just because of animations even after those animations have passed I wouldn t wish this on anyone nor would I want to be the cause of such distressing episodes Because of this all of our landing page s animations include fallbacks for the prefers reduced motion media query This means that users who have set a preference in their operating system to reduce the GUI s use of motion won t have to deal with animations they ve already requested to opt out of In fact the day after launching the landing page Manuel Matuzovićsent out a lovely toot about this aspect of the page and a great discussion followed Accessibility can also encompass typography It s been estimated that somewhere around of the global population suffer from presbyopia a type of vision deterioration making it hard to see things up close with around half of those people unable to access corrective treatment Many of us will begin to experience this condition ourselves by the time we reach middle age my vision s been far worse than that since adolescence if not other forms of retinal disorders Even for those of us without a particular visual impairment small typography can be annoying to say the least but thankfully good typography is often just a matter of following simple best practices This among other reasons is why we make sure to use widely legible text sizes by default in our work px is a standard starting point including on the Enhance landing page We also ensured text was responsive to users text sizing preferences for example text should resize appropriately if the user zooms in or if the user has set a default text size that differs from the browser default There were just a few exceptions to this several sections of display type on the page needed to be explicitly sized based on the viewport width see an example below but in these instances we also set minimum rem based font sizes using CSS min max and clamp functions or simply set the type large enough that it shouldn t ever drop below a legible range as in the example below where one or two words are nearly full width even on a small device That said if you do spot an issue in legibility or any other accessibility concern feel free to file an issue or let us know on Discord Speaking of typography let s talk about… Fluid typography and layoutOne of the most interesting aspects of the design of our landing page is that it s almost entirely a fluid single column layout After so many years of building with adaptive and responsive grid layouts by default building out a single column layout that works as well on a small phone as it does on a monitor ended up being an unexpectedly tough and nuanced challenge The use of fluid typography and spacing ended up being a big part of the solution to this challenge I ve already touched on typography sized with viewport units in the previous section but here I m referring specifically to the kind of fluid type and layout techniques championed by the likes of Utopia You may already be familiar with the concept of using modular scales for sizing typography and spacing units ーand if you are you know that one the most time consuming and potentially frustrating aspects of using these scales is having to iterate on them across multiple breakpoints For example you might want to set a first level heading element at a moderate font size on small devices but then scale that font size larger on medium devices and up to a maximum size on large devices Or you may want to scale whitespace via padding in a similar fashion Using functional CSS this can look something like lt h class text text md text lg text xl gt … lt h gt lt or… gt lt section class padding padding md padding lg gt … lt section gt While this is a tried and true technique that has worked reasonably well for many years now it shares a problem with any other breakpoint scoped style that hard shift in layout at the boundaries of each breakpoint In other words a user working with a px wide viewport could get an entirely distinct layout compared to a user on a px wide viewport Given the virtually infinite range of viewport sizes that exist in the wild the decision of exactly when to make certain typographic and spatial changes within that spectrum quickly becomes arbitrary and awkward something one of the coauthors of Utopia has written about in detail This is where fluid typography and spacing shine As designers and developers we can stop fussing about a potentially infinite array of typographic and spatial variations and instead focus almost entirely on the extremes What size should this type be at a minimum and what size should it be at a maximum Or How far away should element A be from element B at a minimum and how far away should it be at a maximum In the case of the Enhance landing page using fluid type and spacing helped to reduce typographic and layout problems to a much more reasonable size All of the typography on the landing page except for a few aforementioned cases is sized using output from Utopia as are most of the margins and paddings that help situate each element on the page in relation to others This allowed us to start with a relatively compact layout on small screens and have that layout scale up fluidly to much larger screens without having to use any breakpoint scoped styles except in a few small sublayouts where we wanted to move from a single to double column format when space was available Given the complexity of the layout if it s not obvious this page has a LOT of layers and assets at play this fluid approach saved us both a ton of time and a fair bit of code in bringing the page to life In fact we had so much success using fluid type and spacing that we ve already started investigating the best possible way to bring this methodology into Enhance Styles You can follow this issue if you re interested SVGs not just for illustrations The last trick we pulled out of our sleeves in terms of typography on the landing page was using type rendered with SVG Despite being pretty nerdy about typography I admittedly was recently surprised to find out that text can indeed be rendered accessible to both sighted users and those using screen readers with the use of SVG graphics This technique proved useful specifically for a couple of instances where we need to scale type based on the width of another element ーfor example in the section shown below where we wanted to scale the words web components symmetrically with the SSR cloud typography which wouldn t have been possible to do via font size Here the web components text is rendered with SVG s lt text gt element Because this renders actual type rather than type outlined as vector graphics it remains accessible to both screen readers and document parsers and we can do things like typeset it with CSS ーfor example apply our web font set it in uppercase use the extra bold font weight etc In fact if you use an HTML page outliner tool on the landing page you ll notice that the SSR Web Components graphic gets parsed just the same as any other h element would thanks both to the SVG lt text gt element and the inclusion of a visually hidden but still accessible span containing the term SSR Check out the reduced and commented code reproduction below to see this in action lt h class font extrabold uppercase m auto gt lt Custom element for the SSR cloud type gt lt landing ssr type class w full mb gt lt svg… gt lt svg gt lt landing ssr type gt lt Invisible but accessible text for SSR gt lt span class clip gt SSR lt span gt lt Web components SVG text gt lt svg viewBox xmlns class webComponentsType gt lt text fill EFFF font family Rubik font size gt lt tspan y gt Web Components lt tspan gt lt text gt lt svg gt lt h gt Of course a few custom pieces of typography aren t the only SVGs you ll see on our landing page SVG is a fantastic format to work with for graphics as long as you re not rendering photographs or highly complex three dimensional imagery Since it s a graphics format built from standards based XML it s both parsable and able to be styled by the browser This also means that SVG content can be used in custom elements and web components a strategy I used liberally for our landing page Finally being vector based SVGs can also be resized infinitely without a loss in quality while compressing to far smaller file sizes than bitmap formats like JPG and PNG Over other SVG assets are used to create the lush world of Axol and their friends but thanks to the aforementioned compression this all amounts to just kb over the wire which is itself about a quarter of the total kilobytes transferred for the whole page Compared to what our image payload would ve been if we d used PNG or JPG images this is a massive savings in both page size and loading speed which both we and our users appreciate Furthermore because our landing page is so incredibly tall the lion s share of these images initially appear offscreen as such we decided to load those images asynchronously as they approach the visible viewport by using the loading lazy attribute Two examples of SVGs worth digging into are the code blocks we show on the page ーone demonstrating Enhance s project structure and another showing an example of writing a client side update to a web component These two SVGs were actually fairly tough to get right for a somewhat frustrating reason almost no modern graphics program seems to emit anything close to clean SVG code when multiline text is involved ーand because we want to style the text in these images and have it exposed to technologies like screen readers simply tossing a bunch of SVG markup into an external image request was simply not possible For example when opting not to convert text to outlines Figma s export renderer for some reason chooses to slice and dice individual characters and word fragments seemingly at random spitting out a ton of unnecessary tspan elements that would frankly never be possible to work with in a code editor Many other SVG editors I tried found other ways to mutate my text in baffling ways Here s an excerpt from Figma s SVG output lt svg viewBox fill none xmlns gt lt skipping ahead to the code block… gt lt g id code gt lt text fill FFF xml space preserve style white space pre font family Roboto Mono font size letter spacing em gt lt tspan x y gt C lt tspan gt lt text gt lt text fill white xml space preserve style white space pre font family Roboto Mono font size letter spacing em gt lt tspan x y gt paragraph lt tspan gt lt tspan x y gt attr lt tspan gt lt tspan x y gt o lt tspan gt lt tspan x y gt n lt tspan gt lt tspan x y gt o lt tspan gt lt tspan x y gt n lt tspan gt lt tspan x y gt attr lt tspan gt lt tspan x y gt paragraph lt tspan gt lt tspan x y gt t lt tspan gt lt tspan x y gt n lt tspan gt lt text gt lt text fill F xml space preserve style white space pre font family Roboto Mono font size letter spacing em gt lt tspan x y gt uper lt tspan gt lt tspan x y gt his lt tspan gt lt tspan x y gt his lt tspan gt lt tspan x y gt amp p amp lt tspan gt lt tspan x y gt amp message amp lt tspan gt lt tspan x y gt amp message amp lt tspan gt lt tspan x y gt his lt tspan gt lt text gt lt g gt lt etc gt lt svg gt I m not sure what Figma was drinking when it generated this output but I m worried for its health Along the way I discovered that an app I sometimes use for bitmap editing ーPixelmator ーalso works with SVGs and its multiline text output is actually quite respectable though it didn t seem to allow me to apply multiple text colors to a single text block Thus the solution I finally landed on was Take the exports from our Figma design filesThrow them into PixelmatorReplace Figma s text output by pasting the raw text back into PixelmatorOutput these results from PixelmatorFinally fine tune the results by hand in code ーfor example by inserting my own tspan elements to apply the appropriate color fills as needed for syntax highlightingTo vastly understate my feelings on this process it was not ideal However this did end up saving us around kb of code as compared to using the raw SVG output with outlined text in addition to allowing us to style the text and have it exposed to assistive technologies Relatedly if anyone out there is working on an SVG editing tool if you manage to come up with an export format that makes multiline text in SVGs easier to work with as code I have a hug waiting for you Animations bringing Axol to lifeAnimation was a key consideration for the Enhance landing page from the beginning of the project even before I came onboard Earlier in this article I mentioned how many of us Beginners look back fondly on the marquee and blink tags of years past luckily it was pretty easy to bring these sorts of animations back to life with CSS An article from Ryan Mulligan provided a great example of how to build a modern responsive marquee with CSS meanwhile memories of the blink tag were revived via several of our Axols blinking eyes Other animations fell into place pretty easily but took some fine tuning to perfect The Axols on swings underneath our HTML first marquee for example are animated simply via the rotate property but the precise timing of each as well landing on an appropriate timing function took a few iterations to get just right I really love how these two Axols drift in and out of sync with each other as they swing lazily back and forth Sometimes I feel like I m starting to get hypnotized by them if I stare at them too long…thankfully I don t think Axols are prone to too much mischief If you re curious here s the code for the blue swinging Axol ーthe only difference with the pink Axol is a very slightly longer animation duration Small input big output Another animation that ended up giving back so much more energy than was put into is the Axol at the bottom of the landing page who intermittently offers their flower to the user I m proud to say I came up with this concept on my own but I can t take too much credit ーthis animation is also just adjusting the rotate property on several SVG groups the front arm back arm and flower Here s the code if you d like to take a peek ーthe SVG content is a little verbose but you ll get the idea I m sure None of these animations were terribly hard to implement but there were definitely others than took quite a lot of corralling to get right A prime example here is the Axol that flies across the screen trailing a No JS required banner behind them No JS though some visual trickery requiredThe initial challenge with this animation was the layering Axol and their banner needed to appear to come through the heart cloud which meant one half of the cloud needed to be stacked behind Axol and the banner with the other half in front Then I went and made things harder for myself by deciding the heart cloud also needed to gently pulsate like a real heart To put this all together I started by making a single component for Axol and the No JS required banner Not much magic here ーan image a bit of styled text and some relative offsets along with flexbox to line everything up Then it was time for some open heart surgery I sliced up the heart cloud into two halves so that I could stack one half on top Axol and their banner in the middle and the other half of the heart cloud below This didn t quite work out at first Due to the fluid size of these images and the way antialiasing works the heart cloud sometimes rendered with a tiny subpixel gap of space between its two halves My friend Robyn an amazing designer and artist herself had some great advice for me here all I needed to do was give each half of the graphic an px overlap and then collapse that overlap when stacking the images up That way whenever that subpixel gap appears it s effectively canceled out by the px overlap that s revealed underneath Because these images are sized fluidly I ended up having to compute the overlap in percentages based on the images intrinsic widths but the result worked perfectly You can take a look at the code for this here if you d like The final step in this animation was to get Axol to actually fly out with the banner in tow This was solved with a transition of the translate property triggered with the Intersection Observer API In short once the heart cloud is detected to be at least visible in the viewport a JavaScript handler modifies the translate property on Axol and the banner Because the translate property is declared to be transitional via the transition property we end up seeing Axol fly across the screen with the banner in tow Take a look at the CSS behind this if you like Because these animations are triggered by JavaScript however I also needed to account for what a user would see if JavaScript failed to load or was blocked Consequently Axol and the banner are first rendered on the server at the static completed stage of the animation Then when JavaScript first kicks in on the client I reposition Axol and the banner to the starting position required for the animation After this the IntersectionObserver handler takes care of the rest I also needed to make sure this animation isn t run for users with the reduced motion preference so this JavaScript is kept behind a guard which first checks for this preference using the matchMedia method This same approach was used to animate a few other Axols on our landing page including the Axol that slides down the large rainbow and subsequently pops out of a cloud beneath This animation used some slightly different techniques ーin this case swapping out classes rather than modifying custom property values directly ーbut the principle remains the same I also used an SVG to define Axol s path down the rainbow via the offset path property CSS Tricks has a great summary of this technique if you d like to dig further into it or you can take a look at the CSS and the JavaScript behind this particular animation if you d like Ready for liftoffIt s been a blast putting our new landing page together and putting Enhance itself to use to produce such a dynamic intricate yet effective and performant web page feel free to check out our scores on Page Speed Insights It s interesting to consider that this entire page could have reasonably been built without Enhance ーafter all it s mostly just static HTML CSS and a sprinkling of vanilla JavaScript which unlike a lot of server rendered output out there these days is perfectly readable by humans when viewing the page source in your browser ーtry it out What Enhance added to the experience of working with these web standards really came down to making my authoring experience magical Single File Components allowed me to colocate related markup styles and scripts in a compartmentalized and straightforward way which is even surfaced in the custom element names when viewing the page source Enhance Styles gave me a configurable utility class system as well as component scoped styles both of which made building out typography layout and animations a breeze API routes made it a cinch to implement our email signup form using an actual HTML form and HTTP requests ーno form library or third party data management layer needed here and of course deploying with Begin gave us server side rendering deterministic builds and super fast response times all within independently scalable environments At the end of the day while a lot of skilled folks spent a lot of time making this landing page a reality it s thrilling for me to know that ーtechnically speaking ーanyone with an intermediate level of experience with HTML CSS and a tiny bit of JavaScript could reasonably build out a landing page of this caliber using Enhance themselves all with an extremely minimal lead time to learn the framework s ropes I can t wait to see the incredible work that folks in the wild will put together with Enhance and I hope that our new landing page inspires you to dive into a project of your own soon 2023-04-21 16:01:15
Apple AppleInsider - Frontpage News How to change color saturation on Apple Watch faces for customization https://appleinsider.com/inside/apple-watch/tips/how-to-change-color-saturation-on-apple-watch-faces-for-customization?utm_medium=rss How to change color saturation on Apple Watch faces for customizationApple Watch owners have access to a wide variety of watch faces and can change the color saturation on many of them to suit their tastes Here s how to do it The Apple Watch has colorful facesThe Apple Watch is a popular smartwatch that has become a style statement for many With its customizable watch faces users can change the look and feel of their watch to match their personality and mood Read more 2023-04-21 16:09:44
海外TECH Engadget Apple's iPad Air drops back to $500, plus the rest of the week's best tech deals https://www.engadget.com/apple-ipad-air-drops-back-to-500-best-tech-deals-this-week-161950697.html?src=rss Apple x s iPad Air drops back to plus the rest of the week x s best tech dealsAnother Friday another roundup of the best tech deals we could find Our latest selection includes the iPad Air for which is off Apple s list price and a good value for a tablet we ve called the best iPad for most people Beyond that the inch LG C OLED TV is down to a near low of Google s Nest Thermostat is off at and the GB Samsung Evo Select microSD card is on sale for a new low of GameStop is still running a buy one get one free sale on several video games of note plus various picks from our Bluetooth speaker gaming mouse air fryer and gaming laptop buying guides are also on sale Here are the best tech deals from this week that you can still get today Apple iPad AirApple s iPad Air is back on sale for which matches the lowest price we ve seen outside of a very brief drop to last year Apple normally sells the inch tablet for though it s often available around on Amazon The Air is the top pick in our guide to the best iPads and earned a review score of when it launched last year While it lacks the M chip higher Hz refresh rate and improved speakers of the iPad Pro it provides a similarly elegant design at a much lower price with a better display faster processor and wider accessory support than Apple s lower end tablets Instant Vortex Mini Air FryerThe top budget pick in our guide to the best air fryers Instant s Vortex Mini is down to at Amazon This is a two quart model so it s not ideal if you want to cook for several people but we ve found it effective for smaller servings and side dishes like french fries tofu wings and the like Its dial controls and four preprogrammed settings air fry bake roast reheat are simple to use and the whole thing takes up little countertop space This deal is more than the device s all time low but roughly less than its typical street price Just note that the discount only applies to the aqua blue model Samsung Evo SelectThe GB model of Samsung s Evo Select microSD card is down to which is a new all time low On average the U and V rated card has typically retailed for over the last few months This isn t the fastest option on the market but it s still fast enough for most things you d do with a Nintendo Switch Steam Deck GoPro or Raspberry Pi It s also backed by a year warranty If you more storage space the GB and GB models are down to and respectively Google Nest ThermostatThe Google Nest Thermostat is on sale for at B amp H which is off its typical going rate Note that this is not the Nest Learning Thermostat which is Google s higher end model By comparison the standard Nest Thermostat has a less premium design and can t learn your heating and cooling habits to make automatic adjustments It also doesn t support remote temperature sensors so it s less convenient for fine tuning the temperature in specific rooms nbsp That said it still lets you control your home s climate remotely and can help you save on energy costs It carries over features like HVAC system monitoring and voice assistant control as well and unlike the pricier model it supports the new Matter smart home standard Google rolled out the latter for the Nest Thermostat just this week allowing it to work with more platforms such as Apple HomeKit and Siri We ve highlighted the Nest Thermostat in past roundups Razer DeathAdder V ProAmazon has the white Razer DeathAdder V Pro on sale for which is a new low and below its usual price The device is also available for more at Best Buy This is the best premium pick in our guide to the best gaming mice as it offers exceptionally responsive performance in a comfortable and ultralight g design It lacks bells and whistles like RGB lighting and support for multiple control profiles and most people still don t need to pay this much to get a good gaming mouse but it s tailor made for competitive minded players who spend most of their time in twitchy FPS games SK Hynix Gold PSK Hynix s Gold P is a well reviewed power efficient SSD that should represent a nice upgrade for anyone looking to boost the storage performance of their laptop Its TB model is down to a new all time low of which is about below the drive s average street price in recent months If you don t need that much capacity the TB model is available for This is a PCI Express drive so it s not as performant as a higher end PCIe model nor will it work with a PS But it s still fast enough for most people looking to load up games or transfer large files on the go and at this price it offers a better cost per gigabyte ratio than most of its peers It also comes with a five year warranty Anker USB C ChargerIf you re looking for a compact USB C charger the Anker Charger is a nice value at its current deal price of We ve seen this discount a few times before but it represents a roughly drop from the device s average street price in recent months This is a travel friendly GaN charger x x in that can deliver up to W of power which is enough to charge many smartphones tablets and smaller laptops at full speed It only has one port though if you need something that can top up multiple devices at once consider some of the alternatives in our guide to the best fast chargers Anker Soundcore Motion The Anker Soundcore Motion is down to which is about below its usual going rate This is a recommendation from our guide to the best Bluetooth speakers It can easily supply enough volume to fill a room and compared to other portable speakers in this price range it gives tracks an impressive sense of space It s not the smallest device and it can lack some detail in the treble but it s well built and sounds smooth on the whole Beyond that it s water resistant with an IPX rating so you can safely take it in the pool or shower and it has a mm input for wired connections Asus ROG Zephyrus GBest Buy has a version of Asus ROG Zephyrus G with a Ryzen HS CPU Radeon RX S GPU inch Hz display TB SSD and GB of RAM down to which is a new low The G is the top pick in our guide to the best gaming laptops and earned a review score of last year Note that this is the model if you re willing to pay more for a brawnier Ryzen series CPU and Nvidia RTX series GPU Asus has refreshed models on the way which likely explains the deal here Nevertheless the older Zephyrus G is a good value at as it can still deliver perfectly playable frame rates with many modern games in p Relative to other gaming notebooks it s also decent for everyday use with a comfortable keyboard and trackpad plenty of ports and roughly hours of battery life when you aren t gaming Its pound chassis isn t a complete anchor either Apple Mac MiniApple s latest Mac Mini is back down to an all time low of This deal applies to the entry level version of the compact PC which includes Apple s M chip GB of RAM and a GB SSD With those specs you ll want to stick to lighter workloads especially since you can t upgrade the Mini s memory or storage over time But if that s all you need this is the most affordable way into a competent Mac desktop If you want more storage space a model with a GB SSD is on sale for which is another all time low We gave the version of the Mac Mini with Apple s faster M Pro chip a score of in January but the two devices are similar outside of that processor bump and a couple extra Thunderbolt ports As of this writing Amazon s listing says the device won t ship until the end of May Apple Watch SEThe Apple Watch SE is once again on sale for This is a deal we ve seen on and off for the past few months but it falls within of the smartwatch s all time low and below Apple s list price We gave the latest SE a review score of last September and call it a standout option for first time buyers in our best smartwatches guide Compared to the Apple Watch Series our top pick it lacks an always on display mode fast charging and advanced health features like an ECG monitor skin temperature sensor and blood oxygen sensor However it still provides most of the core Apple Watch feature set and the same processor as the Series at a far lower cost nbsp If you re willing to pay for the most rugged and longest lasting Apple Watch meanwhile the Apple Watch Ultra is more modestly discounted at That s about below its usual street price LG C OLED TVThe inch LG C OLED TV is on sale for which is about off the average street price we ve seen in recent months and only more than the lowest price we ve tracked The inch version is also down to one of the best prices we ve seen at LG has replaced this model with this year s C OLED TV which looks to be a marginal upgrade on the whole but promises improved image processing This is also a step down from the Samsung SB and newer SC in terms of brightness and color saturation those should be better for brightly lit rooms nbsp That said the C is still excellent offering the kind of deep contrast smooth motion low input lag and wide viewing angles you d expect from a good OLED panel And at this price it costs far less than the C and Samsung smodels We previously recommended the C in our gaming TV buying guide GameStop BOGO saleIf you ve been looking for games to play before the new Zelda drops GameStop is running a buy one get one free sale that includes different titles Not every game in the sale is a winner but the selection includes the PS version of the giant action RPG Elden Ring recent releases like the Yakuza spin off Like a Dragon Ishin nbsp and the turn based RPG Octopath Traveler II plus Switch exclusives like Bayonetta Xenoblade Chronicles and The Legend of Zelda Skyward Sword HD among others Just note that the discount will only apply to the cheapest game you add to your cart Shop BOGO Sale at at GameStopPlayStation and Nintendo Switch game dealsOutside of GameStop s sale we re seeing good prices on a number of recommended PlayStation and Nintendo Switch games On the PlayStation side the colorful action game Ratchet amp Clank Rift Apart and challenging roguelike Returnal nbsp are each down to while the brutal sequel The Last of Us Part II nbsp is back down to For Switch several notable indie games are at or near all time lows including Celeste nbsp and Golf Story for each Hollow Knight and Spiritfarer for each Untitled Goose Game for Hades nbsp for and Teenage Mutant Ninja Turtles Shredder s Revenge nbsp for We highlight many of these titles in our guides to the best couch co op games best PS games and best Switch games Follow EngadgetDeals on Twitter and subscribe to the Engadget Deals newsletter for the latest tech deals and buying advice This article originally appeared on Engadget at 2023-04-21 16:19:50
海外科学 NYT > Science SpaceX’s Starship Kicked Up a Dust Cloud, Leaving Texans With a Mess https://www.nytimes.com/2023/04/21/us/spacex-rocket-dust-texas.html SpaceX s Starship Kicked Up a Dust Cloud Leaving Texans With a MessResidents of Port Isabel said that their city was covered in grime following SpaceX s rocket launch on Thursday The city said there was no “immediate concern for people s health 2023-04-21 16:26:27
金融 金融庁ホームページ 「金融商品取引業等に関する内閣府令の一部を改正する内閣府令」について公表しました。 https://www.fsa.go.jp/news/r4/shouken/20230421/20230421.html 内閣府令 2023-04-21 17:00:00
金融 金融庁ホームページ 「国内運用会社の運用パフォーマンスを示す代表的な指標(KPI)の測定と国内公募投信についての諸論点に関する分析」を公表しました。 https://www.fsa.go.jp/common/about/research/20230421.html 運用会社 2023-04-21 17:00:00
金融 金融庁ホームページ 「米国及び欧州のオープンエンドファンドの運用パフォーマンス調査」を公表しました。 https://www.fsa.go.jp/common/about/research/20230421-2.html 運用 2023-04-21 17:00:00
金融 金融庁ホームページ 「資産運用業高度化プログレスレポート2023」 について公表しました。 https://www.fsa.go.jp/news/r4/sonota/20230421.html 資産運用 2023-04-21 17:00:00
ニュース BBC News - Home John Lewis and other major firms quit CBI after second rape claim https://www.bbc.co.uk/news/business-65345595?at_medium=RSS&at_campaign=KARANGA group 2023-04-21 16:09:38
ニュース BBC News - Home Court may need to decide if nurses' strike is legal https://www.bbc.co.uk/news/health-65341234?at_medium=RSS&at_campaign=KARANGA rules 2023-04-21 16:42:05
ニュース BBC News - Home Academic guilty of Paris synagogue bombing in 1980 https://www.bbc.co.uk/news/world-europe-65347584?at_medium=RSS&at_campaign=KARANGA canada 2023-04-21 16:20:07
ニュース BBC News - Home Twitter blue tick: Multiple Hillarys and New Yorks as verifications disappear https://www.bbc.co.uk/news/technology-65346263?at_medium=RSS&at_campaign=KARANGA media 2023-04-21 16:43:30
ニュース BBC News - Home Council loses court bid to block asylum seekers plan for Essex base https://www.bbc.co.uk/news/uk-england-essex-65348719?at_medium=RSS&at_campaign=KARANGA essex 2023-04-21 16:15:55
ニュース BBC News - Home 'Are you a nightmare to work for?' https://www.bbc.co.uk/news/uk-politics-65352875?at_medium=RSS&at_campaign=KARANGA civil 2023-04-21 16:02:00
ニュース BBC News - Home Report's key findings at a glance https://www.bbc.co.uk/news/uk-politics-65339102?at_medium=RSS&at_campaign=KARANGA findings 2023-04-21 16:15:44
ニュース BBC News - Home Dominic Raab: Anger from civil servants at resignation letter https://www.bbc.co.uk/news/uk-politics-65349189?at_medium=RSS&at_campaign=KARANGA anger 2023-04-21 16:53:23
ニュース BBC News - Home Just Stop Oil: Dartford Crossing protesters jailed https://www.bbc.co.uk/news/uk-england-essex-65263650?at_medium=RSS&at_campaign=KARANGA bridge 2023-04-21 16:25:40
ニュース BBC News - Home Leah Williamson: England and Arsenal captain will miss World Cup with ACL injury https://www.bbc.co.uk/sport/football/65349115?at_medium=RSS&at_campaign=KARANGA anterior 2023-04-21 16:21:26
ニュース BBC News - Home Sudan fighting: Street battles dash hopes of Eid ceasefire https://www.bbc.co.uk/news/world-africa-65344372?at_medium=RSS&at_campaign=KARANGA battles 2023-04-21 16:51:13
ニュース BBC News - Home Chelsea: Vincent Kompany and Mauricio Pochettino on Chelsea shortlist https://www.bbc.co.uk/sport/football/65345940?at_medium=RSS&at_campaign=KARANGA permanent 2023-04-21 16:33:27

コメント

このブログの人気の投稿

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