topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 17, 2025, 9:57 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 350 351 352 353 354 [355] 356 357 358 359 360 ... 404next
8851
General Software Discussion / Re: Why the aversion to .NET Frameworks?
« Last post by wraith808 on November 19, 2010, 01:14 PM »
For the cases where MI would be sane in C++, you use interfaces (and possibly composition) in modern languages.

Well, then I must be insane  :Thmbsup:, I am using it a lot and it has saved me a hundreds of lines of code. The multiple-inheritance workarounds cause code duplication or bloat.

Not if utilized correctly.  That's the difference, I think.  It is a different mindset to a certain extent, because you have to think differently to get your work done.  Your design has to be different.  But, after doing it that way, it makes much more sense IMO.  And is definitely a lot more readable and maintainable.  And in the end, especially if you're working on something that someone else created, that's what makes the difference.
8852
Developer's Corner / .NET/VS 2008 Debugger question
« Last post by wraith808 on November 19, 2010, 12:33 PM »
An interesting question about the veracity of information seen in the debugger.

Given this snippet of code

Code: C# [Select]
  1. // Get first key //
  2.             int? keyEDISecurity = this.WorkQueue.GetNextWorkItem();
  3.  
  4.             // Done? //
  5.             while (keyEDISecurity != null)
  6.             {
  7.                 try
  8.                 {
  9.  
  10.                     ...
  11.  
  12.                     // Write changes //
  13. -->                List<ISNLEditableObject> changedRows = this.WorkQueue.GetChangedRows((int)keyEDISecurity);
  14.                     this.Writer.Write(changedRows, WriteFlags.Transactional);
  15.  
  16.                     ...
  17.                 }
  18.                 catch (Exception ex)
  19.                 {
  20.                     string errorMessage = "There was an exception processing KeyEDISecurity " + keyEDISecurity.ToString() +
  21.                         " - " + ex.Message;
  22.  
  23.                     // output error info //
  24.                     Console.WriteLine(errorMessage);
  25.                     EDI.WriteLog(errorMessage);
  26.                 }
  27.                 finally
  28.                 {
  29.                     // Remove all data for the KeyEDISecurity from work queue cache //
  30.                     this.WorkQueue.RemoveData((int)keyEDISecurity);
  31.                 }
  32.  
  33.                 // Get next work item //
  34.                 keyEDISecurity = this.WorkQueue.GetNextWorkItem();
  35.             }

Before the line with the -->, the changedRows is null, as it should be.  It then goes out of scope, as you get the next work item.  You then come back in, and before the line with the --> if you access changedRows, it should be again null, as it hasn't be declared.

If you break and edit, then, as you expect, you can't access changedRows, because it's gone out of scope, and not been declared yet.  If you evaluate it (either by mouseover or using the immediate window), you have access to the changedRows from the previous iteration of the loop.  WTH?

Anyone seen this?  It doesn't affect the program as it seems to act correctly in code, but the debugger issue caused a waste of time since it wasn't behaving as expected.

Thoughts?
8853
General Software Discussion / Re: Why the aversion to .NET Frameworks?
« Last post by wraith808 on November 18, 2010, 09:17 PM »
The hostility towards VB is... probably because the entry barrier is so low. Too many people who shouldn't be programming

There's more to it than that. If that were it, there would be just as much or even more disgust for PHP. It's part of it, but there's more to it than just that. The barrier for PHP is even lower.

The hostility towards VB.NET is the legacy of VB.  I'm having to do some work in VB6 right now.  And it's positively painful.  Especially when you start adding in COM and such.
8854
Unfinished Requests / Re: One word, three dictionaries
« Last post by wraith808 on November 18, 2010, 09:14 PM »
If you wanted to search specific dictionaries then you may be able to cobble something together with a macro to open new tab, then use site:merriam-webster.com word or site:thefreedictionary.com sesquipedalian

The dictionaries I am talking about are software ones, not on-line.

Oh... I misunderstood too.  I was allowing to use the websites; I didn't realize they were software based.
8855
General Software Discussion / Re: Why the aversion to .NET Frameworks?
« Last post by wraith808 on November 18, 2010, 10:54 AM »
Using .net properly is harder than using C++.
I suppose you need to define properly.


