amd

Dojo build fails on IE9 when loading layer from HTML header: property 'dir' is undefined

心已入冬 提交于 2019-12-02 12:26:29
问题 I've made a dojo build, but I wanted the flexibility when enabling/disabling the build, so I've tried to load in in <script> tags in HTML header: <script src="js/config.js"></script> <script src="/dojo/1.9/dojo/dojo.js" data-dojo-config="async: true"></script> <script src="/dojo/1.9/dojo/dojo-all.js"></script> and I've left my JS file unmodified. It seems to function, however, there was a problem, but only on IE9, and only on application version deployed on WebSphere (I've tested on Apache2).

Linux内核个性化配置

别说谁变了你拦得住时间么 提交于 2019-12-02 12:09:43
欢迎访问我的博客网站原文地址: http://haofly.net/blog/2014/02/02/kernel-mainmenu/ 这次更新内核的时候忘了先用3.13.1来进行通用配置安装,所以只能和3.13.0比较,分别是5.6MB和5.8MB,只减少了200kb左右,其实作为个人桌面用户,这一些修改都还太少,主要原因是我很多功能并不知道有什么用(而且貌似有几个选项没有选,下次吧,编译内核太费CPU太费时间太费电了),而且我对自己的电脑硬件也不甚了解,希望以后能逐步完善精简内核的选项: Linux内核配置选项简介 目标内核: Latest Stable Kernel:3.13.1 电脑环境:ubuntu13.04 由于内核的配置选项过于麻烦,所以这次更新到3.13.1的时候特地整理了一下这些配置菜单: 首先,在我之前的安装内核说明的文章里说道执行`make menuconfig`时会显示主菜单以及操作说明: Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty submenus ----). Highlighted letters are hotkeys. Pressing <Y> includes, <N> excludes, <M>modularizes features. Press

Replace module ids with fake names

白昼怎懂夜的黑 提交于 2019-12-02 11:22:52
Imagine an AMD Java-Script Application consisting of three modules with those IDs: common/core/api common/data/foo common/remote/bar When I'm building the optimized file with r.js, those ids are still inside compiled file. IMO this is unnecessary. For example, the optimized file would still work when I search-and-replace the following: common/core/api -> a common/data/foo -> b common/remote/bar -> c The advantages of the substitutions are: smaller filesize better obscurity (Yes, you should never trust the client. Still, substituting the module names would require a reverse engeneer to guess a

[转帖]鲁大师Q3季度PC处理器排行:AMD、Intel终于五五开了

社会主义新天地 提交于 2019-12-02 10:21:05
鲁大师Q3季度PC处理器排行:AMD、Intel终于五五开了 https://www.cnbeta.com/articles/tech/902375.htm 近日,鲁大师发布了Q3季度PC处理器排行。从CPU性能排行榜来看,英特尔与AMD已经五五开。Q3榜单中,第一名AMD Ryzen Threadripper 2990WX 32-Core和第二名英特尔i9-9980XE @3.00GHz已经是常客了。 访问购买页面: AMD旗舰店 本次名列前茅的还有 AMD 新发布的Ryzen 3000系列,其中3900X是首批上市的Ryzen 3000 系列处理器中的领头羊,从发售至今一直各种缺货各种加价卖,12核心24线程、4.6GHz的加速频率,Ryzen 9 3900X确实很好很强大,定位发烧级处理器,4000出头的价格也很香。 Ryzen 3000系列中还有最强的一款处理器Ryzen 9 3950X原本计划在9月上市,如今官宣延迟与Threadripper 3代一起在11月才上,16核心、32线程设计,基准频率达到3.5GHz,最大加速频率为4.7GHz,其性能表现值得期待。 值得一提的是,性能榜中还有一款笔记本处理器 英特尔 i9-9880H,这是第一次有笔记本处理器上榜,它也是目前笔记本中最强悍的一颗CPU,不过搭载它的笔记本价格都比较高,万元起步。 随着i5、i7价格下降

Can I write a javascript file that optionally uses require.js to specifies dependencies when it is available?

