Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Programming

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 04-01-2012, 12:05 PM   #61
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 39,784
Re: Software Hall of Shame - Your picks

Quote:
Originally Posted by wull View Post
I can make it as wide as I want. I'm sure it's possible on your system as well.

Right click on the title bar go to Layout and increase "Screen Buffer Size's" width-value. Then you should be able to increase the width with the mouse as expected.
Alternatively you can just increase the window size in the same tab(Layout).
Just re-read what you posted...it sums up why cmd sucks pretty nicely. The copy+paste is also irritating imo, can't program it either...it just feels like working in a straightjacket.
clowntable is offline   Reply With Quote
Old 04-01-2012, 01:08 PM   #62
Pooh-Bah
 
Join Date: Jul 2005
Posts: 4,001
Re: Software Hall of Shame - Your picks

msysgit comes with a bash shell that runs on top of cmd.exe. It still has some of the annoyances of cmd.exe (resizing, copy/paste etc) but gives you a decent bash shell, including standard tools like grep, find, awk, proper tab completion etc. It is a huge improvement and pretty nice to work with.
Neko is offline   Reply With Quote
Old 04-01-2012, 02:55 PM   #63
rt1
adept
 
Join Date: Jun 2004
Location: just one rt
Posts: 1,099
Re: Software Hall of Shame - Your picks

i'd like to jump on the xcode bashing. worst part of my day is when i have to open xcode to build an ios app.

also, given enough time all software sucks
rt1 is offline   Reply With Quote
Old 04-01-2012, 07:13 PM   #64
grinder
 
sng_jason's Avatar
 
Join Date: Jul 2011
Posts: 427
Re: Software Hall of Shame - Your picks

Quote:
Originally Posted by myNameIsInga View Post
...
Sorry for derail and for sounding like a .Net shill, but I often get the sense that much of the critisism of .Net has more to do with hating Microsoft than it has to do with the quality of .Net.
Quote:
Originally Posted by wull View Post
C++ has its place that was not my point.
I was replying to someone who said .NET performs awfully. Now what does the fact that a straightforward porting of code comes with almost no performance gain tell you?
You guys are right... I did take what what was said out of context a bit. I've been in a lot of C++ vs C# discussions over the years and when I hear a claim that "C# can be just as fast as C++, or even faster" (which I've heard a lot), I tend to bristle... but indeed, thats not what you guys were saying.

I do agree... just using C++, by itself, doesnt really get you anything over C#/.net.



Quote:
Originally Posted by wull
Great avatar, btw!
Heh.. thanks. Thats what my eyes do when someone tells me they want to use C# in a game engine.
sng_jason is offline   Reply With Quote
Old 04-01-2012, 09:06 PM   #65
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 732
Re: Software Hall of Shame - Your picks

Quote:
Originally Posted by sng_jason View Post
You guys are right... I did take what what was said out of context a bit. I've been in a lot of C++ vs C# discussions over the years and when I hear a claim that "C# can be just as fast as C++, or even faster" (which I've heard a lot), I tend to bristle... but indeed, thats not what you guys were saying.

I do agree... just using C++, by itself, doesnt really get you anything over C#/.net.





Heh.. thanks. Thats what my eyes do when someone tells me they want to use C# in a game engine.
This little discussion of ours got me curious about optimizations in C++. Found some interesting pdf's on the subject at www.agner.org. Just out of curiousity, do you use microsofts compiler or gcc?
myNameIsInga is offline   Reply With Quote
Old 04-01-2012, 09:23 PM   #66
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 732
Re: Software Hall of Shame - Your picks

On topic - I name Unity, the new Ubuntu ****. It turned a beautiful thing in to a steaming pile smelly stuff
myNameIsInga is offline   Reply With Quote
Old 04-01-2012, 09:52 PM   #67
grinder
 
sng_jason's Avatar
 
Join Date: Jul 2011
Posts: 427
Re: Software Hall of Shame - Your picks

Quote:
Originally Posted by myNameIsInga View Post
This little discussion of ours got me curious about optimizations in C++. Found some interesting pdf's on the subject at www.agner.org. Just out of curiousity, do you use microsofts compiler or gcc?
Wow, theres a lot of stuff in those pdfs... looks pretty good (after a quick skim)... and seems compatible with my own worldview : understand the architecture, you cant trust the compiler, and you have to measure!

I use the Intel C++ compiler, actually... it has constantly generated better output than Microsoft or gcc for a long time now. But that said, I recently gave the Visual Studio 11 beta a try and it looks like MS may have closed the gap.
sng_jason is offline   Reply With Quote
Old 04-01-2012, 09:56 PM   #68
Pooh-Bah
 
Join Date: Jul 2005
Posts: 4,001
Re: Software Hall of Shame - Your picks

The Intel compiler are really good in my experience (Fortran only). We had some fairly heavy numerical simulation code (typical simulations generally taking a day or two) that got a 15-20% boost from using the Intel compiler compared to g77.
Neko is offline   Reply With Quote
Old 04-02-2012, 12:16 AM   #69
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Posts: 10,213
Re: Software Hall of Shame - Your picks

+1 for the Intel compiler and I've found similar 15-20% boosts with the C++ compiler for a lot of stuff.

Not sure if it's true now, but at one time (~VS2005 IIRC) the Intel compiler's standard libraries were much better for multi-threaded stuff over multiple cores (ie: VS didn't seem to be using any sort of lock free code and you got massive contention if you had multiple threads allocating memory or making frequent standard library calls). I doubt that's the case now though as multi-core CPUs are much more prevalent than back then, but it's the reason I first tried the Intel compiler.

Juk
jukofyork is offline   Reply With Quote
Old 04-02-2012, 06:09 AM   #70
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 732
Re: Software Hall of Shame - Your picks

The Intel compiler is costly though, isn't it?
myNameIsInga is offline   Reply With Quote
Old 04-02-2012, 06:17 AM   #71
Pooh-Bah
 
Join Date: Jul 2005
Posts: 4,001
Re: Software Hall of Shame - Your picks

Yeah it is. I remember it being ~$1k per license I think.
Neko is offline   Reply With Quote
Old 04-02-2012, 10:41 AM   #72
grinder
 
sng_jason's Avatar
 
Join Date: Jul 2011
Posts: 427
Re: Software Hall of Shame - Your picks

If you just want the C++ compiler, its $400 http://software.intel.com/en-us/articles/buy-or-renew/
sng_jason is offline   Reply With Quote
Old 04-02-2012, 12:08 PM   #73
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 732
Re: Software Hall of Shame - Your picks

Seems Im the only one who dislikes Unity, would have thought that was the kind of thing that people either love or hate...
myNameIsInga is offline   Reply With Quote
Old 04-02-2012, 12:10 PM   #74
adept
 
Join Date: Apr 2010
Location: Deep end of the player pool
Posts: 732
Re: Software Hall of Shame - Your picks

Jason, do you know of any other good resources for learning more about optimizing C++?
myNameIsInga is offline   Reply With Quote
Old 04-02-2012, 01:28 PM   #75
journeyman
 
wull's Avatar
 
Join Date: Jul 2007
Posts: 223
Re: Software Hall of Shame - Your picks

Quote:
Originally Posted by clowntable View Post
Just re-read what you posted...it sums up why cmd sucks pretty nicely. The copy+paste is also irritating imo, can't program it either...it just feels like working in a straightjacket.
I agree, I just wanted to mention how you can make it wider.
I personally think the Windows command line is terrible and I use cygwin for ages now.

Since we are at it how do you sleep in a batch file on Windows XP?

Spoiler:
wull is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 03:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive