30. april 2013

Prime Generator Übercharge

About a year ago, I released a prime generator written in C#, which was able to generate 1.000.000 primes in about 45 minutes.

Anyway, myself and a bloke from my class decided to have a programming competition to see who was able to make the most efficient prime generator in a language of our choice.

I initially tried accomplishing this in Java (Don't ever do this - BigInteger is a bitch), which accomplished the task in a mere 15 minutes.

Following this, my competitor decided to turn to C++ to defeat me. And he did. Big time.
His program was able to generate 1.000.000 primes in a mere 20 seconds, defeating me by several miles.

Frustrated by my loss, I also turned to C++, where I made a program, which was able to generate 1.000.000 primes in less than 3 seconds (2.90867, to be exact).

The competition was hereby concluded.

Just for fun, here's a link to the source code of the C++ program:


Mathemusica!


Mathemusica v1.0.2

So, I've begun developing a program which I call Mathemusica. What it does, in a nutshell, is making music out of equations. Yes, you heard me - music from equations.
Using the function value f(x), it assigns a musical note from a chosen scale and well... makes music.
It's taken me roughly a week at current point to develop this.

Here's an image of the GUI to show you what it looks like:



The program is developed in Java and is automatically cross-platform for this reason.
Some time soon I'll release a technical summary of the program, but for now, I'm just releasing it.

If you want a sample of what this program's able to offer, here's a fun function I found while making this:

.mmx: https://dl.dropboxusercontent.com/u/19633784/Mathemusica%20Sample.mmx
.wav: https://dl.dropboxusercontent.com/u/19633784/Mathemusica%20Sample.wav

I also have a YouTube video of the program (although it's synthesized using v1.0.0, it's still valid):




Although I've worked intensely on this for the past week, I haven't made everything myself. Actually I've used two external libraries, namely "exp4j-0.3.01.jar" and "JSyn-beta-16.5.14.jar". Here's a link to the two developer's websites:


And here's a download link, if for any reason you're interested in trying it out:


Download Information
SHA256: 6397bd466a516692b7bd4c579dada4ff430dd751ec3957323722e07a55e69d53
VirusTotal-link: https://www.virustotal.com/en/file/6397bd466a516692b7bd4c579dada4ff430dd751ec3957323722e07a55e69d53/analysis/1367328142/


Download Link

For archive's sake, I've released the previous two versions of the program. They do not support the current .mmx-format, but instead .mm, which is a different file-format, which is deprecated:

I'll keep working on this project for as long as I find it interesting.

9. maj 2012

Crypting...

Disclaimer: The programs linked to in this blog post may be detected as a virus by one or more anti-virus programs. If this scares you, don't download them. Thank you.


A little time ago, I discovered Hackforums and quickly stumbled upon the concept of 'crypters'.
To those of you who don't know, essentially crypters are programs that encrypt the binary data of an .exe file, as to avoid detection by anti-virus vendors.

After figuring out what a crypter was, I decided to challenge myself and make my own crypter. The first one I made was horrific. It was detected by approx. 10 anti-virus vendors and this one guy from Hackforums was able to crack it in less than 10 minutes.

Not letting myself down, I decided to repeat the experiment. This time I was more successful. Not only was it less hard on the file size, it was only detected by a single anti-virus vendor (AntiVir). I have not uploaded this one to Hackforums - not sure why.

Download link: http://dl.dropbox.com/u/19633784/Cryptoxic%20v2.exe

-UPTX

22. februar 2012

Prime Generator - some numbers

During my prime generation, I had the program write down what number prime (and prime) it was at each passing minute. Now, I've done a little bit of graphing and came up with these two graphs:

1) 12 hour test - I basically let the program run for 12 hours. This is the graph showing that:
graph showing that it goes slower the longer it runs

2) 1 hour comparison - I let the program run for an hour on two machines (one being my new, one being my old). This is the graph comparing the two:

graph showing the comparison between my new and old computer.


-UPTX

Prime Generator

Hey guys,
first of all, I just managed to get a hold of a new i7-Quad Core 3.0GHz, 8GB RAM Windows 7 computer the other day (it lacks a graphics card, so I can't play Battlefield D:), which means I can program stuff outside of a Virtual Machine (thank god), so expect more releases of software. I haven't added one thing to Drug Lab at all since last update, but alas -- I'll finish it eventually.

Enough babbling, I have created a Prime Generator (expect tutorial), which is a program that generates, well, primes. On my brand new computer, using roughly 20% of it's CPU, it generated 2.076.343 primes in a little over 12 hours. The highest prime being 3,38E+007 (33.773.261).

Download here:
Program: http://dl.dropbox.com/u/19633784/Prime%20Generator.exe
C# Project: http://dl.dropbox.com/u/19633784/Prime%20Generator.zip

...and for the paranoid ones:

Expect a tutorial soon...

-UPTX

2. januar 2012

Windows Strip-down v1.0

Hi, so I remembered that I this program laying around. It's a small app, that effectively closes every single process that isn't essential to Windows, freeing up as much memory as absolutely possible. Keep in mind, this will not stop processes with the same name as the aforementioned processes.

Note: For this program to work 100% optimally, you have to run it as an Administrator.
Right Click - Run as... - Administrator

I was too lazy to create an icon; you'll have to live with that fact.

Screenshot: 
Image of the application running on Windows XP SP3





YouTube demonstration: 






Download link: http://dl.dropbox.com/u/19633784/win-strip-1.0.exe
C# Project file: http://dl.dropbox.com/u/19633784/win-strip-project.zip (Sorry for the messy code, guys)

And for the paranoid few:
VirusTotal: http://www.virustotal.com/file-scan/report.html?id=7095389ba40a9c48a4c0fdd8c44acdb1bb934d092a9d4f71c95e99cfd7dbfea3-1325541193
Jotti: http://virusscan.jotti.org/en/scanresult/7c84b2d050937ed2087c16a2e4432d104e05fd81

-UPTX

1. januar 2012

AIU People Tracker - 0.03_1 BETA

Hey, this is a just a quick update addressing some of the issues from 0.03BETA.

Bug fixes

  • Re-enabled error reporting (I always keep this turned on while coding)
  • Made a quick, temporary fix to Sweden (It had some minor issues)

And for the paranoid few:

Random Information:
  • AIUPT has 1640 lines of code
  • This update took ~2 minutes

-UPTX