Hacker Newsnew | past | comments | ask | show | jobs | submit | Chinmayh's commentslogin

QR codes have been available for a while. Square helped do payments through credit cards. At that time payment via QR codes was cumbersome, and not adopted. But I think it depends more on the consumers and local economy. US was anyway using credit cards a lot. Asia preferred cash, for smaller transactions.


You can pay credit cards with QA codes. You just don't need the POS device.


I am not sure why Software should not be used. My solution would be

1. Open Source software, which can be verified by everyone.

2. Voting via an app with authentication as good as or through your bank account.

3. After Voting, We should be able to query and verify who our vote is with - on a particular day of counting, and get whole history of our votes. An individual persons vote is append only.

Please, do let me know drawbacks.


You still need a way to verify that the code used everywhere in the system from receiving your ballot to announcing the final vote tally was the exactly correct version of the open source software.

Querying and verifying your vote doesn't guarantee that it was included like that in the count, just that your real vote is stored somewhere.


> Open Source software, which can be verified by everyone.

What makes you think that the open source software you verified is the software actually loaded on the machine you are using to vote. What about the software on the machine that counts the votes?

> Voting via an app with authentication as good as or through your bank account.

What about voter secrecy? Logging in and then voting defeats the purpose of voting.

> After Voting, We should be able to query and verify who our vote is with - on a particular day of counting, and get whole history of our votes. An individual persons vote is append only.

If you can query to find your vote then anyone else can. Do you want everyone to know who you voted for?


Why do you think that paper ballots cannot be faked? Why do you think counting paper votes is better?

You can't force people to declare their vote, If they don't want to. If the country is totally lawless, then I don't think voting will change it anyway.

Just because we can query some info about ourselves, doesn't mean anyone else can. That is clear malicious intent.


> Why do you think that paper ballots cannot be faked? Why do you think counting paper votes is better?

Faking paper ballots is easy; getting any substantial number of fake paper ballots into the count in a system with the kind of controls associated with paper ballots virgin hg in the US, OTOH, is not.

> Just because we can query some info about ourselves, doesn't mean anyone else can.

Yes, it does. That is, it means that the information is permanently more to your identity. It means it's subject to vote buying/retaliation, because people can choose you into proving your vote and can reward or punish you for it.

> That is clear malicious intent.

That doesn't mean it can't be done.


You can't have the ability to verify who you voted for, because that would eliminate the secret ballot.


By that logic, you are saying that everything in my bank account is public information.

If there is an incentive to get to know who a individual person has voted for, then it would be with all parties.

And if you think there is just one party that is much stronger as compared to others. Then, it doesn't matter if you vote or not. They are just being nice by letting you vote.


Your bank statement is available to somebody who's threatening you, because it's available to you. That's the problem with being able to verify your own vote, somebody else can force you to show them who you voted for, so they can threaten you to make you vote for who they want. It's the same reason you can't take a photo of your ballot.


> If there is an incentive to get to know who a individual person has voted for, then it would be with all parties.

Buying votes is a thing. If it's easy to verify that you voted for X party then it's very easy to sell your vote.


And if selling vote becomes possible, it's also possible to be forced to "sell" it for an unfair price.


please watch this: https://www.youtube.com/watch?v=w3_0x6oaDmI it has a good list of reasons why software voting is a terrible idea.

also the secret ballet is very important to maintaining the fairness of elections.


H1B visas are for three years. it is profitable for HCL to keep the person in US on the visa, rather than have him work from India. You are wrong in saying that the person has to work in US. The salary is at least above 60K. Normally companies pay 50$/hr. The people they are replacing are normally cost to the company at least double that. The rate in India is normally above 20$/hr and employees get paid less than 6$/hr. All companies move towards lower cost areas, and that is the same thing happening here. Walmart, Apple would rather produce goods in Asia than US. Same way Disney would rather hire h1b and give the work to India.


Looks like visas are made for Indian companies and not american companies http://data.jobsintech.io/companies


Add India to the list


Plus you can get banned from entering the US

http://www.cbc.ca/news/canada/toronto/canadian-woman-refused...


wow is this forreal?


