15,869 karma · joined Jul 23, 2012 (14y ago) · 5,253 submissions
comment 6y ago · link · parent
If you want something simpler, you can just create your own API token for each user but then you will have to build things like regenerate, refresh, expire etc etc. Protocols like OAuth2 make all this standard but adds complexity.
comment 6y ago · link · parent
If my understanding is correct, I would say no problem since any SAAS must have at least a senior technical person whether they are founder/co-founder or not. I run a SAAS and I am definitely decent with SQL myself even though I am not the CTO who is obviously better than me at everything technical.
comment 6y ago · link · parent
But then I close my eyes and imagine myself NOT doing this. Oh well, a shitty corporate job where I feel soul less. And right then, I am back to the grind. This is my own shit. I get to decide. I can scale back if I want to. Some days, I can tell the clients to wait 3 hours. Some days, I am just not in the mood and that wouldn't make my boss upset (I have none. Customers can again wait). Just made a new sale. What a feeling. I am back on the high horse. Woohoooo. Rinse and repeat.
comment 6y ago · link · parent
So even though people like Trump are technically a nuisance for Twitter, they are also the reason why Twitter has millions of people on it.
comment 6y ago · link · parent
comment 6y ago · link · parent
Also in general, always query less data than more and then request more as needed. For example, lets say you are loading a table for users. You could have 2 million users in the database. Do you really want to query all 2 million at once even if you have optimized the code and hardware for it ? I would say No. Query may be a few hundred at once and then query more as needed.
comment 6y ago · link · parent
comment 6y ago · link · parent
Disclaimer: I am in this business where we provide customized learning platforms. If you want some advice, feel free to reach out.
comment 6y ago · link · parent
comment 6y ago · link · parent
I personally have come up against one cop like that many years ago and funny thing is that I was actually trying to be compliant. He was just on his own high horse and had made up his mind that I was drunk and forced me to take the breath analyzer test. I remember specifically him asking me in a pissed off condescending way "So you are telling me that this machine is going to show 0 reading??" and I was brave enough to say "yes sir since I didn't have any alcohol for last few days at least". I guess I was lucky he didn't do more. But man, he was pissed when he pulled me over for supposedly tailgating him/his partner (It was 2 AM at night and I was coming home from a long drive and was a bit tired and may have gotten a bit closer than reasonable to his car from behind). He punished me hard for that. We went to court. He argued that I seemed drunk and all I could do was like WTF. The point is that he could have easily pulled me over and just asked me "sir is everything ok since you got closer to my vehicle. " I anyway said "Officer I am sorry that I didn't realize as I am coming from a long drive but I am now prompt and aware". His whole premise was he had assumed I must be high/drunk since it was late at night. That is a bad cop to me.
comment 6y ago · link · parent
One thing the police do where I live is to do community get togethers to get to know the actual people. It helps to reduce anxiety and stress. Yes I live in a "nice" neighborhood so it is easy for me to say may be. But can we not try similar police and public get togethers in the "not so nice" neighborhoods ? Is it not even worth a try ?
Also, be more strict in getting rid of bad apples which I believe this article touches upon a bit. This specific police officer had a history of violence and he should have been under more scrutiny that he was.
Until the respect is mutually created between police and public, no law on the books can prevent these types of unfortunate incidents.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
2185.
Ask HN: Poland vs. Ukraine for choosing a dev shop?
10 points · by codegeek · 6y ago · 12 comments
comment 6y ago · link · parent
I disagree. The growing wage inequality between the rich and poor has many other factors. Tech companies are just one small part of it. Before 2004, most of these big techs did not even exist. But wage gap has been increasing for almost last 45 years or so in the US if you look at the data. Take Walmart for example. They employ plenty of Americans but look at the shit wages they pay. They can still get away with it because our politicians have tipped the scale heavily in favor of large corporations. Visa or not, large corporations can get away with almost anything because they are "too big to fail".
"ignoring a company's responsibility to pay back the society"
I agree with you on moral grounds but that is not how capitalism works. A private corporation's highest priority is to serve its shareholders and executives, period. It does not care about paying back to society. Should they care ? Yes I think so. But by definition of capitalism, they are not obligated to. Unless we change the thinking and mindset, it won't happen. Offshoring/tech visas are again a small portion of it and gets blamed way more than it should.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Forget large companies. I run a team of 15 and I m technically the CEO (sounds silly when so small) but I already have very less time to get into detailed product reviews etc. I m too busy trying to get new clients, fighting fires with existing clients/infrastructure, working on growth startegy, doing demos and even sometimes addressing disputes and protecting my team.
comment 6y ago · link · parent
Also, Remote domestic or Remote International ? That changes things drastically as well.