If your install of Linux is a dual boot setup with windows you have run into this problem before. You reinstall windows and suddenly you can no longer access your Linux partition or the Grub bootloader. You can always go through the entire install of Ubuntu again, or you can try to repair the bootload, but how do you repair the bootloader? Here we look for the way to restore grub after windows install. Well…"Restoring Ubuntu (or any distro) Grub Bootloader After Windows Install"
This guide assumes you are using Xcode 4 Core data is the feature of Cocoa that makes it the best tool for developing applications for the macintosh. It’s what makes Cocoa a better choice for developing full, feature rich applications than Java or Ruby (not that they’re bad languages) for the mac. The simple reason for this is it allows you to develop amazingly complicated applications in precisely 0lines of code. Even then, you can…"A Simple Core Data Introduction"
Bindings are an incredibly useful feature of Cocoa. Cocoa bindings were introduced in Mac OS 10.3 allowing developers to create incredibly complex applications in very few lines of code and, as a result, eliminate many bugs from their software that would normally arise from the sheer mass of code a developer would normally have to write. Whilst learning Cocoa, bindings aren’t a necessary thing to learn about and many budding developers will skip over bindings…"Intro to Cocoa Bindings (As well as Key Value Coding)"
For reference, I shall now refer to pass by address as PSA Let’s just get something out-of-the-way. Passing a parameter by address involves using pointers. Yes, those horrible little things that you hated/hate whilst you learnt/are learning C, C++. The idea of pointers is hard to understand and the most common thing novices will say is “Why learn pointers?” Well, this is one of those reasons to learn them. PBA relies completely on pointers and…"Passing Arguments By Address In C++"
PostgreSQL-ORM is an Object Relational Mapper (ORM) that complements Simple. It knows how to map high-level operations to PostgreSQL flavored SQL for Haskell types that are instances of the Model type-class, as well as perform join operations on associations between Model instances. Declaration Creating a Model in Haskell is easy. We simply declare a datatype using record syntax, include a field of type DBKey to hold the primary key and let Haskell Generics do the rest:…"PostgreSQL ORM"
This getting started tutorial will get you up and running with a basic web application. At the end you will know how install Simple how to create a Simple application from scratch the structure of a Simple application how to add persistence with PostgreSQL. Guide Assumptions This guide assumes you have a working version of the GHC Haskell compiler, the cabal package manager and an up-to-date version of the PostgreSQL database. The best way to…"Getting Started Tutorial: Simple Basic Web Application"
Simple comes with support for the embedded templating language defined in the package simple-templates. Templates let you embed dynamic content in HTML, JSON or any other text format you return in your responses. Using with a Simple app Adding template support in your app is as easy as declaring an instance ofHasTemplates for your app settings:
<span class="kw">import </span><span class="dt">Web.Simple.Templates</span>
<span class="kw">data</span> <span class="dt">MyAppSettings</span> <span class="fu">=</span> <span class="fu">...</span>
<span class="kw">instance</span> <span class="dt">HasTemplates</span> <span class="dt">MyAppSettings</span>
HasTemplates has default definitions for all of its methods. However, in most cases you’ll probably want to override…"Simple Templates"