HAHAHAHA(HAx4)'s       




 Hong Kong Film Awards 2016, the missing best film 4/03/2016


The only thing we have to fear is fear itself

                                                 --FDR


Could someone please tell me why the best film is missing from this so called full list?

第35届香港电影金像奖 完整获奖名单

    Posted by HAx4 at 1:16 PM 0 Comments  

 SDC Constraint, Input / Output Delay 3/29/2016

Setting up input / output delay is always a tedious job. And the following is a spreadsheet to help the number crunching. BTW, I have to say that MS Excel is much more powerful than Google Spreadsheet.

Labels: ,

    Posted by HAx4 at 11:07 PM 0 Comments  

 Line by Line Processing 3/25/2016

Oftentimes we have to process text file line by line to patch some additional information.

There are several ways to deal with it:

(1) Use Perl/Python and regular expression
(2) Use sed, especially sed -i
(3) Use tcl

To use option (1) and (2) in modelsim, external executable files have to be installed, while tcl is natively supported.

For tcl, fileutil::updateInPlace can be helpful, as illustrated in ref[1].

and

string match
regsub
regexp


References:

Labels: ,

    Posted by HAx4 at 11:05 PM 0 Comments  

 House of Cards, Season 4 3/21/2016

My Netflix subscription is worth it. One fringe benefit of having Netflix is that now I can watch the shows when I'm sitting on the toilet. At least I get to recycle some of those garbage minutes.

I like the way when Frank is sincerely telling the false. That was so artful despite all its flaws. And women's desire to power is both incongruous and ridiculous.

And conscience still prevails here and there, like the Doug's 5 grand donation, and Tom Hammerschmidt's perseverance.

I give it 4 stars, one goes to Frank, one goes to Doug, and the rest two belong to conscience and perseverance.

Labels:

    Posted by HAx4 at 12:47 PM 0 Comments  

 The Soul of HONDA 1/17/2016

がんばっていれば、いつか報われる。持ち続ければ、夢はかなう。そんなのは幻想だ。たいてい、努力は報われない。たいてい、正義は勝てやしない。たいてい、夢はかなわない。そんなこと、現実の世界ではよくあることだ。けれど、それがどうした?スタートはそこからだ。技術開発は失敗が99%。新しいことをやれば、必ずしくじる。腹が立つ。だから、寝る時間、食う時間を惜しんで、何度でもやる。さあ、きのうまでの自分を超えろ。きのうまでのHondaを超えろ。 負けるもんか。

From http://matome.naver.jp/odai/2133688384360785801
and
http://shuoke.autohome.com.cn/article/33198.html

    Posted by HAx4 at 12:15 AM 0 Comments  

 Best Wishes to Taiwan and ROC 1/16/2016

Congratulation to Ms Tsai, for her courage and perseverance.

And best wishes to the people of Taiwan, and to Republic of China!

    Posted by HAx4 at 11:53 PM 0 Comments  

 openlava LSF 7/16/2015

LSF is a popular software for load balancing in cluster environment. And its open source counterpart is openlava (http://www.openlava.org). In fact, openlava is a fork of LSF 4.2, and the following is a list of useful resources in this regard:

http://docslide.us/download/link/lsf-user-guide
https://www-it.desy.de/systems/services/batch/lsf/Docs/
http://www.openlava.org/documentation/documentation.html
http://www.teraproc.com/resources/
http://jensd.be/?p=404


And to get load index for external resources, such as floating software licenses, an external LIM called elim is needed:

(1) assume the resource name is abc, it should be listed in lsf.share as  
      abc Numeric 60 N (some words for comment)

(2) It should be listed in lsf.cluster.openlava as 
     abc [all]

and LSF_ELIM_DEBUG=y
LSF_ELIM_BLOCKTIME=5

(3) put a script called "elim" in /opt/openlava-3.0/sbin, it should have a endless loop in it, and it should output something like the format described in admin-ref, and the loop body can be something like :
    lmutil stat -a | processing_script;
    sleep 10;

(4) make sure environment variable is set properly. First, a script like common_setting.sh in /etc/profile.d

(5) source /etc/profile.d/common_setting.sh in /etc/init.d/openlava

use bhosts -l to see if those resources are available

To submit job

bsub -o test.log -N -R "select[defined(abc)]rusage[abc=1]" -J "jobname" job_command_line

Labels: , , ,

    Posted by HAx4 at 10:03 PM 0 Comments  

   

 

    

Follow hahahaha_hax4 on Twitter
    

Features

*) Grand Opening
*) Why HAHAHAHA
*) Stay Foolish
*) Rabbit Hole
*) Sharepoint
*) Blotter
*) Notebook

Labels

*) Limerick
*) Movie
*) Tech
 +) Embedded Systems
 +) FPGA-ASIC-HW
 +) Linux
 +) Software
 +) Windows

Links

*) Blotter (Obsolete)
*) Notebook
*) Rabbit Hole
*) New Sharepoint


*) TEXT2PNG
*) PulseRain Technology
*) China Blog List


*) FCC Wireless
*) ARRL

Archives
  • May 2004
  • November 2004
  • December 2004
  • January 2005
  • February 2005
  • March 2005
  • April 2005
  • May 2005
  • June 2005
  • July 2005
  • August 2005
  • September 2005
  • October 2005
  • November 2005
  • December 2005
  • January 2006
  • February 2006
  • March 2006
  • April 2006
  • May 2006
  • June 2006
  • July 2006
  • August 2006
  • September 2006
  • October 2006
  • December 2006
  • January 2007
  • February 2007
  • March 2007
  • April 2007
  • May 2007
  • June 2007
  • July 2007
  • August 2007
  • September 2007
  • October 2007
  • November 2007
  • December 2007
  • February 2008
  • March 2008
  • April 2008
  • June 2008
  • August 2008
  • January 2009
  • February 2009
  • March 2009
  • May 2009
  • June 2009
  • July 2009
  • October 2009
  • November 2009
  • December 2009
  • January 2010
  • February 2010
  • April 2010
  • May 2010
  • June 2010
  • July 2010
  • September 2010
  • January 2011
  • May 2011
  • June 2011
  • August 2011
  • October 2011
  • November 2011
  • April 2012
  • May 2012
  • June 2012
  • August 2012
  • September 2012
  • April 2013
  • May 2013
  • August 2013
  • February 2014
  • March 2014
  • April 2014
  • June 2014
  • August 2014
  • September 2014
  • October 2014
  • January 2015
  • March 2015
  • June 2015
  • July 2015
  • January 2016
  • March 2016
  • April 2016