background preloader

Shaping up with Angular.js - Shaping up with Angular.js

Shaping up with Angular.js - Shaping up with Angular.js
Related:  shiny stuff

Five simple database design tips A flawed database can affect all areas of your application, so getting the design right is of paramount importance. Check out Builder's five simple design tips, and share some of your own. If an enterprise’s data is its lifeblood, then the database design can be the most important part of an application. Volumes have been written on this topic, and entire college degrees have been built around it. However, as has been said time and time again here on Builder.com, there’s no teacher like experience. I’ll get the show started by listing my five favorite tips and giving a brief explanation of the rationale behind each one. #1: Use meaningful field namesI once worked on a project I inherited from another programmer who liked to name fields using the name of the onscreen control that displayed the data from that field. Unless you are using a system that restricts you to short field names, make them as descriptive as possible—within reason, of course.

Javascript quiz I was recently reminded about Dmitry Baranovsky's Javascript test, when N. Zakas answered and explained it in a blog post. First time I saw those questions explained was by Richard Cornford in comp.lang.javascript, although not as thoroughly as by Nicholas. I decided to come up with my own little quiz. Host objects Contrary to Dmitry's test, quiz does not involve host objects (e.g. window), as their behavior is unspecified and can vary sporadically across implementations. So what are we testing? Not a lot really. Note, however, that not all questions are very practical, so don't worry if you can't answer some of them. Few notes about code Quiz Please make sure you select answer in each question, as lack of answer is not checked and counts as failure. I hope you liked it.

Ten Common Database Design Mistakes No list of mistakes is ever going to be exhaustive. People (myself included) do a lot of really stupid things, at times, in the name of “getting it done.” This list simply reflects the database design mistakes that are currently on my mind, or in some cases, constantly on my mind. Before I start with the list, let me be honest for a minute. So, the list: Poor design/planning Ignoring normalization Poor naming standards Lack of documentation One table to hold all domain values Using identity/guid columns as your only key Not using SQL facilities to protect data integrity Not using stored procedures to access data Trying to build generic objects Lack of testing Poor design/planning “If you don’t know where you are going, any road will take you there” – George Harrison Prophetic words for all parts of life and a description of the type of issues that plague many projects these days. Far too often, a proper planning phase is ignored in favor of just “getting it done”. Ignoring Normalization

Read Understanding ECMAScript 6 | Leanpub Introduction The JavaScript core language features are defined in a standard called ECMA-262. The language defined in this standard is called ECMAScript. What you know as JavaScript in browsers and Node.js is actually a superset of ECMAScript. Browsers and Node.js add more functionality through additional objects and methods, but the core of the language remains as defined in ECMAScript. The Road to ECMAScript 6 In 2007, JavaScript was at a crossroads. The scope of the ECMAScript 4 changes caused a rift to form in TC-39, with some members feeling that the fourth edition was trying to accomplish too much. ECMAScript 3.1 introduced very few syntax changes, instead focusing on property attributes, native JSON support, and adding methods to already-existing objects. In 2008, Brendan Eich, the creator of JavaScript, announced that TC-39 would focus its efforts on standardizing ECMAScript 3.1. ECMAScript 6 reached feature complete status in 2015 and was formally dubbed “ECMAScript 2015.”

Unity 3 – April 2013 patterns & practices Developer Center April 2013 Unity is a lightweight, extensible dependency injection container with support for instance and type interception. Overview Unity is a lightweight, extensible dependency injection container with support for constructor, property, and method call injection. Simplified object creation, especially for hierarchical object structures and dependencies. Unity is a general-purpose container for use in any type of Microsoft.NET Framework-based application. In addition, Unity is extensible. This release adds support for Windows Store apps as well as the registration by convention feature to ease the task of configuring Unity. Audience Requirements These reusable components and guidance are intended primarily for software developers and software architects. Contents of This Release Microsoft Unity 3 contains the following: Binaries. System Requirements Supported architectures: x86 and x64. For a rich development environment, the following are recommended:

