Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:They took the worst part of Python (Score 1) 190

Doesn't change the fact that the Python block syntax can cause serious problems and offers *no* actual benefit over using delimiters like {} and using delimiters solves the problems Python's syntax can cause.

Yes it does have a benefit. Since people actually read indentation and not braces, a brace in the wrong position, aka wrong indentation, leads to bugs as well. Enforcing what people actually read, instead of differentiating between a convention for humans (indentation) and syntactic rules for the compiler lessens those risks.

That's not to say that Python's choices are perfect, and that there aren't gotchas. But to say that it carries no benefit isn't true either.

Comment Re:Not sure what to think.... (Score 1) 797

If we are interested in curtailing re-offense and encouraging re-integration after prison, I don't think that disenfranchisement is particularly productive. There is considerable doubt over deterrent effect of the death penalty - I suspect that the deterrenc effect of disenfranchisement is pretty small.

Exactly. Here in Sweden you can even vote when in prison. I don't see the point of excluding present or ex convicts from the voting ranks. You could even argue that, if you have such a large fraction of your population in prison that they become a political factor as a group, then maybe fresh blood in the legislative chamber would do you good...

Comment Re:We love functional languages except using them. (Score 1) 205

Functional Languages are really cool in theory. However I find that for Real World development. Your code is often too tight for proper maintenance. Where Procedural and OOP is much better at fixing issues.

That's not the experience we had at Ericsson.

I can't help but think that you haven't really been involved in designing, building, fielding, and maintaining large systems based on FP. I have. With Erlang in particular we saw a four to ten fold increase in productivity.

And "too dense to fix" didn't even show up on the radar as a problem. Not by a long shot. Quite the opposite in fact, not having to wade through page after page of boiler plate (that could still trip you up, mind you) does wonders for focusing the mind on what the real problem actually was. As a colleague of mine was fond of putting it "After a day with Erlang I feel like I've solved business/domain problems, rather than 'doing programming'.

And good/competent, to half decent programmers could be retrained in a matter of days. The ones that couldn't, we didn't want anyway. And you shouldn't either.

Comment Re:Who cares? (Score 1) 285

Artillery ranges on the other hand, spread the metal further and thinner.

Yes, but that metal is mostly soft steel, that isn't that problematic from an environmental standpoint. OTOH it isn't that lucrative to collect either.

Fun fact, the difference between a live and training artillery shell is only the heat treatment of the shell itself. The hardened shell of a live shell burst into approx 50000 sharp fragments (155mm shell), while the soft training version bursts into dozens/hundreds of large dull fragments. (This according Bofors). Notably, the type and amount of explosive is the same in both versions.

Submission + - Buh-bye, H-1B's 1

DogDude writes: From the Washington Post: Trump and Sessions plan to restrict highly skilled foreign workers. Hyderabad says to bring it on.
"Trump has described H-1Bs as a “cheap labor program” subject to “widespread, rampant” abuse. Sessions co-sponsored legislation last year with Sen. Ted Cruz (R-Tex.) to effectively gut the program; Issa, a congressman with Trump’s ear, released a statement Wednesday saying he was reintroducing similar legislation called the Protect and Grow American Jobs Act."

Comment Re:Solar, Wind, Wave, Geothermal (Score 1) 293

So how would you propose to get the electricity to these remote regions.

The same way we do in Sweden. Build a line. Even though we have (close to) the least population density in Europe, all our rail is still electrified. And the mining operation, and esp. the rail to take away the ore was the driver. (We're still suffering from the technological choices made way back when, as they're not compatible with the rest of the grid).

Now, that wouldn't be a problem as our uranium is more centrally located, and Norwegian Thorium is the same. (They also have more electricity).

And that's just using conventional technology. Remember we're talking nuclear here. There's absolutely nothing stopping the siting of a small reactor so close to the mine that transmission won't be a problem. In fact "Blykalla" is developing a reactor that would be very suitable for such a use case, even if the use case they're aiming for is slightly different. Still very remote though.

As for the rest, if you call IPCC biased, I can't help you.

Comment Re:Solar, Wind, Wave, Geothermal (Score 1) 293

Nope. It's used by the greens in the European parliament. Big difference.

And "stormsmith" in any of its guises is not without problems and criticism. That it's been "peer reviewed" (and given that it hasn't been published I used that term loosely), doesn't mean "correct", it means "not obviously flawed" (but even that's debatable).

