Earlier quoted context omitted.
is that something that could have be done in the dot file for server override? what was it, .htaccess or something?
Sure, if you wanted to deal with configuring Apache. Or getting your hosting provider to do that. If you knew to ask, and didn't mind waiting, and your hosting provider knew how...and was willing to do it, a condition I forgot to add in my last comment here, but which applies equally there. (User-provided .htaccess files were the source of a number of relatively high-profile early CVEs, as I recall. Apache grew a num…
Show HN: The current sky at your approximate location, as a CSS gradient
111–120 of 171 posts
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#112Re: Show HN: The current sky at your approximate location, as a CSS gradient
#113Earlier quoted context omitted.
Sure, if you wanted to deal with configuring Apache. Or getting your hosting provider to do that. If you knew to ask, and didn't mind waiting, and your hosting provider knew how...and was willing to do it, a condition I forgot to add in my last comment here, but which applies equally there. (User-provided .htaccess files were the source of a number of relatively high-profile early CVEs, as I recall. Apache grew a num…
but that was the point of the dot file to allow vhosts to change the default server settings without needing access to the root config. maybe they weren't designed specifically for vhosts, but that was my main use of them.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#114Earlier quoted context omitted.
Not sure what you are on about. Adding an HTTP header to a request is one of the easiest things to do.
I think you are the one who doesn't know what they are on about. First, the header must be added to the response, not the request. Second, in many environments (managed hosting etc.) there is not an easy way (or indeed a way at all) of adding headers to responses.
It's getting better. Most serverless hosts (including Cloudflare, which this site uses) follow the (req: Request) => Response pattern, which by definition allows sending headers.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#115Earlier quoted context omitted.
but that was the point of the dot file to allow vhosts to change the default server settings without needing access to the root config. maybe they weren't designed specifically for vhosts, but that was my main use of them.
Yes. If the main Apache config was set up to allow it to read a dotfile, and if configured not to ignore the options you wanted to use, that is what the dotfile did. That's why, if you wanted an option easily portable across hosting providers, you used the meta tag instead. Which is my point, and my only point, and not really up for debate by some pettifogging rando with nothing better to fill a Saturday night.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#116Ooh, how about this as a live desktop wallpaper!
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#117Earlier quoted context omitted.
Yes. If the main Apache config was set up to allow it to read a dotfile, and if configured not to ignore the options you wanted to use, that is what the dotfile did. That's why, if you wanted an option easily portable across hosting providers, you used the meta tag instead. Which is my point, and my only point, and not really up for debate by some pettifogging rando with nothing better to fill a Saturday night.
Wtf, seriously. I was just asking. Sorry if that resulted in me pissing in your cheerios. Just because a question was asked doesn’t mean it was challenging your knowledge. I was just asking to clarify based on personal experience. If you don’t have time for questions or feel personally slighted that someone would have the gall to question the written word of the almighty throwanem, then posting on the internet is pro…
I realize you're probably not accustomed to being called on your lousy behavior. I doubt you will need to become so. But just for once, here we are. You don't bother to find out what you're talking about before you speak and then you want your hand held on points that were already clarified, had you but bothered to catch up. I don't tolerate that in candidates, I won't tolerate it in colleagues, and I see no very pressing reason to tolerate it here.
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#118One issue with the current code is it doesn’t model clouds, haze, or smoke so the rendered sky can differ from what you see outside (numerous HN comments notice this). You can partially correct for this by using semi-realtime satellite imaging but hard to get super accurate which is what pushed us to develop our own sensor. There are various CCT sensors on the market already but they only measure directional+diffuse+reflected light which is typically ~7500k but the sky color goes up to 40,000k.
Here is a plot showing the color of the sky as it changes during the day from real sensor readings. Each one is 30s apart, so it change change quickly. https://www.innerscene.com/built_pages/cs_specsheet/cct/cct_...
A bit more info as well: https://www.innerscene.com/SpecHelp/CircadianSky/cct/cct.htm...
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#119Earlier quoted context omitted.
Though sometimes the higher ups might not be the same as (or understand) the actual audience. In this case the higher ups may have been confused due to, say, looking at the app while indoors (and from the perspective of "let's judge this developer's work"), while the actual users would see it in a vehicle alongside the real sky (and from the perspective of "let's see how easy this is to match up with reality").
Ah, I see the confusion. You think the users are the dev's audience! /s
Re: Show HN: The current sky at your approximate location, as a CSS gradient
#120Earlier quoted context omitted.
Ah, I see the confusion. You think the users are the dev's audience! /s
I suppose this is the lesson OP learned!
That's a management thumbprint on the deliverable.