Monday, October 19, 2015

Creating a Dictionary App Using React Native for Android

Memory Performance Boosts with Generators and Nikic/Iter

Arrays, and by extension iteration, are fundamental parts to any application. And like the complexity of our applications, how we use them should evolve as we gain access to new tools.

New tools, like generators, for instance. First came arrays. Then we gained the ability to define our own array-like things (called iterators). But since PHP 5.5, we can rapidly create iterator-like structures called generators.

A loop illustration

These appear as functions, but we can use them as iterators. They give us a simple syntax for what are essentially interruptible, repeatable functions. They’re wonderful!

And we’re going to look at a few areas in which we can use them. We’re also going to discover a few problems to be aware of when using them. Finally, we’ll study a brilliant library, created by the talented Nikita Popov.

You can find the example code at http://ift.tt/1LyODUZ.

The Problems

Imagine you have lots of relational data, and you want to do some eager loading. Perhaps the data is comma-separated, and you need to load each data type, and knit them together.

Continue reading %Memory Performance Boosts with Generators and Nikic/Iter%


by Christopher Pitt via SitePoint

How Rap Genius Raised $1.8M Without Knowing What They Were Doing

tom lehman genius

Tom Lehman is co-­founder and CEO of Genius. Originally from Miami, Florida, Lehman attended Yale University, where he majored in Ethics, Politics, and Economics, as well as Mathematics and Philosophy. Before founding Genius, he worked as a programmer at the hedge fund D.E. Shaw.

It’s August 25th 2011 – three days after demo day and 115 days after May 2, 2011, the day Osama died and Rap Genius got into Y Combinator.

Ilan and I are at the San Francisco Four Seasons for our first meeting with an actual real investor and the setup is perfect. It’s this baller-ass Russian dude – perfect level of stubble, the supplest Diesel jeans, suede loafers, no socks whatsoever.

Continue reading %How Rap Genius Raised $1.8M Without Knowing What They Were Doing%


by Tom Lehman via SitePoint

Active Model Serializers, Rails, and JSON! OH MY!

JSON (JavaScript Object Notation) is a format that can be used to store or exchange data. It is easy to read by humans and easy to parse by machines, which is why a lot of APIs use JSON. In this article, we will learn how to create custom JSON responses with ActiveModel::Serializer. All examples are […]

Continue reading %Active Model Serializers, Rails, and JSON! OH MY!%


by Glenn Goodrich via SitePoint

jColumn – Make Selected Elements to Same Height

jColumn is a lightweight jQuery plugin to make selected html elements the same height.


by via jQuery-Plugins.net RSS Feed

Get Started Building Your Blog With Parse.js: Delete, Logout, and Single Blog View

AdWords Email Database Targeting & Gmail Ads Creatives #CrashCourse

AdWords Email Database Targeting & Gmail Ads Creatives #CrashCourse

A few weeks ago Google launched Gmail ads in the AdWords interface, shortly after that they pushed out the ‘Customer Match’ feature allowing advertisers to upload email databases into their accounts – arm yourself and learn email marketing via adwords skills to add it to your advertising options or service solutions in under 5 minutes below.

by Imran Sq via Digital Information World