News for hackers. Stuff that matters.
Re:Show HN: The current sky at your approximate location, as... by ryandrake on Saturday August 09, 2025 @10:07AM (#44846565)
Awesome. 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, latitude, longitude, time of day and so on, which at the time was Preetham[1] ("A Practical Analytic Model for Daylight"), and built a fully realistic sky model for the software. I even added prominent stars based on a hard-coded ephemeris table. It was quite fast, too.

Well, the higher ups of course hated it, they were confused as to why the horizon would get hazy, yellowish, and so on. "Our competitors' skies are blue!" They didn't like "Use your eyes and look outside" as an answer.

Eventually, I was told to scrap it and just draw a blue rectangle :(

All that to say, nice job on the site!

1: https://courses.cs.duke.edu/cps124/fall01/resources/p91-pree...

Re:Show HN: The current sky at your approximate location, as... by darknavi on Saturday August 09, 2025 @11:10AM (#44847132)
A past coworker who worked on Cobalt[1] told me that they spent entirely too much time implementing stars in the sky of the game with some amount of real(ish) star system physics behind them.

I can understand people removing polish things like that if there are usability concerns, but those small things add up to a lot in an end product and are a joy to find and explore.

1: https://en.wikipedia.org/wiki/Cobalt_(video_game)

Re:Show HN: The current sky at your approximate location, as... by pava0 on Saturday August 09, 2025 @03:58PM (#44849604)
Cobalt was a really interesting game, too bad it never got any fame
Re:Show HN: The current sky at your approximate location, as... by dylan604 on Saturday August 09, 2025 @06:30PM (#44850942)
The last thing you want is to receive a message from Neil Degrasse Tyson about how wrong your sky was

https://duckduckgo.com/?t=ffab&q=neil+degrasse+tyson+gives+j...

Re:Show HN: The current sky at your approximate location, as... by edoceo on Saturday August 09, 2025 @10:02PM (#44852202)
And pointed out Jon Stewart's globe spinned backward
Re:Show HN: The current sky at your approximate location, as... by jbverschoor on Saturday August 09, 2025 @12:09PM (#44847659)
Whipping down the innovator with the stupidity whip. Great management
Re:Show HN: The current sky at your approximate location, as... by ryandrake on Saturday August 09, 2025 @01:50PM (#44848550)
A foundational, core theme about making commercial software, that repeats over and over and I slowly got accustomed to is: companies really don't want these kinds of micro-innovations. 90% of companies are just looking at their competitors, making a checklist out of those products, and asking engineers to check the boxes and go home. They don't care about little details, about craftsmanship and polish, about lint warnings, about "oh, that's a nice touch," or even quality beyond "will the customer return the product?" They just want people to poop out software as fast as possible so everyone can get bonuses and drive around on their jetskis on Saturday.

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... by jbverschoor on Saturday August 09, 2025 @03:44PM (#44849491)
But it's exactly the thing that makes software "delightful". It's also a huge boost to the developer's appreciation, motivation, productivity, care for the product.

But yeah, if you only care about checking the feature boxes.. Go ahead, make shit software with miserable people, but be sure to prepare to go out of business.

Re:Show HN: The current sky at your approximate location, as... by philipallstar on Saturday August 09, 2025 @05:04PM (#44850206)
The point is a real skybox is not great for satnav software. It's probably actually worse than a stylised mode, with a predictable colour background for anything that's going to sit on top of it.
Re:Show HN: The current sky at your approximate location, as... by jbverschoor on Sunday August 10, 2025 @03:16PM (#44857494)
That's exactly not the point. Where do you think innovation comes from?

It comes from tinkering.

Re:Show HN: The current sky at your approximate location, as... by philipallstar on Monday August 11, 2025 @01:13PM (#44866747)
It comes from all sorts of different things. Massive capital investment into R&D processes also. Depends on the thing.
Re:Show HN: The current sky at your approximate location, as... by cyberax on Saturday August 09, 2025 @05:59PM (#44850677)
> They don't care about little details, about craftsmanship and polish, about lint warnings, about "oh, that's a nice touch," or even quality beyond "will the customer return the product?"

I worked at large companies, and there are reasons beyond that. I've been on the both sides of this fence.

Senior engineers feel the pain of supporting all these features. You created a new streaming API prototype that provides a gradual response, progressively displaying details of the 3D model? Great. But it's 15000 lines of dense code without a lot of explanation. Who is going to support it once you leave the company? Is it secure? How does it work with kiosk-type browsers? Can you write a formal proposal so we can start the review process?

Oh, I see that you're already leaving the company :(

And that's also why startups are often so much more successful initially. They just don't care about the long-term support and YOLO a lot of functionality.

Re:Show HN: The current sky at your approximate location, as... by jbverschoor on Sunday August 10, 2025 @03:18PM (#44857501)
Sure.. but all there prototypes don't have to be released. It's part of innovation. And maybe you'll even find a new product or a competitive edge.
Re:Show HN: The current sky at your approximate location, as... by woah on Saturday August 09, 2025 @04:27PM (#44849873)
It sounds like the developer spent a lot of time implementing something that nobody wanted. Drawing the sky accurately may be cool, but it wasn't required in this case. It's also not innovation. It's been done before.

This is like if you were renovating your house and the drywall guy spends a huge amount of time building up round corners, but you just wanted regular square corners. Then on some drywall forum they're bitching about how "all clients are stupid" or something.

Re:Show HN: The current sky at your approximate location, as... by alwa on Sunday August 10, 2025 @02:32PM (#44857213)
And, from the sound of it, the developer confused truth with beauty. Sometimes we’d prefer to see the sky the way we wish it were rather than the way it is.

That’s an aesthetic call, not a “who can do the math” call.

“Good news, I accurately simulated the particulate load in the local atmosphere—so now you authentically can’t read the text on a given smoggy winter morning!”

(FWIW, grace for management decisions notwithstanding, I think what gp did is awesome, and would switch on full realism mode every time :)

Re:Show HN: The current sky at your approximate location, as... by ChrisMarshallNY on Saturday August 09, 2025 @06:18PM (#44850838)
I've been in the developer's shoes. I've also been in the manager's shoes.

It's not that simple. There's possibly better ways to deal with it, but for safety-critical stuff (like a navigation display in a vehicle), simple is much, much better. In many cases, there's actually laws and liability stuff involved.

I once spent six months, developing an "un-asked-for" WiFi control app for a digital camera, and had it nuked. It worked much better than the shipping app (which was enjoying a richly-deserved one-star rating in the app store).

The considerations had a lot to do with the corporate Process (note the capital "P"), which I sidelined. I thought I could do better, but the people with the hands on the brake, thought different. I didn't kiss the right rings. That's a very real consideration in any corporation.

As a manager, however, I did go to bat for employees that displayed initiative. In some cases, I was successful. In some cases, not so much.

Re:Show HN: The current sky at your approximate location, as... by hobs on Sunday August 10, 2025 @06:09AM (#44854114)
There's so much decision making in companies that comes down to some dingus in management decided that it would Be Bad On Purpose. Fighting that battle is something you can try a few times in your career if you want, but it usually leads to burnout or a resume generating event.
Re:Show HN: The current sky at your approximate location, as... by idiotsecant on Sunday August 10, 2025 @01:06AM (#44852891)
This is a wildly unprofessional attitude. Programmers are craft(wo)men. They employ their craft toward creating things people pay them to create.

We aren't painting sistine chapels, we are running the plumbing in the sistine chapels basement. The job doesn't exist to give you emotional fulfillment. A mason doesn't insist that a client who needs a warehouse must pay him to spend a week detailing corbelled brick cornices. He makes a CMU wall, in the cheapest and most efficient way that still gets the job done.

It's profoundly disrespectful when we build monuments to our own ego instead of just getting the work done and it speaks to a professional immaturity of the highest order. That was one of the hardest lessons I learned as a fresh engineer and I see so often others that are just learning it. Sometimes people never learn it.

Re:Show HN: The current sky at your approximate location, as... by sgarland on Sunday August 10, 2025 @08:20AM (#44854707)
> We aren't painting sistine chapels, we are running the plumbing in the sistine chapels basement.

Sure, but in plumbing - or any trade - there is a huge spectrum of quality of work. Tons of little details add up that confer the person’s skill level to anyone checking it out in the future.

> It's profoundly disrespectful when we build monuments to our own ego instead of just getting the work done and it speaks to a professional immaturity of the highest order.

When I insist that something must be done a certain way, it’s not for my ego, it’s because I know that a year from now, I will be called upon to fix it during an incident if I don’t do it right this time. I am so absolutely sick of hacky bandaids being thrown on the ever-increasing pile of tech debt. To me, it’s profoundly disrespectful when product tells engineering that yet again, they will not yield time to fix the backlog, and to ship New Feature X.

Re:Show HN: The current sky at your approximate location, as... by zarzavat on Saturday August 09, 2025 @11:47AM (#44847427)
You should have added a duck.
Re:Show HN: The current sky at your approximate location, as... by otikik on Saturday August 09, 2025 @02:01PM (#44848630)
I understood that reference
Re:Show HN: The current sky at your approximate location, as... by netsharc on Saturday August 09, 2025 @10:40AM (#44846850)
Not even as an easter egg?

You could've sold it with telling them Vincent Van Gogh's paintings had the location of stars accurately, you were inspired by those paintings to reproduce the sky color accurately.

Re:Show HN: The current sky at your approximate location, as... by j_bum on Saturday August 09, 2025 @10:11AM (#44846597)
Fun (but not fun) story :)
Re:Show HN: The current sky at your approximate location, as... by teaearlgraycold on Saturday August 09, 2025 @01:35PM (#44848429)
To be honest I don’t think anyone wants that kind of functionality - maybe in the satellite view but not in the vector map.
Re:Show HN: The current sky at your approximate location, as... by marcosdumay on Saturday August 09, 2025 @03:26PM (#44849355)
Yep, if you have to draw the Sun, you better draw it yellow. If you have to draw a cloudless day sky, you better draw it blue.

That doesn't apply to every single instance of those, but if the sky isn't the focus of your application, a realistic one is just a distraction.

Re:Show HN: The current sky at your approximate location, as... by dylan604 on Saturday August 09, 2025 @06:34PM (#44850971)
> Yep, if you have to draw the Sun, you better draw it yellow.

This one always gets me in how dirty the sky must have been "back in the day" in order for people to see a yellow sun. I've never looked into what gas would be needed to make the sun look yellow, but it must have been hell to breathe.

Re:Show HN: The current sky at your approximate location, as... by withinboredom on Sunday August 10, 2025 @04:27AM (#44853705)
The walls were black for a reason in big cities. All those chimneys and coal everywhere.
Re:Show HN: The current sky at your approximate location, as... by card_zero on Sunday August 10, 2025 @08:57AM (#44854876)
Nah, the ancient Egyptians, and other cultures, depicted the sun a lot, and never made it white. Red, quite often, gold, very frequently - warm colors. If you paint a white sun people say it's the moon.
Re:Show HN: The current sky at your approximate location, as... by benrutter on Saturday August 09, 2025 @03:30PM (#44849393)
Ironically, I'm in the South of England wih clear blue sky, and the site thinks I have a much darker and beautiful reddish sunset. Im fairness, it's probably only out by an hour if that.
Re:Show HN: The current sky at your approximate location, as... by thebruce87m on Sunday August 10, 2025 @11:22AM (#44855812)
Maybe it is out by an hour due to BST.
Re:Show HN: The current sky at your approximate location, as... by Waterluvian on Saturday August 09, 2025 @04:04PM (#44849653)
I’ve had similar issues at work where people really overdo something and it’s difficult. On one hand you never want to kill that joy and passion someone has. That’s a great characteristic. But projects have scopes and too often instructions like “just draw a blue rectangle” get ignored.
Re:Show HN: The current sky at your approximate location, as... by ryandrake on Saturday August 09, 2025 @04:44PM (#44850023)
Totally. It was a harsh but needed lesson on the realities of getting work done in a commercial environment.
Re:Show HN: The current sky at your approximate location, as... by crazygringo on Saturday August 09, 2025 @04:05PM (#44849669)
This is why specifications are important, and why design is important.

The reality is that we have certain conventions that are immediately understandable, and that too much visual complexity results in confusion rather than clarity.

If the sky is hazy white when I expect it to be blue, I'm confused as to whether it's the sky or if the map is still loading. It's adding cognitive complexity for no reason. Stars similarly serve no functional purpose at night.

What you built sounds great for an actual planetary view like Google Earth. And it sounds fun to build. But it's an anti-feature for a navigation view. When you're navigating, simplicity and clarity are paramount. Not realism.

Re:Show HN: The current sky at your approximate location, as... by johnfn on Saturday August 09, 2025 @05:12PM (#44850288)
Oh come now. You are being no fun.
Re:Show HN: The current sky at your approximate location, as... by dylan604 on Saturday August 09, 2025 @06:20PM (#44850860)
> This is why specifications are important, and why design is important.

Also the phrase "know your audience". No sense in casting pearls before the swine.

Re:Show HN: The current sky at your approximate location, as... by resonious on Saturday August 09, 2025 @06:29PM (#44850925)
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").

Re:Show HN: The current sky at your approximate location, as... by dylan604 on Saturday August 09, 2025 @06:32PM (#44850951)
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... by resonious on Saturday August 09, 2025 @09:19PM (#44851976)
I suppose this is the lesson OP learned!
Re:Show HN: The current sky at your approximate location, as... by edoceo on Saturday August 09, 2025 @10:01PM (#44852192)
I wish more people knew it. So many times frustration of the system is directed at devs. They couldn't figure out X? Why is Z feature so shit? Etc.

That's a management thumbprint on the deliverable.

Re:Show HN: The current sky at your approximate location, as... by Mentlo on Friday August 15, 2025 @04:13AM (#44909797)
This is a valid hypothesis, and had this software been something you could update in the background, a valid experiment to run and see whether users like it.

But when it's embedded software on physical devices where the business will have to incur cost in order to ship and hit those users, I can absolutely see why management would do the same thing as what all of the competitors are doing.

Re:Show HN: The current sky at your approximate location, as... by wkjagt on Sunday August 10, 2025 @09:00AM (#44854898)
Also, any fanciness you add in your product is something you need to then maintain. Even after the developer that built it leaves the company.
Re:Show HN: The current sky at your approximate location, as... by carlosjobim on Sunday August 10, 2025 @04:09PM (#44857910)
It takes thousands of years for the stars to have changed positions in a noticeable way, and my best guess is that the customers will not use their car GPS for so long that this will bother them.
Re:Show HN: The current sky at your approximate location, as... by crazygringo on Sunday August 10, 2025 @04:43PM (#44858127)
Very funny, but in case you're serious, it's not the stars changing...

...it's the software frameworks. A new screen size. A different color depth. A bug when the graphics library is upgraded for antialiasing. Etc.

Re:Show HN: The current sky at your approximate location, as... by carlosjobim on Sunday August 10, 2025 @05:29PM (#44858469)
That's not going to be an issue with devices already sold. And if developers of future devices can't handle it they should probably be fired from their job.
Re:Show HN: The current sky at your approximate location, as... by crazygringo on Sunday August 10, 2025 @08:32PM (#44859709)
It's not a question of whether future developers can "handle" it. It's a question of whether the additional time required to maintain it is worth the cost. Maintenance isn't free. It takes time, and every little bit adds up.

Also, devices already sold often get updates, so it's not even just about future devices.

Re:Show HN: The current sky at your approximate location, as... by bravesoul2 on Saturday August 09, 2025 @06:42PM (#44851029)
The thing here is programming the job can be much more dull than programming the hobby. Occasionally (twice a decade) there can be a collision where you get to do something really cool like that at work. The higher ups want a realistic sky because their market research said it'll boost an OKR by 10 basis points. And then you are in luck!

That said there are niches where jobs let you do cool stuff all the time. Hard to find. Probably why gaming jobs are notoriously underpaid and overworked.

Re:Show HN: The current sky at your approximate location, as... by maddmann on Sunday August 10, 2025 @09:40AM (#44855130)
Haha it sounds you applied the opposite of the YAGNI principle building this.
Re:Show HN: The current sky at your approximate location, as... by GuardianCaveman on Sunday August 10, 2025 @12:23PM (#44856230)
I identify so much with your sentiment and this type of overthinking overbuilding .
Re:Show HN: The current sky at your approximate location, as... by nkrisc on Sunday August 10, 2025 @02:34PM (#44857225)
That sounds really cool but I have to reluctantly agree with the senior: a cartoonish day/night sky is better than a half-implemented realistic one. I say “half-implemented” because it sounds as though yours didn’t account for local weather and cloud cover, which is reasonable but then incomplete. Even if you did, well, it’s turn-by-turn navigation. I expect the sky color to be selected for ideal contrast with the important UI elements to reduce the time spent looking at it while driving.