Edward J Beckett
Member since Dec 11, 2008
- Profile: /members/1580-edward-j-beckett.htm
- URL: http://www.edwardbeckett.com
- Comments: 96
Recent Blog Comments By Edward J Beckett
-
Mysterious Error Handling Behavior With Proxied Futures In ColdFusion 2018
Posted on Aug 29, 2018 at 9:19 AM
I believe in the first implementation you are returning the outer future anonymously with test() { return async().. } but never actually calling outers' .get method. In the second implementation you are assigning runAsync as a property of test with future = runAsync() and the calling fut... read more »
-
Experimenting With CSS Variable / Custom Property DOM Inheritance
Posted on Aug 11, 2018 at 12:22 PM
This is pretty awesome - from my takeaway here do you think it's safe to say that less / sass style preprocessing is the future state for native css?... read more »
-
Reporting StatsD Metrics From The Browser In Angular 5.2.9
Posted on Apr 9, 2018 at 10:11 AM
Re: "abstract classes that are being used as both dependency-injection tokens and as class interfaces" ~ That's formally called, "Polymorhpic Parameters" ~ https://en.wikipedia.org/wiki/Parametric_polymorphism... read more »
-
Partial Stream Execution: A Case For Hot RxJS Observables In Angular 2.1.1
Posted on Nov 20, 2016 at 9:27 AM
Very nice, I've not used RxJS ... but I'm familiar with Async observables... ( Java) I'm kinda thinking you might benefit from using a schduler for this pattern. https://github.com/Reactive-Extensions/RxJS/blob/master/doc/gettingstarted/schedulers.md... read more »
-
Configuring A Service With Both Dependency-Injection And A Run Block In Angular 2.1.1
Posted on Oct 29, 2016 at 3:50 PM
" private transformers: IGreetTransformer[];" ~ Mediator Pattern ~ Decoupled... FTW :)... read more »
-
Hello World: Comparing ReactJS And AngularJS
Posted on Oct 25, 2015 at 10:52 PM
@Ben, I've trying to get my head wrapped around React and I don't really care for the component style yet... Maybe I just need to be a bit more open-minded. @Greg, That demo link has an extraneous period in the link but seeing that I'm quite familiar with Spring, I'm definitely going to check i... read more »
-
Switch Cases Do Not Have To Be Static In JavaScript
Posted on Aug 4, 2015 at 10:32 AM
@Ben... I learned a lot of terminology when studying Java... In most statically typed langauges you're required to understand modifiers... dynamic langs dont really necessitate that.... read more »
-
Switch Cases Do Not Have To Be Static In JavaScript
Posted on Aug 4, 2015 at 9:22 AM
@EricElliot has a pretty awesome post on immutability in JavaScript I'm thinking you'd really dig... ;) https://medium.com/javascript-scene/the-dao-of-immutability-9f91a70c88cd... read more »
-
Switch Cases Do Not Have To Be Static In JavaScript
Posted on Aug 4, 2015 at 9:17 AM
@Ben... :) NP ... I hope I didn't come across as a critique man... I was just confused by the 'static' reference... I believe you were trying to express was an immutable variable, which, has a final, constant value ~ "This expression must have a constant value." ~ sorry for the long wind ;... read more »
-
Switch Cases Do Not Have To Be Static In JavaScript
Posted on Aug 4, 2015 at 6:51 AM
@Adam... Ya... Java has the same constraints on lambda expressions ... the variables have to be 'final or effectively final' ~ immutable.... read more »
-
Switch Cases Do Not Have To Be Static In JavaScript
Posted on Aug 3, 2015 at 9:44 PM
Pardon me but did you mean final or constant variables? I don't think static is correct in this context. The static keyword means that something (a field, method or nested class) is related to the type rather than any particular instance of the type.... read more »
-
Error Object Properties Are Not Iterable / Enumrable In Node.js
Posted on Jul 28, 2015 at 5:43 AM
I've never cared much for dealing with JavaScript's prototypal inheritance chain for native objects... For instance, to do something simple like extending Error for argument validation, a lot of imperative, boilerplate code is required... Here's a naive implementation... Let's say we want to exte... read more »
-
ColdFusion Image Resize Stuck At sun.java2d.cmm.kcms.CMM.cmmColorConvert With Massive CPU Usage
Posted on Apr 30, 2015 at 9:38 AM
CF is using a very old implementation... check out https://github.com/thebuzzmedia/imgscalr it's really good...... read more »
-
Finding Shallow HTML Comment Nodes In The DOM Using TreeWalker
Posted on Dec 13, 2014 at 7:53 PM
@Ben... Moreover... TreeWalker is very fast... Here's a jsperf comparing jQuery's remove to a native implementation... The TreeWalker implementation is much faster... http://jsperf.com/treewalker-remove... read more »
-
Finding Shallow HTML Comment Nodes In The DOM Using TreeWalker
Posted on Dec 13, 2014 at 4:08 PM
@Ben.. Now this is some great stuff .... Pure JS DOM traversal feels a bit cleaner than using a library... (a lot more boilerplate... but cool to do ...)... read more »
-
Canceling A Promise In AngularJS
Posted on Dec 1, 2014 at 6:25 PM
@Ben It seems natural to have service layer functionality to control promises ... Transactional states come to mind as a use case... for instance if a transaction fails cancel 'scheduled' promises... etc...... read more »
-
The User Experience (UX) Of Custom Scrollbars
Posted on Aug 27, 2014 at 11:59 AM
@Ben ... Yeah, I don't have a lot of experience developing with ExtJS professionally either... I've worked with a few teams that used it in production and the results were quite impressive. Of course the developer we had leading the front-end design won awards for her work in Sencha Touch so YMMV ... read more »
-
The User Experience (UX) Of Custom Scrollbars
Posted on Aug 27, 2014 at 12:36 AM
@Ben ... If you're working on serious, enterprise quality web apps, ExtJS is the best on the block for desktop and tablet apps...... read more »
-
Creating A Reusable Timer In AngularJS
Posted on Aug 25, 2014 at 2:36 PM
@Ben ... Nice demo... I've recently been dabbling with Angular and coming from working with ColdSpring and Spring I'm quite at home with the IoC pattern Angular uses... leaving object creation up to the framework on ... Hollywood yada yada... Great share ...... read more »
-
Chrome Dev Tools "Live Update" In The JavaScript Console Is Confusing
Posted on Aug 20, 2014 at 8:40 PM
@Ben ... Not sure if this was fixed or not ... but did you 'really' have an element with the ID 'title' or did you inadvertently use the wrong function to reference the element ? // Eh? var title = document.getElementById( "title" ); // ? var title = document.getElementsByTagName(&quo... read more »