Slashdot is powered by your submissions, so send in your scoop


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) 194

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) 194

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:Gov. leaders unsually have no technical knowled (Score 1) 204

"Ranting" and "raging" is infantile behavior.

Hyperbole detection check: Failed. We have eloquently tried to express our concerns and displeasure with this development among mainstream users to gain broader support and failed.

Instead, prepare a set of laws and regulations that we recommend. Get the process started.

And the first thing any politician will ask is whether anyone wants this. The industry doesn't want it? People don't want it? If there is neither money nor votes behind it the proposal is dead on arrival. Besides what would these laws and regulations do, outlaw services? Agreeing to the Windows 10 EULA isn't even close to the stupidest thing you can legally do to yourself. Become a 500lb tub of lard. Get a face tattoo. Be the goatse guy. Proximity flying in a wingsuit. Become a NAMBLA spokesman. The EULA might not even make the top ten.

Comment BASIC (Score 1) 548

BASIC, back in the day. I started teaching myself at 13, on a TI 99/4A. The school I was attending at the time had barely heard about computers, much less come up with a way to try to teach someone that young about them. I was actually starting to dabble in assembly language on that machine, and managed to get a sprite to move in response to me moving a joystick around. The school may have been woefully uninformed, but the public library was a pretty good resource.

A fortunate move to upstate New York put me on a track to pick up some classes on BASIC and Pascal at the high school and Watfiv and assembly language at a local university that had a high school summer program. My senior project in high school was a graphing program that generated several kinds of graphs using Apple Pascal and the turtle graphics package that came with it. The system could barely handle it, but it was pretty spiffy. I wrote my own keyboard input routines that would allow me to set up fields of a specific size that would only allow certain characters to be typed into them.

College was more Basic, which I was entirely fucking sick of by then, and some scripting languages. I got my intro to REXX there, which was much nicer than Basic. I switched schools into a more CS-oriented program and picked up C, Ada and COBOL. By then I was starting to hear about this newfangled C++, which really sucked back in the early '90's, let me tell you. They didn't even have a STL yet. They started talking about adding templates to the language a few years later.

By then I knew my way around C pretty well, but mostly had to work on the shitty proprietary languages of the 90's. I got into some work that involved actual C programming in the mid 90's, and had a pretty solid decade of C programming. Since 2005 it's been a pretty steady mix of Java and C++, along with a bit of maintenance on some really badly-designed projects in Perl, Ruby and TCL. I'm currently doing a mix of C++ for hardware-level access to some specialty hardware I'm working on, and Java to provide some web services associated with that hardware. I might get into some Javascript to put it all together, but I'm going to try to leave that to the guys who are more comfortable with Javascript than I am.

I don't see much new coming along the road. .net, go and rust are all sufficiently close to Java or C++ that they really don't interest me. Maybe if someone offers some large briefcases full of cash to work with them. I'd be more interested in doing some hand-optimized assembly language and perhaps some GPU programming, but that would probably take another decade to get good at.

Comment Killer? Maybe not. Useful? yep.. (Score 1) 64

I am a long time GIMP user, but sometimes I just want to do quick things with photos - tweak the colors, crop, add an arrow or note, or make a quick collage. There are lots of android apps that make things like this quick and easy. I have G'MIC but that gives you all the settings, which I do use. But sometimes it's nice to just have presets. And sometimes you just gotta make a meme out of a pic to send to friends. :)

Comment I like Office365... (Score 1) 204

OK, ok, hang on. Only when I have to use it.
I work at a software company and we are a MS shop. I run Linux at home, and have since around '99. If I need to log into my work machine, I can launch my container that connects to the work vpn and does an RDP into my machine in about 10 seconds. Linux just works for me, even with MS (most of the time).

But I refuse to sync my phone with Outlook, for two reasons.
1. I don't want to check work email all the time, and have that expectation that I am always available. My time is my time.
2. I don't like like corporate policy, and I don't want their hooks into my phone.

