Murray Hopkins
Member since Dec 11, 2008
- Profile: /members/1210-murray-hopkins.htm
- Comments: 41
Recent Blog Comments By Murray Hopkins
-
Pretty-Printing JSON Using GSON In Lucee CFML 5.3.9.141
Posted on Jul 29, 2022 at 10:23 AM
Oh yes, I had forgotten about that! Subliminal learning. Lol. 😉 We just need to convince the people over in Lucee-land. 😃... read more »
-
Pretty-Printing JSON Using GSON In Lucee CFML 5.3.9.141
Posted on Jul 27, 2022 at 9:01 PM
@Ben, Yes, the GSON builder with its customisable policies and strategies is a good pattern that makes the serialization very ... customisable. However, I also found it didn't play well with Lucee Structs without having to do even more work. I thought the idea was a good one and made a Luc... read more »
-
Pretty-Printing JSON Using GSON In Lucee CFML 5.3.9.141
Posted on Jul 27, 2022 at 9:46 AM
Thanks Ben. I recently looked at GSON in my exploration of Serialisation options for a Lucee project (mainly trying to get lowercase keys). Forum post One thing I noticed (probably not relevant for your use-case here) is that GSON is not accurate in its JSON representation. For example, ... read more »
-
Adam Lenda: Always Choose Consistently Bad Over Inconsistently Good
Posted on Oct 25, 2021 at 7:23 PM
Thanks Ben. I would take the maxim a bit further: Always choose consistency. As you say, whether it is consistently good or bad is contextual. And, if it is judged to be consistently good it will be easy to reason about. If it is judged to be consistently bad it will be easier to fix when... read more »
-
ColdFusion QueryAppend( qOne, qTwo )
Posted on Jan 30, 2014 at 2:28 PM
Thanks Ben. Option 2 was just what I needed. My situation was to accumulate records by running a series of queries. So it was Q1+Q2+Qn ... Cheers, Murray... read more »
-
Streamlined Object Modeling: Patterns, Rules, And Implementation
Posted on Oct 14, 2013 at 6:35 PM
And, just a shout out to one of the main people responsible for the concepts of patterning and abstraction that informs OOP from a time almost before computers were around! Christopher Alexander (and others) - A Pattern Language, 1977. It is a book about patterns in architecture and the abstractio... read more »
-
The User Experience (UX) Of Manually Sorting Data
Posted on Sep 20, 2013 at 6:35 PM
@Ben. Thanks! It is great to be able to throw ideas around.... read more »
-
The User Experience (UX) Of Manually Sorting Data
Posted on Sep 19, 2013 at 4:52 PM
Interesting post Ben. The way I look at it is that often it isnt actually a sorting problem, it is a searching problem. Yes, we need to have powerpoint slides in a sequence for the presentation to make sense. So, that is a sorting / collating problem. However, often the reason people sort thing... read more »
-
Software Application Layers And Responsibilities
Posted on Dec 29, 2012 at 5:49 PM
Thanks Ben. Your architecture is very similar to what I ended up with. I ended up building my own framework in order to learn about these issues. However, I do use Taffy for my REST controller (just to parse and return the web request). user web request --> Taffy(REST request parsing) --> Se... read more »
-
Command-Query-Responsibility-Segregation (CQRS) Makes Domain Models Practical
Posted on Dec 29, 2012 at 4:23 PM
Hi Ben, Yes, I hit the same issue. Using ORM to save the state of the entities is great. However, the hoops I found myself jumping through to query data (using HQL) from entities with lots of interconnections was way too much and I found myself saying "f*** it!" and did it using SQL inste... read more »
-
Accepting PCI-Compliant Payments Without A Merchant Account Using Stripe And ColdFusion
Posted on Nov 16, 2011 at 8:44 PM
Thanks Ben. Very interesting. I have signed up to be notified when they make this available in Australia! I would love to ditch PayPal!... read more »
-
ColdFusion Component Wrapper For POI To Read And Write Excel Files
Posted on Jun 14, 2011 at 4:25 AM
Is the actual numberformat "#,##0" defined? I needed to add a few of my own but I cant remember whether that caused the error you are describing. I am not in a position to test my POI code at present so I cant answer this myself: what happens if you substitute another function as a test o... read more »
-
ColdFusion Component Wrapper For POI To Read And Write Excel Files
Posted on Jun 13, 2011 at 4:03 PM
Without seeing your declaration for the cell it is hard to answer. Does it look something like this? <poi:cell value='COUNTIF(G#rangeStartRow#:G#rangeEndRow#,"=y")' type="formula" numberformat="0" alias="#local.alias#" /> eg are you specifying the type... read more »
-
POI Utility Now Supports Formulas And Cell Aliasing In Custom Tags
Posted on Dec 11, 2010 at 5:54 AM
Hi Ben, I just posted on my blog about 500 Null errors with POIutility - java.lang.OutOfMemoryError http://murrayhopkins.wordpress.com/2010/12/11/500-null-errors-with-poiutility-java-lang-outofmemoryerror/ Just in case it helps anyone else. Thanks again for a very useful utility! Cheers, Murr... read more »
-
Ask Ben: Finding XML Nodes That Have Children With The Given Case-Insensitive Phrase
Posted on Sep 5, 2010 at 4:40 PM
Actually, for the benefit of anyone reading this who might want to make sense of the question post, the first <td> had a bold tag surrounding the numeral 6. So, the problem was that the xmlSearch wouldnt return that <td>, but would return the second one because the second one only had pl... read more »
-
Ask Ben: Finding XML Nodes That Have Children With The Given Case-Insensitive Phrase
Posted on Sep 5, 2010 at 4:35 PM
Thanks Ben. Much appreciated.... read more »
-
Ask Ben: Finding XML Nodes That Have Children With The Given Case-Insensitive Phrase
Posted on Aug 29, 2010 at 12:29 AM
Woops. Sorry that my tags embedded in the source above cause the bolding nightmare!... read more »
-
Ask Ben: Finding XML Nodes That Have Children With The Given Case-Insensitive Phrase
Posted on Aug 29, 2010 at 12:28 AM
Hi Ben, Thanks for that tip. After much testing I have found that using MX7 there are a couple of "bugs" in xmlSearch. Perhaps these have been fixed in later versions of CF. I wanted to search for the <td> that had text containing the string "properties that match your search criteria". I wa... read more »
-
Way Of The Peaceful Warrior - Living In The Moment, Letting Go Of The Future
Posted on Aug 9, 2010 at 7:36 AM
@Ben I have been meditating for more than 30 years so here is my take for what it is worth. The goal of most meditative practice is to strengthen the "observer" part of our minds. What I mean is best illustrated by an example. Imagine that at any point of the day (whether or not you are meditatin... read more »
-
ColdFusion Component Wrapper For POI To Read And Write Excel Files
Posted on Jul 4, 2010 at 1:13 AM
@Eli re: auto-width Thanks for that! I implemented it using jar version poi-3.2-FINAL-20081019.jar on MX7 and it works fine. I use a modified version of the poi custom tags to make use of Mark Mandel's javaLoader as described here: http://murrayhopkins.wordpress.com/2008/12/17/value-error-when... read more »