Better HN
topnewbestaskshowjobs
Log inSign up

programnature

1,478 karma · joined Aug 16, 2007 (19y ago) · 178 submissions

[ my public key: https://keybase.io/programnature; my proof: https://keybase.io/programnature/sigs/WAH4tect6wkAApwjH112Pbv8H21zYLuBDkES1A-6LVc ]
Submissions

comment 14y ago · link · parent

Program or be programmed.

comment 14y ago · link · parent

Yes. Also, almost all APIs are designed around small bits of user or query data, just like your example.

This seems more intended for bulk data, which is likely going to be some pregenerated chunk in the MB, GB, TB range and so less suited to the JSON API call paradigm, and more likely to involve a simple lookup to disk rather than being computed on the fly from some database.

comment 14y ago · link · parent

Let me unpack it for you then.

There is a reason XML, the semantic web, linked data failed to really change the data world, whereas hadoop did. The reason is computation.

The problem isn't data interchange formats and ideal representations, the problem is being able to compute with data. Distributed computation can then be used to solve all the other problems.

Case in point: Slurping data out of databases. Apache Sqoop leverages the primitives provided by Hadoop, in terms of partitioning and fault tolerance, to make it easier to do massive data transfers out of existing databases.

Another example of a solution coming from the hadoop perspective: Avro. It beats the pants of off XML as a data interchange format, precisely because it makes computing with the data (which is the ultimate point) easier.

Now, there is a reason I called Hadoop the integration point. It is becoming a general purpose computation system, which at the same time is also the datawarehouse for organizational data. So rather than dealing with the details of proprietary commercial systems, programmers can target applications to the open-source hadoop ecosystem, and have those solutions be reusable and customizable on a large scale.

The "publishing solution" would of course deal with access control, business logic, freshness, etc. That is exactly what I'm advocating be built.

Individual pieces of data may not be big data, but the aggregate problem still is. In fact this is exactly the Wolfram Alpha case: tons and tons of little datasets that add up to a lot of headache.

comment 14y ago · link · parent

Bringing everyone’s data as close to “computable” as possible is an all-round win so I hope this takes off.

A big problem is how to ETL these datasets between organizations, and I think Hadoop is a key technology there. It provides the integration point for both slurping the data out of internal databases, and transforming it into consumable form. It also allows for bringing the computations to the data, which is the only practical thing to do with truly big data.

Currently there are no solutions for transferring data between different organizations’ hadoop installations. So some publishing technology that would connect hadoop’s HDFS to the .data domain would be a powerful way for forward-thinking organizations to participate.

Another path towards making things easier is to focus on the cloud aspect. Transferring terabytes of data is non-trivial. But if the data is published to a cloud provider, others can access it without having to create their own copy, and it can be computed upon within the high-speed internal network of the provider. Again, bringing the computation to the data.

comment 15y ago · link · parent

A bunch of the people FMRI'd in this study were pulled from the pragmatic dharma movement: http://thehamiltonproject.blogspot.com/2011/04/pragmatic-dha...

comment 15y ago · link · parent

One of his featured projects is http://worrydream.com/#!/Tangle

It requires knowing how to program.

All I'm saying is that its a shame he doesn't seem to know about what Mathematica has done in version 6 and beyond, since its seems squarely up his alley... which is ironic because he specifically calls out Mathematica in the article for not being interactive enough.

comment 15y ago · link · parent

Work is very nice by web standards, but Mathematica's version of interactive documents is much more sophisticated. Strange that he seems to be unaware of what Mathematica can do, given the rant on tools at the end. Its pretty much exactly what he wants, only just proprietary and not on the web.

comment 15y ago · link · parent

The claim that 1) the universe is a computer, and 2) the subclaim that it is a cellular automaton are NOT the primary claims of the book. 2) is explicitly argued against even.

comment 15y ago · link · parent

ad hominem much?

comment 15y ago · link · parent

My theory is they are popular just because rants are more entertaining than reason. People just want to high-five the person who expresses their hate most eloquently.

comment 15y ago · link · parent

I think OP is saying he understands the difference in what they do, but can't keep the names straight. I felt the same way for the first few months of using hadoop.

I eventually got that in real-life, a task is just a subpiece of a job. But the naming is not immediately evocative of the relationship, particularly since in computing, "job" is pretty overloaded. Far better would be "job" and "subjob".

comment 15y ago · link · parent

Also they throw a killer holiday party...

103.

Visualizing The New Arab Mind(kovasboguta.com ↗)

99 points · by programnature · 15y ago · 16 comments

comment 16y ago · link · parent

Berkeley.

The new philz on shattuck and cedar is also nice

comment 16y ago · link · parent

Speaking for myself, I found the assessment about labeling all experiences as good, bad, or neutral (and then ignoring the neutral bin 99% of the time) to be right on the money.

I also find the rollercoaster metaphor to be pretty on the money as well. Yes, there are nice experiences, but they do not last forever and in the end are empirically unsatisfying; as a result, their shadow side is that we compulsively try to attain them, thus causing suffering.

Not sure where you are getting the postmodern vibes from, this is basic buddhism dogma for the last 2500 years. It seems the very thing the author is pointing out is what is ticking you off: this is a shared experience of all humans. But I don't think that just because its a lowest common denominator is a reason to dismiss it out of hand as a manipulation.

comment 16y ago · link · parent

I highly recommend http://www.dharmaoverground.org/web/guest/discussion as a forum for open and fairly nondogmatic discussion of practice. The existing threads have a huge variety of practice techniques and discussions/diagnosis for their results.

