HNHacker News
TopNewBestAskShowJobs

deadcoder0904

1,984 karma · joined June 27, 2017

dm me → https://x.com/startupspells

join my daily growth hacking newsletter → https://startupspells.com

submissionscomments
deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
Wow this is so inspiring. This is something I'll do it with Swift what you did with C++ :)
deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
This is exactly what I do now minus reading the docs. I never read the original docs for anything except React. I don't know what made me do that but I remember I tried reading it but it was too big & I felt intimidated. Although, the docs nowadays are good enough & not scary like Vue, React, etc...

I guess I should start reading the docs because sometimes the answer I find Googling is already present in the docs :)

deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
The problem is it gets really irritating building the same thing again & again in multiple different languages. The only application I have repeated is a Todo App. But nice advice, I will apply it while learning Swift.
deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
The problem is you don't know what to watch. Earlier there was a problem when there was no YouTube & now it is problem because there are like tons of videos on a same thing & you can't be sure what to watch. Popularity is sometimes a flawed metric too. I have watched few awesome videos but the views for that were very low & I have watched some videos in which the view count is high but the content is mediocre.
deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
I make this mistake a lot. When learning new language, I think just learning syntax is enough. I had to forget PHP to work with Node, as Node is asynchronous & when I was working with PHP it was synchronous. Just couldn't get my head around async code. Very helpful insights.
deadcoder0904··on Ask HN: What is your best way to learn a new programming language?
Point 2 is spot on. I sometimes make projects that nobody will ever use, not even me. I heard this advice from someone. Make lots of throwaway projects to get familiar with the technology. But I took it too far. I only used it to make throwaway projects. Now will make something that is useful. Thanks for all the insights. Very helpful.
deadcoder0904··on Ask HN: Benefits of front-end JavaScript frameworks?
The title of the question says something else & the description says something else.

Anyways I'll try to answer the title "Benefits of front-end JavaScript frameworks"

I wanted to know the same question a year ago so I tried making a site in Vanilla JS. Here is the demo [0] & here is the code [1] & my thoughts when I wrote it [2].

I tried making the application with Vanilla JavaScript without any frameworks & it sucked. I had to do routing. I had to maintain state & the code organization in a single JavaScript file was terrible.

That's why there are frameworks like React/Vue/Angular that help us make it simple. It handles the client state, routing for you & a lot of complex logic. Try making the same application I made using Vanilla JS & then try making it in any framework. It won't require more than a week but you will know why you require a Framework instead of doing it on your own.

In short, if you're not using a Framework, you're building one.

[0]: https://deadcoder0904.github.io/AMA-reader [1]: https://github.com/deadcoder0904/AMA-reader [2]: https://100dayz.js.org/2016/12/02/AMA-Reader

deadcoder0904··on Ask HN: What stack you use for web app?
Everything JavaScript
deadcoder0904··on The Makefile I use with JavaScript projects
Make is awesome. I often did things with it earlier however now if I want to do something with NodeJS I generally use npm scripts tag. And sometime it gets tedious to do so then I use nps [0]. If I need something big then I go with Webpack or Parcel.

[0]: https://github.com/kentcdodds/nps

deadcoder0904··on Elon Musk said SpaceX's multi 1000 satellite Internet service will be IP-less
Sorry I'm the OP. I just stole the title from Reddit for some easy karma because I couldn't understand all the jargon. PS - Admire both your work <3
deadcoder0904··on Show HN: React Native Paper 1.0.0 released
Yep checkout the example app - https://expo.io/@satya164/react-native-paper-example
deadcoder0904··on Show HN: RedditDaily – Top posts from your favorite subreddits emailed to you
Well someone made a similar thing that I am subscribed too [1]

It gives HN & Reddit top posts

[1]: https://docs.google.com/forms/d/e/1FAIpQLSfyBQ_wEHbh00CcLotT...

deadcoder0904··on Native UIs using Vue.js and NativeScript
I personally feel nothing is as close as React Native right now. Whether it be Flutter or NativeScript or Weex. It will still require some time to mature as much as React Native is today.
deadcoder0904··on Native UIs using Vue.js and NativeScript
Weex is adopted well in the Chinese Community. From what I hear, its used in Alibaba (E Commerce site of China like Amazon) products. Its mature but you won't find well-written docs in English.
deadcoder0904··on Show HN: Best Practices Guide Containing 50+ SEO, Speed and Security Rules
I'm not the developer but my post, LOL.

Jokes aside. This will be really helpful for me when I am building my Gatsby powered Blog. Thanks for that. Also, what is the difference between CheckBot & LightHouse?

deadcoder0904··on Ask HN: Has anyone built a platform for sharing stuff online (curating)
Well yeah, checkout https://awesome.re

Or in a pretty format checkout https://prettyawesomelists.com

