Comments (5)
No, thank you for compliments on the doc! There are certainly rough parts, but sections are being improved as pebble.js is being built.
- Now for the real topic: Bluetooth. I appreciate the info about the emulator, that's something new to me. In other issues in this repo, I have hinted that there may be something in App Message that is adding extra delays on top of Bluetooth. Experiencing delays in the emulator makes that more of a possibility. I will have to investigate that as soon as I find the time.
- Compiling JavaScript applications is something I am looking into, but I can't make any promises. Investigating the above issue or this are the two primary ways latency can be reduced.
- A loading visual cue is an interesting idea, I'll take that as a feature request for the action bar.
- You are correct, pebble.js completely depends on the phone. It'll display a (currently ugly) notice to run the phone app.
Many elements can cause it to take longer to load, but not significantly so. You would need to be sending more than 1.5KB in order to start seeing delays due to excessive elements. Showing a UI.Rect is 29 bytes, complete with size and color. I do plan to eventually add GPath support so that you may draw lines!
Latency is a huge issue however. The strongest use case for pebble.js is displaying lists of rapidly updating data from the internet, such as the latests posts from a popular source since that latency would be unavoidable even with a C app. But otherwise, if latency is a real problem. you can use pebble.js as a way to prototype your idea. The Pebble developers blog has been releasing C tutorials. You can prototype your app in pebble.js and write the same app in C afterwards.
from pebblejs.
Thanks a lot for all these responses :-)
I guess I'll start to read the C tutorials while prototyping in JS...
Cheers !
from pebblejs.
this is completely off-topic but I just happened to back the Pebble Time Kickstarter and look what I saw on the confirmation screen :-p
from pebblejs.
Haha, I have to have my Pebble Time!
Interestingly, it seems the list of some other backers isn't very random. Most of those people were among the first to back the project. I wonder if it works by selecting a random slice/window from the chronological list, if it just displays the early backers for everyone, or the worst case, if it sorts using a comparator that just returns random()
.
from pebblejs.
Hi guys!
First of all, Meiguro, huge thanks for your work, awesome project! 👍
JS is gradually becoming the programming language of the world over last years, and having ability to develop in JS for Pebble is priceless. Thank you again!
Well, of course nothing is perfect and I also noticed slowness and thus I fully back eswak on the idea of making PebbleJS somehow work standalone unless it explicitly needs the phone access. Myself I am very interested in caching scenarios, since even 2K storage can quite easily store e.g. a dozen of notes or calendar events, which can be synced only rarely thus significantly prolonging the watch battery life. And the battery life is one of the best Pebble features...!
Are there any news or plans in this direction? I think transpiling JS to C is actually quite realistic, although of course involves a lot of work...
from pebblejs.
Related Issues (20)
- [Bug] Run time error when show UI.card() HOT 4
- [Bug] Error when building with the SDK 3.10 HOT 1
- [Feature Request] Disconnected message as a customisable image, like the startup screen
- [Bug] Card goes fullscreen when going back from Menu
- need a cloudpebble update HOT 3
- Bug in OGPebble 3.11.1 HOT 3
- Accel 'tap' event not very sensitive HOT 4
- Number conversion to string - Menus HOT 2
- App crashed when move from a Window to Menu HOT 17
- [Bug] Menu Screen Dotted Line HOT 3
- [Bug] Scrolling issue on Aplite HOT 6
- Circle.radius accessor is undefined HOT 1
- Modifications while Voice window is the top window cause a crash HOT 1
- Cloud Pebble Unable to Upload Images (PNG)
- Settings.config callback crashes when passed option containing encoded percent sign HOT 2
- Pebble.js compilation fails for Pebble 2 / Diorid HOT 2
- Application crash on pebble HOT 10
- Porting Pebble.js to Canvas (rocky.js)
- Wakeup not discarding itself or cancelling
- .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pebblejs.