topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 11, 2025, 3:15 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 ... 20 21 22 23 24 [25] 26 27 28 29 30 ... 40next
601
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 22, 2008, 03:54 PM »
though I would definitely recommend C# over VB

As would I. Older VB has problems with consistency -- retrofitting the idea of "default property" made things complicated. And the fact that the "&" operator can change meaning depending whether there are spaces around it or not is just evil. But that's fixed in VB.Net.

However, once we get to the .Net 1.1 platform, C# and VB are almost equivalent. I'm pretty sure that you could port from one to the other just using some clever regular expression substitutions. So there's no reason you can't get on board with C# as easily as with VB.Net.

But moving on from there (.Net2 and forward), C# has really grown as a language, and VB not so much. So if you take the C# branch, you'll find that the language is better able to progress with your abilities and demands.
602
Living Room / Re: Things your kids will never know - old school tech!
« Last post by CWuestefeld on October 22, 2008, 10:12 AM »
5. APL -  "The Last Computer Language" (yeah right! Sorry IBM ;D)

OK - since this is DonationCoder, how about ridiculously obsolete computer languages that you spent time learning but will never use again? For me:

  • Assemblers: Z80, 6502, IBM 370, PDP-11
  • APL (here and here)
  • SNOBOL
  • TIF (not graphics but a DB platform for IBM mainframes, kinda analogous to Access. I can't even find a web page for it)
  • FORTRAN
  • Rexx - scripting language for IBM mainframes and OS/2. Pretty cool, actually, anticipating some of the features of today's dynamic languages. Here, here, and here. Internally, IBM had a visual tool for building client-server apps in Rexx, internally called "Red October" iirc, that could have been a VB-killer, but they never released it -- letting it die just like OS/2
603
Living Room / Re: Things your kids will never know - old school tech!
« Last post by CWuestefeld on October 21, 2008, 04:05 PM »
BTW I think that there may soon come a time when the whole concept of the internal combustion engine and the use of gasoline as a fuel for anything might be foreign to "yoots".

My uncle has a country place, that no one knows about
He says it used to be a farm, before the motor law
...
Down in his barn
My uncle preserved for me, an old machine ---
For fifty-odd years
To keep it as new has been his dearest dream

I strip away the old debris, that hides a shining car
A brilliant red barchetta, from a better, vanished time
I fire up the willing engine, responding with a roar
Tires spitting gravel, I commit my weekly crime...
-Rush
604
Living Room / Re: Things your kids will never know - old school tech!
« Last post by CWuestefeld on October 21, 2008, 01:47 PM »
Funny how our perception of "normal" changes, so for many things (as with your "leaded gasoline"), the thing that was the default now needs a special label (it used to be just "gasoline", and what we're using today had the special label "unleaded").

What else is like this?
  • "Dial" telephone
  • "B&W" TV
  • "Organic" food
605
Living Room / Re: Things your kids will never know - old school tech!
« Last post by CWuestefeld on October 21, 2008, 10:59 AM »
How about:
  • Arguing about who would get up to change the channel or turn up the volume
  • Being able to tell someone your phone number in only 7 digits (and sometimes even fewer!)
  • Wind in your hair as you ride your bike without a helmet
  • Why those little things in a form are called radio buttons

Yikes, when I had my first typing class in 1965 - we had to practice on an old manual Royal typewriter!
Same for me, in 1980. I remember having to exercise my pinky fingers -- they weren't strong enough to get a real "hit" on QAZ etc.
606
Developer's Corner / Re: Lets talk about GUIs.
« Last post by CWuestefeld on October 20, 2008, 03:21 PM »
If you're just starting out, DO NOT attempt the Win32 API unless you have medical experts standing by.

For a first experience, I think you'' do best with a platform including tool offering a visual form designer. That way you can let it do much of the boring minutiae while you get a handle (so to speak ;)) on the paradigm.

I would recommend one of the .Net languages with their WinForms API. The various Express packages (VB, C#) contain all the tools you need for free. The bonus here is that unlike many other form designers, they don't persist the definitions into resource files or their ilk. Instead, they actually generate code that directly implements your visual design. You can either ignore this for the time being while jumping into the event-driven programming model, or you can poke into it and examine the code it generates to see some real life examples.
607
Developer's Corner / Re: Best Language For Binary Parsing?
« Last post by CWuestefeld on October 20, 2008, 08:04 AM »
A bit of a turnaround, as my day-to-day work is in C# (and T-SQL), and I'm just learning python, but I would have looked toward python in preference to C#.

I fail to see what python's dynamic typing has to do with it. The duck typing of python means that the types influence more strongly what you can do with an object than a real reflection of what it "is". And the fact that something's potentially recognizable doesn't affect the fact that it's being read literally, as a string. But that's not really relevant, since you should be dealing with actual strings anyway. From Programming Python 3rd Edition, section 4.2.1.5:
In all cases, data transferred between files and your programs is represented as Python strings within scripts, even if it is binary data. This works because Python string objects can always contain character bytes of any value

In C#, the foreach feature is a big step forward from C/C++. But it's still a long way off from python's generators (although this is less true with LINQ).
608
You can set things up so that the configuration section provider does the decryption for you. See this article.

Obviously, you (as the developer) need to do the initial work to encrypt the data and put it into the .config in the first place.

And, of course, if you've got a farm then each machine will by default have its own machine key for encrypt/decrypt, which would necessitate separately encrypted .config files for each machine, and that's no good. You'll need to set a different key, as described here.
609
General Software Discussion / Re: Reorganizing music library
« Last post by CWuestefeld on October 14, 2008, 09:07 PM »
It looks like I have to sacrifice the Copy-only operation.

Foobar just wasn't able to handle the job. It's got problems reading tags. (It also has problems writing tags, claiming that some files are "Access Denied", despite my verification that they are accessible). I verified in mp3tag that the desired tags are there, but Foobar is just ignoring them.

So I turned to mp3tag, which absolutely handles anything tag-wise, and can do the reorganization. Unfortunately it can only do this as a MOVE operation, so I'm sacrificing my current folder structure and its content to make this work.

And now it sounds like my new hard drive that I'm copying it to is going bad, making shrieking noises. I'm now copying everything back quick!
610
Living Room / Re: My computer is older than YOUR computer!
« Last post by CWuestefeld on October 14, 2008, 07:16 PM »
(Anybody out there got a Lisa or a PDP?)

Believe it or not, I once had a PDP-8. It had belonged to the school's computer music studio, and had just been brought out to the loading dock for the trash. I got a fraternity brother with a pickup to help me retrieve it. But honestly, I couldn't figure out what to do with the darned thing. I wound up trading it to a friend for a VT-100. Certainly that terminal was worth a lot less, but I had a real use for it.

PDP-8:
PDP8.jpg

VT-100:
vt100.gif
611
Living Room / Re: My computer is older than YOUR computer!
« Last post by CWuestefeld on October 14, 2008, 04:03 PM »
I've got an Apple IIe at home, circa 1983. This picture isn't of mine, I swiped it off the web:
AppleIIe_platinum.jpg
I've been trying to transfer files from my PC to this computer via its cassette tape interface, but haven't been successful. So about the only thing it does now is play "Hitchhiker's Guide to the Galaxy".

I really wish I still had my old Atari 800.
612
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 13, 2008, 03:18 PM »
i have decided to learn java and go from there.

Not what I'd do, but that's what makes the world interesting. Java is certainly an acceptable starting point.

I mentioned Design Patterns in between my flaming. This is a means of cataloging and documenting the lessons that others have learned. It saves us from having to reinvent the wheel when we run into a similar problem, and it gives us a better likelihood of success because their downfalls are documented as well.

It's also a little bit like getting ready-made experience in a can: if you know this stuff, it's almost as if you'd solved these problems on your own. They also provide a common vocabulary so that developers can communicate these ideas succinctly: "you might do this by defining an interface and a Factory Method to return the appropriate implementation".

People have developed these in many languages, now. Here's one catalog for them in Java; you can easily find other java sources, as well as for other languages.
613
Living Room / Re: Recommend a keyboard
« Last post by CWuestefeld on October 13, 2008, 03:05 PM »
The Logitech G11 and G15 seem to have become cult favorites. I assume from this that I'd be clear of the crashing problems I've been having. And they seem well-supported. They're also quite pricey.

The DAS Keyboard sure is beautiful, and comments on the web indicate that it's a joy to type on. But it doesn't have any of the multimedia keys.

The two Microsoft ones are the goofy (well, goofy to me) ergonomic design. I don't want to learn to type on that and lose my efficiency on other keyboards elsewhere. Plus, the "MS Natural Multimedia 1.0" is completely disqualified by the evil rearrangement of the "Ins/Del/Home/End/PgUp/PgDn" keys.

The Saitek Eclipse looks intriguing. But it appears to be a head-to-head competitor with the G11, and it appears that the G11 can be found cheaper (at least in my searches), and likely has better support.

By the way, here's the keyboard that's being retired for bad behavior:
BTC8190A.jpg
BTC-8190A - Now discontinued, perhaps for the problems I have.
But notice the scroll wheel that sits right under your thumbs. And just below it, the clipboard keys. I use these all the time.

Anybody else feel like weighing in?
614
Living Room / Recommend a keyboard
« Last post by CWuestefeld on October 13, 2008, 11:20 AM »
For months I've been suffering through frequent blue screens (especially frustrating when burning a DVD!). I've finally isolated the problem to the driver for my BTC multimedia keyboard. So out it goes, and here I am looking for suggestions for a replacement.

Requirements:
  • Firm keys - spongy stuff is no good
  • Full-size keys - I'm a good touch typist, and if the keys aren't the regular size or location I get thrown off. This applies especially to the "Ins/Del/Home/End/PgUp/PgDn" group that manufacturers like to monkey with.
  • Multimedia keys
Extra preferences (these are why I like the BTC in the first place), not required but I'd like them:
  • Scroll wheel or ball
  • Clipboard hotkeys (cut/copy/paste)
  • Wired (I don't want to replace batteries, and there's no need since I'm always in the same spot)

Anybody got a favorite keyboard they can recommend?
615
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 12, 2008, 09:07 PM »
why not start with looking at the Stanford School of Engineering free computer courses.  They sound pretty good

That looks like a great suggestion. While we were busy bickering, Grorgy found the best answer of all  :o
616
General Software Discussion / Re: Reorganizing music library
« Last post by CWuestefeld on October 12, 2008, 09:04 PM »
I'm getting closer...

It looks like MediaMonkey actually writes AlbumArtist into Band. I'm not yet sure if it does this consistently; if so, it's easy enough to work around.
617
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 12, 2008, 07:11 PM »
A language suggestion in addition to your advice might have been more helpful,

Actually, a language opinion would not have been useful; it is contrary to the actual point I was trying to make: that language is just one part of it. Let's turn it around? Why didn't anyone else provide guidance on how to learn about data structures, etc.?

Ehtyar continues:
in future you may want to consider backing up your opinion with more than a quote from someone with the same opinion.

Why am I obligated to provide more than one, when you provided no citations whatsoever? I was going to be a smarta** and post a search to 473,000 hits on "PHP sucks", but just consider this one:

First, let's try to be a bit more specific. Does PHP the language suck, or does PHP the environment suck?

They both suck.

In fact, they suck for the same reason: PHP-the-language and PHP-the-environment both grew by accretion of random features, not by any purposeful design for orthogonality. So you have idiot "features" like magic quotes ("Assuming it to be on, or off, affects portability. Use get_magic_quotes_gpc() to check for this, and code accordingly) and register globals (same disclaimer applies, only more so).
...

In short, PHP sucks because, PHP's authors are prone to confuse "pragmatism" (a fine design goal, if done well) with "adding random features without considering how they impact the language as a whole." Thus, its authors have found it necessary to correct obvious flaws in both minor and major releases, with the result that the recent PHP5 breaks with the past to an unprecedented degree while still leaving many fundamental flaws un-addressed.

I wouldn't have posted this whole quote, but I think it actually supports my point in the real discussion. Design issues are every bit as important as the programming language. If you don't know what you're doing, you may just wind up with a magnificent monstrosity. Knowing how to write a program isn't sufficient: you need to know how to decide just which program to write: what does the user really need; what are the best algorithms to achieve those goals; any design patterns extant where people have already proven the solutions.
618
General Software Discussion / Re: Reorganizing music library
« Last post by CWuestefeld on October 12, 2008, 06:57 PM »
I just tried foobar2000. It doesn't seem to work. It appears that the %album artist% tag doesn't work here. In most, if not all cases, it's not picking up the data that I had set in MediaMonkey. I also suspect that it didn't find all of my songs, but I can't see any way to verify this -- there's no report I can find that would give me even a total count of them.

I haven't tried mp3tag yet; from the website I can't see how my task could be accomplished.

Can anyone else offer further suggestions?
619
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 12, 2008, 06:42 PM »
*sigh* Had you bothered to check any of the links, you'd have found the first is a link to article discussing the best beginner languages. ...
I apologize in advance for this tangent, especially it being a flame. But I think Ehtyar is just being a jerk, and I feel compelled to defend myself.

Let's look at those 5 links, shall we?
  • The topic's name is "The Best Introductory Language"
  • The topic's name is "Which language should I learn first?"
  • This topic's question starts on the right track, one aspect of it was "Prinicipally, the first choice I have to make is what language/IDE to use", and replies focused on this aspect.
  • The topic's name is "How to choose programming language?"
  • The topic's name is "What language is the best for a new programmer to start with?"

Thus, the whole list is really about choosing a programming language. The broader development questions are only addressed in the third link, and there just a bit (although there were a few good responses thrown in, such as this one from Mouser). Ehtyar, did you bother to look at them?

...And your contribution to his question is...?

Ehtyar, did you even bother to read *my* post? Look at my last paragraph:

...to learn software development you must obviously learn a particular language. But there's so much to learn beyond the language itself. You should also be looking for an understanding of data structures and algorithms (e.g., how does one sort a list?; what's a linked list for and how do I create one?), design patterns (common solutions to the problems that recur frequently; I recommend the book of the same name by Gamma et al), understanding how operating systems work, and so forth.

I point out that there's much more to it than just language; I think this is an important insight on its own, but I didn't stop there. I also identify three specific areas of study other than programming languages (data structures and algorithms, design patterns, and OS theory), and gave a recommendation for what I feel is the best source for one of them.

I would definitely consider... learning some PHP/XHTML/javascript. They each represent some very important programming paradigms, and will bode well for you in the freelance arena.

Actually, PHP teaches some fairly horrible programming paradigms, although it's true that they are still marketable skills. For more on this, see here:

Understand that as a long time VB developer, I am completely sympathetic to the derision you'll suffer when programming in a wildly popular programming language that isn't considered "professional". I've written both VB and PHP code, and in my opinion the comparison is grossly unfair to Visual Basic. Does PHP suck? Of course it sucks. Did you read any of the links in Tim's blog entry? It's a galactic supernova of incomprehensibly colossal, mind-bendingly awful suck. If you sit down to program in PHP and have even an ounce of programming talent in your entire body, there's no possible way to draw any other conclusion. It's inescapable.

But I'm also here to tell you that doesn't matter.
...

Some of the largest sites on the internet -- sites you probably interact with on a daily basis -- are written in PHP. If PHP sucks so profoundly, why is it powering so much of the internet?
...

While PHP wouldn't be my choice, and if pressed, I might argue that it should never be the choice for any rational human being sitting in front of a computer, I can't argue with the results.

You've probably heard that sufficiently incompetent coders can write FORTRAN in any language. It's true. But the converse is also true: sufficiently talented coders can write great applications in terrible languages, too. It's a painful lesson, but an important one.
620
Developer's Corner / Re: Where to start with computer programing
« Last post by CWuestefeld on October 12, 2008, 12:03 PM »
Josephus, I think you're starting well in the way you've asked the question -- as opposed to others that Ehtyar linked to, that asked simply what language to use, since that's only one part of the question.

It's like saying "I want to learn how to drive" is better than asking "how do you use the steering wheel and brake?". There are so many other factors: understanding traffic control devices and the rules of the road; vehicle dynamics; etc.

Extending the analogy, then, to learn software development you must obviously learn a particular language. But there's so much to learn beyond the language itself. You should also be looking for an understanding of data structures and algorithms (e.g., how does one sort a list?; what's a linked list for and how do I create one?), design patterns (common solutions to the problems that recur frequently; I recommend the book of the same name by Gamma et al), understanding how operating systems work, and so forth.
621
General Software Discussion / Reorganizing music library
« Last post by CWuestefeld on October 11, 2008, 04:08 PM »
I'm trying to reorganize my music library. Not edit the tags -- I think I've got that squared away thanks to MusicIP, etc. -- but get the files themselves straight.

I'm not 100% confident of how well it will work, so I want to do it as a Copy operation rather than Move. I just hooked up a 300GB disk just for the job, so I've got more than enough room for it. This is an absolute requirement, and it disqualifies my normal library manager MediaMonkey.

I want to do it according AlbumArtist/AlbumName, which obviously means that the tool must support the AlbumArtist tag. That seems to disqualify my other tagging tools -- TheGodfather and Zortam.

Can anyone suggest to me an alternative that can satisfy these requirements?

Bonus points if it can provide a higher-level structure of alphabetic selector (an A folder containing all AlbumArtists starting with A, etc.), but that would be easy enough to do by hand afterward.
622
There are many factors that could sway you in one direction or another.  What type of software, developing for what OS, what platform (local or web based), how comfortable are you at code and logic, what do you consider fast (what is your time frame)...

... whether this is a one-off to solve a specific question you've got, or is intended to be distributed; what your level of experience is; how many people will be working on the team; availability of libraries to help with specific domain problems or UI needs...

I'm going to assume that you're new to this. If so, that should be a primary consideration. Many people think that some of the typical web-based platforms like PHP and perl will rot your brain, teaching you bad habits that will make it difficult to improve your skills later.

Depending on other factors, you might consider C#, python, or java. All of these are serious tools that can build applications of more sophistication than a single programmer could ever handle. They are all coherent languages, meaning that they approach things in a logical way, having been designed quite rationally and deliberately (as opposed to evolving any which-way, as PHP or VB did). And they all have large amounts of support available, in book, online resources, and users that could help out.
623
Living Room / Re: Selectively Print Only What You Want From Webpages
« Last post by CWuestefeld on October 08, 2008, 08:04 AM »
i normally rely on the add-on called Aardvark to remove the fluff when using Firefox.

+1 for Aardvark. While it's not perfect, I can't imagine how anything could do any better without a ton of work from the user. Link here: http://karmatics.com/aardvark/
624
I cannot understand why this particular Image Resizer will not tell the dimensions of the image to be resized. How can I calculate the percentage resizing of a picture, if I don't know the dimensions?
I'm not sure why you'd care to calculate the percentage. MIR is perfectly happy to be told to resize to some absolute dimensions, or even to fit the target into some bounding dimensions.

I think there's a good reason that MIR doesn't show the dimensions of your image. That's because the program is designed to operate on whole batches of images. In that context, there isn't any particular image whose dimensions it can point to; it's got a heap of images, each (potentially) having its own dimensions.
625
Living Room / Re: News Article: Japan Unveils Green Train Faster Than Shinkansen
« Last post by CWuestefeld on September 25, 2008, 10:37 AM »
I'll be impressed about trains as soon as maglev becomes the norm.
Agreed, the technology is fascinating.

One year ago, almost to the day, I rode on Shanghai's MagLev train
    * Highest Speed: 431 km/h (268 mph) (Normal Times) or 300 km/h (190 mph) (Extend Times)
    * Run time: 7 mins and 20 sec. in Normal Times, while 8 mins and 10 sec. in extend times
    * Interval: 15 mins.
    * Ridership: 20% capacity. [1]

Yeah, it was cool. On the other hand, it's been a complete economic failure, as the 20% capacity cited above suggests. When the government invests in this stuff, it may as well be flushing the money down the toilet. There a many more important things the money could be spent on.
Pages: prev1 ... 20 21 22 23 24 [25] 26 27 28 29 30 ... 40next