Categories
News and Resources

Google planning hybrid Android/Chrome OS tablets

Welcome to DeveloperEconomics’ weekly news roundup. In this edition Google is reportedly planning hybrid devices that run both Android and Chrome, game developers boycott Oculus due to its founder’s support for Donald Trump and Google takes its Daydream SDK out of beta. Read on for the full news rundown.

 

Google planning hybrid Android/Chrome OS tablets

Google is reportedly planning hybrid devices that run both Android and Chrome, according to 9to5Google. The Andromeda project bakes Chrome OS features into Android and is reportedly being released on a Nexus-branded tablet and a convertible laptop. Rumours suggests the laptop device will launch in Q3 2017.

 

IBM releases IBM Bluemix Runtime for Swift

IBM has introduced a production-ready Swift runtime on the IBM Cloud. The release allows enterprises to take advantage of the server-side capabilities in Apple’s programming language, for building microservice APIs on its cloud platform. IBM says by unlocking Swift for enterprises it’s “reached another milestone” in its “shared journey with Apple.”

 

Microsoft announces 400m Windows 10 users

Microsoft says Windows 10 now has over 400 million active users. The last update on user growth was in July, when the OS hit 350, just before it ended its free upgrade period. Microsoft’s original goal was to have one billion devices running Windows 10 by 2018, but the company has since backtracked and is not specifying when it will hit the one billion milestone.

 

Oracle announces new products for cloud platform

Oracle unveiled 20 new products and services for its Oracle Cloud Platform at the annual OpenWorld conference last week. New products include the cloud-based Oracle Database 12c Release 2, along with an SaaS offering, which combines third party data with real-time analytics for “adaptive” app development. During the announcements, Oracle’s CTO Larry Ellison said Amazon now has “serious competition going forward.”

 

SoundCloud devs must submit application for API access

SoundCloud has announced changes to its API policy, requiring devs to apply for access. The application form asks devs what categories their app falls under, how it makes money and whether the app plays content from the SoundCloud API. SoundCloud says the changes were made to stop apps from using content without the permission of creators.

 

Mopub modular ad SDK reduces app sizes

Twitter’s MoPub ad network has announced a new SDK that lets devs cut out the ad formats they don’t use. The modular SDK means devs can save up to 60% on disk space for Android apps and up to 35% for iOS apps, without losing any functionality. MoPub says the space savings will be particularly useful for Asia-Pacific devs, where expensive data plans can impact bigger apps.

 

Google takes Daydream VR tools out of beta

Google has released a new VR SDK, allowing devs to build VR experiences for Daydream-ready phones and headsets. The Daydream VR SDK 1.0 supports “integrated asynchronous reprojection, high fidelity spatialized audio and interactions using the Daydream controller.” The release also supports native integration in both Unity and Unreal Engine 4.

 

Facebook rolls-out Profile Expression Kit SDK

Developers can now integrate Facebook’s Profile Expression media into the apps. The Profile Expression Kit lets users turn media – such as Vine videos, Bommerang GIFs and Lollicam stickers – into profile pictures. Facebook says profiles are the second most visited surface on Facebook, allowing Expression Kit apps to generate a lot of exposure.

 

Onsen UI 2.0 now available

The Onsen UI team has released version 2.0 of its UI framework, which helps developers create native mobile apps with HTML5. While Onsen 1.x was based on Angular JS, the new version has no library dependencies, as well as new Material Design components. The team has also released new and improved documentation to make it easier for devs to get to grips with the framework.

 

Developers boycott Oculus over Trump-supporting founder

A number of Oculus developers are boycotting the VR platform due to the political views of its founder, Palmer Luckey. According to a Daily Beast report, Luckey funded a pro-Trump activist group, which posted anti-Hilary Clinton ads. Developer Scruta Games said it will “cancel Oculus support” unless Luckey steps down from his position at Oculus.

Categories
News and Resources

Angular team announces final release of version 2.0

Welcome to DeveloperEconomics’ weekly news roundup. In this edition, Google announces the release of Android Studio 2.2, Oracle confirms rumours of a Java EE 8 delay and Microsoft has been crowned the new king when it comes to open source contributors. Read on for the full news rundown.

Google app ads beat Facebook with 3 billion installs

