mark and sweep would not have caught this. The obstacle object was still reachable (since it was reachable from the Event Subscriber object, which would definitely be reachable). You would be correct if the problem was that the obstacle object held a reference to itself.
1) Work on opensource, or anywhere, for 2-3 years 2) move to Silicon Valley 3) ???? 4) profit!!! Seriously, we can't hire enough in my group. We're perfectly happy hiring fresh-outs and your salary will be significantly higher than the 35-55k that people are touting. Who are we? Guess.
One of my friends from college was on an international flight with his father. Who was allergic to smoke. The people on the flight refused to stop smoking... and the guys father passed away. If someone shows up on a flight with some contraption on his head that "claims" to filter smoke... how do you know it actually works?
Just because you can't see anything? Cigarette smoke is deadly... just because you have an addiction you can't quite doesn't mean that you can potentially endanger the lives of everyone around you (especiallly if you're in a confined space)
A microkernel design (while exceedingly elegant) was usually dismissed as being too slow (since the kernel was usually stuck sending tons of messages between these different services).
However, we've proven time and time again that at a certain point... performance becomes a secondary concern to maintainability and security/stability. Microkernels make that tradeoff and there are quite a few areas where this makes a lot of sense. Please read the original discussion between Linus and Tannenbaum circa '91 where they hash out WHY these things are different (it's a great read)
Can you seriously say that libraries and an internet connection can offer the same breadth of understanding that a real-live person can? I can't think of many people I know who would be able to simply google articles on calculus and understand it to the same extent that spending a lot of time in class and doing homework would. Don't get me wrong... I got an A in a history class (in college) once purely because I googl-ed the study guide the night before the midterm and the final. But my efforts to do that for other types of courses has been less than impressive.
Did you have a college near your high school? It was fairly common that if you exhausted your opportunities in a certain track (this was mostly math) then you would simply take a class at the locla college (they offered us an incredible discount). I ended up taking Differential Equations and Multivariable Calculus at a college nearby my senior year. I totally agree that all these things are only accessible if the student takes an interest in his own education.
Maybe I went to an incredibly good high school, but I found myself very well prepared (academically) for college. I'll admit that my High School was somewhat known for it's excellence in science... but the key is it was a public school that anyone in the area could go to and anyone else could test into. We offered a program called International Baccalaureate which is light-years ahead of AP in terms of college preparation.
I agree that the majority of HS are not doing their job... but there are still some that do. Having programs that are accessible for the motivated student and that challenge them is absolutely key to ensuring that students are able to succeed in college.
Your java example is incorrect... the code will print out
s1 is NOT s2
s1 DOESN'T equal s2
Why? Because you have a capital T in the first one. In java, in java.lang.object.equals is pretty much to be defined as "==". java.lang.String overrides this definition to actually check the individual characters for equality.
This is because even though normally all Strings in java are interned (meaning if you say foo="Foo";bar="Foo" then foo==bar i.e. foo and bar have the same memory location... if you explicitly new them (foo=new String("foo"); bar=new String("foo"); ) then they will be != but.equals will return true.
As to your second comment... such a proposed architecture would have other basic problems. Your proposal is analogous to the onboard cache we have... but remember, there you still have a virtual memory pointer that will check the cache...even if it's not there. You'd have to implement the VM so that if some object got moved to the cache area... all references to the object would have to be updated (otherwise besides.equals failing, if someone else updated the object you'd have an inconsistent application). Anyways, totally off the subject... I was just surprised at your first java-example which was the opposite of what you said it would be.
Something you have but something you remember (A pretty well known phrase). That's why VPNs require you put in a small PIN and use a small software token. It's easy to remember the pin and it's easy to steal the token... but the combination is much harder.
As products like this http://www.targus.com/us/product_details.asp?sku=P A460U/ become more prevalent (I saw one @ Fry's for 50 bucks) I hope this becomes less of a problem. A USB fingerprint reader that stores all of your passwords would be great. In order to access them you must
Use your fingerprint which brings up a dialog box where you can
Enter a pin number
Thats something I would buy (and trust)
Remember a few years ago when employees who posted prices on the deal websites (anandtech.com & fatwallet.com) were terminated? I remember that at least two guys... one from Home Depot and another from an office supplies stores were fired
http://www.spoofee.com/forums/archive/index.php/t- 1180.html/
It's because of this that the one post on/. I ever made about my employers products was made AC from home.
mark and sweep would not have caught this. The obstacle object was still reachable (since it was reachable from the Event Subscriber object, which would definitely be reachable). You would be correct if the problem was that the obstacle object held a reference to itself.
1) Work on opensource, or anywhere, for 2-3 years
2) move to Silicon Valley
3) ????
4) profit!!!
Seriously, we can't hire enough in my group. We're perfectly happy hiring fresh-outs and your salary will be significantly higher than the 35-55k that people are touting. Who are we? Guess.
www.yahoo.com
One of my friends from college was on an international flight with his father. Who was allergic to smoke. The people on the flight refused to stop smoking ... and the guys father passed away. If someone shows up on a flight with some contraption on his head that "claims" to filter smoke ... how do you know it actually works?
Just because you can't see anything? Cigarette smoke is deadly ... just because you have an addiction you can't quite doesn't mean that you can potentially endanger the lives of everyone around you (especiallly if you're in a confined space)
A microkernel design (while exceedingly elegant) was usually dismissed as being too slow (since the kernel was usually stuck sending tons of messages between these different services). However, we've proven time and time again that at a certain point ... performance becomes a secondary concern to maintainability and security/stability. Microkernels make that tradeoff and there are quite a few areas where this makes a lot of sense. Please read the original discussion between Linus and Tannenbaum circa '91 where they hash out WHY these things are different (it's a great read)
http://people.pwf.cam.ac.uk.nyud.net:8090/lwh21/ma chine/machine.avi
Can you seriously say that libraries and an internet connection can offer the same breadth of understanding that a real-live person can? I can't think of many people I know who would be able to simply google articles on calculus and understand it to the same extent that spending a lot of time in class and doing homework would. Don't get me wrong ... I got an A in a history class (in college) once purely because I googl-ed the study guide the night before the midterm and the final. But my efforts to do that for other types of courses has been less than impressive.
Did you have a college near your high school? It was fairly common that if you exhausted your opportunities in a certain track (this was mostly math) then you would simply take a class at the locla college (they offered us an incredible discount). I ended up taking Differential Equations and Multivariable Calculus at a college nearby my senior year. I totally agree that all these things are only accessible if the student takes an interest in his own education.
Maybe I went to an incredibly good high school, but I found myself very well prepared (academically) for college. I'll admit that my High School was somewhat known for it's excellence in science ... but the key is it was a public school that anyone in the area could go to and anyone else could test into. We offered a program called International Baccalaureate which is light-years ahead of AP in terms of college preparation.
I agree that the majority of HS are not doing their job ... but there are still some that do. Having programs that are accessible for the motivated student and that challenge them is absolutely key to ensuring that students are able to succeed in college.
Your java example is incorrect ... the code will print out
s1 is NOT s2
s1 DOESN'T equal s2
Why? Because you have a capital T in the first one. In java, in java.lang.object .equals is pretty much to be defined as "==". java.lang.String overrides this definition to actually check the individual characters for equality.
This is because even though normally all Strings in java are interned (meaning if you say foo="Foo";bar="Foo" then foo==bar i.e. foo and bar have the same memory location ... if you explicitly new them (foo=new String("foo"); bar=new String("foo"); ) then they will be != but .equals will return true.
As to your second comment ... such a proposed architecture would have other basic problems. Your proposal is analogous to the onboard cache we have ... but remember, there you still have a virtual memory pointer that will check the cache ...even if it's not there. You'd have to implement the VM so that if some object got moved to the cache area ... all references to the object would have to be updated (otherwise besides .equals failing, if someone else updated the object you'd have an inconsistent application). Anyways, totally off the subject ... I was just surprised at your first java-example which was the opposite of what you said it would be.
As products like this http://www.targus.com/us/product_details.asp?sku=P A460U/ become more prevalent (I saw one @ Fry's for 50 bucks) I hope this becomes less of a problem. A USB fingerprint reader that stores all of your passwords would be great. In order to access them you must
Use your fingerprint which brings up a dialog box where you can
Enter a pin number Thats something I would buy (and trust)
Remember a few years ago when employees who posted prices on the deal websites (anandtech.com & fatwallet.com) were terminated? I remember that at least two guys ... one from Home Depot and another from an office supplies stores were fired
http://www.spoofee.com/forums/archive/index.php/t- 1180.html/
It's because of this that the one post on /. I ever made about my employers products was made AC from home.