Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Nolan (nolan@toot.cafe), page 24

  1. Nolan (nolan@toot.cafe)'s status on Tuesday, 13-Nov-2018 11:44:50 EST Nolan Nolan
    • SpookyWorks

    @SpankyWorks The only reason I write Bash is when I forget it's easier to just use Python. 😛

    In conversation Tuesday, 13-Nov-2018 11:44:50 EST from toot.cafe permalink
  2. Nolan (nolan@toot.cafe)'s status on Tuesday, 13-Nov-2018 10:03:51 EST Nolan Nolan
    • codesections

    @codesections Basically in Pinafore I use LocalStorage only for small UI stuff like the current theme, the current instance, and UI preferences. IDB is used for offline storage of toots and profiles, which can be a bit larger than the LocalStorage limit and don't need to be accessed synchronously. Cache Storage is just for Service Worker-cached static assets.

    In conversation Tuesday, 13-Nov-2018 10:03:51 EST from toot.cafe permalink
  3. Nolan (nolan@toot.cafe)'s status on Tuesday, 13-Nov-2018 10:02:24 EST Nolan Nolan
    • codesections

    @codesections

    LocalStorage: Small, synchronous storage that isn't available in Web Workers or Service Workers. It's read into memory on page nav and limited to 5-10MB, so keep it for small stuff. Sync access means you can update it on page unload, though.

    Cache Storage: good for content-addressable stuff (i.e. assets like JS, CSS, and HTML). Use in a Service Worker.

    IDB: everything else. Large data, asynchronously accessed, agnostic to whether it's accessed on main thread or in a worker.

    In conversation Tuesday, 13-Nov-2018 10:02:24 EST from toot.cafe permalink
  4. Nolan (nolan@toot.cafe)'s status on Tuesday, 13-Nov-2018 09:57:32 EST Nolan Nolan

    It seems Mastodon 2.6 changed how DMs work – they no longer show up in the Home timeline. Had to rewrite some of Pinafore's test suite to accommodate this. 😅 https://github.com/nolanlawson/pinafore/pull/630

    I suppose it's incumbent upon apps to provide their own separate UI for DMs now. Overall though it seems like a good UI change. 👍

    In conversation Tuesday, 13-Nov-2018 09:57:32 EST from toot.cafe permalink
  5. Nolan (nolan@toot.cafe)'s status on Tuesday, 13-Nov-2018 09:54:00 EST Nolan Nolan

    "Finding Our Digital Identities: A History of Social Media" by Jay Hoffmann https://thehistoryoftheweb.com/finding-our-digital-identities-a-history-of-social-media/

    Interesting stuff. I wasn't aware of AsianAve or BlackPlanet. I never had a MySpace, but I remember how it seemed to spring up out of nowhere among my high-school friends. It's weird how so many of these things seem obvious in retrospect, even if at the time nobody knew how big "social media" would become.

    In conversation Tuesday, 13-Nov-2018 09:54:00 EST from toot.cafe permalink
  6. Neil Alexander (neilalexander@mastodon.social)'s status on Monday, 12-Nov-2018 13:27:31 EST Neil Alexander Neil Alexander

    Using the modern web doesn't feel empowering. It feels immensely frustrating.

    The web is barely usable without ad-blocking. Pages take an age to load and the content jumps around as more ads download and display. Also the ads are spying on you.

    The entire JS ecosystem is dependency hell and sometimes you have to download massive JS files just to view a web page. The JS is probably also spying on you.

    Worse still, JS is also probably why the Back button doesn't work properly on so many sites.

    In conversation Monday, 12-Nov-2018 13:27:31 EST from mastodon.social permalink Repeated by nolan
  7. Nolan (nolan@toot.cafe)'s status on Monday, 12-Nov-2018 17:19:44 EST Nolan Nolan

    HTTP-over-QUIC will become HTTP/3 https://daniel.haxx.se/blog/2018/11/11/http-3/

    In conversation Monday, 12-Nov-2018 17:19:44 EST from toot.cafe permalink

    Attachments

    1. Invalid filename.
      HTTP/3
      By Daniel Stenberg from daniel.haxx.se
      HTTP/3
  8. Nolan (nolan@toot.cafe)'s status on Sunday, 11-Nov-2018 16:45:19 EST Nolan Nolan
    • Steve "so many ☕️"
    • David Chartier

    @chartier @sivy If there are security fixes I usually drop everything and do those. :)

    In conversation Sunday, 11-Nov-2018 16:45:19 EST from toot.cafe permalink
  9. Nolan (nolan@toot.cafe)'s status on Sunday, 11-Nov-2018 16:44:34 EST Nolan Nolan
    • Steve "so many ☕️"
    • Peter O'Shaughnessy
    • David Chartier

    @peter @sivy @chartier Yup, I do too. :)

    In conversation Sunday, 11-Nov-2018 16:44:34 EST from toot.cafe permalink
  10. Nolan (nolan@toot.cafe)'s status on Saturday, 10-Nov-2018 17:05:48 EST Nolan Nolan

    The discussion is actually very interesting. Apparently the theoretical performance benefits of HTML Imports never really manifested in practice, either due to the one implementer (Chrome) not spending a lot of time optimizing, or lack of web developer usage, or both.

    Given hacks like https://jakearchibald.com/2016/fun-hacks-faster-content/ actually being used in production in AMP, it actually does seem like there's a case for something like HTML Imports, but at the standardization level it just sort of fizzled out.

    In conversation Saturday, 10-Nov-2018 17:05:48 EST from toot.cafe permalink

    Attachments

    1. Invalid filename.
      Fun hacks for faster content
      Using iframes and document.write to improve performance of content loading.
  11. Nolan (nolan@toot.cafe)'s status on Saturday, 10-Nov-2018 17:03:49 EST Nolan Nolan

    Chrome is going to remove HTML Imports in v73: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/h-JwMiPUnuU/sl79aLoLBQAJ

    In conversation Saturday, 10-Nov-2018 17:03:49 EST from toot.cafe permalink
  12. Nolan (nolan@toot.cafe)'s status on Saturday, 10-Nov-2018 16:58:35 EST Nolan Nolan
    • Steve "so many ☕️"
    • David Chartier

    @sivy @chartier Updated to 2.6.1 now 👍

    In conversation Saturday, 10-Nov-2018 16:58:35 EST from toot.cafe permalink
  13. Peter O'Shaughnessy (peter@toot.cafe)'s status on Saturday, 10-Nov-2018 08:00:12 EST Peter O'Shaughnessy Peter O'Shaughnessy

    I just published: "Why Mastodon is defying the 'critical mass'" https://medium.com/@poshaughnessy/why-mastodon-is-defying-the-critical-mass-de3454109099

    In conversation Saturday, 10-Nov-2018 08:00:12 EST from toot.cafe permalink Repeated by nolan

    Attachments

    1. Invalid filename.
      Why Mastodon is defying the “critical mass” – Peter O'Shaughnessy – Medium
      from Medium
      It’s a mistake to judge The Fediverse as though it’s a Valley startup
  14. Nolan (nolan@toot.cafe)'s status on Saturday, 10-Nov-2018 14:32:44 EST Nolan Nolan
    • Steve "so many ☕️"
    • David Chartier

    @sivy @chartier Basically, yes. :) Also I am extremely cautious, as I've been burned by hopping too soon onto the latest Mastodon release in the past.

    In conversation Saturday, 10-Nov-2018 14:32:44 EST from toot.cafe permalink
  15. Peter O'Shaughnessy (peter@toot.cafe)'s status on Wednesday, 07-Nov-2018 07:12:43 EST Peter O'Shaughnessy Peter O'Shaughnessy

    "Network was the critical performance bottleneck 10 years, but today it’s CPU, especially given the amount of mobile traffic on lesser-powered devices... As pages get slower, JS is the CPU task that grows the most." - Steve Souders https://discuss.httparchive.org/t/cpu-time-breakdown/1510

    In conversation Wednesday, 07-Nov-2018 07:12:43 EST from toot.cafe permalink Repeated by nolan

    Attachments

    1. Invalid filename.
      CPU time breakdown
      from Discuss - HTTP Archive
      Network was the critical performance bottleneck 10 years, but today it’s CPU, especially given the amount of mobile traffic on lesser-powered devices. WebPageTest has awesome CPU data so I created some pie charts. Here’s the query for medians on desktop: SELECT count(*) as numsites, APPROX_QUANTILES( CAST( IFNULL(JSON_EXTRACT(payload, "$['_cpu.BlinkGC.AtomicPhase']"),'0') as INT64), 1001)[SAFE_ORDINAL(501)] AS BlinkGC_AtomicPhase, APPROX_QUANTILES( CAST( IFNULL(JSON_EXTRACT(payload, "$['_cpu.C...
  16. Nolan (nolan@toot.cafe)'s status on Friday, 02-Nov-2018 15:50:53 EDT Nolan Nolan

    "WebRender newsletter #28" – Mozilla Gfx Team Blog https://mozillagfx.wordpress.com/2018/11/02/webrender-newsletter-28/

    At first I thought WebRender was basically the same as Edge's independent rendering (i.e moving rendering to a background thread), but based on this post it seems a lot more ambitious actually. Interesting stuff, and kudos to the Firefox folks for opening up on their thought process.

    In conversation Friday, 02-Nov-2018 15:50:53 EDT from toot.cafe permalink
  17. Nolan (nolan@toot.cafe)'s status on Tuesday, 30-Oct-2018 21:39:23 EDT Nolan Nolan

    "Case study: analyzing the Walmart site performance" by Ivan Akulov https://iamakulov.com/notes/walmart/

    Great analysis. Don't take the advice of using LocalStorage to store JS files, though. If you do, you'll increase the memory cost (most browsers cache LS in-memory), the load time (most browsers load LS on page navigation), and you'll lose the benefits of parse/bytecode caching that browsers do by default (i.e. JS files don't re-parse/re-compile on subsequent page loads).

    In conversation Tuesday, 30-Oct-2018 21:39:23 EDT from toot.cafe permalink
  18. Nolan (nolan@toot.cafe)'s status on Tuesday, 30-Oct-2018 19:47:28 EDT Nolan Nolan

    I went with a single-page app architecture for Pinafore for very particular reasons: 1) to avoid handling personal data on the server, 2) to make it work offline, and 3) to challenge myself. :) But overall, building a quality SPA is *way* harder than building a quality multi-page app. I have an experts-level knowledge in JS/the DOM, but Pinafore was still very difficult to get a lot of basic things right, and there are still some dumb bugs that are hard to squash (back button on the modal… ugh).

    In conversation Tuesday, 30-Oct-2018 19:47:28 EDT from toot.cafe permalink
  19. Nolan (nolan@toot.cafe)'s status on Tuesday, 30-Oct-2018 19:39:31 EDT Nolan Nolan

    "Create your own dysfunctional single-page app in five easy steps" by Jim Newbery https://tinnedfruit.com/articles/create-your-own-dysfunctional-single-page-app.html

    There really aren't enough people questioning the use of single-page apps.

    In conversation Tuesday, 30-Oct-2018 19:39:31 EDT from toot.cafe permalink
  20. Eugen (gargron@mastodon.social)'s status on Saturday, 13-Oct-2018 23:34:26 EDT Eugen Eugen

    Mastodon's 2 Year Anniversary: A retrospective

    https://blog.joinmastodon.org/2018/10/mastodons-2-year-anniversary/

    In conversation Saturday, 13-Oct-2018 23:34:26 EDT from mastodon.social permalink Repeated by nolan

    Attachments

    1. File without filename could not get a thumbnail source.
      Mastodon's 2 Year Anniversary
      Mastodon was first announced to the public through Hacker News, a link aggregator site for programmers, on October 6, 2016. Now we’re celebrating the 2 year anniversary! 🎉
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.