IT |
InfoQ |
Presentation: Remote Onboarding: A Houseplant's Story |
https://www.infoq.com/presentations/remote-onboarding-tips/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
|
Presentation Remote Onboarding A Houseplant x s StoryKate Wardin discusses tips to foster an enjoyable and effective onboarding process for remote teams and a few add on tips for those wishing to become skillful plant owners By Kate Wardin |
2022-08-21 15:21:00 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
【備忘録】【ESP32】MicroPythonでSDカードにpythonコードを書き込み、SDカード上のpythonコードを実行する |
https://qiita.com/nak435/items/f8cbba8da7596156db30
|
micropython |
2022-08-22 00:34:36 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
pythonによる列生成法の実装と速度比較 |
https://qiita.com/rtonoue/items/e9adcce6bb901967bca8
|
scipyoptimize |
2022-08-22 00:06:03 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【Angularアプリケーション開発 #9】ログイン機能とセッション管理について |
https://qiita.com/mojapico/items/166231b4ce7f8e624f0c
|
angular |
2022-08-22 00:23:15 |
Ruby |
Rubyタグが付けられた新着投稿 - Qiita |
Rubyのクラスについて |
https://qiita.com/jpsuzuki/items/aeee56b1a29f79c6dfe3
|
english |
2022-08-22 00:41:19 |
Git |
Gitタグが付けられた新着投稿 - Qiita |
レンタルサーバーを借りてオンラインゲームのWikiサイトを作ってみる #4 |
https://qiita.com/Unirenkon/items/ea292803557c47c17284
|
githubactions |
2022-08-22 00:06:58 |
海外TECH |
DEV Community |
How I Improved Lighthouse Performance by Adding an Image |
https://dev.to/perssondennis/how-i-improved-lighthouse-performance-by-adding-an-image-5ef2
|
How I Improved Lighthouse Performance by Adding an ImageImages and videos are slow to load and most bloggers and companies are eventually coming to the tough decision of whether to take the UI train and include a hero image or going for performance and wave goodbye to the hero My turn for my website was to go both ways In This ArticleThe Impact of Loading ImagesWeb Vitals Largest Contentful PaintThe Inconsistency of Getting a Great Largest Contentful Paint LCP ScoreHow I Optimized Largest Contentful Paint LCP With an ImageChoosing Between SVG PNG and WebPAn Attempt to Use a SVG and CSS SolutionOptimizing WebP Image SizeServing Appropriately Sized ImagesGreat Image Tools To UseBack To Network LatencyConclusion The Impact of Loading ImagesAn image is on average a thousand times as destructive for performance as a thousand words That s not a joke Websites are commonly encoded using UTF which uses bytes per character just byte for standard ASCII letters Average English word is about characters so a thousand words would be about kB large A quick google search on average image sizes on web tells us that s in about the same order of magnitude as those kB of words Keep in mind that s just an average number Hero and banner images which are meant to cover the half or full viewport of a website is most often at least several times as large as that maybe even a thousand if poorly optimized The image size isn t the only time thief when loading images on web Images are usually fetched by the browser in a separate network request which means there will be an additional server request which incur additional latency and the request may even have to be queued for a time by the browser As we will see later in this article this fact can have a considerable impact Tesla s MB huge monster bannerAs an example Tesla s banner image of their Model Tesla is MB large and takes ms to load after having waited seconds to start download on my network with a fairly old MacBook Pro According to Google of users will leave a mobile site that takes longer than seconds to load Just loading the image consumes a considerable share of that quota and before it is finished rendered it has passed that time Tesla Model image loading time in Chrome inspectorTesla Model accelerates from to km h in s that s faster than it takes to load the image of it Web Vitals Largest Contentful PaintThere are many ways measuring performance for a website Google has initiated Web Vitals which is a bunch of metrics that Google think are important for serving a good UX One of the metrics is Largest Contentful Paint LCP which measures the time until the largest text or image on the page is visible Google has released an open source tool called Lighthouse that can be used to measure web vitals and get scores and guidelines It is built in into Chrome Dev Tools but can also be used at PageSpeed Insights The metrics shown is meant to be used as a guidance and can vary between each test Although Lighthouse is just for guidance most or all of the metrics are used directly or indirectly by Google to rank your website when it gets indexed by Google It s therefore not only important for good UX but also for SEO Largest contentful paint is one of the metrics a Lighthouse test scores you on The Inconsistency of Getting a Great Largest Contentful Paint LCP ScoreWhile running Lighthouse speed tests at my website I noticed that I got very different scores on different pages My main page that lists articles and an article page scored significantly different on the performance metric even though both pages was built almost in the same way with a profile picture a lot of text and a few images At the time doing this the pages looked similar as today but they did not have a hero image back then The culprit for the bad test result on the article page was the LCP score The Lighthouse test provides a screenshot of the LCP which made it clear why the article page did get a worse LCP score Since the main page had some extra chip components beneath the profile picture the largest contentful paint on that page was the profile image None of the dynamic blog articles was ever included in the viewport on a mobile device The LCP on my landing page is the profile pictureMeanwhile on the article page the first part of the blog article was included in the mobile viewport meaning that Lighthouse was looking for the LCP in that area as well The consequence was that whenever an article began with an image that image was treated as the LCP since it was a larger image than my profile picture If the image was left out the profile picture was detected as the LCP The LCP on an article page with an image was the article image How I Optimized Largest Contentful Paint LCP With an ImageI knew I couldn t keep going on with an unreliable LCP score and it wasn t a good solution to never start an article with an image I had to find a way to get a predictable score regardless of what content I included in the article itself With that in mind I decided to add an image larger than any potential article image I decided to add a hero image That way I could at least get control of which image was the largest and thereby take control over the LCP score For this to be effective I had to use a hero image that was fast to load Nothing would ever be better if I did like Tesla have done adding a gigantic banner at the size of MB I had to use a small optimized image that could fill half the viewport one that didn t scream poor resolution By adding a hero image I could control which image I wanted to be the LCP Choosing Between SVG PNG and WebPWell I never really considered using a PNG image for the hero image that s not the way to optimize web images Although I do always keep a PNG copy around for other usages For example when posting articles on DEV forum they don t support WebP images to be uploaded as hero images Choosing between SVG and WebP was more difficult SVG images can be really small if the image consists of a repeating pattern or an abstract pattern using only a few colors and shapes just because they consist of vectors that can be scaled to any resolution On the other hand they will grow ridiculously big for graphic heavy images with many colors and shadows due to the high number of vectors required to represent the image On the contrary WebP can compress images effectively by predicting and reusing pixels making it superior to PNG and JPEG formats So the decision had to be between a minimal abstract hero image in SVG format or a realistic photograph in WebP format An Attempt to Use a SVG and CSS SolutionAs you can see on my website I do have a brick wall as the hero image as long as you don t change the theme to dark mode That image is in WebP format but my first attempt was actually to use an SVG image The brick wall I tried with then was less realistic and more cartoonish which was served perfectly in SVG format To get rid of the extra network latency from fetching an image from a server I embedded the image as a CSS background in a data URI which should really only be done when dealing with tiny images because of cache and parsing reasons Did it work No it didn t the CSS background wasn t detected as the LCP After all it is neither a regular image or a text so it complies with Google s description of LCP Google s largest contentful paint definitionEven though a CSS solution did not work as expected it did work to use the SVG image in a normal HTML image element or to be accurate Next js Image component in my case The only reason I discarded that solution was because I wasn t satisfied with the cartoonish style of the brick wall I felt I wanted a more realistic brick wall Optimizing WebP Image SizeAfter having decided to use a photograph of a brick wall as the hero image it was time to optimize the size of it without losing too much quality I felt that I didn t need a pixel perfect photograph it was fine for me to sacrifice quality for loading speed The initial image was a JPEG monster at MB and a x resolution so it could be optimized a lot My counsellor apologize on my behalf for a mega bad punNow compressing images is not at all what I am good at I m sure compression fanatics would have hit me with their compression bible if they hadn t already compressed it into a holy script at a few kilobytes But I did succeed to compress the image a lot compressing it into a x WebP image of kB Obviously I lost a massive amount of quality that has to be mentioned I got so scared seeing him I zipped my mouthThe approach I used to compress my image was to use an online copy of Photoshop called Photopea Only thing I did was to resize the image and save it in another format and choosing to lower the quality while saving Photopea s save dialog allows you to preview image quality and image size at the same time Serving Appropriately Sized ImagesA hero image with a K resolution is fine for a K monitor but serving a K image to a mobile device is not optimal Small devices should be served small images That can be achieved using a HTML picture element with a srcset In my case I didn t have to handle that because my website is written using Next js They have a built in image component which can be used to optimize image loading At my blog you can find a guide for implementing a hero image with that image component it also explains the benefits of using it The image component Next js offer does not only serve images in different sizes They also support specifying a quality of the image so they can compress it for you In my case it didn t compress the image enough I experienced better results compressing it myself using Photopea Great Image Tools To UseWhen working with images you often have to manipulate images in certain ways To easier do that I suggest checking out my list of free image tools Those tools can be used to resize and reformat images and to generate images and backgrounds It also presents websites which offers royalty free images Back To Network LatencyAs I promised in the beginning of this article we would look at how network requests can be the bottleneck when optmizing image loading times Look at the picture below It shows the network timing tab available in Chrome Dev Tools for the hero picture I use on my website We can see that it takes the same amount of time to get a response from the server as it takes to download the picture It takes ms to get a response when I visit my own websiteBut Dennis you say your image is very small only kB ms isn t a very long time Yeah that s correct It s nothing to care about Or at least it wouldn t be if it wasn t because I had reloaded my page multiple times to get that screenshot Reloading the page allows for the server to cache the image and serve it quickly the next time it is requested When visiting my website during a cold boot at hours I don t have a lot of traffic to the site from Sweden it can take or maybe times as long time to get a response from the server When that happens the ms download time for the image is negligible compared to the server response time Without a recent cache of the hero image server response takes plenty of more time ConclusionWhat we learned in this article was that adding a large image to a website can actually improve Lighthouse performance tests We learned what Largest Contentful Paint LCP is and how to optimize an image to maximize the LCP score We also took a look at when to use SVG images and when to use WebP images I provided you with a list of free image tools which as an example can be used to reformat images in different ways and explained the importance of keeping the image size low when using images on a website Finally we saw an example of how server response time can be the bottleneck of web image performance when the images themselves has been compressed well enough to be very small Dennis PerssonFollow I m a former teacher writing articles about software development and everything around it My ambition is to provide people all around the world with free education and humorous reading |
2022-08-21 15:43:54 |
Apple |
AppleInsider - Frontpage News |
iOS 16 development wrapped up, macOS Ventura & iPadOS 16 coming in October |
https://appleinsider.com/articles/22/08/21/apple-finishes-ios-16-development-for-september-release?utm_medium=rss
|
iOS development wrapped up macOS Ventura amp iPadOS coming in OctoberApple has reportedly finished development of its initial public release of iOS for September release ーbut iPadOS and macOS Ventura may wait until October Apple is preparing to hold a special event in September for the launch of the iPhone and iPhone Pro Developing iOS in preparation for the smartphone update s launch Apple has seemingly reached a stopping point for main development of the operating system In his Power On newsletter for Bloomberg Mark Gurman claims development of iOS s initial release version concluded in mid August The completion occurs a few weeks before Apple s rumored event which could occur as early as September Read more |
2022-08-21 15:35:28 |
Apple |
AppleInsider - Frontpage News |
Daily deals August 21: $200 off iPad mini, $300 off Pro Display XDR, $120 off Polk bookshelf speakers, more |
https://appleinsider.com/articles/22/08/21/daily-deals-august-21-200-off-ipad-mini-300-off-pro-display-xdr-120-off-polk-bookshelf-speakers-more?utm_medium=rss
|
Daily deals August off iPad mini off Pro Display XDR off Polk bookshelf speakers moreSunday s best deals include an Apple TV K GB of an M Max Mac Studio for off and a inch Insignia K Smart TV for off Best deals for August Every day AppleInsider searches online retailers to find offers and discounts on items including Apple hardware upgrades smart TVs and accessories We compile the best deals we find into our daily collection which can help our readers save money Read more |
2022-08-21 15:20:43 |
海外TECH |
Engadget |
Tesla is increasing the price of its Full Self-Driving software to $15,000 |
https://www.engadget.com/tesla-full-self-driving-price-increasing-15000-september-5-153606255.html?src=rss
|
Tesla is increasing the price of its Full Self Driving software to For the second time this year Tesla is increasing the price of its Full Self Driving FSD feature On Saturday Elon Musk tweeted that the upfront cost of the driver assistance software would increase to on September th The automaker will honor the current price on orders made before that date but will deliver those vehicles at a later date quot Note you can upgrade your existing car to FSD in mins via the Tesla app quot Musk added He didn t say if Tesla would increase the price of its FSD subscription plans Depending on the current Autopilot capabilities of your Tesla adding the software currently costs as much as per month nbsp nbsp nbsp nbsp nbsp Tesla has consistently increased the price of its Full Self Driving feature over the years When the company first began offering FSD as a separate option from Autopilot it cost consumers to add the software during configuration and post delivery At the start of the year the price of FSD went from from to Elon Musk telegraphed Tesla would increase the price of FSD yet again back in July when he said the software was quot ridiculously cheap quot at and that a price hike would mean the difference between Tesla quot being worth a lot money or worth basically zero quot nbsp After wide release of FSD Beta price of FSD will rise to k in North America on September th Current price will be honored for orders made before Sept th but delivered later ーElon Musk elonmusk August |
2022-08-21 15:36:06 |
ニュース |
ジェトロ ビジネスニュース(通商弘報) |
企業魅力度、エンプロイヤーブランド・リサーチ、インドで働きたい企業はマイクロソフトが首位 |
https://www.jetro.go.jp/biznews/2022/08/8e45bd4206a88a4b.html
|
魅力 |
2022-08-21 15:05:00 |
ニュース |
BBC News - Home |
BTec delays: 'If it was A-levels this would've been sorted quicker' |
https://www.bbc.co.uk/news/education-62624128?at_medium=RSS&at_campaign=KARANGA
|
describe |
2022-08-21 15:20:18 |
ニュース |
BBC News - Home |
Leeds 3-0 Chelsea: Hosts dominate at Elland Road to continue unbeaten start |
https://www.bbc.co.uk/sport/football/62537747?at_medium=RSS&at_campaign=KARANGA
|
elland |
2022-08-21 15:40:46 |
ニュース |
BBC News - Home |
European Aquatics Championships: Jack Laugher and Anthony Harding win gold |
https://www.bbc.co.uk/sport/av/diving/62624586?at_medium=RSS&at_campaign=KARANGA
|
European Aquatics Championships Jack Laugher and Anthony Harding win goldWatch as Great Britain s Jack Laugher and Anthony Harding win gold in the men s synchronised m springboard at the European Aquatics Championships in Rome |
2022-08-21 15:30:25 |
ニュース |
BBC News - Home |
West Ham 0-2 Brighton & Hove Albion: Unbeaten Seagulls win at Hammers |
https://www.bbc.co.uk/sport/football/62537746?at_medium=RSS&at_campaign=KARANGA
|
West Ham Brighton amp Hove Albion Unbeaten Seagulls win at HammersBrighton score two goals with two shots on target to maintain their unbeaten start to the season with victory at pointless West Ham |
2022-08-21 15:24:24 |
北海道 |
北海道新聞 |
舛田(札簾舞)陸上男子100初V 全国中学大会 |
https://www.hokkaido-np.co.jp/article/720366/
|
舛田 |
2022-08-22 00:33:00 |
北海道 |
北海道新聞 |
バイク事故で男性死亡 壮瞥 |
https://www.hokkaido-np.co.jp/article/720364/
|
胆振管内 |
2022-08-22 00:28:00 |
北海道 |
北海道新聞 |
ブライトン三笘、終了間際に出場 イングランド・プレミアリーグ |
https://www.hokkaido-np.co.jp/article/720362/
|
間際 |
2022-08-22 00:20:00 |
北海道 |
北海道新聞 |
日本ハム先制機に打線つながらず(21日) |
https://www.hokkaido-np.co.jp/article/720360/
|
日本ハム |
2022-08-22 00:12:00 |
北海道 |
北海道新聞 |
日本ハム加藤痛い3被弾 選手層の差まざまざと(21日) |
https://www.hokkaido-np.co.jp/article/720358/
|
日本ハム |
2022-08-22 00:11:00 |
IT |
IT号外 |
りそな銀行で作ったクレジットカード、りそなカードの明細詳細、使用履歴をネットで確認する方法。マスターカードやVISAなど |
https://figreen.org/it/%e3%82%8a%e3%81%9d%e3%81%aa%e9%8a%80%e8%a1%8c%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%82%af%e3%83%ac%e3%82%b8%e3%83%83%e3%83%88%e3%82%ab%e3%83%bc%e3%83%89%e3%80%81%e3%82%8a%e3%81%9d%e3%81%aa%e3%82%ab/
|
りそな銀行で作ったクレジットカード、りそなカードの明細詳細、使用履歴をネットで確認する方法。 |
2022-08-21 15:31:59 |
海外TECH |
reddit |
How did everyone do on the JLPT? |
https://www.reddit.com/r/jlpt/comments/wu1xsg/how_did_everyone_do_on_the_jlpt/
|
How did everyone do on the JLPT I barely passed the N but I m very glad nevertheless since it s my first take submitted by u lrmcm to r jlpt link comments |
2022-08-21 15:13:06 |
コメント
コメントを投稿