Tuesday, November 2, 2010

Leaflet Price List Hairdressing

Flash

This game looks like a classic Pong. With the only difference is that one part is created using Flash and the other using HTML5. You will notice while playing with confidence, which is which? Or both behave the same? Of course, without having to examine the site, then it was all very clear.


Source: Mashable

Monday, November 1, 2010

How To Write Memorial Candle In Wedding Program?

Michael Mahemoff: to create software not learn just by reading books (Interview)

Michael Mahemoff works in Chrome as Google Developer Advocate. For many years writing for Ajaxian and in 2006 wrote a book Ajax Design Patterns. He is the author of useful tools such as ListOfTweets.com and funny project of IE6IsOlderThanYourGrandpa.com . Blogging for Softwareas.com and tweetuje as @ mahemoff .

You Can Switch to Česky .

You write for the past five Ajaxian years, so watch the events detailed in this field. What do you consider the biggest changes in the world of JavaScript and Ajax for the last five years?

There was a pile of incremental changes, such as to deepen our understanding of JavaScript and to explore the library and tools such as Firebug and jQuery to make life easier for developers. Another benefit was a significant performance improvement. But the crucial post-Ajax change can be seen recently on the new capabilities of browsers, ie HTML5, CSS3 and related Technologies such as the Geolocation (which for simplification of all refer to as "HTML 5"). Previously, it was not possible to work with advanced video and graphics, regardless of how good you were in JavaScript. You had to resort to the use of plugins, hacks and obezliček to get the skills required for modern applications. Today, for many of these capabilities, there are APIs defined set aside as open standards. Unlike previous techniques are usually faster, safer and easier for developers.

Michael lectures at JSConf 2010 (Source: Flickr )

along with software engineering, you also studied psychology. As these fields go together?

in many cases. This penetrating and fascinating as usual theme has always been artificial intelligence. But in recent decades, mostly academic waters User Experience surfaced and became a key subfield of modern software development. Note that the reviewers today are classified among the factors and user-friendliness, people expect that the products are intuitive. This can be achieved only with an understanding of human psychology, which means more than just speculation, is a branch of psychology based on facts.

you wrote a book Ajax Design Pattern to you from blogging and programming had to write the book?

book was based on my blogpost on the same topic. It was shortly after he created the term Ajax. People were excited, my text scored in the right sites (Delicious Popular, etc.) and my O'Reilly asked me to write a book about it. I continued blogging at the same time demonstrations and text books on the wiki.

If I ever write another book, perhaps avoiding the use of a wiki and I will concentrate more on the blog, or at least with comments on the wiki. It's better if you ask for feedback. For people rarely tackles the editing long articles written by one person. (And when it does, it is half the spam!)


Michael teaches at JSConf 2010 (Source: Flickr )



some time you've spent TiddlyWiki. It is rather curious project. What do you like about it? (Note: TiddlyWiki is a wiki distributed as a single HTML file.)

I worked with in Osmosoftu TiddlyWiki, an innovative group BT, led by the creator of TiddlyWiki by Jeremy Ruston. But the TiddlyWiki code, I was interested before, when I wrote the Ajax Design Patterns. Definitely not a typical project. Like I was joking, that as one of the few people in the world, I have paid me to create a Web application running on the protocol "file".

TiddlyWiki is essentially composed of one single file that contains all the HTML, cascading style sheets and JavaScript. This was in itself an innovative idea back then, but what makes it more unique is the ability to save the application on a local disk without browser extensions without the offline storage API from HTML5. It is possible to use Active X in IE, the native API in Firefox and other browsers by the applet in the second set. You can easily create a persistent web applications and even the "guerrilla" multi-user applications by simply placing the HTML on a shared drive.

Another cool feature is the plugin system. While TiddlyWiky by default acts as a personal wiki, it can easily create a blog, presentation or anything else. I recorded a screencast describing how within 15 minutes to create a forum . TiddlyWeb to use because it is a forum hosted on the server, although it was developed protocol "file".



With Michael Mahemoffem you can personally meet 15th November, hackathonu , the day before the GDD. (In addition, the event will see all day with me, because I was among the organizers 8-)

Interested in HTML5? Build development team and try for one day program useful applications. We give it to you: space, refreshments, Internet access and support for several Google developers during the day.

The server portion of the application can create in your favorite language. The client must use some of the options HTML5.

If HTML5 yet really do not understand, do not despair, for an overview, check presentation on HTML5Rocs . The site developers at Google (including Michael), who will be available throughout the day and advise you.

Join , we look forward to seeing you.

more information, visit Facebook or Twitter .

Hackathon organized GUG.cz in partnership with Google, and czu.gug.cz Business and Economics Faculty of Life Sciences.



hackathony you like. What do you consider the greatest contribution hackathonů?

Some hackathony I loved. Software engineering as a discipline has its strengths and weaknesses. And the real strength is the ability to create something absolutely stunning in a single day. Of course, many people hackathonech something so good to create, but at least it creates something, and thus learn a lot.

