2009年10月22日 星期四

記憶體資料庫的Hot Standy原理

今天收到iThome對記憶體資料庫的報導寄來的雜誌,看到記憶體資料庫的Hot Standy原理,和我在超級市場電腦化計劃書所想的很接近.

2009年10月15日 星期四

會展展示的外賣系統

今季電子展13-16/10在會展舉行,硬件伙伴有份參展,昨天Wilson和我一起去參觀,看到伙伴研發了幾款新Touch Screen Terminal,所有系統安裝和展示MemDB快餐管理系統



2009年10月12日 星期一

廉政行動-維修大鱷

上星期六看了廉政行動2009 第3集 - 維修大鱷 ,覺得很適合IT軟件公司看,所以寫來和大家分享.
$(function() {
$("#sharing2 .share").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .share .facebook").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .share .email").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .add_to_playlist").hover(function() {
$(this).addClass("on");
},function(){
$(this).removeClass("on");
});
$("#sharing2 .add_to_playlist").click(function() {
if (!logged_in) prompt_login();
});
$("#sharing2 .add_buzz").click( function () {
alert('buzz');
});
$("#sharing2 .share .facebook").click( function () {
facebook(location.href, sharing_title);
return false;
});
$("#sharing2 .share .email").click( function () {
email_to_friend(video_id);
return false;
});
$("#sharing2 a.favourite_it_now").click(function(){
if (!logged_in) prompt_login();
var m = $(this).siblings(".message");
$.ajax({
url: "/wsapi/ws_vdo_rating.php",
data: {
'video_id': $(this).attr('video_id'),
'action': 'add',
'user_login': user_login
},
success: function(d){
d = jQuery.trim(d);
if (d == "1") show_message_for(3, m, "成功推介");
else if (d == "2") show_message_for(3, m, "已成功推介");
},
dataType: "text",
cache: false
});
return false;
});
function facebook(link, title) {
if (!logged_in) prompt_login();
//else window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(link)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436');
else window.open('/wsapi/facebook_share.php?u='+encodeURIComponent(link)+'&t='+encodeURIComponent(title),'sharer','toolbar=0,status=0,width=626,height=436');
}
function email_to_friend(video_id) {
if (!logged_in) prompt_login();
else window.open('/wsapi/share.php?video_id=' + video_id, 'email_to_friend', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=626,height=436');
}
function show_message_for(seconds, target, message) {
target.html(message).fadeIn("slow", function() {
setTimeout(function() { target.fadeOut("slow"); }, seconds*1000);
});
}
});

2009年10月6日 星期二

超市系統的要求

上星期五,四萬尺超市的老闆,會計和項目經理到訪MemDB店舖,講解他們的要求.

2009年10月3日 星期六