Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Like what? (Score 1) 53

Technology has always replaced what humans can do. You can hammer a block of hot iron into a knife; or you can have a drop forge do it 1,000 times each hour. It takes about a week to hammer out a proper knife by hand; that means, at minimum wage of $8.25/hr, that knife can cost no less than $330--and that doesn't even include the materials cost for the metal, the tools, the fuel, forge maintenance, and so forth. Much-better knives cost as much as $90 today (I got a Kai Shun Premier VG-10 bladed knife with hand-hammered finish for $99), and high-quality blades (e.g. the Kai Wasabi Black series) can deliver a good-quality, carbon-steel chef's knife for under $30 (you'll have to finish sharpening the blade yourself; they come pretty dull compared to a Kai Shun Premier).

In many cases, you'll vastly-exceed the performance of a hand-made good with a high-tech industrial process. In most cases, you can sacrifice a small amount of performance to use a much-lower-labor process, making a good that's e.g. 90% as durable, much-more featureful (this tends to stack multiple times, so eventually it's literally tens or hundreds of times as featureful), and 10% as expensive. In some cases, you don't--industrial mills are better than hand-milling wooden planks, and engineered wood is even better. Even hand-made glass can't stack up to precisely-controlled industrial processes using high-grade glass feed stocks and precisely-controlled temperatures--fewer defective pieces, less cracking under temperature transitions.

You'll also see this pattern in some old companies failing out, e.g. power tools made in China using modern engineering tuned to modern manufacture processes for massive cost savings versus an old manufacturer going out of business because their tools also moved to Chinese manufacture but were then adjusted to manufacture more-cheaply instead of fully-reengineered. The tool designed the ground up cost $100 and lasts 6-8 months under professional use; the tool ported to cheap manufacture still costs $180 and lasts 8-10 months under professional use; and the original, made-in-USA tool cost $300 and lasted 8-10 months under professional use. You're going to save vast amounts of money getting the new Chinese one, which is why DIYers have DeWalt or Porter Cable tools, while professionals have cheap Ryobi tools even though they'll tell you a Porter Cable drill is a much better-made drill.

We've gone from watchmakers tapping on brass wheels all day to machines pumping out watch parts, and up to machines assembling large mechanisms. We still hand-assemble watches from the major mechanisms, and new machines will do that more-efficiently than humans.

That's technology. That's what it is. That's what it does. It activates an automated sprinkler so some guy doesn't have to walk all over a 3,000-acre farm with a bucket and a watering can.

Comment Re:It's not that I want to brag I'm old... (Score 1) 277

Add to that, the defining feature of a functional language is the set of things that it disallows, not the set of things that it permits. A multi-paradigm language, by definition, has to permit anything that the various paradigms permit and so doesn't gain the benefits that you get from being able to reason about your code in a language that doesn't permit unconstrained mutability or side effects.

Comment Re:It has its uses (Score 3, Interesting) 277

This needs moderating up. Talk to an Ocaml programmer and a Haskell programmer about what makes a functional language and you'll see very different opinions and these two are languages that were actually designed as functional languages: the bits that end up in other languages are a tiny subset.

Coming from the Haskell side, I see functional programming as programming without side effects and with monads. You can implement monadic constructs in other languages, but it rarely makes code cleaner. Just having higher-order functions doesn't make a language a functional language any more than having structs makes C an object-oriented language.

If the question is 'do you think using higher-order functions simplifies the expression of some algorithms' then the answer is obviously 'yes': programmers have a lot of tools to choose from and most of them are useful at least some of the time.

Comment Re:It has its uses (Score 2) 277

In C++14 in particular, lambdas with auto parameters dramatically reduce copy-and-paste coding. If you have a couple of lines of code that's repeated, it isn't worth factoring it out into a separate templated function (in particular, you'll often need to pass so many arguments that you'll end up with more code at the end), but pulling it into a lambda that binds everything by reference and has auto-typed parameters can reduce the amount of source code, while generating the same object code (the lambda will be inlined at all call sites).

Comment Functional Programming is a good thing. (Score 1) 277

So is knowing and understanding it.

FP basically forces you to do multiple steps in one and trains your brain to think faster. Getting rid of state wherever possible is a neat thing too and enables more complex programms and routines that are less error-prone and more vertasile.

As long as you can wrap your head around what your doing FP is great. I've made a habit of using it whenever I can. ... Although sometimes I'm just to lazy or tired and start wittling about with variables again.

Comment Re: Time to switch (Score 3, Insightful) 204

Volume licensing for Office 365 is a lot cheaper per seat than simply multiplying the list price by number of employees. It also has a much simpler licensing model than previous Microsoft volume licensing, which makes compliance easier (you get all of the desktop apps for Windows, Mac, iOS and Android included). The latter point alone is worth it to a lot of big companies.

Comment Errrm, yes. ... And? They're friggin' CHROMEBOOKS! (Score 1) 83

They run Chrome OS. Basically an extension of Google into your lap. Like android phones are a extension of Google into your hands and pockets.

Complaining that Google is observing it's users is like complaining that water is wet. Observing users is Googles freakin business model, that's what they earn money with. That's why you get all the neat stuff including cloud storage basically for free. This is also the reason Google is not another MS or Apple. They are a different league. They don't care what your device costs and which software it runs, as long as you use Google. Plain and simple.

And because of this, Google could offer services for minors no other company could. Like, for instance, warning parents when the child is communicating with a person that is obviously an unknown middle-aged man posing as a teenager.

I guess the EFF get's the Captain Obvious Award for stating that Google observes it's users. ... Allthough I do like them basically doing public education on the matter - probably needed in the US I presume.

Comment I bike. Never owned a car ... (Score 1) 213

... and I'm usually judged 7-12 years younger than I actually am (47). I even feel that way too. Given, I also dance a lot. But I combine my biking with PT, so that evens it out.

I offen get angry seeing avalanches of SUVs and full sized cars with only one Person in them. Germanys cities are clogged to the Brink with Cars and it's a freakin' Pita for everybody. We even start seeing the push for larger Bike Infrastructure at federal Level ... two decades or so too late imho.

Everybody I know who uses the bike as a main means of transport is a healthier happier person for it, including myself. We have too many cars. We need less better cars and caresharing at national level. And a private car limitation for cities.
Everything would improve. ... Probably even peoples sexlives.

My 2 eurocents.

Slashdot Top Deals

"Gotcha, you snot-necked weenies!" -- Post Bros. Comics