Hackathony celebrates this amazing what happens when you start the day with a small germ of an idea and finish it by showing the finished work of others. And includes social benefits - make new acquaintances, to work with others and learn from each other. And as much as the participants want. Some prefer to work alone - that's okay.

addition to creating software not learn just by reading books or listening. We can guess why this is so, but most developers will agree that to understand the basics you need to roll up our sleeves and get into your own coding. Hackathony are the ideal environment, it's a safe place where your output is not critical and you have many ways can someone advise and give feedback.

What was the longest hackathon which you participated?

In BT we practiced agile approach and actions are carried out intensively for three days. We tried to put together all the stakeholders of the project and gain the attention of users, so we can work with them and ask them to test the emerging work. We clarified our ideas and plan the next iteration.

It was not perfect. I sometimes had the feeling that the right balance we need more developers, we can do events that focus on creating actual projects and their presentation at the end of each day.

Some said that this is how the software occur every day - not to be the occasional big bang. But I think in large multinational corporations, the actions of the "big bang" the best feasible way. Most of these actions should really benefit the company.

So you organized Osmosoftu hackathony business? Why should companies organize their own hackathony?

Yes, they were very effective, and finally we have held about once a month. I've got fond memories. Osmosoft had a number of internal customers and external partners. In the morning we met up with the customer - usually a few of them came. We agreed on user scenarios, their priorities, and We started with hacking. Usually an hour or two sprint. We started at 10 am and the result of the work presented at 7 pm. Meanwhile, sprints, standup meetings to synchronize and schedule the next sprint. If it was, all the time we checkovali the GitHub repository or similar, and we tweeted about the event. The plan was not odprezentovat our work but also publicly to start a web application (this is often wrong).

I must emphasize two important points. Firstly, our progress was very fast, which surprised most of our customers. This was due to our emphasis on re-use - each project was not only an opportunity for creating new applications, but at the same time a series of components that we could use in other projects. It was not us Enteprise great vision, but to create a plugin for padesátiřádkového TiddlyWiki is doing something useful. Could it be a plugin for comments, graphics editor or word counter.

Second, openness may be in the context of forming a new product is surprising. We could not afford it because I built the framework based on plugins. Osmosoft to the creator of open source to create an open source component and thus the application, which in large part on the cost of these components. BT may modify it for their own needs as well as any other business (eg our external partners). My jsme byli součástí BT a tak jsme jim nabízeli přímou podporu k úpravě aplikací. Ale ukázali jsme, že open source může i v případě velké společnosti fungovat a předvedli jsme přínosy hackathonů.

Letos na jaře jsi začal pracovat pro Google jako Chrome Developer Advocate. Jak ses k té práci dostal? Byl to tvůj nápad nebo tě Google oslovil?

Byl jsem osloven jednou osobou z Googlu a pak jsem už prošel klasickým přijímacím procesem.

Chrome podporuje rozšíření, podobně jako řada dalších prohlížečů. However, each browser has a different implementation. It would unify the interface to be able to write the extension once and run everywhere, then?

usually called write once, run many, this is a great advantage for the development site itself. The downside is that it can prematurely halt the process of innovation. Such a mechanism Firefox extensions allow amazing things - like such Firebug, but the current developers are hard at it form the start - there's room left for further improvement, it was too early for standardization.

Today's Chrome for the extension mechanism, which is akin to web developers, Mozilla has JetPack with Opera and Safari also support the extension. Hopefully people will begin to draw Venn diagrams, and find out what are the different mechanisms in common. But just in case it does not stop innovation in other browsers. Chrome recently offered the extension to be able to add to the context menu, something like this would not be blocked standardization process.

How many Google Developer Days recite?


lecturers will be on three European GDD (Munich, Moscow and Prague), for each will have two sessions: Google Chrome Extensions, and HTML or Native for Mobile Development. On the other I, together with Android lawyer Rete Meier.

Have you ever been to Prague and this is your first visit? What are you most looking forward to?

In Prague, I still have not. The most important For me GUG action against GDD. The Czech Republic has a strong developer community, I look forward to meeting with local developers and what he will come.

Thank you for your time

Questions raised by Martin Hassman, matched by Michael Mahemoff.

And if you thought hackathonů, do not hesitate and register an account with our hackathon to organize the 15th November in Prague.

Back Pain More On Left Side

Michael Mahemoff: You can not just learn by reading or listening (interview)

Michael Mahemoff works for Google and Chrome Developer Advocate. He has been writing for Ajaxian for Many Years and wrote Ajax Design Patterns for O'Reilly in the 2006th He is the author of Useful Tools and dry ListOfTweets.com myös and funny project, IE6IsOlderThanYourGrandpa.com . He blogs at Softwareas.com and tweets, and @ mahemoff .

You can read Czech translation. There is United translation available.

