Hacker Newsnew | past | comments | ask | show | jobs | submit | ironkeith's commentslogin

There are no comment on the blog, so I'm just going to put this here and hope the author sees it (as they appear to have submitted the post):

You don't want to write SQL in your controllers. It's a recipe for future pain and suffering.

- If a second action needs the same data, it's likely that you'll end up duplicating your query. Especially if you work with other people, and they don't know about the queries that exist in all of the different actions.

- If you change the structure of the data in the DB, you need to find every affected query, in every action. It's extremely fragile, and prone to breaking.

If you have a model, with a nice public API, that interacts with the DB, you know that you've isolated the change to just that one place. All of the controllers that call $model->some_data(); will continue to work no matter how your change your data source so long as you obey the API.

There are million different ways you can approach that, but I strongly recommend that you find one that works for you, and stick with it.


Yes , totally agree with this but I still often see people put SQL (or HSQL or whatever) into controller/view level code.

I think part of the reason for this is it appears in allot of tutorials for different web frameworks, which I think they do because it makes the code smaller and therefor their framework look simpler.


I recently bought Parallels, and it wasn't much better. From the email I sent them (after I finally found an email address):

- When I arrived on the checkout page (from the link in the nice email you sent), you had tacked on a $8 digital backup fee. That is a complete bullshit charge, and you added it by default with no explanation as to what it was, or why I would want it. It was also not particularly obvious whether or not I could remove said add-on. It is a shameless, low class, money grab.

- I switched my pricing from USD to CAD, and you added $10 despite the two currencies trading at parity (I quickly swapped back, and just paid in USD). Another shameless, senseless money grab.

- You require my name, home address, email address, and phone number in order for me to purchase downloadable software via Paypal. You do not need any of that information. You want it so that some tool in marketing can have pretty powerpoints. It should be optional. (Making it required simply requires me to make up information; a waste of both our time.)

- The “send me email spam” checkbox was checked by default. The only reason for this is to get permission to spam people too lazy to pay attention to the checkout. It’s another tasteless scam formulated by a greedy, customer hostile executive tool.

- After purchasing, I entered my serial number, and was informed that I would have to register to receive updates to the software I just purchased. I cannot explain to you how incredibly asinine I find that policy. 

- The registration process once again required information I didn’t want to give you (requiring me to give you fake information)

- After registering, and confirming my registration via email, and entering my email/password combo into the application I was told that I had given invalid credentials, and to try again. (I hadn’t. I’m pretty good with copy/paste.) So I guess NO UPDATES FOR ME?


You require my name, home address, email address, and phone number in order for me to purchase downloadable software via Paypal. You do not need any of that information. You want it so that some tool in marketing can have pretty powerpoints. It should be optional

This is actually less for marketing purposes and more for running anti-fraud analysis, which is a key consideration when you sell software at their scales. When I write my (totally legitimate) Japanese address and phone number combined with my American credit cards, it often ends up in an order getting held for purgatory for 48 ~ 72 hours until I can point them to the resolutions for the last four orders I did through them and the fact that none were chargebacks for being stolen credit cards.

Steam also does something similar. You can thank your local pirate.

The digital backup fee is scamtastic, and (shockingly) isn't the worst thing they have pulled over the last few years (that would be automatically adding rebill fraud 'coupon booklet' subscriptions to the orders). They split the fee $7 to DR and $1 to the software publisher, which means that for sales of $50 software they make substantially more from that addon than for the software itself at almost all of their (myriad) pricing schemes for the core DR payment processing experience.


I think "via PayPal" is the key distinction that makes the fraud excuse less valid.


How so? It's as trivial as creating a new email account to create a new Paypal account, and even if they require credit card only Paypal accounts that can be easily fraudulent too. Fraud via paypal is just as rife as fraud without.


The only point at which an address can be used to prevent fraud, is between the credit card charging process and your bank. If it's paypal charging your credit card, they're the only ones who need your address.


