Live data from Hacker News

Neural networks in JavaScript – free 19-part course

scrimba.com

11–20 of 74 posts

Re: Neural networks in JavaScript – free 19-part course

#11

Earlier quoted context omitted.

coz its the best language for prototyping and learning

It really, really super isn’t. It’s a Frankenstein mashup of programming insanity that never should have come into being in the first place, much less become the de facto language of the web.

Any particular reasons or is this just based on what you heard 10 years ago?

Re: Neural networks in JavaScript – free 19-part course

#12

Earlier quoted context omitted.

coz its the best language for prototyping and learning

It really, really super isn’t. It’s a Frankenstein mashup of programming insanity that never should have come into being in the first place, much less become the de facto language of the web.

[deleted]

Re: Neural networks in JavaScript – free 19-part course

#13
post #7

Earlier quoted context omitted.

coz its the best language for prototyping and learning

There are many languages that are very popular for prototyping and learning what makes JavaScript the best?

for one its available in any browser console... there is no setup per se.

Re: Neural networks in JavaScript – free 19-part course

#14

Earlier quoted context omitted.

coz its the best language for prototyping and learning

It really, really super isn’t. It’s a Frankenstein mashup of programming insanity that never should have come into being in the first place, much less become the de facto language of the web.

it actually isnt a mashup... if u look at the data types... they are some of the simplest... the apis might be a bit weird... i agree

Re: Neural networks in JavaScript – free 19-part course

#15
post #7

Earlier quoted context omitted.

coz its the best language for prototyping and learning

There are many languages that are very popular for prototyping and learning what makes JavaScript the best?

also for better or for worse... the javascript ecosystem is amazingly wide... from brain as in this example to p5js for creative programming etc... i think we can agree that no other language and ecosystem has that much breadth and reach...

Re: Neural networks in JavaScript – free 19-part course

#16
post #5

Why the heck Javascript?

One very practical reason is to save on computation costs. GPU servers are not cheap and if you're going to run on CPU anyway, you might as well run it locally on the user's browser.

Some demos such as real time object detection isn't possible at all if you had to pay roundtrip server latency (not to mention the complexity of streaming video to and from your server): https://github.com/ModelDepot/tfjs-yolo-tiny

And a lot of web demos such https://affinelayer.com/pixsrv/ I don't believe will be up for such a long time if the author had to pay ongoing server costs.

Re: Neural networks in JavaScript – free 19-part course

#18

Earlier quoted context omitted.

It really, really super isn’t. It’s a Frankenstein mashup of programming insanity that never should have come into being in the first place, much less become the de facto language of the web.

Any particular reasons or is this just based on what you heard 10 years ago?

From the top of my head:

- `this`

- the whole prototypal inheritance thing

- class inheritance bolted on top of prototypal inheritance

- arrow functions vs `function` functions

Re: Neural networks in JavaScript – free 19-part course

#19
post #16
post #5

Why the heck Javascript?

One very practical reason is to save on computation costs. GPU servers are not cheap and if you're going to run on CPU anyway, you might as well run it locally on the user's browser. Some demos such as real time object detection isn't possible at all if you had to pay roundtrip server latency (not to mention the complexity of streaming video to and from your server): https://github.com/ModelDepot/tfjs-yolo-tiny And a…

Are you under the impression that js is the only language that can run locally?

Re: Neural networks in JavaScript – free 19-part course

#20
post #16
post #5

Why the heck Javascript?

One very practical reason is to save on computation costs. GPU servers are not cheap and if you're going to run on CPU anyway, you might as well run it locally on the user's browser. Some demos such as real time object detection isn't possible at all if you had to pay roundtrip server latency (not to mention the complexity of streaming video to and from your server): https://github.com/ModelDepot/tfjs-yolo-tiny And a…

There is NO save on computation cost. CPU is slow for NN whatever language you are using.

OP has a point, if I want to learn PRACTICAL front end programming, I will choose javascript, not Python. Same for Neural networks, just switch the place.

Post reply on HN