I actually really like the prototype system, it makes introspection (also know as reflection) really easy. Surely class based has its advantages and I actually believe that could exist in a single system and be used where it is more appropriate. In my opinion once you start getting too big class hierarchies you should start using mixins and prototype based OO.
The only part of introspection that's easy is to figure out if a function is defined immediately on a class instance via `hasOwnProperty.` Everything else is very difficult.
For example, to build their dependency injection system AngularJS actually converts functions to source via `toString` then runs a regex on that to parse the count and names of function parameters so they can figure out what params to pass. This works (mostly, there are problems with minified code) but is a hack that pushes what should be compiler activity to runtime and slows startup.
That said - I agree with the rest of your comment. Towering class hierarchies are no ones friend and mixins allow for the quick creation of instances that would otherwise require one-off classes.
The dictionary used to be a very different book, meant for much more than listing definitions.
From the blog post linked below: "The first thing you’ll notice is that the example sentences don’t sound like they came out of a DMV training manual (“the lights started flashing”) — they come from Milton and Shakespeare and Tennyson (“A thought flashed through me, which I clothed in act”)."
After reading James Somers' post about adding the 1913 Webster's dictionary to his system I gave it a try. The old dictionary sometimes has archaic definitions but is generally much more useful and even entertaining to use.
If you've got lots of plugins for Chrome, try disabling most or all of them and see if that makes a difference. Plugins run in the same process as the browser and can add JS code to 'background' pages that are present in memory even when you're not interacting with the plugin.
Google published a remote desktop plugin for the Chrome browser. It's not Open Source, but it is free (as in beer), and professionally written installation / setup instructions are available in multiple languages.
Actual remote access for you will be controlled by the user, they create a one-time passkey in Chrome and share that with you to connect to their system.
For non-technical users adding a browser plugin is going to be much easier to understand than messing around with port forwarding and system permissions.
"The National Rifle Association has launched a website defending the use of lead ammunition against scientists and environmental organizations..."
Okay then, at least they didn't defend the use of water boarding on scientists. Oh wait, I totally parsed that wrong due to my inherent bias against anything coming from the NRA. So, I checked the link and saw that it goes to a site "huntfortruth.org" (so you can kill it). Dang! There goes that inbuilt sarcasm again.
Here's a report, republished from Association of Firearm and Tool Mark Examiners Journal, Volume 31 Number 4, Fall 1999 written with assistance from a researcher a the Oak Ridge National Laboratory that details what a "green" bullet is: http://www.firearmsid.com/Feature%20Articles/GreenBullets/GreenBullets.htm
So the guy figured out that browsers render all links on a page and then reflow any that should by styled to indicate they have already been visited. Apparently you can figure out which links have been reflowed by checking the number of frames that have to be rendered to display a link. Not a big deal, and if your site uses the same style for links that are already visited, not an actual attack vector.
The second attack, using SVG (or, I assume) canvas to create a screenshot of what's visible to the end user could be leveraged for an actual attack, you know, if everyone didn't put iframe busting code on their pages served over SSL. Vendors can update the SVG rendering system to adhere to the same cross domain restrictions as other components and not include pixels from iframes in the buffer that is available to inspect via JS and this hole will be closed.
Not too much to worry about here, but I'm surprised that SVG doesn't already do this (canvas won't allow JS to work with cross-domain images unless they have been served with a header that marks them as "safe" according to their originating service).
Node.js supports the use of addons written in C/C++.
Use JS for libraries that are shared between client & server (e.g. HTML templating) and for logic that changes frequently or needs to be accessible to dedicated front-end devs (e.g. request routing). Use compiled C for code that needs to be extremely fast &/or robust (e.g authentication & creation of dynamic resources).
well, it's not true really. In the following example x will have global scope and y will be local to its function:
x=2; function test() {
y = x + 3; }
--
The declaration of the variable 'y' in the example is missing its keyword 'var' and will unintentionally create a globally scoped variable. Should be: var x = 2; function test(){ var y; y = x + 3;// could also place the var statement inline with assignment operator } console.log(x);// prints 2 to the JS console console.log(typeof y);// prints 'undefined' to the JS console
- well, there is the keyword "inherits" and it does allow an object to be extended and you can use the 'prototype' to have multiple inheritance.
The prototype inheritance pattern doesn't allow for true multiple inheritance (like what C++ has). However, you can fake it by munging functions from multiple classes into your class' prototype effectively providing the functionality of multiple inheritance in simple cases.
This may be what Fairpoint is doing to give users access through their branded portal. These same APIs mean that any user can implement their own non-Fairpoint approved access mechanism for their webmail.
It may not be a solution for all users, but at least yahoo's opened up enough that there are options available in the case of abusive network access providers.
Don't forget to calculate the total cost of storage over a period of 10 - 20 years into your total return.
Oh, and of course there is the chance that there won't be _any_ copies of the games these magazines talk about around in another 10 to 20 years, in which case the magazines would be useless and (I assume) without any monetary value.
I say - cut their spines and let the juicy fluids of their information seep out into the 'net!
I view URL's as API calls to remote systems, all that URL shrinking services do is wrap that function call into a format that's easier to type from a cell phone or IM session. So, as they are currently implemented - no, these services do not weaken 'net architecture.
However, like an API wrapper they do include the possibility of creating side effects on call, e.g. the potential for abuse exists. So what? Everything on the 'net has the potential to be abused. And if your favorite URL shrinking service starts behaving badly, it's not like it would take more than a day or two to write your own replacement.
The author of the article doesn't emphasize that the interesting thing about this network (besides it being associated with Haaaavard and therefore news-worthy to certain people) is that it's a distributed sensor network. It doesn't just pass data between nodes, each node is capable of creating and sharing data with the rest of the network. In fact, that's the only thing that's interesting about this at all. I mean, did Google force Mountain View to install new wireless node poles when they put in their WiFi or did they just piggyback on existing infrastructure? And, as someone else has mentioned, Ricochet networks did the whole city-wide data network thing in the late 90's.
So, if you've been looking for a place to test out your predictive models of chemical dispersion under real-world conditions, it sounds like Cambridge is the place to go.
Wow, Jon Katz, that brings back memories. Or not, as I was having some issues with... um, memory back then. Yeah, that's it.
Whatever happened to him? *wavy transition effect*
*Fade in to a field, mostly tall grasses with some scattered oak trees. It could be the back campus of Stanford or SLAC. A man is running through the grass, pauses to look back his eyes wide with terror*
Jon Katz: "I knew that I shouldn't have take that plutonium from the Libyans. If only the time machine had worked, we would have been able to bring back reviews of software before it even shipped. Hell, before its authors even thought of it. If only..."
*JK turns and runs away from the camera. The sound of a 1970's VW van is heard off camera, engine revving, followed by ululations*
*The camera pulls back and pans left, bringing the Libyans in the van into the scene. One Libyan is standing up, poking through an opening in the top of the van and holding an AK47. The van shoots through the field scattering cow pies and bouncing across large gopher holes. Somehow the upright Libyan maintains his balance while cocking the weapon.*
*JK is making a dash for a clump of oak trees, but the Libyans are closing in.*
*Jump cut - the camera is now in front of JK, we can see his pursuers quickly catching up a look of triumph on their faces. JK is almost to the clump of trees, pauses and reaches into his radiation suit to withdraw a pistol. He turns, faces the Libyans and empties the six chambers without effect. JK throws the gun towards the van in a half hearted final attempt to stop them.*
*Jump cut - the camera is now behind the Libyans as they slow their van approx. 20 feet from JK. He puts his hands up into the air, the Libyan standing through the hole in the van roof takes aim with the AK47 and unleashes the entire clip on full-auto into JK's chest. JK shakes and jumps with the impacts, then falls back into the grass, apparently lifeless.*
But you got out right? I'm in university IT hell right now... rogue administrative departments deploy their own solutions, central IT doesn't have any clue (why yes, we are still running NT4 systems. It's what the sysadmins are comfortable with.), and there's always money for new capital expenses but not salaries or training.
Just gotta hang on for a few (12 is a "few" right?) more months... Please tell me that you got out to a job that has proper hardware support and requires specifications for projects before they begin.
Well, geeks and people who have to design two or three different implementations of a web page so it will show up correctly for all visitors. Oh, and the people who have to pay those developers who are now putting in overtime... and the content authors whose work is framed by the pages that the developers make (and want to appear equally professional to all visitors)... and maybe the investors in the company that hired the developers who want to get to IPO and get their money out as soon as possible.
But yeah, mostly just geeks care about that stuff;-)
Nice. I thought that they'd killed the WinPE distro some years back... heck, I was only able to get a copy for use at work by digging through old Microsoft Select subscription CDs as MS _did_ pull it from the download site.
Having a bootable image of Windows is nice, I don't get why they don't advertise it more. In fact, bootable images in general are great. They're what convinced me to switch to Ubuntu for my primary personal system, and allowed me to easily lobby my superiors to consider a Linux rollout instead of a Vista hardware / software upgrade in the near future.
Seriously, the title sounds like a perfect description, it's pithy but approachable. Perhaps you've been thrown off by the huge number of programming jobs that have the "analyst" added. Not that many of these people ever get to interview users and actually, you know, analyze use cases or work flows...
I would have much rather paid less for the laptop, added windows onto the price and arrived in mostly the same place.
If they came "clean" you'd pay more for the hardware and still have to pay for Windows. The factory is paid by software producers to put all that spyware on the system. The spyware effectively subsidizes the price of the system.
Personally, I prefer to pay less cash and then perform a wipe and install than to pay more and still have to perform an installation. But for people who are uncomfortable doing that, or who's time is more valuable than my own, the pre-installed spyware on systems from national retail outlets is a great reason to buy from a locally owned shop, Dell, or IBM.
Stainless isn't that hard to sharpen, but it won't hold a decent edge. Too soft. You need a high-carbon steel to get a good edge that lasts (except for the rusting part).
I second the idea of a ceramic blade that someone below me suggested. You could even make them in different colors for folks with designer bathrooms.
[quote]If you're gonna get in a Katrina-type situation, rather have your data in some server in Germany than in your pocket.[/quote] Hey, 1and1 is my web host too. I can't believe that the much vaunted MySpace died completely due to a single datacenter going down when even little 'ol me with a blog that gets maybe 100 hits a month (including spambots) has a provider with co-located facilities.
Isn't this bill going at things the wrong way? There are far fewer predators than there are children, so it would be easier to regulate their behavior than to force filtering technologies onto every primary/secondary school and library in the nation.
Also, after reading the text of the bill (available in PDF http://www.politechbot.com/docs/fitzpatrick.social .networking.051006.pdf ) I noticed that there is an exception for computers that are being used for 'Educational' purposes... so doesn't that exempt the primary target of the law? Or did they only want to block social networking sites that students are visiting from school computers after 3PM?
I actually really like the prototype system, it makes introspection (also know as reflection) really easy. Surely class based has its advantages and I actually believe that could exist in a single system and be used where it is more appropriate. In my opinion once you start getting too big class hierarchies you should start using mixins and prototype based OO.
The only part of introspection that's easy is to figure out if a function is defined immediately on a class instance via `hasOwnProperty.` Everything else is very difficult.
For example, to build their dependency injection system AngularJS actually converts functions to source via `toString` then runs a regex on that to parse the count and names of function parameters so they can figure out what params to pass. This works (mostly, there are problems with minified code) but is a hack that pushes what should be compiler activity to runtime and slows startup.
That said - I agree with the rest of your comment. Towering class hierarchies are no ones friend and mixins allow for the quick creation of instances that would otherwise require one-off classes.
The dictionary used to be a very different book, meant for much more than listing definitions.
From the blog post linked below:
"The first thing you’ll notice is that the example sentences don’t sound like they came out of a DMV training manual (“the lights started flashing”) — they come from Milton and Shakespeare and Tennyson (“A thought flashed through me, which I clothed in act”)."
http://jsomers.net/blog/dictio...
After reading James Somers' post about adding the 1913 Webster's dictionary to his system I gave it a try. The old dictionary sometimes has archaic definitions but is generally much more useful and even entertaining to use.
If you've got lots of plugins for Chrome, try disabling most or all of them and see if that makes a difference. Plugins run in the same process as the browser and can add JS code to 'background' pages that are present in memory even when you're not interacting with the plugin.
Google published a remote desktop plugin for the Chrome browser. It's not Open Source, but it is free (as in beer), and professionally written installation / setup instructions are available in multiple languages.
Actual remote access for you will be controlled by the user, they create a one-time passkey in Chrome and share that with you to connect to their system.
Here's the plugin page: https://chrome.google.com/webstore/detail/chrome-remote-desktop/gbchcmhmhahfdphkhkmpfmihenigjmpp
Here's the support page: https://support.google.com/chrome/answer/1649523?hl=en
For non-technical users adding a browser plugin is going to be much easier to understand than messing around with port forwarding and system permissions.
"The National Rifle Association has launched a website defending the use of lead ammunition against scientists and environmental organizations..."
Okay then, at least they didn't defend the use of water boarding on scientists. Oh wait, I totally parsed that wrong due to my inherent bias against anything coming from the NRA. So, I checked the link and saw that it goes to a site "huntfortruth.org" (so you can kill it). Dang! There goes that inbuilt sarcasm again.
Here's a report, republished from Association of Firearm and Tool Mark Examiners Journal, Volume 31 Number 4, Fall 1999 written with assistance from a researcher a the Oak Ridge National Laboratory that details what a "green" bullet is: http://www.firearmsid.com/Feature%20Articles/GreenBullets/GreenBullets.htm
So the guy figured out that browsers render all links on a page and then reflow any that should by styled to indicate they have already been visited. Apparently you can figure out which links have been reflowed by checking the number of frames that have to be rendered to display a link. Not a big deal, and if your site uses the same style for links that are already visited, not an actual attack vector.
The second attack, using SVG (or, I assume) canvas to create a screenshot of what's visible to the end user could be leveraged for an actual attack, you know, if everyone didn't put iframe busting code on their pages served over SSL. Vendors can update the SVG rendering system to adhere to the same cross domain restrictions as other components and not include pixels from iframes in the buffer that is available to inspect via JS and this hole will be closed.
Not too much to worry about here, but I'm surprised that SVG doesn't already do this (canvas won't allow JS to work with cross-domain images unless they have been served with a header that marks them as "safe" according to their originating service).
Node.js supports the use of addons written in C/C++.
Use JS for libraries that are shared between client & server (e.g. HTML templating) and for logic that changes frequently or needs to be accessible to dedicated front-end devs (e.g. request routing). Use compiled C for code that needs to be extremely fast &/or robust (e.g authentication & creation of dynamic resources).
Here's a handy example addon from the node.js docs:
http://nodejs.org/api/addons.html
Resource Description Format? Oh no, it's a Framework.
http://www.w3.org/RDF/
No scope to speak of
well, it's not true really. In the following example x will have global scope and y will be local to its function:
x=2;
function test() {
y = x + 3;
}
--
The declaration of the variable 'y' in the example is missing its keyword 'var' and will unintentionally create a globally scoped variable. // could also place the var statement inline with assignment operator // prints 2 to the JS console // prints 'undefined' to the JS console
Should be:
var x = 2;
function test(){
var y;
y = x + 3;
}
console.log(x);
console.log(typeof y);
- well, there is the keyword "inherits" and it does allow an object to be extended and you can use the 'prototype' to have multiple inheritance.
The prototype inheritance pattern doesn't allow for true multiple inheritance (like what C++ has). However, you can fake it by munging functions from multiple classes into your class' prototype effectively providing the functionality of multiple inheritance in simple cases.
meaning that third parties can implement their own interface to Yahoo! mail.
http://developer.yahoo.com/mail/
This may be what Fairpoint is doing to give users access through their branded portal. These same APIs mean that any user can implement their own non-Fairpoint approved access mechanism for their webmail.
It may not be a solution for all users, but at least yahoo's opened up enough that there are options available in the case of abusive network access providers.
Under the 'View' menu select 'Undo History' for a nice graphical interface to changes that have been made in the current document.
You can even click a particular version to revert the document to that exact content.
Of course it's not free-ware... but it is quite stable and the demo version _is_ free.
http://www.e-texteditor.com/
Don't forget to calculate the total cost of storage over a period of 10 - 20 years into your total return.
Oh, and of course there is the chance that there won't be _any_ copies of the games these magazines talk about around in another 10 to 20 years, in which case the magazines would be useless and (I assume) without any monetary value.
I say - cut their spines and let the juicy fluids of their information seep out into the 'net!
Seriously, you put it on once and you're done.
Water flows through the mesh and into your gutters, leaves and twigs are kept out.
Is there something I'm missing here?
http://www.newyorker.com/reporting/2008/06/09/080609fa_fact_kolbert/?printable=true
I view URL's as API calls to remote systems, all that URL shrinking services do is wrap that function call into a format that's easier to type from a cell phone or IM session. So, as they are currently implemented - no, these services do not weaken 'net architecture.
However, like an API wrapper they do include the possibility of creating side effects on call, e.g. the potential for abuse exists. So what? Everything on the 'net has the potential to be abused. And if your favorite URL shrinking service starts behaving badly, it's not like it would take more than a day or two to write your own replacement.
The author of the article doesn't emphasize that the interesting thing about this network (besides it being associated with Haaaavard and therefore news-worthy to certain people) is that it's a distributed sensor network. It doesn't just pass data between nodes, each node is capable of creating and sharing data with the rest of the network. In fact, that's the only thing that's interesting about this at all. I mean, did Google force Mountain View to install new wireless node poles when they put in their WiFi or did they just piggyback on existing infrastructure? And, as someone else has mentioned, Ricochet networks did the whole city-wide data network thing in the late 90's.
So, if you've been looking for a place to test out your predictive models of chemical dispersion under real-world conditions, it sounds like Cambridge is the place to go.
Wow, Jon Katz, that brings back memories. Or not, as I was having some issues with... um, memory back then. Yeah, that's it.
Whatever happened to him? *wavy transition effect*
*Fade in to a field, mostly tall grasses with some scattered oak trees. It could be the back campus of Stanford or SLAC. A man is running through the grass, pauses to look back his eyes wide with terror*
Jon Katz: "I knew that I shouldn't have take that plutonium from the Libyans. If only the time machine had worked, we would have been able to bring back reviews of software before it even shipped. Hell, before its authors even thought of it. If only..."
*JK turns and runs away from the camera. The sound of a 1970's VW van is heard off camera, engine revving, followed by ululations*
*The camera pulls back and pans left, bringing the Libyans in the van into the scene. One Libyan is standing up, poking through an opening in the top of the van and holding an AK47. The van shoots through the field scattering cow pies and bouncing across large gopher holes. Somehow the upright Libyan maintains his balance while cocking the weapon.*
*JK is making a dash for a clump of oak trees, but the Libyans are closing in.*
*Jump cut - the camera is now in front of JK, we can see his pursuers quickly catching up a look of triumph on their faces. JK is almost to the clump of trees, pauses and reaches into his radiation suit to withdraw a pistol. He turns, faces the Libyans and empties the six chambers without effect. JK throws the gun towards the van in a half hearted final attempt to stop them.*
*Jump cut - the camera is now behind the Libyans as they slow their van approx. 20 feet from JK. He puts his hands up into the air, the Libyan standing through the hole in the van roof takes aim with the AK47 and unleashes the entire clip on full-auto into JK's chest. JK shakes and jumps with the impacts, then falls back into the grass, apparently lifeless.*
But you got out right? I'm in university IT hell right now... rogue administrative departments deploy their own solutions, central IT doesn't have any clue (why yes, we are still running NT4 systems. It's what the sysadmins are comfortable with.), and there's always money for new capital expenses but not salaries or training.
Just gotta hang on for a few (12 is a "few" right?) more months... Please tell me that you got out to a job that has proper hardware support and requires specifications for projects before they begin.
Well, geeks and people who have to design two or three different implementations of a web page so it will show up correctly for all visitors. Oh, and the people who have to pay those developers who are now putting in overtime... and the content authors whose work is framed by the pages that the developers make (and want to appear equally professional to all visitors)... and maybe the investors in the company that hired the developers who want to get to IPO and get their money out as soon as possible.
But yeah, mostly just geeks care about that stuff ;-)
Nice. I thought that they'd killed the WinPE distro some years back... heck, I was only able to get a copy for use at work by digging through old Microsoft Select subscription CDs as MS _did_ pull it from the download site.
Having a bootable image of Windows is nice, I don't get why they don't advertise it more. In fact, bootable images in general are great. They're what convinced me to switch to Ubuntu for my primary personal system, and allowed me to easily lobby my superiors to consider a Linux rollout instead of a Vista hardware / software upgrade in the near future.
Seriously, the title sounds like a perfect description, it's pithy but approachable.
Perhaps you've been thrown off by the huge number of programming jobs that have the "analyst" added. Not that many of these people ever get to interview users and actually, you know, analyze use cases or work flows...
If they came "clean" you'd pay more for the hardware and still have to pay for Windows.
The factory is paid by software producers to put all that spyware on the system. The spyware effectively subsidizes the price of the system.
Personally, I prefer to pay less cash and then perform a wipe and install than to pay more and still have to perform an installation. But for people who are uncomfortable doing that, or who's time is more valuable than my own, the pre-installed spyware on systems from national retail outlets is a great reason to buy from a locally owned shop, Dell, or IBM.
Stainless isn't that hard to sharpen, but it won't hold a decent edge. Too soft. You need a high-carbon steel to get a good edge that lasts (except for the rusting part).
I second the idea of a ceramic blade that someone below me suggested. You could even make them in different colors for folks with designer bathrooms.
[quote]If you're gonna get in a Katrina-type situation, rather have your data in some server in Germany than in your pocket.[/quote]
Hey, 1and1 is my web host too.
I can't believe that the much vaunted MySpace died completely due to a single datacenter going down when even little 'ol me with a blog that gets maybe 100 hits a month (including spambots) has a provider with co-located facilities.
Isn't this bill going at things the wrong way?
l .networking.051006.pdf ) I noticed that there is an exception for computers that are being used for 'Educational' purposes... so doesn't that exempt the primary target of the law? Or did they only want to block social networking sites that students are visiting from school computers after 3PM?
There are far fewer predators than there are children, so it would be easier to regulate their behavior than to force filtering technologies onto every primary/secondary school and library in the nation.
Also, after reading the text of the bill (available in PDF http://www.politechbot.com/docs/fitzpatrick.socia