asset-management

SVN optimizations to keep large repositories responsive

拜拜、爱过 提交于 2019-12-30 07:14:09
问题 We happily use SVN for SCM at work. Currently I've got our binary assets in the same SVN repository as our code. SVN supports very large files (it transmits them 'streamily' to keep memory usage sane), but it makes everything SLOOWWWWW. I'm ok with slow asset versioning, but slow text operations isn't really acceptable. Right now assets are under /trunk/release (side by side with a dozen /trunk/projects). Should we keep them in a separate repository? What other optimizations can we do? We

Flex graphic assets: SWF or SWC?

橙三吉。 提交于 2019-12-29 23:27:50
问题 Which is a better format to store graphic assets for a Flex application, SWF or SWC? Are there any real differences, and if so what are they? 回答1: Assets in a seperate SWF are loaded and included at runtime. Assets in a SWC are loaded and included / compiled at compile time. You can also directly embed assets within the main app SWF at compile time (check out the Embed meta data). Of course, you can also load individual assets (such as a PNG) directly at runtime. As far as which is better, it

Best way to combine and minify JS / CSS on Heroku

泪湿孤枕 提交于 2019-12-18 10:42:07
问题 First of all, according to this answer, the :cache => true option on stylesheet_link_tag and javascript_include_tag doesn't work on Heroku. Is this true? I've found :cache => true to work occasionally, but not always (weird!) Also, what's the best solution here? Ideally it would seamlessly combine and minify all CSS / JS. Heroku Asset Packager claims to do this -- are there better options? 回答1: I'm using Jammit on Heroku. Works Great. You can locally build your assets and check in to heroku.

How do I manage large art assets appropriately in DVCS?

自作多情 提交于 2019-12-18 09:56:18
问题 Is there any good way to handle large assets (i.e. 1000's of images, flash movies etc.) with a DVCS tool such as hg and git. As I see it, to clone repositories that are filled with 4 GB assets seems like an unnecessary overhead as you will be checking out the files. It seems rather cumbersome if you have source code mixed together with asset files. Does anyone have any thoughts or experience in doing this in a web development context? 回答1: These are some thoughts I've had on this matter of

Libgdx FreeTypeFontGenerator with AssetManager

倾然丶 夕夏残阳落幕 提交于 2019-12-08 19:15:59
问题 i'd like to use the asset manager in combination with the FreeTypeFontGenerator. I dont want to load fnt files cause they display differently on different screenresolutions. So what i do currently is generating my fonts on the fly in every actor or screen. Now i think its best to generate the fonts once when the game is started and load them into the asset manager. But the AssetManager seems to need a filename with the BitmapFont.class parameter. What i want to do is generate 5 different

How to define Assetic resources in Symfony 2 yml or xml configuration file?

雨燕双飞 提交于 2019-12-04 22:59:57
问题 Can you define assetic resource in configuration file (yml/xml)? Lets take jquery as example. I would like to have configuration like this: # app/config/config.yml assetic: resources: jquery: latest: "app/Resources/js/jquery-1.6.2.js" 1_6_2: "app/Resources/js/jquery-1.6.2.js" 1_5: "app/Resources/js/jquery-1.5.js" And to be able to access this resource from any template in my application something like this: {% javascripts 'jquery.latest' %} <script type="text/javascript" src="{{ asset_url }}"

version control on large files

时光怂恿深爱的人放手 提交于 2019-12-03 17:33:23
问题 We happily use SVN for SCM at work. Currently I've got our binary assets in the same SVN repository as our code. SVN supports very large files (it transmits them 'streamily' to keep memory usage sane), but it is SLOOWWWWW. What asset management software do you recommend, for about a GB (and growing) worth of assets? We would prefer branching and merging (different assets & config files go to different customers). 回答1: Please be very aware that it is almost impossible to merge binary files! At

Aggregate Overlapping Segments to Measure Effective Length

可紊 提交于 2019-12-03 10:57:27
问题 I have a road_events table: create table road_events ( event_id number(4,0), road_id number(4,0), year number(4,0), from_meas number(10,2), to_meas number(10,2), total_road_length number(10,2) ); insert into road_events (event_id, road_id, year, from_meas, to_meas, total_road_length) values (1,1,2020,25,50,100); insert into road_events (event_id, road_id, year, from_meas, to_meas, total_road_length) values (2,1,2000,25,50,100); insert into road_events (event_id, road_id, year, from_meas, to

version control on large files

心不动则不痛 提交于 2019-12-03 05:41:43
We happily use SVN for SCM at work. Currently I've got our binary assets in the same SVN repository as our code. SVN supports very large files (it transmits them 'streamily' to keep memory usage sane), but it is SLOOWWWWW. What asset management software do you recommend, for about a GB (and growing) worth of assets? We would prefer branching and merging (different assets & config files go to different customers). Please be very aware that it is almost impossible to merge binary files! At least automatically. At least I've never heard of a program that supports three-way merging on a binary

Aggregate Overlapping Segments to Measure Effective Length

萝らか妹 提交于 2019-12-03 02:30:01
I have a road_events table: create table road_events ( event_id number(4,0), road_id number(4,0), year number(4,0), from_meas number(10,2), to_meas number(10,2), total_road_length number(10,2) ); insert into road_events (event_id, road_id, year, from_meas, to_meas, total_road_length) values (1,1,2020,25,50,100); insert into road_events (event_id, road_id, year, from_meas, to_meas, total_road_length) values (2,1,2000,25,50,100); insert into road_events (event_id, road_id, year, from_meas, to_meas, total_road_length) values (3,1,1980,0,25,100); insert into road_events (event_id, road_id, year,