You have been writing for Ajaxian five years already, with the field you watch this very Closely. What Were the most important changes in the JavaScript-and AJAX-World During last five years from your point of view?

There have been plenty of incremental changes, like our understanding of JavaScript getting more sophisticated and the introduction of libraries and tools like jQuery and Firebug to make life easier for developers. We've also benefited from massive performance improvement. But I think the most disruptive change, post-Ajax, is what we've seen recently with the new capabilities of browsers, i.e., HTML5, CSS3, and related technologies such as Geolocation (all of which I collectively refer to as "HTML5" for the sake of convenience). No matter how fluent we became with JavaScript and the like, it was still not possible to do things like video and rich graphics. To achieve the kind of capabilities modern apps required, we had to resort to browser plugins, hacks, and workarounds. Now with HTML5, we have dedicated APIs for many of these capabilities, defined as open standards. Compared to the previous techniques, they are based on open standards and they are typically faster, more secure, more powerful, and easier for developers to work with.


Michael speaking at JSConf 2010 ( from Flicker )


You studied Psychology in addition to Software Engineering. How do these subjects go together?

In many ways. Artificial intelligence has always been the obvious intersection and remains a fascinating topic. But over the past couple of decades, User Experience, has come to the fore and emerged from a rather academic niche into a key sub-discipline of modern software development. You see product reviews now which include User-Friendliness as a factor; people expect products to be intuitive. You can only do that with an appreciation of human psychology, which means more than just speculation; psychology is an evidence-based discipline.

You wrote book Ajax Design Pattern. How you got to writing book from blogging and programming?

The book was the product of a blog post on the same topic, where I got inspired to collect ideas after seeing the Ajax term coined. People got excited, it hit a few of the right sites (Delicious Popular, etc.), and O'Reilly approached me about writing a book. I continued blogging excerpts as well as writing the entire book on a wiki. If I write another book, I would probably avoid the wiki approach and concentrate more effort on the blog, or at least a wiki with comments. It's a better way to solicit community feedback as people will rarely make edits to a long article that is mostly one man's voice. (And when they do, it's spam half the time!)

Michael speaking at JSConf 2010 ( from Flicker )


You spent some time working with TiddlyWiki. It is a little bit strange project,isn't it? What do you like on it?

Yes, I worked on TiddlyWiki at Osmosoft, an innovation group inside BT which is run by TiddlyWiki creator, Jeremy Ruston, though I actually pored into the code much earlier, when I was writing Ajax Design Patterns. It's definitely different - I like to joke I'm one of the few people in the world who got paid to make web apps that run off a "file" URI. TiddlyWiki, at its heart, is a Single Page App - it contains all HTML, CSS, and JavaScript in a single file. This alone was innovative when it was first created, but what really makes it stand apart is its ability to save to the local hard drive, without any browser extensions and without using HTML5 offline storage APIs. It's possible using ActiveX on IE, native Mozilla APIs on Firefox, and resorting to a second applet file on other browsers, and it means people can easily build persistent web apps and even make "guerilla" multi-user apps just by sticking an HTML file on a share drive. The other cool thing is the plugin system. While TiddlyWiki is by default a personal wiki, you can quickly turn it into a blog, slideshow, or anything else. I recorded a screencast showing how to build a forum in 15 minutes . It also uses TiddlyWeb, so the forum is actually fully hosted on a server, even though its developed on a file URI.


You can meet Michael Mahemoff on HTML5 hackathon , on 15th November in Prague, register please ( Google Translate ).


You like hackathons. What do you see as the biggest benefit of hackathons?

Loves me some hackathon. As a discipline, software has strengths and weaknesses, and a major strength is that you can produce something completely awesome in a single day. Or of course, many people won't do exactly that, but they'll still build something and learn a lot in the process. So hackathons are a celebration of this amazing thing we do, where we can start the day with a seed of an idea and end up with a concrete manifestation of the idea. It's going with the flow, fitting in with the nature of software development. There's also a social aspect as well, people making connections, working with each other, learning from each other. And it can be as much or as little as the attendees want - some prefer flying solo, and that's fine too. Something else about software is that you can't just learn by reading or listening. We can debate the reasons, but most developers would agree you can only grasp the concepts by rolling up your sleeves and hacking out real code. Hackathons are an ideal environment to do that, a safe place where the output is not critical and there are plenty of opportunities to get feedback and assistance.

What was the longest hackathon you participated in?

At BT, we had an agile hothouse concept where the events went for three intense days.The idea was to pull together all the project stakeholders and put real users at the centre of attention, so we could work with them and ask them to test our emerging work. We could spike ideas and come out with a plan for the next iteration. It wasn't perfect. I felt like we sometimes needed more coders to get the balance right, in an event that was heavily oriented around building real products and presenting them at the end of each day. Some also argued that it's how software should work every day, not just an occasional big bang, but I think in a complex multinational corporation, such "big bang" events are the best thing realistically. I felt the principle was sound and found most of these events to be good value for the company.

