For what it's worth, Python can be used in a bootloader. OK, the bootloader's not actually written in Python (it's just GRUB), but looks like a cool project anyway:)
No - the protected classes are put in place by legislation (Civil Rights Act 1964/1968, Age Discrimination in Employment Act 1967, Americans with Disabilities Act 1990 and so on), which is put in place by elected representatives.
You mean like Catherine Lhamon the un-elected, appointed assistant secretary for Civil Rights who sent out the unlawful Dear Colleague letter that screwed all males attending collage?
Let's see. Did she pass any laws creating new protected classes? No. Then no, not like her.
And I'm not totally sure what your point is: according to your Wikipedia link, Ms Lhamon was appointed to the Department of Education in 2013, but your ed.gov link is to a memo they sent out in 2011.
Does even democratic majority give the representatives a moral right to start separating people into special classes?
Well, it gives them a legal right, but it's a good question whether they have a moral right! That said: though I'm no lawyer, as I understand it that's not really how the whole "protected class" thing in US law works: you're a member of a protected class by virtue of sharing a particular characteristic (such as your sex) with all the other members of your class. So "women" make up a protected class, but so do "men" – the whole population is covered; it's not that there are specific people you can or can't fire, it's the grounds on which you discriminate that the law restricts.
A non-recursive algorithm to walk a tree structure still requires memory space proportional to the maximum depth of the tree,
Not always, no. For example, if the nodes in the tree all have a reference to their "parent" nodes (which they may already have for other reasons), you can traverse the tree in O(1) space. That doesn't help if the nodes don't have parent references (adding them would increase the size of the tree by O(n) which is usually much bigger than O(max depth)), but if the tree is sorted (as it typically is) you can find the parent of a node in O(1) space, albeit in O(max depth) time.
What Firefox build supports it? Because none that I have seen do.
You've never had to use Windows? You lucky soul:-)
In fact the Linux builds support it too - it's disabled by default, but if you set the "browser.backspace_action" option to 0 (which is the default for Windows installs) it will enable it, if you really want to;-)
Since every single browser also supports Backspace to go back, they were hardly being different!
By "every single browser" I assume you mean "Opera stupidly".
No - Firefox supports it; IE and Edge support it; Safari supported it prior to version 6; as you mention, Opera supports it... it's hardly a Chrome innovation:-)
Being less verbose isn't necessarily a good thing.
Definitely agree - sometimes being explicit is better. But this is definitely an area where Java and Go take very different approaches.
More sophisticated concurrency model? Perhaps, I'd say it's more abstracted away so you may not have to worry about it, usually, but that must means it's going to be harder if your problem doesn't fit well in their concurrency model. (Need we discuss Open GL?)
Actually the OpenGL thing is solved fairly easily - but in general this is a valid observation; my point is that Java's approach (with explicit threads, synchronisation etc) is much closer to C's than Go's is.
But where "go" and "Java" differ, they are extremely similar looking when you compare them to "C".
And my point is that's clearly not true - apart from garbage collection, the two languages have relatively little in common; they may both do more abstraction than C, but what they choose to abstract, and how they implement it, is very different.
Check with Oracle about the terms they use if you want to distribute their Java Virtual Machine in a commercial product. I can assure you it involves you providing them with cash before they will let you even distribute Java, unmodified, as part of your product. I know this from experience. I'll warn you, Java from Oracle does NOT come cheap if you wish to distribute it. Sure they will let you and your customer download it for free, but they want their cut if you download and distribute Java to a customer.
Can I distribute Java with my software?
Yes, you can provide Java with your software provided you abide by the terms and conditions of Java binary code license.
Go is great, and there are definitely advantages to Go's BSD licensing model, but this is not one of them:)
I wanted TCPv4 with a network prefix and the MAC as the node address. Clients could derive their address automatically from network traffic by picking up the network address from the wire and they already knew their MAC address.
You mean more or less exactly what IPv6 does (in many cases)?
I've written algorithms for machine learning, where I'm constantly doing things like multiplying 0 and infinity. And, depending on the situation it is totally clear what the correct result must be (either 0 or infinity).
But that is the key point - you're right that, in many situations, it makes sense to assign a particular value to 0/0 (and other pathological cases) - but the thing is that the value that needs to be chosen depends critically on the situation at hand. Sometimes 0/0 might need to be treated as 0, sometimes 1, sometimes 42, and sometimes it is indicative of an error. Only the person writing the program can know which value is appropriate for the circumstance, so they must express it explicitly in the program. If programming environments throw an exception in the case of 0/0, it indicates that the programmer has not considered this choice, and that there is therefore a bug; by contrast, choosing one particular value would make some small subset of implementations work, at the expense of making all the others (which needed different values, or an error) give the wrong answer without any indication of a problem.
How does any of this address parent's question ? How can he "do something as simple as changing my DNS servers" ?
The same way as before systemd came on the scene (unless your distro has changed things at the same time - and network settings are something distros do seem to like to move around from release to release - but systemd doesn't, as far as I'm aware, touch the DNS settings at all!)
Apple can drag out any lawsuit until Qualcom runs out of money. Doesn't matter who's right and who's wrong.
Plus, a foreign company suing a US company in a US court? Even Samsung can't win that.
Are you saying that US courts are biased? Even if they are - Qualcomm and Apple are both US companies, right?
For what it's worth, Python can be used in a bootloader. OK, the bootloader's not actually written in Python (it's just GRUB), but looks like a cool project anyway :)
I think you mean the courts, right?
No - the protected classes are put in place by legislation (Civil Rights Act 1964/1968, Age Discrimination in Employment Act 1967, Americans with Disabilities Act 1990 and so on), which is put in place by elected representatives.
Uh, the democratically elected leaders, right?
You mean like Catherine Lhamon the un-elected, appointed assistant secretary for Civil Rights who sent out the unlawful Dear Colleague letter that screwed all males attending collage?
Let's see. Did she pass any laws creating new protected classes? No. Then no, not like her.
And I'm not totally sure what your point is: according to your Wikipedia link, Ms Lhamon was appointed to the Department of Education in 2013, but your ed.gov link is to a memo they sent out in 2011.
Does even democratic majority give the representatives a moral right to start separating people into special classes?
Well, it gives them a legal right, but it's a good question whether they have a moral right! That said: though I'm no lawyer, as I understand it that's not really how the whole "protected class" thing in US law works: you're a member of a protected class by virtue of sharing a particular characteristic (such as your sex) with all the other members of your class. So "women" make up a protected class, but so do "men" – the whole population is covered; it's not that there are specific people you can or can't fire, it's the grounds on which you discriminate that the law restricts.
Who decided that certain groups of people should be a "protected class",
Uh, the democratically elected leaders, right?
Yep, an entire orchestra can play of a few pages of dead wood. Voila problem solved.
For once it would have been almost appropriate to misspell "voilà" as "viola"...
Au contraire. Acting like a reasonably normal human being will allow you to interact with a significantly larger and more influential group of people.
I think you may have misinterpreted the joke.
A non-recursive algorithm to walk a tree structure still requires memory space proportional to the maximum depth of the tree,
Not always, no. For example, if the nodes in the tree all have a reference to their "parent" nodes (which they may already have for other reasons), you can traverse the tree in O(1) space. That doesn't help if the nodes don't have parent references (adding them would increase the size of the tree by O(n) which is usually much bigger than O(max depth)), but if the tree is sorted (as it typically is) you can find the parent of a node in O(1) space, albeit in O(max depth) time.
Oh so which is it? They're asian or pakistani?
I have to ask - which continent do you consider Pakistan to be in?
British PMs are never elected, their party is.
I think the PM still has to win their seat. Has a PM ever served where their party won FPTP but they didn't win their seat?
Yes, but not since 1902. (It used to be acceptable for the PM to come from the House of Lords, which is unelected.)
CentOS 6.8 is NOT the latest CentOS version, with CentOS 7.0 taking that honor.
Actually 7.2 is the latest!
What Firefox build supports it? Because none that I have seen do.
You've never had to use Windows? You lucky soul :-)
In fact the Linux builds support it too - it's disabled by default, but if you set the "browser.backspace_action" option to 0 (which is the default for Windows installs) it will enable it, if you really want to ;-)
Since every single browser also supports Backspace to go back, they were hardly being different!
By "every single browser" I assume you mean "Opera stupidly".
No - Firefox supports it; IE and Edge support it; Safari supported it prior to version 6; as you mention, Opera supports it... it's hardly a Chrome innovation :-)
Yes, what was the point of it anyway, given every single browser ever uses the universal ALT-Left to go back?
Were they just trying to be different?
Since every single browser also supports Backspace to go back, they were hardly being different!
And if the web version does not require a smartphone then why the hell would a proper program require one?
The web one does require a smartphone, too.
There is a link - but for some reason it's hidden in the green title bar...
Stock Waterman wrote it.
Stock Aitken Waterman. No need to miss out Matt Aitken!
Being less verbose isn't necessarily a good thing.
Definitely agree - sometimes being explicit is better. But this is definitely an area where Java and Go take very different approaches.
More sophisticated concurrency model? Perhaps, I'd say it's more abstracted away so you may not have to worry about it, usually, but that must means it's going to be harder if your problem doesn't fit well in their concurrency model. (Need we discuss Open GL?)
Actually the OpenGL thing is solved fairly easily - but in general this is a valid observation; my point is that Java's approach (with explicit threads, synchronisation etc) is much closer to C's than Go's is.
But where "go" and "Java" differ, they are extremely similar looking when you compare them to "C".
And my point is that's clearly not true - apart from garbage collection, the two languages have relatively little in common; they may both do more abstraction than C, but what they choose to abstract, and how they implement it, is very different.
How does 'The Go Programming Language' compare to 'The C Programming Language'?
About as well as Java compares with "C" and in almost exactly the same ways.
That's doing Go a massive disservice; Go differs from Java in very significant ways. To name but a few:
In fact, apart from having garbage collection, Java and Go are really not that similar (within the realm of somewhat-compiled imperative languages).
Check with Oracle about the terms they use if you want to distribute their Java Virtual Machine in a commercial product. I can assure you it involves you providing them with cash before they will let you even distribute Java, unmodified, as part of your product. I know this from experience. I'll warn you, Java from Oracle does NOT come cheap if you wish to distribute it. Sure they will let you and your customer download it for free, but they want their cut if you download and distribute Java to a customer.
OK, I checked with Oracle, and they said this:
Can I distribute Java with my software?
Yes, you can provide Java with your software provided you abide by the terms and conditions of Java binary code license.
Go is great, and there are definitely advantages to Go's BSD licensing model, but this is not one of them :)
I wanted TCPv4 with a network prefix and the MAC as the node address. Clients could derive their address automatically from network traffic by picking up the network address from the wire and they already knew their MAC address.
You mean more or less exactly what IPv6 does (in many cases)?
Router Advertisement can handle subnets, FWIW...
I've written algorithms for machine learning, where I'm constantly doing things like multiplying 0 and infinity. And, depending on the situation it is totally clear what the correct result must be (either 0 or infinity).
But that is the key point - you're right that, in many situations, it makes sense to assign a particular value to 0/0 (and other pathological cases) - but the thing is that the value that needs to be chosen depends critically on the situation at hand. Sometimes 0/0 might need to be treated as 0, sometimes 1, sometimes 42, and sometimes it is indicative of an error. Only the person writing the program can know which value is appropriate for the circumstance, so they must express it explicitly in the program. If programming environments throw an exception in the case of 0/0, it indicates that the programmer has not considered this choice, and that there is therefore a bug; by contrast, choosing one particular value would make some small subset of implementations work, at the expense of making all the others (which needed different values, or an error) give the wrong answer without any indication of a problem.
How does any of this address parent's question ? How can he "do something as simple as changing my DNS servers" ?
The same way as before systemd came on the scene (unless your distro has changed things at the same time - and network settings are something distros do seem to like to move around from release to release - but systemd doesn't, as far as I'm aware, touch the DNS settings at all!)