Welcome back to another awesome week! Registered users will now notice the ability to delete comments. Always feel free to suggest features though the suggest a problem page.
We have a fun problem to start off our week. Today's goal is to create a program that prints out information about the computer it is running on. Depending on your language/libraries of choice this problem can have you digging deep. The below are the minimum requirements for the program:
- Operating System
- Total Ram
- Processor Model
- Hard Disk Size
- Free Space on Hard Disk
For bonus points add other information about the computer such as screen resolution or a list of all connected USB devices.
Comments:
Ethan Glover - 10 years, 7 months ago
Unfortunately, it doesn't seem Java supports USB, I was able to do the rest though. :)
Here are the results: http://imgur.com/bwlIAl7
reply permalink
Nick Krichevsky - 10 years, 7 months ago
Requires libusb, pyusb, and psutil, but it works :). I couldn't get the device name on OSX due to a libusb error that I couldn't delve into, so I just gave the product id.
reply permalink