So in Osmosoft there were hackathons inside the company? Why should companies try out their own hackathons?

Yes, they were incredibly effective and we ended up running them about one a month, as Osmosoft had a wide range of internal customers and external partners. Fond memories! We'd meet the customer in the morning, usually several of them present. We'd agree on user stories and prioritise them, and then we'd get hacking. Typically an hour or two per sprint, running from 10am and presenting our work at 7pm. Between sprints, a standup meeting to sync up and plan the next sprint. Ideally, we'd be checking into GitHub or similar repo the whole time, and tweeting the event. The ultimate plan was to not only present our work, but also host the resulting web app publicly by end of play (not that it always happened in practice).

There are two important points here. Firstly, we could move very quickly, in a way that often surprised our customer. The reason was our emphasis on reuse - every new project was an opportunity to build not just a new app, but a series of components that could be used on other projects. Not grand enterprisey whitepaper visions, but a 50-line TiddlyWiki plugin that actually does something useful, today. It could be a comments plugin, a graphical editor, or a word counter. Secondly, the openness may be striking in the context of a company building new products. We could do this because we were building a plugin-based framework. Osmosoft, as an open source provider, would make the open source components and an app which is mostly just a composition of those components. BT could then come along and customise it to their own needs, just as any other enterprise (such as our external partners) could pick it up and use it too. Of course, in practice, we were part of BT and we would offer them direct support in customising and deploying the apps. But we showed open source can work for a big company, and we showed the benefits of a hackathon.

You started working for Google in spring this year as a Chrome Developer Advocate. How do you got this job? Was it your idea or have you been asked by Google?

I was invited to apply for the role by someone in Google and I then went through a standard interview process.

Chrome has support for extensions as many other browsers today. But every browser has different implementation. Doesn't make sense to create some cross-browser interface for browser extensions? To make possible for developers to write extension once and run everywhere?

The obvious upside is write once, run many; which is a huge benefit of web development in general. The downside is the risk of stifling innovation too early. While Firefox's extension mechanism has led to wonderful things like Firebug, it's also been difficult for everyday web developers to jump into and left opportunities for improvement, so it was too early to standardise on something like that. Now that Chrome has an extension framework that's easy for web developers to pick up and use, and Mozilla has JetPack, and Safari and Opera also have extension mechanisms, hopefully people will start to draw Venn diagrams and work out where we have common ground. But only if it doesn't stop browsers from continuing to innovate in this area. Chrome has recently introduced the ability for extension commands to appear in the context menu; that's one example of the kind of ongoing improvement that shouldn't be hindered by a standardisation process.

How many GDD do you visit this year as a speaker?

I will speak at the three European GDDs (Munich, Moscow, Prague), in two sessions at each: Google Chrome Extensions and HTML or Native for Mobile Development. The latter will be me alongside Android advocate Reto Meier, so it should be a lot of fun.

Have you ever been to Prague or is it your first visit? What are you most looking for?

I've not been to Prague, But looking forward to it. The best thing for me Will Be The pre-GDD GTUG event. Czech Republic Clearly Has a strong web development community, so I'm looking forward to meeting the local developers and seeing what They come up with.

Martin Hassman WAS Interviewing Michael Mahemoff before HIS visit to Prague.

If you want to meet Michael at hackathon on November 15th, please register .

Wednesday, October 6, 2010

Decorations For A Summer Wedding

Avoid using HTML5! Not yet! He asked us said W3C

using HTML5? So stop it. At least for now. The HTML 5 is still early! About in this sense sounds InfoWorld interview yesterday with Philippe Le Hégaret from the W3C. He quoted more and more media and the Internet begins to spread. And with him the spread misunderstanding. So what's the Philippe from the W3C will actually say? And why? I'll try to explain it. After the bucket.

There is nothing new. Basically it is a different view of the complete specification between those specifications are, and those who use it. Going on three years ago, when the author HTML5 Ian Hickson said that HTML5 completed sometime in 2022 .

whole world when tapped on the forehead. Fifteen years? It really is not done before?

Ian responded to this: You start using it a lot earlier, but for us it will be done until around the 2022nd (For more detail see What about the completion date of the HTML5? of 2007)

He was right. Three years have passed (no fifteen!) And seems to really start using HTML5. Someone this year, maybe another year or two, but basically the issue today. (At least Web site content to use it already for some time on Friday and might not even know about.)

From HTML5 became Buzzword signifying progress and the company is showing off in his inflection on their presentations.

reality, however, remained unchanged. To complete the HTML5 will really be a great many more years (maybe the 10), like CSS2 is still not finished. (Surprised? It really is not!) That it is a different understanding of the completed specifications. And from this perspective, the W3C Philippe truth when notes that HTML5 is not yet finished, it is not quite ready yet.

And something that matters? It may be a problem?

