Hacker News new | past | comments | ask | show | jobs | submit | NCG_Mike's comments login

Right On Commander!


Get your iron ass over to Errius.


I assume they had a scaled up integer sin and tan tables and used matrices for scale, rotation and projection?

I do remember seeing this in 68K.


There are tables for sin, cos and arctan, but these are only used for drawing the planet’s circles. All the ship-drawing and universe manipulation is done using the small angle approximation, so there’s no need for lookup tables.

Lots more info here:

https://www.bbcelite.com/explore/articles/deep_dive_pitching...


I'd suggest that someone who thinks that UTs are over-rated are over-rating their ability. I'd also suggest that those people are the exact people that should have extra testing done on their code.


Good. The NHS has a terrible history of software development.


Leaving the app to one side, NHS Digital has been doing good stuff for the last couple of years: https://digital.nhs.uk/


They do, and there were good people working on this.

That said, my suspicion is that they have good track records of working with open web stacks, and were somewhat less familiar with the realities of working with closed app platforms that relate to hardware integration, and that's where they came unstuck.


Which is why this government is keen to gut it and outsource it all to the likes of Babylon.


The NHS aren't developing it, it's developed by a private company.

If you mean that private companies developing for the public sector in shady deals have a terrible history, I'd agree.


I had it too ;-)


A couple of things a C++ developer can do is to put template instantiation code into a .cpp file, where possible.

"#pragma once" in the header files helps as does using a pre-compiled header file.

Obviously, removing header files that aren't needed makes a difference too.


`pragma once` doesn't do anything that a well-written header guard does.


Ta.


I remember Dr Dobbs, way back when, having an article on the search algorithm. I think they had C code for it.

I did a version in 68K on the Mac (MPW Shell days) for a SGML editor I was working on.


If you hit shift+run stop at the end of the command it'd load and run.


Wow. Going back a long time. I was in the MPW Shell camp but did use ThinkC With Objects and it was so much faster than the C compiler in MPW.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: