问题标签 [identify]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
246 浏览

windows-runtime - 使用 (f.ex.) LiveID 唯一标识 WinRT 和 WP8 上的用户?

我正在寻找一种方法来唯一地识别 WinRT 中的用户,最好在 WP8 中也是如此。在 WP7 应用程序中,我可以获得 Live ID 的哈希值来执行此操作,但我不确定如何在 WinRT 环境中处理此问题。此处的目标之一是识别整个 Windows 8 环境中的用户。在这种情况下,以一种或另一种形式使用 LiveID 是可以的。我找到了一些来源,但他们也提到这可能需要一些在 Windows Marketplace 中不受欢迎的企业安全权限(或此类)。

假设我想根据实时 ID 识别用户,我想自动并跨多个设备(PC、平板电脑,也许是 WP8)来完成。我应该寻找哪些资源?

0 投票
2 回答
88 浏览

php - PHP 找到数据库,但似乎找不到表

我有一个完美运行的小型数据库,有一个完全命名为“Category”的表,而它又有一个完全命名为“Name”的行。我已经尝试了名称的每个版本(大写和非大写),但我的函数没有返回我希望它返回的内容。有人发现明显的错误吗?数据库连接得很好......或者我正在寻找一些严重麻烦的数据库冲突。

这是我的functions.php,我已将其包含在index.php 中并在body 处进行了函数调用。"<?php display_menus(); ?>

0 投票
1 回答
1346 浏览

ruby-on-rails-3 - Paperclip::Errors::NotIdentifiedByImageMagickError

我正在尝试使用回形针上传图像,但出现此错误:

我发现了几个与我类似的案例。这个这个。但我没有使用宝石可卡因,我的图像文件名是 01.png(不带冒号)。我不知道问题是什么。任何人?

顺便说一句,这是我的 Gemfile :

编辑

它在回形针配置中没有样式。

0 投票
2 回答
422 浏览

r - How to identify "similar" rows in R?

Hi to all the members of the community, I am trying to find out how to compare elements of my DB and identify them by a new binary variable. My DB is like this:

and I want to identify all the elements for which the id is different, but the date and trap value is the same, as report in the column result.

I have tried some codes (basically derived from another "similar" question) with the ave function, but unsuccessfully. As always any tips will be appreciate!!

0 投票
1 回答
327 浏览

java - 通过 Java 代码识别架构模式

如何通过查看 javadoc 来识别架构模式。我已经下载了 Pokerapp v.100 的源代码(http://sourceforge.net/projects/pokerapp/files/PokerApp%20v1.00/Source%20Code/PokerApp_v1.00-src.tar.gz/download

我想确定用于培训目的的使用模式。我刚刚开始使用模式,我认为这会容易得多。

先感谢您!

0 投票
1 回答
243 浏览

svg - ImageMagick 读取 SVG 的结果出乎意料

我有一个关于 IM 阅读 SVG 图像的问题,这真的让我很困扰。对于下面的 SVG 图像,

当我使用identify -verbose sample.svg时,我得到了“几何:1x1+0+0”的结果。但其他人得到“几何:100x100+0+0”。似乎 100x100 是正确的。为什么会发生这种情况?

0 投票
2 回答
2080 浏览

scala - Akka - Common service actor: Identify or Extension

Lets say I have some commonly used by other actors service-layer actor. For example, an registry service that stores and retrieves domain objects:

I do not want to explicitly pass instance of such registry into all actors who may use it. Instead of it, I want them to be able to somehow 'locate' it.

For this I can think of two solutions:

  1. Identify message: each registry user actor knows registry actor name from some configuration and able to sent identification message to it. After AgentIdentity message is received back we are good to go:

    I do not like this way because right after user actor initialisation there is a phase when we do not know if there is a registry in system et all and thus do not know will we ever be able to operate or not.

  2. Akka Extensions: I can create an extension which would:

    a. create instance of Registry actor in given Actor System on initialization;

    b. return this actor to user who needs it via some method in Extension.

    /li>

The question is: which method is better and are Akka Extesions can be used for this at all?

0 投票
3 回答
6245 浏览

excel - 如何从文本列中提取主题标签?

我有一个 Excel 表,其中有一个“描述”列。此列中的值通常包含 0-3 个标记,所有标记都以 # 符号开头。有没有办法将所有这些标签拉到列中?

也许只有 3 个空白列,称为主题标签 1、2、3,并将它们拉入每一列。

在将它们拉出时将它们从描述列中删除甚至都不重要。

描述示例:

0 投票
1 回答
760 浏览

cmd - Usage of value returned by 'identify' utility of ImageMagick in CMD

A start of the line

in Command Prompt leads to printing of the width of the image.

I have to assign this value to some variable within a CMD-file in order to use this variable further in the script. How can I do this?

I need some code like this:

However, it doesn't work.

P.S.: The code presented in this answer is almost what I need, but I need a code for the CMD-script.

0 投票
1 回答
5761 浏览

r - 在多个图中通过 identify() 选择点

我有一个数据框df,它的每一列都被绘制为一个简单的散点图。我想在每个图形中选择一个点identify()并将其存储在一个列表中s- 一个接一个的图形。这是我的方法:

在第一个图中选择一个点后出现以下错误:

但似乎第二个图中的点被正确检测到。我做错了什么?