695 karma · joined September 29, 2010
(The site isn't as fine tuned as I'd like yet...but interested in your thoughts. Thanks!)
I suspect that you'll frequently need to fallback to the socket approach. I imagine a lot of shared hosts block the capability to run exec (Godaddy, Hostgator, other common php hosts), and I believe that's where a lot of PHP lives.
I've implemented this before, but still wouldn't be able to produce it on the spot without Googling. This post encouraged me to take a deeper look.
This page goes in depth on how it works, but is still a bit confusing: http://code.google.com/p/cleanstickyfooter/
The craziest part is the #wrapper element, which uses a nifty hack to support old and new browsers. Old browsers don't work with css min-height, but they do allow the height property to expand. Moreover, old browsers will ignore an "important!" tag if the same property is addressed later in that selector.
It's a perfect storm of dumb luck that "min-height: 100%; height: auto important!; height: 100%;" actually manages to do what you want, for this exact scenario, in all browsers. That line looks pretty stupid to most modern css devs.
Here's an arguably cleaner approach that I believe will work for most modern browsers (I think after IE6, but could easily be mistaken). No need for the wrapper around all content, but you still need that darn "push" div. Actually now that I think about it, it might even work for older browsers if you add "height: auto important!; height: 100%;" to the body. Maybe someone can test? http://jsfiddle.net/A3BLm/1/
The goal of this snippet is to have the footer always below the content, but in the event the content is shorter than the page height, the footer should still be placed at the bottom of the page.
Really Javascript isn't a terrible solution here, since it only needs to be run on load and on window resize (rare events), but the CSS is indeed nifty and worth knowing it exists.
A huge selling point of Rails, other web frameworks, and ORMs in general, is that you don't have to be doing these checks. You can push the query through without concern of SQL injection, and handle the failure case there. This is convenient because you often have to handle that failure case anyway.
Rails' own "Getting Started" guide uses this technique because it's assumed to be secure: http://guides.rubyonrails.org/getting_started.html#showing-a...
We know you can "break" the application by tampering with IDs, but you shouldn't be able to pose a security threat.
Validating type and data ranges is common with things like dropdowns, where you need to ensure an actual option was selected. This is a very common security flaw, and it's definitely good practice to be checking (especially when it leads to adding/updating database rows).
Is cloud-based file selection something that should be offered by a web developer, or by the OS?
VC's are used to writing huge checks and providing value after a company has solved product-market fit. This asks them to write a tiny check and provide very early expertise they generally don't provide.
Did Balanced ever respond? The comments here about the founders are quite opposite.
Next thought, maybe you can override Google's open method with something like this: http://jsfiddle.net/Z3Ysq/
They may have been able to prevent this with a closure, but I think you could workaround everything. Watch out for scope issues, but I think there's a way to make this completely generalizable.
That being said, I agree that at some point, it might get too messy figuring this all out that your existing solution is best. Kudos for the clever concept.
PHPFog was my goto place for self-hosting Wordpress blogs, is AppFog as simple?
I suspect this is Priceline admitting that it (and other OTAs) are losing relevance in preference for the meta-search model.
Smart move, and I don't think they're dumb enough to ruin it. Read up on how successful Priceline was with their Booking.com acquisition.
Unlike most times people tell you to read a book, it'll actually only take 10 minutes.
We're hoping for the best. Nobody intended to be destructive, it was just a fun project.
This didn't come through entirely until I read the comment. I think an example of what mixins would produce would be helpful.
At the end of the day we have two goals: 1) keeping things easy to develop and 2) keeping the CSS filesize as small as possible.
Mixins accomplished 1 but not 2.
One potentially relevant example is bootstrap's core "btn" class, which has over 50 lines: https://github.com/twitter/bootstrap/blob/master/less/button...
When you want a button in HTML you have to add the btn class, as well as an additional class for that button's styling. IE: btn-large, btn-primary, btn-info
Bootstrap could have made this happen with just one class by implementing mixins, but that would result in each btn-primary, btn-info, etc repeating those 50 lines from the btn class.
If Bootstrap used @extend instead, that large btn class could be replaced with a multiple selector, IE: .btn-large, .btn-small, .btn-primary, etc. Then the independent styles could be defined below, as they already are, and we would just need one class to add the appropriate button style.
I guess they could do that today by just using the long selector instead of .btn, but that makes the file harder to maintain.
Let me know if I'm thinking about this wrong.
(Disclosure: Roommate used to work there)
Happy to get a little more into the specifics if anyone's interested. It took us a long time to get out of the "better ui, kill the travel agent" mindset that's prevalent among travel startups. The greater complexity of vacation sales really seems to throw most of the precedent set by online travel agencies (Expedia) and meta-searches (Kayak) out the window.
Twitter definitely considered the risk of cutting off their development community, but I don't think they intended to hand those developers off to a competing platform. Good timing from App.net.
Usually, a Silicon Valley investor at MIT during career week is trying to help their portfolio find staff. Andreessen Horowitz, Sequoia, and more are here for that purpose, but that doesn't seem to be this event's goal. Can you clarify?
Also, not really. There are a ton of biz dev relationships that require more than just an API. Making a public API where "The constraints, the terms, everything is all there" probably isn't worthwhile if you don't plan for many to use the API. In the cruise industry, not many players want access to the cruise API, so they negotiate usage costs and commission individually.
This is ideal for freelancers. I built it for myself at https://paycolin.herokuapp.com out of fear that PayPal would freeze a large transaction I had coming in.
I started building the same thing (a general service for everyone) on www.charge99.com but never finished it. If you want that domain I'll push it to you for free
For what it's worth, my plan for getting it out there was to scoop up a ton of cheap domains on namepros.com, then create individual listings with "Payment through Charge99". Namepros is a very active domainers forum where it's common to list payment types in the listings.