379 reputation
16
bio website
location
age
visits member for 3 years, 3 months
seen 2 days ago

Sep
11
comment Why did the creators of the Internet Protocol decide to use IP addresses to identify a particular computer?
See HIP (Host Identity Protocol, RFC4423) for a attempt to add a layer for Host Identifiers (stored as IPv6 addresses) between the network layer and the transport layer.
Apr
9
comment I don't understand value iteration
And you have problem with parens in your expression (compare the pseudocode and your code)
Sep
28
comment Java - What methods to put in an interface and what to keep out
What is the expected behaviour of those methods?
Aug
24
comment I want to create an open data format… but I don't really know what that is
What kind of data do you want to manage? Have you looked at at HL7(v3)? Might be quite overkill but it's an "e-healthcare" standard.
Aug
23
comment What are the licensing requirements for shipping Java along with application
Or you can ship OpenJDK and comply to the GPL.
Jul
6
comment How do I reuse a state machine in a slightly different way?
The "state machine" solution is a good solution. It's how for example SCXML is working.
Jun
20
comment HTML, JS, CSS Engines
Though part of that stuff is in WebCore/platform. So … I don't know exactly which parts are in WebCore are which parts are not.
Jun
20
comment HTML, JS, CSS Engines
What the ports do (AFAIU) is : bind a JavaScript engine (JavaScriptCore, v8 …), provide some "UI/interface" related features which are left abstract in WebCore (windows, clicks, keyboard inputs … which are handled by the UI technology : Qt, Coca, GTK …).
Jun
20
comment HTML, JS, CSS Engines
WebCore is the (C++) core of WebKit (Source/WebCore in the SVN svn.webkit.org/repository/webkit/trunk). It has code for : DOM tree, HTML/XML/CSS parsing, SVG/MathML/HTML rendering ... It does the actual rendering but The Webkit/ subdirectories contains the different "ports", bindings for languages/APIs/toolits/systems (blackberry, chromium, GTK, Mac/Cocoa, Qt, wx).
Jun
17
comment HTML, JS, CSS Engines
@dude: ActionScript is a dialect of ECMAScript (just like JavaScript is). What's more, few years ago, it was expected to be used in Mozilla applications as its EcmaScript engine.
Jun
17
comment HTML, JS, CSS Engines
AFAI understand, you have core Webkit which is unconnected from any kind of UI/system layer. Then you have different bindings/ports for different UI libs/systems: Apple Cocoa, Qt, GTK …
Jun
17
comment HTML, JS, CSS Engines
What so you mean by "bare browser"?
Jun
15
comment Should I add an “Abstract” prefix to my abstract classes?
It doesn't violate DRY principle IMO. In the definition of the class there is a slight redundancy. But the name of the class is (usually) mostly used at other places where the "abstract" keyword doesn't not appear. And "interface Foo implements Foo" doesn't work anyway.
Apr
20
comment Should UTF-16 be considered harmful?
_T("") is not part ofthe standard, it is MS/Windows stuff.
Mar
4
comment What are my choices for server side sandboxed scripting?
Found this: gf3.github.com/sandbox
Mar
4
comment What are my choices for server side sandboxed scripting?
Is there any sandboxing suport i NodeJS or available with NodeJS?
Jan
31
comment Java - using single class or multiple class for each type?
What are the nodes supposed to be/do? Can the type of a node change at runtime (an instance cannot change its class at runtime in Java)?
Jan
30
comment Convince someone that an app cannot be done
Have a look at basic Computer Vision courses. It works the same as human vision, you cannot find the size (or equivalently depth) of a given object unless you add a second camera (and have calibration for the pair of camera). If you do not have this, you can only rebuild the world up to a scale factor: you could be able to figure out the relative size of objects, but to be able to get absolute sizes, you need to know some reference size from the scene.
Jan
30
comment Convince someone that an app cannot be done
I don't see how this can be "not constructive" and "this question will likely solicit opinion".
Nov
8
comment What would truly happen if java.lang.String weren't final?
Jarrod Roberson: if the class was not final you could create mutable Strings using inheritance.