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 Excel team considering Python as scripting language: asking for feedback
Clickable Link:

https://excel.uservoice.com/forums/304921-excel-for-windows-...

[disclaimer+bias: on Python team @ msft & would love to see this happen!]

smortaz··on Wes McKinney, the developer of Pandas
In case you're interest in reading his book online - or 'running' it, here it is:

https://notebooks.azure.com/wesm/libraries/python-for-data-a...

If you want to read, click on any notebook, for example:

https://notebooks.azure.com/wesm/libraries/python-for-data-a...

If you want to run, click Clone, sign in, then Run. It's basically a collection of Jupyter notebooks. This is from his personal repo.

[disclaimer: work at msft]

smortaz··on How Jet Built a GPU-Powered Fulfillment Engine with F# and CUDA
Nice!

This is also a free resource for learning F# in your browser:

https://notebooks.azure.com/Microsoft/libraries/fsharp/html/...

basically click clone, sign in, run & play around.

smortaz··on Norvig's Python programs to practice or demonstrate skills
You can also run them on Azure Notebooks which is basically a free hosted jupyter notebook service for anyone to use:

https://notebooks.azure.com/smortaz/libraries/norvig-pytudes

basically 1) click the link 2) click clone 3) sign in (any gmail, msft id), then go to the notebooks directly and run them. You can also click Terminal for shell prompt.

The sign-in is required since you can edit the notebooks, store/modify data etc.

smortaz··on JIT compiling a subset of Python to x86-64
Related: https://github.com/Microsoft/Pyjion
smortaz··on LIGO and Virgo announce the detection of a black hole binary merger
Posting this whenever there's a new detection! Dr Roy Williams who's part of the LIGO team has put the notebooks used for analyzing the data online for anyone to check out & run:

https://notebooks.azure.com/roywilliams/libraries/LIGOOpenSc...

Click Clone to get your own copy, then edit/run/etc.

smortaz··on Microsoft makes Databricks a first-party service on Azure
This is great to see. Beyond databricks itself, it has one of the slickest Notebook interfaces around - from collaboration to one-click dashboards.
smortaz··on Ask HN: Best way to get started with AI?
Great resources in the replies. If you want an environment to run code in w/o much setup, try our free service:

https://notebooks.azure.com

it has Py2, Py3, R, F#, anaconda, TF, CNTK, etc. pre-installed.

There are some ML tutorials on it already + you can use the "load from github" feature to load, run, edit, ... many of the great tutorials already on github.

Other similar environments include colab by google and cocalc.

#Disclaimer: Microsoft

smortaz··on Godot Editor ported to WebAssembly
I was there for "Isn't that putting Descartes before the whores?" and now this :).

https://www.reddit.com/r/AskReddit/comments/cfbkx/im_85_cert...

smortaz··on Show HN: C# support in Excel
Congrats! This is fantastic. Now can you do the same with Python please? :) But seriously, great work, including the docs/videos.
smortaz··on Don Jayamanne, creator of Python extension for VS Code, joins Microsoft
Thanks for the feedback - it's an area we'll definitely be looking at closely.
smortaz··on Don Jayamanne, creator of Python extension for VS Code, joins Microsoft
YES! I'd love to see the native Jupyter and REPL experience improve as well.
smortaz··on Don Jayamanne, creator of Python extension for VS Code, joins Microsoft
This is a great suggestion and I hope that VS Code gets there (and with it Python support). Meanwhile, for an approximation check out:

https://notebooks.azure.com

Rumor has it that its successor, ie JupyterLab, may use the VS Code Editor as its code editor in the future.

smortaz··on Don Jayamanne, creator of Python extension for VS Code, joins Microsoft
Happy to see this hit the front page! If you have any thoughts about how you'd like us to improve Python support in VS Code please let us know.. with the additional resources we're hoping to accelerate the development quite a bit.
smortaz··on What is backpropagation and what is it doing? [video]
If you enjoy his videos (and other creators'), please consider signing up on Patreon and supporting them.
smortaz··on Show HN: Simple Deep Learning Tutorials using Microsoft Cognitive Toolkit
I believe we have a bug open on this. I'll check, if not, I'll file. Thanks!
smortaz··on Show HN: Simple Deep Learning Tutorials using Microsoft Cognitive Toolkit
We've had plans to provide a paid version for a while (per the faq), and once we do, hopefully it'll be straightforward and friction free. Ideas, usage scenarios welcome (pls file your magic-wand wish list on github!)
smortaz··on Show HN: Simple Deep Learning Tutorials using Microsoft Cognitive Toolkit
Hi, not directly within the free Azure Notebooks service, however, we do have:

https://azure.microsoft.com/en-us/services/hdinsight/

which is a paid service with its own Jupyter notebook support. You can authenticate yourself in Azure Notebooks and use any Azure service as well, but it's a bit more complicated. We hope to improve this in the future.

smortaz··on Show HN: Simple Deep Learning Tutorials using Microsoft Cognitive Toolkit
From a sister group at msft: you can load & run the notebooks using https://notebooks.azure.com.

When you create a Library, select +New from GitHub and enter the above path. It’s free, but no gpu support :(.

smortaz··on “Run” the Python Data Science Handbook in your browser
BTW, if there are other book authors that want to publish here, please feel free to do so!

Also if you have a github repo and want to make it easily runnable, you can place a badge on your repo like this:

https://notebooks.azure.com/help/libraries/sharing/create-a-...

Your users can then click it to upload+run.

smortaz··on “Run” the Python Data Science Handbook in your browser
That is the source material for the book. It was loaded by Jake to Azure Notebooks.

You can load any github repo by creating a Library (a repo basically), and +New / Load from github. It'll load the notebooks, data, etc. You can then run the notebooks.

smortaz··on “Run” the Python Data Science Handbook in your browser
Hi folks! we're getting the HN Hug [edit:Fixed]. If you want to check out the book, while we fix the issue, you can go to:

https://notebooks.azure.com

Then on the top "Featured" carousel click the link for Jake's book.

If you just want to view, try the 'notebooks' directory to see HTML rendered view of the book.

If you want to Run/Edit/etc the book:

1) Sign in - any gmail, outlook etc email will do. 2) Clone the book 3) Run! (Cell/RunAll)

