|
A few years ago I started work on a web project that involved an interactive hex-grid display (yes, it was a game). I used jQuery 1.1 and a nice add-on library that allowed jQuery-like control of SVG. It worked very well but I had other things come along and I left it alone for a couple of years.
Now I want to start it up again but the SVG library is no longer maintained and doesn't seem to work with Jquery 3.0 which I want use as I use it in all my other web projects. Someone suggested I switch to one called "Raphael" but before I start converting my old code I want to scan the field for the best option.
Any suggestions?
Note: I have a lot of images already created in SVG so I am not looking to switch to using HTML5 canvas instead.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
I used Raphael a few years ago. It worked well for what I needed, which was a "user control" for tagging and annotating images.
Other than that though I haven't used it for anything significant, nor have a used anything else to compare it to.
Unless you have some very specific needs, I wouldn't think it matters much what you use. Perhaps even just choose the library that has been around the longest, that way you probably don't have to worry about restarting a 2nd time in another few years.
|
|
|
|
|
Hmmm. I just found Snap.svg which is written by the same author(s) of Raphael. Supposedly it's got all of Raphael but without legacy browser baggage and new feature for modern browsers.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
|
I already have decided upon my main framework; I was looking for an SVG library but none of those sites even mention SVG - although I might have missed one.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Forogar wrote: I already have decided upon my main framework Which is ?
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
ASP.NET
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Okay, after 'retiring',I started doing the odd 1099 contract on the side. It has done a fairly good job of giving me enough slush to take a few trips, buy some nice things (new house!), etc. However (always have one of those, right?) I am now in a position of taking on two contracts, both of which want 8 hours a day. Both are interesting and in areas I have not done much in (one in simulation/animation and the other is e-finance).
Any thoughts or experiences about juggling two 8 hour/day contracts?
Pick one
Negotiate 4 hours per with longer delivery
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
|
Quote: change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly I've done all of those except butchering the hog, writing the sonnet and dying gallantly (except in a game, does that count?).
I am not, to the best of my knowledge, an insect.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Well writing a sonnet shouldn't be too difficult to tick of the list... so that only leaves dying gallantly while butchering a hog.
Personally I only ever eat meat where the butcher also died in the process. It makes me feel happy knowing there is a certain balance being preserved.
|
|
|
|
|
Quote: writing a sonnet shouldn't be too difficult Are you kidding? Sonnets are hard! Butchering and dying are easy compared to poetry!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
musefan wrote: certain balance being preserved
Who eats the dead butcher?
the surviving hogs?
|
|
|
|
|
I believe this is a quote from a "Lazarus Long" book by Robert Heinlein. Is this correct?
I am a big SF fan too!
|
|
|
|
|
Correct (an excellent book) but it's in StonyOwl's sig I copied it from.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Time Enough For Love, which contained excerpts from the Notebooks of Lazarus Long.
Software Zen: delete this;
|
|
|
|
|
Pick one. Trying to juggle two 4 hour days is less easy than it sounds. And you are more likely to end up with two dissatisfied customers.
|
|
|
|
|
Yeah, that is the one I am leaning toward. Plus, as the next reply says, 12 or more hours a day really drags on you.
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
Richard MacCutchan wrote: Trying to juggle two 4 hour days is less easy than it sounds.
The "context-switching" alone would drive me insane. When I'm working on something, I need to stay focused on it. The larger the blocks of time, the better.
|
|
|
|
|
If you haven't "done much" in either, then perhaps it would be a bad idea to try to take on both at the same time. You might end up requiring more "learning" than you expect, and end up with 12 hour days just to keep on top of things.
I would personally just pick one, so you can just focus on it and make sure it's done as best you can.
|
|
|
|
|
Agree with "Pick One."
what happens when they both hit something bad and demand your immediate on-site presence to fix it?
Even if that doesn't happen you'll find yourself easily burning 8 hours per day on both.
stoneyowl2 wrote: Okay, after 'retiring'...
Clearly you already understand "retiring" is not 'stopping work.'
but it is YOU: choosing if you want to work [incl. on any given day, week, month, ever]
... 1 'master' you compromise that somewhat, 2 'masters' you'll likely loose that completely.
So I would go even further to say: Pick One and negotiate longer delivery
... pick the one that is most comfortable [for your 'retirement'].
(of course you want to be paid but you also imply you're far from hurting for money, so why overextend yourself? you've earned your retirement, go and enjoy it with things that matter a lot more, remember retirement isn't forever either.)
Message Signature
(Click to edit ->)
|
|
|
|
|
stoneyowl2 wrote: Any thoughts or experiences about juggling two 8 hour/day contracts?
Triple your rates, hire 2 full-time devs, and go into management.
|
|
|
|
|
2 full-time devs from Asia. Profit!
[Signature space for sale]
|
|
|
|
|
Pick neither.
But seriously, unless you're onsite, how are they doing to know?
In short, I find it a pointless/unenforceable stipulation, so either ignore it or refuse.
|
|
|
|
|
Be very careful.
Over the past 20 years I have done something like what you are contemplating. In general, I have had one main customer and the occasional side gig. I have always picked up the side gig with good intentions, usually when things are slow at the main client. Every single elephanting time I commit to a side gig, the main customer goes bat $hit crazy with work they are willing to pay for. Every time...
What you are contemplating is two main customers. And if you are any good, they are going to get excited and want more. And they are going to be greedy with your time. It sounds like you don't really have to work, so be upfront with them.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|