Saturday, November 30, 2013

Easy-Macro Adds Stackable Lenses to Your iPhone for Up to 8x Magnification


Technobiru :







Easy-Macro is a simple and easy to use macro lens available for smartphones. The lens is mounted on a rubber band which can be stretched to fit around most any device.















A new design allows for two Easy-Macro lenses to be stacked together for even greater magnification.








Thanks to a great new design, you can now stack two Easy-Macros on your device to boost the magnification from 4x to 8x! Pick up two Easy-Macros to unlock the full potential; they’ll both still fit in your wallet with minimal bulk.








A new Tyvek sleeve protects the Easy-Macro from minor scuffs and scratches no matter how you choose to store it. You can purchase one for $15.








Check out the video and a couple sample pics below...








Read More [via RedmondPie]





























Code to sort the leading digit of a number.
































Hello Guys,
































So I have been given an assignment by my teacher to create a program that takes a bunch of data and sorts them by the leading digit. By this I mean it finds the leading digit of a number (e.g. 260 leading digit: 2) and then will increase the count of the array for "2" by one (yes im horrible at explaining this). So here is what I have so far.
















































Java Code:





































import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;


public class BenfordsLaw {

public static void main(String[] args) throws FileNotFoundException {
// TODO Auto-generated method stub

Scanner input = new Scanner(new File("spanish-city-pop.txt"));
System.out.println("Digit\tCount\t%");
while (input.hasNextInt()) {
int next = input.nextInt();
// process next

int array[]={next};


for(int counter = 0; counter<array.length;counter++){

System.out.println(counter + "\t" + array [counter]);

}

}
}
}



































Yes I know all this does is print out all the digits in the txt document. I have no clue where to start so for now I really need to just find a way to get the leading digit of each number. Anyone have any recommendations?















What is required by the end of the program:































1) Create a project in Eclipse called Benford with a class named Benford (make sure you have the main method check box!)































2) Your project should read in the data from a file called data.txt - you can put any data you want in the file, such as US population numbers over the past 100 years, etc. Just make sure all of the data is of type integer! This file should be located in your project folder, NOT THE SRC.































3) Your project then should determine for each number what the leading digit is, and tally the results in an array of appropriate length.































4) Finally, you should display the results in a table.































































Thanksgiving and Black Friday saw record $1.06B and $1.93B in online sales; 15.6% via tablets, 8.6% via smartphones
































































Technobiru :































































































































































































































































Thanksgiving Day and Black Friday saw record online sales with $1.06 billion and $1.93 billion, up 18 percent year-over-year and over 30 percent year-over-year, respectively. 24.2 percent of online sales occurred on tablets (15.6 percent) and smartphones (8.6 percent), a record overall increase of 118 percent year-over-year.
































































































































































































































































The new data comes from Adobe Digital Index 2013 online shopping data, which further broke down the figures to say that iOS-based devices drove more than $543 million dollars in online sales for the two days while Android-based devices were responsible for only $148 million.
































































































































































































































































Those figures can be broken down further. The iPad was by far the most popular mobile device used on on Thanksgiving and Black Friday, driving $417 million in online sales, while the iPhone was responsible for $126 million. Android-based tablets only generated $42 million in online sales on November 28 and November 29, while Android-based phones generated $106 million.
































































































































































































































































Across social media sites, Amazon was the most referenced retailer with close to 450,000 posts, while Walmart was a close second. Interestingly, Sony’s PlayStation 4 saw more than 300,000 mentions , driving close to three times more social media traffic on Facebook, Twitter, Tumblr, blogs (including WordPress and Blogger), YouTube, and Reddit than Microsoft’s Xbox One.
































































































































































































































































Online shopping peaked between 11:00 AM and 12:00 PM EST on Black Friday, helping retailers generate more than $150 million in one hour:
































































































































































































































































BlackFridayByTheHour Thanksgiving and Black Friday saw record $1.06B and $1.93B in online sales; 15.6% via tablets, 8.6% via smartphones
































































































































































































































































“Online shopping data shows that consumers took full advantage of their mobile devices to shop on Thanksgiving Day and ‘omnishop’ while in stores on Black Friday,” Adobe Digital Index’s principal analyst Tamara Gaffney said in a statement. “In an attempt to play every angle possible, retailers poured money into new mobile capabilities by adding Wi-Fi to key stores, expanding mobile app offerings, and optimizing websites for easier transactions from small screens. The results were record online sales driven by tablets and smartphones this year.”
































































































































































































































































Despite all this, traditional “brick-and-click” retailers outsold their “online-only” competitors at nearly a three-to-one ratio. Adobe’s data for Thanksgiving Day and Black Friday is based on the analysis of nearly 400 million visits to more than 2000 US retailers’ websites, with the company estimating more than 70 percent of online sales with the top 500 retailers in the US are generated by companies using Adobe Analytics.
































































































































































































































































Adobe is projecting that this year’s Cyber Monday will be the largest single online shopping day ever.
































































































































































































































































Top Image Credit: Hans Thoursie































































































































































































































































































































































































































































































































Angry Birds Seasons is Updated With New Arctic Eggspedition Levels
































































































































Technobiru :































































































































































































































































































































































































































































































































Angry Birds Seasons has been updated with 25 new Arctic Eggspedition levels plus 4 bonus levels.
































































































































































































































































































































































































































































































































Angry Birds Seasons takes the captivating gameplay of the original to a whole new level! From Halloween to Chinese New Year, the birds are celebrating different festive seasons around the world! With more than 300 levels and regular free updates, these special episodes offer more challenging levels of pig-popping action and golden eggs to discover.
































































































































































































































































































































































































































































































































What's New In This Version:































































































































































































































































































































































































































































































































Pack your bags for an Arctic Eggspedition with 25 festive, frosty, and fun-filled levels! Plus 4 bonus levels! Things get a bit chilly as you fling the birds through the cold air and under the icy waters for a surprise attack!
































































































































































































































































































































































































































































































































NEW FROSTY LEVELS! Get in the festive spirit with 25 advent calendar levels – one for each day before Christmas! Plus get 4 bonus levels!
































































































































































































































































































































































































































































































































NEW ICY ARCTIC THEME! Take an Arctic Eggspedition and face sub-zero temperatures, large blocks of Arctic ice and some rather cold piggies!
































































































































































































































































































































































































































































































































UNDERWATER ATTACK! Plan a surprise attack by flinging our frosty feathered friends under the icy Arctic waters and up toward those pesky pigs!
































































































































































































































































































































































































































































































































You can purchase Angry Birds Seasons from the App Store for $0.99.
































































































































































































































































































































































































































































































































Read More




























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Creating a 2D object array in a loop
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































I have an object with two constants that I want initialising in the constructor using two parameters.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































I also want to make a 2D array of these objects.
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































What is the syntax for this?
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































If I type:
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Java Code:












































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Obj[][] myObj = new Obj[10][10];










































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Does this automatically run the constructor and assign these objects to the array? Or are the elements left empty (Just the memory allocated for the objects?)































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Can I then go on make a loop and create objects for the array in a way similar to this (Not a loop in the example):
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Java Code:












































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































myObj[0][0] = Obj(20, 100);
myObj[0][0] = Obj(24, 29);
//...