Better HN
topnewbestaskshowjobs
Log inSign up

sync

1,885 karma · joined Jul 17, 2009 (17y ago) · 314 submissions

building hotwash.com
Submissions

181.

Things You Can Do With EPF (That You Can't Easily Do With Ember Data)(codebrief.com ↗)

3 points · by sync · 13y ago · discuss

182.

Ember.js CVE-2013-4170 Fix for Potential XSS Exploit(github.com ↗)

1 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

Looks really interesting.

Just a quick note: You should really turn off the django DEBUG flag... http://ilter-ourbnb.appcubator.com/Listings_Page/?query=&fie...

comment 13y ago · link · parent

For folks interested in mobile A/B testing, also see an open-source alternative by Clutch: https://github.com/clutchio

comment 13y ago · link · parent

Super cool, but it seems like this is throwing technology at a problem that could be solved in a much simpler way.

Since you will rarely (if ever?) be looking up a single question in a survey, storing the whole set as a JSON array-of-arrays makes much more sense. Then you can look up the set of questions with a dead-simple SELECT.

186.

Rails 4.0: Release Candidate 2 released(weblog.rubyonrails.org ↗)

22 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

Didn't they already have this API available?

Can someone explain how this differs from https://github.com/heroku/heroku.rb ?

comment 13y ago · link · parent

Ember is a lot harder to go from 0 to Todo App in an hour. There's a fairly steep learning curve, but once you've grokked the "Ember Way", building more complex apps is significantly easier.

With Angular, you can build a Todo App in no time, but building anything more complex requires you to understand e.g. Services, Directives, and Transclusion.

With Ember, you are just learning about Models, Views, & Controllers -- it doesn't get significantly more complex than that initial learning curve.

189.

Trello Launches Business Class premium plan(trello.com ↗)

2 points · by sync · 13y ago · 1 comment

comment 13y ago · link · parent

Just getting "Invalid result from WS" after selecting a private repo.

Also, the product tour really isn't very useful at three steps. Seems like a more streamlined 'onboarding' experience is what you are after.

191.

RedisToGo to join the Rackspace Family(blog.togo.io ↗)

1 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

In case you were wondering what Zotonic is like me: http://zotonic.com/

An Erlang Web Framework.

comment 13y ago · link · parent

I think you want gridster then: http://gridster.net/

comment 13y ago · link · parent

I also started out using Ember.Data and later abandoned it due to similar issues (lack of validations being the biggest), but have stuck with Ember.js itself and am really enjoying it for a basic CRUD app.

Entering a route through a user hitting it directly vs. transitioning within the app should not be a problem with Ember.js, everything seems to just work for me at least. I suspect this is an education thing more than anything else.

comment 13y ago · link · parent

Interesting.

Without making any modifications to your app I have it working on heroku: http://safe-harbor-9177.herokuapp.com

Here's the full output: https://gist.github.com/speedmanly/1099b37338745ccb5a26

Adding a Procfile is generally recommended (although heroku will add a default one)

   web: bundle exec rails server thin -p $PORT -e $RACK_ENV
Setting your rails env is a good idea too:

   heroku config:add RAILS_ENV=production
Note I didn't perform those steps to get the app running, they are just recommended.

Edit: Actually I do see this line in my heroku logs:

   2013-03-21T00:50:21+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 32752 -e $RAILS_ENV`
   2013-03-21T00:50:22+00:00 app[web.1]: bash: bin/rails: No such file or directory

Adding a Procfile should fix that. Listing 'thin' (or another rails server, e.g. unicorn,puma) in your Gemfile is a good practice as well.

comment 13y ago · link · parent

   Finally, as far as I can tell Rails 4 doesn’t yet work on Heroku,
   so all the deployment examples currently fail.
Rails 4 definitely works on heroku, what problems are you seeing?

Edit: You may be missing "ruby '2.0.0'" or "ruby '1.9.3'" in your Gemfile, as seen in: https://gist.github.com/speedmanly/d15a3a5f8d0971bc0c92

comment 13y ago · link · parent

That's BigBalli's affiliate link. Here's a non-affiliate link: http://www.amazon.com/gp/product/1621050203

198.

Running Rails on Heroku Update(blog.heroku.com ↗)

3 points · by sync · 13y ago · discuss

comment 13y ago · link · parent

This one seems pretty amateur and should have been caught as part of a pull request/code review process.

   - @regex = /^(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})$/
   + @regex = /\A(#{Regexp.escape(@prefix)})(.+?)(#{Regexp.escape(@suffix)})\z/
^ and $ only match the first line in ruby, whereas \A and \z match across all lines.

comment 13y ago · link · parent

Your HN post[0] led to a blog post: http://www.learndot.com/findings/how-to-name-your-startup/

Your TechCrunch post[1] led directly to your homepage.

With that in mind, we can't trust these numbers at all.

[0]: http://news.ycombinator.com/item?id=4779410

[1]: http://techcrunch.com/2012/11/13/learndot-launches-its-learn...

comment 13y ago · link · parent

Also see: https://github.com/SquareSquash/web

Interesting FAQ full of the developer preemptively defending design decisions.

comment 13y ago · link · parent

Is this just a thinly veiled advertisement for HelloFax?

Whois information for paperless2013.org:

  Admin Name:Neal OMara
  Admin Organization:HelloFax
  Admin City:San Francisco
  Admin State/Province:CA
  Admin Postal Code:94109
  Admin Country:US
  Admin Email:founders@hellofax.com

comment 13y ago · link · parent

I have six invites for any adventurous HNers interested in living life on the edge.

comment 13y ago · link · parent

https://github.com/rails/rails/commit/61b91c4c55bcbd5a2ec85d...

comment 13y ago · link · parent

I don't know -- could be a sign of NIH syndrome.

comment 14y ago · link · parent

His solution isn't even correct, failing his own test.

  if !multiple_of_3(i) && !multiple_of_5(i)
    output = i
edit: In order to avoid overwriting output, the solution should read...

  if !multiple_of_3(i) && !multiple_of_5(i)
    output << i

comment 14y ago · link · parent

FYI: When I click play on the video, I see the first two seconds and then get redirected to http://www.diffplug.com/Teaser_0.5.0

Firefox 18 (Aurora) on Mac.

comment 14y ago · link · parent

Interesting. Why do some stories get flagged off the front page?

comment 14y ago · link · parent

Love the video. What did you use to make it?

How do you differentiate yourself from all the other "feedback" buttons out there (e.g. UserVoice, Qualaroo) ? I see Notifications -- but it feels more like advertising than targeted messages.

comment 14y ago · link · parent

Also see previous discussion: http://news.ycombinator.com/item?id=3166496
1
678
11