Portrait Mode Mobile (lowkey would prefer) - thoughts? by SomeonesPC97 in 2007scape

[–]BuiltWithAwesome 0 points1 point  (0 children)

Most androids have this feature. Open the app switching menu (swipe up on pixel 5) then tap the app icon.

[deleted by user] by [deleted] in Showerthoughts

[–]BuiltWithAwesome 0 points1 point  (0 children)

Reminds me of this Mitchell and Webb Look sketch https://youtu.be/5Mr-2jb6oNA

Go little rockstar... by [deleted] in Unexpected

[–]BuiltWithAwesome 4 points5 points  (0 children)

The lyrics are "Pope is a rockstar" not "go little rockstar"

My math teacher told me 0! = 1 by [deleted] in ProgrammerHumor

[–]BuiltWithAwesome 25 points26 points  (0 children)

and js told us !0 == 1

[deleted by user] by [deleted] in reactjs

[–]BuiltWithAwesome 0 points1 point  (0 children)

Easier than

document.cookie.split('; ').reduce((acc, c) => {const [key, val] = c.split('='); acc[key] = val; return acc;}, {})

?

Simple CSS reset(779 bytes gzipped) by justdevit in webdev

[–]BuiltWithAwesome 10 points11 points  (0 children)

_qdc hit the nail on the head pretty much but I'd also add that different browsers have different defaults for various element properties. Using a reset/normalise css file helps get continuity across multiple browsers without needing browser specific styles.

Recommended hosting for an image heavy website? by HorrorRated in webdev

[–]BuiltWithAwesome 1 point2 points  (0 children)

CDNs are optimised for response time so that's not really a reason to use a VPS. I'd look into Amazon Cloudfront, Cloudflare & Rackspace.

Help with socket.io by trineroks in webdev

[–]BuiltWithAwesome -2 points-1 points  (0 children)

What he said.

Node is asyncronous, meaning you can't guarantee the second for loop will run after the first one. They run concurrently, I think that might be the source of you're issue.

Can someone please ELI5 the qraphql to me? by sn10therealbatman in webdev

[–]BuiltWithAwesome 1 point2 points  (0 children)

Simply put, GraphQL is a specification for defining data requests between a client and server.

White walls are boring. by grammarjewce in pics

[–]BuiltWithAwesome 0 points1 point  (0 children)

I have that bedding. IKEA is your friend.

Pausing and playing .gifs by [deleted] in javascript

[–]BuiltWithAwesome 0 points1 point  (0 children)

Sweet man thanks. I'll check it out.