HNHacker News
TopNewBestAskShowJobs

whatajoke

121 karma · joined November 2, 2009

submissionscomments
whatajoke··on "They're Made out of Meat?" Short first contact sci-fi story
That is because it is very similar to an actual short story written by Asimov. Please see https://en.wikipedia.org/wiki/What_is_This_Thing_Called_Love...

I can't find that story online, but it has a similar ending vis-a-vis the alien's decision.

whatajoke··on Why Lua?
Scheme community frowns upon mutating code. R6RS even forced that by default, though the rest of the specification was a mess.

So, scheme style these days is all about pure functions, tail calls and continuations. To think about it, that really is setting it apart from common lisp.

whatajoke··on Why Lua?
My definition of an FFI was simply about fully supporting native threads. Simplifying FFI definitions has not been a big deal for me. It is either a few hours of work, or if more than that, then I simply use Swig.

As for finalizing arbitrary objects, please see http://community.schemewiki.org/?guile-guardian

I agree on the speed part. But guile 2 is getting better. The reason guile cannot be as blazing fast as say gambitc is their need to inter-operate with all sorts of C code. Native threading included.

whatajoke··on Why Lua?
Not criicizing lua, but worth comparing to guile.

> Integration with C (and C++ for that matter)

Guile does it better. You can use shared memory threads in guile without any penalty. Atmost you have to allow for the garbage collector to run when inside FFI functions. But that is a small price to pay in case you need to use multiple parallel-concurrent threads with a single heap.

Guile was built with FFI in mind and has an impressive history. Just take a look at guile gnome bindings.

> Speed and Simplicity

Guile 2 is extremely fast. Not as fast as LuaJIT, but it no reason it won't get there. As for simplicity, take a look at the partial evaluator in trunk of guile 2.

> Education

Guile is good old scheme.

> Functional

Can't get more functional than scheme :)

> Everything is a Table

Well, almost everything is a pair in guile. Vectors and hash-tables are trivially available. Though I recommend to sticking to functional programming in scheme style.

> Consistent

As before, can't get more consistent than scheme.

> Portable

Guile is available on n900. So there.

To continue, guile has continuations (delimited or otherwise), and macros (hygienic or otherwise), both of which are effectively missing in lua.

And guile offers all of this while supporting native threading with a single heap. Sweeet.

whatajoke··on The dumbphone strikes back
If only Nokia hadn't buried N900 and N9, more people would have experienced what a true mini laptop feels like.
whatajoke··on On a New Road : James Gosling on Apple and Java
> I respectfully submit that the man who thought AWT was an acceptable GUI toolkit doesn't have a leg to stand on here.

Where did Gosling say that? I remember reading that AWT was a botched job because they had very little time to ship out a UI toolkit. They replaced it with Swing later.

And if you think Swing also sucks, then try developing swing apps in groovy. Java language sucks even in SWT UIs.

whatajoke··on London Stock Exchange smashes world record trade speed with Linux
Is this the same system that replaced the failed Microsoft platform? http://blogs.computerworld.com/london_stock_exchange_to_aban...

Microsoft had run huge ads on how LSE was using .NET and Windows in critical financial applications. Within a year LSE had suffered crashes in the same critical areas.

whatajoke··on Java as we know it is over. Time to fork?
The excellent research done under Jikes project in IBM cannot be forgotten. It to contributed to IBM's patent portofolio.

Bad to reply to own comment, but can't edit it anymore.

whatajoke··on Java as we know it is over. Time to fork?
> What's wrong is that Oracle won't (ever) allow Harmony to be called Java Compatible, even though it is.

The same can be said of a fork. It will not be allowed to run the Java test suite (I forget the name) and certify itself Java.

Edit : Typo

whatajoke··on Java as we know it is over. Time to fork?
What is wrong with http://harmony.apache.org/ ?

It is a from scratch implementation of the JVM. And is backed by IBM AFAIK.

whatajoke··on Java as we know it is over. Time to fork?
Much of high performance modern VMs (not just JVM) are built on Self project and StrongTalk acquisiotion by Sun. I think Oracle would have quite a few key patents due to this.

Though the Visual works contribution to VM technology cannot be discounted. And it is owned by IBM. So probably IBM and Oracle will not use these patents against each other.

whatajoke··on Java as we know it is over. Time to fork?
It also has multiple backends. I think a debian dev had coded a llvm backend for it. And a cambridge student coded an ARM backend.

Edit : grammar. Also forgot to mention that the ARM backend run on n900, my precious.

whatajoke··on Did you know that China is run by engineers? I didn't.
Indian here. There are a few leaders in India who can't speak one coherent sentence in english, even though they have a masters degree in english,
whatajoke··on Why I Love the Khan Academy
I had the same impression. Nothing can educate like a good teacher who coaches you directly. Looks like many americans (or britons) are not getting this individual attention in their schools and colleges.

Some professors are able to teach you complex things in such simple terms that it damn well blows you away. I remember being tought van der walls equation's proof using some very basic concepts and the taylor series. I can't find that simple a proof on wikipedia now, and unfortunately I have forgotten much of physics. SICP is also a good example of a good teacher making complex problems simple.

whatajoke··on Making Debian Responsible For Its Actions
I have never used gentoo. Does gentoo patch packages as much as Debian? Or is their build process sophisticated to allow parallel install of multiple versions of say postgresql?
whatajoke··on AMD to Retire the ATI Brand Later this Year
Good. With their upcoming fusion product line, ATI name on AMD CPUs would have only confused.
whatajoke··on The Original 'Lambda Papers' by Guy Steele and Gerald Sussman
A google docs link to original scheme manual, in case the site bogs down. http://docs.google.com/viewer?url=http%3A%2F%2Frepository.re...
whatajoke··on The $35 indian tablet isn't vaporware
You are reading it wrong. It means that the end customer (student) will get it at 50% subsidy, which will be 17.5$
whatajoke··on In German Suburb, Life Goes On Without Cars (2009)
> I just don't want to see some zealot telling me I can't have a car, and that I am some sort of evil person for having one.

Not everybody thinks about you when choosing the people they want to live with. You argue like a conservative asshole berating a bunch of hippies for choosing their own way of life.

> What I'm saying : there should be no laws against this type of thing, and no laws saying you should do it. Entirely personal choice all round.

That is entirely upto the people living in those subuebs. If they decide that you should drive your car around rather than through their suburb, then I don't see how it violates your personal freedom. Next you will be bitching about congestion charges.

whatajoke··on Outsourcing to India draws Western Lawyers
That is not outsourcing in any sense of the word. It is an Indian film company entering into a joint venture with a hollywood major.
whatajoke··on Outsourcing to India draws Western Lawyers
In India, freight charges are used to subsidise passenger traffic
whatajoke··on BP finally stops oil spewing from Gulf gusher
> Geez the amount of wildlife they have killed - no-one will go to prison and it's practically the crime of the century.

The Iraq invasion by USA happened in this very century.

whatajoke··on Have you ever tried to sell a diamond?
n82 right?
whatajoke··on A piece with a lot of screenshots about the close tab behaviour in Google Chrome
So they do what opera has been doing for ages. Got it.
whatajoke··on Is 4chan the Future of Human Consciousness?
The brave pioneers of 4chan are the Magellans of media desensitization, who abandon the grim reality of their parents' basements to wallow in infinite, recursively self-referential filth.

So when My friends and I talked incoherently while bing drinking, year after year of college, we wallowed in "infinite, recursively self-referential filth."? Wow, I didn't know my generation was that unique.

whatajoke··on Vine seeds become gliders with 12% descent angle
His narration is virtually unchanged since he started about 60 years ago. Please do watch Life on Air: David Attenborough's 50 Years in Television. He tends to wear similar looking dresses for all episodes of a series, so that the attention of the viewer is not on the anchor, but on the topic at hand. And when his trousers start fraying near the ankles, he snips off the cloth with a scissor.
whatajoke··on Google takes on Zagat with disruptive decal technology
Nokia phones have this bar code scanner application built in. But I never had the chance to use it before :)

If you have a phone with such an app, you can try it out on images here -> http://en.wikipedia.org/wiki/QR_Code

whatajoke··on Apple Fails at Customer Service
If it was me, I had assemble my own machine. But neither my story, nor yours is related to apple support.
whatajoke··on Top green living myths
For vegerarians cheese is an important source of protein.

Sorry, but the vegetarian you talk of is doing it wrong.

My primary source of proteins is pulses. Especially the red kidney beans contain the same amount of protein as chicken, 24 gm out of 100 gm.

Reference:

http://en.wikipedia.org/wiki/Chicken_(food)

http://en.wikipedia.org/wiki/Common_bean#Red_or_kidney_beans

whatajoke··on Top green living myths
To quote from the article:

In particular hard cheese, which takes a lot of milk to produce, can have a bigger footprint per kilo than chicken.

This is super stupid. Hard cheese contains more than double the calories of chicken. And nobody in their right minds will consume hard cheese as the main food item.

Page 1 of 2Next →