HNHacker News
TopNewBestAskShowJobs

scubaguy

79 karma · joined July 26, 2011

submissionscomments
scubaguy··on Postgres 9.2 highlight: JSON data type
If your master data source is JSON, then you can store your raw data as JSON and be able to do ad-hoc queries against it.

At the same time, you can break your JSON into relational tables so you can also operate on it in traditional ways.

scubaguy··on Nexus 7, Made for Google Play
The article says

"According to a recent report from Pacific Crest Securities, a Portland, Oregon-based investment bank, orders for components used in Amazon's standard e-readers have fallen 75% from the bank's previous expectations."

scubaguy··on Michael Lewis: Don't Eat Fortune's Cookie
.. All of you have been faced with the extra cookie. All of you will be faced with many more of them. In time you will find it easy to assume that you deserve the extra cookie. For all I know, you may. But you'll be happier, and the world will be better off, if you at least pretend that you don't.
scubaguy··on Goodbye, MongoDB
mmap files and sharding...

It seems like the problem is that you're not using MongoDB in a sharded setup to begin with. For good or bad, MongoDB targets the scale where you need sharded and replicated setups. In other words, a large enough operation to require multiple servers for data storage. If you need the opposite of that, which is multitenancy, MongoDB is not going to be a good fit.

On the other hand, MongoDB has always been sold as a rapid prototyping and easy to iterate datastore, which is attractive for people working on small projects. Then they have an "oh shit" moment when they run into operational issues.

scubaguy··on Python, Clojure, Haskell: Factual Releases Drivers That Matter
I've been impressed by the number of programming languages they support, especially the less main stream ones like Clojure. These guys also host many tech events in the LA area on all sorts of subjects. Kudos to them.
scubaguy··on Goodbye, CouchDB
The author mentioned one of the reasons for choose MySQL is that they are familiar with MySQL. They could've went with PostgreSQL and EnterpriseDB, also a great company. It's not like you can't get commercial support with PostgreSQL.
scubaguy··on Vert.x – JVM Polyglot Alternative to Node.js
But take a look at the Finagle example from Heroku and compare it to the example from vert.x. There's a lot of boilerplate in the Finagle version because Finagle is a general purpose async service framework, which was my entire point.
scubaguy··on Vert.x – JVM Polyglot Alternative to Node.js
Finagle looks like it is a bit lower level framework compared to vert.x. While Finagle aims to be a framework that supports services using multiple protocols, vert.x appears to be much more tailored for HTTP web services.
scubaguy··on Galaxy Nexus now on sale in Google Play
The Nexus name doesn't mean as much as it used to. Not all Nexus devices offer a pure Android experience - the Verizon version of Nexus will not have Google Wallet. In term of timely updates, the HTC Sensation received ICS update in March 2012 while the Sprint Nexus S 4G was not updated until early April.

So take that for what its worth. Don't be surprised if Google ends up allowing carriers and manufacturers to provide more customization with Nexus phones and be more lax with update timelines.

scubaguy··on A Year with MongoDB
For a large table, adding a new column can be non-trivial, each record is updated when the new column is added.
scubaguy··on 50 million messages per second - on a single machine
48 cores and 128GB of memory and all messages are passed in the same JVM. So illustrates that Akka makes vertical scaling easy (is it really easier for complex cases?). But that doesn't translate for people who are trying to scale horizontally; They deal with other kind of synchronization problems.
scubaguy··on Developers React to OS X Mountain Lion
Macs will eventually be more like PS3 and less like a general purpose computer.
scubaguy··on SockJS benchmark (with PyPy, CPython, and Node.js)
A websocket client library that works against Node.js and Python, sweet! Now if we can only have a .Net and Java server interface to go with it. Any it falls back to good 'ol polling too, right?
scubaguy··on BackboneJS ToDo list example with Spring 3.1 (no xml config) and MongoDB
You have to admit having a folder per package level is a bit silly, especially considering so many projects contain empty "org.foo"/"com.bar" folders.
scubaguy··on Offbeat: Scala by the end of 2011 – No Drama but Frustration is Growing
It's exactly what you asked for, an example of "You are wrong. You haven't learned it properly." You are also saying this kind of response (You haven't learned it properly) is appropriate. This attitude is what turns people away.

You can be honest, correct and still turn people off.

scubaguy··on Offbeat: Scala by the end of 2011 – No Drama but Frustration is Growing
> Do you have a link?

http://blog.joda.org/2011/11/scala-ejb-2-feedback.html?showC...

I don't question the intent of the Scala community. There's no mystic group of evildoers there trying to degrade newcomers. But the mailing list is very intimidating. It doesn't feel like a place where newbies can come in and ask "How do I do a 'foreach' loop?".