I am not surprised that a treatment that is so effective to the author has remained unknown to him for so long. I have had feelings of suicide for the last 14 years. I personally hate meeting psychologists, because they can be so unpredictable. Some of the better ones prescribed me medicine, some of the worse ones, told me I had to stop crying and find solutions to my problems, that I was lazy. I was also told because I could do my job and earn a good living, I had nothing wrong. Few acknowledge that having no friends for 14 years can be disruptive. I am in a state where every moment is sad, but over the years at least I have learnt to keep a happy face on the outside and wait for something to happen. I just wished psychologists be more scientific and stop considering everything trial and error!


Here are some suggestions that worked for me, and may (or may not) help.

I find that depression -- at least for me -- has two main causes:

[1] Excessive emotional response to bad situations (similar to what the author of this article is experiencing).

and:

[2] Insufficient motivation/goals/joy.

My solution to [1] is twofold: mindfulness and resolution. Be aware that excessive negative emotional responses are bad (as they lead to depression), so it is better to just observe bad situations and try not to get overly emotional. Secondly, try to resolve the issue (either by actively managing it, or by accepting that the world is just like that and you can't change it), so that the conflict doesn't arise in future.

For [2], the solution is to have a purpose in life, with motivating, goal-oriented activities that you enjoy. I suspect this might be the issue for you. There is more to life than having a well-paid job. I gave up very well paid contract work 15 years ago, as I hated it. Since then I have worked on my own business. I earn a hell of a lot less money now, but I'm much happier.

Having friends (or at least social contact) is also important to mental health, even if that is just saying hello to people you meet on the street, or chatting to like-minded people online.

Please don't wait for something to happen. Take charge of your life and do something about it. Being depressed all the time is an unnatural state, and is your brain's way of telling you that you need to change something in your life. Sometimes you need to make major changes in your life to make things better.

Feel free to email me at [email protected] if you want to chat.


Re: [2]

But what are you to do when you have no purpose in life? No motivating, goal-oriented activities that you enjoy? For many depressed people, including myself, everything seems pointless and therefore nothing has purpose and nothing is motivating or truly interesting.

No one really offers any good advice on this part of the solution and yet it's the most important part! Everyone seems to think that everyone must have something that interests them enough to chase a goal for the rest of their lives but I think the reality is that very few people have this. And furthermore motivation ebbs and flows, I have found that it's not very reliable and so a solution that involves it seems oversimplified to me.


There's a concept of "social prescribing" being developed. So, if you need to go to a gym a doctor will give you a prescription which gives you cheaper access to a gym.

There are a bunch of organisations to provide "vocational services" for people with mental health problems. Vocational services doesn't just mean work based activity, it involves social and sports and etc stuff too. This used to be "day services" and was provided in sub-optimal ways. Usually it'd be in a room in a hospital or other mental health building, and there would be strict segregation so no members of the general community would use the room and people with a MH problem wouldn't use rooms in the wider community. There was little concept of progression or push.

The Sainsbury Centre for Mental Health did a great report and so now day services are better - although still no where near good enough.

My local area has "People and Places". They have a large allotment in a normal allotments place. They grow fruit and veg and flowers with other gardening work.

There's also the Independence Trust which run a variety of different groups and sign post to other groups.

Both these groups work with people at most stages of illness (not while they're detained under section in hospital, but pretty much everything else) and they can tailor the work to what the people feel able to do.

http://www.independencetrust.co.uk/

http://www.peopleandplacesglos.co.uk/


I just want to say that there are two perspectives expressed in response to this comment. One is the idea that pleasure in life comes from starting out abstract (e.g. with abstract goals) and finding more specific things to enact those goals. The other is the idea that pleasure in life comes from starting out concrete (e.g. pooping, eating, quenching thirst, etc).

The first idea is wrong, the second idea is right.

But from those concrete things you build up more and more abstract. The more abstract things gain meaning (bring pleasure) from the less abstract things.

As a primitive man, you feel cold and want to be warm, so you build a fire. Then you build a house. Then you kill an animal and make a warm coat. Then you build a better bow. Then you learn how to hunt better. Then you start planning years ahead. You move to better hunting grounds, you start saving up firewood, etc. That is the primitive man's version of a career; the same applies to a modern career.

However, you can't reduce the value of the more abstract things to the less abstract things. Saving up firewood is not reducible to the sum of warm nights you get as a result. It has its own, separate meaning. But that meaning is only possible because of the less abstract things.

Relatedly, people are wrong to say that life is pointless. The point is the pleasure and pain you feel. Meaning is derived from pleasure and pain. Nature gave us a source of meaning---that had to be the case for advanced life to evolve, and it's pleasure and pain.

tl;dr 1) values are built from the ground up, not the top down 2) values are based on pleasure and that is the "point"


