So as I see it, encryption or hashing is good for keeping the answers a secret but bad when it comes time to use those answers again.
1,792 karma · joined July 21, 2012
Twitter: @billpatrianakos http://billpatrianakos.me
[ my public key: https://keybase.io/billpatrianakos; my proof: https://keybase.io/billpatrianakos/sigs/WzS-Lp62IrKsUv4BBJWb19pavWFHOG2NMp4TTCFSc5Y ]
So as I see it, encryption or hashing is good for keeping the answers a secret but bad when it comes time to use those answers again.
On the one hand, these pharmacies provide medications at a lower cost than in the US and some countries and would be beneficial to many. So far it looks like its moral and shouldn't be illegal.
Then we begin to think about the people who go online and buy medications they aren't prescribed, playing doctor on themselves. We can say that's their own problem but I'd side with the idea that it does more harm than good.
Then there's the fact that these pharmacies often prey on drug addicts who require treatment, not more drugs.
There's way more to it than that but regardless, it's pretty easy to see why people would be believe they fit into category 1.
I, like anyone else here, am super passionate about programming and it thrills me to be able to make a computer do my bidding but my friends and family don't care how the computer works. That's okay. I know a carpenter. I love living in a well built home but don't really care to know how to build one. Knowing how to work a stud finder to hang a painting is enough for me.
This is my very first iOS app. I found it useful and so did enough people I worked with that I decided to charge a buck for it...
- The point is to check out the idea and design and give some feedback, I don't expect anyone to buy, this is not my way of making a buck off HN.
- For those who are interested in playing with it, I do have a few extra promo codes I can give out. Just send me a message.
"Grannies" don't like to deviate from the norm. The library has windows, friends have windows, by this point in time a person has come into contact with computers outside the home lots and they're almost always windows with an occasional Mac. You put Ubuntu on Granny's machine and she'll be asking why this doesn't look like what she saw elsewhere. Even if the function and UI are eerily similar there's this weird mental block that stops people from seeing the similarities and focus only on the differences.
The distribution described in this post is basically a Chromebook. Honestly, if your "Granny" needs email, skype, and the web then get an iPad + keyboard or a Chromebook. Not a full Linux install that you rip stuff out of. In fact, people with these granny use cases are already flocking to tablets over desktops in droves. A copy of Ubuntu "Gutsy Granny" as described here is bending a desktop to work not like a desktop save for the mouse.
I'm annoyed with the 2 mainstream OSes like anyone else and I especially hate having to troubleshoot problems that shouldn't come up for these Grannies but as annoying as it is I think switching these people to Linux is partly us trying to enlighten others (which comes off really condescendingly) and partly trying to make our lives easier rather than the user's by putting the user in the equivalent of a bubble where they can't break anything and if they do it's very convenient for us to fix.
I also don't think Apple is dishonest in their marketing. Fingerprint scanning is absolutely better than a pass code and the marketing around it all gives the impression that using it ensures no one can unlock your phone without your fingerprint. Nothing dishonest in that. Plus the layperson really has no interest in learning the specifics anyway so I'm not sure it matters what they say about it so long as it sounds cool and futuristic.
I see three solutions to the problem.
The first is not so elegant. If you have text then you wrap each letter in a span tag and apply the JS to each span. Very ugly, not practical, scalable, etc. but it works. If you've got dynamic text coming from a backend then just forget it. This solution is only viable for static content and even then it's not great.
You could implement this as instructed and then just give the text an outline of the exact opposite color. Chances are your text will not equally overlap both a light and dark background so this wouldn't look too bad at all.
The third solution is to just know your backgrounds very well and choose element placement very carefully so that no matter what background you have your text ends up in an all light or all dark part of it. If I had Medium style app where users get to choose the background image of an element that gets text laid over it this is what I might be okay with doing and accepting that not all the background images will lend themselves well to this technique.
Or... There's a fourth way that I've actually had to consider in one of my projects. Until I saw this post I didn't have the final piece of the puzzle but now I do. I would take the ability to dynamically change the text color based on a background and add to it a translucent background to the text with some padding to make it a blocky thing - kind of like how ios7 handles it in notification center.
The idea is that if you have an element over a mostly light background you give that text itself a light background with about 70% - 80% opacity and the text color dark. This way you're covered even if part of the text is on top of some random dark part of the image background. It's the same idea as using a text outline except its more cross-browser compatible and I personally think it looks better.
But like I said, if you're not in control of the text and/or background there probably isn't going to be a bullet proof solution and you'll have to accept trade offs but if you are in total control then there's no reason you can't mitigate these issues completely.
I have to admit though, I'm okay (as a citizen of any country) with my government's spy agency violating the privacy rights of citizens and foreigners when it's done in a targeted way. There's a big difference between spying on a person and their network of connections because you've got some evidence to suggest something bad is coming from them and just collecting everything you can and looking for reasons to go after people after the fact. The former is how it should work, the latter is how its being described now.
But anyway, your point still stands aside from the small Ebert error.
The issue isn't the fact that the NSA snoops. That's their job and it has value when their power to do so is used judiciously. The problem is that its not being used judiciously. Rather than singling out as few people as possible to root out the bad guys their just collecting everything they can. They don't need to do this and doing so opens up the possibility for huge abuses of power. That's the issue.
I think the article is right that the crypto revelations aren't pertinent to this discussion. I would even consider the crypto revelations a red herring. Is it important how the NSA spies on everyone? No, its only important to know that they do it at all when speaking in the context of how the Snowden leaks are important to creating a national debate and, hopefully, by some miracle, create reforms.
I think its reasonable that as a US citizen you're okay with the NSA being able to break crypto. You just want to be able to trust that they're using it against the bad guys and not you. Even now that we know they're probably using it against innocent civilians its more harmful to the NSA's ability to go after the "bad guys" when they legitimately do (and they still do serve that purpose) and isn't really helping the debate over whether their over collection of data is okay and how to reform that system.
But then what if Google pulls the rug out from under apps that rely on it and what if knowledgeable users like you don't like the idea of a third party having access to their second factor?
I'm starting to think that unless you're willing to build your own authenticator apps for multiple mobile OSes SMS-only is the best way to go.
It's very rare that I'll see a developer code in such a way that they totally leave out a fallback or code with just one browser in mind. At least not when it comes to any site of importance (these include any site meant for a large audience, non-techies, business, and just generally not a site put together purely for showing off the uses of an experimental feature).
I didn't know Blink was going that route too. I fear that the use of new experimental features will stagnate if Chrome becomes too popular among non-techies.
iOS had the retina display with mobile safari first, then came Microsoft's metro interface which brought tiles and going forward we're probably going to see many more devices and browsers that handle some aspects of web resources differently and for good reason. We can't expect the web standards committees to be able to account for all of these advances as fast as they come about and I'd argue that's exciting and good.
Furthermore I'd say web standards already do take care of this in the most elegant way I can think of. The <link> tag is totally standard and future proof when it comes to favicons. I don't see anything wrong with adding a link tag with standard attributes to support multiple devices here. The purpose of a favicon is to associate a small image with a website or URL in general. Not all sites need the apple-touch icon or windows tile but some do. What we're seeing here is an attempt to target specific browsers on specific devices for very specific cases. By and large the standard desktop browser favicon has never changed. When you take all that into consideration I think its actually quite reasonable for these different methods of specifying favicons to exist.
I'll grant you that adding all that in your markup is ugly and having to think about which devices you want to target is a pain especially once you've decided on it and then have to start thinking about which markup to use and in what order.
Still, this isn't a case where vendors are using proprietary markup to capture more of the market or doing anything "evil". It's more a case of using an existing standard to take advantage of a specific device capability. Standardizing the way web/markup languages are handled is good but trying to standardize favicons in this context seems like an awkward way of trying to standardize how a device and/or browser and/or OS handles its UI and is not good.
Edit: I can't think of a good way we can standardize this but I am curious if there's anyone out there that has a decent idea for how we can standardize how we specify favicons for the plethora of devices we have now and will continue to see going forward.
That said, this also isn't a convincing argument for the abolition of copyright either. I don't know if that was the point though. What this does show is how a copyright can serve the opposite of its intended purpose and hurt society. But for every case like the King speech there are plenty more that are examples of its benefit.
It's disappointing that we do not have free and open access to the I Have a Dream speech but its not a good argument against copyright. Copyright is still an issue that boils down to its use and has to be considered on a case by case basis. I don't think it ever has been all good or all bad and overlooking the vast sea of nuance there doesn't help proponents or opponents of it.
Over six months ago I was asked to design and develop a Wordpress site for a slate of candidates running for local office. The guy who came to me for it was someone I had worked for before and had a very good experience with. He was fast, friendly, professional, and asked me to send him an invoice before I even planned to. So when he came to me this time asking me to put together a site that he needed up in less than a week I told him the price and got right to work. We had an agreement in writing only so far as emails went and I even spent my own money to let him use my hosting, get an SSL certificate so he could accept online donations and even gave him a few bucks just to test the donation functionality. He was happy with it and again asked for an invoice before I had one drawn up to send. They lost the election but I still did the work.
Fast forward over six months, 5 invoices, and a phone call later and I still haven't seen a single penny. To get his attention I changed the passwords to his other website (the one he actually cares about). That got him calling right away. I didn't let him know I changed the password and let him think it was a technical bug. He pretended not to know why I was never paid and promised to send payment immediately. One month and 3 emails later he promises to send the money "this week" and that he's in a "cah crunch".
Will I publicly shame him? No. I plan to ask for payment once more and give him a $250 discount if he uses the online payment form I set up for him. If he doesn't do it within a week I'll let him know he was one more week to pay me in full before I lock him out of his business email and suspend his web hosting both of which I provide.
You can always try to make the argument that designers need to be more careful in their dealings but you can't forget that there's always a human element, at least on some level, in all business transactions. Sometimes you trust a guy because you've built a good relationship with him and he fucks you over. I've never been stuffed once in three years though some have tried because I always used solid contracts and other safeguards against being ripped off. But sometimes, just sometimes, someone slips through the cracks and in those cases you have to have some recourse available to you.
Am I being a too much of a purist or overlooking something here?
The argument is that your conversions drop from people searching for coupon codes. We'll all just have to test that see for ourselves, won't we. This isn't the kind of thing where we've suddenly discovered a new counter-intuitive best practice for shopping carts. It looks like a few finicky people will be upset and call it bad customer service. I for one am willing to write them off as wannabe usability experts and continue to make the majority of users happy most of the time rather than cater to a small but noisy group. In the end you can't please every customer. Ever. Next we'll see a post about why not having a coupon code field is the worst customer service decision in the world too.
You're right though. First off, I hope your parent was joking, because if not, what he said makes no sense and isn't really related to the subject at hand. Second, while the whole domestic spying scandal is serious business, it doesn't have to be injected into every conversation. Third, you're right. There is no evidence to support that anyone has ever targeted a random individual for the sake of it and you probably shouldn't be using something like Facebook if you plan to discuss criminal activity, and yeah, no matter who you are you can't expect an inkling of privacy online. But that's not really specific to the government either. I can spy you, the guy down the street can, it doesn't take the kind of infrastructure the NSA has to spy on someone. Hell, I'd be more paranoid that random people are spying on me than the NSA. The randoms are more likely to target you for no reason while the NSA, from what we can gather, is more than happy to collect your data and never look at it - like ever.
Questioning the amount of paranoia we seem to have and being pro-NSA spying are not the same thing and it seems like a lot of people aren't able to separate out some of the nuance.
Some teas are decaf but in general the most common teas are caffienated. Even most decaf things are low or almost free of caffeine but not totally.
I suggest you try quitting coffee and tea together and seeing how you feel.
In any case though, I don't think the ethics of editing a word on Wikipedia during work hours is what we're supposed to be getting up in arms about. I'm really not sure still why we're supposed to be upset.
Like I said, I don't know you - I'm not saying you're one of those people I mentioned here but what you said reminds me of things I've heard them say.
See what I did there?
A Senator or anyone within the Senate has just as much of a right to their opinions as any of us do and they also have the same permission to edit Wikipedia entries as we do.
So what is the point in pointing out that someone presumably within the US Senate has changed a word in the Wikipedia article about Snowden? To point out that they're wrong? What if we're the ones who are wrong?
This act doesn't infringe on anyone else's rights in any way. Its an attempt to persuade possibly but we can't blame them for that. They have just as much a right to try and persuade people to seeing things their way as we do.
I'm just wondering what kind of discussion is this supposed to spark? I've seen a fair number of posts on HN lately that are little more than attempts to preach to the converted and turn the comments into a back-slapping fest. Is it weird that I consider the opposing viewpoint any time I make an argument or consider an issue? I don't necessarily agree with changing dissident to traitor but I don't see anything wrong with someone believing that either.
- Use raw $_GET variables in their code - Use $_GET in MySQL queries - Use mysql_real_escape_string instead of prepared statements or otherwise properly sanitizing input - Use PHP in general
We already know we should all be using prepared statements or combining data sanitizing methods with an ORM and to not trust raw user input and that its cool to hate on PHP. So I ask again, what are we learning here? That there's a ton of programmers who are doing sloppy incompetent work? Not news.
Furthermore, I think context is important. I'm not ashamed at all to say out loud that I've done these sorts of things knowingly and purposefully despite knowing it's not safe or correct. Why? Maybe I was creating simple examples to teach others the basics of getting user input and working with it in a database. Of course you'd warn people not to do things like that in a production environment but you show it that way anyway to get across some basic ideas without throwing too much at people. Or what if I were writing a simple series or scripts or small app that would only be used by myself or a select group of people? What if that application needed to be done in a hurry and was only for internal use and not accessible to the outside world? Lots of things can always go wrong but at a certain point you have to be able to trust someone and its not always better to be right than happy. I'm sure if anyone wants to be pedantic they can poke holes in my examples but the point is that these sorts of sins aren't always so awful depending on the context. I don't see any purpose in this other than to either look for open source applications to exploit in the wild or to just pick on a really easy target to make us all feel superior.