Live data from Hacker News

Ask HN: Tutorials written with heavy dependencies

news.ycombinator.com

11–20 of 53 posts

Re: Ask HN: Tutorials written with heavy dependencies

#13

> A great example is the machine learning: An immediate google gets you as far as 'install these 10x libs' then write this. This is because ML mostly uses Python. And Python is an absolute clusterfuck of dependency hell. https://xkcd.com/1987/

How do you get started with Python dependencies? I've been trying to play with some scientific code and never managed to get it to run and install its dependencies.

Re: Ask HN: Tutorials written with heavy dependencies

#14
> is there a resource other than source code I'm missing ?

First, you should understand the math you need to be able to implement the algorithms, then you should learn the algorithms. You may "get" the code, but you will never understand it if you don't understand the mathematical objects it represents.

Simple example, linear regression, we can compute the solution without iterative improvements as in Neural Networks, why? How do we actually code that? What is the pseudo-inverse that we are computing doing there?

From here, what's the relationship of that with Newton's method for numerical optimisation? Why does alternating least squares even work?

The code will _never_ explain the underlying mathematics, it can only represent them.

I am not really sure what you are expecting for such a vast field. I recommend reading Elements of statistical learning or Bishop's book or Murphy's Probabilistic ML.

Re: Ask HN: Tutorials written with heavy dependencies

#15

I remember attending a meetup, once, where it was supposed to be a tutorial on GraphQL. I was barely familiar with GraphQL, when I went in, and left, almost exactly the same. The tutorial was actually all about a couple of JS libraries that you could use as GraphQL abstractions. I am a Swift programmer, and was a lot more interested in the actual GraphQL interface, which was barely mentioned. Lot of that stuff, going…

Please... I've already come to the belief that graphQL is black magic. I use it daily.

You do raise a another great example with graphQL & sparQL .. I gave up trying to find any low level documentation on it because it was its so abstract from something I knew before, so I just learnt the triplets and felt comfortable to query 'enough'. I use a library now https://github.com/giacomociti/iride because I know the owner and could bug him. Other than that it was a black box.

Re: Ask HN: Tutorials written with heavy dependencies

#16

> A great example is the machine learning: An immediate google gets you as far as 'install these 10x libs' then write this. This is because ML mostly uses Python. And Python is an absolute clusterfuck of dependency hell. https://xkcd.com/1987/

> ML mostly uses Python

This is a symptom maybe and not a cause. I preferred R-lang for data intensive even matlab, but I don't know because all tutorials are in Python and there is no low lvl ones.

Re: Ask HN: Tutorials written with heavy dependencies

#20

I remember attending a meetup, once, where it was supposed to be a tutorial on GraphQL. I was barely familiar with GraphQL, when I went in, and left, almost exactly the same. The tutorial was actually all about a couple of JS libraries that you could use as GraphQL abstractions. I am a Swift programmer, and was a lot more interested in the actual GraphQL interface, which was barely mentioned. Lot of that stuff, going…

You’ve probably figured it out by now, but for others who may be in a similar position; GraphQL is a specification (with various implementations) and you can read up on the spec here: https://spec.graphql.org/
Post reply on HN