John Myles White

johnmyleswhite.com · Personal blog · on HN since 2010

John Myles White is a data scientist and Julia language contributor who writes about statistics, machine learning and programming.

What HN saysHN links it for explanations of norms in linear regression and his early Julia post; one commenter calls the norms follow-up excellent.
40HN people shared it
12linked it in comments
33stories submitted
1.1Kstory points
3 years agolast shared
2010people per year2026

Most-shared posts

  1. 1
    Modes, Medians and Means: A Unifying Perspective
    7 people · 477 points · first shared 2013 · 66 comments on HN
  2. 2
  3. 3
    Using Norms to Understand Linear Regression
    4 people · 1 points · first shared 2017 · discussion on HN
  4. 4
    Julia, I love you (2012)
    2 people · 136 points · first shared 2012 · 65 comments on HN
  5. 5
    Writing Type-Stable Code in Julia
    2 people · 5 points · first shared 2013 · 1 comments on HN
  6. 6
    The Lesser Known Normal Forms of Database Design
    2 people · 4 points · first shared 2014 · discussion on HN
  7. 7
    Why does factorial(21) equal -4249290049419214848?
    2 people · 3 points · first shared 2013 · 3 comments on HN
  8. 8
    What's wrong with statistics in Julia?
    1 people · 132 points · first shared 2014 · 52 comments on HN
  9. 9
    My Experience at JuliaCon
    1 people · 114 points · first shared 2014 · 35 comments on HN
  10. 10
    Why I’m Not a Fan of R-Squared
    1 people · 77 points · first shared 2016 · 51 comments on HN
  11. 11
    The State of Statistics in Julia
    1 people · 69 points · first shared 2012 · 12 comments on HN
  12. 12
    Why Julia's DataFrames Are Still Slow
    1 people · 60 points · first shared 2015 · 21 comments on HN
  13. 13
    The Social Dynamics of the R Core Team
    1 people · 24 points · first shared 2012 · 2 comments on HN
  14. 14
    How I learned to make decisions and love causation
    1 people · 5 points · first shared 2010 · discussion on HN
  15. 15
    Hopfield Networks in Julia
    1 people · 5 points · first shared 2013 · discussion on HN

What HN people wrote when they linked it