That's how I use Office365 - if I need to check an email, my calendar, or look at a document on onedrive and I am not on the vpn. But that's it. It's a backup way of doing my job. It's slow but somewhat usable, but it is nowhere near ready to use all-day every-day especially in the corporate world. The fact that Excel/Outlook/Onedrive has to sync in the background has caused issues as well when "something goes wrong". And it does, often. Onedrive works most of the time, but when it doesn't sync it's a real PITA.

Comment Re:Bullshit, Todd. (Score 1) 240

Nobody was forcing them to be parents. They were prepared to be parents and take the financial and emotional responsibility... that was the whole point of the procedure.

Yes, for a child born of their own genes. There are numerous disadvantages to raising a child who is not of your own genes. Such offspring is much less likely to be successful in every way due to a number of factors. Your offspring literally inherits traits you gained during your lifetime. This is important for creating rapport between parent and offspring. Keep in mind that it's a typical instinct for an ape to kill all the offspring of other males when he takes over a female.

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:Why pay the Microsoft tax? (Score 4, Insightful) 204

One thing I've learned over the years is that Slashdot commenters are generally not good at reacting to abuse. Slashdot commenters make excuses, or react to abuse weakly.

I see the last 20 years have done nothing to dampen your idealism, good for you but maybe an ounce of reality wouldn't hurt? Back then your data was local, you had the executable and the only thing you didn't have was the source code to inspect it. Even though things like email went from your server to their server instead of peer to peer, things were pretty distributed and decentralized. Having access to the source code was mostly about being able to fix and extend it, not that it did something nasty.

Not only have consumers ignored open source solutions, they've gone totally the other way. Much of their data lives in the cloud, where they have no control of what's done with it. They use huge, centralized services like Facebook that collects a ton of data. Auto-updating devices download and install new executable code all the time and often rely on online servers. People don't care that they're being tracked and in many cases even accuse those who object of having something to hide. They sign away all rights in mile-long EULAs without thought.

We've ranted. We've raged. We've raised the banners and tried to proclaim YotLD many times. XPs online activation in 2001. Slammer & friends in 2003. Vista in 2006. "Trusted Computing" sometime late 2000s. Windows 8 in 2012. Windows 10 in 2015. Stealth telemetry in all VS apps in 2016. I'm sure there's many more things I've forgotten. I'm sure there's bad things about Apple, Google, Adobe and many others. We've raged out. It's like "OMG OMG Microsoft is... wait, what's the point? Why is anyone going to listen now, when they never have in the past?"

They earn billions of dollars that way. And in between screwing us over they sometime make pretty good software, so yeah... maybe open source is more efficient but one idealist versus a hundred paid developers is unfair teams. So I run Win7 and I got an iPhone. Should it have been Linux and a rooted Android phone? Maybe. But like I said, raged out. If I can't even stand the hassle myself, it's pretty hard to ask anyone else to fight a fight I feel is pretty hopeless. Pretty sure I'm not the only disillusioned ex-revolutionary here.

Comment Re:More science (Score 2) 249

Over the time scale of the next century, only one input signal will dominate: the amount of added greenhouse gases. All of that other stuff either oscillates too fast or has an insignificant effect. Other signals that would have a big impact, such as changes in the earth's orbit that drive ice ages, or movement of mountain ranges due to continental drift, are too slow to have an impact over the next couple of centuries.

Relative to the greenhouse gas signal, the climate *was* very close to an equilibrium on a human timescale. It certainly isn't any longer; it's being strongly driven into ranges hotter than it's been for millions of years.

Comment Re:How much CO2? (Score 1) 249

It's not that much. The US military (and presumably others) has been experimenting with artificially creating cloud cover for decades. Conspiracy theories aside, there are a couple of relevant patents. One of them basically involves special afterburners, and the other one involves spraying metallics (just like the conspiracy theorists said, whee!)

Whether we should be doing this or not doesn't really have any bearing on whether we should be doing the other things, though. We could do both.

Slashdot Top Deals

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