amd

What EXACTLY is the difference between intel's and amd's ISA, if any?

ぐ巨炮叔叔 提交于 2019-12-12 12:03:04
问题 I know people have asked similar questions like this before, however there is so much conflicting information that I really want to try and clear it up once and for all. I will attempt to do so by clearly distinguishing between instruction set architecture (ISA) and actual hardware implementation. First my attempted clarifications: 1.) Currently there are intel64 and amd64 CPU's out there (among others but these are the focus) 2.) Given that an ISA is the binary representation of 1 or more

How to have TeamCity update the build version number in a specified file?

微笑、不失礼 提交于 2019-12-12 10:56:57
问题 Does anyone know of an easy way to show the build version number in an HTML/JavaScript project that uses AMD? The version number is generated by TeamCity as part of the build process. Here is what I mean in more details: One of my js files (e.g. showVersion.js) has a line like this: alert('Build version: __build_ver_placeholder__ '); Ideally, after TeamCity completes the build, it will plug in the actual version number for the place-holder. And the line above will become: alert('Build version

Omit “require” and “exports” from TypeScript emitted AMD dependencies

我的梦境 提交于 2019-12-12 10:46:12
问题 Given the following TypeScript file, export = {}; tsc (with "module": "amd" ) will emit: define(["require", "exports"], function (require, exports) { "use strict"; return {}; }); However, I would rather it emit define([], function() { "use strict"; return {}; }); ... and only include require or exports if I explicitly import them, i.e. import relativeRequire = require("require"); Is there any way to tell TypeScript not to emit require and exports in emitted AMD modules (i.e. ask it not to use

Import existing AMD module into ES6 module

帅比萌擦擦* 提交于 2019-12-12 07:15:17
问题 I have an existing application where I have AMD modules defined using RequireJS . I use "text" and "i18n" plugins for requirejs extensively in my project. I have been experimenting with ES6 modules lately and would like to use them while creating new modules in my application. However, I want to reuse the existing AMD modules and import them while defining my ES6 modules. Is this even possible? I know Traceur and Babel can create AMD modules from ES6 modules, but that only works for new

How to require tether with webpack?

拥有回忆 提交于 2019-12-12 03:54:19
问题 I have a webpack application I'm using with laravel elixir. In this application I have a bootstrap.js file for initializing all of my libraries. Here it is: window._ = require('lodash'); /** * We'll load jQuery and the Bootstrap jQuery plugin which provides support * for JavaScript based Bootstrap features such as modals and tabs. This * code may be modified to fit the specific needs of your application. */ window.$ = window.jQuery = require('jquery');// $ui = require("jquery-ui"); /** *

Backbone console.log returning collection and undefined

[亡魂溺海] 提交于 2019-12-12 03:35:58
问题 Something odd is going on with my Backbone project. I'm rebuilding it as AMD and I'm having to change some variable names to get it working again. I have a collection I'm passing into a view, but when I console.log the collection, I get both the object and null. Here is my view: define([ 'jquery', 'underscore', 'backbone', 'models/tableModel', 'collections/tablesCollection', 'views/tablesView', 'views/tableView' ], function($, _, Backbone, tableModel, tablesCollection, tableView) { var tv =

Universal binaries for OpenCL

会有一股神秘感。 提交于 2019-12-12 01:36:24
问题 I have 2 computers, one with Raden R9 290x, and Raden R7 250 in another. The following discussion focuses only on AMD graphics cards. On both machines the same driver installed. I wrote OpenCL kernel, compile it into a binary and use clCreateProgramWithBinary. But I was faced with the following challenges: Compiled binaries for these two devices are different: for R7 binary weighs ~ 500KB, and for R9 ~ 1.5MB. I have no problem when using the binary on the device for which it was compiled,

RequireJS data-main module callback not invoked

有些话、适合烂在心里 提交于 2019-12-12 01:03:57
问题 My app: define(function bringTheAction() { console.log('Loaded!'); }); is optimised and loaded using data-main: <script data-main="src/app" src="lib/require.js"></script> and RequireJS does load the file: <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="app" src="src/app.js"></script> however, the bringTheAction callback is never invoked and my app just sits idly. I can kick things off by doing require(['src/app']); in the console or by

Loading Backbone.Relational using Use! plugin

∥☆過路亽.° 提交于 2019-12-12 00:36:37
问题 Backbone Relational is not an AMD compliant library, so I've gone ahead and found the use plugin to ensure underscore and backbone are both loaded as dependencies. Here is my config file require.config({ baseUrl: '../global/js', paths: { use: 'libs/utilities/use', jquery: 'libs/jquery/jquery-min', underscore: 'libs/underscore/underscore-min', backbone: 'libs/backbone/backbone-optamd3-min', text: 'libs/require/text', relational: 'libs/backbone/backbone-relational' }, use: { "relational": {

Physical core and Logical cores on diffrent cpu AMD/Intel

白昼怎懂夜的黑 提交于 2019-12-11 16:45:35
问题 Can anyone confirm that for example Intel I3 CPU has 2 physical cores and 4 logical cores, so if I set Process afinity to Core #0 so that means I set on first physical cores 1 logical core, but if I set on Core #1 so it means I set on first physical core 1 HyperThreading core, but how about AMD CPU since they got somekind of "modules" atleast what I read on internet, how to work with amd cpus? And does intel ALWAYS has this come physical core contains 1 logical and 1 HT core? How about AMD