Google says its ad products are now responsible for more than three billion app install ads. The announcement follows Facebook’s claim in April that its ads have generated over two billion installs. Google says it’s also experiencing a decline in average ad prices, down 9% year-on-year, due to the continuing growth of YouTube ads.

Microsoft has most open source contributors, says GitHub

Microsoft has beat Facebook to become the organisation with the most open source contributors on GitHub. Microsoft racked-up 16,419 contributors, beating Facebook’s 15,682 and Docker’s 14,059. GitHub’s report also found that JavaScript is the most popular language, Font Awesome is the repository with the most open source contributors and Homebrew is the repository with the most users reviewing code.

Java EE 8 not ready until end of 2017

Oracle says the release of Java EE 8 will be delayed until the end of next year. The delay, which was rumoured for some time, was announced at the JavaOne conference last week, where a new roadmap was proposed. Oracle now plans to release Java EE 8 with basic microservice and cloud capabilities, before releasing EE 9 sometime in 2018 with more features.

Affectiva emotional analytics platform now free for indie devs

Start-up Affectiva is allowing any company that earns less than a million dollars a year to use its SDK and API. The Affectiva platform uses “emotional analytics” to analyse user sentiment via chatbots or surveys. The company also announced a partnership with Giphy, which will see Affectiva encode Giphy gifs for sentiment analysis.

Angular team announces final release of version 2.0

The Angular team has announced the final release version of Angular 2.0. The new version of the JavaScript framework features better support for modern browsers, modular functionality that makes it easier to use third-party libraries, and is recommended for use with Microsoft’s TypeScript. Google also says it will provide devs with more guides to learn Angular 2.0 faster.

Android Studio 2.2 released

Android Studio 2.2 is now available to download. The update brings a significant number of new features, including an improved layout editor, an activity recorder that generates Espresso code for automated testing, and an emulator that can simulate data from different sensors. The new IDE also boasts an APK analyser, GPU debugger and much more.

GitHub announces project management tools and support for formal reviews

GitHub has announced the “biggest update yet” to its platform, bringing project management features to the table. The built in Trello-like project management tool lets users move cards with pull requests and switch cards between columns such as “in progress” and “done.” GitHub also now lets devs formally approve all pull requests and leave review summaries.

Kochava releases free version of app analytics tool

Kochava has launched Free App Analytics, a tool to measure and optimise app ad campaigns. The free tool lets devs optimise campaigns across big networks such as Facebook, Google, Amazon, Twitter and Snapchat. The tool also includes a global index of integrated ad networks. However, features such as scaling are only available in Kochava’s paid Enterprise offering.

Microsoft opens Desktop Bridge for Win32 app conversion

Microsoft’s Destktop Bridge is now ready to use, allowing devs to repackage desktop apps, including Win32 apps, for the Window Store. The Desktop Bridge also converts apps to the Universal Windows Platform, allowing Win32 apps to run on any device running Windows 10. Microsoft says the bridge has already been used by the likes of Evernote, Arduino IDE and doubleTwist to bring full featured apps to Windows Store.

Oracle announces ‘drag and drop’ chatbot platform

Oracle has unveiled a new platform for building and running chatbots. The tool doesn’t require any coding experience – featuring a drag and drop graphical interface – and is positioned an easy-to-use bot builder for enterprises. According to Oracle, its bots will work with all modern messaging platforms, such as Facebook, Slack and Kik.

Google acquires API.AI bot building start-up

Google has bought API.AI, a start-up that provides dev tools for building conversational bots. According to Google, over 60,000 developers are using API.AI’s tools to build conversational experiences for environments such as Slack, Facebook Messenger and Kiki. The terms of the acquisition have not been disclosed.

Categories
News and Resources

News round up – Razer launches new fund for VR & gaming start-ups

Welcome to DeveloperEconomics’ weekly news roundup. In this edition, Blackstorm raises $33.5m for a ‘post-app store”, Razer launches a new fund for VR and gaming start-ups and Kony releases a new survey on the challenges of wearable development. Read on for the full news rundown.

Blackstorm raises $33.5m for ‘post-app store’ platform

Blackstorm has raised $33.5 million for what it calls a “post app store” solution, letting developers share apps outside of typical store fronts. Blackstorm offers a universal IDE designed to create apps that are shared across different distribution channels, such as messaging apps and mobile browsers. The company says its goal is to power “the infrastructure to trade and distribute software to all the post app-store platforms.”

