Skip to content

JMPerez/til

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

This repo helps me keeping track of some resources I read so I can find them afterwards. Also it gives me a feeling of accomplishment.

2018-11-17

2018-11-16

  • I started compiling a list of web performance experts on Twitter. I'm not very good at organising my Twitter though I thought it could be useful for me when I'm in the mood of reading about webperf news or for some other Twitter users to find about relevant people in this field.
  • I didn't know about workbox, watched Workbox: Flexible PWA Libraries and thought something like Pinterest's service worker made a lot of sense for Spotify's web player. We release several times a day, which makes us invalidate large CSS and JS bundles. What if we could serve a stale version with a shell, JS and CSS assets served from the service worker cache? That way users would get an immediate experience every time they land on the web player. Also, I love how Workbox makes it easy to set an expiration date on the assets and you don't need to track this. Also, it allows to precache a set of assets so we wouldn't run into inconsistency issues if we were to do bundle splitting and cache JS and CSS as they are requested.

2018-11-14

  • I read Harry Roberts' "Identifying, Auditing, and Discussing Third Parties" and I did a quick check on Spotify's web player to find out how 3rd party scripts might be affecting it. Given that we are dealing with a SPA that is not server-side rendered, every 3rd party request dispatched early in the waterfall is competing with other critical assets like JS, CSS and calls to REST APIs. A possible workaround is delaying these 3rd party scripts and running them when the web app is bootstrapped.

2018-11-13

  • Firefox will support webp very soon. There is a way to enable it already on Nightly (see tweet).

2018-11-12

Light and Dark modes

Only supported on Safari Technology Preview for now.

2018-11-02

2018-10-26

2018-10-25

  • I started watching the live streaming of React Conf. Didn't get to watch the whole thing and today when I tried to continue watching it I got an "This video contains content from WebTVAsia (Music), who has blocked it on copyright grounds." error. The few things I saw were really good. I like the idea of hooks to encapsulate the logic that today gets spread across the different lifecycle methods. Also, when I grow up I want to be like Dan Abramov. I admire how he explains every hairy concept in such a way that everyone can understand, and he is always supportive solving questions from the community.
  • I hacked a bit on Spotify Dedup adding a few tests. The Spotify Web API is a good piece of technology but when you make thousands of requests against it chances are that you run into some issues. A request will fail now and then, the user connectivity might get lost (especially true for a potential long task like fetching all your songs from your library), so a good retry and recover mechanism is needed. I plan to make changes to it whenever I have some time.

2018-10-23

  • I read Hard Costs of Third-Party Scripts and the resources linked from that post on CSS Tricks. It always feels good when developers flag the issues with third-party scripts. Unfortunately it's difficult to convince other parts of the organization aboy why this should be in the radar.
  • I listened Episode 21: Web Infrastructure at Spotify with Jason Palmer. As a web developer working at Spotify I'm so grateful of the work that the Web Infra team is doing. It shows how to establish recommendations and sensible defaults supported by the infra team, without strong enforcement. This is the best thing I have ever seen happening for web development at Spotify.

2018-10-22

  • I'm cleaning up my laptop. I didn't want to delete some videos about web performance experiments and explorations so I decided to upload them to Youtube. A few short videos related with some posts I have written. Someone might find them interesting. Also, it's surprising the amount of stuff I can accumulate on a computer I have used for 3 years.
  • While cleaning I found an immplementation of a React-like library called bloop (see the code here). I went through the post 3.5 years ago as I was trying to learn more about how React worked. Libraries like these never get old.

2018-10-21

  • Finished reading "It doesn't have to be crazy at work". I'm an awful reader. This might be the first book I finished in 14 years.
  • Read Smashing Magazine's Monthly Web Development Update. I learned about the text-only versions of CNN's (why doesn't http://lite.cnn.io/es work?) and NPR's websites thanks to this post. Ended up in love with Max Böck's site which is super fast and very well designed. Noticed his integration with Web Mentions and tried to implement on my blog, only to find out that the Twitter integration with IndieAuth doesn't work "Twitter login no longer works due to a change on their website".
  • Read about MDN's Layout cookbook with some flexbox and grid-based solutions for usual layouts.
  • Started putting together some ideas about right-to-left support on websites. Drafted an outline for a post and when looking for resources I found out lots of interesting specifications for topics like hyphenation, cursives, bold, punctuation, uppercase and more on International text layout and typography index and Arabic & Persian Gap Analysis. It's not directly related with RTL but it's still interesting to keep in mind when supporting those languages.

About

Things I learned today

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published