Click here to Skip to main content
15,885,159 members

Nemanja Trifunovic - Professional Profile



Summary

LinkedIn      Blog RSS
21,629
Author
7,688
Authority
38,583
Debator
30
Editor
102
Enquirer
12,739
Organiser
9,705
Participant
Born in Kragujevac, Serbia. Now lives in Boston area with his wife and daughters.

Wrote his first program at the age of 13 on a Sinclair Spectrum, became a professional software developer after he graduated.

Very passionate about programming and software development in general.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralFriend template functions Pin
Nemanja Trifunovic7-Feb-05 2:24
Nemanja Trifunovic7-Feb-05 2:24 
GeneralAn ideal programming language Pin
Nemanja Trifunovic23-Dec-04 6:45
Nemanja Trifunovic23-Dec-04 6:45 
GeneralRe: An ideal programming language Pin
bob1697230-Sep-05 23:10
bob1697230-Sep-05 23:10 
GeneralRe: An ideal programming language Pin
Nemanja Trifunovic3-Oct-05 3:05
Nemanja Trifunovic3-Oct-05 3:05 
JokeRe: An ideal programming language Pin
ShermansLagoon12-Feb-07 23:55
ShermansLagoon12-Feb-07 23:55 
GeneralRe: An ideal programming language Pin
Nemanja Trifunovic13-Feb-07 1:39
Nemanja Trifunovic13-Feb-07 1:39 
GeneralBoost 1.32.0 released Pin
Nemanja Trifunovic24-Nov-04 7:36
Nemanja Trifunovic24-Nov-04 7:36 
GeneralDllImport and "System.NullReferenceException: Object reference not set to an instance of an object." Pin
Nemanja Trifunovic16-Nov-04 7:28
Nemanja Trifunovic16-Nov-04 7:28 
Last Thursday, a colleague of mine and I were integrating our core C++ libraries into a .NET application, trying to complete a "death march project" that we were invloved in for the last several weeks.

Pretty much everything went smoothly except for one function, and the .NET runtime kept throwing
System.NullReferenceException: Object reference not set to an instance of an object.

into us, whenever this function was called. Of course, the message is totally missleading, but we did not pay any attention on it anyway. Instead, we started checking our declarations on both C++ and C# side. We found following problems:

1. One parameter on C++ side was declared as a reference to a pointer to wchar_t instead of a pointer to wchar_t. We fixed it, but the exception was thrown again.
2. Calling convention was wrong. We used cdecl on C++ side, and specified stdcall on C# side. Again, we fixed it, but the problem remained.
3. We found out that the C++ side had an extra argument that we forgot to add to the C# side. We fixed it, and instead of our beloved System.NullReferenceException, the program would just jump several instructions forward, which would bring us to an endless loop.
4. The last argument of this function was a structure, containing two long and two int variables on C# side, and four int variables on C++ side. We switched the first two C++ variables to __int64, and it finally worked.

The whole excersise took us between 2 and 3 hours.

Morals of the story?
1. Death-march projects suck big time. When people are under pressure they tend to forget too many "little details" and it comes back in most unexpected ways.
2. "Bridging" between technologies is where a lot of time is lost. If you have a big code base in some "legacy" technology, stick to that technology as long as you can.
3. Never think "I'll just make it work now, and do the right thing later". Later never comes.




My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
GeneralRe: DllImport and "System.NullReferenceException: Object reference not set to an instance of an object." Pin
kinjosan28-Dec-04 11:06
kinjosan28-Dec-04 11:06 
GeneralStructs and 'using' in C# Pin
Nemanja Trifunovic1-Nov-04 2:57
Nemanja Trifunovic1-Nov-04 2:57 
GeneralB. Stroustrup: The Design and Evolution of C++ Pin
Nemanja Trifunovic28-Oct-04 8:28
Nemanja Trifunovic28-Oct-04 8:28 
GeneralStandard Features Missing From VC++ 7.1 Pin
Nemanja Trifunovic16-Oct-04 15:59
Nemanja Trifunovic16-Oct-04 15:59 
GeneralRe: Standard Features Missing From VC++ 7.1 Pin
toxcct11-Jan-06 6:51
toxcct11-Jan-06 6:51 
GeneralRe: Standard Features Missing From VC++ 7.1 Pin
Nemanja Trifunovic16-Jan-06 7:40
Nemanja Trifunovic16-Jan-06 7:40 
GeneralDetecting memory leaks. Pin
Nemanja Trifunovic15-Oct-04 5:22
Nemanja Trifunovic15-Oct-04 5:22 
GeneralC++0x Standard Library Wishlist Pin
Nemanja Trifunovic1-Oct-04 7:51
Nemanja Trifunovic1-Oct-04 7:51 
GeneralThreads in Standard C++ ? Pin
Nemanja Trifunovic27-Sep-04 4:55
Nemanja Trifunovic27-Sep-04 4:55 
GeneralRe: Threads in Standard C++ ? Pin
Prakash Nadar27-Sep-04 7:20
Prakash Nadar27-Sep-04 7:20 
GeneralRe: Threads in Standard C++ ? Pin
Nemanja Trifunovic27-Sep-04 9:36
Nemanja Trifunovic27-Sep-04 9:36 
GeneralRe: Threads in Standard C++ ? Pin
Ryan Binns8-Feb-05 17:20
Ryan Binns8-Feb-05 17:20 
GeneralRe: Threads in Standard C++ ? Pin
Anders Dalvander9-May-05 20:09
Anders Dalvander9-May-05 20:09 
GeneralRe: Threads in Standard C++ ? Pin
WREY7-Jun-05 16:58
WREY7-Jun-05 16:58 
GeneralRe: Threads in Standard C++ ? Pin
Nemanja Trifunovic15-Jun-05 5:54
Nemanja Trifunovic15-Jun-05 5:54 
GeneralA book: Advanced .NET Programming Pin
Nemanja Trifunovic22-Sep-04 6:51
Nemanja Trifunovic22-Sep-04 6:51 
GeneralSFU vs Cygwin Pin
Nemanja Trifunovic21-Sep-04 6:12
Nemanja Trifunovic21-Sep-04 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.