Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 65 66 [67] 68 69 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 903530 times)

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #990 on: January 27, 2012, 05:04:20 pm »

Have you tried mono?
It can't do everything, but sometimes you don't need it to.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #991 on: January 27, 2012, 05:06:53 pm »

Yes, I have. It almost always ends in dissapointment.

See, the thing is, if you write a c++ app, and then compile it for windows? I can run it on linux, no issues, 95% of the time.

I have never, despite all my attempts, gotten an app written in c# to run on linux unless it was specifically compiled for to be mono compatible. (and seriously, no one does that)
Logged

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #992 on: January 27, 2012, 05:08:49 pm »

Odd, I've gotten things to run before. Admittedly this was back in the days of  .NET 2.0.
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #993 on: January 27, 2012, 05:16:49 pm »

Yes, I have. It almost always ends in dissapointment.

Ah, I see. Well unless somebody has made similar tools in c++ you might be on an island here.
But you must have known such things would sometimes come up when you installed linux, surly? You can hardly call it unexpected.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #994 on: January 27, 2012, 05:21:14 pm »

Quote
But you must have known such things would sometimes come up when you installed linux, surly? You can hardly call it unexpected.
But I can certainly argue that people should learn something else instead. :P

And I've tried to work with c# - I honestly don't see what's so popular about the tools for it. Which ones in particular are you talking about?
« Last Edit: January 27, 2012, 05:22:59 pm by GlyphGryph »
Logged

Max White

  • Bay Watcher
  • Still not hollowed!
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #995 on: January 27, 2012, 05:23:37 pm »

Well it has the best intelesence I have ever seen, pretty good drag and drop tools, great refactoring tools...

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #996 on: January 27, 2012, 05:24:20 pm »

Well, for one thing: Visual Studio as an IDE is equaled and bettered by no IDE except eclipse in many areas, and it betters eclipse in a few.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #997 on: January 27, 2012, 05:25:02 pm »

Speaking of IDE's, at my current job which I will hopefully be leaving soon, we work in Java, and about 80% uses IntelliJ Idea (http://www.jetbrains.com/idea/) as their IDE. It's a bit of a war between the Eclipse and IntelliJ guys, but the latter has won.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #998 on: January 27, 2012, 05:29:11 pm »

Eclipses intellisense for C++ confuses me. It's mostly on-par with, if not superior to, Visual Studios and it even supports variadic templates (so far being the only IDE I've found which does), but not nullptr or constexpr? I have to maintain a "coding" build that has these as preprocessor defines and then just not compile that build.
Logged

Mego

  • Bay Watcher
  • [PREFSTRING:MADNESS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #999 on: January 27, 2012, 07:14:50 pm »

Eclipses intellisense for C++ confuses me. It's mostly on-par with, if not superior to, Visual Studios and it even supports variadic templates (so far being the only IDE I've found which does), but not nullptr or constexpr? I have to maintain a "coding" build that has these as preprocessor defines and then just not compile that build.

GCC supports variadic templates, nullptr, and constexpr. It's just a compiler/assembler/linker suite, so you'll need to grab a separate IDE. I use Geany (for small projects) and Code::Blocks (for larger projects).

I don't remember if anything earlier than GCC 4.7.4 supports variadic templates, though. If not, I can toss you a binary for 4.7.4, since official binaries haven't been released yet.

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #1000 on: January 27, 2012, 07:20:35 pm »

GCC supports variadic templates, nullptr, and constexpr. It's just a compiler/assembler/linker suite, so you'll need to grab a separate IDE. I use Geany (for small projects) and Code::Blocks (for larger projects).

I don't remember if anything earlier than GCC 4.7.4 supports variadic templates, though. If not, I can toss you a binary for 4.7.4, since official binaries haven't been released yet.

I am aware of this. Personally I use nuwen's build of GCC 4.6.1. GCC has had variadic templates since around 4.4 I think. The thing that confuses me is how the autocomplete for eclipse supports the complex variadic templates and lamdas very well, but you still have to hack your away around something as relatively trivial as nullptr xD

Just looking at the added feature list for 4.7. Delegating constructors and template aliases? Awww yeah :D
« Last Edit: January 27, 2012, 07:45:13 pm by MorleyDev »
Logged

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #1001 on: January 27, 2012, 09:55:48 pm »

Request for fellow developer input:

I have an online dice roller that I am fixing/updating.
It actually gets some amount of use, a few rolls a day.
But not nearly as much as the first version did, a few hundred, occasionally thousand a day.

The one thing I downgraded was that i am no longer allowing anonymous comments because someone was feeding it viagra/porn ads and a few things that were VERY much illegal.

However, almost no one signs up for an account to post comments or use other features.
This current round of updates can use recaptcha to enter comments when you make an anonymous roll.

*Should I just display it? It might people think that recaptcha is needed to make a roll, it is just for the comment, and people are bad at following directions.
*Wait until someone goes to enter a comment and then javascript it into place? This somewhat violates my principal of minimalism by offering reduced functionality to javascript disabled users (does recaptcha even work without javascript?).
*Offer an option on the preference page to hide/show the comments/recaptcha section for anonymous users?
*Something else?

Meh. Dunno.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Mego

  • Bay Watcher
  • [PREFSTRING:MADNESS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1002 on: January 27, 2012, 10:04:53 pm »

I'd go for Option 2. It makes the most sense to me, and is in line with what most sites do for anonymous comments.

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #1003 on: January 28, 2012, 12:38:30 am »

Fuck IE. Every other browser bumps my page footer down when I un display:none the recaptcha box.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #1004 on: January 28, 2012, 07:32:39 am »

Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))
Pages: 1 ... 65 66 [67] 68 69 ... 796