Chrome: Automatically detect language for spell checking - google-chrome

I use English and German interchangeably when I'm on the net with Chrome.
I really like the spell-checking functionality but find it a bit annoying that I always have to switch manually between the languages for spell checking.
Does anyone know a way how to automate that? Maybe there's a plugin?
Cheers!

This is being tracked in issue https://code.google.com/p/chromium/issues/detail?id=5102. You should "star" the issue to be notified of progress.

There is also this one:
https://code.google.com/p/chromium/issues/detail?id=1834
And this design document:
http://www.chromium.org/developers/design-documents/advancedspellchecker
The design looks a bit overkill, I hope they implement something simpler sooner.

Related

Extension like Picture-in-Picture (by Google) but for any part of the browser and not just videos?

Hiyah!
I'm sorry for this strange post, just need help articulating my thoughts into something practical. I really could use an extension to basically select any part of the browser window and use it as a floating window (always on top of other windows).
It'd be awesome if something like this existed and I'd love a name in that case! If not, maybe any of you know of similar open source projects that I could take a look at? I'd try to write my own extension if there's nothing like that, so basically could use any keywords to simplify my research. I've been learning full stack web dev for a few months now, so I think it's in realm of possibilities for me.
Thanks for your time!

Why design by contract isn't more popular?

In theory, it seems like a great solution for avoiding bugs, but why in practice we hear so little about it?
Why can't we see more support for it on Java or .net for example?
i have been searching around for this answer too. But it seems like its not popular among the programming world. Therefore theres not much people discussing about it.
I tried using it, however i find it a hassel to really think what contracts i should write while i am programming. However its good for debugging.
have you tried? whats your comments on it?

localStorage Isn't Accessible in Chrome's --single-process Mode

So I'm trying* to use Chromium's --single-process flag (yes, I know it's the most dangerous thing in the world, etc., no need for a lecture, thanks!) with localStorage, and for some reason, it looks like whenever Chromiums is started in single-process mode, localStorage no longer has any data accessible from it.
What's the reason behind this? And is there any way to get around it?
(If that means recompiling Chromium, let me know what I need to modify where.)
I have tried to search for some results about your issue, so I`v entered the irc (on freenode, #chromium channel) and because rsleevi don't have account I just copied our conversation:
Me:
hey, does anyone knows about Chromium's "--single-process" and localstorage bug ?
rsleevi:
<+rsleevi> That's a bit of a broad
question. But the easy answer is
"--single-process" isn't a "supported"
flag - it truly is intended for
debugging purposes only by devs. If
you're using/relying on it for general
use, then theres your problem :)
<+rsleevi> It's reasonably expected
that a number of things won't work or
won't work right in --single-process
Me:
yes I understand that is for debugging
pupposes, but I just want to know why
localStorage doesn't work well while
other stuff does :)
rsleevi:
<+rsleevi> Well, the answer is because
--single-process isn't "supported" :-) [13:58:32] <+rsleevi> The design of
new features always designs for the
multi-process scenario. If it happens
to work in --single-process,
serendipity, if not, c'est le vie
Me:
OK I understand. Just thought maybe
there is some "offical why"
rsleevi:
<+rsleevi> Generally, no, there's not
some decision "We don't want to
support X in --single-process"... It's
"X doesn't happen to work? Oh well"
<+rsleevi> If you're using
--single-process, realize that (just like the info bar says) you're running
without all the nice security
features, and your
configuration/features are expected to
regularly break or be unusable. I
really can't stress the
"not-supported" aspect enough, in the
hope that maybe I can sway you :-)
Me:
I don't know if you are a memeber on
stackoverflow, but I`m trying to help
this mate here:
localStorage Isn't Accessible in Chrome's --single-process Mode
, maybe you can answer his question (
if you are a member )
Don't want to take your copyrights :)
rsleevi:
[14:09:57] <+rsleevi> Heh. I don't
have an account, sounds like your mate
doesn't want my lecture, but the
answer is just like the info bar says
"unsupported" :-) marsbear's second
answer is right on track - it's just a
development aide [14:10:08] <+rsleevi>
that is, Chromium development, not
general webdev
I know that there isn't a fully answer here, but maybe it will help you.

Gmail HTML5 Feature to "drop" attachments

I've seen this and I have to admit I'm pretty impressed:
(source: blogspot.com)
http://gmailblog.blogspot.com/2010/04/drag-and-drop-attachments-onto-messages.html
I'm almost certain that this is an HTML 5 feature (it's supported on Chrome and Firefox 3.5), and was wondering if somebody knew how is the browser feature called.
Bonus points for a tutorial/article on how to do something similar!
I believe this may be of help:
http://www.appelsiini.net/2009/10/html5-drag-and-drop-multiple-file-upload
For an HTML5 demo of drag-n-drop, check out:
http://html5demos.com/drag-anything
Seems like dragover, dragenter, dragexit, drop events + event.dataTransfer are how it all works. Putting it together with a multi-part/form ajax POST like the link that dhorn gave is more impressive in my opinion. I would hope that it could be done a little easier than that.

Drag and Drop from Flash/Flex to HTML and Vice-Versa

Is there a library simplifying the process of dragging and dropping between the Flash/Flex environment and the surrounding browser?
I've done some research on the process, and so far the closest thing that I have found is from HTML to Flash in a Floorplanning application. I have yet to find a demo going in the other direction however.
Is there a simpler way to do this now?
I didn't even think it was possible at first until I looked at that link, and I agree with their description that it will be very difficult to get working on all browsers / OS's.