Things I've Tagged ‘Programming’

Page 1 of 1

For non‐technologists, this is all a black box. That is a great success of technology: all those layers of complexity are entirely hidden and people can use them without even knowing that they exist at all. That is the reason why many people can find computers so frustrating to use: there are so many things that can possibly go wrong that some of them inevitably will, but the complexity goes so deep that it’s impossible for most users to be able to do anything about any error.

Jean‐Baptiste Queru

Another Numbers Revamp

A couple of years ago I put together a little program to generate random numbers for the Mega Millions lottery and produce some analysis on the numbers most often drawn. Most recently I wrote about a revamp I had done to the tool to simplify its functionality.

Well, I’ve done it again. I’ve completely redesigned the interface, and let me tell you, it’s quite nice looking. The functionality is largely the same, though slightly modified, and everything is done asynchronously, so it’s nothing flashy, but I like it just the same.

My primary reasoning for redevelopment was that I wanted to use this on my phone, but the older interface was just a little clunky. This works perfectly for this purpose–though, some more modifications need to be made to make it more of a ‘mobile web app.’ It’s also a little buggy in spots, but oh well. Explore the tool, use it, and enjoy!

By the way, I make no guarantees about the results, but if you happen to pick the winning numbers, would you ?

Number Generation Revisited

I wrote a post some months back discussing a tool I put together that would generate numbers for a lottery, as well as analyze some past winning numbers to determine patterns.* Well, that last part didn’t really pan out, as I stopped updating the number list after a month.

I figured if I was going to continue providing that tool for use, I should rid it of that bloated bit of analysis and make the number generation a little bit more seamless.

My project, Numb3rs & Nothing Else, is now ready for your entertainment.* Number generation is submitted through an Ajax call, making the process a little less jarring, and the results are toggled into view.

In addition to that change, I’ve completely eliminated any analysis, as the results were just plain muddying up the mini‐app with unnecessary data, I’m now running the css through a custom minification script, the site utilizes minify for javascript, and I’ve implemented gzip compression across the board.

I developed this dumb little application quote some time ago, but recently revamped it.

Not that this app receives much traffic or anything, but this is one of those “best practices” things. I’ve implemented it on this website, as well as several others I operate, and YSlow seems to like it. I’ve noticed slight performance gains so far. Nothing to complain about.

Anyway, this is among one of the many little projects I’ve put together for training purposes, so for what it’s worth, enjoy.

*I should note that this application is for entertainment purposes only and should not be seen as any guaranteed method of making money. Don’t treat it that way, and if you’re addicted to gambling, seek help.

Mega Millions for The Win

I’ve been working tirelessly for the past week and a half on the development of a sure*, guaranteed*, 100% easy way to make tons and tons of money off any state lottery system.*

I developed this dumb little application while deciding that I wanted a way to randomize my number selection.

Actually it’s just my personal project, Numb3rs & Nothing Else. I call it this simply because it started out as a way to randomly generate five tickets for the mega millions drawing. Why did I create this? I don’t really know, it just seemed kind of fun at the time.

Plus I’m really interested in determining whether or not the distribution of winning numbers is truly random. I suspect it is, but not enough drawings have occurred in order to generate enough data to see whether or not that is indeed the case.

On top of randomly generating tickets, the app attempts to analyze all of the numbers from all of the tickets drawn for the current incarnation of the Mega Millions game. Based on that it generates a few tickets containing those numbers for you to use. Hey, if you win with this app, donate about $200,000 my way, won’t you?

Update: I’ve updated this application. Read all about it.

*I should note that this application is for entertainment purposes only and should not be seen as any guaranteed method of making money. Don’t treat it that way, and if you’re addicted to gambling, seek help.