You have to grok lambda. It's as much a CS fundamental as pointers and recursion. The type of x is deduced (I think you can specify it explicitly, but once you get the hang of the syntax the clutter actually makes it harder to read). Just think "foreach(var x in...) { whatever(x);}".
The "x =>" is just declaring the name of the variable. You can use any function, not just properties. "where(x => x.Color == Red)" or "select(x => x/2)" or whatever.
I read the code as "for elements of myVehicles that are cars, take the legrooms, sort them, and display them." Once the notation sinks in, you get fluency and don't have to mentally translate each bit - at least until people start nesting and currying them.
In general, I agree with you. However, the American voters are getting increasingly upset - throwing out all the Dems, then throwing out all the GOP, then throwing out all the Dems again. It's a very strong signal to the congresscritters that that guys in the backroom may give them campaign funding, but that won't save you if the voters have had enough.
The GOP is in an ongoing revolt against the party machinery. The Tea Party started that way, but got co-opted by the machinery. The revolt continues - lots of new faces in the GOP now. The potential is there, but just that.
In Java 7 (which most of us are still using), that becomes:
List<Integer> temp = new ArrayList<>(); for (Vehicle v : myVehicles) {
if (v.isCar()) {
temp.add(v.getLegRoom());
} } Collections.sort(temp); for (Integer legroom : temp) {
display(legroom); }
All that boilerplate just to express 1 line of code. Java 8 adds lambda, but there's still a bunch of boilerplate associated with it - despite getting to see how C# did it first, they chose a ballflingly verbose syntax for it all.
Of course they're not going to. Both the republicans and democrats are responsible for all of that.
Indeed. The GOP has a chance here - the GOP congresscritters are now younger and more diverse than the Dems. They might just turn over a new leaf. Maybe.
I'll be all for them if they do - they keep talking about smaller government, than maximize pork distribution. Let's see them shut down anything, anything at all. Get rid of the TSA. Get rid of any government department -- I don't even care which -- just do something to show one party really intends to shrink the government machinery, rather than making BS claims about "spending" that no one at all still believes.
Which is why MS needs to buy them and give everything away for free. MS has cash, but doesn't have anyone developing mobile apps on their stack - they need to fix that.
I've spent years using both Java and C# professionally. C# wins hands down. For many years before Sun's demise the languages would leapfrog one another in functionality, but Java stopped keeping up a couple years before Sun went down. Java 8 is about where C# was 5 years ago now. It's night and day.
The real question for MS is: what about phones? MS has partnered to get mobile cross-platform C# working with Mono, but it's not free if you want VS integration. Being able to write and test on the PC and then run on any phone or tablet (well, at least modern ones) is a big deal.
Customers of Wlamart need those low prices. You don't seem very compassionate towards them in you zeal to give their money to the government (which is what you're explicitly advocating). Perhaps Walmart shoppers aren't the best target for raising federal revenue?
Corporate tax rates are meaningless. The money will eventually be spent somewhere taxable - employee income, or shareholder dividends.
Or there was plenty of evolution before this 'explosion', but we don't see fossils of that time because the animals had such soft bodies that don't fossilize well.
Sorry, you just don't get that much size happening with anaerobic microbes (I guess it's possible there were larger fungi - we know so little about fungi anyhow), but there's still plenty of complexity in bacteria. There was a vast amount of evolutionary "work" to get from the RNA sea (or however things started) to bacteria, which today are really quite complex and diverse despite being single-celled. But the major milestone was cyanobacteria.
Once cyanobacteria got going, poisoning the air with deadly oxygen, the doom of almost every other species was written. The Oxygen Catastrophe, was the largest extinction event that we're sure happened. From 2.5 to just under 1 billion years ago, they poured Oxygen into the air, but O2 levels didn't rise much - this is the mystery. One theory is tectonic, as mentioned in TFS, another is the "nickel famine": methane reacts with O2, leaving CO2 and water, so if something happened to the methane-producing bacteria (which need nickel as a catalyst) you'd get a sharp rise in O2.
For whatever reason, O2 spiked, nearly every species died, and the slate was wiped clean. On the up side,O2-based metabolisms have so much more energy available, it opened the door to complex multicellular life.
Both in the 60s and today, hipsters and hippies are distinct groups. "Hippie" is itself a derogatory term created by hipsters to mock those who thought they were hip, but weren't even close. Both terms came to be about the time people stopped being "hep" (the scene in the 40s and 50s was really a separate culture for hipsters anyhow, despite the term carrying over).
Sure, once you decide you're smarter than the peasants and you're doing it for their own good, everything makes sense. It's where most totalitarian governments spring from.
You either have to block all traffic that you don't understand
Which would, in fact, be quite easy to do. As long as you have to connect through a government proxy whose cert authority you must accept, people can have the illusion of safe online banking and no anonymous traffic (or any traffic not understood, for that matter) need be allowed.
That's the thing about government: it you grant it the legal power to fuck you, technology won't protect you for long. A government with the power to give you everything you want has the power to take everything it wants.
Perhaps this will cause the bankruptcy of every cable company? Sounds great to me - now if we could only find a way to imprison the entirety of management at cable companies, the plan could be made better!
The last mile needs to be a utility, because it's a natural monopoly. Beyond that, a free market (which we've never really seen in this business) will sort out data and content providers just fine. There's nothing here some real competition won't fix, and there's no need to argue about "fair price" when there's an actual market to settle the matter.
Sure, 300 years ago it was enough to simply have a more elegant theory. The fundamental idea of empiricism was still becoming the more formal idea of the scientific method.
Today, though, while the Standard Model is roundly disliked for its inelegance, and more elegant, simpler hypotheses abound, the Standard Model sticks with us because it keeps doing a better job of predicting new data, while many more elegant ideas have already fallen by the wayside with LHC data (alas, poor Supersymmetry, we hardly new you). When the LHC re-opens next year with its new beam intensity, the culling will continue.
It's amazing how people don't get this. Data that confirms both your new hypothesis and the established theory (or both your new hypothesis and the null hypothesis), isn't a reason to believe you.
Sure, of course, you have to explain existing data, but that's just table stakes: you have to actually predict something new. When there's new data that only your hypothesis predicted, then it's interesting.
or they can choose a 'liberal college' that teaches them about the world in which they will live- Culture, history, all the arts... These people will become the thoughtful advisers to corporations and government, teachers of younger people, and guides to the people in their own community who lack a broad education.
These people will be occupying a field somewhere complaining bitterly about how no one will give them a job (while turning their noses up at actual people trying to give them jobs).
"Liberal arts" is for trust-fund babies who will be handed the keys to daddy's company. If that's not you, then realize that "a career" is another way of saying "most of a lifetime providing services the community actually wants or needs. No one wants or needs another social justice complainer, and if that's the only skill you learned in college, a lifetime of poverty justly awaits you.
I'm in Colorado where voters decided to legalize pot in 2013, and as a result pot use has increased dramatically.
And how was that measured? You had a compete an accurate census of illegal behavior beforehand? Pot's the second largest cash crop in the US after corn, and we don't export. (No argument about the correlation between pot and IQ, though I do wonder about the causation.)
I'm sure there was a lot of life on Earth that was perfectly adapted before the Oxygen Catastrophe. As has been said before "evolution proceeds in spite of natural selection".
Organisms well-adapted to their niche are the norm. But when the environment changes, as it so often does, suddenly only the outliers - the poorly adapted mutants, barely surviving - are the winners.
TOR users are busted regularly, because the default settings in the TBB are not secure. Makes you wonder why. Has anyone who has hardened the TBB been busted? Thanks to parallel construction we'll never know.
We do know that.onion servers are thoroughly insecure, with many cycles of bust, "oops", patch. Makes you wonder why. Is Wikileaks back up on TOR yet?
We know the NSA can de-anonymise TOR, but it's difficult for them and they can only target specific users, and not from stored data (or so the leaks lead us to believe).
At work I am among engineers of the nuts-and-bolts type
Well, the entire success of Microsoft was in "not making a product for engineers", so there you go. It's also why/. has always had a hate-on for MS: they thumbed their nose at the geeks from almost the start.
I can certainly see how an engineering group that has old-school government sign-off requirements could still be printing things, but I saw software engineering move from Word to wikis over the past 5 years - now Word docs on SharePoint is a warning sign of a backwards company.
Excel has always been the killer app, since MS realized there was a huge base of customers with no interest in finance, but who needed a handy way to make lists. MS realized the power users weren't where the money was, and never looked back (not that Excel wasn't competitive at number crunching). It remains my favorite geeky-drawing program: the best graph paper ever.
Who even uses Word any more? Do people still print things?
But PowerPoint has been the primary app driving Office sales for quite some time. For those who live and die by the slideshow, nothing else comes close.
You have to grok lambda. It's as much a CS fundamental as pointers and recursion. The type of x is deduced (I think you can specify it explicitly, but once you get the hang of the syntax the clutter actually makes it harder to read). Just think "foreach(var x in ...) { whatever(x);}".
The "x =>" is just declaring the name of the variable. You can use any function, not just properties. "where(x => x.Color == Red)" or "select(x => x/2)" or whatever.
I read the code as "for elements of myVehicles that are cars, take the legrooms, sort them, and display them." Once the notation sinks in, you get fluency and don't have to mentally translate each bit - at least until people start nesting and currying them.
In general, I agree with you. However, the American voters are getting increasingly upset - throwing out all the Dems, then throwing out all the GOP, then throwing out all the Dems again. It's a very strong signal to the congresscritters that that guys in the backroom may give them campaign funding, but that won't save you if the voters have had enough.
The GOP is in an ongoing revolt against the party machinery. The Tea Party started that way, but got co-opted by the machinery. The revolt continues - lots of new faces in the GOP now. The potential is there, but just that.
In C#:
myVehicles.where(v => v.IsCar).select(v => v.LegRoom).sort().foreach(display);
In Java 7 (which most of us are still using), that becomes:
List<Integer> temp = new ArrayList<>();
for (Vehicle v : myVehicles) {
if (v.isCar()) {
temp.add(v.getLegRoom());
}
}
Collections.sort(temp);
for (Integer legroom : temp) {
display(legroom);
}
All that boilerplate just to express 1 line of code. Java 8 adds lambda, but there's still a bunch of boilerplate associated with it - despite getting to see how C# did it first, they chose a ballflingly verbose syntax for it all.
Of course they're not going to. Both the republicans and democrats are responsible for all of that.
Indeed. The GOP has a chance here - the GOP congresscritters are now younger and more diverse than the Dems. They might just turn over a new leaf. Maybe.
I'll be all for them if they do - they keep talking about smaller government, than maximize pork distribution. Let's see them shut down anything, anything at all. Get rid of the TSA. Get rid of any government department -- I don't even care which -- just do something to show one party really intends to shrink the government machinery, rather than making BS claims about "spending" that no one at all still believes.
Which is why MS needs to buy them and give everything away for free. MS has cash, but doesn't have anyone developing mobile apps on their stack - they need to fix that.
I've spent years using both Java and C# professionally. C# wins hands down. For many years before Sun's demise the languages would leapfrog one another in functionality, but Java stopped keeping up a couple years before Sun went down. Java 8 is about where C# was 5 years ago now. It's night and day.
The real question for MS is: what about phones? MS has partnered to get mobile cross-platform C# working with Mono, but it's not free if you want VS integration. Being able to write and test on the PC and then run on any phone or tablet (well, at least modern ones) is a big deal.
Customers of Wlamart need those low prices. You don't seem very compassionate towards them in you zeal to give their money to the government (which is what you're explicitly advocating). Perhaps Walmart shoppers aren't the best target for raising federal revenue?
Corporate tax rates are meaningless. The money will eventually be spent somewhere taxable - employee income, or shareholder dividends.
Or there was plenty of evolution before this 'explosion', but we don't see fossils of that time because the animals had such soft bodies that don't fossilize well.
Sorry, you just don't get that much size happening with anaerobic microbes (I guess it's possible there were larger fungi - we know so little about fungi anyhow), but there's still plenty of complexity in bacteria. There was a vast amount of evolutionary "work" to get from the RNA sea (or however things started) to bacteria, which today are really quite complex and diverse despite being single-celled. But the major milestone was cyanobacteria.
Once cyanobacteria got going, poisoning the air with deadly oxygen, the doom of almost every other species was written. The Oxygen Catastrophe, was the largest extinction event that we're sure happened. From 2.5 to just under 1 billion years ago, they poured Oxygen into the air, but O2 levels didn't rise much - this is the mystery. One theory is tectonic, as mentioned in TFS, another is the "nickel famine": methane reacts with O2, leaving CO2 and water, so if something happened to the methane-producing bacteria (which need nickel as a catalyst) you'd get a sharp rise in O2.
For whatever reason, O2 spiked, nearly every species died, and the slate was wiped clean. On the up side,O2-based metabolisms have so much more energy available, it opened the door to complex multicellular life.
Both in the 60s and today, hipsters and hippies are distinct groups. "Hippie" is itself a derogatory term created by hipsters to mock those who thought they were hip, but weren't even close. Both terms came to be about the time people stopped being "hep" (the scene in the 40s and 50s was really a separate culture for hipsters anyhow, despite the term carrying over).
Sure, once you decide you're smarter than the peasants and you're doing it for their own good, everything makes sense. It's where most totalitarian governments spring from.
You either have to block all traffic that you don't understand
Which would, in fact, be quite easy to do. As long as you have to connect through a government proxy whose cert authority you must accept, people can have the illusion of safe online banking and no anonymous traffic (or any traffic not understood, for that matter) need be allowed.
That's the thing about government: it you grant it the legal power to fuck you, technology won't protect you for long. A government with the power to give you everything you want has the power to take everything it wants.
Perhaps this will cause the bankruptcy of every cable company? Sounds great to me - now if we could only find a way to imprison the entirety of management at cable companies, the plan could be made better!
The last mile needs to be a utility, because it's a natural monopoly. Beyond that, a free market (which we've never really seen in this business) will sort out data and content providers just fine. There's nothing here some real competition won't fix, and there's no need to argue about "fair price" when there's an actual market to settle the matter.
Sure, 300 years ago it was enough to simply have a more elegant theory. The fundamental idea of empiricism was still becoming the more formal idea of the scientific method.
Today, though, while the Standard Model is roundly disliked for its inelegance, and more elegant, simpler hypotheses abound, the Standard Model sticks with us because it keeps doing a better job of predicting new data, while many more elegant ideas have already fallen by the wayside with LHC data (alas, poor Supersymmetry, we hardly new you). When the LHC re-opens next year with its new beam intensity, the culling will continue.
It's amazing how people don't get this. Data that confirms both your new hypothesis and the established theory (or both your new hypothesis and the null hypothesis), isn't a reason to believe you.
Sure, of course, you have to explain existing data, but that's just table stakes: you have to actually predict something new. When there's new data that only your hypothesis predicted, then it's interesting.
I'd be more worried about a shoe on my bug. (C'mon, no Fifth Element reference in TFS, samzenpus? /. has slid far downhill.)
or they can choose a 'liberal college' that teaches them about the world in which they will live- Culture, history, all the arts... These people will become the thoughtful advisers to corporations and government, teachers of younger people, and guides to the people in their own community who lack a broad education.
These people will be occupying a field somewhere complaining bitterly about how no one will give them a job (while turning their noses up at actual people trying to give them jobs).
"Liberal arts" is for trust-fund babies who will be handed the keys to daddy's company. If that's not you, then realize that "a career" is another way of saying "most of a lifetime providing services the community actually wants or needs. No one wants or needs another social justice complainer, and if that's the only skill you learned in college, a lifetime of poverty justly awaits you.
I'm in Colorado where voters decided to legalize pot in 2013, and as a result pot use has increased dramatically.
And how was that measured? You had a compete an accurate census of illegal behavior beforehand? Pot's the second largest cash crop in the US after corn, and we don't export. (No argument about the correlation between pot and IQ, though I do wonder about the causation.)
I'm sure there was a lot of life on Earth that was perfectly adapted before the Oxygen Catastrophe. As has been said before "evolution proceeds in spite of natural selection".
Organisms well-adapted to their niche are the norm. But when the environment changes, as it so often does, suddenly only the outliers - the poorly adapted mutants, barely surviving - are the winners.
The best phrase I've heard for this is "don't eat the menu". Indeed.
TOR users are busted regularly, because the default settings in the TBB are not secure. Makes you wonder why. Has anyone who has hardened the TBB been busted? Thanks to parallel construction we'll never know.
We do know that .onion servers are thoroughly insecure, with many cycles of bust, "oops", patch. Makes you wonder why. Is Wikileaks back up on TOR yet?
We know the NSA can de-anonymise TOR, but it's difficult for them and they can only target specific users, and not from stored data (or so the leaks lead us to believe).
Hmmm, for a serious choice I might go with "Gay Deceiver" - old school.
At work I am among engineers of the nuts-and-bolts type
Well, the entire success of Microsoft was in "not making a product for engineers", so there you go. It's also why /. has always had a hate-on for MS: they thumbed their nose at the geeks from almost the start.
I can certainly see how an engineering group that has old-school government sign-off requirements could still be printing things, but I saw software engineering move from Word to wikis over the past 5 years - now Word docs on SharePoint is a warning sign of a backwards company.
Excel has always been the killer app, since MS realized there was a huge base of customers with no interest in finance, but who needed a handy way to make lists. MS realized the power users weren't where the money was, and never looked back (not that Excel wasn't competitive at number crunching). It remains my favorite geeky-drawing program: the best graph paper ever.
Who even uses Word any more? Do people still print things?
But PowerPoint has been the primary app driving Office sales for quite some time. For those who live and die by the slideshow, nothing else comes close.
Oh, can you set the "name"? Sounded like it was hard-coded on Alexa?
I won't buy any voice activated device until I can choose the "name" that activates it. Half the fun is using "pigfucker" as the name.