HNHacker News
TopNewBestAskShowJobs

EzGraphs

1,925 karma · joined June 7, 2010

submissionscomments
EzGraphs··on What Compsci textbooks don't tell you: Real world code sucks
Yeah - these are somewhat fuzzy categories and not diametrically opposed. I just think that there are certain pieces of software that are sort of "high culture" - meaning so influential and well thought out (Unix) or elegant (Lisp) that they merit close examination by later practitioners.

As for academia, I think again there is a difference in intention (publication vs. production code) not necessarily quality. Academics tend to emphasize mathematical/theoretical under pinning and work from the general towards the specific - and some of the best have their eye on some specific applications. Coders in industry tend to work to solve today's problems - and the best do so in a way that is reasonably general and abstracted. Again, I tend to have this as a separate grouping in my mind.

EzGraphs··on What Compsci textbooks don't tell you: Real world code sucks
Another Kay quote on the same subject:

http://queue.acm.org/detail.cfm?id=1039523

In the last 25 years or so, we actually got something like a pop culture, similar to what happened when television came on the scene and some of its inventors thought it would be a way of getting Shakespeare to the masses. But they forgot that you have to be more sophisticated and have more perspective to understand Shakespeare. What television was able to do was to capture people as they were.

So I think the lack of a real computer science today, and the lack of real software engineering today, is partly due to this pop culture.

EzGraphs··on What Compsci textbooks don't tell you: Real world code sucks
Alan Kay classifies most real world code as pop culture (one of the most helpful categories for thinking about it):

http://www.drdobbs.com/architecture-and-design/interview-wit...

Pop culture is all about identity and feeling like you're participating. It has nothing to do with cooperation, the past or the future — it's living in the present. I think the same is true of most people who write code for money. They have no idea where [their culture came from] — and the Internet was done so well that most people think of it as a natural resource like the Pacific Ocean, rather than something that was man-made. When was the last time a technology with a scale like that was so error-free?

I appreciate this categorization on many fronts:

- It explains how non-computer science majors have frequently succeeded. In music, you will never find a classical musician without formal training, but frequently find pop musicians who have little or none.

- It shows how some of the same ideas keep being "discovered" by one group while another group sighs and exclaims "we knew about that years ago..."

- Pop culture is inherently youthful, prone to extremes, sensitive to new trends. Sound familiar?

- It explains a vast amount of decision making that goes on in industry. Rather than choosing the absolute best solution from a somewhat abstract technical perspective, a solution that is new and hip (or fits what I was doing in the hey-day of the bosses youth) is selected.

It is over simplistic to simplify real world code as "sucking" (though of course much does). It is like comparing Bach and <fill in your favorite rock/pop star here>. Both produce valid creations that accomplish something, but were made with vastly different intentions and for different purposes.

EzGraphs··on 'Black swans' and 'perfect storms' become lame excuses for bad risk management
Taleb's emphasis in his latest book is on avoiding the naive attempt to predict the unpredictable. Instead, focus on identifying and making things "Antifragile" so that they are resistant to (or even benefit from) events that would otherwise be destructive. With that in mind, risk management becomes much less about guessing about the future. Instead, the focus is to identify the fragile (that which is highly susceptible to disruption) and take steps to make it antifragile.

http://www.amazon.com/Antifragile-Things-That-Gain-Disorder/...

It is an enjoyable read so far...

EzGraphs··on Introduction to Databases
There was a good deal of relational algebra / theoretical background that I had not wrestled with extensively elsewhere. This aspect was fun from a "mind-expanding" perspective. I have never found a specific need to directly apply this information in day-to-day activities.

The practical aspect of the course was heavily focused on SQL (Queries). Lots of interactive exercises that relied upon SQLLite which uses ANSI Standard SQL. This helped with focusing on constructing queries that did not use vendor specific features. There was a decent amount of XML related processing and querying. NoSQL was only mentioned in passing - and was essentially an afterthought in the 2011 course.

