u/technically_sound - 2 Archived Voat Posts in v/programming
u/technically_sound
  • home
  • search

u/technically_sound

0 posts · 2 comments · 2 total

Active in: v/programming (2)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Is it a bad idea to use AJAX to emulate a WebSocket?

Websocket fallback is long polling but it's not efficient. Especially if it's polling every 1 or 3 seconds, but it does work in a pinch. Web sockets can be a pain to get working correctly, depending on your stack. Try to be polite about the length of polling, especially if users are on their mobile phone. Maybe detect if it's mobile and/or not wifi then lengthen the time for ajax polling.

0 29 Nov 2016 19:16 u/technically_sound in v/programming
Comment on: Position any background image with offsets in all corners

calc is pretty sweet! CSS is slowing turning into a programming language. Check out the CSS grid, it's very mathy.

0 29 Nov 2016 19:13 u/technically_sound in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.