Better HN
topnewbestaskshowjobs
Log inSign up

eltaco

19 karma · joined Sep 1, 2012 (14y ago) · 34 submissions

Submissions

comment 10y ago · link · parent

James is also on the Lerna team as well! He and I can answer questions about that too. (We also have a slack https://slack.lernajs.io/)

comment 10y ago · link · parent

You can use loose mode which doesn't use try/catch blocks

http://babeljs.io/repl/#?experimental=false&evaluate=true&lo...

comment 10y ago · link · parent

You can use loose mode or the loose option in that case.

comment 11y ago · link · parent

ESLint is pretty awesome - the project has a great team and always adding new functionality (cache and then parallel linting sound great)!

Although it isn't unique for all the features listed, as JSCS has the same things: an autoconfigure feature, built-in (as well as user created) presets/configs, multiple formatters, custom plugins/rules, custom parsers (esprima/espree/babel), autofixing of almost all rules. Hopefully both projects can benefit or integrate better together more in the future? (I contribute to both!)

I think autofixing for all rules (maybe with https://github.com/cst/cst) would be a nice goal for the future when thinking about the next-generation of linters. Making it easier to update configs when new rules/options are added would be nice as well.

comment 11y ago · link · parent

There's an issue for a CST (AST with whitespace, comments, etc) in the estree repo [1]. JSCS is planning on using https://github.com/mdevils/cst for future autofixing rules.

[1] https://github.com/estree/estree/issues/41

comment 11y ago · link · parent

For javascript, there's been jsbeautifier [1], jsfmt [2], uglify.

JSCS [3] added autofixing a while back for most whitespace rules, and ESLint has just begun autofixing as well [4]

[1] http://jsbeautifier.org/ [2] https://github.com/rdio/jsfmt [3] http://jscs.info/ [4] https://github.com/eslint/eslint/pull/3635

comment 11y ago · link · parent

Babel is working on minification[1] /dead code elimination [2] as well now

[1]: https://github.com/babel/babel/issues/1828 [2]: https://github.com/babel-plugins/babel-plugin-dead-code-elim...

comment 11y ago · link · parent

You can use the airbnb preset with JSCS (javascript code style checker) [1].

Also there's an autofix feature for most of the whitespace rules (`jscs src --preset=airbnb --fix`) so you won't have to fix everything manually.

[1]: http://jscs.info/overview.html

comment 11y ago · link · parent

There's currently a issue for "speed": https://github.com/babel/babel/issues/1486. Looks like it complied ember core from 50s to 18s now.

comment 11y ago · link · parent

Not sure if it's changed now but https://medium.com/@STRML/ending-jsxhint-1c09ed36cca9.

comment 11y ago · link · parent

You can also use them on class declarations themselves and object literals - https://github.com/wycats/javascript-decorators#object-liter...

comment 11y ago · link · parent

Great! Reminds me of color thief: http://lokeshdhakar.com/projects/color-thief/

comment 11y ago · link · parent

You could try implementing some of the methods in underscore/lodash - http://underscorejs.org/? Each of those are pretty simple and can build off each other - you'll learn how to deal with arrays, objects, functions, arguments, apply/call, this, etc. You could write your own tests or use their unit tests as well to get some practice with testing. I was planning on doing this myself at some point haha.

There's an annotated source for underscore: http://underscorejs.org/docs/underscore.html.

There's also just implementing data structures/algs: https://github.com/felipernb/algorithms.js

comment 11y ago · link · parent

Some more talks:

http://vimeo.com/94259578 (2014) http://www.gdcvault.com/play/1014982/ (2011)

If anyone likes game talks then check a repo I made https://github.com/hzoo/awesome-gametalks

comment 11y ago · link · parent

a pre-commit git hook?

An example for jquery style commits is https://www.npmjs.com/package/commitplease

comment 12y ago · link · parent

I've been using jscs [1] for js style checks.

[1] https://github.com/jscs-dev/node-jscs

comment 12y ago · link · parent

Location: Atlanta/Alpharetta | Full-time

Remote: No

Willing to relocate: Open to bay area

Technologies: JavaScript, HTML5, CSS3, Node, d3

Resume: http://henryzoo.com

Github: https://github.com/eltacodeldiablo

Email: henry.z@gatech.edu

New grad looking primarily for a front-end dev position. Interested in doing UI development, visualization, games but open to learning new technologies.

comment 12y ago · link · parent

This is similar to a project I did for my visual/data analytics class

http://twitterhealth.herokuapp.com

Gives you a tweet in the US for you to categorize as being related to veing sick or not. Kind of like crowd sourcing classification of sick tweets. It's pretty interesting just looking through the tweets..

comment 12y ago · link · parent

TwitterHealth

http://i4.minus.com/ibmjeJLRAFCB0Q.png

Crowdsourcing the classification of tweets as sick related or not for my Data/Visual Analytics class. Classified tweets from users are sent to our machine learning alg.

Originally was supposed to show where and what ailments people were dealing with around the world but having only cities doesn't give that great of a visualization.

Using node, d3, cubism, redis.

App: http://twitterhealth.herokuapp.com Code: https://github.com/eltacodeldiablo/twitterhealth

20.

Make your own TwitchPlaysPokemon(github.com ↗)

2 points · by eltaco · 12y ago · discuss

21.

Steam Dev Days Conf (Jan 15-16)(steamdevdays.com ↗)

4 points · by eltaco · 13y ago · discuss

22.

Facebook testing out new 'actions' for status updates(facebook.com ↗)

1 points · by eltaco · 13y ago · discuss

comment 13y ago · link · parent

Check out Tweetpleth if you want more specific tweets http://tweetpleth.herokuapp.com/ like for the superbowl http://i.imgur.com/bzmmJno.png

24.

Realtime Tweet Map of Superbowl XLVII(tweetpleth-superbowl.herokuapp.com ↗)

2 points · by eltaco · 13y ago · discuss

comment 13y ago · link · parent

I made a visualization that shows the tweets for specific words and can account for population density (only US though): http://tweetpleth.herokuapp.com/

26.

Rapid Prototyping Google Glass(mindtheproduct.com ↗)

2 points · by eltaco · 13y ago · discuss

comment 13y ago · link · parent

I made a project that is similar - shows a bit more information except its only for the US and you need to search a specific word/hashtag. http://tweetpleth.herokuapp.com/

comment 13y ago · link · parent

Yeah i'l get on that soon. I'm using the location filter to only get tweets in the US. 'locations': ['-180','15','19','72']}
12