HNHacker News
TopNewBestAskShowJobs

jhuni

246 karma · joined December 18, 2010

I define intelligence as the ability of an agent to optimize its environment to suit its preferences in a variety of contexts. In the context of abstract environments this means dealing with constraint optimization and reinforcement learning. In partially observable environments means using perceptual learning techniques to make sense of the environment.

In order to create an intelligent agent I have constructed a two part system consisting of a system for dealing with optimization under complete information using techniques from order theory, operations research, and optimization theory as well as a system for optimization under incomplete information that uses the perceptual learning capabilities of OpenCV. You can read more about my work on my blog:

http://lisp-ai.blogspot.com/

submissionscomments
jhuni··on School of Haskell Goes Beta
Haskell introduces restrictions with its non-homoiconic syntax, static type system, and pure effects system. I am not yet convinced that these restrictions are necessary.

- I am not convinced that it is worth it to throw out the benefits of homiconicity in order to create a distinction between code and data. I find that Haskell's heteroiconic syntax is actually harder to read and write then S-expressions.

- In mathematics all sets of the same cardinality are isomorphic. In assembly language there isn't really any notion of types besides cardinalities counted in bits. I am not convinced that we need to introduce a system of static typing besides an optional system of cardinalities. I am skeptical of the claims that we need static typing to eliminate errors and bugs.

- I am not convinced that we should have purely functional programming based upon monadic IO rather then other alternatives like uniqueness types. Perhaps a better option is to have a term rewriting and macro expansion phase that is purely functional and to encapsulate all side effects in a seperate evaluation phase.

If you are certain that Haskell's non-homoiconic syntax, static type system, and pure effects system exist in the right form for what you want to do then by all means use them. Otherwise, consider that Lisp doesn't distinguish between code and data so it gives you unprecendented freedom to shape the language into the form that suits you best.

jhuni··on MIT can honor Aaron Swartz by fighting to make journals open to everyone
He was fighting against the commodification of academic journals. MIT should have given him a medal.
jhuni··on School of Haskell Goes Beta
You should still learn Lisp unless you are certain that Haskell is already in the perfect form for what you want to do. Lisp gives you unprecedented freedom to transform the language into the form that suits you best.
jhuni··on Darpa shows off 1.8-gigapixel drone, can spot a person from 20K feet
That way we only have to worry about the ill intents of the governments themselves.
jhuni··on This robot serves up 340 hamburgers per hour
> It seems like you listen to a lot of the propaganda used to separate people into classes that keep them believing that they shouldn't even try.

In the earliest human societies nobody was more entitled to the worlds natural resources then anybody else. According to Heckewelder in Iroquios society "whatever liveth on the land, whatever groweth out of the earth, and all that is in the rivers and waters, was given jointly to all".

Classes emerged when one group of people decided that they were more entitled to the Earth's natural resources then everyone else. These people made these natural resources into their private property and in order to get wealth out of those natural resources they made human workers into their private property as well. These owners became the ruling class and their subjects became the slave class.

Slavery existed in human society for several millennia until it was partially replaced by feudalism. In feudal societies, there was still a ruling class that controlled the natural resources and violently suppressed anyone who opposed them, except that their serfs had a little bit more autonomy and they were tied to the land rather then their masters.

The industrial revolution changed everything. In industrial societies people were able to work in other sectors of the economy besides the primary sector, which allowed some people to live free of the tyranny of the landlords. However, new forms of private property emerged corresponding to the new sectors of the economy. In the manufacturing sector, there was private property in the means of production and the instruments of labor, and in the knowledge sector there was intellectual private property.

The private ownership of our natural resources also still exists. As an example, Gina Rinehart, the world's richest woman, is a mining tycoon who inherited her control of Australia's natural mining resources. Classes have existed throughout written history and with people like Gina Rinehart they apply today as much as ever before.

> Open Source Everything

You want to eliminate the form of private property that exists in your sector of the economy: intellectual property. This is good, but what are you going to do for people working in the primary and secondary sectors of the economy? Do you want farmers to continue to subjected to the tyranny of the landlords and do you want for manufacturing workers to continue to be completely alienated from their workplace?

> Stop watching Americana Idol, learn from all the free resources online and lift yourself up from the bootstraps.

What is with this ad hominem attack? I don't even know what "Americana Idol" is. I spend most of my time studying mathematics and writing computer programs.

jhuni··on Bill Gates: My Plan to Fix The World's Biggest Problems
> It's his money, so he gets to decide what to do with it. Microsoft Office was his product, so he got to decide what privileges to offer users.

Microsoft Office is only "his" product because Microsoft is holding its source code in secret rather then releasing it to the benefit of the entire world. Since Bill Gates' entire career is based upon secrecy rather then productivity his ownership of billions of dollars is illegitimate.

> the key to all modern economic and technological progress

The main thing holding back technological progress today is secrecy. When corporations develop products in secret this leads to wasteful overlap. We should be using the Internet to facilitate global cooperation on technological projects.

