Gregg Bolinger

Ranch Hand
+ Follow
since Jul 11, 2001
Gregg likes ...
Mac OS X IntelliJ IDE Chrome
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
6
In last 30 days
0
Total given
0
Likes
Total received
192
Received in last 30 days
0
Total given
181
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gregg Bolinger

I couldn't agree more with Tim. I avoid static utility class methods like the plague mostly because of testing.
7 years ago
One of the best ways to manage Groovy and other java based tools is SDKMan. Once installed, you can then install Groovy like so:



If you want to remove it:

7 years ago
Well, jQuery is the problem because it is unstructured. I understand the argument about anything can be written poorly. I've told people that myself. I know there is no magic fix. I know that jquery can be written with better structure and design patterns. This is not what I'm looking to do.

I'm just looking for suggestions for any libraries / frameworks that provide structure out-of-the-box (jquery doesn't) that might help me improve my codebase and play nice with existing code outside of said framework. For example, would it be a good idea to use ReactJS or Knockout and / or ??

I'm working on an app that is using a lot of fairly unstructured jQuery. Ideally, I'd rewrite the application using EmberJS. However, that isn't going to happen anytime soon for various reasons. I've looked into using EmberJS along side non-EmberJS code and it is not as easy as it would seem.

So I'm looking for advice on Javascript libraries that would help me bring my codebase to something more structured but plays nice running next to other code. This might be for brand new functionality or something to replace bits of nasty code while fixing bugs and refactoring. I'd prefer to steer clear of Backbone and Angular.

Thanks for any suggestions.
I've setup my code to use a proxy to open the url connection. But my question is more about the read() method on the response. If I do this...



I can confirm that urlopen() uses the proxy. But does the read() function also use the proxy? My testing would suggest it does not. But I'm trying to get confirmation.
9 years ago
Show us your BuildConfig.groovy file.
9 years ago
I've recently discovered a couple of shows that I'm really enjoying. A Young Doctor's Notebook and Luther. Both BBC.

A Young Doctor's Notebook is a dark comedy with a serious tone. The wit is superb in typical british fashion.

Luther is a pretty typical detective show but it stars Idris Elba, so, fuhgeddaboudit. Just watch it already.
9 years ago
I do a lot of conference calls as well. HipChat, Skype, and GoToMeeting primarily. I never use a headset and I never have any issues. Do you need a headset because you are in an environment where external noise is an issue? I find that my MBP does a really good job of noise canceling when I'm not talking.
9 years ago
Kind of depends on what you use the headset for. Are they primarily for listening? How important is the mic, if at all? Do they have to be USB or Bluetooth or can they plug into the headphone jack? Just need more details around what they are used for to help.
9 years ago
Swift is bringing to iOS and OSX engineers what Groovy brought to Java engineers. An easier language to do the same darn thing. Which, in my opinion, is awesome. Looking at some of the examples, it seems less verbose than Obj-C. Allowing Swift and Obj-C code to run side by side was smart on Apple's part (one of their few smart decisions since we lost Steve). I didn't find Obj-C to be that difficult to pick up. But Swift will definitely open the doors to more developers.
9 years ago

Jeanne Boyarsky wrote:If everyone got in a self driving car to go to work, it would take them many hours to get to work.



If every single car on the road were a self driving car, then routes would be mathematically optimized to reduce congestion, stops, etc. So in theory, every one would get to work faster than driving themselves.
9 years ago
Not sure if this is really groovier, but I might do something like this:



This also assumes that p has a toString() that would return its name.
9 years ago

Bear Bibeault wrote:Open the JavaScript console. Are there any erros when you try to do things?

If not, set breakpoints and see what the code is doing.



I think you might be assuming too much here, Bear.
He is saying that if you have text selected, the tag script should be smart enough to know tags already exist for that selection and possibly to replace tags with newly chosen tags.
9 years ago