1. In the 1995 Halloween episode of The Simpsons, Homer Simpson finds a portal to the mysterious Third Dimension behind a bookcase, and desperate to escape his in-laws, he plunges through. He finds…

     
  2. That is true or false based on whether or not the attribute can accept a run time expression.

     
  3.  
  4.  
  5. digg-style comments in java

      /**
       * Creates a list of links to pages determined by the displayCount
       * If the page number equals the current page or the page number is greater than the page count
       * then no link will be added, only the page number.
       * 
       * @return a list of links
       */
      public ArrayList getPagingLinks()
      {
    	ArrayList pages = new ArrayList();
    	  
    	if (pageCount < (7 + (adjacents * 2))){
        	for(int i=1; i<=pageCount; i++){
        		pages.add(i);
        	}    	    	
        } else if(currentPage < ((adjacents * 3) + 1)){
        	for(int i=1; i<=(4 + (adjacents * 2)); i++){
        		pages.add(i);
        	}
        	pages.add("e");
        	pages.add(pageCount);
        } else if(((pageCount - (adjacents * 2)) > currentPage) && (currentPage > (adjacents * 2))){
        	pages.add(1);
        	pages.add("e");
        	for(int i=currentPage -adjacents; i<=currentPage +adjacents; i++){
        		pages.add(i);
        	}
        	pages.add("e");
        	pages.add(pageCount);
        } else{
        	pages.add(1);
        	pages.add("e");
        	for(int i=pageCount - (adjacents *3); i<=pageCount; i++){
        		pages.add(i);
        	}  
        }
        return pages;
      }
    
    

     
  6. oh, the side effects of thinking in jstl

    <%@ taglib uri=”http://java.sun.com/jsp/jstl/core” prefix=”c” %>
    <%@ taglib uri=”http://java.sun.com/jsp/jstl/functions” prefix=”fn” %>

    <h2>Site Status:</h2>
    <%— oh, the side effects of thinking in jstl —%>
    <c:set var=”envUrlList” value=”${fn:split(‘http://url1.com|http://url2.com|http://url3.com|http://url4.com|http://url5.com|http://url6.com’,’|’)}” />
    <c:set var=”envNameList” value=”${fn:split(‘url1|url2|url3|url4|url5|url6’,’|’)}” />

    <c:forEach items=”${envUrlList}” var=”url” varStatus=”xx” >
    <c:catch var=”err”>
    <c:import url=”${url}” var=”headerContent” />
    </c:catch>
    ${url}:
    <c:choose>
    <c:when test=”${not empty err}”>
    unavailable <br />
    </c:when>
    <c:otherwise>
    available <br />
    </c:otherwise>
    </c:choose

     
  7. Standing Out in the Crowd - Women in Open Source

     
  8. require ‘android’

    name = android.getInput(“Enter text to speak”, “”)

    android.speak(name.result)

    android.exit()

     
  9. They think, ‘I’m going to cook a great breakfast, wash up the dishes before I leave, take the kids to school, call my college roommate on my way to work, be a CEO all day, volunteer on the way home, do a little exercising, cook a wonderful dinner, help with homework, have sex’… I don’t think so.
    — Carol Bartz
     
  10. from pingdroid

     
  11. Have you ever wanted to
    convert files without the need
    to download software ?
     
  12. GNOME Do is Quicksilver for Linux…. yaaaaaaaaaaaaaa!!!
    — GNOME Do
     
  13. my idea of a sanity check

    <html>
    <body>
    <script type="text/javascript">
    if ("blog" == "blog"){
    alert("it's a blog");
    }
    </script>
    </body>
    </html>

     
  14.  
  15. git

    I am doing the free git course: http://rubylearning.com/blog/2009/02/10/git-and-github-a-free-course/

    and pfew… I finally got git working again…
    had to upgrade to git 1.6 on os x tiger, which involved upgrading to gcc 4.0 — which requires the install cd… wtf!!!

    i was getting some “strange” error… literally git said a strange error had occurred.

    i followed these instructions for installing git after that… http://larrytheliquid.com/2007/12/29/compiling-git-and-git-svn-on-osx-tiger/