the truth. It does not, but it can. With such a rapid move forward without looking left and right may appear smaller or larger problem. This most famous and largest problem, which in the past for exactly this reason occurred bifurcate the box model. Who do

sites a few years, remember a different box model of Internet Explorer and other browsers? Minor mistake, for which one blames Microsoft, the other W3C, but the truth is that the victim was a rapid progress. This "minor procedural bug" then a good ten years, an irritant to the millions of web developers.

similar errors with a similarly large impact can occur even today. And that is what we Philippe from the W3C is trying to say.

not for nothing that says that progress requires sacrifice. Fortunately, we have come to patch up similar problems in different frameworks. It would be the person mind, if there be 5 different incompatible APIs for HTML 5 when it could use a JS framework, for which he will resolve those differences?

So we can say that today time is ready to face similar problems better than the time some 10 years ago.

therefore have no choice but to Philippe W3C note, thank you for the warning, but we just against chance.

Sunday, September 12, 2010

Euro Or Standard Sham

Gloss and poverty HTML5 video

It's been a few years, what emerged in HTML5 draft marks for video and unified interface for the the playback (see articles tagged video ). Big fan of the idea from the start, certainly makes sense, it's just a shame that it did not appear for a few years earlier.

Anyway, since its inception has been received with strong skepticism. It's understandable. If fully operational, will have to find ones that will be present on all platforms (from Windows after the iPhone to be such), so that they were HTML5 video playback.

In the past two years, interest has grown about HTML5 video. No wonder. His implementations in browsers have begun to proliferate and while the specifications can happily nodding a few experts, and interactive video running in the browser to enjoy almost everybody.

With that she started to fall off the skepticism. Not quite right. Media crowing over every new HTML5 video la HTML5 version of YouTube was so great that It started to forget that the big problem is still ahead. And more importantly, it is not solved at the browser.

The browser was fairly soon (since 2007) clear that a common codec that would meet everyone there. This is a problem that browser manufacturers themselves can not solve. It was necessary to escalate it further. On another field. Among the codec manufacturer.

first attempt made about Mozilla, when it began sponsoring improve codec Ogg Theora, which is used in Firefox. However, fully opening the second (the important) phase of the "fight" for a single codec to year.

Reports opensourcování VP8 at Google or some relief from charges for H.264, are manifestations of this second phase. HTML5 video began finally to be so interesting that it has dealt with the codec manufacturer. And most importantly the opportunity to become the standardized codec (and thus in the near future, perhaps the most widely used codec in the world) must be quite appealing.

This battle is not over, the battle begins. All existing measures such as oťukáváním market and preparing for further negotiations.

It is like a chessboard

One side says it can not use the open source Ogg Theora codec for fear of hidden patents. (Deadlock). The other side of the punching bag over and opensourcuje more codec. (And negotiations can continue.)

Or

One side says it can not use the H.264 for problems with a paid licensing. (Again deadlock.) The other party will alter the conditions so that at least partially released charges. (Again, moving to further negotiations.)

It's all a game but the strokes rozehrávající. How will those who will be the winner, not yet known. Indeed not even know the names of all players in this game, anyone can join.

Although HTML5 video big fan, do not count, that this portion of the common ones on the site could be played out in the next 2-3 years. We are at the beginning, All cards have not yet been identified.

I firmly believe that finding a single codec in the end there, because now we all have been fully aware of the need for such a single codec. And where there is a need, there is even one day find a solution.

the campaign of the HTML5 single codec will not flash the battle, but rather protracted trench warfare. And we are just at the beginning. Despite all the reports on the progress we should be aware of this.

Thursday, June 24, 2010

Change Matlab License File

How does Geolocation in Firefox - a detailed (and exhausting) description

often hit the questions about Geolocation in Web browsers. People are sometimes confused by its results. Eg. wondering why their computer returns a different data than the other computer in the same room, etc.

explain in detail how it works in Firefox Geolocation. Perhaps then you can answer your questions. I will deal only with Firefox - the other browsers I've not examined in detail, but some of that can certainly be applied to them.
If you want a comprehensive look at issues, look at my lecture with geolocalisation would lose even Hansel and Gretel .

Let's start with the JavaScript code for geolocation geolocation

Use the website is quite easy. Just to call one function, namely: navigator.geolocation.getCurrentPosition (see upcoming W3C standard ).

And to try: full working example (note the top right panel, you have to confirm).

That's how it looks easy. But let's look at what exactly will happen since you allow your browser to identify the location to obtain the final coordinates. Yourself then you should be able to answer questions such as why Firefox sometimes returns the position precisely (in increments of 150 meters) and sometimes usable and has a scattering of many kilometers.

Step 1 The findings of geolocation data

If the viewer to determine your location, you must collect the information needed for geolocation. Such data are several. What is perhaps always available, your IP address (or public IP gateway through which you connect to the internet). By comparing the IP address of the relevant databases is possible to estimate your location. This is the worst figure Geolocation accuracy (dispersion units, tens, sometimes hundreds of miles - Prague has an IP address is located to the center of dispersion 140 km).