Well, everything is pointless by itself. Universe has no mind so it doesn't go anywhere and doesn't give a shit about anytning.

But you do have mind, and so you can choose your purpose, to decide on what you value and then go after it.

Values are arbitrary. Well, the most basic ones are built into you(survival and reproduction, valuing food/safety/sex), but the kind of values humans speak of when they think about a "purpose" are mostly made up by them(making money, raising kids, pleasing god, being a good programmer, whatever).

So if you're looking for "purpose" it's not about finding it somewhere in the world, but more about deciding what you want out of life. I suggest you start by deciding and being clear on what kind of things you value. Once you know what you want out of life on the high/abstract level - you look for the more concrete examples and activities that move you towards achieving these values.

Here's my example. What I want the most in life, in a very abstract sense, is "being clever", so I am very motivated to do everything that moves me in that general direction. More specifically, I want to be great at thinking and creating things, coming up with ideas and understanding the world. This is something I want for the sake of itself, this is what makes life fun, I value these things "just because". After thinking for a while, I figured that the best practical activities that move me in the direction of these values are Computer Science, building a startup, and writing comedy/fiction.

So at this point my abstract desire to "be clever" drives my motivation to "learn programming" or "get good at writing comedy". And from there I can come up with goals and practical projects, which I am motivated to do because they move me further towards fulfilling my values in life.

I went through a period of depression and apathy, and thought a lot about how to figure out what I want. I'm still scared/depressed(for various reasons, mostly related to logistics in life), but now I have figured out how to "find my passion" and come up with goals that make me motivated and driven. So if what I wrote makes any sense or is in any way helpful, I'm happy to talk more on the topic, if you're interested, maybe you could bounce ideas off of me, maybe that will help you out. If you want - feel free to message me to [email protected]


IMHO, having, and still confronting the darkness:

a) Yes, everything is indeed pointless / "pointless".

b) Think about what "pointless" means. It requires an agent to assign and remove importance. Who is this agent? Is it you, is it society, is it what you have been told since born? What's his goals / values / pov? Why exactly is something "important" or not?

c) Fck "saving the world". Fck "there is a point in this". See it, start, simpler: Do you enjoy eating some specific food? That's the meaning of life. Do you enjoy taking a dump? That's the meaning of life. Do you enjoy chewing gum? That's the meaning of life. Do you enjoy saying some arcane joke? To yourself or some random person you just met? Even if they dislike it or don't understand it? That's the meaning of life. Do you enjoy scratching your @@? That's the meaning of life.

The "purpose in life", is to eg scratch your @@, and for 2 seconds, say "I liked that, and I currently feel good".

It may sound ridiculous, but everything comes from that. If you eg say, "I was thirsty, it's hot, and I enjoyed this cold glass of water", you are on your way to be happy, and also on your way to save humanity. If you want to do that. ..Don't believe me that everything comes from that. But, pls, do enjoy the one second of today, that you felt well doing whatever.

That's the meaning of life. That's the purpose. And when you internalise that, you will find something that is nice for two seconds, and, eventually, you will find the "purpose".


Yes, I agree that you should try and find meaning in everything you do. Basically you want everything that you do in your life to be in line with your motivation and goals. It's partly a process of changing your outlook on life, and partly about making actual changes to how you live your life.

However, you should also be aware that one of the symptoms of depression is being unable to find enjoyment in activities that you normally find enjoyable. This might be the problem that throwaway3301 is experiencing.

It's not always easy to figure out what is causing depression. It's as if your brain has set off a "master caution" warning light, and you then have to figure out yourself what the problem actually is. I would recommend just asking yourself "is this what I want to do with my life" (in terms of your job, where you live, your relationships, etc.)