scubaguy··on The node.js aesthetic
> Instead of the http server being an external service that we configure to run our code, it becomes just another tool in our arsenal.

This is unfair. If I create a framework cal Java.js and make it possible to create a httpserver by running server.start(8080, aCallbackObject), does that make Java great? One day someone might make node.js "configurable" via a configuration file (that is not written in JavaScript). Will having a configuration file make node.js less useful?

> Note also that the http snippet from earlier isn't inheriting from an http.Server base class or anything of the sort.

That is also unfair. You typically don't use inheritance in JavaScript because you can compose objects or clone from a prototype. There is no static analysis of classes, which in the main benefit of classical inheritance. Programming via callbacks is simply the JavaScript style. This might even change when the language provides better support for classes, or when more people write their node.js code using CoffeeScript.

> If software ecosystems are like economies then core libraries are at best government bureaucracies and at worst nationalized state corporations.

This is very subjective and I strongly disagree. There is a great advantage in using a language and framework that has a strong core library and a common way of doing thing, especially when you start building teams or start recruiting people to maintain legacy code. If anything, Node should start including more batteries, such as a module for concurrency.

PS - Here's the thing. I am really excited about the event driven nature of node.js and the community. However, I am new to node.js and I want to see quality critical analysis of its strength and weaknesses. If you are going to tell me its great, you better have pretty solid reasons. This article simply doesn't cut it.

scubaguy··on Enterprise adoption of Node.js
Evidence of startups adopting Node.js. It is hardly evidence of enterprise adoption of Node.js.
scubaguy··on Mozilla urges its users to raise their voice against SOPA
I can't wait for someone to post a link to the Pirate Bay in the comments, thereby providing legal justification for taking down sites that criticize SOPA.
scubaguy··on Why do some people hate Java? Why do some people hate Java?
As a professional Java developer, my advice is to stop caring why people bash Java. Java is still one of the most used language on the web and it will continue to be for some time.

As a hobbyist programmer, my advice is that you should not limit yourself to one language. If you are a Java guy, you can still learn a very different language like Python, Lisp, or CoffeeScript. I believe that once you feel competent with a few different languages, you will begin to see through the language war BS and understand the roles of Java in the world.

scubaguy··on JavaScript's sweet spot
Android (VM based language) has the following API:

public View getDropDownView (int position, View convertView, ViewGroup parent)

convertView - the old view to reuse, if possible. Note: You should check that this view is non-null and of an appropriate type before using. If it is not possible to convert this view to display the correct data, this method can create a new view.

The presence of the unintuitive 'convertView' object is caused by the underlying VM and the unpredictable GC nature. This demonstrates that implementation complexity can lead to a complex interface.

IMO the design of the interface is an implementation. A language that is complex to implement will lead to complex interfaces.

scubaguy··on One million dollar grant awarded for anti-mosquito light barrier
You think the Bill and Melinda Gates Foundation wouldn't do its best to make this available to as many kids as they can?
scubaguy··on Shuttleworth: Ubuntu is heading to phones and tablets
I wonder if they can do this without getting in trouble with smartphone patents.
scubaguy··on Copyright troll Righthaven ordered to pay $120k in attorney fees
Thank god for common sense rulings.
scubaguy··on Android 4.0: A coming of age and homage to Windows Phone 7
Apple has built a certain brand image about people who use their products. There are many people who will gladly choose Android to avoid being identified with that image.

That is not to say that Android has no virtues of its own. I prefer Android for more than just brand identification.

scubaguy··on Signs that you are a bad programmer
If you are reading this article, you are not a bad programmer; you are a programmer learning to master your craft.
scubaguy··on MySQL vs. Neo4j on a Large-Scale Graph Traversal
Isn't Neo4j a graph database?
scubaguy··on Yes, Virginia, Scala is hard
Scala code http://engineering.foursquare.com/2011/01/21/rogue-a-type-sa...

Take a look at the APIs of some of the libraries you are likely to use, before you get scared off by how complex the syntax can potentially be.

scubaguy··on This is CoffeeScript
Perhaps the biggest strength of CoffeeScript is that it takes JavaScript, where there are many different ways to do OO inheritance; write and use functions; perform functional tasks such as list comprehension and provide a consistent and simplified syntax to do them. Because CoffeeScript is language designed how JS developers write code today, it feels more natural and fluid. It makes JS programming simpler.
scubaguy··on Google rushing out Android 4 "Ice Cream Sandwich" to counter iPhone 5
Applesinsider.com reports that Google is rushing their next mobile OS while Apple is waiting and not rushing their next mobile OS.
← PreviousPage 2 of 3Next →