Introducing "Virtual (HTML) DOM" to simplify handling events on web page.
This is different from typical data binding in MVC/MVVM frameworks like Angular.
React | A JavaScript library for building user interfaces: @ GitHub
"A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES"
VIRTUAL DOM
React uses a virtual DOM diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.
DATA FLOW
React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.
It is also introducing ".jsx", extension of JavaScript to reduce typing (and is pre-compiled to .js)
podcast interview:
Pete Hunt, Software Engineer for Facebook, discussing Facebook's open source js UI framework, React | CodeWinds
Sunday, August 31, 2014
Saturday, August 30, 2014
IoT: Privacy's Shrinking Future
Privacy's Shrinking Future - HBR IdeaCast - Harvard Business Review:
Scott Berinato, senior editor at Harvard Business Review, on how companies benefit from transparency about customer data. For more, read “Pushing the Limits of Personalization” in the September 2014 issue of HBR.
Scott Berinato, senior editor at Harvard Business Review, on how companies benefit from transparency about customer data. For more, read “Pushing the Limits of Personalization” in the September 2014 issue of HBR.
define: Data science
Data science - Wikipedia, the free encyclopedia:
Data science is the study of the generalizable extraction of knowledge from data,[1] yet the key word is science.[2] It incorporates varying elements and builds on techniques and theories from many fields, including signal processing, mathematics,probability models, machine learning, statistical learning, computer programming, data engineering, pattern recognition and learning, visualization, uncertainty modeling, data warehousing, and high performance computing with the goal of extracting meaning from data and creating data products.
...
A practitioner of data science is called a data scientist. Data scientists solve complex data problems by employing deep expertise in some scientific discipline"
course: Introduction to Data Science | Coursera (free)
Data science is the study of the generalizable extraction of knowledge from data,[1] yet the key word is science.[2] It incorporates varying elements and builds on techniques and theories from many fields, including signal processing, mathematics,probability models, machine learning, statistical learning, computer programming, data engineering, pattern recognition and learning, visualization, uncertainty modeling, data warehousing, and high performance computing with the goal of extracting meaning from data and creating data products.
...
A practitioner of data science is called a data scientist. Data scientists solve complex data problems by employing deep expertise in some scientific discipline"
Microsoft: Exploration: Data Science... with Mario Garzia - Machine Learning - Site Home - TechNet Blogs
ML: Azure Machine Learning (!)
Cloud Cover 151: Azure Machine Learning with Parmita Mehta | Microsoft Azure Cloud Cover Show | Channel 9:
"... an overview of the new Azure Cloud Machine Learning Service...
(demo) uses Cloud ML to predict family income level based off of census data. This is tested using modules pre-built by MS Research, Xbox, and Bing! After building and testing out an experiment, Parmita shows how easy it is to push the experiment to production as a web service which can be used to run individual tests or batches."
"... an overview of the new Azure Cloud Machine Learning Service...
(demo) uses Cloud ML to predict family income level based off of census data. This is tested using modules pre-built by MS Research, Xbox, and Bing! After building and testing out an experiment, Parmita shows how easy it is to push the experiment to production as a web service which can be used to run individual tests or batches."
practicing "Data Science" @ Azure
Overview of Azure ML | Windows Azure | Channel 9
This provides an overview of the Azure Machine Learning Service. A browser based workbench for the data science workflow, which includes authoring, evaluating and publishing predictive models.
Predictive Modelling with Azure ML studio | Windows Azure | Channel 9
Azure Machine Learning features a pallets of modules to build a predictive model, including state of the art ML algorithms such as Scalable boosted decision trees, Bayesian Recommendation systems, Deep Neural Networks and Decision Jungles developed at Microsoft Research.
This video walks through steps to building, scoring and evaluating a predictive model in Azure Machine Learning.
Overview of Azure ML | Windows Azure | Channel 9
This provides an overview of the Azure Machine Learning Service. A browser based workbench for the data science workflow, which includes authoring, evaluating and publishing predictive models.
Predictive Modelling with Azure ML studio | Windows Azure | Channel 9
Azure Machine Learning features a pallets of modules to build a predictive model, including state of the art ML algorithms such as Scalable boosted decision trees, Bayesian Recommendation systems, Deep Neural Networks and Decision Jungles developed at Microsoft Research.
This video walks through steps to building, scoring and evaluating a predictive model in Azure Machine Learning.
Windows 7 Support Ends January 2015, 8.1 August 2014
Microsoft Windows 7 Mainstream Support to End Starting January 2015:
"Microsoft is set to pull the plug on mainstream support for Windows 7, the operating system that continues to run on more than 50% of the world's computers.
Windows 7 users across the globe will be pointed towards Microsoft's extended-support scheme from January 2015, where security fixes will be provided free of cost by the company, but hotfix updates will need to be paid for."
Microsoft Focussing Intensively on Windows 9: Announces 'Business' 'End of Support' for Windows 8.1
According to a ZDNet report, business users will need to switch from using Windows 8.1 OS, to using Windows 8.1 update 1, by 12 August 2014.
"Microsoft is set to pull the plug on mainstream support for Windows 7, the operating system that continues to run on more than 50% of the world's computers.
Windows 7 users across the globe will be pointed towards Microsoft's extended-support scheme from January 2015, where security fixes will be provided free of cost by the company, but hotfix updates will need to be paid for."
Microsoft Focussing Intensively on Windows 9: Announces 'Business' 'End of Support' for Windows 8.1
According to a ZDNet report, business users will need to switch from using Windows 8.1 OS, to using Windows 8.1 update 1, by 12 August 2014.
So, to get "updates", you must first get "update 1." :) Brilliant marketing...
Windows updates are becoming a real challenge even for regular users, not to mention admins.
Is it time for Chrome-like auto updates, that are small and fast?
Docker @ Microsoft Azure, Google Cloud, Amazon AWS
Simplified Setup and Use of Docker on Microsoft Azure | MS OpenTech:
"streamlined some of the steps required to create and manage Docker hosts in a (Azure) cloud environment"
Google Cloud Platform Blog: An update on container support on Google Cloud Platform
"Everything at Google, from Search to Gmail, is packaged and run in a Linux container. Each week we launch more than 2 billion container instances across our global data centers, and the power of containers has enabled both more reliable services and higher, more-efficient scalability. Now we’re taking another step toward making those capabilities available to developers everywhere."
"streamlined some of the steps required to create and manage Docker hosts in a (Azure) cloud environment"
Google Cloud Platform Blog: An update on container support on Google Cloud Platform
"Everything at Google, from Search to Gmail, is packaged and run in a Linux container. Each week we launch more than 2 billion container instances across our global data centers, and the power of containers has enabled both more reliable services and higher, more-efficient scalability. Now we’re taking another step toward making those capabilities available to developers everywhere."
AWS Elastic Beanstalk adds Docker support
"Elastic Beanstalk provides a simple way for you to deploy and manage Docker containers on AWS"
"Elastic Beanstalk provides a simple way for you to deploy and manage Docker containers on AWS"
db: Readings in Databases @ GitHub
rxin/db-readings · GitHub:
"A list of papers essential to understanding databases and building new data systems. The list is curated and maintained by Reynold Xin"
"A list of papers essential to understanding databases and building new data systems. The list is curated and maintained by Reynold Xin"
Friday, August 29, 2014
Angular.js CodeSchool
Shaping up with Angular.js:
Angular is #1 class on:
Pluralsight Top 100 Leaderboard
AngularJS Tutorial @ W3schools
Soon enough, most of new web sites could be build by Angular...
Or, it will just get merged into features of modern browsers...
Free training classes, sponsored by Google, produced by CodeSchool.
Videos, challenges, badges...
Google keeps pushing it...
Even without pushing, it is popular
Google keeps pushing it...
Even without pushing, it is popular
Angular is #1 class on:
Pluralsight Top 100 Leaderboard
AngularJS Tutorial @ W3schools
Or, it will just get merged into features of modern browsers...
Thursday, August 28, 2014
Samsung Gear S Smartwatch
Samsung’s New Gear S Smartwatch Features A Curved Screen And 3G Connectivity | TechCrunch:
"curved Super AMOLED display, which has a 2-inch diagonal measurement and 360×480 resolution, and a built-in 3G modem, which can let the wearable receive notification and messages, and even make and receive calls without any smartphone involved...
The Gear S is essentially a wrist-mounted smartphone... is Tizen-powered, like its Samsung Gear 2 and Gear Neo devices, and also has built-in Bluetooth and Wi-Fi connectivity, in addition to its cellular radio.
...
will be available starting in October, though pricing hasn’t been announced"
"curved Super AMOLED display, which has a 2-inch diagonal measurement and 360×480 resolution, and a built-in 3G modem, which can let the wearable receive notification and messages, and even make and receive calls without any smartphone involved...
The Gear S is essentially a wrist-mounted smartphone... is Tizen-powered, like its Samsung Gear 2 and Gear Neo devices, and also has built-in Bluetooth and Wi-Fi connectivity, in addition to its cellular radio.
...
will be available starting in October, though pricing hasn’t been announced"
ideas: Google ‘Project Wing’
Google Reveals ‘Project Wing,’ Its Two-Year Effort to Build Delivery Drones | Enterprise | WIRED:
"Google X, the tech giant’s “moonshot” lab, has spent the last two years building an aerial drone that can deliver goods across the country. The company calls the effort Project Wing."
Inside Google's Secret Drone-Delivery Program - The Atlantic
Google drones take flight in Queensland | The Australian
Very interesting design!
Vertical take-off, and flying like a plain, more efficient than helicopter drones!
Not landing to deliver, but hovering with parcel handing on a wire, to save fuel.
Self driving/flying, of course. Very clever!
"Google X, the tech giant’s “moonshot” lab, has spent the last two years building an aerial drone that can deliver goods across the country. The company calls the effort Project Wing."
Inside Google's Secret Drone-Delivery Program - The Atlantic
Google drones take flight in Queensland | The Australian
Very interesting design!
Vertical take-off, and flying like a plain, more efficient than helicopter drones!
Not landing to deliver, but hovering with parcel handing on a wire, to save fuel.
Self driving/flying, of course. Very clever!
IoT, ideas: noFree Parking
Freakonomics » Parking Is Hell: A New Freakonomics Radio Podcast
"Everybody likes free parking, including me, probably you. But just because the driver doesn’t pay for it doesn’t mean that the cost goes away. If you don’t pay for parking your car, somebody else has to pay for it. And that somebody is everybody. We pay for free parking in the prices of the goods we buy at places where the parking is free. And we pay for parking as residents when we get free parking with our housing. We pay for it as taxpayers. Increasingly, I think we’re paying for it in terms of the environmental harm that it causes."
there is many more parking lots than cars, in some cities 3-8 times!
The High Cost of Free Parking, Updated Edition: Donald Shoup: 9781932364965: Amazon.com: Books
ReThinking a Lot: The Design and Culture of Parking: Eran Ben-Joseph: 9780262017336: Amazon.com: Books
About – SFpark:
SFpark works by using smart pricing so that drivers can quickly find open spaces. To help achieve the right level of parking availability, SFpark periodically adjusts meter and garage pricing up and down to match demand. Demand-responsive pricing encourages drivers to park in underused areas and garages, reducing demand in overused areas. Through SFpark, demand-responsive pricing works to readjust parking patterns in the city so that parking is easier to find
.
"Everybody likes free parking, including me, probably you. But just because the driver doesn’t pay for it doesn’t mean that the cost goes away. If you don’t pay for parking your car, somebody else has to pay for it. And that somebody is everybody. We pay for free parking in the prices of the goods we buy at places where the parking is free. And we pay for parking as residents when we get free parking with our housing. We pay for it as taxpayers. Increasingly, I think we’re paying for it in terms of the environmental harm that it causes."
there is many more parking lots than cars, in some cities 3-8 times!
The High Cost of Free Parking, Updated Edition: Donald Shoup: 9781932364965: Amazon.com: Books
ReThinking a Lot: The Design and Culture of Parking: Eran Ben-Joseph: 9780262017336: Amazon.com: Books
About – SFpark:
SFpark works by using smart pricing so that drivers can quickly find open spaces. To help achieve the right level of parking availability, SFpark periodically adjusts meter and garage pricing up and down to match demand. Demand-responsive pricing encourages drivers to park in underused areas and garages, reducing demand in overused areas. Through SFpark, demand-responsive pricing works to readjust parking patterns in the city so that parking is easier to find
.
Windows 8.1: Windows Experience Index
How To Get Windows Experience Index (WEI) Score In Windows 8.1:
> Winsat formal
> Winsat format -restart
C:\Windows\Performance\WinSAT\DataStore\date.time.Formal.Assessment.XML
> Winsat formal
> Winsat format -restart
C:\Windows\Performance\WinSAT\DataStore\date.time.Formal.Assessment.XML
data: The Urban Village (MIT)
The Urban Village:
"Human interaction networks can be inferred from billions of anonymized mobile phone records. This study, focusing on Portugal and the UK, reveals a fundamental pattern: our social connections scale with city size. People who live in a larger town make more calls and call a larger number of different people. The scaling of this relation is 'superlinear,’ meaning that on average, if the size of a town doubles, the sum of phone contacts in the city will more than double – in a mathematically predictable way."
"Human interaction networks can be inferred from billions of anonymized mobile phone records. This study, focusing on Portugal and the UK, reveals a fundamental pattern: our social connections scale with city size. People who live in a larger town make more calls and call a larger number of different people. The scaling of this relation is 'superlinear,’ meaning that on average, if the size of a town doubles, the sum of phone contacts in the city will more than double – in a mathematically predictable way."
web: Discourse 1.0 ("like building an airplane in flight")
Introducing Discourse 1.0:
"Version numbers are arbitrary, yes, but V1 does signify something in public. We believe Discourse is now ready for wide public use."
"It’s a bit like building an airplane in flight."
Electronic Data Systems - Wikipedia, the free encyclopedia
"Version numbers are arbitrary, yes, but V1 does signify something in public. We believe Discourse is now ready for wide public use."
"It’s a bit like building an airplane in flight."
Electronic Data Systems - Wikipedia, the free encyclopedia
ML: "A Few Useful Things to Know about Machine Learning"
homes.cs.washington.edu/~pedrod/papers/cacm12.pdf
A Few Useful Things to Know about Machine Learning
Pedro Domingos, Department of Computer Science and Engineering, University of Washington, Seattle
This article summarizes twelve key lessons that machine learning researchers and practitioners have learned. These include pitfalls to avoid, important issues to focus on, and answers to common questions. My fave: First-timers are often surprised by how little time in a ma- chine learning project is spent actually doing machine learn- ing. But it makes sense if you consider how time-consuming it is to gather data, integrate it, clean it and pre-process it, and how much trial and error can go into feature design.
A Few Useful Things to Know about Machine Learning
Pedro Domingos, Department of Computer Science and Engineering, University of Washington, Seattle
This article summarizes twelve key lessons that machine learning researchers and practitioners have learned. These include pitfalls to avoid, important issues to focus on, and answers to common questions. My fave: First-timers are often surprised by how little time in a ma- chine learning project is spent actually doing machine learn- ing. But it makes sense if you consider how time-consuming it is to gather data, integrate it, clean it and pre-process it, and how much trial and error can go into feature design.
IoT Awards: Wireless Remote Chess
2013 IoT Internet of Things Awards | Wireless Remote Chess - 2013 IoT Internet of Things Awards:
"a remote chess board using an Arduino powered magnet system."
"a remote chess board using an Arduino powered magnet system."
Monday, August 25, 2014
ideas: Making Better Decisions
A 4-Step Process for Making Better Decisions:
Problem: “four villains”... making decisions:
Problem: “four villains”... making decisions:
- We have too narrow of focus. We are guilty of “spotlight thinking.” We focus on the obvious and visible. We miss important facts outside our immediate view.
- We fall into confirmation bias. We develop a quick belief about something and then seek out information that confirms that belief.
- We get caught in short-term emotion. We are too emotionally connected to the decision and struggle with being appropriately detached.
- We are guilty of overconfidence. We assume that we know more than we actually do know and jump to conclusions, thinking we can accurately predict the future.
- Widen your options.
- Reality-test your assumptions.
- Attain distance before deciding.
- Prepare to be wrong.
How ( idea == $12 B )
The $12 Billion Dollar Idea! | LinkedIn:
Charles M. Schwab, with J.P. Morgan;
preparation is the key:
Charles M. Schwab, with J.P. Morgan;
preparation is the key:
- Think big
- Have faith in your ideas
- Have all of the facts
- Preparation is the key to success
- Find people who believe in you
- Take advantage of opportunities that are presented to you
- Become the most knowledgeable person in your field
Creativity vs. Innovation
What is the Difference between Creativity and Innovation? | Destination Innovation: "
"main difference between creativity and innovation is the focus. Creativity is about unleashing the potential of the mind to conceive new ideas.
...
Innovation is about introducing change into relatively stable systems. It’s also concerned with the work required to make an idea viable..."
- Creativity is the capability or act of conceiving something original or unusual
- Innovation is the implementation of something new.
- Invention is the creation of something that has never been made before
and is recognized as the product of some unique insight."
- Creativity is about coming up with the big idea.
- Innovation is about executing the idea
- converting the idea into a successful business.
...
Innovation is about introducing change into relatively stable systems. It’s also concerned with the work required to make an idea viable..."
"creativity is a skill and innovation is a process."
Innovation vs. Creativity @ SlideShare
China's OS
China Developing an Operating System to Take on Microsoft, Google and Apple - NYTimes.com:
"China could have a new homegrown operating system by October to take on imported rivals such as Microsoft, Google and Apple, Xinhua, the government news agency, reported....
In May, China banned government use of Windows 8, Microsoft’s latest operating system,...
In March 2013, China said that Google had too much control over the country’s smartphone industry via its Android mobile operating system and had discriminated against some local businesses..."
"China could have a new homegrown operating system by October to take on imported rivals such as Microsoft, Google and Apple, Xinhua, the government news agency, reported....
In May, China banned government use of Windows 8, Microsoft’s latest operating system,...
In March 2013, China said that Google had too much control over the country’s smartphone industry via its Android mobile operating system and had discriminated against some local businesses..."
That would be a derivative of Linux, most likely... in Chinese only...
Not a hard thing to do... But, historically, nationalism usually turn out bad...
IoT: Gmail for Things
Sending mail from a printer, scanner or app - Google Apps Administrator Help:
You can set up your on-premises multifunction printer, scanner, fax, or application to send email through Google Apps. The three available options are: SMTP relay service, Gmail SMTP server and Restricted Gmail SMTP server.
SMTP: smtp.gmail.com
Port 465 (SSL required)
Port 587 (TLS required)
2000 Messages per day.
What Are the Gmail SMTP Settings? - About Email
You can set up your on-premises multifunction printer, scanner, fax, or application to send email through Google Apps. The three available options are: SMTP relay service, Gmail SMTP server and Restricted Gmail SMTP server.
Port 465 (SSL required)
Port 587 (TLS required)
2000 Messages per day.
What Are the Gmail SMTP Settings? - About Email
IoT: Market Estimates And Forecasts
Internet of Things By The Numbers: Market Estimates And Forecasts:
"Gartner estimates that IoT product and service suppliers will generate incremental revenue exceeding $300 billion in 2020. IDC forecasts that the worldwide market for IoT solutions will grow from $1.9 trillion in 2013 to $7.1 trillion in 2020.
...
GE estimating that the “Industrial Internet” has the potential to add $10 to $15 trillion (with a “T”) to global GDP over the next 20 years, and Cisco increasing to $19 trillion its forecast for the economic value created by the “Internet of Everything” in the year 2020.
"Gartner estimates that IoT product and service suppliers will generate incremental revenue exceeding $300 billion in 2020. IDC forecasts that the worldwide market for IoT solutions will grow from $1.9 trillion in 2013 to $7.1 trillion in 2020.
...
GE estimating that the “Industrial Internet” has the potential to add $10 to $15 trillion (with a “T”) to global GDP over the next 20 years, and Cisco increasing to $19 trillion its forecast for the economic value created by the “Internet of Everything” in the year 2020.
“This is the largest growth in the history of humans,”..."
At least this is largest (self-serving) hype so far :)
photo, html5: iPhone vs. "pro" camera
How does the iPhone hold up against a serious camera? | The Verge:
It's Fujifilm's X-T1 against the iPhone 5S in a showdown
Nice comparison, and example of using "split overlap images" effect
Strange that so far there are no "replace-able" lenses for smartphones.
Also strange that there are no more "SmartCameras", running apps, only Samsung's experiment.
It's Fujifilm's X-T1 against the iPhone 5S in a showdown
Nice comparison, and example of using "split overlap images" effect
Strange that so far there are no "replace-able" lenses for smartphones.
Also strange that there are no more "SmartCameras", running apps, only Samsung's experiment.
Sunday, August 24, 2014
Azure DocumentDB
Azure DocumentDB
A fully-managed, highly-scalable, NoSQL document database service.
- Rich query over a schema-free JSON data model
- Transactional execution of JavaScript logic
- Scalable storage and throughput
- Tunable consistency
- Rapid development with familiar technologies
- Blazingly fast and write optimized database service
vs MongoDB and similar... nice.
sw pattern: Strangler Application
This pattern was mentioned in an excellent (and popular) Pluralsight class:
Encapsulation and SOLID - Online Training Course for Developers
by Mark Seemann
Encapsulation and SOLID - Online Training Course for Developers
by Mark Seemann
in section: The Liskov Substitution Principle > Append-Only
as an example how to change a class that is used by replacing it over time.
Origin: StranglerApplication by Martin Fowler
"gradually create a new system around the edges of the old, letting it grow slowly over several years until the old system is strangled."
Legacy Application Strangulation : Case Studies - Paul Hammant's blog
"Strangulation of a legacy or undesirable solution is a safe way to phase one thing our for something better, cheaper, or more expandable. You make something new that obsoletes a small percentage of something old, and put them live together. You do some more work in the same style, and go live again (rinse, repeat). Here’s a view of that (for web-apps)"
Agile From The Ground Up: Strangulation: The Pattern of Choice for Risk Mitigating, ROI-Maximizing Agilists When Rewriting Legacy Systems
The most important reason to consider a strangler application over a cut-over rewrite is reduced risk. A strangler can give value steadily and the frequent releases allow you to monitor its progress more carefully. -- Martin Fowler, Chief Scientist, ThoughtWorks, on The Strangler Pattern
The Strangler Pipeline: Winning over Hearts and Minds @ InfoQ
by by Steve Smith
as an example how to change a class that is used by replacing it over time.
Origin: StranglerApplication by Martin Fowler
"gradually create a new system around the edges of the old, letting it grow slowly over several years until the old system is strangled."
Legacy Application Strangulation : Case Studies - Paul Hammant's blog
"Strangulation of a legacy or undesirable solution is a safe way to phase one thing our for something better, cheaper, or more expandable. You make something new that obsoletes a small percentage of something old, and put them live together. You do some more work in the same style, and go live again (rinse, repeat). Here’s a view of that (for web-apps)"
Agile From The Ground Up: Strangulation: The Pattern of Choice for Risk Mitigating, ROI-Maximizing Agilists When Rewriting Legacy Systems
The most important reason to consider a strangler application over a cut-over rewrite is reduced risk. A strangler can give value steadily and the frequent releases allow you to monitor its progress more carefully. -- Martin Fowler, Chief Scientist, ThoughtWorks, on The Strangler Pattern
The Strangler Pipeline: Winning over Hearts and Minds @ InfoQ
by by Steve Smith
IoT PC: Open Hardware Monitor
Open Hardware Monitor - Core temp, fan speed and voltages in a free software gadget:
"The Open Hardware Monitor is a free open source software that monitors temperature sensors, fan speeds, voltages, load and clock speeds of a computer.
...
The free Open Hardware Monitor software runs on Microsoft Windows with the .NET Framework version 2.0 and above. On Linux systems the Open Hardware Monitor requires Mono with WinForms."
"The Open Hardware Monitor is a free open source software that monitors temperature sensors, fan speeds, voltages, load and clock speeds of a computer.
...
The free Open Hardware Monitor software runs on Microsoft Windows with the .NET Framework version 2.0 and above. On Linux systems the Open Hardware Monitor requires Mono with WinForms."
Solving Sudoku with Microsoft Solver Foundation (MSF) library
Test Run - Solving Sudoku Puzzles Using the MSF Library @ MSDN Magazine
by Dr. James McCaffrey
"A Sudoku puzzle is an example of what’s called a "Constraint Satisfaction Problem" (CSP).
One way to tackle CSPs programmatically is to use the Microsoft Solver Foundation (MSF) library."
Solver Foundation @ Microsoft DevLabs
"Solver Foundation makes it easier to build and solve real optimization models."
Microsoft Solver Foundation 3.1 @ MSDN
"Microsoft Solver Foundation 3.1 is a set of development tools for mathematical simulation, optimization, and modeling that relies on a managed execution environment and the common language runtime (CLR). You can use any CLR language including Visual C#, Visual Basic, Visual C++, Visual F#, and IronPython."
by Dr. James McCaffrey
"A Sudoku puzzle is an example of what’s called a "Constraint Satisfaction Problem" (CSP).
One way to tackle CSPs programmatically is to use the Microsoft Solver Foundation (MSF) library."
Solver Foundation @ Microsoft DevLabs
"Solver Foundation makes it easier to build and solve real optimization models."
Microsoft Solver Foundation 3.1 @ MSDN
"Microsoft Solver Foundation 3.1 is a set of development tools for mathematical simulation, optimization, and modeling that relies on a managed execution environment and the common language runtime (CLR). You can use any CLR language including Visual C#, Visual Basic, Visual C++, Visual F#, and IronPython."
Saturday, August 23, 2014
web: Mobile First => Offline First
presentation: Offline First: @ InfoQ
by Caolan McMahon
Since a few years ago, developing web apps to be "mobile first" has become industry standard. Now, apps are being developed to utilize offline features of modern browsers to make them usable even without network connection, and more efficient with connection.
Using couch.db for data synchronization
There is even JavaScript version, called http://pouchdb.com/
Offline First!
Hood.ie - Very fast web app development
by Caolan McMahon
Since a few years ago, developing web apps to be "mobile first" has become industry standard. Now, apps are being developed to utilize offline features of modern browsers to make them usable even without network connection, and more efficient with connection.
Using couch.db for data synchronization
There is even JavaScript version, called http://pouchdb.com/
Offline First!
Hood.ie - Very fast web app development
HTC One M8 Windows vs Android Battery
Same phone hardware (except maybe LTE frequencies)
HTC One M8 Windows vs Android Battery Wars - SlashGear:
After 1 day, 2 hours, 41 minutes
Android HTC One: 68% battery
Windows HTC One: 81% battery
HTC One M8 Windows vs Android Battery Wars - SlashGear:
After 1 day, 2 hours, 41 minutes
Android HTC One: 68% battery
Windows HTC One: 81% battery
Android is based on Java (clone) VM, maybe not as efficient as Windows WinRT (native code). Next version "L" may improve that...
C++14
C++14 Is Here: New Features @ InfoQ
"C++14, the new C++ standard succeeding C++11, has been finally approved and is heading to ISO for publication this year. While improvements in C++14 are "deliberately tiny" compared to C++11, says C++ creator Bjarne Stroustrup, they still "add significant convenience for users" and are a step on the route to make C++ "more novice friendly."
"C++14, the new C++ standard succeeding C++11, has been finally approved and is heading to ISO for publication this year. While improvements in C++14 are "deliberately tiny" compared to C++11, says C++ creator Bjarne Stroustrup, they still "add significant convenience for users" and are a step on the route to make C++ "more novice friendly."
auto lambda = [](auto x, auto y) {return x + y;};
IoT: App vNext
App vNext:
"App vNext is a team of software builders and designers focused on building the Internet of Things with web and mobile apps as well as devices like Microsoft Kinect for Windows and Leap Motion sensors utilizing speech, audio, video, MIDI, touch and gesture recognition, all powered by cloud (and we actually know the real meaning of the word).
The team is led by industry veteran Carl Franklin, whose many years of experience with a wide range of technologies serves as a compass for the entire team."
"App vNext is a team of software builders and designers focused on building the Internet of Things with web and mobile apps as well as devices like Microsoft Kinect for Windows and Leap Motion sensors utilizing speech, audio, video, MIDI, touch and gesture recognition, all powered by cloud (and we actually know the real meaning of the word).
The team is led by industry veteran Carl Franklin, whose many years of experience with a wide range of technologies serves as a compass for the entire team."
ASP.NET vNext Projects: XML => JSON
ASP.NET vNext Projects Get Simpler:
"project.json file that holds the build information for the ASP.NET vNext project"
JSON is current proffered as a "web services" format:
WebAPI default is using JSON/REST, while WCF default was XML/SOAP.
Now, even config files are moving from XML to JSON.
Next step: GUI templates, such as XAML.
There are some rumors that is coming also...
"project.json file that holds the build information for the ASP.NET vNext project"
JSON is current proffered as a "web services" format:
WebAPI default is using JSON/REST, while WCF default was XML/SOAP.
Now, even config files are moving from XML to JSON.
Next step: GUI templates, such as XAML.
There are some rumors that is coming also...
Friday, August 22, 2014
tool: CocosSharp by Xamarin
Xamarin tools emable mobile development for iOS and Android possible in C#/.net, and XamarinForms enable portable "forms" GUI for mobile platforms.
(Almost like HTML5, but in .NET). Now, portable mobile graphical programming is also possible by an open source library:
CocosSharp: Xamarin Forks Cocos2D-XNA
"Xamarin has forked Cocos2D-XNA, a 2D/3D game development framework, creating a cross-platform library that can be included in PCL projects.
Xamarin has decided to stop contributing to Cocos2D-XNA, forking instead the framework and creating a new library called CocosSharp which is open sourced on GitHub under a MIT license. For the beginning, Xamarin has refactored the source code in order to create “an idiomatic version of Cocos2D for the .NET environment.”
Introducing CocosSharp | Xamarin Blog:
"CocosSharp blends the power of the Cocos2D programming model with C# and the .NET Framework."
(Almost like HTML5, but in .NET). Now, portable mobile graphical programming is also possible by an open source library:
CocosSharp: Xamarin Forks Cocos2D-XNA
"Xamarin has forked Cocos2D-XNA, a 2D/3D game development framework, creating a cross-platform library that can be included in PCL projects.
Xamarin has decided to stop contributing to Cocos2D-XNA, forking instead the framework and creating a new library called CocosSharp which is open sourced on GitHub under a MIT license. For the beginning, Xamarin has refactored the source code in order to create “an idiomatic version of Cocos2D for the .NET environment.”
Introducing CocosSharp | Xamarin Blog:
"CocosSharp blends the power of the Cocos2D programming model with C# and the .NET Framework."
Fabric.js Javascript Canvas/SVG Library
Fabric.js Javascript Canvas Library:
"Fabric.js is a powerful and simple
Javascript HTML5 canvas library
Fabric provides interactive object model on top of canvas element
Fabric also has SVG-to-canvas (and canvas-to-SVG) parser"
The Best Print API/SDK Solution | print.io
kangax/fabric.js · GitHub
Print-On-Demand Network Print.io Debuts Hellopics, A Shutterfly Alternative That Competes On Price And Selection | TechCrunch
The Best Print API/SDK Solution | print.io
printio.ru
"Fabric.js is a powerful and simple
Javascript HTML5 canvas library
Fabric provides interactive object model on top of canvas element
Fabric also has SVG-to-canvas (and canvas-to-SVG) parser"
The Best Print API/SDK Solution | print.io
kangax/fabric.js · GitHub
Print-On-Demand Network Print.io Debuts Hellopics, A Shutterfly Alternative That Competes On Price And Selection | TechCrunch
The Best Print API/SDK Solution | print.io
printio.ru
Thursday, August 21, 2014
IoT: Bluetooth Smart
Bluetooth Smart | Bluetooth Technology Website:
"Bluetooth® Smart is the intelligent, power-friendly version of Bluetooth wireless technology. While the power-efficiency of Bluetooth Smart makes it perfect for devices needing to run off a tiny battery for long periods, the magic of Bluetooth Smart is its ability to work with an application on the smartphone or tablet you already own.
Bluetooth low energy - Wikipedia, the free encyclopedia
Bluetooth low energy or Bluetooth LE, marketed as Bluetooth Smart, is a wireless personal area network technology designed and marketed by the Bluetooth Special Interest Group aimed at novel applications in the healthcare, fitness, security, and home entertainment industries.[1] Compared to Classic Bluetooth, Bluetooth Smart is intended to provide considerably reduced power consumption and cost while maintaining a similar communication range.
"Bluetooth® Smart is the intelligent, power-friendly version of Bluetooth wireless technology. While the power-efficiency of Bluetooth Smart makes it perfect for devices needing to run off a tiny battery for long periods, the magic of Bluetooth Smart is its ability to work with an application on the smartphone or tablet you already own.
Bluetooth low energy - Wikipedia, the free encyclopedia
Bluetooth low energy or Bluetooth LE, marketed as Bluetooth Smart, is a wireless personal area network technology designed and marketed by the Bluetooth Special Interest Group aimed at novel applications in the healthcare, fitness, security, and home entertainment industries.[1] Compared to Classic Bluetooth, Bluetooth Smart is intended to provide considerably reduced power consumption and cost while maintaining a similar communication range.
quote about Uber
Software Above the Level of a Single Device: The Implications: Solid 2014 - O'Reilly Conferences, May 21 - 22, 2014, San Francisco, CA:
Aaron Levie of Box.net wrote on Twitter:
“Uber is a $3.5 billion lesson in building
for how the world *should* work
instead of optimizing for how the world *does* work."
Aaron Levie on Twitter: Uber is a $3.5 billion lesson in building for how the world *should* work instead of optimizing for how the world *does* work.
Aaron Levie of Box.net wrote on Twitter:
“Uber is a $3.5 billion lesson in building
for how the world *should* work
instead of optimizing for how the world *does* work."
Aaron Levie on Twitter: Uber is a $3.5 billion lesson in building for how the world *should* work instead of optimizing for how the world *does* work.
quote: The Skill of Writing
The Skill of Writing by Tim O'Reilly
"the skill of writing is to create a context
in which other people can think."
- Edwin Schlossberg
"the skill of writing is to create a context
in which other people can think."
- Edwin Schlossberg
IoT vs IosT: Internet of smart Things
Podcast: Design for how the world should work - O'Reilly Radar: "Josh Clark and Tim O’Reilly on designing beyond screens, and beyond a single device."
Google: IoT: the devices are dumb sensors, the smarts are in the cloud
Apple: IosT (or iOSt :) the devices are smart, the could is a dumb storage
Google: IoT: the devices are dumb sensors, the smarts are in the cloud
Apple: IosT (or iOSt :) the devices are smart, the could is a dumb storage
ideas: "conducting" economy
Mohamed El-Erian On Our Uncertain Economic Future | On Point with Tom Ashbrook:
"world economy... We are are headed up, or we’re headed down. And the odds are 50/50. Geopolitical crises are mounting, he says. No one’s in charge. Rational outcomes may not prevail. Investors are too confident. Businesses are too cautious. But the road we’re on is ending, he says. "
"world economy... We are are headed up, or we’re headed down. And the odds are 50/50. Geopolitical crises are mounting, he says. No one’s in charge. Rational outcomes may not prevail. Investors are too confident. Businesses are too cautious. But the road we’re on is ending, he says. "
A nice metaphor: "even great musicians do need a conductor to play well in an orchestra." Economy of countries and the world would benefit from better "conducting", not to control, but to align and direct.
info: Weather Satellites?
podcast: What Happens To Forecasting When America’s Weather Satellites Die? | On Point with Tom Ashbrook
"US weather satellite system is in trouble.
Aging out, without guaranteed replacement.
We could soon be flying blind.
Depending on the Chinese military (satellites) to forecast America’s weather?"
"US weather satellite system is in trouble.
Aging out, without guaranteed replacement.
We could soon be flying blind.
Depending on the Chinese military (satellites) to forecast America’s weather?"
IoT: Web at 25: internet of things
Vint Cerf on the Web at 25: internet of things (Wired UK):
"Vint Cerf is a co-chair of Campus Party, a cofounder of the Internet Society and known as one of the "fathers of the internet". Here he explains how the internet of things will incorporate utilities, appliances and Star Trek."
"Vint Cerf is a co-chair of Campus Party, a cofounder of the Internet Society and known as one of the "fathers of the internet". Here he explains how the internet of things will incorporate utilities, appliances and Star Trek."
Wednesday, August 20, 2014
Mobile Web vs. "Native" Apps
The broken Promise of the Mobile Web - Rick Strahl's Web Log:
"Apps currently rule the roost when it comes to mobile devices and the applications that run on them. If there’s something that you need on your mobile device your first step usually is to look for an app, not use your browser. But native app development remains a pain in the butt, with the requirement to have to support 2 or 3 completely separate platforms.
...
But, it doesn’t have to be this way"
"Apps currently rule the roost when it comes to mobile devices and the applications that run on them. If there’s something that you need on your mobile device your first step usually is to look for an app, not use your browser. But native app development remains a pain in the butt, with the requirement to have to support 2 or 3 completely separate platforms.
...
But, it doesn’t have to be this way"
Message Queues
Dissecting Message Queues | Brave New Geek:
Brokerless
Brokerless
- nanomsg
- ZeroMQ
- ActiveMQ
- gnatsd
- Kafka
- Kestrel
- NATS
- NSQ
- RabbitMQ
- Redis
innovation: Robots As Furniture?
Robots As Furniture? | Innovation | Smithsonian:
"A team of Swiss researchers has created robots that self-assemble into tables and chairs—but they could also be used to help the elderly and disabled."
"A team of Swiss researchers has created robots that self-assemble into tables and chairs—but they could also be used to help the elderly and disabled."
Tuesday, August 19, 2014
Microsoft: AI, ML, Cortana, Project Adam
John Platt on AI, Cortana, and Project Adam | Microsoft Research Luminaries | Channel 9:
"Microsoft researcher John Platt discusses his enthusiasm for artificial intelligence and machine learning. John is a Microsoft distinguished scientist and deputy managing director of Microsoft Research Redmond who has been working in AI now for 32 years."
John Platt (computer scientist) - Wikipedia, the free encyclopedia
Microsoft Research shows off advances in artificial intelligence with Project Adam | Next at Microsoft
Machine learning for dummies | Next at Microsoft
http://embracinguncertainty.info/
SCIENTISTS ARE BUILDING INTELLIGENCE INTO COMPUTERS BY ALLOWING THEM TO LEARN FROM EXPERIENCE.
"Microsoft researcher John Platt discusses his enthusiasm for artificial intelligence and machine learning. John is a Microsoft distinguished scientist and deputy managing director of Microsoft Research Redmond who has been working in AI now for 32 years."
John Platt (computer scientist) - Wikipedia, the free encyclopedia
Microsoft Research shows off advances in artificial intelligence with Project Adam | Next at Microsoft
Machine learning for dummies | Next at Microsoft
http://embracinguncertainty.info/
SCIENTISTS ARE BUILDING INTELLIGENCE INTO COMPUTERS BY ALLOWING THEM TO LEARN FROM EXPERIENCE.
"Learning from data"
lecture by Professor Christopher Bishop
Sunday, August 17, 2014
ML: Machine Learning on Azure & .NET (!)
podcast: "Machine Learning in the Cloud with Seth Juarez" @.NET Rocks!
A nice story / interview about techniques and tools for ML
A nice story / interview about techniques and tools for ML
"Machine learning traditionally requires complex software, high-end computers, and seasoned data scientists who understand it all. For many startups and even large enterprises, it's simply too hard and expensive. Enter Azure Machine Learning, a fully-managed cloud service for predictive analytics. By leveraging the cloud, Azure Machine Learning makes machine learning more accessible to a much broader audience. Predicting future outcomes is now attainable."
http://azure.microsoft.com/en-us/documentation/services/machine-learning/
Blog Post: Video Tutorials on Microsoft Azure Machine Learning @ Mund consulting
Machine Learning for .NET http://numl.netsethjuarez/numl · GitHub
numl Documentation
"This library is designed to ease the use of standard Machine Learning algorithms by abstracting the conversion from standard collections of data types into their numerical representation. The numerical representations of these data type collections are then used to generate models to do prediction (Supervised Models) or data discovery (Unsupervised Models)."
http://azure.microsoft.com/en-us/documentation/services/machine-learning/
Blog Post: Video Tutorials on Microsoft Azure Machine Learning @ Mund consulting
Machine Learning for .NET http://numl.netsethjuarez/numl · GitHub
numl Documentation
"This library is designed to ease the use of standard Machine Learning algorithms by abstracting the conversion from standard collections of data types into their numerical representation. The numerical representations of these data type collections are then used to generate models to do prediction (Supervised Models) or data discovery (Unsupervised Models)."
data api: Edmunds Developer Network
Edmunds Developer Network - Welcome to the Edmunds API:
"The vast majority of the automotive data that powers Edmunds.com's website, iOS app, Android app and tools has been made available to the larger developer community for FREE.
This API encompasses a wide variety of vehicle-centric datasets including vehicle specs (e.g. make and model names, trim, options, colors, equipment, engine, MPG, ...etc), consumer ratings and reviews, stock photos, vehicle pricing and maintenance schedules just to name a few. The API has the biggest dataset Edmunds.com has to offer."
Edmunds Developer Portal I/O Docs (API CONSOLE), very nice!
http://edmunds.mashery.com/
Intel Mashery: API Management, API Gateways, Strategy Services and Developer Platform Services
"The vast majority of the automotive data that powers Edmunds.com's website, iOS app, Android app and tools has been made available to the larger developer community for FREE.
This API encompasses a wide variety of vehicle-centric datasets including vehicle specs (e.g. make and model names, trim, options, colors, equipment, engine, MPG, ...etc), consumer ratings and reviews, stock photos, vehicle pricing and maintenance schedules just to name a few. The API has the biggest dataset Edmunds.com has to offer."
Edmunds Developer Portal I/O Docs (API CONSOLE), very nice!
http://edmunds.mashery.com/
Intel Mashery: API Management, API Gateways, Strategy Services and Developer Platform Services
IoT: Robustness principle?
Robustness principle - Wikipedia, the free encyclopedia:
"Be conservative in what you send, be liberal in what you accept"
The principle is also known as Postel's law, after Internet pioneer Jon Postel, who wrote in an early specification of the Transmission Control Protocol that:[1]
"Be conservative in what you send, be liberal in what you accept"
The principle is also known as Postel's law, after Internet pioneer Jon Postel, who wrote in an early specification of the Transmission Control Protocol that:[1]
'TCP implementations should follow a general principle of robustness: be conservative in what you do, be liberal in what you accept from others.'
In other words, code that sends commands or data to other machines (or to other programs on the same machine) should conform completely to the specifications, but code that receives input should accept non-conformant input as long as the meaning is clear.
In other words, code that sends commands or data to other machines (or to other programs on the same machine) should conform completely to the specifications, but code that receives input should accept non-conformant input as long as the meaning is clear.
Now that the Internet is expanding to "Things", it is important that new protocols, APIs and tools keep the system robust, simple and expandable...
For many cases, in particular of mobile (thing) devices, it is more effective to have a thing/device behind an messaging gateway on internet than directly connected. A "thing" and gateway could use private, optimized protocols, and doing "translation" as needed.
In fact this may be preferred method for most of non-server devices and apps, and is different from most of popular internet protocols. Technically, this is "distributed messaging" and in most popular messaging protocols gateways / brokers are not distributed. But email is! Could enhanced email protocols be useful for IoT?
For many cases, in particular of mobile (thing) devices, it is more effective to have a thing/device behind an messaging gateway on internet than directly connected. A "thing" and gateway could use private, optimized protocols, and doing "translation" as needed.
In fact this may be preferred method for most of non-server devices and apps, and is different from most of popular internet protocols. Technically, this is "distributed messaging" and in most popular messaging protocols gateways / brokers are not distributed. But email is! Could enhanced email protocols be useful for IoT?
ScratchJr: App vs. Web
W3C is hosted by MIT, and Scratch, a visual tool for learning programming is also crated in MIT Media Lab, but Scratch is not a web based. Version 1.0 was based on Java, (current) version 2.0 was based on Adobe Flash, and there is also ScratchJr that is an iPad app (with idea to make Android version if they get funding).
It would be better, and more effective, if the tool was HTML5 based, I think.
Not that they didn't try... it is just that "native app" won this time...
We're seeking contributors to help finish our HTML5 Scratch player (now open sourced!) - Discuss Scratch
and then they gave up:
HTML5 Player - Scratch Wiki
The Scratch Team is not designing the HTML5 Player anymore. Instead, the Scratch community are the ones who can help design it, as the current source code is released
ScratchJr - Scratch Wiki:
"ScratchJr is a mobile/tablet application released on July 30th, 2014 for the iPad and developed by Tufts University, with grants from the National Science Foundation, to allow young kids to easily learn to program with a system based on Scratch. The goal of ScratchJr is to "develop and study the next generation of innovative technologies and curricular materials to support integrated STEM learning in early childhood education."[1] A version for iPads is currently available."
ScratchJr on the App Store on iTunes
ScratchJr: Coding for kindergarten | MIT News Office
Scratch - Imagine, Program, Share
It would be better, and more effective, if the tool was HTML5 based, I think.
Not that they didn't try... it is just that "native app" won this time...
We're seeking contributors to help finish our HTML5 Scratch player (now open sourced!) - Discuss Scratch
and then they gave up:
HTML5 Player - Scratch Wiki
The Scratch Team is not designing the HTML5 Player anymore. Instead, the Scratch community are the ones who can help design it, as the current source code is released
ScratchJr - Scratch Wiki:
"ScratchJr is a mobile/tablet application released on July 30th, 2014 for the iPad and developed by Tufts University, with grants from the National Science Foundation, to allow young kids to easily learn to program with a system based on Scratch. The goal of ScratchJr is to "develop and study the next generation of innovative technologies and curricular materials to support integrated STEM learning in early childhood education."[1] A version for iPads is currently available."
ScratchJr on the App Store on iTunes
ScratchJr: Coding for kindergarten | MIT News Office
Scratch - Imagine, Program, Share
Saturday, August 16, 2014
web: Online Interior Design
Friday, August 15, 2014
IoT: protocol "Thread" by Nest and others
Nest Nurtures New IoT Protocol | EE Times:
"Even before its $3.2 billion acquisition by Google, Nest Labs was quietly building into all its products a low-power mesh networking protocol. Now it hopes to make it an industry standard, called Thread, for home automation devices.
A handful of chip and system makers, including ARM, Freescale, Silicon Labs, and Samsung, have joined the ad hoc Thread Group led by Nest. It aims to release the royalty-free protocol this year to anyone who joins the group."
Nest and Samsung launch Thread, a wireless mesh standard for the smart home — Tech News and Analysis
Thread Group > Home
"It’s hard to get devices to talk to one another. And once they do, the connection is often spotty and power hungry. Thread changes all that. It’s a mesh network designed to securely and reliably connect hundreds of products around the home – without blowing through battery life."
Google's Nest pushes a new IoT protocol for wireless sensor networks | Embedded
Samsung and Nest collaborate on 'internet of things' standards (Wired UK)
"Nest already uses the wireless network protocol Thread for its smart thermostat and smoke and carbon monoxide alarm. It will, however, also work in conjunction with other platforms adjoined to different IoT groups."
"Even before its $3.2 billion acquisition by Google, Nest Labs was quietly building into all its products a low-power mesh networking protocol. Now it hopes to make it an industry standard, called Thread, for home automation devices.
A handful of chip and system makers, including ARM, Freescale, Silicon Labs, and Samsung, have joined the ad hoc Thread Group led by Nest. It aims to release the royalty-free protocol this year to anyone who joins the group."
Nest and Samsung launch Thread, a wireless mesh standard for the smart home — Tech News and Analysis
Thread Group > Home
"It’s hard to get devices to talk to one another. And once they do, the connection is often spotty and power hungry. Thread changes all that. It’s a mesh network designed to securely and reliably connect hundreds of products around the home – without blowing through battery life."
Google's Nest pushes a new IoT protocol for wireless sensor networks | Embedded
Samsung and Nest collaborate on 'internet of things' standards (Wired UK)
"Nest already uses the wireless network protocol Thread for its smart thermostat and smoke and carbon monoxide alarm. It will, however, also work in conjunction with other platforms adjoined to different IoT groups."
IoT: Samsung += SmartThings - $200M
SmartThings Acquired By Samsung For Around $200 Million | TechCrunch
"Apt for their name, SmartThings builds… smart things. Light switches. Water sensors. Door locks. All packaged up and prepped to hook into their iOS/Android app, which lets you control and monitor these devices from afar.
SmartThings had raised about $15.5 million to date (not including the $1.2 million raised on Kickstarter), with its latest round being a $12.5 million Series A back in November 2013."
"Apt for their name, SmartThings builds… smart things. Light switches. Water sensors. Door locks. All packaged up and prepped to hook into their iOS/Android app, which lets you control and monitor these devices from afar.
SmartThings had raised about $15.5 million to date (not including the $1.2 million raised on Kickstarter), with its latest round being a $12.5 million Series A back in November 2013."
Thursday, August 14, 2014
Combinatorics in .NET
Permutations, Combinations, and Variations using C# Generics - CodeProject
Combinatorics in .NET – Part I – Permutations, Combinations & Variations | try { } catch { } me:
https://github.com/eoincampbell/combinatorics
https://nuget.org/packages/Combinatorics
Permutations(3):
Combinatorics in .NET – Part I – Permutations, Combinations & Variations | try { } catch { } me:
https://github.com/eoincampbell/combinatorics
https://nuget.org/packages/Combinatorics
Permutations(3):
- 1,2,3
- 1,3,2
- 2,1,3
- 2,3,1
- 3,1,2
- 3,2,1
Wednesday, August 13, 2014
Xamarin += Charles Petzold
Yet Another Podcast #128: The Legendary Charles Petzold | Jesse Liberty:
Xamarin (.NET tools for iOS and Android) is gaining popularity, and now with Charles Petzold on board it will certainly have excellent documentation! In particular Xamarin Forms make a credible portable mobile GUI platform.
Xamarin (.NET tools for iOS and Android) is gaining popularity, and now with Charles Petzold on board it will certainly have excellent documentation! In particular Xamarin Forms make a credible portable mobile GUI platform.
IoT: Red Hat, security and messaging
Here's How Red Hat Entered the Massive Internet of Things Market Without Even Trying (GE, RHT):
"Red Hat, we need a slimmed-down version of Red Hat Enterprise Linux to go on our products, because we can't have our refrigerator or our TV all of a sudden getting hacked and spouting spam or people turning on the cameras,' etc.
...
So Red Hat was basically pushed into the Internet of Things, by having robust security and messaging systems..."
"Red Hat, we need a slimmed-down version of Red Hat Enterprise Linux to go on our products, because we can't have our refrigerator or our TV all of a sudden getting hacked and spouting spam or people turning on the cameras,' etc.
...
So Red Hat was basically pushed into the Internet of Things, by having robust security and messaging systems..."
IoT: Microsoft's startups accelerator
Meet the 10 startups in Microsoft's new Internet of Things and home automation accelerator - GeekWire:
"a closer look at the 10 companies Microsoft has picked to participate in the program, which begins this fall in Redmond."
"a closer look at the 10 companies Microsoft has picked to participate in the program, which begins this fall in Redmond."
Tuesday, August 12, 2014
Json.NET 6.0, JSON Merge, JSONPath
Json.NET Updates: Merge, Dependency Injection, F# and JSONPath Support: @ InfoQ
"several new features have been added, including several F# specific features, support for JSONPath querying, ability to integrate with Dependency Injection frameworks, ability to Merge JSON objects and more."
James Newton-King - Json.NET 6.0 Release 4 - JSON Merge, Dependency Injection
JSONPath - XPath for JSON
The following XPath expression
/store/book[1]/title
would look like
x.store.book[0].title
or
x['store']['book'][0]['title']
JSONPath expressions can use the dot–notation
$.store.book[0].title
or the bracket–notation
$['store']['book'][0]['title']
Expressions of the underlying scripting language (<expr>) can be used as an alternative to explicit names or indices as in
$.store.book[(@.length-1)].title
using the symbol '@' for the current object. Filter expressions are supported via the syntax ?(<boolean expr>) as in
$.store.book[?(@.price < 10)].title
"several new features have been added, including several F# specific features, support for JSONPath querying, ability to integrate with Dependency Injection frameworks, ability to Merge JSON objects and more."
James Newton-King - Json.NET 6.0 Release 4 - JSON Merge, Dependency Injection
JSONPath - XPath for JSON
The following XPath expression
/store/book[1]/title
would look like
x.store.book[0].title
or
x['store']['book'][0]['title']
JSONPath expressions can use the dot–notation
$.store.book[0].title
or the bracket–notation
$['store']['book'][0]['title']
Expressions of the underlying scripting language (<expr>) can be used as an alternative to explicit names or indices as in
$.store.book[(@.length-1)].title
using the symbol '@' for the current object. Filter expressions are supported via the syntax ?(<boolean expr>) as in
$.store.book[?(@.price < 10)].title
XPath | JSONPath | Description |
/ | $ | the root object/element |
. | @ | the current object/element |
/ | . or [] | child operator |
.. | n/a | parent operator |
// | .. | recursive descent. JSONPath borrows this syntax from E4X. |
* | * | wildcard. All objects/elements regardless their names. |
@ | n/a | attribute access. JSON structures don't have attributes. |
[] | [] | subscript operator. XPath uses it to iterate over element collections and for predicates. In Javascript and JSON it is the native array operator. |
| | [,] | Union operator in XPath results in a combination of node sets. JSONPath allows alternate names or array indices as a set. |
n/a | [start:end:step] | array slice operator borrowed from ES4. |
[] | ?() | applies a filter (script) expression. |
n/a | () | script expression, using the underlying script engine. |
() | n/a | grouping in Xpath |
IoT: Nokia 130, $25, battery lasts a month
Nokia 130 lasts more than a month, costs 19 euros - CNET:
With this price and battery life, this may be a very good "sensor-thing" for IoT.
Maybe Microsoft can re-use the Nokia feature-phones technology for IoT?
With this price and battery life, this may be a very good "sensor-thing" for IoT.
Maybe Microsoft can re-use the Nokia feature-phones technology for IoT?
Subscribe to:
Posts (Atom)