But better than nothing. The IP address is almost always correctly determine the user's country, the better if the city in which the user is located. (It's not perfect either. If as a user of the city and connected to the Internet through a VPN in city B, then in this way as the midway town of B.) Since the method is any better than Geolocation by IP address, the IP address only when nothing else is available. Otherwise ignored.

Does your computer Wi-Fi ? Then your position may be determined more accurately. If Wi-Fi to your computer turned on, Firefox will load all hotspots, which currently see (their names, MAC address and signal strength) and apply them to the geolocation (using up to a global database of Wi-Fi hotspots).

This option expires desktop Firefox. For mobile browsers in addition applicable even use the BTS in your area (it works on the same principle as the Wi-Fi with the difference that reaches beyond the BTS signal, thus Geolocation using the BTS will be less accurate than Geolocation using Wi-Fi). And finally there is the possibility using the GPS built into the phone.

We are counting on desktop Firefox, so we only know the IP address and Wi-Fi in the neighborhood.

Step 2 Queries Google Geolocation

I have indicated, that the mere knowledge of IP addresses, or Wi-Fi is not enough points, you need to compare them to a database containing the location of all (or not all, but a sufficient number of) IP addresses and Wi-Fi points.

Firefox to use Google's database. (The number of such databases, but Google is probably one of the biggest = best.) Google's compiled Geolocation API Network Protocol through which the Firefox (or your own applications, as they still show) to communicate with its databases.

in about: Firefox prefs Preferences found geo.wifi.uri key with the value https: / / www.google.com / loc / json.

This is the URL to the Firefox Geolocation API communicates with the Network Protocol. How does communication look like?

Let's say that my computer "sees" a Wi-Fi called "default" and address "00-0e-2e-7d-7d-0E". The request looks like this: {
 
"Version", "1.1.0",
"wifi_towers": [{

"mac_address": "00-0e-2e-7d-7d-0E"
"signal_strength": -49,
"SSID: "default"

}]}

Note that in addition to the protocol header with a version number contains only the Wi-Fi point, nowhere in it does not feature information about your IP address. There needs. Google to use an IP address from which his request arrives.

Note: If you would like communication between Google and eavesdrop on your browser and you have a problem with HTTPS, you can change geo.wifi.uri value of http://www.google.com/loc/json (notice the change log of HTTPS to HTTP). Just want to log the data that Firefox sent geolokačním protocol, the service proved to me http://www.postbin.org/ set geo.wifi.uri to generate postbin and see what Firefox sends. (After testing geo.wifi.uri return to its original value.)

to privacy: geolocation requirements contain cookies. This is because of privacy. You are currently logged on to Google, but Firefox Cookies logged on to https: / / www.google.com / loc / json just not send. Some object that if Google really wanted to, you can connect the user's identity using an IP address and watch it anyway. It certainly can.

On the other hand, filtering out cookies, Google did what it was simply impossible. Your IP address will not filter out (if we do it have not some third party would conduct anonymous IP addresses, and this hand, we wholeheartedly believe ...).

The user is assigned an identifier, however, that the browser for some time, holds. Google can monitor the movement of a particular user, that user will not be represented by a cookie (ie googlím your account, ie their identity), but randomly generated identifier. I assume that Google uses to monitor the construction and renovation of its global database of Wi-Fi points and BTS (geolocation when in fact both determined by your location, but at the same time and builds a database with Google - the wonderful solve engineering problems).

Summary: The geolocation therefore some reasonable privacy takes place, even though it is theoretically overcome by Google (if they want it, you will find you and that's it!).


Step 3 How Google determines the location

We ended up sending a request to the URL https: / / www.google.com / loc / json.

Google Answers as follows:
 {"location": {

"Latitude": 50.1001961,
"longitude": 14.4228038,
"Accuracy": 150.0
}
access_token ":" 2: Ta5Y_rSUZbO4rpJD: _FXkzUcxD1OWG-YM "
}
result we can see on the map . Visitors to the Prague meetings and Ruby Last Saturday certainly know that this is a well-known firm called Fractal.

access_token item is ONEM said identifier is assigned by Google to you and who will bear the additional requirements of Firefox geolocation.

Note that using Wi-Fi can draw really well. Took one Wi-Fi, and we have our position in increments of 150 meters! So it really is. I have the same experience made a number of other places not only in Prague, Plzen and Brno. Geolocation using Wi-Fi is incredibly accurate.

The fractal is, in fact, 3-5 Wi-Fi points. The request will be sent to all Google, but he just one of them (does not matter which).

Exceptions: Even in cities there are places that Google has targeted precisely. The exceptions, but rarely come across and do not always last long. Google's database is samoopravující.

I watched a few poorly aimed points and in a few weeks or months to clarify their position. Similarly, it is when a Wi-Fi point moves (if someone moves to another town Bring Wi-Fi router), even in that case, the position eventually stabilize at a new location.

(The observant reader just discovered the way to easily track, which moved its neighbors. If you bring my Wi-Fi router can be over time to determine their new residence with an accuracy of 150 meters. And in virtually any part of the civilized Globe!)

If you get a new Wi-Fi router, then a few weeks and months we will get into the database. (If you wonder how, read what it means wardriving or warwalking .)

Is your Wi-Fi router in Google's database?

It easy to see. I prepared to simple tool (it is a simple application that directly asks Google Geolocation database). Just a text box, enter the MAC address of your Wi-Fi format, which uses the Geolocation protocol, as follows:
 {"version", "1.1.0", "wifi_towers": 
[{"mac_address": "00-0e-2e-7d-7d- 0e "}]}
and submit.

In 90% of cases, see your exact location (150m). However, if you this file, you are one of the few cases that are not in Google's database. Then Google uses the IP address (because my application is hosted at Google's IP address located in the sort of town in America).

