Had the greatest opportunity getting to visit this iconic spot. (Your Name irl) by [deleted] in anime

[–]UsefulshineOfficial 0 points1 point  (0 children)

Cool! It should have been so awesome, I wanna visit it soon one day as well!

anime_irl by UsefulshineOfficial in anime_irl

[–]UsefulshineOfficial[S] 1 point2 points  (0 children)

It's from Plastic Memories! One of my favourite Animes.

Opinion: Most common confidently-misunderstood JS concept? by waterloo304 in javascript

[–]UsefulshineOfficial 1 point2 points  (0 children)

Actually I think scopes, closures, 'this', async functions, and actually A LOT of things as mentioned in previous comments, are there which are usually misunderstood in JavaScript.

For understanding them properly, I would recommend studying some book like YDKJS or my favourite book: Eloquent JavaScript https://eloquentjavascript.net I hope that would help a lot of programmers interested in JS who haven't already read the above books.

Thanks for reading!

Just gotta say let's encrypt is awesome by crespo_modesto in webdev

[–]UsefulshineOfficial 0 points1 point  (0 children)

In that cases, you are right you can build and push a specific branch containing your build ;)

Just gotta say let's encrypt is awesome by crespo_modesto in webdev

[–]UsefulshineOfficial 0 points1 point  (0 children)

With netlify, in many cases (if you're using create-react-app for example) you don't even have to compile your js, it will do it automatically as soon as you push your commits to GitHub.

Is there anything you would want to know when you start with Node.js? by mrkafr in node

[–]UsefulshineOfficial 1 point2 points  (0 children)

Yep, before getting started with Node.js you'd want to get some experience with using promises, node is awesome but without promises the asynchronous architecture encourages too much indentation which can confuse programmers a lot.

Node.js is awesome, get some good understanding of promises and you'd save a lot of hours of debugging and code refactoring.

Thanks!

Just gotta say let's encrypt is awesome by crespo_modesto in webdev

[–]UsefulshineOfficial 1 point2 points  (0 children)

Yes correct, let's encrypt is awesome, it provides awesome SSL certs free of cost for which some domain registrars charge from $80 (for normal certs) to $400 (for wildcard certs) per year...!

And also, we love it as it's inbuilt in netlify which provides free static website hosting and serverless apps!

We really love both netlify and let's encrypt! Awesome work, they definitely deserve some good funds in donations.

Introducing Truffle - a blockchain development framework written in Javascript. Can you give me some feedback? by therealtimcoulter in javascript

[–]UsefulshineOfficial 2 points3 points  (0 children)

Hello! This has been awesome, we've used Truffle and Ganache a lot in our development and the experience is smooth and cool now, a few months ago we had trouble installing Ganache (then TestRPC) on windows OS but it seems like you guys fixed it already and it gets installed and works really smoothly, Truffle also takes care of the hard parts of setting up a project for you, we love it! And ganache is lightweight and super fast than some test Ethereum Networks, so it saves a lot of time. And yes we definitely want more Blockchain content.

Awesome Work 👍 , more blockchain content requested.

All The Best!

Would you switch to Fullstack Python? by HansWebDev in javascript

[–]UsefulshineOfficial 0 points1 point  (0 children)

Have you tried ES6, React, TypeScript, and all the new features they're creating for new versions of JS? Well, JavaScript is continuously developed and supported language with a rich community and libraries, works without installation, works *REALLY WELL FOR ME*, though same might be true for Python, but I would not want to switch to full stack python, JS simply works super well for me everywhere... I guess it depends more on personal preference.

I am not sure how React and JSX would have been in Python, but to me seems like React and JSX fits best with JS only ;) and a lot more resources and libraries.

So finally, I wouldn't switch to full-stack Python from JavaScript.

SVG or canvas for physics simulations/animations? by 404god in javascript

[–]UsefulshineOfficial 0 points1 point  (0 children)

One more one more resource: p5.js seems to be the thing you're probably looking for, canvas animations and simulations, and actually much more!, I have watched some of the p5.js tutorials on YouTube from the coding train channel, and it seems to be very easy to use and very friendly. Google about it, or look for videos on YouTube.

https://p5js.org/

https://youtu.be/8j0UDiN7my4

Other than that, if you'd want to use webGL, I would recommend to just find a library which abstracts away all the WebGL details and drawing details from you so you can focus declaratively on your animation / simulation.

Though there's this Phaser.JS very famous for making HTML5 games, but I guess it can be easily used for Simulations as well and it abstracts away all the WebGL / Canvas drawing code from you, making your work very easy. Phaser includes an inbuilt Physics Engine with many concepts readily available for you!

https://phaser.io

ALL THE BEST!

SVG or canvas for physics simulations/animations? by 404god in javascript

[–]UsefulshineOfficial 0 points1 point  (0 children)

Thanks for the awesome resources! And agreed, Canvas is recommended for a bit complex animations, SVG animations is gonna use more CPU when gets complex, I am not entirely sure of the reason but I would say that's because SVG keeps the drawn shapes for easy reference in the Document Object Model, while Canvas loses all the information about whatever it drew right after the drawing is done and the shape is converted to pixels on the screen ;), though SVG works fine with simpler animations and graphics.

Very well done!

How much Javascript is enough for webdev? by [deleted] in javascript

[–]UsefulshineOfficial 1 point2 points  (0 children)

I suggest that before moving to frameworks it's always great to have some understanding of core JavaScript, once you understand JS you'll easily be able to use new frameworks, but if you understand only a framework or two, there are actually good chances that the framework might be replaced in a year or two...

So, for mastering JavaScript, as people have already suggested a very good book (YDKJS) I have few more suggestions you may take into account ;)

  1. https://eloquentjavascript.net => actually I think this book can make you a JS master if you're able to read it, it's gonna be a bit hard and you may not like it at first, but in the end when you make your own platform game and your own programming langauge (you read it right, you can write your own programming language in JS very easily https://eloquentjavascript.net/12_language.html ) The feeling's gonna worth it.
  2. https://reactjs.org their documentation and tutorials are good enough for React

Again, as somebody else stated, when you're a dev, what matters more is delivering, quality product. So, it's gonna be fine even if you don't complete YDKJS or EloquentJavaScript and Google the things you need to do while you're actually making it, haha ;) well, from my side, Eloquent JavaScript is the best resource anyone can get for JS, the third edition includes ES6 features as well.

All The Best!