All Entries (27437 Entries)

Friday puzzle: my PHP answer [+]
Adam Cameron's CFML Blog | 8/27/16 10:00 AM | Code Examples, Code Puzzle, Jess Shaffer, PHP, Unit Testing
G'day:I knocked the first version of this out over a beer whilst waiting for my flight to Galway, last night. Then scrapped that as being crap, and rewrote whilst in transit. And then... erm... back-filled my unit tests y/day evening. I feel guilty about not doing proper TDD,  but... so be it. It's got test coverage now.Just on TDD for a second. It was wrong of me not to do the testing first, and whilst I was just about to manufacture an excuse as to why not ("

Breaking: Groovy and Clojure answers for that array-look-up code puzzle [+]
Adam Cameron's CFML Blog | 8/27/16 10:00 AM | Code Examples, Code Puzzle, Sean Corfield, Tony Junkes
G'day:Well it's not really that breaking really... what I mean is a coupla other people posted some answers to last week's code puzzle after I wrote up the results ("Looking at the code from that code puzzle last week"). I was gonna just append them to the bottom of that earlier article, but hen no-one would see them, and that seemed a bit disrespectful. Also for this blog which is st

Looking at the code from that puzzle last week [+]
Adam Cameron's CFML Blog | 8/27/16 10:00 AM | Code Examples, Code Puzzle
G'day:So last Fri I asked this:[...] here's a code puzzle.Rules:You have an array of strings, eg: ['a', 'at', 'cat', 'scat', 'catch']. Return the first value that matches a regex pattern, eg: '.+at' would match cat, scat, catch; but we want cat returned.Do not use any looping statements (eg: do/for/while etc).Bear in

Code puzzle [+]
Adam Cameron's CFML Blog | 8/27/16 10:00 AM | Code Puzzle
G'day:Apropos of nothing, here's a code puzzle.Rules:You have an array of strings, eg: ['a', 'at', 'cat', 'scat', 'catch']. Return the first value that matches a regex pattern, eg: '.+at' would match cat, scat, catch; but we want cat returned.Do not use any looping statements (eg: do/for/while etc).Bear i

Looking for RIAForge? [+]
Raymond Camden'sBlog | 8/26/16 10:00 PM
So yeah - I’ve gotten a few emails/IMs/Tweets/passenger pigeons about this today. Apparently RIAForge.org is showing something different: So just as a reminder, I stepped down from managing RIAForge last year (“Status of RIAForge”). The ColdFusion team was aware that the domain was expi

Friday code puzzle [+]
Adam Cameron's CFML Blog | 8/26/16 11:00 AM | Quiz
G'day:I'm waiting for a blood test and I'm "customer number 649", and they are currently processing "customer number 541". I have dubbed this place Franz Kafka Memorial Hospital.Anyway, I have an hour or two to kill, so writing this quicky on my phone.Last week on the CFML Slack Channel we piloted the notion of a Friday Puzzle. It went quite well, so we're continuing it. Don't be put off by the fact it's the CFML Slack Channel: we actively encourage o

Working with the Disqus API - Deeper Stats (2) [+]
Raymond Camden'sBlog | 8/25/16 5:00 PM
Welcome to (probably) my final blog post on working with the Disqus API. It’s been fun building my own tools for my comment data, but I’ve scratched this itch enough and will probably not work on it again. My final tool isn’t perfect, but it works for me and provides the stats I wanted (that Disqus themselves did not provide) and as the code is up on Github, folks are free to take it and run. (But if you do, let me know!)

Groovy Gotcha With the Every() Collection Method [+]
Thought Delimited | 8/25/16 1:00 AM | Groovy
In the Groovy programming language, every object that implements the Iterable interface (such as List and Map objects) comes with the every() method.  The every() method takes a closure as an argument and is supposed to evaluate whether every item in the colle

NCDevCon 2016 Session-Jumpstart into the Aurelia Framework [+]
NCDevCon | 8/24/16 5:00 PM | 2016
Jumpstart into the Aurelia Framework Aurelia, a new Javascript client framework going up against the likes of Angular 2 and React, allows you to code modern web and mobile applications in ES5/6/7 or TypeScript. I'll provide an overview of the Aurelia framework, and cover the basics of creating a new web single page application -- how to bootstrap a new project and expand it using features within the framework, including routing, view templating, data fetching, two-way data binding, d

NCDevCon 2016 Session-Build Your Backend in Node.js [+]
NCDevCon | 8/24/16 5:00 PM | 2016
Build Your Backend in Node.js Node.js has been around since 2009, but has really been hitting its stride over the past 2-3 years as a robust platform for web, mobile and even desktop applications. Leverage your Javascript front-end knowledge by using it on the back end as well! This session will over the basics on how to get jump-started into the Node.js ecosystem, as we cover the building blocks in building a REST API and a full-stack web application using Node.js and Express in J

Learning Angular 2: Upgrading to Angular 2 RC5 [+]
Thought Delimited | 8/23/16 11:00 PM | Angular 2, Angular 2 Learning, IntelliJ IDE
Version 0.0.3 of my GuildRunner sandbox Angular 2 application is now available.  All of the differences between this version and the previous version (minus the updates to the version number and the README file) are changes made to upgrade the application to use Angular 2 RC5 (release candidate 5).

Spark Page Just Got Better [+]
Ben Forta | 8/23/16 9:00 PM | Spark
We just updated Spark Page with two much requested enhancements: Your Spark Page stories can contain links to other sites and pages. Previously links were only supported via buttons, but you can now turn any text into a link. We've also significantly improved the embedding options so that Spark Pages embedded into your site or blog will look a whole lot better.

Working with Ionic Native - Shake, Rattle, and Roll (Follow Up) [+]
Raymond Camden'sBlog | 8/22/16 6:00 PM
Last month I wrote a tutorial on using Ionic Native and the Device Motion plugin (Working with Ionic Native - Shake, Rattle, and Roll). In that post I detailed how to use the device’s accelerometer to recognize a “shake” gesture and then reload data from a service. A reader (on the Ionic blog version of my article) had a great question: Thats really us

Ortus Joins Patreon, Help Sponsor Open Source [+]
ColdBox Blog | 8/22/16 12:00 PM | CacheBox, CFCouchbase, ColdBox MVC, ColdFusion, CommandBox, Community, ContentBox CMS, Elixir, ForgeBox, LogBox, News, Relax, WireBox
We are excited to announce we have joined ! Sponsor Us At Ortus Solutions we are known for building open source projects for the ColdFusion (CFML) community such as ColdBox, CommandBox, ContentBox Modular CMS, ForgeBox and many more. All of those products are licensed under the Apache 2 license and are completely FREE to use and extend. However, the amount of effort needed to maintain and develop new features for all projects is not sustainable without proper financial backing. This is where y

Ortus Joins Patreon, Help Sponsor Open Source [+]
Ortus Solutions, Corp Blog RSS Feed by ContentBox | 8/22/16 12:00 PM | CacheBox, CFCouchbase, ColdBox MVC, ColdFusion, CommandBox, Community, ContentBox CMS, Elixir, ForgeBox, LogBox, News, Relax, WireBox
We are excited to announce we have joined ! Sponsor Us At Ortus Solutions we are known for building open source projects for the ColdFusion (CFML) community such as ColdBox, CommandBox, ContentBox Modular CMS, ForgeBox and many more. All of those products are licensed under the Apache 2 license and are completely FREE to use and extend. However, the amount of effort needed to maintain and develop new features for all projects is not sustainable without proper financial backing. This is where y

Augury: An Elegant Tool For Inspecting Angular 2 Applications [+]
Thought Delimited | 8/20/16 2:00 PM | Angular 2
In episode 105 of the Adventures in Angular podcast, the panel spoke with one of the developers behind an open-source development tool called Augury. Augury is a Chrome extension that adds an "Augury" tab to the Chrome Development Tools panel, and that tab displays real-tim

Working with the Disqus API - Deeper Stats [+]
Raymond Camden'sBlog | 8/19/16 9:00 PM
Yesterday I blogged about my first attempts at writing a client-side Disqus API client to provide better stats than the Disqus site itself. While yesterday’s demo was more a proof of concept, today I’m attempting something a bit deeper - the beginning of a real power tool. This first iteration is somewhat ugly, but will serve as the basis for the pretty, client-friendly vers

FusionReactor ColdFusion line performance [+]
FusionReactor Java Performance Monitor: Blog | 8/19/16 1:00 PM | News
Introduction This technote is going to guide you through the use and configuration of the FusionReactor ColdFusion line performance plugin. The* FusionReactor ColdFusion Plugin* is able to profile the execution of ColdFusion CFML code at line level. The data gathered can be used to identify performance issues deep inside ColdFusion pages and components that can […]

[FRS-401] FusionReactor ColdFusion line performance [+]
FusionReactor Java Performance Monitor: Blog | 8/19/16 12:00 PM | Support, Technotes, FRS, FRS-401
Description Introduction This technote is going to guide you through the use and configuration of the FusionReactor ColdFusion line performance plugin. The* FusionReactor ColdFusion Plugin* is able to profile the execution of ColdFusion CFML code at line level. The data gathered can be used to identify performance issues deep inside ColdFusion pages and components that can be an invaluable tool for finding problems within your applications. Additionally, the plugin also gathers information a

Say More Faster [+]
SOSApps | 8/18/16 11:00 PM | Business, Design
You have heard it said that a picture is worth a thousand words. Historically this was great, but it was a reactive reality as most of us are not creative photographers and did not have one at our

Previous / Next