Better HN
topnewbestaskshowjobs
Log inSign up

methodover

1,743 karma · joined Oct 19, 2012 (14y ago) · 395 submissions

Submissions

comment 9y ago · link · parent

I like the idea of asking for a captcha after 2 failed logins. We had set up a pretty restrictive Cloudflare rule which blocked access to the site for some amount of time (60 minutes?) from IP addresses that got more than 5 (IIRC) failed logins within a short, sliding window of time (2 minutes?). But the botnet had a ton of machines on it. The rule didn't block nearly as many requests as I hoped it would. A captcha, though, could be set to be pretty restrictive like you suggest.

Passwords: I actually did up the password requirements (to require 10 characters), but the CEO wants me to pull back to just 8 characters. And no special characters. Our conversion rate went down a tiny bit, could be the restrictive password requirements that did it.

Keeping a record of common IP addresses and enforcing something like 2FA for strange logins: Love that idea. Would love to implement it. Can't, though. The CEO won't go for it, says 2FA lowers conversion and he's probably right about that.

comment 9y ago · link · parent

That was one of the ideas that we pitched to the CEO. Only sensitive actions would require 2FA. CEO shot it down, saying it would require too much work on the part of the customer.

comment 9y ago · link · parent

That... is a great idea. I'll do it. Thank you!

comment 9y ago · link · parent

About the minimum password length: I did change it to 10 the day of the attack. The CEO wants us to change it to 8. We've seen a small dip in conversions (like 1%), and the longer password requirement could be why, he thinks.

comment 9y ago · link · parent

We do have fail to ban type logic in place. The attacker used a botnet; requests came in from many different IP addresses.

comment 9y ago · link · parent

One or two cups of coffee a day before lunch. I've tried quitting caffeine. No effect. Could try again, that experiment was many years ago.

comment 9y ago · link · parent

We experienced our first successful attack at my startup a few weeks ago.

What got us wasn't anything on the top ten list. I'm pretty sure it isn't covered anywhere in OWASP to my knowledge.

Users reuse passwords across different websites. An attacker tried a database of usernames/passwords sourced from elsewhere; a small percentage (about 1000 out of more than 10M requests) succeeded. 100 of those had something to steal. Attacker used a botnet, so our IP-based fail-to-ban logic was ineffective.

We thought about lots of ways to deal with this moving forward. My boss (CEO) didn't want to implement any kind of 2 factor authentication, because it's cumbersome and will lower conversion rates. We took a different strategy which is kind of complicated to explain, but it's not nearly as secure.

Anyway. What gets me is like: Password authentication SUCKS. It's a terrible terrible authentication strategy. It's awful. It should not be relied upon. It would be good if humans didn't reuse passwords. But we do. So it sucks.

comment 9y ago · link · parent

Gosh I wish I could sleep like I used to when I was a teenager. I constantly wake up throughout the night. Can't sleep in if I wanted to. Probably get 6 hours of sleep a night if you subtract wakeful interruptions.

Not sure why. I'm not overweight at all, 10% body fat. Exercise every day for at least half an hour, usually more, running, weightlifting, sports. Work isn't stressful. I don't get it.

comment 9y ago · link · parent

The best idea I've heard is a system that helps people pool their money together to buy expensive single family homes, then split the lot into multiple homes or into a condo.

comment 9y ago · link · parent

Better transit and a unified representative government is a great idea.

It's also never going to happen. Or if it will, it's decades away.

I've become convinced that if we want real change, it needs to be done by technology. Lyft for example could solve the transit problem if they figure out how to lower the cost of a ride, perhaps with automated drivers. Then you wouldn't need to build too much more infrastructure -- no need to get the entire bay rallied around a hundred billion dollar public transit system that's just going to get outdated again. We might need to make another bridge though...

Housing is another problem though. I've been wondering if technology can help there too but I haven't come up with any good ideas yet.

comment 9y ago · link · parent

Joined an ultimate frisbee rec league, a year ago. And I'd never played a team sport before, unless you count middle school basketball.

It's turned out to be a great community. Plus it's great exercise, of course. And it encouraged me to improve my cardiovascular system, so I wouldn't poop out so quickly on the field. The community is the big thing though.

comment 9y ago · link · parent

Is there solid evidence to back up some of the assertions that have been made about testing?

It feels like an area where lots of people have opinions, and there are not much in the way of facts.

comment 9y ago · link · parent

> Digital textbooks can offer so much more than print textbooks. They can have embedded interactive content, ranging from extremely zoomable 2D content to see something in detail to rotatable 3D models. They can have videos. Or just audio, say to listen to case studies or know how a bird sounds. They can have automatically gradable quizzes and exercises. There is so much more digital books can offer.

Yes yes yes yes!

I love your thinking.

I'd love to see a startup specifically targeting this-- A new type of publication. You pay for it like an e-book, but it's interactive like an application, and super high quality.

Maybe we could start with programming books? Take the best of the programming books out there and re-interpret them as this new sort of interactive product.