deadcoder0904··on Ask HN: What is setup for your static blog generator?
I started with Jekyll which had tons of freely available themes (no link) then went on to Hexo but it was slow ( https://100dayz.js.org ) compared to my next one Hugo (no link again) but Hugo was the fastest to generate since its made in Go. Then I used different documentation generator like Docute ( https://datastructures.js.org ) & Docsify, etc...

Then now. Personal opinion but I love Gatsby ( https://www.gatsbyjs.org ). For me, it is the best static site generator out there. Yes more than static site generator as it is a PWA by default. It is infinitely scalable. It prefetches content before its loaded (think about this as you get the data of Previous Blog Post & Next Blog Post when you are on the Current Blog Post). Its so fast that you will actually feel the speed. Also, with little efforts you can make it work offline too.

deadcoder0904··on Ask HN: What's the next Bitcoin? (re: innovation, not cryptocurrency)
* Web 3.0

* WebRTC

* AR/VR

* P2P

deadcoder0904··on Ask HN: What other websites/forums do you use that are of similar quality to HN?
https://wip.chat
deadcoder0904··on Ask HN: How do I build a community like Hacker News and Reddit?
Its simple. A community is where people exists. So you can create a WhatsApp Group, FB Group or Telegram Group where people can join in. It can be regarding to what you are interested in. Like some people like Games so create one for that. One recent example is WIP [0]. It started few months back for shippers & now is making around $2000 MRR. Its just a telegram group.

[0]: https://wip.chat

deadcoder0904··on Ask HN: What would you like to see in a tech blog revolving around JavaScript?
Like your View but won't be writing on Vue

I know my jokes are terrible, my friends tell me that. But hey thanks. This is awesome & I didn't knew about it yet.

deadcoder0904··on Ask HN: What would you like to see in a tech blog revolving around JavaScript?
Yep, yep & yep it helps learning Vanilla JS. But I don't think people will now go back to use `var` rather than `let` & `const`. Yeah I can give a basic overview why we have ES2015/16/17/18 when we can still use Vanilla JS. But my question is would most people learn that content when you know you can write better code in ES6 or ES7 & use Babel to transpile it to Vanilla JS?

The point is I want to reach to more people & I don't think there are many people like you & me that are willing to learn the roots of the evolution of JavaScript. If you think it would reach a wider audience, I can make tutorials on it.

But there are some awesome resources which have many of those things are - https://javascript30.com & http://exploringjs.com & http://2ality.com/2017/02/ecmascript-2018.html

I was thinking maybe its better to create something which has less awesome resources. Something like Svelte or a full blown tutorial like https://teropa.info/blog/2015/09/10/full-stack-redux-tutoria...

deadcoder0904··on Ask HN: What would you like to see in a tech blog revolving around JavaScript?
Any example? Just know that they are Functional Programming Languages. But I don't want to burden myself learning anything else because now I know a lot of things with which I can build Websites, Mobile & Desktop apps. So want to just apply it with Blogging as a hobby.
deadcoder0904··on Ask HN: Is it possible (convenient) to code an Android app using only Kotlin?
You hate Java but you know JavaScript, then try React Native. You can create most of the applications using React Native which works for both IOS & Android. Or you can try Flutter which uses DartLang.
deadcoder0904··on Ask HN: Flutter VS React Native
Can u give me a tough use case where RN won't perform likewise ? I really want to make good decision here. Otherwise it would happen like AngularJS.
deadcoder0904··on Ask HN: Flutter VS React Native
Think about Background Location Tracking when the app is closed. I saw some video on YouTube in which the speaker has one such use case like he has a Car Service like Uber. But the Driver needs location tracking & the app shows the path to reach from point A to point B. So if the app is running all the time even when the car is stopped at some place. Lets suppose the Driver wants to take a piss or have food. Then he will stop so the app won't be running now. This specific use case with React Native will run a lot of the battery & CPU cycles as the speaker told in the YouTube video. The original video I could not find. But I think I explained it perfectly now.

Summary of the usecase if I have not explained well - Uber like Car for picking packets from one place to another. Must be keeping track of Driver Location. But should not run all the time, must only run while Car is moving. This won't work with React Native, I mean it would but it takes a lot of performance, CPU, battery, etc...

Another 2 videos also show where React Native cannot be used for particular usecases like https://www.youtube.com/watch?v=HXKFQu2cP4c & https://www.youtube.com/watch?v=psZLAHQXRsI

Let me know if its clear now ?

deadcoder0904··on Ask HN: Best development laptop?
Just go with Macbook Pro 2016 without touchpad. Its cheap & if u change your mind on developing for MAC or IPHONE then you can do it. If you don't buy a MAC you won't be able to build apps for MAC or IPHONE. So buy it now & you'll use it for 3 years until you have a big fat salary to buy a new one.
deadcoder0904··on Show HN: Create beautiful charts with one line of React
Awesome library. @ahmeni is right include screenshots in Github as well & show the website link rather than writing the description with link in Markdown. Also, add link beside Github pages repo description too. Great job.
deadcoder0904··on Ask HN: Best Digital Product Seller Like Gumroad or SendOwl?
Yep that's what I meant. Read it again I said "When u make a lot, it takes a lot" which is synonymous to "Proportional". Also, I can save a shit ton of money if I make my own Gumroad.
deadcoder0904··on Ask HN: Best Digital Product Seller Like Gumroad or SendOwl?
Thank you so much, you've been such a great help
← PreviousPage 5 of 6Next →