Better HN
topnewbestaskshowjobs
Log inSign up

asitdhal

75 karma · joined Apr 6, 2016 (10y ago) · 48 submissions

asit-dhal.github.io
Submissions

comment 9y ago · link · parent

I also use Loop Habits

comment 9y ago · link · parent

Those who need Cobol use them(Core banking applications).

Rust is better than C++, but it's not extremely better than C++.

comment 9y ago · link · parent

Most C++ developers won't easily develop systems in Rust because of lack of well-known libraries and a stable ecosystem(profilers, static analyzers, concurrency tools, many skilled and mediocre developers, etc). C++11 and subsequent versions have a good amount of memory safety(though not as safe as Rust).

Rust is a modern language with very good concepts and features. It's quite complicated to learn.

My answer is it will be a good language, but won't be a top language.

comment 9y ago · link · parent

It's really great. Even if I know Qt and C++, I spent some time in ElectronJS. ElectronJS <<<<<<<<<<<< Qt + WebKit. This javascript is a weird language and killed a lot of time by simply providing many choices, some of which are horrible, but widely used.

comment 9y ago · link · parent

The only questions an interviewer can ask is how to build a graph and do graph operation(to test data structure skill). Graph Theory is too specific and many programmers never use any graph algorithms in their life.

You can always ask these questions to reject a candidate because you don't like his body odor.

comment 9y ago · link · parent

I don't know if similar things existed for C++11/14. But, it doesn't exist for C++17.

I faced the similar problem. I invested some money in Effective Modern C++(Scott Mayer). It covers the language part. I borrowed a book for C++11 concurrency. But, modern C++ lacks high-quality material at one place like Golang/Rust(the language guys have very good documentation, not boring and good enough to learn quickly). There are tons of scattered example.

comment 9y ago · link · parent

For those who wants to know c++17 features

http://stackoverflow.com/questions/38060436/what-are-the-new...

std::optional and std::any are one of the good things. std::apply and std::invoke can help you write better functional c++17 code.

Anyway thanks for C++17. For sometime, I thought I will learn Rust.

comment 9y ago · link · parent

an awesome idea !!

comment 9y ago · link · parent

It's a good story.

I know many people who studied life science subjects like Chemistry or Physics and got jobs in top cs companies. Most of them were self taught(physics dudes use some level of programming )

To be a programmer, you need to have a solid problem-solving skill. Pick up a language(invest money in books in any one programming language, DS and Algo, OOPS) and invest time in websites like hackerrank.

You can easily build anything on the above skills. No matter how well you studied basic database and os stuffs, you will always need a google search before using in real life.

comment 9y ago · link · parent

Kotlin is the best option for Android apps.

There are many languages for backends and tons of libraries. But there is hardly any substitute of Java in Android(if you don't consider JS solving every problem in this planet). If JetBrains only concentrate on building an ecosystem for android, it can become "the real Swift for android".

I built a dummy app for android in Kotlin. It was great. The same thing I tried in Scala(it didn't go very well).

comment 9y ago · link · parent

Thailand is a different country I guess. Nepal is a country of mountains and Thailand is definitely not. But, both are 3rd world countries.

comment 9y ago · link · parent

> Because comments are not Big Data.

Big data is mostly used when you want to monetize those comments.

comment 9y ago · link · parent

Xiaomi is the 3rd largest smartphone seller in India.

comment 9y ago · link · parent

Thanks for replying...I didn't realize the real life example.

comment 9y ago · link · parent

Is it an advertisement of PVS-Studio?

comment 9y ago · link · parent

Cheap in the sense, build and operate(and not phase out).

Coal may be cheaper than nuclear, but the damages to environment and health are too high.

comment 9y ago · link · parent

Nuclear energy is clean and to some extent cheap.

But, if a war breaks out and someone bombs a nuclear reactor, it will be messy to clean up the mess.

comment 9y ago · link · parent

This will have a lot of positive impacts if these kinds of research are converted to some frameworks instead of a new language.

Like scala has STM support !!

comment 9y ago · link · parent

That's why GoF book is available in the library.

People write more concrete tutorials and publish online. Abstract literature is for researchers and Concrete literature is for people who need a quick solution.

comment 9y ago · link · parent

Rust is better than C++, but most people work in legacy applications. And C++ ecosystem has a lot more stable libraries, frameworks and very active community.

comment 9y ago · link · parent

The best place to master c++ is StackOverflow. Many people share knowledge accumulated from experience and they explain much better than Herb Sutter or any gray beard people in C++ community.

Another important thing, no matter how many books you read, you can't be a master without actually solving a lot of problems.

comment 9y ago · link · parent

one more point

- invest in storage technology

Can we imagine, if we can store all electricity and reuse at night, it will reduce a lot of cost ?

comment 9y ago · link · parent

Exactly, I used django and jinja templates. Those two are feature rich. Golang template engine is mostly minimal with enough feature to do things.

The problem with Golang, most developers look for performance instead of the features. People who use python or ruby look for better features and ease of development. So, Golang engineers develop applications and libraries which doesn't help anyone.

comment 9y ago · link · parent

Is template parsing a major bottleneck ?

What I know, most web apps need template parsing only at the beginning. Once initial startup is done, delivery of content is mostly constant.

comment 9y ago · link · parent

I use google keep as a todo/planning app and VSCode with Markdown extension as a note taking app.

26.

Golang slice and append(hackernoon.com ↗)

2 points · by asitdhal · 9y ago · discuss

comment 9y ago · link · parent

In India, the state is simply lazy.

All most all English words should have an equivalent in all native languages. But, unfortunately no one forms any new words.

If apps can be fully translated to the local languages, it will help everyone.

28.

Tips and Tricks for Achieving Your New Year’s Resolutions(blog.trello.com ↗)

1 points · by asitdhal · 9y ago · discuss

12