Thursday, November 25, 2010
AutoHotkey puts the HOT in Hotkey
"AutoHotkey unleashes the full potential of your keyboard, joystick, and mouse. For example, in addition to the typical Control, Alt, and Shift modifiers, you can use the Windows key and the Capslock key as modifiers. In fact, you can make any key or mouse button act as a modifier."
AutoHotkey (AHK) works with scripts. The basic syntax is fairly easy to understand, however some of the more complicated stuff is, well, more complicated.
Lets look at an example of a simple but very useful AHK script; a hotkey that runs a program, eg. Calculator, when WindowsKey and C is pressed:
#c:: Run, calc
The hash (#) represents the Windows Key. The letter after that is the key to be pressed with the Windows Key. Thus '#c' means the hotkey is activated when the WindowsKey and C is pressed. Other modifiers include Shift, represented by a plus sign (+), Control by a caret (^) and Alt by an exclamation mark (!).
Then there's two colons (::) directly after defining the keys. Whatever is on the right of the colons is what is executed when the keys are pressed.
'Run' quite simply runs the command after the comma, and 'calc' is the command in Windows for opening the Calculator. You can do the same thing with 'notepad', 'cmd', 'iexplore', and loads more.
Scripts can obviously be more than one line long, for example:
#c::
Sleep 10
Run, calc
return
Does basically the same thing, except for the 'Sleep' command, which, in this case, waits ten milliseconds before running 'calc'.
The 'return' function ends the multi-line hotkey. If you didn't have this here and you define another hotkey after that one, it might think that hotkey is part of the previous one.
Besides built-in Windows programs like 'calc' and 'notepad', other programs can be 'Run'. For example, I use Notepad++ and use Windows Key and N to launch it using the following script:
#n::
Sleep 10
Run, E:\programs\npp\notepad++.exe
return
You can even 'Run' websites. For example, you could make Windows Key and F open Facebook in your default browser:
#f::
Sleep 10
Run, http://www.facebook.com
return
I have a very useful hotkey that Googles whatever I select by pressing Windows Key and G:
#g::
Send, ^c
Sleep 50
Run, http://www.google.com/search?q=%clipboard%
return
The 'Send' command here "sends" Control+C to the computer as though you pressed it on the keyboard. This copies whatever text you might have selected into the clipboard.
After sleeping for fifty milliseconds (to make sure the computer is finished copying your selection) it runs Google with the copied text as the search criteria.
''%clipboard%' puts whatever is copied into the clipboard wherever you want. You can even put it in a 'Send' command (i.e. Send, %clipboard%)
Scripts can get very complicated, for instance, this script I have which allows me to move my Windows around without dragging from the titlebar by holding down the Windows Key (like Gnome/Ubuntu):
#LButton::
CoordMode, Mouse ; Switch to screen/absolute coordinates.
MouseGetPos, EWD_MouseStartX, EWD_MouseStartY, EWD_MouseWin
WinGetPos, EWD_OriginalPosX, EWD_OriginalPosY,,, ahk_id %EWD_MouseWin%
WinGet, EWD_WinState, MinMax, ahk_id %EWD_MouseWin%
if EWD_WinState = 0 ; Only if the window isn't maximized
SetTimer, EWD_WatchMouse, 10 ; Track the mouse as the user drags it.
return
EWD_WatchMouse:
GetKeyState, EWD_LButtonState, LButton, P
if EWD_LButtonState = U ; Button has been released, so drag is complete.
{
SetTimer, EWD_WatchMouse, off
return
}
GetKeyState, EWD_EscapeState, Escape, P
if EWD_EscapeState = D ; Escape has been pressed, so drag is cancelled.
{
SetTimer, EWD_WatchMouse, off
WinMove, ahk_id %EWD_MouseWin%,, %EWD_OriginalPosX%, %EWD_OriginalPosY%
return
}
; Otherwise, reposition the window to match the change in mouse coordinates
; caused by the user having dragged the mouse:
CoordMode, Mouse
MouseGetPos, EWD_MouseX, EWD_MouseY
WinGetPos, EWD_WinX, EWD_WinY,,, ahk_id %EWD_MouseWin%
SetWinDelay, -1 ; Makes the below move faster/smoother.
WinMove, ahk_id %EWD_MouseWin%,, EWD_WinX + EWD_MouseX - EWD_MouseStartX, EWD_WinY + EWD_MouseY - EWD_MouseStartY
EWD_MouseStartX := EWD_MouseX ; Update for the next timer-call to this subroutine.
EWD_MouseStartY := EWD_MouseY
return
Don't ask me to explain this, I got it from somebody else. By the way, anything after a semi-colon (;) is a comment and is ignored by AHK.
Here are a few more that I use:
Windows Key and H toggles Show/Hide Hidden Files in Explorer:
#h::
RegRead, HiddenFiles_Status, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden
If HiddenFiles_Status = 2
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden, 1
Else
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden, 2
WinGetClass, eh_Class,A
If (eh_Class = "#32770" OR A_OSVersion = "WIN_VISTA")
send, {F5}
Else PostMessage, 0x111, 28931,,, A
Return
Windows Key and Right Mouse Button (Yes you can combine with mouse events!) minimizes the Window under the mouse cursor:
#RButton::
MouseGetPos, , , WinID, control
WinGetPos, WinX, WinY, WinWidth, , ahk_id %WinID%
WinMinimize, ahk_id %WinID%
return
Windows Key and Q is a lot more comfortable than Alt F4, which is a commonly used hotkey for me. This simple one-liner saves me some wrist aerobics:
#Q::WinClose,A
Check out the Tutorial on AHK scripting or the list of commands that you can use.
I hope you find these scripts useful. Also, I'd love to see what scripts you guys are using, too.
Special thanks to @EttVenter for telling me about the awesomeness of AutoHotkey, and @brskln, who's recent tweets inspired this blog post.
Saturday, November 20, 2010
Quote Collection of the Week #5
Saturday, November 13, 2010
Quote Collection of the Week #3 and #4 Bumper Edition
Wednesday, November 10, 2010
Some advice
There is only so much you can do, so do as much as you can.
I believe that you can’t build Rome in a day but you can do more than you think. How do you do this? I think by minimizing the time on less important things you can achieve more with the bigger picture. For example: Teenagers are playing computer games every day, as my dad would say “Wasting their lives away”. Instead of wasting your time in front of that square, they can learn to do something that would benefit their adult lives. Playing computer games is only a short lived experience of fun but cycling or fishing creates bonds between people. Virtual machines don’t create the bonds you can get in the real world. There’s more than meets the eye with life, we need to unlock opportunities that will produce wondrous memories. Memories that catch you when you are older shouldn’t make you long for the past.
However, there is a solution. Try to imagine entering a room from Exclusive Books that has no windows and no other door. You close the door, pitch black, and sit. That is like leaving your life full of new chapters but you leave your opportunities and talents behind. Now if you had stayed in that book store and created chapters of a life well spent, you wouldn’t feel that you could have done more. I believe that we are all given talents, and we should all use them to the best of our abilities. Now I will use a metaphor between the talents as the ancient currency. When you receive talents for free, buy the gift that you will use like academics. Now that you have attained this gift you should use it to the best of your ability because this will be the most powerful freebie you will ever receive.
Friday, October 29, 2010
Quote Collection of the Week #2
Friday, October 22, 2010
Quote Collection of the Week #1
Joshua Ball: "Marcel only marries for freaking looks!"
Nick Leask: "I do that also."
"What's all the difference of Psalms?" - Nick Leask
"Sorry guys, it's getting way to spiritual here for me." - Nick Leask
"The galaxies and milky lane." - Nick Leask
"Just this morning, it's funny, I was reading this morning." - Nick Leask
"Jellyfishes are jellyfishes." - Fransie O'Brien
"Magnifying glass enlarges things as a telescope does... or microscope." - Nick Leask
"When people ask me, what like, finite verbs and that, I just go blank." - Nick Leask
"Guys, I'm naked if anyone's wondering." - Marcel Labuschagne
(i.e. If no one is wondering, he's not naked.)
"If my heart was a compass, you'd be home." - Aubrey Hlongwane
(Followed by: "If my house was a home, you'd be a heart")
(The original lyrics of the song: "If my heart was a house, you'd be home.")
"I've just been cutting ions." - Taryn O'Brien
"I'm not nice with quotes." - Alex Strecker
"I, like, break the speed of sound." - Nick Leask
"Hey guys, I'm in the bathroom, you chops." - Thembani Ketse
"We didn't go anywhere, we just went around the corner." - Daniel Smith
On a Friday night: "Is anyone going to be at school tomorrow?" - Nick Leask
And here's my favourite:
"How many fishes are in a kilogram?" - Nick Leask
Wednesday, October 13, 2010
Look mom, no mouse!
There are still hundreds more useful (and useless) shortcuts out there. Most are for specific programs (like the "F" keys in Corel Draw)
However, you are by no means limited to these shortcuts alone. There is an amazing utility called Autohotkey which allows you to create your own shortcuts for literally anything on your computer. It goes beyond keyboard shortcuts, as it also has features for the mouse and joysticks.
Let me know if there are any common, useful shortcuts I missed out. I have a feeling I've missed at least one very important one. lol
I would post some of my Autohotkey scripts, but my computer with all of them is broken. I promise to post all of them when it's up and running again.
Saturday, October 2, 2010
Overclock a Dinosaur
Processor: AMD Sempron 2500+ @1.5GHz (166MHz * 9.0)
Motherboard: ASRock K7VM3, Rated FSB: 333MHz
Memory: 2x 1GB DDR @200MHz
Graphics: Inno3D GeForce 6600 @300MHz, 256MB @500MHz
Hard Drives (2): Seagate Barracuda 7200rpm 200GB + 80GB (P-ATA IDE)
Optical Drive: LG Super Multi DVD re-writer
PSU: ISO 300WSwitching Power Supply
Operating System: Windows XP Service Pack 3
For the technologically challenged: it's crap. These days you can get a fridge with more processing power than this thing. (ok I'm over exaggerating, I'm actually writing this blog post on it within Firefox 3.6.8 while playing music through iTunes 10)
Being used to my "reasonable" Core 2 Duo and HD4870 I was extremely dissatisfied with the above setup. Tests showed a very sad eight frames per second (average) on lowest graphics settings in Crysis @800x600, and less than one frame per second when blowing up buildings with the rocket launcher, physics set at medium. Enabling shadows halved the average frame rate to around four frames per second. Dropping screen size below 800x600 did not make much of a difference, the issue of pixel count giving way to other factors such as shaders and polygon count that may not rely on screen resolution (as far as I know, just speculating here).
Since this old brontosaurus of a pc isn't really of much value to me (besides sentimental value. I wouldn't sell it to anyone, although I doubt I'll get anything for it if I did) I thought I might take a stab at this whole overclocking thing. I've overclocked my HD4870 before, but this is the first time I'll be overclocking a processor.
WARNING!
To all you folks out there who think overclocking is a fun experience (actually it isn't very fun) and a quick way to get more power without buying new hardware, make sure know what you're doing before you do it, or just don't do it. Don't say I didn't warn you...
Since this old rig (oil rig?) is old, none of it's components really output an impressive amount of heat, giving me good headroom for bumping the hertz up a little bit. Even with really lame stock coolers, the processor usually didn't go higher than forty under load, and the GPU stuck around the sixties, also not changing much under load. I didn't burn my fingers on the GPU like I always did with my 4870 every time I stuck my hand in the case.
(Temperatures are in degrees Celsius, for all you Americans reading this, convert!)
the Overclock:
The ASRock K7VM3 has a feature they call Hybrid Booster "safe" overclocking. This allows for easy changing of the bus speed within BIOS. Over-enthusiastically I took a huge leap from a bus speed of 166MHz to 233MHz. NOTE: This is a stupid thing to do! Always overclock in small increments, like 5MHz, and every time rebooting and checking up on how the computer does under the new speed. Thankfully ASRock's "safe" overclocking did not allow my idiotic jump, and promptly reset the bus speed.
The K7VM3 uses jumpers to set the CPU multiplier. The manual shows, in a rather confusing way, where to put the jumpers to get the desired multiplier. By default (with no jumpers) the multiplier is at 9.0, and can be increased (or decreased) in steps of 0.5, up to a whopping 24. I set it to 10.0 and very excitedly switched it on and... It didn't work.... it still showed 9.0 no matter what I did. Sadly, this specific processor is locked to 9.0 and cannot be changed without possible mutilation. I'm not going to try that!
I stopped at a bus speed of 200MHz, resulting in a substantial CPU clock speed increase of 300MHz to 1.8GHz. Very happy I tested it on Crysis and saw an increase of one frame per second in the CPU benchmark! w00t! :)
To overclock the GPU was much easier, but unfortunately not as fantastic. Using RivaTuner, I was able to push the core clock speed by 17MHz (yippee....) and the memory frequency by 14MHz (wow....). Not all that great of an overclock but an overclock nonetheless.
However, I am a little concerned about the current stability of the system. Since the overclock, Firefox has randomly quit (which it never does) twice and earlier the computer reset without warning, Windows later telling me that there was a serious error and had no explanation as to what happened. I'm glad nothing has happened while writing this blog...
I will do some tests with Prime95 soon and will post the results. I don't know if I want to see the results...
Tuesday, September 28, 2010
WARNING!! Dangerous Temperatures.
Thursday, September 23, 2010
Dualscreen FAIL!
The reason for this is not a software issue, but a hardware issue. No, my graphics card hasn't blown up or anything like that. What I failed to mention in my previous post about dual screening, is that the LG I had on the left did not have DVI. Who in their right mind would leave out DVI on a fullHD monitor? What were you thinking, Goldstar? And yes, that's what the monitor was identified as when I looked in the display settings.... Goldstar...
The biggest beef I had with LG's VGA-only screen is that it causes confusion in dual screening because my Samsung (the screen on the right) is plugged in with DVI. In Windows 7, there is no problem here because Windows "magically" sorts out all the confusion. Ubuntu, on the other hand, with the proprietary ATi Drivers, could not seem to understand what the heck was going on! I screwed around with it for about half and hour until I gave up.
The confusion: ATi's drivers was adamant that the LG was on the right... no matter how many times I told it that it was on the left. I even swapped the plugs at the back of my PC and they were still swapped around. Secondly, the LG would only accept sizes up to 1600x1200, which is not it's native resolution. In fact, FullHD wasn't on the list at all! If I changed any setting, wither it would screw up X and make it unusable, or it would tell me to reboot. After rebooting, however, the problems started from square one again, namely the monitors being swapped around all the time!
In the end I ripped out the LG in anger and threw it across the room, vowing never to buy LG ever again! Not actually, but I was very angry at both ATi, for their lack of consideration of Linux users, and LG, for their ignorant negligence. Do the world a favour LG, go back to making washing machines!
So, to summarize, if you're looking to do any kind of dual-screening, make sure both your screens use DVI inputs*, otherwise you are going to find yourself in some serious trouble. Even better, both your screens could be the exact same model, could you imagine that!?
See my previous post about dual-screens.
*You could also have them both use VGA inputs, but who in their right mind... ?
Tuesday, September 21, 2010
Wallpaper
It has been 35 years since the first "Wallpaper" came out. Introduced by Xerox as a way to distinguish the desktop from window interiors on a black-and-white monitor. Below is the first wallpaper in the world, first appearing on Xerox's experimental "Officetalk" system.
Apple followed soon after with a denser pattern, made possible by their non-interlaced monitor, which wouldn't have worked on the Officetalk.
The term wallpaper is more appropriate for the original tiled backgrounds that older operating systems. Windows had, up until 98 and ME, an extremely simple and primitive pattern editor, which allowed the user to make a two-colour, 8x8 tiled wallpaper.
These days, wallpapers have been appropriately renamed to "Desktop Background" or "Desktop Picture" on Windows and Mac OS X respectively. No longer a boring repetitive tiled pattern, the modern desktop has become a canvas for digital art.
deviantART has a section dedicated to wallpapers. But what makes a wallpaper different to all the other art on DA? Wouldn't it be easier to just post wallpapers in the appropriate categories along with all the other art?
A couple of things answer these questions. Firstly, and most obvious, is the size. Computer screens are typically a 16:10 or 16:9 aspect ratio, which means the wallpaper artist must create his art accordingly. Sure you could find any picture off DA, resize it, and set it as your desktop wallpaper, ignoring any loss of quality or the possibility of a missing part of the scene. Wallpapers on DA usually come between 1440x900 and 1920x1200, as well as zip files containing a range of sizes so you can choose one that corresponds to your screen.
The second thing that sets wallpaper art apart from other art is a little tricky. I might be wrong here, as this is my own opinion, but wallpapers usually have a different design approach than non-wallpaper art. Most wallpaper art is digital, and are drawn specifically with the desktop in mind, and not as a print to be framed an hung on a wall. Photographic wallpapers also have differences to other photographs, and in my experience are heavily edited to be made sharper, more vibrant, and completely void of any noise.
Another question I would like to ask (and this is open for readers to comment on) is this: What makes a good wallpaper? What I mean is, something that a user will often see while working on their computer that will affect his/her moods in some way or another to increase productivity and overall happiness while working. What kind of design is best in situations such as these? Does it differ from person to person, depending on the task at hand? Does changing the wallpaper change mood and productivity in some way? I'd like some feedback on this.
There are also other forms of desktop backgrounds, which take things further from the original analogy of the "wallpaper". Animated backgrounds, interactive backgrounds, video backgrounds, as well as some other cool things like EarthDesk. I question whether these are a waste of system resources or not. I guess if you have the extra power, you may as well spice up your desktop in such a way, otherwise it's really not necessary.
A lot of people set their background to photos they have taken themselves, sometimes of family. On the other hand, you could just completely ditch the background and have a solid colour. One of the things that annoy me intensely is how some people incorrectly refer to their wallpaper as the "screensaver", especially common when talking about their cellphone background. AARRRGG!!
I could still rant on pointlessly about wallpapers, but this is what it boils down to:
What makes a good wallpaper? Why?
Oh and one last thing, the most infamous wallpaper known to man:
Wednesday, September 15, 2010
Dual-screen Gaming Not Much Fun Without Three Screens
It's a very expensive thing to do, mostly because you have to pay twice or three times as much on screens. I have two 23" FullHD displays and I'm quite happy with, depite their individual problems (One has no DVI and the other suffers from extreme backlight bleeding and a dead pixel) as well as the problems involved in dual screening them (The one is an LG and the other is a Samsung, go figure).
The first time I ever played a game with two screens was Command & Conquer: Tiberian Sun. I had an old GeForce 6600, with nVidia's horizontal and virtical spanning. This useful feature turns all your attached screens into one big one, allowing some programs to maximize across all of them. Tiberian Sun was one of those games with an ini file you could play around with. It was easy to change the width and height of the screen to anything you could imagine. e.g. 2560x1024. I only had CRT screens back then so my head hurt a lot having to look at two of them.
In my opinion, the kind of games that benefit most from multiple displays are strategy games. The extended view of the battlefield makes a huge difference. Older games such as Age of Empires and Command & Conquer had fixed 2D pictures so that the higher the resolution, the smaller the pictures on the screen, and the more of the battlefield you could see, so the poor guy with the crappy computer (yeah, one which could only run AoE at 640x480!?) or only one small screen, had a disadvantage. Most of the new 3D games don't allow this sort of exploitation, as a change in res just means more pixels for the same-sized object.
Supreme Commander, my second dual-screen gaming experience. Now this game is serious about it's dual-screening capabilities. It uses any other display connected to the computer to display an extra view of the battlefield. That plus the ability to partition screens allows incredible control over what's going on. Also an extreme advantage over the guy with the 15" CRT in the corner over there, who probably couldn't afford a good enough graphics card to run the game smoothly at even 800x600. lol. A good thing about this game's dual-screen capability is that it does not rely on ATi's Hydravision or nVidia's H-Span, so I don't have to use funny tricks to get it to work. Bottom line here is that Gas Powered Games really hit the spot with this one! If you have two screens you should definitely try it!
Burnout Paradise interested me in it's option in the configuration screen allowing up to three displays. In excitement I hooked up my other screen and selected "2" to see what it looked like. I was disappointed at what I saw. All it did was make one super-wise view and squish it into only one screen. It dawned on me that it required nVidia's horizontal spanning , which my new HD4000 did not have (damn you ATi!). So I checked it out on my friend's computer and it didn't look all that great anyway, so no real loss.
Determined to get horizontal spanning on my computer I Googled all over the place and found some interesting piece of software called SoftTH (Software Triple Head) which sort-of does the same thing a Matrox TripleHead2Go does but for free (instead of R3000+). What is boils down to is that I can do what nVidia can do, but with my ATi. Sure it has a few problems, but it works great! The latest 2.0.1 Alpha version is the one you should use, all the 1.x ones are old. Get it here.
Below are some of my experiences (And yes the saturation is higher on the left monitor, I only discovered after I took these screenies that it had been changed in CCC \) :
Burnout Paradise. My first run with SoftTH gave me what I thought would happen, a car cut in half in the middle.
But after changing the configuration to use 2 displays I got it right. As you can see it's no fun unless you have three.
Counterstrike was a funny one. Look where the crosshair is!
It obviously was not designed to be played this wide...
HAWX would have cut the plane in half but I had to see what it would look like...
...but all I got was... nothing... :(
Ok so SoftTH is still in Alpha so you can't expect everything to work as planned. But it's some really awesome software and it allows for some pretty wicked screen setups:
Render resolution is 5888x2100!
I wish that was my desktop, except for that little screen at the top, it looks a bit weird.
Saturday, September 11, 2010
Inception, Part Two
Today I'm exploring what Linux distros work well in Virtualbox. So far, as we've seen, Ubuntu 10.04 Lucid Lynx works great, Ubuntu 10.10 Maverick Meercat works, but with only partial interoperability with the host OS, due to it's new X version 1.9. Virtualbox's Guest Additions only supports version 1.8 so far.
I decided to try Fedora 14 Alpha, but to my dismay the live CD wouldn't boot at all. I checked online for solutions but unfortunately there is no support for alpha and beta guest operating systems in VirtualBox, which is sad for Maverick also.
Fedora 13 installed and booted fine, which is a huge step further than what I got with Fedora 14. Unfortunately I couldn't get the Guest Additions to install, no matter what I tried. I installed all the headers, necessary building dependencies and stuff, downloaded a kernel source RPM (which didn't quite install properly) but alas nothing helped. All I had was the default crappy cursor integration that Lucid also had when I first booted it up.
N.B. The default crappy cursor integration feels funny and does not hide the cursor when you leave the machine's window, whereas VirtualBox's Guest Additions' cursor integration hides the cursor, and feels exactly the same as the host's cursor.
I haven't used OpenSUSE for years, so I wasn't surprised that I was surprised by the GUI changes made since then. But what made me most excited was that OpenSUSE comes with full VirtualBox Guest Additions out of the box! Woot! Now I don't have to worry about THAT anymore! I ran the live CD and the first thing I noticed was the smoother mouse integration, then the windows had shadows, went transparent, wobbled, and then I dragged off the edge of the screen and the desktop cube went crazy. I guess the Compiz guys didn't take VirtualBox into consideration...
And now for our special guest for today, lets have a round of applause for Microsoft Virtual PC 2007! Yes I know it sucks compared to VirtualBox, and it eats my computer's resources, but it still kinda works. I only ever use it for running Windows 98 for occasional compatibility reasons, which are few, and because VirtualBox doesn't support Windows 98 (Did Sun perhaps think it was too old?). I decided to pull this old relic out of the closet and install Fedora 13 on it (Previously I did try 14 but it failed even more than on VirtualBox). To my surprise everything went fine, it works quite smoothly, and it connects to the internet. Now I just have to install the VM Additions (if they even work) which I will do another time.
Lucid and OpenSUSE Updating next to each other. Don't they look cute together!
All three running quite happily together. Purple, Blue, and Green:
So here's the summary:
Ubuntu 10.04 Lucid Lynx: Works Great
Ubuntu 10.10 Maverick Meercat: Works, but with limited Guest Additions support (No 3D Acceleration or Automatic Screen Resizing)
Fedora 13: Works, but couldn't get Guest Additions to work
Fedora 14 Alpha: Couldn't even install it
OpenSUSE 11.3: Works fantastically, Guest Additions worked immediately out of the box
Fedora 13 on Microsoft Virtual PC 2007: lol
Thanks for reading.
Have a look at Part One of my Inception project.
Wednesday, September 8, 2010
Why you shouldn't trust some internet pc part suppliers
Inception, Part One
Similar to the dream concept in Inception, there is something called "lucid dreaming". A lucid dream, in simplest terms, is a dream in which one is aware that one is dreaming. My friend found that on wikipedia. Now here's the cool part: Ubuntu's latest stable version is called Lucid Lynx. How cool is that!? So that's the OS I decided to use for this project. Another cool thing that makes Lucid lucid, is that it knows it's running in a Virtual Machine. This is evident in the fact that it provides mouse cursor integration out-of-the-box. Cool, right?
So I begin. The Lucid installation went on smoothly, it installs just like it would in reality. This means it takes just as long, if not longer... It sits at 79% for like half an hour on my machine, and then crawls along from about 86%, mainly because it needs to download packages off the internet, and I have a crap slow internet!
It took a while (maybe an hour or so) but now I've arrived to my new Lucid desktop, running normally. I'm glad I haven't come across any hiccups so far, but to my dismay it did not come with all the guest additions installed like I thought, only mouse cursor support is default. Oh well, that's not a huge problem, I'll just install the guest additions myself.
I'm installing them using apt-get instead of the ISO provided with Virtualbox. I'm hoping this is a better way. It sure is easier to install and uninstall, but it means I still have to download the whole thing which is a pain on my internet connection. I had to wait at least half an hour for 8 minutes O_o (Maybe there's some kind of time difference between the Host and the Guest OS here... 15 minutes = 1 hour?).
So it finally finished downloading and it gives me this fail message. After Restarting I got no additions. So all that downloading and waiting hours (or minutes?) was fruitless. Oh well it's not a train-smash, I'll just revert to using good old VBoxGuestAdditions.iso and see if I get any luck with that.
Well would you look at that? It worked! Now I've got all the juicy features of the guest additions. I guess there's nothing wrong with the ISO after all. I've got it working in seamless mode and all the other juicy features. Yay!
So that's it for now. This is part one of my Inception project. Stay tuned for the next installment where we will take it to the next level (literally)
Head on to Part Two of the Inception Project
Tuesday, September 7, 2010
Jailbreak! :)
A friend of mine just got his iPhone 3G fixed, and he wanted to me to jailbreak it for him. I've never done it before but I was confident I could do it. After many hours of reading discouraging reviews about people's iPhones going blank and never switching on, I decided to do it anyway.
Redsn0w seemed a good choice, it seemed relatively simple: plug in your iPhone, click a few buttons, wait a while, and viola! I downloaded redsn0w 0.9.2 because I think that was the most stable version. I wanted to use 0.9.5 and install iOS 4.1 beta but I thought I'd rather stick with something simpler. Besides, I couldn't find a place to download the exact iOS I needed. So I decided to go with downloading plain ol' 3.1.2 ipsw.
I thought I had to use iTunes 9 to do all of this but it turns out iTunes 10 still does the trick, despite it's disgusting new icon (bleh!). I was afraid that Apple disabled shift-clicking on the update button but I was relieved to see I could still load a downloaded ipsw.
Redsn0w is quite simple really. Load the ipsw, then it processes it. Plug in the iPhone, switch it off, click a button, hold down some buttons to get into some DFU mode or something, let it do it's thing, then after a painstaking length of time the jailbroken iPhone will now be ready to play around with :)
On the topic of Cydia, the little app that comes with jailbreaking an iPhone, we didn't seem to get it going correctly. Damn thing couldn't download half the stuff. I guess the repositories are down? Deprecated? On strike? Eaten? I don't know. Too lazy to find out at the moment but maybe some day I'll check it out.
Note to all people new to jailbreaking: be patient, and try not to throw your iPhone at your computer screen.
I should be studying now, but thanks for reading. Happy jailbreaking! :)
Monday, September 6, 2010
Telescopes at their best
Optical Design:
Advanced Coma Free
Clear Aperture:
406.4mm (16")
Focal Length Focal Ratio:
4064mm f/10
Maximum Practical Visual Power:
950X (16")
Telescope Mounting:
Heavy-duty fork type; double-tine
Primary Mirror Lock:
Included (progressive tension) All models
Zero Image-Shift Microfocuser:
included (4-speed)
Eyepiece:
Series 5000 26mm 5-Element Plossl
Viewfinder:
8 x 50mm
GPS, True-level and North sensors:
Included (16-channel GPS receiver) All models
Pointing Precision, High Precision Mode:
1-arc min. All models
Autostar® II Hand Controller:
Included (147,541 object database) All models
Batteries (user-supplied):
none
Battery Life (approx.):
n/a
Slew Speed:
RA and Dec: 0.01x to 1.0x sidereal, variable in 0.01x increments; 2x, 8x, 16x, 64x, 128x sidereal; 1°/sec. to 8°/sec., variable in 0.1° increments. All models
Tracking Rates:
Sidereal, lunar, or custom-selected from 2000 incremental rates All models
Primary, Secondary Mirrors:
Pyrex® glass grade-A,
Correcting Plate/Lens:
Water white glass
Total Net Telescope Weight:
318 lbs. (with Field Tripod)
Telescope Shipping Weight (approx.):
360 lbs.
Field Tripod Height all models:
40" to 50" variable
UHTC:
Included
Price:
$14,999
Friday, September 3, 2010
Tech Support
Taking apart a laptop is so much fun! If you manage not to break anything, that is. My friend's Acer Travelmate took a knock a while ago and finally gave into constantly being beaten on a day-to-day basis. Plugged in the charger and nothing happened. No light, nothing. I absolutely hate when stuff just stops working and I have no idea what went wrong. Fortunately there was a telltale chunk missing from the case where the AC plug is. Now we know where the problem is, all we need is "what" and "how".
The problem we had with getting to the AC power socket in this thing was that we ended up literally dismantling every component inside the laptop. After much unscrewing and unnecessary brute force (which may have resulted in a few missing pieces of plastic, thanks to me) we had separated it into seven significant figures: chassis, cover, keyboard, motherboard, hard drive, optical drive, and screen.
The problem was evident once we noticed a tiny piece of metal fall out of the laptop half way through unscrewing the chassis. It so happened it was the pin from inside the AC power socket! Encouraging news for us that the problem was only a misplaced piece of metal about a centimeter long, but we still had to take everything apart. Sigh...
When we finally got to the socket, all we had to do was put the pin back in. I set it in place, plugged it in and kazam! A nice shock and a spark and nothing happened. I thought I had blown the motherboard. Nevertheless I realized my mistake and placed the pin the right way around. All very well, I slotted in the battery and inserted the AC Power cable and, w00t! Lo and behold the long-awaited orange "charging" light lit up. Great work now I stuck a piece of stickytape to keep the pin in place and put everything back together :)
Reassembling the laptop was quicker than taking it apart, I don't know why. Once every component was plugged in there were five little screws left over. oops...
The scary thing was that it didn't appear to switch on when I pushed the power button. Don;t you hate feeling when you spend half your morning fixing something only to find you made it worse? Turns out there was a broken screw just under the little circuit board on which the power button is situated. It seems I fixed one problem and introduced another one. Thankfully the new problem doesn't stop the laptop from being useful. All it needs is a push down in the right place and the power button will function.
Problem is now that if the screen switches off after a few minutes you can't tell if the laptop is on or not because the power light is also attached to this slightly misplaced board. Oh well, at least I moved the problem to a more accessible location.
It was fun, too! I feel like taking apart my dad's netbook just to see what it looks like. lol
Thursday, September 2, 2010
Begin!
I don't know how people start blogs, but here we are. Baksteen Brick Broadcasting. It's a totally random name. I know, right? Anyways I'm not going to just yammer on about how awesome I think this blog is (because right now it actually isn't awesome) and share a few cool things.
So I have this "Spotting Scope" which is more of a whale-watcher than a telescope. But nevertheless Jonno and I set it up on my roof one Tuesday night and gazed at the night sky. Wow! Despite using a completely not-for-astronomy telescope (which is made by Sansui of all people) we managed to see a crescent Venus, an orangey Mars, and even the rings of Saturn. What was even more awesome was seeing not only Jupiter, but Callisto, Ganymede and Io as well. I even managed to catch a glimpse of one of the darker rings of Jupiter, and what may have been Europa (or my imagination).
We're planning on getting an actual telescope soon so we can maybe spot some nebulae as well some more awesome views of the planets.
As for this blog? We'll probably be writing mainly about Astronomy, Computers, Gaming, Cycling, and the odd stuff we find lying around.