Aruba announces platform to accelerate enterprise IoT adoption

HP’s Aruba has released the Aruba Mobile First platform, which aims to build a dev eco-system around its ArubaOS operating system. Aruba says the platform, which incorporates ArubaOS 8, lets third party devs quickly improve apps or create new ones based on its wireless networking technologies. The platform also collects data from IoT and mobile devices and customises networking functions dynamically in real time.

Google issues Nougat security update

Google has released a security update for Android Nougat. The update fixed a vulnerability that could enable remote code execution on an affected device. However, Google added that it’s had no reports of active customer exploitation or abuse of the fixed issues.

Korean firms consider legal action over Apple’s API policy

A group of Korean financial tech firms are reportedly launching a complaint to state regulators against Apple’s closed API policy around NFC functions. The companies complain that Apple is blocking providers such as Samsung Card and BC Card from accessing the NFC features. A similar complaint was previously lodged by Australian banks with regulators in the country.

PerfectlySoft releases Perfect 2.0 framework for Swift 3.0

PerfectlySoft has released the latest version of its server-side development framework for Swift 3.0. Perfect 2.0 features support for additional datasources, such as Redis and Filemaker, as well as “significant” performance and scalability enhancements. The company says Swift is “evolving extremely rapidly” and its framework helps developers keep up with the changes.

AWS SDK for C++ now available for production use

Amazon has released version 1.0 of its AWS SDK for C++. The SDK has received a number of improvements following developer feedback, including an improved Transfer Manager and symmetric cryptography support. The SDK also now follows semantic versioning so devs can upgrade within the 1.x series without breaking their build.

InfluxDB version 1.0 releases

InfluxData has released version 1.0 of its InfluxDB open-source time-series database. Influx DB was written in the Go programming language and is already being used by companies to monitor network infrastructure, security, container infrastructure, solar panels, and more. InfluxData says the database has been in development for nearly three years.

Box releases updates to attract more developers

Storage platform Box has released a series of updates aimed at developers. The platform now supports annotations, watermarking and new content types. Devs using the JavaScript SDK can now benefit from HD video, 3D models, VR files and 360-degree content. Box is also releasing a UI Kit that makes it easier to integrate elements into their web apps.

MySQL 8.0.0 Milestone Release is available

MySQL have announced that their 8.0.0 milestone release is now available for download. In their blog post, the engineers have outlined the most significant changes, some of which address problems that have plagued MySQL. The source code is available at GitHub.

Razer launches $30m fund for VR, IoT and gaming start-ups

Gaming hardware company Razer has launched zVentures, a new fund for investing in start-ups focused on gaming, VR, robotics and IoT. Razer is looking to fund early-stage start-ups with investments ranging from $100,000 to $1 million. The fund is based out of San Francisco and Singapore.

Survey highlights top challenges around wearables development

Kony has released a new survey looking at the challenges around developing apps for wearables. According to the survey, wearables will be “commonplace” in the enterprise by 2020 and 78% of devs surveyed said they are working on 2 wearable apps or more. Forty percent said the lack of communication between designers, stakeholders and developers is the biggest challenge for wearable development.

 

Categories
News and Resources

News roundup – Google opens Early Access beta testing to more developers

Welcome to DeveloperEconomics’ weekly news roundup. In this edition, Google cancels its modular smartphone project, Apple plans to delete abandoned apps from the App Store and Epic releases a new version of Unreal Engine 4. Read on for the full news rundown.

Google opens Early Access beta testing to more developers

Google has expanded its Early Access beta testing, allowing any developer apply for the program. Previously, Early Access was only available to 29 hand-picked developers, who got to test out their apps with early-adopters (although other devs were given different testing options). Google says the Early Access program generated over 1 million beta installs since launching in May and “demand is only growing.”

Google Search can now look-up content within apps

Google has introduced a new search mode in its Google app that lets users perform in-app searches The “In App” feature currently only works with Gmail, Spotify and YouTube, but will soon feature in-app searching on Facebook Messenger, LinkedIn, Evernote, Gilde, Todoist and more. Because the search function involves the OS itself, In Apps currently only works on Android.

Apple removing outdated apps from App Store

