HNHacker News
TopNewBestAskShowJobs

smortaz

1,711 karma · joined April 28, 2011

Shahrokh Mortazavi runs the Data Science Developer Tools teams at Microsoft, focused on Python, R, and Jupyter Notebooks (http://notebooks.azure.com). Previously, he was in the High Performance Computing group at Microsoft. He worked on the Phoenix Compiler tool chain (code gen, analysis, JIT) at Microsoft Research and, prior to that, over a 10 year period led Sun Microsystems’ Code Generation & Optimization compiler backend teams. Contact: smortaz over at microsoft.com
submissionscomments
smortaz··on Emoji and Deep Learning
Pretty cool. Tried about 10 sentences and the suggested emojis were spot on. Nice write up.
smortaz··on Removing Python's GIL: The Gilectomy [video]
there are several. we (microsoft) are also trying to get an api into cpython so that anyone can use to build JITs for python. our sample implementation is at:

https://github.com/Microsoft/Pyjion

pycon 2016 talk:

https://www.youtube.com/watch?v=1DAIzO3QXcA

smortaz··on Ask HN: Who is hiring? (June 2016)
Microsoft | Redmond | Boston | not-remote

Looking for devs passionate about dev & data scientist productivity:

Work on a hosted Jupyter service (JS/linux/docker). Looking for senior web FE dev:

http://notebooks.azure.com

Work on mac/linux/win IDE's (JS/TS) for R, Python users:

https://code.visualstudio.com/

Work on Visual Studio IDE (C#/C++) for R, Python users:

https://www.visualstudio.com/en-us/features/python-vs.aspx https://www.visualstudio.com/en-us/features/rtvs-vs.aspx

Almost all our work in open source & on github.

Contact: smortaz@microsoft.com with "HN Job" in Subject: field with resume please.

smortaz··on Visual profiler for Python
perhaps hitting F5 instead of ctrl-F5 (run w/o debugging)?
smortaz··on Visual profiler for Python
oops, thx, fixed.
smortaz··on Visual profiler for Python
Here's a YT video that shows off the profiler in PTVS (warning - loud cowbells)

edit: forgot link - https://www.youtube.com/watch?v=K-KqkFkp55k

smortaz··on Visual Studio Code 1.1 released
PTVS team lead here. it's coming, promise :) we're working on untangling all the VS-ness out of PTVS so it can run in the VSC environment. overall team is small & we've been busy doing RTVS, and Jupyter notebooks. hopefully later this calendar year.
smortaz··on R Tools for Visual Studio v0.3 available for download
1. currently not a whole lot. perhaps its best feature is that it's part of the VS family, so in one IDE you get other langs like Python, C++, C#, etc. tho, a heavy IDE isn't everyone's cup of tea...

2. yes. VS comes with full git support built-in.

smortaz··on How fast can we make interpreted Python? (2013)
there's also Microsoft's effort:

https://github.com/Microsoft/Pyjion

[disclaimer]

smortaz··on Ask HN: Who is hiring? (April 2016)
Microsoft | Redmond | Fulltime | Onsite

Looking for: Senior Software Engineers + 2 summer interns

Our team works on various tools for data scientists and web devs. These include:

Visual Studio (R, Python plugins - mostly C#)

Visual Studio Code (R, Python plugins - mostly typescript)

Azure Python SDK (Python)

Jupyter notebooks (web FE/BE, Linux/docker)

repos:

https://github.com/Microsoft/RTVS

https://github.com/Microsoft/ptvs

https://github.com/Azure/azure-sdk-for-python

Please contact: smortaz at microsoft

Thanks!

smortaz··on Visual Studio 2015 Update 2
Yep! This started life as the PTVS (Python Tools for VS) REPL and now Python, Node.js, C#, R, ... are using it.
smortaz··on Python, Machine Learning, and Language Wars (2015)
Another data point on Anaconda from microsoft's Azure ML team - we've been using Anaconda for the past few years and have been very happy with it. One key feature we like is that we can deploy a nearly identical suite of pkgs on Windows, Linux and MacOS w/o having to worry about mismatched versions, installation/update issues, etc.

Case in point - the Azure ML Jupyter notebooks run on a farm of Linux/docker machines:

https://blogs.technet.microsoft.com/machinelearning/2016/02/...

Once a model is built, it can be deployed for production/scale to the Azure ML backend which runs entirely on a farm of Windows machines.

Both environments have matching Anaconda distros running underneath which makes running on two different OS's practically a non-issue. In fact 95% of our users probably have no idea their notebooks & production site run two OS's (in large part thanks to Python, Linux, Docker, Anaconda, ... and lots of other great open source software).

smortaz··on Announcing R Tools for Visual Studio
Sure. It can go from very basic:

* Right click on a data frame & "Open in Excel" (to view, chart, massage, etc.) but one way

to something more elaborate like we did for PTVS/Pyvot (two way):

* https://www.youtube.com/watch?v=Gu31s7kXPOg

to

* Using R as a scripting language in Excel, edited/debugged in RTVS (poke the Excel team pls ;))

to

* <your brilliant idea here!>

smortaz··on Announcing R Tools for Visual Studio
Personally speaking I would love for that to happen. There is room for both an XL IDE and a XS IDE imho.
smortaz··on Announcing R Tools for Visual Studio
An excellent question! Please take this survey so our mgmt hears you :)

https://www.surveymonkey.com/r/RTVS1

smortaz··on Announcing R Tools for Visual Studio
Yes. Hopefully when/if we doe VSCode/R it'll be fully open source.
smortaz··on Announcing R Tools for Visual Studio
RStudio is a fantastic IDE. It's been under development for years by some of the smartest ppl in the R community. it's currently decidedly better than RTVS. There are things here & there that RTVS might be better at, but this mvp was mostly about getting the heart-lung "IDE" features out. Some things you get w RTVS (partly courtesy of VS are):

* Multi-lingual: projects w C#, Python, SQL, etc.

* Multi-line repl: recall/edit/submit chunks of code

* Lots of add-ins: like 6,000 (hopefully a few are useful for R!)

* Upcoming integration w Excel, Azure ML, SQL, etc.

* etc.

If you are already a VS user, checking out RTVS is a no brainer.

But in summary, RStudio is better :). Hopefully we'll have some key differentiation features in upcoming releases.

