Progress
Moderators: winston, another_commander
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Progress
Praise be the removal of Wonkiness!
Oddly enough, I think some of what you said made sense too - although not uniquely from a JS point of view...
Oddly enough, I think some of what you said made sense too - although not uniquely from a JS point of view...
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
Somebody on Twitter wrote a tool for mapping the dependencies between Objective-C code modules, so now we have a handy map of the source code to help us orient ourselves. This should make things much easier!
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Progress
Your idea of much easier and mine are somewhat different - that's spaghetti junction on an acid trip!Ahruman wrote:Somebody on Twitter wrote a tool for mapping the dependencies between Objective-C code modules, so now we have a handy map of the source code to help us orient ourselves. This should make things much easier!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
I particularly like the arc that kinks off in a random direction and then doubles back on itself near the top left. I think GraphViz just gave up after ten minutes.
E-mail: [email protected]
- Killer Wolf
- ---- E L I T E ----
- Posts: 2278
- Joined: Tue Jan 02, 2007 12:38 pm
Re: Progress
well i just get a blank pdf so i've no idea what you're talking about :-/
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Progress
Or the OOJSQuaternion that is placed in the center to show its 'importance'. There are a lot of lines heading to it from the east and suddenly they see "Quaternion", get a headache and decide to bypass that station.Ahruman wrote:I particularly like the arc that kinks off in a random direction and then doubles back.
PS. I had to zoom in quite far to even recognise there was text written on the picture. I probably need a monitor as used in football arenas to get the whole picture.
Last edited by Eric Walch on Fri Jan 07, 2011 12:11 pm, edited 1 time in total.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
I forgot to mention a semi-practical consequence of this: theAhruman wrote:…an end to the terrible plague of wonkiness.
instanceof
operator now works properly. The various isFoo
entity properties cover most cases where this would be needed, but there it is.E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
Here it is as a JPEG zoomed out to 6 % – 3116×607 pixels.Killer Wolf wrote:well i just get a blank pdf so i've no idea what you're talking about :-/
E-mail: [email protected]
Re: Progress
Didn't spot that back-doubling arc, but another one, a little left of OOJSQuaternion caught my eye.Eric Walch wrote:Or the OOJSQuaternion that is placed in the center to show its 'importance'. There are a lot ow lines heading to it from the east and suddenly they see "Quaternion", get a headache and decide to bypass that station.Ahruman wrote:I particularly like the arc that kinks off in a random direction and then doubles back.
Tried to follow the arc to both ends, and to me it looks like the start point is RingEntity and destination ShipEntityScriptMethods. But as the brilliant NoGrip slogan goes: "It's not the destination, but the drive there", this arc looks like it really is a ring racer in a race - starts with swerwing around OOSelfDrawingEntity and OOShaderProgram, continues wobbling between OOJSQuaternion, OOJSCall and OOJSVector (barely missing OOJSCall), then changes its direction ~90 degrees (seems to sober up at the same time) by executing a tight loop before continuing relatively straight to ShipEntityScriptMethods.
EDIT: P.S hope the Cthulhu reference is only for the .PDF - wouldn't want the ultimate horror creeping in Oolite...
...and keep it under lightspeed!
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Re: Progress
I know, I know!Ahruman wrote:
- Kaks “made fuel price slightly more variable”, I’m not sure what that’s about.
"In trunk the fuel price has been affected by the ship's mass for a while. The formula that calculates the actual price has been tweaked to be more proportional to the ship's mass."
Last edited by Kaks on Fri Jan 07, 2011 5:03 pm, edited 1 time in total.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
It turns out that the prototype chain fix has a less esoteric effect: previously, you could call methods on the constructor of a singleton instead of the singleton instance itself, which no longer works.
Huh?
Examples of this are
Code that gets this wrong has always been incorrect, and in 1.75 it won’t work.
Huh?
Examples of this are
PlayerShip
vs. player.ship
and System
vs. system
. There is never a valid reason to refer to PlayerShip
in code, and in 1.75 it won’t work. Don’t use PlayerShip.dockedStation
, use player.ship.dockedStation
. For System
, the correct usage is (and always has been) that you use system
to refer to the current system, and System
to call methods dealing with other systems – specifically the three methods listed under “Static Methods” on the System
reference page.Code that gets this wrong has always been incorrect, and in 1.75 it won’t work.
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Progress
Did I detect a silent stamping of a foot there?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
No, not really. I just wanted to be absolutely clear that it’s everyone else’s fault and not mine. :-)DaddyHoggy wrote:Did I detect a silent stamping of a foot there? :)
Part of the problem is that there’s no good terminology for referring to methods on instances vs. methods on constructors in JavaScript. Strictly speaking, methods you can call on a vector, say, are methods of
Vector3D.prototype
, while methods you call on Vector3D itself are methods of Vector3D
, and properties of ships are really accessor-backed properties of Ship.prototype
and Entity.prototype
. This makes perfect sense if you understand JavaScript’s object model, but it’s a bit of a barrier to entry.E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
One wafer-thin deprecation… the Ship property
roleProbabilities
will be renamed roleWeights
.E-mail: [email protected]
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Progress
It turns out that confusion of
Exception: because constructors are functions, they have a non-configurable “name” property already.
System
with system
and Player
with player
is rampant, so I’ve added compatibility methods which print warnings much like deprecation handlers. These will be removed in 1.75.1.Exception: because constructors are functions, they have a non-configurable “name” property already.
System.name
is “System” and Player.name
is “Player”.E-mail: [email protected]