That isn't true -- you can run a variety of heuristics to catch N% of fraud (and X% of legitimate payments) prior to submitting them to the bank, getting them accepted, and then having your merchant account ganked for high chargeback rates.

For example, an annoying system which will decrease chargebacks is "If your IP address goes to a country other than your billing address, shoot first and ask questions later." It bites me all the time, but there are sensible business reasons for it.


I tried to purchase Parallels a while back and gave up because:

* Even though you _can_ opt out of it (click the grey cross on the right of the product list), the "backup" fee is almost an extorsion scheme. When you buy Parallels, you buy the right to download it once. After that, it's up to you to properly manage your backups. If your hard disk crash and you didn't, you must buy a new version (unless you bougth the "extended download service").

* I'm in Europe, and they silently switched the price from $80 to 80€. This is almost $110. You can't switch back to USD, only to GBP (£65 which is as expensive)[1].

That's enough. I didn't wan't to know what other dark patterns they'd pull out further down the road.

[1] Actually, I've checked while writing this post, and it is possible to get the US shop in Europe too, but I couldn't find the way to do it a few months ago when I contemplated purchasing their program.


Let's also not forget Parallels repeatedly spams the crap out of you to buy Kaspersky and other miscellanea after purchase. Extremely irritating.


I went through the same process in 2006 for version 2, and bought the upgrade to version 3 when that came out. Turns out I always had to install the old version, activate it, install the new version, activate that. Did I buy version 4 when it came out? Of course not; I switched to VirtualBox.


Who's in charge for these dark patterns on their site?


wait ... so why did you buy it then?


I genuinely like the software, and they emailed me a $10 off promo the day before my trial expired. The entire process leading up to the purchase was top notch.

Oh, and I didn't know there was a free, quality alternative until shortly after. A painfully bad checkout is the price I pay for being too lazy to do any research. ;)


so you think if you buy you can't have complaints? interesting world you must live in.


He could have gotten Virtualbox.


With the uncertain future that comes from being managed by Oracle now.


Not totally uncertain, there's the GPL'd version which contains almost all the functionality non-commercial desktop users would require (except USB 2.0 device speeds). Oracle can derail VirtualBox the trademark, but they can't prevent a fork.


To be fair, so far virtual box has moved ahead pretty well under oracle.


I would not support a business of which I had these sentiments:

It is a shameless, low class, money grab. (twice)

It’s another tasteless scam formulated by a greedy, customer hostile executive tool.

Surely there are competitors in the marketplace?

We vote with our dollars.


The competitor is VMWare, which it seems is just as bad.


One small thing, on this page: https://www.appointmentreminder.org/pricing

The strings from the "hot" tag to the "Small business" column are wrong. One of the strings needs to come from behing the column, otherwise it looks like there's some weird bug sitting on the column, holding a "hot" tag.

See: http://imgur.com/gjVbb


I tried that link on my phone and got redirected to the "mobile" home page, then couldn't find the article in question. I'm pretty sure people from ars are in here, if so: please fix this. I read 90% of my news on my phone during down time. Thanks.


I don't think it's an article. Looks like it's just a banner ad from Adobe.

And it's a Flash banner ad, BTW, so don't even bother trying on your phone ;)


I laughed at the reply to "cat".


In the book "Superfreakenomics", IV is shown to be actively developing insanely simple/improbable solutions for hurricanes (by cycling warmer ocean water with cooler water using tires and concrete), global warming (by pumping sulphur into the statosphere), and malaria (with female mosquito detecting lasers). The book protrayed them as developing prototypes for those "inventions", so patents seem fitting.


Maybe this is just me, but I couldn't get the site to work. Check my profile for the email address I used to sign up.

First try, Firefox 3.6 on Snow Leopard: - Opened iPhoto and dragged a photo in, progress bar filled, but no picture appear, and no indication of success was given. Check file info and realized it was a NEF. - Repeated process with a JPG. Progress bar filled, but same results.

Next try, Safari 4.0.4: - Clicked upload button - Selected two files - Progress bar filled, but no pictures appeared, and no indication of success was given.

