that CAN be done with cgi but its most certainly not the only way to do it nor is it really the preffered way as it means a process (and possiblly a complex scripting environment to support it) is loaded on every pageview.
You are confused, you view nat as a _bad_ thing, and publicly addressible computers via ipv6 as a _good_ thing. That's fine in theory, but, out here in the real world, the internet is a nasty place, and to put a windows machine into a slot where it is ip accessible from the outside, well, that's just begging for problems. being on a public ipv6 addrss is much safer than on a public ipv4 address simply because the hit rate of random attacks is about 16 billion billion times lower. but yes there is still the possibility of targeted attacks (e.g. by a server you connect to) and windows is shitty enough to make running it on a network that is end to end open require care.
but anyway you can have a no incoming connections unless i specify otherwise policy perfectly easilly without having nat.
say for example you wan't to be able to admin all your boxes remotely with ssh. it would seem far more convinaiant to be able to just say "allow ssh from theese ips" once rather than making a mapping for every single machine and trying to memorise which port maps to ssh on which machine.
and besides if someone really wants to get into any nontrivial sized network its probablly not that hard to get a box on the inside.
at first sight that looked like java code written without using import statements but those class names don't look like java.
is it C#?
Re:Are you reading the same thing I am?
on
How to Write Comments
·
· Score: 2, Insightful
basic programming classes seem to push overcommenting.
good comments should imo cover 1: the why (why am i doing it this way) 2: the why not (why am i not doing this the obvious way) 3: the high level what (though to some extent this can be pointed out through method signatures etc) 4: the low level what in cases where it wouldn't be obvious to someone reasonablly skilled in the language.
However you don't get many of those in trivial programming excercises but the teachers are still supposed to encourage people to use comments. So naturally comments that point out trivialites are the result.
i tend to open a block on the line that causes it but i do use tabs so i guess i'm somewhere between your two examples.
the tabs alone are perfectly enough to mark the fact there is a block there no need to waste another line of vertical space by pushing the opening brace down.
there are many alternative dns systems but none of them get much support and any that did take a stand against icann rather than just adding thier own tlds would almost certainly lose most of thier existing users.
managing the top level of a unique nameing system is a natural monopoly.
i entered 5 garbage letters (sdfgd) on enom.com and although the particular combination i came up with was unavailible i got a number of 5 and 4 character suggestions.
well if this type of attack was availible for sha-1 (which it isn't yet) a game vendor (the ??AAs have less flexibility because of all the shit that tends to happen to audio or video before its posted) could put one of a colliding pair in the official release and use the other to poisen torrents (though other files before the game exe in the torrent could cause problems with this technique by misaligning the blocks).
air is a terrible conductor BUT conduction isn't the only way heat can move.
once the heat is in the air (which is unfortunately quite a slow process in itself hence why heatsinks have large surface areas) you move the air out of the way either by convection or by force with a fan (forced air is far more effective and predictable than natural convection but it can also be noisy).
if something is leaking far more than normal it will get hot and its generally that heat that causes sporadic failure, if you can take that heat away you can generally keep it running.
before i replaced my laptop psu i was keeping it running by damping the surface and letting the water boil off!
can't you just put something in your login scripts that creates a file with the magic identifier in its name and messages you with the pcs details if the file it just created isn't in a directory listing?
at the top level you have a country code. then some kind of area code. then some kind of exchange code (and companies can buy whole exchange codes if they have lots of phones) and finally a number for the individual phone.
however unlike domain names phone numbers have STRICT length rules (generally numbers are fixed length within a country and theres iirc a standard maximum for the full international number) so if you wan't more lines you have to buy more/bigger blocks.
lots of newbies try this but knoppix offers no security update service of its own and its based on debian testing and unstable and not very easy to update from those sources either (possible sure, but certainly not easy). Yes i belive getting some hardware working with debian was hard in the woody days but frankly nowadays your better off with a pure sarge or etch install than a knoppix hdinstall.
but presumablly the waste is being sigificantly diluted by the natural river water.
i'd imagine the biggest problem with recycling waste water to make normal tap water (which has to be drinkable as our cities don't have seperate systems for drinking and non-drinking water) would be build up of chemicals.
its very hard to clean waste water perfectly so nearly all systems dump the waste back into the environment (usually after some level of cleaning) and use water freshly drawn from the environment for supply (with some cleaning and addition of disinfectant)
the problem is sometimes finding enough suitable source water for producing mains water is expensive and there is also an environmental cost in preparing it for use and in cleaning and dumping the waste.
there are a couple in the sackville street building in the university of manchester and i've never noticed anything nasty about them. i don't think they are in a location where they get used that much though.
Well that's not what happens in real life. I know of exactly one professor and zero graduate students that would ever do that. It is much, much easier to print off a single page of a PDF than to go to the library and photocopy the required page. personally i disagree with this but thats because i have my own printer/scanner/copier unit (they really aren't that expensive now)
that CAN be done with cgi but its most certainly not the only way to do it nor is it really the preffered way as it means a process (and possiblly a complex scripting environment to support it) is loaded on every pageview.
do you have any evidence that google use cgi?
You are confused, you view nat as a _bad_ thing, and publicly addressible computers via ipv6 as a _good_ thing. That's fine in theory, but, out here in the real world, the internet is a nasty place, and to put a windows machine into a slot where it is ip accessible from the outside, well, that's just begging for problems.
being on a public ipv6 addrss is much safer than on a public ipv4 address simply because the hit rate of random attacks is about 16 billion billion times lower. but yes there is still the possibility of targeted attacks (e.g. by a server you connect to) and windows is shitty enough to make running it on a network that is end to end open require care.
but anyway you can have a no incoming connections unless i specify otherwise policy perfectly easilly without having nat.
say for example you wan't to be able to admin all your boxes remotely with ssh. it would seem far more convinaiant to be able to just say "allow ssh from theese ips" once rather than making a mapping for every single machine and trying to memorise which port maps to ssh on which machine.
and besides if someone really wants to get into any nontrivial sized network its probablly not that hard to get a box on the inside.
iirc the jabber plugin can only be used with trillian pro :(
at first sight that looked like java code written without using import statements but those class names don't look like java.
is it C#?
basic programming classes seem to push overcommenting.
good comments should imo cover
1: the why (why am i doing it this way)
2: the why not (why am i not doing this the obvious way)
3: the high level what (though to some extent this can be pointed out through method signatures etc)
4: the low level what in cases where it wouldn't be obvious to someone reasonablly skilled in the language.
However you don't get many of those in trivial programming excercises but the teachers are still supposed to encourage people to use comments. So naturally comments that point out trivialites are the result.
i tend to open a block on the line that causes it but i do use tabs so i guess i'm somewhere between your two examples.
the tabs alone are perfectly enough to mark the fact there is a block there no need to waste another line of vertical space by pushing the opening brace down.
yeah all the major im networks seem to have given up on blocking the multiprotocol clients now.
so microsofts new definese in depth strategy is actually paying off.
dep makes is extremly hard for arbitary code execution to happen.
there are many alternative dns systems but none of them get much support and any that did take a stand against icann rather than just adding thier own tlds would almost certainly lose most of thier existing users.
managing the top level of a unique nameing system is a natural monopoly.
i entered 5 garbage letters (sdfgd) on enom.com and although the particular combination i came up with was unavailible i got a number of 5 and 4 character suggestions.
well if this type of attack was availible for sha-1 (which it isn't yet) a game vendor (the ??AAs have less flexibility because of all the shit that tends to happen to audio or video before its posted) could put one of a colliding pair in the official release and use the other to poisen torrents (though other files before the game exe in the torrent could cause problems with this technique by misaligning the blocks).
air is a terrible conductor BUT conduction isn't the only way heat can move.
once the heat is in the air (which is unfortunately quite a slow process in itself hence why heatsinks have large surface areas) you move the air out of the way either by convection or by force with a fan (forced air is far more effective and predictable than natural convection but it can also be noisy).
if something is leaking far more than normal it will get hot and its generally that heat that causes sporadic failure, if you can take that heat away you can generally keep it running.
before i replaced my laptop psu i was keeping it running by damping the surface and letting the water boil off!
can't you just put something in your login scripts that creates a file with the magic identifier in its name and messages you with the pcs details if the file it just created isn't in a directory listing?
erm phone numbers most certainly are heirarcial!
at the top level you have a country code.
then some kind of area code.
then some kind of exchange code (and companies can buy whole exchange codes if they have lots of phones)
and finally a number for the individual phone.
however unlike domain names phone numbers have STRICT length rules (generally numbers are fixed length within a country and theres iirc a standard maximum for the full international number) so if you wan't more lines you have to buy more/bigger blocks.
it WOULD be a bargin if theese names were on the official dns system but they aren't!
and what company is going to wan't to put an internet name that the vast majority of users cannot resolve on thier advertising?
a few idiots will buy names in it for brand protection or because they are gullible but i doubt many will seriously use it.
you could use vmware in nonpersistant mode or just reimage the boxes nightly no huge issue.
Knoppix-> Debian installs for me. Forget RH.
lots of newbies try this but knoppix offers no security update service of its own and its based on debian testing and unstable and not very easy to update from those sources either (possible sure, but certainly not easy). Yes i belive getting some hardware working with debian was hard in the woody days but frankly nowadays your better off with a pure sarge or etch install than a knoppix hdinstall.
you left the US and the UK off that list!
but presumablly the waste is being sigificantly diluted by the natural river water.
i'd imagine the biggest problem with recycling waste water to make normal tap water (which has to be drinkable as our cities don't have seperate systems for drinking and non-drinking water) would be build up of chemicals.
its very hard to clean waste water perfectly so nearly all systems dump the waste back into the environment (usually after some level of cleaning) and use water freshly drawn from the environment for supply (with some cleaning and addition of disinfectant)
the problem is sometimes finding enough suitable source water for producing mains water is expensive and there is also an environmental cost in preparing it for use and in cleaning and dumping the waste.
there are a couple in the sackville street building in the university of manchester and i've never noticed anything nasty about them. i don't think they are in a location where they get used that much though.
Well that's not what happens in real life. I know of exactly one professor and zero graduate students that would ever do that. It is much, much easier to print off a single page of a PDF than to go to the library and photocopy the required page.
personally i disagree with this but thats because i have my own printer/scanner/copier unit (they really aren't that expensive now)
if you need access to CS related papers for your work shouldn't your employer be paying? (or are you talking from the pov of a small buisness owner).