* It misuses the C name. How does Ms sell the new VB? It renames it.
Oh, that's flamebait if I ever saw it. Using C in the name is, imho, entirely appropriate - it's a C-based language after all, calling it a VB is really lame.
Agreed 100%.  Comparing C# to VB is like...  I can't even find a good approximation, because they're just not the same at all.  Syntactically it's quite close to C++, and structurally, you couldn't really objectively compare it to VB.

Flamebait +1.
8856
Unfinished Requests / Re: One word, three dictionaries
« Last post by wraith808 on November 18, 2010, 10:49 AM »
How about the same word defined from the different sources appearing in one interface instead?

would that be possible wraith, were you thinking of have a go? or making a suggestion
or is there software out there that already does this well?

I have something, but I haven't had a chance to put the finishing touches on it.  My original was to use multiple browsers, but the only thing I could use for that was IE; the firefox embeddable was not quite ready for primetime.  My second approach was to automate the browser, but I just didn't like that.  So what I settled on was using regex to specify where the search term appeared in the page, and looking for that in the returned html.  It's not exact yet; I need to refine the Regex, but I'm also putting that into a config file so that you can tweak them (and create new ones).  I'll try to get to that this weekend; I wish you had posted this last week, b/c I had forgotten about it and had a lot of time on my hands with the family out of town.  But I'll at least try to get the preliminary posted this weekend if nothing else.
8857
Living Room / Re: Is "Quick Format" safe?
« Last post by wraith808 on November 15, 2010, 04:05 PM »
I use quick format anytime that I'm formatting a drive for myself that I have been using previously and having no problems with.  And I've never had a problem with it, personally.  /me shrugs
8858
Living Room / Re: coolest ipad app
« Last post by wraith808 on November 14, 2010, 10:38 AM »
Man... Fruity Loops... ROCKS~! LOVE that stuff!

Just wish I had time for it... Sigh...

Oh yeah... Fruity Loops *does* rock... I *love* that app!
8859
Living Room / Re: coolest ipad app
« Last post by wraith808 on November 14, 2010, 10:36 AM »
found it -
I'm not a musician but if I were I think I'd be wanting this one

(see attachment in previous post)
http://www.rebirthapp.com/

I don't have an iPad yet, but man... Gotta give this a +10!

Propellerhead is simply amazing. Reason is mind-blowingly amazing.

I used to use a Reason demo tune as my wakeup music in MusicMatch Jukebox. It was just wicked cool.

I think anyone will have a hard time finding some cooler software than ReBirth for the iPad.

Yeah... I'd never heard of Rebirth.  I looked at it after I posted my links, and I must say, they pale in comparison.   :greenclp:  And for $14.99... purchased!
8860
Living Room / Re: coolest ipad app
« Last post by wraith808 on November 12, 2010, 12:54 PM »
If you like that one...

ipad-mixr-turntables.png
ipad-mixr-fx.png

http://ipadmixr.com/
8861
Living Room / Re: Holiday Chains and Debt Chains... not what you might think?
« Last post by wraith808 on November 12, 2010, 11:47 AM »
That's pretty cool!  Thanks for the idea!
8862
Living Room / Re: coolest ipad app
« Last post by wraith808 on November 12, 2010, 11:42 AM »
All of the apps I have and use regularly

Accessories
- Awaken
- 1Password
- Desktop
- Dictionary
- Wikipanion

Productivity
- QuickOffice
- GoodReader
- Notarize
- Penultimate
- Evernote
- Index Card
- My Writing Nook
- Dropbox
- Jungle Disk
- Wordpress
- YNAB (It's an iPhone app, but it's great so I put up with it...)
- iMockups

Internet/News
- XMarks
- Read It Later
- TweetDeck
- Reeder
- iCabMobile
- NPR News
- BBC News

Media
- Netflix
- OnSong
- Adobe Ideas
- Pandora
- VLC

Shopping
- AppShopper
- eBay
- Amazon Windowshop

eBooks
- Comics
- Stanza
- eReader
- BibleReader
- nook

Games
- NS Hex
- Samurai
- Carcassone
- Kingdoms
- Money
- High Society
- BoardBox
- Build-A-Lot 2

Gaming Tools
- Armory (iPhone App)
- WOWTalent
- DMToolkit