smortaz··on A History of Music Notation
one improvement to the current piano music notation is making both staves start/end on the same notes. ie, EGBDF for both. right now a student learns the "right hand" / treble staff to be EGBDF... you'll mentally learn that the third line is a B note - maybe natural/sharp/flat, but it's a B. great. now you learn the bass clef and all the work you did for the treble clef is not applicable anymore: cause it's GBDFA! WTH? the third line is now a D and not a B like before. sure, youre supposed to learn both clefs together, but especially for beginners and sight reading, it wouldve been nice if both had the same sequence. especially when theyre only a 3rd apart! a possible way to achieve this is to add an A to the top of the treble clef: EGBDF[A], and add and E to the bottom of the bass clef [E]GBDFA. now both are are easier to learn and you dont have to constantly shift a third in your head. the 3rd line is always a B in both staves.

Another improvement, especially for piano music is to make the white/black key indication carried in the note shape/head. right now the note head carries duration information. it could also include whether it's a black key or white. this is useful especially for complex keys with many sharps/flats. this way whether you're in C major or Ab Minor, you dont have to constantly remember which notes are accidentals. sure, youre supposed to learn the scale and remember (including all the cancellations, double sharp/flats), but it's massively easier if this useful info is carried in the note shape. eg: square note head = black, triangle = white.

sorry for the rant!

smortaz··on ESO Telescopes Observe First Light from Gravitational Wave Source
Relevant: if you want run their actual code via your browser, check out their jupyter notebooks:

https://notebooks.azure.com/roywilliams/libraries/LIGOOpenSc...

Click View to read or Clone to make your own copy and run.

smortaz··on Ask HN: Who is hiring? (October 2017)
Microsoft | 3 devs for VS Code for Python+R support | Redmond mostly | Full-time

Our team builds tooling for Python and R developers:

https://www.visualstudio.com/vs/python/, https://www.visualstudio.com/vs/rtvs/, https://notebooks.azure.com/

In addition to support in Visual Studio, We are in the process building support for Visual Studio Code, which its lighter weight, cross-platform Editor++ cousin:

https://code.visualstudio.com/

If you are passionate about devtools, developer productivity, IDEs, languages, data science, ... this might be an exciting position for you!

Ideal candidate profile:

* 4+ years of JS/TS experience

* Experience building extensions for VS Code is a major plus

* Experience with IDE's (Editor/Debugger/...) is a major plus

* Experience with Python + R is a plus

All of our work has been done in open source from day one, as will these. We have no OS or HW religion - pick win, macos, linux, lenovo, macbook, ... :)

The positions are for Redmond, Wa, however I'll consider exceptional candidates for remote work.

If interested, or have questions, please send your resume to PythonJobs@Microsoft.com.

Thank you!

smortaz··on Announcing tools for the AI-driven digital transformation
Note that the integration is in VS Code, the lightweight Editor++ which is cross-platform. In general most of the AI/ML related work has been & will likely be cross-plat.

[disclaimer - microsoft]

smortaz··on Friends Are Genetically Similar (2014)
Study summary in one picture :)

https://iwsmt-content-ok2nbdvvyp8jbrhdp.stackpathdns.com/525...

smortaz··on Show HN: Jupyter4kids – Notebooks to help teach kids principles of programming
Not stupid at all. They UI can certainly improve, suggestions welcome :).

1. Sign in (top right)

2. Click "Get Started" to clone existing sample Library of notebooks - (a library is like a Project or Repo)

3. Click clone - this will give you your own copy of the Library

4. Click Run (this will give you a docker container with a bunch of pkgs. you can add your own pkgs).

To start from scratch

1. Sign in

2. +New Library. Give it a name or load a full Github repo including all its data)

3. Once in the Library, +New Notebook (or load a notebook from your machine)

4. Click the new notebook name or Run to land in your docker instance.

Hope this helps!

smortaz··on Show HN: Jupyter4kids – Notebooks to help teach kids principles of programming
Hi. My team basically runs the service - we don't provide much content. We rely on other domain experts to do that. We'll soon start highlighting some great notebooks on the front page however, especially ML related.
smortaz··on Show HN: Jupyter4kids – Notebooks to help teach kids principles of programming
Very nice!

Please consider uploading it to

Http://notebooks.azure.com

It's a free service for running and sharing Jupyter notebooks. That way the can run it immediately w/on installing anything (has anaconda).

Lots of teachers are using it. For example:

Http://notebooks.azure.com/richie

Disclaimer: I work on this :)

← PreviousPage 3 of 11Next →