CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 124 users online: 2 members, 85 guests and 37 bots.
Members: LuxenD.
Bots: VoilaBot (4), Magpie Crawler (3), VoilaBot (12), Googlebot (18).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's General Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => General Programming
Author Message
JoeImp
Enlightened


Active Member


Joined: 24 May 2003
Posts: 747

Posted: 27 Apr 2007 09:33:43 pm    Post subject:

Please, no replies from people who have no idea what they're talking about. This is mostly aimed at Arcane Wizard and a couple other people here.

I've recently switched from windows to linux (2.6.19-r5 and gentoo), and I'm loving it so far. I want to start a new project, and I've decided to try and make it compatible for both windows and linux. I've never programmed for linux before, so it should be interesting. All I need is support for guis, I don't need any advanced graphics or anything. I've been googling around for how best to develop for both platforms, and the best I've come across is this wxwidgets, which seems pretty cool. How would you suggest I go ahead and make gui's that are easily cross-platform used/compiled?
Back to top
CoBB


Active Member


Joined: 30 Jun 2003
Posts: 720

Posted: 28 Apr 2007 02:53:51 am    Post subject:

What exactly do you want to know? As long as your code is gcc friendly and you’re not trying to work around the wxWidgets API, you’ll be able to compile it under both systems without any modification, given that wxWidgets is configured properly. In fact, MinGW is also available under Linux, so you can produce Windows executables without switching systems (I never tried that with wxWidgets specifically, but I don’t see why it wouldn’t work).

Of course if you use certain POSIX functionality (like sockets or fork), you’ll need Cygwin for the Windows port.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 28 Apr 2007 02:55:53 am    Post subject:

I've always just used bare GTK2, but wxwidgets looks nice.
Back to top
AlienCC
Creative Receptacle!


Know-It-All


Joined: 24 May 2003
Posts: 1927

Posted: 28 Apr 2007 03:02:37 am    Post subject:

What language are you using to develop in, and are you using test driven development?

Some tools that you might find useful (we do):
http://www.boost.org/tools/build/jam_src/index.html
http://mockpp.sourceforge.net/ - C++
http://www.jmock.org/ - Java

Good choice with wxwidgets, it is nice.


Last edited by Guest on 28 Apr 2007 03:08:41 am; edited 1 time in total
Back to top
JoeImp
Enlightened


Active Member


Joined: 24 May 2003
Posts: 747

Posted: 28 Apr 2007 01:33:43 pm    Post subject:

Bah, how could I forget to mention that I'll be using C++. Not going to use test driven development, going to stick to something more traditional. Guess I'll figure out how to use wxwidgets, time to start learning.
Back to top
JoeImp
Enlightened


Active Member


Joined: 24 May 2003
Posts: 747

Posted: 23 May 2007 06:52:58 pm    Post subject:

You would be one of the people that

Quote:
Please, no replies from people who have no idea what they're talking about. This is mostly aimed at Arcane Wizard and a couple other people here.


applies to.
Back to top
AlienCC
Creative Receptacle!


Know-It-All


Joined: 24 May 2003
Posts: 1927

Posted: 24 May 2007 01:40:13 am    Post subject:

You may want to look into test driven development, it has proven very succesful so far. What I'm seeing are functions that work as expected the first time. Development time seems a little bit longer at first but results in almost no debugging necessary later on. The time seems to be better spent pushing forward with development, and no mystery time that is hidden from sight trying to track down and fix weird bugs. This seems especially important when developing for multiple platforms simultaneously. Another benefit is that you will never have the same bug again once you fix it in this model.

I would have never believed this about test driven development until I saw it for myself.


Last edited by Guest on 24 May 2007 01:41:55 am; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 04:18:43 am    Post subject:

JoeImp wrote:
You would be one of the people that

Quote:
Please, no replies from people who have no idea what they're talking about. This is mostly aimed at Arcane Wizard and a couple other people here.


applies to.
[post="105186"]<{POST_SNAPBACK}>[/post]


JoeImp wrote:
I've recently switched from windows to linux

Quote:
I've never programmed for linux before

