News for hackers. Stuff that matters.

whatajoke

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.

Re:Why Lua? on Tuesday January 31, 2012 @08:42PM (#3536230)
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.

Re:Why Lua? on Tuesday January 31, 2012 @08:24PM (#3536172)
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.

Re:Why Lua? on Tuesday January 31, 2012 @07:32PM (#3536004)
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.

Re:The dumbphone strikes back on Tuesday January 31, 2012 @12:08PM (#3534121)
If only Nokia hadn't buried N900 and N9, more people would have experienced what a true mini laptop feels like.
Re:On a New Road : James Gosling on Apple and Java on Friday October 22, 2010 @01:22PM (#1820522)
> 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.

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.

Re:Java as we know it is over. Time to fork? on Monday October 04, 2010 @06:43PM (#1757829)
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.

Re:Java as we know it is over. Time to fork? on Monday October 04, 2010 @04:35PM (#1757292)
> 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

Re:Java as we know it is over. Time to fork? on Monday October 04, 2010 @02:54PM (#1756814)
What is wrong with http://harmony.apache.org/ ?

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

Re:Java as we know it is over. Time to fork? on Monday October 04, 2010 @02:51PM (#1756805)
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.

Re:Java as we know it is over. Time to fork? on Monday October 04, 2010 @02:48PM (#1756783)
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.

Re:Did you know that China is run by engineers? I didn't. on Monday October 04, 2010 @05:41AM (#1755142)
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,
Re:Why I Love the Khan Academy on Sunday October 03, 2010 @02:38PM (#1753289)
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.

Re:Making Debian Responsible For Its Actions on Tuesday September 28, 2010 @09:14AM (#1735560)
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?
Re:AMD to Retire the ATI Brand Later this Year on Monday August 30, 2010 @05:15AM (#1645736)
Good. With their upcoming fusion product line, ATI name on AMD CPUs would have only confused.
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...
Re:The $35 indian tablet isn't vaporware on Friday August 13, 2010 @11:12AM (#1601115)
You are reading it wrong. It means that the end customer (student) will get it at 50% subsidy, which will be 17.5$
Re:In German Suburb, Life Goes On Without Cars (2009) on Friday August 06, 2010 @09:57AM (#1581003)
> 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.

Re:Outsourcing to India draws Western Lawyers on Thursday August 05, 2010 @11:51AM (#1578398)
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.
Re:Outsourcing to India draws Western Lawyers on Thursday August 05, 2010 @11:44AM (#1578379)
In India, freight charges are used to subsidise passenger traffic
Re:BP finally stops oil spewing from Gulf gusher on Friday July 16, 2010 @06:08AM (#1520769)
> 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.

Re:Have you ever tried to sell a diamond? on Saturday June 05, 2010 @03:07PM (#1407281)
n82 right?
So they do what opera has been doing for ages. Got it.
Re:Is 4chan the Future of Human Consciousness? on Thursday December 10, 2009 @12:05PM (#988104)
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.

Re:Vine seeds become gliders with 12% descent angle on Monday December 07, 2009 @08:51AM (#981140)
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.
Re:Google takes on Zagat with disruptive decal technology on Monday December 07, 2009 @08:30AM (#981126)
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

Older »