Welcome Guest.   Make a donation to an author on the site April 16, 2014, 06:10:52 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 ... 122 123 124 125 126 [127] 128 129 130 131 132 ... 182 Next
3151  Other Software / Developer's Corner / Re: C# GDI+ Problem with byte[] and Bitmap - Memory Issues on: January 20, 2011, 07:22:41 AM
Mind you common sense is telling me to shutup ... But I just gotta ask...

In lines 37 - 43, why is hwi.CompareExactImageData being evaluated (basically) twice?

I'm reading it as:
if(condition = false) do bla
else if(same condition is not false) do bla

Wouldn't that tend to spike the work load?

Also being that there is no trailing else, then if condition is neither true or false (which granted should be impossible) Just ignore it. < I'm guessing that part was cut out for clarity)
3152  Other Software / Developer's Corner / Re: Rock physics math-thing [PHP] on: January 20, 2011, 06:49:36 AM
Okay, thanks

It's been (quit) a while since I've done anything with formulas, and can't for the life of me recall what ^ does/means/is telling it to do.
3153  Other Software / Developer's Corner / Re: Rock physics math-thing [PHP] on: January 19, 2011, 06:17:32 PM
I could be missing something... But I see nothing that would cause the rocks travel to apex and return. So line 4's while loop is (er...) infinite...because its always counting up away from its 0 cut off point.
3154  Main Area and Open Discussion / Living Room / Re: Windows 7 Breaks Week Numbering on: January 19, 2011, 05:36:04 AM
@f0dder:
Being not too proud to admit I could be wrong in my assumptions or logic, I will agree with you. Let's also stop pulling the thread off-topic.
Aw shit, I was rather enjoying that discussion too...

@Stoic Joker:
Indeed, it is/was my frustration speaking. Sorry about that.
[/quote]

*Shrug* That's cool ... hell it was my frustration that started the thread ... but I'm done now (i think). So carry on with f0dder I was actually following that bit with great interest. smiley
3155  Main Area and Open Discussion / General Software Discussion / Re: Dual Booting Win XP and Win 7 on: January 18, 2011, 06:59:12 PM
Might help a bit if you expanded on why you want to stick with XP as a primary OS. Which would indeed be a substantial performance hit trying to VM 7.

Given he's already mentioned he wants W7 for games:

Right. I was trying to diplomatically give HB some room to elaborate on why they wanted XP to be the primary OS (what is the reason driving that requirement) ... Given the number of folks jumping on the poor sole... smiley
3156  Main Area and Open Discussion / General Software Discussion / Re: Dual Booting Win XP and Win 7 on: January 18, 2011, 06:49:59 PM
Does hardware acceleration even work (properly) if you run Win7 in a VM?

No (for VPC), the only video card under VPC is the S3 Trio which according to dxdiag has both Direct3D and AGP Texture Acceleration disabled. VMware may do better, but I doubt it could stably lob enough resources to 7 through XP.

Edit: I just tried the DirectDraw test on my XP VPC, it was a bit choppy ... (froze twice).
3157  Main Area and Open Discussion / General Software Discussion / Re: Dual Booting Win XP and Win 7 on: January 18, 2011, 05:45:23 PM
XP for me is the first and needed OS of choice

Might help a bit if you expanded on why you want to stick with XP as a primary OS. Which would indeed be a substantial performance hit trying to VM 7.
3158  Main Area and Open Discussion / Living Room / Re: Windows 7 Breaks Week Numbering on: January 18, 2011, 11:48:12 AM
This sounds the same as a bug in VB5 I submitted to Microsoft, a couple of eons back. The problem isn't with the OS, but with the library.
Interesting, but this is a pure C project, using the Windows Common Controls - so there is no additional runtime library to speak of - Not to mention the behavioral change between OS's ... But I'm with you in spirit. smiley

In some years, the end of the last week of the old year extends into Jan 1, Jan 2, etc. If you ask about the week # with respect to the old year, you get the right answer (that it's wk 53 or whatever). But if you ask that same question with respect to the new year (i.e., "what's the week number for Jan1, 2011"), then it assumes that it's part of the new year, without considering that it might be the old year's dying days.
One of the first things I discovered when I started down the add week numbers to the project path ... Was that the only thing that week numbering did consistently, according to the ISO standard, was change... Sure for the most part they have it down to the three most likely suspects. But they don't always fit into the regional(ization) borders because of the multitude of who likes what where combinations. There are actually 3 areas (globally speaking/I forget the country names), that require that you basically wing-it week number wise.

