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

 



Forgot your password?
typodupeerror
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) 356

Until functional programmers start speaking the same language as people in industry, we'll keep rolling our eyes and ignoring you.

I'm pretty sure maths has been around longer than programming, so who is really redefining the language here?

Also, false dichotomy is false. Functional programming concepts are widely and effectively used in industrial programming. The idea that what we're talking about is some academic, ivory tower idea is decades out of date.

Comment Re:It has its uses (Score 1) 356

That's just bad functional code.

It was a simplified example, but I think the point would still be valid in some more complicated case that doesn't fit one of the everyday functional programming patterns. The state is still there, it's just conveyed by accumulating function argument(s) in recursive, functional code instead of storing it in loop control variable(s) in imperative code.

The other thing is you don't want to be "doing stuff" and iterating. You want to be computing stuff and then "doing stuff" on the entire set of output. The system as it pulls output will drive the iteration on the computation.

I think you're conflating lazy evaluation with functional programming here. In any case, I think that sort of claim needs some qualification. Haskell-style laziness is nice for composition in theory and sometimes it lets us write very elegant code in practice, but it can also become a liability, particularly if you're working with very large amounts of data or anything time-sensitive.

Comment Re: It has its uses (Score 1) 356

On the other hand, if you've used a language that is designed to support functional programming, you probably wouldn't be in much doubt.

For example, here's the all-positive check written in Haskell:

all_positive = all (>0) [1, 2, 3, 5, 8, 13]

which is just a convenient notation for:

all_positive = all (\x -> x > 0) [1, 2, 3, 5, 8, 13]

where the backslash is Haskell's general syntax for introducing a lambda.

Criticising the ideas of functional programming because, for example, C++'s syntax for lambdas is horrific is like criticising OOP because setting up dispatch via vtables is a bit messy in assembly language. It's just not the right tool for the job, and it's unlikely to give great results no matter what you do with it. You have to look at the underlying principles to see whether they're useful or not.

Comment Re:I don't expect action on this (Score 1) 49

recycling Aluminum is much cheaper than refining new aluminum.

Thus Al is expensive.
The more expensive a material is, the more impetus there is to recycle. More specifically, the larger the delta between using raw feedstock vs recycle existing OR the more rare the initial feedstock is, the more impetus to recycle

Comment Re:Wow. (Score 1) 162

no, that's not why it was taken out.
It shares quite a bit with other disorders on the autism spectrum.

An apt analogy:
there is a group of people that don't like lots of little tools in the linux kernel, so they aggregated the stupp into systemd.
Now there are those of us who prefer the more granular control (identification) of our systems (neurobehavioral) issues and take exception to that.

Sadly unlike linux, the psych community only supports the systemd version.

Yes I'm an aspie, yes I still identify as such even though DSM-V says I should identify as "autism spectrum"

Comment Re:Devils in the Details (Score 1) 147

Which in fact was the case, and why I don't know the resolution to said cases...
The first two are fairly obvious outcomes, but that last doosie...
*man* I want to know how that turned out.

Of course another possibility is that the training was fine, but I'm a snoopy BOFH and I read his email via wireshark and hub connected between his computer and the corp LAN...

Comment Re:Irony of ironies (Score 1) 168

I was under the impression that the chip signed the transaction with a challenge response.

transaction log:
-terminal sends transaction request to bank with card ID, trans amt
=bank responds with challenge OR declines if no funds (end of trans)
-card chip signs challenge
=bank validates signature and sends auth code to terminal OR bank fails signature and sends denial
(end of trans)

-nB

Comment Re:Serving his friends against his constituents (Score -1) 256

There is no such thing as 'essential service', the entire concept is what created the monopolies / oligopolies that are found around the world. Nothing is an 'essential service' (what I mean is that nothing should ever be touched/supplied by any form of government).

This ideology is what lead to the always rising prices and by the way, what the hell is 'infinite inflation of essential services'?

Inflation is expansion, inflation of money is expansion of money supply. You are talking about prices, prices *rise* and *fall*, they don't expand and contract. Inflation around the world is caused by expansion of the money supply and given the status of USD around the world, inflation today is mostly caused by the USA Federal reserve and Congress.

Comment Re: How can we give a fuck? (Score 1) 146

I have (been affected by a food recall).
It's a neat idea, but like you pointed out the same tech is capable of denying service to use other packs.

I admit, I like that the machine could cut me off if it was recalled, and if the vendor seriously never used it negatively that would be a selling point. Alas I am way to cynical to believe they wouldn't use it for nefarious deeds.

Slashdot Top Deals

The power to destroy a planet is insignificant when compared to the power of the Force. - Darth Vader

Working...