neetpiq

neetpiq

My two cents about software development on the web


By

Mongo Import type information

source: MongoDB Manual 2.6.4

JSON can only represent a subset of the types supported by BSON. To preserve type information, mongoimport accepts strict mode representation for certain types.

For example, to preserve type information for BSON types data_date and data_numberlong during mongoimport, the data should be in strict mode representation, as in the following:

{ "_id" : 1, "volume" : { "$numberLong" : "2980000" }, "date" : { "$date" : "2014-03-13T13:47:42.483-0400" } }

For the data_numberlong type, mongoimport converts into a float during the import.

By

Mobile Settings UX

source: Smashing Newsletter: Issue #124 (Nov 18th, 2014)

We’ve all heard it before: when it comes to the current state of UX, iOS is often considered to have a much better experience, while Android is more powerful and customizable. But why? Where are the facts? Well, Luis Mena goes ahead and elaborates on The UX of Mobile Settings, and compares the difference in experiences among Apple, Google and Microsoft device settings — probably not something that many of today’s articles are concerned about.

The UX of Mobile Settings

By

Embedly test

Following a link from Stack Overflow, I discovered Embedly and its products.

This is a test using Bookmarklet that generate a card for every web page.

Android RSS Reader Application using SQLite

Android Building Group Chat App using Sockets – Part 2

By

JavaScript: The World’s Most Misunderstood Programming Language

sourceJavaScript: The World’s Most Misunderstood Programming Language by Douglas Crockford

Is JavaScript object-oriented? It has objects which can contain data and methods that act upon that data. Objects can contain other objects. It does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods. It does not have class-oriented inheritance, but it does have prototype-oriented inheritance.

The two main ways of building up object systems are by inheritance (is-a) and by aggregation (has-a). JavaScript does both, but its dynamic nature allows it to excel at aggregation.

Some argue that JavaScript is not truly object oriented because it does not provide information hiding. That is, objects cannot have private variables and private methods: All members are public.

But it turns out that JavaScript objects can have private variables and private methods. Of course, few understand this because JavaScript is the world’s most misunderstood programming language.

Some argue that JavaScript is not truly object oriented because it does not provide inheritance. But it turns out that JavaScript supports not only classical inheritance, but other code reuse patterns as well.

More infos:

By

Launch of Xamarin Test Cloud

Launch of Xamarin Test Cloud

Today (September 24, 2014) we are proud to announce the public launch of Xamarin Test Cloud, with over 1,000 real devices available to help you build better apps, and ensure they work on each one.

The state of mobile testing today is primitive. Last month we ran a survey that found that nearly 80% of mobile developers are relying primarily on manual testing in their attempts to deliver great app experiences. And yet, more than 75% told us that the quality of their mobile apps is either “very important” or “mission critical.”

We created Xamarin Test Cloud to solve this problem. We believe that testing is not something you should do at the end of the development cycle, just before submitting to the app store. Instead, your app should be continuously tested during development in an automated, scalable way. Your developers should be writing user interface tests as they develop the app, and commits shouldn’t be merged until the tests pass.

Once you have an automated test suite, even a simple one, you can easily verify that your app works on the hundreds of device variants in use by your customers, before you ship the app to them.

xamarin test cloud ui