Apple will begin removing apps from the App Store if they no longer work, are outdated or “don’t follow current guidelines.” The company will also prevent devs from using overly long app names to game app searches, limiting app names to 50 characters or less. Apple will start reviewing apps on September 7 and will remove the ones that crash on launch immediately.

Amazon rumoured to announce Echo UK launch on September 14

Amazon has sent out press invites to what’s rumoured to be the UK launch of its voice-controlled Echo device, which features the Alexa voice assistant. The event is scheduled to take place on September 14 in London, although it doesn’t mention the Echo. According to Engadget, if you ask Alexa what she has planned for the 14th, she replies “a visit to London.”

Google cancels modular Project Ara smartphone

Google has pulled the plug on Project Ara, its modular smartphone concept. Project Ara was designed to let users upgrade and customise their device with camera, speakers, microphones and other modules. According to Reuters, Google may consider licensing Ara to its hardware partners, enabling some of its features to appear on devices in the future.

Google to reveal Daydream VR and Pixel devices on October 4

Google will reportedly reveal its in-house design for a Daydream VR viewer device at an event on October 4. According to Android Police, the company will also show-off two Pixel-branded smartphones (which replace the Nexus brand) and a 4K Chromecast. The event will also provide more details on Google’s Amazon Echo-rival Google Home.

Qualcomm unveils VR all-in-one headset

Qualcomm has unveiled a new reference platform for standalone virtual reality headsets, which it’s calling the Snapdragon VR820. It’s built upon the Snapdragon VR SDK and is designed to help developers create the hardware, software and content needed to create VR experiences. It’s anticipated that it wil be available in Q4 2016.

Baidu launches open source machine learning project

Chinese search engine Baidu has released PaddlePaddle, an open source software platform for the deep learning community. According to Baidu, the platform provides an intuitive interface for data handling and specifying model structure. PaddlePaddle was originally developed for internal use on Baidu’s deep learning apps.

HP announces machine-learning tool for drag and drop app development

HP has announced Haven OnDemand Combinations, a new tool that combines machine learning APIs and a drag and drop interface for mixing and matching them. The tool is built upon HP’s Haven OnDemand could platform, which has 70 AI APIs and more than 180,000 users. HP says the new tool is the quickest way to add intelligence to apps.

Unreal Engine 4.13 released

Epic has released the latest version of Unreal Engine, bringing over 145 improvements to the game development platform. Major new features include shadow map caching for movable lights, a new live recording feature, Voronoi noise for material creation, new mesh decals and new VR features such as project templates and support for mesh and foliage painting with VR controllers.

Google releases pure JavaScript Closure Compiler

Google’s Closure Compiler is now available in pure JavaScript. Closure Compiler is a JavaScript optimizer, transpiler and type checker. This new version isn’t a rewrite in JavaScript, says Google, but rather compiles the Java source to JS to run under Node.

Bloomberg releases BuckleScript optimising compiler

Bloomberg’s tech arm has announced BuckleScript, a new optimising compiler strongly inspired” by TypeScript. According to Bloomberg, BuckleScript offers an “industrial strength” type system and provides strong type inference, to generate more efficient code. Bloomberg adds that the compiler is at least 10x faster than TypeScript.

HTC invests $5 million in VR start-up Steel Wool

VR gaming start-up Steel Wool Studios has closed a $5 million round of funding, coming entirely from HTC. Steel Wool was one of the early developers for HTC and Valve’s Vive headset, creating the action strategy title Quar: Battle for Gate 18. Steel Wool said the funding does not mean their games will be exclusive to the Vive.

Intel acquiring drone start-up Movidius

Intel is buying Movidius, a start-up that makes computer vision processors used in drones and VR devices. Intel says it wants to combine Movidius’ technology with its RealSense depth-sensing camera tech, covering markets such as VR, AR, drones and digital security cameras. The terms of the deal were not disclosed.

Categories
Business

Whatever happened to Operator Billing?

In 2003 Europe’s mobile operators launched Simpay, promising to let us buy flowers and concert tickets across Europe, with the price added to our mobile phone bill. By 2005 that had morphed into PayForIt, for UK operators only but with similar aspirations, and a similar lack of success. A decade later, mobile network operators are still being cut out of the payment loop, but not for lack of trying.