If you have a new Wi-Fi router that Google has not yet knows, or if you have the solitude that the Google database still does not know, deliberately observe how long it will take to discover the database.

Now you need to know everything about the Geolocation. Or not? Let's have some facts.

Wi-Fi base

If you are in one room, two computers and one of them has turned on Wi-Fi, so that with Wi-Fi should you have to locate exactly (those at 150m). Try it at maps.google.com (blue button top left) or JavaScript to my demo the beginning of the article. A computer without Wi-Fi quite usable, and conversely you probably fit somewhere in the center of the nearest big city. You can try it on the same computer on or off Wi-Fi (sometimes need to restart Firefox in the meantime, changes to take effect).

What if Google sends inconsistent data?

I do during my experiments I tried 8-) The standard requirement for Firefox sends a list of Wi-Fi points in the neighborhood, Google will find their position in the database and then provides them user location (probably as the center points of all Wi-Fi access - at the moment ignores the signal and takes into account only the position of points).

What if you could get a claim which would also include Wi-Fi points in Prague and Brno? What to do? Stupid is not. He knows that such a large Wi-Fi signal does not. Decides, according to the individual points. If you request him to send one point from one of Prague and Brno, not by what they catch and Wi-Fi geolocation to apply (it still remains an IP address, which may touch).

If I sent from Prague 1 point and 2 points in Brno, then the point of Prague is considered as invalid, and Google uses geolocation to those two points in Brno (the same logic that works even when the higher number of points).

Note that we have just shown a mechanism by which Google can use to samoopravování its database. If, in fact even with its Wi-Fi router moves from Prague to Brno, so she comes exactly the above situation. Geolocation, and I run my computer Brno probably see several Wi-Fi points and one (my) in Prague. If such a request repeated often enough, it could be my router Prague considered moving to Brno and its position in the DB would update the.

are speculation, Google publicly specified what exactly keeps its database. Which probably never do, because otherwise we could perfectly well go gaga selected requirements and a database scatter it.

Conclusion

It is all from me. The more I examine this mechanism, the more I liked the way it is designed. And finally I have a small request. If you've ever studied, Geolocation how it works in other browsers, let me know (you and me, whether the database is also used Google or another).

At the very end thanks to David Majdi , Paul cricket and Maruška Graph who have assisted me in testing Geolocation in Prague and other cities.

Wednesday, June 23, 2010

Powerline Travel Voltage Converter

Internet Explorer 9 support the canvas. Even with the acceleration

BREAKING NEWS - When I wrote in the fall of "investigative" article about all the things that probably will appear in Internet Explorer 9 , gave me my neighborhood show my great skepticism. Passed half a year, some 80% of it is already met, and slowly I wonder if I had to fall eventually to be bolder.

It is clear today that it will contain IE9 canvas. And since the output IE9 hardware accelerated, it will be accelerated and the Canvas (and maybe quick as hell).

announced by Microsoft in the last blogpost .



Canvas - everything you can (even Wolfenstein JavaScript and other ) what was in IE6 - IE8 should be emulated JavaScript and so it was slow as hell, hell will IE9 fast.

next big leap in the evolution of the web! Much more than the need for more support for CSS selectors or resolve rendering errors. Indeed, although most were extremely annoying, but could live with them (and for years we lived with them), but the canvas opens up Web applications to a whole new dimension.

And it's not far from the only type of games Doom browser, but also a full developer IDE browser or tools fundamental limitations of today's překročují boxmodelu in browsers - such as be "curved" wrap images? And millions more use to us has not thought of.

Clearly the extension IE9 to wait another couple of years, but today there is a change. By now, many people approached as a canvas for something that IE will never support, so that it will never work properly and if so terribly slow using JS emulation. Today can be accessed on canvas as a something that will work in a well and as quickly as in other browsers and is only a matter of time before this happens. If you have the canvas strictly ignored, may be worth it for him from now start thinking at least slightly.

