Liferay Mobile Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 15 October 2008

The 7 CSS Hacks that we should use

Posted on 08:05 by Unknown
Over at DZone I cam across this atricle:
The 7 CSS Hacks that we should use: "If you are trying to do pixel-perfect cross-browser CSS layout, then you have probably ran into problems with IE . I am going to highlight the top 7 CSS hacks that we often use to have pixel perfect design."


As a web developer, our site supports Mozilla/Firefox and Internet Explorer. I do not know how many times I have suggested we drop IE support, for just these sorts of issues. Oh well, I guess I can look on it as job security. Every time there is a new IE release, we have to redo the website to support the new "standard"
Read More
Posted in | No comments

Wednesday, 27 August 2008

cygwin makes like better

Posted on 11:52 by Unknown
I use cygwin a lot and emacs a lot. As I was recovering my machine, I came across this great list of useful ideas which includes:


Useful Tidbits

1. You may want to disable your virus checker when running the Cygwin installer. Don't forget to re-enable it when you're finished installing.
2. If you are planning on installing CERN's Root, I recommend going to the 3.4.4.3 version. Root 5.14 (or later?) should be immediately compatible with this release. You may have to build the earlier versions from sources.
3. Cygwin doesn't like it if there is a space in your Windows username. If you have a space, do the following after installing Cygwin:
* Edit /etc/passwd (using either emacs, vi, or even Windows Wordpad)
* Find your entry (it will start with your windows username)
* Take the space out of your username (1st entry) and your home directory (2nd to last entry).
* Quit all Cygwin
* Use Windows Explorer to rename your home directory (C:\cygwin\home\cplager in my case)
4. Cygwin doesn't like spaces in directories. To have access to my program files, I created a 'mount point':
cygwin> mount -f -s -b "c:/Program Files" "/mount/programfiles"
You only need to run this command once.
5. To make access easier to my documents and the decktop, I made the following soft links in my home directory
cygwin> ln -s 'C:/Documents and Settings/cplager/Desktop' Desktop
cygwin> ln -s 'C:/Documents and Settings/cplager/My Documents' Documents


I also like to use rxvt instead of the standard console. The command line looks like this: C:\cygwin\bin\rxvt.exe -sl 1500 -fn "Lucida Console-12" -bg black -fg grey -sr -e bash --login -i
Read More
Posted in | No comments

Friday, 25 July 2008

Color Design Blog / As Seen By The Color Blind by COLOURlovers

Posted on 13:04 by Unknown
The Americans with Disabilities Act helps ensure that web sites are accessible to people with special needs. Having a friend and co-worker who is deaf has made me more aware of the issues involved. For example, a deaf user will need closed-captions or transcripts of video.
Most of the requirements are not difficult to implement, just hard to remember and to test. We are seeking tools that automate testing to help us identify problems.

I have another friend who is color blind and while it is not a disability, software developers need to be aware of some of the problems that can be caused by color blind users.

A common design is to use color to distinguish a good state versus an alert state. The obvious choice is to use green for a happy state and red to show some error. While doing this, keep in mind that some percentage of your users will not be able to distinguish between red and green. The simple solution is to change something else in the text such as a little stop sign icon.

Anyway, checkout this page for some ideas on being more aware of your color blind users.

Color Design Blog / As Seen By The Color Blind by COLOURlovers: "In the U.S. 7% of the male population – or about 10.5 million men – and 0.4% of the female population either cannot distinguish red from green, or see red and green differently. Color blindness affects a significant amount of the population"
Read More
Posted in | No comments

Tuesday, 15 July 2008

Quote Details: Rick Cook: Programming today is a... - The Quotations Page

Posted on 09:56 by Unknown
Of course this does not apply to my users all of whom are most ingenious.

Quote Details: Rick Cook: Programming today is a... - The Quotations Page: "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Rick Cook, The Wizardry Compiled"
Read More
Posted in | No comments

Wednesday, 25 June 2008

Joda Time - Java date and time API - Home

Posted on 13:28 by Unknown
Josh Bloch mentioned this as being the basis for the new Date JSR. I had never heard of it.

Joda Time - Java date and time API - Home: "Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included, and we welcome further additions. Supporting classes include time zone, duration, format and parsing."
Read More
Posted in | No comments

Josh Bloch: How To Design A Good API and Why it Matters

Posted on 12:49 by Unknown
I saw this over at DZone and found it important enough to share. At the end Josh references a handout.

Read More
Posted in | No comments

Monday, 16 June 2008

Spread Firefox | Download Day 2008

Posted on 13:08 by Unknown
I think I can help with this world record.

Spread Firefox | Download Day 2008: "Set a Guinness World Record
Enjoy a Better Web

Sounds like a good deal, right? All you have to do is get Firefox 3 during Download Day to help set the record for most software downloads in 24 hours - it’s that easy. We're not asking you to swallow a sword or to balance 30 spoons on your face, although that would be kind of awesome.

The official date for the launch of Firefox 3 is June 17, 2008. Join our community and this effort by pledging today"
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Hexlify in Clojure
    Looking at this gist , I have created functionality similar to EMACS hexlify-buffer. In EMACS, it reads a binary file and presents two views...
  • Clojure: lazy seq + database = bad
    In my work on topoged-hibernate I naively thought that it would be great to return a lazy-seq of the results of a query like: However, th...
  • Flex, Spring and BlazeDS: the full stack! (Part 1)
    I've decided that it is time for me to learn a new language and I have decided on Flex. This article looks like a good place to start. ...
  • Linux.com | GNU Emacs 22 finally released
    I have just recently switched from Emacs to Eclipse for my Java development work. I still use Emacs almost everyday I even have an Emacs r...
  • What have they done with com/sun/corba/se/connection/ORBSocketFactory?
    We are using Weblogic 8.1.4 and I am writing a monitoring program that will let me know if all the required EJBs, data sources and other res...
  • Chapter�16.�Portlet MVC Framework
    Spring Portlet MVC applies the same principles to portlet development as the the Spring Web MVC framework applies to servlet development. F...
  • LISP Cycles
    I admit it, I like LISP. There are a certain set of programming problems that it handles elegantly. I feel the same about AWK, BASH, SQL a...
  • Archiva startup error
    We started seeing this problem in Archiva: SQL Exception: An SQL data change is not permitted for a read-only connection, user or database. ...
  • Open Source Technical Support by OpenLogic
    This gets filed under the category of "Why didn't I think of this?". What an excellent business model. Take a free product a...
  • ASP.NET caching based on a cookie
    You have to use VaryByCustom parameter. Your OutputCache directive will look like this and you have declare the following method in which w...

Categories

  • 1.3.0
  • abiword
  • apache
  • archiva
  • browser
  • clojure
  • ClojureScript
  • derby
  • exception
  • java
  • javaone
  • javascript
  • jdk
  • jquery
  • lein
  • Liferay
  • page background
  • patterns
  • swank
  • watermrk

Blog Archive

  • ▼  2013 (3)
    • ▼  November (1)
      • Stupid Java Error: java.lang.NoClassDefFoundError:...
    • ►  July (1)
    • ►  May (1)
  • ►  2012 (5)
    • ►  December (3)
    • ►  February (1)
    • ►  January (1)
  • ►  2011 (5)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2010 (6)
    • ►  September (6)
  • ►  2009 (10)
    • ►  July (2)
    • ►  June (1)
    • ►  April (5)
    • ►  March (1)
    • ►  January (1)
  • ►  2008 (23)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (6)
    • ►  April (4)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2007 (45)
    • ►  December (7)
    • ►  October (5)
    • ►  September (1)
    • ►  August (4)
    • ►  June (3)
    • ►  May (15)
    • ►  April (7)
    • ►  March (3)
Powered by Blogger.

About Me

Unknown
View my complete profile