328 points · by joshmoz · 12y ago · 184 comments
Anyone interested should learn what continuations are (in Scheme).
Does this mean that we can use Task.js in ordinary web pages now?
[0] http://cs.brown.edu/courses/cs173/2012/book/Control_Operatio...
I always thought generators were merely a way of making convoluted iterators, but when I realized that you can put your application logic inside a generator, in my head, it immediately turned it into a "how did I ever code without this before" kind of feature.
I just hope other browsers (especially IE) follow suit in implementing this feature
We don't use JSC here, so I couldn't make a good case for extending the work to cover Safari as well. Anyone wanting to help implement them in JSC has two good blueprints to work from.
I reached out to the IE team back when Andy was still early in the implementation and let them know what we were doing and what the release timeframe was in the hopes that it would help prioritize generators on their side, but I have yet to hear a peep about IE support.
Maybe all we need are some benchmarks? :)
edit: typo
It's also quite fun that you can embed a simple prolog in languages with generators fairly easily too: http://yieldprolog.sourceforge.net/
I've decided to change it again, so I'm going to give Firefox a try during this month. For now, it looks really nice, performance seems to be quite good and the feeling of getting at least a small part of my digital life away from Google feels nice as well.
Tomorrow I'll be trying out the Firefox' developer tools.
I'd be really happy if Firefox convinced me to stay, as I really love what Mozilla is doing for the web community.
If you love what they are doing then I urge you to stick with Firefox in the future. Firefox is the only major browser that is free software. Chrome is proprietary and sends a lot of your data to Google. Google entices a lot of programmers with their developer tools, but it's not worth trading freedom for.
Besides, if you would like take a tiny amount of market share from Google (thereby weakening their ability to set standards such as the W3C's "EME" DRM, which they support), you know that using Firefox is the right thing to do.
It also shows Google that you're not buying into their free/nonfree paradigm that discourages developers from making apps/extensions not approved by Google's stores.
Also, Chromium OS, as distributed by Google, is not free of surveillance mechanisms such as the omnibar. You'd first have to audit, hunt and remove these features, or trust a third party to do this job for you.
Besides, in my experience, there are fewer good FOSS extensions in Chromium, in particular anti-surveillance ones, but that depends on what extensions you want.
I think this dumbing-down approach Google is doing with all their apps and websites will only alienate more and more professionals out of using their platform.
I feel like Chrome is better when rendering stuff - like we've got this plotted graph in our app's admin, rendered with Javascript and I believe HTML5 Canvas or something, with too many points on it and Firefox can't handle the rendering, it chokes, whereas Chrome can do it. On the other hand, I feel like Firefox is snappier in general.
Mozilla guys, you really want to annoy your users again? Why?
I don't think I would trust their judgement about how my SSL is doing.
I am happy about this Firefox release; it is not just that you had to be an advanced user to get TLS 1.2 previously but that doing so would break over half the web. Now it is possible to use TLS 1.2 where available and not use it when not available.
For you Windows server operators out there, I suggest IISCrypto to order your cipher selection (this works on desktop versions of Windows too).
And it already happened few times (ex. http://en.wikipedia.org/wiki/DigiNotar#Issuance_of_fraudulen...).
Imagine what US government agency can do.
Google's stated reason for developing Chrome was to push web browsers forward as a platform. Whatever you think of Chrome now, I think in that objective they succeeded admirably.
* Scrollbars have now changed, there are no up and down arrows. This has really confused our elder staff.
* Application shortcuts have started hanging and throwing the "Jim" screen, but the same web pages work fine usually.
* Java is awful to get installed and unfortunately we need that.
These have made me want to try Firefox even more, and seeing Generators has made me switch to the nightly build to see what else is up and coming!
Nice work Mozilla!
There are some things I use Chrome for, like its JS profiling tools, but every time it freezes and forces a restart I go back to FF. Been staying with the latter more and more lately.
In contrast, I know several Firefox users who regularly have open several hundred tabs, and one guy who sometimes exceeds a thousand. (Yes, a thousand.)
(And if you're about to respond with "why would anybody need that many tabs?", please don't. It's a tired topic; just accept that there are many different and valid ways to use a web browser, and yours is just one of them.)
Take a look at XULRunner and the Chromium Embedded Framework (CEF).
If you want to see CEF in action, try Brackets:
https://blog.mozilla.org/community/2014/02/03/firefox-27-new...
Looked up some past numbers:
Firefox 24: 43 new contributors, 32 volunteers
Firefox 25: 51 new contributors, 39 volunteers
Firefox 26: 43 new contributors, 27 volunteers
Firefox 27: 41 new contributors, 35 volunteers
I think Mozilla considers its employees and the employees of known major contributing companies to not be volunteers.Not sure if it's the addons but I recall having similar issue on a fresh install. If anyone from Mozilla reading this has any pointers, please let me know.
Edit: Also the one other thing that frequently bugs me is FF not honoring the Android intent system. YouTube and Play Store links when opened in FF give me no option of opening them in their respective apps - it goes straight to the URL. I guess I'll file a bug for this issue.
On the worse side, unlike some other browsers Firefox doesn't raise intents for redirected URLs, missing some opportunities to match appropriate apps. I believe the underlying issue is that too many redirect situations are ambiguous (especially if you might not be the default browser). I mostly deal with this with an external wrapper (Browser Auto Selector, Unshorten or the like), but it's still a weakness.
On the other side, the Firefox intnet feature that I love is that when you long-press/right-click/etc on a URL that matches some non-browser apps, you get the option of opening it in those apps (for YouTube, the Play Store, Twitter, etc.). I haven't seen any other browser with that option (though, to be fair, I spend most of my time in Firefox). It would be extra-wonderful if there were a reliable way to hit the YouTube link from an embedded video, but even without that, it's very handy.
I can quibble that I wish it were a bit more obvious and that the Android icon appeared before the page started loading (next to the X), but it is still going to make many things more convenient for me.
Great find, I hadn't noticed that one before! It does make things better.
For page load lag, addons like ABP are often especially bad because they're running the URI of each request against a bunch of regex filters to determine if the load should be allowed to begin.
Re. Play links and such, those have been showing up for me in the context menu (long press) at least with Firefox Beta.
Edit: Looks like it'll release in March: https://developer.mozilla.org/en-US/Firefox/Releases/28
Worth noting for designers since it'll implement background-blend-mode too: https://medium.com/web-design-technique/6b51bf53743a
https://hacks.mozilla.org/2013/11/live-editing-webgl-shaders...
Anyways, powerful new tools for developing WebGL.
Edit: As Jare mentioned (https://news.ycombinator.com/item?id=7178225), the editor is disabled by default. Check Toolbox options.
While I'm whining, is it possible to show the console at the same time as viewing the source for files? The fact that I have to switch between the console and source tabs in FF is pretty much the only reason I use Chrome for debugging.
For the vertical split thing, opening a bug is the easiest way to get the feature in [1].
[1]: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&c... (this is a URL with the right bugzilla component. just log in, fill the blanks and submit)
This split console feature landed in 28 (so it is moving up to Beta now): https://hacks.mozilla.org/2013/12/split-console-pretty-print...
[0] https://groups.google.com/forum/#!topic/Google-Web-Toolkit/Q...
On the IDE side, IntelliJ 13.0.2 can attach a debugger to Chrome and provide an in-IDE java debugging experience using source maps. Similar work is ongoing from James Nelson for the Eclipse plugin.
Firefox recently added support for column number support in stack traces, so eventually, Java IDE debugging using sourcemaps attached to Firefox JS debugger should be feasible.
In the mean time, GWT developers who use Firefox will need to stick to Firefox ESRs.
TLS on by default and all:unset support seem like kinda big deals to me.
Just in time to use it with nginx 1.5.10 :P
[1]https://www.mozilla.org/security/known-vulnerabilities/firef...
In short, no, they wouldn't.
"Sandboxing" and "process separation" are not magic smoke.
(that is taken from a PR5 hospital site, should be pretty indicative of the general market.)
http://arstechnica.com/information-technology/2014/02/window...
Well, no. No browser fully supports all HTML5 features. It's all a work in progress.
I guess your app happens to use features present in chrome, but other browsers lead in other areas. Off the top of my head, firefox had webrtc binary datachannels (important for multiplayer games) earlier. And a comment above mentions ES6 generators as well.
Screen sharing via get user media was added in this release Fx27, https://bugzilla.mozilla.org/show_bug.cgi?id=742832
Audio/Video support has been in Firefox since Firefox 3.5 https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Usin...
Most users will never get around to finding them and trying them out.
http://mozilla.dorando.at/keyconfig.xpi http://forums.mozillazine.org/viewtopic.php?t=72994
if you get firefox directly from mozilla you'll have mozilla autoupdates.
in general, both are fine..
This link provides some details on how Firefox will deal with bad actors. https://developer.mozilla.org/en-US/docs/Social_API/Criteria
You may need to get your perception of time checked. ;)