BTW canvas options you can try yourself in the new version of the sample IE9 . I get it I do not now where to try, but if you have the opportunity to you, try it as the most famous canvasové projects and let me know.

Related

Tuesday, June 22, 2010

Potbelly Pig For Sale Nasvhille

Google launches HTML5Rocks What was

Google today launched a new website called HTML5Rocks . You can find it tutorials for the basic building blocks of HTML 5. It will be a great complement to already existing web HTML5 Doctor .

And among other things, Now comes a book HTML5 for Web Designers. If you know the first book focused on HTML5. Its author Jeremy Keith is relatively well known (and has a few books already ). I'm curious about the first reviews.

Monday, April 5, 2010

Cervical Spinal Decompression

How mBank wasting your time and your customers

The phone rang, I was busy, so a few times I do not recall. Restricted number, so do not oddzwaniałem but insistently rang every few hours for several days. Finally answered.

the other hand, a nice gentleman from mBank proposed credit line account (ie, revolving credit). The mBank I use for a long time, but I do not put much money there is a second account, I shed there at some time a pair of gold would have on some sudden access (Allegrowe) payments. So in total, surprised me with the proposal, such as account history and not another. Do not ask for any loan, even my head did not come. I shared the doubts that the Lord of mBank quickly dispelled by proposing a small limit.

politely thanked, saying a lack of time, but he insisted and encouraged, so in total, yielded always a few cents extra for any unforeseen accidents. Here we just started, the whole procedure, including the reading (and recording) of the various clauses and reservations, lasted almost half an hour. At the end of the consultant, of course, reserved the final decision will be taken after consideration by the analyst, but that is basically a formality.

Well, after a few days dostałem mail that:
 sorry to inform you that our Bank analysts Your current situation does not provide sufficient grounds for granting the requested credit product 
Well and good, but what was the call and persuade? I've lost 30 minutes of life forever, you also a consultant, not counting the cost of telephone calls. And the labor cost analyst, which I agree with the decision, he surprised me the credit if admitted (although in principle nothing surprising ). But they chased me with this proposal, the amount of the credit line was also proposed by the consultant. So why all this?

One thing I know, never again to anyone with mBank fail to persuade me to even the shortest conversation. Like I needed anything, he'll call.

Monday, January 18, 2010

Cockroach Feces Images

USB Beatles Box Set - Merlin vs starbucks, or what is the market price?



First, some definitions:
  • USB Beatles Box Set - a beautiful 16 GB flash drive in the shape of a green apple, which contains (note) digital versions (MP3 320kbps, DRM-free and FLAC 44.1kHz 24 bit - that is, in theory, better quality than CD) digitally remastered all 14 panels of four from Liverpool. This is a limited edition (30 thousand. Effort) version of The Beatles Stereo Box Set, a set of these very boards.
  • merlin.p l - shop, originally a small bookstore, for 10 years has evolved into the largest (?) On the Polish market grocers shop.
  • empik.com - a large network of sales of books and publications and electronic music, in general, stationary shops, but also refers to sales leads in intrnecie, the great advantage is the ability to free reception in one of the many business lounges. Interestingly, the name derives from starbucks Web Club International Press and Book EMPiK, formed in Poland in the 40s last century.
Publisher wypasione immeasurably in the composed 14 albums:
  1. Please Please Me (1963)
  2. With The Beatles (1963)
  3. A Hard Day's Night (1964)
  4. Beatles for Sale (1964)
  5. Help! (1965)
  6. Rubber Soul (1965)
  7. Revolver (1966)
  8. Sgt Pepper's Lonely Hearts Club Band (1967)
  9. Magical Mystery Tour (1967) The Beatles
  10. (1968)
  11. Yellow Submarine (1969)
  12. Abbey Road (1969)
  13. Let It Be (1970)
  14. Past Masters (1962-1970)
Two of them, The Beatles Past Masters and are offered a double. For this documentary videos in QuickTime format and Flash presentation of all the covers. Well, the carrier itself is beautiful.

How such a thing is worth? Well, generally as much as they agree to pay the potential buyer, so it is not surprising the difference in price between the two shops mentioned. But see what a difference, and by the way can anyone tell me what it means to the market price?

behold merlin.pl publishing priced at 940.99 zł , noting how much we save, because the market price is more than a thousand PLN, exactly 1006.99 (by the way, how they take such a price?). However
empik.com. to my great surprise, the same album sells for 883.49 zł and the market price according to them is almost as much as a promotional price of whiting, because 949.99 zł.

Well, well, capitalism has its own laws, but such reference price manipulation, called by the two vendors 'market price' raises some disgust.

After searching on ceneo and a knockout price of the Empik appears lowest in our market and in addition very attractive. The U.S. shops the price fluctuates wok $ 240.

And by the way, I would have it, too bad that the next Christmas reindeer team will arrive in only for 11 months)