Operator billing should be the perfect m-commerce platform: Mobile operators store prepaid credit for 77% of their customers, according to the GSMA, and have credit agreements with the other 23%. They have experience dealing with critical systems, and real-time credit checking systems built to take huge loading, so they should be the obvious winners in the m-commerce business. As then-CEO of Vodafone Arun Sarintold the FT in 2007:

“The simple fact that we have the customer and billing relationship is a hugely powerful thing that nobody can take away from us … Whoever comes into the marketplace is going to have to work through us.”

Only they didn’t, and they don’t, and these days operator billing is a minority pastime everywhere – except Africa and the Middle East.

 

Mobile operators in Africa

The data comes from the VisionMobile Developer Economics survey, which reached more than 11,000 mobile developers at the start of 2016. Almost 2,000 of those developers are involved in m-commerce, but only 16% of those have integrated operator billing into their applications.

In Europe, where operators have perhaps tried the hardest to become the wallet of the future, that number drops to 12%, and in North America only 8% of m-commerce developers have bothered to work with the operator to handle billing. In 2010 Verizon launched its own payment service, based on the BilltoMobile platform, but BilltoMobile has been losing money ever since, and in May this year was purchased by UK payment processor Bango.

The argument against operator billing has always been that of interoperability – developers integrating with one mobile operator’s billing system would have to port their code to support another. That was the problem that Simpay, and PayforIt, were designed to solve, and they are far from alone in solving that.

The GSMA’a OneAPI started out as platform for interfacing with SMS Centres and network call management, but quickly focused into a cross-operator billing system to attract operators who proved reluctant to spend money implementing the whole standard. Even GSMA’s decision to host a OneAPI proxy (making it much easier for operators to integrate) wasn’t enough for the operators, and the standard now languishes as a vertical API within a handful of network operators.

In May 2016 yet another attempt was made, with nine of the largest mobile operators joining up to endorse the “Open API” from the TM Forum (an industry body with a decent history of setting architectural standards in infrastructure). This latest set of APIs covers a very wide remit, but includes much that the OneAPI set out to achieve including the resolution of billing events.

Other cross-operator alternatives, such as Telefónica’s BlueVia, have achieved some level of success, but it is probably too late for mobile operators to become the default billing platform they imagined that they would be. Only in the Middle East and Africa is mobile operator billing being used by a significant proportion of m-commerce developers; everywhere else that role is being filled by other players.

Just as Apple and Google provided operator-independent app stores, those companies provide the perfect alternative for developers looking to collect money. Billing through the app store itself, or via the electronic wallets run by Apple and Google, is increasingly popular – and both companies have extended the functionality in recent months.

Credit cards also remain popular. Most credit card processing is done via third-party companies, such as Braintree and Stripe, who compete to provide the best APIs and value-added services. Meanwhile various banking consortia are jumping into the frame, and Visa and MasterCard are funding various competitions intended to raise the profile of their own developer programs, and demonstrate their utility beyond basic transaction processing.

With such strong competition in place the opportunity for operators to step in and take the market is long gone, and developers won’t be easily wooed away from third-party providers. With a coordinated approach the operators certainly could have grabbed the market, but arrogance, lethargy – and the fear of creating an illegal cartel – prevented that future from happening.

The world of mobile commerce is evolving fast, and is only going to become more important as it grows and changes so rapidly, but mobile network operators will struggle to be more than a big player in it.

If you’d like to know more about which m-commerce platforms are gaining ground, or what developers are looking for in an m-commerce platform, then take a look at The evolving state of mobile commerce, a report published by VisionMobile in collaboration with Braintree.

Categories
Business

Getting users to pay for things remains the biggest challenge for app developers

More than half of app developers are living in “app poverty”: making less than $500 a month from their apps.

We’ve produced an infographic which looks at insights such as this from The Evolving State of Mobile Commerce, a report published by VisionMobile in collaboration with Braintree.

Here are some more of the insights about app developers that are featured in the infographic:

  • Half of M-commerce developers are using the App store
  • Operators are still bankers in the Middle East and Africa
  • Bitcoin is bigger in the Americas

The M-Commerce Ecosystem

This is just a small sample of the insights contained in the report, if you’d like to know more, then take a look at The Evolving State of Mobile Commerce report.

Categories
Community Languages News and Resources

[Infographic] The most global developer survey

