471 reputation
26
bio website
location
age
visits member for 3 years, 11 months
seen May 6 at 23:01

Mar
8
comment Can you “stop” a C program from being reverse engineered?
@specializt: "C is not compiled into Assembler" Well if we want to be pedantic, it's not true. C can be compiled into many things (assembler, native code, javascript) and on UNIX-ish systems, the compiler usually compiles to assembler and then the compiler driver pipe this assembly to the system assembler. At least this is what GCC does. Recent versions on clang do not do those by default for the architectures (unless the -no-integrated-as option is used). But otherwise I agree with you.
Jan
26
comment TCP and UDP basics: connecting to a website
There is this IETF draft for HTTP over UDP (when the HTTP message fits in a single UDP datagram) but usually HTTP uses any reliable full-duplex stream.
Dec
18
comment Are all magic numbers created the same?
You might consider that 1024 is kibi and #define KIBI as 1024, MEBI as 1024*1024…
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)?