comment 9y ago · link · parent

This still is a huge concern for us web app developers. Most people re-use their email addresses and passwords across multiple sites. One breach at one internet company affects all the others.

IMO, password reuse is the #1 web application security problem in the world right now, and there's very little in the way of accepted industry standards to mitigate it.

comment 9y ago · link · parent

The URL question is a really good one though. You should absolutely understand every step of that process if you're working on web applications. The database one is weird. You don't need to know how to create a good database system yourself in order to effectively use one, I think. Neither do you need to know how to make a web browser to know how HTTP requests work.

comment 9y ago · link · parent

> What are the things you should consider if you were writing your own database server?

"How did I get to this situation? Why am I here? Why am I writing my own database system instead of using an existing one? Where should I leave my resignation letter? Should I give them two weeks notice or just quit right now?"

comment 9y ago · link · parent

I wonder if we should be exploring the atmosphere of Venus instead anyway. My understanding is the best chance of life is in the upper atmosphere anyway.

comment 9y ago · link · parent

He's saying compensation -- total compensation, not just wages -- has increased. i.e., wages + benefits

comment 9y ago · link · parent

Is there a website that could interpret tbis... iPython notebook, I think it is? I'd love to read it on mobile.

comment 9y ago · link · parent

Do you listen to Arms Control Wonk? It's a podcast; they go deep, deep into the weeds of these missiles and what we know about them. In one podcast recently they talked about the cooperation between Iran and North Korea.

comment 9y ago · link · parent

I totally agree with everything you said except that last sentence. Insurance seems to be something of a failure as is. That said, MFA seems like just another insurance system. Except customers can never opt out of it, never develop a competing system, and are now bound to its inefficiencies forever.

comment 9y ago · link · parent

But what about when it isn't an immediate emergency? There are plenty of healthcare needs where you totally do have time to shop around and find the best bang for your buck, if the system let you do that. (There could be a startup idea in there, even. A simple website to help find the most effective, cheapest endoscopy or wisdom tooth extraction or STI test or mole check or whatever.)

comment 9y ago · link · parent

The primary mechanism by which money is saved is price controls, under a single payer system. This should be extremely scary. And I'm saying this as someone who voted for Obama in 08, 12 and HRC in 16.

Healthcare products are complicated. Getting the price right is a very hard problem. Markets, generally speaking, have proven to be a fairly effective way of settling on price. This is basic economics.

comment 9y ago · link · parent

This should be illegal. There's no good reason why you shouldn't be able to split up your 13,000 sq ft lot into smaller lots and sell those separately if you want to. Setting some reasonable state right-to-split-lots bill might go a long way to helping solve the housing crisis.

comment 9y ago · link · parent

Startup idea: Let people pool money to buy larger lots and do exactly this.

comment 9y ago · link · parent

I would definitely not vote for someone in favor of that idea. I see no reason to believe that lower and middle classes here would see an increase in QOL if we started enacting trade restrictions on countries with lower standards of livings than ourselves. What you're talking about is essentially mercantilism, and it's long been discredited in economics.

comment 9y ago · link · parent

> I think the prevailing view on living standards is that they're no longer rising for those who enter the workforce at the bottom.

Hmm, how is "living standards" defined exactly?

It seems like many of the technological advancements of the last 40 years have become cheap and affordable by almost everyone. Even smart phones are relatively inexpensive and widely used. 64% of individuals making less than $30k a year own a smart phone, for example [1].

Life seems to be getting better for all income levels. Though, this isn't easy to track statistically. The citation I was originally responding to (an article on stagnating income vs inflation [2]) uses CPI as the measure of inflation. But the CPI only tracks the prices of basic commodities like food and fuel. It misses a huge part of our lives.

1. http://www.pewinternet.org/fact-sheet/mobile/ 2. https://fred.stlouisfed.org/graph/?g=eUHS

comment 9y ago · link · parent

Oh that's a really good point! All the more reason why I'd be interested in some statistics around this point.

comment 9y ago · link · parent

> In the U.S., for example, income of production workers today, adjusted for inflation, is essentially at the level it was around 1970.

I have a legitimate question about the usefulness of this statistic.

Everyday living has dramatically improved since the 1970s. There's been massive improvements in medical care, for starters. Communication and finding information has never been better thanks to computers, the Internet, search engines, wikipedia, etc. Entertainment has never had more options, and the options have never been this good. There's smartphones, of course: They made the internet accessible everywhere, and provide a platform for some incredibly useful apps (e.g., Uber/Lyft). There's been dramatic innovation since 1970, including: microwaves, GPS, home video, text messaging, MRIs, HIV treatment, smoke detectors, and on and on and on.

These technological improvements are not reflected in income statistics, but they're extremely important to every-day living.

Are there statistics that try and encapsulate technological improvement along with the normal measures of economic improvement? It's totally possible that wages are stagnant, but you get triple the utility out of your money than you would've in the 1970s.

1
789
14