Blogs

Java & Gmail Based Secret Santa Mailer

This is a simple Secret Santa organizer which uses JavaMail and GMail SMTP to send out Santa-Assignments.  I designed it so that I could simply type a bunch of information into a text file and have it automatically send out the emails rather than me being omniscient as to who's getting what, including who's gifting me.
 

CPU Throttling In Windows XP

So my fan on my laptop started making a horrific racket (possibly because my laptop has been on nearly half of its existence) so I found a way to clock the CPU down so the fan wouldn't need to be on. Here are the commands I used.

Performance Script:

powercfg /CHANGE PowerConfigName /processor-throttle-ac ADAPTIVE

powercfg /CHANGE PowerConfigName /processor-throttle-dc ADAPTIVE

Foremost for Windows

Had this on my old site which I recently took down so I've attached it to this blog post.  Here's how to use it:
 

Electric Cars, Trucks and Semis - Is It Time for Nuclear?

Electric cars are viable in terms of capacity on the grid, but I personally can't wait for people to start dumping their McClaren's and Shelby Mustangs on the market to better afford their Tesla replacements.

Apple - Just Another Computer

What I'm trying to say in this article is that Mac's for all their hype are just another FUCKING computer with a bigger price tag. All you're effectively paying for is branding and maybe a little extra engineering. However, this price discrepancy amounted to around $325 dollars when warranties weren't considered and you have to ask yourself if Mac's are $325 better engineered than a PC.

SSH Slow?

SSH  slow and seemingly not responding?  I recently had this issue and was surprised at how common it was.  To further add to the litany of solutions, I figured I'd repost it again.  If your ssh seems slow ESPECIALLY right after submitting the password, add this line:
UseDNS no
to the file:
/etc/ssh/sshd_config
This happened to me (and likely others) because I switched to a static IP on my local network so I could reliably forward the ssh port to the right computer.  With a dynamic ip, most routers send the hostname to your computer, but when y

Simple Encryption Algorithms

Here are a couple simple encryption programming examples.  Obviously these are full of exploits so you wouldn't want to use them seriously, but they are great for teaching students about the basic idea of encryption.

Glider BOMB Discovered in the Game of Life!

So I could be wrong, but just for fun I will arbitrarily claim that I discovered the following structure in John Conway's game of life.  While playing around with orientations of ovals and pixels attached to ovals, I found an interesting pattern which seems to start exploding out but then separates out into 4 distinct gliders with no interior activity left.  Below is a picture of the initial structure as well as an animation showing how it explodes out.

Conquering The Boosting Around The World Achievement!

I am going through some of my games and trying my best to fill out the achievments in them.  Recently I've been working on Burnout Paradise City and the "Boosting Around The World Achievement".  Most videos on this achievement exploit a glitch which allows you to rack up 100x+ boost chains as long as you're willing to hold down the A button.  The only legit one I found was exactly 20x and I managed a 38x boost chain without any glitches and got a 15.5+ million stunt combo in the process.

The LAST Digit of Pi. A Smartass Answer to a Smartass Question.

I recently was asked the other day to produce the last known digit of pi.  Pi, as you might know is an irrational number and therefore can't be represented as a fraction.  Here's a proof I found at http://pi314.at/math/irrational.html: Pi is Irrational What can we infer from this?  Well, technically this means there is NO last digit of pi, only a last known digit of pi based on the most accurate calculation.
Syndicate content