jhuni··on Stupid Languages
Alternatively, you could partially apply the entire list to the function.
jhuni··on Stupid Languages
> What is the reverse of (partial map constantFunctionReturnsZero)?

The function (constantly 0) is implemented as a place in order to maintain reversibility semantics:

  ((constantly 0) 10) ;-> (0 10)
  ((constantly 0) 50) ;-> (0 50)
The information lost by calling the constant function is pushed to the end of the list so that it can be called reversibly. This can be applied on an entire list:

  (map (constantly 0) [1 2 3]) ;-> ([0 0 0] [1 2 3])
> A fold/reduce is just as sometimes-reversible

The reduce function is not reversible, but the reductions function when called with a group is:

  (reductions + [1 2 3 4]) ;-> [1 3 6 10]
The reduce value is the last element of the list so it can be retrieved by the last place:

  (last [1 3 6 10]) ;-> (10 [1 3 6])
> I think you mean that map is self-composable

The preservation of information is more important to me then composition.

jhuni··on Stupid Languages
One important characteristic of the map function is that it can be used reversibly. For example, (partial map inc) is inverted by (partial map dec). If I want to map over a collection by a function that takes the entire collection as an argument I'd rather use some function other then map to avoid confusion.
jhuni··on Bill Gates: My Plan to Fix The World's Biggest Problems
This negativity could be directed against the authoritarian attitude towards problem solving. If you have a problem with Microsoft Windows you have to ask the Microsoft authorities to solve it for you because they won't give you the source code so that you can handle the problem yourself. In a similar sense, Bill Gates isn't asking for the community to democratically decide where money could be best spent, he is spending money wherever he wants to solve problems he personally deems to be the most important.
jhuni··on "I couldn't really learn Erlang, 'cos it didn't exist, so I invented it"
You got it backwards when you said "fitting together" is a subset of "creation." Creation is fitting existing unused materials together into a more usable form. I believe we should encourage people to fit together existing programs rather then encouraging people to build stuff "whatever the language, whatever the library, whatever the framework".

If everybody uses whatever framework without concern for compatibility it will inevitably lead to enormous bloat. I have no problem with getting things done quickly to fulfill non-software needs. However, when it comes to software one of our most important needs is to reduce bloat by encouraging sharing.

jhuni··on This robot serves up 340 hamburgers per hour
> The more jobs that get replaced by automation the more prices will fall.

I am not as concerned with cheapening junk food as you are. I want to satisfy human needs through tasks like feeding the poor, healing the sick, sheltering the homeless, and educating the illiterate that aren't getting done today because they aren't profitable enough.

The ruling class owns the means of production and the robots that are replacing people's jobs are using these productive forces entirely for their own benefit. In a system whereby the means of production are owned by the poor and working classes, workers can scientifically manage production to satisfy human needs rather then personal profit.

jhuni··on "I couldn't really learn Erlang, 'cos it didn't exist, so I invented it"
Creating things is just fitting together new things. Rather then fitting together many new things that may overlap already existing things we should focus on fitting together an efficient unified system that use resource sharing to ensure a minimum of bloat.

In death of the desktop, interface expert Aza Raskin mentioned that his computer has seven copies of the spellcheck program with seven slightly different implementations of the English language. Building a user interface based upon command sharing rather then bloated applications will ultimately benefit end users.

jhuni··on "I couldn't really learn Erlang, 'cos it didn't exist, so I invented it"
I don't share your strong focus on "encouraging creation." I think it is more important that we encourage cooperation and sharing then creation. We have no shortage of software being created the problem is we still are extremely bad at fitting things together.
jhuni··on This robot serves up 340 hamburgers per hour
> The capitalists wouldn't benefit unless we benefited.

That is why there are periodic crises of capitalism, such as the current crisis that first started in 2008. The capitalists are cutting wages so low to undercut their competitors that consumers aren't getting enough money in wages to buy those same products.

jhuni··on This robot serves up 340 hamburgers per hour
> I know the perfect way to gain 100% employment outlaw all farming machines, but you can see the flaws in that solution.

The capitalist system requires a reserve army of labor so 100% employment cannot coexist with the capitalist mode of production. The only reason outlawing farming machines could allow for 100% unemployment is that it would replace the capitalist mode of production with the foraging mode of production.

> True the people that put up the money and took the risk of engineering innovative ways of doing things better see the largest benefits.

The people that receive the most benefits are the capitalists who control the means of production. Our most talented engineers are being exploited by the capitalists, so they aren't the ones receiving the benefits of production. Some capitalists might just so happen to be engineers but that is not the basis of their social relationship to the means of production.

> The "working class" needs to realize that the nature of work is changing and the assembly line education we were all feed is not going to cut it in a fast pace economy we are living in today.

With this statement you are taking the elitist position that us workers need to be told what we need to "realize" and that we deserve to suffer because what we are doing "is not going to cut it." Workers are in this precarious position entirely because the capitalist class has undeserved control over the means of production. The workers should take control of the means of production and use it to satisfy human needs rather then profit. With communal ownership of the means of production, automation technology will benefit the entire race rather then a minority of greedy capitalists.

