V3 Redux

Recently I’ve been working on a new version of my site (yes, again). This time, it’s based on one of my the old versions, v3. The original v3 was really badly written: the CSS was hacky, the script was written in jQuery and readability was bad (especially on Windows).

Although it had all these faults, it remained my favorite version of my site, so I decided to remake it with my new skills.

Here are some screenshots:

The best part is probably the subtle shadows. #MaterialDesignFTW

It’s not live yet, but when it is, you’ll be able to see it at zacharyguard.co.nf

iOS 8 and how it stacks up against Android

iOS 8 was revealed today. Here’s a list of the new “features” and how they compare to what Android offers.

Wake Siri up by voice

The Moto X, which came out a year ago, had this feature. It’s been built into Nexus phones since the 5 and numerous apps offer this same functionality.

QuickType

Predictive typing has been available on Android since Jelly Bean and probably before that as well.

Interactive notifications

Again, this is a feature that Android has had since Jelly Bean.

iCloud Photo Library

Google+ (which is built into Android phones) has offered this functionality for months with its Auto-Upload feature.

Health

This isn’t even a real feature. Also, Samsung phones have had this for a while.

As usual, you can see that there really isn’t anything new in iOS 8. Apple stopped innovating years ago, and now they’re just trying to catch up with Android.

#innovation

Notedown

Today I started work on a app called Notedown. It’s basically a Markdown editor/ note-taking app for Chrome that syncs between your devices via your Google account.

Here are some screenshots.

It’s almost finished. The only thing left to add is the ability to delete notes, which shouldn’t be that hard.

Version 0.1 should come out on the Chrome Web Store later today or maybe tomorrow.

Cancel shutdown with AppleScript

Here’s a neat little script I wrote that asks you whether you really want to shut down:

on quit
	display dialog "Really shut down?" buttons {"No", "Yes"} default button "No"
	if the button returned of the result is "Yes" then
		display dialog "Are you sure?" default answer "No"
		if text returned of the result is "Yes" then
			display dialog "Are you really sure?" default answer "Really no"
			if text returned of the result is "Really yes" then
				continue quit
			end if
		end if
	else
		display dialog "Cancelled shutdown"
	end if
end quit

Just copy and paste it into the AppleScript editor and export it as an .app with “Stay open after run handler” checked.

You’re welcome.

ehh jimmy

eh jimmy pass my the syrup
sura bouss
jimmy you idiot this is sugar
emmm bouss, we ran out of da syrup that u lookin fur
Goush dammit jimmy! you useless piece of scrap, u gonna be taken care of by one of mai employees… roucky!
NO bouss, i’ll go get some i swear on my aunt’s daughter
mmkay, i believe ya ya scrub, but if i ever see u again with nou syrup, u gounna be in lots ad lots of trouble
ok bouss
*Bouss shoots jimmy in the head*
You scrub dub sub dub dub puub

by japhey

Meth Tuesday

Did I say meth? I meant math. Here goes…

This fact isn’t that well known, but 0.999… is equal to 1. I’ve seen lots of proofs about why this is true, but here is my personal favorite.

You may or may not know that 1/81 is equal to 0.0123456790123…. There is a very easy way to make your own recurring fractions, and the way it is done is to take the sequence of digits that you want to repeat (in this case 012345679) and divide it by the same number of 9’s (in this case 10 of them, one for every digit in 012345679). This gives your the rather ugly 12345679/999999999, which conveniently simplifies to 1/81. This rule can be used for any string of numbers, like 42 or even pi.

Using this rule, we can make a fraction that is equal to 0.999…. by dividing 9 by 9, following the above steps. As we already know, 9/9 is equal to 1, but it is also equal 0.999…; therefore 0.999… is equal to 1.

I’m sorry for boring you.

Here’s a neat little trick:

  1. Find a “What you should really be called” post on Facebook, or use this one I found: https://www.facebook.com/photo.php?fbid=10151085745363458
  2. Choose a random comment and copy its text. (should be a name, like Chris Putnam)
  3. Search for that name on Facebook and go to the first result.
  4. Replace the “www” in the URL with “graph”.
  5. Find “id” and remember the number that follows.
  6. Go back to the original comment, and find the length of the poster’s name, and subtract it from the id (depending on the poster, you might need to only subtract the first name’s length)
  7. Great success! you found the poster’s age.