smortaz··on Announcing R Tools for Visual Studio
Not sure what you mean - RTVS works with CRAN R...
smortaz··on Announcing R Tools for Visual Studio
what phillc73 said.

Totally respect having a focused command line w no frills workflow. To each their own.

But you should really give RStudio a try. It's a beautiful, highly productive R IDE with many features that make writing R much much more pleasant.

smortaz··on Announcing R Tools for Visual Studio
For Azure ML, some people use it fully in the cloud, others do local work in their favorite IDE, usually RStudio, then upload scripts, do their training, opertionalization, etc. on Azure. If you are using standard R, Python (eg scikit-learn) you can do work locally or on AzureML, but if you want to use Azure ML's own algos, then they're available only on the cloud.

There are also some sample experiments + data on Azure ML that you can check out quickly (no log in):

https://gallery.cortanaanalytics.com/experiments

smortaz··on Announcing R Tools for Visual Studio
Brilliant idea! We do take PR's :)
smortaz··on Announcing R Tools for Visual Studio
Aha, my bad. Yes, for certain scenarios it makes sense to have a drag/drop paradigm, for some a REPL++ like Jupyter, and sometimes an Editor. That's exactly why we decided to integrate Jupyter w Azure ML. This is going the other way around and makes total sense. The ideal as you've noted is figuring out how to integrate the three canvases intelligently so that you don't have to "alt-tab" between disjoint worlds constantly. Meanwhile I've added it to the feature list:

https://github.com/Microsoft/RTVS/issues/1237

smortaz··on Announcing R Tools for Visual Studio
I think you are referring to WCF? Basically being able to create a model, then operationalize it on the cloud for mass usage?

If so, the good news is that you can do that with RTVS, thanks to the R SDK. Basically you create models locally, test/debug them, then zap that onto Azure ML's backend. The SDK itself isn't tied to RTVS in any way. You can use it from RStudio, Jupyter/R, vim, ... if you like.

R SDK: https://cran.r-project.org/web/packages/AzureML/index.html

Regarding your 2nd question - RTVS/SQL integration - yes, that's definitely coming too. For this initial release we just wanted to make sure we got the core IDE functionality right...

smortaz··on Announcing R Tools for Visual Studio
There are no such plans. But we have VS Code, which is great lighter weight IDE that's cross platform. Check it out here:

https://code.visualstudio.com/

It has great support for js, node, go, .net etc. already. We'll hopefully add Python & R support soon.

smortaz··on Announcing R Tools for Visual Studio
Understood. RTVS itself is 3MB's. Hopefully you won't have to install VS more than once or twice a year as it's several Gigs...

Speaking of a web page, our team also did "Jupyter notebooks as a Service" on Azure ML. You can fire up a notebook quickly and code away - essentially like tmpnb if you've used it, but your notebook is persisted.

we'll be adding more languages soon. Try one of the samples at: (no login), or start w blank notebook in the Azure ML Studio:

https://gallery.cortanaanalytics.com/browse/?categories=[%22...

smortaz··on Announcing R Tools for Visual Studio
Correct, CE version has restrictions. It's great for checking out RTVS to decide if you want to upgrade to Pro/Enterprise.
smortaz··on Announcing R Tools for Visual Studio
Hi folks - Last year we polled HN on whether there'd be interest in R integration in Visual Studio. You said "YES!", so here it is! I'll be around in case you have any questions.

BTW RTVS was built by the same group that made PTVS (Python Tools for VS) and NTVS (Node.js Tools for VS). RTVS will also be free & open source of course.

Cheers

smortaz··on Announcing R Tools for Visual Studio
It definitely does! In fact with the Community Edition it becomes a perpetually free R IDE.

edit: see gnoway's comment below tho.

smortaz··on Announcing R Tools for Visual Studio
Team lead here - yep, we'd love to do a VSCode/R version as well. If you want to lend a voice, take our R IDE survery and upvote that question:

https://www.surveymonkey.com/r/RTVS1

smortaz··on Welcome to the Python Engineering blog
Thanks rogerbinns - Understood, just wanted to make sure you were aware & it looks like you are :). I've pinged the VC++ team and will report back.

BTW we've setup the alias pythonbuildtools at microsoft.com where folks like you that are building pkgs can speak to the Python+VC++ team members. I recommended send your request there as well.

Cheers.

← PreviousPage 6 of 11Next →