comment 16y ago · link · parent

That article is shocking, in the sense that most of the meditation teachers are unaware of the bad side effects. Basic relaxation techniques are mostly harmless, but "serious" meditation very often leads to profound challenges to one's sense of self and perception of the world. In the religious traditions that cultivate it, that is in fact the point, and there are many stages that are highly challenging and unpleasant.

comment 16y ago · link · parent

Hallucinations are very common once you get high enough concentration. For example simple visual hallucinations (lights) is commonly associated with the onset what is called "access concentration". Complex hallucinations are also possible, visiting eg the "realm of the hungry ghosts" . A lot of this kind of stuff is talked about in http://www.interactivebuddha.com/mctb.shtml

comment 16y ago · link · parent

amen

comment 16y ago · link · parent

Interesting ideas. But would be a lot better with some evidence. Take some examples of massively scaled start ups and explain how they conform to the theory.

comment 16y ago · link · parent

(@lispm Looks like our symbolic language flame war has exceeded yc metrics)

Yes, I understand what ' does. You are manually controlling evaluation. The same way, once upon a time, people manually controlled garbage collection.

Having a+a explode by default means that the whole time you have to be juggling what is intended to be used symbolically or not. This seems to not be a 100% perfect realization of the code == data paradigm.

I'm glad you now agree that structure is a good way to encode meaning. Now, what is a more idiomatic way to manipulate that information? Walking the tree manually, or expressing those patterns of structure directly?

Unfortunately, in Lisp, you need to "evaluation manage" those structures. And its not just quote, its the whole macro language with its own idiosyncrasies. Its just a lot easier to have a single elegant system with the right defaults.

I'm the kind of person who implements models of computation as a recreational activity. I've probably wished for more granular evaluation control 1% of the time, but having civilized pattern matching (and representation) has vastly increased productivity and code density.

comment 16y ago · link · parent

There is 1 mechanism instead of 4, and it also happens to be the fundamental basis of evaluation.

There is no way to measure "absolute power" of elegance, which is the issue being gotten at here.

Not to say Mathematica has it gotten it perfect either, because it hasn't. But I have yet to see a superior implementation, and have seen a lot of clunky ones in my search.

comment 16y ago · link · parent

My point is that putting "structure assumptions in argument lists", though not a good idea 100% of the time, is often extremely useful, as illustrated by the example.

The greater point is that if this is so, one might as well deal in a model of computation that is a natural fit for that way of thinking.

I've been doing a lot of work in Scala and Actionscript. How I wish they had that family of functions in full generality. Why are they missing from most languages? Because that is not how people think in them.

comment 16y ago · link · parent

Good question. Here is what I mean:

1. Pattern matching as the basis for function definition, to determine which code executes and expedite argument destructuring.

2. Patterns themselves should have first-class representation (preferably symbolic), so you can generate them in one place and use them in another.

3. Implicit in this is that the structure of the language is systematic enough to make this worthwhile, meaning something s-expression based, or perhaps something like Scala that achieves similar ends in a much different way.

comment 16y ago · link · parent

What is ' other than a special mode? The fact is that symbols are treated more systematically in Mathematica, and that makes it easier to assemble and dissemble symbolic structures of all sorts.

Sounds like a case of blub. You look at Mathematica and see some weird stuff that is probably equivalent in power to multimethods or whatever, I look at Lisp and think how can I possibly live without civilized pattern matching.

As far as Lisp-based AI goes, its in fact very easy to miss it, but this is probably not the thread to get into Lisp's cultural issues.

comment 16y ago · link · parent

Consider the Mathematica function Take[], which would save millions of man hours if it existed in other languages.

Take[{a,b,c,d},2] --> {a,b}

Take[{a,b,c,d},-2] -> {c,d}

Take[{a,b,c,d},{1,3}] -> {a,b,c}

Take[{a,b,c,d},{1,-1,2}] -> {a,c}

Take[{{a,b,c,d},{1,2,3,4},{5,6,7,8}},2,2] -> {{a, b}, {1, 2}}

etc. In my book this is clearly useful, and its only scratching the surface. ( {} is actually List[] in Mathematica FullForm ... )

The point of symbolic representation is to represent the intended meaning. Its nothing about the "internal" implementation. Using symbols and simple tree structures to compactly express stuff is extremely powerful, and not coincidentally the essential way that human language works.

Sure, with a sufficiently dynamic language you can implement such functionality. The problem with Lisp is that by default symbols want to evaluate, and if you want to treat them symbolically you have to operate in a "special" mode. This makes things too complicated. There is a reason you don't see meaning represented by structure in pretty much any other language besides Mathematica.

comment 16y ago · link · parent

Pattern matching is the missing feature. I keep thinking about switching to Clojure from Mathematica, but then I think "How can anyone get anything done in Clojure? It doesn't even have pattern matching."

Its not something that can get patched in a library, because the way symbols and evaluation need to work is different (and simpler) than in a Lisp. There is no distinction between macro-s and nonmacros - everything is just a tree transformation.

The main benefit of first-class pattern matching is that your function definitions get a lot more succinct and expressive, since you can encode quite a lot of information in the structure of the arguments, and elegantly unfold the definition from the short and common case to a parameterized sequence of generalizations.

comment 16y ago · link · parent

I can't decide what is more comical. That he's going to write off FB and Twitter because parsing JSON is too hard. Or that he thought the Open Graph was a bad idea in 1997 and still thinks so today, and apparently is proud of it. Or that he thinks FB could buy Microsoft.
123456