Also, depression can feed on itself in a vicious circle. I think this is where CBT comes in, as it teaches you to avoid negative thought patterns (although I never used it myself).


This is awesome, and reminds me of what Eckhart Tolle is describing in his book "A New Earth". Essentially, "your purpose in life is whatever you are doing right now".


Thanks cpncrunch! It feels good to have my problems acknowledged. I will remember your advice. Regarding mindfullness, I am trying to be busy all the time and take no breaks. Either do some activity that doesn't let me analyze an event or crash on the bed. The moment I feel I am getting involved in some topic, I just try to move on.


Remember that busy doesn't have to mean hectic -- taking a walk or seeing a movie with people is a way to stay busy.


Yes, agreed. Excessive stress can also cause depression. I find hiking, cycling, napping, swimming in the sea, sitting at the beach, etc. are all good for optimum mental health.


> I am in a state where every moment is sad

Please, keep trying.

As for trial and error, we're far from knowing everything. Among a list of things known to have worked for various people, it is still somewhat trial and error finding out which of those things will work for any individual.

We're big bags of meat, bone and mystery, and solving that mystery is a challenge, for ourselves and for our practitioners.


[flagged]


"How are you not dead?" And what would you have me do about it - Kill myself. Not really a solution. is it?

Most rich people will break if they are forced to live in poverty. Most people take what they have for granted. Rarely realizing, how lucky they are.


Yeah, eli_gottlieb's comment was just not accurate. As you know, you absolutely can be lonely for 14 years and be "just fine." You will be lonely, but you will go on living, go on taking pleasure in some things (even if they are minor), and go on hoping for better times ahead. Relationships are not everything. Important, but not everything.

I've gone through a long period (several years) of almost total loneliness, where my only regular contact was with my mom (and she has a brain disability from a stroke, rendering her mostly unable to respond other than "yes" and "no").

A lot of that isolation came from not feeling able to fit in, even with the friends I already had (who I drifted away from). I didn't have anybody at all to call up to hang out with, and nobody called me.

It wasn't 14 years, but I just want you to know you're not alone. I'm still pretty isolated (way more than is OK for most people---even a bit too isolated for myself), but it's not as bad as it was, it's totally bearable without causing me to be depressed. (In fact, being lonely does not cause depression. Depression causes being lonely, though.)

As somebody else said, the "forever alone"[1] type of person is probably actually WAY more common than people think. In fact, I find it a tiny bit comforting that you are out there.

[1] However, that concept is invalid. It isn't determined that a person will be forever alone unless they voluntarily choose to make it so and never make an effort to meet people or allow people to meet them.


I'd like to believe that the commenter meant to express admiration for your strength in getting through so many difficult years. But if he didn't feel that way, I sure do, and I bet most people reading this thread do. Thank you for sharing your experience with us.


What the GP might take from this comment, and possibly what the commenter might have said next, is "Wow, you have real, and serious, problems, no question about it. Problems that should not be dealt with alone. Your problems are serious enough that you should persist in getting help."

And he would be right. It's serious, don't give up, it's very likely that something will work if you give yourself a chance to find it. But you have to look.


If this is really what you want to say, maybe try to spend a bit more effort saying it.


Yeah, a little sympathy and open-mindedness here would be helpful.

I'm a grown adult, C-level professional with ZERO real-world friends. And I've tried... but the connections haven't stuck. It's quite bothersome, and makes you question everything about yourself and why this outcome could possibly be true after a lifetime of having tried to maintain and improve connections with others.

I've adopted a more tolerant and accepting self-view with respect to this, and the pain level of being completely socially isolated is in the 20-30% range, but the pain of on-going disinterest on the part of others was quite high.. like 80-90%. So it's a bit of progress. But my point is: for those who haven't found their way to an operable level of acceptance, a "WTF!" response isn't kind or helpful or insightful.

There are many of us "ForeverAlone"-ers out there, and trust me... we're 10x more confused than you might profess to be.


Thanks for the support!! I have heard a lot worse from people. The worst is always when I am suddenly cut off from their life or just ignored. Well, the only way is to move on and try again in such situations. Over analyzing or confrontation only hurts more.


