How to watch and compile all TypeScript sources?

Create a file named tsconfig.json in your project root and include following lines in it: { “compilerOptions”: { “emitDecoratorMetadata”: true, “module”: “commonjs”, “target”: “ES5”, “outDir”: “ts-built”, “rootDir”: “src” } } Please note that outDir should be the path of the directory to receive compiled JS files, and rootDir should be the path of the directory … Read more

What is the difference between “Include Directories” and “Additional Include Directories”

This is awkwardness that got introduced in VS2010. The VC++ Directories settings used to be located in Tools + Options, Projects and Solutions, VC++ Directories. Global settings that applied to every project that was built on the machine. It is still there but points out that you should now change it in your project settings. … Read more

Why doesn’t the JVM cache JIT compiled code?

Without resorting to cut’n’paste of the link that @MYYN posted, I suspect this is because the optimisations that the JVM performs are not static, but rather dynamic, based on the data patterns as well as code patterns. It’s likely that these data patterns will change during the application’s lifetime, rendering the cached optimisations less than … Read more

What is the difference between compile code and executable code?

Compiling is the act of turning source code into object code. Linking is the act of combining object code with libraries into a raw executable. Building is the sequence composed of compiling and linking, with possibly other tasks such as installer creation. Many compilers handle the linking step automatically after compiling source code.

Compiling a java program into an executable [duplicate]

You can convert .jar file to .exe on these ways: (source: viralpatel.net) 1- JSmooth .exe wrapper: JSmooth is a Java Executable Wrapper. It creates native Windows launchers (standard .exe) for your java applications. It makes java deployment much smoother and user-friendly, as it is able to find any installed Java VM by itself. When no … Read more

Compiling dynamic HTML strings from database

ng-bind-html-unsafe only renders the content as HTML. It doesn’t bind Angular scope to the resulted DOM. You have to use $compile service for that purpose. I created this plunker to demonstrate how to use $compile to create a directive rendering dynamic HTML entered by users and binding to the controller’s scope. The source is posted … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)