HNHacker News
TopNewBestAskShowJobs

kruhft

1,034 karma · joined April 7, 2011

Artist, musician, meta-linguist, and Lisp hacker.

Email: kruhft@gmail.com

https://www.github.com/scarlet31.github.io

submissionscomments
kruhft··on A Philosophy of Programming Languages
The instructions in the CPU are no different from the statements in the Principia, just finite and physically realized. The instructions are combinations of logic operations, although the logic is now sequential and having state, which I would think sets it apart from the Principia since I haven't yet gotten my copy to study. The sequentiality gives rise to monadic world state, but all is still reducable to logic in the end.

There's no magic in the computer and no analogy other than designing analog circuits that clamp voltage levels and a very large finite state machine. It's logic all the way down, limits and all, though instead of incompleteness there's incomputability. 2 sides of the same coin.

Pure boolean logic can be reduced to symbol manipulation using rules of substituion and inferrence, but, of course, what is that composed of? Godel showed that metalogic is made of logic, you just elevate the types.

What is logic made of?

BTW I know computer architecture very well. There's no analogies, just abstraction.

kruhft··on A Philosophy of Programming Languages
Then what does this specifically have to do with programs?

All works of substance share such an 'incompleteness' and meaning. We just look to non-programming works as complete in a sense when they are recognized. But such works are constantly being rewritten in different forms in order to produce the effect they are known to be able to produce.

In the end, everything is a program in some sense whether to be executed by a brain or computer.

The point of what I was saying was to refute the idea that somehow our programs are so complex and have such amazing behaviour that they will not be reducable to a core set of rules. If the programs run on a computer they must be computable and thus reducable to a core set of rules. That's it.

Whether we can be reduced to that core set of rules is not evident yet. Using logic, a statement that denies it's own provability in the language it was writen in was crewated. Logic was not thought to be able to lie, until it did. Who knows what the right brain can make it do?

kruhft··on A Philosophy of Programming Languages
You are taking the system of computer and user as a single system, and are no longer talking about just the computer. This will lead to more than electronic reduction in silicon because there is more than electrons and silicon.

There are no attempts to manage the limits of pure logic at the silicon level. The entire analogy of the CPU is to implement pure boolean logic through strict controls and limits of voltage levels in analog circuits.

The logic available to humans is the same available to CPU. Godel used pure logic to create an unprovable statement that was both true and false. What he did to create such a statement is what computers do not (yet) have, but it most certainly is not logic, and I think that would be what you say is 'between the electrons'.

But whether we can program and execute this 'insight' on a finite logic system is another question that is yet to be answered. What we can program we can execute and thus can be reduced to basic forms of symbolic logic, whether powered by electrons, pen and paper or the brain.

kruhft··on A Philosophy of Programming Languages
I would still say no, because such metalogic will still be reducable to a type elevated logic and thus be reducable to 'core rules' operating on a lesser logic. Computability dictates what a computer can be instructed to do, leaving the 'meaning' to also have to conform to what can be computed.

If it runs on a computer it can be reduced to a simple set of core rules that is a logic, no matter how complex, by virtue that it is running on a computer.

Real math doesn't have to follow such rules.

kruhft··on A Philosophy of Programming Languages
Facebook was originally written in PHP.

It's true there are awesome specific language tools for your specific problems, that when tied together to create a total solution creates an unmaintainable mess that even the creator doesn't understand.

Look at the web.

I saw Kerrnigan talk about 'little languages' and I fully agree that a specific language designed to solve a problem is the way to go for small problems, like the ones when Unix was designed. Tying all these text based interfaces together is a maintenace nightmare.

Maintenenace is a much bigger problem than the actual problems being solved, at least for businesses.

Then there's Lisp, which is a mini-language designer's tool kit and the super glue to tie them together all in one integrated package using a well designed, common binding agent. Unfortunately the market has choosen not in it's favour.

The market will improve languages and in end game is that they'll all have the same features, and then it comes down to syntax and performance. They'll all be 'better' by today's standards. The problem is at that point is that the better bar will have moved.

And the guy that truly innovated during that time won't be found until the next century.

kruhft··on A Philosophy of Programming Languages
> As we move from the "low" level to the "high", say from the domain of machine code all the way up to, for instance, a rich, expressive Ruby DSL, the question arises, as it does for all language: have we acquired a surplus of content that cannot be simply reduced to core rules?

No, not if it's still executing on a physical computer.

kruhft··on A Philosophy of Programming Languages
The market will never be the best judge of what the most useful language is, but it is a correct judge. 'Best', being a relative term, takes an idividual's ideals into account, 'correct' being what is actual in practice.

The Best is chosen by the market that which is used to create the most successful product. By that measure, PHP is the best because Facebook is written in it. Best to the individual is much more complicated. The two will rarely coincide due to the uniqueness of the individual and the typical rejection of authority by intelligencia.

I would never say that PHP is the 'best' language for doing high abstraction, but it can be done. I also would not use it for such things, but you said you have (if you are the author of the article).

The 'Best' language is what you do your best work in, whether paid or not. Just don't expect to use it at work, and if you could, you would think something else would is best and pine for that.

It's the job, not the tools.

kruhft··on A Philosophy of Programming Languages
> We are currently in a state of paralysis with respect to educating decision-makers within applied software development because the arguments made for one language or another are small incomparable islands that admit only buzzwords.

In my experience, decision makers don't want to be educated about the benfits of your favorite language. They want to use a 'full stack' supported solution that has corporate backup and industry acceptance. They want to be able to hire someone to take over your code when you leave.

In the end, you can compute anything compuatble with any Turning complete programming language, although some are more elegant than others at certain problems. Human psychology will lead you to desire what you don't have, which in this case is your ideal niche language for solving your current problem at your shitty job. In the end languages are just tools and decision makers are providing you with the tools you are to use to do the job which minimizes their risk and maximizes their return.

And if your language is so great and will solve all your problems in an elegant and productive way, then make something with it and start a successful company. Then, if you make it for 20 years, wait for the articles saying how 'uneducated' you are having used it and you should be using some university ressearch language based on n-th level hyper-metalogics because you can write fib in 21 symbols.

kruhft··on Travelling Salesman – Official Movie Site
I've been waiting for this to come out. I'm sure it'll be entertaining in some way :)
kruhft··on Iron Ring
It's not tight enough to be a real concern, just enough that I can't remove it. I think it's more symbolic than anything...the only reason I made it through school was to get the ring and it's a big part of who I am as a person.

Now it is part of my person.

kruhft··on Iron Ring
I guess it could be cut off if I really needed to :) But other than that, no it doesn't come off. You tend to gain weight as you get older, even on your fingers.
kruhft··on Iron Ring
After graduation you get the title of EIT (Engineer In Training). After about 4-5 years of professional work you can submit to become a P.Eng. (Professional Engineer) after which you can be called an 'Engineer' at real Engineering companies.

Anywhere else doesn't care and will call the guy taking out the garbage a Sanitation Engineer if they feel like it.

kruhft··on Iron Ring
There was no option to get an Iron version back when I graduated in '97. The story was the iron ones turned your finger black so they stopped selling them.

Still have mine after all these years and it doesn't come off anymore, so I think I'll be taking it to the grave.

kruhft··on What professional philosophers believe – Survey results
By rational I mean the traditional "by the numbers" type of people, not if the action (or inaction) is a rational choice. Pulling the lever is the obvious choice for the rational type due to loss of less lives, a strictly numeric calculation with no regards to feelings.

Discussing this problem with my G/F showed me a side which is from what I would call a "non-rational" or emotional person. Their choice not to pull the lever is just as rational to them, but not in the cold, hard, numeric way of the rational person. To them it is rational to not cause harm to others if they would never have been harmed, even if more people will be harmed in the end.

It was a bit of a heated discussion that really made me stop and think about why this is such an important question. There is no right answer and each side is quick to justify exactly why their choice is the "right" choice. And the more you think about it the more you realize why both sides can think the way they do; a perfect philosophical question :)

The comment about sociopaths pulling the lever was due to the test being given in prisons to people that were diagnosed as sociopaths. That was the choice that the majority of them took when given the test.

