Comments (4)
Not sure this is a good idea from a performance point of view...
from recent-projects.
Maybe have it default to icon while loading screenshot asynchronously
On Sun, Dec 6, 2015, 12:18 PM Ener-Getick [email protected] wrote:
Not sure this is a good idea from a performance point of view...
—
Reply to this email directly or view it on GitHub
#40 (comment)
.Benny Powers
Licensed Israel Tour Guide
In Israel 054-482-5726
In Canada 705-300-0072
In the USA 601-255-3532
bennypowers.com
from recent-projects.
What do you think @Exter-N?
from recent-projects.
What do I think ?
- It would require an API key for the webservice : should one be generated and bundled with the package (might hit rate limits, might be against ToS) or should each user generate his own (initial configuration might be complicated) ?
- From a performance PoV :
- Loading the screenshot must be done asynchronously (as the package's primary goal is to allow the user to open their project quickly, synchronously loading a remote resource which, additionally, is computationally expensive to generate would render the package quite useless) but it would make the tile ugly (and the screenshot may not be loaded in time, because, see above) ;
- The screenshots should be cached to limit the impact of the "screenshot not loaded in time" problem, but it would create another one, namely : how long the cached screenshot should be retained ? On the beginning of a project, the front page may change quite often, but it might only seldom change after a couple months ;
- Not every server hosts one and only one website : for example I have many sites on one of my HTTP virtual machines, just one on at least two of my other HTTP VMs, but none on my Minecraft one and on my HTTP reverse proxy one ;
- Even if a server hosts one and only one website, automatically getting its HTTP(S) address is a hard (when feasible) problem : there are lots of different HTTP server packages and libraries, and the FTP(S)/SFTP address may be an internal address, different from the public one (the server might be behind a firewall or reverse proxy).
from recent-projects.
Related Issues (20)
- Uncaught SyntaxError: Unexpected token a HOT 3
- Display all project paths HOT 1
- Parse error on startup HOT 1
- Uncaught ReferenceError: dispatch is not defined HOT 1
- Buttom New File dont open new file editor on first try HOT 3
- .project-tile.png exists - no image in viewer HOT 11
- Uncaught TypeError: Cannot read property 'apply' of undefined HOT 3
- Suggestion: Set tile bg color independent of theme HOT 5
- open recent project in same window HOT 3
- Getting frequent error from dependency babel-polyfill HOT 2
- Uncaught ReferenceError: _this is not defined HOT 3
- Doesn't open a project window unless there's another tab open next to "Recent projects" HOT 7
- Uncaught TypeError: Cannot read property 'showOpenDialog' of undefined HOT 4
- Failed to load on 1.16 beta: "super" keyword unexpected here. HOT 1
- Failed to activate the recent-projects package HOT 1
- Switching project opens with file browser empty.
- Atom closes/crashes after opening a project from recent projects HOT 8
- The recent-projects package causes tab bar to disappear when using flex-tool-bar and tool-bar.
- HTMLDocument.registerElement is deprecated. HOT 2
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 recent-projects.