现在位置: 首页 > laced发表的所有文章
  • 05月
  • 01日
综合 ⁄ 共 2670字 评论关闭
智能物流刻不容缓 动态数据仓库举足轻重 发表于23小时前| 323次阅读| 来源CSDN| 32 条评论| 作者郭雪梅 动态数据库物流Teradata 摘要:对于现代物流业而言,快启动信息化系统整合,释放多年积累的数据能量,构建商业智能新平台,为物流企业增长觅求新的动能已经刻不容缓。这其中,构建动态数据仓库,实现商业智能是举足轻重的一步。 最近几年来,物流业突飞猛进式发展难掩信息化水平相对不成熟的现状。自2009年以来,以物流业为节点完善产业链信息化建设的呼声不绝于耳,而且随着国外大型物流集团竞争中国市场,依靠低成......
阅读全文
  • 05月
  • 12日
综合 ⁄ 共 904字 评论关闭
很多做网络工程的项目需要在程序启动的时候检测网络使用环境.给出用户提示.这里就会介绍大家应该怎么做: Reachability 类可以在xcode的帮助文档里面找到有项目实例.我的xode4.5里面的实例是2.2版本. 不多说了 告诉大家怎么做把 其实真的相当的简单: 在使用之前头文件要导入 #import "Reachability.h" 还有这个也是要添加的: 这个只是说执行网络的检测 比如说开启程序的时候或者是要执行某一个操作的时候 reachabilityForInternetConnection//这类是有没有网络,当然你可能需要坚持是否连接到某一个连接的坚持那就选择其他的 这个......
阅读全文
  • 05月
  • 02日
综合 ⁄ 共 2013字 评论关闭
树形DP。。。 B. Appleman and Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Appleman has a tree with n vertices. Some of the vertices (at least one) are colored black and other vertices are colored white. Consider a set consisting of k (0 ≤ k < n) edges of Appleman's tree. If Appleman deletes these edges from the tree, then it will split into (k + 1) parts. Note, that each part will be a tree with......
阅读全文
Funcfurter1 Now let's look at another scenario in which termination handling really proves its value. Look at this function: DWORD Funcfurter1() { DWORD dwTemp; // 1. Do any processing here. ... __try { // 2. Request permission to access // protected data, and then use it. WaitForSingleObject(g_hSem, INFINITE); dwTemp = Funcinator(g_dwProtectedData); } __finally { // 3. Allow others to use protected data. ReleaseSemaphore(g_hSem,......
阅读全文
  • 01月
  • 19日
综合 ⁄ 共 1162字 评论关闭
能否被8整除 给定一个非负整数,问能否重排它的全部数字,使得重排后的数能被8整除。 输入格式: 多组数据,每组数据是一个非负整数。非负整数的位数不超过10000位。 输出格式 每组数据输出一行,YES或者NO,表示能否重排它的全部数字得到能被8整除的数。 注意:重排可以让0开头。 参考:http://blog.csdn.net/computer_liuyun/article/details/40924233 快速判断一个数能否被1、2、3、4、5、6、7、8、9、10、11、12、13、17、19、23等整除的规律总结 :http://blog.csdn.net/u012605629/article/details/41014429 /* 能否被8整......
阅读全文
  • 12月
  • 24日
综合 ⁄ 共 11873字 评论关闭
How do you determine whether a certain provider is enabled? And if not enabled, how do you prompt the user to enable that provider because your application may require it? A LocationListener is simple in theory. It’s a trivial class that has callback methods that specify when a location has changed, when a provider status has changed, or when that provider has been enabled or disabled. The first thing we’ll touch on is a simple check whether the GPS provider is enabled, and if it isn’t, p......
阅读全文
  • 12月
  • 16日
综合 ⁄ 共 2836字 评论关闭
题意: 求两条空间直线的距离,以及对应那条距离线段的两端点坐标. 思路: 有一个参数方程算最短距离的公式, 代入求即可. 但是这题卡精度... 用另外的公式(先算出a直线上到b最近的点p的坐标, 再算出b直线上到a最近的点q的坐标, 再求这两点距离)用double可以过, 直接参数方程的公式用long double才可以><而且下来交的时候..C++->WA,G++->AC... long double #include<cstdio> #include<cstring> #include<cmath> using namespace std; #define eps 1e-9 struct point { long double x,y,z; do......
阅读全文
  • 12月
  • 16日
综合 ⁄ 共 2016字 评论关闭
    redis2.6在前两天发布了(http://redis.io/download),当天下载的时候,在make时一堆编译错误,后来看issue,跟linux系统版本及位数有关。     昨天作者 antirez发布了2.6.2,此版本修复了一些linux版本不兼容导致make不通过的问题,可是下下来以后,发现在测试机编译还是有些问题,与是在issue上提出一个问题:(https://github.com/antirez/redis/issues/736#issuecomment-9848046) 早上来的时候,看到大牛们热心的回复,真的很感动。在测试机上,由于系统 是32位的,导致编译时没通过,首先我立马确定了这个问题,在64位......
阅读全文
  • 12月
  • 16日
综合 ⁄ 共 5316字 评论关闭
在EXT中使用正则表达式验证的方法:fieldLabel : '员工号', name : 'employee.empNo', regex: /^\w+$/, id : 'employee.empNo', regexText:"员工号只能由字母和数字组成!",  allowBlank : false Ext.get('startdt').getValue().replace(/[\u4E00-\u9FA5]/g,"") 匹配中文字符的正则表达式: [\一-\龥]评注:匹配中文还真是个头疼的事, 有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^\x00-\xff]评注:可以用来计算字符串的长度(一个双字节 字符长度计2,ASCII字符计1) 匹配空白行的正则表达式:\n\s*\r评注:......
阅读全文
  • 11月
  • 28日
综合 ⁄ 共 0字 评论关闭
  • 11月
  • 10日
综合 ⁄ 共 877字 评论关闭
刚看到一段代码,关于自适应iphone、ipad布局的,有点启发,记载一下 - (id)init   {       if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {           [super initWithNibName:@"MainView~ipad" bundle:nil];       } else {           [super initWithNibName:@"MainView" bundle:nil];       }          [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(screenDidConnectNotification:) name: UIScreenDidConnectNotification object: nil];       [[NSNotificationCe......
阅读全文
使用IIS7发布web应用程序的时候提示HTTP 错误 404.2 - Not Found 由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面。 解决方法 IIS选择根目录ISAPI和CGI限制 把.net4 设置为允许
阅读全文