Now when I visit the home page, it says I have two events, but neither of them are clickable because they have no pictures.

Beautiful site though, I was really impressed by the GUI (if only it worked...).


Thanks for the heads up. We've had an unexpected rush of uploads this morning as the east coast woke up.

We've started additional AWS Instances and things should be working normally and just a few minutes.

UPDATE (9:52 PST): We now have 5 machines processing & resizing photos. There are still 6,500 photos left in the upload queue from earlier today. We're processing them LIFO so it may take us a few more minutes for us to get to the photos uploaded early this morning.

Since the queue is so large expect new photo uploads to take longer than they normally should.

If you have any more problems please email us directly: human -åt- divvyshot -dºt- com


One last, really minor thing:

When I create a new event, and click "Untitled Event" to edit it, it would be really nice if it auto-selected the text for me. As is I had to click, then double-click, so it's three click for a one click operation.


Another example would be Wolfram|Alpha. The site is free, but the iPhone app, and API access are quite expensive.


[deleted]


You guys are describing different models. I'm talking specifically about selling pieces of a free website.


Apple recently released the Gallery app, and released a new version with an authentication bug fix the next day. It's pretty safe to say that they don't have to resubmit apps for approval.


I've submitted 18 articles, and 9 have made it to the homepage (http://news.ycombinator.com/submitted?id=ironkeith). I am certainly not a power user, and I don't have a circle of friends who quickly upvote my submissions to game the system. So far as I can tell, people use the new page, and interesting articles make the home page.

That said, I also think it's really important to ensure that the title you submit is properly phrased. The articles that have received the most votes have inevitably been the ones I put some time into rewording to appeal to HN users.


the stuff of yours that got voted up, is what you found online at popular sites. The reason it bypasses the death, is that other people try to submit it too, at which point it gets 1 extra upvote.

I'm more speaking for the people who write their own stuff(sivers, asmartbear etc). Who spend 2-3 hours putting an interesting article together, only to have it die in the new bin.

For example, I get asked all the time how I got my site to 35K visits in 2 months. And I'd love to share. But I always put it off because I know there is a 90% chance it'll never get off the new page.

Why should I spend 3-5 hours putting that article together with graphs and data, if I know for a fact that there is 99% chance that it'll die. I got a site to run, I can't throw away my time like that.

In fact the only articles of mine that actually made it to the front page, were those which I linked to from another relevant discussion. Those got 40-60 upvotes. But if I didn't link them from a relevant thread, they'd be stuck in the new page like all the other submissions.


That's true, I supposed I'd never considered what it would be like from a publisher's perspective. Does HN push enough traffic to make it worthwhile to create content directly targeted at its users? Knowing what to expect for traffic would help me evaluate if its worth it to invest 2-3 hours at a x% chance of hitting the homepage.

So far as the value of 'x%' goes, there are certainly ways you could game the current system in your favor: linkbait the title to appeal to a very specific demo, get a few friends lined up for a quick upvote... it doesn't seem like it would be too much trouble. I often see very recently submitted articles with 3-4 upvotes at or near the top of the homepage. If the only reason you're writing is for traffic, there certainly appears to be a lot of opportunity. Am I wrong?


it's not really about points or traffic. Mostly it's just knowing that the people who asked me to do the article actually get to see it.

If it never makes it to the front page, where 99% of the people view the stories, then all that effort was for naught. And I might as well save my time.


For me it's a mixed bag, some of the stuff I write that I think will be for a very small set of people does surprisingly well, other stuff that I think is more important does much worse.

But just like making music, I write what I write because it helps me to put down my thoughts, how many others read it, find it useful and/or comment on it is really not that big a deal to me, though I'm always very happy when there is some kind of interaction around something I write. Usually I learn as much from the feedback and the comments as I did from doing whatever it was that I wrote about in the first place.


oh yeah, it's def something you need to do for yourself...but it's all about priorities.

If I knew the article would have a chance on HN, I'd probably put a little bit more priority on it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: