Generally its going to be more efficient for the people that know the codebase to do it. The employer will be better off paying the maintainers to do it.
I was under the impression the transaction support in Hibernate was more than sufficient for most purposes. I come from a.Net background so most of my experience is using the NHibernate port with the Diamond Binding active record implementation. In this, using transactions is as simple as using(new TransactionScope()) {... }.
Any complex queries can be handled using HQL (including aggregates, etc, if you are feeling really manly), and if you really need you can get the connection and use ADO (similar to JDBC) for hitting sprocs/whatever, in the same transaction.
So I agree with parent, I think OP needs to read up on his framework more. Hibernate can be fairly intimidating, but this makes it quite flexible (difficult for clustering though, but I guess theres always Shards). The main reason we went with Diamond Binding is because it simplifys things down a fair bit (and gets rid of those pesky mapping files) which helps the junior devs a fair bit.
My particular brand of Christianity is more mainstream. Instead of thinking the entire book of genesis was a transcription error, I believe that the word "God" was typoed fairly early on and should've read "ozphx".
People should really be worshipping me. Spread the word my children! My blessings will rain down upon you, as will be told in the book of Bukkake.
Wading through Coward's latest dense prose, I felt disappointed. What could have been a truely epic troll was falling flat. I suspect that by padding out the homosexual references somewhat, and by pacing himself, Coward could have really delived with this one. There was some unique content here but terrible delivery.
The silver lining is that they have to sweet-talk a lot of MPs to get the policy through Parliament...
That lining isn't so silver. The two votes that Labor need to ram their nanny state crap thru are from the "Family First" MP, and the "No Pokies" MP.
"Family First" is basically Paradise Community Church's rep - and he has gone on record saying he wants the mandatory filter extended to all forms of hardcore pornography.
"No Pokies" is down with it as well, and would like it to include mandatory blocking of gambling sites. (Antigua's on the phone... something about the WTO and our bunghole..)
So if this gets thru its likely to involve compromise in the further-rape-of-our-freedoms direction for these asshats. Labor - spending our tax money on whatever nanny-state crap and union requests and destroying our economy as usual.
It's a fact that Nixon was a traitor and he was asking the lawyer to aid and abet him in his treasonous activities.
No it was not a fact when he was talking to his lawyer. Things like this are only a fact AFTER they have been determined in a court of law. Would you like to be (falsely, but convincingly) accused of molesting children and have no lawyer defend you, removing all hope of clearing your name?
The most ethical option is to stick by his client. Everyone deserves this representation. If it was certain that Nixon was a traitor, etc, etc, and the lawyer knew that, then he would also know he would certainly be defeated. He can put in a good defense, knowing that if the judge does his damn job, his client will still go to jail, society will be saved, and his client won't get too badly buttraped by "the wolves".
So If I talk to my lawyer about how cute your pre teen daughter is and how much I'd like to rape her and go over my plans to do so with him then he should just keep his mouth shut and let it happen and even offer me advice on how to get away with it?
Yes. He should. Chances are by talking this thru with someone who is telling him that "if you get caught then I won't be able to keep you out of jail", he might change his mind and go have consensual sex with your mother for the low low price of $2.
And again, there are laws covering doctor-patient confidentiality, ditto with legal counsel. "Ratting your out" is covered by law, as this is not how we want our legal system to work.
Our lawyers are expected to NOT pass personal judgement and represent us to the best of our ability, and we as a society have created laws to ensure that any "IANAL" shouting layman can be properly represented. This brings me back to the OP, who claimed that someones laywer should have "quit on the spot" and claimed his client was a "traitor". Idiotic.
Lawyers are loyal to their clients alone, and this is how it should be. I have an expectation that I can get the best possible unbiased advice and representation in the legal system, and this allows a much better percieved fairness. Or would you prefer it common practice for the RIAA to be bribing your defense lawyer in order to make sure he throws your trial?
If you have ever been involved in litigation (beyond the sensationalist crap you read in the media) you will find that "legal technicalities" are few and far between - and in general there is a fair bit of fucking common sense in the legal system.
The judge has ultimate responsibility while the lawyer is already on the clock, having completely rejected his (assuming an actual ludicrous case here) responsibility to the law in favor of the dollar.
And assuming the judge rules 100% fairly, we are now costing sue-happy clients money. Eventually they would run out. The true ambulance chasers (no-win-no-fee) would also be going broke if the judges got their shit together.
First rule of business. "You get paid". It applies across all fields - when I consult if someone asks me to spec out a crazy stupid idea - once they are aware of the risks of it not actually being profitable... someone has to take their money. I'd prefer that person to be me. Rule #1.
Wrong. A lawyer is like a doctor. Its someone you can go to for 100% trust and confidentiality, because you NEED their advice on sensitive matters.
I know my doctor isn't going to call my wife up with a line like "Well I can't in clear concience keep treating the clap that this cheating fucker picked up from those hookers, and I think you should divorce him."
I know my lawyer is going to represent me to the best of his ability and keep his goddamn opinions to himself unless I ask for them.
Judge: What did he do? EA: Made a monster that looks like a dick! Me: Objection! It looks nothing like a dick! EA: Its clearly phallic! Me: Thats a long neck, evolved for reaching high... EA: Its sitting on a pair of balls! Me: Theyre legs! It walks on them! EA: HAIRY BALLS
Its worth it just to see a gaggle of lawyers on $400+ p/h trying to argue the phallic appearance of my one-eyed trouser monster.
While these modern murder simulators are training up my children to smite sinners down with a shotgun to cleanse the world for the second coming of the Lord, I certainly don't want them to see hateful speech like "piss", "shit", or "titty fucking arse bandits with their gay dick up an elephants cunt".
Release it open source if you can't maintain it yourself and will need help you can't afford, or that the majority of your income will come from selling support.
Otherwise, keep that shit to yourself. OSS is a pretty damn weak contract for making sure people give back to you.
Bugger the "owing FOSS". You don't owe shit. Unless you are using a project that has licensors regret. (Had that before - "Why don't your release source for your product?"... "Its internal"... "But its not in the *spirit* of the GPL")
If taking a single node down is going to unacceptably increase your risk, then you are in the realms of "trying for 5 nines", and not "guaranteeing 5 nines".
The risk of corrupting process state is going to be a hell of a lot worse than a reboot, and the cost another node is going to be less than a "fair amount of resources".
Well to be fair, the functionality was implemented in a simple fashion, and then they discovered all the joys of scaling pub/sub beyond a few thousand nodes.
They thought they could do it naievely - and they fucked it up hard. Pub/sub is hard on that kinda scale, but to take his qualifications of "Average rails developer" + "Really failed at making twitter scale", and the get "Hey I should be giving teh internets scalability advice" is pretty damn laughable. He's given us all the advice we need with his epic fail.
This is new revolutionary* economy* of Web2.0*. You need to understand that its synergy* with the community* that drive these content-driven* revolutions*.
More seriously, their exit strategy is to get bought out by some moronic yahoo (pun intended).
IPOs are kinda out these days, the trick is to be bought out and make turning a bunch of poor uni student subscribers into a revenue stream someone elses problem.
Twitters problem is trying to build a massive pub/sub system with the experience of building various other shitty "Web2.0" sites (ie: Out the box rails on top of mysql).
The "API Lead" at Twitter an application world famous for totally fucking up its scalability suggests he might do a better job at designing "teh internets".
News-fucking-flash, the "internets" started as a shitty little defence project to let pompous generals share 5 digit nuclear codes and important messages*, and has scaled rather brilliantly to deliver me gigs of hi-def porn and ads for viagra.
* For Example:
GEN PATTON TO COMMAND STOP THX FOR NEW NUKE CODE STOP PS I HAVE SAME COMBINATION ON MY LUGGAGE STOP ROTFLMAO STOP
COMMAND TO GEN PATTON STOP PLEASE CEASE JOKES STOP ARPANET IS NOT A BIG TRUCK YOU CAN DUMP PERSONAL MESSAGES ON STOP JUST THE OTHER DAY I SENT AN ARPANET TO MY CHIEF OF STAFF AND IT DID NOT ARRIVE UNTIL 0800 FRIDAY STOP
Of course there is another miscomprehension from the OSS community - the theory that when the "Free as in Beer" maintenance dries up (Linus quits / RedHat goes bankrupt), that places like where I work now will _hire_ developers to maintain the kernel / other FOSS tools we use.
Looking around here I'd say thats extremely unlikely. Most small / midsize (hell even larger) businesses can't afford someone thats "good enough" to fix/debug/improve complicated things like kernels / filesystem drivers.
So the thing thats likely to happen here is that people pool their money with other users, and ignore the "freedom" issues. Theres already a model for that - its called buying commercial tools and having a code-escrow agreement.
If a business can get away with paying a couple of thousand bucks on a Windows license, they will do that over paying for a measly developer-week of time...
"...we managed to achieve a degree of cultural influence, economic and military success that your nation never even dreamed of..."
A Brief History of America:
After the British created America and set it well on the way to success as another wonderful new colony, America decided to kick off its own unique approach to world politics - as she proceeded to declare war on herself.
After the skillful British had gone home for a tea break, the Americans declared victory. The British had a good chortle over this, but decided to be gentlemen and go along with it. The perpetually fat and lazy Americans were then forced to enslave a whole bunch of Negroes and Chinese in order to get shit done.
They also came up with the only literary achievement in America's history, the "Constitution", which is widely regarded as one of the greatest practical jokes of all time, and completely indecipherable, as it is still ignored and debated until this day.
This "Constitution" was then amended several times to support typical American habits, such as carrying guns around all the damn time, talking far too much and too loudly, and having the right to not incriminate yourself when you stupidly talk about your own criminal behaviour.
Towards the end of World War 2 when the British were well on the way to victory, America finally got off her collective fat arse and joined in at the last moment. This left them convinced that this victory was due to their own fighting skill, and slightly pissed off about missing a good opportunity to shoot people at the start of the war. This led to hilarity as the violent and overconfident Americans started, and then promptly lost, wars all over the world.
America's crass and violent influence on world affairs will always be remembered by historians with a sense of humour. We can only hope that the current economic fail they are experiencing will allow them to pick a target for their next failed military campaign.
Generally its going to be more efficient for the people that know the codebase to do it. The employer will be better off paying the maintainers to do it.
I was under the impression the transaction support in Hibernate was more than sufficient for most purposes. I come from a .Net background so most of my experience is using the NHibernate port with the Diamond Binding active record implementation. In this, using transactions is as simple as using(new TransactionScope()) { ... }.
Any complex queries can be handled using HQL (including aggregates, etc, if you are feeling really manly), and if you really need you can get the connection and use ADO (similar to JDBC) for hitting sprocs/whatever, in the same transaction.
So I agree with parent, I think OP needs to read up on his framework more. Hibernate can be fairly intimidating, but this makes it quite flexible (difficult for clustering though, but I guess theres always Shards). The main reason we went with Diamond Binding is because it simplifys things down a fair bit (and gets rid of those pesky mapping files) which helps the junior devs a fair bit.
My particular brand of Christianity is more mainstream. Instead of thinking the entire book of genesis was a transcription error, I believe that the word "God" was typoed fairly early on and should've read "ozphx".
People should really be worshipping me. Spread the word my children! My blessings will rain down upon you, as will be told in the book of Bukkake.
Good idea. Are you in the US? Would you do it with currency too?
I mean forget this $45, I'll send you $45k AUD and then you can pick me up $45k USD and send it beck!
Wading through Coward's latest dense prose, I felt disappointed. What could have been a truely epic troll was falling flat. I suspect that by padding out the homosexual references somewhat, and by pacing himself, Coward could have really delived with this one. There was some unique content here but terrible delivery.
A poor performance. One and a half stars.
That lining isn't so silver. The two votes that Labor need to ram their nanny state crap thru are from the "Family First" MP, and the "No Pokies" MP.
"Family First" is basically Paradise Community Church's rep - and he has gone on record saying he wants the mandatory filter extended to all forms of hardcore pornography.
"No Pokies" is down with it as well, and would like it to include mandatory blocking of gambling sites. (Antigua's on the phone... something about the WTO and our bunghole..)
So if this gets thru its likely to involve compromise in the further-rape-of-our-freedoms direction for these asshats. Labor - spending our tax money on whatever nanny-state crap and union requests and destroying our economy as usual.
No it was not a fact when he was talking to his lawyer. Things like this are only a fact AFTER they have been determined in a court of law. Would you like to be (falsely, but convincingly) accused of molesting children and have no lawyer defend you, removing all hope of clearing your name?
The most ethical option is to stick by his client. Everyone deserves this representation. If it was certain that Nixon was a traitor, etc, etc, and the lawyer knew that, then he would also know he would certainly be defeated. He can put in a good defense, knowing that if the judge does his damn job, his client will still go to jail, society will be saved, and his client won't get too badly buttraped by "the wolves".
Yes. He should. Chances are by talking this thru with someone who is telling him that "if you get caught then I won't be able to keep you out of jail", he might change his mind and go have consensual sex with your mother for the low low price of $2.
And again, there are laws covering doctor-patient confidentiality, ditto with legal counsel. "Ratting your out" is covered by law, as this is not how we want our legal system to work.
Our lawyers are expected to NOT pass personal judgement and represent us to the best of our ability, and we as a society have created laws to ensure that any "IANAL" shouting layman can be properly represented. This brings me back to the OP, who claimed that someones laywer should have "quit on the spot" and claimed his client was a "traitor". Idiotic.
Lawyers are loyal to their clients alone, and this is how it should be. I have an expectation that I can get the best possible unbiased advice and representation in the legal system, and this allows a much better percieved fairness. Or would you prefer it common practice for the RIAA to be bribing your defense lawyer in order to make sure he throws your trial?
If you have ever been involved in litigation (beyond the sensationalist crap you read in the media) you will find that "legal technicalities" are few and far between - and in general there is a fair bit of fucking common sense in the legal system.
And assuming the judge rules 100% fairly, we are now costing sue-happy clients money. Eventually they would run out. The true ambulance chasers (no-win-no-fee) would also be going broke if the judges got their shit together.
First rule of business. "You get paid". It applies across all fields - when I consult if someone asks me to spec out a crazy stupid idea - once they are aware of the risks of it not actually being profitable... someone has to take their money. I'd prefer that person to be me. Rule #1.
If only I had mod points sir, I would give you them.
Wrong. A lawyer is like a doctor. Its someone you can go to for 100% trust and confidentiality, because you NEED their advice on sensitive matters.
I know my doctor isn't going to call my wife up with a line like "Well I can't in clear concience keep treating the clap that this cheating fucker picked up from those hookers, and I think you should divorce him."
I know my lawyer is going to represent me to the best of his ability and keep his goddamn opinions to himself unless I ask for them.
I thought a +5 Insightful for the phrase was pretty epic... but +5 Insightful for correcting a missing apostrophe, kudos sir.
Judge: What did he do?
EA: Made a monster that looks like a dick!
Me: Objection! It looks nothing like a dick!
EA: Its clearly phallic!
Me: Thats a long neck, evolved for reaching high...
EA: Its sitting on a pair of balls!
Me: Theyre legs! It walks on them!
EA: HAIRY BALLS
Its worth it just to see a gaggle of lawyers on $400+ p/h trying to argue the phallic appearance of my one-eyed trouser monster.
While these modern murder simulators are training up my children to smite sinners down with a shotgun to cleanse the world for the second coming of the Lord, I certainly don't want them to see hateful speech like "piss", "shit", or "titty fucking arse bandits with their gay dick up an elephants cunt".
Release it open source if you can't maintain it yourself and will need help you can't afford, or that the majority of your income will come from selling support.
Otherwise, keep that shit to yourself. OSS is a pretty damn weak contract for making sure people give back to you.
Bugger the "owing FOSS". You don't owe shit. Unless you are using a project that has licensors regret. (Had that before - "Why don't your release source for your product?"... "Its internal"... "But its not in the *spirit* of the GPL")
Haha. Try wordpress.com then ;) That was blocked the entirety of september when I was in Wuhan.
Your company sucks.
If taking a single node down is going to unacceptably increase your risk, then you are in the realms of "trying for 5 nines", and not "guaranteeing 5 nines".
The risk of corrupting process state is going to be a hell of a lot worse than a reboot, and the cost another node is going to be less than a "fair amount of resources".
Well to be fair, the functionality was implemented in a simple fashion, and then they discovered all the joys of scaling pub/sub beyond a few thousand nodes.
They thought they could do it naievely - and they fucked it up hard. Pub/sub is hard on that kinda scale, but to take his qualifications of "Average rails developer" + "Really failed at making twitter scale", and the get "Hey I should be giving teh internets scalability advice" is pretty damn laughable. He's given us all the advice we need with his epic fail.
This is new revolutionary* economy* of Web2.0*. You need to understand that its synergy* with the community* that drive these content-driven* revolutions*.
More seriously, their exit strategy is to get bought out by some moronic yahoo (pun intended).
IPOs are kinda out these days, the trick is to be bought out and make turning a bunch of poor uni student subscribers into a revenue stream someone elses problem.
* Bullshit.
Twitters problem is trying to build a massive pub/sub system with the experience of building various other shitty "Web2.0" sites (ie: Out the box rails on top of mysql).
Yeah I was just about to post in this vein.
The "API Lead" at Twitter an application world famous for totally fucking up its scalability suggests he might do a better job at designing "teh internets".
News-fucking-flash, the "internets" started as a shitty little defence project to let pompous generals share 5 digit nuclear codes and important messages*, and has scaled rather brilliantly to deliver me gigs of hi-def porn and ads for viagra.
* For Example:
I was in a similar situation. It was really awesome.
Then I had a spiritual moment and got married.
I recommend you don't do this.
Making love is more like a series of tubes.
Of course there is another miscomprehension from the OSS community - the theory that when the "Free as in Beer" maintenance dries up (Linus quits / RedHat goes bankrupt), that places like where I work now will _hire_ developers to maintain the kernel / other FOSS tools we use.
Looking around here I'd say thats extremely unlikely. Most small / midsize (hell even larger) businesses can't afford someone thats "good enough" to fix/debug/improve complicated things like kernels / filesystem drivers.
So the thing thats likely to happen here is that people pool their money with other users, and ignore the "freedom" issues. Theres already a model for that - its called buying commercial tools and having a code-escrow agreement.
If a business can get away with paying a couple of thousand bucks on a Windows license, they will do that over paying for a measly developer-week of time...
A Brief History of America:
After the British created America and set it well on the way to success as another wonderful new colony, America decided to kick off its own unique approach to world politics - as she proceeded to declare war on herself.
After the skillful British had gone home for a tea break, the Americans declared victory. The British had a good chortle over this, but decided to be gentlemen and go along with it. The perpetually fat and lazy Americans were then forced to enslave a whole bunch of Negroes and Chinese in order to get shit done.
They also came up with the only literary achievement in America's history, the "Constitution", which is widely regarded as one of the greatest practical jokes of all time, and completely indecipherable, as it is still ignored and debated until this day.
This "Constitution" was then amended several times to support typical American habits, such as carrying guns around all the damn time, talking far too much and too loudly, and having the right to not incriminate yourself when you stupidly talk about your own criminal behaviour.
Towards the end of World War 2 when the British were well on the way to victory, America finally got off her collective fat arse and joined in at the last moment. This left them convinced that this victory was due to their own fighting skill, and slightly pissed off about missing a good opportunity to shoot people at the start of the war. This led to hilarity as the violent and overconfident Americans started, and then promptly lost, wars all over the world.
America's crass and violent influence on world affairs will always be remembered by historians with a sense of humour. We can only hope that the current economic fail they are experiencing will allow them to pick a target for their next failed military campaign.