It does not have an 'agile' development cycle, but the Java8 changes are significant, and could have a distinct impact on JDOM usage. I need to understand it.
But let's say you have a banking program with 30+ jar dependencies, and they update from JDOM 2.0.0 to 2.1.0 (yes, they're lazy people in that company)
Correct.... that will set off alarm bells, and it required JDOM to chang package names from org.jdom.* to org.jdom2.*
Because, when you have complicated projects, some of your dependencies use JDOM 1.x and others use 2.x and you need both sets of API's in your classpath.
(and it will be a no-go to change the current API)
But, I am at the point where I can say that JDOM1 is end-of-maintenance, and that JDOM 2.0.x will support Java and later, and JDOM 2.1.x will support Java8 and later.
It would be cool to add a Predicate<Element> option wherever there's a Filter now, but then you do have much more options to choose form which may be confusing
I do know that IBM uses JDOm in many products that are have thousands of installations.
Also, the maven downloads only represent a subset of the actual downloaded content.... there are people who build from source (the linux distro's do), and others who download from jdom.org/downloads/index.html
Well, the regular shipped jars aren't counted, but if someone else dveloped a program that relies on the JDOM dependency. ANd an user installs it and figures out he needs it, then he might still need to pull it himself/herself
I wrote a Player package in Go. It builds correctly, but I would love a review on what I did and did not do "the Go way". I'm new to coding in the language, although I've gotten about halfway through Ivo Balbaert's "The Way To Go".
The code consists of a struct and a bunch of setters and getters...
I'm an intensive user of AWS EC2 instances, many instances are launched, stopped, repurposed, etc.
To connect to any instance using SSH I must keep track of their IPs.
The bash script I wrote (following the question I asked on SO) uses aws-cli to do the heavy lifting for me, leaving me to remem...
It's mostly fine, but I would suggest some minor improvements.
Give a proper name to $1 early on, for example:
host=$1
if [ -z $host ]; then
echo "Please enter machine name"
return 1
fi
You use it in several places later and it will make the code more readable.
These kind of if conditi...
technically, 'killer' is not part of the meme...... but, yes, you hunted that zombie, and, it is confusing, because actually my upvote (ammo) killed the zombie, because zombies are questions without an upvoted answer.
Still, you posting the question here is a 'killcam' (come see what I did)
I'm pretty new to go, and I do not know the best or idiomatic ways to do most of the stuff, so I'd appreciate feedback on how to make my code better, faster or more idiomatic.
My program is a set of methods/functions to parse an infix notation expression then convert it to reverse polish notatio...
Here is my solution to Project Euler 23: Non Abundant Sums. I know I'm doing the Divisors function brute force, I can't seem to get it to work any other way. Any improvement's are welcome.
#include <iostream>
#include <vector>
//Calculates divisors
void Divisors(unsigned number, std::vector<uns...
In an effort to rid my code of jQuery, I wrote a custom global event management/handling system. I was expecting this to be hard as, from what I've read, most people don't create their own. It's far simpler than most libraries I've seen. Is there a flaw in this method? What are the benefits of us...
This guy posted a huge question and didn't leave much of a comment at first... but it did make me feel better when I saw him come back with more comments: codereview.stackexchange.com/questions/46357/…
Hmm. So, I know a bit about a few different languages... but I spend 40+ hrs a week writing mostly Objective-C (some C and some SQL). With that said, most of the time I'm able to see someone trying to do something they're used to in one language in Objective-C, and I can say "Wait--here's the Objective-C way to do that."
But now I've found something that's stumped me... abstract classes. Objective-C doesn't have abstract classes.
Anyway, an Abstract Class in Java could implement some of its methods, right? Like foo could be defined, and bar is only declared. A class inheriting the abstract class has to define bar, but wouldn't have to define foo, as it's already defined, right?
@AwesomeUser What have you tried? You should just be able to loop through it and assign a new value like blah["magType"] = blah["type"] and then just remove the type key. I'm not very familiar with Python though, so no idea on the specifics.
As for the blog, I think we should prepare phase 4 anyway ..... (I have not heard anything from GraceNote... perhaps I should reach out.... but it has been busy in SE land recently, I don't want to push).
@Mat'sMug - in Phase 3, you are the only person (apart from a half-way-committed monkey), to offer to coordinate the blog. All the others are offers to write occasional items, and to review/edit posts.
Hrmm, that's an interesting line of thought. I've never even slightly felt the need for abstract classes in ObjC. Seems like the correct response 99% of the time would be "if you think you need an abstract class, you're actually looking for a protocol"
I've never thought about going from Java to ObjC. That would be a rather jarring jump.
@Mat'sMug I have a bad track record for keeping up the momentum on things like blogs.... (and new-year resolutions, and keeping journals, etc.). I can step up and help/facilitate as needed, and, if nudged and bumped along (carrot&stick type thing) then I can be useful.