News for hackers. Stuff that matters.

asitdhal

I also use Loop Habits
Those who need Cobol use them(Core banking applications).

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

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.

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.
Re:Graph Data Structure Interview Questions on Saturday March 25, 2017 @08:25PM (#13958255)
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.

Re:C++ 17 is Done on Saturday March 25, 2017 @11:54AM (#13956196)
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.

Re:C++ 17 is Done on Saturday March 25, 2017 @07:39AM (#13955119)
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.

Re:Launch HN: Wifi Dabba (YC W17) – Low-Cost Wifi in India on Wednesday March 15, 2017 @10:02PM (#13881770)
an awesome idea !!
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.

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).

Re:What it’s like remote working in Nepal on Thursday February 23, 2017 @04:21AM (#13712647)
Thailand is a different country I guess. Nepal is a country of mountains and Thailand is definitely not. But, both are 3rd world countries.
Re:Isso: A Commenting Server Similar to Disqus on Tuesday February 21, 2017 @06:47PM (#13701399)
> Because comments are not Big Data.

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

Re:Xiaomi Promotes India Boss Manu Kumar Jain to VP on Sunday February 19, 2017 @06:46PM (#13682975)
Xiaomi is the 3rd largest smartphone seller in India.
Re:Recommendations about coding in C++ on Sunday February 19, 2017 @05:42PM (#13682583)
Thanks for replying...I didn't realize the real life example.
Re:Recommendations about coding in C++ on Sunday February 19, 2017 @02:34PM (#13681470)
Is it an advertisement of PVS-Studio?
Re:The Murky Future of Nuclear Power in the United States on Saturday February 18, 2017 @08:05PM (#13677616)
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.

Re:The Murky Future of Nuclear Power in the United States on Saturday February 18, 2017 @03:46PM (#13676594)
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.

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 !!

Re:Design Patterns – A comprehensible guide on Friday February 17, 2017 @08:34AM (#13668135)
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.

Re:Master C++ Programming with Open-Source Books on Thursday February 16, 2017 @09:15AM (#13659981)
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.
Re:Master C++ Programming with Open-Source Books on Thursday February 16, 2017 @08:58AM (#13659870)
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.

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 ?

Re:Hero – A handy, fast and powerful Go template engine on Tuesday February 14, 2017 @04:52AM (#13642431)
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.

Re:Hero – A handy, fast and powerful Go template engine on Tuesday February 14, 2017 @03:40AM (#13642172)
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.

I use google keep as a todo/planning app and VSCode with Markdown extension as a note taking app.
Re:Does India need its own vernacular internet? on Friday December 16, 2016 @08:24AM (#13193032)
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.

Re:Of course Zuckerberg wants to bow to Chinese censorship on Friday November 25, 2016 @08:04PM (#13041093)
Ethics does not exist in reality. At the end of the day, you try to live a better life.

Facebook sells ads and to live longer, it needs to sell more ad. Invention is a growing vertically, which is very difficult and if you stop, you die. Expansion is growing horizontally, which is easy. You live longer, if you spread quickly.

Re:Of course Zuckerberg wants to bow to Chinese censorship on Friday November 25, 2016 @12:42PM (#13038412)
The purpose of a private corporation to make the share holders wealthy, even if you have to appease a foreign government.

Many companies cooperate with NSA, rouge governments all over the world. Everybody does that. It's not new.

At the end of the day, people have to be paid and investment needs to be multiplied.

Older »