The new Developer Economics Infographic is out! The most global developer survey so far has reached over 16,500 developers from 145 countries. Have a look at the findings and let us know where you stand in the global ecosystem. Bonus: hear it from our survey prize winners!

Developer Survey: Developer Economics Q2 2016

global-dev-survey (1)

Interested in more findings? Check out our more recent reports, here.

Categories
Business Community

Developer Tools Survey – Winners

Welcome to the full rundown of the Developer Economics: Developer Tools Benchmarking (April-May 2016) prize winners. Below you’ll find a table comprised of both the email addresses and countries of all the people that won (the emails are obfuscated for security reasons).

Winners have already been notified by email – if you recognise the email fragment as yours and we haven’t contacted you, please drop us an email at survey@visionmobile.com

Improving ourselves by listening to what you have to say is one of our top priorities so don’t forget to complete the short feedback form we have prepared for you. Our aim is to improve our offering by identifying your interests so we cannot stress enough how important your contribution is!

Complete the form

Survey Prize Winners

Email Prize Country
v*si**m**i*e@pa**l*onp***ures.co.uk Lumia 635 United Kingdom
re***mat@mail.ru Lumia 635 Russia
h*n*okos**@gmail.com Windows IoT dev kits Indonesia
t**as*aj**@gmail.com Windows IoT dev kits Hungary
s***i.t**ral**@gmail.com BQ Aquaris M10 – Ubuntu Edition Tablet The Netherlands
e*@po***hed-pi**ls.com Fossil Watch United States
jar*ds*i*h***@gmail.com Frontend Masters United States
r*ngle**@hotmail.com Balsamiq Desktop United States
ti***a*ti*r@gmail.com Wearables TechCon 2016 – All access pass $645 United States
j**oda*d@ch**ke*dist.com AnDevCon United States
r*d*ar*h@gmail.com GMIC Bangalore 16-17 November Gold pass $200 India
aca*l**@gmail.com iPhone 6S United States
am***o@gmail.com Nexus 6P United Kingdom
a*i*u*@gmail.com Xperia Z5 India
fu**@live.in Choice of Jetbrains IDE up to $300 India
x*c*c*i*96**@gmail.com BlackBerry PRIV Italy
m*i**y**@gmail.com MS Surface 3 tablet United States
ghl****r*@gmail.com Sublime 3 text license Canada
j*n**vid@sch**er.org Intel Galileo Gen 2 Board United States
m*r*st*7*@alice.it Raspberry Pi 3 wi-fi edition Italy
ch***i*s*n*993@gmail.com Developer T-shirts Malaysia
1*3**033*80@163.com Developer T-shirts China
tata**11@gmail.com Developer T-shirts Poland
dra*****ig*t1*21**@yahoo.com Developer T-shirts Vietnam
m*sr*ca*do@gmail.com Developer T-shirts El Salvador
alek***.ma*ar*in@gmail.com Developer T-shirts Russian Federation
a*d**ns**h*****nsyah9@gmail.com Developer T-shirts Indonesia
t*u*gv*@an**ing.com.vn Developer T-shirts Vietnam
e*en**0*@hotmail.com Developer T-shirts Colombia
u****gyu@gmail.com Developer T-shirts United States

Panel Prize Winners

Email Prize
hla***i@hotmail.com GoPro Hero Session camera
al*i**l*ur*c*is@gmail.com GoPro Hero Session camera
d*v@drea**yte.eu WD My Passport Ultra 3TB
mryo82*@gmail.com WD My Passport Ultra 3TB
ben*a***en@protonmail.ch WD My Passport Ultra 3TB
a**ng5**@126.com WD My Passport Ultra 3TB
d*ogo***a@gmail.com WD My Passport Ultra 3TB
kma*du*@gmail.com Udemy courses of your choice (up to $80 USD)
si*e*****el***r*con**ic*.c*m@ru**ell.mat**uli.org Udemy courses of your choice (up to $80 USD)
tr*nt**ntru**l**t*990@gmail.com Udemy courses of your choice (up to $80 USD)
h**kon2**@gmail.com Udemy courses of your choice (up to $80 USD)
huy**ie*25*@gmail.com Udemy courses of your choice (up to $80 USD)
a**x***er.ra**rd*o@gmail.com Udemy courses of your choice (up to $80 USD)
em*r*o***@gmail.com Udemy courses of your choice (up to $80 USD)
i***.mal@mail.ru Udemy courses of your choice (up to $80 USD)
31**8**5*@qq.com Udemy courses of your choice (up to $80 USD)
hhp*z*@126.com Udemy courses of your choice (up to $80 USD)
Categories
Platforms

