问题标签 [personalization]

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 回答
45 浏览

owl - 我需要个性化本体的个体

好吧,我有一个本体,我想添加一些个体。问题是个人因一个用户而异。让我给你举个例子:

在“宠物”类中,我想添加我的狗“cookie”,我可以直接在本体上添加,但是当其他人使用相同的本体时,它将填充我的信息。你知道有什么方法可以在不修改原始个体的情况下将新个体添加到本体中吗?

我是某种个性化。我不知道如何搜索与此问题相关的工作,如果您知道的话,我将不胜感激。谢谢!

0 投票
1 回答
2331 浏览

android - Android 应用程序如何存储用户喜爱的数据以个性化动态数据

我有一个远程数据库,其中包含在有新版本数据可用时定期加载到 Android 应用程序的数据 - 即添加了新数据或编辑了现有数据。即使数据已重新加载,我也需要保留用户对数据的偏好。

例如数据是一个报价集合,没有用户注册,用户可以收藏任何他喜欢的报价。为了加快应用程序的速度,数据存储在 sqlite 数据库中。

现在,当有新版本可用时,数据将被重新加载,那么标记已经收藏的引号(如收藏的推文)的最佳方法是什么,下图显示了这个想法

在此处输入图像描述

我想在本地数据库中添加一个额外的二进制列,用于收藏/不收藏。另外将喜爱的qoutes的id存储在设备中(SharedPreferences)当更新的数据加载时,将其id存储在设备中的qoutes的喜爱列更新为1,其余的喜爱列的默认值为0。这应该工作,但我认为可能有更好的解决方案。任何建议,谢谢!

0 投票
2 回答
1405 浏览

r - 是否可以在变异函数图中添加线条/文本/次要刻度线/个性化轴?

我正在尝试使用该函数将文本、线条、次要刻度线和/或个性化轴添加到变异plot.variogram函数。当我尝试使用传统的函数调用(即)添加任何这些时,即使变异函数的绘图窗口已打开,text("Text Here")它也会返回错误。plot.new has not been called yet

这是我的代码:

我试图通过调用“欺骗”R:

然后运行上面的代码。这允许传统函数工作,但遗憾的是它们不在适当的位置(即 x=5 不在 x 轴上的 5 处)。

有关“欺骗” R 以正确绘图的更好方法的任何建议?任何自动将文本、轴等添加到变异函数图的函数?

如果您还有什么想知道的,请告诉我。

谢谢!

0 投票
1 回答
31 浏览

mongodb - 如何对 10 个项目进行高性能选择,然后知道当前用户何时已经在 mongodb 中查看了该项目?

我想在 youtube 中实现一个功能,您可以在其中知道您看过哪些视频。

我必须解决方案:

  • 将播放的视频存储在本地存储中,并使用此数据更新用户界面。(如果数据还没有在 locastorage 中并且用户已经观看了很多视频,这将需要在开始时进行高数据负载)
  • 将数据存储在一个表中,当然,在得到查询结果后,获取与当前用户相关的每个视频信息。在我看来,这种方式需要太多的查询。

你可能会建议什么?

0 投票
1 回答
431 浏览

actionscript-3 - Customizing Clothes on Character in Game User Personalization

I could use help with customization in Flash games! I am pretty new to AS3 and have a game I am building where the user can dress the character based on a few options and a color picker, then move on to a race. I cannot get the clothes that are chosen to stay, and the ones excluded leave, without all of them staying or leaving. I've tried variables, if/else conditions and switch statements, but nothing is working. I have a feeling it's a condition, but I don't know how to write it and can't find anyone in a similar boat.

I have been scouring my books (Flash CS6 Missing Manual and ActionScript 3.0 Cookbook), and I've gotten very close, but nothing works. I really could use a lot of help with this, it's a final project and the stress might be hiding the answer, but I surely don't have it.

Not sure if I did this right, I've never used this site before. Thank you in advance!


UPDATE


Here is a link to where the .swf file is currently uploaded for your input. http://yellownotebook.weebly.com/other-work.html Please ignore the DONE button at the beginning, I am working on that still. I need the clothes to be invisible on the start up, and the remaining unselected clothes after that to be discarded? Invisible? I still don't understand which way is best for this situation. I started reading something about Display Lists?

I'm also not sure what part of the code would be most helpful, so here it is.

As you can see, I have a lot of code commented out, I have been trying everything I can find for it to work. I also am trying to scale her down 50% after the DONE button is clicked and the game is started, but I have not figured out a way for that one either. Thank you so so much for any help!

0 投票
3 回答
92 浏览

javascript - 通过 HTML/CSS/JavaScript 实现 5 种可能的颜色?

我的电子商店有一个模块,它允许用户选择一个项目并使用可以移动的彩色文本对其进行个性化设置。文本在文本字段中输入,文本的颜色通过由 JScolor.js 交互的元素选择。选择颜色后,文本会自动更改颜色。

在此处输入图像描述

问题是我的物理个性化机器只支持 5 种基本颜色的打印。因此,有没有办法将调色板限制为这 5 种颜色或以其他方式/.js/html/css 实现该效果?

0 投票
1 回答
52 浏览

variables - 在 Parse Push 消息中使用变量

我真的很喜欢 Parse 推送服务并将其与我们的 CMS 集成。我想通过在推送消息中添加用户名来使通知个性化。如何在推送消息中使用存储在 Installation 类中的变量(屏幕截图中名为“voornaam”)?

解析数据

0 投票
1 回答
2604 浏览

windows-8 - 更改 Windows RDP 连接栏位置

我在使用 RDP 时经常浏览互联网,并且在切换选项卡时窗口顶部的连接栏位置很烦人。如何将 Windows RDP 连接栏的位置更改到窗口的任何另一侧?不是取消固定栏,缩小或沿着窗口的顶端滑动,而是移动到左/右/下的任何另一端,或者完全摆脱它。

操作系统:Windows 8.1

提前致谢。

0 投票
1 回答
685 浏览

android - Android WebView Push 将名称分配给 DeviceID

我正在开发一个带有 WebView 和推送通知的 Android 应用程序。问题是,我正在显示的网站有一个登录名。

我想做的是:如果有人通过我的应用程序(WebView!)登录网站,我需要使用他输入的用户名并将其与 Android-Device-ID 一起放入我的 MySQL-Database 中。(但只是,如果他的密码是正确的..)

有人知道这样做的优雅方法吗?我被困住了。

0 投票
1 回答
169 浏览

ruby-on-rails - 带有个性化的 Rails 片段缓存

我的站点有一个顶部导航菜单栏,它的内容很少更改,因此它是片段缓存的理想选择。但如果用户登录,部分菜单栏将包含用户名,因此是个性化的,无法缓存。

我可以:

  1. 片段缓存静态部分并分别提供个性化部分。这似乎很容易。

  2. 缓存批次,可能在 memcached 或 CloudFront 中,将用户名保留在会话中,并使用 JavaScript 从会话中提取用户名并在客户端个性化页面。

最好的选择是什么?最好基于类似情况的个人经验。