Microsoft said that this was the intended behavior, and declined to fix it.  huh

I got a funny feeling that the (apparently little known) registry entry that wr975 came up with was the MS "fix" for said issue. I say this because it was only after following wr975's links that I found the week number wing-it in 3 countries rest-of-the-story...detail. Which is what compelled me into an Ah-Ha moment corner, and lead to my decision to leverage that setting as the only sane option ... Because (according to MS) that's exactly what it's for.
3159  Main Area and Open Discussion / Living Room / Re: Windows 7 Breaks Week Numbering on: January 18, 2011, 06:04:47 AM
The question at this point, is if I add an option to adjust wr975's iFirstWeekOfYear registry entry ... Will that create a potential problem for other applications running on the user's machine?? (e.g. Sure it's easy as hell to do, but should it be done?)
*Shrug* ...7 is broken?

Probably not, because if an (European) user wants the ISO week number, then it should be set to "2" anyway. (I've googled a bit)
I was in the process of arriving at that conclusion also ... As I too was Googling ... But decided I'd googled enough, when I realized that I'd been steadily (but unconsciously) swearing in Bavarian for over half an hour. huh

...Let's call it a feature! Wink

iFirstWeekOfYear = "Specifies which week of the year is considered first.
0 - Week containing January 1 is the first week of the year.
1 - First full week following January 1 is the first week of the year.
2 - First week containing at least four days is the first week of the year."

On Win XP this registry setting seems to be ignored. So... is XP broken ?  Grin

Hm... So if XP is the broken one, then 7 can go back to being perfect ... I like it! And, it fits perfectly with my warped version of reality...
    
3160  Main Area and Open Discussion / Living Room / Re: Windows 7 Breaks Week Numbering on: January 17, 2011, 10:37:35 PM
Just had to get that off your chest, did Ya?

 cheesy

I haven't tried anything with Oracle, but I've had really good luck with other databases (MySQL, Pervasive SQL, Advantage Database Server, and yes MSSQL) on Server 2k8.
3161  Main Area and Open Discussion / General Software Discussion / Re: Dual Booting Win XP and Win 7 on: January 17, 2011, 06:43:30 PM
Much like Carol I support clients with a variety of OS's. But I single boot to Windows 7 only, and have everything (from DOS 622/Windows 1.01 to Server 2008) virtualized and network-able so I can access anything at any time without having to stop and pack-up what I'm doing to reboot.
3162  Main Area and Open Discussion / Living Room / Re: Miss America Hates Wikileaks, Might Be An Idiot =D on: January 17, 2011, 06:32:29 PM
Apologies in advance to my American friends  Wink

http://www.youtube.com/watch?v=fJuNgBkloFE

Though of course we have no way of knowing how many smart people they had to edit out  smiley

What state is KFC from? Um... wallbash ...You gotta be kidding me!

I knew most of the correct answers ... But I've also met some of these (rather frightening) people.
3163  Main Area and Open Discussion / Living Room / Re: Windows 7 Breaks Week Numbering on: January 17, 2011, 05:19:35 PM
Curiouser and curiouser this gets...

Just as a recap; There are three sources of week numbering I'm working with:
T-Clock's Custom Format String, which has been correct throughout the testing.
MS Outlook's Calendar (Both 2007 & 2010), which has been wrong throughout the testing.
T-Clock's Pop-up Calendar, which was wrong ... But now displays correctly after setting wr975 regestry key: HKEY_CURRENT_USER\Control Panel\International\iFirstWeekOfYear to 1.

Can you post some code (or be quite specific about the Calendar control/class you're using)?

Well.. T-Clock is still being compiled as pure C code - (Stop Laughing...) - So the only code used to create the control is this:
Formatted for C with the GeSHI Syntax Highlighter [copy or print]
  1. case WM_INITDIALOG: // Display 1 Month, 3 Months, or Full Year Calendar
  2. ivMonths = GetMyRegLongEx("Calendar", "ViewMonths", 1); // New Feature - Coming Soon!
  3.  
  4.  if(GetMyRegLong("Calendar", "ShowWeekNums", FALSE)) {
  5.  dwCalStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|MCS_NOTODAYCIRCLE|MCS_WEEKNUMBERS;
  6.  }else{
  7.  dwCalStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|MCS_NOTODAYCIRCLE;
  8.  }
  9.  
  10.  hCal = CreateWindowEx(0, MONTHCAL_CLASS, "", dwCalStyle, 0,0,0,0, hDlg, 0, 0, NULL);

The calendar control defaults to today's date, so there really isn't any provision for feeding it (anything) GetWeekOfYear() - Which I seem to recall using successfully elseware in the Custom Format String code.

The question at this point, is if I add an option to adjust wr975's iFirstWeekOfYear registry entry ... Will that create a potential problem for other applications running on the user's machine?? (e.g. Sure it's easy as hell to do, but should it be done?)

Side Note:
Both the XP VPC and the Win7 Host machine started with a default value of 0 for iFirstWeekOfYear.
XP numbers the weeks correctly with either 1 or 0 as a value.
Win7 (both x86 & x64) required iFirstWeekOfYear to be set to 1.

*Shrug* ...7 is broken?
3164  Main Area and Open Discussion / General Software Discussion / Re: Editor able to handle very large files on: January 17, 2011, 04:02:15 PM
When I encounter a file it chokes on, I've had very good luck with EmEditor (www.emeditor.com).

2nd vote for EmEditor I (love it) have opened 4GB db dumps with it with zero problems.
3165  Main Area and Open Discussion / Living Room / Re: Miss America Hates Wikileaks, Might Be An Idiot =D on: January 17, 2011, 03:24:08 PM
 huh ...Okay, I'm speechless.

...But the word vapid does come to mind.

 cheesy
3166  Main Area and Open Discussion / Living Room / Windows 7 Breaks Week Numbering on: January 16, 2011, 04:37:01 PM
Okay, so I got a bugg report regarding week numbering being wrong on T-Clock 2010's pop-up calendar (after Jan 2011). Now the calendar gets its week numbering from the Windows system ... So it should be impossible to screw up... Ha!

I first confirmed that the week numbering was indeed wrong ... Which is odd because it was right just last week/year...

Now here's the weird part:
Outlook 2007's calendar running on my Win7 x64 development machine, also displays the week number incorrectly. But, the WinXP VPC running on the same machine shows the week numbers correctly.

Saturday, January 1st, should be week 0, as the MSDN states (in the documentation for the Calendar Control) that week 1 is the first week of the year with 4 days in it. But Windows 7 appears to want to call it week 1. Which (of course) throws off the week numbering for the entire year.

Has anyone else heard of, or ran across this bizarre behavior?

3167  DonationCoder.com Software / Finished Programs / Re: IDEA: Insert Anywhere Date and Time utility on: January 14, 2011, 05:09:24 PM
T-Clock has always done this - Okay it's a configurable option but none-the-less...

[attach=1]

Left clicking on Clock auto-copies this to clipboard:
// Last Modified by Stoic Joker: Friday, 01/14/2011 @ 6:09:17pm
3168  Main Area and Open Discussion / General Software Discussion / Re: Word Processor OS on: January 14, 2011, 02:29:01 PM
Quick-N-Dirty shortcut - Kiosk Mode can be toggled (on/off) by pressing F11
3169  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB on: January 12, 2011, 06:29:32 PM
I'm almost positive this is either a listview bug or a bug with how AutoHotkey handles the listview.

I seem to recall that being a ListView control quirk - Ran into it once before - The rows are indexed independently of the columns.

Maybe temporarily create a second ListView with the updated (new) column arangement, and then stream the data into it before deleting the old control.
3170  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB on: January 12, 2011, 06:34:09 AM
It will only auto-open a file if it's in the same folder as the SnapDB.exe.  Personally, I create a \databases folder and put my .snp files in there.

Understood, my curiosity was only in regard to it auto-opening a file in the same folder with the wrong (.snpk) file extension.

On the request side, does a close current file/db sound reasonable?

Sure, can do, but I'm not sure what purpose it would serve?

Well, I did allow for the possibility that I was doing it wrong... smiley ...But I was looking at the possibility of bouncing through multiple .csv files, and allowing for either combining them (which I believe already works), or ("closing" the "file" ) clearing them and starting over without having to close and reopen the program.

One other confusing behavior, was the programs reaction to drag-n-droping a .csv file in the client window. While it appeared to (be trying to) process the file, the result was a blank ListView. Could a .csv/.tsv file drop be made to trigger an import?


On a brighter note: I do like the new glyphs.
3171  Special User Sections / N.A.N.Y. 2011 / Re: NANY 2011 Release: Snap DB on: January 11, 2011, 07:28:41 AM
Found a bit of a bugg and a request (both related).

While the auto open of db is nice, it's also a tad hard to defeat. I was trying to do a quick test with some of my .csv files, but had created a test.snp to play with. It kept opening. I renamed the file to test.snpk and it still opened the file (extension wasn't wrong enough?). However test.snk did successfully not open so I could try to do other thinks with it.

So, is that a bugg...or am I doing it wrong?

On the request side, does a close current file/db sound reasonable?
3172  Main Area and Open Discussion / Living Room / Re: Can we stop with the diagonal screen length thing? on: January 10, 2011, 05:57:27 PM
The diagonal length isn't helpful if you want to know important stuff like aspect ratio and supported pixel resolution (or physical dimensions).

There-in lying the rub (i think), physical dimension (HxW) is (basically) irrelevant given that we're all fairly used to the diagonal for TVs. But the pixel resolution (height specifically) is critical if you want to have space to work. Yet the (rather critical) pixel resolution never seems to be readily available. I've gotten aggravated more than a few times about that one myself.
3173  Main Area and Open Discussion / Living Room / Re: Can we stop with the diagonal screen length thing? on: January 10, 2011, 05:49:21 PM
Now I do understand why there are people who like their screens to have height. I am still using using two 1280x1024 screens for my computing, but I have to say that those 1920x1080 screens look very interesting.
Me to, I got 2 17" running @1280x1024 here at home.

To me the screen real estate is more important than the amount of monitors in front of me. The 1920x1080 ones do give me what I need. Almost all the width and a little bit more height from my current setup.

Now the new monitors I just got for the office are 21" 1920x1080. I was using a 19" @ 1280x1024 (or slightly higher I don't recall), and the new wide-screen is much nicer space wise than the old 4:3 19 ... I can finally spread-out a bit at the office instead of feeling like I'm trying to watch a movie through a keyhole.

It does not however give me the same comfort as the dual screen setup (at home) - Close-ish - But just not the same.
3174  Other Software / Developer's Corner / Re: Just How Many Programs Have You Written and Never Released? on: January 10, 2011, 05:14:24 PM
Trust me, the best reward and the biggest kick is getting a nice thank you email when you have made a difference for someone you've never met, that and looking at the number of downloads when things start getting noticed, think at the moment I'm up to just over quarter of a million downloads worldwide.

While I both understand and agree, I think mouser covered it best by saying:
Now in fairness most of these are incomplete and just not worth finishing.  But some are fully functional and just are too specialized and hard to use, such that releasing them would just cause frustration from people who tried to use them smiley

...And he's right. Many of the bit I have are completely unfinished test code projects that I decided to play with to better ubderstand how the Window IU is put together/works. Others are just way to specific to be useful to anyone else, have zero documentation, or are just to dangerous to turn people loose with.
3175  Main Area and Open Discussion / Living Room / Re: Building a home server. Please help, DC! on: January 10, 2011, 02:44:14 PM
I was just eyeing the PowerVault MD1000 as my storage box.

Sorry if I sound like a broken record... I'm all for the off-lease commercial stuff. The company I mentioned in the other thread Stallard Technologies, Inc. handles those and they are indeed $3,000+ (refurbished). However...

I spoke to my contact there the last week (While ordering a PowerEdge 2800), and told him about DC. If you call the number on their site, ask for Geoff (pronounced Jeff), and tell him you're from here he'll work with you. No discounts were discussed, but if you need a configuration not listed in their site (small number of large drives with room to grow), he's the man to see; knowledgeable, honest, & fun to chat with.

Note: I also found out (last week) that they have a referral program, but that has no bearing on my decision to endorse them. I like the company because they have excellent service & quality product.
Pages: Prev 1 ... 122 123 124 125 126 [127] 128 129 130 131 132 ... 182 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.182s | Server load: 0.07 ]