Of these, I use DMToolKit, DropBox, GoodReader, nook, Comics, iCabMobile, Reeder, Read It Later, Evernote, Windowshop, eBay, Index Card, OnSong, Netflix, eReader, Stanza, and NPR the most.  I rarely play games on it- playing mostly on my iPhone it seems, though the board games play really well on the iPad when you're playing against someone.  By using DMToolKit, DropBox, GoodReader, Evernote, Index Card, iCabMobile, and Desktop, I rarely use my books at my D&D games.  I use the iPad and my tablet in conjunction to take the place of a back breaking number of books and binders and notebooks.  And it all fits behind the screen.
8863
Living Room / Re: Violence in Video Games & the Law
« Last post by wraith808 on November 10, 2010, 11:45 AM »
Instead, foment cooperation instead of competition. All games and school are about competition instead of cooperation. Heck the whole system is about competition.

I, for one, am very intrigued by how you would suggest you/we/they "foment cooperation?" 

You can reward success without the intense competition that it creates if you stop punishing those who perform, but just aren't in first.

An example.  I work for a company that pays a base salary, and a bonus depending on performance every six months.  You work on a team, and the final goal is to get the tasks through the system, and make quality software... but the scale that they judge you on is a bell curve.  It's a scale from 1-4, and among all of your peers (meaning everyone with the same title as you), there has to be a certain number of 1s, 2s, 3s, and 4s.  It's based on your performance but relative to the others.  And you can't always make a relative choice.  So in a collaborative environment, you compete against others, while trying to help each other reach the goal.  That's pretty counter-intuitive.  If the scale was based purely on your performance, that would be something different, but the fact that for me to succeed, someone else has to fail makes it more competitive than cooperative.
8864
Living Room / Bad News for Heroscape Fans
« Last post by wraith808 on November 08, 2010, 10:11 AM »
http://boardgamenews...le-cry-wizards-coast

Wizards of the Coast, which took responsibility for the Heroscape game line from Hasbro subsidiary Milton Bradley a couple of years ago, has now announced that it's shutting down the line. Here's the text of the official WotC announcement:

After a thorough evaluation, we have made the decision to discontinue our Heroscape line in order to focus our efforts on our core brands. While this decision means that we will no longer be developing new content for the game, existing Heroscape products will still remain available from Wizards of the Coast and sold in the hobby game channel while supplies last.

The next and final Heroscape expansion, Moltenclaw’s Invasion, will be released on November 16, 2010. This final assortment, which is playable with the Heroscape D&D Master Set, will include the best and most iconic creatures from the worlds of Dungeons & Dragons. Orcs, bugbears, dragons and frost giants will all come together to join the greatest battle of all time.

The WotC website has a FAQ related to the announcement, but you won't learn much more by visiting the page.

On the positive side, WotC subsidiary Avalon Hill now has a game page for Richard Borg's Battle Cry, with a release date of November 23, 2010.

On another note, I didn't know that Avalon Hill was a subsidiary of WotC... I knew Hasbro had bought them, but I didn't know that they had put them under Wizards management...
8865
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on November 04, 2010, 07:25 PM »
^ We can agree on that!  ;)
8866
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on November 04, 2010, 01:19 PM »
I guess my point is that you *can* do it that way.  Then when you're ready to move up, you stay in the same language/environment.  My first C# program:

Code: C# [Select]
  1. [assembly: System.Reflection.AssemblyVersion("1.0")]
  2. namespace HelloWorldNamespace
  3. {
  4.   public class HelloWorldForm: System.Windows.Forms.Form
  5.   {
  6.     public HelloWorldForm()
  7.     {
  8.       this.Text = "Hello World!";
  9.     }
  10.     [System.STAThread]
  11.     public static void Main()
  12.     {
  13.       System.Windows.Forms.Application.EnableVisualStyles();
  14.       System.Windows.Forms.Application.Run(new HelloWorldForm());
  15.     }
  16.   }
  17. }

Compiled from the VS2005 command line with
csc HelloWorld.cs /reference:System.dll /reference:System.Windows.Forms.dll

A little more work than other options, but the long term payoff is worth it, at least IMO.  And you could do the same using console options, and not have to worry about any of the things that you talk about.

