amd

【转帖】漏洞数量242:15,英特尔和AMD CPU谁更安全?

久未见 提交于 2019-12-03 22:32:51
漏洞数量242:15,英特尔和AMD CPU谁更安全? http://www.eetop.cn/cpu_soc/6946340.html 越来越多的用户开始怀疑哪种 处理器 可以最好地保护他们的计算机,数据和在线活动, 英特尔 和 AMD 之间数十年的长期斗争最近已进入一个新的层面。 (图片来源:Shutterstock) 直到最近几年,普通用户和网络安全研究人员都大多担心过多的软件漏洞,而这些漏洞似乎永远不会消失。 随着在2018年1月谷歌批露了Meltdown和Spectre CPU 设计缺陷开始,许多用户和安全研究人员意识到,为我们的电脑提供动力的 CPU 并不像我们以前想象的那样安全。 这给我们留下了一个问题:哪个公司更安全?当我们认为 英特尔 目前有242个公开披露的漏洞,而 AMD 只有16个(对 AMD 有利的比例为15:1)时,这个问题似乎显得很紧迫。 2018年: 处理器 安全元年 2018年1月,谷歌的零号项目安全专家以及其他独立的安全研究人员披露了 Meltdown和Spectre CPU 设计缺陷。这些漏洞的存在是由于大多数 CPU 体系结构团队为了提高其 芯片 性能而做出的设计选择。 Meltdown漏洞(也称为Spectre变体3)专门影响Intel的 CPU 。它允许第三方代码破坏通常由硬件实施的应用程序与操作系统之间的隔离

How do I load AMD modules when using Angular JS?

走远了吗. 提交于 2019-12-03 16:08:58
For some strange reason Angular JS has its own module system that is neither AMD nor CommonJS . I have many existing modules in AMD format. I would like to use them in an Angular app. I would like to avoid rewriting any AMD modules. If possible, I would also like to avoid using Angular's own module system. Is it possible to use AMD modules when using Angular? is it possible to avoid Angular's custom module system? You do need to define Angular components in the "Angular way" (ex. angular.module('yourApp').directive('someDirective', ...)), but you can certainly use AMD both for wrapping Angular

How to define Module and use it in dojo with AMD?

痴心易碎 提交于 2019-12-03 15:47:55
I am maintaining and extending an old project which was pre-AMD. I wish to add an Chart to the application. for this, I have created a js file as follows: define(["dojox/charting/Chart",...."dijit/Dialog","dojo/dom-construct"], function (Chart) { function showDailyChart(data){ //code to show the chart in a dialog } return customModules.singleChart; }); I have saved this file as /customModules/singleChart.js In My main HTML Page, I have added it to the packages as follows: var dojoConfig = { parseOnLoad: true, packages: [....,{"name":"customModules", "location":location.pathname.replace(/\/[^/]

Requirejs - Configuring require before loading data-main

不想你离开。 提交于 2019-12-03 15:02:36
We're using requirejs for the first time, and I'm having trouble structuring my dependencies. I've defined my main app.js file as the data-main attribute in my index.html: <script data-main="src/app" src="/js/lib/require/require.js"></script> But, I have a file which defines all my require path/shim configurations, and I want that to run before the app.js file. I need it to run so that I can reference configured paths as dependencies in my app.js. I don't think the right way is to put my config.js as the data-main. I tried setting the config.js as a dependency like this: <script type="text

ETH挖矿

╄→尐↘猪︶ㄣ 提交于 2019-12-03 14:36:45
转载声明:http://www.120btc.com/baike/coin/1021.html (仅为了方便自己及原文章被删除) 最近以太坊大涨市值成为仅次比特币的第二大数字货币,那么以太坊(ETH)怎么挖矿呢?看看下面教程吧 以太坊(以太币,Ethereum,货币代号ETH) 是一个基于P2P数字加密算法的去中心化可编程平台,包含数字货币和智能合约等特色功能,截止目前现存总量约88243984枚。 以太经典 (Ethereum Classic,货币代号ETC) 是以太坊针对DAO资金问题进行硬分叉后未尊从或未升级的以太坊区块分支,保留了原有以太坊的代码规则和特色,截止目前现存总量约88206855枚。 目前两者均采用Ethash算法,挖矿方法都一样。该算法采用CPU挖矿效率非常低,目前以AMD和NVIDI显卡挖矿为主,下面以AMD为例进行挖矿。 挖矿过程只需两步。 第一步是配置挖矿系统和安装显卡驱动,挖矿系统以win7,win8,win10的64位系统为主,安装显卡驱动程序,Radeon R9 4XX系列显卡安装最新显卡驱动(下载地址:http://support.amd.com/zh-cn/download)。Radeon R9 4xx之前的显卡系列安装15.12版本驱动(下载地址:http://news.mydrivers.com/1/462/462099.htm)。

How to write a module that works with Node.js, RequireJS as well as without them

给你一囗甜甜゛ 提交于 2019-12-03 13:41:40
I am working on a JavaScript library for JSON/XML processing . My library works in browser as well as Node.js (with xmldom and xmlhttprequest modules). One of the users recently asked for RequireJS support. I have taken a look at the RequireJS/AMD thing and think it is a good approach so I'd like to provide this. However I'd like to retain the portability: my library must work in browsers (with and without RequireJS) as well as Node.js. And in the browser environment I don't depend on xmldom or xmlhttprequest since these things are provided by the browser itself. My question is: how can I

How to solve circular dependency in Require.js?

瘦欲@ 提交于 2019-12-03 12:59:53
问题 Basically, the idea is that "sub" module creates an object, and that object should be part of a utilities library which is the "main" module. However, the "sub" object depends on utilities from "main": // Main module define(['sub'], function(sub) { var utils = { utilityMain: function () { // ... }; // ... }; tools.subModule = sub; return tools; }); // Sub module define(['main'], function(main) { return new (function () { // Singleton object using functions in main module var somestuff =

RequireJS - pass parameters into module for initialization [duplicate]

杀马特。学长 韩版系。学妹 提交于 2019-12-03 11:41:42
This question already has answers here : How to load bootstrapped models in Backbone.js while using AMD (require.js) (9 answers) Possible Duplicate: How to load bootstrapped models in Backbone.js while using AMD (require.js) I am currently creating a RESTful API for one of our projects and also wanted to provide a Javascript library to access it. Since I like the AMD principle and using require.js, I would provide an AMD module as well. The problem is: the initialization of the module would require some information like the API key on initialization. How do I pass such parameters into a module

Backbone fetch callback the proper way

坚强是说给别人听的谎言 提交于 2019-12-03 10:20:25
问题 My Backbone application has a view called schedule , I am a bit confused about the difference of calling the proper function on success and error, I am tried the both of tow possible listed below but i didn't what is difference and what is the right way to call a function from router placed in outside view: The first way: require([ 'app/collections/schedule', 'app/views/schedule' ], function(ScheduleCollection, ScheduleView) { var scheduleCollection = new ScheduleCollection(), scheduleView =

How to solve circular dependency in Require.js?

爷,独闯天下 提交于 2019-12-03 03:09:55
Basically, the idea is that "sub" module creates an object, and that object should be part of a utilities library which is the "main" module. However, the "sub" object depends on utilities from "main": // Main module define(['sub'], function(sub) { var utils = { utilityMain: function () { // ... }; // ... }; tools.subModule = sub; return tools; }); // Sub module define(['main'], function(main) { return new (function () { // Singleton object using functions in main module var somestuff = function () { main.utilityMain(); // etc }; })(); }); How can I achieve this with require.js without