I have a joke amongst colleagues that I am "only good at fixing typos in open source projects."
Why?
Whenever I submit a code patch for some bug and/or feature in a open source project, it can often go ignored. Why? Because project maintainers are busy and they don't have time to look at every patch that comes in. If the patch solves some specific problem they are looking at, then you're in luck. But more than often I'm fixing something that isn't on their current radar. Eventually, the patch gets lost amongst the other patches in their review pile and is forgotten.
Why do I know that patches will be forgotten or ignored for long periods of time? It's because I do the same thing! :-) It's normal and reality with open source projects.
But what happens when I submit a patch that just fixes a typo in comments or a typo in documentation? This takes almost no effort to look through and review, so the patch is accepted immediately.
I do the same thing in projects I maintain.
As time goes on, there are a few projects that I suddenly feel like the only thing I can contribute is typo fixes.
Thus, I'm really good at fixing typos :-)
c'est la vie
Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts
Saturday, May 28, 2016
Friday, May 27, 2016
At what point am I a "Googler" and not a programmer?
Just the other day what should have been about 15-30 minutes of fixes to a Perl script took me atleast an hour because of constant "I can't remember how to do this in Perl" Google searches:
"perl elif or elsif" - I remembered enough that "else if" wasn't the correct syntax in Perl, but couldn't remember which of the common alternates it was.
"perl conditional string compare" - I couldn't remember if it was "eq" or "-eq".
"perl string concatentation" - I actually had bugs in my script because I thought "
"perl break continue" - Script errors informed me that I was using the wrong syntax. Had to out right Google the answer b/c I couldn't remember it (in Perl it's "last" and "next").
There might have been a few more searches.
Needless to say, Perl is not my bread and butter language. It's something I use once in awhile because I need to script something of some complexity just beyond a shell script. When you jump between languages, the exact syntax of what you should be using can become a blur.
So it lead me to this question I think about once in awhile "Am I a professional Googler?" There are times I spend way more time Googling than I would like to or think I should be.
First, is Googling an answer bad? Admittedly, it is something that just feels bad. A large part of this is because when you can't recall things from memory, you tend to think of yourself as stupid. In some ways, it makes you feel lazy. That perhaps reading a book would be wiser or finding the answer in a book would be the "smarter" thing to do.
IMO, this isn't the case. You can't remember everything. Many things I've done professionally in my career I haven't done from memory. Significant portions of programming knowledge came from books. When I needed a piece of information I developed a mental index of where to look in my mountains of books for specific answers. In fact, I distinctly remember having to go to my Perl book to look up "What's the perl equivalent of break & continue" in the past because I couldn't remember it then.
Eventually that mental index simply turned into Google. Various blogs, technical documentation, and StackOverflow have turned into the books on my shelf.
So I do not believe there isn't inherently anything wrong with Googling various answers and it doesn't make you any less smart.
But ...
Using Google to recall syntax nuances is one thing. I think there is a mental line one crosses to begin to wonder, "Am I really Googling too much?" At some point are you barely even programing?
I like to think of a recent project I worked on called Magpie.
Originally, I had more grandiose Big Data goals related to Big Data on HPC. But as things sometimes go, a far more humble solution using just Bash scripts was found to be just as much, if not more, useful than many of the original project ideas.
These Bash scripts were initially hacked up because they were meant to be "support" for my actual work. When we determined that the support-ish Bash scripts were what people found to be the most useful product of the work, did we turn it into a more polished product.
I never sat down and actually learned Bash scripting syntax at any point in my life. Basics such as conditionals and loops were cut and pasted from online guides when I've had to develop small scripts before. More nuanced things were gleened from more Googling and cut and pasting. There were many searches for "bash" + "sed|awk" + "some pattern" because I never learned many of the advanced features of sed or awk or any of the advanced Bash-isms.
I've cut and pasted my share of code before. Whenever I've needed a function that I deemed reasonably common and didn't want to write on my own, I was able to find one online. But this was different. I felt that I cut and pasted an entire solution together from stuff on StackOverflow. To be honest, if I was given simple interview programming questions and asked to do it in Bash, I doubt I'd be able to do it.
In contrast, I think of how I originally learned to program in C. I took a small C programming class in highschool. In college it was in a few of my classes. I read about half of the famous Stevens network programming book in college and the rest once I began my career. There were other books too. My programming expertise in C was hardened through many homework assignments, work assignments, and bugs.
Granted, C is a far different beast than Bash, but when I learned C the web was just in its infancy. A few not-great search engines like Excite and AltaVista existed. Google was just coming online. There was no Stackoverflow or blogs with help on individual niche topics. So learning it primarily meant you had to learn from scratch. So C programming is simply backed into my brain.
I wonder if things would have been the same if StackOverflow was around when I was first coding in C? Would I have not ever read the Stevens networking books and coded through StackOverflow? Is this what people do in college now doing their assignments?
It's something I've pondered. But getting back to the original question ... Am I a professional Googler?
I eventually realize the answer is no.
In actuality, it takes years to get the point that you can become proficient enough to actually understand what it is you are looking for so you can cut and paste off the internet. When you find the piece of cut & paste that is correct, you know it and you can use it.
What I have to remember is yes, I did cut & paste off the internet for much of Magpie. Perhaps it does make you feel lazy. But it was individual lines of syntax, not an entire solution. The real meat of Magpie is all of the Hadoop, Spark, etc. knowledge in Magpie within the scripts. I just needed bits of code to piece it together.
It's no different then when you cut & paste from your personal library of code. The first time you need to program something tricky, you really figure it out. But everytime you need it later, you cut & paste (or if it's a library, just call it, etc.). But eventually, you probably forget all the subtle details you put into making it robust and solid in the first place. Do I remember all the details of how to make a portable non-blocking connect call? Absolutely not. But after I wrote it the first time, I used it several more times over.
While writing this blog post, I had almost forgotten something. While I was developing Magpie, I did write many 5-10 line scripts off to the side to figure out "is this how the syntax works?" or "is this what I'm looking for?" I had completely forgotten this reality. So I didn't actually blindly cut and paste all of the time. And of course I did eventually learn some things.
And ultimately, at the end of the day, one tends to invest time in those things they think worthwhile. Do I consider Magpie to be of some complexity that it requires my attention to learn all Bash syntax in depth? The answer is no. So I didn't bother to.
"perl elif or elsif" - I remembered enough that "else if" wasn't the correct syntax in Perl, but couldn't remember which of the common alternates it was.
"perl conditional string compare" - I couldn't remember if it was "eq" or "-eq".
"perl string concatentation" - I actually had bugs in my script because I thought "
+" was supported in Perl. Whoops, it's "." in Perl."perl break continue" - Script errors informed me that I was using the wrong syntax. Had to out right Google the answer b/c I couldn't remember it (in Perl it's "last" and "next").
There might have been a few more searches.
Needless to say, Perl is not my bread and butter language. It's something I use once in awhile because I need to script something of some complexity just beyond a shell script. When you jump between languages, the exact syntax of what you should be using can become a blur.
So it lead me to this question I think about once in awhile "Am I a professional Googler?" There are times I spend way more time Googling than I would like to or think I should be.
First, is Googling an answer bad? Admittedly, it is something that just feels bad. A large part of this is because when you can't recall things from memory, you tend to think of yourself as stupid. In some ways, it makes you feel lazy. That perhaps reading a book would be wiser or finding the answer in a book would be the "smarter" thing to do.
IMO, this isn't the case. You can't remember everything. Many things I've done professionally in my career I haven't done from memory. Significant portions of programming knowledge came from books. When I needed a piece of information I developed a mental index of where to look in my mountains of books for specific answers. In fact, I distinctly remember having to go to my Perl book to look up "What's the perl equivalent of break & continue" in the past because I couldn't remember it then.
Eventually that mental index simply turned into Google. Various blogs, technical documentation, and StackOverflow have turned into the books on my shelf.
So I do not believe there isn't inherently anything wrong with Googling various answers and it doesn't make you any less smart.
But ...
Using Google to recall syntax nuances is one thing. I think there is a mental line one crosses to begin to wonder, "Am I really Googling too much?" At some point are you barely even programing?
I like to think of a recent project I worked on called Magpie.
Originally, I had more grandiose Big Data goals related to Big Data on HPC. But as things sometimes go, a far more humble solution using just Bash scripts was found to be just as much, if not more, useful than many of the original project ideas.
These Bash scripts were initially hacked up because they were meant to be "support" for my actual work. When we determined that the support-ish Bash scripts were what people found to be the most useful product of the work, did we turn it into a more polished product.
I never sat down and actually learned Bash scripting syntax at any point in my life. Basics such as conditionals and loops were cut and pasted from online guides when I've had to develop small scripts before. More nuanced things were gleened from more Googling and cut and pasting. There were many searches for "bash" + "sed|awk" + "some pattern" because I never learned many of the advanced features of sed or awk or any of the advanced Bash-isms.
I've cut and pasted my share of code before. Whenever I've needed a function that I deemed reasonably common and didn't want to write on my own, I was able to find one online. But this was different. I felt that I cut and pasted an entire solution together from stuff on StackOverflow. To be honest, if I was given simple interview programming questions and asked to do it in Bash, I doubt I'd be able to do it.
In contrast, I think of how I originally learned to program in C. I took a small C programming class in highschool. In college it was in a few of my classes. I read about half of the famous Stevens network programming book in college and the rest once I began my career. There were other books too. My programming expertise in C was hardened through many homework assignments, work assignments, and bugs.
Granted, C is a far different beast than Bash, but when I learned C the web was just in its infancy. A few not-great search engines like Excite and AltaVista existed. Google was just coming online. There was no Stackoverflow or blogs with help on individual niche topics. So learning it primarily meant you had to learn from scratch. So C programming is simply backed into my brain.
I wonder if things would have been the same if StackOverflow was around when I was first coding in C? Would I have not ever read the Stevens networking books and coded through StackOverflow? Is this what people do in college now doing their assignments?
It's something I've pondered. But getting back to the original question ... Am I a professional Googler?
I eventually realize the answer is no.
In actuality, it takes years to get the point that you can become proficient enough to actually understand what it is you are looking for so you can cut and paste off the internet. When you find the piece of cut & paste that is correct, you know it and you can use it.
What I have to remember is yes, I did cut & paste off the internet for much of Magpie. Perhaps it does make you feel lazy. But it was individual lines of syntax, not an entire solution. The real meat of Magpie is all of the Hadoop, Spark, etc. knowledge in Magpie within the scripts. I just needed bits of code to piece it together.
It's no different then when you cut & paste from your personal library of code. The first time you need to program something tricky, you really figure it out. But everytime you need it later, you cut & paste (or if it's a library, just call it, etc.). But eventually, you probably forget all the subtle details you put into making it robust and solid in the first place. Do I remember all the details of how to make a portable non-blocking connect call? Absolutely not. But after I wrote it the first time, I used it several more times over.
While writing this blog post, I had almost forgotten something. While I was developing Magpie, I did write many 5-10 line scripts off to the side to figure out "is this how the syntax works?" or "is this what I'm looking for?" I had completely forgotten this reality. So I didn't actually blindly cut and paste all of the time. And of course I did eventually learn some things.
And ultimately, at the end of the day, one tends to invest time in those things they think worthwhile. Do I consider Magpie to be of some complexity that it requires my attention to learn all Bash syntax in depth? The answer is no. So I didn't bother to.
Tuesday, December 29, 2015
Battling Dry Eyes and Eye Strain
On and off over the last year I've been dealing with some eye-strain, dry eyes, and eye allergies. After some trial and error, I was eventually able to solve the problem(s).
The problem was a little hard to isolate b/c there were a number of competing problems. In addition, one issue can actually lead to the other.
I thought I'd share what I figured out, what I did, and some random tips/tricks in the hopes it helps people out there. I know I'm not the only software engineer / office worker that has to deal with these problems.
Of course a DISCLAIMER, I'm not a medical professional.
Part 1 - What I was doing Wrong
1) Not Blinking / Focusing Too Hard
As a software engineer, you unfortunately have to stare at a computer a good part of the day. You probably also have to stare at your phone too. If you're like me, some video games after work to relax or reading a book at night might be adding to the problem.
Apparently human beings, when concentrating, blink less than they normally do. This is bad. Blinking adds moisture and other teary goodness/oils to your eyes. When you blink less, your eyes can dry out. When you blink less, your eyes aren't clearing out dust/allergens like they normally are.
I'll let you Google for yourself about strategies to blink more, but it took some time to retrain myself to do this.
2) Not Taking Breaks
It goes without saying that when you're sitting at a desk all day, it can effect your eyes. Your ocular muscles are no different than any other muscle in your body. When they get fatigued they begin to get sore.
Taking a break to look off into the distance and just relax your eyes from staring at a monitor is a great break. Eye strain itself can lead to dry eyes too.
There is a general 20-20-20 rule that's stated on many websites. Every twenty minutes, stare off in the distance of atleast 20 feet, for 20 seconds.
I didn't necessarily follow this, but the general rule of take a lot of breaks and stare off into the distance is a good idea. I now force myself to get up and walk around the hall atleast every hour. I also try to go for a longer walk every afternoon. I used a timer on my phone to force this at one point, but I just know to do this now.
3) Not having good ergonomics
While my ergonomic setting wasn't terrible, it wasn't ideal and probably exacerbated a number of issues. Luckily I have an ergonomic evaluator at work that found the following problems for me.
This goes without saying, get your eyes checked. Squinting can increase eye strain & dry eyes too.
It ends up that my vision was actually fine. I was actually squinting b/c of my dry eyes and seasonal allergies. I didn't want to open my eyes as wide to avoid having them dry out.
5) Running a fan at night
When it's hot during the summer, I sometimes run a fan by my bed to keep me cool. Bad idea as the air / wind can totally dry out your eyes.
6) AC + Allergies
These are the two factors that are sort of not in my control but probably exacerbated the problem for me. If all of the above happened during the winter (minus the fan at the night), things might have been more tolerable.
Air conditioning can dry out the air and lower the humidity in your home and working environment.
Allergies are controllable through all the normal mechanisms, but there are circumstances you can't control b/c you have to be outside at some point.
Part 2 - What to do
1) Eye Drops
So you can buy various over the counter eye drops to help with dry eyes and/or allergies. However, I would caution to buy anything w/ preservatives in them. I unfortunately seemed to be sensitive / allergic to several of them, which made my problem worse for awhile.
My understanding is that you need to keep at it for awhile. If your eyes have been really dried out, the tear film has been weakened. Using eye drops for awhile can help moisturize your eyes making you feel better, but at the same time it gives your eyes more opportunity to heal.
2) Use warm / cold compresses
Using warm & cold compresses helped my eyes rest / heal. You can use normal towels with water or ice, but you can actually buy compresses that are specific to your eyes. They are far more convenient.
However, it is important differentiate when to use warm or cold compresses. It was hard for me to figure out what was what and when to use what. What I eventually figured out was:
3) Massaging your eyes
I eventually realized that some muscle tension built up in the muscles around my eyes, likely contributing to the eye strain.
You can look up your own massage your eye videos on Youtube, but the core massages that helped were:
4) Rest
As much as we all have work to do, the best thing to do is just rest. Stop looking at a computer whenever you can.
5) Turned off the lights
It ends up I did have some sensitivity to the fluorescent lights in my office. I read online that it's a fairly common issue for people who have dry eyes. After all, part of your tear film has been weakened, so it makes sense. Luckily for me I work in my own office, so I could just turn off the lights and only suffer them in meeting rooms until things got better.
It's also possible my monitor was old and bright and/or flickering. Turning down the brightness helped as well as looking at my laptop (which for some reason was better).
6) Humidifier
It sucks to add moisture to the air when its hot outside, but it's important to keep the air reasonably humid and not too dry. I tried to just keep the humidity at about 40%. More can lead to mold growth in your house, etc.
7) Eye Exercises
So I'm not 100% positive about this, but there are anecdotal stories that eye exercises can help strengthen your ocular muscles and make eye strain less of an issue. My ophthalmologist suggested pencil push-ups which I did for awhile. I'm not sure how much it helped or not.
However, after I started playing Fallout 4 (a first person shooter video game) my eye strain at work started to get a lot better. The first night I played Fallout 4, I had a terrible headache the next day. Then, as time went on the headaches didn't happen anymore and my eye strain began to get better (both at work and playing the game).
I'm no doctor, but I could see that first person shooters are an "intense" ocular workout as you have to move your eyes around a lot. It makes sense that the ocular muscles could have been built up a bit.
8) Have patience
It can take a lot of time, likes many months.
Good luck to anyone out there who read this.
The problem was a little hard to isolate b/c there were a number of competing problems. In addition, one issue can actually lead to the other.
I thought I'd share what I figured out, what I did, and some random tips/tricks in the hopes it helps people out there. I know I'm not the only software engineer / office worker that has to deal with these problems.
Of course a DISCLAIMER, I'm not a medical professional.
Part 1 - What I was doing Wrong
1) Not Blinking / Focusing Too Hard
As a software engineer, you unfortunately have to stare at a computer a good part of the day. You probably also have to stare at your phone too. If you're like me, some video games after work to relax or reading a book at night might be adding to the problem.
Apparently human beings, when concentrating, blink less than they normally do. This is bad. Blinking adds moisture and other teary goodness/oils to your eyes. When you blink less, your eyes can dry out. When you blink less, your eyes aren't clearing out dust/allergens like they normally are.
I'll let you Google for yourself about strategies to blink more, but it took some time to retrain myself to do this.
2) Not Taking Breaks
It goes without saying that when you're sitting at a desk all day, it can effect your eyes. Your ocular muscles are no different than any other muscle in your body. When they get fatigued they begin to get sore.
Taking a break to look off into the distance and just relax your eyes from staring at a monitor is a great break. Eye strain itself can lead to dry eyes too.
There is a general 20-20-20 rule that's stated on many websites. Every twenty minutes, stare off in the distance of atleast 20 feet, for 20 seconds.
I didn't necessarily follow this, but the general rule of take a lot of breaks and stare off into the distance is a good idea. I now force myself to get up and walk around the hall atleast every hour. I also try to go for a longer walk every afternoon. I used a timer on my phone to force this at one point, but I just know to do this now.
3) Not having good ergonomics
While my ergonomic setting wasn't terrible, it wasn't ideal and probably exacerbated a number of issues. Luckily I have an ergonomic evaluator at work that found the following problems for me.
- Keep your computer monitor below your eyes / Keep the top of the monitor at the top of your vision level. If your monitor is above you vision line, you open up your eyes more, which can lead to your eyes drying out.
- Your monitor should be about 20-28 inches in front of you. Mine was 32 or more inches away, which can lead more eye strain.
- Although I've been at my desk for many years, I have an air vent above my desk. Likely not the biggest culprit, but it was likely a contributor to drying out my eyes.
This goes without saying, get your eyes checked. Squinting can increase eye strain & dry eyes too.
It ends up that my vision was actually fine. I was actually squinting b/c of my dry eyes and seasonal allergies. I didn't want to open my eyes as wide to avoid having them dry out.
5) Running a fan at night
When it's hot during the summer, I sometimes run a fan by my bed to keep me cool. Bad idea as the air / wind can totally dry out your eyes.
6) AC + Allergies
These are the two factors that are sort of not in my control but probably exacerbated the problem for me. If all of the above happened during the winter (minus the fan at the night), things might have been more tolerable.
Air conditioning can dry out the air and lower the humidity in your home and working environment.
Allergies are controllable through all the normal mechanisms, but there are circumstances you can't control b/c you have to be outside at some point.
Part 2 - What to do
1) Eye Drops
So you can buy various over the counter eye drops to help with dry eyes and/or allergies. However, I would caution to buy anything w/ preservatives in them. I unfortunately seemed to be sensitive / allergic to several of them, which made my problem worse for awhile.
My understanding is that you need to keep at it for awhile. If your eyes have been really dried out, the tear film has been weakened. Using eye drops for awhile can help moisturize your eyes making you feel better, but at the same time it gives your eyes more opportunity to heal.
2) Use warm / cold compresses
Using warm & cold compresses helped my eyes rest / heal. You can use normal towels with water or ice, but you can actually buy compresses that are specific to your eyes. They are far more convenient.
However, it is important differentiate when to use warm or cold compresses. It was hard for me to figure out what was what and when to use what. What I eventually figured out was:
- eye strain - your eyes are sore, tired, or fatigued in some fashion. Imagine you're sore after running, it's that kind of feeling with your eyes. Just like with sore muscles, warm or cold compress are good to relax your muscles / lower inflammation in muscles.
- allergies - your eyes may be dry, but the core differentiator is there is some itchiness or inflammation (which to me felt like my eyes were "big" or swelling). Use a cold compress to reduce inflammation. A warm compress here is bad. If your eyes are redder after using a warm compress, I think that's an indicator it's allergies and not dry eyes.
- dry eyes - your eyes feel sticky or not well, but it isn't itchy or have any feeling of inflammation, use a warm compress to create tears and oil. I suppose cold compresses wouldn't hurt here, but they probably don't help.
3) Massaging your eyes
I eventually realized that some muscle tension built up in the muscles around my eyes, likely contributing to the eye strain.
You can look up your own massage your eye videos on Youtube, but the core massages that helped were:
- massage your temples
- massage the muscles around your temple / connected to your temple
- massage your eyebrows
- massage your forehead area / muscles connected to our eye brows
- massage around your eye socket
- massage the pressure points around your eye & nose
- massage the middle point between your eyebrows and above your nose
4) Rest
As much as we all have work to do, the best thing to do is just rest. Stop looking at a computer whenever you can.
5) Turned off the lights
It ends up I did have some sensitivity to the fluorescent lights in my office. I read online that it's a fairly common issue for people who have dry eyes. After all, part of your tear film has been weakened, so it makes sense. Luckily for me I work in my own office, so I could just turn off the lights and only suffer them in meeting rooms until things got better.
It's also possible my monitor was old and bright and/or flickering. Turning down the brightness helped as well as looking at my laptop (which for some reason was better).
6) Humidifier
It sucks to add moisture to the air when its hot outside, but it's important to keep the air reasonably humid and not too dry. I tried to just keep the humidity at about 40%. More can lead to mold growth in your house, etc.
7) Eye Exercises
So I'm not 100% positive about this, but there are anecdotal stories that eye exercises can help strengthen your ocular muscles and make eye strain less of an issue. My ophthalmologist suggested pencil push-ups which I did for awhile. I'm not sure how much it helped or not.
However, after I started playing Fallout 4 (a first person shooter video game) my eye strain at work started to get a lot better. The first night I played Fallout 4, I had a terrible headache the next day. Then, as time went on the headaches didn't happen anymore and my eye strain began to get better (both at work and playing the game).
I'm no doctor, but I could see that first person shooters are an "intense" ocular workout as you have to move your eyes around a lot. It makes sense that the ocular muscles could have been built up a bit.
8) Have patience
It can take a lot of time, likes many months.
Good luck to anyone out there who read this.
Friday, August 28, 2015
Looking back at "The Anatomy of a Large-Scale Hypertextual Web Search Engine"
I recently read the famous paper "The Anatomy of a Large-Scale Hypertextual Web Search Engine". It's a paper written by the Google co-founders Larry Page and Sergey Brin circa 1997/1998 about their web search engine research while they were students at Stanford. The very first sentence of the paper summarizes its contents quite well, "In this paper, we present Google, a prototype of a large-scale search engine ...".
The paper is very interesting looking back on it 17-18 years after it was published. I thought I'd comment on some of the fun things I read.
Improved Search Quality
Major Data Structures
Throughout this section, Brin & Page continually do "bit stuffing" to save storage space. Typically only done by those dealing with firmware, I find it a little ironic that they had to go to such lengths. Given the amount of data they had to deal and the amount of hardware resources they had, it was obviously justified. But it's sort of funny to think about it given today's data sizes and hardware resources that Google, Facebook, Yahoo, Bing, etc. have.
Servers to Crawl the Web
The original Google used a single URL server to serve lists to 3 web crawlers. Insanely tiny by today's standards. Of course, it was a much tinier web in the 1990s.
Social Consequences to Web Crawling
Perhaps the best part of the paper, Brin & Page talk of the social consequences of their crawler. Most notably, some website owners were confused at what a web crawler was and why they were looking at their page. Some would e-mail them asking questions ... some even called them.
Storage Requirements
Apparently the original Google had a compressed repository of just 53GB of data. Insanely puny by today's standards.
System Performance
In addition, it took only 9 days to download all of the data on the web at the time. It's not clear how many machines were at their disposal, but it did not appear to be more than maybe a dozen (as said above, they only used 3 for web crawling, and they note they used 4 for sorting the index).
"Advertising and Mixed Motives"
In this appendix section Brin & Page talk about the conflict of interest that search engines have when advertising is involved. They specifically site the search of "cellular phone" as a keyword and say
The paper is very interesting looking back on it 17-18 years after it was published. I thought I'd comment on some of the fun things I read.
Improved Search Quality
November 1997, only one of the top four commercial search engines finds itself (returns its own search page in response to its name in the top ten results)If the above is true, it is truly comical by today's standards of web search quality.
Major Data Structures
Throughout this section, Brin & Page continually do "bit stuffing" to save storage space. Typically only done by those dealing with firmware, I find it a little ironic that they had to go to such lengths. Given the amount of data they had to deal and the amount of hardware resources they had, it was obviously justified. But it's sort of funny to think about it given today's data sizes and hardware resources that Google, Facebook, Yahoo, Bing, etc. have.
Servers to Crawl the Web
The original Google used a single URL server to serve lists to 3 web crawlers. Insanely tiny by today's standards. Of course, it was a much tinier web in the 1990s.
Social Consequences to Web Crawling
Perhaps the best part of the paper, Brin & Page talk of the social consequences of their crawler. Most notably, some website owners were confused at what a web crawler was and why they were looking at their page. Some would e-mail them asking questions ... some even called them.
Storage Requirements
Apparently the original Google had a compressed repository of just 53GB of data. Insanely puny by today's standards.
System Performance
In addition, it took only 9 days to download all of the data on the web at the time. It's not clear how many machines were at their disposal, but it did not appear to be more than maybe a dozen (as said above, they only used 3 for web crawling, and they note they used 4 for sorting the index).
"Advertising and Mixed Motives"
In this appendix section Brin & Page talk about the conflict of interest that search engines have when advertising is involved. They specifically site the search of "cellular phone" as a keyword and say
It is clear that a search engine which was taking money for showing cellular phone ads would have difficulty justifying the page that our system returned to its paying advertisers. For this type of reason and historical experience with other media [Bagdikian 83], we expect that advertising funded search engines will be inherently biased towards the advertisers and away from the needs of the consumers.It's ironic of course, b/c this is nearly the exact opposite of modern day Google. A search for "cellular phone" on the site returned for me (in order)
- An iPhone ad on apple.com
- An ad for cell phones off a retailer site
- An ad for Sprint
- A Google Maps result for several retailers that sell cell phones
- The Wikipedia article for "Mobile Phone"
Friday, January 30, 2015
Ubuntu fixing Firefox flash "This plugin is vunerable and should be updated"
Recently Firefox wasn't working with Flash. I was getting "This plugin is vunerable and should be updated."
For the life of me, I couldn't figure out what was wrong. Finally did the nuclear option.
> sudo apt-get remove --purge flashplugin-installer
> sudo apt-get install flashplugin-installer
then restarted my machine. All fixed.
For the life of me, I couldn't figure out what was wrong. Finally did the nuclear option.
> sudo apt-get remove --purge flashplugin-installer
> sudo apt-get install flashplugin-installer
then restarted my machine. All fixed.
Thursday, October 23, 2014
Clearing DHCP leases on Ubuntu (14.04 Trusty Tahr)
Got a new router from my provider today. All my other wireless devices (tablet, printer, etc.) connected up fine to the new router, but for some reason my Ubuntu laptop wouldn't.
When I plugged in an ethernet cable, everything was fine, DHCP was working fine.
Eventually a noticed that for some reason the DHCP lease for the Wifi was not clearing and I was getting an old IP address.
Eventually via some simple Google searches learned that you should clear old DHCP leases in /var/lib/dhcp.
But for some reason that wasn't working ... what else was I missing?
After some trial and error, the key was also clearing the leases stored in /var/lib/NetworkManager.
Hopefully this proves useful for someone out there in the Internet. I'm sure there are some pretty GUI based ways to do this, but I'm not a GUI person and was unaware of how to do it that way.
When I plugged in an ethernet cable, everything was fine, DHCP was working fine.
Eventually a noticed that for some reason the DHCP lease for the Wifi was not clearing and I was getting an old IP address.
Eventually via some simple Google searches learned that you should clear old DHCP leases in /var/lib/dhcp.
But for some reason that wasn't working ... what else was I missing?
After some trial and error, the key was also clearing the leases stored in /var/lib/NetworkManager.
Hopefully this proves useful for someone out there in the Internet. I'm sure there are some pretty GUI based ways to do this, but I'm not a GUI person and was unaware of how to do it that way.
Subscribe to:
Posts (Atom)