binkley.blogspot.com
binkley's BLOG: Jumping the work queue in Executor
http://binkley.blogspot.com/2009/04/jumping-work-queue-in-executor.html
Thursday, April 23, 2009. Jumping the work queue in Executor. My server has an. For job scheduling. It came up that we need to have some jobs "jump the queue", that is, go to the front of the line waiting for the next free thread. What to do? A web search came up empty. After hemming and hawing, and polling other teams, I went with this solution (below). Comments and improvements welcome. 0 : 0 diff? In JDK5 you will need to add three of:. These extension points were added in JDK6. Unless otherwise noted...
binkley.blogspot.com
binkley's BLOG: Aiming for the right level
http://binkley.blogspot.com/2014/11/aiming-for-right-level.html
Thursday, November 13, 2014. Aiming for the right level. Vinod Kumaar Ramakrishnan writes. It is just a road not a roadmap. Making a strong point visually:. Software needs a map, not a road. This is important to understand at any level of an organization. The problem comes as you perform larger roles. Managing calls for finding the right level of detail, be it the application or team or project or programme or department. But remember to keep rebuilding your map and explore some. View my complete profile.
binkley.blogspot.com
binkley's BLOG: More with Java enums: simulating inheritance
http://binkley.blogspot.com/2007/07/more-with-java-enums-simulating.html
Tuesday, July 10, 2007. More with Java enums: simulating inheritance. One drawback to the Java. Is the lack of inheritance. Java uses inheritance for many reasons, one of which is implementation inheritance. (In C you would use. For the same reason.). To recapture implementation inheritance with. S, use the visitor pattern. And can be reused in other. Subscribe to: Post Comments (Atom). View my complete profile. All material on this website ( http:/ binkley.blogspot.com. JP Morgan Investment Bank. Static...
binkley.blogspot.com
binkley's BLOG: Where I fit in
http://binkley.blogspot.com/2014/12/where-i-fit-in.html
Wednesday, December 17, 2014. Where I fit in. While reading on how to improve recruiting for Macquarie, I ran across an interesting job candidate description. Not a particular applicant, a description of a type of applicant:. Five Tips to Hiring a Generalizing Specialist. Apparently there is a name for people like me. (More at. Generalizing Specialists: Improving Your IT Career Skills. Subscribe to: Post Comments (Atom). View my complete profile. JP Morgan Investment Bank. Merrill Lynch Commodities, Inc.
binkley.blogspot.com
binkley's BLOG: Fun with Ant macros
http://binkley.blogspot.com/2005/09/fun-with-ant-macros.html
Friday, September 02, 2005. Fun with Ant macros. Noticing that many Ant file operations were rather slow on large directory trees, I fell back to the tried and true:. But I noticed that as I coded up. That the calls to. Became rather tedious and repetitious. Looking around a bit, I found just the thing:. First the starting code using. Echo message="rm -rf ${some.dir}"/ exec executable="rm" arg value="-rf"/ arg value="${some.dir}"/ /exec. Pretty straight-forward. Just note that. Is silent so I add an.
binkley.blogspot.com
binkley's BLOG: Architects, engineers?
http://binkley.blogspot.com/2015/02/architects-engineers.html
Saturday, February 28, 2015. Delightful passage from Sam Newman's new book,. A lot of times I really don't understand my own job. Subscribe to: Post Comments (Atom). View my complete profile. All material on this website ( http:/ binkley.blogspot.com. Unless otherwise noted, is wholly the work of B. K. Oxley (binkley) binkley@alumni.rice.edu. JP Morgan Investment Bank. Merrill Lynch Commodities, Inc. Simdesk Technologies, Inc. Caminus Corporation, ZaiNet/Analytics Section. Google Website Translator Gadget.
binkley.blogspot.com
binkley's BLOG: The ORM anti-pattern
http://binkley.blogspot.com/2014/12/the-orm-anti-pattern.html
Monday, December 01, 2014. Yegor Bugayenko writes on. ORM Is an Offensive Anti-Pattern. Offering a pure OO alternative. I've posted too many links to my Google account. It's a ghetto over there as my public posts are science-oriented, programming is shared privately.). Subscribe to: Post Comments (Atom). View my complete profile. All material on this website ( http:/ binkley.blogspot.com. Unless otherwise noted, is wholly the work of B. K. Oxley (binkley) binkley@alumni.rice.edu. JP Morgan Investment Bank.
binkley.blogspot.com
binkley's BLOG: Feature request for JDK7: delegation
http://binkley.blogspot.com/2007/10/feature-request-for-jdk7-delegation.html
Tuesday, October 23, 2007. Feature request for JDK7: delegation. Some while back I wrote about delegation for Java. By this I mean direct language support for constructor-based dependency injection of interface implementation,. Many interesting proposals for JDK7. Are in the air: the smell of change is replacing the mustiness of an aging language and I want my chance to improve Java while there is a open window of opportunity. For more details follow my three-year old posting. In a nutshell, delegation is.
binkley.blogspot.com
binkley's BLOG: Writing your own lombok annotation
http://binkley.blogspot.com/2014/12/writing-your-own-lombok-annotation.html
Saturday, December 06, 2014. Writing your own lombok annotation. It took me quite a while to get around to writing my own lombok annotation. And processor. This took more effort than I expected, hopefully this post will save someone else some. Mdash; Look at the source in my Github repo. ExecutorService - 10 tips and tricks. By Tomasz Nurkiewicz, I thought about tip #2,. Switch names according to context. This is a great use case for annotations! I thought. The code screams. Code ThreadNamed} sets the th...
binkley.blogspot.com
binkley's BLOG: Does refactoring worsen code?
http://binkley.blogspot.com/2015/03/does-refactoring-worsen-code.html
Wednesday, March 04, 2015. Does refactoring worsen code? Study finds that refactoring doesn’t improve code quality. The study was done by researchers in Sri Lanka and recently published in the. International Journal of Software Engineering and Applications. An Empirical Evaluation of Impact of Refactoring On Internal and External Measures of Code Quality. And internally (e.g., Number of lines of code). Reading the press account I expect objections such as:. Well, language should not matter here. My own o...