kruhft··on What professional philosophers believe – Survey results
I originally heard of the Trolly Problem in an episode of the The Brain Series on Charlie Rose where the guest neroscientists presented that viewpoint. I personally don't belive it, but that was the messaage they were presenting.

The series is both fascinating and frightening in way. I reccomend watching it to see the current ideas in brain science presented by the people creataing them.

kruhft··on What professional philosophers believe – Survey results
But switching requires an action that will cause the death of another.

Rational people look for a lower number of deaths and the less rational (emotional) look to avoid action creating the misery of someone else.

People that pull the switch are thought to have more sociopathic tendencies even though doing the action would result in a lower overall number of deaths.

kruhft··on Why SICP Matters
And info: http://www.neilvandyke.org/sicp-texi/
kruhft··on We Need A Standard Layered Image Format
It meets all of the requirements of the parent post I replied to, plus it even has a pretty decent open source editor. It's internal structure may not be in SQLite format, but it is an extensible tag based chunk format. You shouldn't dismiss it so easily.
kruhft··on We Need A Standard Layered Image Format
.XCF
kruhft··on Machine Learning Library for C++
Some people believe in software freedom more than you do.
kruhft··on What Makes Code Hard to Understand?
Code is hard to understand because most programmers only learn how to write it and never take the time to learn how to read it. If you can't read something with ease, it will always be hard to understand.
kruhft··on Learning Lisp The Bump Free Way
Because you have to write multiple-value-bind yourself, no &optional and &key parameters, no try/catch or condition system and verious other reasons.

Scheme is case sensitive by default though, which I like.

It's sort of like asking 'Why C++ and not C?'. It's the features or lack thereof that you have to want or not want that lead you to your initial decision.

Then you switch to the other to see what you're missing.

Then you make up your mind.

kruhft··on Bloomberg Says Interpretation of Constitution Will ‘Have to Change’ After Boston
Help, I'm feeling repressed!
kruhft··on Bloomberg Says Interpretation of Constitution Will ‘Have to Change’ After Boston
Vive la Revolution!
kruhft··on Bloomberg Says Interpretation of Constitution Will ‘Have to Change’ After Boston
"Give Me The Ability To Post On An Internet Message Board About How Displeased I Am About How My Country Is Being Run, or Give Me Death!"
kruhft··on How to identify algorithmic trading strategies
True, risk adjustments can be made to modify those bounds in real markets, unlike with actual lottery tickets where you have no control over the upside and expectation of winning. But the idea is still very similar in it's basic strategy.

Given Taleb's understanding and belief in randomness of the market, I see him as "creating his own lotteries" using rather sophisticated techniques that have paid off very well. The cost of entry is small and the potential rewards are high but he loses regularly and consistently and says he was grateful to be in a position where he could execute such a strategy without being looked down upon by his superiors (from Fooled By Randomness).

kruhft··on How to identify algorithmic trading strategies
After reading Taleb's books and thinking about his strategy, it's akin to buying lottery tickets. Lots of little losses with a large win on infrequent random events.

It sounds more regal when you say "structure the trades to reduce your exposure to downside risk while increasing your exposure to upside from unanticipated random events" though.

kruhft··on Amazon Coins Launching
They can probably only spend them at the company store.
kruhft··on BitCon: Don't
All of this talk of how Bitcoin sucks, it's fundamentally flawed and how some other technology would be so much better sounds a lot like programmers talking about PHP and how it sucks, it's fundamentally flawed and how some other technology would be so much better.

Facebook and a lot of other sites have made a hell of a lot of money off of PHP. It works well enough, it's adopted and it gets the job done. Go be successful with your perfect system and then come back and tell everyone how much the other system sucks.

kruhft··on Bubble or No, This Virtual Currency Is a Lot of Coin in Any Realm
4 dividends over 17 years, starting again about 7 months ago. Sorry for not knowing the latest news as all I've been hearing is that they don't. And what formula will give proper and accurate pricing on that many data points?

Don't answer that, this is getting silly. Have a good day. :)

← PreviousPage 15 of 21Next →