Using Bash in Windows – today

bash_windows
using bash in windows today

“… However, when we talked with web developers, they still struggled with using Windows as their primary devbox.”

The above quote is from Kevin Gallo, the VP of Windows Dev platform, and was delivered around mark 0:38 of his presentation in Microsoft’s Build 2016 keynote. He then continued with the observation that “… many of them have workflows which rely on open source command line tools, scripts and frameworks”, and finished with a slide that his audience was – at first – slightly unsure on how excited to get about: Bash is coming to Windows.

Screenshot #1: Kevin Gallo’s slide from Build 2016 announcing Bash coming to Windows
Screenshot #1: Kevin Gallo’s slide from Build 2016 announcing Bash coming to Windows

If you let the video play for another 7 seconds, you’ll also catch a glimpse of Gallo’s audience. You can see the emotions depicted on their faces form a picture that explains perfectly the complex (and sometimes tumultuous) relationship of Microsoft with Linux and the Open Source world. Three persons are smiling excitedly and beginning to slow clap (the ones that suddenly realise how much easier managing their OS stack or scripting their Windows environment will become). You then have the classic cautious indifference of the majority of developers that wait to see whether this is “worth getting excited about”. Finally, you can also detect some unguarded annoyance from the fanboy crowd (“Seriously? I have to sit and hear about Bash? What’s wrong with PowerShell?”).

Personally, I belong to the first group. Despite working with open source technologies since the beginning of my professional career back in 2003, I’ve never managed to move away from Windows. To this effect, when I saw Rich Turner and Russ Alexander casually doing a apt-get install git on Windows to install git, I was excited. A lot.

But until the functionality showcased in the video above is mature and stable enough to be rolled out, I’ll continue using my current workflow which has served me faithfully since 2011: And that is bash on Windows (To be precise: A more “cut down” version of Bash. Read on for details).

The challenge: Production-strength command line workflow in Windows.

One might argue that Windows was never meant to be “driven” from the command line.

Microsoft tried to mitigate this back in 2006 by rolling out PowerShell, a shell and scripting language that gives users full access to their whole Windows environment. For Windows devs this was a great extra tool but for all other developers it was still not enough to lure them away from the power and versatility they found on the Linux command line.

Add to this the strongly opinionated naming conventions and approaches that PowerShell inherited from the .NET Framework (did you know that cd is but an alias to the “proper” command which is Get-ChildItem? That’s camelcase _and_ a dash that autocompletes with tab even if you type it in lowercase. Strange stuff) and you can see why it’s really hard for e.g. a PHP developer to consider it for his dev workflow.

When every single blogpost or article or tutorial written about a subject, e.g. “how to rebase branches in git”, includes instructions and screenshots that clearly demonstrate the flow in a Linux shell, it’s only natural for the developer to assume that this is the correct way of doing things.

Towards a solution: Install Git for Windows

For my frontend-with-a-bit-of-PHP-but-from-a-Windows-OS workflow I always relied on certain “battle proven” tools. WinSCP was the weapon of choice when files needed to be moved from one place to another (either via FTP, SFTP, SCP or even rSync). Putty allowed me to connect via SSH to all my dev boxes. TortoiseGIt ensured that I could use git directly from my Windows explorer interface.

The first “lightbulb / aha” moment for me occurred when I installed Git for Windows after being prompted to “try it out on the command line” by a colleague.
One of the steps of the install wizard prompts you to choose “How would you like to use Git from the command line?”:

Screenshot #2: Choosing how to use Git for Windows
Screenshot #2: Choosing how to use Git for Windows

… and it mentioned “Bash”!

Installation completes and suddenly I get a shell in Windows that looks suspiciously similar to what I’m used to in Linux or iOS installations:

Screenshot #3: MinTTY terminal emulator window
Screenshot #3: MinTTY terminal emulator window

Bash in Windows: How it works

