Erwaman's Personal Journal - January 2011

Back


Chrome vs. Firefox

During winter break, I changed my default browser from Mozilla Firefox to Google Chrome. I had tried it before, but I stuck with Firefox mainly because I wanted my add-ons, particularly Firebug and IE Tab (important web development tools), and my custom searches. However, I soon discovered that Chrome has a Firebug-esque Developer Tool built-in. Just right-click something on a page and select 'Inspect Element' to view the HTML/CSS code for it. And now there's also an IE Tab extension. Chrome can do keyword searches, just like Firefox, so I have all my search shortcuts configured the same way:

  • b - Search cheap-textbooks.com
  • c - Search the World Cube Association Persons Directory
  • d - Search Wiktionary
  • f - Search Facebook
  • g - Search Google (though I often just use Chrome's default ? instead)
  • i - Search Google Images
  • m - Search Google Maps
  • p - Search Yale Phonebook
  • t - Search YouTube
  • u - Search Urban Dictionary
  • w - Search Wikipedia
  • y - Search Yale Facebook
Unfortunately, it didn't seem like you could export and import custom searches, so I had to manually configure these in Chrome (wrench-->Options-->Basics-->Manage (next to Default search)).

So Chrome has all the features I used in Firefox, and it's faster. It starts up significantly faster (FF takes about 10 seconds to open and load google.com; Chrome takes about 3 seconds) and uses less system resources (a one-tab FF window requires about 50 MB of memory; a one-tab Chrome window (3 chrome.exe processes) requires a total of about 39 MB). Webpages also load faster. In FF, when I type "w SEARCH TERM" into the address bar to search Wikipedia, it usually takes about 5-8 seconds to get a result. In Chrome, the same search returns in about 2-3 seconds. I also find that refreshing a page is faster in Chrome than in FF.

Detaching and reattaching tabs in Chrome is also much smoother than in FF, probably because each tab in Chrome is a separate process, whereas in Firefox, all tabs and windows are part of the same massive process. In Chrome, when you detach a tab to open a new Chrome window, the new window opens instantly, whereas in FF, it takes a couple seconds for the new window to render. I also like how when you open a new tab, Chrome shows you your "most visited" pages, a feature I've seen in Safari and Opera, too.

Chrome's built-in PDF reader is nice, but it's still lacking the features that the Adobe Reader plugin has, like having the Table of Contents on the left, the ability to jump to a certain page, the hand tool (I really like dragging to scroll pages up and down), and rotation of pages. Also, for large PDFs, it seems to load and display only the first page, and then finish downloading all other pages before displaying any of them. Overall, it also takes longer to load the entire PDF, probably because Chrome is trying to render the PDF like an HTML web page (according to the blog post above). Thus, Chrome's built-in PDF reader, in my opinion, still needs work. In the meantime, I've re-enabled the Adobe Reader 9 plugin (type about:plugins in the address bar --> Enable the Adobe Reader 9 plugin, which automatically disables the Chrome PDF Viewer plugin).

I've been a bit slow in realizing how much better Chrome performs overall than Firefox, but I'm glad I finally made the switch.

Edit: See Andy's posts (Chromified and Foxified) for his experiences and thoughts on Chrome vs. Firefox.

What browser do you use and what features about it do you like?

Comments:
Andy wrote:

Have you tried Opera?.


6 Jan 11, 08:41 CST
Erwa wrote:

No, not really. Do you use Opera? If so, what do you like about it? How does it compare in features and performance to Chrome/Firefox?


6 Jan 11, 10:09 CST
Lily wrote:

Oh come on! It feels like everyone around me is switching to Chrome. I actually switched for one week during the <a href="http://www.google.com/chrome/intl/en/p/cause/#tnc">Chrome for a cause</a> event, but after that I switched straight back. The things that bugged me most about Chrome were:

1) the way it handles your history. In Firefox I almost never bookmark things anymore. I just type in the first letter and usually find my destination in one of the drop-downs. Chrome does store a little history, but it's much slower and you have to type much more. Instead, it's eager to provide you search results. This simply doesn't suit my style of browsing.

2) I feel like while Chrome is much better at booting up, it can't handle a large amount of tabs at once. Typically when I'm on Firefox, I have 6-10 tabs open. Bog down Chrome with this many tabs, and the number of extensions I have on Firefox, and I'd like to see if it's still so much faster than FF.

3) I can't find a good gmail extension that will let me keep track of multiple accounts.

//lalala so defensive


8 Jan 11, 09:30 CST
Erwa wrote:

