Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re: Citation Needed (Score 1) 354

Because code generated by a compiler tends not to be human readable and the instant you make even the tiniest change directly in the object code, the source becomes useless.

That's a great point. It's possible it didn't occur to me because most of the 'raw' javascript libraries I've looked at seem pretty ugly already - I didn't think of compiled coffeescript as looking much worse. But it really does.

That doesn't make compiling bad, but it does mean that the source language and compiler becomes a dependency.

Since the coffeescript compiler is self-hosted and compiles to the target, at least that dependency seems like a non-issue.

Comment Re: Citation Needed (Score 1) 354

> I was speaking to a friend of mine the other day, who said "Don't you find it bizarre that Javascript has become the assembly language of the web?"

I can't think of any way JavaScript is at all like assembly, except that a lot of programmers hate using it...

And, frankly, that's about enough for me.

But the other - and probably more important one:
It gets compiled into.

Comment Re: Citation Needed (Score 3, Insightful) 354

Some higher level, less nasty thing (C, CoffeeScript, Dart, Java, Clojure, whatever) gets compiled into something (asm, javascript, bytecode) that runs on your chosen platform (x86, ARM, web browser, node, JVM).

The assembly equivalents in this case are ASM, javascript, bytecode.

Sure, javascript is a high level language. Someone once thought of assembly as high level when compared to machine code.

It's pretty easy to think of bytecode as the assembly of the JVM. Not much of a stretch to think of javascript as the assembly of the web, if you think of it as a crappy low level language that you'd rather not deal with - which I do.

Maybe that's just my tastes and vivid imagination...

Comment Re: Citation Needed (Score 4, Interesting) 354

I was speaking to a friend of mine the other day, who said "Don't you find it bizarre that Javascript has become the assembly language of the web?"

And that's just it: I think javascript sucks, and I avoid it whenever possible. Instead I use CoffeeScript, which I find unobjectionable. Sure, it "compiles" into javascript - and I don't much care.

I pointed out that I never really learned assembly when I was cutting my teeth (decades ago), and so I really didn't care what was down there. It's kind of nice that I know enough Javascript to debug tricky issues when the need arrises.

I thought that coding in assembly sucked, too - still do. The higher the language, the more I tend to like it. Besides CoffeeScript, I'm keeping an eye on Dart.

So, yeah, it's bizarre that javascript has become the assembly of the web world. But it runs all over the place because it runs all over the place. Whatever. As long as there's something better to write code in than javascript, it doesn't bother me...

Comment Re:Good ... (Score 1) 1073

If the government deals only with civil unions then the entire religious war issue is removed.

Until religious people start claiming that civil unions are defined by God?
Then what?

That seems about as likely as "the degenerates" deciding that since marriage is no longer just between man and woman that they should be able to marry their dog (to quote a sometimes used argument in favor of things like DOMA).

ie. when it happens (and sure it probably would - because there is always someone in need of attention) the volume would be about 1/1,000,000 the marriage issue and pretty easy to ignore.

Comment Re:Good ... (Score 1) 1073

It's very easy to find a person of religious persuasion that will tell you that marriage is defined by God.

That's a large part of why we are in this mess.

If the government deals only with civil unions then the entire religious war issue is removed. The argument becomes mostly a personal religious issue instead of a civil issue.

Poof.

You can continue to argue that marriage can mean different things to different people and that we should all get along. Let me know how that works out for you.

Comment Re:lolwut? (Score 3, Insightful) 28

Carnival. Inspire young people.

How much of drawing and painting is describing our surroundings? How much of science is not that same thing at a different level? Is there any overlap?

How much is music steeped in math? What is not steeped in math? Why would you not use music to appeal to someone's mathematical curiosity?

I, for one, am happy to have a little entertainment in my education.

Comment Re:When you Scale Up is where the issues pop up (Score 1) 50

When you Scale Up is where the issues pop up

I don't get it. You're saying that having more computer controlled cars on the road is going to make it harder for computer controlled cars to function? Why?

and they have drivers on hand to take over right away.

It's true, and it would sure be interesting to know how often that happens. But 300K miles is a pretty awesome track record for any driver under any circumstances.

Comment Re:Black Swan (Score 1) 50

I believe that snow/sleet/ice are known issues, and google is avoiding 'em for now.

As for the difference between sanfran, ny, and boston - they don't feel all that different to me.

Of the things you mentioned, I have to think that construction is one of the oddest cases - and vegas is no stranger to that.

But the point is: they're on the roads, now. And they're doing really well. And it is a technology in its infancy.

To believe "it's never gonna happen" seems pretty foolish to me.

Comment Black Swan (Score 4, Informative) 50

http://en.wikipedia.org/wiki/Google_driverless_car

In August 2012, the team announced that they have completed over 300,000 autonomous-driving miles (500 000 km) accident-free, typically have about a dozen cars on the road at any given time, and are starting to test them with single drivers instead of in pairs.[14] Three U.S. states have passed laws permitting driverless cars as of September 2012: Nevada, Florida, and California.

More miles than most drivers rack up in 20 years, and without having caused an accident. Laws passed in 3 states.

This is a lot closer than positive net output fusion, for example.

Comment Re:... with government funds and subsidized chargi (Score 1) 311

You're right that they're more efficient than combustion engines, but so are bicycles. The point is that fast charges are not the future-- they're a dead end to a technology.

Battery swapping, on the other hand, is the most cost efficient, environmentally friendly, and quickest form of refueling an battery EV.

I think chargers are a pretty reasonable solution to a relatively rare problem: how to recharge your car when you want to drive more than a couple of hundred miles at a stretch.

What's more, the batteries weigh quite a bit (http://www.roperld.com/science/TeslaModelS.htm) 1200lbs for the S. Anyone can plug a car in. 1200lbs of battery would be a bit rough to handle. Even 1/10th that would be too much to deal with.

Slashdot Top Deals

"Gotcha, you snot-necked weenies!" -- Post Bros. Comics

Working...