Voyage au coeur de JavaScript (ECMAScript 3) Cet article est une traduction de JavaScript. The Core écrit par Dmitry Soshnikov. Javascript The Core est un sommaire détaillé de la série d’article “ECMA-262-3 in detail”. Commençons par étudier le concept d'objet, un fondamental d'ECMAScript. L'objet ECMAScript étant un langage orienté objet de haut niveau, il fonctionne avec des objets. Un objet est une collection de propriétés qui possède un unique objet prototype. Prenons pour exemple un objet simple. Cet objet possède deux propriétés explicitement déclarées et une propriété __proto__ implicite qui est une référence au prototype de foo: Mais pourquoi ces prototypes sont-ils requis ? Le chaînage des prototypes Les prototypes sont des objets comme les autres et peuvent posséder leurs propres prototypes. Une chaîne de prototype est une chaîne finie d'objet utilisé pour implémenter l'héritage et le partage de propriétés. Examinons le cas où nous avons deux objets qui diffèrent sensiblement. ECMAScript ne possède pas de concept de classe.

Codecademy Labs AlexNogard : Tutos IT Linux : Supervision : Centreon, Nagios, Owncloud; Windows Server 2012 : Hyper-V 3 c# - Best Practices of fault toleration and reliability for scheduled tasks or services Read JavaScript Allongé | Leanpub A Pull of the Lever: Prefaces “Café Allongé, also called Espresso Lungo, is a drink midway between an Espresso and Americano in strength. There are two different ways to make it. The first, and the one I prefer, is to add a small amount of hot water to a double or quadruple Espresso Ristretto. Like adding a splash of water to whiskey, the small dilution releases more of the complex flavours in the mouth. Foreword by Michael Fogus As a life-long bibliophile and long-time follower of Reg’s online work, I was excited when he started writing books. The act of writing is an iterative process with (very often) tight revision loops. In the case of JavaScript Allongé, you’ll find the Leanpub model a shining example of effectiveness. As a staunch advocate of functional programming, much of what Reg has written rings true to me. Enjoy. – Fogus, fogus.me Foreword by Matthew Knox A different kind of language requires a different kind of book. –Matthew Knox, mattknox.com Why JavaScript Allongé? Instead of:

Audit and document Security User Rights Assignment using C# | Network Audit and Documentation, CENTREL Solutions Blog For more information on the Windows Server documentation abilities of XIA Configuration please see the following We've recently been asked about the auditing of User Rights Assignment as seen in the Local Group Policy Editor. Having looked into this issue it is apparent that this cannot be done with any high level API such as WMI and requires the use of P/Invoke and the Win32 method LsaEnumerateAccountsWithUserRight. I've seen many posts on the Internet on the topic but I haven't seen a simplified example of this in use so have writen a quick C# sample application to enumerate the various rights and privileges and display the users assigned to that right in a grouped listview as per the screenshot below. This can be downloaded from our web site in Visual Studio 2010 The sample supports the following Document and Audit User Rights Assignment with XIA Configu

You Might Not Need jQuery Your Personal PLC Tutor Site - RS232 Communications/software Learn quickly with our PLC Training DVD Series: on sale $599.00 $379 Click here now for details! RS-232 Communications (software) Now that we understand the hardware part of the picture, let's dive right into the software part. ASCII is a human-readable to computer-readable translation code. The picture below shows how data leaves the serial port for the character "E" (45h 100 0101b) and Even parity. Another important thing that is sometimes used is called software handshaking (flow control). The last thing we should know about is delimiters. Sometimes an STX and ETX pair is used for transmission/reception as well. Finally, we might also come across an ACK/NAK pair. RS-232 has a lot of information to absorb, so feel free to reread it.

Number, Math | JavaScript Tutorial All numbers in JavaScript, both integer or floating-point are of type Number. Internally a number is represented by the floating-point format IEEE 754, also called “double precision”. There are 8 bytes per number. The maximal integer value is about 253. Written forms In JavaScript, it is possible to write numbers using hexadimal or octal radix: A so-called scientific form is also available, it consists of a number followed by “e” and quantity of zeroes. For example, 1e3 is 1 with 3 zeroes, effectively 1000. If the quantity of zeroes is negative, then the number is shifted past the decimal point. Zero division, Infinity Imagine, you are to create a new language. What should happen if someone divides by zero? Usually the answer is “Zero Division Error”. But JavaScript creators decided to go more mathematical way. Infinity is a special numeric value in JavaScript and behaves just like it should. So there is no error, just infinity. NaN NaN has following properties: At worst, NaN is returned. Note.

Related: