<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Matt's Blog - Latest Comments</title><link>http://madbean.disqus.com/</link><description></description><atom:link href="https://madbean.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 17 Jul 2020 17:45:41 -0000</lastBuildDate><item><title>Re: Josh In Space</title><link>http://madbean.com/2008/josh-in-space/#comment-4995946953</link><description>&lt;p&gt;wow amazing job dad&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bean</dc:creator><pubDate>Fri, 17 Jul 2020 17:45:41 -0000</pubDate></item><item><title>Re: Matt&amp;#8217;s first law of software complexity</title><link>http://madbean.com/2003/mb2003-43/#comment-4416710847</link><description>&lt;p&gt;Hmm. Your ideas are intriguing to me, and I wish to subscribe to your newsletter.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Baker</dc:creator><pubDate>Tue, 09 Apr 2019 23:30:10 -0000</pubDate></item><item><title>Re: Groking Enum (aka Enum&amp;lt;E extends Enum&amp;lt;E&amp;gt;&amp;gt;)</title><link>http://madbean.com/2004/mb2004-3/#comment-3808962420</link><description>&lt;p&gt;I have a question on the "Foo&amp;lt;subclassoffoo extends="" foo&amp;lt;subclassoffoo=""&amp;gt;&amp;gt;" trick (which is also used for Enum).&lt;/p&gt;&lt;p&gt;If I understand it right, in the corresponding example after defining type Bar, the following declaration would also be correct:&lt;br&gt;class Bar2 extends Foo&amp;lt;bar&amp;gt; ...&lt;/p&gt;&lt;p&gt;If this is wrong, could you please explain why (as Bar extends Foo&amp;lt;bar&amp;gt;)?&lt;/p&gt;&lt;p&gt;If it is true, than I believe the following statements are not correct:&lt;/p&gt;&lt;p&gt;"this allows Foo to formulate a contract that says "any subclass of me must implement subclassAwareDeepCopy() and they must declare that it returns that actual subclass"."&lt;br&gt;(in my example, if correct, Bar2 could implement subclassAwareDeepCopy() such that it returns an instance of Bar and not Bar2).&lt;/p&gt;&lt;p&gt;If my thoughts are correct so far, than I don't see what you achieve using "Foo&amp;lt;subclassoffoo extends="" foo&amp;lt;subclassoffoo=""&amp;gt;&amp;gt;" which you couldn't equally achieve using "Foo&amp;lt;subclassoffoo&amp;gt;".&lt;/p&gt;&lt;p&gt;thank you for any hints&lt;br&gt;Martin&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Maletinsky</dc:creator><pubDate>Fri, 16 Mar 2018 10:13:23 -0000</pubDate></item><item><title>Re: First post</title><link>http://madbean.com/2003/mb2003-1/#comment-2268216519</link><description>&lt;p&gt;First!&lt;/p&gt;&lt;p&gt;Oh wait.. damn!  MIssed it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brad Baker</dc:creator><pubDate>Tue, 22 Sep 2015 19:32:14 -0000</pubDate></item><item><title>Re: java.util.regex.Pattern StackOverflowError&amp;#8217;s on (x|y)*</title><link>http://madbean.com/2004/mb2004-20/#comment-2086462143</link><description>&lt;p&gt;Curiously on an Oracle 64bit JDK build 1.8.0_31-b13 VM (build 25.31-b07, mixed mode) today this works if as above - but size = 10000 will still cause it to fail... ;-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Vorburger</dc:creator><pubDate>Thu, 18 Jun 2015 14:51:27 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-1319464311</link><description>&lt;p&gt;Great solution. Thanks! I'm using it for my dev server to serve a .tmp folder along with app files, so I don't have to copy them over with Grunt. You saved my day!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jed Mao</dc:creator><pubDate>Sat, 05 Apr 2014 00:04:05 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-1313128855</link><description>&lt;p&gt;Nice, still the only place I found on how to do this 7 years later! =]&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vigintas</dc:creator><pubDate>Tue, 01 Apr 2014 06:45:47 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-1080631046</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I used it with some changes, because I needed it for one alias for two directories. Thank you.&lt;/p&gt;&lt;p&gt;&amp;lt;directory "c:="" xampp="" htdocs"=""&amp;gt;&lt;/p&gt;&lt;p&gt;[...]&lt;/p&gt;&lt;p&gt;RewriteEngine On&lt;br&gt;RewriteCond "C:/xampp/htdocs/images_zone/$1" -f [OR]&lt;br&gt;RewriteCond "C:/xampp/htdocs/images_zone/$1" -d&lt;br&gt;RewriteRule ^images/?(.*)$ /images_zone/$1 [L]&lt;/p&gt;&lt;p&gt;&amp;lt;/directory&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mario S. Falen</dc:creator><pubDate>Sun, 13 Oct 2013 02:17:04 -0000</pubDate></item><item><title>Re: Ant&amp;#8217;s cool morale booster: splash task</title><link>http://madbean.com/2003/mb2003-47/#comment-937283071</link><description>&lt;p&gt;How to hide the splash screen after certain targets are executed, but script has more things to run?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sanky</dc:creator><pubDate>Fri, 21 Jun 2013 01:07:36 -0000</pubDate></item><item><title>Re: CVS is prior-art for Interwoven&amp;#8217;s patent (#6505212)</title><link>http://madbean.com/2003/mb2003-6/#comment-902417497</link><description>&lt;p&gt;Do you really want to here what's going on with Interwoven as of 05/17/2013. There tech and products seem to be running off stolen tech. IF you are still around and interested let me know. They actually have a grand jury trial coming up. Ever wonder when Autonomy sold to HP what was the accounting error? It's playing out in San Fran court 08/12/2013&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">foozinharley</dc:creator><pubDate>Sun, 19 May 2013 18:20:29 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-767595218</link><description>&lt;p&gt;Another use case - if you're writing modules for a framework, and you have your module in version control, you need to keep the files separate from the framework, but in the same URL space. This does the trick very nicely. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Bagnall</dc:creator><pubDate>Mon, 14 Jan 2013 13:20:37 -0000</pubDate></item><item><title>Re: Groking Enum (aka Enum&amp;lt;E extends Enum&amp;lt;E&amp;gt;&amp;gt;)</title><link>http://madbean.com/2004/mb2004-3/#comment-595132676</link><description>&lt;p&gt;This is by far the best article I have read about Enums, their impl and particularly Enum&amp;lt;e extends="" enum&amp;lt;e=""&amp;gt;&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Seshumadhav Chaturvedula</dc:creator><pubDate>Mon, 23 Jul 2012 02:02:11 -0000</pubDate></item><item><title>Re: Groking Enum (aka Enum&amp;lt;E extends Enum&amp;lt;E&amp;gt;&amp;gt;)</title><link>http://madbean.com/2004/mb2004-3/#comment-560404636</link><description>&lt;p&gt;Obviously, it's not true to say that "Subclasses of Foo (like Bar) follow the idiom that the type argument they supply to Foo is themselves. "&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hui Wang</dc:creator><pubDate>Sun, 17 Jun 2012 11:29:06 -0000</pubDate></item><item><title>Re: Is Sun Java Certification all that?</title><link>http://madbean.com/2003/mb2003-52/#comment-479390583</link><description>&lt;p&gt;Java SE 7 Preparation guide. &lt;a href="http://www.epractizelabs.com/blog2/?p=413" rel="nofollow noopener" target="_blank" title="http://www.epractizelabs.com/blog2/?p=413"&gt;http://www.epractizelabs.co...&lt;/a&gt; using this you can understand whats the benefits of the Java certification and how to take the exams too..&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jane</dc:creator><pubDate>Thu, 29 Mar 2012 06:19:45 -0000</pubDate></item><item><title>Re: Groking Enum (aka Enum&amp;lt;E extends Enum&amp;lt;E&amp;gt;&amp;gt;)</title><link>http://madbean.com/2004/mb2004-3/#comment-434461338</link><description>&lt;p&gt;Well, it is still possible to abuse compiler. Consider following example:&lt;/p&gt;&lt;p&gt;class Foo&amp;lt;E extends Foo&amp;lt;E&amp;gt;&amp;gt; {&lt;/p&gt;&lt;p&gt;	public E create(){return null;}&lt;br&gt;}&lt;/p&gt;&lt;p&gt;class Bar1 extends Foo&amp;lt;Bar2&amp;gt;{&lt;/p&gt;&lt;p&gt;	public Bar2 create(){return null;}&lt;br&gt;}&lt;/p&gt;&lt;p&gt;class Bar2 extends Foo&amp;lt;Bar2&amp;gt;{&lt;/p&gt;&lt;p&gt;	public Bar2 create(){return null;}&lt;br&gt;}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexsmail</dc:creator><pubDate>Thu, 09 Feb 2012 18:10:30 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-415668465</link><description>&lt;p&gt;This doesn't seem to work with SSI. Any ideas why?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Baron</dc:creator><pubDate>Thu, 19 Jan 2012 17:23:35 -0000</pubDate></item><item><title>Re: Groking Enum (aka Enum&amp;lt;E extends Enum&amp;lt;E&amp;gt;&amp;gt;)</title><link>http://madbean.com/2004/mb2004-3/#comment-403564586</link><description>&lt;p&gt;What do "30", "10" and "40" mean here?&lt;/p&gt;&lt;p&gt;RED(30), // constructor call&lt;br&gt;    AMBER(10),&lt;br&gt;    GREEN(40); // note the semi-colon&lt;/p&gt;&lt;p&gt;Thanks,&lt;br&gt;Dima Star&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dima Star</dc:creator><pubDate>Sat, 07 Jan 2012 04:10:06 -0000</pubDate></item><item><title>Re: Is Sun Java Certification all that?</title><link>http://madbean.com/2003/mb2003-52/#comment-1129192663</link><description>&lt;p&gt;i am a third year computer science student in a degree program, suspended for the university for have low grades. i want to go back to school after the suspension time which is 1 year, if i do the sun certification would it help me enter the professional industry with out my degree?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rayan</dc:creator><pubDate>Thu, 22 Sep 2011 14:34:42 -0000</pubDate></item><item><title>Re: Is Sun Java Certification all that?</title><link>http://madbean.com/2003/mb2003-52/#comment-1129192662</link><description>&lt;p&gt;going via degree helps a lot because you turn to learn other things about programming. but as for me, understanding java, one can develop applications that can expose one. check-out the facebook guy. It depends on your intentions of programming, off-course we need cash. can sum1 email info on voucher shops at lkonaite@gmail.com, I would like write J2SE.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Len</dc:creator><pubDate>Wed, 07 Sep 2011 17:20:28 -0000</pubDate></item><item><title>Re: How I customized the Sandbox theme</title><link>http://madbean.com/2008/sandbox-child-theme/#comment-1129192940</link><description>&lt;p&gt;hi, I am a web designer newbie to working with blogs... a customer of mine wants to create a blog/site.  She wants my designs and, most importantly, wants to have an intro that doesn't change at the front page/comments to be kept below this intro.  I've been looking around, and found sandbox to be the most flexible template out there... but don't know If its possible to do this... do you have any advise?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paola Oyharcabal</dc:creator><pubDate>Wed, 23 Mar 2011 10:48:03 -0000</pubDate></item><item><title>Re: My kingdom for some bandwidth</title><link>http://madbean.com/2004/mb2004-21/#comment-1129193128</link><description>&lt;p&gt;and 6 years later we have 50mb adsl bandwidth, would you give all of your kingdom for some bandwidth now?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bethesda Real Estate</dc:creator><pubDate>Mon, 14 Feb 2011 15:02:52 -0000</pubDate></item><item><title>Re: java.util.regex.Pattern StackOverflowError&amp;#8217;s on (x|y)*</title><link>http://madbean.com/2004/mb2004-20/#comment-1129193243</link><description>&lt;p&gt;import java.util.regex.Pattern;&lt;br&gt;import java.util.regex.Matcher;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;public class RegexpFun {&lt;br&gt;    public static void main(String[] args) {&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;    CharSequence largeString = makeLargeString();&lt;br&gt;    Pattern p = Pattern.compile("(x|y)*");&lt;br&gt;    Matcher m = p.matcher(largeString);&lt;br&gt;    System.out.println("matches? " + m.matches()); // throws StackOverflowError&lt;br&gt;}&lt;br&gt;&lt;br&gt;private static CharSequence makeLargeString() {&lt;br&gt;    final int size = 1000;&lt;br&gt;    StringBuffer largeString = new StringBuffer(size);&lt;br&gt;    for (int i = 0; i &amp;lt; size/2; i++) {&lt;br&gt;        largeString.append("xy");&lt;br&gt;    }&lt;br&gt;    return largeString;&lt;br&gt;}&lt;br&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">abhishek ranjan</dc:creator><pubDate>Thu, 06 Jan 2011 15:18:41 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-1129193491</link><description>&lt;p&gt;hi,&lt;br&gt;i am fed up with apache - there is no good tut that is true example bases. this slution you have presented may help me, specifically i need to:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1) sever one single dynamic website with php/apache&lt;br&gt;2) i can serve the website ok from my . but i need a 'super access' as an administrator to handle 'web-based' moderation+management.&lt;br&gt;3) so i have the main login script that ordinary allows users to login and access the site - but when an authorised administrator logs in he/she is directed to another/second directory   .&lt;br&gt;4) the second directory servers another login script and if passed servers the pages/scripts as required until the user logs out or the session expires.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;please tell me how to arrange the directories ie. on the same level or the  inside  and the directives needed to acompolish this small task.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;please anyone let me have a solution so i can move on.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ali</dc:creator><pubDate>Mon, 20 Dec 2010 23:25:23 -0000</pubDate></item><item><title>Re: Serving one Apache site from two parallel directories</title><link>http://madbean.com/2007/two-docroots/#comment-1129193486</link><description>&lt;p&gt;THANK YOU SO MUCH FOR THIS!!!  I tried everything from Alias to Symlinks... this was the CURE-ALL!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Antoine&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Antoine Solutions</dc:creator><pubDate>Sat, 18 Sep 2010 00:32:31 -0000</pubDate></item><item><title>Re: When Java is dead</title><link>http://madbean.com/2003/mb2003-42/#comment-1129192808</link><description>&lt;p&gt;Java will never die if java dies then its end of digital world&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deepak</dc:creator><pubDate>Fri, 03 Sep 2010 09:45:27 -0000</pubDate></item></channel></rss>