Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
If I see a pointer being created in a class and not deleted in that same class, I dont trust your code unless I can make sure it isnt still floating around somewhere.
The fact that you even use pointers just useless.
Cygwin is different as it tries to provide the UNIX api for windows. You are better off just using different compile targets by crosscompiling.
For the record; I am studying embedded software engineering and have been working with C/C++ for almost 4 years.
Do whatever you want but I tell you, with this attitude of not willing to accept any comments you are not going to make it.
C++ is not a language that should be learned through trial and error, which is what you are doing (Dont try to prove me wrong, these mistakes you made is not something what would happen to someone that started C++ and properly did their research and learning)
I was willing to help you out for the good but you seem a bit stubborn.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
If I see a pointer being created in a class and not deleted in that same class, I dont trust your code unless I can make sure it isnt still floating around somewhere.
All from one screenshot... ridiculous.
Quote:
Originally Posted by
The General
The fact that you even use pointers just useless.
What you just said is the most stupidest things I've ever read in my entire life, pointers are one of the very core features of C++
In certain cases, I want to control how objects get disposed of myself (such as connection instances).
Quote:
Originally Posted by
The General
Cygwin is different as it tries to provide the UNIX api for windows. You are better off just using different compile targets by crosscompiling.
Yes it's only for the API, I'd do the actual testing and compilation under a UNIX environment like my Raspberry Pi or a VM.
Quote:
Originally Posted by
The General
For the record; I am studying embedded software engineering and have been working with C/C++ for almost 4 years.
Cool.
Quote:
Originally Posted by
The General
Do whatever you want but I tell you, with this attitude of not willing to accept any comments you are not going to make it.
For the record, I accepted @Joopie's comment and fixed it, but clearly you ignored that.
Quite ironic considering you never take in my comments.
Quote:
Originally Posted by
The General
C++ is not a language that should be learned through trial and error, which is what you are doing (Dont try to prove me wrong, these mistakes you made is not something what would happen to someone that started C++ and properly did their research and learning)
I was willing to help you out for the good but you seem a bit stubborn.
C++ IS a language where you learn through trial and error
>Dont try to prove me wrong, these mistakes you made is not something what would happen to someone that started C++
Good thing I didn't start programming C++ as my first language then...
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Lol dude. Whatever. We will see when you give up because you get random segfaults and complain it is too complicated.
Am not gonna bother trying to tell you you are doing it wrong. Ask joopie, I am not telling any bullshit here. We study at the same place. I wanted to help you but your stubborness is just part of your ad attitude. Unable to take in critisism.
Edit:
For the people that asked me on skype what is wrong with pointers:
Nothing!
There is nothing wrong with using pointers. alex is just using them wrongly. What is dangerous about is is that you have to clean them up by freeing the memory manually. There is no garbage collection in C++. When calling new you reserve memory and the pointer points to thay piece of memory. You can easily pass this pointer around between functions if you wish. The problem in Alex his piece of code id about who cleans up that string that was newly created? Who takes the responsibility. For example I could read a string, have the packet object go out of scope and pass around the string to other functions. What function will take responsibility and delete that pointer? Who takes ownership? Here the best case wouldve been to just use a std::string object.
Pointers should be avoided in my opinion. (Creating pointers that is. You can always dereference an object to get a pointer to it!)
If there are more things people would like my opinion of feel free to ask.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
Lol dude. Whatever. We will see when you give up because you get random segfaults and complain it is too complicated.
Am not gonna bother trying to tell you you are doing it wrong. Ask joopie, I am not telling any bullshit here. We study at the same place. I wanted to help you but your stubborness is just part of your ad attitude. Unable to take in critisism.
So I'm stubborn when I reject invalid criticism? It's not criticism when your criticism is bullshit
@Joopie's response was fine, because there was an actual error.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Which I pointed out :lol:
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
So I'm stubborn when I reject invalid criticism? It's not criticism when your criticism is
bullshit
@
Joopie's response was fine, because there was an actual error.
Just because I sort of spoonfeeded you what was wrong and @The General didn't, doesn't make his criticism bullshit.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Joopie
Just because I sort of spoonfeeded you what was wrong and @
The General didn't, doesn't make his criticism bullshit.
You didn't spoon feed me anything, do you even know the definition of spoon feeding? You just pointed out the error.
Spoonfeeding would be pointing out the error and giving a fix (like stackoverflow answers).
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
You didn't spoon feed me anything, do you even know the definition of spoon feeding? You just pointed out the error.
Spoonfeeding would be pointing out the error and giving a fix (like stackoverflow answers).
Maybe my word choise of using spoonfeeding is not the right one.
But then again my point remains. Just because you couldn't directly see your error does not make his criticism invalid and/or bullshit.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
This thread is for discussion, if you do not want any discussion, feedback or critisism you should not be posting here and just stick to yourself.
Quote:
Originally Posted by
Quackster
You didn't spoon feed me anything, do you even know the definition of spoon feeding? You just pointed out the error.
Spoonfeeding would be pointing out the error and giving a fix (like stackoverflow answers).
And joopie only pointed it out after he asked me what I was talking about.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
This thread is for discussion, if you do not want any discussion, feedback or critisism you should not be posting here and just stick to yourself.
I never said I didn't want critisim, did i?
what makes you think i'm not accepting any criticism?? i clearly took your advice from before, just half of what you say is only your opinion which i ignore
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Raspberry PI :lol:
Arcturus works on raspberry pi too and doesn't even need to be compiled on there!
How long does compilation take on the RPI?
Do you compile using -Wall and -Wextra?
Why not use -Werror ?
Are you using eclipse for the makefiles?
Why use nano on your raspberry pi? IDE too complicated? (You know you can crosscompile....?)
(I'm using Arch linux)
http://i.imgur.com/DAWreRM.png
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
The General
Raspberry PI :lol:
Arcturus works on raspberry pi too and doesn't even need to be compiled on there!
How long does compilation take on the RPI?
Do you compile using -Wall and -Wextra?
Why not use -Werror ?
Are you using eclipse for the makefiles?
Why use nano on your raspberry pi? IDE too complicated? (You know you can crosscompile....?)
(I'm using Arch linux)
http://i.imgur.com/DAWreRM.png
I'm only using the Pi to make sure it can compile on *nix systems.
Re: Icarus Server (Production) - [Python, Multi-DB/MySQL]
Quote:
Originally Posted by
Quackster
I'm only using the Pi to make sure it can compile on *nix systems.
It does not work that way :lol:
If you want to have a macOS port, you going to buy a mac for that :lol:?