blog.augmentedfragments.com
entrepreneurial musings: August 2008
http://blog.augmentedfragments.com/2008_08_01_archive.html
Monday, August 18, 2008. JavaScript Scrolling with Prototype or Script.aculo.us. Just discovered that both Prototype's. And Script.aculo.us'. Will fail if the desired element is not currently visible on the page. I didn't try with. But trying to programmatically scroll to an element with. Will result in nothing happening. Just something to remember. Subscribe to: Posts (Atom). San Francisco, CA, United States. View my complete profile. Follow me on Twitter. Paving the way for the autonomous truck.
blog.augmentedfragments.com
entrepreneurial musings: November 2008
http://blog.augmentedfragments.com/2008_11_01_archive.html
Thursday, November 20, 2008. Another Flex Cross-Browser Incompatibility (OS X ProgressBar display). So, Flash is supposed to solve all our cross-browser issues. only it doesn't. 160;My most recent discovery relates to the visual look of a. Between OS X and Windows when the. Mode = ProgressBarMode.MANUAL. To illustrate this, we'll start with the following MXML component:. With some styling applied, the result is this:. Now, let's say that we want to use the. Progress.indeterminate = false;. Looks identica...
blog.augmentedfragments.com
entrepreneurial musings: February 2010
http://blog.augmentedfragments.com/2010_02_01_archive.html
Saturday, February 13, 2010. Flex Activate / Deactivate Events on OS X. In JamLegend, it would be nice to auto-pause the game when the user switches focus to another application. You'd think it would be very simple to detect if Flash player currently has focus, but the recommended methods are unreliable cross-platform. Chrome, Firefox, and Safari receive activate and deactivate events if the browser loads the SWF directly, but NOT if the SWF is loaded inside of an HTML page. OS X 10.6.2. Currently making...
blog.augmentedfragments.com
entrepreneurial musings: April 2009
http://blog.augmentedfragments.com/2009_04_01_archive.html
Friday, April 10, 2009. FragmentCache part duex: Cleaning. I realized that I forgot to address an additional, critical, issue with fragment caching: cleaning out expired fragments. A fragment cache implemented as I described in my last post would update expired fragments when requested, but what about expired fragments that aren't requested? Sunday, April 5, 2009. The JamLegend Fragment Cache. And in a few of my previous blogs). . Cache:fragment timeout="${30 * 1000}". Simple cache based on a timeout o...
blog.augmentedfragments.com
entrepreneurial musings: September 2008
http://blog.augmentedfragments.com/2008_09_01_archive.html
Tuesday, September 9, 2008. There are a couple ways to authenticate yourself when using JavaMail APIs to send e-mail through an SMTP server. Public void sendMail(String fromAddress,. Properties props = System.getProperties();. Session session = Session.getDefaltInstance(props,null);. MimeMessage message = new MimeMessage(session);. Message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(recipients, false) ;. Message.setContent(content,contentType);. Message.setSentDate(new Date() ;. Propspu...
edpeur.blogspot.com
edpeur public mind dump: Microsoft Internet Explorer Bugs
http://edpeur.blogspot.com/2008/09/microsoft-internet-explorer-bugs.html
Edpeur public mind dump. These articles are not meant to be considered chronologically but they are an always updated collection of my thoughts I want to share. (So this is not a log). Microsoft Internet Explorer Bugs. Most clients still have Microsoft Internet Explorer. 6 as required web platform and I have to support it for web applications. Being Microsoft Internet Explorer. Until 2014 so the future of web innovation is endangered by Microsoft. XMLHttpRequest MSIE Caching Bug. Madrid, Madrid, Spain.
blog.augmentedfragments.com
entrepreneurial musings: January 2010
http://blog.augmentedfragments.com/2010_01_01_archive.html
Wednesday, January 27, 2010. Somewhere online, I saw a comment saying that binding in Flex is "evil magic" and should be avoided except in the simplest of cases. Though I could see where the author was coming from in theory, it wasn't until today that I encountered this in practice. In short, setting a bindable variable to a field of a bindable class binds the variable to the value. Referenced by the field, not. In the bindable class. Get it? Public var val : int;. Public var b : B;. B = new B(0);. Curre...
blog.augmentedfragments.com
entrepreneurial musings: October 2008
http://blog.augmentedfragments.com/2008_10_01_archive.html
Tuesday, October 21, 2008. So, it seems like there are a shortage of JamLegend invites on the web. and since I'm one of the Founder's, I figured I could give out a few here : ). So, to sign up for JamLegend, head on over to http:/ www.jamlegend.com/register/shinealight. Ps No, I'm not going to review my own product (duh, that's the rest of the world's job! Subscribe to: Posts (Atom). San Francisco, CA, United States. View my complete profile. Follow me on Twitter. Paving the way for the autonomous truck.
blog.augmentedfragments.com
entrepreneurial musings: October 2009
http://blog.augmentedfragments.com/2009_10_01_archive.html
Thursday, October 29, 2009. Toggle Hibernate "Show SQL" at Runtime. Okay, the title is a bit deceiving. As far as I know, you cannot modify the value of the configuration property "hibernate.show sql." However, that does not prohibit you from toggling at runtime whether SQL statement are output to your log files. Why would you want to do this? First, the solution, then I'll get to why:. Import org.apache.log4j.*;. Logger sqlLogger = Logger.getLogger("org.hibernate.SQL");. Do your stuff .