Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


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:It has its uses (Score 1) 192

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 1) 192

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 Re:Cox has low customer satisfaction? (Score 1) 72

Yeah, I know why they're hated as a cable TV company, but the ISP side of Comcast has always been pretty decent in my experience, and I don't know anyone who has anything bad to say about that side of them. Sure, the data caps is an ongoing concern, but they haven't implemented anything evil on that side, beyond introducing the concept to begin with.

Comment Re:Libreoffice is a thing (Score 1) 204

git is a tiny fraction of what's needed to replace OneDrive - unsurprising given it's a source code version control/management system. If you were to start from scratch creating a OneDrive alternative, you'd probably start with Apache, not git. Add versioning and more advanced permissions to Apache's WebDAV implementation, a web interface to the same directory (preferably linked to something capable of at least viewing Word etc documents online), and client tools to sync with Apache, and you're pretty close to being there.

Comment Re: Time to switch (Score 2) 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 Re:Libreoffice is a thing (Score 2, Insightful) 204

This is about Microsoft's non-subscription version of Office being able to access the corporate version of OneDrive, so LibreOffice won't help here.

It'd be interesting to see the FOSS community come up with an equivalent to OneDrive (if we could somehow do it without needing a central server, that'd be a major step forward) but a FOSS office suite isn't going to help.

Comment Re:Time to switch (Score 1) 204

Those will still work with the business version of OneDrive after 2020? Or did you misunderstand the summary and think Microsoft is deactivating Office 2016 in 2020 completely?

What Microsoft is announcing is relatively obscure and probably won't affect many people at all. Home users will be completely unaffected. Businesses are largely moving over to Office 365 anyway, the combination of "Corporate OneDrive + non-subscription Office" is pretty unusual.

Switching over to the Mac (or, more easily, to LibreOffice/OpenOffice) won't help in the slightest.

Comment Re:It would be... (Score 1) 212

I know, I know. I am just saying that as a kid a long time ago, in a small town and not a city, that is what we were told to do. We didn't have that many pedestrians in residential areas and there were easy to see. It was easier to see cars backing out of their house driveway from the sidewalk than from the road where all the parked cars block your view. Cyclists meant 95% kids, they were not going full speed like modern tour-de-commute racers. There were ZERO bike lanes.

The reasoning to be on sidewalks was because it was indeed safer, in that time and place. Today though - NOWHERE is safe for bikes (unless it's a bike-only trail which are very rare).

Comment Re:It would be... (Score 1) 212

I was in a small town too, everyone know sidewalks were for pedestrians and bikes. And we went slow, we stopped, we started, we stopped again, etc. We did not ride like modern cyclists with full set of expensive gear trying to make a speed record on the way to work weaving into and out of traffic. The road was much less safe. Even in the city now, the roads are murderous, viewing is bad, speed limit for cars too high, bike lanes too small (and when they aren't the cyclists still want to be far left on the white line for some reason).

Comment Re:Oops (Score 1) 215

It's a correlation, not a one-to-one mapping. By "thin people also drink diet sodas" what does that mean, and what does that refute? Do you mean all thin people, or the same proportion of thin people drink diet sodas as fat people, or more or less, or? With out any numbers this does nothing whatsoever to refute the suggestion that the causality may be due to being overweight rather than due to drinking diet sodas.

A correlation could mean that there's only a 5% difference in fat versus thin people in their soda drinking habits. And correlation also means you can't show which is the cause and which is the effect. We can come up with ideas about what the causality might be of course, and it's worth discussing.

Slashdot Top Deals

On the Internet, nobody knows you're a dog. -- Cartoon caption