tomrod · 2023-07-15
I have extensive work in Matlab, C, Fortran, R, Python, Julia, SAS (IML), and am learning Go and Rust. I have played with Java and Kotlin on non-serious projects. I typically use Python for data-related tasks. Julia is just okay. It lost its steam due to long beta, slow time to first plot after 1.0 release, and generally not being a strategically adopted language by ML innovation groups. A great example of what is versus what was hoped is John Myles White's work[0], where the headline is "worked on large community Python projects" but is one of the originators of Julia's fundamental data packages. I've had lots of intelligent people who use code as a tool instead of as a craft -- for data folks, their craft is working with data and not the tooling around it. For folks like this, Python is simply a better option in today's environment. [0] https://www.johnmyleswhite.com/about/
icc97 · 2017-12-18
There is a follow up post [0] talking about L_p norms, although it doesn't mention L_infinity [0]: http://www.johnmyleswhite.com/notebook/2013/03/22/using-norms-to-under…
jaddood · 2017-12-17
In case anyone wants to dig into the follow up on Lp norms, here it is: http://www.johnmyleswhite.com/notebook/2013/03/22/using-norms-to-under…
juliangamble · 2012-04-16
> So who knows, maybe the power of lisp combined with a non-lispy syntax is a balloon that can fly. Sounds like Apple's old language Dylan, and perhaps the Julia language: http://www.johnmyleswhite.com/notebook/2012/03/31/julia-i-love-you/
cbkeller · 2021-03-22
I think people often underestimate (or just plain don't know about) the degree to which a multiple-dispatch-based programming language like Julia effectively implies its whole own dispatch-oriented programming paradigm, with both some amazing advantages (composability [1], and an IMO excellent balance of speed and interactivity when combined with JAOT compilation), but also some entirely new pitfalls to watch out for (particularly, type-instability [2,3]). Meanwhile, some habits and code patterns that may be seen as "best practices" in Python, Matlab can be detrimental and lead to excess allocations in Julia [4], so it may almost be easier to switch to Julia (and get good performance from day 1) if you are coming from a language like C where you are used to thinking about allocations, in-place methods, and loops being fast. Things are definitely stabilizing a bit post-1.0, but it's still a young language, so it'll take a while for documentation to fully catch up; in the meanwhile, the best option in my experience has been to lurk the various chat forums (slack/zulip/etc. [5]) and pick up best-practices from the folks on the cutting edge by osmosis. [1] https://www.youtube.com/watch?v=kc9HwsxE1OY [2] https://www.johnmyleswhite.com/notebook/2013/12/06/writing-type-stable… [3] https://docs.julialang.org/en/v1.5/manual/performance-tips/#man-code-w… [4] https://github.com/brenhinkeller/JuliaAdviceForMatlabProgrammers [5]…
andy_wrote · 2017-02-01
For readers who are OK with some math, I recommend John Myles White's eye-opening post about means, medians, and modes: http://www.johnmyleswhite.com/notebook/2013/03/22/modes-medians-and-me… He describes these summary descriptive stats in terms of what penalty function they minimize: mean minimizes L2, median minimizes L1, mode minimizes L0. A single-number statistic is _going_ to leave things out, so if you must boil things down into one number, or even a few numbers, you're going to lose something that you had in the raw data. This is why I find claims along the lines of "statistics don't tell the whole story" a little bemusing - of course they don't, the very definition of a statistic is a summarization of data that is easier to work with. The question is what data is kept or lost, or more generally what importance we place on different aspects of the raw data such that it's reflected in our descriptive statistics. The lessons for non-technical people who want to communicate with descriptive statistics are to recognize that summarization is inherent in the nature of any descriptive statistic, that they are thereby opinionated in some way in terms of what they've preserved and what they've left out, and to recognize whether those opinions are appropriate for your purpose.
claytonjy · 2018-01-08
You might like this blog post from John Myles White: http://www.johnmyleswhite.com/notebook/2013/03/22/modes-medians-and-me… It compares mode, median, and mean as each being specific implementations of a more general concept of discrepancy.
vegabook · 2015-10-14
Okay. This post: http://www.johnmyleswhite.com/notebook/2013/12/22/the-relationship-bet… had worried me a couple of years ago. JMW shows that vectorized was much slower also in Julia (though still both faster than R - but that's not difficult). Glad to see Julia is very fast in both cases, though it's still somewhat perplexing the extent to which vectorized code is necessarily slower. I'm thinking that the future of GPU enabled languages will mean vectorized code will be faster, so I prefer languages with a bias towards vectorisation.
optimali · 2015-10-14
It seems that though with in Julia, vectorized code is typically slower than non-vectorized, it is still faster than in R [1] / Python [2]. [1] http://www.johnmyleswhite.com/notebook/2013/12/22/the-relationship-bet… [2] http://blog.rawrjustin.com/blog/2014/03/18/julia-vs-python-monte-carlo…
ihnorton · 2014-01-26
Julia supports arbitrary precision arithmetic just fine, but you need to explicitly use it. Overflow checks don't matter in Python or Ruby where everything is relatively slow. See also: http://www.johnmyleswhite.com/notebook/2013/01/03/computers-are-machin…
kylebrown · 2013-02-06
Seems like as time goes on, I have to deal with more and more bugs in iOS and OS X. I know I'm not the only one.[1] I think I've figured out why: Apple doesn't track bugs. I just know they don't, even though I don't work there. Its like they just add features and release a new version, so they can ignore all bugs reported for previous versions. Crash reports are automatically and constantly submitted (looking at you Safari), but it never seems to get better. Gives me the feeling that the bugs are never fixed, just carried over into every new version. 1. http://www.johnmyleswhite.com/notebook/2012/10/02/finder-bug-in-os-x/

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close