But in the end, it really depends on what you want to do with the skills that you learn, IMO.  That should dictate where you start.
8867
General Software Discussion / Re: EditPad Pro 7-BETA
« Last post by wraith808 on November 04, 2010, 12:44 PM »
There's always the trial.  What makes it a no-brainer for you or not is for you to decide.
8868
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on November 04, 2010, 12:40 PM »
Anders Hejlsberg was senior architect on Delphi (language) and was the same on C#(language).  It wasn't really the RAD/drag and drop stuff... it was more the language constructs and the low level .NET architecture.  Drag and Drop isn't really anything to learn, IMO.  You just do it.  There might be intricacies in UI design, but other than that, there shouldn't be a significant learning curve.  The language idiosyncrasies are the issue (not even the language itself if you already know how to program at all, truthfully).
8869
General Software Discussion / Re: EditPad Pro 7-BETA
« Last post by wraith808 on November 04, 2010, 12:26 PM »
I saw it and actually thought about if I should buy it.
But e looks not mighty enough to be worth the price...

Out of the box, I'd agree.  Where it comes into its own is its extensibility, and the ability to use textmate bundles.  You can pretty much make it into whatever you want.  Add to that the command line capabilities of the new version, and it was pretty much a no-brainer for me (of course, I got upgrade pricing, so that helped).
8870
General Software Discussion / Re: EditPad Pro 7-BETA
« Last post by wraith808 on November 04, 2010, 11:37 AM »
One that was just announced on here for a DC special that I use a lot is e.  It's definitely not your standard text editor, but once you get into using it, you really see the power of it.
8871
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on November 04, 2010, 11:18 AM »
+1 for C# Essentials.  I also agree with what mouser said; when I first started in C#, I was coming from several years of Delphi, so my essential book that brought me up to speed very fast was .NET for Delphi Developers.  I don't see why they don't write more books like that for other languages, but I was very happy for that book.
8872
Unfinished Requests / Re: One word, three dictionaries
« Last post by wraith808 on November 03, 2010, 03:43 PM »
How about the same word defined from the different sources appearing in one interface instead?
8873
Living Room / Re: Google sues the U.S. government
« Last post by wraith808 on November 03, 2010, 03:40 PM »
Actually this is a bidding procedure issue. The department bought Microsoft licenses without giving anyone else a chance to bid on the software. For me, government shouldn't be paying any corporation -- Google included -- for proprietary software. It's a waste of taxpayer money in this age.

No, it looks like they gave opportunities for bids- they just wanted it to fit with their current MS infrastructure, which I think is a valid point.
8874
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on November 01, 2010, 09:33 AM »
Just a warning -- from what i've seen of people's experiences, it's seems really hard for people to slowly and gradually learn to program over a long period of occasional dabbling.. I suspect it's like learning a spoken language, in that if you don't immerse yourself, the concepts don't stick.



Very good advice here. +1
8875
Living Room / Re: I'm thinking about learning how to program.
« Last post by wraith808 on October 31, 2010, 08:50 AM »
I have fought with this since VS 2005.  Basically my problem with it is that the IDE is almost more complicated than the code.  I know it is just because I don't know how to use it, but I really need a "how to use Visual Studio" course.  Unfortunately everything is how to program C# or VB.  I don't care about how to program yet another video player.  I need to know how to accomplish certain tasks within the IDE.  I used TextPad for Java and that was just about right as far as complexity, but as Renegade pointed out, it is horrendous if you have to program a UI.  We used NetBeans for that, but even that was clunky at best.  I have had a project in mind for probably 5 years or more now, and even have the "engine" written in Java (It would be a simple task to change it to C# instead).  It is the UI and display that I really need to work with, but just can't find the starting point.

Use the standard VS layout.  Get rid of most of the windows, other than the output window, error window, solution window, toolbox window, and properties window.  Dock them where ever you wish.  Profit. 

That's my point... there isn't much you *need* to use.  The basic layout has a couple more windows than I said (find and one more, I think), but they aren't necessary to program.  I came from Delphi 6/7 to VS 2005, and was up and running in no time... it's just a matter of focus, IMO.  You can get distracted by all the bells and whistles, but there's still stuff that I'm learning after being in it for 5 years or so.  I just pick it up as needed/wanted.
Pages: prev1 ... 350 351 352 353 354 [355] 356 357 358 359 360 ... 404next