Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I had idea to compute big data by client browser when they're visiting web sites with web worker.
as you know web worker run safe thread in back end of browser which doesn't affect on main web site, so web site can use client processors to compute somethings like cracking or ext.
I'm trying to implement it as free and open source service with web sites get code (something like google analytics or ...) so when user click on use my processor during my visit of this site web workers starts ,get data from server,compute and send result to server.
Now I have two questions about this:
first: What do you think about this idea? Is it can be useful?
sencod: How can I determine cpu usage in web worker?is it possible?(maybe some one has core i7 so more web worker on his browser can be run)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
With the release of new web-bluetooth features, I believe iBeacon/Eddystone beacon scanning is possible in PWAs using web-bluetooth. I am running a use-case and I would like some help on achieving a background service worker, which scans for beacons in background using chrome service-workers or something similar in smartphones?
Is this possible and if yes how?
According to the Chrome feature status page, the Web Bluetooth scanning feature has not been implemented at all as of May 2019. This makes it impossible to scan for beacons: https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md#scanning-api
There are other APIs implemented that let you find and connect to Bluetooth devices, but because you cannot see and decode the advertisements (what the above unimplemented API would provide), you cannot use them as beacons.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I built a Hbbtv Application.
I want to analyze the performance of the app when running on TV.
Since there is no developer tools usage on tv, how do I get the rendering, page loading, blank rate time?
Is it possible to display these using javascript?
You might add google analytics to your site. Implement device detecting and then if it is TV send performance analysis results (previously implemented performance functions). Functions something like these examples: http://qnimate.com/measuring-web-page-performance-using-modern-javascript-apis/ http://blog.trasatti.it/2012/12/measuring-the-speed-of-resource-loading-with-javascript-and-html5.html , https://trackjs.com/blog/monitoring-javascript-memory/ , https://medium.com/#felipedutratine/frontend-performance-monitoring-in-js-29832051d2ec
You should detect TV user agent and then simulate it in Google Chrome Dev Tools (w3c validator also allow do that) and then perform audit test in Google Chrome Dev Tools "Audit" tab.
Check https://developers.whatismybrowser.com/useragents/explore/operating_platform/smart-tv/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am working on a "system requirements" project - where I need to know my visitors system hardware. It must work online. I know I can get the visitors GPU info but can't get CPU, RAM, HDD, etc.
Is it possible to obtain a visitor's hardware information?
In short, no.
PHP runs on the server and only has access to it and data sent to it.
Javascript runs on the client but is sandboxed and has no direct access to the hardware layer (just limited information about the GPU).
All services that do offer this kind of "scanning" (nVidia, etc) - use a downloadable application that scans the hardware for that platform then returns the result to the web service.
So you can do it, but you would need some additional software that can run on the client machine that can access the data you require.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have a web application built with python flask using flask-security for user authentication.
I want the users of the application to securely POST data from a chrome extension (their chrome.tabs.getSelected url) to an authenticated page in the web application.
This will pass extension data (their current url) to the web application and store it in their user profile on the web application.
How can I accomplish the above with a minimal amount of code?
I'm no expert on the subject, but I built a Chrome Extension which used oAuth2 to connect to the StackOverflow API... so I'm going to give you some information about that approach.
As you point out, Chrome has an API for chrome.identity, and specifically I used the launchWebAuthFlow() method. (Example here)
In the callback, I save a reference to the returned token and then use that on every request to the StackOverflow API. It's pretty painless, assuming your endpoint already has the oAuth2 workflow in place.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create an application for Windows 8 using HTML/CSS and JavaScript. It is a game and after playing, you have the opportunity to send your score. You also can view all the scores sent by other players.
Where should I store all the scores so they can be accessed from any device? How could I implement this using WinJS?
If you're using HTML/JavaScript directly, then I recommend you use Azure Mobile Services or Buddy.com. Azure Mobile Services is gaining a lot of traction and fits in very nicely with Windows apps for sure. It's a little bit lower level than Buddy.com, so it will give you more power. Buddy.com sort of packages and simplifies a lot of things for you and is a good fit for social games like it sounds like you're talking about.
You can checkout my codeshow project at http://codeshow.codeplex.com if you want to get some general "how to" on HTML/JS apps and you can feel free to contact me if I can help you get started.
Have fun!