> the little-known meta http-equiv="Refresh" HTML tag Oh, don't mind me, I'll just be over here in the corner laughing ruefully as my bones crumble to dust: back when I started, if you wanted a page to refresh on its own, this was the only way. Beautiful work! A splendid example of formal minimalism at its best.
Of course, the "http-equiv" means that this tag is supposed to stand in for an equivalent HTTP header, so you could accomplish the same by sending a "Refresh: 60" header :)
Show HN: The current sky at your approximate location, as a CSS gradient
51–60 of 171 posts
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#52Re: Show HN: The current sky at your approximate location, as a CSS gradient
#53Awesome. I remember much earlier in my career I was working on a 3D turn-by-turn navigation software, and one of my tasks was to draw the sky in the background. The more senior guy on the team said, just draw a blue rectangle during the day and a dark gray one at night and call it job done. Of course, I had to do it the hard way, so I looked up the relevant literature on sky rendering based on the environment, latitu…
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#54Re: Show HN: The current sky at your approximate location, as a CSS gradient
#55Re: Show HN: The current sky at your approximate location, as a CSS gradient
#56Author of Suncalc here — this is exactly the kind of stuff I love to see my code being used in, thanks for sharing!
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#57@dlazaro, I believe that style={{backgroundColor: bottom}} is not needed in: is not needed.
I actually included that so the tab and status bars are themed on iOS/Safari. Here's someone else's writeup on that: https://medium.com/@evkirkiles/coloring-the-webkit-browser-b...
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#58Awesome. I remember much earlier in my career I was working on a 3D turn-by-turn navigation software, and one of my tasks was to draw the sky in the background. The more senior guy on the team said, just draw a blue rectangle during the day and a dark gray one at night and call it job done. Of course, I had to do it the hard way, so I looked up the relevant literature on sky rendering based on the environment, latitu…
Whipping down the innovator with the stupidity whip. Great management
If you're the kind of developer who likes to "sand and finish the back side of the cabinet," either you need to find a very rare, special company, or do it at home as a hobby.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#59Awesome. I remember much earlier in my career I was working on a 3D turn-by-turn navigation software, and one of my tasks was to draw the sky in the background. The more senior guy on the team said, just draw a blue rectangle during the day and a dark gray one at night and call it job done. Of course, I had to do it the hard way, so I looked up the relevant literature on sky rendering based on the environment, latitu…
You should have added a duck.