News for hackers. Stuff that matters.
Re:What's new in Firefox 3.5 by axod on Friday May 01, 2009 @04:27AM (#588255)
Awesome stuff.

+ Mibbit as default IRC:// link handler

Re:What's new in Firefox 3.5 by nuclear_eclipse on Friday May 01, 2009 @04:27PM (#589092)
Congrats!
Re:What's new in Firefox 3.5 by felixmar on Friday May 01, 2009 @05:30AM (#588295)
The audio and video element support is good for the open web but still needs work to be an alternative to Flash and Silverlight because currently it is too slow. It's not just because of Theora. Ogv videos play noticably better outside Firefox. Safari's video element support (using H.264) is much better.
Re:What's new in Firefox 3.5 by cake on Friday May 01, 2009 @06:42AM (#588335)
I can't wait the day I won't have to load a Flash video.

It's such a painfull experience. It'll be the beginning of the end of Flash, which makes me happy.

Re:What's new in Firefox 3.5 by rmaccloy on Friday May 01, 2009 @03:37AM (#588226)
I think the support for web worker threads (OS-level, presumably preemptive multithreading for JS) is potentially the most interesting part of this release, although I don't know how lock-free they are.

Moz: https://developer.mozilla.org/En/Using_web_workers WHATWG: http://www.whatwg.org/specs/web-workers/current-work/

Re:What's new in Firefox 3.5 by axod on Friday May 01, 2009 @04:49AM (#588273)
I really dislike this to be honest. Not having threads ensures the language is nice and simple and pure. Threads in what is pretty much an event driven language, make very little sense. What operations 'block' in js? Threads encourage sloppy inefficient programming.

If you start 20 WebWorkers, and it's faster than having 10, you have to ask some serious questions of the interpreter/VM. Like whether it's insane.

It should really be up to the interpreter/VM to be able to spread the work over multiple cores, not the programmer of the js.

Re:What's new in Firefox 3.5 by mbrubeck on Friday May 01, 2009 @11:14AM (#588586)
In terms of the programming model, web workers are processes, not threads. They have no shared state, and use asynchronous message passing as the only inter-process communication - very much like Erlang. This makes them very simple, and fits in perfectly with JavaScript's existing asynchronous event-based model.

"What operations 'block' in js?"

Web workers are important because everything blocks in JavaScript. JS in the browser is single-threaded, which means that if you do anything computationally intensive (reading from a Gears database, sorting a huge array, image manipulation on a Canvas element) then your page can no longer respond to UI events until the processing is finished. Without worker processes, the only way to do long-running computation without blocking the UI was to implement your own cooperative multi-threading by "yielding" with setTimeout(fn, 0).

