HNHacker News
TopNewBestAskShowJobs

chappar

55 karma · joined January 18, 2010

http://www.hackernewsers.com/users/chappar.html
submissionscomments
chappar··on On leading underscores and names reserved by the C and C++ languages
It would be interesting to hear more about this!
chappar··on Siri, What Time Is It in London?
I had never used an Apple product before the company which I joined recently gave me a MacBook Pro. I am really surprised how bad the product quality is. The calendar notification is very random. Sometimes it fires, sometimes it does not. I have missed couple of meetings because notification popped after the meeting was over. Similarly the keyboard shortcut is random. Sometimes it opens the app, sometimes it does not. The laptop also gets very hot if you are not sitting in A/C. Not sure if it is this specific laptop or it is a general issue
chappar··on F() vs. F(void) in C vs. C++
Can't you do that already with f(...)?
chappar··on About V, the language Volt is written in
It is an extra ordinary feat that the OP took only couple of weeks to create a working programming language. I always thought it takes years to create a new language. It will be interesting hear from OP, how he could create a new language in couple of weeks
chappar··on Using D to Create the World’s Fastest File System
Do you mind giving an example for the specific use of "c++ partial ordering scheme for template selection"?
chappar··on rr: lightweight recording and deterministic debugging
Last time when I checked, rr did not support multi-threaded application well. Has that changed now?
chappar··on Microsoft Releases a Linux Version of the ProcDump Sysinternals Tool
Honest question. What is a typical use-case for this tool?
chappar··on Consistency Without Clocks: FaunaDB's Distributed Transaction Protocol
How does FaunaDB achieves atomicity without some sort of 2 phase commit? What I understood from the article is that each node in a replica commits independently from the distributed transaction log. So, if a transaction updates data in multiple nodes in a replica then it can happen that one of the commit in one of the nodes fails because of some failure. In that case will there be partial commit?
chappar··on The end of India’s ‘IT miracle’?
I am not sure how you can generalize. I would not consider it as a red flag unless the candidate in question has history of hopping too quickly. I have direct/indirect experience of being both the sides. I once left a company in couple of months because company's culture was totally different than what I expected. I have also seen a friend of mine getting fired in couple of months after joining a company because company felt he was a misfit
chappar··on The end of India’s ‘IT miracle’?
I guess it depends on which team you are in. I have worked for some of the well know MNCs(not FANG) in Bangalore, some of the teams I was part of did really hard core development work. Some of my team members in Bangalore were more competent than our US counterpart.
chappar··on A man who 'discovered' 780 Indian languages
A correction, it is kannada not kannad :-)
chappar··on Launch HN: NextDrop Technologies (YC S17) – Water Marketplace for Urban India
>>we have estimated that about 50% of the people have their own private water source. BUT- less than 1% sell that water.

I appreciate that you are trying to solve this important issue. I was wondering if individuals selling bore water is legal in India

chappar··on Four Column ASCII
Does this mean that ^; and ^{ are also equivalent to ESC?
chappar··on Why are more than 10M homes vacant in India?
>>China has anywhere from 69 to 85 million vacant homes (approx. same population as India)

I am not sure I understand this calculation. India's population is more than a billion

chappar··on Show HN: A Simple terminal-based video chat – renders in ASCII and has audio
Looks very cool. Sorry for nitpicking, there seems to be off by one at "ascii_values[min((intensity + 40) / 9, sizeof(ascii_values))];" :-)
chappar··on Show HN: A minimal C runtime for Linux i386 and x86_64 in 87 SLOC of C
I am not familiar with embedded asm. Can someone explan what the following line does?

"register long r10 __asm__( "r10" ) = a3"

chappar··on WireEdit – A Full Stack WYSIWYG Editor for Network Packets
I am curious what you would be using this for
chappar··on CVE-2014-6271: Remote code execution through bash
Here is a simple c program to demonstrate this.

#include<stdio.h>

#include <stdlib.h>

int main()

{

   setenv("VAR", "() { :;}; echo vulnerable", 0);
   system("ls");
}

#./a.out

vulnerable

a.out

#

chappar··on The C++14 Standard: What You Need to Know
You can't do that for ",", because it will break the existing code. For example, int x = 0; x = 1,2; is perfectly valid pre c++11 code. This will assign 1 to x. Now if you make "," as digit separator, it will assign 12 to x
chappar··on What's in a SMS message? The real cost & just how badly you're being ripped off
Unlike voice, SMS will be stored in a server and in case your mobile is switched off you will still get the message, when you switch on your phone. So, there will be bit extra cost for maintaining these servers.