The format of the course was closer to traditional college format (with relatively long lectures). I generally don't care for this in online classes. Due to time constraints, I skipped lectures in areas with which I was familiar and went straight to the exercises/quizzes. I thought the quizzes were really excellent, and the problems presented (and online validation/checking of problems) was really great.

As one with a fairly extensive background in databases (Oracle DBA Cert, years of experience with Oracle, Informix, DB2) I really found the course helpful and well worth the time. It does not provide much practice in Data Modeling or NoSQL. All in all one of the best technical educational experiences I have had in any format.

EzGraphs··on New Project: Nashorn – Lightweight High-Performance JavaScript Runtime in Java
From the post: "This project intends to enable Java developers to embed JavaScript in Java applications and to develop free standing JavaScript applications using the jrunscript command line tool."
EzGraphs··on Melinda Gates at Stanford: "All lives have equal value"
The one thing to remember about ethics is there are no absolute moral rules.

Is that an absolute? ;)

EzGraphs··on Node-formidable (Parsing for Fast File Uploads)
Described in use for fast video encoding:

http://debuggable.com/posts/parsing-file-uploads-at-500-mb-s...

EzGraphs··on Preventing memory leaks in Backbone.js
Javascript memory leaks can be identified using Browser Profiler (e.g. https://developers.google.com/chrome-developer-tools/docs/he...). Are there any other better/recommended tools for the job?
EzGraphs··on Designing Javascript APIs
Nice systematic approach:

Draw a grid, with the models/nouns/objects on the one axis and the verbs/actions on the other. Fill in a square if you can perform the given action on the given object...If you can fill in every square, consider that a complete “block”, a good candidate for an API design.

EzGraphs··on Netflix: Post-mortem of 22 Oct AWS degradation
Netflix has spent a lot of time and energy devising solutions that minimize disruptions. Are any of you Cloud-Savvy folks using Netflix's tools on Amazon? If so, are you using them off-the-shelf or did you need to customize them to suit your site? In particular:

Asgard is cited in the post as making a "zone evacuation" relatively straightforward.

Astyanax (their Cassandra client) is designed with "smarts" that allow it to choose from available nodes should one or more be unavailable.

These (and several other tools) are available from Netflix at Github:

https://github.com/Netflix

EzGraphs··on Mastering Linear Algebra in 10 Days: Astounding Experiments in Ultra-Learning
Although this is an accomplishment and there is some practical advice of value in the post, the "rules" he posts include correcting his own papers and tests and a minimum 50% passing grade.

http://www.scotthyoung.com/blog/mit-challenge/

Would be more compelling if he was not selling books. Nothing wrong with making a profit but I'm just saying...

EzGraphs··on Scripted: node.js-based Editor
Code on github: https://github.com/scripted-editor/scripted
EzGraphs··on Hyper Text Coffee Pot Control Protocol
See also https://tools.ietf.org/html/rfc2324 in case you are returned a 418.
EzGraphs··on NoSQL is a Stupid Name
Amusing set of definitions from the article:

Cloud - Fire your systems people and ditch your comms room!

Big Data - Parse Twitter in order to learn how to read your customer's minds!

NoSQL - Stop paying Oracle!

Functional - We couldn't get good enough at mainstream programming languages so we switched to something more difficult!

EzGraphs··on Storm : a Realtime Computation System Similar to Hadoop
JRuby DSL and Integration for Storm here: https://github.com/colinsurprenant/redstorm
EzGraphs··on I am a statistician and I buy lottery tickets
A mathematically friend who gambles a bit expressed it this way:

"Chances of winning - 1 in <some ridiculously high number> ...I'll play anyway - somebody's got to win."

EzGraphs··on Free Online Book: Bayesian Reasoning and Machine Learning
Actual book is here (warning 13 MB pdf):

http://web4.cs.ucl.ac.uk/staff/D.Barber/pmwiki/pmwiki.php?n=...

Was delighted to see a notation list as the second page in the book.

EzGraphs··on Free Online Education Is Now Illegal in Minnesota
Coursera terms of service: https://www.coursera.org/about/terms

Notice for Minnesota Users

Coursera has been informed by the Minnesota Office of Higher Education that under Minnesota Statutes (136A.61 to 136A.71), a university cannot offer online courses to Minnesota residents unless the university has received authorization from the State of Minnesota to do so. If you are a resident of Minnesota, you agree that either (1) you will not take courses on Coursera, or (2) for each class that you take, the majority of work you do for the class will be done from outside the State of Minnesota.

Previously reported: http://chronicle.com/blogs/wiredcampus/minnesota-gives-cours...

Previous discussion: http://news.ycombinator.com/item?id=4671196

EzGraphs··on What The Hell Just Happened At Google?
"A powerful, dangerous company careening out of control."

Wow really? Missed earnings and botched press releases are not great news but aren't the end of the world either.

EzGraphs··on Becoming a data scientist might be easier than you think
Yeah - particularly the mathematical/statistical side of things. But a big part of the profession is software development / computer science. An actuary might construct useful models and choose the proper techniques to analyze data, but choose inferior technologies or suboptimal implementations that won't work for large data sets.

A lot of actuaries spend most of their life inside of Excel. Excel won't cut it with Big Data.

EzGraphs··on More people should write
Reading maketh a full man, conference a ready man, and writing an exact man. ~ Sir Francis Bacon
EzGraphs··on HN Spoof
I actually clicked #30 out of curiosity.
EzGraphs··on MariaDB (MySQL competitor) using Cassandra Storage Engine
Demo of using Cassandra Storage Engine:

https://kb.askmonty.org/en/cassandra-storage-engine-use-exam...

EzGraphs··on MariaDB (MySQL competitor) using Cassandra Storage Engine
This seems like it could be really amazing. So you could take your traditional MySQL Db backed web app, port the web app to AWS and have database scaling that would be almost as simple as your web/app server. More info on the architecture here:

https://kb.askmonty.org/en/cassandra-storage-engine/

EzGraphs··on Hacker's Delight, 2nd Edition
Books accompanying website here (includes samples, code, graphs and related sites):

http://www.hackersdelight.org/

EzGraphs··on Ask HN: Why not Programming languages instead of Mathematical Notation?
Some responses might involve analogies with musical notation. Knowing the notation allows you to read the modern literature and also great documents of the past. But it would seem that an awful lot of math could be applied with out having that depth of understanding. Guitar tableture serves as a suitable proxy for guitarists...
EzGraphs··on Performing Linear Regression Using Ruby
Agreed, Python scales down and so is also good for small tasks. What I was saying is that Ruby - as much as I like it - does not generally scale up beyond a certain point.

Both R and Ruby have had issues with large data sets which have been addressed to some degree in more different distributions and more recent releases. Python is ready out of the box for large data sets. So what I meant to communicate is that if you know that you are going to be dealing with a large data set, you might as well go straight to python.

EzGraphs··on Performing Linear Regression Using Ruby
Ruby is great for data prep, basic calculations, web app development, and scraping aggregating data and R for visualization. I find them to be a joyful combination. Great for small data sets, quick estimations, and various small projects.

Larger data sets and performance intensive operations are better handled in Python (or Java, C++, etc). Lots of statistical analysis is way below the threshold of Hadoop and company.

EzGraphs··on Java's Cover (April 2001)
Java might appear to be more successful than the (2001) article suggests, but it is geared towards java "the language." Its not a great language, but has found itself at the right place at the right time to address certain technical concerns (a "better" C++ at a time alternatives were being sought, concurrency with the rise of multi-core processing).

Java "the platform" (the JVM) has been a bigger focus in recent days especially with additional language support (JRuby, Jython, Clojure, Groovy, Scala). This support has been expanded in each recent release and seems to be the basis for the majority of the articles that appear on HN (or at least that I notice).

← PreviousPage 3 of 8Next →