Results 1 to 10 of 10

Thread: Upgrading and Improving Lotto Software

  1. #1
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379

    Upgrading and Improving Lotto Software

    It’s been kind of slow upgrading my 5- and 6-number lotto software. There were errors and it took a while to fix them. Then, there was the performance issue. I discovered a few new things that improved the speed of execution and also added valuable features to Bright5. I added the same new and beneficial features to Bright6.

    While working on the new Bright6, I was hit with some performance issues. The new size for the data file (D6) is 12000000 (12 million). I made the opening of such huge data file as fast as I could. That’s no longer a real problem. One problem now is the length of the Del_6 and Sextet filters. They can reach millions! Millions times millions is … you get the picture!

    I have improved several areas, including for Bright5. I will add the new, improved programs to a (yet) another upgrade to Bright5! It’s worth the effort, though. I still want to make a few filters perform better with high values.

    I wish I had these new ideas in 2009! 2008 is excluded — I was very busy with Google AdSense.

    So, in case you wondered … now you know what I’m doing … And, oh, yes, I drink only coffee and tea …

    Best of luck!

    Ion Saliu

  2. #2
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379

    Lightbulb Sorting.exe - Version 16.1, February 2011

    As I said the other day, while working on the new Bright6, I was hit with some performance issues. No, it would have been almost mission-impossible to attempt this kind of Bright6 prior to 2008. My computer would have had a helluva time! Even now it seems to me Bright6 is somehow futuristic. It will benefit enormously from the computers of the future. Let’s not forget, as they also say, the future is always just around the corner!)

    Long tests might have been a blessing in disguise (praise Almighty Number!) While some programs are running in background, I can work on other tasks. Like this super upgrade to Sorting.exe. I added two new functions:

    ~ Sort Files as Text Lines
    ~ Sort Columns of Numbers.


    I know how anxious people are to get their hands on the new Bright6. Until then, you can use the Sort Columns of Numbers function to sort your W6, MD6, etc. winning reports.

    Furthermore, you can sort any numeric file you want — as long as it contains formatted columns (like in our W6 reports). Even better news: You can sort on multiple columns, including ALL columns in the file. But that that’s not all: You can also sort in ascending order, or descending order! More? Yes, you don’t have to sort only from the left column to the right. For example, sort first on column #1 (the primary key), then on column #3, then on column #3. You can set, for example, column #7 as the primary key, then sort on column #4, then on column #9, then on column #2.

    Be forewarned: The new sorting function requires special attention to detail! You must write down precisely where a column starts, and how wide it is (i.e. how many digits in the largest number). You should also count precisely the number of lines in the header, if the file has one (e.g. the header of W6 has 13 lines).

    Be sure also not to count in the column width the ending +/- sign of any column in W, MD, GR, etc. reports.

    The best method is to create, then print, a text file with all columns in the report files, or other numeric files in text format. I’ll give you a hand now. I’ll write the starts and widths of the columns in W6. It helps you feed the correct data to Sorting.exe:

    Code:
                     Column "Sum"
                     Start = "7"
                     Width = "6"
    
                     Column "Pot"
                     Start = "16"
                     Width = "3"
    
                     Column "One"
                     Start = "21"
                     Width = "3"
    
                     Column "Two"
                     Start = "26"
                     Width = "3"
    
                     Column "Three"
                     Start = "31"
                     Width = "5"
    
                     Column "Four"
                     Start = "37"
                     Width = "6"
    
                     Column "Del4"
                     Start = "45"
                     Width = "6"
    
                     Column "Del5"
                     Start = "53"
                     Width = "7"
    
                     Column "Del6"
                     Start = "62"
                     Width = "9"
    
                     Column "Bun6"
                     Start = "73"
                     Width = "4"
    You notice that the start of a column is 2-3 spaces to the left of the largest number in the field. It’s for safety: There might be some unexpectedly large numbers in the future.

    You need a text editor to load the reports (text or ASCII files). The editor must show the line and column numbers; e.g. MDIEditor And Lotto WE. Move the insert point in front of the largest number in the column you wanna sort. Move the point to the left 1-3 spaces, if available. From there, press the right-arrow key to the right and count how many characters until immediately after the last digit in the number. Do not count the +/- sign in the W reports.

    This is not beta software. I tested Sorting.exe a few times. If there are errors, they are caused by bad filenames or, especially, bad values for start and width of column, and wrong header. But, then again, as we noticed quite a bit around here, there is no such thing as perfection. If you discover other types of errors, please let me know. I’d appreciate that.

    Follow these download links:

    Sorting.exe, Version 16.1, February 22, 2011.

    CMsort.exe.

    Best of luck from Parpaluck!

    I started this writing around 9 PM. We are under a severe winter weather warning. Nevertheless, it is beautiful to watch outside. I see the snow falling in the outdoor lights. Oh, baby! O wonderful Inner Child of mine!


    Ion Saliu
    Last edited by Ion Saliu; 02-22-2011 at 06:22 PM. Reason: To correct all those typos!

  3. #3
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379

    Working with Sorting.exe – Screen Images






  4. #4
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379

    Software Upgrade Delay and Creativity

    I might delay the release of the super upgrades to Bright5.exe and Bright6.exe. It’s all for a good reason.

    I said in the first post of this thread: “…might have been a blessing in disguise…” I believe now that my noise-hearing condition that struck me Christmas week 2010 might have been a blessing in disguise. My landlord tried to convince me that I was hearing … ghosts! I say now that the improvements to my lotto software should be called “the upgrade of the holy ghost”!

    Creativity is NOT possible without the participation of the right-side brain. The left-side brain (or the dominant brain hemisphere for the vast majority of humans, 90%) is much disciplined, strict, even tightly leashed. Fear_Survival, the fundamental principle of life, determined it was in the best interest of the individual to follow the rules in a disciplined manner. Those who follow the rules are the best-fit survivors. That includes the military — the rate of unexpected death in the military is LOWER than in non-military population!

    The humans with a high creativity quotient (CQ) are NOT disciplined. They do not follow rules: They break established rules and bring about new things.

    I do consider myself a creative person. Yet, I do follow rules — I am a social beast, zoon politikon. But I do know how important the participation of my right-side brain is. I know I must unleash my left-side brain periodically. I have applied several methods, including meditation, self-hypnosis, brainwave machines, alcohol…

    Going wild has also been a very good method. I saw in the stats of my Web site that some people call my philosophy Caledonia Park philosophy. There is a natural park in this area: Caledonia Park. The Appalachian Trail crosses it. That natural area has become my second home since 1996. There are isolated places where I can sing loudly, even speak loudly. I can go wild sometimes: I shout and fight invisible foes. I tell loud and clear why my ideas are the most truthful ones … I never claim absolute certainty! That spot of wild nature is my paradise of creativity.

    My recent hearing suffering did have a positive effect, creativity-wise. I did go wild at times, especially at night. I was unable to sleep, unless I drank cognac. I was sleepless and tired. My condition delayed what I had planned in improving my lotto software. In truth, it was the delay that contributed big-time to the improvement of my software. Perhaps my right-side brain played a trick — but it was for a very good reason. My left-brain thanks you, my right-brain! I added so many useful features to my lotto software!

    I know, many people are happy with what happened to my software. I don’t mean they are happy for what I had in my ears! That was awful! But they, still, ain’t seen nothing yet! BRRRRRRRRAHAHAHAHA!!!!!!! Even this kind of laughter is a contribution of the right-side brain. One more way to unleash the uptight left brain hemisphere!

    BrianPA noticed — and told me honestly — that the Ion3 filter had a serious flaw in the random-combosnation generators (Combine.exe and Wheel.exe). It worked OK in Lexico.exe and also in MDIEditor And Lotto WE. For the life of me, I couldn’t figure out that quirk! Now, with my noise condition and slow testing, I discovered the cause of that terrible Ion3 thing — a kokostirk, as I call such issues. I had a good reason to make the change to the MDIEditor original filter. The lotto combinations can’t have a sum of single-digit length. Even the 4-number lotto starts at sum equal to 10: 1+2+3+4. Ion3 is about the root sum or fadic addition. Root-sum of 10 = 1+0 = 1; Root-sum of 79 = 7+9 = 16 = 1+6 = 7.

    I thought I would make fadic addition (and Ion3) more accurate. My algorithm went wrong — and it was hard to notice. I only noticed the kokostirk yesterday, when I was getting ready to release the two lotto software upgrades. I had implemented the wrong algorithm only in the random-combination generators (Combine.exe and Wheel.exe). (By the way, combonation is another means of participation by the right-side brain … lighten up, bud!)

    Now, the Ion3 filter works correctly in all lotto programs … guaranteed with the highest degree of certainty.

    It was the same BrianPA who had another good point. He complained when I moved the Purge function from Combine5.exe to Lexico5.exe. I had a good point, too: Purge works more like lexicographic generating, not random. But Brian’s point had merit in Wheel5.exe. The purge feature in Wheel.exe is, actually, a purge-wheeling function. It is more than the wheel-in files, as in WheelIn.exe. The purge-wheel in Wheel5.exe can also apply lotto filters; WheelIn5.exe doesn’t apply any filters. I noticed that issue yesterday as well. I re-enabled the purge function in Wheel.exe.

    BrianPA is a great friend. Every human should have a friend like Brian. I don’t even know his profession, but he is proficient with spreadsheets.

    I want to release the super upgrades today. I keep my fingers crossed. I want also to add a new feature to Sorting.exe. For example, you could sort filter #3 in descending order, and filter #9 in ascending order in one step. A filter like ONE is good to have high values for the minimum level. Meanwhile, the Del6 filter is good to have low values for the maximum level.

    There is another severe weather problem. It is warm and it smells like summer outside. They called for flashflood, thunderstorms, and strong winds. I hope there won’t be tornadoes and we won’t lose electric power.

    Best of luck!

    Ion Saliu

  5. #5
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379
    I can’t believe this! Ghosts … or not!

    Again, Ion3 is not perfectly working in the random-combination generators (Combine.exe and Wheel.exe)! Whadda …

    Sorting.exe also gives me some problems in a new version that mixes tecst fields with numeric fields. All that while my environment is totally quiet …

    Please be patient. I’ll delay the Super Release one more day …


    Parpaluck
    Procrastinator At-Large

  6. #6
    Member
    Join Date
    Sep 2010
    Location
    Lehigh Valley, PA, USA
    Posts
    96
    Quote Originally Posted by Ion Saliu View Post
    BrianPA is a great friend. Every human should have a friend like Brian. I don’t even know his profession, but he is proficient with spreadsheets.
    Ion, THANKS for the kind words! I really do appreciate reading things like that. It is such a negative world out there that, you hardly hear about the good things that occur, and what good things people can do. You are also true testament as to what good people can do. Your software is truely an amazing thing, written by an amazing person!!!!

    As to my profession.........Ha Ha!!! I would not really call it a profession at all. I'm just a regular factory worker. Yep, thats right!! Just a blue collar guy. I'm gonna refrain from naming the company that I work for, BUT, I will say that I work at a place that makes office furniture. It is a VERY large company, known worldwide. They make high-end office furniture. So....There you have it.

    Oh, the spreadsheets.............Nothing special there, just self-taught!!

    I know that people are probably licking their chops waiting for the release of the SUPER Upgrade to BRIGHT6. You did a great job with the BRIGHT5!!!!! I'm really pleased!!! Don't rush into a release that you are not ready for. And for the people that are waiting for it........................Be Patient! Its worth it, BIG time!!!!!


    GOOD SKILLS my FRIEND!!!!
    BrianPA
    Huh?? Good Skills?..........Yep!!!! Its not luck anymore with BRIGHT5

  7. #7
    Junior Member
    Join Date
    Mar 2011
    Posts
    1
    It is truly amazing how many good software packages there are these days. You can tell when a package has been developed where the coders "went the extra mile." And it's always nice to see someone who stands behind their work. Kind of makes you feel all warm 'n fuzzy inside!

  8. #8
    Member
    Join Date
    Sep 2010
    Location
    Lehigh Valley, PA, USA
    Posts
    96
    Quote Originally Posted by G.Luck View Post
    It is truly amazing how many good software packages there are these days.
    Yeah.............Only the software developed by Ion...........................PERIOD!!!!


    GOOD SKILLS
    BrianPA
    Huh?? Good Skills?..........Yep!!!! Its not luck anymore with BRIGHT5

  9. #9
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379

    Sorting is music to my ears!

    Yes, I had a challenging time trying to improve the speed of sorting in all my software! I thank all who made me find the best sorting ways!

    But, I found out how easy sorting really is! It’s like … dancing!

    I discovered it on YouTube (albeit a bit later now — already upgraded my soft!) It’s a group of students at a University in Romania, Tirgu Mures. That city is the heart of the Hungarian ethnics in Transylvania. It’s a beautiful city, as I remember it. It’s hard to find a higher concentration of beautiful women than in that area — all Transylvania.

    Unfortunately, I should more safely use the past tense. During my visit to Romania in 2010, I came to believe that former Communist Eastern Europe looks depressing today — much uglier than before. The cities look bad as neglected by the government. Seems like current governments want all buildings collapse, kill a majority of populace, and then have an easier way governing very small nations! I was shocked to hear how many people regretted the fall of Communism — the same régime they feared and hated up until the end of 1980’s. Tirgu Mures was famous for a flower clock in the central plaza. That clock really worked! I don’t know if they still have it …

    http://www.youtube.com/watch?v=ROalU...&feature=share

    Everything can be sorted out — with a high degree of certainty.

    Ion Saliu,
    Persecuted by Communism — now a somehow nice talker about the communist pricks …

  10. #10
    Administrator Ion Saliu's Avatar
    Join Date
    Sep 2010
    Location
    Gettysburg, Pennsylvania, United States
    Posts
    379
    I received shocking news from my family in Romania. My old (and frail) parents spent winter in the city. Last week, their home in the countryside was burglarized. The bandits broke in the root cellar and stole 100 liters of homegrown wine, plus 50 liters (40 degrees by volume) of brandy.

    The two products made my life so happy in 2010, when I visited! My heart is still broken …

    Parpaluck

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •