For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more michokest's commentsregister

I just posted an update to the post with the screen we're showing (only once) to "teach how to disable this".

I believe that's the best compromise: Keeping the scroll behavior, but teaching you how to change it. http://cl.ly/1R0T1Z1n2y160C1V3V0V


My advice: take backbone's code and read it a couple times as you'd read a science book. Get to understand every function and how it ties into the rest of the framework. Most writers read a lot more than they write. Programmers could learn from that.


This is in the top 5 list of why I dig Backbone. The code is concise, clear, and eminently readable.


One of the biggest challenges we found with big Backbone apps is serving templates. Looking forward to hearing how you serve assets from the backend!


For the record, the approach that we use to serve templates (along with CSS, and JavaScript), is available here:

http://documentcloud.github.com/jammit/

Just the templating bit: http://documentcloud.github.com/jammit/#jst

... which allows us to include all of our templates in our JavaScript asset packages by listing them like this:

https://github.com/documentcloud/documentcloud/blob/master/c...

... which then means that they'll be served as part of the final, minified, compressed "core" asset package here:

http://www.documentcloud.org/assets/core.js (bottom of the file)

Or, as a standalone asset here:

http://www.documentcloud.org/assets/core.jst


I was commenting hoping to get others to explain their templating system, honored to see your reply :)

This is what we use: https://github.com/teambox/trimmer

In a nutshell, it takes everything under app/templates and compiles it from Rails (so it has access to I18n and ruby) and serves jades, which we later compile and minify.

Trimmer serves the Template and I18n objects, as you can see on this compiled file:

https://d238xsvyykqg39.cloudfront.net/assets/trimmer-en-58fc...

I like that your solution actually packs it together with the rest of the code, avoiding one extra request for templates. Maybe we'll add that to our system too.


This might not be possible for you, but we're running under nodejs and using stitch[1]. It compiles the templates to javascript functions, and we bundle them with all the rest of the javascript as one big file. Simple distribution and awesome performance.

[1] https://github.com/sstephenson/stitch


What I do is Makefile compiling templates to separate js files for development and for production I combine them using the module system which makes sense - in different projects I had stitch, ender.js and AMD (require.js & seajs).


http://trello.com and http://teambox.com (beta at http://beta.teambox.com) have a common ancestor: http://www.pivotaltracker.com

That was the first widely adopted kanban tool for developers that I know about


There's also http://teambox.com with freemium approach. The new beta has a kanban-style view, too.


Great example at Netscape! That was exactly my point. Major disruptions have already been started by others, and it's easier to ride that wave than starting a new one.


Immigration is such a complicated issue – talented workers attempting to immigrate into the country, and bureaucracy getting in the way.


The H1B visa is designed to provide foreign workers to a business in instances where doing so does not affect American workers. When the visa is denied, don't jump to the conclusion that the bureaucracy failed. The more likely result is that the bureaucracy worked because the company was either trying to hire a foreign worker for a job that many unemployed Americans could do or that they were trying to undercut currently-employed Americans' wages.


We have very high unemployment. Also, the national identity and cohesion is swamped by a far too large influx of foreigners. There should be an immigration moratorium. Essentially zero people should be let in until there is robust job growth.

There should be a much longer moratorium on granting foreigners citizenship. Immigration rates are far too high and on a course to create serious overpopulation problems in north america. https://www.numbersusa.com/content/


It's exactly this thinking that can kill science and startups. That there is unemployment, does not mean there is unemployment in every branch of the industry. In branches, where there is a lack of qualified workers, you need to take in immigrants, or you will become uncompetitive.

Also, remember that there are many people who just want to work in a different country temporarily because it is good for their career+. E.g. here in The Netherlands, we have a high influx of Chinese students and PhD candidates. But nearly all of them return once they have a degree (a degree from a Western university usually gives them good positions in China).

+ There seems to be a widely spread belief in the US that the rest of the world is envious, and would preferably want to live in the US. I have been in the US very often, but I'd never want to live in the US permanently. Social welfare, healthcare, paid leaves, pensions, etc. are so much better arranged in West Europe.


> this thinking that can kill science and startups

If an industry does not employ the native people in a country, or only enriches a clique of owners, then who cares if it leaves? In any case, this line of argument is malarkey. There is no evidence of restrictive immigration driving away business. Typically you just get an industry with higher capital investments and higher wages.


> If an industry does not employ the native people in a country, or only enriches a clique of owners, then who cares if it leaves?

That's a pretty extraordinary premise. Do you have evidence to support the idea that Silicon Valley only enriches a clique of owners, or that it wouldn't employ Americans? Or is this purely hypothetical?


I for one, would welcome the entire Silicon Valley to move somewhere else.


Perhaps you could get some actual idea of what goes on in the visa process rather than spouting mindless nationalistic rhetoric.

It's not like the visa process allows unskilled, unemployed workers to pour into the country. It's a lengthy, expensive process that allows employers to hire for jobs they couldn't otherwise fill from other available candidates. This brings intelligent, educated and skilled immigrants who are perfectly capable of paying their own way and who bring a massive net gain to the US.


It's true that the overall unemployment rate is alarmingly high, but my understanding is that the employment rate among software developers is quite low. In my area, at least, my sense is that there aren't enough developers looking for work to meet the demand for their labor. I guess it's theoretically possible to train unemployed nontechnical people to write code, but I don't see any viable plans to make that happen.


How is this news?


Its news in that every time they make a blog post its the best thing in the world and has to be on the front page


It's not "intentionally weak authentication" – it's optionally weak authentication, so users can choose how hard it is to see their data.

Something completely different is securing sending out money


I think you've missed the point.

It's not sufficient to let the user decide how much security they should have. It won't protect the banks from the expectations of security placed on them by others, however unreasonable that might seem.


Last time I visited it was a homeswap :) I'll edit that, thanks!


The parent is wrong. $2-$3k is still quite reasonable as a rent number in SF.


I've spent the past 4 months obsessively browsing craigslist. This summer I moved out of an apartment (non rent-controlled) because my rent was increased from $2850 to $4,150. http://sfbay.craigslist.org/search/apa/sfc?query=&srchTy... is a search of 2br apartments in the city of san francisco, all neighborhoods. It returns 253 listings. Raising that to 3000 -> 4000 gives you 265 listings.

If I exclude the neighborhoods where I wouldn't live due to distance, safety, or a dislike of feeling like I'm in the burbs (bayview, excelsior, ingleside, north beach (fuck tourists), portola, richmond/seacliff, sunset, tenderloin) treasure island) then those searches (http://sfbay.craigslist.org/search/apa/sfc?query=&srchTy...) drop down to 106 and 184 apartments, respectively.

The competition for apartments is fierce right now due to a combination lack of credit keeping people leasing rather than owning, and the current tech bubble having imported 10s of thousands of new dot-commies happy to spend 50% of their salaries on housing, because they're young and stupid.

If you make under $150k, are fiscally conservative and don't want to live with roommates, then you're priced out of San Francisco.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search:

HN For You