|
I wasn't aware of this option. Thanks a lot - I will try it out.
|
|
|
|
|
Member 7989122 wrote: You could e.g. watch an animation of any solar eclipse, as it would appear from any place on earth. You could plot the trajectories of any of the planets across the sky. You could generate caldendars containing exact times for any astronomical event for each day, such as sunrise/sunset, equinoxes, eclipses, and lots more.
Much, if not all, of that stuff can be done by the desktop version of Stellarium. Play with it!
Here's a script I developed to look for solar eclipses, to get you started with scripting if you want. In Stellarium, press F12 and copy the following code. Turn the ground off, as well as switch to azimuthal viewing and disable the atmosphere for best experience. (I could have scripted those actions as well, but didn't.) This will spit out dates in the Log View of the F12 window of when eclipses occur.
F10 brings up some astronomic calculations, which may address your last point.
dayDiff = "-29 days";
maxDiff = 0.004;
obj1 = "Sun";
obj2 = "Moon";
a1 = 0.0;
a2 = 1.0;
pi = Math.PI;
degToRad = pi/180;
core.selectObjectByName(obj1, true);
StelMovementMgr.setFlagTracking(true);
justFindSeparation = false;
diff = 1.0;
if (justFindSeparation) {
d = getRadiansBetweenObjects();
d = d/degToRad;
degrees = Math.floor(d);
minutes = d - degrees;
minutes = minutes * 60;
seconds = minutes - Math.floor(minutes);
core.debug(degrees + " " + Math.floor(minutes) + " " + seconds*60);
}
else {
while (true) {
while (diff > maxDiff) {
findClosestConjunction();
diff = getRadiansBetweenObjects();
if (diff >= maxDiff) core.setDate(dayDiff);
}
core.debug(core.getDate() + " " + diff);
core.setDate(dayDiff);
diff = 1.0;
}
}
function findClosestConjunction() {
core.selectObjectByName(obj1, true);
StelMovementMgr.setFlagTracking(true);
core.setTimeRate(0);
a1 = getRadiansBetweenObjects();
a2 = getTheAngleAfter("+1 days");
direction = "+";
if (a2 < a1) {
direction = "+";
}
else {
direction = "-";
a2 = getTheAngleAfter("-2 days");
}
timeStepString = direction + "1 days";
while (a2 < a1) {
a1 = a2;
a2 = getTheAngleAfter(timeStepString);
}
if (direction == "+") {
a1 = getTheAngleAfter("-1 days");
}
else {
a1 = getTheAngleAfter("+1 days");
}
a2 = getTheAngleAfter("+1 hour");
if (a2 < a1) {
direction = "+";
}
else {
direction = "-";
a2 = getTheAngleAfter("-2 hours");
}
timeStepString = direction + "1 hour";
while (a2 < a1) {
a1 = a2;
a2 = getTheAngleAfter(timeStepString);
}
if (direction == "+") {
a1 = getTheAngleAfter("-1 hours");
}
else {
a1 = getTheAngleAfter("+1 hours");
}
if (a2 > 0.04) return;
a1 = a2;
a2 = getTheAngleAfter("+20 minutes");
if (a2 < a1) {
direction = "+";
}
else {
direction = "-";
a2 = getTheAngleAfter("-40 minutes");
}
timeStepString = direction + "20 minute";
while (a2 < a1) {
a1 = a2;
a2 = getTheAngleAfter(timeStepString);
}
a1 = a2;
a2 = getTheAngleAfter("+5 minutes");
if (a2 < a1) {
direction = "+";
}
else {
direction = "-";
a2 = getTheAngleAfter("-10 minutes");
}
timeStepString = direction + "5 minute";
while (a2 < a1) {
a1 = a2;
a2 = getTheAngleAfter(timeStepString);
}
a1 = a2;
a2 = getTheAngleAfter("+1 minutes");
if (a2 < a1) {
direction = "+";
}
else {
direction = "-";
a2 = getTheAngleAfter("-2 minutes");
}
timeStepString = direction + "1 minute";
while (a2 < a1) {
a1 = a2;
a2 = getTheAngleAfter(timeStepString);
}
}
function getTheAngleAfter(timeStep) {
obj2Azi = core.getObjectInfo(obj2).azimuth;
core.setDate(timeStep);
while (core.getObjectInfo(obj2).azimuth == obj2Azi) {
core.wait(0.01);
}
angleDiff = getRadiansBetweenObjects();
return angleDiff;
}
function getRadiansBetweenObjects() {
obj2Azi = core.getObjectInfo(obj2).elong;
obj2Azi = obj2Azi * degToRad;
obj2Alt = core.getObjectInfo(obj2).elat;
obj2Alt = obj2Alt * degToRad;
obj1Azi = core.getObjectInfo(obj1).elong;
obj1Azi = obj1Azi * degToRad;
obj1Alt = core.getObjectInfo(obj1).elat;
obj1Alt = obj1Alt * degToRad;
d = Math.acos(Math.sin(obj2Alt)*Math.sin(obj1Alt)+Math.cos(obj2Alt)*Math.cos(obj1Alt)*Math.cos(obj2Azi-obj1Azi));
return d;
}
|
|
|
|
|
Awesome thanks for sharing
When you talk, you are only repeating what you already know.
But if you listen, you may learn something new.
--Dalai Lama
JaxCoder.com
|
|
|
|
|
Indeed great ... My problem is solved, finally ...
Cheers,
|
|
|
|
|
Question: Where do you see yourself in the next five years?
Answer: In a containment zone, working from home
|
|
|
|
|
Amarnath S wrote: Question: Where do you see yourself in the next five years? same: mirror, photo, selfie camera...
unless it's a logistics or infrastructure issue (i.e. assembly line) nothing is that wrong with working from home, it's usually the pay masters that prefer people sat in sight in neat little rows of cubicles.
as to self containment zone: so many people physically walking around outside already live in a "social media" non physically interactive zone. why waste so much space and money moving these people around in cars, busses, trains etc if they can do all that without ever going outside?
people complain about the government locking them up at home, many of the loudest (keyboard warriors esp) have for years already done it to themselves? Not just meeting strangers, even groups of good friends sitting at the same table in a cafe will isolate themselves.
pestilence [ pes-tl-uh ns ] noun
1. a deadly or virulent epidemic disease. especially bubonic plague.
2. something that is considered harmful, destructive, or evil.
Synonyms: pest, plague, CCP
|
|
|
|
|
That's what I said!
|
|
|
|
|
OP and you interviewed at Oracle?
|
|
|
|
|
Obviously. You are very perceptive yourself!
|
|
|
|
|
"If I could foretell the future I would not be at this crummy interview".
|
|
|
|
|
Correct. You'd be running a hedge fund that would eventually blow up.
|
|
|
|
|
More likely practicing how to say, "would you like fries with that?".
|
|
|
|
|
Okay so playing Yakuza 6, I'm playing as an ex-con ex-yakuza member with a dragon shaped target literally tattooed on my back. People actually roam the streets and bars looking to fight with me, and not friendly fights either, but dirty brawls where you hit people with bicycles and the odd knife or gun and stuff.
So naturally, in order to protect a baby from the ravages of Child Protective Services I kidnap it from the hospital and proceed to carry the kid around with me - yes me, the walking target - when I'm not putting him in the hands of total strangers that is.
And the police go along with it. You know, because I'm the friendly sort of ex-con former yakuza that just happens to kidnap babies once in awhile.
I'm not really trashing the game specifically, but more game plots in general. I'm sure the above isn't the worst.
Sometimes they're so bad they're good.
Real programmers use butterflies
|
|
|
|
|
Maybe you're just playing the wrong games.
Try Planescape: Torment, pretty much any Final Fantasy, Mass Effect, NieR: Automata, Horizon: Zero Dawn...
Great games with great, and often surprising, stories
|
|
|
|
|
I don't play them for the plots, although sometimes I find the plots amusing.
Real programmers use butterflies
|
|
|
|
|
If you played warcraft, I'd be betting on a rogue.
Not a hunter or a mage, and certainly not a healer
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
it depends which class lets me smurf it the best. Probably a rogue or a mage.
In Oblivion it was def about spellcraft. In Skyrim it was all about alchemy. Related, but different crafts.
Whatever the designers programmed into the game that they couldn't entirely account for, sign me up.
Anything that is exploitable/hackable to make god-builds
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: Whatever the designers programmed into the game that they couldn't entirely account for, sign me up. Patched in two weeks.
honey the codewitch wrote: Anything that is exploitable/hackable to make god-builds So you like to cheat a bit?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I don't consider it to be cheating. Using cheat codes is cheating.
I consider it playing against the designers rather than playing against the game.
I find it more satisfying.
Real programmers use butterflies
|
|
|
|
|
I recently picked up Planescape: Torment myself. Somehow, I missed playing it all those years ago. It makes me happy to see that Horizon is making its way to PC. That title alone almost sold me on getting a PS4...
|
|
|
|
|
Horizon is well worth it, awesome game!
|
|
|
|
|
Sometimes the storyline just needs to be, your a big angry animal and you want to trash stuff. Rampage it is. Or a plumber that hates fungus and reptiles.
|
|
|
|
|
I agree with that. The fallout franchise for example would do well with just setting you free without a single "main" storyline to get through. Their individual storylines are usually dodgy even though the overall lore is good. Just let you make a mess of things and otherwise try to survive, with different questlines being chosen as you see fit. Mini stories are harder to make a mess of IMHO.
Although with the size of video game budgets these days they could always just hire better writers.
But maybe there's a tradeoff between playability and plot. I mean, I can imagine it's hard to craft a storyline around beating people up all the time and have a plot more engaging than your average kung-fu flick *hides*
Real programmers use butterflies
|
|
|
|
|
Makes total sense to me!
|
|
|
|
|
As opposed to: (let's pick up the currently most played games):
- You have blocks of different types that you can pile up.
- Or, you have to seek and kill everybody.
Believe me, the one you described is already quite elaborated.
|
|
|
|