Why no love for SQL? [closed]

This is partly subjective. So this is my opinion: SQL has a pseudo-natural-language style. The inventors believed that they can create a language just like English and that database queries will be very simple. A terrible mistake. SQL is very hard to understand except in trivial cases. SQL is declarative. You can’t tell the database … Read more

iOS Static vs Dynamic frameworks clarifications

Before iOS8, Xcode only allowed the option of creating static libraries for iOS. The common problem with that was we had to ship the binary and headers separately. Later, some developers came with the idea of creating ‘static frameworks’. [the .framework is just a folder with symbolic links to the lib and the headers]. One … Read more

Using CSS in Laravel views?

Put your assets in the public folder; e.g.: public/css public/images public/fonts public/js And then, to access them using Laravel, use: {{ HTML::script(‘js/scrollTo.js’); }} {{ HTML::style(‘css/css.css’); }} Or: {{ URL::asset(‘js/scrollTo.js’); }} {{ URL::asset(‘css/css.css’); }} This syntax will automatically generate the correct path (e.g., `public/js/scrollTo.js’).

What is the best testing framework to use with Node.js? [closed]

Update: Mocha is the best in my opinion. What is the experience with these frameworks? I played with expresso which is pretty cool testing framework which also has test-coverage. It has been created by TJ Holowaychuk who is also the creator of Express.js (insanely fast (and small) server-side JavaScript web development framework built on Node.js … Read more

Laravel blank white screen

Apache Does this answer describe or help your situation? Upgrading to Apache 2.4 come with some changes in Apache configuration. Laravel Are you checking Laravel’s logs or Apache’s logs? Since upgrading to Laravel 4.1, I’ve had white screen “errors” (WSOD) when the application could not write to the log location. I’ve always solved this by … Read more

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