Better HN
topnewbestaskshowjobs
Log inSign up

ssafejava

182 karma · joined May 3, 2013 (13y ago) · 65 submissions

s@safejava.com
Submissions

comment 13y ago · link · parent

With requirejs, I run into the `mismatched anonymous define() module` issue when using concat-sourcemap. The "correct" way around it is to use r.js, but it takes about 2.5s to compile that way, which happens to be more than it takes for ajax to work its magic locally.

Running SPDY locally helps a lot. Even with all those files I hit DOMReady at about 2.7s with no concatenation.

comment 13y ago · link · parent

The workflow might need polishing, but tools like SublimeInspector are not the answer. They are miles behind the Chrome Inspector. Try it if you're not convinced.

The Chrome team has shown that they are very interested in moving the Inspector forward and have succeeded in integrating local files access via the editor, SASS support, Source Maps support, and a lot more. It is to the point where it would not be crazy to consider building a site entirely within the inspector. While the editor is not as good as others, you do gain simplicity and the ability to patch running code. The workflow is getting better.

Writing a great inspector is the hard part. Comparatively, writing an editor should not be as difficult. Chrome built the inspector first and is circling around.

The only integration I would really care to see (perhaps via ST2 Package Control) is the ability to directly pipe into the Inspector and patch running code. For large projects, especially in development mode, it can be a drag to ajax in >200 source files (even from localhost) and refresh every time you make a change.

comment 13y ago · link · parent

The pay is awful for the average Hong Konger compared to cost of living. Minimum wage is $30/hr, which is ~$3.75 USD. That doesn't sound bad for China until you factor in rent; 800 sqft apartments cost upwards of HK$20,000 - HK$30,000/mo. Hardly affordable on HK$60k/yr, and many young professionals live with family.

comment 13y ago · link · parent

For those of us not in the US, I wish you had opened this up at a different time of day. I would have loved to join but this went up and sold out while I was asleep. Best of luck and please contact me if a spot opens up.
123