I'm trying to just handle it by not worrying as much and accepting that I just work in spurts.
150 karma · joined April 5, 2012
I'm trying to just handle it by not worrying as much and accepting that I just work in spurts.
But there is a likelihood that not everybody understands it. Journalists and bloggers just throw out the 5% figure without specifying what it means because it makes for a nice sounding blurb.
Sometimes it's good to get a little slap that wakes you up out of startup mode.
But, at least if it's implemented correctly and not maliciously, the app doesn't ever see your password.
I'm not really an expert but it looks like this algorithm does sorting in a way that doesn't require as much extra memory as others..? I could be wrong about that, but the point is that this algorithm likely has some certain situations where it performs better than others.
It's hard to be specific without knowing what you're doing. If you have an app that connects to a third party API like Twitter, that's one situation. If you have an API that other app developers will connect to - that's a second scenario. And third is if you have an API and you write your own app to connect to it.
OAuth handles all three of these scenarios but in #1 you are a consumer, in #2 you are a provider and #3 you are both.
Check out 3-legged oAuth for an example of how to allow apps to talk to your API on behalf of a user, without that user having to give their password to the app. It's actually pretty interesting, clever and simple all at once!
HTTPS encrypts the traffic - making it difficult to sniff. It doesn't actually provide authentication though.
The secret key is only used for signing and is never passed in the request. Used in combination with nonces and time stamps you can make a secure API that isn't susceptible to replay attacks.
Aside from that, I don't see a reason for an API to be able to retrieve passwords. If passwords need to be reset then the API could maybe issue a pass reset request that would email a confirmation link.
The plain text password is something that's beyond the API design, but a one way hash is generally better with an algorithm that is recognized as being secure (not MD5).
Basically, to repeat, simply not designing your own security but using recognized libraries will typically be a better idea.
I kinda suspect that started the whole anti-ORM thing in response to the ridiculous complexity of some frameworks.
I still use ORMs but I've decided that it has to be a light approach that doesn't try to totally hide the SQL code from you.
My ORM of choice doesn't take away the ability to write raw SQL when you want, though. I wouldn't want to use an ORM where you couldn't extend it with your own SQL.
I certainly do care what strings get sent to the Database though, I can tell you that! If you use an ORM and don't know how to inspect the queries it generates then I'd consider that to be somewhat negligent. That's just me, though.
Startups are risky and a lot of times you are convincing people (including yourself) that it is going to work. So startup employers kinda have to be optimistic and positive, otherwise everybody would be freaking out and fearing for their job.
Also - without having any idea what startup you are talking about - the odds are against you that the company will make it. That's just the reality of startup life.
I don't really find it that interesting when people just try to troll and cause havoc for absolutely no reason at all other than their own amusement. There should be an appropriate target who has been flapping their gums and needs to be brought down a peg.
Investors won't touch a company with a 10 foot pole if they get a whiff of lifestyle corporation because they'll never get their investment back. But this doesn't make it a bad company, despite what you read around here on HN. In reality a lifestyle company can be just about the greatest, most satisfying and financially rewarding job that you can have. You just won't get any investor telling you that because there's nothing there for them.
Although, mildly annoying, I find myself more frequently going to another room to fetch something and forgetting what the thing was.
I find the non-tech links to usually be an interesting diversion but I have to resist the temptation of adding my own hot air to all of the arm chair philosophy in the comment section. I often fail in this attempt.
I'm not sure where the line should be. I'd like to say make all drugs legal, but as soon as the first high school kid is killed in a drug-related car accident we will see an army of furious parent organizations screaming about making stricter laws.
My point is really that there is no advantage to lying about being a student vs a rich tourist because they don't favor one over the other. They're not going to think "oh boy this person is really going to help our economy!"
Now, if you are planning to work illegally or overstay your visa - then you might want to make up a story!
It's a shame that happened. The traveler has had an unfortunate interest in traveling to multiple countries with which the US has hostile relationships. And then entered the US in a slightly unconventional way by train via Canada. I think that's a stupid reason to deny entry because an actual "terrorist" would surely have fake documents anyway.
Perhaps the moral if the story is to get a replacement passport without the stamps if you have travelled a lot and take a direct flight.
These stories get everybody riled up but in reality are a tiny fraction of people who enter. I have a story too - when I was visiting Amsterdam I had the most rough body search I have experienced when traveling. Maybe I should never visit there again to see all if the rich culture and friendly people? That'll show 'em! My wife was called into the back room on our way to Aspen because her bag triggered some false alarm. Cross that place off my list, I'm never going skiing there again!
So in that regard I would think you might as well tell them the truth simply because if you get caught in a lie then you would cause grief for yourself of no good reason. But if you are an excellent liar, then go for what're you want!
Basically the border patrol are looking for three things: terrorist, drugs and people who are coming to work illegally.
I think this must be somewhat the nature of hiring contract workers because I have seen it again and again coming from all counties, as well as within the US.
I have had client drag their feet on the contract and the down payment, but rush me to start. My feeling is that if you can't get a check when they are desperate for you to start, then it certainly will be difficult getting one after the work is complete.
The more eager you are for the gig, you may be more willing to agree to things. But definitely it's a always a good idea to be patient and make sure both sides agree to the terms before you invest your labor.