Quote:
I've been googling around



I suggest you use better arguments than that to deny yourself of whatever advice you get from those who actually have done this before. Which does include me and AlienCC.

AlienCC do you use test driven development as the sole development method or combined with other (perhaps at a different level) development or project management methods? It always seems best to take the pros of different methods and apply them as seems fit for a specfic project.


Last edited by Guest on 24 May 2007 04:19:03 am; edited 1 time in total
Back to top
elfprince13
Retired


Super Elite (Last Title)


Joined: 11 Apr 2005
Posts: 3500

Posted: 24 May 2007 08:17:08 am    Post subject:

Arcane Wizard wrote:
I've always just used bare GTK2, but wxwidgets looks nice.
[post="102206"]<{POST_SNAPBACK}>[/post]


I prefer wxWidgets because it uses the native library of whatever system its being compiled on. And it has better support for OS X than GTK2 (as in you don't need X11 to run it) does meaning its fairly easy to get it to compile on Linux, Windows or OS X. and GTK2 also just doesn't look that great on windows.

If you ever need the more advanced graphics or sound, there ARE cross platform libraries available for that as well (such as SDL, OpenGL, and OpenAL). I'm also fairly sure there are some cross platform networking libraries, but I've never used any of them so I can't recommend any.


Last edited by Guest on 24 May 2007 08:19:34 am; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 11:18:43 am    Post subject:

I really can't be bothered with OS X support. GTK2 default theme is either sufficient or I define all GUI components so it looks the same on either platform.
Back to top
CoBB


Active Member


Joined: 30 Jun 2003
Posts: 720

Posted: 24 May 2007 11:33:37 am    Post subject:

GTK is terribly slow and ugly under Windows.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 12:45:25 pm    Post subject:

It's slower than native rendering just as it is in linux. Not terribly slow (troll more) but slower. Don't use it if you need those milliseconds spared here and there at the expense of development.

Ugly on Windows? Why don't you actually define your components' looks if they are so important? My first gtk app looked just as horrible in linux so I made it look good in gnome and it immedeately looked good (identical in fact) in Windows. Didn't have to fix any code between platforms and I didn't have to redesign my component's layout/sizes (in fact the default gtk auto layout management sufficed) due to Win32 rendering using entirely different settings from gnome/x.

Maybe you guys are of the type who are sufficiently supported by some IDE's app generator and never manage their GUI beyond the exact code it generates and then focus solely on the business logic. I actually spend a significant portion of my time developing a usefull GUI, wether it's in Java Swing and all the defaults look great by themselves or it's in Perl with GTK1 that lacks a nice default theme.

If GTK doesn't fit your needs, and it may not if you want to fully support the KDE environment for example (all of you should learn some real arguments against GTK btw silly nubtrolls), use something else. If wxwidgets doesn't suffice, and it may not fit your development methods, use something else. Sometimes you simply can't use something because of the licenses that apply. Other times the coding standards for a project may not allow a particular library. Anyway there is no single multiplatform API we should all use for all our projects, so learn to research and develop appropriately for each project. Use the right tools for the job.

Things like /how/ you develop the GUI are crucial to choosing in /what/ you develop it, so before you accuse me of not knowing what I'm talking about, let your judgement run over those who stated nothing usefull at all.

And stop being platform, language, API, and IDE fanbois because it won't improve your products.


Last edited by Guest on 24 May 2007 01:06:15 pm; edited 1 time in total
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 24 May 2007 01:10:08 pm    Post subject:

Do you enjoy the rush of alienating people, Arcane? You can be objective and give insightful details without squandering your thought processes on belittling others; there are about a million ways you can say that last line in a positive, encouraging manner, let alone without degrading anyone, thus I am dumbstruck that you can call others trolls without taking a hard look at yourself. I hate being demeaning, but it infuriates me when someone selects to lessen others' morale. Call me a "fanboi" of good will, but I think I make a point.

Last edited by Guest on 24 May 2007 01:16:45 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 01:20:34 pm    Post subject:

Go back to calling me an a in PM's so this topic can continue to pertain to development libraries. It would lessen others' morale less.

Last edited by Guest on 24 May 2007 01:22:26 pm; edited 1 time in total
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 24 May 2007 01:43:17 pm    Post subject:

Never once did I call you an a. I worded my messages very carefully in hopes that you'd realize that I was trying to assist you. The staff members all have a copy of the conversation to verify this; all you're doing by making such bizarre claims as my turning to that behavior is hurting your integrity and even moreso yourself. You obviously aren't seeing what you do very well. As of now, I'm beginning Wink to think that you honestly have no will to cooperate with the staff members of this forum, so I will make sure to hold an assembly with them to determine what should be done about all this. You never "shh" a teacher who shushes you first – you might just get sent to the principal's office.

[EDIT]

JoeImp, it could have arisen in any thread. I'm sorry it happened here.


Last edited by Guest on 24 May 2007 02:20:02 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 03:40:34 pm    Post subject:

Oh yes, I'm sorry, you only called me a a. a was probably in the IRC logs you didn't want to share, or I'm just mistaking over that exact word. Whatever.

Don't mistake any reaction to your own hypocricy in not following your own advice for lack of will to cooperate with the staff members that do not reason solely based on the premise of the other guy being wrong.

School politics hold no real grounds, regardless of the consequences. A principle once had an open meeting with me, 10 minutes later he agreed the teacher was in the wrong and negated all his decisions on the matter. My behaviour in class is fine, if a teacher shushed me for calling a group fanbois he'd better have some real arguments regarding freedom of speech or take his own poor advice. Still, plenty of inane teachers who think they're right because they can put bureaucratic actions to their words.

If I am to be banned for responding to a really poor argument with the word "fanbois" then so be it, but that doesn't mean the system is right. And what a great demonstration of that system it would be.


Last edited by Guest on 24 May 2007 03:44:56 pm; edited 1 time in total
Back to top
Weregoose
Authentic INTJ


Super Elite (Last Title)


Joined: 25 Nov 2004
Posts: 3976

Posted: 24 May 2007 04:27:30 pm    Post subject:

Arcane Wizard wrote:
Oh yes, I'm sorry, you only called me a a.
I only linked you to an article entitled Don't be a a.

Arcane Wizard wrote:
a was probably in the IRC logs you didn't want to share
No, I didn't share those logs – AlienCC did that for me in support of why you were banned from IRC. In evading that ban using proxies, you are continuing to disregard the wishes of another channel operator aside from me who was trying to keep you out.

Arcane Wizard wrote:
or I'm just mistaking over that exact word. Whatever.
The line from the logs was, "When person B gets mad, and person A taunts person B further because it's fun to make people angry, person A is being an a."

An a is, by definition (source):
    3. a stupid, foolish, or stubborn person.
I'm 100% positive that you were being foolish and stubborn.

a has a different meaning entirely.

Arcane Wizard wrote:
Don't mistake any reaction to your own hypocricy in not following your own advice for lack of will to cooperate with the staff members that do not reason solely based on the premise of the other guy being wrong.
I'm done arguing with you about how right or wrong you are. You've chosen a mindset where it's impossible for you to be convinced of anything, so I won't even bother. But you just think back to a chat you had with AlienCC about this. In fact, read it. You have shown since then and today that you have no will whatsoever to cooperate.

Arcane Wizard wrote:
School politics hold no real grounds, regardless of the consequences. ...
Once again, instead of accepting the simple premise of a statement, you analyze it to the point of absurdity. No one will marvel at that.

Arcane Wizard wrote:
If I am to be banned for responding to a really poor argument with the word "fanbois" then so be it, but that doesn't mean the system is right. And what a great demonstration of that system it would be.
You are blind, Arcane – your ban would be an indication of how well the system works. As you evidently aren't very fond of United-TI anymore, I can only hope that someone else will send you on your way. Of course, as you appear to think that this is on a personal level between us (oh, how wrong you are), it wouldn't make any sense for me to be the one to ban you, would it?

Last edited by Guest on 24 May 2007 04:34:57 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 04:44:39 pm    Post subject:

Weregoose wrote:
Arcane Wizard wrote:
Oh yes, I'm sorry, you only called me a a.
I only linked you to an article entitled Don't be a a.
So should I read it or not?

Quote:
Arcane Wizard wrote:
a was probably in the IRC logs you didn't want to share
No, I didn't share those logs – AlienCC did that for me in support of why you were banned from IRC.
I never recieved any logs.

Quote:
In evading that ban using proxies, you are continuing to disregard the wishes of another channel operator aside from me who was trying to keep you out.
Who? Why does nobody bother to tell my this?

Quote:
Arcane Wizard wrote:
or I'm just mistaking over that exact word. Whatever.
The line from the logs was, "When person B gets mad, and person A taunts person B further because it's fun to make people angry, person A is being an a."

An a is, by definition (source):
    3. a stupid, foolish, or stubborn person.
I'm 100% positive that you were being foolish and stubborn.
Ah yes you only called me an a. I must've gotten confused over all those morally empowering words like a and a that you used. Sorry, I'll follow your example. No, wait, saying things like that is actually what you're making such a big deal of. Now I'm confused, do you have a list of words I can say or is the distinction simply who says it?

Last edited by Guest on 24 May 2007 04:45:04 pm; edited 1 time in total
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 May 2007 04:45:17 pm    Post subject:

Quote:
Arcane Wizard wrote:
Don't mistake any reaction to your own hypocricy in not following your own advice for lack of will to cooperate with the staff members that do not reason solely based on the premise of the other guy being wrong.
I'm done arguing with you about how right or wrong you are. You've chosen a mindset where it's impossible for you to be convinced of anything, so I won't even bother. But you just think back to a chat you had with AlienCC about this. In fact, read it. You have shown since then and today that you have no will whatsoever to cooperate.
You've convinced me that the same mindset applies to you, but you're the one here with ban 'powers', not me.

Quote:
Arcane Wizard wrote:
School politics hold no real grounds, regardless of the consequences. ...
Once again, instead of accepting the simple premise of a statement, you analyze it to the point of absurdity. No one will marvel at that.
Is this an example of accepting a simple premise?

Quote:
Arcane Wizard wrote:
If I am to be banned for responding to a really poor argument with the word "fanbois" then so be it, but that doesn't mean the system is right. And what a great demonstration of that system it would be.
You are blind, Arcane – your ban would be an indication of how well the system works. As you evidently aren't very fond of United-TI anymore, I can only hope that someone else will send you on your way. Of course, as you appear to think that this is on a personal level between us (oh, how wrong you are), it wouldn't make any sense for me to be the one to ban you, would it?[post="105317"]<{POST_SNAPBACK}>[/post]
Who told you I don't like United-TI? I thought it was just you who didn't like me or me who didn't like you. I don't see how it matters who pushes the button, the United-TI staff is ment to stand by eachother simply for the sake of solidarity. Trust me, I know, I've recieved the same report when I was trolling years ago. I haven't changed, the only thing that has is you gained 'powers' and I removed mine. Well ok I did change, you must agree I use much nicer words now.


edit: blabla 10 quote limit


Last edited by Guest on 24 May 2007 04:48:27 pm; edited 1 time in total
Back to top
spandiv
-- Retired --


Active Member


Joined: 25 May 2003
Posts: 650

Posted: 24 May 2007 04:54:13 pm    Post subject:

Arcane Wizard wrote:
If I am to be banned for responding to a really poor argument with the word "fanbois" then so be it, but that doesn't mean the system is right. And what a great demonstration of that system it would be.
I think if somebody is going to be banned, it should be the decision of the community and not the admins. After all, this website is United-TI, so it would only seem fair to let the community have the decision. My litmus test for banning is if the person doesn't contribute to the community in any real positive way. Arcane at one point was an admin for United-TI (and he did a pretty good job at it), and he has contributed lots of useful information to the forums (just look over his previous topics in the TI-Basic forum), so I don't think he deserves to be banned.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page 1, 2  Next
» View previous topic :: View next topic  
Page 1 of 2 » All times are GMT - 5 Hours

 

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.045998 seconds.