re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
And a huge
NO THANKS to @
maritnmine for giving me an incorrect implementation of how to properly close JDBC objects.
You're using a wrapper which limits what I can do with your code so may thank yourself for that. Instead of attacking me you should point out what was wrong in my code snippet. Why is it that I have to explain everything that is obvious in such detail?
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
maritnmine
You're using a wrapper which limits what I can do with your code so may thank yourself for that.
You're the one who told me that, so you can thank yourself for giving bad advice! :):
Quote:
Originally Posted by
maritnmine
Instead of attacking me you should point out what was wrong in my code snippet. Why is it that I have to explain everything that is obvious in such detail?
In no way did I attack you, if you believe someone verbally saying no thank you in bold letters is considered attacking, then go seek some help.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
You're the one who told me that, so you can thank yourself for giving bad advice! :):
I thought the PreparedStatement class was a wrapper you made, so my bad. I only used JDBC connections in one project then jumped to Hibernate as it was giving me cancer. But to be honest, zombie connections is a problem you shouldn't have to deal with in the first place in projects at this scale. You might wanna look into Hibernate and see what it has to offer as it essentially replaces your DAO classes. The only sad part with Hibernate is that it increases your application startup time drastically as well as it adds a whole bunch of dependencies to your project.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Don't do Hibernate, for the sake of KISS. Just dig a little more into documentation and you'll have this resolved, you'll learn more that way too. :)
- - - Updated - - -
Quote:
Originally Posted by
maritnmine
as it was giving me cancer.
The usage of .NET already rotted your mind and infected you with M$ cancer. A little more cancer won't do you that much damage.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
Don't do Hibernate, for the sake of
KISS.
Can you elaborate on why Hibernate violates the KISS principle?
Quote:
Originally Posted by
Hoshiko
The usage of .NET already rotted your mind and infected you with M$ cancer. A little more cancer won't do you that much damage.
Can you keep your personal opinions that are entirely off-topic to yourself as those do not contribute to this thread at all in any way whatsoever. My point was that the way I was used to work with MySQL using the wrapper @Dissi had made was far simpler and cleaner than the JDBC one that I worked with. Am I being cancerous for critiquing bad software design? You might wanna start open your mind and actually look at what Microsoft is doing with .NET these days, I've been working in Java for the most part the past few years and man things have changed since 2011.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
maritnmine
You might wanna start open your mind and actually
look at what Microsoft is doing with .NET these days, I've been working in Java for the most part the past few years and man things have changed since 2011.
I'm very aware that M$ is trying to save their ass by adopting techniques other companies use to sell crap to other developers (hint: 'open-source'), however, it's still cancerous, since M$'s priority will still be their own platform. It's nice to hear you opted out of cancerous .NET, now the only thing left for you to do is leave all M$ based things and travel to the freedom dimension.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
I'm very aware that M$ is trying to save their ass by adopting techniques other companies use to sell crap to other developers (hint: 'open-source'), however, it's still cancerous, since M$'s priority will still be their own platform. It's nice to hear you opted out of cancerous .NET, now the only thing left for you to do is leave all M$ based things and travel to the
freedom dimension.
As a while male, I wouldn't encourage other developers to use feminist frameworks (And I'm not), I've been thinking of entirely opting out of Skype (Here's why) but we'll see. Just like you, I don't support feminist software companies and it is indeed tempting to shit on them whenever possible, but let's stay civil and stay on-topic.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
I'm very aware that M$ is trying to save their ass by adopting techniques other companies use to sell crap to other developers (hint: 'open-source'), however, it's still cancerous, since M$'s priority will still be their own platform. It's nice to hear you opted out of cancerous .NET, now the only thing left for you to do is leave all M$ based things and travel to the
freedom dimension.
There's nothing wrong with .NET what-so-ever.
It's a simple case of 'Each to his own', nothing more, nothing less.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
maritnmine
Can you elaborate on why Hibernate violates the KISS principle?
It overcomplicate things for a developer. If all you want is to access your data as an object (The DAO way™) then just query the database of choosing and parse it's result into an object. Want it more abstracted away? Create a helper function.
Solving everything with a library removes the control of the program from the programmer, sometimes resulting in unexpected behaviour. Which in turn, allow vulnerabilities to surface.
- - - Updated - - -
Quote:
Originally Posted by
Francis Joseph
There's nothing wrong with .NET what-so-ever.
Except that it requires you to give up your freedom and be a slave for all eternity?
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
It overcomplicate things for a developer. If all you want is to access your data as an object (The DAO way™) then just query the database of choosing and parse it's result into an object. Want it more abstracted away? Create a helper function.
Solving everything with a library removes the control of the program from the programmer, sometimes resulting in unexpected behaviour. Which in turn, allow vulnerabilities to surface.
While I do agree with some of your point, I still disagree that it violates the KISS principle. Yes, it takes some time to get into Hibernate in addition to setting it up. But once you are across this barrier you are able to be more productive than before you started with Hibernate and in the end you save a lot of time. The same principle goes with technical debt as well where this drawing illustrates my point:
https://pbs.twimg.com/media/CGngnIqUAAAjwvh.jpg
The same analogy goes for washing dishes at a restaurant. Yes, a washing machine is expensive, requires maintenance and your staff to learn it, but in the end it automates a lot of work for one employee and you save a lot of work. You might already have a highly skilled worker for washing dishes, but this is a job that can for the most part be automated and that worker can go do something else while the dishes are being cleaned. When you count the hours and the cost for the worker compared to the operational costs for the washing machine, you may find that you have save a lot of money.
- - - Updated - - -
Quote:
Originally Posted by
Hoshiko
Except that it requires you to give up your
freedom and be a slave for all eternity?
Can we please stop talking about feminist frameworks and get back on-topic?
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
maritnmine
When you count the hours and the cost for the worker compared to the operational costs for the washing machine, you may find that you have save a lot of money.
The ultimate Quackster's net worth is negative. Therefore he actually gains by spending more time on developing.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
The ultimate Quackster's net worth is negative. Therefore he actually gains by spending more time on developing.
Lol, that's not the real Quackster. :^)
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
maritnmine
Can we please stop talking about feminist frameworks and get back on-topic?
I'd just like to interject for a moment. What you’re referring to as 'feminist', is in fact, GNU/Feminist, or as I’ve recently taken to calling it, GNU plus Feminists.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Hoshiko
I'd just like to interject for a moment. What you’re referring to as 'feminist', is in fact,
GNU/Feminist, or as I’ve recently taken to calling it, GNU plus Feminists.
Your point is really triggering my PTSD from feminist software. Microsoft is the creator of feminist software such as Ms. Paint, Ms. PowerPoint including the .NET framework and Ms. Visual Basic. This should clear up things for you.
re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Hoshiko the feminist confirmed.