Witness instead the IPCC figures. They also state that which "stormsmith" doesn't, namely that you don't get much CO2 from nuclear LCAs unless you assume that the mining and especially the enrichment centrifuges run on coal powered electricity. Now, that may be "true" today, depending on the energy mix, but since nuclear power produce electricity, and there's nothing stopping the use of nuclear electricity in either mining or enrichment, that's a bit disingenuous. By that token wind and solar emit quite a bit of CO2 as well.

So that's a crap analysis, basing any decisions on that sort of reasoning would preclude increasing nuclear in the energy mix, even though that would substantially decrease the CO2 load from nuclear. (Same with "concrete". The reason that's CO2 intensive is heating. There's nothing in principle stopping that heat coming from nuclear or other sources as well. In fact we ran a nuclear reactor for district heating in Sweden for many years, with zero electric output).

Comment Re:Solar, Wind, Wave, Geothermal (Score 1) 293

The IPCC accepted data on this subject from Vattenfall, a company with heavy investments in Nuclear power.

Yes, it wouldn't make sense to accept data on this subject from someone who didn't run any nuclear power plants, as they then wouldn't have any data to share, now would it?!

Yes, Vattenfall, which is wholly owned by the Swedish government, owns and operates nuclear power (four sites), but they also owns and operates hydroelectric plants, coal fired plants, wind parks, bio powered plants etc. That's why they're a good company to ask, as while they have nuclear in the mix, it's not dominant by any measure, like it would be if you asked the French for example.

Yes, there's always the risk of bias, but if you exclude everyone with any connection to anything, you'll also exclude anyone who actually has any experience at all. You can't have it both ways. If you want the data, you have to talk to the people who have the data, and those are going to be the ones who actually run/use the things you are asking about. No way around that.

Comment Re: Agreed. Volvo gets it. (Score 1) 255

No, that's true. Volvo (and SAAB) picked the low hanging fruit earlier, but most others have more or less caught up. If for the fact that much of safety standards have been mandated by law in many/most countries these days. (Which is something that Volvo engineers complain about; "You can either do well in the EuroNCAP tests, or on the road, but not both...")

So they're increasingly trying to solve more niche cases; saving the life of the pedestrian you hit, for example. Or I remember when they looked at saving the unborn fetus in a collision (turns out you can't)...

But their main problem now is actually erroneous usage. They lament the fact that whatever they do they cannot make americans to put their children facing the right way, i.e. backwards. You keep insisting on turning them around, much, much too soon (they should stay facing backwards until 4-5 years of age. I.e. until their ear line is above the top of the seat). To the detriment of their safety. But no amount of work seems to be able to change that. So what can they do?

Comment Re:Fighting nebulous "hate speech" will kill them (Score 2) 373

If these companies even tried to end "hate speech" or whatever nebulous crime where a specific group of pigs are more equal than another group of pigs, we will see the end of these platforms and companies full sail.

Banning trolls will hurt their business, how? As an employer, I'm MORE likely to advertise on a platform that wasn't full of screaming, stupid Trump people. Those are not people that I want to advertise to, anyway.

Comment Re: Don't give him ideas (Score 2) 555

I guess you missed the entire point of what I said. Parents with terminal diseases - you can't just ignore those calls and if it's an emergency or there's a new caregiver on duty you don't know, the call could be from numbers or area codes you don't recognize. You can't just silence the phone and figure you won't be getting an important call.

I alluded to that before - guess you didn't read that part of the response.

Comment Re: Don't give him ideas (Score 2) 555

I can't put on a whitelist doctors that I don't yet know in case she ends up in the ER. There were also times when someone, like a substitute caregiver, would call and their area code was someplace away from us because they still have the same cell number from before they moved. I made a reference to this in my post.

Comment Re: Don't give him ideas (Score 4, Insightful) 555

Some of us cannot turn off our phones at night. I had to deal with my Father dying of leukemia for 3 years or so, then an over-anxious Mother who was having panic attacks and then we found she was developing Alzheimer's. For 10 years, I had to be on call 24/7 because I never knew what would happen or if that out-of-town phone call was a friend or an EMT or someone calling on their cell phone to tell me she needed help or was in serious trouble.

It must be a wonderful privilege to live in a world where it's easy to imagine not having to be on call 24/7.

Slashdot Top Deals

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (3) Ha, ha, I can't believe they're actually going to adopt this sucker.

Working...