Code is poetry
Filed under: .js, Programming, Web Programming, lifeStyle
四月 4, 2008 • 12:47 am 0
Code is poetry
Filed under: .js, Programming, Web Programming, lifeStyle
三月 29, 2008 • 1:20 pm 0
“This is a huge step for the team, to be able to run a widely-used framework, such as Django, on a dynamic language running on the .NET Framework”
–http://www.infoq.com/news/2008/03/django-and-ironpython
“We’re initially building four languages on top of the DLR – Python, JavaScript (EcmaScript 3.0), Visual Basic and Ruby”
–http://blogs.msdn.com/hugunin/archive/2007/04/30/a-dynamic-language-runtime-dlr.aspx
Man, this is big.
Filed under: Programming, Web Programming
三月 23, 2008 • 1:52 am 0
AIR brings all kind of web-tech together onto a universal runtime that runs in most of the platform nowadays. Consider we have Flash, Html, Css, Local-file I/O, Local-graphic accel., offline-online-interoperatibility and we have Eclipse as the IDE.
However AIR’s Html part is consideredly weak, it’s just a webkit browser and that’s all. It doesn’t promise to control the web content and functionality and solve the Ajax problems that we experienced, e.g. history, keyboard, browser compatibility, security, etc. In this point, why not let us introduce the ready & matured solution – GWT – to handle this part?
Filed under: .js, Programming, Web Programming
三月 6, 2008 • 1:41 am 0
Filed under: .js, Apple, Programming, Web Programming
二月 10, 2008 • 4:37 am 0
Adobe 近年來的發展很快,各種新技術的開發己形成一種勢力,己經到了一個很容易令人察覺的階段。我想在此整理一下新的價值觀。首先 ECMAScript(我習慣叫Javascript) 將會是一種橫跨 Adobe 所有產品的語言,也同時是 AJAX 類的 Web apps 的唯一語言。「怎樣保護 Source Code」這問題,將會是我第一個要尋找的答案;我相信已經有 solution。
手機將會是新的戰場。
Adobe at Mobile World Congress 2008
http://www.adobe.com/mobile/news_reviews/events/mwc/?promoid=BRIUB
Adobe has checked in a new virtual machine called “tamarin-tracing” into the Mozilla Tamarin project
http://www.onflex.org/ted/2007/12/meet-qvm-new-tamarin-vm-contributed-to.php
Filed under: Programming, Web Programming
一月 24, 2008 • 1:41 am 0
Well…installed the 64bit version recently, follow the typical method:
1. Download the binaries http://landonf.bikemonkey.org/static/soylatte/
2. Terminal these (change /java6 to the path u placed the files):
export PATH=/java6/bin:$PATH
export JAVA_HOME=”/java6”
export CLASSPATH=$JAVA_HOME/lib
3. java -version
Should display the following result:
Java version “1.6.0_03-p3″
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_22_nov_2007_13_38-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_22_nov_2007_13_38-b00, mixed mode)
4. Done! ….to recover to 1.5 just do the following:
export PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin:$
export JAVA_HOME=”/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/”
export CLASSPATH=$JAVA_HOME/lib
Filed under: Apple, Programming
七月 25, 2007 • 10:59 pm 0
Codematic (原名:LTP.Net代码自动生成器)是一款为 C# 数据库程序员设计的自动代码生成器,Codematic 生成的代码基于基于面向对象的思想和三层架构设计,结合了Petshop中经典的思想和设计模式,融入了工厂模式,反射机制等等一些思想。采用 Model + DAL + BLL + Web 的设计,主要实现在 C# 中对应数据库中表的基类代码的自动生成,包括生成属性、添加、修改、删除、查询、存在性、 Model 类构造等基础代码片断,使程序员可以节省大量机械录入的时间和重复劳动,而将精力集中于核心业务逻辑的开发。Codematic 同时提供方便的数据库查询管理,SQL脚本生成,存储过程生成,数据库文档生成,Web项目文件发布,代码生成自动导出文件等多项开发工作中常用到的功能,您可以很方便地进行项目开发。http://www.maticsoft.com
CodeSmith is a software development tool to help you get your job done faster. Technically speaking it is a template driven code generator that automates the creation of common application code for any language (C#, Java, VB, PHP, ASP.NET, SQL, etc.).CodeSmith includes many useful templates as well as entire sets of templates for generating proven architectures (.netTiers, CSLA, NHibernate, Wilson’s ORMapper, APOSA, and more). You can easily modify any templates or write your own to generate your code exactly the way you want it.http://www.codesmithtools.com/
Filed under: Programming
七月 24, 2007 • 11:45 pm 0
1. Firefox preferences list: in the address bar, type “about:config“.
e.g. Use less memory: add boolean: config.trim_on_minimize. Set this true.
2. Black Hat: http://en.wikipedia.org/wiki/Black_hat
3. SQL Injection: http://en.wikipedia.org/wiki/SQL_injection
Filed under: Programming, Web Programming
二月 21, 2007 • 2:51 am 0
Recently did a few googling for setting up a CVS repository for Eclipse(actually not really matter what ever the client is..) Here I think I should better write it down for future referencing.1. Create the CVS directorysudo mkdir /usr/local/CVS/sudo cvs -d /usr/local/CVS/ initsudo chmod -R a+rw /usr/local/CVS/ (Here have security issue but I dun really care about it.)2. Deal with xinetdCreate a file /etc/xinetd.d/cvspserver with the following content:service cvspserver{disable = nosocket_type = streamwait = nouser = rootserver = /usr/bin/cvsserver_args = -f --allow-root=/usr/local/CVS pservergroups = yesflags = REUSE}Then restart xinetd.sudo kill -HUP `cat /var/run/xinetd.pid`sudo /System/Library/StartupItems/IPServices/IPServices start3. User accountsCreate password file /usr/local/CVS/CVSROOT/passwd with sudo htpasswd -c passwd [username]4. Setting up EclipseIn Eclipse, config the CVS repository connection :pserver:[username]@127.0.0.1:/usr/local/CVS Done.5. Some extra notespserver connection type is unsave, better use pserverssh2 or extsshBASH Cheat SheetVi Cheat Sheet
Filed under: Apple, Programming
最近的回應