jhuni··on This robot serves up 340 hamburgers per hour
It should free up individuals to do more rewarding jobs, but unfortunately we still live in a capitalist society. The only individuals that benefit from increased automation are the capitalists that own the robots, not the members of the working class that are losing their jobs.
jhuni··on Sophie In North Korea
> Do you really want to get into body counts?

Yes, I do. Should we start with the first revolutionary socialist, Babeuf, who was executed by the guillotine or should we go all the way back to the primitive communist tribes that existed before states and classes that were massacred and enslaved by invading armies?

jhuni··on Sophie In North Korea
> No, it's communist.

It isn't anything Marx would call communist. North Korea guarantees protection of private property in its constitution and it is a member of the world intellectual property organization.

A communist society shouldn't have an antithesis between mental and physical labor or intellectual private property. It should be a society where everyone is free to work and collaborate on whatever creative projects they want to.

jhuni··on Sophie In North Korea
There has never been anything close to a communist economy. Communism means there are such advanced productive forces and automation technology that there is no antithesis between mental and physical labor:

In a higher phase of communist society, after the enslaving subordination of the individual to the division of labor, and therewith also the antithesis between mental and physical labor, has vanished; after labor has become not only a means of life but life's prime want; after the productive forces have also increased with the all-around development of the individual, and all the springs of co-operative wealth flow more abundantly -- only then then can the narrow horizon of bourgeois right be crossed in its entirety and society inscribe on its banners: From each according to his ability, to each according to his needs! - comrade Karl Marx

jhuni··on Sophie In North Korea
> Communism, no matter its form, only leads to slavery and poverty.

Capitalism has created dangerous situations for workers worse then slavery! Countless people (including children) have died of work related injuries in capitalist societies throughout history.

When a slave dies well working, the master is disappointed that he just lost a valuable piece of property. On the other hand, a capitalist boss doesn't give a fuck if one of his workers dies, he can just pay someone else to do the job for the same price.

In 1833, the city of Lancashire reported deaths of a total of 401 workers under the age of 11 and 2,292 child laborer’s between the ages of 11 and 16. Factories were hot, crowded, and distracting with no safety regulations or protective equipment and child workers would frequently get caught and die in machines. The capitalist bosses didn't give a fuck that children were dying in their machines, children are replaceable.

This was the reality in the 19th century, before there were any safety laws whatsoever, and when Marx was analyzing these things. There wasn't any sort of socialism in North Korea, Cuba, or China when Marx was alive so they cannot be used to criticize his original ideas.

jhuni··on Sophie In North Korea
Our AI programs don't need to have their own preferences. Each rational agent can be assigned an assistant AI which will derive its preferences from the agent's already existent preferences.
jhuni··on We expect too much of geeks
> The other thing we all can do, if we love the product of technical minds, is stop thinking it's magic. There is magic in computers, but the magic isn't in the programmer or the tech writer or the visionary -- it's in the whole thing. The miracle isn't any one person, rather it's that humanity can collaborate to create something much greater than any one of us.

If you consider the "whole thing" most computers still have proprietary programs put in place by profit-driven organizations to subjugate and control the users. That isn't magic its witchcraft. It would be a miracle if computer programs and all other forms of software were developed collaboratively rather then secretively.

jhuni··on When Haskell is Faster than C
> Now take the equivalent function in Python

Those functions maybe similar but they are not equivalent.

jhuni··on When Haskell is Faster than C
C is itself a HLL, e.g it uses a high level state model based upon mutable variables rather then direct manipulations of processor registers and hardware memory locations.
jhuni··on IBM Exec Husband of Aaron Swartz Prosecutor Takes to Twitter to Defend His Wife
> I actually feel sorry the Tom Dolan

You are perfectly free to do that, however, know that as a well off IBM executive he is the last person in the world in need of sympathy right now.

jhuni··on Plea Bargaining and Torture in light of the Aaron Swartz case
The pprison industry is very profitable. Justice has nothing to do with it.
jhuni··on Petition: require free access to publicly-funded research
They do present a good case in that response: why build a death star when it has a fundamental flaw that can be exploited by a one man starship?
jhuni··on Official Statement from the family and partner of Aaron Swartz
> If not even hacker-friendly institutions like MIT will side with people like Aaron, it's a sad state of affairs.

MIT hasn't been a hacker-friendly institution since the early 1980s which is why Richard Stallman left MIT to found the free software movement.

jhuni··on The Unreasonable Effectiveness of C
Modern computer operating systems are systems of bloat. The amount of duplication between programming languages like C, C++, Objective C, C#, Java, JavaScript, Perl, Python, and Ruby, user programs, and applications is immense. To have a streamlined system that uses a single language all the way down to the machine itself, and that makes full use of the sharing capabilities of a single address space, would be truly magical!
← PreviousPage 2 of 8Next →