问题标签 [distribution]

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 投票
2 回答
670 浏览

ruby - 在数组中分布范围

我需要在一个范围内创建一组数字,例如:

[1..5] 10 次 = [1,1,2,2,3,3,4,4,5,5]

[1..5] 5 次 = [1,2,3,4,5]

[1..5] 3 次 = [1,3,5]

Distribute(1, 5, 10, true) => [1, 1, 1, 2, 2, 3, 3, 4, 4, 4] #错误应该是 [1,1,2,2,3,3, 4,4,5,5]

分发(5, 1, 5, true) => [5, 4, 3, 2, 1] #OK

Distribute(1, 5, 3, true) => [4, 5, 5] #错误应该是 [1, 3, 5]

0 投票
2 回答
232 浏览

sql-server - Windows 上默认安装的最低通用 sql 提供程序

谁能告诉我在 windows xp 及更高版本上默认安装了哪些数据提供程序来访问 sql server,我正在寻找(并希望)有一个常见的 OLEDB 提供程序,或者我可以使用的 sql 本机提供程序(出于性能原因 ODBC 是不在运行中)默认情况下必须安装预期的提供程序,因为分发的要求是不能安装任何东西。如果存在这样的提供程序,您是否还可以提供连接字符串。

0 投票
2 回答
358 浏览

tcl - 如何分发用解释语言构建的项目?

我已经用解释语言(Tcl/Tk)和 Perl(两者都是开源)启动了一个项目(开发人员文本编辑器),但是有一段时间,当它进入 Beta 版本时,我需要分发它适用于用户(当然是开发人员),但我想知道一些关于此的事情:

  • 可以编译成可执行文件吗?
    • 如何?
    • 我可以为其他平台编译吗?
  • 或者在这种情况下最好使用编译语言还是解释语言?
  • 平常的事情是这样的吗?
  • 在用户机器上,他需要有 Tcl/Tk 还是 Perl?
0 投票
1 回答
290 浏览

installation - Java程序的打包和分发

我需要一种将 Java 程序打包并分发到远程设备的方法。Web Start 并不理想,因为它只分发 Jars 并且需要 Web Server。我需要在安装过程中分发和运行脚本,并且需要一些其他类型的文件。

0 投票
4 回答
909 浏览

java - Using maven to distribute a swing application that can have each dependency individually tracked

I'm moving my project to Maven and eventually OSGi. I currently distribute the project is a large Zip file with all the dependencies. Although my projects code is only 20% of the total package I have to redistribute all the dependency. With smaller independent modules this may be even less.

Looking here on stack overflow it seems that to keep my current plan the maven-assembly-plugin should do the trick.

I was considering having a base installer that would look at a XML manifest, then collect all the libraries that needed to be updated. This would mean that libraries that change occasionally would be downloaded less often. This also makes since for something like OSGi plugins (which could have independent release schedules). In essence I want my software to look and manage individual libraries, and download on demand (based on the manifest).

I was wondering if there is a "maven way" of generating this Manifest and publishing all the libraries to a website? I believe the deploy life-cycle would do the second step.

As an alternative, is there a OpenSource Java library that does this type of deployment? I don't want to embed Maven or something larger with the distributed code. The application is not for coders, the simpler the better, and the smaller the installer the better.

0 投票
2 回答
1089 浏览

svn - 如何使用 Git 作为内容分发网络

《Git Internal》一书提到在 p50 使用 git 作为对等内容分发网络,但没有太多细节。尤其是如何拥有多个跟踪不同文件的分支。例子:

(工作目录) a00.exe a01.exe b00.exe c00.exe c01.exe c02.exe

Master 分支跟踪所有文件,而分支 A 只跟踪 a00.exe 和 a01.exe,分支 B 跟踪 b00.exe 等等。下一次提交将更新 a00.exe b00.exe c00.exe。如何创建这样的分支?一旦所有分支都提交了,我只能从远程获取某个分支吗?谢谢!

0 投票
7 回答
5905 浏览

c# - XNA游戏发行问题

我想开始使用 C# 的 2D 游戏,所以我正在检查我的选项。XNA 听起来不错,但有几点我不是很清楚。

如果我使用 XNA,我可以只构建我的游戏并将我的游戏作为独立的可执行文件从我的网站分发吗?或者有什么问题吗?人们需要特殊的库来玩我的游戏吗?我必须向 MS 付费才能分发我的游戏吗?

通常我会编写一个程序,构建它,然后将可执行文件上传到下载并保存,任何人都可以下载、安装和使用它。使用 XNA 时它也会这样工作还是有任何限制?

0 投票
3 回答
37857 浏览

matlab - Test if a data distribution follows a Gaussian distribution in MATLAB

I have some data points and their mean point. I need to find whether those data points (with that mean) follows a Gaussian distribution. Is there a function in MATLAB which can do that kind of a test? Or do I need to write a test of my own?

I tried looking at different statistical functions provided by MATLAB. I am very new to MATLAB so I might have overlooked the right function.

cheers

0 投票
5 回答
157 浏览

linux - 在 Linux 上发布软件时要支持的 Linux 发行版/版本

我们即将发布几个支持 Linux 的软件。

对于 Mac 和 Windows,支持的版本数量非常有限(xp、2000、vista,win 7,Mac 10.4-6)。但是对于 linux 来说就是另外一回事了。

我们希望支持尽可能多的 Linux,但选择范围很大。

问题是:

  • 使用哪种分发格式(二进制文件)来支持尽可能多的 Linux?
  • 对于测试,我们可以测试什么“基础 linux”并将我们的结果扩展到其他 linux。
  • 根据我们提供具有所有依赖项的静态链接二进制文件,我们需要检查什么?我假设内核版本和 libc 版本,但我想知道。

我们的软件是用符合 ANSI 的 C 语言编写的,带有一点 BSD 和 POSIX(gettimeofday,pthreads)。

0 投票
2 回答
674 浏览

iphone - 为商业软件产品分发 iPhone 应用程序

如果你有一个产品并且想要这个商业产品的 iPhone 应用程序(这个应用程序只是与 Web 服务通信并提供一些数据)

您如何通过此产品的客户分发此 iPhone 应用程序?只有苹果商店?苹果会允许在那里存储商业产品的应用程序吗?这个应用程序可以免费吗?

太感谢了!此致。