[flagged]


That's all fine, but what do you expect the person you are engaged with to gain from reading your post?

It isn't readily apparent to me what that would be, but instead of assuming that you were just being a jerk, I suggested trying harder to communicate whatever it was you thought was of value there.


Please don't make people uncomfortable sharing their troubles.


"That would have broken me in mere months."

a) You are being mean, with no reason. b) He is stronger than you.


Wait wait wait. You're saying that expressing comparative weakness to show sympathy is being mean?

What?


I think you are me.


and when would c++ 17 come?


Somewhere in 2017.


c++11 came in 2011. c++14 came in 2014. Seeing a pattern yet?


When we'll have a compiler support - this is what really matters, especially for those who use MSVC... It is 2015 and we still don't have a full C++11 support.


The pattern is generally that Clang and GCC will have partial support when the standard is release, and full support a couple of years later. Intel will lag behind a year or two after that. Microsoft will be behind another year or two.

So, let's say that C++17 does come out in 2017. It will probably be the case that some of the features will be ready to use in GCC and Clang right away, and around 2019 or so they should have full or nearly full support. 2021 for Intel. 2023 for Microsoft.

So that gives you a range of answers. Depending on which features and which compiler, you could start using some of them immediately (or even before 2017, many of the features are implemented experimentally in advance), but if you want full support across the range of commonly used compilers, you're probably going to be waiting until the early to mid 2020s.


FWIW, Clang and GCC support all C++11 features.


Though GCC only gained full C++11 support as of 5.1, which was released this week.


I think you may be thinking of C++14, GCC has had full C++11 support since 4.8.1.


Prior to 5.1 gcc had full C++11 language support, but libstdc++ did not have full C++11 library support.


That's a fair point.


http://cpprocks.com/c1114-compiler-and-library-shootout/ disagrees:

"First, let’s look at the C++11 language features. Clang 3.3 and above, and GCC 4.8 and later have complete support, so there was no point including them in the table."

Also note that, on the C++14 front, clang supported all language features and most library features. And that is a year ago.


Yes, but I was talking about MSVC - MicroSoft Visual C++ compiler.


That's kind of like saying "You haven't read Shakespeare until you read him in the original Klingon."

Waiting for Microsoft to make a compiler seems like it ought to be orthogonal to moving the language forward, especially when non-Microsoft tool chains are already doing better with that particular language.

Microsoft has enough on their plate bringing C# and .Net to Linux and Unix, and I'd much rather they get that right than compete with GCC and CLANG. (That and Docker for HyperV and Windows Server.)


I'm obliged to make my c++ code work on a variety of platforms, and on windows this means visual studio.


But Visual studio doesn't imply Microsoft's C++. There's clang-cl (http://clang.llvm.org/docs/UsersManual.html#clang-cl), which aims to be a drop-in replacement for Microsoft's compiler (haven't used it, so I don't know its quality)

Also, Visual Studio 2015 will ship with clang (http://blogs.msdn.com/b/vcblog/archive/2014/11/12/visual-stu...). Yes, that's for Android (and, in the future, iOS) only, but it would not surprise me if that it is a sign of things to come: either Microsoft starts following developments faster, or people will move to clang for development. And I doubt the current Microsoft would be bothered if their customers moved to use clang, as long as they kept using Microsoft technologies (even if that's limited to running on Azure)


>That's kind of like saying "You haven't read Shakespeare until you read him in the original Klingon."

Not really. It's one of the top handful of compilers and none of them are "original" wrt the language standard.


http://blogs.msdn.com/b/vcblog/archive/2014/11/17/c-11-14-17...

this is the latest i could find, maybe time for an update if so.


I'll be publishing an updated feature table soon.


C++11 was originally known as C++0x, so C++17 may yet become C++19.


Yes, and C++17 is a big one, which may well slip, while C++14 was a small one, mostly aimed at cleaning up C++11.


c++17 is currently known as c++1z.

You can use Clang in C++1z mode with the -std=c++1z option.


Let's not that forget c++11's codename was c++0x ;)


It's actually C++0B! :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: