HNHacker News
TopNewBestAskShowJobs

EzGraphs

1,925 karma · joined June 7, 2010

submissionscomments
EzGraphs··on Auto-Refresh for Play Framework Apps
TL;DR Uses a browser plugin and browser is refreshed every time a source code file is saved - no server restart, build or even browser refresh required. Less clicks = better.
EzGraphs··on Core.logic (Clojure Library)
Interview with Ryan Senior (author of the library): http://www.infoq.com/presentations/core-logic
EzGraphs··on Show HN: Monitor the Downtime of 170+ Popular Web APIs
JSON Web of the same. API https://zapier.com/status/json/.
EzGraphs··on Shame.css
The idea itself sounds good and recognizes what tends to happen especially later in a project. There a number of challenges though:

- The name - as already has been raised by others implies that you have done something wrong.

- Adding to the file requires a degree of confidence and maturity among your team and a level of trust among the group.

- The existence of such a file might reduce effort on the part of some. After all if "shameful" hacks are OK, why bother with real solutions?

- Internal refactoring as an separate independent initiative is sometimes difficult to justify from a financial or political perspective.

In a group with self-aware, well educated, and motivated developers, these concerns might be rather small. But in many larger organizations (with practices that sometimes make Dilbert comics appear tame), this would not work as well for these and other related reasons.

Don't get me wrong, I really like the idea. And since css code is relatively "free" to be included in an arbitrary file, calling out questionable code in this way does seem to have its merits. Perhaps its the use of the term shame that tips me off, but that is a concept that is understood very differently by different people and different cultures. So - like many suggestions - it might work well depending on your group, but is unlikely to be adopted as a universal best practice.

EzGraphs··on Very Short Reply Expected
And in reply MVCE (Many Verbose Comments Expected).
EzGraphs··on The most useful thing in bash
Thanks for the clarification - although depending upon how you work, this is not much of a benefit. For instance - if you type "/path/to/script.sh" you want to search for the name of the script - not the beginning of the path.
EzGraphs··on A New HTTP Status Code to Report Legal Obstacles
This perhaps would top HTTP Response Code 418 "I'm a teapot"

http://tools.ietf.org/html/rfc2324

EzGraphs··on Karma: Spectacular Test Runner for JavaScript
Very cool project. Nothing like having your tests run every time you save a file... in several different browsers if you like. This and docco made me think about about node differently. Though it is a server side JavaScript framework, it has also become a platform for developer automation tasks.
EzGraphs··on The Myth of Focus
Agreed - and don't let one project become an excuse to neglect another one.

Working on multiple projects makes you feel like you don't have time to waste, and so there is a tendency to make better use of time worked on each. There is also a need to properly prioritize across projects - which might be a considered a way of sneaking "focus" back into the picture after all.

EzGraphs··on Tern – Intelligent JavaScript editing
IntelliJ's WebStorm has pretty JavaScript code completion and related tools. It also has plugins for popular libraries and frameworks, node.js and a variety of other HTML5 / latest-web-coolness stuff. Seems like a lot of folks in the AngularJS community have been using it it as well.

Disclaimer: I liked it enough to buy a personal license :), but am not affiliated with the folks who make and sell it.

EzGraphs··on Ender's Game Blog
Also on IMDB: http://www.imdb.com/title/tt1731141/
EzGraphs··on Donuts.css
And to see them move - in a Chrome console:

$('.donut-arrow').attr('style','-webkit-transform: rotate(85deg)')

EzGraphs··on Common JavaScript Gotchas
There have been a lot of articles re-hashing Crockford's analysis floating around recently. These have been valuable, but they tend to focus on the same topics in the core language (largely concerned with scope, use of closures, behavior of basic data types, and functional programming). In web development, the DOM and events end up being a more common area where I and other devs are tripped up. A few things I wish I knew before a deep dive into an large scale JavaScript project:

1) Newly added elements will not respond unless events are bound to them. One solution (thinking in jQuery here) is to bind events higher up the DOM.

2) Each line in code may not simply execute in sequence. For example, asynchronous ajax calls require subsequent calls to be nested in callbacks.

EzGraphs··on The Future of Excel
Yeah - I recall looking at them a few years ago when they allowed for "multi-dimensional" spreadsheets. One of their other big selling points was that they were less error-prone than spreadsheets.

http://www.quantrix.com/Quantrix_vs_Spreadsheets.htm

EzGraphs··on R packages I wish I'd known about earlier
If you want to do any sort of stock analysis, quantmod is really great as it bundles a number of other related packages with financial application together: http://www.quantmod.com/.

If you have to deal with directed graphs, iGraph http://igraph.sourceforge.net/.

Related Blog Posts

http://www.r-chart.com/2010/06/stock-analysis-using-r.html

http://www.r-chart.com/2010/06/analyze-twitter-data-using-r....

EzGraphs··on The R learning curve
In R, I often can write a dozen line program that will do something incredible, but it might take an hour to hammer out those lines and cannot reconstruct them from memory because of inconsistencies in syntax. It sort of feels like a statistics DSL built on Lisp.
EzGraphs··on The R learning curve
Yeah - for the small data sets, Ruby or Python is often easier easier to use to whip a data set into a form that can be simply slurped into R as a dataframe.
EzGraphs··on The R learning curve
I really like ggplot2. I always had a hard time getting on board with the other packages. sqldf allows SQL Queries against dataframes. Perhaps plyr and reshape feel familiar to folks from other backgrounds (science/stats) but SQL is the lingua franca among a good portion of the developer world (and explains innovations like LINQ in .NET).
EzGraphs··on The R learning curve
I spent about a year blogging about R as I learned it (http://www.r-chart.com/). It is not a general purpose sort of language but is great for math / charting tasks. A couple of ways that software developer types can minimize time to get up and running:

1) Check out http://www.r-bloggers.com/. The site gives you a good sense of the state of R and Tal (who runs the site) has done a great job of promoting R and encouraging the community.

2) Pick one graphics package and stick with it. The standard functions are sufficient but ggplot2 has a more finished appearance.

3) Review available libraries. If you want to do something, someone else likely already has and has posted a package to CRAN.

4) One way for SQL developers to limit the need of learning the idiosyncrasies of the language is to use the sqldf package to manipulate data frames and use ggplot2 (which generally takes data frames as arguments) to display charts.

EzGraphs··on Don’t Waste Your Twenties
What you do with your twenties really isn't the significant insight of the article. Though there is some merit in the conclusion:

The twenties are for launching, while the thirties are for building what you launched.

The main point is to recognize the state of your brain at a given age and its resulting effects:

The trick is simply to take advantage of each power in the season it is given

That is applicable regardless of chronological age.

EzGraphs··on Webapps for Data Scientists - Building your first CRUD
Google’s AngularJS framework is in view in the post - and it really is useful to folks like Data Scientists (as opposed to GUI engineers/front-end developers). Automatic data binding and a set of directives (that look like HTML elements and attributes when invoked) make the language feel like HTML the way it should be in a world of responsive GUIs and Ajax. For Data Scientists (and others who don't have the time / interest to delve deeply into the latest JavaScript libraries and development practices) it is great to have a sort of and HTML-like-Domain-Specific-Language-Extension that is fully functional and maturing quickly.

AngularJS is not new to the mainstream JavaScript community - but it is to many others who can derive a lot of benefit from it. Good see to a tutorial to get such folks up and running quickly with it.

BTW - if you prefer text to video, here is a related post from the authors blog:

http://jphoward.wordpress.com/2013/01/04/end-to-end-web-app-...

EzGraphs··on Ask HN: JSFiddle Broken?
doh - thanks.
EzGraphs··on AngularStrap - Bootstrap directives for AngularJS
So with Angular's "no direct DOM manipulation outside of Angualar" philosophy in mind, what is the best way to integrate Angular into an existing project with a bunch of UI widgets in place (say jQuery UI)? Projects like this seem to imply that you really need to rewrite the UI it you want a clean design.
EzGraphs··on Stab Language (like C#) for the JVM
Definitely requires more than just a compiler - but I think publicity and broad developer support is even more important that IDE plug-ins and libraries. Java already has extensive libraries, so it is probably possible to leverage these. Also, a lot of languages gain some popularity before plugins start appearing. But completely agree - a compiler is not enough...
EzGraphs··on Stab Language (like C#) for the JVM
With the appreciation of C# as a language and the JVM as a platform, this seems like that it should have generated some interest. I can't find much info on it though...

Source at Google Code: http://stab-language.googlecode.com/svn/trunk/.

Seems to be available on Github now as well: https://github.com/eropple.

EzGraphs··on Deconstructing K&R C (2010)
Shaw mischaracterizes K&R by making anachronistic assumptions about its intended audience and ignoring the context in which it was written.

Zed does acknowledge as much but this is worth pointing out. For some reason contextual intent and "intended audience" are missed by programmers (who are typically stereotyped for giving answers that are a technical depth irrelevant to the recipients).

With that in mind, I think that describing the intended audience and context (as you and others in the comments have done) is a more valuable exercise. It makes K&R (or other book) accessible and applicable to a new generation. Such posts won't normally get much intention - they lack a certain rebellious and inflammatory flair we know and love so well...

EzGraphs··on Revisiting JavaScript Objects
I appreciate the post, but the typical reaction to these articles seems to be:

- JavaScript looks a bit like (Java/Ruby/other language)

- JavaScript does not work like (said language)

- JavaScript sucks

Granted, I appreciate folks pointing out the "bad parts" of the language and the strange gotchas. And JavaScript has more than its share of bad parts. But it also requires a change in mindset. At minimum, expect

- a priority of first-class functions,

- Prototypal rather than classical inheritance,

- time spent learning JavaScript syntax itself instead of constructs from other languages (which often will work, but not in the way expected).

Books that have given me a renewed appreciation are Douglas Crockford's book (JavaScript the Good Parts) and John Resig's "Secrets of the JavaScript Ninja."

EzGraphs··on Pixar Animator Dreams Up a New Superhero — For Each Day of the Year
Agreed - would have preferred that the original blog had been referenced rather than Wired. That HN standard has been falling into greater disuse in recent days.
EzGraphs··on The concept of antifragility: Shockingly Happy
Taleb's Antifragile book has a number of direct entrepreneurial references and many other ideas that are relevant but of more general interest (economics, technology, health related, etc). For example, he talks about the concept of options (based upon the financial vehicle) applying in other areas of life. In general if you have something with a small downside potential and large upside potential, it is an option that is antifragile. Learning new technical skills seems to me to fit into this area. By sacrificing a bit of time and a few bucks on training / books / videos you can develop a product that will delight users, address a need in the workplace, or otherwise create value. Limited downside and great potential upside.
EzGraphs··on The Different Types of Wine (Infographic)
Full Size: http://winefolly.wpengine.netdna-cdn.com/wp-content/uploads/...
← PreviousPage 2 of 8Next →