(Note: I'm talking about the model exposed to JS programmers, not the underlying implementation which might be based on native threads, native processes, or green threads.)

Re:What's new in Firefox 3.5 by axod on Friday May 01, 2009 @01:45PM (#588837)
>> "the only way to do long-running computation without blocking the UI was to implement your own cooperative multi-threading by "yielding" with setTimeout(fn, 0)."

Yeah I much prefer that method personally.

Re:What's new in Firefox 3.5 by rmaccloy on Friday May 01, 2009 @03:43PM (#589012)
Indeed; I kind of did the spec a disservice in calling it multithreading.

Moz states it uses OS-level threads, though, and I expect that's what all the common JS/DOM implementations will use.

Re:What's new in Firefox 3.5 by gjm11 on Friday May 01, 2009 @11:18AM (#588589)
Hmmm. Brendan Eich in 2007:

http://weblogs.mozillazine.org/roadmap/archives/2007/02/thre...

'''So my default answer to questions such as the one I got at last May's Ajax Experience, "When will you add threads to JavaScript?" is: "over your dead body!"'''

Re:What's new in Firefox 3.5 by mbrubeck on Friday May 01, 2009 @11:25AM (#588598)
From his comments on the same post:

"I think message passing shared nothing beats shared memory preemptively scheduled threads."

So Web Workers are an implementation of his preferred solution.

Re:What's new in Firefox 3.5 by hsuresh on Friday May 01, 2009 @01:21AM (#588129)
Quite feature rich for devs. Geolocation, native video support, XmlHttpRequest across domains and offline/local storage are my favourites. And that is not even the end of the list. Btw, have you seen this -> http://blog.mozbox.org/post/2009/04/12/Firefox-35:-a-new-exp...
Re:What's new in Firefox 3.5 by Xichekolas on Friday May 01, 2009 @10:17AM (#588524)
Really excited to try out things with TraceMonkey and the DOM workers. Also:

"The String object now has trim(), trimLeft(), and trimRight() methods."

You know, it's a little thing, and easy to implement yourself, but I'm still glad this finally got added.

Re:What's new in Firefox 3.5 by chaosmachine on Friday May 01, 2009 @10:26AM (#588536)
Probably my favorite feature is the much-improved scrolling on OSX. It's just as smooth as Safari now.
Re:What's new in Firefox 3.5 by jokermatt999 on Friday May 01, 2009 @07:23AM (#588351)
Although 3.5 has some interesting stuff, I'm really excited for the Taskfox/Ubiquity integration (https://wiki.mozilla.org/Taskfox). I think it could actually make the Awesome Bar much better. Not to mention, I'm sure we'll see a lot more work on it once it's integrated into Firefox. Hopefully users will still be able to submit commands.
Re:What's new in Firefox 3.5 by paraschopra on Friday May 01, 2009 @04:45AM (#588271)
Biggest happiness for me: Improved Synchronous XMLHttpRequest support
Re:What's new in Firefox 3.5 by JoeH on Friday May 01, 2009 @09:53AM (#588487)
Download link to Firefox 3.5 beta 4 (in case you were like me and it wasn't blindingly obvious): http://www.mozilla.com/en-US/firefox/all-beta.html
Re:What's new in Firefox 3.5 by mynameishere on Friday May 01, 2009 @02:05AM (#588160)
Did they allow users to disable the "awesome" (ie, "shitty") bar? Serious question, because at some point I'll have to switch to IE or something...
Re:What's new in Firefox 3.5 by catch23 on Friday May 01, 2009 @02:09AM (#588162)
There are firefox extensions that turn it into a normal entry box, although personally I love the awesome bar. I can't switch to any other browser now because I hate having to type out the whole url all the time. I can just type "hac" in my toolbar to go to hacker news.

FYI, in IE8, typing "hac" in the url bar sends you to a google search on "hac". In Safari, you end up at http://hac.com.

Re:What's new in Firefox 3.5 by FooBarWidget on Friday May 01, 2009 @03:34AM (#588223)
Seconded. The awesomebar is one of the best Firefox features.
Re:What's new in Firefox 3.5 by quoderat on Saturday May 02, 2009 @04:26AM (#589680)
How does anyone actually tolerate the awesome bar? When it debuted, I thought it was some kind of prank.

I still kinda do.

Re:What's new in Firefox 3.5 by johnyzee on Friday May 01, 2009 @05:59AM (#588308)
You can also just type 'n' (if, like for me, HN is one of your most frequently visited sites).
Re:What's new in Firefox 3.5 by Hexstream on Friday May 01, 2009 @08:59AM (#588426)
I can already do this with Firefox 2.0 (Firefox 3.0 from the Ubuntu repository crashed for me when I installed a new version of Ubuntu so I had to downgrade Firefox).
Re:What's new in Firefox 3.5 by rmaccloy on Friday May 01, 2009 @03:29AM (#588217)
You can turn autocomplete off or have it only complete history/bookmarks (I just upgraded and checked.)

This turns all completion off though, even URL prefix matching (as opposed to the awesomebar 'anywhere in the URL/page title matching'), which I'm guessing you don't want. There are some entries in about:config (browser.urlbar.match*) that might make it do what you want.

Safari 4 does some subset of the super-matching thing too now; I find it kind of a mixed bag (I end up autocompleting to HN/twitter way too often) but am slightly on the side of it being helpful, although more intentional history search would probably work just as well.

Re:What's new in Firefox 3.5 by alexfarran on Friday May 01, 2009 @05:44AM (#588304)
Would be nice if they could speed it up a little.
Re:What's new in Firefox 3.5 by vaksel on Friday May 01, 2009 @03:17AM (#588207)
how is it shitty? I personally think its great, since you no longer need to remember urls, since it matches both urls and page titles.
Re:What's new in Firefox 3.5 by cookiecaper on Friday May 01, 2009 @03:18AM (#588209)
I find that the awesome bar is increasingly awesome with more usage. I didn't like at all at first, but it really grew on me after a while.

As far as I know, there is no official plan to remove the "awesome bar".

Also, I can't until Ubiquity becomes standard. There's a disappointing lack of plugins for it at the moment, and standardization will really help that. :)

Re:What's new in Firefox 3.5 by Derferman on Friday May 01, 2009 @01:15AM (#588128)
The new geolocation feature is creepily accurate. This page found my exact location.

http://channy.creation.net/project/firefox/geolocation.html

Re:What's new in Firefox 3.5 by indiejade on Friday May 01, 2009 @09:22AM (#588446)
45 minutes north, on the other side of the Bay. Phew. Thank goodness for proxies.
Re:What's new in Firefox 3.5 by mshafrir on Friday May 01, 2009 @01:32AM (#588144)
The geolocation put me about 8-10 miles south of my actual location.
Re:What's new in Firefox 3.5 by didroe on Friday May 01, 2009 @08:23AM (#588393)
Mine too! Scary stuff.
Re:What's new in Firefox 3.5 by Raphael on Friday May 01, 2009 @03:15AM (#588206)
Does this mean it's out of beta?
Re:What's new in Firefox 3.5 by gjm11 on Friday May 01, 2009 @11:19AM (#588592)
Nope. Still at beta 4.