@Lily: I think Chrome suits my web browsing style much better. I usually have at most 6 tabs open; I dislike having so many tabs open at once. You're right, though, that once you get 6-10 tabs, with each tab open as a separate process, Chrome does end up using more system resources than FF. I also only visit a few sites regularly, so I just keep those bookmarked. I don't tend to bookmark sites very frequently. For email, I prefer checking it through Thunderbird.


8 Jan 11, 12:11 CST
Erwa wrote:

Also, I should probably get around to fixing HTML tags in comments, like your <a href='...'>link</a>.


8 Jan 11, 12:12 CST
Lily wrote:

Oh man, sorry if I came across as weirdly defensive in my last comment. I'm having trouble modulating my tone over the internet lately. Anyway, I just feel like FF was the hip browser way back then, and now Chrome has taken its place. So sad.

(Why is having a separate application like Thunderbird open better than just another tab in your browser? Does it have a lot of cool features?)

A cool Chrome extension I found was PriceBlink, which doesn't do anything unless you're shopping, and then it automatically finds you coupons and offers for the product you're looking at. I totally forgot I'd even installed it, and then one day it just popped up with this coupon haha.


8 Jan 11, 16:07 CST
Erwa wrote:

Heh, clearly you're very passionate about FF. It's good to have a dissenting opinion. I haven't really paid much attention to browser history and performance when 6+ tabs are open, so I'm glad you pointed this out.

There are several reasons I like using Thunderbird:
(1) I like keeping an offline copy of my email, so I can still access it when I'm not connected to the web (like at airports that don't offer free wifi).

(2) I think setting up message filters is easier in Thunderbird, and I like having my messages being sorted and placed into separate folders, rather than how in the browser, you can filter your inbox to only show emails with certain tags.

(3) I can subscribe to and read RSS feeds in Thunderbird.

(4) I like the redundancy of having both an online copy and offline copy of my email. I purposely use POP, not IMAP, because I don't like the lag that keeping your inbox in sync creates - deleting, moving emails is slower. When I'm not at my computer, I check my email via the browser and I might open a few emails and mark them as read. However, then when I get back to my own computer, those same emails will show up in Thunderbird as new, unread emails. I like this. This redundancy forces me to look at emails again, and I often catch things I missed the first time and I reduce the probability that I overlook an email.

(5) I like the ability to sync with the Yale University LDAP Directory, which has every student's name and email.

(6) Overall, it's less laggy browsing through your emails offline than online.


8 Jan 11, 16:39 CST

Post Comment

Base Case

All right, so I've gotten started on my new year's resolution to focus more on fitness. Andy just mailed his door frame pull-up bar today, so I should get that by Thursday, and then I'll be able to practice pull-ups in my room. In the mean time, the past two days, I have been doing pull-ups using the hanging bar on the lateral pull down machine in the basement of Swing Space, which looks similar to this picture I found on Google:

The lat pull down machine goes up to 200 pounds, so I just set it to 200, which is more than my body weight of about 180 pounds, and thus I can use the hanging bar as a pull-up bar without having it drop down. Right now, I can do about 3.5 consecutive pull-ups. I've got a lot of work to do if I hope to reach 10 consecutive pull-ups by March.

I was also intrigued by the physical fitness test guidelines that Lily mentioned in this LJ post. So far, I've been doing one-minute sit-ups and untimed push-ups. For sit-ups, I can do sixty and get all ten points in that category, but for push-ups, I'm out of steam by about 35-40 push-ups. I haven't gotten around to doing a 300-meter sprint or 1.5-mile run, yet, but I plan to do those on the indoor track at Payne Whitney Gym. However, my times might be a bit slower, particularly for the 300-meter sprint, because each loop of the track is 1/8 of a mile, so I'm spending more time running along curves and less time running along straightaways.

I'm also planning to play intramurals for Ezra Stiles regularly. It's the winter season right now, and I plan to do C hoops (there's A, B, and C hoops (basketball), and C hoops is the lowest level - for those with little to no basketball experience, like me) and men's volleyball. I played my first C hoops game of this season tonight (my tenth or so in my three years), and I finally scored my first points - I got two back-to-back baskets from next to the backboard. Stiles had a great turn out today - we had nine people - and though our opponents - Calhoun - were generally bigger and taller than us, they had exactly five people - no subs - so we wore them down playing man-to-man with four subs (fresh legs) and ended up getting our first C hoops win of the season. Next up is men's volleyball on Wednesday.

I also brought a basketball and ball pump from home, so that I can practice shooting and dribbling on my own.

I'm looking forward to a physical year!

I wish Yale had a rock climbing wall. Dear rich Yale alumnus, please donate one.

Comments:
Pat wrote:

Just transfer to Rutgers instead-- we have a rock wall!.


11 Jan 11, 20:48 CST
Erwa wrote:

Is it free? I would love to try it out next time I visit Rutgers.


11 Jan 11, 21:41 CST
Ken wrote:

Nice, that's resourceful of you, Anthony. Now that you know you can do 3.5 pull ups, you can practice negatives. That is, try to resist the descent and just jump back up and descend slowly. I'd practice this every other day or so.

Doing pushups can help as well because when performed correctly, they can help strengthen the shoulder girdle.

Here's a pretty good link with many ways to meet your goal:

http://stronglifts.com/10-ways-to-get-stronger-at-pull-ups-fast/

I suggest picking method 8 and STICKING WITH THAT ONE METHOD. That's really important, if you do method 8 for 2 days and then switch to method 5 for a week and then method 7 for 3 days, you probably won't progress as quickly as you could. Also, since you're using a ghetto pull up for bar for now, things like 2 or 5 are kind of irrelevant.

Good luck, update this blog so we know how it's going!


12 Jan 11, 22:46 CST
Erwa wrote:

Thanks for the advice, Ken. I think I'm gonna start doing method 7 - the "Grease the Groove" method once the door frame pull-up from Andy arrives. I hope my palms build up calluses at the bases of my fingers, where blisters usually form.

I just did 10 x 1 pull-ups on the lat pulldown bar, resting for one minute inbetween each rep (and doing jumping jacks for 30 of those 60 seconds). I also realized that if I start from a complete hang, I can't get all the way up. I have to start about 5 degrees from vertical, with my arms engaged, in order to be able to get all the way up.


13 Jan 11, 00:06 CST
Ken wrote:

That's OK, even if you consider 5 degrees of flexion cheating it's not that big of a deal. The goal is to get some rep work. My saying is that "the cheat reps of today are the real reps of tomorrow." True, you might be cheating now, but you're still going to improve; eventually, you'll be able to do pull ups from a dead hang, even if you don't practice that way all the time.

And yeah, the calluses will come. You'll find that as the top layer gets dried out and starts peeling, hard skin from below will grow to replace it. It's least uncomfortable if you remove the dried skin while you're showering or something. Just don't overdo it or you'll be in pain once you dry off.


14 Jan 11, 00:56 CST

Post Comment

Spring classes

I just turned in my signed, finalized schedule today. Here's the low down on my spring 2011 classes:

First, two CS classes (CS electives) for my major: Operating Systems and Randomized Algorithms. The names are pretty self-explanatory: in OS, I will write my own OS by the end of the semester, and in Randomized Algorithms, I will learn about randomized algorithms, which are algorithms that involve randomness, like selecting a number from a list at random, rather than using a deterministic algorithm, which might always select the first number from the list. Whereas a deterministic algorithm is susceptible to an adversary who gives it the worst possible input (for which the algorithm takes longest to run), a randomized algorithm is not so susceptible because the randomness of the algorithm allows it to perform well even when given inputs that are bad for a deterministic algorithm.

As I have heard and expect, OS will probably be the most time-consuming class I take at Yale. I am ready for it. Bring it. Hit me with the C and Assembly code and multithreading. I am ready for some massive debugging sessions. Unfortunately, I am already slightly behind in the class because last weekend (the long weekend), when I was planning to spend lots of time on OS, I got a stomach bug and fever and was out of commission for three to four days, causing me to miss one OS class and not get any OS work done, as in my remaining time I had to work on stuff due Tuesday. However, tonight, and this weekend, I will make great progress on OS.

I finished the last distributional requirement I needed - a writing credit - last semester by taking Asian American History, which turned out to be a fantastic class. My TA was phenomenal; she wrote some really insightful comments on my papers, always pushing me to write with more of a historical narrative and interpretive voice. I was humbled at how challenging it is to write good history papers.

Though I'm done with my distributional requirements, I've decided to take another writing class this semester, which also happens to be the first English class I've taken at Yale - Readings in American Literature. On the train ride back home at the end of last semester, I was talking to another Stilesian who was telling me about many of the great English and Literature courses she had taken. I felt moved by her enthusiasm for these classes, and I decided to take an introductory English class in the spring. Browsing through the course catalog, I skipped English 114 (Writing Seminars I) because I wasn't too interested in writing research papers, and I skipped English 120 (Reading and Writing the Modern Essay) because even though it's creative writing focused (essays about yourself and your experiences), having to write six essays (drafts + revisions) is a bit too much for me. That left me with Major English Poets, Readings in American Literature, and Epic. I'm not that big a fan of poetry, and reading American Literature sounds a lot more interesting and fun than reading ancient Greek and Roman epics, so that's how I decided on this class.

Right now, we've started the class by reading the poems of Emily Dickinson, which I've really enjoyed, and over the semester, we'll cover Herman Melville's Moby Dick, Whitman, and many other lesser known American novelists. I'm looking forward to doing all the readings and discussing them in class. It's good to analyze literature once in a while, as it forces me to think in a different way than I'm used to.

Last spring, I took Elementary Musicianship I, the only half-credit class I've taken at Yale (all my other classes have been one-credit classes). After last semester, I have 22.5 credits fulfilled. I need 36 to graduate. I kind of want to round out that dangling half credit, so I decided to take Elementary Musicianship II this semester, which will give me another half-credit. This class is basically an ear training course that involves sight-seeing, chord analysis, and dictation (writing down what is played (usually notating just the soprano and bass lines)). I shopped this class last semester, but it felt too intense for me. The instructor was a bit too intimidating for me; she didn't make someone like me who does not have a lot of music theory background feel very comfortable. She seemed to rush through a lot of stuff that I guess she took for granted was easy for everyone, which didn't seem easy to me. So I decided not to take the class last semester. This semester, the same instructor is teaching the course again, but there's also another section with a graduate student. I shopped the section led by the grad student, and I decided to take the course with him. This class is a bit of a challenge for me, even though I've taken Elementary Musicianship I, because I haven't taken the music theory classes that are usually taken before or concurrently with this class. I'm also rusty at dictation because I haven't done it for almost a year. I also can't do chord analysis and hear the structure of a piece nearly as fast as some of the other students can. But nonetheless, I decided to take this class because I find the grad student instructor approachable and understanding of the different levels of the five students in his class. In the singing and dictation exercises we've done so far, I know I am struggling a bit, but I am trying my best and know I will get better, and I can tell the instructor understands and recognizes this. The class will definitely be a challenge, but I know my musicianship skills will improve tremendously by taking it.

The last class on my schedule is a nice, easy class to round out a pretty demanding schedule. It's a math class I never got around to taking - Linear Algebra and its Applications. [See this post for more details.] The section of this class I'm taking meets MWF 10:30-11:20 AM, and there's homework due at every class. However, I actually like this format. Classes are shorter and more bearable, and having homework due each class means the homework assignments are short, and doing them helps you keep up with the class. I've probably learned a lot of the material in this class from my exposure to linear algebra elsewhere, but I think it's important that I still take this class and fill in the gaps of my linear algebra knowledge. It's also nice to know other Stilesians and bandies in the class, who I can go over homework with.

That's the wrap on my schedule. I actually decided this schedule before starting the semester, and I only ended up shopping classes to figure out which section of linear algebra and elementary musicianship I wanted to take. I was planning to also take another computer science elective called Machine Learning, but I decided against it because (1) I realized realistically, I wouldn't be able to manage 5.5 credits, (2) the machine learning class was way too theoretical for my liking, (3) I thought the professor moved too slowly through the material, and (4) the class meets right after OS, and having two back-to-back 75-minute CS classes absolutely fries your brain.

I'm pretty happy with how my schedule turned out, and I'm glad that from here on out, I have no distributional requirements to worry about and can take any classes I want.

What classes are you taking this semester?

Comments:
Lily wrote:

Haha WHAT??? Linear Algebra is your nice easy class for the semester? Oh man, that thing was the last blow to my self-confidence freshman year. But we can't all be math beasts like Hsuman. :)

I remember OS as been one of the most harrowing experiences of my life - but in a good way. We did all our assignments with partners, so it was nice to have someone to keep us on track, and we really got done a lot more than we thought we could. Hope you enjoy! .


21 Jan 11, 18:02 CST
Erwa wrote:

Did you take a proof-based or problem-solving-based linear algebra course? I started taking the proof-based linear algebra class my freshman spring with Kate Mayans, but half way through the semester, we both decided it was too hard and dropped out of the class. I dropped math completely that semester, while Kate transferred into the problem-solving based class (which I'm now taking), and she said it was very manageable compared to the proof-based class. I also have a sense that Princeton math classes are probably much tougher than Yale math classes, since your school is much more known for its math than Yale is.

I remember reading your numerous posts elaborating on the epic battle that was OS. I am trying to keep them in mind and to start early! Yup, we get to work with partners, too. The way it works is for each lab, in the first week, each partner does the lab separately and turns in some code that has the right structure and shows you understand the material (it's not tested), and then in the second week, the two of you put your code together and make a working module which is tested for functionality. I like this structure as it allows each person in the class to learn the material and take a stab at the programming assignments but also allows for collaboration and team work.


21 Jan 11, 21:54 CST

Post Comment

Back