<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Jason Lotito - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-e201b4a9" type="application/json"/><link>http://jasonlotito.disqus.com/</link><description></description><atom:link href="http://jasonlotito.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 03 Nov 2011 10:46:17 -0000</lastBuildDate><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-354751749</link><description>&lt;a href="http://forrst.com/i/B7u" rel="nofollow"&gt;http://forrst.com/i/B7u&lt;/a&gt;&lt;br&gt;Here's my application, I would love to be part of this community.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">_thp</dc:creator><pubDate>Thu, 03 Nov 2011 10:46:17 -0000</pubDate></item><item><title>Re: Comments</title><link>http://www.jasonlotito.com/programming/comments/#comment-348342343</link><description>This is of course just the first step. You could add methods specifically for each of the checks.  This article, however, was merely focusing on using comments as an indicator.  Other indicators I will talk about are conditionals and loops.  The contents of an if or loop block is an indication of moving something into it's own method.&lt;br&gt;&lt;br&gt;The idea is simple: when you do this, it should raise a flag.&lt;br&gt;&lt;br&gt;As you mention, we should question every line of code we write.  This hopefully helps to provide solutions to these questions.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Fri, 28 Oct 2011 13:29:38 -0000</pubDate></item><item><title>Re: Comments</title><link>http://www.jasonlotito.com/programming/comments/#comment-348336324</link><description>I like the idea of questioning your code every time you feel the need to add a comment. I think we should question every line of code we write, but comments are often a great indicator of problems. &lt;br&gt;&lt;br&gt;What do you think about going even further in the refactoring? I think I would add two more methods. Something like matchEmailFormat() and matchUsernameFormat(). It would make it easier to reuse, modify and read. If someone really needs to know how you check for it, he can go in the one line methods.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric Hogue</dc:creator><pubDate>Fri, 28 Oct 2011 13:19:42 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-288270444</link><description>Hi, thanks for the article. I would appreciate some feeback on my application if anyone has a chance: &lt;a href="http://forrst.com/i/CNz" rel="nofollow"&gt;http://forrst.com/i/CNz&lt;/a&gt; I'm quite confident I left some constructive feeback.&lt;br&gt;&lt;br&gt;Thanks x</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Starseed5</dc:creator><pubDate>Tue, 16 Aug 2011 14:54:42 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-263427083</link><description>Hi,&lt;br&gt;I applied for a Forrst invite would appricate any members having a look at my application.&lt;br&gt;&lt;br&gt;Link: &lt;a href="http://forrst.com/i/CBj" rel="nofollow"&gt;http://forrst.com/i/CBj&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks for reading.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Squrk</dc:creator><pubDate>Mon, 25 Jul 2011 09:19:23 -0000</pubDate></item><item><title>Re: privacy.txt</title><link>http://www.jasonlotito.com/privacy/privacy-txt/#comment-253570078</link><description>Thanks so much for sharing</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">سيد مهدي مصطفوي</dc:creator><pubDate>Sat, 16 Jul 2011 05:20:13 -0000</pubDate></item><item><title>Re: Eclipse Color Themes</title><link>http://blog.jasonlotito.com/programming/eclipse-color-themes/#comment-252811288</link><description>Yes, Sepehr Lajevardi is such awesome developer</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">doxigo</dc:creator><pubDate>Fri, 15 Jul 2011 12:00:17 -0000</pubDate></item><item><title>Re: What I know about designing credit card forms</title><link>http://www.jasonlotito.com/programming/what-i-know-about-designing-credit-card-forms/#comment-249408917</link><description>Great article Jason. Full of golden nuggets. Cheers pal!&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Wharton</dc:creator><pubDate>Tue, 12 Jul 2011 12:55:50 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-245290559</link><description>Hi there!&lt;br&gt;I also applied for a Forrst invite a while ago but failed in getting any votes. I think that my feedback was quite detailed and to the point, but I may be wrong.&lt;br&gt;&lt;br&gt;My application link is: &lt;a href="http://forrst.com/i/5l7" rel="nofollow"&gt;http://forrst.com/i/5l7&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DirTek</dc:creator><pubDate>Thu, 07 Jul 2011 14:58:17 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-235862511</link><description>I'm also trying to get some votes for my application - &lt;a href="http://forrst.com/i/5oR" rel="nofollow"&gt;http://forrst.com/i/5oR&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mr_tim</dc:creator><pubDate>Mon, 27 Jun 2011 07:32:10 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-224717060</link><description>&lt;a href="http://forrst.com/i/52l" rel="nofollow"&gt;http://forrst.com/i/52l&lt;/a&gt; oops i put a full stop in the first link.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sl1dr</dc:creator><pubDate>Mon, 13 Jun 2011 07:52:59 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-224716737</link><description>Here is the link: &lt;a href="http://forrst.com/i/52l" rel="nofollow"&gt;http://forrst.com/i/52l&lt;/a&gt;. I am only starting out with HTML and CSS, but I really enjoy it and am very passionate about it. Forrst seems like such a great learning community!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sl1dr</dc:creator><pubDate>Mon, 13 Jun 2011 07:51:43 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-224553859</link><description>What's the URL to your application?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Sun, 12 Jun 2011 22:50:03 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-224534485</link><description>I would love to be a part of the community but unfortunately my application is not getting any votes!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sl1dr</dc:creator><pubDate>Sun, 12 Jun 2011 21:38:04 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-222408285</link><description>Shoot me an email at jasonlotito@gmail.com and I'll hook you up.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Thu, 09 Jun 2011 11:25:37 -0000</pubDate></item><item><title>Re: How to get an invite to Forrst</title><link>http://www.jasonlotito.com/programming/how-to-get-an-invite-to-forrst/#comment-222397071</link><description>Hi Jason,&lt;br&gt;&lt;br&gt;Thanks for the post; I'm interested in joining Forrst myself so it was nice to here a bit of advice about how to do the application right. If you had the time, I would appreciate some honest feedback about my current application - you can see it here &lt;a href="http://forrst.com/i/5rx" rel="nofollow"&gt;http://forrst.com/i/5rx&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">superdeluxesam</dc:creator><pubDate>Thu, 09 Jun 2011 11:06:05 -0000</pubDate></item><item><title>Re: Crazy predictions for the next 5 years</title><link>http://www.jasonlotito.com/technology/crazy-predictions-for-the-next-5-years/#comment-197819311</link><description>Interesting that you don't consider Linux as an OS, Ubuntu, CentOs, etc are distributions of Linux but act as an OS</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 05 May 2011 13:27:38 -0000</pubDate></item><item><title>Re: Sometimes I amaze myself</title><link>http://www.jasonlotito.com/advice/sometimes-i-amaze-myself/#comment-196031895</link><description>You know, this is awesome.  I love the internet.  Things like this just make it all better.  I really hope it works out for the guy.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Mon, 02 May 2011 20:55:56 -0000</pubDate></item><item><title>Re: Sometimes I amaze myself</title><link>http://www.jasonlotito.com/advice/sometimes-i-amaze-myself/#comment-196005071</link><description>Thanks for posting this, a Google Alert pointed me to your post and I might not have found the Hacker News thread otherwise.  I think your advice to your friend is solid, and I am going to try to get in touch with him about a job (I work at Twilio).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Danielle Morrill</dc:creator><pubDate>Mon, 02 May 2011 19:40:04 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-178099010</link><description>Very true.  And I hope no one assumes that it's simple to implement.  Keep in mind I did suggest that you verify with the user the correctness of the email address.  If someone types in 'jasonlotito@gmail' for example, I wouldn't assume '&lt;a href="http://gmail.com" rel="nofollow"&gt;gmail.com&lt;/a&gt;' and put it into the database straight away.  Rather, I'd fix it, and validate it with the user.  "We noticed your email address was incomplete.  Is this correct?" That sort of thing.&lt;br&gt;&lt;br&gt;However, beyond those extremes, a lot of normalising can be done to help improve the user experience.  We shouldn't be afraid to work on that.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Mon, 04 Apr 2011 15:07:05 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-178097605</link><description>I've changed the title at your suggestion to clarify the topic.  I've also added a bit to the beginning making it clear normalising data is not something you just *do*.  It's fairly difficult, and usually less straightforward then validating and filtering data.&lt;br&gt;&lt;br&gt;On a side note, I'd been working with Filters in Zend Framework lately that normalise data, which is where the idea of the name came from (besides a play on Brandon's title).&lt;br&gt;&lt;br&gt;Thanks for the feedback in more than 140 characters. =)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Mon, 04 Apr 2011 15:03:32 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-178085382</link><description>There's nothing wrong with advocating for format-independent validation or case insensitivity. If (123) 456-7890 is a valid phone number, then so is 123-456-7890. No one's going to disagree with that.&lt;br&gt;&lt;br&gt;I do wish you would change the title of this post. I expected an explanation of the subtle difference between validation and filtering, and if I didn't already know the difference very well, I would be left utterly confused.&lt;br&gt;&lt;br&gt;Maybe make the title something about why stricter is not always better. Your examples are good ones, because they demonstrate a strictness that applies solely to the format of the data. That's not only unhelpful, it's annoying to users for exactly the reasons you mention.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Shiflett</dc:creator><pubDate>Mon, 04 Apr 2011 14:36:49 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-178043390</link><description>Normalisation is a better word, but I disagree with it being frowned on.  Going back to the Credit Card example, penalising a user because he didn't change the default option of Visa and entered a MasterCard number is frustrating.  Normalising a phone number is better than demanding a user enter the correct phone as it would be dialled from a call center in India, for example.  Normalising a username or email address to a lowercase string is better than denying a user entry because their phone auto-capitalises the first letter.&lt;br&gt;&lt;br&gt;Taking data and filtering out the parts that don't make sense and having it make sense is what computers are for.  Indeed, I don't suggest doing this for every occasion, and not something you should apply blindly.&lt;br&gt;&lt;br&gt;The examples I posed (phone numbers, credit cards, emails, etc) are all real world problems I've had to deal with.  Pushing the responsibility back onto the user might be the easiest way of doing things, but doesn't encourage better software.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Lotito</dc:creator><pubDate>Mon, 04 Apr 2011 13:57:20 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-178037093</link><description>"Their are lots of assumptions you can make that will make things easier for the user.  Go ahead.  It’s okay." I'm not sure if that's such a good idea. Unless you know your userbase very very very well (3 verys).. &lt;br&gt;&lt;br&gt;Assumptions the app makes are "magic" when they work, and the app is broken when it's not, normalizing &lt;a href="http://google.co" rel="nofollow"&gt;google.co&lt;/a&gt; to &lt;a href="http://google.com" rel="nofollow"&gt;google.com&lt;/a&gt; could be a problem, as the email address may be &lt;a href="http://google.co.uk" rel="nofollow"&gt;google.co.uk&lt;/a&gt;, or something else. This level of assumption should be done on a case by case basis, once you know your audience very well. &lt;br&gt;&lt;br&gt;Just my inflated $0.02 (USD :))</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vid Luther</dc:creator><pubDate>Mon, 04 Apr 2011 13:53:48 -0000</pubDate></item><item><title>Re: Normalisation of data</title><link>http://www.jasonlotito.com/programming/dont-confuse-validation-with-filtering/#comment-177952686</link><description>"Filtering is the art of taking bad data and turning it into good data."&lt;br&gt;&lt;br&gt;You're confusing filtering with normalization, which is generally frowned upon. It's best to make sure data is valid (validate) and only allow valid data (filter) than to try to modify bad data to make it good (normalize). Normalization flaws tend to create worse vulnerabilities than filtering flaws.&lt;br&gt;&lt;br&gt;There's a really good book that covers this specific topic, but I'm blanking on the name of it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Shiflett</dc:creator><pubDate>Mon, 04 Apr 2011 12:08:03 -0000</pubDate></item></channel></rss>