Kudos? To the awesome devs that worked to bring Git to windows – https://git-for-windows.github.io/.
In essence the installer sets up a unix-like shell environment (MinGW – “Minimalist GNU for Windows”) which – very roughly speaking – creates the needed Unix layer that shells like Bash can run onto.
A terminal emulator called MinTTY is also installed (shown in screenshot #3 above) which is a Windows program that runs the Bash shell which in turn enables you to use quite a good subset of the Linux commands needed for an open source dev workflow.

Looks are important

… especially if you are an ex-designer-turned-frontend-developer. Going from the black and white severity of cmd.exe (where you could not even resize the window to the dimensions you wanted) to MinTTY definitely boosted my “developer happiness” feeling:

Screenshot #4: MinTTY terminal emulator window
Screenshot #4: MinTTY terminal emulator window

In the above example, I manually mapped the colours from the famous Solarized colour theme to the default 16 ANSI colours. For the font I chose the crystal clear Consolas font set at 12 point, although I’ve recently been experimenting with Adobe’s Source Code Pro as an alternative.

The MinTTY window can be resized to any dimension of your choosing. You can also use the same shortcuts as you use in the browser to resize the text on the fly (CTRL+plus, CTRL+minus or CTRL+mouse wheel). Finally you can launch as many instances of MinTTY as you want, enabling you to lay out a series of windows into your codebase and file structure, exactly as it suits you:

Bash in Windows Screenshot #5: Multiple instances running at the same time at different dimensions and font-size
Screenshot #5: Multiple instances running at the same time at different dimensions and font-size

I can now do {{thing}} from the command line

The list below demonstrates just a small subset of the stuff you can do with Bash in Windows that I found particularly useful and / or helpful.

  • Git
    No more “download and unzip”. Git clone any repo of your choosing in any directory in your filesystem. The handy “GIT Bash here…” shortcut that appears when you right click any folder is particularly useful here.
  • Linux command line
    MinGW supports a subset of the various commands and programs available in Linux, things like awk, sed, grep, find are all here, ready to be used. Shortcuts are also available (CTRL+U, CTRL+K for inline editing, CTRL+R to lookup on Bash history etc) as well as piping and redirection.
  • SSH
    OpenSSH works right out of the box. Set up your keys by using ssh-keygen (exactly the same way you would do in a Linux box) and then connect to any of your machines. You can also setup an ssh-agent (exactly the way Beanstalk or Github or Bitbucket explain in their online tutorials) to ensure you don’t retype your password all the time. Of course ftp and scp are available as well.
  • Vim
    No more notepad++ for me. After I went through the steep-as-mount-Everest learning curve I found out that vim was the best tool for quick text edits (I’ve strongly resisted the urge to play with emacs. We’ll see).
  • Bash scripting
    The very first bash script I experimented with (and use constantly nowadays) is z: https://github.com/rupa/z. I no longer rely on lengthy cd statements such as:
    cd /some_directory/nesting/nested/my_work
    But rather do a:
    z my_work
    … and I’m immediately taken to the directory I want.

“You should really switch to {{enter Linux distro name here}}”

Indeed. But even if I do so, there is still a vast number of devs out there who still need / have to work with Windows. One year ago, Isaac Schlueter (co-founder and CEO of the Node Package Manager – NPM) had this to say:

Bash in Windows: this matters
If you want devs using your code, this matters

Until WSL is out … Bash in Windows

The soon-to-be-released Windows Subsystem for Linux is a brilliant (and much-needed) step forward in making the Windows environment a first-class citizen for open source development workflows.Nevertheless, there is no need to wait for Microsoft to make WSL available to everyone.

I’ve been using Bash in Windows – in my daily workflow – for the last 5 years and it’s working like a charm.
If you want to do the same, simply install Git for Windows.

Categories
Business

If there were 100 Developers in the world

Have you ever asked yourselves what would it be like if there were only 100 developers in the world? Well even if you haven’t, we are sure we have just made you think about it.
Based on our Developer Economics survey that reaches 30,000+ devs per year, across mobile, IoT, cloud, desktop, AR/VR, machine learning , we designed a very interesting Infographic illustrating this scenario.

  • How many men and women would this world include ?
  • Which continent would be the most populated ?
  • How many would be Pros and how many Hobbyists ?
  • How experienced are developers  in this world?
  • What is the most popular coding language?

If there were just 100 developers in the world, then:

100-developers-infographic-visionmobile

Embed