顯示具有 代貼 標籤的文章。 顯示所有文章
顯示具有 代貼 標籤的文章。 顯示所有文章

工程師精算省成本秘方

Posted by ayuayu on 2020/04/15

我們有公平,公正,公開的績效量化機制

寫程式的時候以字計費

當然,多餘的字不算錢,如果造成錯誤也要扣錢

儘可能以最快的速度打出那些字,太慢的話會斟酌扣錢

福利當然是有的,比我們預期的速度更快地打出這些字的話,當然會加薪


(代貼)Viva la bux IS JOKE,DONT GET DECEIVED FROM ANY BUX SITE

Posted by ayuayu on 2011/10/04

以下是我個人補充

bux這玩意就算會付,也要先刁難你,為什麼,因為有人會放棄
知道為什麼嗎?因為當有人放棄,他就賺到了所有的免費點擊

以下是我朋友被騙經過,但他沒BLOG沒公開的方法,所以我就幫他公開出來

以下正文

之前我有在bux系統實際賺到一些利益,最近為了一點小錢不想花,又去碰了bux,我發現我錯了
I've earn some profit really in bux system,so I want to save some money recently and try bux again,but I wrong


這次我找到了一個vivala bux,一開始我看到許多誘人的地方,但都是假的
This time I found vivala bux,at beginning I see many good tempting point,but all fake

前5000有premium,但是我加入後才發現premium上面還有兩個等級,elite和ultimate
first 5000 is free premium member 1 month,but theres elite and ultimate ,higher level member

注意以下都是假的
notice all fake

50 Ad's per day=>FAKE ,only ultimate and never also lower than 50 today(假的,而且現在就算ultimate也沒有50個廣告可點)
$1 minimum pay out=>BIG JOKE,only ultimate and now is $20(premium is $3=>$5=>$20) (大玩笑,而且連ultimate現在都是$20)

至於他怎麼運作的呢,當我第一次抵達最底限標準$1時嘗試payout,結果發現premium需要$3,當我又達到時,發現需要註冊滿30天
How to joke us?when I reach first minimum $1,I found premium need $3,and when I reach again,I found need register 30 day before payout


這三十天是個大玩笑,因為premium也是三十天,代表你無法用premium的標準payout,當時你已經是個standard member
This 30 day is big joke,cause premium is 30 day,so you cant use premium payout if you are that free premium,when you can request payout,you are standard member,not premium

這時我就發現有問題了,我想這30天內絕對會提升到讓人放棄的標準,結果果然如此
Now I find the JOKE,I think this garbage site absolutely change the payout method in this funny 30 day,and they REALLY do it

改變了什麼呢
then,change what?

所有支付底線全部提高為$20(這代表無論premium或standard都會吐血)
all payout minimun is $20(that change is a big joke for premium and standard)

PAYPAL需要認證帳戶(雖然我的有認證,但我相信會打死一堆人,你必須做一堆事情來拿這芝麻小錢,實在太蠢了)
PAYPAL need verified account(many people should do lot trouble to receive this micro profit,so cool)

你認為這只是個案?那你就錯了,他只是騙比較大的例子
you think another bux maybe a good one?you wrong,viva la bux just a wrose case

我請我朋友代貼這個訊息,希望有看到這篇的人別再相信任何BUX網站
I ask my friend post this message for me,hope you never being next joke from any bux site

相信我,持之以恆的點擊還不如你去隨意找份打工,相較之下可以賺到太多
Trust me,find a small work will earn much more than this funny every click

最起碼打工不會像vivala bux這樣,為了想要你點擊又不想付錢,每天都在想新方法刁難你
at least work wont like vivala bux,want you click but dont want to pay,so think a lot of new joke to trick you every day.

永遠別為了小錢去BUX,你無法輕易賺到的
never go any bux when want small profit,you can't easy earn it


試想,$1跳票,$3跳票,$5跳票,你為什麼認為$20不會跳票呢?已經沒有信用可言了
think it,$1 lied,$3lied,$5 lied,SO WHY THINK $20 WONT LIED?theres no credibility


Stikel

atmosphere使用心得(代貼)

Posted by ayuayu on 2010/03/27

1.代貼
2.引用自https://atmosphere.dev.java.net/nonav/atmosphere_whitepaper.html


以下是官方白皮書所寫

Introduction
The Atmosphere Framework is designed to make it easier to build asynchronous/Comet-based Web applications that include a mix of Comet and RESTful behavior. The Atmosphere Framework is portable and can be deployed on any Web Server that supports the Servlet Specification 2.3. This document introduces the framework and its module.

簡單來說,Atmosphere是一個用來幫助撰寫使用comet技術的網站的Framework,並提供了許多的模組

先拿Atmosphere Runtime來介紹
使用Atmosphere Runtime必須先對container做些設定
至於如何設定, 請參考白皮書及各container的文件


原理


將request送至AtmosphereServlet後
AtmosphereServlet會將request及response交給AtmosphereHandler處理
而AtmosphereHandler為一介面,開發者需實作此介面

AtmosphereHandler需實作的方法如下:
void onRequest(AtmosphereResource<F,G> event);
void onStateChange(AtmosphereResourceEvent<F,G> event);



當request送至AtmosphereHandler, AtmosphereHandler會呼叫onRequest並把此次的request封裝成一事件傳入;而當連線狀態改變時, AtmosphereHandler會呼叫onStateChange並傳入事件

會觸發onStateChange的事件有
Cancel
Timeout
Resuming
Suspend
(使用I/O blocking機制, 詳細解釋可以參考這裡: http://en.wikipedia.org/wiki/Asynchronous_I/O)



3.
使用Atmosphere廣播訊息:
首先, 需先設定web.xml, 把開發者實作的class map至AtmosphereServlet
<servlet>
<servlet-name>AtmosphereServlet</servlet-name>
<servlet-class>org.atmosphere.cpr.AtmosphereServlet</servlet-class>
<init-param>
<param-name>org.atmosphere.useBlocking</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>


<servlet-mapping>
<servlet-name>AtmosphereServlet</servlet-name>
<url-pattern>/bla</url-pattern>
</servlet-mapping>

在AtmosphereResource中用getBroadcaster()取得Broadcaster
並使用Broadcaster.broadcast(Object)即可廣播訊息 (此方法會觸發AtmosphereHandler.onStatechange())

ayuayu個人後文:
如果懶得看參考資料或是看不懂的話,我白話解釋一下
comet就是純網頁卻可以做即時接收資料供javascript跑的技術
一般來說最常用的是flash即時接收後端資料
但是只有網頁的話,由於必須要更新頁面或主動操作或是定期擷取才有辦法從後端拿到資料(就算你用AJAX也一樣),而comet機制就是目前的其中一種解決方案,可以創造一個在當下可以用自訂協定不斷待機等待資料的環境


舉例好了,網頁對戰遊戲如果是純表單,你被攻擊甚至被打死了都一定要你自己按"更新狀態"才會發現變化,但是如果用comet技術,你將可以做出"只要遭受攻擊就會即時看到HP降低"的呈現