你离开我真会死。 提交于 2019-12-02 03:16:14
I need to write a javascript plugin that can be used both as an AMD module and as a non-AMD (synchronously loaded) javascript file. It has a dependency on the "Jockey.js" and jquery libraries. In other words, I'd like to structure the file so that it doesn't fail when its used in a traditional non-async html structure (loaded via a script tag, after its dependencies are loaded via script tags), but so that it will also be able to work as an AMD module without shim, and specify its dependencies. Can this be done, or is shim the only way to do this? It can be done. I've got one such plugin right

Load Locale File Dynamically using Requirejs

孤人 提交于 2019-12-01 18:59:24
I have a single page Marionette app built on RequireJS which needs to support translations. My goal is to have a dictionary file for each language, and based on the logged in user's configuration, load the relevant file. Since most of the users will use English, I want to bundle the English dictionary in the app during build (using r.js). I wrote a small Translator module, which basically wraps jed.js (the library I'm using for i18n): //in myTranslator.js define(function (require) { "use strict"; var Jed = require("jed"); var localeData = require("json!locales/en_US.json"); var Translator =

Load Locale File Dynamically using Requirejs

戏子无情 提交于 2019-12-01 18:50:52
问题 I have a single page Marionette app built on RequireJS which needs to support translations. My goal is to have a dictionary file for each language, and based on the logged in user's configuration, load the relevant file. Since most of the users will use English, I want to bundle the English dictionary in the app during build (using r.js). I wrote a small Translator module, which basically wraps jed.js (the library I'm using for i18n): //in myTranslator.js define(function (require) { "use

前端随心记---------AMD和CMD规范的区别

拜拜、爱过 提交于 2019-12-01 16:04:09
1、 为什么要使用模块化?   模块化的作用有以下这些: 可以解决命名冲突 管理依赖 提高代码的可读性 代码解耦,提高代码的复用性 AMD(异步执行) 是 RequireJS 在推广过程中对模块定义的规范化产出。 CMD (同步执行)是 SeaJS 在推广过程中对模块定义的规范化产出。 这些规范的目的都是为了 JavaScript 的模块化开发,特别是在浏览器端的。 目前这些规范的实现都能达成浏览器端模块化开发的目的。 浏览器不兼容CommonJS( http://wiki.commonjs.org/wiki/Modules/1.1 )的根本原因,也正是在于缺少四个Node.js环境的变量。 module exports require global 2.AMD规范 AMD 是"Asynchronous Module Definition"的缩写,意思就是"异步模块定义"。它采用异步方式加载模块,模块的加载不影响它后面语句的运行。所有依赖这个模块的语句,都定义在一个回调函数中,等到加载完成之后,这个回调函数才会运行。   AMD也采用require()语句加载模块,但是不同于CommonJS,它要求两个参数:   require([module], callback);   第一个参数[module],是一个数组,里面的成员就是要加载的模块;第二个参数callback

How can Intel and AMD be different but still compatible?

白昼怎懂夜的黑 提交于 2019-12-01 14:44:27
As I have always understood it, AMD built their CPUs by reverse engineering Intel's instruction set and now pay Intel to use their instruction set, and Intel do the same for AMDs 64-bit instructions. This is how windows can be installed on both types of CPUs without needing to purchase a specific build, such as a version compiled for ARM, and so all apps, games etc work in the same way, working interchangeable on CPUs... However lately some things have been making me question some of this... Firstly, I've noticed some games have been a bit laggy on my system (AMD) and after reading it turns

How can Intel and AMD be different but still compatible?

本秂侑毒 提交于 2019-12-01 14:01:44
问题 As I have always understood it, AMD built their CPUs by reverse engineering Intel's instruction set and now pay Intel to use their instruction set, and Intel do the same for AMDs 64-bit instructions. This is how windows can be installed on both types of CPUs without needing to purchase a specific build, such as a version compiled for ARM, and so all apps, games etc work in the same way, working interchangeable on CPUs... However lately some things have been making me question some of this...