销售线索强制分布派发算法 12 January 2014 Jeff Math 数学, Programming 编程 问题: 一个呼叫中心,有电话专员若干名,主管一名。这位主管每天都会从固定的渠道拿到需要跟踪的销售线索列表,这些销售线索是分批到达的,每批列表里的销售线索数量不等,有多有少。这位主管每次拿到一批线索列表后,便将它们分派给电话专员们去跟踪。有些电话专员经验丰富,她会给他多派些;有些是新来的,就少派些;对于大多数专员,应该分到数量相同的线索。这些多派少派,可以使用权重来表示。比如对于大多数专员,权重是1... [More]
Solved: Error resizing the VirtualBox VM’s disk 20 November 2013 Jeff Computer Network 计算机网络 Problem: When executing the following command to resize the disk for a VirtualBox VM’s disk: VBoxManage modifyhd JeffTian-Linux.vdi --resize 80000 The following error occurred: VBoxManage.exe:... [More]
给三星P467笔记本换固态硬盘-让旧电脑瞬间成为超级本 26 October 2013 Jeff Computer Network 计算机网络 背景: 进入正题前,先说点小故事。我现在用的笔记本,三星P467,2010年3月产的,还是当时公司给配的,用出感情来了。原来是2G内存Window XP系统,后来装了Windows 8,性能跟不上了。于是给它加了2G内存,好像快了一丁点儿,但是仍然很慢。后来听说Linux系统不像Windows系统耗内存,于是就安装了Ubuntu。下载Ubuntu只要700多兆的空间,1G U盘就搞定,不像我当时... [More]
ASP.NET MVC: Why can’t compressing stream and whitespace removing stream work together? 02 September 2013 Jeff C#, MVC Problem: The other day, I wanted to employ some ActionFilterAttributes to totally compress my dynamically generated HTML before sending it to the client for network bandwidth saving and so improving t... [More]
优秀与拙劣的差别 14 August 2013 Jeff Random Thought 随想随记 我一直认为自己是个牛的开发者,但这只是一种感觉。今天对照了下面的这个实例,才醒悟自己一直是个拙劣的代码工人。 我们经常会遇到这种情况,出现了一个bug,并且时间紧迫。快速修复确实可以解决它——只要新加一行代码或者忽略那个列表上的最后一个条目,它就可以工作了。但接下来的做法才能说明,谁是优秀的程序员,谁是拙劣的代码工人。 拙劣的代码工人会这样不假思索地改完代码,然后快速转向下一个问题。... [More]
Solved: Creating Dynamics CRM organization error 07 August 2013 Jeff Other 其他 Problem: On a Microsoft Dynamics CRM 2011 Server, creating an organization met the following error: The log: 16:52:20| Info| Grant access for ServiceAccount: NT AUTHORITY\NetworkService, WebApp... [More]
How to edit and save hosts file in Windows 8 OS 06 August 2013 Jeff Computer Network 计算机网络 Problem: After you edited your hosts file in Windows 8 system and then when you save it the following save as dialog prompted: If you click “Save” button, the following alert message popped out, c... [More]
Solved: Can't select "Microsoft Dynamic CRM Fetch" as the new data source type 06 August 2013 Jeff Other 其他 Problem: While learning CRM "Visualizations and Dashboards Hands-on Lab" on Exercise 4 - Building a Custom Report, the exercise mentioned in creating the report server project using SQL Server Busines... [More]
Javascript implementation of String.format() 31 July 2013 Jeff JavaScript Background: The String class has a format() method in C# which is very handy to build dynamic messages from a template. For example, Console.WriteLine(String.Format("Current Page Index: {0}, ... [More]
Windows Phone 如何强制重启 25 July 2013 Jeff Other 其他 问题: 诺基亚Lumia 800,Windows Phone 7.8,今天打完电话点击“结束通话”后,手机显示“正在结束通话”,然后就僵在这里,不能退出,回不到待机界面,长按锁屏键既不能出现关机确认界面也不能关机。然后由于手机的设计,无法仅凭双手取出电池。 解决方案: 先按住锁屏键,再按音量减小键,按住不放,持续15秒,手机终于一下子断电然后重启了。